@font-face {
  font-family: "Univers LT Std";
  src: url("./assets/fonts/UniversLTStd-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Univers LT Std";
  src: url("./assets/fonts/UniversLTStd-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Glypha LT Std";
  src: url("./assets/fonts/GlyphaLTStd.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Glypha LT Std";
  src: url("./assets/fonts/GlyphaLTStd-Black.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rail Alphabet";
  src: url("./assets/fonts/RailAlphabet2SIGNBETA-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest-950: #062d22;
  --forest-900: #0b3a2c;
  --forest-800: #145240;
  --lime-500: #45bf4a;
  --lime-400: #6fd36a;
  --lime-100: #e6f8e2;
  --cream-050: #f6f4ed;
  --cream-100: #efede4;
  --stone-200: #dbd7cc;
  --ink-950: #17201c;
  --ink-700: #55625d;
  --ink-500: #7b8782;
  --danger-500: #d94b43;
  --danger-100: #fee8e6;
  --amber-500: #f09d0b;
  --amber-100: #fff1d1;
  --first-class-gold: #84754e;
  --first-class-gold-light: #a99c76;
  --first-class-gold-dark: #5f5438;
  --info-500: #2f86c5;
  --info-100: #e2f1fc;
  --white: #ffffff;
  --shadow-lg: 0 0 0 rgba(0, 0, 0, 0);
  --shadow-sm: 0 0 0 rgba(0, 0, 0, 0);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --page-gutter: 1.15rem;
  --font-sans: "Univers LT Std", "Avenir Next", sans-serif;
  --font-display: "Glypha LT Std", Georgia, serif;
  --font-display-heavy: "Glypha LT Std", Georgia, serif;
  --font-rail: "Rail Alphabet", "Univers LT Std", sans-serif;
  --chrome-bg: var(--forest-950);
  --chrome-fg: var(--white);
  --chrome-muted: rgba(255, 255, 255, 0.78);
  --chrome-border: rgba(255, 255, 255, 0.08);
  --chrome-action-bg: rgba(255, 255, 255, 0.12);
  --chrome-action-border: rgba(255, 255, 255, 0.22);
  --chrome-action-hover: rgba(255, 255, 255, 0.24);
  --page-shell-bg: var(--cream-050);
  --surface-primary: var(--white);
  --surface-secondary: var(--cream-050);
  --surface-border: rgba(11, 58, 44, 0.08);
  --eyebrow-color: rgba(23, 32, 28, 0.72);
  --secondary-button-default-bg: var(--forest-900);
  --secondary-button-default-fg: var(--white);
  --chip-active-bg: var(--forest-900);
  --chip-active-fg: var(--white);
  --nav-active-bg: var(--lime-500);
  --nav-active-fg: var(--forest-950);
  --desktop-blade-active-bg: rgba(69, 191, 74, 0.14);
  --desktop-blade-active-border: rgba(69, 191, 74, 0.62);
  --bottom-nav-item-bg: rgba(255, 255, 255, 0.06);
  --bottom-nav-item-fg: rgba(255, 255, 255, 0.76);
  --search-clear-color: #2c5ca8;
  --search-clear-hover: rgba(47, 134, 197, 0.08);
  --auth-shell-bg: var(--forest-950);
  --install-prompt-bg: var(--lime-500);
  --install-prompt-border: rgba(255, 255, 255, 0.18);
  --install-prompt-secondary-bg: rgba(6, 45, 34, 0.22);
  --install-prompt-primary-bg: var(--forest-950);
  --install-prompt-primary-fg: var(--white);
  --brand-dialog-backdrop: rgba(6, 45, 34, 0.36);
  --brand-dialog-card-bg: var(--white);
  --brand-dialog-card-fg: var(--ink-950);
  --fit-chip-success-border: rgba(69, 191, 74, 0.28);
  --fit-chip-success-bg: rgba(69, 191, 74, 0.16);
  --fit-chip-success-fg: #145240;
  --fit-chip-marker-border: rgba(240, 157, 11, 0.3);
  --fit-chip-marker-bg: rgba(240, 157, 11, 0.22);
  --fit-chip-marker-fg: #8a5a00;
  --fit-chip-blocked-border: rgba(217, 75, 67, 0.3);
  --fit-chip-blocked-bg: rgba(217, 75, 67, 0.88);
  --fit-chip-blocked-fg: var(--white);
  --fit-chip-separator-fg: var(--ink-700);
  --fit-chip-scroll-hint-bg: rgba(20, 82, 64, 0.9);
  --fit-chip-scroll-hint-fg: var(--white);
  --fit-formation-fade: rgba(246, 244, 237, 0.96);
  --departure-v2-card-bg: var(--white);
  --departure-v2-card-border: rgba(11, 58, 44, 0.1);
  --departure-v2-text: var(--ink-950);
  --departure-v2-muted: var(--ink-700);
  --departure-v2-detail-bg: rgba(246, 244, 237, 0.7);
  --departure-v2-neutral-pill-bg: rgba(11, 58, 44, 0.08);
  --departure-v2-neutral-pill-fg: var(--forest-800);
  --departure-v2-live-bg: var(--forest-800);
  --departure-v2-live-fg: var(--white);
  --departure-v2-refresh-bg: var(--white);
  --departure-v2-refresh-border: rgba(11, 58, 44, 0.1);
  --departure-v2-refresh-fg: var(--forest-800);
  --departure-v2-cancelled-bg: rgba(254, 232, 230, 0.82);
  --departure-v2-cancelled-border: rgba(217, 75, 67, 0.28);
  --departure-v2-coach-bg: rgba(211, 239, 204, 0.85);
  --departure-v2-coach-border: rgba(11, 58, 44, 0.18);
  --departure-v2-coach-fg: var(--forest-900);
  --departure-v2-coach-first-bg: rgba(132, 117, 78, 0.16);
  --departure-v2-coach-first-border: rgba(132, 117, 78, 0.34);
  --departure-v2-coach-first-fg: #5f5438;
  --departure-v2-coach-access-bg: rgba(47, 134, 197, 0.13);
  --departure-v2-coach-access-border: rgba(47, 134, 197, 0.22);
  --departure-v2-coach-access-fg: #1e5a86;
  --departure-v2-coach-synthetic-bg: rgba(11, 58, 44, 0.06);
  --departure-v2-scroll-fade-bg: var(--white);
  --departure-v2-departed-fg: rgba(88, 99, 94, 0.62);
  --departure-v2-current-fg: var(--forest-900);
  --departure-v2-status-success-bg: rgba(69, 191, 74, 0.14);
  --departure-v2-status-success-fg: #1e6c28;
  --departure-v2-status-danger-bg: var(--danger-100);
  --departure-v2-status-danger-fg: #8e2722;
  --departure-v2-status-amber-bg: var(--amber-100);
  --departure-v2-status-amber-fg: #835600;
  --departure-v2-status-info-bg: var(--info-100);
  --departure-v2-status-info-fg: #1e5a86;
  --departure-v2-status-muted-bg: rgba(11, 58, 44, 0.09);
  --departure-v2-status-muted-fg: var(--forest-800);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --chrome-bg: #041713;
  --chrome-fg: var(--white);
  --chrome-muted: rgba(255, 255, 255, 0.78);
  --chrome-border: rgba(255, 255, 255, 0.08);
  --chrome-action-bg: rgba(255, 255, 255, 0.12);
  --chrome-action-border: rgba(255, 255, 255, 0.22);
  --chrome-action-hover: rgba(255, 255, 255, 0.24);
  --page-shell-bg: #081411;
  --surface-primary: #10201b;
  --surface-secondary: #10201b;
  --surface-border: rgba(255, 255, 255, 0.08);
  --eyebrow-color: #eef5f1;
  --secondary-button-default-bg: #145240;
  --secondary-button-default-fg: var(--white);
  --chip-active-bg: var(--forest-900);
  --chip-active-fg: var(--white);
  --nav-active-bg: var(--lime-500);
  --nav-active-fg: var(--forest-950);
  --bottom-nav-item-bg: rgba(255, 255, 255, 0.08);
  --bottom-nav-item-fg: rgba(255, 255, 255, 0.78);
  --search-clear-color: #a8c9ff;
  --search-clear-hover: rgba(168, 201, 255, 0.12);
  --auth-shell-bg: #041713;
  --install-prompt-border: rgba(255, 255, 255, 0.18);
  --install-prompt-secondary-bg: rgba(255, 255, 255, 0.12);
  --install-prompt-primary-bg: #081411;
  --install-prompt-primary-fg: var(--white);
  --brand-dialog-backdrop: rgba(4, 23, 19, 0.66);
  --brand-dialog-card-bg: #10201b;
  --brand-dialog-card-fg: #eef5f1;
  --fit-chip-success-border: rgba(111, 211, 106, 0.44);
  --fit-chip-success-bg: rgba(69, 191, 74, 0.28);
  --fit-chip-success-fg: #f0fff1;
  --fit-chip-marker-border: rgba(255, 206, 90, 0.42);
  --fit-chip-marker-bg: rgba(240, 157, 11, 0.34);
  --fit-chip-marker-fg: #fff5cd;
  --fit-chip-blocked-border: rgba(255, 150, 143, 0.34);
  --fit-chip-blocked-bg: rgba(217, 75, 67, 0.9);
  --fit-chip-blocked-fg: var(--white);
  --fit-chip-separator-fg: rgba(238, 245, 241, 0.86);
  --fit-chip-scroll-hint-bg: rgba(20, 82, 64, 0.96);
  --fit-chip-scroll-hint-fg: var(--white);
  --fit-formation-fade: rgba(16, 32, 27, 0.96);
  --departure-v2-card-bg: var(--surface-primary);
  --departure-v2-card-border: var(--surface-border);
  --departure-v2-text: #eef5f1;
  --departure-v2-muted: rgba(238, 245, 241, 0.76);
  --departure-v2-detail-bg: rgba(255, 255, 255, 0.06);
  --departure-v2-neutral-pill-bg: rgba(255, 255, 255, 0.08);
  --departure-v2-neutral-pill-fg: #dbe8e2;
  --departure-v2-live-bg: #d3efcc;
  --departure-v2-live-fg: var(--forest-950);
  --departure-v2-refresh-bg: #10201b;
  --departure-v2-refresh-border: rgba(255, 255, 255, 0.08);
  --departure-v2-refresh-fg: #eef5f1;
  --departure-v2-cancelled-bg: rgba(217, 75, 67, 0.16);
  --departure-v2-cancelled-border: rgba(255, 216, 212, 0.22);
  --departure-v2-coach-bg: rgba(211, 239, 204, 0.16);
  --departure-v2-coach-border: rgba(255, 255, 255, 0.16);
  --departure-v2-coach-fg: #eef5f1;
  --departure-v2-coach-first-bg: rgba(132, 117, 78, 0.3);
  --departure-v2-coach-first-border: rgba(201, 188, 146, 0.38);
  --departure-v2-coach-first-fg: #f3e8c8;
  --departure-v2-coach-access-bg: rgba(47, 134, 197, 0.18);
  --departure-v2-coach-access-border: rgba(47, 134, 197, 0.32);
  --departure-v2-coach-access-fg: #cae7ff;
  --departure-v2-coach-synthetic-bg: rgba(255, 255, 255, 0.06);
  --departure-v2-scroll-fade-bg: var(--surface-primary);
  --departure-v2-departed-fg: rgba(238, 245, 241, 0.48);
  --departure-v2-current-fg: #eef5f1;
  --departure-v2-status-success-bg: rgba(69, 191, 74, 0.16);
  --departure-v2-status-success-fg: #cef2cf;
  --departure-v2-status-danger-bg: rgba(217, 75, 67, 0.18);
  --departure-v2-status-danger-fg: #ffd8d4;
  --departure-v2-status-amber-bg: rgba(240, 157, 11, 0.18);
  --departure-v2-status-amber-fg: #ffe3a4;
  --departure-v2-status-info-bg: rgba(47, 134, 197, 0.18);
  --departure-v2-status-info-fg: #cae7ff;
  --departure-v2-status-muted-bg: rgba(255, 255, 255, 0.08);
  --departure-v2-status-muted-fg: #dbe8e2;
}

:root[data-brand="gbr"] {
  --font-sans: "Rail Alphabet", "Univers LT Std", sans-serif;
  --font-display: "Rail Alphabet", "Univers LT Std", sans-serif;
  --font-display-heavy: "Rail Alphabet", "Univers LT Std", sans-serif;
  --chrome-bg: #14357b;
  --chrome-fg: var(--white);
  --chrome-muted: rgba(255, 255, 255, 0.84);
  --chrome-border: rgba(255, 255, 255, 0.12);
  --chrome-action-bg: rgba(255, 255, 255, 0.1);
  --chrome-action-border: rgba(255, 255, 255, 0.24);
  --chrome-action-hover: rgba(255, 255, 255, 0.18);
  --page-shell-bg: #f3f5f9;
  --surface-primary: var(--white);
  --surface-secondary: #f5f8fd;
  --surface-border: rgba(20, 53, 123, 0.12);
  --eyebrow-color: #24488f;
  --secondary-button-default-bg: #14357b;
  --secondary-button-default-fg: var(--white);
  --chip-active-bg: #d91d43;
  --chip-active-fg: var(--white);
  --nav-active-bg: #d91d43;
  --nav-active-fg: var(--white);
  --desktop-blade-active-bg: rgba(217, 29, 67, 0.12);
  --desktop-blade-active-border: rgba(217, 29, 67, 0.48);
  --bottom-nav-item-bg: rgba(255, 255, 255, 0.12);
  --bottom-nav-item-fg: rgba(255, 255, 255, 0.82);
  --search-clear-color: #2b57ad;
  --search-clear-hover: rgba(20, 53, 123, 0.08);
  --auth-shell-bg: #14357b;
  --install-prompt-bg: #14357b;
  --install-prompt-border: rgba(255, 255, 255, 0.18);
  --install-prompt-secondary-bg: rgba(255, 255, 255, 0.12);
  --install-prompt-primary-bg: #d91d43;
  --install-prompt-primary-fg: var(--white);
  --brand-dialog-backdrop: rgba(20, 53, 123, 0.34);
  --brand-dialog-card-bg: var(--white);
  --brand-dialog-card-fg: var(--ink-950);
  --departure-v2-card-bg: var(--white);
  --departure-v2-card-border: rgba(20, 53, 123, 0.12);
  --departure-v2-text: var(--ink-950);
  --departure-v2-muted: #55625d;
  --departure-v2-detail-bg: #f5f8fd;
  --departure-v2-neutral-pill-bg: rgba(33, 79, 163, 0.12);
  --departure-v2-neutral-pill-fg: #14357b;
  --departure-v2-live-bg: #214fa3;
  --departure-v2-live-fg: var(--white);
  --departure-v2-refresh-bg: #edf2ff;
  --departure-v2-refresh-border: rgba(20, 53, 123, 0.14);
  --departure-v2-refresh-fg: #14357b;
  --departure-v2-cancelled-bg: rgba(217, 29, 67, 0.1);
  --departure-v2-cancelled-border: rgba(217, 29, 67, 0.26);
  --departure-v2-coach-bg: rgba(33, 79, 163, 0.12);
  --departure-v2-coach-border: rgba(33, 79, 163, 0.22);
  --departure-v2-coach-fg: #14357b;
  --departure-v2-coach-first-bg: rgba(132, 117, 78, 0.14);
  --departure-v2-coach-first-border: rgba(132, 117, 78, 0.3);
  --departure-v2-coach-first-fg: #6e6140;
  --departure-v2-coach-synthetic-bg: rgba(33, 79, 163, 0.08);
  --departure-v2-departed-fg: rgba(85, 98, 93, 0.62);
  --departure-v2-current-fg: #14357b;
  --departure-v2-status-success-bg: rgba(69, 191, 74, 0.14);
  --departure-v2-status-success-fg: #1e6c28;
  --departure-v2-status-info-bg: rgba(33, 79, 163, 0.12);
  --departure-v2-status-info-fg: #14357b;
  --departure-v2-status-muted-bg: rgba(33, 79, 163, 0.1);
  --departure-v2-status-muted-fg: #14357b;
}

:root[data-brand="gbr"][data-theme="dark"] {
  --chrome-bg: #081632;
  --chrome-fg: #f6f8ff;
  --chrome-muted: rgba(246, 248, 255, 0.84);
  --chrome-border: rgba(255, 255, 255, 0.1);
  --chrome-action-bg: rgba(255, 255, 255, 0.09);
  --chrome-action-border: rgba(255, 255, 255, 0.18);
  --chrome-action-hover: rgba(255, 255, 255, 0.16);
  --page-shell-bg: #0a1328;
  --surface-primary: #112243;
  --surface-secondary: #112243;
  --surface-border: rgba(255, 255, 255, 0.08);
  --eyebrow-color: #edf2ff;
  --secondary-button-default-bg: #214fa3;
  --secondary-button-default-fg: var(--white);
  --chip-active-bg: #d91d43;
  --chip-active-fg: var(--white);
  --nav-active-bg: #d91d43;
  --nav-active-fg: var(--white);
  --bottom-nav-item-bg: rgba(255, 255, 255, 0.08);
  --bottom-nav-item-fg: rgba(246, 248, 255, 0.82);
  --search-clear-color: #b8ccff;
  --search-clear-hover: rgba(184, 204, 255, 0.12);
  --auth-shell-bg: #081632;
  --install-prompt-bg: #112243;
  --install-prompt-border: rgba(255, 255, 255, 0.16);
  --install-prompt-secondary-bg: rgba(255, 255, 255, 0.1);
  --install-prompt-primary-bg: #d91d43;
  --install-prompt-primary-fg: var(--white);
  --brand-dialog-backdrop: rgba(8, 22, 50, 0.72);
  --brand-dialog-card-bg: #112243;
  --brand-dialog-card-fg: #edf2ff;
  --fit-chip-success-border: rgba(151, 224, 165, 0.4);
  --fit-chip-success-bg: rgba(69, 191, 74, 0.28);
  --fit-chip-success-fg: #f2fff5;
  --fit-chip-marker-border: rgba(255, 214, 116, 0.44);
  --fit-chip-marker-bg: rgba(240, 157, 11, 0.36);
  --fit-chip-marker-fg: #fff5ce;
  --fit-chip-blocked-border: rgba(255, 162, 170, 0.32);
  --fit-chip-blocked-bg: rgba(217, 29, 67, 0.9);
  --fit-chip-blocked-fg: var(--white);
  --fit-chip-separator-fg: rgba(237, 242, 255, 0.88);
  --fit-chip-scroll-hint-bg: rgba(20, 53, 123, 0.96);
  --fit-chip-scroll-hint-fg: var(--white);
  --fit-formation-fade: rgba(17, 34, 67, 0.96);
  --departure-v2-card-bg: var(--surface-primary);
  --departure-v2-card-border: var(--surface-border);
  --departure-v2-text: #edf2ff;
  --departure-v2-muted: rgba(237, 242, 255, 0.76);
  --departure-v2-detail-bg: rgba(255, 255, 255, 0.05);
  --departure-v2-neutral-pill-bg: rgba(91, 139, 220, 0.22);
  --departure-v2-neutral-pill-fg: #edf2ff;
  --departure-v2-live-bg: #416fd0;
  --departure-v2-live-fg: var(--white);
  --departure-v2-refresh-bg: var(--surface-primary);
  --departure-v2-refresh-border: var(--surface-border);
  --departure-v2-refresh-fg: #edf2ff;
  --departure-v2-cancelled-bg: rgba(217, 29, 67, 0.18);
  --departure-v2-cancelled-border: rgba(255, 162, 170, 0.28);
  --departure-v2-coach-bg: rgba(91, 139, 220, 0.22);
  --departure-v2-coach-border: rgba(171, 198, 255, 0.2);
  --departure-v2-coach-fg: #edf2ff;
  --departure-v2-coach-first-bg: rgba(132, 117, 78, 0.26);
  --departure-v2-coach-first-border: rgba(201, 188, 146, 0.36);
  --departure-v2-coach-first-fg: #f3e8c8;
  --departure-v2-coach-access-bg: rgba(91, 139, 220, 0.26);
  --departure-v2-coach-access-border: rgba(171, 198, 255, 0.26);
  --departure-v2-coach-access-fg: #edf2ff;
  --departure-v2-coach-synthetic-bg: rgba(255, 255, 255, 0.07);
  --departure-v2-scroll-fade-bg: var(--surface-primary);
  --departure-v2-departed-fg: rgba(237, 242, 255, 0.48);
  --departure-v2-current-fg: #edf2ff;
  --departure-v2-status-success-bg: rgba(69, 191, 74, 0.2);
  --departure-v2-status-success-fg: #dff8de;
  --departure-v2-status-danger-bg: rgba(217, 29, 67, 0.2);
  --departure-v2-status-danger-fg: #ffd8de;
  --departure-v2-status-amber-bg: rgba(240, 157, 11, 0.2);
  --departure-v2-status-amber-fg: #fff2c8;
  --departure-v2-status-info-bg: rgba(91, 139, 220, 0.22);
  --departure-v2-status-info-fg: #edf2ff;
  --departure-v2-status-muted-bg: rgba(255, 255, 255, 0.08);
  --departure-v2-status-muted-fg: rgba(237, 242, 255, 0.82);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--chrome-bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root[data-density="compact-android"] {
  font-size: 14px;
  --page-gutter: 0.9rem;
  --radius-xl: 26px;
  --radius-lg: 18px;
}

:root[data-density="compact-android"] .topbar {
  padding:
    calc(0.78rem + env(safe-area-inset-top))
    calc(1rem + env(safe-area-inset-right))
    0.82rem
    calc(1rem + env(safe-area-inset-left));
}

:root[data-density="compact-android"] .topbar__action {
  padding: 0.62rem 0.9rem;
}

:root[data-density="compact-android"] .home-panel--search,
:root[data-density="compact-android"] .rail,
:root[data-density="compact-android"] .detail-card,
:root[data-density="compact-android"] .panel-card {
  padding: 1rem;
}

:root[data-density="compact-android"] .search-box input {
  padding: 0.95rem 3.2rem 0.95rem 1rem;
  font-size: 1rem;
}

:root[data-density="compact-android"] .filter-chip--station,
:root[data-density="compact-android"] .filter-chip {
  padding-block: 0.58rem;
}

:root[data-density="compact-android"] .bottom-nav {
  gap: 0.5rem;
  padding:
    0.72rem
    calc(0.8rem + env(safe-area-inset-right))
    calc(0.82rem + env(safe-area-inset-bottom))
    calc(0.8rem + env(safe-area-inset-left));
}

:root[data-density="compact-android"] .bottom-nav__item {
  gap: 0.3rem;
  padding: 0.68rem 0.38rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-950);
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--chrome-bg);
}

button,
input,
details,
summary {
  font: inherit;
}

h1,
h2,
h3,
h4,
.brand__mark {
  font-family: var(--font-display);
  font-weight: 400;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  border: 0;
  cursor: pointer;
  color: inherit;
}

code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.45rem;
  background: rgba(11, 58, 44, 0.08);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 0.94em;
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  background: var(--page-shell-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: center;
  padding:
    calc(0.95rem + env(safe-area-inset-top))
    calc(1.25rem + env(safe-area-inset-right))
    0.95rem
    calc(1.25rem + env(safe-area-inset-left));
  border-bottom: 1px solid var(--chrome-border);
  background: var(--chrome-bg);
  color: var(--chrome-fg);
}

:root[data-brand="gbr"] .topbar,
:root[data-brand="gbr"] .bottom-nav {
  overflow: hidden;
}

:root[data-brand="gbr"] .topbar {
  isolation: isolate;
  padding-bottom: 1.18rem;
  background:
    radial-gradient(circle at calc(100% - clamp(3.5rem, 8vw, 5rem)) calc(100% + 0.75rem), rgba(7, 21, 48, 0.38) 0 2.75rem, transparent 2.85rem),
    linear-gradient(103deg, transparent 0 73%, rgba(8, 22, 50, 0.58) 73% 100%) right top / clamp(10rem, 22vw, 14rem) 100% no-repeat,
    linear-gradient(122deg, transparent 0 64%, rgba(28, 61, 125, 0.82) 64% 79%, transparent 79% 100%) right -1rem top / clamp(14rem, 32vw, 20rem) 100% no-repeat,
    linear-gradient(122deg, transparent 0 57%, rgba(45, 97, 184, 0.96) 57% 72%, transparent 72% 100%) right -1rem top / clamp(15rem, 35vw, 22rem) 100% no-repeat,
    linear-gradient(122deg, transparent 0 51%, rgba(255, 255, 255, 0.99) 51% 55%, transparent 55% 100%) right -1.25rem top / clamp(16rem, 37vw, 24rem) 100% no-repeat,
    linear-gradient(122deg, transparent 0 41%, rgba(239, 78, 104, 0.97) 41% 54%, transparent 54% 100%) right -1.75rem top / clamp(17rem, 41vw, 25rem) 100% no-repeat,
    linear-gradient(122deg, transparent 0 31%, rgba(217, 29, 67, 0.99) 31% 46%, transparent 46% 100%) right -2.5rem top / clamp(18rem, 44vw, 27rem) 100% no-repeat,
    linear-gradient(122deg, transparent 0 72%, rgba(7, 21, 48, 0.92) 72% 100%) right top / clamp(8rem, 18vw, 11rem) 100% no-repeat,
    linear-gradient(90deg, #14357b 0 100%);
}

:root[data-brand="gbr"] .bottom-nav {
  padding-top: 1.02rem;
}

:root[data-brand="gbr"] .brand,
:root[data-brand="gbr"] .topbar__actions {
  position: relative;
  z-index: 1;
}

:root[data-brand="gbr"] .topbar::before,
:root[data-brand="gbr"] .topbar::after {
  content: none;
}

:root[data-brand="gbr"] .bottom-nav::before,
:root[data-brand="gbr"] .bottom-nav::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

:root[data-brand="gbr"] .bottom-nav::after {
  right: 0;
  left: 0;
  background: linear-gradient(90deg, #2d61b8 0 100%);
}

:root[data-brand="gbr"] .bottom-nav::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
  width: min(68vw, 760px);
  height: 14px;
  background:
    linear-gradient(100deg, transparent 0 20%, rgba(8, 22, 50, 0.28) 20% 56%, transparent 56% 100%);
}

:root[data-brand="gbr"] .bottom-nav::after {
  top: 0;
  height: 10px;
  background:
    linear-gradient(104deg, transparent 0 6%, rgba(217, 29, 67, 0.98) 6% 18%, transparent 18% 100%) left center / clamp(460px, 72vw, 980px) 100% no-repeat,
    linear-gradient(104deg, transparent 0 17%, rgba(239, 78, 104, 0.94) 17% 28%, transparent 28% 100%) left center / clamp(460px, 72vw, 980px) 100% no-repeat,
    linear-gradient(104deg, transparent 0 28%, rgba(255, 255, 255, 0.99) 28% 34%, transparent 34% 100%) left center / clamp(460px, 72vw, 980px) 100% no-repeat,
    linear-gradient(104deg, transparent 0 34%, rgba(45, 97, 184, 0.92) 34% 56%, transparent 56% 100%) left center / clamp(460px, 72vw, 980px) 100% no-repeat,
    linear-gradient(90deg, #214993 0 100%);
}

:root[data-brand="gbr"] .content-section summary p,
:root[data-brand="gbr"] .summary-glyph,
:root[data-brand="gbr"] .summary-glyph--chevron,
:root[data-brand="gbr"] .detail-card__control-label {
  color: #24488f;
}

:root[data-brand="gbr"] .beta-label {
  background: rgba(33, 79, 163, 0.12);
  color: #14357b;
}

:root[data-brand="gbr"] .secondary-button--success {
  background: #14357b;
  color: var(--white);
}

:root[data-brand="gbr"] .secondary-button--card {
  background: #14357b;
  color: var(--white);
}

:root[data-brand="gbr"] .secondary-button--danger {
  background: #d91d43;
  color: var(--white);
}

:root[data-brand="gbr"] .favorite-button {
  border: 1px solid rgba(20, 53, 123, 0.16);
  background: #edf4ff;
  color: #14357b;
}

:root[data-brand="gbr"] .favorite-button.is-active {
  background: rgba(217, 29, 67, 0.14);
  color: #b41536;
}

:root[data-brand="gbr"] .panel-card--departure-link,
:root[data-brand="gbr"] .content-link,
:root[data-brand="gbr"] .contact-detail__number,
:root[data-brand="gbr"] .board-screen__frame,
:root[data-brand="gbr"] .board-screen__empty {
  border-color: rgba(20, 53, 123, 0.14);
  background: #edf4ff;
}

:root[data-brand="gbr"] .board-screen__nav {
  background: #edf2ff;
}

:root[data-brand="gbr"] .panel-card--departure-link h4,
:root[data-brand="gbr"] .content-link__copy h3,
:root[data-brand="gbr"] .contact-detail__number-value,
:root[data-brand="gbr"] .embed-card__link {
  color: #14357b;
}

:root[data-brand="gbr"] .panel-card--departure-link .panel-card__subtitle,
:root[data-brand="gbr"] .departure-board-note,
:root[data-brand="gbr"] .contact-detail__number-subtitle,
:root[data-brand="gbr"] .content-link__copy p,
:root[data-brand="gbr"] .content-link__action {
  color: #3558a5;
}

:root[data-brand="gbr"] .list-item--station:hover {
  background: var(--white);
}

:root[data-brand="gbr"] .content-link:hover {
  background: var(--cream-050);
}

:root[data-brand="gbr"] .panel-card--departure-link:hover {
  background: var(--surface-primary);
}

:root[data-brand="gbr"] .secondary-button--card:hover,
:root[data-brand="gbr"] .secondary-button--success:hover {
  background: #14357b;
  color: var(--white);
}

.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.topbar-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.66rem 0.9rem;
  border-radius: 999px;
  background: var(--bottom-nav-item-bg);
  color: var(--bottom-nav-item-fg);
  line-height: 1;
}

.topbar-nav__item svg {
  width: 1rem;
  height: 1rem;
}

.topbar-nav__item.is-active {
  background: var(--nav-active-bg);
  color: var(--nav-active-fg);
  font-weight: 800;
}

.topbar__action {
  justify-self: end;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--chrome-action-border);
  background: var(--chrome-action-bg);
  color: var(--chrome-fg);
  font-weight: 400;
  text-decoration: none;
}

.topbar__action:focus-visible {
  background: var(--chrome-action-hover);
}

.brand {
  display: grid;
  gap: 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

button.brand {
  cursor: pointer;
}

button.brand:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 0.3rem;
}

.brand__mark {
  font-family: var(--font-display-heavy);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.brand__strap {
  color: var(--chrome-muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-chip,
.secondary-button,
.filter-chip,
.list-item,
.bottom-nav__item {
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--secondary-button-default-bg);
  color: var(--secondary-button-default-fg);
  text-decoration: none;
}

.secondary-button--full {
  width: 100%;
  justify-content: center;
}

.secondary-button--card {
  background: var(--forest-900);
  color: var(--white);
}

.secondary-button--success {
  background: var(--lime-500);
  color: var(--white);
}

.secondary-button--danger {
  background: var(--danger-500);
  color: var(--white);
}

.main-content {
  padding:
    var(--page-gutter)
    calc(var(--page-gutter) + env(safe-area-inset-right))
    7.25rem
    calc(var(--page-gutter) + env(safe-area-inset-left));
}

.app-shell--with-install-prompt .main-content {
  padding-bottom: 14rem;
}

.main-content--auth {
  display: grid;
  align-items: start;
  justify-items: center;
  padding-top: 2rem;
}

.main-content--board {
  padding: 0 0 7.25rem;
  overflow-x: hidden;
}

.app-shell--screen-board {
  min-height: 100dvh;
  grid-template-rows: minmax(0, 1fr);
  background: #081411;
}

.app-shell--screen-board .main-content--board {
  min-height: 100dvh;
  padding: 0;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--eyebrow-color);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.workspace,
.studio-layout {
  display: grid;
  gap: 1rem;
}

.auth-card {
  width: min(100%, 30rem);
  padding: 1.6rem;
  border: 1px solid rgba(11, 58, 44, 0.08);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.auth-card--loading {
  min-height: 16rem;
}

.auth-card__header {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.auth-card__icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1.2rem;
}

.auth-card__header p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.55;
}

.auth-card__body {
  display: grid;
  gap: 1rem;
}

.app-shell--auth-loading {
  background: var(--auth-shell-bg);
}

.main-content--auth-loading {
  min-height: 0;
  align-items: center;
  justify-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.auth-loading-panel {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  color: var(--white);
  text-align: center;
}

.auth-loading-panel__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.3rem;
}

.auth-loading-panel__icon--fish {
  width: 6rem;
  height: 6rem;
  border-radius: 0;
  object-fit: contain;
}

.auth-loading-panel__spinner {
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid rgba(255, 255, 255, 0.24);
  border-top-color: var(--white);
  border-radius: 999px;
  animation: auth-loading-spin 0.9s linear infinite;
}

.auth-loading-panel__label {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

@keyframes auth-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-field {
  display: grid;
  gap: 0.45rem;
  color: var(--ink-950);
  font-weight: 700;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(11, 58, 44, 0.1);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink-950);
  outline: none;
  font: inherit;
}

.auth-field--light {
  font-weight: 700;
}

.auth-field--light input,
.auth-field--light select,
.auth-field--light textarea {
  background: var(--cream-050);
}

.auth-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-700);
  font-weight: 400;
}

.auth-banner {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.auth-banner--danger {
  background: rgba(230, 102, 92, 0.12);
  border-color: rgba(230, 102, 92, 0.2);
  color: #8e2722;
}

.install-prompt {
  position: fixed;
  right: calc(var(--page-gutter) + env(safe-area-inset-right));
  bottom: calc(6.6rem + env(safe-area-inset-bottom));
  left: calc(var(--page-gutter) + env(safe-area-inset-left));
  z-index: 12;
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.1rem 1.05rem;
  border: 2px solid var(--install-prompt-border);
  border-radius: 24px;
  background: var(--install-prompt-bg);
  box-shadow: 0 18px 44px rgba(6, 45, 34, 0.24);
}

.install-prompt__copy {
  display: grid;
  gap: 0.45rem;
}

.install-prompt__eyebrow {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.install-prompt__copy strong {
  color: var(--white);
  font-size: 1.08rem;
}

.install-prompt__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.install-prompt__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
}

.install-prompt__dismiss {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--chrome-action-border);
  background: var(--install-prompt-secondary-bg);
  color: var(--white);
}

.install-prompt__install {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--install-prompt-primary-bg);
  color: var(--install-prompt-primary-fg);
}

.brand-theme-dialog {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding:
    calc(1.25rem + env(safe-area-inset-top))
    calc(1.25rem + env(safe-area-inset-right))
    calc(1.25rem + env(safe-area-inset-bottom))
    calc(1.25rem + env(safe-area-inset-left));
}

.brand-theme-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: var(--brand-dialog-backdrop);
}

.brand-theme-dialog__card {
  position: relative;
  width: min(100%, 28rem);
  display: grid;
  gap: 0.8rem;
  padding: 1.3rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: var(--brand-dialog-card-bg);
  color: var(--brand-dialog-card-fg);
}

.brand-theme-dialog__card h2 {
  margin: 0;
}

.brand-theme-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.brand-theme-dialog__button {
  padding-inline: 1rem;
}

.home-shell,
.detail-shell {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.home-shell {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  overflow-x: visible;
}

.detail-shell {
  max-width: 78rem;
}

.home-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-primary);
  box-shadow: var(--shadow-lg);
}

.home-panel--search {
  padding: 0.95rem 1rem;
}

.station-filter-rail {
  position: relative;
  width: calc(100% + var(--page-gutter));
  margin-right: calc(var(--page-gutter) * -1);
  min-width: 0;
  overflow: hidden;
}

.station-filter-rail__scroller {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0.65rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.2rem 0 0.4rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.station-filter-rail__scroller::-webkit-scrollbar {
  display: none;
}

.rail,
.detail-card,
.panel-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: var(--surface-primary);
  box-shadow: var(--shadow-lg);
}

.rail {
  padding: 1rem;
}

.workspace__panel {
  min-width: 0;
}

.search-box {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--ink-700);
  font-weight: 700;
}

