:root {
    --forest-50: #f5f7f5;
    --forest-100: #e7eee6;
    --forest-200: #d5dbd6;
    --forest-600: #1b3f18;
    --forest-700: #1b3f18;
    --forest-800: #142f12;
    --forest-900: #1c211d;
    --forest-950: #142f12;
    --sage-100: #f5f7f5;
    --sage-500: #1b3f18;
    --sage-600: #142f12;
    --bg: #ffffff;
    --text: #1c211d;
    --muted: #526056;
    --line: #e3e7e3;
    --white: #ffffff;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 12px 28px rgba(20, 47, 18, 0.08);
    --shadow-button: none;
    --font: "Source Sans 3", "Segoe UI", sans-serif;
    --bs-primary: #1b3f18;
    --bs-body-font-family: var(--font);
    --bs-body-color: var(--text);
    --bs-body-bg: var(--bg);
    --available: #d9ead6;
    --available-text: #142f12;
    --booked: #f8d4d4;
    --booked-text: #8f2424;
    --partial: #fff6e8;
    --partial-text: #6d4b12;
    --closed: #f5f7f5;
    --closed-text: #526056;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--forest-700); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { color: var(--text); letter-spacing: -0.02em; line-height: 1.2; }
::selection { background: #d9ead6; }
p { margin: 0 0 0.8rem; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: #fff;
    color: var(--forest-900);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    z-index: 100;
    font-weight: 700;
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--sage-500); }

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.site-chrome {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
}
.topbar {
    background: var(--forest-700);
    color: #f4f7f3;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    max-height: 48px;
    overflow: hidden;
}
.topbar a { color: #fff; font-weight: 700; }
.site-header {
    position: relative;
    z-index: 1;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-row { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 48px; width: auto; display: block; }
.brand-compact img { height: 40px; }
.main-nav { display: flex; align-items: center; gap: 1.15rem; }
.main-nav a { color: #2a332c; text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.main-nav a:hover { color: var(--forest-700); }
.main-nav .btn-brand, .main-nav .btn-brand:hover { color: #fff; }
.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    flex: none;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: var(--radius);
    padding: 0.75rem 1.1rem;
    min-height: 44px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn-sm { min-height: 38px; padding: 0.45rem 0.8rem; font-size: 0.82rem; }
.btn-brand { background: var(--forest-700); color: #fff; box-shadow: var(--shadow-button); }
.btn-brand:hover { background: var(--forest-800); color: #fff; }
.btn-brand-outline { background: #fff; color: var(--text); border-color: #d5dbd6; }
.btn-brand-outline:hover { background: var(--forest-50); color: var(--forest-700); border-color: var(--forest-700); }
.btn-danger { background: #8d2a2a; color: #fff; }
.btn-muted { background: #eef1ef; color: var(--forest-900); }
.btn[disabled], .btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.hero {
    background: #fff;
    color: var(--text);
    border-bottom: 1px solid var(--line);
}
.hero-inner { padding: 2.8rem 0 2.4rem; max-width: 720px; }
.hero h1 { color: var(--text); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin: 0 0 0.8rem; letter-spacing: -0.025em; }
.hero p { color: var(--muted); font-size: 1.05rem; }
.kicker {
    display: block;
    color: var(--forest-700);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem; margin-top: 1.2rem; }
.trust-row span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.section { padding: 3rem 0; }
.section h2 { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 800; margin: 0.2rem 0 0.6rem; }
.lead { color: var(--muted); max-width: 640px; }

.card-grid, .service-grid, .stat-grid, .info-grid {
    display: grid;
    gap: 1rem;
}
.service-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.stat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.info-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card, .panel, .service-card, .stat-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.service-card {
    padding: 1.15rem;
    text-align: left;
    width: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover { border-color: var(--forest-700); }
.service-card.is-selected { border: 2px solid var(--forest-700); background: var(--forest-50); }
.service-card.is-selected .service-icon { background: var(--forest-700); color: #fff; }
.selection-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--forest-200);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.selection-bar p { margin: 0; font-weight: 700; }
.selection-bar.is-hidden { display: none; }
.choice-list { display: grid; gap: 0.45rem; margin-top: 0.45rem; }
.service-icon, .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--forest-100);
    color: var(--forest-800);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}
.service-card h3, .panel h2, .panel h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 0.35rem; }
.meta { color: var(--forest-600); font-size: 0.82rem; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.season-switch {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.3rem;
    border-radius: 16px;
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    margin: 1rem 0;
}
.season-switch button {
    border: 0;
    background: transparent;
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
    font-weight: 800;
    color: var(--forest-900);
}
.season-switch button.is-active {
    background: var(--forest-700);
    color: #fff;
    box-shadow: var(--shadow-button);
}

.steps { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 1rem; }
.step-pill {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}
.step-pill.is-current { background: var(--forest-700); color: #fff; border-color: var(--forest-700); }
.step-pill.is-done { background: var(--forest-100); color: var(--forest-800); }

.panel { padding: 1.15rem; }
.booking-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1rem; align-items: start; }
.calendar-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.calendar-head h2 { margin: 0; font-size: 1.2rem; text-transform: capitalize; }
.weekday-row, .month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.weekday-row span { text-align: center; font-size: 0.75rem; font-weight: 800; color: var(--muted); padding-bottom: 0.2rem; }
.day-cell {
    min-height: 72px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--closed);
    color: var(--closed-text);
    padding: 0.4rem;
    text-align: left;
    font-weight: 800;
}
.day-cell small { display: block; font-size: 0.68rem; font-weight: 700; }
.day-cell.is-available { background: var(--available); color: var(--available-text); cursor: pointer; }
.day-cell.is-partial { background: var(--partial); color: var(--partial-text); cursor: pointer; }
.day-cell.is-full { background: var(--booked); color: var(--booked-text); }
.day-cell.is-past, .day-cell.is-unavailable, .day-cell.is-empty, .day-cell:disabled { cursor: default; opacity: 1; }
.day-cell.is-selected { background: var(--forest-700); color: #fff; }
.day-cell.is-today:not(.is-selected) { box-shadow: inset 0 0 0 2px var(--sage-500); }
.legend { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.8rem; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.legend i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 4px; margin-right: 0.25rem; vertical-align: -1px; }
.legend .av { background: var(--available); }
.legend .pa { background: var(--partial); }
.legend .fu { background: var(--booked); }
.legend .un { background: #d7dbd8; }

.slot-list { display: grid; gap: 0.5rem; }
.slot {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    min-height: 48px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 800;
}
.slot-available { cursor: pointer; }
.slot-available:hover, .slot.is-selected { border-color: var(--forest-700); background: var(--forest-50); }
.slot-booked { background: #fdecec; color: var(--booked-text); border-color: #f0c7c7; }
.slot span { font-size: 0.75rem; letter-spacing: 0.04em; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 0.86rem; font-weight: 700; }
.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid rgba(27, 67, 50, 0.18);
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    color: var(--text);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .btn:focus-visible, a:focus-visible, .day-cell:focus-visible, .slot:focus-visible, .service-card:focus-visible {
    outline: 3px solid var(--sage-500);
    outline-offset: 2px;
}
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.check input { margin-top: 0.25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--forest-700); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.summary {
    background: var(--forest-50);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.9rem;
}
.form-error { color: #8d2a2a; font-weight: 700; margin-bottom: 0.7rem; }
.is-hidden { display: none !important; }

.alert-banner { border-radius: 12px; padding: 0.75rem 0.9rem; margin: 0.8rem 0; font-weight: 650; }
.alert-ok { background: var(--forest-100); color: var(--forest-800); }
.alert-error { background: #fdecec; color: #8d2a2a; }
.flash-wrap:empty, .flash-wrap:not(:has(.alert-banner)) { display: none; }

.site-footer { background: var(--forest-800); color: #e7eee6; margin-top: 3rem; padding-top: 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.site-footer a, .site-footer p { color: #e7eee6; display: block; text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-logo { height: 40px; width: auto; filter: brightness(2); margin-bottom: 0.6rem; }
.org { color: #fff !important; font-size: 0.86rem !important; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 1.5rem;
    padding: 1rem 0 1.3rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(231, 238, 230, 0.75);
    font-size: 0.86rem;
}

.auth-card { width: min(460px, 100%); margin: 2.5rem auto; padding: 1.4rem; }
.auth-card-wide { width: min(720px, 100%); }
.price-line { margin: 0.15rem 0 0.6rem; font-size: 1.35rem; font-weight: 800; color: var(--forest-800); }
.withdrawal-note { display: inline-block; max-width: 11rem; color: var(--muted); font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.summary-ended { background: #f4f6f5; }
.weekday-picks { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; margin-top: 0.45rem; }
.portal-extra { margin-top: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.portal-extra summary { cursor: pointer; font-weight: 800; padding: 1rem 1.15rem; }
.portal-extra .portal-extra-body { padding: 0 1.15rem 1.15rem; }
.narrow { width: min(760px, 100%); margin: 0 auto; }
.success-mark {
    width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--forest-100); color: var(--forest-700); font-size: 1.4rem; margin-bottom: 0.8rem;
}

.admin-body { background: var(--forest-50); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side-nav {
    background: var(--forest-950);
    color: #fff;
    padding: 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.side-nav nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1rem; }
.side-nav nav a, .side-footer a {
    color: #d7e2db;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    display: flex;
    gap: 0.55rem;
    align-items: center;
    font-weight: 700;
    font-size: 0.92rem;
}
.side-nav nav a.is-active, .side-nav nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.side-footer { margin-top: auto; display: flex; flex-direction: column; gap: 0.2rem; }
.admin-top { padding: 1.1rem 1.3rem 0; }
.admin-top h1 { margin: 0; font-size: 1.5rem; }
.admin-content { padding: 1rem 1.3rem 2rem; }
.stat-card { padding: 0.95rem 1rem; }
.stat-card strong { display: block; font-size: 1.5rem; color: var(--text); }
.stat-card span { color: var(--muted); font-size: 0.82rem; font-weight: 700; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
table.data th, table.data td { padding: 0.75rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--forest-50); }
table.data a { font-weight: 800; text-decoration: none; }

.badge-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.2rem 0.55rem; font-size: 0.75rem; font-weight: 800; }
.badge-pending { background: #fff1e4; color: #9a4e12; }
.badge-confirmed { background: #d9ead6; color: #142f12; }
.badge-in_progress { background: #e7f0fa; color: #1d4e89; }
.badge-completed { background: #e7eee6; color: #1b3f18; }
.badge-cancelled { background: #eceeec; color: #4d5551; }
.badge-rejected, .badge-blocked { background: #fdecec; color: #8d2a2a; }
.plan-row { display: grid; grid-template-columns: 1.4fr 5rem 9rem 1fr; gap: 0.5rem; align-items: end; }
@media (max-width: 800px) { .plan-row { grid-template-columns: 1fr; } }

.filters { display: grid; grid-template-columns: 1.4fr repeat(3, .8fr) auto; gap: 0.6rem; margin-bottom: 0.8rem; align-items: end; }
.pager { display: flex; gap: 0.4rem; margin-top: 0.8rem; }
.detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.history li { border-top: 1px solid var(--line); padding-top: 0.55rem; font-size: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.fc { --fc-border-color: #e3e7e3; --fc-button-bg-color: #1b3f18; --fc-button-border-color: #1b3f18; --fc-button-hover-bg-color: #142f12; --fc-button-hover-border-color: #142f12; --fc-button-active-bg-color: #142f12; --fc-today-bg-color: #f5f7f5; --fc-event-border-color: transparent; }
.fc .fc-toolbar-title { font-size: 1.15rem; font-weight: 800; }
.fc .fc-timegrid-event, .fc .fc-daygrid-event { border-radius: 8px; border: 0; }
.fc .fc-event-main { padding: 2px 5px; }
.fc .fc-event-time, .fc .fc-event-title { font-weight: 700; line-height: 1.25; }
.fc .fc-timegrid-event .fc-event-time, .fc .fc-timegrid-event .fc-event-title { white-space: normal; }
.item-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; }
.item-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--forest-50); }
.item-list strong { display: block; font-size: 0.92rem; }
.item-list small { color: var(--muted); }

.schedule-card { margin-bottom: 1rem; }
.schedule-card:last-child { margin-bottom: 0; }
.schedule-card .panel-intro { margin: 0 0 0.95rem; }
.schedule-card form .btn { margin-top: 0.9rem; }
.schedule-check { margin: 0.85rem 0 0; }
.schedule-list {
    list-style: none;
    padding: 0.95rem 0 0;
    margin: 1rem 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.5rem;
}
.schedule-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.7rem;
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    border-radius: 12px;
}
.schedule-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--forest-700);
    border: 1px solid var(--forest-200);
}
.schedule-copy { min-width: 0; }
.schedule-copy strong { display: block; font-size: 0.95rem; }
.schedule-copy small { display: block; color: var(--muted); font-weight: 700; font-size: 0.8rem; }
.schedule-time {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--forest-900);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    white-space: nowrap;
}
.btn-remove {
    background: #fff;
    color: #8d2a2a;
    border-color: rgba(141, 42, 42, 0.22);
}
.btn-remove:hover { background: #fdecec; color: #8d2a2a; }
.schedule-list form { margin: 0; }
.run-card { margin-bottom: 0.9rem; }
.run-card h2 { font-size: 1.15rem; }
.run-card img, .detail-grid img { max-width: 100%; height: auto; }

@media (max-width: 900px) {
    .booking-layout, .detail-grid, .footer-grid, .form-grid, .filters { grid-template-columns: 1fr; }
    .schedule-list li { grid-template-columns: auto minmax(0, 1fr) auto; }
    .schedule-time { grid-column: 2; justify-self: start; }
    .schedule-list form { grid-column: 3; grid-row: 1 / span 2; }
    .admin-shell { grid-template-columns: 1fr; }
    .side-nav { position: sticky; top: 0; height: auto; z-index: 20; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .header-row, .brand img, .topbar { transition: min-height .18s ease, height .18s ease, max-height .18s ease, padding .18s ease; }
    .site-chrome.is-compact { box-shadow: 0 8px 18px rgba(20, 47, 18, 0.08); }
    .site-chrome.is-compact .topbar { max-height: 0; padding-top: 0; padding-bottom: 0; }
    .site-chrome.is-compact .header-row { min-height: 56px; }
    .site-chrome.is-compact .brand img { height: 34px; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        z-index: 30;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 0.35rem 1rem 0.85rem;
        box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
    .header-row { position: relative; }
    .day-cell { min-height: 48px; font-size: 0.82rem; padding: 0.25rem; }
    .day-cell small { display: none; }
}

body.booking-embed {
    margin: 0;
    background: var(--bg);
}
.embed-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 1rem 1.5rem;
}
.embed-shell > h1 {
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}
.embed-shell .check {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin: 1rem 0;
}
.embed-shell .booking-layout {
    margin-top: 1rem;
}
body.booking-embed .service-grid {
    margin-top: 0.8rem;
}

@media (max-width: 760px) {
    table.data thead { display: none; }
    table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
    table.data tr {
        margin-bottom: 0.75rem;
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }
    table.data td {
        display: block;
        border-bottom: 1px solid var(--line);
        text-align: left;
        padding: 0.65rem 0.8rem;
    }
    table.data td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.15rem;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--muted);
    }
    table.data td:not([data-label])::before,
    table.data td:empty { display: none; }
}

@media (max-width: 900px) {
    body { overflow-x: hidden; }
    .wrap { width: min(1120px, calc(100% - 1.25rem)); }
    .hero-inner { padding: 2.2rem 0 1.8rem; }
    .hero { border-radius: 0; }
    .section { padding: 1.6rem 0; }
    .auth-card { margin: 1rem auto; padding: 1rem; }
    .footer-bottom { flex-direction: column; }
    .main-nav a, .main-nav .btn { width: 100%; }
    .season-switch { width: 100%; }
    .season-switch button { flex: 1; }
    .steps { gap: 0.35rem; }
    .step-pill { font-size: 0.78rem; }
    .month-grid, .weekday-row { gap: 3px; }
    .legend { gap: 0.35rem 0.7rem; }
    .admin-top, .admin-content { padding-left: 0.85rem; padding-right: 0.85rem; }
    .admin-top h1 { font-size: 1.25rem; }
    .side-nav { height: auto; padding-bottom: 0.75rem; transition: padding .18s ease; }
    .side-nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
    .brand-compact img { transition: height .18s ease; }
    .admin-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: transparent;
        color: #fff;
        font-size: 1.15rem;
        cursor: pointer;
    }
    .side-nav nav, .side-nav .side-footer { display: none; }
    .side-nav.is-open { overflow: auto; max-height: 100dvh; }
    .side-nav.is-open nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.45rem; }
    .side-nav.is-open .side-footer { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.35rem; }
    .side-nav nav a { min-height: 44px; }
    .side-nav nav a span { white-space: normal; }
    .side-nav.is-compact { padding-top: 0.35rem; padding-bottom: 0.35rem; }
    .side-nav.is-compact .brand-compact img { height: 32px; }
    .item-list li, .history li { align-items: flex-start; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .fc .fc-toolbar.fc-header-toolbar, .fc .fc-footer-toolbar { flex-wrap: wrap; gap: 0.45rem; }
    .fc .fc-toolbar-title { font-size: 1rem; }
    .fc .fc-button { padding: 0.35rem 0.5rem; }
    .mono, .file-meta, .alert-banner, table.data td { overflow-wrap: anywhere; }
    .form-grid, .filters, .plan-row { grid-template-columns: 1fr !important; }
    input, select, textarea { font-size: 16px; }
}

@media (min-width: 901px) {
    .admin-nav-toggle { display: none; }
}

@supports (padding: max(0px)) {
    body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}
