/* Sonar front end — mirrors the report brand (src/sonar/report/templates/brand.css)
   exactly: light, airy, white cards on off-white, blue hairlines, no black
   shadows (tinted blue only). The spectrum gradient is the one luminous
   signature — it appears ONLY on the score band and the primary CTA. Amber means
   one thing: "validated against source".

   Fonts are served from /assets/fonts/ (the FastAPI app mounts the report's
   assets dir there); no CDNs, no build step. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-italic-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/space-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-mono-700.woff2") format("woff2");
}

:root {
  /* BRAND TOKENS: keep this block identical in web/styles.css and
     src/sonar/report/templates/brand.css (tests/test_brand_tokens.py checks).
     Source: the Dolphin Analytics brand kit (BRAND.md) and the live site's
     global.css. */

  /* Base: light field */
  --bg: #f4f5fb;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-secondary: #4b4b57;
  --ink-muted: #66666f;
  --primary: #4042e2;
  --primary-hover: #3335c6;
  --primary-soft: #e8e8fc;
  --border: #d9dcf5;
  --border-vivid: rgba(3, 44, 252, 0.30);
  --amber: #fbd23c;

  /* Deep field: the one sanctioned dark (violet ink, never pure black) */
  --deep: #120f1e;
  --deep-raised: #1f1a33;
  --deep-line: #3a3654;
  --on-deep: #f4f5fb;
  --on-deep-secondary: #c8c6d8;
  --on-deep-muted: #a9a6c4;
  --on-deep-accent: #b7b4ff;
  --scrim: 18, 15, 30; /* --deep as r, g, b for rgba() scrims */

  /* Signature gradient stops (blue to amber) */
  --grad-blue: #2a1ff5;
  --grad-indigo: #531ec6;
  --grad-purple: #832da8;
  --grad-magenta: #b94169;
  --grad-coral: #ea6952;
  --grad-amber: #fbd23c;
  --grad: linear-gradient(18deg, var(--grad-blue) 0%, var(--grad-indigo) 22%, var(--grad-purple) 45%, var(--grad-magenta) 63%, var(--grad-coral) 80%, var(--grad-amber) 100%);
  --grad-bar: linear-gradient(90deg, var(--grad-blue), var(--grad-purple) 35%, var(--grad-coral) 70%, var(--grad-amber));
  --grad-cool: linear-gradient(115deg, var(--grad-blue) 0%, var(--primary) 38%, var(--grad-indigo) 70%, var(--grad-purple) 100%);

  /* Status on light: ink on soft fill (pills, tags, messages) */
  --ok-ink: #1f6b44;
  --ok-soft: #e6f4ec;
  --warn-ink: #7a5400;
  --warn-soft: #fff3d0;
  --bad-ink: #8f2448;
  --bad-soft: #fdf1f4;
  --error-ink: #b3261e;

  /* RAG marks: on light, then on the gradient or deep field */
  --rag-green: #1f9d57;
  --rag-amber: #f0b429;
  --rag-red: #e5484d;
  --rag-green-on-deep: #34d27b;
  --rag-amber-on-deep: #fbd23c;
  --rag-red-on-deep: #ff6168;

  /* Shadows: tinted blue, never black */
  --shadow-soft: 0 12px 40px -12px rgba(64, 66, 226, 0.14);
  --shadow-card: 0 10px 34px -16px rgba(64, 66, 226, 0.22);

  /* Type: Hanken Grotesk (display and body), Space Mono (numbers, data) */
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-base: 15px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 20px;
  --text-3xl: 24px;
  --text-4xl: 32px;
  --text-5xl: 44px;
  --text-6xl: 56px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
  --tracking-eyebrow: 0.12em;
  --tracking-tight: -0.02em;

  /* Shape and motion */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-card: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-magnetic: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 40px 64px;
}

/* keyboard escape hatch to the scanner */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  text-decoration: none;
  z-index: 10;
}
.skip-link:focus { left: 0; }

