/* Pursuit — calm, civic, legible. One bold device: the hi-vis livery band on the verdict strip. */
:root {
  /* Command-centre palette: one dark theme, teal for signal, orange/red for threat. */
  --paper: #050A12;
  --surface: #0A1420;
  --surface-2: #0E1B2A;
  --ink: #DCE8F3;
  --ink-2: #8197AE;
  --line: #1B3247;
  --navy: #03070D;
  --on-navy: #DCE8F3;
  --hivis: #3FD9E8;
  --on-hivis: #031016;
  --danger: #FF4D5E;
  --danger-bg: rgba(255, 77, 94, .10);
  --warn: #FF9F43;
  --warn-bg: rgba(255, 159, 67, .10);
  --freeze: #3FD9E8;
  --freeze-bg: rgba(63, 217, 232, .08);
  --ok: #3DDC97;
  --ok-bg: rgba(61, 220, 151, .08);
  --link: #6CCBFF;
  --focus: #3FD9E8;
  --glow: 0 0 0 1px rgba(63, 217, 232, .07), 0 10px 30px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .025);
  --glow-teal: 0 0 18px rgba(63, 217, 232, .35);
  --glow-red: 0 0 18px rgba(255, 77, 94, .35);
  --r-sm: 3px;
  --r: 6px;
  --sans: "Inter", "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Rajdhani", "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --measure: 68ch;
  --gutter: 16px;
  --nav-h: 56px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.55 var(--sans); min-height: 100vh; display: flex; flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; outline: none; padding-bottom: 40px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem); }
h2 { font-size: 1.375rem; margin-top: 1.6em; }
h3 { font-size: 1.0625rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); }
a { color: var(--link); text-underline-offset: 2px; }
code, .mono { font-family: var(--mono); font-size: .92em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { background: var(--navy); color: var(--on-navy); position: sticky; top: 0; z-index: 20; }
.top-in { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); height: 56px; display: flex; align-items: center; gap: 24px; }
.brand { color: inherit; text-decoration: none; font-weight: 800; font-size: 1.125rem; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 20px; height: 20px; background:
  linear-gradient(var(--hivis), var(--hivis)) 0 0 / 50% 50% no-repeat,
  linear-gradient(var(--hivis), var(--hivis)) 100% 100% / 50% 50% no-repeat,
  #2B3A52; border-radius: 3px; }
.nav-top { display: flex; gap: 4px; margin-left: auto; }
.nav-top a { color: var(--on-navy); opacity: .78; text-decoration: none; padding: 8px 10px; border-radius: var(--r-sm); font-size: .9375rem; }
.nav-top a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nav-top a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -3px 0 var(--hivis); border-radius: 0; }
.nav-bottom { display: none; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 20px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.never { font-size: .875rem; color: var(--ink-2); margin: 0; padding-left: 12px; border-left: 3px solid var(--hivis); }
.never strong { color: var(--ink); }
.foot-links { display: flex; gap: 16px; margin: 0; font-size: .875rem; }

@media (max-width: 760px) {
  .nav-top { display: none; }
  .nav-bottom {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .nav-bottom a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 6px; color: var(--ink-2); text-decoration: none; font-size: .6875rem; min-height: 56px; }
  .nav-bottom svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .nav-bottom a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 3px 0 var(--hivis); }
  body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
}

/* Buttons & forms */
.btn {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 600 .9375rem/1.2 var(--sans); padding: 11px 16px; border-radius: var(--r-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; min-height: 44px;
}
.btn:hover { border-color: var(--ink-2); }
.btn-primary { background: var(--hivis); color: var(--on-hivis); border-color: var(--hivis); }
.btn-primary:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-small { min-height: 32px; padding: 5px 10px; font-size: .8125rem; }
.btn-link { background: none; border: none; color: var(--link); padding: 4px; min-height: 0; font-weight: 500; text-decoration: underline; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

label { font-weight: 600; font-size: .9375rem; display: block; margin-bottom: 4px; }
.hint { font-weight: 400; color: var(--ink-2); font-size: .8125rem; display: block; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=url], input:not([type]), select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field { margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }

/* Home */
.hero { background: var(--navy); color: var(--on-navy); padding: 40px 0 44px; }
.hero h1 { max-width: 20ch; font-size: clamp(1.9rem, 1.3rem + 3vw, 3.1rem); letter-spacing: -0.02em; }
.hero p { color: var(--on-navy); opacity: .82; font-size: 1.0625rem; }
.omni { margin-top: 24px; max-width: 780px; }
.omni-row { display: flex; gap: 0; background: var(--surface); border-radius: var(--r); padding: 6px; box-shadow: 0 0 0 4px rgba(245,196,0,.0); }
.omni-row:focus-within { box-shadow: 0 0 0 4px var(--hivis); }
.omni input { border: none; min-height: 52px; font-family: var(--mono); font-size: 1rem; background: transparent; }
.omni input:focus { outline: none; }
.omni .btn-primary { min-width: 96px; }
.omni-help { font-size: .875rem; opacity: .75; margin-top: 10px; }
.omni-error { color: #FFB4A8; font-size: .9375rem; margin-top: 10px; }
.choose { margin-top: 16px; background: var(--surface); color: var(--ink); border-radius: var(--r); padding: 16px; }
.choose p { margin-bottom: 12px; font-weight: 600; }
.choose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choose-grid .btn { flex-direction: column; align-items: flex-start; text-align: left; padding: 14px; min-height: 88px; }
.choose-grid .btn small { font-weight: 400; color: var(--ink-2); font-size: .8125rem; }
@media (max-width: 600px) { .choose-grid { grid-template-columns: 1fr; } .choose-grid .btn { min-height: 64px; } }
.chainpick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: .875rem; align-items: center; }
.chainpick select { width: auto; min-height: 36px; padding: 4px 8px; }

.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 28px; }
.entry { background: var(--surface); padding: 18px 18px 20px; text-decoration: none; color: var(--ink); display: block; }
.entry:hover { background: var(--surface-2); }
.entry h3 { margin-bottom: 4px; }
.entry p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 760px) { .entries { grid-template-columns: 1fr; } }

.home-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-top: 8px; }
@media (max-width: 860px) { .home-cols { grid-template-columns: 1fr; } }
.ticker { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticker li { border-bottom: 1px solid var(--line); padding: 10px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: baseline; }
.ticker .t-time { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ticker .t-title { font-weight: 600; }
.ticker .t-usd { font-variant-numeric: tabular-nums; font-weight: 600; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: middle; }
.live-dot.off { background: var(--line); }
.case-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.case-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.case-list a:hover .addr-text { text-decoration: underline; }
.case-list .meta { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-2); }

/* Address chip */
.addr { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: .875rem; max-width: 100%; vertical-align: baseline; }
.addr-text { white-space: nowrap; }
.copy { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 3px; padding: 0 6px; height: 24px; min-width: 24px; cursor: pointer; font: 500 .75rem var(--sans); }
.copy:hover { color: var(--ink); border-color: var(--ink-2); }
.copy.done { color: var(--ok); border-color: var(--ok); }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 99px; font-size: .75rem; font-weight: 600; border: 1px solid currentColor; white-space: nowrap; }
.sev-critical { color: var(--danger); background: var(--danger-bg); border-color: transparent; }
.sev-high { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.sev-medium { color: var(--ink-2); background: var(--surface-2); border-color: transparent; }
.sev-info { color: var(--ink-2); background: transparent; border-color: var(--line); }
.conf { color: var(--ink-2); font-weight: 500; }
.chain-badge { font-size: .6875rem; font-weight: 600; padding: 1px 6px; border-radius: 3px; background: var(--surface-2); color: var(--ink-2); text-transform: capitalize; }

/* Demo banner */
.demo-banner { background: repeating-linear-gradient(-45deg, var(--warn-bg) 0 14px, var(--surface) 14px 28px); border-bottom: 2px solid var(--warn); color: var(--ink); padding: 10px 0; font-weight: 600; }
.demo-banner strong { background: var(--warn); color: var(--surface); padding: 1px 8px; border-radius: 3px; margin-right: 8px; }

/* Verdict strip: the livery band */
.verdict { background: var(--navy); color: var(--on-navy); position: relative; padding: 26px 0 24px; }
.verdict::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--hivis) 0 28px, #1B5FA8 28px 56px);
}
.verdict .q { font-size: .875rem; opacity: .75; margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.verdict .q .copy { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.3); }
.verdict-line { font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem); font-weight: 800; line-height: 1.25; margin: 0 0 18px; letter-spacing: -0.015em; max-width: none; }
.verdict-line .sep { opacity: .35; font-weight: 400; margin: 0 .3em; }
.verdict-line .hot { color: var(--hivis); }
.verdict-line .cool { color: #7FD8E4; }
.verdict .btn-row .btn:not(.btn-primary) { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.35); }
.verdict .sub { margin: 14px 0 0; font-size: .9375rem; opacity: .85; }

/* Findings */
.findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.finding { background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--r-sm); padding: 14px 16px; }
.finding.critical { border-left-color: var(--danger); }
.finding.high { border-left-color: var(--hivis); }
.finding.medium { border-left-color: var(--ink-2); }
.finding.info { border-left-color: var(--line); }
.finding-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 6px; }
.finding-head h3 { margin: 0; flex: 1 1 260px; }
.finding .usd { font-weight: 700; font-variant-numeric: tabular-nums; }
.finding p { margin-bottom: 8px; }
.finding .action { background: var(--ok-bg); color: var(--ink); padding: 8px 12px; border-radius: var(--r-sm); font-size: .9375rem; }
.finding .action b { color: var(--ok); }
details.txs { font-size: .875rem; }
details.txs summary { cursor: pointer; color: var(--ink-2); padding: 4px 0; }
.txlist { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; }
.txlist a { font-family: var(--mono); font-size: .8125rem; word-break: break-all; }

/* Graph */
.graph-wrap { display: grid; grid-template-columns: 1fr 320px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.graph { height: 560px; position: relative; touch-action: none; background:
  radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 1.4px) 0 0 / 22px 22px, var(--surface); }
.graph-tools { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; gap: 6px; }
.graph-tools .btn { background: var(--surface); }
.side { border-left: 1px solid var(--line); padding: 16px; overflow: auto; max-height: 560px; }
.side h3 { margin-bottom: 4px; }
.side dl { margin: 12px 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .875rem; }
.side dt { color: var(--ink-2); }
.side dd { margin: 0; font-variant-numeric: tabular-nums; word-break: break-word; }
.side .btn-row { margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8125rem; color: var(--ink-2); margin: 10px 0 0; padding: 0; list-style: none; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 2px solid transparent; }
@media (max-width: 860px) {
  .graph-wrap { grid-template-columns: 1fr; }
  .graph { height: 62vh; min-height: 380px; }
  .side { border-left: none; border-top: 1px solid var(--line); max-height: none; }
}

/* Narrative */
.narrative { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; font-size: 1.0625rem; line-height: 1.65; }
.narrative p { max-width: 70ch; }
.cite { appearance: none; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font: 600 .6875rem/1 var(--mono); padding: 3px 4px; border-radius: 3px; cursor: pointer; vertical-align: 2px; margin: 0 1px; }
.cite:hover, .cite[aria-pressed="true"] { background: var(--hivis); color: var(--on-hivis); border-color: var(--hivis); }
.evidence-pop { margin-top: 12px; padding: 12px; border: 1px dashed var(--line); border-radius: var(--r-sm); font-size: .9375rem; }

