/* LeakGuard theme v2 for the public site.
   Load AFTER site.css: <link rel="stylesheet" href="theme.css">. It redefines site.css's colour tokens and
   restyles its components, and adds styles for the new nav, hero, steps, catch list, band and footer markup.
   Idea: LeakGuard is a highlighter and a redaction marker. It marks what it finds, then blacks it out.
   Yellow marks = found. Solid bars = masked. Everything else stays quiet, precise and well ruled. */

/* ---------- tokens ----------
   Light is the default for everyone. Dark only when the visitor picks it (data-theme="dark").
   The :not() selector also overrides the old site.css/dashboard.css system-dark rule. */
:root, :root:not([data-theme="dark"]) {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --sunken: #efefeb;
  --fg: #15171c;
  --muted: #565c66;
  --line: #dcded8;
  --line-strong: #b8bbb3;
  --soft: #efefeb;
  --ink: #15171c;          /* primary action: marker black */
  --ink-fg: #ffffff;
  --ink-soft: #e8e9e4;
  --mark: #fce24a;         /* highlighter: something was found */
  --mark-fg: #15171c;
  --bar: #15171c;          /* redaction bar: something was masked */
  --focus: #2f5bea;
  --shield: #c0262d;
  --ok: #1b6b3e;
  --ok-soft: #e3f1e8;
  --leak: #b3221f;
  --leak-soft: #fbe9e7;
  --amber: #875100;
  --amber-soft: #fbefd5;
  --grey: #4a5059;
  --grey-soft: #ebece8;
  --shadow: none;
  --radius: 6px;
  --radius-lg: 10px;
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111318; --panel: #181b21; --sunken: #0c0e12; --fg: #eceef1; --muted: #a0a6b0;
  --line: #2a2e36; --line-strong: #434852; --soft: #1f232a;
  --ink: #eceef1; --ink-fg: #111318; --ink-soft: #23272f;
  --mark: #e6cf47; --mark-fg: #111318; --bar: #eceef1; --focus: #8eaaff;
  --ok: #62c98c; --ok-soft: #13301f; --leak: #ff7b72; --leak-soft: #3b1716;
  --amber: #efc36a; --amber-soft: #33270c; --grey: #c3c8d0; --grey-soft: #242830;
  color-scheme: dark;
}
:root { accent-color: var(--ink); scrollbar-color: var(--line-strong) var(--bg); }

/* ---------- base ---------- */
body { font: 16px/1.6 var(--font-body); font-stretch: 100%; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.12; }
h3 { font-stretch: 100%; letter-spacing: -0.01em; font-weight: 650; }
a { color: var(--fg); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--mark); color: var(--mark-fg); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px;
}
.wrap { max-width: 1120px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
a.skip { border: 1px solid var(--line); border-radius: var(--radius); }
.eyebrow { display: none; } /* the old ALL-CAPS labels above headings are retired */
code, .mono { font-size: .88em; }

/* ---------- nav ---------- */
.nav { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { flex-wrap: nowrap; gap: 28px; min-height: 60px; padding-top: 0; padding-bottom: 0; }
.logo { font-family: var(--font-display); font-weight: 750; font-stretch: 112%; font-size: 18px; letter-spacing: -0.02em; gap: 10px; }
.logo svg { width: 24px; height: 24px; }
.beta { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 5px; line-height: 18px; margin-left: 4px; }
.nav ul.nav-links { display: flex; gap: 2px; flex: 1 1 auto; flex-wrap: nowrap; }
.nav ul.nav-links a { display: block; padding: 6px 10px; border-radius: var(--radius); font-size: 15px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav ul.nav-links a:hover { color: var(--fg); background: var(--soft); }
.nav ul.nav-links a[aria-current="page"] { color: var(--fg); font-weight: 600; box-shadow: none; background: var(--soft); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.nav .nav-end a.quiet { font-size: 15px; color: var(--fg); text-decoration: none; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); white-space: nowrap; }
.nav .nav-end a.quiet:hover { border-color: var(--fg); }

/* theme switch: shows the scheme you would switch to */
.theme-toggle { display: none; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--fg); cursor: pointer; padding: 0; }
.js-theme .theme-toggle { display: inline-grid; }
.theme-toggle:hover { background: var(--soft); border-color: var(--line-strong); }
.theme-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.theme-toggle .to-light { display: none; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: inline; }

/* small screens: links fold into a Menu */
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-weight: 600; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 16px; height: 16px; }
.nav-menu[open] summary { background: var(--soft); }
.nav-menu ul { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 40px)); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px; display: grid; gap: 0; box-shadow: 0 12px 32px rgb(0 0 0 / .14); z-index: 20; }
.nav-menu li + li.sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav .nav-menu a { display: block; padding: 10px 12px; border-radius: var(--radius); color: var(--fg); text-decoration: none; font-size: 16px; }
.nav .nav-menu a:hover, .nav .nav-menu a[aria-current="page"] { box-shadow: none; background: var(--soft); }
.nav .nav-menu a[aria-current="page"] { font-weight: 600; }
@media (max-width: 1020px) {
  .nav ul.nav-links, .nav .nav-end a.quiet { display: none; }
  .nav-menu { display: block; }
}