.search-box--home {
  margin: 0;
}

.search-box__field {
  position: relative;
  display: block;
}

.search-box input {
  width: 100%;
  padding: 1.15rem 3.75rem 1.15rem 1.2rem;
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  border-radius: 0;
  background: var(--surface-primary);
  color: var(--ink-950);
  font-size: 1.05rem;
  outline: none;
}

.home-panel--search .search-box input {
  border: 1px solid var(--surface-border);
  border-radius: 1.45rem;
}

.search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-box__clear {
  position: absolute;
  top: 50%;
  right: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: transparent;
  color: var(--search-clear-color);
  -webkit-appearance: none;
  appearance: none;
}

.search-box__clear:focus-visible {
  background: var(--search-clear-hover);
}

.rail__meta {
  margin-bottom: 0.85rem;
  color: var(--ink-700);
}

.list {
  display: grid;
  gap: 0.65rem;
}

.list--stations {
  gap: 0;
}

.list--contacts {
  gap: 0;
}

.list-item {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: var(--surface-secondary);
  color: var(--ink-950);
  text-align: left;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.list-item:hover,
.secondary-button:hover,
.filter-chip:hover,
.bottom-nav__item:hover {
  transform: none;
}

.list-item.is-active {
  border-color: rgba(69, 191, 74, 0.6);
  background: rgba(69, 191, 74, 0.12);
}

.list-item__title {
  font-size: 1.03rem;
  font-weight: 700;
}

.list-item__subtitle,
.list-item__state,
.detail-card__meta,
.panel-card__subtitle,
.status-line,
.empty-copy {
  color: var(--ink-700);
}

.detail-card__meta {
  margin: 0.45rem 0 0;
}

.detail-card__action-stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.detail-card__action-stack--calls {
  margin-top: 0.8rem;
}

.detail-card__action-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.detail-card__action-row::-webkit-scrollbar {
  display: none;
}

.detail-card__action-row > * {
  flex: 0 0 auto;
}

.list-item__state {
  text-transform: capitalize;
  font-size: 0.9rem;
}

.list-item--station {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
  padding: 1rem 1.2rem;
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  border-radius: 0;
  background: var(--white);
}

.list-item--station:hover {
  background: var(--white);
  transform: none;
}

.list-item__title--station {
  font-size: 1.08rem;
  font-weight: 300;
}

.list-item__copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.list-item__subtitle--station {
  font-size: 0.96rem;
  line-height: 1.35;
}

.list-item__chevron {
  display: inline-flex;
  color: rgba(11, 58, 44, 0.45);
}

.station-list-empty {
  padding: 1rem 1.2rem 1.25rem;
}

.home-panel > .empty-copy {
  padding: 1rem 1.2rem 1.25rem;
}

.home-shell__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.85rem;
}

