:root {
    --green-900: #064e3b;
    --green-800: #065f46;
    --green-700: #047857;
    --green-600: #059669;
    --green-100: #d1fae5;
    --green-50: #ecfdf5;
    --white: #ffffff;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --amber-50: #fffbeb;
    --amber-800: #92400e;
    --rose-600: #e11d48;
    --shadow: 0 18px 45px rgba(6, 78, 59, 0.1);
    --shadow-strong: 0 26px 70px rgba(6, 78, 59, 0.2);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(209, 250, 229, 0.75), transparent 25%),
        radial-gradient(circle at 88% 12%, rgba(167, 243, 208, 0.42), transparent 24%),
        linear-gradient(180deg, var(--green-50) 0%, #f8fffb 42%, var(--white) 100%);
    color: var(--slate-900);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.app-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
    transition: grid-template-columns 0.2s ease;
}

.app-shell.sidebar-collapsed {
    grid-template-columns: 0 minmax(0, 1fr);
}

.app-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    border-right: 1px solid rgba(5, 150, 105, 0.14);
    background:
        radial-gradient(circle at 20% 0, rgba(209, 250, 229, 0.72), transparent 24%),
        rgba(255, 255, 255, 0.94);
    box-shadow: 12px 0 38px rgba(6, 78, 59, 0.055);
    backdrop-filter: blur(18px);
    padding: 22px;
    overflow: hidden;
    transition: opacity 0.2s ease, padding 0.2s ease;
}

.app-shell.sidebar-collapsed .app-sidebar {
    opacity: 0;
    padding-left: 0;
    padding-right: 0;
    pointer-events: none;
}

.sidebar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green-800);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-logo {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.18);
    object-fit: contain;
    flex: 0 0 auto;
}

.sidebar-toggle,
.sidebar-show-button {
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 999px;
    background: var(--white);
    color: var(--green-800);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    padding: 8px 12px;
}

.sidebar-show-button {
    display: none;
    position: sticky;
    top: 12px;
    z-index: 25;
    margin: 12px 0 0 16px;
    box-shadow: var(--shadow);
}

.app-shell.sidebar-collapsed .sidebar-show-button {
    display: inline-flex;
}

.sidebar-user {
    margin-top: 24px;
    border-radius: 20px;
    border: 1px solid rgba(5, 150, 105, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(236, 253, 245, 0.9));
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.07);
    padding: 16px;
}

.sidebar-user strong,
.sidebar-user span {
    display: block;
}

.sidebar-user span {
    margin-top: 4px;
    color: var(--slate-600);
    font-size: 13px;
}

.sidebar-nav {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.sidebar-nav a,
.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    color: var(--slate-700);
    font-weight: 800;
    padding: 12px 14px;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar-nav svg,
.sidebar-logout svg,
.sidebar-brand svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sidebar-logout-form {
    margin-top: auto;
}

.sidebar-logout {
    width: 100%;
    border: 0;
    background: #fff1f2;
    color: #be123c;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    text-align: left;
}

.sidebar-nav a:hover {
    background: rgba(236, 253, 245, 0.92);
    box-shadow: 0 9px 20px rgba(5, 150, 105, 0.09);
    color: var(--green-800);
    transform: translateX(3px);
}

.sidebar-logout:hover {
    background: #ffe4e6;
    color: #9f1239;
}

.app-main {
    min-width: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(5, 150, 105, 0.16);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green-800);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand .brand-logo {
    width: 76px;
    height: 76px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--slate-700);
    font-weight: 650;
}

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

.button,
.user-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 750;
}

.button {
    border: 0;
    background: var(--green-700);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(4, 120, 87, 0.22);
}

.button:hover {
    background: var(--green-800);
}

.button-small {
    padding: 9px 18px;
}

.inline-action {
    margin-top: 12px;
}

.button-full {
    width: 100%;
    margin-top: 24px;
    padding: 13px 18px;
    font-size: 16px;
}

.user-pill,
.status-pill {
    background: var(--green-50);
    color: var(--green-800);
    padding: 7px 14px;
}

.hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.32), transparent 24%),
        radial-gradient(circle at 15% 85%, rgba(187, 247, 208, 0.3), transparent 30%),
        linear-gradient(135deg, #064e3b 0%, #047857 54%, #10b981 100%);
    color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 44px;
    align-items: center;
    padding: 82px 0 92px;
}

.hero-content-single {
    grid-template-columns: minmax(0, 1fr);
    padding: 38px 0 42px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 850px;
    margin: 12px 0 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 24px 0 0;
    color: #eafff5;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-button {
    padding: 13px 22px;
    background: var(--white);
    color: var(--green-800);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.hero-button:hover {
    background: var(--green-50);
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
    padding: 12px 21px;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.meal-icon,
.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
}

.meal-icon {
    width: 52px;
    height: 52px;
}

.eyebrow {
    margin: 0;
    color: #d8fff0;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.green {
    color: var(--green-700);
}

.section-spacing {
    padding: 38px 0 28px;
}

.hero p.hero-tagline {
    margin: 10px 0 0;
    color: var(--green-100);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
}

.section-title {
    margin: 8px 0 0;
    color: var(--green-900);
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.035em;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.facility-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 20px;
    background: linear-gradient(180deg, var(--white), #f7fffb);
    box-shadow: 0 12px 28px rgba(6, 78, 59, 0.06);
    padding: 16px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(6, 78, 59, 0.12);
}

.facility-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(5, 150, 105, 0.18);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--green-50), var(--green-100));
    box-shadow: inset 0 1px 0 var(--white);
    color: var(--green-700);
    place-items: center;
}

.facility-icon svg {
    width: 23px;
    height: 23px;
}

.facility-card h3 {
    margin: 2px 0 0;
    color: var(--green-900);
    font-size: 16px;
}

.facility-card p {
    margin: 5px 0 0;
    color: var(--slate-600);
    font-size: 13.5px;
}

.washing-panel {
    overflow: hidden;
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(6, 78, 59, 0.07);
}

