:root {
    --ink: #17242a;
    --muted: #5c6970;
    --paper: #fbfaf7;
    --panel: #ffffff;
    --line: #d8dedb;
    --teal: #176b70;
    --coral: #d8644a;
    --gold: #d5a23f;
    --blue: #2f5f8f;
    --shadow: 0 22px 60px rgba(23, 36, 42, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    align-items: center;
    background: rgba(251, 250, 247, 0.95);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    height: 216px;
    justify-content: space-between;
    padding: 0 5vw;
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    align-items: center;
    color: var(--teal);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.brand img {
    display: block;
    height: 80%;
    max-height: 174px;
    max-width: none;
    object-fit: contain;
    width: auto;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

nav a {
    font-size: 2em;
    border-radius: 6px;
    color: var(--muted);
    padding: 8px 20px;
    text-decoration: none;
}

nav a.active,
nav a:hover {
    background: #e7f0ee;
    color: var(--teal);
}

.jumbotron {
    display: grid;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    position: relative;
}

.jumbotron img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.jumbotron::after {
    background: linear-gradient(90deg, rgba(251, 250, 247, 0.97), rgba(251, 250, 247, 0.82), rgba(251, 250, 247, 0.22));
    content: "";
    inset: 0;
    position: absolute;
}

.jumbotron-content {
    align-self: center;
    max-width: 680px;
    padding: 10vh 5vw 16vh;
    position: relative;
    z-index: 1;
}

.jumbotron-slides {
    display: grid;
    inset: 0;
    position: absolute;
    z-index: 1;
}

.jumbotron-slide {
    display: grid;
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transform: translateX(22px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.jumbotron-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.jumbotron-slide.template-centered .jumbotron-content {
    justify-self: center;
    max-width: 860px;
    text-align: center;
}

.jumbotron-slide.template-centered .hero-actions {
    justify-content: center;
}

.jumbotron-slide.template-route .jumbotron-content {
    border-left: 6px solid var(--gold);
    margin-left: 5vw;
    padding-left: 32px;
}

.jumbotron-controls {
    bottom: 30px;
    display: flex;
    gap: 10px;
    left: 5vw;
    position: absolute;
    z-index: 3;
}

.jumbotron-controls button {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(23, 107, 112, 0.22);
    border-radius: 999px;
    color: var(--teal);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.jumbotron-controls button.active,
.jumbotron-controls button:hover {
    background: var(--teal);
    color: #ffffff;
}

.eyebrow {
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 10px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.35rem, 7vw, 5.6rem);
    line-height: 0.95;
    margin: 0 0 22px;
    max-width: 920px;
}

h2 {
    font-size: 1.25rem;
    margin: 0 0 8px;
}

p {
    font-size: 1rem;
}

.jumbotron-content p:not(.eyebrow) {
    color: #33444b;
    font-size: 1.18rem;
    max-width: 560px;
}

.hero-actions,
.route-actions,
.home-cta-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    background: var(--teal);
    border: 0;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    margin-top: 16px;
    padding: 12px 18px;
    text-decoration: none;
}

.button:hover {
    background: #0f565b;
}

.button-secondary {
    background: #ffffff;
    border: 1px solid rgba(23, 107, 112, 0.24);
    color: var(--teal);
}

.button-secondary:hover {
    background: #edf7f5;
}

.text-link {
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    color: #0f565b;
    text-decoration: underline;
}

.home-page {
    overflow: hidden;
}

.home-hero {
    isolation: isolate;
}

.hero-status {
    align-items: stretch;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(216, 222, 219, 0.9);
    border-radius: 8px;
    bottom: 34px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    position: absolute;
    right: 5vw;
    width: min(560px, 56vw);
    z-index: 2;
}

.hero-status div {
    background: rgba(251, 250, 247, 0.92);
    display: grid;
    gap: 3px;
    padding: 18px;
}

.hero-status strong {
    color: var(--blue);
    font-size: 1.55rem;
    line-height: 1;
}

.hero-status span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.home-intro,
.service-strip,
.route-panel,
.process-section,
.home-cta {
    padding: 76px 5vw;
}

.home-intro {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
}

.section-kicker {
    border-left: 4px solid var(--coral);
    color: var(--coral);
    font-weight: 900;
    padding-left: 18px;
}

.intro-copy {
    max-width: 900px;
}

.intro-copy h2,
.route-copy h2,
.process-heading h2,
.home-cta h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0 0 18px;
}

.intro-copy p,
.route-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 760px;
}

.service-strip {
    background: var(--ink);
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-strip article {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #f8fbfa;
    min-height: 230px;
    padding: 28px;
}

.service-strip span,
.process-steps span {
    color: var(--gold);
    font-weight: 900;
}

.service-strip h3,
.process-steps h3 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 12px 0 10px;
}

.service-strip p {
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
}

.route-panel {
    align-items: center;
    background: #eef3f1;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
}

.route-map {
    aspect-ratio: 1;
    background:
        linear-gradient(135deg, rgba(23, 107, 112, 0.12), transparent 42%),
        linear-gradient(35deg, rgba(216, 100, 74, 0.12), transparent 48%),
        #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 520px;
    min-height: 320px;
    position: relative;
}

.map-line {
    background: linear-gradient(var(--teal), var(--coral));
    border-radius: 999px;
    height: 74%;
    left: 49%;
    opacity: 0.55;
    position: absolute;
    top: 13%;
    transform: rotate(14deg);
    width: 8px;
}

.map-point {
    background: var(--panel);
    border: 8px solid var(--teal);
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(23, 36, 42, 0.18);
    height: 44px;
    position: absolute;
    width: 44px;
    z-index: 1;
}

.map-point.north {
    left: 48%;
    top: 12%;
}

.map-point.west {
    left: 24%;
    top: 37%;
}

.map-point.center {
    border-color: var(--gold);
    left: 54%;
    top: 52%;
}

.map-point.south {
    border-color: var(--coral);
    left: 42%;
    top: 76%;
}

.process-section {
    background: var(--paper);
}

.process-heading {
    max-width: 720px;
}

.process-steps {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 30px;
}

.process-steps article {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 220px;
    padding: 24px;
}

.process-steps p {
    color: var(--muted);
    margin: 0;
}

.home-cta {
    align-items: center;
    background: var(--teal);
    color: #ffffff;
    display: flex;
    gap: 28px;
    justify-content: space-between;
}

.home-cta .eyebrow {
    color: #ffe0c7;
}

.home-cta h2 {
    margin-bottom: 0;
}

.home-cta .button {
    background: #ffffff;
    color: var(--teal);
}

.home-cta .text-link {
    color: #ffffff;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-strip .reveal:nth-child(2),
.process-steps .reveal:nth-child(2) {
    transition-delay: 110ms;
}

.service-strip .reveal:nth-child(3),
.process-steps .reveal:nth-child(3) {
    transition-delay: 220ms;
}

.process-steps .reveal:nth-child(4) {
    transition-delay: 330ms;
}

.section-grid,
.content-page,
.admin-page {
    padding: 64px 5vw;
}

.section-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-grid article,
.list-grid article,
.editor {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.admin-shell {
    display: grid;
    gap: 24px;
    margin: 0 auto;
    max-width: 1180px;
}

.admin-heading {
    align-items: end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.admin-grid {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
}

.jumbotron-list {
    display: grid;
    gap: 12px;
}

.jumbotron-list article {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 18px;
}

.jumbotron-list article.active {
    border-color: var(--teal);
    box-shadow: 0 12px 32px rgba(23, 107, 112, 0.14);
}

.jumbotron-list span {
    color: var(--gold);
    font-weight: 900;
}

.jumbotron-list h2 {
    font-size: 1rem;
    margin-top: 6px;
}

.jumbotron-list p {
    color: var(--muted);
    margin: 0;
    text-transform: capitalize;
}

.list-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.list-actions a,
.list-actions button {
    background: transparent;
    border: 0;
    color: var(--teal);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
    text-decoration: none;
}

.list-actions button {
    color: #b33b2f;
}

.list-actions form {
    display: block;
    margin: 0;
}

.section-grid span {
    color: var(--gold);
    font-weight: 800;
}

.content-page section,
.editor {
    margin: 0 auto;
    max-width: 960px;
}

.content-page h1,
.admin-page h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

.list-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.about-page {
    display: grid;
    gap: 0;
}

.about-hero,
.about-story,
.about-values,
.about-partnership {
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.about-hero {
    padding: 32px 0 54px;
}

.about-hero h1 {
    max-width: 980px;
}

.about-hero > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.16rem;
    max-width: 820px;
}

.about-story {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
    padding: 54px 0;
}

.about-copy {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(23, 36, 42, 0.08);
    padding: 34px;
}

.about-copy h2,
.about-partnership h2 {
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 18px;
}

.about-copy p,
.about-partnership p {
    color: var(--muted);
    font-size: 1.06rem;
}

.about-values {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 20px 0 54px;
}

.about-values article {
    background: var(--ink);
    border-radius: 8px;
    color: #ffffff;
    min-height: 230px;
    padding: 28px;
}

.about-values span {
    color: var(--gold);
    font-weight: 900;
}

.about-values h2 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-top: 12px;
}

.about-values p {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 0;
}

.about-partnership {
    align-items: start;
    background: #eef3f1;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
    padding: 34px;
}

.muted {
    color: var(--muted);
}

.notice {
    background: #edf7ef;
    border: 1px solid #bad9c0;
    border-radius: 6px;
    color: #245b31;
    padding: 12px 14px;
}

form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

label {
    color: var(--muted);
    display: grid;
    font-weight: 700;
    gap: 8px;
}

input,
textarea,
select {
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    font: inherit;
    padding: 12px;
    width: 100%;
}

textarea {
    resize: vertical;
}

.checkbox-label {
    align-content: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.checkbox-label input {
    width: auto;
}

.form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.error {
    color: #b33b2f;
    font-size: 0.9rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 24px 5vw;
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        height: auto;
        min-height: 216px;
        padding-bottom: 14px;
        padding-top: 14px;
    }

    .brand img {
        height: 174px;
        max-width: min(92vw, 780px);
    }

    .jumbotron {
        min-height: 760px;
    }

    .jumbotron::after {
        background: rgba(251, 250, 247, 0.86);
    }

    .jumbotron-content {
        align-self: start;
        padding-bottom: 230px;
        padding-top: 64px;
    }

    .jumbotron-slide.template-route .jumbotron-content {
        margin-left: 0;
        padding-left: calc(5vw + 18px);
    }

    .hero-status {
        bottom: 24px;
        grid-template-columns: 1fr;
        left: 5vw;
        right: 5vw;
        width: auto;
    }

    .home-intro,
    .service-strip,
    .route-panel,
    .process-section,
    .home-cta {
        padding: 54px 5vw;
    }

    .home-intro,
    .service-strip,
    .route-panel,
    .process-steps,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .route-map {
        max-width: none;
        min-height: 260px;
    }

    .home-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-grid,
    .list-grid,
    .form-row,
    .about-story,
    .about-values,
    .about-partnership {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .jumbotron {
        min-height: 820px;
    }

    .hero-actions,
    .route-actions,
    .home-cta-actions,
    .hero-actions .button,
    .route-actions .button,
    .home-cta-actions .button {
        align-items: stretch;
        width: 100%;
    }

    .button {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.nav-dropdown {
    font-size: 1.6em;
    position: relative;
}

.nav-dropdown > button {
    font: inherit;
    font-size: 1.2em;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    padding: 8px 20px;
}

.nav-dropdown.active > button,
.nav-dropdown:hover > button,
.nav-dropdown:focus-within > button {
    background: #e7f0ee;
    color: var(--teal);
}

.dropdown-menu {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(23, 36, 42, 0.14);
    display: none;
    min-width: 260px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 10;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: grid;
    gap: 4px;
}

.dropdown-menu a {
    font-size: 1.2em;
    border-radius: 6px;
    color: var(--ink);
    padding: 10px 12px;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f3f6f4;
    color: var(--teal);
}

.directory-grid,
.terms-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.terms-list {
    grid-template-columns: 1fr;
}

.terms-page {
    display: grid;
    gap: 42px;
}

.terms-hero,
.terms-section {
    margin: 0 auto;
    max-width: 1120px;
    width: 100%;
}

.terms-hero {
    padding-top: 24px;
}

.terms-hero h1 {
    max-width: 900px;
}

.terms-hero > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 780px;
}

.terms-section {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
}

.terms-section .terms-list {
    margin-top: 0;
}

.directory-grid article,
.terms-list article {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.station-page {
    display: grid;
    gap: 28px;
}

.station-hero,
.station-search-panel {
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.station-hero {
    padding-top: 24px;
}

.station-hero > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 820px;
}

.station-search-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 20px;
    padding: 26px;
}

.station-filter-form {
    align-items: end;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    margin-top: 0;
}

.route-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.station-results-heading {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.station-card-grid,
.route-result-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.station-card {
    background: #fbfaf7;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 20px;
}

.station-card span {
    color: var(--gold);
    font-weight: 900;
}

.vendor-type-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    padding: 8px 10px;
    width: fit-content;
}

.vendor-type-arrival {
    background: #e7f0ee;
    color: var(--teal) !important;
}

.vendor-type-collection {
    background: #fff1e2;
    color: #a65316 !important;
}

.vendor-type-default {
    background: #f1f3f2;
    color: var(--muted) !important;
}

.station-card h3,
.station-card h4 {
    font-size: 1.25rem;
    margin: 6px 0 8px;
}

.station-card p {
    color: var(--muted);
    margin: 0;
}

.station-card a,
.station-table a {
    color: var(--teal);
    font-weight: 900;
    text-decoration: none;
}

.station-card a:hover,
.station-table a:hover {
    text-decoration: underline;
}

.station-meta {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 6px;
    padding-top: 12px;
}

.distance-label {
    color: var(--coral) !important;
    font-weight: 900;
}

.station-table {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.station-table-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1.1fr 2fr 1fr 1.4fr 0.8fr;
    padding: 14px 16px;
}

.station-table-distance-row {
    grid-template-columns: 1.1fr 2fr 1fr 0.8fr 1fr 1.4fr;
}

.station-table-row + .station-table-row {
    border-top: 1px solid var(--line);
}

.station-table-head {
    background: var(--ink);
    color: #ffffff;
    font-weight: 900;
}

.terms-list article {
    display: grid;
    gap: 8px;
}

.terms-list span {
    color: var(--gold);
    font-weight: 900;
}

.terms-list p {
    color: var(--muted);
    margin: 0;
}

.qa-page {
    display: grid;
    gap: 36px;
}

.qa-hero,
.faq-list {
    margin: 0 auto;
    max-width: 980px;
    width: 100%;
}

.qa-hero {
    padding-top: 24px;
}

.qa-hero > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 760px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-list article {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
}

.faq-list h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.faq-list p {
    color: var(--muted);
    margin: 0;
}

.faq-list a {
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.faq-list a:hover {
    text-decoration: underline;
}

.qa-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.qa-contact a {
    background: #eef3f1;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
}

.login-panel {
    max-width: 720px;
}

.claims-page {
    display: grid;
    gap: 30px;
}

.claims-hero,
.claims-shell,
.claims-verify-panel,
.claims-success-panel {
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.claims-hero {
    padding-top: 24px;
}

.claims-hero > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 820px;
}

.claims-shell {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
}

.claims-guide,
.claims-form,
.claims-verify-panel,
.claims-success-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(23, 36, 42, 0.08);
}

.claims-guide {
    display: grid;
    gap: 14px;
    padding: 24px;
    position: sticky;
    top: 240px;
}

.claims-guide p {
    color: var(--muted);
    margin: 0;
}

.claims-terms-note {
    background: #eef3f1;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    display: grid;
    gap: 8px;
    padding: 16px;
}

.claims-terms-note strong {
    color: var(--teal);
}

.line-support-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.line-support-card strong {
    color: var(--teal);
    display: block;
    font-size: 1.04rem;
}

.line-support-card span {
    color: var(--ink);
    display: block;
    font-weight: 900;
    margin-top: 2px;
}

.line-support-card p {
    color: var(--muted);
    margin: 8px 0 4px;
}

.line-support-card img {
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    max-width: 210px;
    object-fit: contain;
    padding: 8px;
    width: 100%;
}

.claims-form {
    gap: 0;
    margin-top: 0;
    overflow: hidden;
}

.claims-form-section,
.claims-acknowledgement {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 16px;
    padding: 24px;
}

.claims-form-section h2,
.claims-acknowledgement h2 {
    color: var(--teal);
    font-size: 1.22rem;
}

.claims-form-section .muted,
.claims-acknowledgement p {
    margin: 0;
}

.claim-honeypot {
    height: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    width: 0;
}

.claims-verify-panel,
.claims-success-panel {
    display: grid;
    gap: 16px;
    max-width: 760px;
    padding: 30px;
}

.claims-reference {
    background: #eef3f1;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 6px 16px;
    grid-template-columns: auto 1fr;
    padding: 18px;
}

.claims-reference span {
    color: var(--muted);
    font-weight: 800;
}

.claims-reference strong {
    color: var(--teal);
}

.claims-admin-shell {
    max-width: 1280px;
}

.claims-admin-filter {
    align-items: end;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(140px, 0.24fr)) minmax(160px, 0.24fr) minmax(220px, 0.34fr) auto;
    margin-top: 0;
    padding: 20px;
}

.claims-admin-list {
    display: grid;
    gap: 18px;
}

.claim-admin-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    padding: 22px;
}

.claim-admin-head {
    align-items: start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.claim-admin-head h2 {
    font-size: 1.35rem;
    margin-top: 10px;
}

.claim-admin-head small {
    color: var(--muted);
    display: block;
    font-size: 0.9rem;
    margin-top: 4px;
}

.claim-status-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 900;
    padding: 8px 10px;
}

.claim-status-unresolved {
    background: #fff1e2;
    color: #a65316;
}

.claim-status-resolved {
    background: #edf7ef;
    color: #245b31;
}

.claim-status-pending {
    background: #f1f3f2;
    color: var(--muted);
}

.claim-admin-dates {
    color: var(--muted);
    display: grid;
    font-size: 0.94rem;
    gap: 6px;
    justify-items: end;
}

.claim-admin-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(180px, 0.7fr) minmax(200px, 0.8fr) minmax(0, 1.2fr);
}

.claim-admin-grid > div,
.claim-admin-extra {
    background: #fbfaf7;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}

.claim-admin-grid h3 {
    color: var(--teal);
    font-size: 1rem;
    margin: 0 0 10px;
}

.claim-admin-grid p,
.claim-admin-extra p {
    color: var(--muted);
    margin: 0 0 8px;
}

.claim-admin-grid p:last-child,
.claim-admin-extra p:last-child {
    margin-bottom: 0;
}

.claim-admin-grid a {
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.claim-photo-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.claim-photo-thumb {
    background: #fbfaf7;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    text-decoration: none;
}

.claim-photo-thumb img {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.claim-photo-thumb span {
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.claim-admin-action {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0;
}

@media (max-width: 760px) {
    .nav-dropdown,
    .nav-dropdown > button {
        width: 100%;
    }

    .nav-dropdown > button {
        text-align: left;
    }

    .dropdown-menu {
        box-shadow: none;
        min-width: 0;
        position: static;
        width: 100%;
    }

    .directory-grid,
    .terms-section,
    .station-filter-form,
    .route-filter-form,
    .station-card-grid,
    .route-result-grid,
    .claims-shell,
    .claims-admin-filter,
    .claim-admin-grid,
    .claim-admin-action {
        grid-template-columns: 1fr;
    }

    .claims-guide {
        position: static;
    }

    .claim-admin-head {
        flex-direction: column;
    }

    .claim-admin-dates {
        justify-items: start;
    }

    .station-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .station-table-row {
        grid-template-columns: 1fr;
    }

    .station-table-head {
        display: none;
    }
}

.nav-logout {
    display: inline-flex;
    gap: 0;
    margin: 0;
}

.nav-logout button {
    font: inherit;
    font-size: 2em;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    padding: 8px 10px;
}

.nav-logout button:hover {
    background: #e7f0ee;
    color: var(--teal);
}

.error-banner {
    background: #fff0ed;
    border: 1px solid #e6b5ad;
    border-radius: 6px;
    color: #9f3528;
    padding: 12px 14px;
}

.login-help {
    background: #f4f7f5;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    margin-top: 20px;
    padding: 16px;
}

.login-help p {
    margin: 4px 0;
}

@media (max-width: 760px) {
    .nav-logout,
    .nav-logout button {
        width: 100%;
    }

    .nav-logout button {
        text-align: left;
    }
}

.nav-toggle {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    display: none;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.nav-toggle span {
    background: var(--teal);
    border-radius: 999px;
    display: block;
    height: 3px;
    position: absolute;
    transition: transform 180ms ease, opacity 180ms ease;
    width: 22px;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(7px);
}

@media (max-width: 760px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        gap: 12px;
        height: 88px;
        min-height: 0;
        padding-bottom: 8px;
        padding-top: 8px;
    }

    .brand img {
        height: 72px;
        max-width: min(70vw, 360px);
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        position: relative;
    }

    .site-header nav {
        background: rgba(251, 250, 247, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 36px rgba(23, 36, 42, 0.12);
        display: none;
        gap: 4px;
        left: 0;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        padding: 12px 5vw 16px;
        position: absolute;
        right: 0;
        top: 100%;
    }

    .site-header.nav-open nav {
        display: grid;
    }

    .site-header.nav-open .nav-toggle span:nth-child(1) {
        transform: rotate(45deg);
    }

    .site-header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.nav-open .nav-toggle span:nth-child(3) {
        transform: rotate(-45deg);
    }

    nav a,
    .nav-dropdown > button,
    .nav-logout button {
        font-size: 1.08rem;
        padding: 10px 12px;
    }

    .nav-dropdown {
        font-size: 1rem;
    }

    .dropdown-menu a {
        font-size: 1rem;
    }
}