.home-shell__actions--contacts {
  padding: 0 0.1rem;
}

.detail-card {
  padding: 1.45rem 1.25rem 1.25rem;
}

.detail-card h2 {
  margin: 0;
  line-height: 1.05;
}

.detail-card--pending {
  border: 1px dashed rgba(240, 157, 11, 0.45);
}

.detail-card--station {
  background: var(--white);
}

.station-title {
  font-family: var(--font-rail);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.01em;
}

.station-title--board {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.detail-shell__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(11, 58, 44, 0.08);
  color: var(--forest-900);
  line-height: 1;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.back-link svg {
  display: block;
  flex: 0 0 auto;
}

.back-link span {
  display: block;
}

.favorite-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--forest-900);
  text-decoration: none;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}

.favorite-button.is-active {
  background: rgba(69, 191, 74, 0.14);
  color: #1e6c28;
}

.favorite-button__star {
  font-size: 1rem;
  line-height: 1;
}

.detail-card__header,
.panel-card__head,
.editor-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.detail-card__pills,
.panel-card__pills,
.pill-row,
.editor-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.detail-card__header-main {
  display: grid;
}

.detail-card__lead {
  color: var(--ink-700);
  font-size: 1.05rem;
}

.detail-card__control {
  display: grid;
  gap: 0.3rem;
  margin: 0.9rem 0 0;
  color: var(--ink-950);
  font-size: 0.98rem;
}