/* visually hidden but available to screen readers */
.vh-label {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

/* ---- masthead ------------------------------------------------------------- */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 36px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 34px; height: 34px; display: inline-flex; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.wordmark {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: var(--weight-medium);
}
.wordmark b { font-weight: var(--weight-bold); }
.wordmark-by { color: var(--ink-muted); font-weight: var(--weight-regular); }
.masthead-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.masthead-tag::before { content: "◆"; color: var(--amber); font-size: 10px; }

/* ---- hero ----------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin: 0 0 14px;
}
.hero { padding: 16px 0 8px; }
.hero-title {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 16ch;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  margin: 0 0 30px;
  max-width: 56ch;
}

/* ---- scan form ------------------------------------------------------------ */
.scanform {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}
.scanform-field { flex: 1 1 280px; min-width: 0; }
.scanform input,
.gateform input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 0 20px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.scanform input::placeholder,
.gateform input::placeholder { color: var(--ink-muted); }
.scanform input:focus-visible,
.gateform input:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.scanform input[aria-invalid="true"],
.gateform input[aria-invalid="true"] {
  border-color: var(--rag-red);
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18);
}

/* the primary CTA — the second place the signature gradient is allowed */
.btn-primary {
  flex: none;
  position: relative;
  overflow: hidden;
  height: 56px;
  border: 0;
  border-radius: 16px;
  padding: 0 28px;
  /* Gradient set directly on the button (not a ::before overlay) so the label,
     a bare text node, paints on top. Dark half of the signature spectrum
     (blue -> indigo -> purple) keeps white text high-contrast; the full
     blue->amber spectrum is reserved for the large score band. */
  background: var(--grad-cool);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 44px -14px rgba(64, 66, 226, 0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.btn-primary:disabled { cursor: progress; opacity: 0.72; transform: none; }
/* keep the label readable over the gradient without a hard shadow */
.btn-primary { text-shadow: 0 1px 6px rgba(var(--scrim), 0.45); }

.btn-ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-ghost:hover { background: var(--primary-soft); border-color: var(--border-vivid); }
.btn-ghost:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.hero-note {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.form-error {
  margin: 12px 0 0;
  color: var(--error-ink);
  font-size: 0.92rem;
  font-weight: var(--weight-medium);
}

/* ---- status / loading ----------------------------------------------------- */
.status { margin-top: 36px; }
.status-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
}
.status-copy { min-width: 0; }
.status-line { margin: 0 0 4px; font-weight: var(--weight-bold); font-size: 1.04rem; letter-spacing: -0.01em; }
.status-sub { margin: 0; color: var(--ink-secondary); font-size: 0.94rem; }

.spinner {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--primary-soft);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- error ---------------------------------------------------------------- */
.errorbox { margin-top: 36px; }
.errorbox-card {
  background: var(--surface);
  border: 1px solid var(--rag-red);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 12px 40px -16px rgba(229, 72, 77, 0.28);
}
.errorbox-title { margin: 0 0 6px; font-weight: var(--weight-bold); font-size: 1.08rem; letter-spacing: -0.01em; }
.errorbox-sub { margin: 0 0 18px; color: var(--ink-secondary); font-size: 0.95rem; }
/* Bot-blocked site: a neutral "we couldn't look" outcome, not a failure. */
.errorbox-card.is-blocked {
  border-color: var(--border-vivid);
  box-shadow: var(--shadow-soft);
}
/* A button rule sets display, which beats the browser's own [hidden] rule. Without
   this, every "hidden" button still showed, with href="#" (Talk to us, 7 Oct 2026). */
[hidden] { display: none !important; }

a.btn-primary.errorbox-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 0 12px 12px 0;
}

/* ---- blocked site: the come-back offer ------------------------------------ */
/* Not an error card. The site did its job, we have nothing to report, and the
   next step is a scan we run together, so this reads like the gate, not like
   a failure. */
.comeback { margin-top: 36px; }
.comeback-card {
  background: var(--primary-soft);
  border: 1px dashed var(--border-vivid);
  border-radius: 20px;
  padding: 26px 28px;
}
.comeback-title {
  margin: 0 0 8px;
  font-weight: var(--weight-bold);
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  max-width: 34ch;
}
.comeback-sub, .comeback-note {
  margin: 0 0 14px;
  color: var(--ink-secondary);
  font-size: 0.96rem;
  max-width: 62ch;
}
.comeback-emaillabel {
  margin: 22px 0 12px;
  font-size: 0.94rem;
  font-weight: var(--weight-semibold);
  max-width: 62ch;
}
a.btn-primary.comeback-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 4px 0 0;
}
.comeback .gateform input { box-shadow: none; }
.comeback #comeback-retry { margin-top: 18px; }