.washing-panel[open] {
    border-color: rgba(5, 150, 105, 0.32);
}

.washing-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    padding: 13px 16px;
    cursor: pointer;
    list-style: none;
}

.washing-panel summary::-webkit-details-marker {
    display: none;
}

.washing-summary-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.washing-summary-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(5, 150, 105, 0.18);
    border-radius: 13px;
    background: linear-gradient(145deg, var(--green-50), var(--green-100));
    color: var(--green-700);
    place-items: center;
}

.washing-summary-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.washing-panel summary strong {
    display: block;
    color: var(--green-900);
    font-size: 15px;
}

.washing-panel summary small {
    display: block;
    margin-top: 2px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.washing-summary-action {
    color: var(--green-700);
    font-size: 12px;
    font-weight: 850;
}

.washing-summary-action::after {
    content: "⌄";
    display: inline-block;
    margin-left: 7px;
    font-size: 16px;
    transition: transform 160ms ease;
}

.washing-panel[open] .washing-summary-action::after {
    transform: rotate(180deg);
}

.washing-figure {
    margin: 0;
    border-top: 1px solid rgba(5, 150, 105, 0.12);
    background: var(--green-50);
    padding: 16px;
}

.washing-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    margin: 0 auto;
    border-radius: 14px;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.amenity-grid-wide {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.amenity-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--white), #f7fffb);
    color: var(--green-900);
    padding: 11px 13px;
    font-size: 13px;
    font-weight: 750;
}

.amenity-chip svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--green-600);
}

.facility-icon svg,
.amenity-chip svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.gallery-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-600) 100%);
    box-shadow: var(--shadow-strong);
    color: var(--white);
    padding: 28px;
}

.contact-block strong {
    display: block;
    margin-top: 6px;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.contact-label {
    margin: 0;
    color: #d1fae5;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-note,
.contact-address {
    margin: 8px 0 0;
    color: #eafff5;
    font-size: 14px;
}

.contact-block-phone a {
    display: block;
    margin-top: 6px;
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -0.01em;
}

/* Home page gloss */

.hero-gloss {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.26), transparent 34%),
        radial-gradient(circle at 8% 88%, rgba(187, 247, 208, 0.34), transparent 38%),
        linear-gradient(135deg, #04382a 0%, var(--green-800) 32%, var(--green-600) 76%, #34d399 100%);
}

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(46px);
    pointer-events: none;
}

.hero-orb-1 {
    top: -120px;
    right: 6%;
    width: 340px;
    height: 340px;
    background: rgba(167, 243, 208, 0.42);
}

.hero-orb-2 {
    bottom: -160px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.45);
}

.hero-sheen {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(102deg, transparent 38%, rgba(255, 255, 255, 0.13) 50%, transparent 62%);
    pointer-events: none;
}

.hero-gloss h1 {
    max-width: none;
    font-size: clamp(23px, 3.35vw, 42px);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

@media (min-width: 620px) {
    .hero-gloss h1 {
        white-space: nowrap;
    }
}

.hero-gloss p.hero-tagline {
    font-size: 20px;
}

.hero-gloss .hero-actions {
    margin-top: 22px;
}

.hero-gloss .hero-button {
    background: linear-gradient(180deg, #ffffff, #ecfdf5);
    box-shadow:
        0 20px 38px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 #ffffff;
}

.home-page .card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 253, 246, 0.92));
    box-shadow:
        0 22px 50px rgba(6, 78, 59, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.home-page .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.home-page .section-icon {
    box-shadow:
        0 10px 22px rgba(5, 150, 105, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home-page .section-title {
    background: linear-gradient(100deg, var(--green-900), var(--green-600) 70%, #10b981);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.facility-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.8);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.86));
    box-shadow:
        0 16px 34px rgba(6, 78, 59, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.facility-card::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -30%;
    width: 60%;
    height: 220%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transform: translateX(-40%);
    transition: opacity 0.45s ease, transform 0.6s ease;
    pointer-events: none;
}

.facility-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5, 150, 105, 0.34);
    box-shadow: 0 26px 50px rgba(6, 78, 59, 0.16);
}

.facility-card:hover::after {
    opacity: 1;
    transform: translateX(230%);
}

.facility-icon {
    box-shadow:
        inset 0 1px 0 var(--white),
        0 8px 16px rgba(5, 150, 105, 0.16);
}

.amenity-chip {
    border-color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.88));
    box-shadow:
        0 10px 20px rgba(6, 78, 59, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenity-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(6, 78, 59, 0.13);
}

.home-page .gallery-card {
    position: relative;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 16px 30px rgba(6, 78, 59, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(6, 78, 59, 0.18);
}

.home-page .gallery-card img {
    transition: transform 0.45s ease;
}

.home-page .gallery-card:hover img {
    transform: scale(1.05);
}

.contact-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-band::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -80px;
    z-index: -1;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    filter: blur(10px);
}

.contact-block-phone a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 7px 16px;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-block-phone a:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
    color: var(--white);
}

.contact-block-phone a svg,
.contact-address svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-right: 9px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-address {
    display: flex;
    align-items: flex-start;
}

.contact-address svg {
    margin-top: 2px;
}

/* Hero motion and badges */

@keyframes mgrOrbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -26px, 0) scale(1.06);
    }
}

@keyframes mgrSheenSweep {
    from {
        transform: translateX(-22%);
    }
    to {
        transform: translateX(22%);
    }
}

.hero-orb-1 {
    animation: mgrOrbFloat 13s ease-in-out infinite;
}

.hero-orb-2 {
    animation: mgrOrbFloat 17s ease-in-out infinite reverse;
}

.hero-sheen {
    animation: mgrSheenSweep 14s ease-in-out infinite alternate;
}

.hero-gloss::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(236, 253, 245, 0.28));
    pointer-events: none;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
    color: #eafff5;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

/* Section headers */