.detail-card__control-label {
  color: var(--ink-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-card__control-value {
  margin: 0;
}

.detail-card__control-list {
  display: grid;
  gap: 0.28rem;
}

.detail-card__control-action {
  justify-content: center;
  margin-top: 0.45rem;
  width: fit-content;
}

.call-chooser {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid rgba(11, 58, 44, 0.08);
  border-radius: var(--radius-lg);
  background: var(--cream-050);
}

.call-chooser__head {
  color: var(--ink-950);
}

.call-chooser__list {
  display: grid;
  gap: 0.55rem;
}

.call-chooser__item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(11, 58, 44, 0.08);
}

.call-chooser__label {
  font-weight: 700;
}

.call-chooser__meta {
  color: var(--ink-700);
  font-size: 0.94rem;
}

.detail-card__pills--station {
  margin-top: 0.9rem;
}

.detail-card--contact {
  max-width: 34rem;
}

.contact-detail {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.contact-detail__entries {
  display: grid;
  gap: 0.95rem;
}

.contact-detail__entry {
  display: grid;
  gap: 0.8rem;
}

.contact-detail__number {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(11, 58, 44, 0.08);
  border-radius: var(--radius-lg);
  background: var(--cream-050);
}

.contact-detail__number-value {
  margin: 0;
  color: var(--forest-950);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.contact-detail__number-subtitle {
  margin: 0;
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.45;
}

.contact-detail__actions {
  display: flex;
  gap: 0.8rem;
}

.bullet-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.2rem;
}

.bullet-list--tight {
  margin-bottom: 1.25rem;
}

.content-section {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: var(--surface-secondary);
}

.content-section summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.15rem 1.05rem;
  list-style: none;
  cursor: pointer;
}

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

.content-section summary h3,
.panel-card h4 {
  margin: 0;
}

.content-section summary h3,
.panel-card h4 {
  font-family: var(--font-display);
}

.content-section summary p {
  margin: 0.3rem 0 0;
  color: var(--ink-700);
}

.content-section__summary-subtitle {
  margin-top: 0.35rem;
}

.content-section[open] .summary-glyph {
  transform: rotate(45deg);
}

.summary-glyph {
  font-size: 1.8rem;
  color: var(--forest-800);
  transition: transform 160ms ease;
}

.summary-glyph--chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.content-section__body {
  overflow: hidden;
  padding: 0.25rem 1.15rem 1.25rem;
}

.content-section[open] > .content-section__body {
  animation: contentSectionBodyIn 180ms ease-out;
}

@keyframes contentSectionBodyIn {
  from {
    opacity: 0;
    transform: translateY(-0.2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.1rem 1.15rem 1.05rem;
  border: 1px solid rgba(11, 58, 44, 0.08);
  border-radius: var(--radius-lg);
  background: var(--cream-050);
  color: var(--ink-950);
  text-align: left;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.content-link__copy {
  min-width: 0;
}

.content-link__copy h3 {
  margin: 0;
  font-family: var(--font-display);
}

.content-link__copy p {
  margin: 0.3rem 0 0;
  color: var(--ink-700);
}

.content-link__action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest-800);
}

.content-link__label {
  font-weight: 700;
  white-space: nowrap;
}

.callout,
.placeholder-callout,
.editor-banner {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.callout,
.editor-banner {
  margin-bottom: 1rem;
}

.callout--info {
  background: rgba(47, 134, 197, 0.08);
  color: #174566;
}

.callout--info p {
  margin: 0;
}

.callout--warning {
  background: var(--amber-100);
  color: #835600;
}

.callout--warning p {
  margin: 0;
}

.placeholder-callout {
  margin-top: 1rem;
  background: var(--amber-100);
  color: #6b4a00;
}

.editor-banner {
  margin-top: 1rem;
  align-items: center;
  background: rgba(47, 134, 197, 0.08);
  color: #174566;
}

.editor-banner__copy {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 48rem;
}

.editor-banner__copy p {
  margin: 0.25rem 0 0;
}

.panel-grid,
.access-grid,
.studio-grid,
.stat-grid,
.fit-list {
  display: grid;
  gap: 0.9rem;
}

.access-grid {
  align-items: start;
}

.fit-list {
  align-items: start;
}

.info-card {
  padding: 1.2rem 1rem 1.05rem;
  border: 1px solid rgba(11, 58, 44, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
}

.info-card--full {
  grid-column: 1 / -1;
}

.info-card h4 {
  margin: 0 0 0.85rem;
}

.info-card__body {
  display: grid;
  gap: 0.65rem;
}

.info-card__body p {
  margin: 0;
  line-height: 1.5;
}

.live-lift-status-card {
  display: grid;
  gap: 0.85rem;
}

.beta-label {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: rgba(11, 58, 44, 0.08);
  color: var(--forest-800);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.live-lift-status-card__list {
  display: grid;
  gap: 0.15rem;
}

.live-lift-status-card__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(11, 58, 44, 0.08);
}

.live-lift-status-card__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.live-lift-status-card__name {
  min-width: 0;
  font-weight: 800;
  line-height: 1.25;
}

.live-lift-status-card__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.live-lift-status__pill {
  white-space: nowrap;
}

.live-lift-status-card__note {
  margin: 0;
  color: currentColor;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.72;
}

.nre-accessibility-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.nre-accessibility-card h4 {
  margin-bottom: 0.15rem;
}

.nre-accessibility-card__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 0.45rem;
}

.nre-accessibility-card__pills .pill {
  align-self: flex-start;
  padding: 0.42rem 0.68rem;
  font-size: clamp(0.78rem, 0.78rem + 0.08vw, 0.86rem);
  line-height: 1.1;
}

.nre-accessibility-card__status {
  margin: 0;
}

.nre-accessibility-card__notes {
  gap: 0.55rem;
}

.nre-accessibility-alert {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(240, 157, 11, 0.22);
  border-radius: var(--radius-sm);
  background: var(--amber-100);
  color: #6b4a00;
}

.nre-accessibility-alert--danger {
  border-color: rgba(217, 75, 67, 0.22);
  background: var(--danger-100);
  color: #8e2722;
}

.nre-accessibility-alert strong,
.nre-accessibility-alert p {
  margin: 0;
}

.nre-accessibility-alert p {
  line-height: 1.45;
}

.panel-card {
  padding: 1.2rem 1rem 1rem;
}

.panel-card--theme {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  justify-items: center;
}

.panel-card--theme__button {
  justify-content: center;
  font-weight: 800;
}

.panel-card__head {
  margin-bottom: 0.75rem;
}

.panel-card__subtitle {
  margin: 0.3rem 0 0;
}

.studio-grid--help {
  margin-top: 0.85rem;
}

.diversion-routes__warning {
  margin-top: 0.4rem;
}

.diversion-routes__groups {
  display: grid;
  gap: 1rem;
}

.content-section--diversion {
  margin-top: 0;
}

.diversion-route-card {
  display: grid;
  gap: 0.9rem;
}

.diversion-route-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.diversion-route-card__copy {
  min-width: 0;
}

.diversion-route-card__pill {
  flex: 0 0 auto;
}

.diversion-route-card p:last-child {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.5;
}

.named-services__list {
  display: grid;
  gap: 1rem;
}

.named-service-card {
  display: grid;
  gap: 1rem;
}

.named-service-card__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.named-service-card__copy {
  display: grid;
  gap: 0.9rem;
}

.named-service-card__copy p {
  margin: 0;
}

.named-service-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.named-service-artwork {
  width: 6.4rem;
  min-height: 6.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 58, 44, 0.08);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  box-sizing: border-box;
  overflow: hidden;
}

.named-service-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.named-service-artwork--fallback {
  color: var(--forest-900);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.named-service-working {
  display: grid;
  gap: 0.75rem;
}

.named-service-working__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.named-service-working__copy {
  display: grid;
  gap: 0.3rem;
}

.named-service-working__copy h4 {
  margin: 0;
}

.named-service-working .pill {
  flex: 0 0 auto;
}

.fit-card {
  padding: 0.9rem;
  border-radius: var(--radius-md);
  min-width: 0;
  align-self: start;
  --fit-card-fade: var(--fit-formation-fade);
}

.fit-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6.8rem, 8.6rem);
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 800;
}

.fit-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  line-height: 1.05;
}

.fit-card__icon {
  display: inline-flex;
  font-size: 1rem;
  line-height: 1;
}

.fit-card__status {
  justify-self: end;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.69rem;
  width: 100%;
  min-width: 0;
  max-width: 8.6rem;
  text-align: right;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.fit-card__utility-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
}

.fit-card__formation {
  margin: 0.7rem 0 0;
  font-size: 1.18rem;
  line-height: 1.45;
}

.fit-card__formation-shell {
  position: relative;
  margin: 0.75rem 0 0;
  isolation: isolate;
}

.fit-card__formation-shell.is-scrollable::after,
.fit-card__formation-shell.is-scrolled-start::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.75rem;
  pointer-events: none;
  z-index: 1;
}

.fit-card__formation-shell.is-scrollable::after {
  right: 0;
  background: linear-gradient(90deg, rgba(246, 244, 237, 0), var(--fit-card-fade));
  transition: opacity 140ms ease;
}

.fit-card__formation-shell.is-scrolled-start::before {
  left: 0;
  background: linear-gradient(270deg, rgba(246, 244, 237, 0), var(--fit-card-fade));
}

.fit-card__formation-shell.is-scrolled-end::after {
  opacity: 0;
}

.fit-card__formation-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.fit-card__formation-shell.is-scrollable .fit-card__formation-strip {
  padding-right: 3.15rem;
}

.fit-card__formation-shell.is-scrolled-start .fit-card__formation-strip {
  padding-left: 3.15rem;
}

.fit-card__formation-shell.is-scrolled-end .fit-card__formation-strip {
  padding-right: 0;
}

.fit-card__formation-strip::-webkit-scrollbar {
  display: none;
}

.fit-card__coach-chip,
.fit-card__marker-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  border-radius: 0.8rem;
  border: 1px solid var(--fit-chip-success-border);
  background: var(--fit-chip-success-bg);
  color: var(--fit-chip-success-fg);
  white-space: nowrap;
}

.fit-card__coach-chip {
  min-width: 2.2rem;
  padding: 0.22rem 0.55rem;
  font-family: var(--font-rail);
  font-size: 1rem;
  line-height: 1;
}

