@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #faf9f7;
  --paper: #f2f0eb;
  --ink: #060809;
  --screen: #010307;
  --screen-rule: #364044;
  --muted: #5a6062;
  --rule: #a8adae;
  --lime: #ddff03;
  --blue: #033eb6;
  --blue-bright: #2d6cff;
  --coral: #ff6045;
  --green: #11865f;
  --amber: #d29300;
  --coral-text: #9c2d1d;
  --green-text: #08704c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.52;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--lime); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--ground); border-radius: 0; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }
h1, h2, h3, p { overflow-wrap: normal; word-break: normal; hyphens: none; }
h1, h2, h3 { text-wrap: balance; }
.ui-icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-nav, .app-nav {
  min-height: 82px;
  padding: 0 clamp(20px, 3.5vw, 56px);
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ground);
  position: relative;
  z-index: 30;
}
.site-nav nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.4vw, 38px); margin-left: auto; }
.site-nav nav a, .text-link { text-decoration: none; font-weight: 550; font-size: .94rem; }
.site-nav-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.sign-in-link, .control-room-link { color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.public-session { display: flex; align-items: center; gap: 10px; }
[hidden] { display: none !important; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-lockup { display: block; width: 194px; height: 48px; color: inherit; overflow: visible; }
.nav-cta {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  transition: background .18s ease, color .18s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--lime); }
.nav-cta-compact { display: none; }
.network-alert {
  min-height: 36px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  border: 1px solid var(--coral);
  background: color-mix(in srgb, var(--coral) 10%, var(--ground));
  color: var(--ink);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1;
  text-transform: uppercase;
}
.network-alert i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 18%, transparent); }
.network-alert-compact { display: none; }