/* ---- result: score band (the signature) ----------------------------------- */
.result { margin-top: 40px; }

.scoreband {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  box-shadow: var(--shadow-card);
}
.scoreband::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0.95;
}
.scoreband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 135% at 14% 28%,
    rgba(var(--scrim), 0.82) 0%, rgba(var(--scrim), 0.42) 40%, rgba(var(--scrim), 0) 72%);
}
.scoreband > * { position: relative; z-index: 1; }

.band-eyebrow {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}
.band-word {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 6px;
  font-family: var(--font-mono);
}
.score .num { font-size: clamp(3.6rem, 9vw, 5.6rem); font-weight: var(--weight-bold); letter-spacing: -0.05em; line-height: 0.9; }
.score .den { font-size: 1.5rem; font-weight: var(--weight-regular); color: rgba(255, 255, 255, 0.7); }
.counts {
  margin-top: 18px;
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.86);
}
.counts b { font-weight: var(--weight-bold); }

.sb-right { align-self: center; display: flex; flex-direction: column; gap: 11px; }
.catrow { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 11px; }
.catname { font-size: var(--text-md); color: rgba(255, 255, 255, 0.92); }
.catscore { font-family: var(--font-mono); font-size: var(--text-sm); color: rgba(255, 255, 255, 0.7); }
.dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
.dot-green { background: var(--rag-green-on-deep); }
.dot-amber { background: var(--amber); }
.dot-red { background: var(--rag-red-on-deep); }
.dot-na { background: rgba(255, 255, 255, 0.4); }

.validated {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.04em;
  color: var(--amber);
}
.validated::before { content: "◆"; font-size: 10px; }