.fit-card__coach-chip--blocked {
  border-color: var(--fit-chip-blocked-border);
  background: var(--fit-chip-blocked-bg);
  color: var(--fit-chip-blocked-fg);
}

.fit-card__coach-chip--marker {
  min-width: 2.2rem;
  padding-inline: 0.48rem;
  border-color: var(--fit-chip-marker-border);
  background: var(--fit-chip-marker-bg);
  color: var(--fit-chip-marker-fg);
}

.fit-card__coach-chip--dispatch {
  border-color: #39b54a;
  border-width: 3px;
  box-shadow: none;
}

.fit-card__marker-symbol {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  line-height: 1;
}

.fit-card__marker-symbol--front {
  flex-direction: row-reverse;
}

.fit-card__marker-symbol--rear .fit-card__marker-chevron {
  transform: scaleX(-1);
}

.fit-card__marker-chevron,
.fit-card__marker-bar {
  display: block;
  flex: 0 0 auto;
}

.fit-card__marker-chevron {
  width: 0.42rem;
  height: 0.68rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.fit-card__marker-bar {
  width: 0.14rem;
  height: 0.68rem;
  border-radius: 999px;
  background: currentColor;
}

.fit-card__formation-separator {
  color: var(--fit-chip-separator-fg);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.fit-card__scroll-hint {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  background: var(--fit-chip-scroll-hint-bg);
  color: var(--fit-chip-scroll-hint-fg);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease;
}

.fit-card__scroll-hint--left {
  left: 0.45rem;
}

.fit-card__scroll-hint--right {
  right: 0.45rem;
}

.fit-card__scroll-hint--left,
.fit-card__scroll-hint--right {
  opacity: 0;
}

.fit-card__formation-shell.is-showing-scroll-left .fit-card__scroll-hint--left,
.fit-card__formation-shell.is-showing-scroll-right .fit-card__scroll-hint--right {
  opacity: 1;
}

.fit-card__scroll-hint:focus-visible {
  background: color-mix(in srgb, var(--fit-chip-scroll-hint-bg) 88%, white 12%);
  outline: none;
}

.fit-card__scroll-hint:active {
  transform: translateY(-50%) scale(0.96);
}

.tone-success.fit-card {
  --fit-card-fade: rgba(230, 248, 226, 0.97);
}

.tone-danger.fit-card {
  --fit-card-fade: rgba(254, 232, 230, 0.97);
}

.tone-amber.fit-card {
  --fit-card-fade: rgba(255, 241, 209, 0.97);
}

.tone-muted.fit-card {
  --fit-card-fade: rgba(239, 237, 228, 0.97);
}

.fit-card__detail {
  margin: 0.55rem 0 0;
  color: var(--ink-700);
}

.stat-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--cream-050);
}

.stat-card__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.stat-card__value {
  font-size: 1.12rem;
}

.filter-bar,
.filter-group {
  display: grid;
  gap: 0.75rem;
}

.filter-group span {
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-group {
  margin-bottom: 0.85rem;
}

.filter-chip {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-secondary);
  color: var(--ink-700);
}

.filter-chip--station {
  flex: 0 0 auto;
  padding-inline: 1rem;
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  white-space: nowrap;
  scroll-snap-align: start;
}

.filter-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.9rem;
  font-size: 1rem;
  line-height: 1;
}

.filter-chip.is-active {
  background: var(--chip-active-bg);
  color: var(--chip-active-fg);
}

.home-panel--maps {
  padding: 1rem;
}

.platform-subtitle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.platform-subtitle {
  color: var(--ink-950);
  font-weight: 700;
}

.meta-dot {
  color: var(--ink-500);
}

.panel-card__pills--signals {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
}

.pill--signal {
  font-weight: 700;
}

.traction-group {
  display: grid;
  gap: 0.85rem;
}

.traction-group__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.traction-group__heading {
  display: grid;
  gap: 0.15rem;
}

.traction-group + .traction-group {
  margin-top: 0.45rem;
  padding-top: 1.05rem;
}

.traction-group__header h4 {
  margin: 0;
}

.traction-group__controls {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.traction-group__control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.traction-group__controls-label {
  color: var(--ink-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toggle-chip-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.toggle-chip {
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--surface-primary);
  color: var(--ink-700);
  padding: 0.38rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

.toggle-chip.is-active {
  border-color: transparent;
  background: var(--secondary-button-default-bg);
  color: var(--secondary-button-default-fg);
}

@media (max-width: 360px) {
  .fit-card__formation-shell.is-scrollable .fit-card__formation-strip {
    padding-right: 0;
  }

  .fit-card__formation-shell::before,
  .fit-card__formation-shell::after,
  .fit-card__scroll-hint {
    display: none;
  }

  .fit-card__formation-strip {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.traction-group__note {
  margin: 0;
  color: var(--ink-700);
}

.risk-stack {
  display: grid;
  gap: 0.8rem;
}

.risk-card {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(240, 157, 11, 0.22);
  border-radius: var(--radius-md);
  background: var(--amber-100);
  color: #6b4a00;
}

.risk-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.risk-card p {
  margin: 0.45rem 0 0;
}

.risk-card--instruction {
  border-color: rgba(230, 102, 92, 0.22);
  background: var(--danger-100);
  color: #8e2722;
  box-shadow: none;
}

.risk-card--instruction p {
  margin-top: 0;
}

.map-direction-note {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(11, 58, 44, 0.06);
  color: var(--ink-700);
}

.platform-note {
  margin: 0.05rem 0 0.85rem;
  color: var(--ink-700);
}

.platform-note--door {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 58, 44, 0.08);
  color: var(--forest-900);
  font-size: 0.92rem;
  font-weight: 700;
}

.signal-note-stack {
  display: grid;
  gap: 0.55rem;
}

.signal-note {
  margin: 0;
  color: var(--ink-950);
  line-height: 1.45;
}

.panel-card--signal-compact .panel-card__pills--signals {
  margin-bottom: 0;
}

.instruction-stack {
  display: grid;
  gap: 0.8rem;
}

.panel-card--embed {
  display: grid;
  gap: 0.9rem;
}

.panel-card--departure-link {
  align-items: start;
}

.embed-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.embed-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.embed-card__link {
  color: var(--forest-800);
  font-weight: 700;
  text-decoration: none;
}

.embed-card__link:hover {
  text-decoration: underline;
}

.departure-board-note {
  margin: 0;
  color: var(--ink-700);
}

.board-screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-height: calc(100dvh - 8.9rem);
}

.app-shell--screen-board .board-screen {
  min-height: 100dvh;
}

.board-screen__nav {
  padding: 0.9rem 1rem 0.8rem;
}

.screen-board-kicker {
  min-width: 0;
  color: var(--departure-v2-muted);
  font-family: var(--font-rail);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.board-screen__nav--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.board-screen__refresh {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  border: 1px solid var(--departure-v2-refresh-border);
  border-radius: 999px;
  background: var(--departure-v2-refresh-bg);
  color: var(--departure-v2-refresh-fg);
  -webkit-appearance: none;
  appearance: none;
}

.board-screen__refresh svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.board-screen__refresh.is-loading svg {
  animation: auth-loading-spin 0.9s linear infinite;
}

.board-screen__frame,
.board-screen__empty {
  min-width: 0;
  min-height: 0;
}

.board-screen__frame {
  overflow: hidden;
  background: var(--white);
}

.board-screen__frame--android {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y pan-x;
}

.board-screen__frame iframe {
  display: block;
  width: 158%;
  height: 158%;
  border: 0;
  background: var(--white);
  transform: scale(0.64);
  transform-origin: top left;
}

.board-screen__frame--android iframe {
  width: 160%;
  height: 280%;
  min-height: 1100px;
  transform: scale(0.64);
  pointer-events: none;
}

.board-screen__empty {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.board-screen--v2 {
  align-content: start;
}

.departure-v2 {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 0 1rem 1.5rem;
}

.departure-v2__hero {
  display: flex;
  align-items: flex-start;
  align-self: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--departure-v2-card-border);
  background: var(--departure-v2-card-bg);
  color: var(--departure-v2-text);
}

.departure-v2__hero h2 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--font-rail);
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.departure-v2__hero p {
  margin: 0;
  color: var(--departure-v2-muted);
}

.departure-v2__list {
  display: grid;
  gap: 0.75rem;
  position: relative;
}

.departure-v2__service {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--departure-v2-card-border);
  background: var(--departure-v2-card-bg);
  color: var(--departure-v2-text);
  will-change: transform;
}

.app-shell--screen-board .board-screen__nav {
  padding: 0.8rem 1.35rem 0;
  background: transparent;
}

.app-shell--screen-board .board-screen__refresh {
  width: 2.5rem;
  height: 2.5rem;
}

.app-shell--screen-board .departure-v2 {
  gap: 0.85rem;
  padding: 0.8rem 1.35rem 1.35rem;
}

.app-shell--screen-board .departure-v2__hero {
  padding: 0.95rem 1.2rem;
  border-radius: 10px;
}

.app-shell--screen-board .departure-v2__hero h2 {
  font-size: clamp(2rem, 3.6vw, 4.6rem);
  line-height: 0.98;
}

.app-shell--screen-board .departure-v2__hero p {
  font-size: clamp(1rem, 1.3vw, 1.45rem);
}

.app-shell--screen-board .departure-v2__list {
  gap: 0.6rem;
}

.app-shell--screen-board .departure-v2__service {
  border-radius: 8px;
}

.app-shell--screen-board .departure-v2__service-head {
  grid-template-columns: minmax(5.2rem, 7.2vw) minmax(0, 1fr) minmax(10rem, 12vw) 1.9rem;
  gap: 1rem;
  padding: 0.85rem 1rem;
}

.app-shell--screen-board .departure-v2__time,
.app-shell--screen-board .departure-v2__destination strong {
  font-size: clamp(1.8rem, 2.45vw, 3.25rem);
  line-height: 1;
}

.app-shell--screen-board .departure-v2__headcode {
  font-size: clamp(1rem, 1.15vw, 1.35rem);
}

.app-shell--screen-board .departure-v2__service-meta,
.app-shell--screen-board .departure-v2__formation-summary {
  font-size: clamp(0.9rem, 1vw, 1.18rem);
}

.app-shell--screen-board .departure-v2__status {
  width: min(12vw, 13rem);
}

.app-shell--screen-board .departure-v2__platform,
.app-shell--screen-board .departure-v2__live-status-pill,
.app-shell--screen-board .departure-v2__expected,
.app-shell--screen-board .departure-v2__delay {
  border-radius: 6px;
  font-size: clamp(0.86rem, 0.95vw, 1.12rem);
}

.departure-v2__service--leaving {
  box-shadow: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.departure-v2__service.is-cancelled {
  border-color: var(--departure-v2-cancelled-border);
  background: var(--departure-v2-cancelled-bg);
}

.departure-v2__named-service {
  display: grid;
  place-items: center;
  min-height: 2rem;
  padding: 0.36rem 1rem 0.34rem;
  border-bottom: 1px solid rgba(95, 84, 56, 0.3);
  background:
    linear-gradient(90deg, rgba(95, 84, 56, 0.2), rgba(255, 255, 255, 0.14), rgba(95, 84, 56, 0.16)),
    linear-gradient(135deg, var(--first-class-gold-dark), var(--first-class-gold) 46%, var(--first-class-gold-light));
  color: var(--white);
  font-family: var(--font-rail);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
  text-transform: uppercase;
}

.departure-v2__named-service--sleeper {
  border-bottom-color: rgba(84, 87, 89, 0.34);
  background:
    linear-gradient(90deg, rgba(84, 87, 89, 0.2), rgba(255, 255, 255, 0.13), rgba(84, 87, 89, 0.16)),
    linear-gradient(135deg, #5f6264, #8a8d8f 48%, #a9abad);
}

.departure-v2__named-service--pullman {
  border-bottom-color: rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, #000000, #111111 58%, #2b2b2b);
}

.departure-v2__service-head {
  display: grid;
  grid-template-columns: minmax(3.2rem, 4.4rem) minmax(0, 1fr) 8.35rem 1.9rem;
  align-items: start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.departure-v2__time-stack {
  display: grid;
  gap: 0.15rem;
  align-content: start;
}

.departure-v2__time {
  font-family: var(--font-rail);
  font-size: 1.45rem;
  line-height: 1.14;
}

.departure-v2__headcode {
  font-family: var(--font-rail);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.08;
  color: var(--departure-v2-muted);
}

.departure-v2__destination {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.departure-v2__destination strong {
  color: var(--departure-v2-text);
  font-family: var(--font-rail);
  font-size: 1.45rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
  white-space: normal;
}

.departure-v2__destination > span,
.departure-v2__muted,
.departure-v2__inline-note {
  color: var(--departure-v2-muted);
}

.departure-v2__service-meta {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.25;
}

.departure-v2__toc {
  font-size: 0.82rem;
  opacity: 0.82;
}

.departure-v2__formation-summary {
  display: block;
  min-width: 0;
  color: var(--departure-v2-muted);
  font-size: 0.92rem;
}

.departure-v2__formation-summary--empty {
  opacity: 0.72;
}

.departure-v2__unit-summary {
  margin: -0.12rem 0 0;
  color: var(--departure-v2-muted);
  font-family: var(--font-rail);
  font-size: 0.92rem;
  line-height: 1.22;
}

.departure-v2__status {
  display: grid;
  grid-template-columns: 100%;
  gap: 0.5rem;
  justify-content: end;
  align-items: center;
  width: 8.35rem;
}

.departure-v2__platform,
.departure-v2__live-status-pill,
.departure-v2__expected,
.departure-v2__delay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.departure-v2__platform,
.departure-v2__live-status-pill,
.departure-v2__expected {
  min-width: 0;
  width: 100%;
}

.departure-v2__platform,
.departure-v2__live-status-pill {
  background: var(--departure-v2-neutral-pill-bg);
  color: var(--departure-v2-neutral-pill-fg);
}

.departure-v2__live-status-pill {
  gap: 0.38rem;
}

.departure-v2__live-status-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--lime-500);
  box-shadow: 0 0 0 0 rgba(70, 198, 62, 0.42);
  animation: departure-live-dot-pulse 1.65s ease-out infinite;
}

.departure-v2__platform--unconfirmed {
  min-width: 0;
  padding-inline: 0;
  background: transparent;
  color: var(--departure-v2-muted);
  justify-content: end;
  text-align: right;
  white-space: normal;
}

.departure-v2__expected-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-content: end;
  gap: 0.35rem;
  width: 100%;
}

.departure-v2__expected-row--split {
  grid-template-columns: minmax(0, 1fr) 2.42rem;
}

.departure-v2__delay {
  min-width: 0;
  width: 100%;
  padding-inline: 0.42rem;
}

.departure-v2__inline-note {
  margin: -0.3rem 1rem 0.9rem;
  line-height: 1.4;
}

.departure-v2__toggle {
  display: inline-grid;
  place-items: center;
  align-self: center;
  width: 1.9rem;
  min-height: 1.9rem;
  color: var(--departure-v2-muted);
}

.departure-v2__service.is-expanded .departure-v2__toggle {
  color: var(--departure-v2-text);
}

.departure-v2__toggle-glyph {
  position: relative;
  width: 1.12rem;
  height: 1.12rem;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

.departure-v2__toggle-glyph::before,
.departure-v2__toggle-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.departure-v2__toggle-glyph::before {
  width: 1.12rem;
  height: 2px;
}

.departure-v2__toggle-glyph::after {
  width: 2px;
  height: 1.12rem;
}

.departure-v2__toggle-glyph.is-open {
  transform: rotate(45deg);
}

.departure-v2__refresh-message {
  margin: 0;
}

.departure-v2__detail {
  display: grid;
  gap: 0.85rem;
  padding: 0 1rem 1rem;
}

.departure-v2__live-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.56rem 0.85rem;
  border-radius: 999px;
  background: var(--departure-v2-live-bg);
  color: var(--departure-v2-live-fg);
  font-family: var(--font-rail);
  font-weight: 800;
  letter-spacing: 0.04em;
  animation: departure-live-status-pulse 2.4s ease-in-out infinite;
}

.departure-v2__live-status--inline {
  width: calc(100% - 2rem);
  margin: -0.18rem 1rem 0.9rem;
}

@keyframes departure-live-status-pulse {
  0%,
  100% {
    opacity: 1;
    filter: saturate(1);
  }

  50% {
    opacity: 0.86;
    filter: saturate(1.18);
  }
}

.departure-v2__loading {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2rem;
}

.departure-v2__loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(11, 58, 44, 0.16);
  border-top-color: var(--departure-v2-refresh-fg);
  border-radius: 999px;
  animation: auth-loading-spin 0.9s linear infinite;
}

@keyframes departure-live-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(70, 198, 62, 0.42);
  }

  70% {
    box-shadow: 0 0 0 0.38rem rgba(70, 198, 62, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(70, 198, 62, 0);
  }
}

.departure-v2__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.departure-v2__detail-stack {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.departure-v2__detail-grid article,
.departure-v2__detail-stack article {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: var(--departure-v2-detail-bg);
  color: var(--departure-v2-text);
}

.departure-v2__detail-grid h4,
.departure-v2__detail-stack h4,
.departure-v2__detail-grid p,
.departure-v2__detail-stack p,
.departure-v2__notes {
  margin: 0;
}

.departure-v2__coach-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.departure-v2__formation {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
}

.departure-v2__coach-shell.is-scrollable::after,
.departure-v2__coach-shell.is-scrolled-start::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.75rem;
  pointer-events: none;
  z-index: 1;
}

.departure-v2__coach-shell.is-scrollable::after {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--departure-v2-scroll-fade-bg));
  transition: opacity 140ms ease;
}

