/* Professional layer: loaded after site.css. Same palette, tighter typography, product-style layout. */
:root {
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --ok: #83f3c7;
  --warn: #ffb454;
  --radius: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .28);
}
body { font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* header ----------------------------------------------------------------- */
.site-header { backdrop-filter: blur(10px); background: rgba(6, 18, 27, .88); }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-text { line-height: 1.15; }
.nav-links a { padding: .35rem .6rem; border-radius: 6px; }
.nav-links a[aria-current="page"] { background: rgba(123, 223, 242, .1); color: white; }
.nav-links a:hover { background: rgba(255, 255, 255, .05); }

/* live status strip ----------------------------------------------------- */
.statusbar { border-bottom: 1px solid var(--line); background: #08202e; font-size: .8rem; color: var(--muted); }
.statusbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; min-height: 38px; padding-top: .25rem; padding-bottom: .25rem; }
.statusbar b { color: var(--text); font-weight: 650; font-family: var(--mono); font-size: .78rem; }
.dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--muted); margin-right: .4rem; vertical-align: .05rem; }
.dot.live { background: var(--ok); box-shadow: 0 0 0 0 rgba(131, 243, 199, .6); animation: pulse 2.4s infinite; }
.dot.stale { background: var(--warn); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(131, 243, 199, 0); } 100% { box-shadow: 0 0 0 0 rgba(131, 243, 199, 0); } }
@media (prefers-reduced-motion: reduce) { .dot.live { animation: none; } html { scroll-behavior: auto; } }

/* hero -------------------------------------------------------------------- */
.hero.pro { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); background:
  radial-gradient(60% 80% at 85% 0%, rgba(123, 223, 242, .13), transparent 62%),
  radial-gradient(40% 60% at 0% 100%, rgba(255, 180, 84, .07), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero.pro h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.045em; max-width: 14ch; }
.hero.pro .lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: rgba(16, 42, 58, .6); color: var(--muted); border-radius: 999px; padding: .28rem .75rem; font-size: .78rem; }
.button { border-radius: 8px; transition: transform .12s ease, background .12s ease; }
.button:hover { transform: translateY(-1px); color: #052017; background: #a3f7d8; }
.button.secondary:hover { background: rgba(255, 255, 255, .06); color: white; }

/* panels, KPIs ------------------------------------------------------------ */
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.panel h3 { margin: 0 0 .15rem; font-size: 1.02rem; letter-spacing: -.01em; }
.panel .sub { color: var(--muted); font-size: .8rem; margin: 0 0 .9rem; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: .7rem .85rem; background: rgba(6, 18, 27, .55); }
.kpi .label { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; }
.kpi .value { font-family: var(--mono); font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.15; margin-top: .15rem; }
.kpi .unit { font-size: .55em; color: var(--muted); margin-left: .15rem; font-weight: 500; }
.kpi .foot { color: var(--muted); font-size: .74rem; margin-top: .15rem; }
.badge { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); }
.badge.ok { color: var(--ok); border-color: rgba(131, 243, 199, .4); }
.badge.warn { color: var(--warn); border-color: rgba(255, 180, 84, .5); }
.panel-foot { margin: .85rem 0 0; color: var(--muted); font-size: .74rem; }