/* ---- free-tier scoreband: big counts + the one most critical problem ------ */
.sb-free { align-self: end; gap: 18px; }
.bigcounts { display: flex; gap: 36px; }
.bignum { font-family: var(--font-mono); font-size: 64px; font-weight: var(--weight-bold); letter-spacing: -0.04em; line-height: 1; }
.bigcount-muted .bignum { color: rgba(255, 255, 255, 0.72); }
.biglabel { margin-top: 6px; font-size: var(--text-md); color: rgba(255, 255, 255, 0.9); }
.topproblem { border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 14px; }
.topproblem-eyebrow { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.topproblem-title { margin-top: 6px; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: #fff; }
.topproblem-impact { margin-top: 6px; font-size: var(--text-sm); line-height: 1.45; color: rgba(255, 255, 255, 0.8); }

/* the five area marks: a full-width strip along the bottom of the score band */
.areas { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 22px; }
.areas-eyebrow { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.area { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 14px 14px 12px; }
.area-head { display: flex; align-items: center; gap: 8px; }
.area-head .dot { width: 10px; height: 10px; flex: none; }
.area-name { font-size: 13.5px; color: rgba(255, 255, 255, 0.92); }
.area-score { margin-top: 10px; font-family: var(--font-mono); font-size: 30px; font-weight: var(--weight-bold); letter-spacing: -0.03em; line-height: 1; }
.area-score small { font-size: var(--text-xs); font-weight: var(--weight-regular); color: rgba(255, 255, 255, 0.6); }
.area-bar { margin-top: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.area-bar i { display: block; height: 100%; border-radius: 4px; }
.area-bar-green { background: var(--rag-green-on-deep); }
.area-bar-amber { background: var(--amber); }
.area-bar-red { background: var(--rag-red-on-deep); }
.area-na .area-score { font-size: var(--text-base); font-weight: var(--weight-regular); color: rgba(255, 255, 255, 0.7); padding: 8px 0 7px; }
.area-note { margin-top: 8px; font-size: 11.5px; line-height: 1.35; color: rgba(255, 255, 255, 0.7); }

/* ---- coverage line -------------------------------------------------------- */
.coverage {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  margin: 18px 2px 0;
  max-width: 70ch;
}

/* ---- email gate ----------------------------------------------------------- */
.gate {
  margin-top: 36px;
  border: 1px dashed var(--border-vivid);
  border-radius: 20px;
  padding: 26px 28px;
  background: var(--primary-soft);
}
.gate h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: var(--weight-bold); letter-spacing: -0.01em; }
.gate p { margin: 0 0 18px; color: var(--ink-secondary); font-size: 0.96rem; max-width: 60ch; }
.gateform { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
/* the gate sits on a tinted panel, so the inputs lose the blue glow shadow */
.gateform input { box-shadow: none; }
.gate .gate-privacy { margin: 14px 0 0; font-size: 0.82rem; color: var(--ink-muted); }
.gate-privacy a { color: var(--primary); }

/* ---- full report ---------------------------------------------------------- */
.full { margin-top: 36px; }
.full-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.full-title { margin: 0; font-size: 1.2rem; font-weight: var(--weight-bold); letter-spacing: -0.02em; }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 12px 14px 12px 22px;
  font-weight: var(--weight-semibold);
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease;
}
.btn-download:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-download:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.btn-download .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--text-base);
}
.full-frame {
  width: 100%;
  height: 1400px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

/* ---- footer --------------------------------------------------------------- */
.page-foot {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.vh {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.vh::before { content: "◆"; color: var(--amber); font-size: 10px; }
.foot-by { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted); }
.page-foot button {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 680px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .area:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .page { padding: 24px 18px 48px; }
  .masthead { flex-direction: column; align-items: flex-start; gap: 10px; }
  .scoreband { grid-template-columns: 1fr; gap: 26px; padding: 28px; }
  .scanform input, .gateform input, .btn-primary { height: 52px; }
  .btn-primary { width: 100%; }
  .full-frame { height: 1100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spinner { border-top-color: var(--primary); }
}

/* live scan progress bar */
.progress-bar {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 4%;
  border-radius: 999px;
  background: var(--grad-cool);
  transition: width 0.4s var(--ease-out-expo, ease);
}
@media (prefers-reduced-motion: reduce) {
  .progress-fill { transition: none; }
}

#cc-main {
  --cc-font-family: var(--font-display);
  --cc-bg: var(--surface);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--ink-secondary);
  --cc-btn-primary-bg: var(--primary);
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-hover-bg: var(--primary-hover);
  --cc-btn-primary-hover-color: #ffffff;
  --cc-btn-secondary-bg: var(--bg);
  --cc-btn-secondary-color: var(--ink);
  --cc-btn-secondary-hover-bg: var(--primary-soft);
  --cc-btn-secondary-hover-color: var(--ink);
  --cc-separator-border-color: var(--border);
  --cc-toggle-on-bg: var(--primary);
  --cc-toggle-off-bg: var(--ink-muted);
  --cc-modal-border-radius: 1rem;
  --cc-btn-border-radius: 999px;
  --cc-link-color: var(--primary);
  --cc-overlay-bg: rgba(var(--scrim), 0.58);
}

#cc-main .cm,
#cc-main .pm {
  border-top: 3px solid var(--primary);
}

/* ---- whose site is this? ------------------------------------------------- */
.audience { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 80px 16px; }
.audience[hidden] { display: none; }
.audience-card { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 24px; }
.audience-site { font: var(--weight-bold) var(--text-xs)/1 var(--font-mono); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--primary); overflow-wrap: anywhere; }
.audience-title { margin: 10px 0 6px; font-size: var(--text-4xl); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-tight); line-height: 1.1; outline: none; }
.audience-sub { margin: 0; color: var(--ink-secondary); }
.audience-opts { display: flex; flex-direction: column; gap: 12px; }
.audience-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font: var(--weight-semibold) var(--text-xl) var(--font-display); color: var(--ink); cursor: pointer; text-align: left; }
.audience-opt:hover { background: var(--primary-soft); }
.audience-opt small { font: var(--weight-regular) var(--text-sm) var(--font-mono); color: var(--ink-muted); }
.audience-skip { align-self: center; font-family: var(--font-display); font-size: var(--text-md); color: var(--ink-muted); background: none; border: 0; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* ---- the scanning screen ------------------------------------------------- */
/* Dark, full screen, over the page while a scan runs. Brand deep field only. */
body.is-scanning { overflow: hidden; }
.scanscreen { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--deep); color: var(--on-deep); display: flex; flex-direction: column; }
.scanscreen[hidden] { display: none; }
.scan-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.scan-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.scan-brand { display: flex; align-items: center; gap: 10px; }
.scan-brand img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.scan-brand span { font-weight: var(--weight-heavy); font-size: var(--text-lg); }
.scan-site { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--on-deep-muted); overflow-wrap: anywhere; }
.scan-body { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 60px; align-items: stretch; flex: 1; }
.scan-side { flex: 0 1 412px; min-width: 0; }
.stages { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.stage { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; opacity: .5; }
.stage.is-done, .stage.is-now { opacity: 1; }
.stage.is-now { background: var(--deep-raised); border-color: var(--deep-line); }
.stage-mark { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: var(--weight-bold) var(--text-sm) var(--font-mono); border: 1px solid var(--deep-line); color: var(--on-deep-muted); }
.is-done .stage-mark { background: var(--primary); border-color: var(--primary); color: #fff; }
.is-now .stage-mark { border: 2px solid var(--on-deep-accent); color: var(--on-deep-accent); }
.stage-label { display: block; font-weight: var(--weight-bold); font-size: var(--text-lg); }
.stage-sub { display: block; font-size: var(--text-sm); color: var(--on-deep-muted); }
.scan-bar { margin-top: 22px; height: 4px; border-radius: 2px; background: var(--deep-line); overflow: hidden; }
.scan-bar .progress-fill { display: block; height: 100%; width: 4%; border-radius: 2px; background: var(--grad-bar); }
.scan-hint { margin: 10px 0 0; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--on-deep-muted); }
.scan-panel { flex: 999 1 520px; min-width: 0; border: 1px solid var(--deep-line); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; gap: 28px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(83, 30, 198, 0.28), transparent 60%); }
.scan-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.scan-count b { display: block; font-family: var(--font-mono); font-size: var(--text-5xl); font-weight: var(--weight-bold); line-height: 1; }
.scan-count span { font-size: var(--text-sm); color: var(--on-deep-muted); }
.scan-now { display: flex; flex-direction: column; gap: 10px; }
.scan-eyebrow { font: var(--weight-bold) var(--text-xs)/1 var(--font-mono); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--on-deep-accent); }
.scanscreen .status-line { margin: 0; font-size: var(--text-2xl); font-weight: var(--weight-regular); letter-spacing: 0; animation: scan-pulse 1.2s ease-in-out infinite; }
.scanscreen .status-sub { margin: 0; font-size: var(--text-md); color: var(--on-deep-muted); }
.scanscreen .status-sub:empty { display: none; }
@keyframes scan-pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.scan-paths { margin: 0; padding: 0; list-style: none; }
.scan-paths li { font-family: var(--font-mono); font-size: var(--text-base); padding: 6px 0; border-bottom: 1px solid var(--deep-line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-paths li:first-child { color: var(--grad-amber); }
.scan-second { margin: 0; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--grad-amber); border-top: 1px solid var(--deep-line); padding-top: 16px; }
@media (max-width: 640px) {
  .audience-card { padding: 24px; }
  .audience-title { font-size: var(--text-3xl); }
  .scan-body { gap: 24px; }
  .scan-side { max-width: none; }
  .scan-panel { padding: 22px; }
  .scan-count b { font-size: var(--text-4xl); }
}
@media (prefers-reduced-motion: reduce) {
  .scanscreen .status-line { animation: none; }
}

/* ---- scanning screen: activity between progress updates ------------------ */
.scan-panel { position: relative; overflow: hidden; }
.scan-ping { display: none; position: absolute; top: 28px; right: 28px; width: 72px; height: 72px; pointer-events: none; }
.act-motion .scan-ping { display: block; }
.scan-ping i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--on-deep-accent); opacity: 0; animation: scan-ping 2.4s var(--ease-out-expo) infinite; }
.scan-ping i:nth-child(2) { animation-delay: .8s; }
.scan-ping i:nth-child(3) { animation-delay: 1.6s; }
@keyframes scan-ping { 0% { transform: scale(.15); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.act-motion .scan-bar .progress-fill { position: relative; transition: width .6s var(--ease-out-expo); }
.act-motion .scan-bar .progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: scan-shimmer 1.4s linear infinite; }
@keyframes scan-shimmer { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.act-motion .scan-paths li:first-child { animation: scan-in .4s var(--ease-out-expo); }
@keyframes scan-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.scan-checking { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--on-deep-muted); }
.scan-checking[hidden] { display: none; }
.scan-checking b { color: var(--on-deep); font-weight: var(--weight-bold); }
.scan-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-amber); animation: scan-pulse 1s ease-in-out infinite; }

