:root {
  --bg: #050b10;
  --bg-soft: #081219;
  --panel: #0b161f;
  --panel-raised: #101e28;
  --panel-glass: rgba(8, 18, 25, 0.88);
  --edge: #203440;
  --edge-bright: #3b5666;
  --text: #d8e5ec;
  --bright: #f7fbfd;
  --muted: #a8bbc7;
  --quiet: #7e95a3;
  --cyan: #67d8e7;
  --cyan-soft: #2c8190;
  --amber: #ffad14;
  --red: #f05252;
  --green: #35d69f;
  --violet: #a78bfa;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-200%);
  border-radius: 3px;
  background: var(--bright);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(87, 119, 137, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 119, 137, 0.038) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0, rgba(0, 0, 0, 0.65) 55%, transparent 95%);
}

.page-glow {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.page-glow-cyan {
  top: 5vh;
  right: -16vw;
  width: 48vw;
  height: 48vw;
  background: rgba(39, 137, 155, 0.11);
}

.page-glow-amber {
  top: 74vh;
  left: -20vw;
  width: 40vw;
  height: 40vw;
  background: rgba(255, 173, 20, 0.055);
}

.site-header {
  position: relative;
  z-index: 40;
  width: min(1540px, calc(100% - 64px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(59, 86, 102, 0.5);
}

.wordmark {
  width: max-content;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

.wordmark strong {
  color: var(--amber);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a,
.sign-in-link,
.site-footer a,
.footer-link {
  transition: color 160ms ease;
}

.site-nav a:hover,
.sign-in-link:hover,
.site-footer a:hover,
.footer-link:hover {
  color: var(--bright);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sign-in-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0 24px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.scenario-button:focus-visible,
.workflow-step:focus-visible,
.layer-row:focus-visible,
.map-layer-trigger:focus-visible,
.map-station:focus-visible,
.dialog-close:focus-visible,
.footer-link:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.button-primary {
  background: var(--bright);
  color: var(--bg);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.07);
}

.button-primary:hover {
  background: #dbe9ef;
}

.button-secondary {
  border-color: var(--edge-bright);
  background: rgba(10, 22, 30, 0.62);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--muted);
  background: var(--panel-raised);
}

.button-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 11px;
}

.hero {
  width: min(1540px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 0;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 980px;
}

.pilot-chip {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pilot-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(53, 214, 159, 0.08);
}

.hero h1 {
  max-width: 1060px;
  margin: 18px 0 0;
  color: var(--bright);
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 em {
  display: inline-block;
  color: #8299a7;
  font-style: normal;
}

.hero-copy > p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 29px;
  margin-top: 42px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-line span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-line i {
  width: 9px;
  height: 9px;
  display: inline-block;
}

.shape-diamond {
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.shape-circle {
  border-radius: 50%;
  background: var(--amber);
}

.shape-square {
  border: 2px solid var(--green);
  border-radius: 1px;
}

.hero-stage {
  position: relative;
  z-index: 3;
  margin-top: 74px;
  padding: 0 3.5vw;
}

.stage-glow {
  position: absolute;
  top: 10%;
  right: 9%;
  bottom: 0;
  left: 9%;
  border-radius: 50%;
  background: rgba(38, 112, 127, 0.13);
  filter: blur(90px);
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(71, 99, 115, 0.88);
  border-radius: 5px;
  background: #071017;
  box-shadow:
    0 58px 120px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 -1px 70px rgba(58, 132, 148, 0.05) inset;
}

.product-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.035), transparent 24%);
  mix-blend-mode: screen;
}

.product-topbar {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--edge);
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.product-brand {
  color: var(--amber);
  font-size: 11px;
}

.product-brand span {
  color: var(--text);
}

.product-nav {
  display: flex;
  align-self: stretch;
  gap: 3px;
  margin-left: 42px;
}

.product-nav span {
  min-width: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid transparent;
  color: var(--quiet);
}

.product-nav span.active {
  border-color: var(--amber);
  color: var(--bright);
}

.product-nav b {
  min-width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border-radius: 50%;
  background: rgba(240, 82, 82, 0.18);
  color: var(--red);
  font-size: 8px;
}

.product-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.product-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.product-clock {
  width: 78px;
  margin-left: 18px;
  color: var(--muted);
  text-align: right;
}

.scenario-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
  padding: 0 14px 0 18px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.scenario-bar > div {
  display: flex;
  gap: 4px;
}

.scenario-bar > strong {
  color: var(--amber);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.scenario-button {
  min-height: 25px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--quiet);
  padding: 0 11px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-button:hover {
  color: var(--text);
}

.scenario-button.active {
  border-color: rgba(255, 173, 20, 0.4);
  background: rgba(255, 173, 20, 0.08);
  color: var(--amber);
}

.ops-canvas {
  --radar-opacity: 0.68;
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #08131a;
}

.ops-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 11, 16, 0.18), transparent 32%, rgba(5, 11, 16, 0.04));
}

.map-camera {
  position: absolute;
  inset: -8%;
  z-index: 1;
  transform: translate3d(0, 0, 0) scale(0.9);
  transform-origin: center;
  transition: transform 2400ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.map-marker-camera {
  z-index: 4;
  pointer-events: none;
}

.map-marker-camera .map-station {
  pointer-events: auto;
}

.map-camera.focus-north {
  transform: translate3d(-4%, -4%, 0) scale(1.18);
}

.map-camera.focus-east {
  transform: translate3d(-12%, 10%, 0) scale(1.18);
}

.map-camera.focus-coastal {
  transform: translate3d(-9%, -12%, 0) scale(1.18);
}

.map-layer-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.map-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.map-radar {
  opacity: var(--radar-opacity);
  transition: opacity 220ms ease;
}

.ops-canvas.hide-radar .map-radar {
  opacity: 0;
}

.ops-map {
  display: none;
}

.landmass {
  fill: #111d24;
}

.coastline {
  fill: none;
  stroke: #47616f;
  stroke-width: 1.5;
}

.county-line {
  fill: none;
  stroke: #283c47;
  stroke-width: 0.8;
  opacity: 0.68;
}

.route-line {
  fill: none;
  stroke: #314750;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.route-line.major {
  stroke: #4b6873;
  stroke-width: 1.2;
  stroke-dasharray: none;
}

.radar-wind,
.radar-tropical,
.scenario-wind,
.scenario-tropical {
  opacity: 0;
  transition: opacity 260ms ease;
}

.ops-canvas[data-scenario-canvas="wind"] .radar-convective,
.ops-canvas[data-scenario-canvas="tropical"] .radar-convective,
.ops-canvas[data-scenario-canvas="wind"] .scenario-convective,
.ops-canvas[data-scenario-canvas="tropical"] .scenario-convective {
  opacity: 0;
}

.ops-canvas[data-scenario-canvas="wind"] .radar-wind,
.ops-canvas[data-scenario-canvas="wind"] .scenario-wind,
.ops-canvas[data-scenario-canvas="tropical"] .radar-tropical,
.ops-canvas[data-scenario-canvas="tropical"] .scenario-tropical {
  opacity: 1;
}

.approach-track,
.approach-track-glow {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 8 9;
  opacity: 0.65;
  transition: opacity 260ms ease;
}

.approach-track-glow {
  stroke-width: 8;
  opacity: 0.15;
  filter: url("#tinyGlow");
}

.range {
  fill: none;
  stroke-width: 1;
}

.range-far {
  stroke: rgba(255, 173, 20, 0.48);
  stroke-dasharray: 5 7;
}

.range-mid {
  stroke: rgba(255, 173, 20, 0.66);
}

.range-near {
  stroke: rgba(240, 82, 82, 0.84);
}

.station-halo {
  fill: rgba(103, 216, 231, 0.13);
  stroke: rgba(103, 216, 231, 0.4);
}

.station-core {
  fill: var(--cyan);
}

.station-core.quiet {
  fill: var(--green);
}

.map-city,
.map-road {
  fill: #91a7b4;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.map-road {
  fill: #586f7b;
  font-size: 7px;
}

.lightning circle {
  fill: #ffe16b;
  stroke: rgba(255, 225, 107, 0.35);
  stroke-width: 8;
}

.wind-barbs {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.tc-track path {
  fill: none;
  stroke: var(--violet);
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.tc-track circle {
  fill: #071017;
  stroke: var(--violet);
  stroke-width: 2;
}

.map-layer-trigger {
  position: absolute;
  z-index: 8;
  top: 14px;
  left: 50%;
  display: none;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 173, 20, 0.42);
  border-radius: 3px;
  background: rgba(7, 16, 23, 0.88);
  color: var(--amber);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-layer-trigger b {
  min-width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  border-radius: 50%;
  background: rgba(255, 173, 20, 0.13);
}

.layer-panel {
  position: absolute;
  z-index: 9;
  top: 18px;
  right: 18px;
  width: 286px;
  overflow: hidden;
  border: 1px solid rgba(61, 87, 101, 0.9);
  border-radius: 3px;
  background: rgba(7, 16, 23, 0.95);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.44);
}

.layer-panel-heading {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--edge);
  padding: 9px 12px;
}

.layer-panel-heading span,
.layer-panel-heading strong {
  display: block;
}

.layer-panel-heading span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.layer-panel-heading strong {
  margin-top: 4px;
  color: var(--bright);
  font-size: 12px;
}

.layer-panel-heading button {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--quiet);
  cursor: pointer;
  font-size: 20px;
}

.layer-row {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid rgba(32, 52, 64, 0.76);
  background: transparent;
  color: var(--quiet);
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
}

.layer-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.layer-row span strong,
.layer-row span small {
  display: block;
}

.layer-row span strong {
  color: var(--text);
  font-size: 11px;
}

.layer-row span small {
  margin-top: 4px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
}

.layer-row > b {
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
}

.layer-row:not(.active) {
  opacity: 0.55;
}

.layer-row:not(.active) > b {
  color: var(--quiet);
}

.layer-swatch {
  width: 8px;
  height: 8px;
  display: block;
  border: 1px solid currentColor;
}

.layer-swatch-radar {
  border: 0;
  background: linear-gradient(135deg, #24b47e, #f4b321, #e94b4b);
}

.layer-swatch-sites {
  border-radius: 50%;
  background: var(--green);
  color: var(--green);
}

.layer-swatch-rings {
  border-radius: 50%;
  color: var(--amber);
}

.layer-swatch-alerts {
  border-radius: 50%;
  background: var(--red);
  color: var(--red);
}

.radar-opacity-control {
  display: block;
  padding: 12px;
}

.radar-opacity-control span {
  display: flex;
  justify-content: space-between;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.radar-opacity-control b {
  color: var(--text);
}

.radar-opacity-control input {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--amber);
}

.map-station {
  position: absolute;
  z-index: 5;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.map-station b {
  position: absolute;
  z-index: 3;
  top: 6px;
  left: 6px;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(5, 11, 16, 0.82);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(53, 214, 159, 0.8);
}

.map-station-primary b {
  background: var(--red);
  box-shadow:
    0 0 0 1px var(--red),
    0 0 24px rgba(240, 82, 82, 0.9);
}

.map-station.selected b {
  box-shadow:
    0 0 0 1px var(--green),
    0 0 0 6px rgba(53, 214, 159, 0.12),
    0 0 20px rgba(53, 214, 159, 0.7);
}

.map-station-primary.selected b {
  box-shadow:
    0 0 0 1px var(--red),
    0 0 0 6px rgba(240, 82, 82, 0.12),
    0 0 24px rgba(240, 82, 82, 0.9);
}

.map-station span {
  position: absolute;
  top: -7px;
  left: 24px;
  color: var(--bright);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-shadow: 0 1px 3px #000, 0 0 8px #000;
  white-space: nowrap;
}

.station-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 173, 20, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.station-ring-50 {
  width: 220px;
  height: 220px;
  border-style: dashed;
}

.station-ring-25 {
  width: 118px;
  height: 118px;
}

.station-ring-10 {
  width: 52px;
  height: 52px;
  border-color: rgba(240, 82, 82, 0.9);
}

.map-station-primary {
  top: 56%;
  left: 54%;
}

.map-station-east {
  top: 30%;
  left: 69%;
}

.map-station-coastal {
  top: 74%;
  left: 66%;
}

.ops-canvas.hide-sites .map-station {
  opacity: 0;
  pointer-events: none;
}

.ops-canvas.hide-rings .station-ring {
  opacity: 0;
}

.ops-canvas.hide-alerts .queue-panel,
.ops-canvas.hide-alerts .station-ring-50,
.ops-canvas.hide-alerts .station-ring-10 {
  opacity: 0;
  pointer-events: none;
}

.ops-canvas.hide-alerts .station-alert {
  display: none;
}

.ops-canvas.hide-alerts .map-station-primary b {
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(53, 214, 159, 0.8);
}

.queue-panel {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  width: 250px;
  overflow: hidden;
  border: 1px solid rgba(61, 87, 101, 0.85);
  border-radius: 3px;
  background: rgba(7, 16, 23, 0.93);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.panel-heading {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--edge);
  padding: 0 13px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.panel-heading b {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(240, 82, 82, 0.16);
  color: var(--red);
}

.queue-item {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(32, 52, 64, 0.72);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
}

.queue-item i {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.queue-item-critical {
  color: var(--red);
}

.queue-item-watch {
  color: var(--amber);
}

.queue-item div strong,
.queue-item div span {
  display: block;
}

.queue-item div strong {
  color: var(--text);
  font-size: 11px;
}

.queue-item div span {
  margin-top: 5px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.queue-item em {
  color: currentColor;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.queue-footer {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  color: #637b88;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.station-panel {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 18px;
  width: 320px;
  overflow: hidden;
  border: 1px solid rgba(61, 87, 101, 0.85);
  border-radius: 3px;
  background: rgba(7, 16, 23, 0.95);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.42);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.station-panel.closed {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.ops-canvas.layers-open .station-panel {
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.station-panel-top {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--edge);
  padding: 0 12px;
}

.station-panel-top div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.station-panel-top span {
  color: var(--bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.station-panel-top strong {
  border: 1px solid rgba(255, 173, 20, 0.45);
  border-radius: 2px;
  color: var(--amber);
  padding: 3px 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.station-panel-top button {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--quiet);
}

.station-panel > p {
  margin: 0;
  border-bottom: 1px solid var(--edge);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 10px;
}

.station-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--edge);
}

.station-metrics div {
  padding: 11px 12px;
}

.station-metrics div + div {
  border-left: 1px solid var(--edge);
}

.station-metrics span,
.station-metrics strong,
.station-alert span,
.station-alert strong {
  display: block;
}

.station-metrics span,
.station-alert span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.station-metrics strong {
  margin-top: 5px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
}

.station-alert {
  padding: 11px 12px;
}

.station-alert strong {
  margin-top: 5px;
  color: var(--amber);
  font-size: 11px;
}

.station-actions {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
}

.station-actions span {
  border: 1px solid var(--edge);
  border-radius: 2px;
  padding: 6px 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
}

.evidence-card {
  position: absolute;
  z-index: 5;
  top: 39%;
  right: 21px;
  width: 267px;
  border: 1px solid rgba(61, 87, 101, 0.82);
  border-radius: 3px;
  background: rgba(7, 16, 23, 0.92);
  padding: 13px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.evidence-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.evidence-kicker i {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.evidence-card > strong,
.evidence-card > span {
  display: block;
}

.evidence-card > strong {
  margin-top: 9px;
  color: var(--bright);
  font-size: 11px;
}

.evidence-card > span {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.45;
}

.map-scale {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.map-scale i {
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #1b9067, #83b934, #ffad14, #f05252);
}

.map-playback {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(61, 87, 101, 0.84);
  border-radius: 3px;
  background: rgba(7, 16, 23, 0.94);
  padding: 8px 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.32);
  font-family: var(--mono);
}

.map-playback button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 3px 4px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-playback button:hover {
  color: var(--bright);
}

.map-playback [data-radar-play] {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--bright);
}

.map-playback [data-radar-play] > i {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 3px double var(--amber);
  border-left: 3px double var(--amber);
}

.map-playback [data-radar-play].paused > i {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-right: 0;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--amber);
}

.playback-progress {
  width: 92px;
  height: 2px;
  overflow: hidden;
  background: var(--edge-bright);
}

.playback-progress i {
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleX(0.125);
  transform-origin: left;
  background: var(--amber);
  transition: transform 180ms linear;
}

.map-playback time {
  min-width: 47px;
  color: var(--bright);
  font-size: 9px;
  font-weight: 900;
}

.map-playback [data-camera-toggle] {
  border-left: 1px solid var(--edge);
  color: var(--amber);
  padding-left: 12px;
}

.product-footbar {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--edge);
  padding: 0 18px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.product-footbar div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-footbar .fresh {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.footbar-spacer {
  flex: 1;
}

.product-footbar .not-live {
  color: var(--amber);
}

.sector-strip {
  min-height: 126px;
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid rgba(59, 86, 102, 0.5);
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.sector-strip > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 34px;
}

.sector-strip b {
  color: #879da9;
  font-size: 10px;
}

.workflow-section {
  width: min(1540px, calc(100% - 64px));
  margin: 0 auto;
  padding: 160px 0 180px;
}

.section-intro {
  max-width: 1000px;
}

.section-intro > span,
.operating-model-copy > span,
.principles-heading > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-intro h2,
.operating-model-copy h2,
.principles-heading h2 {
  margin: 22px 0 0;
  color: var(--bright);
  font-size: clamp(42px, 5.3vw, 82px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-intro p {
  max-width: 740px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.workflow-story {
  display: flex;
  flex-direction: column;
  margin-top: 76px;
}

.workflow-visual {
  order: 2;
}

.story-window {
  overflow: hidden;
  border: 1px solid rgba(67, 93, 108, 0.85);
  border-radius: 4px;
  background: #08121a;
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.4);
}

.story-topbar,
.story-footbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
  padding: 0 14px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.story-topbar strong {
  color: var(--amber);
}

.story-footbar {
  min-height: 36px;
  border-top: 1px solid var(--edge);
  border-bottom: 0;
  font-size: 7px;
}

.story-footbar span:last-child {
  color: var(--amber);
}

.story-panel {
  position: relative;
  min-height: 460px;
  display: none;
}

.story-panel.active {
  display: grid;
  animation: panel-in 320ms ease-out both;
}

.story-detect {
  grid-template-columns: 1.18fr 0.82fr;
}

.story-map {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--edge);
  background: #0a151d;
}

.story-map-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-map-radar {
  opacity: 0.7;
}

.story-radar-clock {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 10px;
  border: 1px solid rgba(61, 87, 101, 0.78);
  border-radius: 2px;
  background: rgba(7, 16, 23, 0.9);
  padding: 7px 9px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.story-radar-clock time {
  color: var(--bright);
}

.story-radar {
  display: none;
}

.story-ring {
  position: absolute;
  top: 39%;
  right: 12%;
  border: 1px solid rgba(255, 173, 20, 0.63);
  border-radius: 50%;
}

.story-ring-a {
  width: 180px;
  height: 180px;
}

.story-ring-b {
  width: 92px;
  height: 92px;
  margin: 44px;
  border-color: rgba(240, 82, 82, 0.8);
}

.story-site {
  position: absolute;
  top: calc(39% + 85px);
  right: calc(12% + 85px);
  width: 10px;
  height: 10px;
  border: 3px solid rgba(103, 216, 231, 0.28);
  border-radius: 50%;
  background: var(--cyan);
}

.story-site::after {
  content: "NORTH HUB";
  position: absolute;
  top: -13px;
  left: 15px;
  color: var(--bright);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px #000, 0 0 8px #000;
  white-space: nowrap;
}

.story-track {
  display: none;
}

.story-side {
  padding: 32px 26px;
}

.story-side > span,
.watch-transfer > span,
.handoff-note > span,
.verify-outcome > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.story-side > strong {
  display: block;
  margin-top: 15px;
  color: var(--bright);
  font-size: 20px;
  line-height: 1.25;
}

.story-side > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
  padding: 18px 0 10px;
}

.story-side b {
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}

.story-side em {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.story-side p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.story-triage {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 1px;
  background: var(--edge);
}

.triage-column {
  background: #09141c;
  padding: 24px;
}

.triage-column.handled {
  background: #081219;
}

.triage-column header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
  padding: 0 0 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.triage-column header b {
  color: var(--bright);
}

.triage-column article {
  min-height: 88px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(32, 52, 64, 0.75);
}

.triage-column article i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--amber);
  border-radius: 50%;
}

.triage-column article.urgent i {
  border-color: var(--red);
  background: rgba(240, 82, 82, 0.28);
}

.triage-column article strong,
.triage-column article span {
  display: block;
}

.triage-column article strong {
  color: var(--text);
  font-size: 11px;
}

.triage-column article span {
  margin-top: 6px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
}

.triage-column article small {
  display: block;
  margin-top: 5px;
  color: #6f8795;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.triage-column article em {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}

.triage-column.handled article {
  opacity: 0.72;
}

.triage-column.handled article em {
  color: var(--green);
}

.triage-detail {
  grid-column: 1 / -1;
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr) auto;
  align-items: center;
  gap: 24px;
  background: #0b1821;
  padding: 18px 24px;
}

.triage-detail > div:first-child span,
.triage-detail > div:first-child strong {
  display: block;
}

.triage-detail > div:first-child span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.triage-detail > div:first-child strong {
  margin-top: 7px;
  color: var(--bright);
  font-size: 13px;
}

.triage-detail dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}

.triage-detail dl div {
  border-left: 1px solid var(--edge);
  padding: 4px 13px;
}

.triage-detail dt,
.triage-detail dd {
  margin: 0;
  font-family: var(--mono);
}

.triage-detail dt {
  color: var(--quiet);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.triage-detail dd {
  margin-top: 6px;
  color: var(--text);
  font-size: 9px;
}

.triage-actions {
  display: flex;
  gap: 7px;
}

.triage-actions button,
.handoff-note button {
  min-height: 32px;
  border: 1px solid var(--edge-bright);
  border-radius: 2px;
  background: var(--panel-raised);
  color: var(--text);
  padding: 0 11px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.triage-actions button:first-child,
.handoff-note button {
  border-color: rgba(255, 173, 20, 0.5);
  color: var(--amber);
}

.story-handoff {
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: 0.82fr 1.18fr;
  gap: 1px;
  background: var(--edge);
}

.watch-transfer,
.handoff-note,
.handoff-list {
  background: #09141c;
  padding: 29px;
}

.watch-transfer {
  border-bottom: 1px solid var(--edge);
}

.watch-transfer div {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 23px;
}

.watch-transfer strong {
  color: var(--bright);
  font-family: var(--mono);
  font-size: 16px;
}

.watch-transfer i {
  color: var(--amber);
  font-style: normal;
}

.watch-transfer p,
.handoff-note p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.watch-transfer .transfer-state {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.transfer-state b {
  border: 1px solid rgba(53, 214, 159, 0.3);
  border-radius: 2px;
  color: var(--green);
  padding: 6px 8px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.handoff-list {
  grid-row: span 2;
}

.handoff-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
  padding-bottom: 15px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.handoff-list header b {
  color: var(--text);
}

.handoff-list article {
  border-bottom: 1px solid var(--edge);
  padding: 18px 0;
}

.handoff-list span,
.handoff-list strong,
.handoff-list em {
  display: block;
}

.handoff-list span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.handoff-list strong {
  margin-top: 7px;
  color: var(--bright);
  font-family: var(--mono);
  font-size: 18px;
}

.handoff-list em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.handoff-concern {
  margin-top: 20px;
  border: 1px solid rgba(255, 173, 20, 0.32);
  border-radius: 2px;
  background: rgba(255, 173, 20, 0.04);
  padding: 15px;
}

.handoff-concern span,
.handoff-concern strong,
.handoff-concern p {
  display: block;
}

.handoff-concern span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.handoff-concern strong {
  margin-top: 7px;
  color: var(--bright);
  font-size: 12px;
}

.handoff-concern p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.handoff-note ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.handoff-note li {
  position: relative;
  color: var(--text);
  padding-left: 15px;
  font-size: 10px;
}

.handoff-note li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.handoff-note > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  border-top: 1px solid var(--edge);
  padding-top: 14px;
}

.handoff-note > div b {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.story-triage,
.story-handoff {
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 0;
  background: #071017;
}

.mini-app-nav {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-right: 1px solid var(--edge);
  background: #060e14;
  padding: 13px 7px 9px;
}

.mini-app-nav > strong {
  display: grid;
  place-items: center;
  height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(98, 213, 232, 0.42);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.mini-app-nav > span {
  position: relative;
  min-height: 38px;
  display: grid;
  place-items: center;
  border-left: 2px solid transparent;
  color: #5f7786;
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.mini-app-nav > span.active {
  border-left-color: var(--amber);
  background: rgba(255, 173, 20, 0.07);
  color: var(--bright);
}

.mini-app-nav > span b {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 13px;
  height: 13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 6px;
}

.mini-app-nav > i {
  flex: 1;
}

.mini-app-page {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #09141c;
}

.mini-page-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--edge);
  background: #0b1720;
  padding: 9px 16px;
}

.mini-page-toolbar div:first-child span,
.mini-page-toolbar div:first-child b {
  display: block;
}

.mini-page-toolbar div:first-child span {
  color: var(--bright);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.mini-page-toolbar div:first-child b,
.mini-page-toolbar p,
.mini-page-toolbar em {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.mini-page-toolbar div:first-child b {
  margin-top: 4px;
}

.mini-page-toolbar p {
  margin: 0;
}

.mini-page-toolbar p strong,
.mini-page-toolbar em {
  color: var(--green);
}

.mini-page-toolbar > em {
  margin-left: auto;
}

.triage-lanes {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(280px, 1fr);
}

.story-triage .triage-column {
  min-width: 0;
  padding: 0;
  background: #09141c;
}

.story-triage .triage-column.handled {
  border-left: 1px solid var(--edge);
  background: #071119;
}

.story-triage .triage-column header {
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.015);
}

.story-triage .triage-column header span {
  color: var(--bright);
}

.story-triage .triage-column header span b {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  margin-left: 6px;
  border-radius: 50%;
  background: rgba(240, 82, 82, 0.16);
  color: var(--red);
}

.story-triage .triage-column.handled header span {
  color: var(--muted);
}

.story-triage .triage-column.handled header span b {
  background: rgba(104, 129, 143, 0.12);
  color: var(--quiet);
}

.story-triage .triage-column header small {
  color: var(--quiet);
  font-size: 6px;
}

.story-triage .triage-column article {
  min-height: 74px;
  padding: 0 14px;
}

.story-triage .triage-column article.selected {
  border-left: 2px solid var(--red);
  background:
    linear-gradient(90deg, rgba(240, 82, 82, 0.09), transparent 70%),
    #0b1821;
  padding-left: 12px;
}

.story-triage .triage-column.handled article {
  min-height: 67px;
  opacity: 0.56;
}

.story-triage .triage-column.handled article:hover {
  opacity: 0.78;
}

.story-triage .triage-column.handled article.recently-handled {
  border-left: 2px solid var(--green);
  background: rgba(53, 214, 159, 0.055);
  padding-left: 12px;
  opacity: 1;
  animation: handled-in 480ms ease-out both;
}

.story-triage .triage-column.handled article.recently-handled i {
  border-color: var(--green);
  background: rgba(53, 214, 159, 0.22);
}

.story-triage .triage-column.handled article.recently-handled em {
  color: var(--green);
}

.story-triage .triage-detail {
  min-height: 0;
  display: block;
  margin: 13px;
  border: 1px solid rgba(255, 173, 20, 0.35);
  background: #0b1821;
  padding: 14px;
}

.story-triage .triage-detail[hidden] {
  display: none;
}

.story-triage .triage-detail > span,
.story-triage .triage-detail > strong {
  display: block;
}

.story-triage .triage-detail > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.story-triage .triage-detail > strong {
  margin-top: 5px;
  color: var(--bright);
  font-size: 12px;
}

.story-triage .triage-detail dl {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 13px;
}

.story-triage .triage-detail dl div:first-child {
  border-left: 0;
  padding-left: 0;
}

.story-triage .triage-actions {
  justify-content: flex-end;
  margin-top: 13px;
  border-top: 1px solid var(--edge);
  padding-top: 11px;
}

.triage-confirmation {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 13px;
  border: 1px solid rgba(53, 214, 159, 0.35);
  background: rgba(53, 214, 159, 0.055);
  padding: 14px;
  animation: handled-in 420ms ease-out both;
}

.triage-confirmation[hidden] {
  display: none;
}

.triage-confirmation > i {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.triage-confirmation strong,
.triage-confirmation span {
  display: block;
}

.triage-confirmation strong {
  color: var(--bright);
  font-size: 11px;
}

.triage-confirmation span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

@keyframes handled-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.handoff-app .mini-page-toolbar {
  gap: 18px;
}

.mini-toolbar-actions {
  display: flex;
  gap: 7px;
  margin-left: auto;
}

.mini-toolbar-actions button,
.prepared-brief header button {
  min-height: 29px;
  border: 1px solid var(--edge-bright);
  border-radius: 2px;
  background: #101f29;
  color: var(--text);
  padding: 0 10px;
  font-size: 8px;
  font-weight: 800;
}

.mini-toolbar-actions button:last-child,
.prepared-brief header button {
  border-color: rgba(240, 82, 82, 0.5);
  color: #ff7676;
}

.handoff-workspace {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(285px, 0.65fr);
  grid-template-rows: 1.1fr 0.9fr;
  gap: 10px;
  background: #071017;
  padding: 11px;
}

.prepared-brief,
.handoff-open-items,
.handoff-snapshot {
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: #0a161f;
}

.prepared-brief {
  grid-row: 1 / -1;
  border-color: rgba(255, 173, 20, 0.48);
}

.prepared-brief header {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--edge);
  padding: 8px 12px;
  font-family: var(--mono);
}

.prepared-brief header span {
  border: 1px solid rgba(255, 173, 20, 0.5);
  border-radius: 10px;
  color: var(--amber);
  padding: 4px 7px;
  font-size: 6px;
  font-weight: 900;
}

.prepared-brief header strong {
  color: var(--text);
  font-size: 8px;
}

.prepared-brief header time {
  color: var(--quiet);
  font-size: 7px;
}

.prepared-brief header button {
  margin-left: auto;
}

.brief-body {
  padding: 22px 20px;
}

.brief-body > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brief-body > strong {
  display: block;
  margin-top: 10px;
  color: var(--bright);
  font-family: var(--mono);
  font-size: 15px;
}

.brief-body p {
  max-width: 630px;
  margin: 20px 0 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.65;
}

.brief-body ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--edge);
  list-style: none;
}

.brief-body li {
  position: relative;
  color: var(--muted);
  padding-left: 15px;
  font-size: 9px;
}

.brief-body li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.prepared-brief footer {
  border-top: 1px solid var(--edge);
  color: var(--quiet);
  padding: 9px 12px;
  font-size: 8px;
}

.handoff-open-items header,
.handoff-snapshot header {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
  padding: 0 12px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.handoff-open-items article {
  min-height: 62px;
  display: grid;
  grid-template-columns: 7px 1fr auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--edge);
  padding: 0 12px;
}

.handoff-open-items article i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--amber);
  border-radius: 50%;
}

.handoff-open-items article.urgent i {
  border-color: var(--red);
  background: rgba(240, 82, 82, 0.25);
}

.handoff-open-items article strong,
.handoff-open-items article span {
  display: block;
}

.handoff-open-items article strong {
  color: var(--text);
  font-size: 9px;
}

.handoff-open-items article span,
.handoff-open-items article em {
  margin-top: 4px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
}

.handoff-open-items article.urgent em {
  color: var(--red);
}

.handoff-snapshot > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  border-bottom: 1px solid var(--edge);
  padding: 12px;
}

.handoff-snapshot > div span,
.handoff-snapshot > div strong {
  font-family: var(--mono);
}

.handoff-snapshot > div span {
  color: var(--quiet);
  font-size: 6px;
  font-weight: 850;
}

.handoff-snapshot > div strong {
  color: var(--green);
  font-size: 10px;
}

.handoff-snapshot > div em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.story-verify {
  grid-template-columns: 1.05fr 0.95fr;
}

.verify-left {
  background: #09141c;
}

.verify-summary {
  border-bottom: 1px solid var(--edge);
  padding: 25px 34px;
}

.verify-summary span,
.verify-summary strong {
  display: block;
}

.verify-summary span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.verify-summary strong {
  margin-top: 8px;
  color: var(--bright);
  font-size: 17px;
}

.verify-summary p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.verify-timeline {
  padding: 28px 34px;
}

.verify-timeline div {
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: 14px 70px 1fr;
  align-items: start;
  gap: 12px;
}

.verify-timeline div:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: -8px;
  left: 6px;
  border-left: 1px solid var(--edge-bright);
}

.verify-timeline i {
  position: relative;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 3px solid #09141c;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.verify-timeline span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
}

.verify-timeline strong {
  color: var(--text);
  font-size: 11px;
}

.verify-outcome {
  border-left: 1px solid var(--edge);
  background: rgba(16, 30, 40, 0.55);
  padding: 34px 31px;
}

.verify-outcome > strong {
  display: block;
  margin-top: 17px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 36px;
  letter-spacing: -0.04em;
}

.verify-outcome > p {
  margin: 17px 0 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.verify-outcome > div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--edge);
  padding: 14px 0;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 850;
}

.verify-outcome > div b {
  color: var(--text);
}

.verify-outcome > .verify-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 0;
  background: var(--edge);
  padding: 0;
}

.verify-metrics article {
  background: #0c1a23;
  padding: 15px;
}

.verify-metrics span,
.verify-metrics b {
  display: block;
  font-family: var(--mono);
}

.verify-metrics span {
  color: var(--quiet);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.verify-metrics b {
  margin-top: 7px;
  color: var(--bright);
  font-size: 15px;
}

.verify-outcome > small {
  display: block;
  margin-top: 18px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 7px;
}

.workflow-steps {
  order: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 18px;
  background: var(--edge);
}

.workflow-step {
  min-height: 190px;
  border: 0;
  border-top: 2px solid transparent;
  background: var(--panel);
  color: var(--text);
  padding: 24px;
  cursor: pointer;
  opacity: 0.64;
  text-align: left;
  transition:
    opacity 250ms ease,
    border-color 250ms ease,
    background 250ms ease;
}

.workflow-step.active {
  border-top-color: var(--amber);
  background: var(--panel-raised);
  opacity: 1;
}

.workflow-step > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.workflow-step h3 {
  margin: 13px 0 0;
  color: var(--bright);
  font-size: clamp(18px, 1.8vw, 27px);
  letter-spacing: -0.035em;
}

.workflow-step p {
  max-width: 370px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.operating-model-section {
  width: min(1540px, calc(100% - 64px));
  min-height: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 8vw;
  border-top: 1px solid rgba(59, 86, 102, 0.5);
  padding: 130px 0;
}

.operating-model-copy p {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.model-proof {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.model-proof div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.model-proof i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.operating-profile {
  width: min(100%, 700px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid var(--edge-bright);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 35%),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.operating-profile header,
.operating-profile footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--edge);
}

.operating-profile header::before {
  content: "";
  width: 3px;
  align-self: stretch;
  background: var(--amber);
}

.operating-profile header > div {
  flex: 1;
}

.operating-profile header span,
.operating-profile header strong {
  display: block;
}

.operating-profile header span,
.profile-heading,
.operating-profile footer,
.continuity-grid,
.role-flow,
.operating-profile header > b {
  font-family: var(--mono);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operating-profile header span {
  color: var(--quiet);
  font-size: 8px;
}

.operating-profile header strong {
  margin-top: 5px;
  color: var(--bright);
  font-size: 16px;
}

.operating-profile header > b {
  color: var(--amber);
  font-size: 8px;
}

.profile-thresholds {
  padding: 21px 20px 9px;
}

.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--quiet);
  font-size: 8px;
}

.profile-heading b {
  color: var(--cyan);
}

.profile-thresholds article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--edge);
}

.profile-thresholds article:last-child {
  border-bottom: 0;
}

.profile-thresholds article div strong,
.profile-thresholds article div span {
  display: block;
}

.profile-thresholds article div strong {
  color: var(--text);
  font-size: 13px;
}

.profile-thresholds article div span {
  margin-top: 5px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.035em;
}

.profile-thresholds article > b {
  color: var(--bright);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.profile-severity {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--amber);
}

.profile-severity-warning {
  color: var(--red);
}

.profile-columns {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  border-top: 1px solid var(--edge);
}

.profile-columns > section {
  min-height: 178px;
  padding: 20px;
}

.profile-columns > section + section {
  border-left: 1px solid var(--edge);
}

.role-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--text);
  font-size: 8px;
  white-space: nowrap;
}

.role-flow i {
  color: var(--amber);
  font-style: normal;
}

.profile-columns p {
  max-width: 320px;
  margin: 18px 0 0;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.55;
}

.continuity-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  color: var(--quiet);
  font-size: 7px;
}

.continuity-grid span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.continuity-grid b {
  color: var(--green);
}

.operating-profile footer {
  min-height: 45px;
  border-top: 1px solid var(--edge);
  border-bottom: 0;
  color: var(--quiet);
  font-size: 7px;
}

.operating-profile footer b {
  color: var(--green);
}

.principles-section {
  width: min(1540px, calc(100% - 64px));
  margin: 0 auto;
  border-top: 1px solid rgba(59, 86, 102, 0.5);
  padding: 150px 0 170px;
}

.principles-heading {
  max-width: 1040px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: var(--edge);
}

.principles-grid article {
  min-height: 330px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 35%),
    var(--panel);
  padding: 34px;
}

.principles-grid article > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.principles-grid h3 {
  margin: 80px 0 0;
  color: var(--bright);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.principles-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.closing-section {
  width: min(1540px, calc(100% - 64px));
  min-height: 490px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  border-top: 1px solid rgba(59, 86, 102, 0.5);
}

.closing-section h2 {
  margin: 24px 0 0;
  color: var(--bright);
  font-size: clamp(48px, 6vw, 92px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.closing-section p {
  max-width: 650px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.closing-actions {
  display: flex;
  gap: 12px;
}

.site-footer {
  width: min(1540px, calc(100% - 64px));
  min-height: 116px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(59, 86, 102, 0.5);
}

.site-footer p {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
}

.site-footer nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.access-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid var(--edge-bright);
  border-radius: 4px;
  background: #09141c;
  color: var(--text);
  padding: 0;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.68);
}

.access-dialog::backdrop {
  background: rgba(1, 5, 8, 0.8);
  backdrop-filter: blur(7px);
}

.dialog-shell {
  position: relative;
  padding: 42px;
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
}

.dialog-shell h2 {
  margin: 24px 0 0;
  color: var(--bright);
  font-size: 37px;
  letter-spacing: -0.04em;
}

.dialog-intro {
  margin: 12px 0 28px;
  color: var(--muted);
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.access-dialog label {
  display: block;
  margin-top: 14px;
}

.access-dialog label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.access-dialog label em {
  color: var(--quiet);
  font-style: normal;
}

.access-dialog input,
.access-dialog textarea {
  width: 100%;
  border: 1px solid var(--edge);
  border-radius: 2px;
  outline: 0;
  background: #060e14;
  color: var(--text);
  padding: 12px;
}

.access-dialog input:focus,
.access-dialog textarea:focus {
  border-color: var(--amber);
}

.access-dialog textarea {
  resize: vertical;
}

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

.form-note {
  margin-top: 18px;
  color: var(--quiet);
  font-size: 11px;
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-result {
  min-height: 20px;
  margin-top: 14px;
  color: var(--green);
  font-size: 12px;
  text-align: center;
}

.reveal-ready {
  opacity: 1;
  transform: none;
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .ops-canvas {
    min-height: 600px;
  }

  .product-nav {
    margin-left: 22px;
  }

  .product-nav span {
    min-width: 66px;
  }

  .workflow-story {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.68fr);
    gap: 5vw;
  }

  .story-panel {
    min-height: 460px;
  }

  .story-side {
    padding: 25px 19px;
  }

  .operating-model-section {
    gap: 4vw;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(52px, 11vw, 88px);
  }

  .hero-stage {
    margin-top: 58px;
    padding: 0;
  }

  .ops-canvas {
    min-height: 590px;
  }

  .product-nav {
    display: none;
  }

  .scenario-bar {
    gap: 10px;
    padding: 11px 14px;
  }

  .queue-panel {
    width: 220px;
  }

  .station-panel {
    width: 285px;
  }

  .evidence-card {
    width: 235px;
  }

  .sector-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
  }

  .sector-strip > div {
    justify-content: flex-start;
  }

  .workflow-visual {
    position: static;
  }

  .story-window {
    transform: none;
  }

  .workflow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-step {
    min-height: 170px;
    margin: 0;
    padding: 22px;
  }

  .workflow-step.active {
    border-top-color: var(--amber);
  }

  .operating-model-section {
    grid-template-columns: 1fr;
  }

  .operating-profile {
    width: 100%;
    margin: 0 auto;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid article {
    min-height: 250px;
  }

  .principles-grid h3 {
    margin-top: 48px;
  }

  .closing-section {
    grid-template-columns: 1fr;
    padding: 100px 0;
  }

  .closing-actions {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .workflow-section,
  .operating-model-section,
  .principles-section,
  .closing-section,
  .site-footer {
    width: min(100% - 32px, 1540px);
  }

  .site-header {
    min-height: 66px;
  }

  .header-actions .sign-in-link {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 68px);
    line-height: 0.94;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-topbar {
    min-height: 46px;
  }

  .product-status {
    display: none;
  }

  .scenario-bar > div {
    width: 100%;
    overflow-x: auto;
  }

  .scenario-bar > strong {
    max-width: 185px;
    text-align: right;
  }

  .ops-canvas {
    min-height: 540px;
  }

  .queue-panel {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
  }

  .queue-item {
    min-height: 53px;
  }

  .station-panel {
    right: 12px;
    bottom: 13px;
    left: 12px;
    width: auto;
  }

  .evidence-card,
  .map-scale,
  .map-toolbar {
    display: none;
  }

  .map-layer-trigger {
    display: block;
  }

  .map-playback {
    top: 138px;
    right: 12px;
    bottom: auto;
    gap: 7px;
    padding: 6px 8px;
  }

  .map-playback [data-radar-play-label],
  .map-playback .playback-progress,
  .map-playback [data-camera-toggle] {
    display: none;
  }

  .map-playback [data-radar-play] {
    padding: 3px;
  }

  .map-playback time {
    min-width: 44px;
  }

  .map-camera.focus-north {
    transform: translate3d(-3%, -2%, 0) scale(1.1);
  }

  .map-camera {
    inset: -5%;
    transform: translate3d(0, 0, 0) scale(0.94);
  }

  .layer-panel {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100% - 20px);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(calc(100% + 20px));
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .layer-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .layer-panel-heading button {
    display: block;
  }

  .map-station-primary {
    top: 55%;
    left: 60%;
  }

  .map-station-east,
  .map-station-coastal {
    display: none;
  }

  .station-ring-50 {
    width: 180px;
    height: 180px;
  }

  .product-footbar {
    gap: 9px;
    padding: 0 10px;
  }

  .product-footbar div:nth-child(2),
  .product-footbar div:nth-child(3),
  .product-footbar div:nth-child(5) {
    display: none;
  }

  .workflow-section {
    padding: 110px 0;
  }

  .section-intro h2,
  .operating-model-copy h2,
  .principles-heading h2 {
    font-size: 42px;
  }

  .section-intro p,
  .operating-model-copy p {
    font-size: 16px;
  }

  .story-window {
    transform: none;
  }

  .story-panel {
    min-height: 410px;
  }

  .story-detect {
    grid-template-columns: 1fr;
  }

  .story-map {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--edge);
  }

  .story-side {
    display: block;
    padding: 18px;
  }

  .story-side > strong {
    margin-top: 10px;
    font-size: 16px;
  }

  .story-side > div {
    padding: 10px 0 7px;
  }

  .story-side p {
    display: none;
  }

  .story-triage,
  .story-handoff,
  .story-verify {
    grid-template-columns: 1fr;
  }

  .mini-app-nav {
    display: none;
  }

  .mini-page-toolbar {
    gap: 10px;
    padding: 8px 12px;
  }

  .mini-page-toolbar p,
  .mini-page-toolbar > em,
  .mini-toolbar-actions button:first-child {
    display: none;
  }

  .mini-toolbar-actions {
    margin-left: auto;
  }

  .triage-lanes,
  .handoff-workspace {
    grid-template-columns: 1fr;
  }

  .triage-column.handled,
  .handoff-open-items,
  .handoff-snapshot,
  .verify-timeline {
    display: none;
  }

  .story-triage .triage-detail {
    margin: 10px;
  }

  .handoff-workspace {
    display: block;
  }

  .prepared-brief {
    height: 100%;
  }

  .prepared-brief header button {
    display: none;
  }

  .verify-outcome {
    border-left: 0;
  }

  .workflow-step {
    min-height: 150px;
    margin: 0;
    padding: 18px;
  }

  .workflow-step p {
    display: none;
  }

  .operating-model-section {
    min-height: auto;
    padding: 110px 0;
  }

  .profile-columns {
    grid-template-columns: 1fr;
  }

  .profile-columns > section {
    min-height: auto;
  }

  .profile-columns > section + section {
    border-top: 1px solid var(--edge);
    border-left: 0;
  }

  .role-flow {
    flex-wrap: wrap;
    white-space: normal;
  }

  .principles-section {
    padding: 110px 0;
  }

  .closing-actions {
    width: 100%;
    flex-direction: column;
  }

  .site-footer {
    min-height: 170px;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 28px 0;
  }

  .site-footer nav {
    justify-self: start;
    flex-wrap: wrap;
  }

  .dialog-shell {
    padding: 35px 22px 25px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* Un-visited story chapters carry a quiet pulse until explored — the
   acknowledge vignette must be discoverable from a plain scroll-through. */
.workflow-step.unvisited::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: #f5a524;
  vertical-align: middle;
  animation: story-pulse 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .workflow-step.unvisited::after {
    animation: none;
  }
}
@keyframes story-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}


/* Phones: the captured radar is the hero — overlays yield to it. The queue
   panel collapses to its one-line heading; the station panel only appears
   after an explicit tap on a site. */
@media (max-width: 640px) {
  .queue-panel {
    max-height: 44px;
    overflow: hidden;
    opacity: 0.92;
  }
  .station-panel {
    display: none;
  }
  .station-panel.open-by-tap {
    display: block;
  }
}