.section-head {
    max-width: 660px;
    margin: 0 auto 28px;
    text-align: center;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--white), var(--green-50));
    box-shadow:
        0 8px 18px rgba(6, 78, 59, 0.08),
        inset 0 1px 0 var(--white);
    color: var(--green-700);
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head .section-title {
    margin-top: 14px;
}

.section-divider {
    display: block;
    width: 96px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green-600), #34d399, var(--green-600));
    box-shadow: 0 6px 14px rgba(5, 150, 105, 0.3);
}

/* Card icon badges on the home page */

.home-page .section-icon {
    border: 1px solid rgba(5, 150, 105, 0.18);
    background: linear-gradient(145deg, var(--green-50), var(--green-100));
    box-shadow:
        0 10px 20px rgba(5, 150, 105, 0.16),
        inset 0 1px 0 var(--white);
    color: var(--green-700);
}

.home-page .section-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

/* Gallery */

.home-page .gallery-card img {
    height: 168px;
}

.home-page .gallery-card figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, transparent, rgba(6, 78, 59, 0.88));
    color: var(--white);
    padding: 30px 13px 12px;
    opacity: 0.94;
    transform: translateY(5px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-page .gallery-card:hover figcaption {
    opacity: 1;
    transform: none;
}

/* Scroll reveal */

.has-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.has-reveal [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

.has-reveal .facility-grid [data-reveal]:nth-child(2n) {
    transition-delay: 80ms;
}

.has-reveal .gallery-grid [data-reveal]:nth-child(3n + 2) {
    transition-delay: 70ms;
}

.has-reveal .gallery-grid [data-reveal]:nth-child(3n) {
    transition-delay: 140ms;
}

.section-bottom {
    padding-bottom: 28px;
}

.section-bottom-large {
    padding-bottom: 56px;
}

.page-section {
    padding: 42px 0 58px;
}

.page-heading {
    margin-bottom: 30px;
}

.page-heading h1 {
    margin: 8px 0 6px;
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.page-heading p {
    color: var(--slate-600);
}

.grid {
    display: grid;
    gap: 22px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.span-2 {
    grid-column: span 2;
}

.card,
.metric-card,
.login-card {
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
        radial-gradient(circle at top right, rgba(209, 250, 229, 0.42), transparent 38%);
    box-shadow: var(--shadow);
}

.card {
    padding: 26px;
}

.card h2,
.login-card h1 {
    margin: 0;
    color: var(--green-900);
    letter-spacing: -0.025em;
}

.login-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.auth-intro {
    margin: 12px 0 0;
    color: var(--slate-600);
    font-size: 14px;
}

.auth-help {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
}

.auth-help a {
    color: var(--green-700);
    font-weight: 800;
}

.auth-help a:hover {
    color: var(--green-900);
    text-decoration: underline;
}

.login-card .button-full + .auth-help {
    margin-top: 16px;
}

.login-logo {
    width: 128px;
    height: 128px;
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.22);
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
}

.stack,
.stack-top {
    margin-top: 18px;
}

.stack > * + * {
    margin-top: 12px;
}

.stack-top-large {
    margin-top: 28px;
}

.muted {
    color: var(--slate-500);
}

.birthday-card {
    margin: 0;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 251, 235, 0.95), rgba(236, 253, 245, 0.95));
    color: var(--amber-800);
    padding: 14px;
    font-weight: 650;
    border: 1px solid rgba(245, 158, 11, 0.16);
}

.mini-card {
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--white), #fbfffd);
    padding: 16px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.mini-card h3,
.mini-card p {
    margin: 0;
}

.mini-card h3 {
    color: var(--green-900);
}

.mini-card p + p,
.mini-card h3 + p {
    margin-top: 8px;
    color: var(--slate-600);
    font-size: 14px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.table-wrap {
    margin-top: 20px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th,
.data-table td {
    border: 1px solid var(--slate-200);
    padding: 13px 14px;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: var(--green-50);
    color: var(--green-900);
}

.item-chip {
    display: inline-flex;
    margin: 0 6px 6px 0;
    border-radius: 999px;
    background: var(--green-50);
    color: var(--green-800);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

.weekly-menu-table-wrap {
    border: 1px solid rgba(5, 150, 105, 0.13);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.07);
}

.weekly-menu-matrix {
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
}

.weekly-menu-matrix th,
.weekly-menu-matrix td {
    border-width: 0 1px 1px 0;
}

.weekly-menu-matrix th:last-child,
.weekly-menu-matrix td:last-child {
    border-right: 0;
}

.weekly-menu-matrix tbody tr:last-child td {
    border-bottom: 0;
}

.weekly-menu-matrix th {
    background: linear-gradient(180deg, #d1fae5, #ecfdf5);
    font-size: 13px;
    letter-spacing: 0.01em;
}

.weekly-menu-matrix tbody tr:nth-child(even) td {
    background: rgba(248, 250, 252, 0.72);
}

.weekly-menu-matrix tbody tr:hover td {
    background: rgba(236, 253, 245, 0.72);
}

.weekly-menu-matrix th:first-child,
.weekly-menu-matrix td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 150px;
    min-width: 150px;
    background: #f8fffb;
    box-shadow: 7px 0 16px rgba(15, 23, 42, 0.035);
}

.weekly-menu-matrix th:first-child {
    z-index: 3;
    background: linear-gradient(180deg, #d1fae5, #ecfdf5);
}

.weekly-menu-matrix tbody tr:nth-child(even) td:first-child {
    background: #f8fafc;
}

.weekly-menu-matrix tbody tr:hover td:first-child {
    background: #ecfdf5;
}

.menu-day-cell strong,
.menu-day-cell span {
    display: block;
}

.menu-day-cell strong {
    color: var(--green-900);
    font-size: 14px;
}

.menu-day-cell span {
    margin-top: 3px;
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 700;
}

.menu-cell-items {
    min-width: 200px;
}

/* Breakfast holds only an item and a drink, so it needs far less room. */
.weekly-menu-matrix th:nth-child(2),
.weekly-menu-matrix td:nth-child(2) {
    width: 172px;
}

.weekly-menu-matrix td:nth-child(2) .menu-cell-items {
    min-width: 0;
}

.menu-cell-items .item-chip {
    margin-bottom: 5px;
    background: linear-gradient(145deg, var(--white), var(--green-50));
    box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.09);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.gallery-card {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--green-50);
    border: 1px solid rgba(5, 150, 105, 0.14);
    box-shadow: 0 14px 28px rgba(6, 78, 59, 0.08);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.gallery-card figcaption {
    padding: 12px;
    color: var(--green-900);
    font-size: 14px;
    font-weight: 750;
}

.metric-card {
    padding: 24px;
}

.metric-card p {
    margin: 0;
    color: var(--slate-500);
    font-size: 14px;
    font-weight: 700;
}

.metric-card strong {
    display: block;
    margin-top: 10px;
    color: var(--slate-900);
    font-size: 42px;
    line-height: 1;
}

.metric-card .danger {
    color: var(--rose-600);
}

.metric-card .status-text {
    color: var(--green-700);
    font-size: 28px;
}

.dashboard-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(209, 250, 229, 0.72), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.94));
    box-shadow: var(--shadow-strong);
    padding: 28px;
}

.dashboard-hero-card h2 {
    max-width: 720px;
    margin: 8px 0 8px;
    color: var(--green-900);
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.compact-hero h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.menu-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.menu-summary-card strong,
.menu-summary-card p {
    margin: 0;
}

.menu-summary-card p {
    margin-top: 5px;
    color: var(--slate-500);
    font-size: 14px;
}

.meal-count-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.meal-count-card {
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 18px;
    background: var(--green-50);
    padding: 16px;
}

.meal-count-card span {
    color: var(--green-800);
    font-size: 13px;
    font-weight: 850;
}

.meal-count-lines {
    margin-top: 10px;
}

.meal-count-lines p {
    margin: 6px 0 0;
    color: var(--slate-600);
    font-size: 15px;
    font-weight: 700;
}

.meal-count-lines strong {
    color: var(--green-900);
}

.holiday-count-note {
    display: inline-flex;
    margin: 12px 0 0;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 11px;
    font-size: 13px;
    font-weight: 850;
}

.mess-hero-card {
    gap: 16px;
    border-radius: 20px;
    padding: 15px 18px;
}

.mess-dashboard-page {
    padding-top: 20px;
}

.mess-page-heading {
    margin-bottom: 14px;
}

.mess-page-heading h1 {
    margin: 3px 0 0;
    font-size: clamp(22px, 2.5vw, 30px);
}

.mess-page-heading .eyebrow {
    font-size: 10px;
}

.mess-hero-card h2 {
    margin: 3px 0;
    font-size: clamp(20px, 2.4vw, 27px);
    line-height: 1.1;
}

.mess-hero-card .eyebrow {
    font-size: 10px;
}

.mess-hero-card .muted {
    font-size: 12px;
}

.mess-hero-card .dashboard-actions {
    gap: 8px;
}

.mess-hero-card .button,
.mess-hero-card .secondary-button {
    padding: 8px 13px;
    font-size: 12px;
}

.mess-workbench-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.4fr);
    gap: 16px;
    align-items: start;
    margin-top: 16px;
}

