:root {
    color-scheme: light;
    --ink: #171a17;
    --ink-soft: #343a35;
    --paper: #f5f6f2;
    --surface: #ffffff;
    --surface-soft: #eaede6;
    --night: #0b0e0c;
    --night-soft: #161b17;
    --muted: #687069;
    --line: #d8ddd5;
    --accent: #1f7a4d;
    --accent-bright: #42c77c;
    --gold: #f2b84b;
    --coral: #d85d45;
    --danger: #b33b32;
    --success: #176b43;
    --shadow: 0 18px 50px rgba(20, 28, 22, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body,
button,
input,
select,
textarea {
    letter-spacing: 0;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.08;
}

.content-wrap,
.header-inner,
.footer-inner,
.hero-inner,
.planner-inner {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--night);
    color: #fff;
    border-bottom: 1px solid #282e29;
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50% 50% 50% 14%;
    background: var(--accent-bright);
    color: #07150d;
    font-size: 0.95rem;
    font-weight: 900;
    transform: rotate(-8deg);
}

.brand-mark::first-letter {
    transform: rotate(8deg);
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 6px;
    color: #bdc5be;
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.nav a:hover,
.nav a.active {
    color: #fff;
    background: #202621;
}

.nav .nav-action {
    margin-left: 6px;
    background: var(--accent-bright);
    color: #07150d;
}

.nav .nav-action:hover,
.nav .nav-action.active {
    background: #63d995;
    color: #07150d;
}

.home-hero {
    min-height: min(620px, 68vh);
    display: flex;
    align-items: center;
    background-color: #050806;
    background-image: url('/assets/festive-route-hero.png');
    background-position: center;
    background-size: cover;
    color: #fff;
    box-shadow: inset 0 -90px 90px rgba(0, 0, 0, 0.28);
}

.hero-inner {
    padding: 72px 0 108px;
}

.hero-inner h1 {
    width: min(680px, 58vw);
    margin-bottom: 22px;
    font-size: clamp(3rem, 6vw, 5.9rem);
    font-weight: 850;
}

.hero-copy {
    max-width: 570px;
    margin-bottom: 28px;
    color: #d9dfd9;
    font-size: 1.15rem;
    line-height: 1.65;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--accent-bright);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--accent);
}

.hero-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
    text-decoration: none;
}

.hero-link {
    color: #fff;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
}

.planner-band {
    background: var(--night);
    color: #fff;
    border-top: 1px solid #272d28;
}

.planner-inner {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
    padding: 30px 0 34px;
}

.planner-heading h2 {
    margin: 0;
    font-size: 1.45rem;
}

.route-form {
    display: grid;
    grid-template-columns: minmax(300px, 2.1fr) minmax(150px, 1fr) 120px 92px minmax(160px, 1fr);
    gap: 12px;
    align-items: start;
}

.field {
    min-width: 0;
    display: grid;
    gap: 7px;
}

label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.planner-band label {
    color: #aeb8af;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    padding: 0.75rem 0.85rem;
    font: inherit;
    outline: none;
}

textarea {
    min-height: 132px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.14);
}

input[aria-invalid="true"] {
    border-color: var(--danger);
}

.planner-band input,
.planner-band select {
    border-color: #343c35;
    background: #171c18;
    color: #fff;
}

