@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    --primary-green: var(--forest);
    --secondary-green: var(--green);
    --accent-green: var(--green-bright);
    --light-green: var(--mint-pale);
    --text-dark: var(--ink);
    --text-light: var(--slate);
    --bg-light: var(--cream);
    --green-dark: var(--forest);
    --green-mid: var(--green);
    --green-light: var(--green);
    --green-pale: var(--mint-pale);
    --green-soft: var(--mint-pale);
    --border: var(--line);
    --bg: var(--cream);
    --muted: var(--slate);
    --focus: var(--green);
    --sans: 'DM Sans', sans-serif;
    --forest: #123b2d;
    --forest-deep: #0a2a20;
    --green: #16845b;
    --green-bright: #45c78c;
    --mint: #dff5e9;
    --mint-pale: #f0faf5;
    --gold: #f3b84b;
    --ink: #17231e;
    --slate: #53625c;
    --line: #dce6e1;
    --cream: #f7f6f1;
    --white: #fff;
    --shadow: 0 18px 50px rgba(12, 55, 40, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-container {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
}

.top-bar {
    color: #dff3e9;
    background: var(--forest-deep);
    font-size: 13px;
    letter-spacing: .02em;
}

.top-bar-content,
.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-content { justify-content: space-between; min-height: 38px; }
.top-bar-left { gap: 28px; }
.top-address { opacity: .75; }
.top-phone { color: var(--white); font-weight: 700; text-decoration: none; }
.top-phone:hover { color: var(--green-bright); }

.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(18,59,45,.1);
    box-shadow: 0 4px 18px rgba(17,45,36,.05);
    backdrop-filter: blur(14px);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    color: var(--forest);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    text-decoration: none;
}

.brand strong { display: block; font-size: 18px; font-weight: 800; }
.brand-mark { width: 39px; height: 48px; object-fit: contain; }

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 31px 10px;
    color: #36433e;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.nav-menu a:hover { color: var(--green); }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.btn-enroll,
.btn-timesheets {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--forest);
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.btn-enroll { border-color: var(--green); color: var(--white); background: var(--green); padding-inline: 19px; }
.btn-enroll:hover { background: var(--forest); border-color: var(--forest); color: var(--white); transform: translateY(-1px); }
.btn-timesheets:hover { border-color: var(--green); color: var(--green); }

.mobile-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
}

.mobile-toggle span { display: block; width: 23px; height: 2px; margin: 4px 0; background: var(--forest); }