/* ---- phase 4: end screens and the slow-scan screen (body.ui-v2) ---------- */
/* Behind the new-gate switch: nothing below applies until /sonar/config says
   new_gate (or the page is opened with ?gate=new). */

/* End screens in one card style */
.end-pill { white-space: nowrap; display: inline-flex; align-self: flex-start; align-items: center; font: var(--weight-bold) var(--text-2xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary); }
.end-pill.warn { background: var(--warn-soft); color: var(--warn-ink); }
.ui-v2 .errorbox-card, .ui-v2 .comeback-card, .slow-card {
  max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-style: solid;
  border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.ui-v2 .errorbox-title, .ui-v2 .comeback-title, .slow-card .errorbox-title { margin: 0; font-size: var(--text-4xl); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-tight); line-height: 1.1; max-width: none; }
.ui-v2 .errorbox-sub, .ui-v2 .comeback-sub, .ui-v2 .comeback-note, .slow-card .errorbox-sub { margin: 0; color: var(--ink-secondary); font-size: var(--text-lg); line-height: 1.55; max-width: none; }
.ui-v2 #error-note, .ui-v2 .comeback-note { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg); font-size: var(--text-base); }
.ui-v2 .comeback-emaillabel { margin: 8px 0 0; }
.ui-v2 .errorbox-card .btn-ghost, .ui-v2 .comeback-card .btn-ghost, .slow-card .btn-ghost { margin: 0; }
.ui-v2 .errorbox-card .gateform, .ui-v2 .comeback-card .gateform, .slow-card .gateform { width: 100%; }
.slow { margin-top: 36px; }
.slow-bar { width: 100%; height: 4px; border-radius: 2px; background: var(--primary-soft); overflow: hidden; }
.slow-bar i { display: block; height: 100%; width: 40%; background: var(--grad-bar); animation: slow-slide 1.8s ease-in-out infinite alternate; }
@keyframes slow-slide { from { transform: translateX(-10%); } to { transform: translateX(160%); } }
.slow-card .gate-privacy, .ui-v2 .comeback-card .gate-privacy { margin: 0; font-size: var(--text-xs); color: var(--ink-muted); }
.slow-card .gate-privacy a, .ui-v2 .comeback-card .gate-privacy a { color: var(--ink-muted); }