.mess-day-stack {
    display: grid;
    gap: 14px;
}

.mess-day-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(5, 150, 105, 0.17);
    border-radius: 20px;
    background: linear-gradient(157deg, #ffffff 0%, #f6fffb 48%, #e9fbf2 100%);
    box-shadow: 0 14px 30px rgba(6, 78, 59, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 16px 17px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.mess-day-card::after {
    content: "";
    position: absolute;
    top: -96px;
    right: -56px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 243, 208, 0.5), rgba(167, 243, 208, 0) 68%);
    pointer-events: none;
}

.mess-day-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mess-day-card.is-today {
    border-color: rgba(5, 150, 105, 0.34);
    box-shadow: 0 16px 36px rgba(5, 150, 105, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mess-day-card.is-today::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, #34d399, var(--green-700));
}

.mess-day-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mess-day-heading {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.mess-day-dot {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(145deg, #34d399, var(--green-700));
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.17);
}

.mess-day-header h2 {
    margin: 0;
    color: var(--green-900);
    font-size: 17px;
    white-space: nowrap;
}

.mess-day-date {
    flex: none;
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 999px;
    background: linear-gradient(150deg, #ffffff, #e4f9ee);
    box-shadow: 0 5px 12px rgba(6, 78, 59, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    color: var(--green-800);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.mess-student-stats {
    position: relative;
    display: flex;
    gap: 8px;
    margin-top: 13px;
}

.mess-student-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    background: linear-gradient(150deg, #ffffff, #f1f5f9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: var(--slate-500);
    padding: 5px 11px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mess-student-stats strong {
    color: var(--green-900);
    font-size: 13px;
}

.mess-meal-count-grid {
    position: relative;
    gap: 9px;
    margin-top: 12px;
}

.mess-meal-count-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-width: 0;
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 15px;
    background: linear-gradient(160deg, #ffffff 0%, #e7faf1 100%);
    box-shadow: 0 8px 18px rgba(6, 78, 59, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 10px 12px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.mess-meal-count-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 24px rgba(6, 78, 59, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.mess-meal-count-card span {
    overflow: hidden;
    color: var(--green-800);
    font-size: 10px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mess-drink-count-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 9px;
}

.mess-meal-count-card.is-drink {
    border-color: rgba(217, 119, 6, 0.2);
    background: linear-gradient(160deg, #ffffff 0%, #fef6e4 100%);
}

.mess-meal-count-card.is-drink span {
    color: var(--amber-800);
}

.mess-meal-count-card.is-drink strong {
    background: linear-gradient(140deg, #92400e, #d97706);
    background-clip: text;
    -webkit-background-clip: text;
}

.mess-meal-count-card strong {
    flex: none;
    background: linear-gradient(140deg, var(--green-900), var(--green-600));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 21px;
    line-height: 1;
}

.mess-menu-panel {
    min-width: 0;
    border: 1px solid rgba(5, 150, 105, 0.15);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    padding: 18px;
}

.mess-menu-heading {
    align-items: center;
}

.mess-menu-heading h2 {
    margin: 2px 0 0;
    font-size: 21px;
}

.mess-menu-heading .secondary-button {
    padding: 8px 13px;
    font-size: 12px;
}

.mess-menu-table-wrap {
    margin-top: 13px;
    border-radius: 14px;
}

.mess-weekly-table {
    min-width: 420px;
    font-size: 12px;
}

.mess-weekly-table th,
.mess-weekly-table td {
    padding: 9px 10px;
}

.mess-weekly-table th:first-child,
.mess-weekly-table td:first-child {
    position: static;
    width: 84px;
    min-width: 84px;
    box-shadow: none;
}

.mess-weekly-table .menu-cell-items {
    min-width: 0;
}

.mess-weekly-table .item-chip {
    padding: 4px 7px;
    font-size: 10px;
}

.mess-weekly-table tbody tr:nth-child(even) td,
.mess-weekly-table tbody tr:nth-child(even) td:first-child,
.mess-weekly-table tbody tr:hover td,
.mess-weekly-table tbody tr:hover td:first-child {
    background: transparent;
}

.mess-weekly-table .menu-day-group.is-alt td,
.mess-weekly-table .menu-day-group.is-alt td:first-child {
    background: rgba(248, 250, 252, 0.7);
}

.mess-weekly-table .menu-day-group.is-today td,
.mess-weekly-table .menu-day-group.is-today td:first-child {
    background: linear-gradient(180deg, rgba(209, 250, 229, 0.72), rgba(236, 253, 245, 0.5));
}

.mess-weekly-table .menu-day-group.is-today .menu-day-cell {
    border-left: 3px solid var(--green-600);
}

.mess-weekly-table .menu-day-group.is-today .menu-day-cell strong,
.mess-weekly-table .menu-day-group.is-today .meal-cell-label {
    color: var(--green-800);
}

.mess-weekly-table .menu-day-group tr:last-child td {
    border-bottom: 1px solid var(--slate-200);
}

.mess-weekly-table .menu-day-group:last-child tr:last-child td {
    border-bottom: 0;
}

.meal-cell-label {
    display: block;
    margin-bottom: 5px;
    color: var(--green-700);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.menu-day-cell .menu-today-flag {
    display: inline-flex;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--green-700), var(--green-600));
    box-shadow: 0 4px 10px rgba(4, 120, 87, 0.26);
    color: var(--white);
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.weekly-menu-matrix tr.is-today-row td {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.9), rgba(255, 255, 255, 0.6));
    box-shadow: inset 3px 0 0 var(--green-600);
}

.locked-menu-note {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(254, 243, 199, 0.55));
    padding: 15px 17px;
}

.locked-menu-note strong {
    color: var(--amber-800);
}

.locked-menu-note p {
    margin: 3px 0 0;
    font-size: 13px;
}

.locked-menu-icon {
    display: inline-flex;
    flex: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #fbbf24, #d97706);
    box-shadow: 0 8px 18px rgba(180, 83, 9, 0.25);
    color: var(--white);
}

.locked-menu-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.out-intimation-table {
    min-width: 720px;
}

.out-intimation-table .item-chip {
    margin-bottom: 4px;
    font-size: 11px;
}

.out-intimation-table .is-active-plan td {
    background: rgba(236, 253, 245, 0.75);
}

.active-plan-flag {
    display: inline-flex;
    margin-top: 5px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--green-700), var(--green-600));
    color: var(--white);
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mess-empty-menu {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin-top: 14px;
}

@media (max-width: 1100px) {
    .amenity-grid-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mess-workbench-grid {
        grid-template-columns: 1fr;
    }

    .mess-day-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.preference-table {
    min-width: 900px;
}

.preference-table td:first-child span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

.count-chip {
    display: inline-flex;
    margin: 0 6px 6px 0;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 850;
}

.count-chip.yes {
    background: var(--green-50);
    color: var(--green-800);
}

.count-chip.no {
    background: #fff1f2;
    color: #be123c;
}

.count-chip.holiday {
    display: flex;
    width: max-content;
    margin-top: 8px;
    background: #eff6ff;
    color: #1d4ed8;
}

.student-meal-options {
    display: grid;
    gap: 12px;
}

.student-hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.22);
    background:
        radial-gradient(circle at 88% 12%, rgba(110, 231, 183, 0.48), transparent 28%),
        radial-gradient(circle at 12% 100%, rgba(167, 243, 208, 0.5), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.9));
    box-shadow:
        0 24px 60px rgba(5, 150, 105, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.student-hero-card::before {
    position: absolute;
    top: -75px;
    right: 8%;
    width: 180px;
    height: 180px;
    border: 28px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    content: "";
}

.student-hero-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.46) 42%, transparent 60%);
    content: "";
    pointer-events: none;
    transform: translateX(-115%);
    animation: student-hero-shine 7s ease-in-out infinite;
}

.student-hero-card > * {
    position: relative;
    z-index: 1;
}

.student-hero-content,
.title-with-icon,
.label-with-icon,
.recent-out-date,
.icon-button,
.icon-pill,
.date-heading {
    display: flex;
    align-items: center;
}

.student-hero-content {
    gap: 16px;
}

.hero-icon,
.section-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--green-800);
}

.hero-icon {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(209, 250, 229, 0.72));
    box-shadow:
        0 13px 28px rgba(5, 150, 105, 0.18),
        inset 0 1px 0 var(--white);
}

.hero-icon svg {
    width: 27px;
    height: 27px;
}

.student-hero-content h2 {
    background: linear-gradient(100deg, var(--green-900), var(--green-600));
    background-clip: text;
    color: transparent;
}

.student-hero-content .muted {
    margin-top: 4px;
}

.student-dashboard-grid {
    align-items: start;
}

.student-dashboard-page {
    padding-top: 20px;
}

.student-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    border: 1px solid rgba(5, 150, 105, 0.13);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 10%, rgba(167, 243, 208, 0.4), transparent 24%),
        rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.075);
    padding: 14px 18px;
}