.locale-segment { height: 36px; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
.locale-segment button {
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
}
.locale-segment button + button { border-left: 1px solid var(--ink); }
.locale-segment button.active { background: var(--ink); color: var(--ground); }
.account-menu { position: relative; flex: none; }
.account-menu summary { min-height: 46px; padding: 4px 8px 4px 5px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--ink); list-style: none; background: var(--ground); cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary > svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .18s ease; }
.account-menu[open] summary { background: var(--ink); color: var(--ground); }
.account-menu[open] summary > svg { transform: rotate(180deg); }
.account-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; overflow: hidden; border: 1px solid currentColor; border-radius: 50%; background: var(--paper); font-family: var(--display); font-weight: 700; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar-large { width: 46px; height: 46px; flex-basis: 46px; }
.account-summary { min-width: 90px; display: grid; line-height: 1.05; }
.account-summary small { color: var(--muted); font-family: var(--display); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.account-summary strong { max-width: 16ch; overflow: hidden; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.account-menu[open] .account-summary small { color: var(--ground); }
.account-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 9px);
  right: 0;
  width: 320px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--ground);
  color: var(--ink);
}
.account-panel > header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.account-panel > header div { min-width: 0; display: grid; gap: 2px; }
.account-panel > header strong, .account-panel > header small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-panel > header strong { font-family: var(--display); font-size: 1.25rem; }
.account-panel > header small { color: var(--muted); font-size: .76rem; }
.account-panel dl { margin: 14px 0 0; }
.account-panel dl div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; }
.account-panel dt, .account-panel legend { color: var(--muted); font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.account-panel dd { min-width: 0; margin: 0; overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.account-panel nav { margin-top: 14px; border-top: 1px solid var(--rule); }
.account-panel nav a, .account-panel nav button, .account-sign-out { width: 100%; min-height: 42px; padding: 9px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-weight: 650; text-align: left; text-decoration: none; }
.account-panel nav a:hover, .account-panel nav button:hover, .account-sign-out:hover { color: var(--blue); }
.account-panel fieldset { margin: 16px 0 0; padding: 0; border: 0; }
.account-panel legend { margin-bottom: 7px; }
.preference-options { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.preference-options.theme-options { grid-template-columns: repeat(3, 1fr); }
.preference-options button { min-height: 38px; padding: 7px 8px; border: 0; border-right: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-family: var(--display); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.preference-options button:last-child { border-right: 0; }
.preference-options button.active { background: var(--lime); color: #060809; }
.account-sign-out { margin-top: 16px; color: var(--muted); font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.trust-actions, .auth-nav-actions { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }

.var-hero {
  display: grid;
  grid-template-columns: minmax(560px, .91fr) minmax(620px, 1.09fr);
  grid-template-rows: 56px minmax(650px, auto) auto;
  align-items: stretch;
  background: var(--screen);
  color: var(--ground);
  overflow: hidden;
  position: relative;
}
.broadcast-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 0 clamp(20px, 3.5vw, 54px);
  border-bottom: 1px solid var(--screen-rule);
  font-family: var(--display);
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.broadcast-status strong { color: var(--lime); font-weight: 700; }
.broadcast-status i { width: 1px; height: 22px; background: #626b6e; }
.broadcast-id { margin-left: auto; color: #cfd4d3; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 4px 14px rgba(221, 255, 3, .2); }
.hero-copy {
  min-width: 0;
  min-height: 650px;
  padding: clamp(54px, 7vh, 86px) 22px 36px clamp(28px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 5;
}
.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(4.8rem, 5.7vw, 6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .82;
  text-wrap: balance;
}
.hero-copy h1 span { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hero-copy h1 span:last-child { font-size: .78em; }
.hero-copy > p { margin: 32px 0 0; max-width: 46ch; color: #d9dddc; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.48; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button {
  min-height: 50px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .018em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s cubic-bezier(.16,1,.3,1);
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button.primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button.primary:hover:not(:disabled) { background: #fff; border-color: #fff; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover:not(:disabled) { background: var(--ink); color: var(--ground); }
.button.ghost { color: var(--ground); border-color: #cfd4d3; background: transparent; }
.button.ghost:hover { color: var(--lime); border-color: var(--lime); }
.button:disabled { opacity: .43; cursor: not-allowed; }
.route-key { margin-top: auto; padding-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; color: #cfd4d3; font-family: var(--display); font-size: .82rem; text-transform: uppercase; }
.route-key span { display: flex; align-items: center; gap: 8px; }
.route-key i { width: 31px; height: 3px; display: block; }
.risk-key { background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 13px); }
.verified-key { background: var(--blue-bright); }
.review-key { background: var(--lime); }

.var-stage {
  margin: 24px 30px 24px 0;
  min-width: 0;
  min-height: 560px;
  border: 1px solid #5a6466;
  position: relative;
  overflow: hidden;
  background-color: #04080b;
  background-image: radial-gradient(circle at center, rgba(165, 183, 186, .19) 0 1px, transparent 1.3px);
  background-size: 20px 20px;
}
.var-stage::before, .var-stage::after { content: ""; position: absolute; width: 24px; height: 24px; z-index: 3; pointer-events: none; }
.var-stage::before { left: 10px; top: 10px; border-left: 2px solid #7e8688; border-top: 2px solid #7e8688; }
.var-stage::after { right: 10px; bottom: 10px; border-right: 2px solid #7e8688; border-bottom: 2px solid #7e8688; }
.review-tab {
  position: absolute;
  z-index: 4;
  left: 18px;
  top: 18px;
  padding: 7px 16px 7px 11px;
  background: var(--lime);
  color: var(--ink);
  clip-path: polygon(0 0,100% 0,90% 100%,0 100%);
  font-family: var(--display);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
}
.lottie-map { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.lottie-map svg, .lottie-lifecycle svg { width: 100% !important; height: 100% !important; display: block; }
.var-stage.is-lottie-ready .lottie-map { opacity: 1; }
.var-map { width: 100%; height: 100%; min-height: 500px; display: block; position: relative; z-index: 2; pointer-events: none; }
.var-stage.is-lottie-ready .risk-route,
.var-stage.is-lottie-ready .verified-route,
.var-stage.is-lottie-ready .site-risk-link,
.var-stage.is-lottie-ready .site-safe-link { opacity: 0; }
.pitch-lines { fill: none; stroke: #586164; stroke-width: 1.5; opacity: .55; }
.risk-route { fill: none; stroke: var(--coral); stroke-width: 5; stroke-dasharray: 12 11; }
.risk-route path:first-child { animation: signal-flow 2.4s linear infinite; }
.verified-route { fill: none; stroke: var(--blue-bright); stroke-width: 6; }
.map-node > circle { fill: #080d11; stroke: var(--blue-bright); stroke-width: 3; }
.map-node > path, .map-node > rect { fill: none; stroke: #f8faf8; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.map-node > circle:not(:first-child) { fill: #f8faf8; stroke: none; }
.map-node text, .route-label { fill: #f8faf8; font-family: var(--display); font-weight: 700; text-anchor: middle; letter-spacing: .02em; }
.map-node text { font-size: 17px; }
.risk-label { fill: var(--coral); font-size: 14px; }
.verified-label { fill: #89aaff; font-size: 14px; }
.site-risk-link { fill: none; stroke: var(--coral); stroke-width: 4; stroke-dasharray: 9 8; }
.site-safe-link { fill: none; stroke: var(--blue-bright); stroke-width: 5; }
.verdict-bar {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 5;
  width: min(480px, calc(100% - 44px));
  min-height: 98px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1.25fr 1px .82fr 52px;
  align-items: center;
  gap: 18px;
  border: 1px solid #758083;
  background: rgba(1, 3, 7, .94);
}
.verdict-bar span { display: flex; flex-direction: column; }
.verdict-bar small { color: var(--lime); font-family: var(--display); font-size: .74rem; text-transform: uppercase; }
.verdict-bar strong { margin-top: 3px; font-family: var(--display); font-size: 1.28rem; line-height: 1.02; letter-spacing: .01em; }
.verdict-bar i { height: 62px; background: var(--lime); }
.verdict-bar b { width: 43px; height: 43px; display: grid; place-items: center; border: 3px solid var(--lime); border-radius: 50%; color: var(--lime); }
.verdict-check { width: 27px; height: 27px; stroke-width: 2.4; }
@keyframes signal-flow { to { stroke-dashoffset: -46; } }

.process-ticker {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: .62fr repeat(4, 1fr);
  background: var(--ground);
  color: var(--ink);
  border-top: 1px solid var(--ink);
}
.process-ticker li { min-height: 105px; padding: 17px clamp(13px, 2vw, 28px); display: grid; grid-template-columns: auto 46px 1fr; align-items: center; gap: 14px; border-right: 1px solid var(--ink); }
.process-ticker li:last-child { border-right: 0; }
.process-ticker li > b { color: var(--blue); font-family: var(--display); font-size: 1.9rem; }
.process-ticker svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-ticker li > span { display: flex; flex-direction: column; line-height: 1.08; }
.process-ticker strong { font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.process-ticker small { margin-top: 6px; color: var(--muted); font-size: .72rem; }
.process-ticker .ticker-label { grid-template-columns: 1fr; gap: 0; align-content: center; }
.ticker-label span { font-family: var(--display); font-size: .78rem; }
.ticker-label strong { font-size: 1.45rem; }

.match-radar {
  display: grid;
  grid-template-columns: minmax(520px, .9fr) minmax(650px, 1.1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ground);
}
.next-match-board, .fixture-week { min-width: 0; padding: clamp(44px, 5.5vw, 82px); }
.next-match-board { background-color: var(--screen); background-image: radial-gradient(circle at center, rgba(165, 183, 186, .16) 0 1px, transparent 1.3px); background-size: 22px 22px; color: var(--ground); }
.next-match-board > header, .fixture-week > header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid currentColor; }
.next-match-board h2, .fixture-week h2 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 3.2vw, 3.7rem); font-weight: 700; letter-spacing: -.025em; line-height: .9; }
.next-match-board > header span, .fixture-week > header p { margin: 0; color: #aeb7b7; font-family: var(--display); font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.featured-match { min-height: 260px; display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr); align-items: center; gap: clamp(18px, 3vw, 42px); }
.featured-team { min-width: 0; display: grid; justify-items: start; align-content: center; }
.featured-team.away { justify-items: end; text-align: right; }
.team-crest { width: 72px; height: 72px; display: grid; place-items: center; position: relative; flex: none; }
.team-crest > span { width: 100%; height: 100%; display: grid; place-items: center; border: 1px solid currentColor; color: var(--lime); font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; }
.team-crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ground); }
.featured-team strong { max-width: 12ch; margin-top: 18px; font-family: var(--display); font-size: clamp(1.5rem, 2vw, 2.15rem); line-height: .94; }
.featured-team small { margin-top: 8px; color: #9fa8a9; font-family: var(--display); font-size: .7rem; letter-spacing: .08em; }
.featured-kickoff { display: grid; justify-items: center; color: #d7dcdb; text-align: center; }
.featured-kickoff span { max-width: 12ch; font-family: var(--display); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.featured-kickoff b { margin: 12px 0 9px; color: var(--lime); font-family: var(--display); font-size: 2.2rem; font-style: italic; }
.featured-kickoff time { max-width: 15ch; font-family: var(--display); font-size: .86rem; font-weight: 600; text-transform: uppercase; }
.countdown-panel { padding-top: 22px; border-top: 1px solid #667073; position: relative; }
.countdown-panel > span { color: var(--lime); font-family: var(--display); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.countdown-panel output { display: block; margin-top: 5px; color: #fff; font-family: var(--display); font-size: clamp(3.05rem, 4.8vw, 5.15rem); font-weight: 700; letter-spacing: -.025em; line-height: .86; font-variant-numeric: tabular-nums; white-space: nowrap; }
.countdown-panel p { margin: 14px 0 0; color: #adb6b6; font-size: .82rem; }
.countdown-panel.is-urgent { border-top-color: var(--coral); }
.countdown-panel.is-urgent > span { color: var(--coral); }
.countdown-panel.is-urgent::after { content: "ACTÚA HOY"; position: absolute; top: 18px; right: 0; padding: 4px 7px; border: 1px solid var(--coral); color: var(--coral); font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .07em; }
.match-countdown.is-urgent { color: var(--coral); }
.fixture-week { background: var(--ground); }
.fixture-week > header p { max-width: 28ch; color: var(--muted); text-align: right; }
.fixture-week ol { list-style: none; margin: 0; padding: 0; }
.fixture-week li { min-height: 112px; display: grid; grid-template-columns: 142px 1fr auto; align-items: center; gap: 28px; border-bottom: 1px solid var(--rule); }
.fixture-week time { display: flex; flex-direction: column; }
.fixture-week time strong { color: var(--blue); font-family: var(--display); font-size: 1.12rem; text-transform: uppercase; }
.fixture-week time span { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.fixture-pair { min-width: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; }
.fixture-pair > span { min-width: 0; display: flex; align-items: center; gap: 12px; }
.fixture-pair > span:last-child { flex-direction: row-reverse; text-align: right; }
.fixture-pair .team-crest { width: 42px; height: 42px; }
.fixture-pair .team-crest > span { color: var(--blue); font-size: .82rem; }
.fixture-pair b { font-family: var(--display); font-size: 1.13rem; line-height: .94; }
.fixture-pair i { color: var(--muted); font-family: var(--display); font-size: .78rem; font-style: normal; }
.fixture-week li > em { padding: 5px 8px; border: 1px solid var(--ink); font-family: var(--display); font-size: .65rem; font-style: normal; font-weight: 700; letter-spacing: .035em; white-space: nowrap; }
.fixture-attribution { max-width: 82ch; margin: 22px 0 0; color: var(--muted); font-size: .7rem; }
.fixture-empty { min-height: 350px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; }
.fixture-empty h3 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(3rem, 4.7vw, 5rem); font-weight: 700; letter-spacing: -.025em; line-height: .85; }
.fixture-empty p { max-width: 55ch; margin: 22px 0 0; color: #b7bfbf; }
.fixture-scan { position: absolute; right: 16%; top: 10%; width: 3px; height: 58%; background: var(--lime); transform: rotate(21deg); transform-origin: top; box-shadow: 0 4px 15px rgba(221,255,3,.16); }
.fixture-week-empty { min-height: 315px; display: grid; place-items: center; color: var(--muted); border-bottom: 1px solid var(--rule); text-align: center; }

.mechanism, .pricing { padding: clamp(88px, 9vw, 148px) clamp(22px, 7vw, 112px); }
.mechanism { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 8vw, 132px); background: var(--ground); }
.section-intro h2, .honesty h2 { margin: 0; font-family: var(--display); font-size: clamp(3.4rem, 5.6vw, 5.8rem); font-weight: 700; letter-spacing: -.03em; line-height: .86; text-wrap: balance; }
.section-intro > p { max-width: 61ch; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.decision-log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.decision-log li { display: grid; grid-template-columns: 66px 1fr auto; gap: 22px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.decision-log time { color: var(--blue); font-family: var(--display); font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.decision-log strong { font-family: var(--display); font-size: 1.65rem; line-height: 1; }
.decision-log p { max-width: 62ch; margin: 8px 0 0; color: var(--muted); }
.decision-log li > span { padding: 4px 8px; border: 1px solid var(--ink); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.decision-log li > span.active { background: var(--lime); }
.mechanism .section-intro { min-width: 0; }
.mechanism-motion {
  width: min(100%, 720px);
  aspect-ratio: 640 / 410;
  margin: 54px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--screen);
}
.lottie-lifecycle,
.mechanism-motion-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.lottie-lifecycle { z-index: 2; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.mechanism-motion.is-lottie-ready .lottie-lifecycle { opacity: 1; }
.mechanism-motion.is-lottie-ready .mechanism-motion-fallback { opacity: 0; }
.mechanism-motion-fallback { z-index: 1; fill: none; transition: opacity .18s ease; }
.lifecycle-route { stroke-width: 5; }
.lifecycle-route.primary { stroke: var(--green); }
.lifecycle-route.alternate { stroke: var(--blue-bright); opacity: .42; }
.lifecycle-route circle { fill: #080d11; stroke-width: 3; }
.lifecycle-switch { stroke: var(--lime); stroke-width: 4; }
.mechanism-motion figcaption {
  position: absolute;
  right: 18px;
  bottom: 13px;
  left: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #aeb7b7;
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  pointer-events: none;
}
.decision-log li { --motion-accent: var(--blue); transition: color .26s ease, background-color .26s ease; }
.decision-log li[data-motion-step="1"] { --motion-accent: var(--coral); }
.decision-log li[data-motion-step="2"] { --motion-accent: var(--green); }
.decision-log li.is-motion-active { background: color-mix(in srgb, var(--motion-accent) 7%, transparent); }
.decision-log li.is-motion-active time,
.decision-log li.is-motion-active strong { color: var(--motion-accent); }
.decision-log li.is-motion-active > span { border-color: var(--motion-accent); background: var(--motion-accent); color: #fff; }
.decision-log li[data-motion-step="1"].is-motion-active > span { color: var(--ink); }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--lime); color: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.proof-strip p { margin: 0; padding: 24px; text-align: center; border-right: 1px solid var(--ink); font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.proof-strip p:last-child { border-right: 0; }

.pricing { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(56px, 8vw, 130px); background: var(--paper); }
.price-ledger { border-top: 1px solid var(--ink); }
.price-ledger article { display: grid; grid-template-columns: 1fr auto; gap: 16px 42px; padding: 38px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.plan-code { margin: 0 0 8px !important; color: var(--blue) !important; font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.price-ledger h3 { max-width: 18ch; margin: 0; font-family: var(--display); font-size: 2.2rem; line-height: .98; }
.plan-copy > p:last-child { max-width: 48ch; margin: 12px 0 0; color: var(--muted); }
.price-offer { min-width: 172px; text-align: right; }
.price-reference { display: flex; justify-content: flex-end; gap: 8px; align-items: baseline; margin: 0 0 10px; color: var(--muted); }
.price-reference del { font-family: var(--display); font-size: 1.4rem; font-weight: 700; text-decoration-thickness: 2px; }
.price-reference span { font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.price { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.price strong { display: block; font-family: var(--display); font-size: 3.3rem; line-height: .82; }
.price span { display: block; margin-top: 8px; color: var(--muted); font-size: .75rem; }
.launch-saving { max-width: 23ch; margin: 14px 0 0 auto; color: var(--blue); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .04em; line-height: 1.15; text-transform: uppercase; }
.price-ledger ul { grid-column: 1; margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.price-ledger article > .button { grid-column: 2; grid-row: 2; align-self: end; }
.relay-plan .plan-code { color: var(--blue) !important; }
.single-price article { padding-block: 46px; }
.single-price code { padding: 1px 4px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font-family: var(--sans); }

.honesty { padding: clamp(76px, 8vw, 120px) clamp(22px, 7vw, 112px); display: flex; align-items: end; justify-content: space-between; gap: 56px; background: var(--screen); color: var(--ground); }
.honesty h2 { max-width: 14ch; font-size: clamp(3rem, 4.7vw, 5rem); }
.honesty p { max-width: 70ch; color: #c6cccb; }
.honesty > a { flex: none; color: var(--lime); font-family: var(--display); font-size: 1.14rem; font-weight: 700; text-transform: uppercase; }
footer { padding: 42px clamp(22px, 3.5vw, 56px); display: grid; grid-template-columns: auto minmax(190px, .8fr) auto minmax(260px, 1.1fr) auto; gap: 30px; align-items: center; border-top: 1px solid #424b4d; background: var(--screen); color: var(--ground); font-size: .76rem; }
footer p { margin: 0; color: #aeb7b7; }
.footer-mark .brand-lockup { width: 145px; height: 36px; }
.legal { max-width: 62ch; }
.footer-company { display: grid; justify-items: end; gap: 10px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a, .footer-links button { color: #fff; font-weight: 600; text-decoration-color: #626b6e; }
.footer-links button { padding: 0; border: 0; background: transparent; cursor: pointer; font-size: inherit; text-decoration: underline; text-underline-offset: .24em; }
.footer-links button:hover { color: var(--lime); }
.powered-by-hilo { min-height: 32px; padding: 5px 8px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--screen-rule); background: var(--ground); color: var(--ink); text-decoration: none; }
.powered-by-hilo span { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.hilo-logo { width: 58px; height: auto; display: block; }
.hilo-logo-dark { display: none; }
html[data-theme="dark"] .hilo-logo-light { display: none; }
html[data-theme="dark"] .hilo-logo-dark { display: block; }
.powered-by-hilo:hover { border-color: var(--lime); }

.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(640px, calc(100vw - 36px));
  margin-left: auto;
  padding: 14px 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ground);
  color: var(--ink);
}
.cookie-consent > div { position: relative; z-index: 1; }
.cookie-watermark { position: absolute; z-index: 0; top: -31px; right: 205px; width: 116px; height: 116px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .055; }
.cookie-consent strong { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.cookie-consent p { max-width: 48ch; margin: 5px 0 3px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.cookie-consent a { color: var(--blue); font-size: .82rem; font-weight: 650; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button, .cookie-settings-toggle {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ground);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}
#cookie-accept { background: var(--lime); }
.cookie-actions button:hover, .cookie-settings-toggle:hover { background: var(--ink); color: var(--lime); }
.cookie-settings-toggle { position: fixed; z-index: 900; left: 12px; bottom: 12px; min-height: 34px; padding: 6px 9px; border-color: var(--screen-rule); background: var(--screen); color: var(--ground); font-size: .82rem; }

.app-nav { background: var(--ground); }
.app-brand { display: flex; align-items: center; gap: 18px; }
.app-brand > span { padding-left: 18px; border-left: 1px solid var(--rule); color: var(--muted); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.app-primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 36px); margin-left: auto; }
.app-primary-nav a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.app-primary-nav .app-add { min-height: 40px; padding: 8px 12px; border: 1px solid var(--ink); font-family: var(--display); font-size: .9rem; font-weight: 700; text-transform: uppercase; }
.app-primary-nav .app-add:hover { background: var(--ink); color: var(--lime); }
.app-account { display: flex; align-items: center; gap: 12px; }
.tenant-context { min-width: 190px; display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid var(--rule); }
.tenant-context > span { color: var(--muted); font-family: var(--display); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#clerk-organization-switcher { min-height: 28px; display: flex; align-items: center; }
#clerk-organization-switcher button { max-width: 250px; min-height: 30px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ink) !important; font-family: var(--body) !important; font-size: .86rem !important; font-weight: 650 !important; }
.secure-note, .control-status { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.secure-note { flex: none; white-space: nowrap; line-height: 1; }
.secure-note i, .control-status i { width: 9px; height: 9px; aspect-ratio: 1; flex: 0 0 9px; border-radius: 50%; background: var(--green); }
.onboarding-shell { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(330px, 34%) 1fr; }
.step-rail { min-height: calc(100vh - 82px); padding: clamp(44px, 5vw, 76px); background-color: var(--screen); background-image: radial-gradient(circle at center, rgba(165, 183, 186, .16) 0 1px, transparent 1.3px); background-size: 22px 22px; color: var(--ground); position: relative; overflow: hidden; }
.rail-signal { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #687174; color: var(--lime); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.step-rail h1 { margin: 46px 0 0; font-family: var(--display); font-size: clamp(3.4rem, 4.6vw, 5rem); font-weight: 700; letter-spacing: -.035em; line-height: .84; }
.step-rail h1 span { display: block; white-space: nowrap; }
.step-rail ol { list-style: none; margin: 62px 0 36px; padding: 0; position: relative; z-index: 2; }
.step-rail li { display: flex; align-items: center; gap: 14px; min-height: 48px; color: #8f999a; border-top: 1px solid #414a4d; font-family: var(--display); font-size: 1.03rem; font-weight: 600; text-transform: uppercase; }
.step-rail li:last-child { border-bottom: 1px solid #414a4d; }
.step-rail li span { width: 31px; color: inherit; font-variant-numeric: tabular-nums; }
.step-rail li.active, .step-rail li.complete { color: #fff; }
.step-rail li.active span { color: var(--lime); }
.step-rail li.complete span { color: #79d8b7; }
.step-rail > p { max-width: 34ch; color: #b8c0c0; font-size: .85rem; position: relative; z-index: 2; }
.rail-line { position: absolute; right: -35px; top: 130px; width: 5px; height: 75%; background: var(--lime); transform: rotate(24deg); transform-origin: top; box-shadow: 0 5px 12px rgba(221, 255, 3, .13); }
.onboarding-panel { padding: clamp(50px, 7vw, 100px); background: var(--ground); position: relative; }
.onboarding-panel::before { content: ""; position: absolute; top: 28px; right: 28px; width: 22px; height: 22px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.form-stage { max-width: 760px; }
.form-stage.hidden { display: none; }
.stage-count { margin: 0 0 13px; color: var(--blue); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.form-stage h2 { max-width: 13ch; margin: 0; font-family: var(--display); font-size: clamp(3.5rem, 5.5vw, 5.8rem); font-weight: 700; letter-spacing: -.035em; line-height: .86; }
.form-stage > p:not(.stage-count):not(.fine-print) { max-width: 62ch; margin: 22px 0 36px; color: var(--muted); }
.form-stage label:not(.route-choice label):not(.consent label) { display: block; margin: 27px 0 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.form-stage select, .form-stage input[type="url"] { width: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); }
.form-stage select:disabled { opacity: .55; }
.form-stage > .button { margin-top: 32px; }
.notice { display: none; max-width: 760px; margin-bottom: 32px; padding: 12px 15px; border: 1px solid var(--ink); background: var(--lime); font-weight: 600; }
.notice.visible { display: block; }
.notice.error { display: block; background: #ffd1c7; }
.record-summary { min-height: 24px; margin-top: 18px; color: var(--muted); font-size: .88rem; }
.zone-scope { margin-top: 24px; padding: 18px 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.zone-scope.hidden { display: none; }
.zone-scope > span { align-self: center; color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .07em; }
.zone-scope > strong { font-family: var(--display); font-size: 2rem; line-height: 1; }
.zone-scope > p { grid-column: 1 / -1; max-width: 68ch; margin: 8px 0 0; color: var(--muted); font-size: .83rem; }
.hostname-picker { min-width: 0; margin: 25px 0 0; padding: 0; border: 0; }
.hostname-picker legend { float: left; margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.hostname-picker > p { float: right; margin: 0; color: var(--blue); font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.hostname-picker > div { clear: both; padding-top: 10px; border-top: 1px solid var(--ink); }
.hostname-option { min-height: 58px; padding: 10px 2px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--rule); cursor: pointer; }
.hostname-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.hostname-option span { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.hostname-option strong { overflow-wrap: anywhere; font-family: var(--display); font-size: 1.18rem; }
.hostname-option small { flex: none; color: var(--muted); font-size: .75rem; }
.hostname-option:has(input:checked) { background: color-mix(in srgb, var(--lime) 17%, transparent); }
.hostname-option.managed { opacity: .56; cursor: default; }
.hostname-empty { margin: 18px 0; color: var(--muted); }
.record-chip { display: inline-flex; align-items: center; min-height: 27px; margin: 0 6px 6px 0; padding: 3px 9px; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
.compatibility-warning, .compatibility-ok { max-width: 68ch; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); }
.compatibility-warning { color: #8a2b1c; }
.compatibility-ok { color: var(--green-text); }
.route-choice label:has(input:disabled) { cursor: not-allowed; opacity: .46; }
.route-choice.single-route > div { padding: 25px 4px; border-bottom: 1px solid var(--ink); background: color-mix(in srgb, var(--lime) 18%, transparent); }
.route-choice.single-route span { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; }
.route-choice.single-route strong { font-family: var(--display); font-size: 1.75rem; line-height: 1; }
.route-choice.single-route small { align-self: center; font-weight: 700; }
.route-choice.single-route em { grid-column: 1 / -1; color: var(--muted); font-style: normal; }
.risk-panel { margin-top: 25px; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.risk-panel.hidden { display: none; }
.risk-heading { display: flex; align-items: center; gap: 11px; }
.risk-heading strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.risk-signal { width: 11px; height: 11px; border-radius: 50%; background: var(--rule); flex: none; }
.risk-panel.loading .risk-signal { background: var(--blue); animation: risk-pulse 1.3s ease-out infinite; }
.risk-panel.active .risk-signal { background: var(--coral); }
.risk-panel.history .risk-signal { background: #d29300; }
.risk-panel.clear .risk-signal { background: var(--green); }
.risk-panel.unavailable .risk-signal { background: var(--muted); }
.risk-panel > p { max-width: 68ch; margin: 10px 0 0; color: var(--muted); }
.risk-fixture { color: var(--ink) !important; font-weight: 650; }
.risk-source { font-size: .76rem; }
@keyframes risk-pulse { 0%,100% { transform: scale(.8); opacity: .65; } 55% { transform: scale(1); opacity: 1; } }
.back-button { margin: 0 0 34px; padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.route-choice { margin-top: 38px; border-top: 1px solid var(--ink); }
.route-choice label { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 25px 4px; border-bottom: 1px solid var(--ink); cursor: pointer; }
.route-choice label:has(input:checked) { background: color-mix(in srgb, var(--lime) 18%, transparent); }
.route-choice input { margin-top: 7px; accent-color: var(--blue); }
.route-choice span { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; }
.route-choice strong { font-family: var(--display); font-size: 1.75rem; line-height: 1; }
.route-choice small { align-self: center; font-weight: 700; }
.route-choice em { grid-column: 1 / -1; color: var(--muted); font-style: normal; }
.route-autodetect { margin-top: 30px; padding: 24px; border: 1px solid var(--rule); background: var(--paper); }
.route-autodetect-label { margin: 0 0 10px; color: var(--blue); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .07em; }
.route-autodetect h3 { margin: 0; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.route-autodetect > p:not(.route-autodetect-label) { max-width: 62ch; margin: 10px 0 0; color: var(--muted); }
.route-autodetect ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; counter-reset: automatic-route; }
.route-autodetect li { padding: 13px 10px 0 0; color: var(--muted); font-size: .82rem; counter-increment: automatic-route; }
.route-autodetect li::before { content: "0" counter(automatic-route); display: block; margin-bottom: 4px; color: var(--blue); font-family: var(--display); font-size: 1rem; font-weight: 700; }
#review-list { margin: 38px 0 0; border-top: 1px solid var(--ink); }
#review-list div { display: grid; grid-template-columns: 160px 1fr; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
#review-list dt { color: var(--muted); font-family: var(--display); text-transform: uppercase; }
#review-list dd { margin: 0; font-weight: 650; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 28px; align-items: start; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.fine-print { color: var(--muted); font-size: .8rem; }

.dashboard { max-width: 1440px; margin: 0 auto; padding: 52px 32px 112px; }
.dashboard-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.control-status { margin: 0 0 18px; color: var(--blue); }
.control-status i { background: var(--lime); border: 1px solid var(--ink); }
.dashboard h1 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(4.2rem, 6.2vw, 6rem); font-weight: 700; letter-spacing: -.035em; line-height: .84; }
.dashboard-head-actions { display: flex; align-items: end; gap: 20px; }
.account-usage { margin: 0; display: flex; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.account-usage div { min-width: 154px; padding: 10px 14px; }
.account-usage div + div { border-left: 1px solid var(--rule); }
.account-usage dt { color: var(--muted); font-family: var(--display); font-size: .67rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.account-usage dd { max-width: 18ch; margin: 4px 0 0; overflow: hidden; font-family: var(--display); font-size: 1.08rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.control-board { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.control-board h2 { margin: 0; font-family: var(--display); font-size: 2.3rem; line-height: .95; }
.control-board p { max-width: 68ch; margin: 8px 0 0; color: var(--muted); }
.bulk-actions { display: flex; gap: 9px; }
.bulk-actions .button { min-height: 44px; padding: 9px 13px; font-size: .9rem; }
.dns-timing { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.dns-timing strong { font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.dns-timing p { max-width: 82ch; margin: 0; color: var(--muted); font-size: .84rem; }
.route-table-head, .route-row { display: grid; grid-template-columns: minmax(280px, 1.05fr) minmax(160px, .42fr) minmax(440px, 1.45fr); gap: 28px; }
.route-table-head { padding: 15px 0; border-bottom: 1px solid var(--ink); color: var(--muted); font-family: var(--display); font-size: .75rem; font-weight: 700; letter-spacing: .05em; }
.routes-list { margin-top: 0; }
.zone-group { margin-top: 26px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.zone-group-head { padding: 18px 0 16px; display: flex; align-items: end; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--ink); }
.zone-group-head span { color: var(--blue); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .07em; }
.zone-group-head h2 { margin: 3px 0 0; font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.zone-group-head dl { margin: 0; display: flex; gap: 30px; }
.zone-group-head dl > div { min-width: 104px; }
.zone-group-head dt { color: var(--muted); font-family: var(--display); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.zone-group-head dd { margin: 3px 0 0; font-family: var(--display); font-size: 1rem; font-weight: 700; }
.route-row { align-items: start; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.zone-group .route-row:last-child { border-bottom: 0; }
.route-row h2 { margin: 0; font-family: var(--display); font-size: 1.65rem; line-height: 1; }
.route-row p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.route-state { display: grid; gap: 8px; padding-top: 2px; }
.route-state > span, .automation-control > label { color: var(--muted); font-family: var(--display); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.route-operation { min-width: 0; padding-left: 24px; border-left: 1px solid var(--rule); }
.automation-control { min-width: 0; display: grid; gap: 8px; }
.automation-choice { display: grid; grid-template-columns: minmax(150px, 190px) minmax(180px, 1fr); gap: 16px; align-items: center; }
.automation-control select { width: 100%; min-height: 42px; padding: 7px 32px 7px 10px; border: 1px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); font-size: .86rem; }
.automation-control small { max-width: 46ch; color: var(--muted); line-height: 1.35; }
.monitor-reading { max-width: none; color: var(--blue); font-size: .74rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.status.direct::before { background: var(--coral); }
.status.unknown::before, .status.drift::before { background: #d29300; }
.route-actions { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.route-modes { display: flex; align-items: center; gap: 8px; }
.route-actions button { padding: 8px 11px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--display); font-size: .85rem; font-weight: 700; text-transform: uppercase; }
.route-actions button:hover { background: var(--ink); color: var(--ground); }
.route-actions .route-primary-action.protect:hover { background: var(--ink); color: var(--lime); }
.route-actions .route-primary-action.restore:hover { background: var(--ink); color: #fff; }
.cloudflare-icon { fill: #f6821f; stroke: none; }
.route-actions .route-remove { min-width: 38px; padding-inline: 9px; color: var(--muted); border-color: var(--rule); gap: 6px; display: inline-flex; align-items: center; }
.route-actions .route-remove:hover { color: var(--ink); background: var(--coral); border-color: var(--ink); }
.route-actions button:disabled { opacity: .43; cursor: not-allowed; }
.loading-copy { color: var(--muted); }
.dashboard-feedback:not(:empty) { margin: 24px 0 0; }
.dashboard-notice { padding: 18px 0; border-bottom: 1px solid var(--green); }
.dashboard-notice strong { display: block; font-family: var(--display); font-size: 1.35rem; }
.dashboard-notice p { margin: 3px 0 0; color: var(--muted); }
.dashboard-recovery { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.dashboard-recovery p { margin: 0; color: var(--muted); }
.dashboard-recovery strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.35rem; }
.recovery-actions { display: flex; gap: 9px; flex: none; }
.recovery-actions .button { min-height: 42px; padding: 8px 13px; font-size: .9rem; }
.audit-ledger { margin-top: 70px; border-top: 1px solid var(--ink); }
.audit-ledger > header { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px 0 18px; border-bottom: 1px solid var(--ink); }
.audit-ledger > header p, .audit-ledger > header > span { margin: 0 0 6px; color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.audit-ledger h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .9; }
.audit-item { border-bottom: 1px solid var(--rule); }
.audit-item summary { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; }
.audit-item summary::-webkit-details-marker { display: none; }
.audit-item summary time { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.audit-item summary strong { display: block; font-family: var(--display); font-size: 1.4rem; }
.audit-item summary p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.audit-outcome { font-family: var(--display); font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.audit-outcome::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--green); }
.audit-outcome.rolled_back::before { background: var(--amber, #d29300); }
.audit-outcome.failed::before { background: var(--coral); }
.audit-details { padding: 0 0 22px 174px; }
.audit-change { display: grid; grid-template-columns: minmax(130px, .55fr) 1fr 24px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--rule); font-size: .8rem; }
.audit-change b { font-family: var(--display); font-size: 1rem; }
.audit-change code { overflow-wrap: anywhere; color: var(--muted); font-family: inherit; }
.audit-change i { color: var(--blue); font-style: normal; text-align: center; }
.audit-error { margin: 0; color: var(--coral-text); font-size: .82rem; }

.notification-settings { margin-top: 70px; border-top: 1px solid var(--ink); }
.notification-settings > header { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px 0 18px; border-bottom: 1px solid var(--ink); }
.notification-settings > header p, .notification-settings > header > span { margin: 0 0 6px; color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.notification-settings h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .9; }
.notification-settings form > p { margin: 18px 0; color: var(--muted); }
.notification-settings form > label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 17px 0; border-top: 1px solid var(--rule); cursor: pointer; }
.notification-settings input { margin-top: 5px; accent-color: var(--blue); }
.notification-settings label span { display: grid; gap: 3px; }
.notification-settings label strong { font-family: var(--display); font-size: 1.25rem; }
.notification-settings label small { color: var(--muted); }
.notification-settings .button { margin-top: 20px; }
.monitoring-explainer { margin-top: 70px; padding: 24px 0; display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); gap: clamp(32px, 7vw, 90px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.monitoring-explainer p { max-width: 72ch; margin: 0; color: var(--muted); }
.monitoring-explainer > div > p { margin-bottom: 6px; color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.monitoring-explainer h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .9; }
.route-metrics-toggle { white-space: nowrap; }
.route-metrics { grid-column: 1 / -1; padding: 22px 0 4px; border-top: 1px solid var(--rule); }
.route-metrics[hidden] { display: none; }
.metrics-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.metrics-summary div { min-height: 92px; padding: 15px 16px; border-right: 1px solid var(--rule); }
.metrics-summary div:last-child { border-right: 0; }
.metrics-summary dt { color: var(--muted); font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.metrics-summary dd { margin: 7px 0 0; font-family: var(--display); font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.metrics-ledger { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.metrics-ledger caption { padding-bottom: 8px; text-align: left; color: var(--blue); font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.metrics-ledger th, .metrics-ledger td { padding: 9px 6px; border-bottom: 1px solid var(--rule); text-align: left; }
.metrics-ledger th { color: var(--muted); font-family: var(--display); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.metrics-note { margin: 12px 0 0; color: var(--muted); font-size: .75rem; }
.metric-state { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; }
.metric-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.metric-state.unreachable::before { background: var(--coral); }
.metric-state.risk::before { background: #d29300; }
#notification-feedback { min-height: 24px; color: var(--green-text); }

.route-dialog { width: min(620px, calc(100vw - 32px)); padding: 0; color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; background: var(--ground); }
.route-dialog::backdrop { background: rgba(1, 3, 7, .78); }
.route-dialog form { padding: 0 28px 28px; }
.route-dialog header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); }
.route-dialog header > span { color: var(--coral-text); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.dialog-close { width: 42px; height: 42px; display: grid; place-items: center; margin-inline-end: -10px; border: 0; background: transparent; cursor: pointer; }
.dialog-close:hover { color: var(--coral); }
.route-dialog h2 { margin: 28px 0 18px; font-family: var(--display); font-size: clamp(2.7rem, 6vw, 4.4rem); line-height: .88; letter-spacing: -.025em; }
.route-dialog h2 strong { display: block; overflow-wrap: anywhere; color: var(--blue); }
.route-dialog > form > p { max-width: 62ch; margin: 12px 0; color: var(--muted); }
.route-dialog .dialog-error:not(:empty) { padding: 12px 0; color: var(--ink); border-top: 1px solid var(--coral); border-bottom: 1px solid var(--coral); }
.route-dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.button.danger { color: var(--ink); background: var(--coral); border-color: var(--ink); }
.button.danger:hover:not(:disabled) { color: var(--ground); background: var(--ink); }

.auth-shell { min-height: calc(100svh - 82px); display: grid; grid-template-columns: minmax(430px, .88fr) minmax(520px, 1.12fr); background: var(--screen); }
.auth-pitch { padding: clamp(44px, 6vh, 72px) clamp(32px, 5vw, 76px); color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; }
.auth-pitch-inner { position: relative; z-index: 1; width: min(100%, 610px); }
.auth-pitch .control-status { color: var(--lime); }
.auth-pitch h1 { max-width: 8ch; margin: 36px 0 24px; font-family: var(--display); font-size: clamp(4.6rem, 6vw, 6rem); font-weight: 700; letter-spacing: -.035em; line-height: .84; }
.auth-pitch-inner > p:not(.control-status) { max-width: 46ch; margin: 0; color: #cbd0cf; font-size: 1.05rem; }
.auth-promises { max-width: 520px; margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid #596164; }
.auth-promises li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #596164; font-family: var(--display); font-weight: 600; text-transform: uppercase; }
.auth-promises .ui-icon { width: 20px; height: 20px; color: var(--lime); }
.auth-card { padding: clamp(44px, 6vh, 72px) clamp(28px, 6vw, 88px); background-color: var(--ground); background-image: radial-gradient(circle at center, rgba(20,25,28,.12) 0 1px, transparent 1.3px); background-size: 23px 23px; display: flex; align-items: center; justify-content: center; }
.auth-dossier { width: min(100%, 500px); border: 1px solid var(--ink); background: #fff; }
.auth-card-intro { padding: 24px 28px 20px; border-bottom: 1px solid var(--ink); }
.auth-card-intro h2 { margin: 0; font-family: var(--display); font-size: 2rem; letter-spacing: -.02em; line-height: 1; }
.auth-card-intro p { margin: 7px 0 0; color: var(--muted); font-size: .88rem; }
.clerk-sign-in { width: 100%; min-height: 0; padding: 18px 28px 8px; }
.clerk-sign-in > p { color: var(--muted); }
.auth-legal { margin: 0; padding: 16px 24px 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .78rem; text-align: center; }
.auth-error { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0 18px; color: var(--ink) !important; }
.auth-error p { grid-column: 1 / -1; margin: 0 0 4px; color: inherit; font-weight: 600; }
.auth-error button,
.auth-error a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 .78rem var(--sans); text-decoration: none; }
.auth-error button:hover, .auth-error a:hover { background: var(--ink); color: #fff; }
.auth-error button { cursor: pointer; }
.auth-error button:disabled { cursor: wait; opacity: .65; }
.offsite-clerk-root, .offsite-clerk-card-box, .offsite-clerk-card { width: 100% !important; max-width: none !important; }
.offsite-clerk-card-box, .offsite-clerk-card { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
.offsite-clerk-header { display: none !important; }
.offsite-clerk-title { font-family: var(--display) !important; text-transform: uppercase !important; }
.offsite-clerk-primary { border-radius: 2px !important; font-family: var(--display) !important; font-weight: 700 !important; text-transform: uppercase !important; }
.offsite-clerk-social-button, .offsite-clerk-input { min-height: 44px !important; border: 1px solid var(--ink) !important; border-radius: 2px !important; box-shadow: none !important; }
.offsite-clerk-social-button:hover { background: var(--paper) !important; color: var(--ink) !important; }
.offsite-clerk-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-bright) 30%, transparent) !important; }
.offsite-clerk-footer { background: transparent !important; }

.trust-nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.trust-nav .text-link:last-child { display: inline-flex; align-items: center; gap: 7px; }
.legal-document { min-height: 80vh; }
.legal-hero { padding: clamp(70px, 9vw, 132px) clamp(22px, 7vw, 112px); background: var(--screen); color: #fff; }
.legal-hero > p, .security-hero > div > p { margin: 0 0 22px; color: var(--lime); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.legal-hero h1 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(4.8rem, 9vw, 8rem); line-height: .82; letter-spacing: -.035em; }
.legal-hero > div { max-width: 980px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #596164; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.legal-hero > div p { max-width: 62ch; margin: 0; color: #cbd0cf; font-size: 1.08rem; }
.legal-hero time { color: var(--lime); font-family: var(--display); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.legal-copy { max-width: 1040px; margin: 0 auto; padding: clamp(60px, 8vw, 112px) 28px; counter-reset: legal-section; }
.legal-copy section { display: grid; grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 92px); padding: 34px 0; border-top: 1px solid var(--rule); }
.legal-copy section:last-child { border-bottom: 1px solid var(--rule); }
.legal-copy h2 { margin: 0; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.legal-copy section > :not(h2) { grid-column: 2; }
.legal-copy section > p { max-width: 72ch; margin: 0 0 14px; }
.legal-copy ul { margin: 0; padding-left: 20px; }
.legal-copy li + li { margin-top: 9px; }

.security-page { background: var(--ground); }
.security-hero { min-height: 620px; padding: clamp(70px, 9vw, 132px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: end; gap: clamp(50px, 8vw, 130px); background-color: var(--screen); background-image: radial-gradient(circle at center, rgba(165, 183, 186, .16) 0 1px, transparent 1.3px); background-size: 22px 22px; color: #fff; }
.security-hero h1 { max-width: 11ch; margin: 0; font-family: var(--display); font-size: clamp(4.6rem, 8vw, 7.5rem); line-height: .82; letter-spacing: -.035em; }
.security-hero > div > p:last-child { max-width: 58ch; margin: 30px 0 0; color: #cbd0cf; font-size: 1.08rem; }
.security-hero dl { margin: 0; border-top: 1px solid #687174; }
.security-hero dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #687174; }
.security-hero dt { color: var(--lime); font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.security-hero dd { margin: 0; color: #fff; }
.security-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(70px, 8vw, 112px) clamp(22px, 7vw, 112px); }
.security-ledger article { min-height: 300px; padding: 34px clamp(24px, 4vw, 56px) 34px 0; border-top: 1px solid var(--ink); }
.security-ledger article:nth-child(even) { padding-right: 0; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--rule); }
.security-ledger h2, .security-boundary h2 { max-width: 14ch; margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 3.5vw, 3.8rem); line-height: .9; }
.security-ledger p { max-width: 67ch; color: var(--muted); }
.security-boundary { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--ink); }
.security-boundary > div { padding: clamp(60px, 7vw, 102px) clamp(22px, 7vw, 112px); }
.security-boundary > div:last-child { background: var(--lime); border-left: 1px solid var(--ink); }
.security-boundary p { max-width: 62ch; }
.security-boundary .button { margin-top: 20px; }
.security-kicker { margin: 0 0 18px; color: var(--blue); font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .08em; }

.issue-page { background: var(--ground); }
.issue-page .section-kicker { margin: 0 0 18px; color: var(--blue); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .09em; }
.issue-page h2 { margin: 0; font-family: var(--display); font-size: clamp(3.4rem, 6vw, 6.8rem); line-height: .86; letter-spacing: -.035em; }
.issue-page h3 { font-family: var(--display); line-height: 1; }
.issue-hero { min-height: 780px; padding: clamp(72px, 8vw, 132px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: end; gap: clamp(42px, 8vw, 130px); background-color: var(--screen); background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; color: #fff; }
.issue-hero-copy > p:first-child { margin: 0 0 24px; color: var(--lime); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .09em; }
.issue-hero h1 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(5rem, 9vw, 9rem); line-height: .79; letter-spacing: -.045em; }
.issue-hero-copy > p:nth-of-type(2) { max-width: 64ch; margin: 34px 0 0; color: #cbd0cf; font-size: 1.08rem; }
.issue-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.issue-hero .button.ghost { border-color: #778184; color: #fff; }
.issue-live-card { align-self: end; padding: 28px; border: 1px solid #596164; background: rgba(6,8,9,.86); }
.issue-live-card > span:first-child { display: flex; align-items: center; gap: 9px; color: var(--lime); font-family: var(--display); font-size: .74rem; font-weight: 700; letter-spacing: .08em; }
.issue-live-card i { width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.issue-live-card.is-active i { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 5px rgba(255,92,75,.12); }
.issue-live-card strong { display: block; margin-top: 22px; font-family: var(--display); font-size: 2rem; line-height: 1; }
.issue-live-card time, .issue-live-card > span:not(:first-child) { display: block; margin-top: 14px; color: #9da8aa; font-family: var(--display); font-size: .72rem; font-variant-numeric: tabular-nums; }
.issue-live-card p { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #596164; color: #cbd0cf; font-size: .84rem; }

.issue-explainer { padding: clamp(72px, 9vw, 140px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(320px, .75fr) minmax(560px, 1.25fr); gap: clamp(50px, 8vw, 130px); align-items: center; }
.issue-explainer > div > p:last-child { max-width: 62ch; color: var(--muted); }
.shared-ip-diagram { min-width: 0; margin: 0; display: grid; grid-template-columns: 1fr 170px 1fr 1fr; align-items: stretch; border: 1px solid var(--ink); background: var(--paper); }
.shared-ip-diagram figcaption { grid-column: 1 / -1; padding: 13px 16px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.diagram-origin, .diagram-visitors { padding: 24px 16px; display: grid; gap: 10px; }
.diagram-origin span, .diagram-visitors span { padding: 11px 8px; border: 1px solid var(--rule); font-family: var(--display); font-size: .76rem; text-align: center; }
.diagram-ip, .diagram-cut { display: grid; place-items: center; padding: 16px; border-left: 1px solid var(--ink); font-family: var(--display); font-size: 1.1rem; font-weight: 700; text-align: center; }
.diagram-ip { background: var(--lime); color: #060809; }
.diagram-cut { background: var(--coral); color: #060809; writing-mode: vertical-rl; transform: rotate(180deg); }
.diagram-visitors { border-left: 1px solid var(--ink); }

.issue-evidence { padding: clamp(72px, 8vw, 118px) clamp(22px, 7vw, 112px); background: var(--screen); color: #fff; }
.issue-evidence header { max-width: 1000px; }
.issue-evidence header > p:last-child { max-width: 68ch; color: #bdc5c7; }
.issue-evidence dl { margin: 62px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #596164; border-bottom: 1px solid #596164; }
.issue-evidence dl div { min-height: 210px; padding: 28px 24px; border-right: 1px solid #596164; }
.issue-evidence dl div:last-child { border-right: 0; }
.issue-evidence dt { color: var(--lime); font-family: var(--display); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 800; letter-spacing: -.04em; }
.issue-evidence dd { max-width: 18ch; margin: 20px 0 0; color: #fff; }
.source-note { max-width: 88ch; margin: 26px 0 0; color: #aeb8ba; font-size: .84rem; }
.source-note a { color: var(--lime); }

.issue-film { padding: clamp(72px, 9vw, 140px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(300px, .55fr) minmax(560px, 1.45fr); gap: clamp(48px, 7vw, 100px); align-items: end; background: var(--paper); }
.issue-film h2 { max-width: 10ch; font-size: clamp(3.2rem, 4.6vw, 5.2rem); }
.issue-film header > p:last-child { max-width: 54ch; color: var(--muted); }
.issue-video-shell { position: relative; min-width: 0; border: 1px solid var(--ink); background: #060809; box-shadow: 18px 18px 0 var(--lime); }
.issue-video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #060809; }

.issue-positions { padding: clamp(72px, 9vw, 140px) clamp(22px, 7vw, 112px); }
.issue-positions > header { max-width: 1050px; }
.issue-positions > div { margin-top: 62px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.issue-positions article { min-height: 360px; padding: 38px clamp(24px, 4vw, 60px) 38px 0; }
.issue-positions article + article { padding-right: 0; padding-left: clamp(24px, 4vw, 60px); border-left: 1px solid var(--ink); }
.issue-positions article > span, .press-note > span { color: var(--blue); font-family: var(--display); font-size: .74rem; font-weight: 700; letter-spacing: .08em; }
.issue-positions h3 { max-width: 17ch; margin: 22px 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.issue-positions article p { max-width: 62ch; color: var(--muted); }
.issue-positions article a { font-weight: 700; }
.position-coda { max-width: 76ch; margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--ink); }

.issue-timeline { display: grid; grid-template-columns: minmax(300px, .65fr) minmax(560px, 1.35fr); gap: clamp(50px, 8vw, 130px); padding: clamp(72px, 9vw, 140px) clamp(22px, 7vw, 112px); background: var(--screen); color: #fff; }
.issue-timeline header { position: sticky; top: 120px; align-self: start; }
.issue-timeline ol { margin: 0; padding: 0; list-style: none; }
.issue-timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid #596164; }
.issue-timeline li:last-child { border-bottom: 1px solid #596164; }
.issue-timeline time { color: var(--lime); font-family: var(--display); font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.issue-timeline h3 { margin: 0; font-size: 1.8rem; }
.issue-timeline li p { max-width: 66ch; color: #bdc5c7; }
.issue-timeline li a { color: var(--lime); }

.issue-news { padding: clamp(72px, 9vw, 140px) clamp(22px, 7vw, 112px); }
.issue-news > header { max-width: 960px; }
.issue-news > header > p:last-child { color: var(--muted); }
.news-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.news-grid article { min-height: 330px; padding: 30px; border-right: 1px solid var(--ink); }
.news-grid article:first-child { padding-left: 0; }
.news-grid article:last-child { padding-right: 0; border-right: 0; }
.news-grid time { color: var(--blue); font-family: var(--display); font-size: .72rem; font-weight: 700; }
.news-grid h3 { margin: 24px 0 18px; font-size: 2.25rem; }
.news-grid p { color: var(--muted); }
.press-note { margin-top: 54px; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--ink); background: var(--paper); }
.press-note h3 { max-width: 22ch; margin: 24px 0; font-size: clamp(2.7rem, 5vw, 5rem); }
.press-note p { max-width: 82ch; }

.issue-claim { padding: clamp(72px, 9vw, 140px) clamp(22px, 7vw, 112px); background: var(--lime); color: #060809; }
.issue-claim > header { max-width: 1050px; }
.issue-claim .section-kicker { color: #033eb6; }
.issue-claim > header > p:last-child { max-width: 68ch; }
.issue-claim > ol { margin: 58px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid #060809; border-bottom: 1px solid #060809; }
.issue-claim > ol li { min-height: 330px; padding: 28px; border-right: 1px solid #060809; }
.issue-claim > ol li:first-child { padding-left: 0; }
.issue-claim > ol li:last-child { padding-right: 0; border-right: 0; }
.issue-claim > ol b { font-family: var(--display); font-size: 2.5rem; }
.issue-claim h3 { margin: 48px 0 16px; font-size: 2rem; }
.issue-claim a { color: #060809; font-weight: 700; }
.complaint-template { margin-top: 48px; padding: clamp(24px, 4vw, 44px); border: 1px solid #060809; background: #faf9f7; color: #060809; }
.complaint-template > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.complaint-template > div span { font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.complaint-template button { min-height: 42px; padding: 9px 14px; border: 1px solid #060809; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.complaint-template pre { margin: 28px 0 0; white-space: pre-wrap; font: inherit; line-height: 1.6; }
html[lang="es"] [data-copy-lang="en"], html[lang="en"] [data-copy-lang="es"] { display: none; }
.complaint-template [data-copy-status] { min-height: 1.4em; margin: 14px 0 0; color: #033eb6; font-size: .84rem; font-weight: 700; }
.claim-disclaimer { max-width: 82ch; margin: 22px 0 0; font-size: .82rem; }

.issue-launch { padding: clamp(72px, 9vw, 132px) clamp(22px, 7vw, 112px); display: flex; align-items: end; justify-content: space-between; gap: 60px; background: var(--screen); color: #fff; }
.issue-launch > div { max-width: 1000px; }
.issue-launch p:last-child { max-width: 66ch; color: #bdc5c7; }
.issue-launch .button { flex: 0 0 auto; }

html[data-theme="dark"] {
  color-scheme: dark;
  --ground: #101419;
  --paper: #171d23;
  --ink: #f4f6f3;
  --screen: #010307;
  --screen-rule: #465155;
  --muted: #b7c0c2;
  --rule: #596469;
  --blue: #86a5ff;
  --blue-bright: #6f91ff;
  --green: #58d5a7;
}
html[data-theme="dark"] .button.primary,
html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] #cookie-accept,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .review-tab,
html[data-theme="dark"] .security-boundary > div:last-child,
html[data-theme="dark"] .button.danger { color: #060809; }
html[data-theme="dark"] .button.primary:hover:not(:disabled) { background: #f4f6f3; color: #060809; border-color: #f4f6f3; }
html[data-theme="dark"] .nav-cta:hover { background: #060809; color: var(--lime); }
html[data-theme="dark"] .var-hero,
html[data-theme="dark"] .next-match-board,
html[data-theme="dark"] .honesty,
html[data-theme="dark"] footer,
html[data-theme="dark"] .step-rail,
html[data-theme="dark"] .cookie-settings-toggle { color: #f4f6f3; }
html[data-theme="dark"] .button.ghost { color: #f4f6f3; }
html[data-theme="dark"] .single-price code,
html[data-theme="dark"] .form-stage select,
html[data-theme="dark"] .form-stage input[type="url"],
html[data-theme="dark"] .automation-control select,
html[data-theme="dark"] .auth-dossier { background: #171d23; }
html[data-theme="dark"] .auth-card { background-image: radial-gradient(circle at center, rgba(210,220,224,.14) 0 1px, transparent 1.3px); }
html[data-theme="dark"] .compatibility-warning { color: #ff9b88; }
html[data-theme="dark"] .cookie-settings-toggle { border-color: #596469; }
html[data-theme="dark"] .team-crest img { background: #f4f6f3; }
html[data-theme="dark"] .security-boundary > div:last-child a { color: #060809; }
html[data-theme="dark"] .offsite-clerk-card { background: #171d23 !important; color: #f4f6f3 !important; }
html[data-theme="dark"] .network-alert { background: color-mix(in srgb, var(--coral) 15%, var(--ground)); }
html[data-theme="dark"] .issue-film,
html[data-theme="dark"] .press-note { background: var(--paper); }
html[data-theme="dark"] .complaint-template { background: #f4f6f3; }

@media (max-width: 1120px) {
  .site-nav > nav, .secure-note { display: none; }
  .site-nav-actions { margin-left: auto; }
  .app-primary-nav > a:not(.app-add) { display: none; }
  .tenant-context { min-width: 160px; }
  .account-summary { display: none; }
}

@media (max-width: 1320px) {
  .site-nav.has-incident .network-alert-full { display: none; }
  .site-nav.has-incident .network-alert-compact { display: inline; }
}

@media (max-width: 1180px) {
  .var-hero { grid-template-columns: minmax(360px, .78fr) minmax(540px, 1.22fr); }
  .hero-copy h1 { font-size: clamp(5rem, 7.8vw, 6rem); }
  .process-ticker li { grid-template-columns: auto 1fr; }
  .process-ticker svg { display: none; }
  .match-radar { grid-template-columns: minmax(430px, .82fr) minmax(510px, 1.18fr); }
  .next-match-board, .fixture-week { padding: 48px 36px; }
  .fixture-week li { grid-template-columns: 116px 1fr; }
  .fixture-week li > em { grid-column: 2; width: fit-content; margin: -20px 0 16px; }
  footer { grid-template-columns: auto 1fr auto; }
  footer .footer-links { grid-column: 2; }
  footer .legal { grid-column: 2; }
  footer .footer-company { grid-column: 3; grid-row: 1; }
}

@media (max-width: 940px) {
  .var-hero { width: 100%; max-width: 100vw; grid-template-columns: minmax(0, 1fr); grid-template-rows: 54px auto auto auto; }
  .broadcast-status { grid-column: 1; }
  .hero-copy { min-width: 0; padding: 64px 26px 44px; }
  .hero-copy h1 { max-width: 10ch; font-size: clamp(4.6rem, 12vw, 7rem); }
  .hero-copy h1 span { width: auto; white-space: normal; transform: none; }
  .hero-copy > p { max-width: 58ch; }
  .route-key { margin-top: 36px; }
  .var-stage { min-width: 0; min-height: 590px; margin: 0 24px 28px; }
  .process-ticker { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-ticker .ticker-label { grid-column: 1 / -1; min-height: 66px; }
  .process-ticker li:nth-child(3), .process-ticker li:nth-child(5) { border-right: 0; }
  .process-ticker li:nth-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .match-radar { grid-template-columns: minmax(0, 1fr); }
  .next-match-board, .fixture-week { padding: 62px 26px; }
  .fixture-week li { grid-template-columns: 145px 1fr auto; }
  .fixture-week li > em { grid-column: auto; width: auto; margin: 0; }
  .mechanism, .pricing { grid-template-columns: 1fr; }
  .onboarding-shell { grid-template-columns: 1fr; }
  .step-rail { min-height: auto; padding: 38px 24px; }
  .step-rail h1 { max-width: 12ch; margin-top: 34px; font-size: 4rem; }
  .step-rail ol { display: flex; gap: 18px; margin: 36px 0 0; overflow-x: auto; }
  .step-rail li { min-width: 142px; border-bottom: 1px solid #414a4d; }
  .step-rail > p { display: none; }
  .rail-line { right: 30%; top: -100px; height: 320px; }
  .onboarding-panel { padding-top: 70px; }
  .route-table-head { display: none; }
  .route-row { grid-template-columns: 1fr 1fr; }
  .route-operation { grid-column: 1 / -1; padding: 20px 0 0; border-top: 1px solid var(--rule); border-left: 0; }
  .route-metrics { grid-column: 1 / -1; }
  .zone-group-head { align-items: start; flex-direction: column; }
  .route-actions { justify-content: flex-start; }
  .dashboard-head { align-items: start; flex-direction: column; }
  .dashboard-head-actions { width: 100%; justify-content: space-between; }
  .control-board { grid-template-columns: 1fr; align-items: start; }
  .audit-item summary { grid-template-columns: 125px 1fr auto; }
  .audit-details { padding-left: 149px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-pitch { padding: 72px 28px; }
  .auth-pitch-inner { width: 100%; }
  .auth-pitch h1 { max-width: 11ch; font-size: 5.8rem; }
  .auth-card { min-height: 0; padding: 64px 28px; order: -1; }
  .security-hero { min-height: auto; grid-template-columns: 1fr; align-items: start; }
  .security-hero dl { max-width: 720px; }
  .legal-copy section { grid-template-columns: 210px 1fr; gap: 42px; }
  .issue-hero, .issue-explainer, .issue-film, .issue-timeline { grid-template-columns: 1fr; }
  .issue-hero { min-height: auto; }
  .issue-live-card { max-width: 720px; }
  .shared-ip-diagram { grid-template-columns: 1fr 140px 1fr 1fr; }
  .issue-timeline header { position: static; }
  .issue-claim > ol { grid-template-columns: repeat(2, 1fr); }
  .issue-claim > ol li:nth-child(2) { border-right: 0; }
  .issue-claim > ol li:nth-child(-n+2) { border-bottom: 1px solid #060809; }
}

@media (max-width: 760px) {
  .tenant-context { display: none; }
}

@media (max-width: 640px) {
  .site-nav, .app-nav { min-height: 70px; padding: 0 16px; gap: 12px; }
  .brand-lockup { width: 150px; height: 37px; }
  .site-nav-actions { gap: 6px; }
  html[data-authenticated="true"] .site-nav-actions > .locale-segment { display: none; }
  .site-nav .control-room-link { display: none; }
  .site-nav .account-menu summary { width: 42px; padding: 3px; }
  .site-nav .account-menu summary > svg { display: none; }
  .app-brand > span { display: none; }
  .app-primary-nav { margin-left: auto; }
  .app-primary-nav .app-add { width: 42px; padding: 8px; justify-content: center; overflow: hidden; font-size: 0; }
  .app-primary-nav .app-add .ui-icon { width: 20px; height: 20px; }
  .app-account .account-menu summary { width: 42px; padding: 3px; }
  .app-account .account-menu summary > svg { display: none; }
  .account-panel { position: fixed; top: 70px; right: 10px; width: min(320px, calc(100vw - 20px)); }
  .nav-cta { min-height: 40px; padding: 8px 10px; gap: 7px; font-size: .9rem; }
  .nav-cta-full { display: none; }
  .nav-cta-compact { display: inline; }
  .broadcast-status { padding: 0 17px; gap: 9px; font-size: .74rem; }
  .broadcast-status i, .broadcast-fixture { display: none; }
  .broadcast-id { display: block; margin-left: auto; font-size: .66rem; }
  .broadcast-status .match-countdown { color: var(--lime); font-variant-numeric: tabular-nums; }
  .hero-copy { padding: 38px 18px 28px; }
  .hero-copy h1 { max-width: 100%; font-size: 3.8rem; line-height: .84; }
  .hero-copy > p { margin-top: 20px; font-size: .96rem; }
  .hero-actions { margin-top: 22px; align-items: stretch; flex-direction: column; gap: 10px; }
  .button { width: 100%; min-height: 46px; }
  .route-key { margin-top: 24px; padding-top: 0; gap: 15px; font-size: .72rem; }
  .var-stage { min-height: 0; margin: 0 12px 18px; }
  .review-tab { font-size: .9rem; }
  .var-map, .lottie-map { min-height: 390px; transform: scale(1.13); transform-origin: 46% 40%; }
  .verdict-bar { position: relative; right: auto; bottom: auto; width: auto; min-height: 78px; margin: 58px 12px 0; padding: 10px 12px; grid-template-columns: 1.15fr 1px .85fr 38px; gap: 10px; }
  .verdict-bar strong { font-size: 1rem; }
  .verdict-bar i { height: 48px; }
  .verdict-bar b { width: 34px; height: 34px; font-size: 1rem; }
  .process-ticker li { min-height: 90px; padding: 14px; }
  .process-ticker li > b { font-size: 1.5rem; }
  .process-ticker strong { font-size: 1.02rem; }
  .next-match-board, .fixture-week { padding: 52px 18px; }
  .next-match-board > header, .fixture-week > header { align-items: start; flex-direction: column; gap: 10px; }
  .fixture-week > header p { text-align: left; }
  .featured-match { min-height: 235px; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); gap: 10px; }
  .featured-team.away { justify-items: end; }
  .team-crest { width: 58px; height: 58px; }
  .featured-team strong { margin-top: 13px; font-size: 1.35rem; }
  .featured-kickoff b { font-size: 1.55rem; }
  .featured-kickoff time { font-size: .7rem; }
  .countdown-panel output { font-size: clamp(2.45rem, 12vw, 3.2rem); }
  .countdown-panel.is-urgent::after { position: static; display: inline-block; margin: 10px 0 0; }
  .fixture-week li { min-height: 0; padding: 22px 0; grid-template-columns: 1fr; gap: 17px; }
  .fixture-week li > em { display: none; }
  .fixture-pair { gap: 8px; }
  .fixture-pair > span { align-items: start; flex-direction: column; gap: 8px; }
  .fixture-pair > span:last-child { align-items: end; flex-direction: column; }
  .fixture-pair b { font-size: 1rem; }
  .fixture-week-empty { min-height: 210px; }
  .fixture-empty { min-height: 300px; }
  .mechanism, .pricing { padding: 78px 20px; }
  .section-intro h2 { font-size: 4rem; }
  .mechanism-motion { margin-top: 38px; }
  .decision-log li { grid-template-columns: 52px 1fr; }
  .decision-log li > span { grid-column: 2; width: fit-content; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip p:nth-child(2) { border-right: 0; }
  .proof-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .price-ledger article { grid-template-columns: 1fr; }
  .price-offer, .price { text-align: left; }
  .price-reference { justify-content: flex-start; }
  .launch-saving { margin-left: 0; }
  .price-ledger article > .button, .price-ledger ul { grid-column: 1; grid-row: auto; }
  .honesty { padding: 70px 20px; align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr; padding-bottom: 64px; }
  footer .footer-links, footer .footer-company { grid-column: 1; grid-row: auto; }
  footer .legal { grid-column: 1; }
  .footer-company { justify-items: start; }
  .footer-links { flex-wrap: wrap; }
  .cookie-consent { right: 10px; bottom: 10px; left: 10px; width: calc(100vw - 20px); padding: 14px; grid-template-columns: 1fr; gap: 12px; }
  .cookie-watermark { top: -24px; right: -8px; width: 104px; height: 104px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions button { width: 100%; }
  .cookie-actions button { min-height: 46px; }
  .secure-note { display: none; }
  .step-rail h1 { font-size: 3.6rem; }
  .step-rail ol { gap: 10px; }
  .step-rail li { min-width: 48px; font-size: 0; }
  .step-rail li span { font-size: .9rem; }
  .onboarding-panel { padding: 55px 20px 80px; }
  .form-stage h2 { font-size: 4rem; }
  .route-choice span { grid-template-columns: 1fr; }
  .route-choice small, .route-choice em { grid-column: 1; }
  .route-choice.single-route span { grid-template-columns: 1fr; }
  .route-choice.single-route small, .route-choice.single-route em { grid-column: 1; }
  #review-list div { grid-template-columns: 1fr; gap: 3px; }
  .dashboard { padding: 56px 20px 90px; }
  .dashboard-head { align-items: start; flex-direction: column; }
  .dashboard h1 { font-size: 4.5rem; }
  .dashboard-head-actions { align-items: stretch; flex-direction: column; }
  .account-usage { width: 100%; }
  .account-usage div { min-width: 0; flex: 1; }
  .control-board { gap: 20px; }
  .bulk-actions { width: 100%; flex-direction: column; }
  .bulk-actions .button { width: 100%; }
  .dns-timing { grid-template-columns: 1fr; gap: 6px; }
  .route-row { grid-template-columns: 1fr; }
  .route-operation { grid-column: 1; }
  .automation-choice { grid-template-columns: 1fr; gap: 7px; }
  .route-metrics { grid-column: 1; }
  .metrics-summary { grid-template-columns: 1fr 1fr; }
  .metrics-summary div:nth-child(2) { border-right: 0; }
  .metrics-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .metrics-ledger th:nth-child(3), .metrics-ledger td:nth-child(3) { display: none; }
  .zone-scope { grid-template-columns: 1fr; }
  .zone-scope > p { grid-column: 1; }
  .hostname-picker legend, .hostname-picker > p { float: none; display: block; }
  .hostname-picker > p { margin-top: 5px; }
  .hostname-option span { align-items: start; flex-direction: column; gap: 3px; }
  .zone-group-head dl { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .route-actions, .route-modes { align-items: stretch; flex-direction: column; }
  .route-actions button { min-height: 44px; justify-content: center; }
  .route-dialog form { padding-inline: 20px; }
  .route-dialog .dialog-actions { flex-direction: column; }
  .route-dialog .dialog-actions .button { width: 100%; }
  .route-autodetect ol { grid-template-columns: 1fr; }
  .route-autodetect li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding-top: 10px; }
  .route-autodetect li::before { margin: 0; }
  .audit-ledger > header { align-items: start; flex-direction: column; }
  .audit-item summary { grid-template-columns: 1fr; gap: 6px; }
  .audit-details { padding-left: 0; }
  .audit-change { grid-template-columns: 1fr; gap: 4px; }
  .audit-change i { text-align: left; transform: rotate(90deg); width: fit-content; }
  .notification-settings > header { align-items: start; flex-direction: column; }
  .monitoring-explainer { grid-template-columns: 1fr; gap: 18px; }
  .dashboard-recovery { align-items: stretch; flex-direction: column; }
  .recovery-actions { width: 100%; }
  .auth-nav .text-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; }
  .auth-shell { min-height: calc(100svh - 70px); }
  .auth-pitch { padding: 58px 20px; }
  .auth-pitch h1 { margin-top: 34px; font-size: 4.9rem; }
  .auth-promises { margin-top: 44px; }
  .auth-card { min-height: 0; padding: 44px 14px 54px; }
  .auth-card-intro { padding-inline: 18px; }
  .clerk-sign-in { padding: 16px 18px 8px; }
  .trust-nav nav .text-link:not(:last-child) { display: none; }
  .trust-actions, .auth-nav-actions { gap: 9px; }
  .legal-hero { padding: 64px 20px; }
  .legal-hero h1 { font-size: 4.7rem; }
  .legal-hero > div { align-items: start; flex-direction: column; gap: 16px; }
  .legal-copy { padding: 54px 20px; }
  .legal-copy section { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .legal-copy section > :not(h2) { grid-column: 1; }
  .security-hero { padding: 64px 20px; }
  .security-hero h1 { font-size: 4.4rem; }
  .security-hero dl div { grid-template-columns: 105px 1fr; }
  .security-ledger, .security-boundary { grid-template-columns: 1fr; }
  .security-ledger { padding: 54px 20px; }
  .security-ledger article, .security-ledger article:nth-child(even) { min-height: 0; padding: 30px 0; border-left: 0; }
  .security-boundary > div { padding: 54px 20px; }
  .security-boundary > div:last-child { border-left: 0; border-top: 1px solid var(--ink); }
  .issue-hero { padding: 60px 20px; }
  .issue-hero h1 { font-size: 4.8rem; }
  .issue-hero-actions, .issue-launch { align-items: stretch; flex-direction: column; }
  .issue-explainer, .issue-evidence, .issue-film, .issue-positions, .issue-timeline, .issue-news, .issue-claim, .issue-launch { padding: 64px 20px; }
  .issue-page h2 { font-size: 4rem; }
  .shared-ip-diagram { grid-template-columns: 1fr; }
  .diagram-ip, .diagram-cut, .diagram-visitors { border-top: 1px solid var(--ink); border-left: 0; }
  .diagram-cut { min-height: 76px; writing-mode: horizontal-tb; transform: none; }
  .issue-evidence dl { grid-template-columns: 1fr 1fr; }
  .issue-evidence dl div { min-height: 170px; }
  .issue-evidence dl div:nth-child(2) { border-right: 0; }
  .issue-evidence dl div:nth-child(-n+2) { border-bottom: 1px solid #596164; }
  .issue-video-shell { box-shadow: 8px 8px 0 var(--lime); }
  .issue-positions > div, .news-grid { grid-template-columns: 1fr; }
  .issue-positions article, .issue-positions article + article, .news-grid article, .news-grid article:first-child, .news-grid article:last-child { min-height: 0; padding: 30px 0; border-right: 0; border-left: 0; }
  .issue-positions article + article, .news-grid article + article { border-top: 1px solid var(--ink); }
  .issue-timeline li { grid-template-columns: 1fr; gap: 10px; }
  .issue-claim > ol { grid-template-columns: 1fr; }
  .issue-claim > ol li, .issue-claim > ol li:first-child, .issue-claim > ol li:last-child { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid #060809; }
  .issue-claim > ol li:last-child { border-bottom: 0; }
  .issue-claim h3 { margin-top: 20px; }
  .complaint-template > div { align-items: stretch; flex-direction: column; }
  .issue-launch .button { width: 100%; }
}

@media (max-width: 640px) {
  .site-nav.has-incident { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-nav.has-incident .site-nav-actions { width: 100%; flex-wrap: wrap; }
  .site-nav.has-incident .network-alert { order: 5; width: 100%; min-height: 30px; justify-content: center; padding: 6px 9px; }
  .site-nav.has-incident .network-alert-full { display: inline; }
  .site-nav.has-incident .network-alert-compact { display: none; }
}

@media (max-width: 480px) {
  .site-nav { padding: 0 10px; gap: 6px; }
  .site-nav .brand-lockup { width: 128px; height: 32px; }
  .site-nav-actions { gap: 4px; }
  .site-nav .locale-segment { height: 34px; }
  .site-nav .locale-segment button { min-width: 31px; height: 34px; padding: 0 6px; }
  .site-nav .sign-in-link { font-size: .78rem; }
  .site-nav .nav-cta { min-height: 38px; padding: 7px 9px; font-size: .8rem; }
  .site-nav .nav-cta .ui-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lottie-map, .lottie-lifecycle { transition: none; }
}

/* 2026-08 control-room simplification */
.app-nav {
  min-height: 74px;
  padding-block: 10px;
  gap: 22px;
}
.app-brand { min-width: 0; }
.app-brand > span { padding-left: 18px; font-size: .76rem; }
.app-primary-nav { gap: 8px; }
.app-primary-nav > a:not(.app-add) {
  min-height: 40px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.app-primary-nav > a:not(.app-add):hover { color: var(--blue); }
.app-primary-nav .ui-icon { width: 17px; height: 17px; }
.app-add { gap: 10px; white-space: nowrap; }
.account-panel nav a,
.account-panel nav button { justify-content: flex-start; }
.account-panel nav a > span,
.account-panel nav button > span { flex: 1; }
.account-panel nav .ui-icon:first-child { width: 18px; height: 18px; color: var(--blue); }
.account-panel nav .ui-icon:last-child { width: 16px; height: 16px; }
.account-team { margin-top: 14px; padding: 12px 0 2px; border-top: 1px solid var(--rule); }
.account-team > span { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.account-team .ui-icon { width: 16px; height: 16px; }

.domain-check { width: min(100%, 620px); margin-top: 30px; }
.domain-check > label { display: block; margin-bottom: 8px; color: var(--lime); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.domain-check > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.domain-check input { min-width: 0; height: 54px; padding: 12px 16px; border: 1px solid #7d8789; border-right: 0; border-radius: 2px 0 0 2px; background: #fff; color: var(--ink); font: inherit; font-size: 1.06rem; }
.domain-check input::placeholder { color: #687174; }
.domain-check input[aria-invalid="true"] { border-color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); }
.domain-check .button { min-height: 54px; border-radius: 0 2px 2px 0; }
.domain-check > small { display: block; margin-top: 8px; color: #aeb7b8; font-size: .78rem; }
.domain-check-result { width: min(100%, 620px); margin-top: 14px; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 18px; border: 1px solid #697477; background: #101518; }
.domain-check-result > div:first-child { display: flex; align-items: flex-start; gap: 12px; }
.domain-check-result > div:first-child > i { width: 11px; height: 11px; margin-top: 4px; flex: 0 0 11px; border-radius: 50%; background: var(--green); }
.domain-check-result.active > div:first-child > i { background: var(--coral); }
.domain-check-result.history > div:first-child > i { background: var(--amber); }
.domain-check-result.unknown > div:first-child > i { background: var(--rule); }
.domain-check-result strong,
.domain-check-result small { display: block; }
.domain-check-result strong { color: #fff; font-family: var(--display); font-size: 1.15rem; }
.domain-check-result small { margin-top: 3px; color: #b8c1c2; line-height: 1.4; }
.domain-check-result .button { width: auto; min-height: 44px; margin: 0; align-self: end; }
.domain-check-result.loading p,
.domain-check-result.error p { margin: 0; color: #fff; }
.domain-check-result.loading,
.domain-check-result.error { grid-template-columns: 1fr; }
.domain-check-result.error { border-color: var(--coral); }
.domain-check-result.error span { display: block; margin-top: 4px; color: #d3d8d8; }
.domain-check-meta { grid-column: 1 / -1; margin-top: 0; padding-top: 10px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #3c4649; color: #aeb7b8; font-size: .75rem; }
.domain-check-meta span:last-child { max-width: 42ch; text-align: right; }
.domain-check-meta strong { display: inline; color: #fff; font-family: inherit; font-size: inherit; }
.hero-story-link { display: inline-flex; align-items: center; gap: 8px; color: #d3d8d8; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-story-link:hover { color: var(--lime); }

.risk-radar { display: block; border-bottom: 1px solid var(--ink); background: var(--ground); color: var(--ink); }
.risk-radar-head { padding: 42px clamp(22px, 5vw, 72px) 26px; display: flex; justify-content: space-between; align-items: end; gap: 32px; border-bottom: 1px solid var(--ink); }
.risk-radar-head h2 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .88; letter-spacing: -.025em; }
.risk-radar-head p { max-width: 68ch; margin: 10px 0 0; color: var(--muted); }
.risk-radar-head > span { flex: none; color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.risk-timeline { padding: 32px clamp(22px, 5vw, 72px) 28px; overflow-x: auto; }
.risk-timeline ol { min-width: max(100%, 1680px); margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(230px, 1fr)); list-style: none; }
.risk-timeline li { min-width: 0; min-height: 230px; padding: 0 12px 14px; border-left: 1px solid var(--rule); }
.risk-timeline li:last-child { border-right: 1px solid var(--rule); }
.risk-timeline time { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-family: var(--display); font-size: .72rem; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.risk-timeline time strong { color: var(--ink); }
.risk-track { height: 50px; margin-top: 12px; position: relative; display: flex; align-items: center; }
.risk-track::before { content: ""; position: absolute; right: -12px; left: -12px; height: 1px; background: var(--rule); }
.risk-track i { width: 10px; height: 10px; position: relative; z-index: 1; border: 2px solid var(--ground); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.risk-track b { margin-left: 8px; position: relative; z-index: 1; padding: 3px 6px; background: var(--ground); font-family: var(--display); font-size: .7rem; text-transform: uppercase; }
.risk-timeline .has-risk { background: color-mix(in srgb, var(--coral) 6%, transparent); }
.risk-timeline .has-risk .risk-track::before { height: 7px; background: var(--coral); }
.risk-timeline .has-risk .risk-track i { width: 14px; height: 14px; background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.risk-timeline li > small { display: block; color: var(--muted); font-size: .7rem; }
.risk-matches { display: grid; gap: 10px; }
.risk-match { padding-top: 10px; border-top: 1px solid var(--rule); }
.risk-match > time { display: block; color: var(--blue); font-family: var(--display); font-size: .84rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.risk-match > div { margin-top: 7px; display: grid; grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr); align-items: center; gap: 5px; }
.risk-team { min-width: 0; display: flex; align-items: center; gap: 7px; }
.risk-team:last-child { flex-direction: row-reverse; text-align: right; }
.risk-team b { min-width: 0; font-size: .7rem; line-height: 1.15; }
.risk-team-crest { width: 28px; height: 28px; flex: 0 0 28px; position: relative; display: grid; place-items: center; border: 1px solid var(--rule); background: #fff; overflow: hidden; }
.risk-team-crest img { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; object-fit: contain; background: #fff; }
.risk-team-crest i { color: var(--muted); font-family: var(--display); font-size: .58rem; font-style: normal; font-weight: 700; }
.risk-versus { color: var(--muted); font-family: var(--display); font-size: .72rem; text-align: center; }
.risk-radar-foot { min-height: 58px; padding: 12px clamp(22px, 5vw, 72px); display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--rule); }
.risk-radar-foot > span { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.risk-radar-foot > span i { width: 30px; height: 7px; background: var(--coral); }
.risk-radar-foot > p { margin: 0 0 0 auto; color: var(--muted); font-size: .7rem; }
.countdown-inline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .76rem; }
.countdown-inline b { font-family: var(--display); color: var(--blue); }
.countdown-inline output { color: var(--ink); font-variant-numeric: tabular-nums; }

.decision-log { grid-template-columns: 1fr; }
.proof-strip { grid-template-columns: repeat(4, 1fr); }
.honesty > div:last-child { display: grid; gap: 12px; justify-items: start; }

.dashboard { max-width: 1380px; padding-top: 44px; }
.dashboard-head { align-items: center; }
.dashboard h1 { font-size: clamp(3.8rem, 6vw, 5.6rem); }
.dashboard-subtitle { margin: 16px 0 0; color: var(--muted); font-size: 1.02rem; }
.dashboard-head-actions { align-items: center; }
.account-usage div { min-width: 190px; }
.account-usage dd { max-width: none; }
.control-status[data-state="loading"] i,
.control-status[data-state="empty"] i { background: var(--ground); }
.control-status[data-state="protected"] i { background: var(--green); }
.control-status[data-state="mixed"] i,
.control-status[data-state="attention"] i { background: var(--amber); }
.control-board { display: block; margin-top: 18px; padding: 0; }
.control-board > summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; cursor: pointer; list-style: none; }
.control-board > summary::-webkit-details-marker { display: none; }
.control-board > summary > span { color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.control-board > summary > span::after { content: " +"; }
.control-board[open] > summary > span::after { content: " −"; }
.control-board-content { padding: 20px 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; border-top: 1px solid var(--rule); }
.control-board-content > p { margin: 0; }
.control-board h2 { font-size: 1.8rem; }
.control-board p { font-size: .9rem; }
.dns-timing { display: block; padding: 14px 0; }
.dns-timing summary { width: max-content; cursor: pointer; color: var(--blue); font-weight: 650; }
.dns-timing p { margin-top: 10px; }
.routes-list { scroll-margin-top: 90px; }
.routes-empty { margin-top: 28px; padding: 44px; border: 1px solid var(--ink); text-align: center; }
.routes-empty strong { display: block; font-family: var(--display); font-size: 2rem; }
.routes-empty p { margin: 8px auto 24px; color: var(--muted); }
.zone-group { margin-top: 34px; border-bottom: 0; }
.zone-group-head { align-items: center; padding: 18px 0; }
.zone-group-head h2,
.route-row h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.zone-group-head h2 { font-size: 2rem; }
.zone-group-head p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.zone-group-head > a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 650; text-decoration: none; }
.zone-group-head > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.route-row { grid-template-columns: minmax(240px, 1fr) minmax(300px, 1.05fr) auto; gap: 26px; align-items: center; padding: 22px 0; }
.route-identity h2 { font-size: 1.25rem; }
.route-state { gap: 5px; }
.route-state > strong { font-size: 1rem; }
.route-state > span { color: var(--blue); font-size: .72rem; }
.route-state > small { max-width: 56ch; color: var(--muted); font-size: .72rem; }
.route-operation { padding-left: 0; border-left: 0; }
.route-actions { margin: 0; padding: 0; border-top: 0; justify-content: flex-end; flex-wrap: nowrap; }
.route-actions button { min-height: 40px; white-space: nowrap; text-transform: none; }
.route-actions .route-primary-action { min-width: 156px; color: var(--ink); border-color: var(--ink); }
.route-actions .route-primary-action.protect { background: var(--lime); }
.route-actions .route-primary-action.restore { min-width: 188px; background: var(--paper); }
.route-actions .route-remove { width: 40px; min-width: 40px; padding: 8px; overflow: hidden; color: var(--muted); font-size: 0; gap: 0; }
.route-actions .route-remove .ui-icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--muted); }
.route-metrics { padding: 24px 0 10px; }
.metrics-compact { display: grid; grid-template-columns: minmax(380px, .8fr) minmax(420px, 1.2fr); gap: 26px; }
.metrics-summary { grid-template-columns: repeat(2, 1fr); }
.metrics-summary div:nth-child(2) { border-right: 0; }
.metrics-summary div:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }
.metrics-summary dd { font-size: 1.28rem; }
.latency-chart { margin: 0; padding: 14px 16px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.latency-chart figcaption { display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; }
.latency-chart figcaption strong { color: var(--ink); font-family: var(--display); text-transform: uppercase; }
.latency-chart svg { width: 100%; height: 150px; margin-top: 10px; overflow: visible; }
.latency-chart .chart-grid { fill: none; stroke: var(--rule); stroke-width: 1; }
.latency-chart polyline { fill: none; stroke: var(--blue-bright); stroke-width: 4; vector-effect: non-scaling-stroke; }
.metrics-readings { margin-top: 14px; }
.metrics-readings summary { width: max-content; cursor: pointer; color: var(--blue); font-weight: 650; }

.audit-ledger { scroll-margin-top: 90px; }
.audit-ledger > header { align-items: center; }
.audit-ledger > header h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.audit-ledger > header p { max-width: 66ch; margin: 7px 0 0; color: var(--muted); font-family: var(--sans); font-size: .84rem; font-weight: 400; letter-spacing: 0; }
.audit-item summary { grid-template-columns: 122px minmax(0, 1fr) 150px auto; gap: 18px; }
.audit-event-icon { width: 116px; min-height: 42px; padding: 7px 9px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--green-text); color: var(--green-text); font-family: var(--display); font-size: .7rem; font-weight: 700; }
.audit-event-icon .ui-icon { width: 20px; height: 16px; }
.audit-event-icon.provider-cloudflare { color: var(--ink); border-color: var(--blue); }
.audit-event-icon.provider-cloudflare span { color: var(--blue); }
.audit-event-icon.failed { color: var(--coral-text); border-color: var(--coral-text); }
.audit-event-icon.rolled_back { color: var(--blue); border-color: var(--blue); }
.audit-item summary time { text-align: right; }
.audit-details { padding-left: 140px; }
.audit-more { color: var(--muted); font-size: .8rem; }

.notification-settings { margin-top: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.notification-settings > summary { min-height: 82px; padding: 16px 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; cursor: pointer; list-style: none; }
.notification-settings > summary::-webkit-details-marker { display: none; }
.notification-settings > summary > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); }
.notification-settings > summary .ui-icon { width: 18px; height: 18px; }
.notification-settings > summary strong,
.notification-settings > summary small { display: block; }
.notification-settings > summary strong { font-family: var(--display); font-size: 1.5rem; }
.notification-settings > summary small { margin-top: 3px; color: var(--muted); overflow-wrap: anywhere; }
.notification-settings form { padding: 0 48px 28px; }
.notification-settings form > p { margin-top: 0; }

.settings-dialog { max-height: calc(100svh - 32px); overflow: hidden; }
.settings-dialog form { max-height: calc(100svh - 34px); overflow-y: auto; }
.settings-dialog h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.settings-dialog .dialog-actions { position: sticky; bottom: 0; z-index: 2; padding-top: 14px; border-top: 1px solid var(--rule); background: var(--ground); }
.automation-options { margin: 24px 0 0; padding: 0; border: 0; border-top: 1px solid var(--ink); }
.automation-options legend { padding: 0 0 10px; color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.automation-options label { padding: 15px 4px; display: grid; grid-template-columns: 24px 1fr; gap: 12px; border-bottom: 1px solid var(--rule); cursor: pointer; }
.automation-options label:has(input:checked) { background: color-mix(in srgb, var(--lime) 14%, transparent); }
.automation-options input { margin-top: 5px; accent-color: var(--blue); }
.automation-options strong,
.automation-options small { display: block; }
.automation-options strong { font-family: var(--display); font-size: 1.15rem; }
.automation-options small { margin-top: 3px; color: var(--muted); line-height: 1.4; }

.issue-solution { padding: 60px clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; background: var(--lime); color: var(--ink); }
.issue-solution h2 { max-width: 18ch; margin: 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 5.6rem); line-height: .86; letter-spacing: -.03em; }
.issue-solution p { max-width: 68ch; margin: 18px 0 0; }
.issue-solution .button.primary { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.issue-solution .button.primary:hover { background: #fff; color: var(--ink); }

html[data-theme="dark"] .domain-check-result { background: #0d1115; }
html[data-theme="dark"] .risk-radar,
html[data-theme="dark"] .risk-track b { background: var(--ground); }
html[data-theme="dark"] .risk-timeline .has-risk { background: color-mix(in srgb, var(--coral) 10%, transparent); }
html[data-theme="dark"] .issue-solution { background: var(--lime); color: #060809; }

@media (max-width: 1120px) {
  .app-primary-nav > a:not(.app-add) { display: none; }
  .route-row { grid-template-columns: minmax(220px, .8fr) minmax(270px, 1fr); }
  .route-operation { grid-column: 1 / -1; }
  .route-actions { justify-content: flex-start; }
}

@media (max-width: 940px) {
  .risk-radar-head { align-items: start; flex-direction: column; }
  .dashboard-head { align-items: start; flex-direction: column; }
  .dashboard-head-actions { width: 100%; justify-content: space-between; }
  .control-board { grid-template-columns: 1fr; }
  .control-board-content { grid-template-columns: 1fr; }
  .bulk-actions { flex-wrap: wrap; }
  .metrics-compact { grid-template-columns: 1fr; }
  .issue-solution { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .app-nav { min-height: 70px; }
  .app-brand > span { display: none; }
  .app-primary-nav { margin-left: auto; }
  .app-primary-nav .app-add { width: 44px; min-height: 44px; padding: 8px; justify-content: center; overflow: hidden; font-size: 0; }
  .app-primary-nav .app-add .ui-icon { width: 20px; height: 20px; }
  .account-summary { display: none; }
  .account-menu summary { width: 46px; padding: 5px; }
  .account-menu summary > svg { display: none; }
  .account-panel { position: fixed; top: 69px; right: 10px; left: 10px; width: auto; max-height: calc(100svh - 80px); overflow-y: auto; }
  .domain-check > div { grid-template-columns: 1fr; }
  .domain-check input { border-right: 1px solid #7d8789; border-bottom: 0; border-radius: 2px 2px 0 0; }
  .domain-check .button { width: 100%; border-radius: 0 0 2px 2px; }
  .domain-check-result { grid-template-columns: 1fr; }
  .domain-check-result .button { width: 100%; border-radius: 2px; }
  .domain-check-meta { align-items: start; flex-direction: column; gap: 5px; }
  .domain-check-meta span:last-child { text-align: left; }
  .risk-radar-head { padding-top: 30px; }
  .risk-radar-head h2 { font-size: 2.6rem; }
  .risk-timeline { padding-inline: 16px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip p { min-width: 0; }
  .risk-radar-foot { align-items: start; flex-direction: column; gap: 10px; }
  .risk-radar-foot > p { margin-left: 0; }
  .step-rail { padding: 22px 20px 20px; }
  .step-rail h1 { margin-top: 18px; font-size: 2.8rem; }
  .step-rail h1 .rail-secondary { display: none; }
  .step-rail ol { margin: 18px 0 0; }
  .step-rail li { min-height: 42px; }
  .onboarding-panel { padding: 34px 20px 72px; }
  .onboarding-panel .notice { margin-bottom: 24px; }
  .form-stage h2 { font-size: 3.2rem; }
  .form-stage > p:not(.stage-count):not(.fine-print) { margin: 16px 0 24px; }
  .dashboard { padding: 34px 18px 76px; }
  .dashboard h1 { font-size: 4rem; }
  .dashboard-head-actions { align-items: stretch; flex-direction: column; }
  .account-usage { width: 100%; }
  .account-usage div { width: 100%; min-width: 0; }
  .dashboard-head-actions .button { width: 100%; }
  .control-board > summary { min-height: 54px; padding: 11px 0; }
  .control-board > summary div > p { display: none; }
  .control-board h2 { font-size: 1.25rem; line-height: 1; }
  .control-board > summary > span { flex: 0 0 auto; }
  .bulk-actions { display: grid; }
  .bulk-actions .button { width: 100%; }
  .routes-empty { padding: 30px 18px; }
  .zone-group-head { align-items: start; flex-direction: column; }
  .route-row { grid-template-columns: 1fr; gap: 15px; }
  .route-operation { grid-column: auto; }
  .route-actions { display: grid; grid-template-columns: 1fr 1fr 40px; }
  .route-actions button { min-height: 44px; }
  .route-modes { grid-column: 1 / -1; }
  .route-actions .route-primary-action { width: 100%; }
  .metrics-summary { grid-template-columns: 1fr 1fr; }
  .metrics-summary div { min-height: 80px; padding: 12px; }
  .metrics-summary dd { font-size: 1.05rem; }
  .latency-chart svg { height: 120px; }
  .metrics-ledger { min-width: 620px; }
  .metrics-readings { overflow-x: auto; }
  .audit-ledger > header { align-items: start; flex-direction: column; }
  .audit-item summary { grid-template-columns: 116px minmax(0, 1fr) auto; }
  .audit-item summary time { grid-column: 2; text-align: left; }
  .audit-outcome { grid-column: 3; grid-row: 1 / span 2; }
  .audit-details { padding-left: 0; }
  .audit-change { grid-template-columns: 1fr; }
  .audit-change i { text-align: left; transform: rotate(90deg); }
  .notification-settings form { padding-inline: 0; }
  .issue-solution { padding-block: 44px; }
}