@media (max-width: 640px) {
  .ui-v2 .errorbox-card, .ui-v2 .comeback-card, .slow-card { padding: 24px; }
  .ui-v2 .errorbox-title, .ui-v2 .comeback-title, .slow-card .errorbox-title { font-size: var(--text-3xl); }
}
.ui-v2 .errorbox-card, .ui-v2 .comeback-card, .slow-card { flex-direction: row; flex-wrap: wrap; align-items: center; }
.ui-v2 .errorbox-card > :not(.btn-ghost):not(.btn-primary),
.ui-v2 .comeback-card > :not(.btn-ghost):not(.btn-primary),
.slow-card > :not(.btn-ghost):not(.btn-primary) { flex-basis: 100%; }
.ui-v2 .errorbox-card > .end-pill, .ui-v2 .comeback-card > .end-pill, .slow-card > .end-pill { flex-basis: auto; margin-right: 100%; }

/* "Run it for me" email box and the grey pill (end screens, phase 8) */
.end-pill.muted { background: var(--bg); color: var(--ink-secondary); }
.end-ask[hidden] { display: none; }
.end-ask { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.end-ask .comeback-emaillabel { margin: 8px 0 0; color: var(--ink); font-weight: var(--weight-semibold); }
.end-ask .gate-privacy { margin: 0; font-size: var(--text-xs); color: var(--ink-muted); }
.end-ask .gate-privacy a { color: var(--ink-muted); }
.end-ask-done { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ok-soft); color: var(--ok-ink); font-size: var(--text-base); }
.end-ask-done[hidden] { display: none; }