/* ---------- buttons ---------- */
.btn { border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--panel); font-weight: 600; font-size: 15px; padding: 10px 16px; letter-spacing: 0; }
.btn:hover { border-color: var(--fg); }
.btn.primary { background: var(--ink); color: var(--ink-fg); border-color: var(--ink); }
.btn.primary:hover { filter: none; background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.btn.big { padding: 13px 22px; font-size: 16px; border-radius: var(--radius); }
.btn.small { padding: 5px 10px; font-size: 14px; border-radius: 5px; }
.btn:active { transform: translateY(1px); }
.btns { gap: 10px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 3.6vw, 38px); max-width: 22ch; }
.section .lead { font-size: 18px; max-width: 58ch; margin-top: 14px; }
.sechead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px; align-items: end; }
.sechead .lead { margin-top: 0; }
@media (max-width: 820px) { .sechead { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

/* ---------- hero ---------- */
.hero { padding: 80px 0 96px; border-bottom: 1px solid var(--line); }
.hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; font-stretch: 116%; letter-spacing: -0.035em; line-height: 1.02; max-width: 14ch; }
.hero .sub { font-size: 19px; line-height: 1.55; margin-top: 24px; max-width: 46ch; }
.hero .btns { margin-top: 32px; }
.hero .small { margin-top: 16px; font-size: 14px; }
@media (max-width: 900px) { .hero { padding: 48px 0 64px; } .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }

/* product moment: a paste being caught */
.demo { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-width: 0; box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgb(16 18 24 / .18); }
.demo .addr { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--sunken); font-size: 13px; color: var(--muted); }
.demo .addr svg { width: 14px; height: 14px; flex: none; }
.demo .addr .site { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.demo .addr .ext { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.demo .addr .ext svg { width: 16px; height: 16px; }
.demo .compose { padding: 22px 20px 18px; display: grid; gap: 10px; }
.demo .ask { font-size: 15px; color: var(--muted); }
.demo .paste { font-family: var(--font-mono); font-size: 14px; line-height: 1.9; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; overflow-wrap: anywhere; }
.demo .paste .k { color: var(--muted); }
.key { position: relative; display: inline-block; white-space: nowrap; padding: 0 2px; }
.key .hl { position: absolute; inset: 1px -1px; background: var(--mark); border-radius: 2px; z-index: 0; transform-origin: left center; }
.key .txt { position: relative; z-index: 1; color: var(--mark-fg); }
.key .bar { position: relative; z-index: 1; display: inline-block; width: 12ch; height: 1.05em; vertical-align: -0.16em; background: var(--bar); border-radius: 2px; transform-origin: left center; }
.catch { margin: 0 20px 20px; border: 1px solid color-mix(in srgb, var(--leak) 45%, var(--line)); border-left: 3px solid var(--leak); border-radius: var(--radius); background: var(--leak-soft); padding: 14px 16px; display: grid; gap: 8px; }
.catch .t { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--leak); font-size: 15px; }
.catch .t svg { width: 16px; height: 16px; flex: none; }
.catch .t code { color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; font-size: 13px; }
.catch p { font-size: 14px; color: var(--fg); }
.catch .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.catch .acts span { font-size: 13.5px; font-weight: 600; border-radius: 5px; padding: 6px 12px; border: 1px solid var(--line-strong); background: var(--panel); }
.catch .acts .stop { background: var(--leak); border-color: var(--leak); color: #fff; }
:root[data-theme="dark"] .catch .acts .stop { color: #1a0b0a; }
.demo figcaption { border-top: 1px solid var(--line); padding: 10px 16px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.demo figcaption i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }

/* the one moment of motion: highlight, black out, then warn */
@media (prefers-reduced-motion: no-preference) {
  .demo .key .hl { animation: lg-mark .5s .5s cubic-bezier(.3,.7,.2,1) both; }
  .demo .key .bar { animation: lg-redact .45s 1.25s cubic-bezier(.5,0,.2,1) both; }
  .demo .catch { animation: lg-warn .35s 1.85s ease-out both; }
  .demo figcaption { animation: lg-warn .3s 2.3s ease-out both; }
}
@keyframes lg-mark { from { transform: scaleX(0); } }
@keyframes lg-redact { from { transform: scaleX(0); } }
@keyframes lg-warn { from { opacity: 0; transform: translateY(4px); } }

/* ---------- how it works: a real sequence ---------- */
.flow { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: flow; border-top: 1px solid var(--line-strong); }
.flow li { counter-increment: flow; padding: 28px 28px 0 0; position: relative; min-width: 0; }
.flow li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.flow li::before { content: counter(flow); font-family: var(--font-display); font-weight: 800; font-stretch: 116%; font-size: 15px; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--fg); border-radius: 50%; }
.flow h3 { font-size: 19px; margin-top: 18px; }
.flow p { color: var(--muted); margin-top: 8px; font-size: 15.5px; max-width: 36ch; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; border-top: 0; }
  .flow li, .flow li + li { padding: 0 0 28px 48px; border-left: 0; }
  .flow li::before { position: absolute; left: 0; top: 0; }
  .flow li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 8px; border-left: 1px solid var(--line-strong); }
  .flow h3 { margin-top: 3px; }
}