/* Progress */
.progress { padding: 32px 0; }
.progress-steps { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.progress-steps li { padding: 4px 0 4px 16px; position: relative; color: var(--ink-2); font-size: .9375rem; }
.progress-steps li:last-child { color: var(--ink); font-weight: 600; }
.progress-steps li::before { content: ""; position: absolute; left: -6px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.progress-steps li:last-child::before { background: var(--hivis); box-shadow: 0 0 0 4px rgba(245,196,0,.3); }
@media (prefers-reduced-motion: no-preference) {
  .progress-steps li:last-child::before { animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(245,196,0,0); } }
}
.calm { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.calm ul { margin: 6px 0 0; padding-left: 20px; }

/* Panels & notices */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.notice { padding: 12px 14px; border-radius: var(--r-sm); margin: 0 0 12px; font-size: .9375rem; max-width: none; }
.notice-warn { background: var(--warn-bg); border-left: 4px solid var(--hivis); }
.notice-danger { background: var(--danger-bg); border-left: 4px solid var(--danger); }
.notice-ok { background: var(--ok-bg); border-left: 4px solid var(--ok); }
.notice-info { background: var(--surface-2); border-left: 4px solid var(--ink-2); }
.section { padding: 28px 0 0; }
.page-head { padding: 28px 0 8px; }
.page-head p { color: var(--ink-2); font-size: 1.0625rem; }
.err { color: var(--danger); }
.loading { color: var(--ink-2); padding: 32px 0; }

/* Pack */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.checklist input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ok); }
.checklist label { font-weight: 400; margin: 0; }
.checklist li.done label { color: var(--ink-2); text-decoration: line-through; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-top: 16px; overflow: hidden; }
.doc-head { padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.doc-head h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 800; }
.doc-meta { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; font-size: .9375rem; align-items: start; }
.doc-meta dt { color: var(--ink-2); }
.doc-meta dd { margin: 0; word-break: break-word; }
.doc-subject { display: flex; gap: 8px; align-items: flex-start; }
.doc-subject span { flex: 1; font-weight: 600; }
.doc-body { padding: 16px; font-size: .9375rem; }
.doc-body .md { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; background: var(--paper); }
.doc-body .md.open { max-height: none; }
.md h2 { font-size: 1.0625rem; margin: 1.2em 0 .4em; }
.md ul, .md ol { padding-left: 20px; margin: 0 0 1em; }
.md li { margin-bottom: 4px; word-break: break-word; }
.md p { word-break: break-word; }
.md hr { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.doc-notes { margin: 12px 16px 0; }
.sticky-actions { position: sticky; bottom: 0; background: var(--paper); padding: 12px 0; border-top: 1px solid var(--line); margin-top: 20px; z-index: 5; }
@media (max-width: 760px) { .sticky-actions { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); } }

/* Pursuit */
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.alert.critical { background: var(--danger-bg); border: 2px solid var(--danger); padding: 16px; }
.alert.critical .a-title { font-size: 1.25rem; }
.alert.high { border-left: 4px solid var(--hivis); }
.a-head { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.a-title { font-weight: 800; flex: 1 1 200px; }
.a-time { color: var(--ink-2); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.alert p { margin: 4px 0 8px; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--ink-2); font-weight: 600; font-size: .8125rem; }
.table-scroll { overflow-x: auto; }
@media (max-width: 600px) {
  .table.stack thead { display: none; }
  .table.stack tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .table.stack td { border: none; padding: 2px 0; }
}

/* Verdict boxes for tools */
.result-head { border-radius: var(--r); padding: 18px; margin: 16px 0; border: 1px solid var(--line); background: var(--surface); }
.result-head.bad { background: var(--danger-bg); border-color: var(--danger); }
.result-head.mid { background: var(--warn-bg); border-color: var(--hivis); }
.result-head.good { background: var(--ok-bg); border-color: var(--ok); }
.result-head h2 { margin: 0 0 6px; font-size: 1.5rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8125rem; }
.mark.ok { background: var(--ok-bg); color: var(--ok); }
.mark.no { background: var(--danger-bg); color: var(--danger); }
.mark.unk { background: var(--warn-bg); color: var(--warn); }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 280px; font-family: var(--mono); }
.score-bar { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 8px 0; max-width: 360px; }
.score-bar span { display: block; height: 100%; background: var(--danger); }

/* Wanted */
.wanted-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.poster { display: block; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--ink); border-radius: var(--r-sm); padding: 14px 16px; color: var(--ink); text-decoration: none; height: 100%; }
.poster:hover { border-color: var(--ink-2); }
.poster .reward { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.poster .escrowed { color: var(--ok); font-weight: 600; font-size: .8125rem; }
.story { white-space: pre-wrap; word-break: break-word; max-width: var(--measure); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); font-size: .9375rem; opacity: 0; pointer-events: none; z-index: 50; transition: opacity .2s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; }
@media (max-width: 760px) { .toast { bottom: calc(var(--nav-h) + 16px); } }