/* ---- "Have Dolphin fix it" beside the unlock (one email, two choices) ---- */
.btn-fix {
  min-height: 52px; padding: 0 22px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-vivid); background: var(--surface); color: var(--ink);
  font: var(--weight-semibold) var(--text-lg) var(--font-display); cursor: pointer; white-space: nowrap;
}
.btn-fix:hover { background: var(--primary-soft); }
.btn-fix:disabled { opacity: 0.6; cursor: progress; }
.fix-sent { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ok-soft); color: var(--ok-ink); font-weight: var(--weight-semibold); }
@media (max-width: 640px) { .gateform .btn-fix { width: 100%; } }

/* ---- app home (phase 7) --------------------------------------------------- */
.masthead-links { display: flex; gap: 22px; font-size: var(--text-md); }
.masthead-links a { color: var(--ink-secondary); text-decoration: none; }
.masthead-links a:hover { color: var(--primary); }
.hero-meta { margin: 0 0 22px; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--ink-muted); }
.hero-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { font: var(--weight-bold) var(--text-2xs)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary); }
.home-cards { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.home-cards[hidden] { display: none; }
.home-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.home-card h2 { margin: 0; font-size: var(--text-xl); font-weight: var(--weight-bold); }
.home-card p { margin: 0; color: var(--ink-secondary); font-size: var(--text-base); }
.home-card-example { background: radial-gradient(120% 140% at 12% 20%, rgba(var(--scrim), 0.82) 0%, rgba(var(--scrim), 0.42) 45%, rgba(var(--scrim), 0) 80%), var(--grad); border: 0; color: #fff; }
.home-card-example p { color: var(--on-deep-secondary); }
.home-pill { align-self: flex-start; font: var(--weight-bold) var(--text-2xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); color: var(--on-deep); }
.home-score { margin: 4px 0 0 !important; font-family: var(--font-mono); color: var(--on-deep) !important; }
.home-score b { font-size: var(--text-5xl); line-height: 1; }
.home-score span { font-size: var(--text-xl); color: var(--on-deep-muted); }

/* ---- app home: the example report beside the hero ------------------------ */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-example {
  border-radius: var(--radius-card); padding: 24px; color: #fff;
  background: radial-gradient(120% 140% at 12% 20%, rgba(var(--scrim), 0.82) 0%, rgba(var(--scrim), 0.42) 45%, rgba(var(--scrim), 0) 80%), var(--grad);
  box-shadow: var(--shadow-card);
}
.hero-example[hidden] { display: none; }
.hx-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.hx-site { font-family: var(--font-mono); font-size: var(--text-2xs); color: rgba(255, 255, 255, 0.72); }
.hx-score { margin: 14px 0 0; display: flex; align-items: baseline; gap: 8px; font-family: var(--font-mono); }
.hx-score b { font-size: var(--text-5xl); line-height: 1; }
.hx-score span { font-size: var(--text-lg); color: rgba(255, 255, 255, 0.72); }
.hx-score em { font-style: normal; margin-left: 4px; font-size: var(--text-2xs); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.15); }
.hx-areas { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.hx-areas li { display: grid; grid-template-columns: 92px 1fr 28px; gap: 10px; align-items: center; font-size: var(--text-sm); }
.hx-areas i { --w: 0%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); position: relative; overflow: hidden; }
.hx-areas i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #fff; border-radius: 3px; }
.hx-areas b { font-family: var(--font-mono); font-size: var(--text-xs); text-align: right; }
.hx-crit { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.hx-crit span { font: var(--weight-bold) var(--text-2xs)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.hx-crit strong { display: block; margin-top: 6px; }
.hx-crit p { margin: 4px 0 0; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.8); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---- fix guide page (phase 6) --------------------------------------------- */
.guide, .guide-missing { max-width: 720px; margin: 24px 0 64px; display: flex; flex-direction: column; gap: 16px; }
.guide[hidden], .guide-missing[hidden] { display: none; }
.guide-status { max-width: 720px; margin: 24px 0; color: var(--ink-secondary); }
.guide-status[hidden] { display: none; }
.guide-back { color: var(--ink-secondary); text-decoration: none; font-size: var(--text-md); }
.guide-back:hover { color: var(--primary); }
.guide-pill { align-self: flex-start; font: var(--weight-bold) var(--text-2xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary); }
.guide-title { margin: 0; font-size: var(--text-4xl); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-tight); line-height: 1.12; }
.guide-impact { margin: 0; font-size: var(--text-lg); color: var(--ink-secondary); }
.guide .cost { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bad-soft); }
.guide .cost-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.guide .cost-head > span:last-child { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.guide .cost-eyebrow { font: var(--weight-bold) var(--text-2xs)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bad-ink); }
.guide .cost-tag { font: var(--weight-bold) var(--text-2xs)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--radius-pill); background: var(--surface); color: var(--bad-ink); }
.guide .cost p { margin: 0; }
.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.guide-card h2 { margin: 0; font-size: var(--text-xl); }
.guide-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.guide-steps[hidden], .guide-post[hidden] { display: none; }
.guide-empty { margin: 0; color: var(--ink-secondary); }
.guide-post { align-self: flex-start; color: var(--primary); font-weight: var(--weight-semibold); }
.guide-next p { margin: 0; font-weight: var(--weight-semibold); }
.guide-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.masthead a.brand { text-decoration: none; color: inherit; }