.student-page-heading .eyebrow {
    font-size: 11px;
}

.student-page-heading h1 {
    margin: 2px 0 0;
    font-size: clamp(20px, 2vw, 27px);
    letter-spacing: -0.025em;
}

.student-heading-copy {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 7px;
    color: var(--green-900) !important;
}

.student-heading-copy strong,
.student-heading-copy small {
    display: block;
}

.student-heading-copy strong {
    font-size: 13px;
}

.student-heading-copy small {
    margin-top: 1px;
    color: var(--slate-500);
    font-size: 11px;
}

.student-heading-icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--white), var(--green-100));
    box-shadow: 0 6px 14px rgba(5, 150, 105, 0.13);
    color: var(--green-700);
    place-items: center;
}

.student-heading-icon svg,
.compact-menu-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.compact-menu-link {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 12px;
}

.student-dashboard-page .student-preference-card,
.student-dashboard-page .student-out-card {
    padding: 17px;
}

.student-dashboard-page .section-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.student-dashboard-page .section-icon svg {
    width: 18px;
    height: 18px;
}

.student-dashboard-page .compact-title-row h2 {
    font-size: 20px;
}

.student-dashboard-page .student-choice-form {
    margin-top: 11px;
}

.student-dashboard-page .meal-date-grid {
    gap: 9px;
}