.departure-v2__coach-shell.is-scrolled-start::before {
  left: 0;
  background: linear-gradient(270deg, transparent, var(--departure-v2-scroll-fade-bg));
}

.departure-v2__coach-shell.is-scrolled-end::after {
  opacity: 0;
}

.departure-v2__coach-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.departure-v2__coach-row::-webkit-scrollbar {
  display: none;
}

.departure-v2__coach-shell.is-scrollable .departure-v2__coach-row {
  padding-right: 3.15rem;
}

.departure-v2__coach-shell.is-scrolled-start .departure-v2__coach-row {
  padding-left: 3.15rem;
}

.departure-v2__coach-shell.is-scrolled-end .departure-v2__coach-row {
  padding-right: 0;
}

.departure-v2__coach-shell.is-showing-scroll-left .fit-card__scroll-hint--left,
.departure-v2__coach-shell.is-showing-scroll-right .fit-card__scroll-hint--right {
  opacity: 1;
}

.departure-v2__coach-row--compact {
  gap: 0.2rem;
}

.departure-v2__coach {
  display: inline-grid;
  place-items: center;
  gap: 0.28rem;
  min-width: 2.95rem;
  min-height: 3.2rem;
  padding: 0.32rem 0.45rem;
  border-radius: 0.65rem;
  border: 1px solid var(--departure-v2-coach-border);
  background: var(--departure-v2-coach-bg);
  color: var(--departure-v2-coach-fg);
  font-weight: 800;
  flex: 0 0 auto;
}

.departure-v2__coach--first {
  background: var(--departure-v2-coach-first-bg);
  border-color: var(--departure-v2-coach-first-border);
  color: var(--departure-v2-coach-first-fg);
}

.departure-v2__coach--accessible,
.departure-v2__coach--bike {
  background: var(--departure-v2-coach-access-bg);
  border-color: var(--departure-v2-coach-access-border);
  color: var(--departure-v2-coach-access-fg);
}

.departure-v2__coach--synthetic {
  background: var(--departure-v2-coach-synthetic-bg);
}

.departure-v2__coach-label {
  font-family: var(--font-rail);
  font-size: 1rem;
}

.departure-v2__coach-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-height: 0.82rem;
  max-width: 3.1rem;
  flex-wrap: wrap;
}

.departure-v2__coach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.82rem;
  height: 0.82rem;
  opacity: 0.88;
}

.departure-v2__coach-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.departure-v2__coach-icon svg text {
  fill: currentColor;
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 800;
}

.departure-v2__coach-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.18rem;
  max-width: 6.2rem;
}

.departure-v2__coach small {
  overflow: hidden;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.78;
}

.departure-v2__formation-note {
  font-size: 0.86rem;
}

.departure-v2__coach-row--compact .departure-v2__coach {
  min-width: 1.45rem;
  min-height: 1.45rem;
  padding: 0.15rem 0.35rem;
  border-radius: 0.45rem;
  font-size: 0.78rem;
}

.departure-v2__calling-header,
.departure-v2__calling-list,
.departure-v2__notes {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  list-style: none;
}

.departure-v2__calling-header {
  grid-template-columns: minmax(0, 1fr) 3.25rem 3.25rem 4.75rem;
  align-items: end;
  gap: 0.45rem;
  color: var(--departure-v2-muted);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.departure-v2__calling-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10.5rem, auto);
  align-items: baseline;
  gap: 0.55rem;
}

.departure-v2__calling-list li span {
  font-family: var(--font-rail);
}

.departure-v2__calling-list li.is-departed {
  color: var(--departure-v2-departed-fg);
}

.departure-v2__calling-list li.is-current {
  color: var(--departure-v2-current-fg);
  font-weight: 800;
}

.departure-v2__calling-times {
  display: grid;
  grid-template-columns: 3.25rem 3.25rem 4.75rem;
  align-items: center;
  gap: 0.45rem;
  justify-items: end;
  white-space: nowrap;
}

.departure-v2__calling-status {
  display: inline-grid;
  place-items: center;
  min-width: 4.75rem;
  padding: 0.12rem 0.36rem;
  border-radius: 999px;
  background: var(--departure-v2-status-muted-bg);
  color: var(--departure-v2-status-muted-fg);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
}

.departure-v2__calling-status.is-late {
  background: var(--departure-v2-status-amber-bg);
  color: var(--departure-v2-status-amber-fg);
}

.departure-v2__calling-status.is-very-late {
  background: var(--departure-v2-status-danger-bg);
  color: var(--departure-v2-status-danger-fg);
}

.departure-v2__calling-status.is-early {
  background: var(--departure-v2-status-info-bg);
  color: var(--departure-v2-status-info-fg);
}

.departure-v2__calling-time {
  display: grid;
  grid-template-columns: 2.45rem 3.35rem;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-rail);
  justify-items: end;
  white-space: nowrap;
}

.departure-v2__calling-time small {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  padding: 0.12rem 0.32rem;
  border-radius: 999px;
  background: var(--departure-v2-status-muted-bg);
  color: var(--departure-v2-status-muted-fg);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
}

.departure-v2__calling-time small.is-empty {
  visibility: hidden;
}

.departure-v2__calling-time.is-late small {
  background: var(--departure-v2-status-amber-bg);
  color: var(--departure-v2-status-amber-fg);
}

.departure-v2__calling-time.is-very-late small {
  background: var(--departure-v2-status-danger-bg);
  color: var(--departure-v2-status-danger-fg);
}

.departure-v2__calling-time.is-early small {
  background: var(--departure-v2-status-info-bg);
  color: var(--departure-v2-status-info-fg);
}

.departure-v2__calling-list li.is-cancelled {
  color: var(--departure-v2-status-danger-fg);
  text-decoration: line-through;
}

.departure-v2__more {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0 0.55rem;
}

.departure-v2__more-button {
  min-width: min(100%, 10.5rem);
  justify-content: center;
  text-align: center;
}

.departure-v2 .tone-success,
.departure-v2__calling-status.is-ontime {
  background: var(--departure-v2-status-success-bg);
  color: var(--departure-v2-status-success-fg);
}

.departure-v2 .tone-danger {
  background: var(--departure-v2-status-danger-bg);
  color: var(--departure-v2-status-danger-fg);
}

.departure-v2 .tone-amber {
  background: var(--departure-v2-status-amber-bg);
  color: var(--departure-v2-status-amber-fg);
}

.departure-v2 .tone-info {
  background: var(--departure-v2-status-info-bg);
  color: var(--departure-v2-status-info-fg);
}

.departure-v2 .tone-muted {
  background: var(--departure-v2-status-muted-bg);
  color: var(--departure-v2-status-muted-fg);
}

@media (prefers-reduced-motion: reduce) {
  .departure-v2__live-status {
    animation: none;
  }

  .departure-v2__live-status-dot {
    animation: none;
  }
}

