:root {
    /* 
 * Theme: Bold
 * Description: A strong, high-impact theme with thick borders and solid colors.
 */
    --bg-color: #ffe66d;
    /* Vibrant yellow background for screen */
    --card-bg: #ffffff;
    --text-primary: #000000;
    --text-secondary: #000000;
    --accent: #ff6b6b;
    /* Red accent */
    --accent-hover: #ee5253;
    --border-color: #000000;
    /* Thick black borders */
    --day-hover-bg: #ff9f43;
    /* Orange hover */
    --today-bg: #ff6b6b;
    --today-text: #ffffff;

    --font-family: 'Courier New', monospace;
    /* Monospace for bold look */
}

/* Body fixed. Theme is component-based. */
.app-container {
    color: var(--text-primary);
    font-family: var(--font-family);
}

.app-header {
    background-color: var(--card-bg);
    border: none;
    box-shadow: 0 0 0 3px var(--border-color), 4px 4px 0px rgba(0, 0, 0, 1);
    /* Hard shadow */
}

/* UI Controls - Restricted to Grid content only to avoid header leaks */
.year-grid input,
.year-grid select {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
    padding: 8px 12px;
    font-weight: bold;
}

/* Toggle Switch - Handled by UI.css */
/* Removed to prevent conflicts */

/* Month Card */
.month-card {
    background-color: var(--card-bg);
    border: 3px solid var(--border-color);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
    margin-bottom: 20px;
}

.month-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    margin-bottom: 1rem;
}

.weekday-header {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--text-primary);
    background: #000;
    color: #fff;
    padding: 5px 0;
}

.day {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: default;
    border: 1px solid #ccc;
    /* Internal grid lines */
}

.day:not(.empty):hover {
    background-color: var(--day-hover-bg);
    color: #000;
}

.day.today {
    background-color: var(--today-bg);
    /* Red */
    color: var(--today-text);
    border: 2px solid #000;
}

@media print {
    :root {
        --bg-color: #fff;
        --card-bg: #fff;
        --text-primary: #000;
        --text-secondary: #000;
        --accent: #000;
        --border-color: #000;
        --day-hover-bg: #fff;
        --today-bg: #000;
        /* Black for today in print */
        --today-text: #fff;
    }

    body {
        background: white;
    }

    .month-card {
        border: 4px solid #000;
        box-shadow: none;
    }

    .month-title {
        font-size: 3rem;
        text-decoration: underline;
    }

    .weekday-header {
        background: #000;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .day {
        border: 2px solid #000;
        font-weight: bold;
    }
}