:root {
    --ink: #132033;
    --muted: #68758a;
    --line: #dfe5ec;
    --surface: #ffffff;
    --surface-soft: #f5f7fa;
    --navy: #07111f;
    --blue: #176bff;
    --blue-dark: #0c52cf;
    --cyan: #22c9c3;
    --orange: #ff7b4c;
    --shadow: 0 18px 55px rgba(9, 25, 48, .16);
    --radius: 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; min-height: 100%; }

body { color: var(--ink); background: var(--surface-soft); }

button, input, select { font: inherit; }

button, select, input { border-radius: 10px; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(23, 107, 255, .25);
    outline-offset: 2px;
}

.site-header {
    position: relative;
    z-index: 1000;
    height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    color: #eaf1fb;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; width: fit-content; }
.brand-logo { display: block; width: 216px; height: auto; }
.brand strong { color: #fff; font-size: 15px; letter-spacing: .04em; white-space: nowrap; }

.primary-nav { display: flex; align-self: stretch; gap: 8px; }
.primary-nav a {
    min-width: 76px; display: grid; place-items: center; position: relative;
    color: #97a5b9; text-decoration: none; font-size: 14px; font-weight: 650;
}
.primary-nav a:hover { color: #fff; }
.primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px;
    border-radius: 3px 3px 0 0; background: var(--cyan);
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.location-nav { color: #c3cede; text-decoration: none; font-size: 13px; }
.location-nav:hover { color: #fff; }
.text-button {
    padding: 7px 10px; border: 0; color: #68758a; background: transparent;
    cursor: pointer; font-weight: 650;
}
.text-button:hover { color: var(--blue); background: rgba(23, 107, 255, .08); }

.tracker-page {
    position: relative;
    height: calc(100vh - 64px);
    min-height: 660px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
    overflow: hidden;
    background: #edf1f5;
}
.map-stage {
    position: relative;
    z-index: 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #d8e0e8;
    border-radius: var(--radius);
    background: #b9c7d3;
    box-shadow: 0 12px 38px rgba(9, 25, 48, .12);
}
.world-map { width: 100%; height: 100%; background: #b9c7d3; }
.map-unavailable {
    position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; text-align: center;
    color: #dce9f7; background-color: #183147;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 12.5% 25%;
}
.map-unavailable strong { font-size: 20px; }
.map-unavailable span { color: #9fb1c5; font-size: 13px; }

.station-switch {
    position: absolute; z-index: 1200; top: 18px; right: 20px; left: auto;
    display: flex; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.6);
    border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 8px 26px rgba(5,22,40,.18);
    backdrop-filter: blur(14px);
}
.station-chip {
    display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px;
    border: 0; background: transparent; color: #556276; cursor: pointer; font-size: 13px; font-weight: 700;
}
.station-chip:hover { background: #edf2f7; }
.station-chip.is-active { color: #fff; background: var(--navy); }
.station-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--blue); box-shadow: 0 0 0 4px rgba(23,107,255,.12); }
.station-dot-css { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,123,76,.15); }

.map-legend {
    position: absolute; z-index: 1200; top: 78px; right: 20px; left: auto;
    display: flex; gap: 15px; padding: 8px 11px; border-radius: 10px;
    color: #526075; background: rgba(255,255,255,.86); box-shadow: 0 6px 20px rgba(5,22,40,.12);
    backdrop-filter: blur(12px); font-size: 11px;
}
.map-legend span { display: flex; align-items: center; gap: 6px; }
.legend-line { display: inline-block; width: 19px; height: 2px; background: var(--navy); }
.legend-future { height: 0; border-top: 2px dashed var(--cyan); background: none; }
.legend-area { display: inline-block; width: 14px; height: 8px; border: 1px solid rgba(23,107,255,.7); border-radius: 50%; background: rgba(23,107,255,.1); }

.live-card {
    position: absolute; z-index: 1200; right: 20px; bottom: 20px; left: auto; width: 345px;
    padding: 16px; border: 1px solid rgba(255,255,255,.58); border-radius: 16px;
    color: #ebf3fb; background: rgba(7,17,31,.88); box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.live-heading { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 720; }
.live-heading time { margin-left: auto; color: #91a0b6; font-variant-numeric: tabular-nums; font-weight: 600; }
.live-pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ae6a7; box-shadow: 0 0 0 5px rgba(74,230,167,.12); }
.telemetry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 17px 0 13px; }
.telemetry-grid div { min-width: 0; }
.telemetry-grid dt { margin-bottom: 4px; color: #8291a8; font-size: 10px; }
.telemetry-grid dd { margin: 0; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.1); color: #8fa0b6; font-size: 10px; }

.pass-panel {
    position: relative; z-index: 30; width: 100%; min-width: 0; height: 100%;
    display: flex; flex-direction: column; padding: 22px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.78); border-radius: var(--radius);
    background: #fff; box-shadow: 0 12px 38px rgba(9, 25, 48, .1);
}
.pass-panel.is-collapsed { transform: none; opacity: 1; pointer-events: auto; }
.panel-heading { display: flex; gap: 16px; }
.panel-heading h1, .location-editor-head h1, .transit-intro h1 { margin: 3px 0 6px; font-size: clamp(25px, 3vw, 32px); letter-spacing: -.045em; line-height: 1.12; }
.panel-heading p:not(.eyebrow), .location-editor-head p:not(.eyebrow), .transit-intro p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.eyebrow { margin: 0; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.panel-toggle { display: none; margin-left: auto; width: 30px; height: 30px; border: 0; background: #eef2f6; color: #657287; cursor: pointer; font-size: 20px; line-height: 1; }
.panel-toggle:hover { color: var(--ink); background: #e1e7ee; }
.panel-reopen {
    display: none;
    position: absolute; z-index: 30; right: 20px; top: 20px; padding: 11px 16px;
    border: 0; color: #fff; background: var(--navy); box-shadow: var(--shadow); cursor: pointer; font-weight: 700;
}

.location-summary {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
    margin: 18px 0 14px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fb;
}
.location-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #e8f0ff; font-size: 18px; }
.location-summary strong, .location-summary span { display: block; }
.location-summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.location-summary span { margin-top: 2px; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.location-summary a { color: var(--blue); text-decoration: none; font-size: 12px; font-weight: 700; }

.pass-form label, .location-form label, .transit-controls label { display: grid; gap: 6px; color: #526075; font-size: 11px; font-weight: 680; }
.field-grid, .coordinate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
input, select {
    width: 100%; min-height: 41px; padding: 0 10px; border: 1px solid #d8dfe8; color: var(--ink); background: #fff; font-size: 12px;
}
input:hover, select:hover { border-color: #b7c2d1; }
input:focus, select:focus { border-color: var(--blue); }
.filter-details { margin: 10px 0; border-top: 1px solid #e5e9ef; border-bottom: 1px solid #e5e9ef; }
.filter-details summary { padding: 10px 2px; color: #68758a; cursor: pointer; font-size: 11px; font-weight: 700; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 12px; }
.primary-button {
    width: 100%; min-height: 43px; border: 0; color: #fff; background: var(--blue);
    box-shadow: 0 8px 20px rgba(23,107,255,.18); cursor: pointer; font-weight: 750; font-size: 13px;
}
.primary-button:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); }
.primary-button:disabled { color: #9da8b7; background: #e8ecf1; box-shadow: none; cursor: not-allowed; }

.pass-status { min-height: 20px; margin: 13px 0 7px; color: var(--muted); font-size: 11px; }
.pass-status.is-loading::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border: 2px solid #cfd7e2; border-top-color: var(--blue); border-radius: 50%; vertical-align: -2px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pass-results { flex: 1; min-height: 100px; overflow: auto; padding-right: 3px; scrollbar-width: thin; }
.pass-day { margin: 12px 0 6px; color: #7b8798; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.pass-card {
    width: 100%; display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 10px;
    margin-bottom: 7px; padding: 11px; border: 1px solid #e2e7ed; border-radius: 12px; text-align: left;
    color: inherit; background: #fff; cursor: pointer;
}
.pass-card:hover { border-color: #b9c9e7; background: #f8faff; transform: translateY(-1px); }
.pass-time strong, .pass-time small { display: block; font-variant-numeric: tabular-nums; }
.pass-time strong { font-size: 16px; letter-spacing: -.03em; }
.pass-time small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.pass-route strong, .pass-route span { display: block; }
.pass-route strong { font-size: 11px; }
.pass-route span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.pass-metrics { display: flex; gap: 7px; }
.pass-magnitude, .pass-peak { min-width: 56px; padding: 7px 6px; border-radius: 9px; text-align: center; color: var(--blue-dark); background: #edf3ff; font-size: 9px; }
.pass-magnitude strong, .pass-peak strong { display: block; font-size: 15px; }
.pass-card.is-hidden-pass .pass-magnitude, .pass-card.is-hidden-pass .pass-peak { color: #7e8794; background: #eff1f4; }
.status-pill { display: inline-block; margin-top: 4px; padding: 2px 5px; border-radius: 999px; color: #08795a; background: #e5f8f1; font-size: 8px; }
.status-pill.is-muted { color: #6d7582; background: #eceff3; }
.empty-state { display: grid; place-items: center; min-height: 150px; padding: 24px; border: 1px dashed #d6dde6; border-radius: 13px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.empty-state span { font-size: 10px; line-height: 1.6; }
.panel-note { padding-top: 10px; color: #909aa8; font-size: 9px; line-height: 1.55; }

.pass-dialog { width: min(610px, calc(100vw - 30px)); padding: 25px; border: 0; border-radius: 18px; color: var(--ink); box-shadow: 0 30px 90px rgba(4,17,34,.32); }
.pass-dialog::backdrop { background: rgba(4, 13, 25, .58); backdrop-filter: blur(4px); }
.pass-dialog h2 { margin: 5px 0; font-size: 24px; }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: 0; border-radius: 9px; background: #eef2f6; cursor: pointer; font-size: 20px; }
.dialog-subtitle, .dialog-tip { color: var(--muted); font-size: 11px; }
#sky-chart { display: block; width: min(100%, 560px); height: auto; margin: 14px auto; border-radius: 14px; background: #071321; }
.dialog-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dialog-event { padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.dialog-event span, .dialog-event small { display: block; }
.dialog-event span { color: var(--muted); font-size: 9px; }
.dialog-event strong { display: block; margin: 4px 0; font-size: 13px; }
.dialog-event small { color: #778397; font-size: 9px; }

/* Location page */
.location-page { min-height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(0, 1fr) 410px; background: #d5dfe8; }
.location-map-wrap { position: relative; z-index: 0; min-height: 580px; overflow: hidden; isolation: isolate; }
.map-hint { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 10; padding: 9px 13px; border-radius: 10px; color: #48576b; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(5,22,40,.14); font-size: 11px; }
.location-editor { padding: 38px 34px; background: #fff; box-shadow: -18px 0 50px rgba(8,28,51,.12); z-index: 10; }
.geolocation-button { width: 100%; min-height: 48px; margin-top: 25px; border: 1px solid #cfd9e8; color: var(--blue-dark); background: #f2f6ff; cursor: pointer; font-weight: 750; }
.geolocation-button:hover { border-color: #a9bfe3; background: #eaf1ff; }
.geolocation-button span { margin-right: 6px; font-size: 18px; vertical-align: -1px; }
.helper-text { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.helper-text.is-error { color: #b53b35; }
.section-divider { display: flex; align-items: center; gap: 10px; margin: 25px 0 18px; color: #98a2af; font-size: 9px; }
.section-divider::before, .section-divider::after { content: ""; flex: 1; height: 1px; background: #e4e8ee; }
.place-search { display: grid; gap: 7px; }
.place-search-form { display: grid; gap: 7px; }
.place-search-form > label { color: #526075; font-size: 11px; font-weight: 680; }
.search-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.search-input-row button {
    min-width: 66px; border: 0; color: #fff; background: var(--blue); cursor: pointer; font-size: 11px; font-weight: 750;
}
.search-input-row button:hover:not(:disabled) { background: var(--blue-dark); }
.search-input-row button:disabled { color: #9da8b7; background: #e8ecf1; cursor: wait; }
.place-search-results {
    max-height: 230px; overflow: auto; border: 1px solid #dfe5ec; border-radius: 11px; background: #fff; box-shadow: 0 10px 28px rgba(9,25,48,.09);
}
.place-search-result, .saved-location {
    width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px;
    padding: 10px 11px; border: 0; border-bottom: 1px solid #edf0f3; border-radius: 0; text-align: left; color: var(--ink); background: #fff; cursor: pointer;
}
.place-search-result:last-child, .saved-location:last-child { border-bottom: 0; }
.place-search-result:hover, .saved-location:hover { background: #f3f7ff; }
.place-search-result span, .place-search-result strong, .place-search-result small,
.saved-location span, .saved-location strong, .saved-location small { display: block; min-width: 0; }
.place-search-result strong, .saved-location strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.place-search-result small, .saved-location small { margin-top: 3px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.place-search-result em, .saved-location em { color: #8692a3; font-size: 8px; font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.saved-locations { margin-top: 16px; }
.saved-locations-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.saved-locations-head strong { font-size: 11px; }
.saved-locations-head .text-button { padding: 4px 6px; font-size: 9px; }
.saved-location-list { overflow: hidden; border: 1px solid #e1e6ec; border-radius: 11px; }
.saved-location em { color: var(--blue); font-weight: 750; }
.location-form { display: grid; gap: 14px; }
.location-form small { color: #8a95a5; font-size: 9px; font-weight: 400; }
.selected-coordinate { padding: 11px; border-radius: 10px; color: #647186; background: #f4f6f8; font-size: 10px; font-variant-numeric: tabular-nums; }
.selected-coordinate.is-selected { color: #0b6b51; background: #eaf8f2; }
.secondary-link { display: block; padding: 7px; color: #6c7889; text-align: center; text-decoration: none; font-size: 11px; font-weight: 700; }

/* Transit page */
.transit-page { width: min(1440px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 45px; }
.transit-intro { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 24px; }
.transit-intro > div:first-child { max-width: 680px; }
.tle-summary { max-width: 390px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: right; }
.tle-summary span, .tle-summary small { display: block; }
.tle-summary span { font-size: 11px; font-weight: 700; }
.tle-summary small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.notice-banner { margin-bottom: 14px; padding: 11px 14px; border: 1px solid #bbd7c9; border-radius: 10px; color: #1f674a; background: #edfaf3; font-size: 11px; }
.transit-workspace { min-height: 670px; display: grid; grid-template-columns: minmax(0, 1fr) 370px; border: 1px solid #dce2e9; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 45px rgba(12,30,53,.09); }
.transit-map-card { position: relative; min-height: 670px; background: #ccd8e2; }
.transit-map { width: 100%; height: 100%; }
.transit-map-hint { position: absolute; left: 18px; bottom: 18px; z-index: 5; max-width: 360px; padding: 9px 12px; border-radius: 10px; color: #526075; background: rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(7,25,45,.12); font-size: 10px; }
.transit-controls { padding: 25px; overflow: auto; }
.transit-controls form:first-child { display: grid; gap: 15px; }
.coordinate-readout { margin-top: 20px; padding: 12px; border-radius: 10px; background: #f4f6f9; }
.coordinate-readout strong, .coordinate-readout span { display: block; }
.coordinate-readout strong { font-size: 11px; }
.coordinate-readout span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.transit-plot { display: block; max-width: 100%; height: auto; margin: 10px auto; border-radius: 10px; }

/* Temporarily public placeholder; the transit calculation UI and scripts remain intact. */
.coming-soon-page {
    min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 32px;
    background: radial-gradient(circle at 50% 28%, rgba(23,107,255,.10), transparent 34%), #f3f6f9;
}
.coming-soon-card {
    width: min(580px, 100%); padding: 54px 44px; border: 1px solid var(--line); border-radius: 22px;
    text-align: center; background: rgba(255,255,255,.94); box-shadow: 0 22px 70px rgba(9,25,48,.12);
}
.coming-soon-orbit {
    position: relative; width: 92px; height: 92px; margin: 0 auto 26px;
    border: 1px solid rgba(23,107,255,.32); border-radius: 50%; transform: rotate(-22deg);
}
.coming-soon-orbit::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px;
    border-radius: 50%; background: var(--navy); transform: translate(-50%, -50%);
    box-shadow: 0 0 0 9px rgba(23,107,255,.09);
}
.coming-soon-orbit::after {
    content: ""; position: absolute; right: 4px; top: 16px; width: 10px; height: 10px;
    border: 3px solid #fff; border-radius: 50%; background: var(--orange); box-shadow: 0 4px 12px rgba(9,25,48,.18);
}
.coming-soon-card h1 { margin: 5px 0 12px; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.04em; }
.coming-soon-card > p:not(.eyebrow) { max-width: 430px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.8; }
.coming-soon-card .primary-button { display: inline-block; width: auto; margin-top: 30px; padding: 12px 24px; text-decoration: none; }

@media (max-width: 900px) {
    .site-header { grid-template-columns: auto 1fr auto; padding: 0 14px; gap: 8px; }
    .brand-logo { width: 176px; }
    .primary-nav { justify-content: center; }
    .primary-nav a { min-width: 60px; }
    .location-nav { display: none; }
    .tracker-page { height: auto; min-height: calc(100vh - 64px); overflow: visible; display: flex; flex-direction: column; padding: 12px; background: #eef2f6; }
    .map-stage { position: relative; flex: none; min-height: 58vh; height: 58vh; border-radius: 15px; }
    .pass-panel { position: relative; inset: auto; width: 100%; height: auto; min-height: 620px; border-radius: 15px; box-shadow: none; overflow: visible; }
    .pass-panel.is-collapsed { transform: none; opacity: 1; pointer-events: auto; }
    .panel-toggle, .panel-reopen { display: none; }
    .live-card { right: 12px; bottom: 56px; left: auto; width: min(345px, calc(100% - 24px)); }
    .station-switch { top: 12px; right: 12px; left: auto; max-width: calc(100% - 24px); }
    .map-legend { display: none; }
    .location-page { grid-template-columns: 1fr; }
    .location-map-wrap { min-height: 48vh; }
    .location-editor { padding: 28px 20px 40px; box-shadow: none; }
    .transit-page { width: calc(100% - 24px); padding-top: 24px; }
    .transit-intro { display: block; }
    .tle-summary { margin-top: 16px; text-align: left; }
    .transit-workspace { grid-template-columns: 1fr; }
    .transit-map-card { min-height: 55vh; }
}

@media (max-width: 520px) {
    .site-header { height: 58px; }
    .tracker-page, .location-page { min-height: calc(100vh - 58px); }
    .station-chip { padding: 0 10px; }
    .live-card { padding: 13px; }
    .telemetry-grid { grid-template-columns: repeat(2, 1fr); }
    .pass-panel { padding: 20px 16px; }
    .field-grid, .coordinate-grid { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: 1fr; }
    .brand { gap: 7px; }
    .brand-logo { width: 124px; }
    .brand strong { display: none; }
    .pass-card { grid-template-columns: 66px minmax(0, 1fr); }
    .pass-metrics { grid-column: 1 / -1; width: 100%; }
    .pass-magnitude, .pass-peak { flex: 1; }
    .dialog-events { grid-template-columns: 1fr; }
    .coming-soon-page { min-height: calc(100vh - 58px); padding: 18px; }
    .coming-soon-card { padding: 42px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