@media (max-width: 720px) {
  .departure-v2 {
    padding-inline: 0.55rem;
  }

  .departure-v2__hero {
    display: grid;
  }

  .departure-v2__service-head {
    grid-template-columns: minmax(3rem, 3.85rem) minmax(0, 1fr) 7.15rem 1.7rem;
    align-items: start;
    gap: 0.55rem;
    padding-inline: 0.8rem;
  }

  .departure-v2__status {
    grid-template-columns: 100%;
    gap: 0.4rem;
    width: 7.15rem;
  }

  .departure-v2__platform,
  .departure-v2__live-status-pill,
  .departure-v2__expected {
    padding-inline: 0.48rem;
    font-size: 0.76rem;
  }

  .departure-v2__delay {
    padding-inline: 0.42rem;
    font-size: 0.76rem;
  }

  .departure-v2__expected-row--split {
    grid-template-columns: minmax(0, 1fr) 2.12rem;
  }

  .departure-v2__platform--unconfirmed {
    min-width: 0;
    padding-inline: 0;
  }

  .departure-v2__detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .departure-v2__service-head {
    grid-template-columns: minmax(2.85rem, 3.45rem) minmax(0, 1fr) 6.45rem 1.5rem;
  }

  .departure-v2__status {
    grid-column: auto;
    grid-template-columns: 100%;
    justify-content: end;
    width: 6.45rem;
  }

  .departure-v2__time,
  .departure-v2__destination strong {
    font-size: 1.25rem;
  }

  .departure-v2__headcode {
    font-size: 0.88rem;
  }

  .departure-v2__platform,
  .departure-v2__live-status-pill,
  .departure-v2__expected {
    font-size: 0.68rem;
    letter-spacing: 0.01em;
    padding-inline: 0.38rem;
  }

  .departure-v2__delay {
    font-size: 0.68rem;
    letter-spacing: 0.01em;
    padding-inline: 0.34rem;
  }

  .departure-v2__expected-row--split {
    grid-template-columns: minmax(0, 1fr) 1.86rem;
  }

  .departure-v2__calling-header {
    grid-template-columns: minmax(0, 1fr) 2.65rem 2.65rem 3.85rem;
    gap: 0.28rem;
    font-size: 0.62rem;
  }

  .departure-v2__calling-list li {
    grid-template-columns: minmax(0, 1fr) minmax(9.15rem, auto);
    gap: 0.35rem;
  }

  .departure-v2__calling-times {
    grid-template-columns: 2.65rem 2.65rem 3.85rem;
    gap: 0.28rem;
  }

  .departure-v2__calling-status {
    min-width: 3.85rem;
    font-size: 0.62rem;
  }

  .departure-v2__platform--unconfirmed {
    min-width: 0;
    padding-inline: 0;
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .departure-v2__detail-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: start;
  }
}

.detail-shell--map {
  max-width: none;
}

.detail-card--map {
  min-height: calc(100dvh - 12rem);
}

.map-preview {
  margin-top: 1rem;
  overflow: auto;
  max-height: calc(100dvh - 15rem);
  border-radius: 24px;
  border: 1px solid rgba(11, 58, 44, 0.08);
  background: var(--white);
}

.map-preview__canvas {
  width: max-content;
  min-width: 100%;
  padding: 1rem;
}

.map-preview--document .map-preview__canvas {
  width: 100%;
  min-width: 100%;
  padding: 0;
}

.map-preview--document {
  overflow: hidden;
}

.map-preview--pdf-fallback {
  display: grid;
  gap: 0;
}

.map-preview__fallback-copy {
  padding: 0.95rem 1rem 1rem;
  border-top: 1px solid rgba(11, 58, 44, 0.08);
  background: rgba(246, 244, 237, 0.72);
}

.map-preview__fallback-copy p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.4;
}

.map-preview img {
  display: block;
  width: calc(100vw - 3.5rem);
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.map-preview iframe {
  display: block;
  width: 100%;
  min-height: calc(100dvh - 18rem);
  border: 0;
  background: var(--white);
}

.map-preview--document iframe {
  width: 102.05%;
  min-height: calc(100dvh - 17.7rem);
  transform: scale(0.98);
  transform-origin: top center;
}

.map-preview--placeholder {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 2rem;
  text-align: center;
  color: var(--forest-800);
}

.queue-list,
.permission-matrix {
  display: grid;
  gap: 0.75rem;
}

.queue-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
}

.queue-card__owner,
.locked-note {
  color: var(--ink-700);
  font-size: 0.92rem;
}

.permission-matrix div {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--cream-050);
}

.locked-note {
  margin-top: 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 58, 44, 0.08);
  text-align: center;
}