.site-footer { padding: 35px 0; color: #b8cec5; background: var(--forest-deep); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 35px; height: auto; flex-shrink: 0; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--white); font-family: 'Manrope'; font-size: 14px; }
.footer-brand span, .site-footer p { margin: 0; font-size: 12px; }

html { scroll-padding-top: 160px; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.main-nav :focus-visible, .hero-section :focus-visible { outline-color: var(--green-bright); }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 2000; padding: 12px 20px; border-radius: 8px; color: var(--white); background: var(--forest-deep); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.brand { flex-shrink: 0; }
.nav-menu a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px var(--green); }
.mobile-toggle { cursor: pointer; flex-shrink: 0; min-height: 44px; }
.site-footer { margin-top: auto; }

/* Interior pages use the homepage's color, type, spacing, and card language. */
.site-page, .staff-page { background: var(--cream); }
.site-page h1, .site-page h2, .site-page h3, .staff-page h1, .staff-page h2 { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.035em; }
.site-page .main-content { min-width: 0; padding: 0; background: transparent; box-shadow: none; }
.site-page .main-wrapper, .site-page > .main-content { width: min(1280px, calc(100% - 64px)); margin-inline: auto; padding-block: 64px 80px; }
.site-page .main-wrapper { background: transparent; }
.site-page .content-section, .site-page .resource-section { margin-bottom: 48px; }
.site-page .section-title, .site-page .page-header h1, .site-page .page-header h2 { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--forest); font-size: clamp(28px, 3vw, 40px); }
.site-page .section-subtitle, .site-page .resource-section h2 { color: var(--forest); font-size: clamp(23px, 2.2vw, 30px); }
.site-page .page-header { margin-bottom: 36px; }
.site-page .lead-text, .site-page .page-description { max-width: 960px; color: var(--slate); font-size: 18px; line-height: 1.8; }
.page-hero { position: relative; color: var(--white); background: radial-gradient(circle at 90% 10%, rgba(69,199,140,.18), transparent 35%), var(--forest); }
.page-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding-block: 62px 68px; }
.page-hero .hero-content { max-width: 900px; }
.page-hero .eyebrow { margin: 0 0 16px; color: var(--green-bright); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-hero .hero-title { margin: 0 0 20px; font-size: clamp(34px, 4.3vw, 62px); line-height: 1.08; text-wrap: balance; }
.page-hero .hero-lead { max-width: 720px; margin: 0; color: #d8e9e2; font-size: 18px; line-height: 1.7; }
.page-hero .hero-cta { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 52px; padding: 14px 24px; border: 1px solid var(--green-bright); border-radius: 8px; color: var(--forest-deep); background: var(--green-bright); font-weight: 700; text-decoration: none; }
.page-hero .hero-cta:hover { background: var(--mint); }
.site-page :is(.info-card, .feature-card, .hours-card, .doc-card, .location-card, .board-card, .board-resource-card, .location-detail-card, .location-detail-hours, .resource-list) { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 30px rgba(17,55,42,.04); }
.site-page :is(.info-card, .feature-card, .hours-card) { padding: 30px; }
.site-page :is(.feature-card, .hours-card) { text-align: left; }
.site-page :is(.feature-card, .hours-card, .doc-card, .location-card):hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.site-page :is(.features-grid, .documents-grid, .hours-grid, .contact-boxes) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.site-page :is(.info-callout, .enrollment-cta) { padding: 26px 30px; border-radius: 14px; background: var(--forest); }
.site-page :is(.disclaimer-text, .contact-box, .legal-notice) { border-color: var(--green); border-radius: 10px; background: var(--mint-pale); }
.site-page .feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--mint-pale); font-size: 26px; }
.site-page .resource-list { overflow: hidden; }
.site-page .resource-link { gap: 20px; min-height: 64px; padding: 20px 24px; }
.site-page .resource-link:hover { padding-left: 24px; background: var(--mint-pale); }
.site-page .resource-text { min-width: 0; overflow-wrap: anywhere; }
.site-page .doc-badge { flex-shrink: 0; border-radius: 5px; color: var(--forest); background: var(--mint); }
.site-page .resource-link:hover .doc-badge { color: var(--white); background: var(--green); }
.site-page .location-card { align-items: flex-start; }
.site-page .location-info { min-width: 0; }
.site-page .location-name { line-height: 1.4; }
.site-page :is(.locations-section, .learning-centers-section) > .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.site-page :is(.locations-section, .learning-centers-section) > .row > * { width: auto; padding: 0; margin: 0; }
.site-page .location-detail { max-width: none; }
.site-page :is(.location-detail-hero, .board-intro-copy) { padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--mint-pale); }
.site-page :is(.location-detail-card--accent, .board-intro-panel) { color: var(--white); background: var(--forest); border-color: var(--forest); }
.site-page .location-detail-card--accent a { color: var(--mint); }
.site-page .board-table-wrap { max-width: 100%; border-color: var(--line); border-radius: 14px; }
.site-page .board-table thead th { background: var(--forest); }
.site-page .board-table tbody tr:nth-child(even), .site-page .board-link-list a { background: var(--mint-pale); }
.site-page .board-card--highlight { background: var(--mint-pale); }
.site-page :is(.location-detail-list, .info-card, .board-link-list, .board-table td) { overflow-wrap: anywhere; }

