.today-label { text-align: center; font-size: 0.8rem; color: #777; margin-bottom: 2rem; }

.card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.card h2 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
    margin-bottom: 1rem;
}

/* Standard toggle */
.std-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0ee;
}
.std-toggle {
    display: inline-flex;
    background: #f5f5f3;
    border-radius: 6px;
    padding: 2px;
    border: 1.5px solid #eee;
}
.std-btn {
    background: none;
    border: none;
    border-radius: 4px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-family: inherit;
    color: #888;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.std-btn.active { background: #fff; color: #1a1a1a; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* Current week display */
.current-week-num {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-align: center;
    margin-bottom: 0.5rem;
}
.current-week-label {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-bottom: 0.25rem;
}
.current-week-range {
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    font-weight: 500;
}
.std-note {
    font-size: 0.7rem;
    color: #bbb;
    text-align: center;
    margin-top: 0.5rem;
}

/* Date picker */

.lookup-result {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #f9f9f7;
    border-radius: 8px;
    display: none;
}
.lookup-result.show { display: block; }
.lookup-week-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
}
.lookup-range {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Year selector + calendar */
.year-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.year-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.year-btn {
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.25rem 0.55rem;
    font-size: 0.85rem;
    font-family: inherit;
    color: #888;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    line-height: 1;
}
.year-btn:hover { border-color: #bbb; color: #333; }
.year-input {
    width: 5rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    color: #1a1a1a;
    outline: none;
    text-align: center;
    -moz-appearance: textfield;
}
.year-input::-webkit-outer-spin-button, .year-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.year-input:focus { border-color: #999; }

.week-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}
.week-table th {
    text-align: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    border-bottom: 1.5px solid #eee;
}
.week-table th.center, .week-table td.center { text-align: center; }
.week-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f5f5f3;
    color: #444;
}
.week-table tr:last-child td { border-bottom: none; }
.week-table .wn { font-weight: 600; color: #1a1a1a; width: 4rem; }
.week-table tr.current { background: #e3f1ea; }
.week-table tr.current td { color: #1a4a35; font-weight: 600; }
.week-table tr.current td:first-child { box-shadow: inset 3px 0 0 #2a7a52; }
.week-table tr.current .wn { color: #2a7a52; }

@media (max-width: 480px) {
    .card { padding: 1.25rem; }
    .current-week-num { font-size: 2.5rem; }
    .week-table { font-size: 0.8rem; }
    .week-table th, .week-table td { padding: 0.4rem 0.5rem; }
    .week-table .wn { width: 3rem; }
}