.help-signoff {
  margin: 1.15rem 0 0;
  padding-bottom: 0.4rem;
  text-align: center;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.build-version-label {
  font-family: var(--font-rail);
  letter-spacing: 0.03em;
}

.panel-card--account {
  gap: 0.8rem;
}

.account-form {
  display: grid;
  gap: 0.85rem;
}

.account-form__message {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.account-form__message.tone-success {
  background: rgba(69, 191, 74, 0.14);
  color: #1e6c28;
}

.account-form__message.tone-danger {
  background: var(--danger-100);
  color: #8e2722;
}

.secondary-button[disabled] {
  opacity: 0.72;
  cursor: progress;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tone-success {
  background: rgba(69, 191, 74, 0.14);
  color: #1e6c28;
}

.tone-danger {
  background: var(--danger-100);
  color: #8e2722;
}

.tone-amber {
  background: var(--amber-100);
  color: #835600;
}

.tone-info {
  background: var(--info-100);
  color: #1e5a86;
}

.tone-muted {
  background: rgba(11, 58, 44, 0.09);
  color: var(--forest-800);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding:
    0.85rem
    calc(1rem + env(safe-area-inset-right))
    calc(1rem + env(safe-area-inset-bottom))
    calc(1rem + env(safe-area-inset-left));
  border-top: 1px solid var(--chrome-border);
  background: var(--chrome-bg);
}

.bottom-nav__item {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 0.8rem 0.45rem;
  border-radius: 20px;
  background: var(--bottom-nav-item-bg);
  color: var(--bottom-nav-item-fg);
}

.bottom-nav__item.is-active {
  background: var(--nav-active-bg);
  color: var(--nav-active-fg);
  font-weight: 800;
}

:root[data-theme="dark"] html,
:root[data-theme="dark"] body {
  background: #041713;
}

:root[data-theme="dark"] .app-shell {
  background: #081411;
}

:root[data-theme="dark"] .home-panel,
:root[data-theme="dark"] .rail,
:root[data-theme="dark"] .detail-card,
:root[data-theme="dark"] .panel-card,
:root[data-theme="dark"] .info-card,
:root[data-theme="dark"] .content-section,
:root[data-theme="dark"] .content-link,
:root[data-theme="dark"] .call-chooser,
:root[data-theme="dark"] .call-chooser__item,
:root[data-theme="dark"] .contact-detail__number,
:root[data-theme="dark"] .map-preview,
:root[data-theme="dark"] .board-screen__frame,
:root[data-theme="dark"] .board-screen__empty,
:root[data-theme="dark"] .auth-card,
:root[data-theme="dark"] .permission-matrix div,
:root[data-theme="dark"] .stat-card,
:root[data-theme="dark"] .queue-card,
:root[data-theme="dark"] .locked-note {
  border-color: rgba(255, 255, 255, 0.08);
  background: #10201b;
  color: #eef5f1;
}

:root[data-theme="dark"] .home-panel--search,
:root[data-theme="dark"] .list-item--station,
:root[data-theme="dark"] .list-item,
:root[data-theme="dark"] .filter-chip,
:root[data-theme="dark"] .filter-chip--station,
:root[data-theme="dark"] .favorite-button,
:root[data-theme="dark"] .back-link,
:root[data-theme="dark"] .map-direction-note,
:root[data-theme="dark"] .platform-note--door {
  border-color: rgba(255, 255, 255, 0.08);
  background: #10201b;
  color: #eef5f1;
}

:root[data-theme="dark"] .list-item--station {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .list-item--station:hover {
  background: #10201b;
}

:root[data-theme="dark"] .beta-label {
  background: rgba(255, 255, 255, 0.1);
  color: #eef5f1;
}

:root[data-theme="dark"] .live-lift-status-card__item {
  border-top-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .search-box input,
:root[data-theme="dark"] .auth-field input,
:root[data-theme="dark"] .auth-field select,
:root[data-theme="dark"] .auth-field textarea {
  border-color: rgba(255, 255, 255, 0.08);
  background: #0c1815;
  color: #eef5f1;
}

:root[data-theme="dark"] .auth-field,
:root[data-theme="dark"] .auth-check,
:root[data-theme="dark"] .detail-card__control,
:root[data-theme="dark"] .eyebrow,
:root[data-theme="dark"] .signal-note,
:root[data-theme="dark"] .platform-subtitle,
:root[data-theme="dark"] .info-card h4,
:root[data-theme="dark"] .info-card__body p,
:root[data-theme="dark"] .content-link__copy h3,
:root[data-theme="dark"] .content-link__action,
:root[data-theme="dark"] .embed-card__link,
:root[data-theme="dark"] .contact-detail__number-value,
:root[data-theme="dark"] .list-item__title,
:root[data-theme="dark"] .list-item__title--station {
  color: #eef5f1;
}

:root[data-theme="dark"] .list-item__subtitle,
:root[data-theme="dark"] .list-item__state,
:root[data-theme="dark"] .detail-card__meta,
:root[data-theme="dark"] .panel-card__subtitle,
:root[data-theme="dark"] .status-line,
:root[data-theme="dark"] .content-link__copy p,
:root[data-theme="dark"] .departure-board-note,
:root[data-theme="dark"] .empty-copy,
:root[data-theme="dark"] .call-chooser__meta,
:root[data-theme="dark"] .contact-detail__number-subtitle,
:root[data-theme="dark"] .platform-note,
:root[data-theme="dark"] .traction-group__note,
:root[data-theme="dark"] .help-signoff,
:root[data-theme="dark"] .queue-card__owner,
:root[data-theme="dark"] .locked-note,
:root[data-theme="dark"] .detail-card__lead,
:root[data-theme="dark"] .rail__meta {
  color: rgba(238, 245, 241, 0.72);
}

:root[data-theme="dark"] .list-item__chevron {
  color: rgba(255, 255, 255, 0.45);
}

:root[data-theme="dark"] .search-box__clear {
  color: #a8c9ff;
}

:root[data-theme="dark"] .search-box__clear:focus-visible {
  background: rgba(168, 201, 255, 0.12);
}

:root[data-theme="dark"] .filter-chip {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 245, 241, 0.78);
}

:root[data-theme="dark"] .filter-chip.is-active,
:root[data-theme="dark"] .bottom-nav__item.is-active {
  background: var(--lime-500);
  color: var(--forest-950);
}

:root[data-theme="dark"] .bottom-nav {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: #041713;
}

:root[data-theme="dark"] .bottom-nav__item {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

:root[data-theme="dark"] .board-screen__nav {
  background: #081411;
}

:root[data-theme="dark"] .tone-success {
  background: rgba(69, 191, 74, 0.16);
  color: #cef2cf;
}

:root[data-theme="dark"] .tone-success.fit-card {
  --fit-card-fade: rgba(24, 53, 29, 0.97);
}

:root[data-theme="dark"] .tone-danger {
  background: rgba(217, 75, 67, 0.18);
  color: #ffd8d4;
}

:root[data-theme="dark"] .tone-danger.fit-card {
  --fit-card-fade: rgba(59, 24, 23, 0.97);
}

:root[data-theme="dark"] .tone-amber {
  background: rgba(240, 157, 11, 0.18);
  color: #ffe3a4;
}

:root[data-theme="dark"] .tone-amber.fit-card {
  --fit-card-fade: rgba(67, 54, 18, 0.97);
}

:root[data-theme="dark"] .tone-info {
  background: rgba(47, 134, 197, 0.18);
  color: #cae7ff;
}

:root[data-theme="dark"] .tone-muted {
  background: rgba(255, 255, 255, 0.08);
  color: #dbe8e2;
}

:root[data-theme="dark"] .tone-muted.fit-card {
  --fit-card-fade: rgba(27, 37, 34, 0.97);
}

:root[data-theme="dark"] .risk-card {
  border-color: rgba(240, 157, 11, 0.26);
  background: rgba(240, 157, 11, 0.16);
  color: #ffe3a4;
}

:root[data-theme="dark"] .nre-accessibility-alert {
  border-color: rgba(240, 157, 11, 0.26);
  background: rgba(240, 157, 11, 0.16);
  color: #ffe3a4;
}

:root[data-theme="dark"] .risk-card--instruction {
  border-color: rgba(217, 75, 67, 0.26);
  background: rgba(217, 75, 67, 0.16);
  color: #ffd8d4;
}

:root[data-theme="dark"] .nre-accessibility-alert--danger {
  border-color: rgba(217, 75, 67, 0.26);
  background: rgba(217, 75, 67, 0.16);
  color: #ffd8d4;
}

:root[data-brand="gbr"] .named-service-artwork--fallback {
  color: #14357b;
}

:root[data-brand="gbr"][data-theme="dark"] html,
:root[data-brand="gbr"][data-theme="dark"] body {
  background: var(--chrome-bg);
}

:root[data-brand="gbr"][data-theme="dark"] .app-shell {
  background: var(--page-shell-bg);
}

:root[data-brand="gbr"][data-theme="dark"] .home-panel,
:root[data-brand="gbr"][data-theme="dark"] .rail,
:root[data-brand="gbr"][data-theme="dark"] .detail-card,
:root[data-brand="gbr"][data-theme="dark"] .panel-card,
:root[data-brand="gbr"][data-theme="dark"] .info-card,
:root[data-brand="gbr"][data-theme="dark"] .content-section,
:root[data-brand="gbr"][data-theme="dark"] .content-link,
:root[data-brand="gbr"][data-theme="dark"] .call-chooser,
:root[data-brand="gbr"][data-theme="dark"] .call-chooser__item,
:root[data-brand="gbr"][data-theme="dark"] .contact-detail__number,
:root[data-brand="gbr"][data-theme="dark"] .map-preview,
:root[data-brand="gbr"][data-theme="dark"] .board-screen__frame,
:root[data-brand="gbr"][data-theme="dark"] .board-screen__empty,
:root[data-brand="gbr"][data-theme="dark"] .auth-card,
:root[data-brand="gbr"][data-theme="dark"] .permission-matrix div,
:root[data-brand="gbr"][data-theme="dark"] .stat-card,
:root[data-brand="gbr"][data-theme="dark"] .queue-card,
:root[data-brand="gbr"][data-theme="dark"] .locked-note {
  border-color: var(--surface-border);
  background: var(--surface-primary);
  color: #edf2ff;
}

:root[data-brand="gbr"][data-theme="dark"] .home-panel--search,
:root[data-brand="gbr"][data-theme="dark"] .list-item--station,
:root[data-brand="gbr"][data-theme="dark"] .list-item,
:root[data-brand="gbr"][data-theme="dark"] .filter-chip,
:root[data-brand="gbr"][data-theme="dark"] .filter-chip--station,
:root[data-brand="gbr"][data-theme="dark"] .favorite-button,
:root[data-brand="gbr"][data-theme="dark"] .back-link,
:root[data-brand="gbr"][data-theme="dark"] .map-direction-note,
:root[data-brand="gbr"][data-theme="dark"] .platform-note--door {
  border-color: var(--surface-border);
  background: var(--surface-primary);
  color: #edf2ff;
}

:root[data-brand="gbr"][data-theme="dark"] .list-item--station {
  border-bottom-color: var(--surface-border);
}

:root[data-brand="gbr"][data-theme="dark"] .list-item--station:hover {
  background: var(--surface-primary);
}

:root[data-brand="gbr"][data-theme="dark"] .content-link:hover,
:root[data-brand="gbr"][data-theme="dark"] .panel-card--departure-link:hover {
  background: var(--surface-primary);
}

:root[data-brand="gbr"][data-theme="dark"] .content-section summary p,
:root[data-brand="gbr"][data-theme="dark"] .summary-glyph,
:root[data-brand="gbr"][data-theme="dark"] .summary-glyph--chevron,
:root[data-brand="gbr"][data-theme="dark"] .detail-card__control-label {
  color: #cddafe;
}

:root[data-brand="gbr"][data-theme="dark"] .search-box input,
:root[data-brand="gbr"][data-theme="dark"] .auth-field input,
:root[data-brand="gbr"][data-theme="dark"] .auth-field select,
:root[data-brand="gbr"][data-theme="dark"] .auth-field textarea {
  border-color: var(--surface-border);
  background: #0d1c3a;
  color: #edf2ff;
}

:root[data-brand="gbr"][data-theme="dark"] .auth-field,
:root[data-brand="gbr"][data-theme="dark"] .auth-check,
:root[data-brand="gbr"][data-theme="dark"] .detail-card__control,
:root[data-brand="gbr"][data-theme="dark"] .eyebrow,
:root[data-brand="gbr"][data-theme="dark"] .signal-note,
:root[data-brand="gbr"][data-theme="dark"] .platform-subtitle,
:root[data-brand="gbr"][data-theme="dark"] .info-card h4,
:root[data-brand="gbr"][data-theme="dark"] .info-card__body p,
:root[data-brand="gbr"][data-theme="dark"] .content-link__copy h3,
:root[data-brand="gbr"][data-theme="dark"] .content-link__action,
:root[data-brand="gbr"][data-theme="dark"] .embed-card__link,
:root[data-brand="gbr"][data-theme="dark"] .contact-detail__number-value,
:root[data-brand="gbr"][data-theme="dark"] .list-item__title,
:root[data-brand="gbr"][data-theme="dark"] .list-item__title--station {
  color: #edf2ff;
}

:root[data-brand="gbr"][data-theme="dark"] .list-item__subtitle,
:root[data-brand="gbr"][data-theme="dark"] .list-item__state,
:root[data-brand="gbr"][data-theme="dark"] .detail-card__meta,
:root[data-brand="gbr"][data-theme="dark"] .panel-card__subtitle,
:root[data-brand="gbr"][data-theme="dark"] .status-line,
:root[data-brand="gbr"][data-theme="dark"] .content-link__copy p,
:root[data-brand="gbr"][data-theme="dark"] .departure-board-note,
:root[data-brand="gbr"][data-theme="dark"] .empty-copy,
:root[data-brand="gbr"][data-theme="dark"] .call-chooser__meta,
:root[data-brand="gbr"][data-theme="dark"] .contact-detail__number-subtitle,
:root[data-brand="gbr"][data-theme="dark"] .platform-note,
:root[data-brand="gbr"][data-theme="dark"] .traction-group__note,
:root[data-brand="gbr"][data-theme="dark"] .help-signoff,
:root[data-brand="gbr"][data-theme="dark"] .queue-card__owner,
:root[data-brand="gbr"][data-theme="dark"] .locked-note,
:root[data-brand="gbr"][data-theme="dark"] .detail-card__lead,
:root[data-brand="gbr"][data-theme="dark"] .rail__meta {
  color: rgba(237, 242, 255, 0.76);
}

:root[data-brand="gbr"][data-theme="dark"] .fit-card__detail {
  color: rgba(237, 242, 255, 0.76);
}

:root[data-brand="gbr"][data-theme="dark"] .tone-success.fit-card {
  --fit-card-fade: rgba(22, 52, 30, 0.97);
}

:root[data-brand="gbr"][data-theme="dark"] .tone-danger.fit-card {
  --fit-card-fade: rgba(75, 25, 39, 0.97);
}

:root[data-brand="gbr"][data-theme="dark"] .tone-amber.fit-card {
  --fit-card-fade: rgba(74, 57, 20, 0.97);
}

:root[data-brand="gbr"][data-theme="dark"] .tone-muted.fit-card {
  --fit-card-fade: rgba(18, 34, 66, 0.97);
}

:root[data-brand="gbr"][data-theme="dark"] .list-item__chevron {
  color: rgba(255, 255, 255, 0.46);
}

:root[data-brand="gbr"][data-theme="dark"] .search-box__clear {
  color: var(--search-clear-color);
}

:root[data-brand="gbr"][data-theme="dark"] .search-box__clear:focus-visible {
  background: var(--search-clear-hover);
}

:root[data-brand="gbr"][data-theme="dark"] .filter-chip {
  background: var(--bottom-nav-item-bg);
  color: var(--bottom-nav-item-fg);
}

:root[data-brand="gbr"][data-theme="dark"] .filter-chip.is-active {
  background: var(--chip-active-bg);
  color: var(--chip-active-fg);
}

:root[data-brand="gbr"][data-theme="dark"] .bottom-nav__item.is-active {
  background: var(--nav-active-bg);
  color: var(--nav-active-fg);
}

:root[data-brand="gbr"][data-theme="dark"] .bottom-nav {
  border-top-color: var(--chrome-border);
  background: var(--chrome-bg);
}

:root[data-brand="gbr"][data-theme="dark"] .bottom-nav__item {
  background: var(--bottom-nav-item-bg);
  color: var(--bottom-nav-item-fg);
}

:root[data-brand="gbr"][data-theme="dark"] .board-screen__nav {
  background: var(--page-shell-bg);
}

:root[data-brand="gbr"][data-theme="dark"] .brand-theme-dialog__card .detail-card__meta {
  color: rgba(237, 242, 255, 0.76);
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .main-content--desktop-blade {
    padding:
      1.1rem
      calc(1.2rem + env(safe-area-inset-right))
      1.2rem
      calc(1.2rem + env(safe-area-inset-left));
  }

  .desktop-blade {
    display: grid;
    grid-template-columns: minmax(20rem, 27rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    width: min(100%, 120rem);
    margin: 0 auto;
  }

  .desktop-blade__list {
    position: sticky;
    top: calc(5.4rem + env(safe-area-inset-top));
    min-width: 0;
    max-height: calc(100dvh - 7.6rem - env(safe-area-inset-top));
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0 0.15rem 0.2rem;
  }

  .desktop-blade__detail {
    min-width: 0;
  }

  .desktop-blade__list .home-shell,
  .desktop-blade__detail .home-shell,
  .desktop-blade__detail .detail-shell,
  .desktop-blade__detail .studio-layout {
    max-width: none;
    margin: 0;
  }

  .desktop-blade__list .home-shell {
    gap: 0.75rem;
  }

  .desktop-blade__list .station-filter-rail {
    width: 100%;
    margin-right: 0;
  }

  .desktop-blade__list .station-filter-rail__scroller {
    padding-inline: 0.05rem;
  }

  .desktop-blade__list .home-panel {
    box-shadow: var(--shadow-sm);
  }

  .desktop-blade__list .home-panel--search {
    padding: 0.8rem;
  }

  .desktop-blade__list .search-box input {
    padding-block: 0.9rem;
    font-size: 0.98rem;
  }

  .desktop-blade__list .list-item {
    min-height: 3.75rem;
    padding: 0.85rem 1rem;
  }

  .desktop-blade__list .list-item__title--station,
  .desktop-blade__list .list-item__title {
    font-size: 0.98rem;
  }

  .desktop-blade__list .list-item__subtitle,
  .desktop-blade__list .list-item__subtitle--station {
    font-size: 0.86rem;
  }

  .desktop-blade__list .list-item.is-active,
  .desktop-blade-menu .list-item.is-active {
    border-color: var(--desktop-blade-active-border);
    background: var(--desktop-blade-active-bg);
  }

  .desktop-blade__detail .detail-card,
  .desktop-blade__detail .rail,
  .desktop-blade__detail .board-screen {
    max-width: none;
  }

  .desktop-blade__detail .detail-card--contact {
    max-width: none;
  }

  .desktop-blade__detail .board-screen {
    min-height: calc(100dvh - 8rem);
  }

  .desktop-blade__detail .board-screen__nav {
    padding: 0 0 0.9rem;
  }

  .desktop-blade__detail .departure-v2 {
    padding-inline: 0;
  }

  .desktop-blade__detail .map-preview img {
    width: min(58rem, calc(100vw - 34rem));
  }

  .desktop-blade__placeholder {
    min-height: calc(100dvh - 10rem);
    display: grid;
    align-content: center;
  }

  .desktop-blade-menu {
    display: grid;
    gap: 0.8rem;
  }

  .desktop-blade-menu__panel {
    display: grid;
    gap: 0;
    padding: 0;
    background: var(--surface-primary);
  }

  .desktop-blade-menu__header {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid var(--surface-border);
  }

  .desktop-blade-menu__header h2,
  .desktop-blade-menu__header p {
    margin: 0;
  }

  .desktop-blade-menu__header p:not(.eyebrow) {
    color: var(--ink-700);
  }

  .desktop-blade-menu .list {
    gap: 0;
  }

  .desktop-blade-menu .list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: var(--surface-primary);
  }

  .desktop-blade-menu .list-item:not(.is-active):hover {
    background: var(--surface-primary);
  }
}

@media (min-width: 900px) {
  html,
  body {
    scrollbar-width: none;
  }

  body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .workspace {
    grid-template-columns: minmax(19rem, 23rem) minmax(0, 1fr);
    align-items: start;
  }

  .map-preview img {
    width: min(40rem, calc(100vw - 6rem));
  }

  .favorite-button {
    padding-inline: 1rem;
  }

  .studio-grid,
  .access-grid,
  .panel-grid,
  .stat-grid,
  .fit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail {
    position: sticky;
    top: 6.1rem;
  }
}

@media (min-width: 1180px) {
  .detail-card,
  .rail {
    padding: 1.35rem;
  }

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

@media (max-width: 720px) {
  .main-content {
    padding-bottom: 7rem;
  }

  .app-shell--with-install-prompt .main-content {
    padding-bottom: 14rem;
  }

.embed-card__actions {
  justify-content: flex-start;
}

}

@media (max-width: 720px) {
  .named-service-card__intro {
    grid-template-columns: 1fr;
  }

  .named-service-artwork {
    width: 5.25rem;
    min-height: 5.25rem;
    padding: 0.6rem;
  }

  .auth-card__icon {
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 1.1rem;
  }

  .auth-loading-panel__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.15rem;
  }

  .auth-loading-panel__icon--fish {
    width: 5.15rem;
    height: 5.15rem;
    border-radius: 0;
  }

  .named-service-working__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