.student-dashboard-page .meal-date-card {
    border-radius: 16px;
    padding: 10px;
}

.student-dashboard-page .meal-date-helper {
    margin-top: 5px;
    min-height: 17px;
    font-size: 11px;
}

.student-dashboard-page .compact-meal-options {
    gap: 6px;
    margin-top: 7px;
}

.student-dashboard-page .compact-toggle {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 13px;
}

.student-dashboard-page .choice-slider {
    width: 40px;
    height: 22px;
}

.student-dashboard-page .choice-slider::after {
    top: 3px;
    left: 3px;
}

.student-dashboard-page .student-meal-option input:checked + .choice-slider::after {
    transform: translateX(18px);
}

.student-dashboard-page .student-choice-form > .button {
    margin-top: 10px;
    padding: 9px 15px;
}

.student-preference-card,
.student-out-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(5, 150, 105, 0.14);
    background:
        radial-gradient(circle at 100% 0, rgba(209, 250, 229, 0.42), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)),
        var(--white);
    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.student-preference-card:hover,
.student-out-card:hover {
    border-color: rgba(5, 150, 105, 0.28);
    box-shadow:
        0 28px 64px rgba(5, 150, 105, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
    transform: translateY(-3px);
}

.compact-title-row {
    align-items: flex-start;
    gap: 14px;
}

.compact-title-row h2 {
    margin: 0;
}

.compact-title-row .muted {
    margin-top: 4px;
    font-size: 13px;
}

.title-with-icon {
    gap: 12px;
}

.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.section-icon svg {
    width: 21px;
    height: 21px;
}

.meal-icon {
    background: linear-gradient(145deg, #d1fae5, #a7f3d0);
}

.out-icon {
    background: linear-gradient(145deg, #e0f2fe, #bae6fd);
    color: #0369a1;
}

.history-icon {
    background: linear-gradient(145deg, #fef3c7, #fde68a);
    color: #a16207;
}

.student-dashboard-grid svg,
.student-hero-card svg,
.recent-out-card svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.icon-button {
    justify-content: center;
    gap: 8px;
}

.icon-button svg,
.icon-pill svg,
.label-with-icon svg,
.recent-out-date svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.icon-pill {
    gap: 6px;
}

.icon-pill svg {
    width: 14px;
    height: 14px;
}

.meal-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.meal-date-card {
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), transparent 42%),
        linear-gradient(180deg, rgba(236, 253, 245, 0.88), rgba(255, 255, 255, 0.96));
    box-shadow:
        0 12px 28px rgba(5, 150, 105, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    padding: 14px;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.meal-date-card:hover {
    box-shadow:
        0 17px 36px rgba(5, 150, 105, 0.13),
        inset 0 1px 0 var(--white);
    transform: translateY(-2px);
}

.meal-date-card.is-locked {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.88), rgba(255, 255, 255, 0.94));
}

.meal-date-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.meal-date-header strong,
.meal-date-header span {
    display: block;
}

.meal-date-header strong {
    color: var(--green-900);
    font-size: 15px;
}

.meal-date-header div span {
    margin-top: 2px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 750;
}

.date-heading {
    align-items: flex-start;
    gap: 8px;
}

.date-heading > svg {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--green-700);
}

.meal-date-helper {
    margin: 9px 0 0;
    color: var(--slate-500);
    font-size: 12px;
    line-height: 1.4;
}

.mini-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 900;
}

.mini-pill.success {
    background: var(--green-100);
    color: var(--green-800);
}

.mini-pill.muted-pill {
    background: var(--slate-100);
    color: var(--slate-500);
}

.autosave-status {
    min-width: 54px;
    justify-content: center;
    background: var(--slate-100);
    color: var(--slate-500);
}

.autosave-status.is-idle {
    display: none;
}

.autosave-status.is-saving {
    background: #eff6ff;
    color: #1d4ed8;
}

.autosave-status.is-saved {
    background: var(--green-100);
    color: var(--green-800);
}

.autosave-status.is-error {
    background: #fff1f2;
    color: #be123c;
}

.compact-meal-options {
    gap: 8px;
    margin-top: 12px;
}

.student-meal-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 16px;
    background: rgba(236, 253, 245, 0.7);
    color: var(--green-900);
    cursor: pointer;
    font-weight: 800;
    padding: 13px 14px;
}

.compact-toggle {
    justify-content: space-between;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    padding: 10px 11px;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.035);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.compact-toggle:hover {
    box-shadow: 0 9px 20px rgba(5, 150, 105, 0.1);
    transform: translateX(2px);
}

.compact-toggle .choice-slider {
    order: 2;
}