.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; max-width: var(--measure); }
.prose li { margin-bottom: 6px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 8px 0; }
.stat-row div b { display: block; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.stat-row div span { color: var(--ink-2); font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Long addresses and hashes must wrap, never push the layout sideways (mobile). */
.findings, .alerts, .grid, main ol, main ul { grid-template-columns: minmax(0, 1fr); }
.finding, .alert, .card, li, p, td, dd { min-width: 0; overflow-wrap: anywhere; }
main { overflow-x: clip; }


/* ======================= Command centre ======================= */
html { background: var(--paper); }
body {
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(63, 217, 232, .07), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255, 159, 67, .05), transparent 60%),
    var(--paper);
  background-attachment: fixed;
}
body::before { /* faint hex/grid texture */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
  background-image: linear-gradient(rgba(63,217,232,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(63,217,232,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
main, header, footer, nav { position: relative; z-index: 1; }
h1, h2, h3, .cond { font-family: var(--cond); letter-spacing: .01em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; color: var(--ink); }
.top { background: rgba(3, 7, 13, .85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(63,217,232,.12); }
.brand { font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.brand-mark { box-shadow: var(--glow-teal); }
.nav-top a { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .9rem; }
.nav-top a[aria-current="page"] { color: var(--hivis); text-shadow: 0 0 12px rgba(63,217,232,.5); }
.btn-primary { box-shadow: var(--glow-teal); text-transform: uppercase; letter-spacing: .06em; font-family: var(--cond); font-weight: 700; }
.btn { font-family: var(--cond); letter-spacing: .04em; font-weight: 600; }
.finding, .card, .entry, .alert, .doc, .case-list li, .ticker li { box-shadow: var(--glow); }
.finding { background: linear-gradient(180deg, rgba(14,27,42,.9), rgba(10,20,32,.9)); }
.finding.critical { box-shadow: var(--glow), inset 3px 0 12px -6px rgba(255,77,94,.6); }
input, select, textarea { background: #050D16 !important; color: var(--ink) !important; border-color: var(--line) !important; font-family: var(--mono); }
input:focus, select:focus, textarea:focus { border-color: var(--hivis) !important; box-shadow: var(--glow-teal); }
.foot { background: rgba(3,7,13,.8); border-top: 1px solid var(--line); }
.nav-bottom { background: rgba(3,7,13,.95); border-top: 1px solid var(--line); }
.mono, code { font-family: var(--mono); }

/* Panels */
.cc { max-width: 1480px; margin: 0 auto; padding: 18px var(--gutter) 40px; }
.cc-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 14px; }
.cc-title h1 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.cc-title .sub { color: var(--hivis); font-family: var(--cond); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border-left: 1px solid var(--line); padding-left: 14px; }
.cc-title .right { margin-left: auto; display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: .78rem; color: var(--ink-2); }
.pill-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid rgba(61,220,151,.35); border-radius: 99px; color: var(--ok); font-family: var(--cond); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; font-size: .75rem; }
.pill-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 1.6s infinite; }
.pill-demo { color: var(--warn); border-color: rgba(255,159,67,.4); }
.pill-demo::before { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
@keyframes blink { 50% { opacity: .35; } }

.cc-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .cc-grid { grid-template-columns: 300px minmax(0, 1fr) 340px; } }
.cc-col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.panel { background: linear-gradient(180deg, rgba(13,25,39,.92), rgba(8,16,26,.92)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--glow); position: relative; min-width: 0; overflow: hidden; }
.panel::after { /* corner ticks */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--r);
  background:
    linear-gradient(var(--hivis), var(--hivis)) left top / 10px 1px no-repeat,
    linear-gradient(var(--hivis), var(--hivis)) left top / 1px 10px no-repeat,
    linear-gradient(var(--hivis), var(--hivis)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--hivis), var(--hivis)) right bottom / 1px 10px no-repeat;
  opacity: .45;
}
.panel-h { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .82rem; color: var(--ink); background: rgba(63,217,232,.03); }
.panel-h .tag { margin-left: auto; font-family: var(--mono); font-size: .7rem; letter-spacing: 0; color: var(--ink-2); text-transform: none; font-weight: 400; }
.panel-h .warn-ico { margin-left: auto; color: var(--warn); }
.panel-b { padding: 12px; }
.kv { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; font-size: .9rem; }
.kv .k { color: var(--ink); display: flex; gap: 6px; align-items: center; }
.kv .v { font-family: var(--mono); color: var(--ink); text-align: right; }
.bar { grid-column: 1 / -1; height: 3px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; margin-top: -4px; }
.bar > i { display: block; height: 100%; background: var(--hivis); box-shadow: var(--glow-teal); }
.bar.orange > i { background: var(--warn); box-shadow: 0 0 10px rgba(255,159,67,.5); }
.big-counts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; font-family: var(--cond); }
.big-counts div { padding: 6px 8px; border-left: 2px solid var(--line); }
.big-counts b { display: block; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.big-counts span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.c-crit { color: var(--danger); } .c-high { color: var(--warn); } .c-med { color: var(--hivis); } .c-ok { color: var(--ok); }
.big-counts .c-crit { border-color: var(--danger); } .big-counts .c-high { border-color: var(--warn); } .big-counts .c-med { border-color: var(--hivis); }
.spark { width: 100%; height: 110px; display: block; }
.legend { display: flex; gap: 12px; font-size: .72rem; color: var(--ink-2); font-family: var(--mono); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }

/* Kind tiles (top of the map) */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tile { padding: 8px 10px; border-right: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; }
.tile svg { width: 18px; height: 18px; grid-row: span 2; stroke: currentColor; fill: none; stroke-width: 1.6; }
.tile b { font-family: var(--cond); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.tile span { font-family: var(--mono); font-size: .9rem; }

/* Flow map */
.flowmap { position: relative; }
.flowmap svg { width: 100%; height: auto; display: block; }
.flowmap .node-label { font-family: var(--cond); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.flowmap .node-sub { font-family: var(--mono); font-size: 10px; fill: var(--ink-2); }
.flowmap .arc { fill: none; stroke-linecap: round; }
.flowmap .arc.flow { stroke-dasharray: 3 9; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.flowmap .pulse { animation: pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.flowmap .empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); font-family: var(--mono); font-size: .85rem; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .flowmap .arc.flow, .flowmap .pulse, .pill-live::before { animation: none; } }

/* Console (omnibox) */
.console { padding: 12px; display: grid; gap: 8px; }
.console .omni-row { display: flex; gap: 8px; }
.console input { flex: 1; min-width: 0; padding: 12px 14px; font-size: .95rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.console .prompt { font-family: var(--mono); color: var(--hivis); font-size: .8rem; letter-spacing: .04em; }
.console .omni-help { font-size: .78rem; color: var(--ink-2); margin: 0; font-family: var(--mono); }

/* Donut + banners + event log */
.donut-wrap { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.donut-list { display: grid; gap: 4px; font-family: var(--cond); font-size: .95rem; }
.donut-list div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.donut-list i { display: inline-block; width: 8px; height: 8px; border-radius: 1px; margin-right: 6px; }
.donut-list span:last-child { font-family: var(--mono); font-size: .85rem; }
.banner { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border: 1px solid rgba(255,77,94,.4); background: linear-gradient(90deg, rgba(255,77,94,.16), rgba(255,77,94,.04)); color: var(--ink); border-radius: var(--r-sm); font-size: .82rem; margin-top: 8px; }
.banner.orange { border-color: rgba(255,159,67,.4); background: linear-gradient(90deg, rgba(255,159,67,.14), rgba(255,159,67,.03)); }
.banner b { font-family: var(--cond); letter-spacing: .05em; }
.banner a { margin-left: auto; color: var(--ink); font-family: var(--cond); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; border: 1px solid currentColor; padding: 2px 7px; border-radius: 2px; text-decoration: none; white-space: nowrap; }
.log { width: 100%; border-collapse: collapse; font-size: .78rem; }
.log th { text-align: left; font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.log td { padding: 6px 8px; border-bottom: 1px solid rgba(27,50,71,.6); vertical-align: middle; }
.log td.t { font-family: var(--mono); color: var(--ink-2); white-space: nowrap; }
.log tr:hover td { background: rgba(63,217,232,.04); }
.sev { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 3px; font-weight: 800; font-size: .7rem; font-family: var(--cond); }
.sev.critical { background: rgba(255,77,94,.18); color: var(--danger); border: 1px solid rgba(255,77,94,.5); }
.sev.high { background: rgba(255,159,67,.16); color: var(--warn); border: 1px solid rgba(255,159,67,.5); }
.sev.medium, .sev.info { background: rgba(63,217,232,.12); color: var(--hivis); border: 1px solid rgba(63,217,232,.4); }
.status { display: inline-block; padding: 1px 7px; border-radius: 2px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.status.freeze { background: rgba(255,77,94,.15); color: var(--danger); border: 1px solid rgba(255,77,94,.45); }
.status.watch { background: rgba(61,220,151,.1); color: var(--ok); border: 1px solid rgba(61,220,151,.35); }
.log-scroll { max-height: 360px; overflow: auto; }
.log a { color: var(--ink); text-decoration: none; }
.log a:hover { color: var(--hivis); }

/* Quick-tool tiles and cases */
.tools3 { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
@media (min-width: 800px) { .tools3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool { display: block; text-decoration: none; color: var(--ink); padding: 14px; }
.tool h3 { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; color: var(--hivis); }
.tool p { margin: 0; color: var(--ink-2); font-size: .88rem; }
.tool:hover { border-color: rgba(63,217,232,.5); }
.mini-cases { display: grid; gap: 0; }
.mini-cases a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 12px; border-bottom: 1px solid rgba(27,50,71,.6); text-decoration: none; color: var(--ink); }
.mini-cases a:hover { background: rgba(63,217,232,.04); }
.mini-cases .addr { font-family: var(--mono); font-size: .82rem; }
.mini-cases small { color: var(--ink-2); grid-column: 1; font-size: .78rem; }
.mini-cases .amt { font-family: var(--mono); color: var(--warn); grid-row: span 2; align-self: center; font-size: .85rem; }

/* Command centre fixes */
.top-in { max-width: 1480px; }
.console.omni { margin: 0; padding: 12px; min-height: 0; max-width: none; }
.console .omni-row { max-width: 900px; }
.console .omni-help, .console .prompt { margin: 0; }
.console #choose:empty, .console .omni-error:empty { display: none; }
@media (min-width: 1100px) { .cc-grid { grid-template-columns: 290px minmax(0, 1fr) 400px; } }
.log { table-layout: fixed; }
.log th:nth-child(1), .log td:nth-child(1) { width: 64px; }
.log th:nth-child(2), .log td:nth-child(2) { width: 34px; }
.log th:nth-child(3), .log td:nth-child(3) { width: 46px; font-family: var(--mono); font-size: .72rem; color: var(--ink-2); }
.log th:nth-child(5), .log td:nth-child(5) { width: 84px; text-align: right; }
.log td:nth-child(4) a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: normal; }
.log td { overflow-wrap: normal; }
.log-scroll { max-height: 420px; }
.verdict { background: linear-gradient(180deg, rgba(3,7,13,.95), rgba(5,10,18,.6)); border-bottom: 1px solid var(--line); }
.verdict-line { font-family: var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.verdict-line .hot { color: var(--warn); text-shadow: 0 0 18px rgba(255,159,67,.35); }
.verdict-line .cool { color: var(--hivis); text-shadow: 0 0 18px rgba(63,217,232,.35); }
@media (max-width: 1099px) { .cc-grid > .cc-col:nth-child(2) { order: -1; } .cc-grid > .cc-col:nth-child(3) { order: -1; } .cc-grid > .cc-col:nth-child(2) { order: -2; } }

/* ======================= Explore view ======================= */
.xp { max-width: 1560px; margin: 0 auto; padding: 10px var(--gutter) 30px; }
.xp-toolbar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.xp-tb { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(10,20,32,.8); color: var(--ink-2); text-decoration: none; font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .8rem; }
.xp-tb:hover { color: var(--ink); border-color: rgba(63,217,232,.4); }
.xp-tb.on { color: var(--on-hivis); background: var(--hivis); border-color: var(--hivis); box-shadow: var(--glow-teal); }
.xp-crumb { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; }
.xp-body { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.xp-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
@media (min-width: 1100px) {
  .xp-body { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; }
  .xp-canvas { position: sticky; top: 70px; }
  .xp-side { position: sticky; top: 66px; max-height: calc(100vh - 80px); }
  .xp-panel { overflow: auto; flex: 1 1 auto; min-height: 0; }
}
.xp-canvas { position: relative; min-width: 0; border-radius: 10px; background: radial-gradient(ellipse at 18% 50%, rgba(160,107,255,.08), transparent 55%), radial-gradient(ellipse at 70% 50%, rgba(63,217,232,.05), transparent 60%); }
.xp-canvas svg { width: 100%; height: auto; display: block; max-height: calc(100vh - 150px); }
.xp-list { display: none; }
@media (max-width: 899px) { .xp-canvas svg { display: none; } .xp-list { display: grid; gap: 8px; } .xp-crumb { margin-left: 0; } }
.xp-spin { animation: xpspin 60s linear infinite; transform-origin: 0 0; }
.xp-spin-rev { animation: xpspin 90s linear infinite reverse; transform-origin: 0 0; }
@keyframes xpspin { to { transform: rotate(360deg); } }
.xp-fan { stroke-dasharray: 600; stroke-dashoffset: 600; animation: xpdraw .7s ease-out forwards; }
@keyframes xpdraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .xp-spin, .xp-spin-rev { animation: none; } .xp-fan { animation: none; stroke-dashoffset: 0; } }
.xp-orb-t { font-family: var(--cond); font-weight: 700; font-size: 17px; fill: var(--ink); letter-spacing: .04em; }
.xp-orb-a { font-family: var(--mono); font-size: 12px; fill: #FFD58A; }
.xp-chip { fill: rgba(63,217,232,.08); stroke: rgba(63,217,232,.35); }
.xp-chip-t { font-family: var(--mono); font-size: 9px; fill: var(--ink-2); letter-spacing: .06em; }
.xp-card { cursor: pointer; outline: none; }
.xp-card rect { fill: rgba(13,25,39,.92); stroke: var(--line); stroke-width: 1; transition: stroke .2s; }
.xp-card:hover rect, .xp-card:focus-visible rect { stroke: rgba(63,217,232,.55); }
.xp-card.on rect { stroke: #FFD58A; stroke-width: 1.6; fill: rgba(40,34,18,.85); filter: drop-shadow(0 0 10px rgba(255,213,138,.35)); }
.xp-card.empty { cursor: default; opacity: .45; }
.xp-card-n { font-family: var(--cond); font-weight: 700; font-size: 21px; fill: var(--ink); }
.xp-card-i { fill: var(--hivis); font-size: 14px; }
.xp-card-l { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); }
.xp-card-u { font-family: var(--mono); font-size: 10.5px; fill: var(--warn); }
.xp-item { cursor: pointer; outline: none; }
.xp-dot { fill: #FFD58A; filter: drop-shadow(0 0 5px #FFB020); }
.xp-item.on .xp-dot { fill: #3FD9E8; filter: drop-shadow(0 0 8px #3FD9E8); }
.xp-it-t { font-family: var(--sans); font-size: 12.5px; fill: var(--ink); font-weight: 500; }
.xp-item:hover .xp-it-t, .xp-item:focus-visible .xp-it-t, .xp-item.on .xp-it-t { fill: var(--hivis); }
.xp-mini { fill: rgba(129,151,174,.18); }
.xp-mini-t { font-family: var(--mono); font-size: 7.5px; fill: var(--ink-2); }
.xp-it-u { font-family: var(--mono); font-size: 9.5px; fill: var(--ink-2); }
.xp-empty { font-family: var(--mono); font-size: 12px; fill: var(--ink-2); }

.xp-panel { padding: 18px; display: grid; gap: 12px; align-content: start; background: linear-gradient(170deg, rgba(20,48,56,.55), rgba(8,16,26,.95) 45%); border-radius: 14px; }
.xp-p-head { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .9rem; }
.xp-p-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(63,217,232,.35); color: var(--hivis); }
.xp-p-title { font-family: var(--cond); font-size: 1.75rem; line-height: 1.15; margin: 0; text-transform: none; letter-spacing: .01em; }
.xp-p-title .mono { font-size: 1.15rem; color: #FFD58A; }
.xp-p-sub { margin: -4px 0 0; color: var(--ink-2); }
.xp-addr { font-size: .8rem; color: #FFD58A; overflow-wrap: anywhere; margin: 0; }
.xp-box { background: rgba(5,13,22,.55); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.xp-box p { margin: 4px 0 0; font-size: .85rem; color: var(--ink-2); }
.xp-status { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.xp-rc { background: linear-gradient(120deg, rgba(90,20,30,.55), rgba(10,16,26,.8) 70%); border-color: rgba(255,77,94,.25); }
.xp-rc-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.xp-rc-tag { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding: 2px 8px; border-radius: 4px; border: 1px solid currentColor; }
.xp-rc-tag.good { color: var(--ok); } .xp-rc-tag.moderate { color: var(--warn); } .xp-rc-tag.low { color: var(--danger); }
.xp-rc-row { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: end; margin-top: 8px; }
.xp-rc-row b { font-family: var(--cond); font-size: 3rem; line-height: 1; font-weight: 600; grid-row: span 2; }
.xp-rc-row span { font-size: .78rem; color: var(--ink-2); }
.xp-bars { width: 100%; height: 48px; }
.xp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xp-tiles .xp-box b { display: block; font-family: var(--cond); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.xp-tiles .xp-box span { font-size: .8rem; color: var(--ink-2); }
.xp-ai-h { font-family: var(--cond); letter-spacing: .06em; color: var(--hivis); margin-bottom: 8px; font-weight: 600; }
.xp-ai .xp-box + .xp-box { margin-top: 8px; }
.xp-f.critical { border-left: 3px solid var(--danger); } .xp-f.high { border-left: 3px solid var(--warn); } .xp-f.medium { border-left: 3px solid var(--hivis); }
.xp-back { background: none; border: 0; color: var(--hivis); font-family: var(--cond); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 0; justify-self: start; }
.xp-ask { flex: none; background: linear-gradient(180deg, rgba(14,30,40,.96), rgba(8,16,26,.98)); border: 1px solid rgba(63,217,232,.25); border-radius: 14px; padding: 10px; box-shadow: 0 10px 40px -10px rgba(0,0,0,.8), 0 0 24px -8px rgba(63,217,232,.35); display: grid; gap: 8px; z-index: 3; }
.xp-ask-row { display: flex; gap: 8px; }
.xp-ask-row input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); font-family: var(--sans) !important; }
.xp-ask-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.xp-chipbtn { background: rgba(63,217,232,.06); color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; font-size: .75rem; cursor: pointer; }
.xp-chipbtn:hover { color: var(--ink); border-color: rgba(63,217,232,.45); }
.xp-answer { max-height: 260px; overflow: auto; padding: 4px 4px 0; font-size: .9rem; }
.xp-answer .xp-q { color: var(--hivis); font-family: var(--cond); letter-spacing: .03em; margin: 0 0 4px; }
.cite { font-family: var(--mono); font-size: .7rem; padding: 0 4px; margin-left: 2px; border: 1px solid rgba(63,217,232,.4); border-radius: 3px; color: var(--hivis); text-decoration: none; vertical-align: 1px; }
.xp-l { background: rgba(10,20,32,.85); border: 1px solid var(--line); border-radius: 8px; }
.xp-l summary { display: flex; justify-content: space-between; padding: 12px 14px; cursor: pointer; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.xp-l summary b { color: #FFD58A; }
.xp-li { display: flex; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 10px 14px; background: none; border: 0; border-top: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.xp-li small { display: block; color: var(--ink-2); font-family: var(--mono); font-size: .72rem; }
.xp-li b { font-family: var(--mono); color: var(--warn); font-size: .82rem; white-space: nowrap; }

/* ======================= Refinement layer =======================
   One family (Plex Sans; Plex Mono only for addresses, hashes, amounts), sentence case,
   one button system, quieter panels. Loaded last so it wins. */
:root {
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: var(--sans);
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --paper: #070C14;
  --surface: #0C1520;
  --surface-2: #111D2B;
  --line: #182839;
  --line-strong: #24394F;
  --ink: #E6EEF6;
  --ink-2: #8A9BB0;
  --hivis: #43D4E6;
  --danger: #FF5C6C;
  --warn: #FFA64D;
  --r: 10px; --r-sm: 8px;
}
body { font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { display: none; }
.panel::after { display: none; }

/* Type: sentence case everywhere, caps nowhere */
h1, h2, h3, .cond, .brand, .nav-top a, .btn, .panel-h, .tile b, .big-counts span, .legend, .status, .xp-tb,
.cc-title h1, .cc-title .sub, .pill-live, .verdict-line, .log th, .xp-l summary, .xp-back, .xp-rc-tag, .banner a, .xp-ai-h, .tool h3 {
  text-transform: none !important; letter-spacing: normal !important; font-family: var(--sans) !important;
}
h1 { font-weight: 600; letter-spacing: -0.02em !important; }
h2 { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em !important; }
h3 { font-weight: 600; }
.brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em !important; }

/* Nav: quieter */
.top { background: rgba(7, 12, 20, .82); box-shadow: none; }
.nav-top a { font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.nav-top a:hover { color: var(--ink); }
.nav-top a[aria-current="page"] { color: var(--ink); text-shadow: none; }

/* One button system */
.btn {
  min-height: 38px; padding: 8px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--ink); font-weight: 500; font-size: .9rem; box-shadow: none; line-height: 1.2;
}
.btn:hover { background: #162536; border-color: #33506B; }
.btn-primary { background: var(--hivis); color: #04131A; border-color: transparent; font-weight: 600;
  box-shadow: 0 8px 24px -10px rgba(67, 212, 230, .7); }
.btn-primary:hover { background: #6BE0EE; border-color: transparent; }
.verdict .btn-row .btn:not(.btn-primary) { background: var(--surface-2); border-color: var(--line-strong); color: var(--ink); }
.copy { height: 24px; border-radius: 6px; background: transparent; border-color: var(--line-strong); color: var(--ink-2); font-size: .72rem; }
.chip { font-weight: 500; font-size: .72rem; padding: 2px 8px; border-color: transparent; background: rgba(138, 155, 176, .12); color: var(--ink-2); }
.chip.sev-critical { background: rgba(255, 92, 108, .14); color: var(--danger); }
.chip.sev-high { background: rgba(255, 166, 77, .14); color: var(--warn); }
.chain-badge { background: rgba(138, 155, 176, .12); font-weight: 500; text-transform: none; }

/* Panels: fewer lines, more air */
.panel { background: var(--surface); border-color: var(--line); box-shadow: none; border-radius: var(--r); }
.panel-h { background: none; border-bottom-color: var(--line); font-weight: 600; font-size: .875rem; color: var(--ink-2); padding: 12px 16px 10px; }
.panel-b { padding: 14px 16px 16px; }
.cc-grid, .cc-col { gap: 14px; }
.cc-title h1 { font-size: 1.5rem; }
.cc-title .sub { display: none; }
.pill-live { font-weight: 500; font-size: .78rem; padding: 3px 10px; }
.tiles { border-bottom-color: var(--line); }
.tile { border-right-color: var(--line); padding: 10px 12px; }
.tile b { font-weight: 500; font-size: .75rem; }
.tile span { font-family: var(--mono); font-size: 1rem; color: var(--ink); }
.big-counts b { font-weight: 600; font-size: 1.6rem; }
.big-counts span { font-size: .75rem; }
.big-counts div { border-left-width: 2px; }
.console .prompt { display: none; }
.console .omni-help { font-family: var(--sans); }
.console input { font-family: var(--mono) !important; }
.log th { font-weight: 500; font-size: .75rem; }
.status { font-weight: 600; font-size: .72rem; border-radius: 6px; }
.sev { font-family: var(--sans); }
.banner { border-radius: var(--r-sm); }
.banner a { font-size: .78rem; border-radius: 6px; }
.tool h3 { font-size: 1rem; color: var(--ink); }
.tool:hover h3 { color: var(--hivis); }

/* Demo notice: a slim line, not hazard tape */
.demo-banner { background: rgba(255, 166, 77, .08); border-bottom: 1px solid rgba(255, 166, 77, .25); padding: 7px 0; font-weight: 500; font-size: .85rem; color: var(--ink-2); }
.demo-banner strong { background: none; color: var(--warn); padding: 0; margin-right: 8px; font-weight: 600; }
.verdict::before { display: none; }

/* Case page */
.verdict { padding: 28px 0 26px; background: linear-gradient(180deg, #0A1220, rgba(7,12,20,0)); border-bottom: 1px solid var(--line); }
.verdict-line { font-weight: 600; letter-spacing: -0.02em !important; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.1rem); }
.verdict-line .hot, .verdict-line .cool { text-shadow: none; }
.finding { background: var(--surface); border: 1px solid var(--line); border-left-width: 3px; box-shadow: none; padding: 16px 18px; }
.finding.critical { box-shadow: none; }
.finding p, .finding .action { max-width: 72ch; }
.finding .action { background: rgba(61, 220, 151, .07); border-radius: var(--r-sm); }
.finding-head h3 { font-size: 1.02rem; }

/* Explore view */
.xp-tb { font-weight: 500; font-size: .85rem; border-radius: var(--r-sm); }
.xp-card-l, .xp-it-t { font-family: var(--sans); }
.xp-p-title { font-weight: 600; letter-spacing: -0.02em; }
.xp-box { border-radius: var(--r-sm); background: rgba(7, 12, 20, .5); }
.xp-tiles .xp-box b, .xp-rc-row b { font-weight: 600; }

input, select, textarea { font-family: var(--sans) !important; border-radius: var(--r-sm) !important; }
input.mono, .omni input, #q { font-family: var(--mono) !important; }
.flowmap .node-label { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }
.flowmap .node-sub { font-family: var(--mono); }
.xp-orb-t { font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.xp-card-n { font-family: var(--sans); font-weight: 600; font-size: 20px; }
.xp-chip-t { letter-spacing: 0; }
.panel { padding: 0 !important; }
.panel > .panel-h { margin: 0; }
.console.omni { padding: 14px 16px 16px; gap: 8px; }
.console .omni-help { max-width: none; }
#p-threats .legend { display: none; }
.big-counts { margin-bottom: 8px; }
.xp-panel { padding: 18px !important; }
.panel-h .tag { font-family: var(--sans); font-size: .75rem; }
.moved-feed { margin: 18px 0; }
.mini-feed { list-style: none; margin: 0; padding: 0; }
.mini-feed li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.mini-feed li:first-child { border-top: 0; }
.mini-feed a { color: var(--ink); text-decoration: none; min-width: 0; }
.mini-feed a b { display: block; font-weight: 500; }
.mini-feed small { color: var(--ink-2); }
.moved-line { margin: 8px 0 0; font-size: .82rem; color: var(--warn); }
form.panel, .panel.pad, div.panel:not(.xp-panel):not(.flowmap):has(> .field) { padding: 16px !important; }

/* Tokens menu */
.nav-drop { position: relative; display: inline-flex; }
.nav-menu { position: absolute; top: calc(100% + 6px); left: -12px; min-width: 260px; display: none; flex-direction: column; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 6px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); z-index: 50; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: flex; }
.nav-menu a { padding: 8px 10px !important; border-radius: 6px; color: var(--ink) !important; border: 0 !important; }
.nav-menu a:hover { background: var(--surface-2); }
.nav-menu small { display: block; color: var(--ink-2); font-size: .75rem; }

/* Radar */
@media (min-width: 1100px) { .rd-grid { grid-template-columns: 340px minmax(0, 1fr) 360px !important; } }
.rd-scope-wrap { display: grid; place-items: center; }
.rd-scope { width: 100%; max-width: 300px; }
.rd-sweep { transform-origin: 120px 120px; animation: xpspin 4s linear infinite; }
.blip { fill: #43D4E6; opacity: .55; }
.blip.hot { fill: var(--danger); opacity: 1; filter: drop-shadow(0 0 4px #FF5C6C); }
.rd-feed { max-height: 520px; overflow: auto; }
.rd-feed .rd-flag { background: rgba(255, 92, 108, .05); }
.rd-feed .status { margin-left: 6px; vertical-align: 1px; }
@media (prefers-reduced-motion: reduce) { .rd-sweep { animation: none; } }

/* Rings, exit score, accuracy */
.ring-list { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.exit-score b { font-size: 3.2rem; font-weight: 600; line-height: 1; }
.exit-score span { color: var(--ink-2); margin-left: 4px; }
.lessons { padding-left: 1.1em; }
.lessons li { margin: 6px 0; }
.acc { margin-top: 22px; }
.mini-feed li > span:not(.sev):not(.small) { min-width: 0; }
.mini-feed li > span b { display: block; }
.mini-feed li > span small { display: block; }

/* language picker */
.lang-pick { margin-left: 12px; background: var(--surface, #0C1520); color: var(--ink-2, #8A9BB0); border: 1px solid var(--line, #182839); border-radius: 6px; font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace; padding: 6px 6px; cursor: pointer; flex: none; }
.lang-pick:hover, .lang-pick:focus { color: var(--ink, #E6EEF6); border-color: var(--teal, #43D4E6); outline: none; }
html[lang="ru"] .nav-top a, html[lang="zh-Hans"] .nav-top a { white-space: nowrap; }
html[lang="ru"] .nav-top { font-size: 13px; }
.top-in select.lang-pick { width: auto !important; min-width: 0; height: auto; margin-left: auto; }
@media (max-width: 720px) { .top-in select.lang-pick { margin-left: auto; } }

/* ==========================================================================
   Aurora layer: deep black, light that flows, thin type, pill controls.
   Labels are small tracked caps with a hairline in front. Body text stays
   IBM Plex so long reading is easy.
   ========================================================================== */
:root {
  --disp: "Outfit", "IBM Plex Sans", system-ui, sans-serif;
  --paper: #010309;
  --surface: rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .14);
  --ink: #EEF3FA;
  --ink-2: #8E9BB0;
  --hivis: #6FB4FF;
  --link: #8CC4FF;
  --gold: #F5C77A;
  --r: 18px; --r-sm: 12px;
}
body { background: var(--paper); }

/* Backdrop: a faint nebula and star dust behind every page */
.fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fx-glow { position: absolute; inset: 0; background:
  radial-gradient(55vw 45vh at 92% -10%, rgba(77, 141, 255, .14), transparent 70%),
  radial-gradient(40vw 40vh at -8% 60%, rgba(111, 180, 255, .07), transparent 70%); }
.fx-stars { position: absolute; inset: 0; opacity: .55; background-image:
  radial-gradient(1px 1px at 12% 18%, #cfe8ff, transparent), radial-gradient(1px 1px at 72% 34%, #cfe8ff, transparent),
  radial-gradient(1px 1px at 38% 72%, #ffd48a, transparent), radial-gradient(1px 1px at 88% 82%, #cfe8ff, transparent),
  radial-gradient(1px 1px at 55% 12%, #cfe8ff, transparent), radial-gradient(1px 1px at 22% 88%, #cfe8ff, transparent),
  radial-gradient(1.5px 1.5px at 64% 58%, #9fd4ff, transparent), radial-gradient(1px 1px at 5% 45%, #ffd48a, transparent);
  background-size: 520px 520px; }

/* Type */
h1, h2, h3, .brand, .verdict-line, .cc-title h1, .big-counts b, .tile span { font-family: var(--disp) !important; }
h1 { font-weight: 300 !important; letter-spacing: -0.025em !important; }
h2 { font-weight: 400 !important; font-size: 1.35rem; letter-spacing: -0.01em !important; }
h3 { font-weight: 500 !important; }
.grad, .verdict-line .cool { background: linear-gradient(100deg, #BFE2FF, #6FB4FF 55%, #4D8DFF); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 500 .7rem/1 var(--disp); text-transform: uppercase; letter-spacing: .32em; color: var(--ink-2); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-r { flex-direction: row-reverse; }

/* Header */
.top { background: rgba(1, 3, 9, .55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.top-in { height: 64px; }
.brand { font-weight: 400 !important; text-transform: uppercase !important; letter-spacing: .34em !important; font-size: .95rem; }
.brand-mark { border-radius: 50%; width: 18px; height: 18px; background: radial-gradient(circle at 35% 35%, #fff, #8CC4FF 40%, #2E64D8 75%); box-shadow: 0 0 16px rgba(111,180,255,.7); }
.nav-top { margin: 0 auto; }
.nav-top a { font-family: var(--disp) !important; font-weight: 400; font-size: .86rem; color: rgba(238,243,250,.68); position: relative; }
.nav-top a:hover { color: #fff; }
.nav-top a[aria-current="page"] { color: #fff; box-shadow: none; text-shadow: none; }
.nav-top > a[aria-current="page"]::after, .nav-drop > a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 22px; height: 1.5px; transform: translateX(-50%); background: #fff; border-radius: 2px; }
.nav-top a.nav-account { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 16px; margin-left: 8px; color: #fff; }
.nav-top a.nav-account:hover { background: #fff; color: #050912; }
.nav-top a.nav-account[aria-current="page"]::after { display: none; }
.nav-menu { background: rgba(6, 10, 20, .92); backdrop-filter: blur(16px); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 30px 60px -15px rgba(0,0,0,.9); }
.nav-menu a { font-family: var(--sans) !important; border-radius: 10px; }
.nav-bottom { background: rgba(1, 3, 9, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.nav-bottom a[aria-current="page"] { color: #fff; box-shadow: none; }
.nav-bottom a[aria-current="page"] svg { filter: drop-shadow(0 0 8px rgba(111,180,255,.8)); stroke: #8CC4FF; }
.lang-pick { border-radius: 999px !important; padding: 6px 10px !important; background: transparent !important; border-color: var(--line-strong) !important; font-family: var(--disp) !important; }

/* Hero */
.aurora { position: relative; min-height: min(860px, calc(100svh - 64px)); display: flex; flex-direction: column; overflow: hidden; background: #010309; border-bottom: 1px solid var(--line); isolation: isolate; }
.aurora-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.aurora::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(1,3,9,.92) 0%, rgba(1,3,9,.6) 34%, rgba(1,3,9,0) 62%), linear-gradient(0deg, rgba(1,3,9,.9), transparent 22%); }
.aurora-in { flex: 1; width: 100%; max-width: 1480px; margin: 0 auto; padding: clamp(48px, 9vh, 110px) clamp(16px, 4vw, 56px) 32px; display: flex; align-items: center; gap: 40px; }
.aurora-copy { max-width: 760px; }
.aurora-h { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5rem); line-height: 1.02; margin: 0 0 24px; color: #fff; }
.aurora-sub { color: rgba(238,243,250,.75); font-size: 1.05rem; line-height: 1.6; max-width: 48ch; margin-bottom: 30px; }
.aurora-omni { max-width: 640px; }
.aurora-omni .omni-row { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 6px 6px 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 50px -20px rgba(77,141,255,.35); transition: border-color .2s, box-shadow .2s; }
.aurora-omni .omni-row:focus-within { border-color: rgba(140,196,255,.7); box-shadow: 0 0 0 4px rgba(111,180,255,.15), 0 20px 60px -15px rgba(77,141,255,.6); }
.aurora-omni input#q { flex: 1; min-width: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; outline: none; color: #fff; font: 400 .95rem/1.4 var(--mono); padding: 10px 0; }
.aurora-omni input#q::placeholder { color: rgba(238,243,250,.45); }
.aurora-omni .omni-help { color: var(--ink-2); font-size: .8rem; margin: 12px 0 0 22px; opacity: 1; }
.aurora-omni .omni-error { margin-left: 22px; }
.aurora-omni .choose { margin-top: 14px; background: rgba(6,10,20,.85); border: 1px solid var(--line-strong); border-radius: 18px; padding: 16px; backdrop-filter: blur(12px); }
.aurora-cta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; }
.play { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 400 .9rem var(--disp); }
.play-ring { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.play-ring svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.play:first-child .play-ring svg { fill: #fff; stroke: none; }
.play:hover .play-ring { background: #fff; } .play:hover .play-ring svg { stroke: #050912; } .play:first-child:hover .play-ring svg { fill: #050912; }
.aurora-side { list-style: none; margin: 0 0 0 auto; padding: 0; width: 230px; flex: none; align-self: center; }
.aurora-side li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); font: 400 .82rem var(--disp); color: rgba(238,243,250,.85); }
.aurora-side li:last-child { border-bottom: 0; }
.aurora-side svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #CFE6FF; stroke-width: 1.4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(111,180,255,.6)); }
.aurora-foot { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px) 26px; display: flex; justify-content: space-between; align-items: center; }
.aurora-foot .eyebrow { margin: 0; font-size: .62rem; }
.scroll { display: inline-flex; align-items: center; gap: 14px; color: var(--ink-2); text-decoration: none; font: 500 .62rem var(--disp); text-transform: uppercase; letter-spacing: .32em; }
.scroll::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.mouse { width: 18px; height: 28px; border: 1px solid rgba(255,255,255,.55); border-radius: 10px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: #fff; animation: au-wheel 1.8s ease-in-out infinite; }
@keyframes au-wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

/* Command centre under the hero */
.cc { padding-top: 56px; }
.cc-title { margin-bottom: 22px; }
.cc-title h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem) !important; font-weight: 300 !important; }

/* Panels: quiet glass */
.panel, .finding, .xp-panel { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)) !important; border: 1px solid var(--line) !important; border-radius: var(--r) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 60px -40px rgba(0,0,0,.9) !important; }
.panel { overflow: hidden; }
.panel-h { font: 500 .66rem/1.2 var(--disp) !important; text-transform: uppercase !important; letter-spacing: .26em !important; color: var(--ink-2); background: none; border-bottom: 1px solid var(--line); padding: 16px 18px 14px; display: flex; align-items: center; gap: 12px; }
.panel-h::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.panel-h .tag { font: 400 .72rem var(--sans); letter-spacing: 0; text-transform: none; }
.panel-b { padding: 16px 18px 18px; }
.tiles, .tile { border-color: var(--line) !important; }
.big-counts b { font-weight: 300 !important; font-size: 2.1rem; }
.tile span { font-weight: 400; font-size: 1.15rem; }
.tool { transition: transform .25s, border-color .25s; }
.tool:hover { transform: translateY(-3px); border-color: rgba(140,196,255,.35) !important; }
.tool:hover h3 { color: #fff; }

/* Controls: pills */
.btn { border-radius: 999px !important; font-family: var(--disp) !important; font-weight: 500; font-size: .86rem; padding: 9px 18px; background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; }
.btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }
.btn-primary { background: #fff !important; color: #050912 !important; border-color: #fff !important; box-shadow: 0 10px 30px -10px rgba(140,196,255,.55); }
.btn-primary:hover { background: #E3F0FF !important; box-shadow: 0 10px 40px -6px rgba(140,196,255,.8); }
.btn-danger { background: var(--danger) !important; border-color: var(--danger) !important; color: #fff !important; }
.btn-link { border: 0; padding: 4px; }
.btn-link:hover { background: none; }
.copy { border-radius: 999px; }
.chip, .chain-badge, .status, .pill-live, .banner a { border-radius: 999px !important; }
.pill-live { background: rgba(61,220,151,.08); }
.pill-live::before { animation: au-ping 1.8s ease-out infinite; }
@keyframes au-ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6); } 100% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } }

/* Fields */
input[type="text"], input[type="search"], input[type="email"], input[type="number"], input:not([type]), textarea, select {
  background: rgba(255,255,255,.035) !important; border: 1px solid var(--line-strong) !important; border-radius: 12px !important; color: var(--ink); caret-color: #8CC4FF; }
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(140,196,255,.7) !important; box-shadow: 0 0 0 4px rgba(111,180,255,.14) !important; }

/* Case page */
.verdict { background: radial-gradient(60vw 30vh at 80% 0%, rgba(77,141,255,.12), transparent 70%) !important; border-bottom: 1px solid var(--line); }
.verdict-line { font-weight: 300 !important; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.9rem) !important; }
.verdict-line .hot { color: var(--gold) !important; }
.finding { border-left-width: 1px !important; position: relative; overflow: hidden; }
.finding::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--ink-2); }
.finding.critical::before { background: var(--danger); box-shadow: 0 0 12px var(--danger); }
.finding.high::before { background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.finding.medium::before { background: var(--hivis); }
.finding .action { border-radius: 12px; background: rgba(61,220,151,.06); }
.demo-banner { background: rgba(245,199,122,.06); border-bottom: 1px solid rgba(245,199,122,.18); }
.demo-banner strong { color: var(--gold); font-family: var(--disp); letter-spacing: .2em; font-weight: 500; font-size: .72rem; }
.hero, .page-head { background: none; }
.foot { background: rgba(1,3,9,.7); border-top: 1px solid var(--line); }
.log th, .table th { font: 500 .62rem var(--disp) !important; text-transform: uppercase; letter-spacing: .22em !important; color: var(--ink-2); }
.log tbody tr:hover, .table tbody tr:hover { background: rgba(255,255,255,.03); }
* { scrollbar-width: thin; scrollbar-color: rgba(140,196,255,.3) transparent; }
::selection { background: rgba(111,180,255,.35); color: #fff; }

@media (max-width: 1000px) { .aurora-side { display: none; } }
@media (max-width: 720px) {
  .aurora { min-height: auto; }
  .aurora::before { background: linear-gradient(180deg, rgba(1,3,9,.15) 0%, rgba(1,3,9,.55) 30%, rgba(1,3,9,.92) 60%); }
  .aurora-in { padding-top: 34vh; padding-bottom: 20px; }
  .aurora-h { font-size: 2.5rem; }
  .aurora-omni .omni-row { padding-left: 16px; }
  .aurora-omni .btn-primary { padding: 9px 14px; }
  .aurora-cta { gap: 18px; }
  .aurora-foot .eyebrow-r { display: none; }
  .nav-top a.nav-account { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mouse::after, .pill-live::before { animation: none; } }
/* Globe view */
.view-tog { display: inline-flex; margin-left: 12px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.view-tog button { background: none; border: 0; color: var(--ink-2); font: 500 .62rem var(--disp); letter-spacing: .18em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.view-tog button[aria-pressed="true"] { background: #fff; color: #050912; }
canvas.globe { display: block; width: 100%; cursor: grab; touch-action: pan-y; }
canvas.globe:active { cursor: grabbing; }
/* Urgent entry points */
.top-in a.hacked { flex: none; margin-left: auto; color: #fff; text-decoration: none; font: 500 .8rem var(--disp); padding: 7px 14px; border-radius: 999px; background: rgba(255,92,108,.16); border: 1px solid rgba(255,92,108,.55); white-space: nowrap; }
.top-in a.hacked:hover { background: var(--danger); }
.top-in a.hacked + .lang-pick { margin-left: 10px !important; }
.play-urgent .play-ring { border-color: rgba(255,92,108,.8); }
.play-urgent .play-ring svg { fill: none !important; stroke: #FF8A96 !important; }
.play-urgent:hover .play-ring { background: var(--danger) !important; } .play-urgent:hover .play-ring svg { stroke: #fff !important; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 720px) { .top-in a.hacked { padding: 6px 10px; font-size: .74rem; } }
@media (max-width: 720px) {
  .top-in { gap: 10px; }
  .brand { letter-spacing: .2em !important; font-size: .85rem; }
  .brand-mark { width: 14px; height: 14px; }
  .top-in select.lang-pick { padding: 5px 6px !important; margin-left: 6px !important; }
  .top-in a.hacked + .lang-pick { margin-left: 6px !important; }
}
@media (max-width: 360px) { .brand span:last-child { display: none; } }

/* ==========================================================================
   Monitor: the command centre as a big-screen display. Deep navy, framed
   panels with title tabs, glowing numbers, ring gauges, bars and a globe.
   ========================================================================== */
.mon {
  --m-bg: #020a1c; --m-panel: rgba(6, 24, 58, .78); --m-edge: rgba(47, 140, 255, .38); --m-cyan: #3FD0FF; --m-blue: #1F6FFF;
  --m-ink: #DDF3FF; --m-dim: #7FA6CC; --num: "Rajdhani", "Outfit", system-ui, sans-serif;
  position: relative; max-width: 1640px; margin: 0 auto; padding: 18px clamp(10px, 1.6vw, 24px) 40px; color: var(--m-ink);
  background:
    radial-gradient(70% 50% at 50% 35%, rgba(31,111,255,.16), transparent 70%),
    linear-gradient(rgba(63,208,255,.04) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(63,208,255,.04) 1px, transparent 1px) 0 0 / 32px 100%,
    var(--m-bg);
  border-top: 1px solid rgba(63,208,255,.25);
}
.mon::before { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(0,0,0,.65); }

/* Header bar */
.mon-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 10px 16px; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(10,40,90,.7), rgba(4,18,44,.6)); border: 1px solid var(--m-edge);
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 18px) 100%, 18px 100%, 0 70%); }
.mon-head::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--m-cyan), transparent); box-shadow: 0 0 12px var(--m-cyan); }
.mon-brand { display: flex; align-items: center; gap: 12px; }
.mon-logo { width: 34px; height: 34px; border: 2px solid var(--m-cyan); position: relative; box-shadow: 0 0 12px rgba(63,208,255,.5) inset; }
.mon-logo::before, .mon-logo::after { content: ""; position: absolute; background: var(--m-cyan); }
.mon-logo::before { left: 7px; top: 6px; width: 6px; height: 18px; } .mon-logo::after { right: 7px; top: 6px; width: 6px; height: 12px; }
.mon-brand h1 { font: 700 1.35rem/1.1 var(--num) !important; letter-spacing: .06em !important; text-transform: uppercase; margin: 0; color: #fff; text-shadow: 0 0 14px rgba(63,208,255,.55); }
.mon-brand p { margin: 2px 0 0; font: 500 .7rem var(--num); letter-spacing: .14em; text-transform: uppercase; color: var(--m-dim); }
.mon-deco { display: flex; gap: 6px; justify-content: center; align-items: center; height: 100%; }
.mon-deco i { height: 2px; flex: 1; max-width: 160px; background: repeating-linear-gradient(90deg, rgba(63,208,255,.55) 0 6px, transparent 6px 10px); }
.mon-deco i:nth-child(2) { max-width: 40px; height: 6px; background: var(--m-cyan); box-shadow: 0 0 10px var(--m-cyan); }
.mon-right { display: flex; align-items: center; gap: 14px; font: 600 .95rem var(--num); letter-spacing: .06em; }
.mon-mode { padding: 3px 10px; border: 1px solid rgba(61,220,151,.6); color: #3DDC97; text-transform: uppercase; font-size: .75rem; }
.mon-mode.demo { border-color: rgba(255,166,77,.7); color: #FFA64D; }
.mon-clock { color: #fff; font-size: 1.15rem; }
.mon-date { color: var(--m-dim); font-size: .8rem; }

/* Grid */
.mon-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .mon-grid { grid-template-columns: minmax(250px, 1fr) minmax(0, 2.35fr) minmax(250px, 1fr); } }
.mon-col, .mon-center { display: grid; gap: 14px; align-content: start; min-width: 0; }

/* Framed panel */
.mp { position: relative; background: var(--m-panel) !important; border: 1px solid var(--m-edge) !important; border-radius: 0 !important; padding: 12px 14px 14px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: inset 0 0 28px rgba(31,111,255,.18), inset 0 1px 0 rgba(63,208,255,.25) !important; backdrop-filter: none !important; }
.mp::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--m-cyan), var(--m-cyan)) top left / 16px 2px no-repeat,
    linear-gradient(var(--m-cyan), var(--m-cyan)) top left / 2px 16px no-repeat,
    linear-gradient(var(--m-cyan), var(--m-cyan)) bottom right / 16px 2px no-repeat,
    linear-gradient(var(--m-cyan), var(--m-cyan)) bottom right / 2px 16px no-repeat,
    linear-gradient(135deg, transparent calc(50% - 1px), var(--m-cyan) 50%, transparent calc(50% + 1px)) top right / 14px 14px no-repeat,
    linear-gradient(135deg, transparent calc(50% - 1px), var(--m-cyan) 50%, transparent calc(50% + 1px)) bottom left / 14px 14px no-repeat; }
.mp-t { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 10px; margin: 0 0 4px; font: 700 .95rem/1.2 var(--num); letter-spacing: .05em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, rgba(31,111,255,.55), rgba(31,111,255,0)); border-left: 3px solid var(--m-cyan); }
.mp-t-sm { font-size: .78rem; padding: 3px 10px 3px 8px; }
.mp-t span { color: var(--m-cyan); }
.mp-s { margin: 0 0 10px; font: 500 .72rem var(--num); letter-spacing: .04em; color: var(--m-dim); max-width: none; }
.mp-b { min-width: 0; }
.mon-empty { color: var(--m-dim); font-size: .85rem; margin: 6px 0; }

/* Numbers */
.mon-num { display: block; font: 600 2rem/1 var(--num); color: var(--m-cyan); text-shadow: 0 0 14px rgba(63,208,255,.55); letter-spacing: .01em; }
.mon-num.hot, .hot { color: #FF6B86; text-shadow: 0 0 14px rgba(255,92,122,.5); }
.mon-cap { display: block; margin-top: 6px; font: 500 .78rem var(--num); color: var(--m-dim); letter-spacing: .03em; }
.gauge-row { display: flex; align-items: center; gap: 14px; }
.ring { width: 96px; height: 96px; flex: none; }
.ring-ticks line { stroke: rgba(63,208,255,.55); stroke-width: 1; }
.ring-bg { fill: none; stroke: rgba(63,208,255,.12); stroke-width: 7; }
.ring-fg { fill: none; stroke-width: 7; stroke-linecap: butt; }
.ring-n { fill: #fff; font: 700 21px var(--num); text-anchor: middle; }
.ring-n tspan { font-size: 11px; fill: var(--m-dim); }
.ring-w { fill: var(--m-dim); font: 600 8px var(--num); text-anchor: middle; text-transform: uppercase; letter-spacing: .1em; }

/* Bars */
.hbars { display: grid; gap: 7px; }
.hb { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 8px; font: 600 .8rem var(--num); }
.hb span { color: var(--m-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb b { color: var(--m-cyan); font-weight: 600; min-width: 34px; text-align: right; }
.hb-t { height: 10px; background: rgba(63,208,255,.08); position: relative; }
.hb-t i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #1F6FFF, #3FD0FF); box-shadow: 0 0 8px rgba(63,208,255,.5); }
.hb-t i::after { content: ""; position: absolute; right: 0; top: -2px; bottom: -2px; width: 2px; background: #fff; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 1fr auto; align-items: center; gap: 8px; font: 600 .82rem var(--num); }
.rank em { font-style: normal; color: var(--m-cyan); text-align: center; }
.rank li:nth-child(-n+3) em { color: #fff; background: linear-gradient(135deg, #1F6FFF, #3FD0FF); }
.rank span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank b { color: var(--m-cyan); }
.vbars { width: 100%; height: auto; display: block; }
.vbars text, .area text { fill: var(--m-dim); font: 600 9px var(--num); }
.area { width: 100%; height: auto; display: block; }
.area-l { fill: none; stroke: var(--m-cyan); stroke-width: 2; filter: drop-shadow(0 0 4px var(--m-cyan)); }
.area circle { fill: #fff; stroke: var(--m-cyan); stroke-width: 1.5; }
.mon-foot, .mon-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 7px 10px; border: 1px solid var(--m-edge); background: rgba(31,111,255,.08); font: 600 .82rem var(--num); letter-spacing: .03em; }
.mon-foot span, .mon-row span { color: var(--m-ink); } .mon-foot b, .mon-row b { margin-left: auto; color: var(--m-cyan); font-size: 1rem; }
.mon-row { margin: 0; } .mon-rows { display: grid; gap: 8px; }
.mon-row i { font-style: normal; color: var(--m-dim); font-size: .72rem; border: 1px solid var(--m-edge); padding: 1px 6px; }
.mon-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.mon-legend li { display: flex; align-items: center; gap: 8px; font: 600 .85rem var(--num); }
.mon-legend i { width: 10px; height: 10px; } .mon-legend b { margin-left: auto; color: #fff; font-size: 1.05rem; }
.mon-alarm { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 8px 10px; text-decoration: none; color: #fff; font: 600 .82rem var(--num);
  background: linear-gradient(90deg, rgba(255,92,122,.28), rgba(255,92,122,.06)); border-left: 3px solid #FF5C7A; }
.mon-alarm b { color: #FF9CB0; white-space: nowrap; }

/* Centre stage */
.mp-hero { padding: 0; min-height: 560px; overflow: hidden; }
.mon-globe { position: absolute; inset: 0; }
.mon-globe canvas.globe { width: 100%; height: 100% !important; }
.mon-banner { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; min-width: 46%;
  padding: 6px 26px 8px; text-align: center; border: 1px solid var(--m-edge); background: linear-gradient(180deg, rgba(31,111,255,.28), rgba(4,18,44,.5));
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }
.mon-banner b { font: 700 1rem var(--num); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.mon-banner span { font: 500 .7rem var(--num); color: var(--m-dim); letter-spacing: .06em; }
.hud { position: absolute; z-index: 2; }
.hud-tl { left: 18px; top: 86px; padding: 8px 12px 10px; background: rgba(4,18,44,.55); border: 1px solid var(--m-edge); }
.hud-tl2 { left: 18px; top: 196px; padding: 8px 12px 10px; background: rgba(4,18,44,.55); border: 1px solid var(--m-edge); }
.mon-big { display: inline-block; font: 600 3rem/1 var(--num); color: var(--m-cyan); text-shadow: 0 0 18px rgba(63,208,255,.7); margin-top: 6px; }
.mon-mid { display: inline-block; font: 600 2.1rem/1 var(--num); color: #fff; text-shadow: 0 0 14px rgba(63,208,255,.6); margin-top: 6px; }
.mon-unit { margin-left: 6px; font: 600 .85rem var(--num); color: var(--m-dim); }
.mon-trend { display: block; margin-top: 4px; font: 600 .78rem var(--num); color: var(--m-dim); }
.mon-trend .up { color: #FF6B86; } .mon-trend .down { color: #3DDC97; }
.hud-tr { right: 18px; top: 86px; width: min(270px, 34%); padding: 12px 14px; background: linear-gradient(180deg, rgba(10,40,90,.75), rgba(4,18,44,.7)); border: 1px solid var(--m-edge);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.hud-tr-h { font: 700 .95rem var(--num); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.hud-list { display: grid; gap: 6px; margin-top: 8px; }
.hud-list a { display: block; color: var(--m-ink); text-decoration: none; font: 500 .78rem/1.3 var(--sans); border-top: 1px dashed rgba(63,208,255,.2); padding-top: 6px; }
.hud-list a:hover { color: #fff; } .hud-list .t { color: var(--m-cyan); font: 600 .78rem var(--num); margin-right: 6px; }
.hud-bl { left: 18px; bottom: 34px; width: min(300px, 40%); padding: 8px 12px; background: rgba(4,18,44,.55); border: 1px solid var(--m-edge); }
.hud-br { right: 26px; bottom: 34px; width: 120px; height: 120px; display: grid; place-items: center; }
.hud-br span { position: absolute; font: 700 1.5rem var(--num); color: #fff; text-shadow: 0 0 10px var(--m-cyan); }
.radar { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(63,208,255,.7); box-shadow: 0 0 18px rgba(63,208,255,.4), inset 0 0 18px rgba(63,208,255,.3);
  background: radial-gradient(circle, transparent 38%, rgba(63,208,255,.18) 39%, transparent 41%, transparent 62%, rgba(63,208,255,.18) 63%, transparent 65%); overflow: hidden; }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63,208,255,.55), transparent 25%); animation: radar 3s linear infinite; }
@keyframes radar { to { transform: rotate(360deg); } }
.mon-note { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; font: 500 .68rem var(--num); letter-spacing: .06em; color: rgba(127,166,204,.75); z-index: 2; max-width: none; }

/* Live events */
.mon-live { margin-left: auto; color: #3DDC97; font: 600 .7rem var(--num); } .mon-live.off { color: var(--m-dim); }
.mon-log { display: grid; gap: 4px; max-height: 300px; overflow: auto; }
.ev { display: grid; grid-template-columns: 40px 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; font: 500 .78rem/1.3 var(--sans); border-left: 2px solid rgba(63,208,255,.4); background: rgba(31,111,255,.06); }
.ev.critical { border-left-color: #FF5C7A; } .ev.high { border-left-color: #FFA64D; }
.ev .t { color: var(--m-cyan); font: 600 .8rem var(--num); } .ev .c { color: var(--m-dim); font: 600 .72rem var(--num); }
.ev a { color: var(--m-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ev a:hover { color: #fff; }
.ev-x { color: #FF9CB0 !important; border: 1px solid rgba(255,92,122,.5); padding: 1px 7px; font: 600 .7rem var(--num); text-transform: uppercase; }
.ev-w { color: var(--m-dim); border: 1px solid var(--m-edge); padding: 1px 7px; font: 600 .7rem var(--num); text-transform: uppercase; }

/* Recent cases strip */
.mon-cases { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 8px; }
.mon-cases a { display: grid; gap: 4px; padding: 10px 12px; text-decoration: none; color: var(--m-ink); border: 1px solid var(--m-edge); background: rgba(31,111,255,.07); }
.mon-cases a:hover { border-color: var(--m-cyan); }
.mc-q { font: 500 .82rem var(--mono); } .mc-amt { font: 600 1.35rem var(--num); color: #FF6B86; } .mon-cases small { color: var(--m-dim); font: 500 .74rem var(--num); }
.mc-demo { color: #FFA64D; font: 600 .66rem var(--num); text-transform: uppercase; border: 1px solid rgba(255,166,77,.5); padding: 0 5px; }

/* Tool cards in the monitor */
.mon .tools3 { margin-top: 16px; }
.mon .tool { display: block; text-decoration: none; color: var(--m-ink); }
.mon .tool h3 { font: 700 1.05rem var(--num) !important; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.mon .tool p { color: var(--m-dim); margin: 0; font-size: .88rem; }
.mon .tool:hover { transform: none; border-color: var(--m-cyan) !important; }

@media (max-width: 1099px) {
  .mp-hero { min-height: 0; display: flex; flex-direction: column; }
  .mon-globe { position: relative; height: min(110vw, 520px); order: 2; }
  .mon-banner { position: relative; top: auto; left: auto; transform: none; margin: 12px auto 0; order: 1; }
  .hud { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: auto !important; margin: 8px 12px 0; }
  .hud-tl { order: 3; } .hud-tl2 { order: 4; } .hud-tr { order: 5; clip-path: none; } .hud-bl { order: 6; margin-bottom: 12px; } .hud-br { display: none; }
  .mon-note { position: relative; order: 7; margin-bottom: 10px; }
  .mon-head { grid-template-columns: 1fr auto; } .mon-deco { display: none; }
}
@media (max-width: 560px) { .mon-right .mon-date { display: none; } .mon-brand h1 { font-size: 1.05rem !important; } .mon-big { font-size: 2.4rem; } }
@media (prefers-reduced-motion: reduce) { .radar i { animation: none; } }
.hud-tl, .hud-tl2, .hud-bl { width: 210px; background: rgba(4,18,44,.62); }
.hud .mp-t { display: flex; width: max-content; max-width: 100%; }
.hud-tl2 { top: 200px; }
.hud-tr { width: 230px; }
@media (min-width: 1100px) { .mp-hero { min-height: 600px; } }
.mon { scroll-margin-top: 64px; }
@media (max-width: 700px) {
  .mon-head { grid-template-columns: 1fr; gap: 8px; clip-path: none; }
  .mon-brand p { display: none; }
  .mon-right { justify-content: space-between; }
}

/* ==========================================================================
   Terminal layer: phosphor green on near-black, monospace for everything that
   is data or chrome. Anything a victim must read or send (findings, steps,
   letters) stays in IBM Plex Sans. Red still means danger; "safe" is cyan.
   ========================================================================== */
:root {
  --tm: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --disp: var(--tm);
  --paper: #040705;
  --surface: rgba(110, 240, 122, .025);
  --surface-2: rgba(110, 240, 122, .05);
  --line: rgba(110, 240, 122, .14);
  --line-strong: rgba(110, 240, 122, .3);
  --ink: #E4F2E5;
  --ink-2: #869A89;
  --hivis: #6EF07A;
  --on-hivis: #031006;
  --link: #8DF59A;
  --focus: #6EF07A;
  --ok: #7FE3E0;
  --ok-bg: rgba(127, 227, 224, .08);
  --gold: #FFC266;
  --r: 2px; --r-sm: 2px;
}
body { background: var(--paper); }
.fx-glow { background: radial-gradient(50vw 40vh at 85% -10%, rgba(110,240,122,.07), transparent 70%); }
.fx-stars { display: none; }
::selection { background: rgba(110,240,122,.35); color: #fff; }
* { scrollbar-color: rgba(110,240,122,.35) transparent; }

/* Type: mono for chrome and data */
h1, h2, h3, .brand, .verdict-line, .cc-title h1, .mp-t, .eyebrow, .panel-h, .btn, .nav-top a, .chip, .status, .pill-live, .demo-banner strong { font-family: var(--tm) !important; }
h1 { font-weight: 700 !important; letter-spacing: -0.035em !important; }
h2 { font-weight: 600 !important; letter-spacing: -0.02em !important; text-transform: none !important; }
h2::before { content: "> "; color: var(--hivis); }
.mon h2::before, .aurora h2::before { content: none; }
.grad, .verdict-line .cool { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--hivis) !important; text-shadow: 0 0 22px rgba(110,240,122,.25); }
.eyebrow { letter-spacing: .16em; font-size: .72rem; color: var(--hivis); }
.eyebrow::before { background: var(--hivis); }

/* Header */
.top { background: rgba(4,7,5,.85); border-bottom: 1px solid var(--line); }
.brand { text-transform: none !important; letter-spacing: -0.02em !important; font-weight: 700 !important; font-size: 1.25rem; }
.brand::after { content: "_"; color: var(--hivis); animation: tm-blink 1.1s steps(1) infinite; }
.brand-mark { display: none; }
.nav-top a { font-size: .82rem; color: rgba(228,242,229,.7); font-weight: 500; }
.nav-top a[aria-current="page"] { color: var(--hivis); }
.nav-top > a[aria-current="page"]::after, .nav-drop > a[aria-current="page"]::after { background: var(--hivis); width: 100%; left: 0; transform: none; bottom: 2px; height: 1px; }
.nav-top a.nav-account { border-radius: 0; border-color: var(--line-strong); }
.nav-top a.nav-account:hover { background: var(--hivis); color: var(--on-hivis); }
.top-in a.hacked { border-radius: 0; font-family: var(--tm); }
.lang-pick { border-radius: 0 !important; font-family: var(--tm) !important; }
.nav-menu { border-radius: 0; background: rgba(4,9,6,.96); border-color: var(--line-strong); }
.nav-menu a { border-radius: 0; }
.nav-bottom a[aria-current="page"] { color: var(--hivis); }
.nav-bottom a[aria-current="page"] svg { stroke: var(--hivis); filter: drop-shadow(0 0 6px rgba(110,240,122,.6)); }
@keyframes tm-blink { 50% { opacity: 0; } }

/* Buttons and fields: square, terminal */
.btn { border-radius: 0 !important; font-weight: 600; font-size: .84rem; letter-spacing: -0.01em; border: 1px solid var(--line-strong); background: rgba(4,9,6,.6); color: var(--ink); }
.btn:hover { background: rgba(110,240,122,.08); border-color: var(--hivis); color: #fff; }
.btn-primary { background: var(--hivis) !important; color: var(--on-hivis) !important; border-color: var(--hivis) !important; box-shadow: none; }
.btn-primary:hover { background: #9BF7A4 !important; box-shadow: 0 0 24px rgba(110,240,122,.35); }
.copy, .chip, .chain-badge, .status, .pill-live, .banner a { border-radius: 0 !important; }
input[type="text"], input[type="search"], input[type="email"], input[type="number"], input:not([type]), textarea, select {
  border-radius: 0 !important; background: rgba(4,9,6,.8) !important; border-color: var(--line-strong) !important; caret-color: var(--hivis); }
input:focus, textarea:focus, select:focus { border-color: var(--hivis) !important; box-shadow: 0 0 0 3px rgba(110,240,122,.14) !important; }

/* Panels */
.panel, .finding, .xp-panel { background: rgba(8,14,10,.82) !important; border: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
.panel-h { font-size: .7rem !important; letter-spacing: .14em !important; color: var(--hivis) !important; }
.panel-h::before { background: var(--hivis); width: 14px; }
.finding .action { border-radius: 0; background: rgba(127,227,224,.06); border-color: rgba(127,227,224,.22); }
.finding .action b, .finding .action strong { color: var(--ok); }
.finding.medium::before { background: var(--hivis); }
.verdict { background: radial-gradient(60vw 30vh at 80% 0%, rgba(110,240,122,.07), transparent 70%) !important; }
.verdict-line { font-weight: 700 !important; letter-spacing: -0.04em !important; }
.demo-banner { background: rgba(255,194,102,.06); }
.tool:hover { border-color: var(--hivis) !important; }

/* Hero */
.aurora { background: #030604; }
.aurora::before { background: linear-gradient(90deg, rgba(3,6,4,.96) 0%, rgba(3,6,4,.75) 30%, rgba(3,6,4,0) 50%), linear-gradient(0deg, rgba(3,6,4,.9), transparent 20%); }
.aurora-h { font-weight: 700 !important; letter-spacing: -0.05em !important; line-height: 1.04; font-size: clamp(2.4rem, 1rem + 4.4vw, 4.9rem); }
.aurora-h .grad { text-shadow: 0 0 30px rgba(110,240,122,.35); }
.aurora-omni .omni-row { border-radius: 0; background: rgba(4,9,6,.85); border-color: var(--line-strong); box-shadow: none; padding-left: 14px; }
.aurora-omni .omni-row::before { content: "$"; color: var(--hivis); font: 600 .95rem var(--tm); margin-right: 4px; }
.aurora-omni .omni-row:focus-within { border-color: var(--hivis); box-shadow: 0 0 0 3px rgba(110,240,122,.12), 0 0 40px -10px rgba(110,240,122,.5); }
.aurora-omni input#q { font-family: var(--tm); }
.aurora-omni .btn-primary { padding: 10px 18px; }
.aurora-omni .choose { border-radius: 0; background: rgba(4,9,6,.95); }
.play { font-family: var(--tm); font-size: .84rem; }
.play-ring { border-radius: 0; border-color: var(--line-strong); }
.play-ring svg { stroke: var(--hivis) !important; }
.play:first-child .play-ring svg { fill: var(--hivis) !important; }
.play:hover .play-ring { background: var(--hivis); border-color: var(--hivis); }
.play:hover .play-ring svg { stroke: var(--on-hivis) !important; } .play:first-child:hover .play-ring svg { fill: var(--on-hivis) !important; }
.aurora-side li { font-family: var(--tm); font-size: .76rem; border-color: var(--line); }
.aurora-side svg { stroke: var(--hivis); filter: drop-shadow(0 0 5px rgba(110,240,122,.5)); }
.scroll, .aurora-foot .eyebrow { font-family: var(--tm); letter-spacing: .14em; }
.mouse { border-radius: 2px; border-color: var(--line-strong); } .mouse::after { background: var(--hivis); }

/* Monitor: same frames, green phosphor */
.mon {
  --m-bg: #030805; --m-panel: rgba(6,16,9,.86); --m-edge: rgba(110,240,122,.28); --m-cyan: #6EF07A; --m-blue: #2E9B42;
  --m-ink: #E4F2E5; --m-dim: #7F9883; --num: var(--tm);
  background:
    radial-gradient(70% 50% at 50% 35%, rgba(110,240,122,.06), transparent 70%),
    linear-gradient(rgba(110,240,122,.035) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(90deg, rgba(110,240,122,.035) 1px, transparent 1px) 0 0 / 30px 100%, var(--m-bg);
  border-top-color: var(--line-strong);
}
.mon-head { background: linear-gradient(180deg, rgba(14,40,20,.75), rgba(5,14,8,.7)); }
.mon-brand h1 { letter-spacing: -0.02em !important; text-transform: none; text-shadow: 0 0 14px rgba(110,240,122,.4); }
.mon-brand h1::after { content: "_"; color: var(--m-cyan); animation: tm-blink 1.1s steps(1) infinite; }
.mp { box-shadow: inset 0 0 28px rgba(110,240,122,.06), inset 0 1px 0 rgba(110,240,122,.2) !important; }
.mp-t { background: linear-gradient(90deg, rgba(110,240,122,.22), rgba(110,240,122,0)); letter-spacing: 0; text-transform: none; font-size: .9rem; }
.mp-t-sm { font-size: .76rem; }
.mon-banner { background: linear-gradient(180deg, rgba(110,240,122,.14), rgba(5,14,8,.6)); }
.mon-banner b { letter-spacing: 0; text-transform: none; }
.mon-num, .mon-big, .mon-mid { font-family: var(--tm) !important; letter-spacing: -0.04em; }
.mon-num { text-shadow: 0 0 14px rgba(110,240,122,.45); }
.mon-big { text-shadow: 0 0 18px rgba(110,240,122,.6); }
.mon-mid { text-shadow: 0 0 14px rgba(110,240,122,.4); }
.hb-t i { background: linear-gradient(90deg, #1F6B2C, #6EF07A); box-shadow: 0 0 8px rgba(110,240,122,.45); }
.rank li:nth-child(-n+3) em { color: #031006; background: #6EF07A; }
.hud-tr { background: linear-gradient(180deg, rgba(14,40,20,.8), rgba(5,14,8,.75)); }
.hud-tr-h { text-transform: none; letter-spacing: 0; }
.radar { border-color: rgba(110,240,122,.7); box-shadow: 0 0 18px rgba(110,240,122,.35), inset 0 0 18px rgba(110,240,122,.25);
  background: radial-gradient(circle, transparent 38%, rgba(110,240,122,.16) 39%, transparent 41%, transparent 62%, rgba(110,240,122,.16) 63%, transparent 65%); }
.radar i { background: conic-gradient(from 0deg, rgba(110,240,122,.5), transparent 25%); }
.ev { border-left-color: rgba(110,240,122,.4); background: rgba(110,240,122,.04); }
.ring-ticks line { stroke: rgba(110,240,122,.5); } .ring-bg { stroke: rgba(110,240,122,.1); }
.mon-mode { border-radius: 0; }
.mon .tool h3 { text-transform: none; letter-spacing: -0.01em; }
.mon-live { color: var(--m-cyan); }
.area-l { stroke: var(--m-cyan); filter: drop-shadow(0 0 4px var(--m-cyan)); }
.vbars text, .area text { font-family: var(--tm); }
.aurora-side { display: none !important; }
.aurora-copy { max-width: 680px; }
.aurora-h { font-size: clamp(2.3rem, 1rem + 3.6vw, 4.1rem); }
.aurora::before { background: linear-gradient(90deg, rgba(3,6,4,.96) 0%, rgba(3,6,4,.7) 34%, rgba(3,6,4,0) 46%), linear-gradient(0deg, rgba(3,6,4,.9), transparent 18%) !important; }

/* Live hack strip on the home hero (links to /hack/:slug) */
.hack-strip { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding: 7px 12px; max-width: 100%;
  font: 500 .8rem var(--tm); color: var(--ink); text-decoration: none; border: 1px solid rgba(255,92,108,.4); background: rgba(255,77,94,.06); }
.hack-strip[hidden] { display: none; }
.hack-strip:hover { border-color: var(--danger); background: rgba(255,77,94,.12); color: #fff; }
.hack-strip i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: hs-pulse 1.6s ease-out infinite; flex: none; }
.hack-strip b { color: var(--danger); letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
.hack-strip em { font-style: normal; color: var(--hivis); font-weight: 700; }
@keyframes hs-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,94,.65); } 100% { box-shadow: 0 0 0 8px rgba(255,77,94,0); } }
@media (prefers-reduced-motion: reduce) { .hack-strip i { animation: none; } }