.address-control {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.address-control input {
    border-radius: 6px 0 0 6px;
}

.address-check {
    min-width: 78px;
    border: 1px solid var(--accent);
    border-left: 0;
    border-radius: 0 6px 6px 0;
    background: #e4f2e9;
    color: var(--accent);
    padding: 0 13px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.planner-band .address-check {
    border-color: var(--accent-bright);
    background: #203e2d;
    color: #a8f0c4;
}

.address-check:disabled {
    cursor: wait;
    opacity: 0.65;
}

.address-suggestions {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 340px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 16px 38px rgba(11, 14, 12, 0.2);
}

.address-suggestions[hidden] {
    display: none;
}

.address-suggestion {
    width: 100%;
    min-height: 58px;
    display: grid;
    gap: 2px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 10px 13px;
    text-align: left;
    cursor: pointer;
}

.address-suggestion:hover,
.address-suggestion[aria-selected="true"] {
    background: #edf6f0;
}

.address-suggestion strong {
    overflow: hidden;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.address-suggestion span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.address-attribution {
    margin: 0;
    padding: 7px 12px;
    color: var(--muted);
    font-size: 0.66rem;
    text-align: right;
}

.address-attribution a {
    color: var(--accent);
}

.address-status {
    min-height: 18px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.planner-band .address-status {
    color: #8e998f;
}

.address-status[data-state="success"] {
    color: var(--success);
}

.planner-band .address-status[data-state="success"] {
    color: #78e6a5;
}

.address-status[data-state="error"] {
    color: var(--danger);
}

.planner-band .address-status[data-state="error"] {
    color: #ff9789;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    padding: 0.78rem 1.2rem;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    background: #17643e;
}

.button.secondary {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
}

.route-submit {
    margin-top: 25px;
    background: var(--accent-bright);
    color: #07150d;
}

.route-submit:hover {
    background: #63d995;
}

.filter-drawer {
    grid-column: 1 / -1;
    border-top: 1px solid #2b322c;
    padding-top: 10px;
}

.filter-drawer summary {
    width: max-content;
    color: #bdc5be;
    font-size: 0.82rem;
    font-weight: 750;
    cursor: pointer;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding-top: 14px;
}

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c8cec9;
    font-size: 0.84rem;
}

.checkbox-row input {
    width: 17px;
    min-height: 17px;
    margin: 0;
    accent-color: var(--accent-bright);
}

.discovery-section,
.browse-section {
    padding-top: 72px;
    padding-bottom: 88px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading h2,
.page-intro h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.text-link {
    flex: none;
    color: var(--accent);
}

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

.display-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 26px rgba(20, 28, 22, 0.06);
}

.display-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--night-soft);
}

.display-card-media img,
.display-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.display-card-media img {
    transition: transform 220ms ease;
}

.display-card:hover .display-card-media img {
    transform: scale(1.025);
}

.holiday-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 9px;
    border-radius: 4px;
    background: rgba(11, 14, 12, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.test-data-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 8px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: var(--coral);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 900;
}

.display-card-content {
    padding: 19px;
}

.display-card-content h2,
.display-card-content h3 {
    margin: 4px 0 10px;
    font-size: 1.22rem;
}

.display-card-content a {
    text-decoration: none;
}

.display-card-content a:hover {
    color: var(--accent);
}

.meta,
.muted,
.address-line {
    color: var(--muted);
}

.meta {
    margin-bottom: 0;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
}

.address-line {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.empty-state {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 52px 0;
}

.empty-state h2,
.empty-state h3 {
    margin-bottom: 10px;
    font-size: 1.65rem;
}

.empty-state p {
    color: var(--muted);
}

.page-intro {
    padding-top: 68px;
    padding-bottom: 42px;
}

.page-intro > p:last-child {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.compact-intro {
    padding-bottom: 22px;
}

.explore-intro {
    border-bottom: 1px solid var(--line);
}

.form-page,
.route-page {
    padding-bottom: 90px;
}

.submission-form {
    border-top: 1px solid var(--line);
}

.form-section {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 54px;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
}

.form-section-heading {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.form-section-heading > span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 850;
}

.form-section-heading h2 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.form-section-heading p,
.form-actions p {
    color: var(--muted);
    font-size: 0.88rem;
}

.form-fields {
    display: grid;
    gap: 20px;
}

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

.address-field-wide,
.full-field {
    grid-column: 1 / -1;
}

.field-error {
    color: var(--danger);
    font-size: 0.78rem;
}

.upload-field input {
    padding: 10px;
    background: var(--surface-soft);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
}

.form-actions p {
    margin: 0;
}

.alert {
    margin: 22px 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 6px;
    background: var(--surface);
}

.alert.error {
    border-left-color: var(--danger);
    color: var(--danger);
}

.alert.success {
    border-left-color: var(--success);
    color: var(--success);
}

.compact-grid {
    margin-bottom: 28px;
}

.text-card {
    box-shadow: none;
}

.route-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
    padding: 28px;
    border-radius: 8px;
    background: var(--night);
    color: #fff;
}

.route-summary h2 {
    margin-bottom: 8px;
}

.route-summary h2 span {
    color: var(--gold);
}

.route-summary p:last-child {
    margin-bottom: 0;
    color: #b9c1ba;
}

.route-actions {
    display: flex;
    gap: 8px;
}

.route-list {
    border-top: 1px solid var(--line);
}

.route-stop {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.stop-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    font-weight: 900;
}

.route-stop-content h3 {
    margin: 5px 0 7px;
}

.route-stop-content h3 a {
    text-decoration: none;
}

.route-stop-content p:last-child {
    margin: 0;
    color: var(--muted);
}

.stop-distance {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.detail-page {
    padding-top: 52px;
    padding-bottom: 90px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
    gap: 36px;
}

.detail-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    background: var(--night-soft);
}

.detail-media .display-photo {
    background-image: url('/assets/festive-route-hero.png');
    background-position: center;
    background-size: cover;
}

.detail-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.detail-panel h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.detail-facts {
    margin: 28px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.detail-facts li {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.detail-facts strong {
    font-size: 0.78rem;
    text-transform: uppercase;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp {
    position: absolute;
    left: -9999px;
}

.site-footer {
    background: var(--night);
    color: #fff;
}

.admin-header {
    background: var(--night);
    color: #fff;
    border-top: 1px solid #252b26;
}

.admin-header-inner {
    min-height: 164px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-header h1 {
    margin: 0;
    font-size: 2.7rem;
}

.admin-logout {
    border: 1px solid #485149;
    background: transparent;
}

.admin-login-page {
    min-height: 520px;
    padding-bottom: 80px;
}

.admin-login-form {
    width: min(440px, 100%);
    display: grid;
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.admin-login-form .button {
    width: max-content;
}

.admin-page {
    padding-top: 36px;
    padding-bottom: 90px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.admin-stats > div {
    display: grid;
    gap: 3px;
    padding: 20px;
    border-right: 1px solid var(--line);
}

.admin-stats > div:last-child {
    border-right: 0;
}

.admin-stats strong {
    font-size: 1.8rem;
}

.admin-stats span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
}

.admin-section {
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
}

.admin-section h2 {
    margin-bottom: 20px;
    font-size: 1.65rem;
}

.admin-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.admin-section-heading h2 {
    margin: 0;
}

.admin-tabs {
    display: flex;
    gap: 4px;
}

.admin-tabs a {
    padding: 8px 11px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-tabs a.active {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: var(--surface);
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.admin-table td {
    font-size: 0.82rem;
}

.admin-table td > strong,
.admin-table td > span {
    display: block;
}

.admin-table td > span {
    margin-top: 3px;
    color: var(--muted);
}

.admin-address {
    max-width: 260px;
}

.admin-badge {
    width: max-content;
    margin-top: 7px;
    padding: 3px 6px;
    border-radius: 3px;
    background: var(--surface-soft);
    color: var(--ink-soft) !important;
    font-size: 0.64rem;
    font-weight: 850;
}

.admin-badge.approved {
    background: #dff3e7;
    color: var(--success) !important;
}

.admin-badge.rejected,
.admin-badge.test {
    background: #f8e2de;
    color: var(--danger) !important;
}

.admin-actions {
    min-width: 245px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.admin-action {
    min-height: 32px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
    padding: 5px 8px;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
    cursor: pointer;
}

.admin-action.approve {
    border-color: var(--success);
    color: var(--success);
}

.admin-action.danger {
    border-color: #e2b1a9;
    color: var(--danger);
}

.admin-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
}

.admin-tool-form {
    display: grid;
    gap: 14px;
    padding-bottom: 24px;
}

.admin-tool-form .button,
.admin-seed-actions .button {
    width: max-content;
}

.admin-list,
.admin-log {
    border-top: 1px solid var(--line);
}

.admin-list-row,
.admin-log > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
}

.admin-list-row span,
.admin-log span,
.admin-log time {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
}

.admin-log > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 150px;
}

.admin-seed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.danger-button {
    background: var(--danger);
}

.danger-button:hover {
    background: #912f28;
}

.admin-empty {
    padding: 24px 0;
    color: var(--muted);
}

.footer-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner p {
    margin: 0;
    color: #929c93;
    font-size: 0.88rem;
}

@media (max-width: 980px) {
    .planner-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .route-form {
        grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(110px, 1fr));
    }

    .route-submit {
        grid-column: 1 / -1;
        margin-top: 0;
    }

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

    .form-section {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

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

    .admin-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .content-wrap,
    .header-inner,
    .footer-inner,
    .hero-inner,
    .planner-inner {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 62px;
    }

    .brand > span:last-child {
        display: none;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .nav {
        gap: 0;
    }

    .nav a {
        min-height: 38px;
        padding: 0 9px;
        font-size: 0.8rem;
    }

    .nav .nav-action {
        margin-left: 2px;
    }

    .home-hero {
        min-height: 540px;
        align-items: end;
        background-position: 62% center;
        box-shadow: inset 0 -230px 170px rgba(0, 0, 0, 0.72);
    }

    .hero-inner {
        padding: 92px 0 48px;
    }

    .hero-inner h1 {
        width: 100%;
        margin-bottom: 16px;
        font-size: 3.05rem;
    }

    .hero-copy {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: 1rem;
    }

    .planner-inner {
        padding: 26px 0 30px;
    }

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

    .route-address-field,
    .route-submit,
    .filter-drawer {
        grid-column: 1 / -1;
    }

    .display-grid,
    .form-fields.two-column {
        grid-template-columns: 1fr;
    }

    .discovery-section,
    .browse-section {
        padding-top: 48px;
        padding-bottom: 58px;
    }

    .section-heading {
        align-items: start;
    }

    .section-heading h2,
    .page-intro h1 {
        font-size: 2.35rem;
    }

    .page-intro {
        padding-top: 48px;
        padding-bottom: 32px;
    }

    .form-section {
        padding: 32px 0;
    }

    .address-field-wide,
    .full-field {
        grid-column: auto;
    }

    .form-actions,
    .route-summary,
    .footer-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .route-summary {
        padding: 23px;
    }

    .route-stop {
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
    }

    .stop-distance {
        grid-column: 2;
    }

    .footer-inner {
        justify-content: center;
        padding: 32px 0;
    }

    .admin-header-inner,
    .admin-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-header-inner {
        justify-content: center;
        padding: 32px 0;
    }

    .admin-header h1 {
        font-size: 2.2rem;
    }

    .admin-logout {
        width: 100%;
    }

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

    .admin-stats > div {
        border-bottom: 1px solid var(--line);
    }

    .admin-tabs {
        overflow-x: auto;
    }

    .admin-log > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .footer-brand > span:last-child {
        display: inline;
    }
}