.drink-choice-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(254, 243, 199, 0.55));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 9px 12px;
}

.drink-choice-caption {
    margin-right: auto;
    color: var(--amber-800);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.drink-choice-options {
    display: inline-flex;
    gap: 6px;
}

.drink-choice {
    cursor: pointer;
}

.drink-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.drink-choice span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(217, 119, 6, 0.22);
    border-radius: 999px;
    background: var(--white);
    color: var(--amber-800);
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 850;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.drink-choice input:checked + span {
    background: linear-gradient(145deg, #d97706, #b45309);
    box-shadow: 0 6px 14px rgba(180, 83, 9, 0.28);
    color: var(--white);
}

.drink-choice input:focus-visible + span {
    outline: 2px solid var(--green-700);
    outline-offset: 2px;
}

.compact-toggle span:last-child {
    order: 1;
}

.meal-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.meal-label svg {
    width: 17px;
    height: 17px;
    color: var(--green-700);
}

.student-meal-option:has(input:checked) {
    border-color: rgba(5, 150, 105, 0.38);
    background: rgba(236, 253, 245, 0.92);
}

.student-meal-option:has(input:disabled) {
    cursor: not-allowed;
    opacity: 0.66;
}

.student-meal-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-slider {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: var(--slate-200);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.choice-slider::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
    content: "";
    transition: transform 0.2s ease;
}

.student-meal-option input:checked + .choice-slider {
    background: linear-gradient(135deg, var(--green-600), #10b981);
    box-shadow:
        0 5px 13px rgba(5, 150, 105, 0.28),
        inset 0 0 0 1px rgba(5, 150, 105, 0.2);
}

.student-meal-option input:checked + .choice-slider::after {
    transform: translateX(20px);
}

.student-meal-option input:focus-visible + .choice-slider {
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.16);
}

.out-meal-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.student-out-card .form-field input,
.student-out-card .form-field textarea {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.035);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-out-card .form-field input:focus,
.student-out-card .form-field textarea:focus {
    background: var(--white);
    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.12),
        0 10px 24px rgba(5, 150, 105, 0.08);
}

.label-with-icon {
    gap: 7px;
}

.label-with-icon svg {
    color: var(--green-700);
}

.save-glow {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--green-700), #10b981);
    box-shadow:
        0 12px 25px rgba(5, 150, 105, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.save-glow:hover {
    box-shadow:
        0 16px 32px rgba(5, 150, 105, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.recent-out-card {
    border: 1px solid rgba(245, 158, 11, 0.16);
    background:
        radial-gradient(circle at 100% 0, rgba(254, 243, 199, 0.52), transparent 24%),
        rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 48px rgba(120, 53, 15, 0.07);
}

.recent-out-card > .stack {
    margin-top: 18px;
}

.recent-out-item {
    border-color: rgba(245, 158, 11, 0.14);
    background: rgba(255, 251, 235, 0.58);
}

.recent-out-date {
    gap: 8px;
    color: var(--amber-800);
}

@keyframes student-hero-shine {
    0%,
    55% {
        transform: translateX(-115%);
    }
    78%,
    100% {
        transform: translateX(115%);
    }
}

.student-choice-form,
.student-vacation-form {
    margin-top: 18px;
}

.form-section-label {
    margin: 18px 0 0;
    color: var(--green-900);
    font-size: 14px;
    font-weight: 900;
}

code {
    border-radius: 8px;
    background: var(--green-50);
    color: var(--green-800);
    padding: 3px 7px;
}

.login-section {
    display: flex;
    min-height: 72vh;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.login-card {
    width: min(430px, 100%);
    padding: 32px;
}

.form-stack {
    margin-top: 24px;
}

.form-field + .form-field {
    margin-top: 16px;
}

.form-field label {
    display: block;
    color: var(--slate-700);
    font-size: 14px;
    font-weight: 750;
}

.form-field input {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 12px 13px;
    color: var(--slate-900);
    font: inherit;
    outline: none;
}

.form-field input:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.form-error {
    margin: 18px 0 0;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    padding: 12px;
    font-size: 14px;
}

.action-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.wide-page {
    width: min(1420px, calc(100% - 32px));
}

.message-stack {
    margin-bottom: 20px;
}

.app-message {
    border-radius: 14px;
    padding: 13px 16px;
    font-weight: 750;
}

.app-message.success {
    border: 1px solid rgba(5, 150, 105, 0.24);
    background: var(--green-50);
    color: var(--green-800);
}

.app-message.error {
    border: 1px solid rgba(225, 29, 72, 0.18);
    background: #fff1f2;
    color: #be123c;
}

.form-card {
    margin-bottom: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.form-grid > .form-field + .form-field,
.menu-meal-fields > .form-field + .form-field {
    margin-top: 0;
}

.weekly-date-grid {
    max-width: 760px;
}

.weekly-date-grid input[type="date"] {
    min-height: 46px;
}

.weekly-date-grid input[readonly] {
    background: #f8fafc;
    color: var(--slate-600);
    cursor: default;
}

.form-field small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.form-field select,
.form-field textarea,
.form-field input[type="date"],
.form-field input[type="text"] {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--white);
    color: var(--slate-900);
    font: inherit;
    padding: 11px 12px;
    outline: none;
}

.form-field select:focus,
.form-field textarea:focus,
.form-field input[type="date"]:focus,
.form-field input[type="text"]:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: 999px;
    background: var(--white);
    color: var(--green-800);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 10px 18px;
}

.secondary-button:hover {
    background: var(--green-50);
}

.responsive-table {
    overflow-x: auto;
}

.compact-table {
    min-width: 720px;
}

.table-link {
    color: var(--green-700);
    font-weight: 850;
}

.menu-editor {
    padding-bottom: 86px;
}

.menu-day-list {
    display: grid;
    gap: 12px;
}

.menu-day-section {
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(6, 78, 59, 0.06);
    overflow: hidden;
}

.menu-day-section[open] {
    border-color: rgba(5, 150, 105, 0.34);
    box-shadow: 0 14px 32px rgba(6, 78, 59, 0.1);
}

.menu-day-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    cursor: pointer;
    list-style: none;
}

.menu-day-section summary::-webkit-details-marker {
    display: none;
}

.menu-day-section summary > span:first-child {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.menu-day-section summary strong {
    color: var(--green-900);
    font-size: 16px;
}

.menu-day-section summary small {
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 700;
}

.menu-day-summary-action {
    color: var(--green-700);
    font-size: 11px;
    font-weight: 850;
}

.menu-day-summary-action::after {
    content: "⌄";
    display: inline-block;
    margin-left: 7px;
    font-size: 16px;
    transition: transform 160ms ease;
}

.menu-day-section[open] .menu-day-summary-action::after {
    transform: rotate(180deg);
}

.menu-day-rows {
    border-top: 1px solid rgba(5, 150, 105, 0.12);
}

.menu-meal-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 16px;
}

.menu-meal-row + .menu-meal-row {
    border-top: 1px solid var(--slate-100);
}

.menu-meal-title strong {
    display: inline-flex;
    border-radius: 999px;
    background: var(--green-700);
    color: var(--white);
    padding: 6px 9px;
    font-size: 11px;
}

.menu-meal-row > .form-error {
    grid-column: 2;
}

.menu-meal-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.menu-meal-fields.is-breakfast {
    grid-template-columns: repeat(2, minmax(160px, 240px));
    justify-content: start;
}

.menu-meal-fields .form-field {
    display: flex;
    flex-direction: column;
}

.menu-meal-fields .form-field label {
    margin-bottom: 4px;
    font-size: 11px;
}

.menu-meal-fields select,
.menu-meal-fields input {
    min-height: 39px;
    padding: 8px 9px;
    font-size: 12px;
}

/* Keeps controls on one line when a neighbouring label wraps. */
.menu-meal-fields .form-field select,
.menu-meal-fields .form-field input {
    margin-top: auto;
}

.optional-label {
    margin-left: 4px;
    color: var(--slate-500);
    font-size: 10px;
    font-weight: 700;
}

.extra-text-chip {
    background: linear-gradient(145deg, #fffbeb, #fef3c7) !important;
    color: var(--amber-800);
}

.holiday-menu-chip {
    display: inline-flex;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 850;
}

.sticky-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    display: flex;
    gap: 12px;
    border: 1px solid rgba(5, 150, 105, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-strong);
    padding: 10px;
    backdrop-filter: blur(14px);
}

@media (max-width: 860px) {
    .app-shell {
        display: block;
    }

    .app-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(5, 150, 105, 0.14);
        padding: 16px;
    }

    .app-shell.sidebar-collapsed .app-sidebar {
        display: none;
    }

    .sidebar-user {
        margin-top: 12px;
    }

    .sidebar-nav {
        display: flex;
        gap: 8px;
        margin-top: 14px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .sidebar-nav a {
        white-space: nowrap;
    }

    .sidebar-logout-form {
        display: inline-flex;
        margin-top: 10px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-content-single {
        padding: 30px 0 34px;
    }

    .amenity-chip:hover,
    .hero-badge:hover,
    .home-page .gallery-card:hover {
        transform: none;
    }

    .hero-badges {
        margin-top: 20px;
        gap: 8px;
    }

    .hero-badge {
        padding: 7px 12px;
        font-size: 12px;
    }

    .section-head {
        margin-bottom: 22px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: auto;
    }

    .facility-grid,
    .amenity-grid,
    .contact-band {
        grid-template-columns: 1fr;
    }

    .gallery-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facility-card:hover {
        transform: none;
    }

    .brand .brand-logo {
        width: 56px;
        height: 56px;
    }

    .header-inner,
    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .action-heading,
    .dashboard-hero-card,
    .form-actions,
    .sticky-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-grid,
    .meal-date-grid,
    .menu-entry-grid,
    .menu-form-grid,
    .out-meal-columns,
    .meal-count-grid {
        grid-template-columns: 1fr;
    }

    .menu-meal-row {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 12px;
    }

    .menu-meal-row > .form-error {
        grid-column: 1;
    }

    .menu-meal-fields,
    .menu-meal-fields.is-breakfast {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-day-section summary {
        padding: 12px;
    }

    .student-hero-content {
        align-items: flex-start;
    }

    .student-dashboard-page {
        padding-top: 14px;
    }

    .student-page-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 13px 15px;
    }

    .compact-menu-link {
        align-self: flex-start;
    }

    .hero-icon {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }

    .hero-icon svg {
        width: 23px;
        height: 23px;
    }

    .student-preference-card,
    .student-out-card,
    .recent-out-card {
        padding: 18px;
    }

    .student-dashboard-page .compact-toggle {
        min-height: 42px;
        padding: 9px 10px;
    }

    .mess-day-stack {
        grid-template-columns: 1fr;
    }

    .mess-dashboard-page {
        padding-top: 14px;
    }

    .mess-page-heading {
        margin-bottom: 10px;
    }

    .mess-meal-count-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mess-hero-card {
        gap: 11px;
        padding: 13px 15px;
    }

    .mess-menu-panel,
    .mess-day-card {
        padding: 15px;
    }

    .student-preference-card:hover,
    .student-out-card:hover,
    .meal-date-card:hover,
    .mess-day-card:hover,
    .mess-meal-count-card:hover {
        transform: none;
    }

    .compact-title-row {
        flex-direction: row;
    }

    .sticky-actions {
        left: 16px;
        right: 16px;
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-hero-card::after,
    .hero-orb-1,
    .hero-orb-2,
    .hero-sheen {
        animation: none;
    }

    .student-preference-card,
    .student-out-card,
    .meal-date-card,
    .compact-toggle,
    .save-glow,
    .facility-card,
    .amenity-chip,
    .hero-badge,
    .home-page .gallery-card,
    .home-page .gallery-card img,
    .home-page .gallery-card figcaption {
        transition: none;
    }

    .has-reveal [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