/* ---- quick-then-deep (OLA-113) ------------------------------------------- */
.phase-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 14px; }
.phase-pill { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.phase-pill.is-full { background: var(--ok-soft); color: var(--ok-ink); }
.phase-site { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.still { margin-top: 22px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-soft); }
.still h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: var(--weight-bold); }
.still p { margin: 0 0 16px; color: var(--ink-secondary); font-size: 0.95rem; }
.still-bar { height: 6px; border-radius: 999px; background: var(--primary-soft); overflow: hidden; }
.still-bar i { display: block; height: 100%; width: 4%; background: var(--grad-bar); border-radius: 999px; transition: width .6s var(--ease-out-expo); }
.what-changed { margin: 20px 0 0; padding: 16px 20px; border-radius: 16px; background: var(--warn-soft); color: var(--warn-ink); font-size: 0.95rem; line-height: 1.5; }
.what-changed b { font-weight: var(--weight-bold); }
.full-note { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: var(--primary-soft); color: var(--ink-secondary); font-size: 0.92rem; }
.key-pages { margin-top: 18px; }
.key-pages-eyebrow { margin: 0 0 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-deep-accent); }
.key-pages-list { margin: 0; padding: 0; list-style: none; }
.key-pages-list li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--deep-line); color: var(--on-deep-muted); font-size: var(--text-base); }
.key-pages-list li .kp-mark { width: 22px; flex: none; font-family: var(--font-mono); color: var(--on-deep-muted); }
.key-pages-list li .kp-type { flex: none; color: var(--on-deep); }
.key-pages-list li .kp-path { margin-left: auto; font-family: var(--font-mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.key-pages-list li.is-done .kp-mark { color: var(--rag-green-on-deep); }
.key-pages-list li.is-now .kp-type, .key-pages-list li.is-now .kp-mark { color: var(--grad-amber); }
.scanscreen.has-key-pages .scan-paths { display: none; }