/* ---------- what it catches: a spec sheet ---------- */
.spec { margin-top: 44px; border-top: 1px solid var(--line-strong); }
.spec > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 650; font-size: 16px; }
.spec dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec dd span { font-size: 15px; border: 1px solid var(--line); background: var(--panel); border-radius: 4px; padding: 3px 10px; }
@media (max-width: 640px) { .spec > div { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--line-strong); }
.why .card { background: none; border: 0; border-radius: 0; padding: 24px 24px 0 0; }
.why .card + .card { padding-left: 24px; border-left: 1px solid var(--line); }
.why .card h3 { font-size: 17px; margin: 0; }
.why .card p { font-size: 15px; margin-top: 8px; }
@media (max-width: 900px) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why .card, .why .card + .card { padding: 24px 24px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .why .card:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .why { grid-template-columns: 1fr; }
  .why .card:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- closing band ---------- */
.band { background: var(--ink); color: var(--ink-fg); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.band h2 { font-size: clamp(26px, 3.6vw, 38px); color: inherit; }
.band p { margin-top: 8px; color: color-mix(in srgb, var(--ink-fg) 72%, var(--ink)); }
.band .btn { background: var(--ink-fg); color: var(--ink); border-color: var(--ink-fg); }
.band .btn:hover { background: color-mix(in srgb, var(--ink-fg) 88%, var(--ink)); }
.band a:focus-visible { outline-color: var(--ink-fg); }
.section.band + .section, .band { border-top: 0; }
/* old .cta block, if a page still has it */
.cta { background: var(--ink); color: var(--ink-fg); border-radius: var(--radius-lg); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 0; padding: 56px 0 32px; background: var(--bg); color: var(--muted); font-size: 14.5px; }
.foot .wrap { display: block; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 34ch; }
.foot h2 { font-family: var(--font-body); font-stretch: 100%; font-size: 14px; font-weight: 650; letter-spacing: 0; color: var(--fg); }
.foot ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot .logo { color: var(--fg); }
.foot a:hover { color: var(--fg); text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.pagehead { padding: 64px 0 8px; }
.pagehead h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; font-stretch: 114%; letter-spacing: -0.03em; max-width: 18ch; }
.pagehead p { font-size: 18px; margin-top: 16px; max-width: 60ch; }
.narrow { max-width: 820px; }
.card, .dlbox, .scanform, .busy, .find, .fix, .grade, .wpbox, .xbox, details.files, .plan, .legend li, .steps > li { border-radius: var(--radius-lg); box-shadow: none; }
.steps > li::before, .num { background: transparent; border: 1.5px solid var(--fg); color: var(--fg); font-weight: 800; font-stretch: 116%; }
.kbd { border-radius: 4px; }
.testkey code, .copyrow code { border-radius: var(--radius); }

/* scan form */
.scanform { padding: 28px; gap: 18px; margin-top: 36px; border-color: var(--line); }
.field label { font-size: 15px; font-weight: 650; }
.field input[type="url"], .field input[type="email"], .field input[type="text"] { padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); font-family: var(--font-mono); font-size: 15px; }
.field input:focus { border-color: var(--fg); }
.field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.field input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.scanbar { display: flex; gap: 10px; }
.scanbar input { flex: 1 1 auto; }
.scanbar .btn { flex: none; padding-block: 0; min-height: 46px; }
@media (max-width: 520px) { .scanbar { flex-direction: column; } .scanbar .btn { width: 100%; } }
.check { font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 3px; }
.note { font-size: 14px; }

/* the report area before any scan */
.scan-empty { margin-top: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 32px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.results:not(:empty) + .scan-empty { display: none; }
.scan-empty .slot { width: 56px; height: 56px; border-radius: var(--radius-lg); border: 1.5px dashed var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-stretch: 116%; font-size: 22px; color: var(--muted); }
.scan-empty h2 { font-size: 19px; font-stretch: 100%; }
.scan-empty p { color: var(--muted); margin-top: 6px; font-size: 15px; max-width: 56ch; }
.scan-empty ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.scan-empty li { display: flex; gap: 10px; align-items: baseline; }
.scan-empty li::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--line-strong); flex: none; transform: translateY(-4px); }
@media (max-width: 520px) { .scan-empty { grid-template-columns: 1fr; padding: 24px 20px; } }