/* Form behavior and print rules stay in their existing stylesheets. */
@media screen {
    :is(.enrollment-page, .timesheet-page) :is(input, select, textarea):focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
    .enrollment-page { --slate-mid: var(--slate); --slate-light: #62776c; --gold-light: #fff1cb; background: var(--cream); }
    .enrollment-page h1, .enrollment-page h2, .enrollment-page .section-title, .timesheet-page h1, .timesheet-page h2 { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.035em; }
    .enrollment-page > .site-header { position: static; background: var(--forest); box-shadow: none; }
    .enrollment-page .header-inner { max-width: 1440px; padding: 28px 32px; flex-wrap: wrap; }
    .enrollment-page .header-text h1 { font-family: 'Manrope', sans-serif; }
    .enrollment-page .layout { max-width: 1440px; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 40px 32px 80px; }
    .enrollment-page .sidebar { top: 160px; max-height: calc(100dvh - 180px); overflow-y: auto; }
    .enrollment-page :is(.intro-card, .section-card, .submit-section) { border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 30px rgba(17,55,42,.04); }
    .enrollment-page .intro-card h2 { font-family: 'Manrope', sans-serif; }
    .enrollment-page .section-title { font-family: 'Manrope', sans-serif; }
    .enrollment-page .section-header { padding: 22px 26px; background: var(--mint-pale); }
    .enrollment-page .section-body { padding: 28px; }
    .enrollment-page .field-row > *, .enrollment-page .field-group { min-width: 0; }
    .enrollment-page :is(input, select, textarea) { max-width: 100%; min-height: 44px; font-family: 'DM Sans', sans-serif; }
    .enrollment-page :is(input[type="checkbox"], input[type="radio"]) { min-height: 0; accent-color: var(--green); }
    .enrollment-page .section-number, .enrollment-page .submit-btn { background: var(--green); }
    .enrollment-page .submit-btn { min-height: 52px; font-family: 'DM Sans', sans-serif; }
    .enrollment-page .services-table, .enrollment-page .income-table { display: block; max-width: 100%; overflow-x: auto; }
    .enrollment-page .school-entry { min-width: 0; }
    .enrollment-page .progress-bar-wrap { display: flex; }
    .staff-page > header { display: none; }
    .staff-page .wrap { width: min(1280px, calc(100% - 64px)); }
    .staff-page main { min-height: 65vh; padding-block: 64px 80px; }
    .staff-page .page-title { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; }
    .staff-page .upload-grid { gap: 24px; margin-top: 36px; }
    .staff-page .upload-choice { min-height: 250px; padding: 34px; border-radius: 14px; }
    .staff-page .choice-action { min-height: 44px; border-radius: 8px; }
    .timesheet-page { background: var(--cream); line-height: 1.65; }
    .timesheet-page > .site-header { background: var(--forest); color: var(--white); border: 0; }
    .timesheet-page .site-header-inner { width: min(1280px, calc(100% - 64px)); margin: auto; padding: 20px 0; gap: 20px; flex-wrap: wrap; }
    .timesheet-page .brand-link { color: var(--white); font-family: 'Manrope', sans-serif; }
    .timesheet-page .header-actions { flex-wrap: wrap; gap: 8px; }
    .timesheet-page :is(.workflow-tab, .header-link) { min-height: 44px; padding: 10px 16px; border-radius: 8px; border-color: #a8d8c1; color: var(--white); background: transparent; font-family: 'DM Sans', sans-serif; }
    .timesheet-page .workflow-tab.active { color: var(--forest-deep); background: var(--green-bright); border-color: var(--green-bright); }
    .timesheet-page .toolbar { position: static; justify-content: flex-start; gap: 10px; padding: 18px max(24px, calc((100% - 1280px) / 2)); background: var(--mint); box-shadow: none; }
    .timesheet-page .toolbar :is(button, .home-button) { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; color: var(--forest); background: var(--white); font: 700 14px/1.3 'DM Sans', sans-serif; }
    .timesheet-page .toolbar button.primary, .timesheet-page .button { color: var(--white); background: var(--green); border-color: var(--green); }
    .timesheet-page .toolbar button.danger { color: #8e2626; background: #fff4f4; border-color: #e6bebe; }
    .timesheet-page .toolbar .status { color: var(--forest); overflow-wrap: anywhere; }
    .timesheet-page :is(.sheet, .upload-shell) { width: min(1280px, calc(100% - 64px)); margin: 32px auto 64px; padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
    .timesheet-page .upload-shell h1 { color: var(--forest); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; }
    .timesheet-page .upload-shell > p { color: var(--slate); margin-bottom: 32px; }
    .timesheet-page .upload-box { border-color: var(--green); border-radius: 12px; background: var(--mint-pale); }
    .timesheet-page .upload-field { min-width: 0; }
    .timesheet-page .upload-field input { min-height: 46px; max-width: 100%; font-family: 'DM Sans', sans-serif; border-color: var(--line); border-radius: 7px; }
    .timesheet-page .button { min-height: 48px; padding: 12px 22px; border-radius: 8px; font: 700 15px/1.4 'DM Sans', sans-serif; }
    .timesheet-page .top-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
    .timesheet-page .top-grid > *, .timesheet-page .main-left { min-width: 0; }
    .timesheet-page .masthead { grid-template-columns: minmax(0, 1fr) minmax(160px, .8fr); gap: 24px; }
    .timesheet-page .form-code { color: var(--forest); font-family: 'Manrope', sans-serif; font-size: 56px; font-weight: 800; }
    .timesheet-page .meta-grid { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); max-width: none; }
    .timesheet-page :is(.line-input, .line-select, .boxed-input) { min-width: 0; min-height: 44px; height: auto; padding: 8px; font: 16px 'DM Sans', sans-serif; border-color: #91aa9e; border-radius: 5px; }
    .timesheet-page .time-table-wrap { max-width: 100%; border-radius: 8px; overflow-x: auto; }
    .timesheet-page .time-table { min-width: 800px; table-layout: auto; }
    .timesheet-page .time-table .clock { width: 110px; min-width: 110px; }
    .timesheet-page .time-table .date { min-width: 140px; }
    .timesheet-page .time-table .staff-signature { min-width: 180px; }
    .timesheet-page .time-table th { background: var(--forest); color: var(--white); padding: 12px 6px; }
    .timesheet-page .time-table :is(th, td) { border-color: #a3b8ad; }
    .timesheet-page .cell-input { min-height: 44px; height: 44px; font-family: 'DM Sans', sans-serif; font-size: 14px; }
    .timesheet-page .cell-input.time-entry { min-width: 100px; font-size: 16px; }
    .timesheet-page .time-table .day { font-size: 13px; }
    .timesheet-page :is(.day-total, .weekly-total-value) { color: var(--forest); background: var(--mint-pale); }
    .timesheet-page .certification { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
    .timesheet-page .certification :is(.signature-input, .cert-tail) { grid-column: 2; }
    .timesheet-page .signature-input { font-family: 'Segoe Script', 'Brush Script MT', cursive; }
    .timesheet-page .home-copy { margin-top: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--mint-pale); }
    .timesheet-page .minimum-line { grid-template-columns: 1fr; }
    .timesheet-page .minimum-line > div { border: 1px solid var(--rule); text-align: left; }
    .timesheet-page .minimum-note { margin-left: 0; }
    .timesheet-page .signature-dialog { max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; }
    .timesheet-page .signature-dialog footer button.primary { border-color: var(--green); background: var(--green); }
    .timesheet-page :is(.esign-button, .signature-clear) { min-height: 36px; border-color: var(--line); border-radius: 6px; color: var(--forest); background: var(--mint-pale); font-family: 'DM Sans', sans-serif; }
}

@media (min-width: 992px) and (max-height: 800px) {
    .home-page .hero-layout { min-height: 560px; padding-block: 48px; }
    .home-page .hero-title { margin-bottom: 20px; font-size: clamp(48px, 4.6vw, 64px); }
    .home-page .hero-lead { font-size: 18px; }
    .home-page .hero-actions { margin-top: 24px; }
}

/* A second navigation row keeps all destinations readable on laptops. */
@media (max-width: 1599px) and (min-width: 992px) {
    .nav-container { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
    .brand { margin-right: auto; }
    .nav-menu { order: 3; flex-basis: 100%; margin-top: 10px; border-top: 1px solid var(--line); }
    .nav-menu a { padding: 12px 16px; }
}
@media screen and (max-width: 1199px) {
    .timesheet-page .top-grid { grid-template-columns: 1fr; }
    .timesheet-page .home-copy { max-width: 760px; text-align: left; }
    .timesheet-page .home-copy p { max-width: none; }
    .timesheet-page .right-panel { display: block; }
}
@media (max-width: 991px) {
    .site-container { width: calc(100% - 40px); }
    .main-nav { position: relative; }
    .nav-container { flex-wrap: wrap; gap: 12px; min-height: 72px; padding-block: 10px; }
    .brand { margin-right: auto; min-width: 0; }
    .top-address { display: none; }
    .mobile-toggle { display: block; }
    .nav-menu { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); }
    .nav-menu.active { display: flex; }
    .nav-menu li { border-bottom: 1px solid var(--line); }
    .nav-menu a { padding: 13px 8px; }
    .nav-menu a[aria-current="page"] { box-shadow: inset 3px 0 var(--green); background: var(--mint-pale); }
    .nav-actions { display: none; order: 4; flex-basis: 100%; flex-wrap: wrap; }
    .nav-menu.active + .nav-actions { display: flex; }
    .btn-enroll, .btn-timesheets { flex: 1; min-height: 44px; white-space: normal; }
    .page-hero-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 48px; }
    .page-hero .hero-cta { justify-self: start; }
    .site-page .main-wrapper, .site-page > .main-content { width: calc(100% - 40px); padding-block: 40px 56px; }
    .site-page :is(.board-intro, .board-notice-grid, .board-budget-grid, .location-detail-grid) { grid-template-columns: minmax(0, 1fr); }
    .site-page :is(.locations-section, .learning-centers-section) > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-page .location-detail-hours { align-items: flex-start; flex-direction: column; }
    .footer-content { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media screen and (max-width: 991px) {
    .enrollment-page .layout { grid-template-columns: minmax(0, 1fr); padding: 28px 20px 56px; }
    .enrollment-page .sidebar { position: static; display: block; max-height: none; }
    .enrollment-page .nav-list { display: flex; gap: 8px; padding-bottom: 12px; overflow-x: auto; }
    .enrollment-page .nav-item { flex: 0 0 auto; min-height: 44px; margin: 0; border: 1px solid var(--line); white-space: nowrap; }
    .enrollment-page .header-inner { padding: 24px 20px; }
    .enrollment-page .field-row.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timesheet-page .time-table-wrap::before { display: block; padding-bottom: 10px; color: var(--slate); font-size: 12px; content: 'Scroll sideways to view all time entries →'; }
}
@media (max-width: 600px) {
    html { scroll-padding-top: 20px; }
    .site-container { width: calc(100% - 32px); }
    .top-bar { font-size: 11px; }
    .top-bar-content { min-height: 36px; gap: 10px; }
    .brand { gap: 9px; font-size: 11px; }
    .brand strong { font-size: 14px; }
    .brand-mark { width: 30px; height: 38px; }
    .nav-actions .btn-enroll { flex-basis: 100%; }
    .page-hero .hero-title { font-size: clamp(32px, 9vw, 46px); }
    .page-hero .hero-lead { font-size: 16px; }
    .page-hero .hero-cta { width: 100%; }
    .site-page .main-wrapper, .site-page > .main-content { width: calc(100% - 32px); }
    .site-page :is(.info-card, .feature-card, .hours-card, .location-detail-hero, .location-detail-card, .location-detail-hours, .board-intro-copy, .board-intro-panel, .board-card, .board-resource-card) { padding: 24px; }
    .site-page .location-card { gap: 14px; padding: 20px; }
    .site-page :is(.locations-section, .learning-centers-section) > .row { grid-template-columns: minmax(0, 1fr); }
    .site-page .location-img { width: 60px; height: 60px; }
    .site-page .location-name { font-size: 16px; }
    .site-page .resource-link { align-items: flex-start; gap: 12px; padding: 18px; }
    .site-page .resource-link:hover { padding-left: 18px; }
    .site-page .doc-badge { font-size: 11px; padding: 4px 8px; }
    .site-page .location-detail-hours-time { white-space: normal; }
}
@media screen and (max-width: 600px) {
    .enrollment-page .header-inner { gap: 14px; }
    .enrollment-page .header-text { min-width: 0; flex: 1; }
    .enrollment-page .header-text h1 { font-size: 17px; }
    .enrollment-page .logo-mark { width: 40px; height: 40px; }
    .enrollment-page .progress-bar-wrap { flex-basis: 100%; align-items: stretch; }
    .enrollment-page .progress-track { width: 100%; }
    .enrollment-page .section-header { gap: 10px; padding: 18px 16px; }
    .enrollment-page .section-body { padding: 20px 16px; }
    .enrollment-page .section-title { font-size: 16px; }
    .enrollment-page .section-badge { display: none; }
    .enrollment-page :is(.field-row.cols-2, .field-row.cols-3, .field-row.cols-4, .health-grid, .school-finder, .location-picker) { grid-template-columns: minmax(0, 1fr); }
    .enrollment-page :is(input, select, textarea) { font-size: 16px; }
    .staff-page .wrap { width: calc(100% - 32px); }
    .staff-page main { padding-block: 40px 56px; }
    .staff-page .upload-grid { grid-template-columns: minmax(0, 1fr); }
    .staff-page .upload-choice { min-height: 220px; padding: 26px; }
    .timesheet-page :is(.sheet, .upload-shell) { width: calc(100% - 24px); padding: 22px 16px; margin-block: 20px 40px; }
    .timesheet-page .site-header-inner { width: calc(100% - 32px); }
    .timesheet-page .toolbar { padding: 16px; }
    .timesheet-page .toolbar :is(button, .home-button) { flex: 1 1 130px; text-align: center; }
    .timesheet-page .toolbar .status { width: 100%; }
    .timesheet-page .masthead, .timesheet-page .meta-grid { grid-template-columns: minmax(0, 1fr); }
    .timesheet-page .meta-grid .wide { grid-column: auto; }
    .timesheet-page .logo-wrap img { max-width: 240px; }
    .timesheet-page .upload-grid { grid-template-columns: minmax(0, 1fr); }
    .timesheet-page .upload-field { grid-column: auto; }
    .timesheet-page .upload-actions .button { width: 100%; }
}
@media print {
    .top-bar, .main-nav, .skip-link, body > .site-footer { display: none !important; }
    html { scroll-padding-top: 0; }
    .timesheet-page { --ink: #202020; background: #fff; color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.25; }
    .timesheet-page .subtitle { font-weight: 400; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