/* sections ----------------------------------------------------------------- */
.section.alt { background: #081a26; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { color: #b9ced8; margin: 0; }
.eyebrow.num::before { content: attr(data-n) "  /  "; color: var(--muted); }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pipeline > div { padding: 1.15rem 1.2rem; background: var(--panel); border-right: 1px solid var(--line); }
.pipeline > div:last-child { border-right: 0; }
.pipeline > div::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); color: var(--accent); font-size: .78rem; }
.pipeline h3 { margin: .35rem 0 .4rem; font-size: 1rem; }
.pipeline p { margin: 0; color: var(--muted); font-size: .86rem; }
.standards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.standards .panel p { margin: .35rem 0 0; color: #b9ced8; font-size: .92rem; }
.video-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
pre.cmd { background: #050f16; border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.1rem; overflow-x: auto; font-family: var(--mono); font-size: .84rem; color: #cdeee1; line-height: 1.7; }
pre.cmd .c { color: #6f8c9b; }

/* tables --------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 760px; }
table.data th, table.data td { padding: .8rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; background: #0a2130; position: sticky; top: 0; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 650; }

/* live page -------------------------------------------------------------------- */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.map-tools { display: flex; flex-wrap: wrap; gap: .6rem .9rem; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: #0a2130; font-size: .84rem; }
.map-tools label { color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; }
.map-tools select, .map-tools input[type="date"], .map-tools button { background: #061018; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .35rem .55rem; font: inherit; }
.map-tools button { cursor: pointer; }
.map-tools button:hover { border-color: var(--ice); }
.map.tall { height: min(70vh, 640px); }
.chart-note { color: var(--muted); font-size: .84rem; margin: .8rem 0 0; }
.legend-inline { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .7rem 0 0; font-size: .8rem; color: var(--muted); }
.legend-inline span::before { content: ""; display: inline-block; width: 1.4rem; height: 0; border-top: 3px solid var(--c); margin-right: .45rem; vertical-align: .22rem; }
.sparkline svg text { font-family: var(--mono); }

/* footer ------------------------------------------------------------------------- */
.site-footer.pro { padding: 2.5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { margin: 0 0 .6rem; color: var(--text); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; padding: .15rem 0; }
.footer-grid a:hover { color: white; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 1.8rem; padding-top: 1.1rem; font-size: .78rem; color: #7f9aa8; }

@media (max-width: 900px) {
  .hero-grid, .standards { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline > div { border-bottom: 1px solid var(--line); }
  .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .pipeline, .footer-grid { grid-template-columns: 1fr; }
  .hero.pro h1 { max-width: none; }
  .map.tall { height: 56vh; }
}

/* notices ------------------------------------------------------------------------------ */
.info-banner { background: #0f3a4d; color: #d6f4ff; padding: .48rem 1rem; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; border-bottom: 1px solid #1c5873; }
.live-grid > div + div { margin-top: 2.6rem; }
.panel ul { margin: .4rem 0 0; padding-left: 1.1rem; color: #b9ced8; font-size: .9rem; }
.panel li + li { margin-top: .4rem; }
.brand-text small { display: block; }

/* interaction and motion ---------------------------------------------------------------- */
.muted { color: var(--muted); font-size: .8rem; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: .4rem .65rem; font: inherit; cursor: pointer; }
.nav-toggle:hover { border-color: var(--ice); }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: .15rem; padding: .4rem 0 .8rem; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .6rem .5rem; }
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.card, .panel, .kpi { transition: border-color .2s ease, transform .2s ease; }
.card:hover, .panel:hover { border-color: #3a6b86; }
.chart-tip { position: absolute; top: 8px; z-index: 3; pointer-events: none; background: rgba(5, 15, 22, .94); border: 1px solid var(--line); border-radius: 8px; padding: .45rem .65rem; font-family: var(--mono); font-size: .76rem; line-height: 1.5; white-space: nowrap; }
.chart-tip[hidden] { display: none; }
.stop-pin { width: 26px; height: 26px; border-radius: 50%; background: var(--change); color: #1d1200; font: 700 .8rem var(--mono); display: grid; place-items: center; border: 2px solid #06121b; box-shadow: 0 0 0 2px rgba(255, 180, 84, .35); cursor: pointer; }
.route-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; align-items: end; }
.route-form label { display: flex; flex-direction: column; gap: .3rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.route-form select, .route-form input, .route-form button { background: #061018; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .55rem .65rem; font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.route-form button { cursor: pointer; align-self: end; }
.route-form button:hover { border-color: var(--ice); }
.warn-panel { border-left: 4px solid var(--warn); }
.info-banner.warn { background: #4a3410; border-bottom-color: #7a5818; color: #ffe3b0; }
.route-notes { list-style: none; margin: .9rem 0 0; padding: 0; color: #ffd7a0; font-size: .86rem; }
.route-notes li::before { content: "▲  "; color: var(--warn); font-size: .7rem; }
.status-board { display: grid; gap: .6rem; }
.status-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.status-row strong { display: block; font-size: .95rem; }
.status-row span:not(.badge) { color: var(--muted); font-size: .8rem; }
.status-row .badge { white-space: nowrap; }
.countdown { font-family: var(--mono); color: var(--text); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media print { .site-header, .statusbar, .info-banner, .demo-banner, .map-tools, .nav-toggle { display: none !important; } body { background: white; color: black; } }

/* route calculator ------------------------------------------------------------------------ */
.route-form label.check { flex-direction: row; align-items: center; gap: .55rem; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--text); align-self: end; padding-bottom: .5rem; }
.route-form label.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
table.data tr.chosen td { background: rgba(255, 180, 84, .06); }
.cp-dot { width: 11px; height: 11px; border-radius: 50%; background: #061018; border: 2px solid var(--ice); cursor: pointer; }

/* contact ----------------------------------------------------------------------------------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.form .wide { grid-column: 1 / -1; }
.form input, .form select, .form textarea { background: #061018; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .65rem .75rem; font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.form input:disabled, .form select:disabled, .form textarea:disabled { opacity: .5; }
.form textarea { resize: vertical; min-height: 8rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.form-actions .button { border: 0; font: inherit; font-weight: 760; cursor: pointer; }
.form-actions .button.secondary { border: 1px solid var(--line); }
.form-actions .button:disabled { opacity: .45; cursor: not-allowed; }
.form-status { min-height: 1.3rem; margin: 0; font-size: .86rem; color: var(--muted); }
.form-status.ok { color: var(--ok); }
.form-status.warn { color: var(--warn); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin-bottom: .6rem; padding: .85rem 1rem; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details[open] summary { margin-bottom: .5rem; }
.faq p { margin: 0; color: #b9ced8; font-size: .92rem; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.cta-band { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: center; background: linear-gradient(90deg, rgba(16, 42, 58, .95), rgba(11, 30, 43, .95)), radial-gradient(60% 120% at 100% 0, rgba(123, 223, 242, .15), transparent); }
.cta-band > div:first-child { max-width: 52ch; }

/* ---- route planner additions ---- */
.hero.compact { padding-bottom: 1.2rem; }
.section.tight { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.tabs { display: flex; gap: .4rem; margin-top: 1.4rem; flex-wrap: wrap; }
.tab { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer; }
.tab:hover { color: var(--text); border-color: var(--ice); }
.tab[aria-selected="true"] { background: var(--ice); color: #04121b; border-color: var(--ice); }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.route-form.world { grid-template-columns: minmax(180px, 1.4fr) auto minmax(180px, 1.4fr) minmax(110px, .6fr) minmax(190px, 1fr); }
.route-form fieldset.checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; border: 0; padding: 0; margin: 0; }
.route-form fieldset.checks legend { float: left; margin-right: 1rem; padding: 0; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; line-height: 2; }
.route-form fieldset.checks label.check { padding-bottom: 0; }
@media (max-width: 900px) { .route-form.world { grid-template-columns: 1fr 1fr; } .route-form.world #w-swap { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 560px) { .route-form.world { grid-template-columns: 1fr; } }
.busy { margin: .8rem 0 0; color: var(--muted); font-size: .9rem; }
tr.pick { cursor: pointer; }
tr.pick:hover td { background: rgba(123, 223, 242, .06); }
tr.pick:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
tr.pick.chosen td { background: rgba(255, 180, 84, .08); }
.badge.bad { background: rgba(255, 107, 122, .15); color: #ff9aa5; border-color: rgba(255, 107, 122, .4); }
details.limits { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; background: rgba(6, 18, 27, .5); }
details.limits summary { cursor: pointer; font-weight: 600; }

/* ---- home page ---- */
.home-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.4rem; align-items: center; }
.home-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 18ch; }
.hero-video { position: relative; }
.hero-video video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 12px; background: #000; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); border: 1px solid var(--line); }
.video-note { margin: .6rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
@media (max-width: 900px) { .home-hero .hero-grid { grid-template-columns: 1fr; } .hero-video { order: -1; } }
.planner-strip { padding-top: 0; margin-top: -.4rem; }
.quick-route { display: grid; grid-template-columns: auto minmax(160px, 1fr) minmax(160px, 1fr) auto; gap: .9rem; align-items: end; }
.quick-route .qr-title { display: flex; flex-direction: column; gap: .15rem; }
.quick-route .qr-title span { color: var(--muted); font-size: .82rem; }
.quick-route label { display: flex; flex-direction: column; gap: .3rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.quick-route select { background: #061018; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .65rem; font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; }
@media (max-width: 820px) { .quick-route { grid-template-columns: 1fr; } }
.card.tool { display: flex; flex-direction: column; gap: .5rem; }
.card.tool p:not(.kicker) { flex: 1; }
.card.tool .button { align-self: flex-start; }

.presets { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .9rem; color: var(--muted); font-size: .85rem; }
.presets button { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font: inherit; font-size: .82rem; cursor: pointer; }
.presets button:hover { border-color: var(--ice); color: var(--ice); }
.presets button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card.tool { gap: .15rem; }

/* ---- analyst tools: HUD, layers, time scrubber, export, briefing ---- */
.map-shell { position: relative; }
.map-hud { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; flex-wrap: wrap; gap: .2rem .9rem; max-width: calc(100% - 70px); padding: .35rem .6rem; border-radius: 8px; border: 1px solid rgba(36, 70, 91, .7); background: rgba(6, 18, 27, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-size: .68rem; letter-spacing: .02em; color: var(--muted); pointer-events: none; }
.map-hud span:first-child, .map-hud span:nth-child(2) { color: var(--text); }
@media (max-width: 640px) { .map-hud { font-size: .6rem; gap: .1rem .6rem; } .map-hud [data-h="xy"] { display: none; } }
.layer-bar, .time-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; padding: .7rem 1rem; border-top: 1px solid var(--line); background: rgba(6, 18, 27, .6); font-size: .82rem; color: var(--muted); }
.layer-ctl { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); }
.layer-ctl input[type="checkbox"] { accent-color: var(--accent); width: 1rem; height: 1rem; }
.layer-ctl input[type="range"], .time-bar input[type="range"] { accent-color: var(--ice); width: 90px; }
.time-bar input[type="range"] { width: min(360px, 55vw); }
.time-bar output { font-family: var(--mono); color: var(--text); min-width: 7ch; }
.time-bar .play, .export-bar button { background: #061018; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .3rem .65rem; font: inherit; font-size: .8rem; cursor: pointer; }
.time-bar .play:hover, .export-bar button:hover { border-color: var(--ice); color: var(--ice); }
.export-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; margin-top: .8rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(11, 30, 43, .6); font-size: .82rem; color: var(--muted); }
.export-title { font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.export-group { display: inline-flex; align-items: center; gap: .35rem; }
.export-name { color: var(--text); margin-right: .2rem; }
.export-bar .print-btn { margin-left: auto; }
.print-only { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; color: #111 !important; font-size: 11pt; }
  .site-header, .site-footer, .statusbar, .tabs, .route-form, .presets, .export-bar, .layer-bar, .time-bar, .map-hud, .nav, .skip, .hero .actions, .cta-band, #panel-arctic, details.limits, .maplibregl-ctrl-top-right, .busy { display: none !important; }
  .print-only { display: block !important; }
  .hero, .section, .section.alt, .panel, .kpi, .map-shell { background: #fff !important; color: #111 !important; border-color: #bbb !important; box-shadow: none !important; padding-top: .4rem; padding-bottom: .4rem; }
  .kpis { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .kpi .value, .kpi .label, .kpi .foot, table.data td, table.data th, .muted, .chart-note, .route-notes li { color: #111 !important; }
  .map { height: 90mm !important; }
  table.data { font-size: 9pt; page-break-inside: avoid; }
  .route-notes { font-size: 9pt; }
  h1, h2, h3 { color: #111 !important; }
}

/* ---- before/after curtain ---- */
.compare-wrap { position: relative; }
.compare-b { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.compare-line { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); z-index: 3; pointer-events: none; }
.compare-slider { display: flex; align-items: center; gap: .8rem; padding: .6rem 1rem; border-top: 1px solid var(--line); background: rgba(6, 18, 27, .6); color: var(--muted); font-size: .8rem; }
.compare-slider input { flex: 1; accent-color: var(--accent); }

/* ---- stations and vessels ---- */
.stn { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c); background: var(--c); box-shadow: 0 0 0 1px rgba(6, 18, 27, .9); cursor: pointer; }
.stn.model { background: transparent; border-style: solid; box-shadow: 0 0 0 1px rgba(6, 18, 27, .9), inset 0 0 0 1px rgba(6, 18, 27, .4); }
.maplibregl-popup-content { background: #0b1e2b; color: var(--text); border: 1px solid var(--line); font-size: .82rem; line-height: 1.45; }
.maplibregl-popup-tip { border-top-color: #0b1e2b !important; border-bottom-color: #0b1e2b !important; }
.dot-swatch { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; }
#ais-legend:empty { display: none; }
#ais-lakes button { background: #061018; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .25rem .6rem; font: inherit; font-size: .8rem; cursor: pointer; }
#ais-lakes button:hover { border-color: var(--ice); color: var(--ice); }
.export-help { flex-basis: 100%; font-size: .78rem; }