/* what the colours mean */
.legend { gap: 0; border-top: 1px solid var(--line-strong); margin-top: 20px; }
.legend li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0; gap: 16px; }
.dot { width: 22px; height: 6px; border-radius: 2px; margin-top: 10px; }
.dot.amber { background: #d99a00; }

/* results keep their classes; only shape and colour change */
.verdict { border-radius: var(--radius-lg); border-width: 1px; }
.find { border-left-width: 3px; }
.find .val { border-radius: 4px; background: var(--sunken); }
.grade .letter { border-radius: var(--radius-lg); font-weight: 800; font-stretch: 116%; }
.tag, .sev { border-radius: 4px; }
.errbox { border-radius: var(--radius-lg); }

/* pricing / waitlist and policy pages */
.plan.pro { border-color: var(--fg); }
.plan .tag { border-radius: 4px; letter-spacing: 0; }
.plan .price b { font-weight: 800; font-stretch: 112%; }
.legal h2 { font-stretch: 100%; }

/* ---------- live scan checklist ----------
   Each check: waiting (empty ring), running (spinning ring, label highlighted like a marker),
   done (green tick), found something (red mark), not checked (dashed ring), failed (amber mark). */
.live { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px clamp(14px, 3vw, 22px); }
.live-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 10px; }
.live-head h3 { margin: 0; font-size: 17px; min-width: 0; overflow-wrap: anywhere; }
.live-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-bar { height: 4px; background: var(--sunken); border-radius: 2px; overflow: hidden; margin: 0 0 6px; }
.live-bar > span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s ease; }
.live-now { margin: 0 0 8px; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.live h4 { margin: 18px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; }
.ck { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ck:last-child { border-bottom: 0; }
.ck .lb { justify-self: start; min-width: 0; color: var(--fg); overflow-wrap: anywhere; }
.ck .dt { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.ck .ic { position: relative; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); box-sizing: border-box; }
.ck.wait .lb { color: var(--muted); }
.ck.run .lb { font-weight: 650; background: linear-gradient(transparent 58%, var(--mark) 58%); padding: 0 2px; margin: 0 -2px; }
.ck.run .ic { border-color: var(--line); border-top-color: var(--ink); animation: spin .9s linear infinite; }
.ck.done .ic { background: var(--ok); border-color: var(--ok); }
.ck.done .ic::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid var(--panel); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ck.done .dt { color: var(--ok); }
.ck.bad .ic, .ck.fail .ic { background: var(--leak); border-color: var(--leak); }
.ck.fail .ic { background: var(--amber); border-color: var(--amber); }
.ck.bad .ic::after, .ck.fail .ic::after { content: "!"; position: absolute; inset: 0; border: 0; transform: none; width: auto; height: auto; color: var(--panel); font: 800 12px/16px var(--font-body); text-align: center; }
.ck.bad .dt { color: var(--leak); font-weight: 650; }
.ck.fail .dt { color: var(--amber); }
.ck.skip .ic { border-style: dashed; }
.ck.skip .lb, .ck.skip .dt { color: var(--muted); }
.ck .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .ck { grid-template-columns: 22px minmax(0, 1fr); } .ck .dt { grid-column: 2; text-align: left; } }
/* A finished deep check that can be opened while the others still run */
.ck.ckx { display: block; padding: 0; }
.ck.ckx > details > summary { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 9px 0; cursor: pointer; list-style: none; border-radius: 6px; }
.ck.ckx > details > summary::-webkit-details-marker { display: none; }
.ck.ckx > details > summary:hover .lb { text-decoration: underline; text-underline-offset: 3px; }
.ck.ckx > details > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ck .ckmore { color: var(--ink); font-weight: 600; }
.ck .ckf { padding: 2px 0 12px 34px; display: grid; gap: 8px; min-width: 0; }
.ck .ckf .deepprob { margin: 0; }
@media (max-width: 560px) { .ck.ckx > details > summary { grid-template-columns: 22px minmax(0, 1fr); } .ck .ckf { padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .ck.run .ic { animation: none; border-style: dotted; } .live-bar > span { transition: none; } }
