/* Snick website styles. Values come from the Snick Design System (Ink & Brass, tokens.json). */

/* ---------- tokens ---------- */
:root {
  --ink: #14212B; --brass: #C2973B; --steel: #7E8F99; --frost: #E9EEF0; --on-brass: #14212B;
  --stage-start: #E4CC93; --stage-grow: #C2973B; --stage-exit: #7D5C1A;
  --surface: #F4F6F7; --surface-raised: #FFFFFF; --text: #14212B; --text-muted: #55646E; --line: #D5DDE1;
  --accent-text: #7D5C1A; --metal: #14212B; --focus: #7D5C1A;
  /* Product-only states (partner view and form errors), kept off marketing content */
  --good: #2F7A4F; --good-bg: #E3F1E8; --warn: #8A5700; --warn-bg: #FBF0D9; --bad: #B23A2E; --bad-bg: #F9E3E0;

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 96px;
  --radius-sm: 4px; --radius-md: 6px; --radius-pill: 999px;
  --max: 1200px; --gutter: var(--space-4);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0E171E; --surface-raised: #15222C; --text: #E9EEF0; --text-muted: #9AABB5; --line: #26353F;
    --accent-text: #D9B25E; --metal: #C2973B; --focus: #D9B25E;
    --good: #7CCB9A; --good-bg: #173326; --warn: #E8BC62; --warn-bg: #3A2D12; --bad: #F08A7E; --bad-bg: #3D1C19;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #0E171E; --surface-raised: #15222C; --text: #E9EEF0; --text-muted: #9AABB5; --line: #26353F;
  --accent-text: #D9B25E; --metal: #C2973B; --focus: #D9B25E;
  --good: #7CCB9A; --good-bg: #173326; --warn: #E8BC62; --warn-bg: #3A2D12; --bad: #F08A7E; --bad-bg: #3D1C19;
  color-scheme: dark;
}
@media (min-width: 1024px) { :root { --gutter: var(--space-7); } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 48px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.6vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; max-width: 65ch; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--frost); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Eyebrow → headline → lead */
.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--text-muted); max-width: 52ch; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; line-height: 1.5; }
.head { display: grid; gap: var(--space-3); max-width: 760px; }
.prose { display: grid; gap: var(--space-4); max-width: 68ch; }
.prose h2 { margin-top: var(--space-5); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: var(--space-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 22px; border-radius: var(--radius-pill); font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; background: transparent; color: var(--text); white-space: nowrap; }
.btn--primary { background: var(--ink); color: var(--frost); }
.btn--primary:hover { background: #22323E; }
.btn--brass { background: var(--brass); color: var(--on-brass); }
.btn--brass:hover { background: #D4AB52; }
.btn--secondary { border-color: var(--line); }
.btn--secondary:hover { border-color: var(--steel); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { background: var(--frost); color: var(--ink); } }
:root[data-theme="dark"] .btn--primary { background: var(--frost); color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 68px; }
.logo { display: block; flex: none; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a:not(.btn) { font: 500 15px/1 var(--font-body); color: var(--text); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2) max(var(--gutter), env(safe-area-inset-left)) var(--space-5); }
  .nav[data-open="true"] { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: var(--space-4); }
}

/* ---------- sections ---------- */
.section { padding-block: var(--space-8); border-bottom: 1px solid var(--line); }
.section > .wrap { display: grid; gap: var(--space-6); }
.hero { padding-block: var(--space-8) var(--space-8); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .hero { padding-block: var(--space-9); } }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero-copy { display: grid; gap: var(--space-5); align-content: start; }
.display { font-size: clamp(44px, 8vw, 88px); line-height: 0.95; font-weight: 800; letter-spacing: -0.035em; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.hero-key { display: grid; gap: var(--space-3); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); }
.hero-key .row { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; align-items: baseline; }
.page-hero { padding-block: var(--space-8) var(--space-7); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: var(--space-4); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Stage chips (design system StageTag) */
.stage { display: inline-flex; align-items: center; gap: var(--space-2); padding: 5px 12px 5px 8px; border-radius: var(--radius-pill); font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); width: max-content; }
.stage::before { content: ""; width: 14px; height: 6px; background: currentColor; clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%); }
.stage--start { background: var(--stage-start); }
.stage--grow { background: var(--stage-grow); }
.stage--exit { background: var(--stage-exit); color: var(--frost); }
.stage--stalled { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--steel); }

/* Grids */
.grid { display: grid; gap: var(--space-5); }
.grid > * { min-width: 0; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1023px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); display: grid; gap: var(--space-3); align-content: start; }
.card p { font-size: 16px; line-height: 1.55; color: var(--text-muted); }
.card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; color: var(--text-muted); }
.card .card-depth { display: flex; gap: 4px; }
.card .card-depth i { width: 18px; height: 6px; border-radius: 1px; background: var(--line); }
.card .card-depth i.on { background: var(--metal); }
.card--stage { border-top: 3px solid var(--stage-colour, var(--line)); }
.card--stage.s-start { --stage-colour: var(--stage-start); }
.card--stage.s-stalled { --stage-colour: var(--steel); }
.card--stage.s-grow { --stage-colour: var(--stage-grow); }
.card--stage.s-exit { --stage-colour: var(--stage-exit); }
.area-letter { font: 500 12px/1 var(--font-mono); letter-spacing: 0.14em; color: var(--accent-text); }

/* Path diagram: start → grow → exit, with the stall drawn as a flat stretch */
.path { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); }
.path svg { width: 100%; height: auto; }
.path .p-line { fill: none; stroke: var(--metal); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.path .p-stall { fill: none; stroke: var(--steel); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.path .p-dot-start { fill: var(--stage-start); } .path .p-dot-grow { fill: var(--stage-grow); } .path .p-dot-exit { fill: var(--stage-exit); }
.path .p-dot-stall { fill: var(--surface-raised); stroke: var(--steel); stroke-width: 2; }
.path text { font: 500 12px var(--font-mono); letter-spacing: 0.12em; fill: var(--text-muted); text-transform: uppercase; }
.path .p-grid { stroke: var(--line); stroke-width: 1; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); align-items: start; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 13px/1.9 var(--font-mono); color: var(--accent-text); letter-spacing: 0.08em; }
.steps b { display: block; font-family: var(--font-display); font-size: 18px; }

.rule { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); display: grid; gap: var(--space-3); align-content: start; }
.rule q { font: 800 clamp(26px, 3vw, 34px)/1.1 var(--font-display); letter-spacing: -0.02em; quotes: "\201C" "\201D"; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-7); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Definition */
.definition { border-left: 2px solid var(--brass); padding-left: var(--space-5); display: grid; gap: var(--space-2); }
.definition .word { font: 700 22px/1.3 var(--font-display); }
.definition .word span { font: 400 14px var(--font-mono); color: var(--text-muted); margin-left: var(--space-2); }
.definition ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Team */
.person { display: grid; gap: var(--space-4); align-content: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 300px; border-radius: var(--radius-md); background: var(--ink); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.portrait span { font: 800 64px/1 var(--font-display); color: var(--brass); letter-spacing: -0.04em; }
.person .role { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.placeholder { background: var(--warn-bg); color: var(--warn); border-radius: var(--radius-sm); padding: 2px 6px; font-size: 0.9em; }

/* Key graphic (design system KeyGraphic) */
.sn-key { width: 100%; height: auto; display: block; }
/* Every Snick key (marketing pages and the partner view) is brass like the logo mark, in both themes */
.sn-key .sn-key-metal { fill: var(--brass); }
.sn-key .sn-key-hole { fill: var(--surface-raised); }
.sn-key .sn-key-blade { transition: d 600ms cubic-bezier(.6,.05,.2,1); }
.sn-key text { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; fill: var(--text-muted); }
.key-code { font: 400 15px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.key-presets { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-btn { font: 500 13px/1 var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 14px; cursor: pointer; min-height: 36px; }
.chip-btn:hover { border-color: var(--steel); }
.chip-btn[aria-pressed="true"] { background: var(--text); color: var(--surface); border-color: var(--text); }
@media (prefers-reduced-motion: reduce) { .sn-key .sn-key-blade { transition: none; } }

/* Closing band + footer on ink */
.band { background: var(--ink); color: var(--frost); padding-block: var(--space-8); }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.band h2 { color: var(--frost); font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.band .eyebrow { color: var(--brass); }
.site-footer { background: var(--ink); color: var(--frost); padding-block: var(--space-7) calc(var(--space-7) + env(safe-area-inset-bottom)); border-top: 1px solid #26353F; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-6); }
.site-footer .wrap > * { min-width: 0; }
.site-footer img { height: 28px; width: auto; }
.site-footer a { color: var(--frost); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 15px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #26353F; padding-top: var(--space-5); font-size: 14px; color: var(--steel); display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.site-footer .eyebrow { color: var(--brass); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- forms (apply) ---------- */
.apply-wrap { max-width: 780px; margin: 0 auto; padding: var(--space-7) max(var(--gutter), env(safe-area-inset-left)) var(--space-8); display: grid; gap: var(--space-5); }
.progress { display: grid; gap: var(--space-2); }
.progress .row { display: flex; justify-content: space-between; gap: var(--space-3); font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.track { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.track i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .3s; }
@media (prefers-reduced-motion: reduce) { .track i { transition: none; } }
.panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(20px, 4vw, 36px); display: grid; gap: var(--space-5); }
.panel h2 { font-size: clamp(24px, 3.4vw, 30px); }
.qnum { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }
.nda { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); font-size: 15px; background: var(--surface); }
.nda ol { padding-left: 20px; display: grid; gap: var(--space-2); margin: var(--space-3) 0; }
.signed { display: flex; gap: var(--space-6); flex-wrap: wrap; font-size: 14px; margin-top: var(--space-3); }
.sig { font: italic 500 20px/1.4 var(--font-display); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field .hint { font-size: 14px; color: var(--text-muted); }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label.lbl, legend.lbl, .lbl { font-weight: 600; font-size: 15px; }
input[type=text], input[type=email], input[type=url], input[type=search], input[type=password], input[type=number], textarea, select {
  font: 16px/1.4 var(--font-body); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; width: 100%;
}
input:hover, textarea:hover, select:hover { border-color: var(--steel); }
textarea { min-height: 120px; resize: vertical; }
textarea.cv { min-height: 240px; }
.counter { font: 400 12px var(--font-mono); color: var(--text-muted); justify-self: end; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: grid; gap: var(--space-2); }
.opt { display: flex; gap: var(--space-3); align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; cursor: pointer; background: var(--surface); }
.opt:hover { border-color: var(--steel); }
.opt:has(input:checked) { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); background: var(--surface-raised); }
.opt input { margin-top: 4px; accent-color: var(--brass); width: 18px; height: 18px; flex: none; }
.opt small { display: block; color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.follow { border-left: 3px solid var(--brass); padding-left: var(--space-4); display: grid; gap: var(--space-3); }
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brass); flex: none; }
.err { color: var(--bad); font-size: 15px; min-height: 1.4em; margin: 0; }
.form-actions { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.note-box { border: 1px dashed var(--line); border-radius: var(--radius-md); padding: var(--space-4); font-size: 15px; color: var(--text-muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.saved { font: 400 12px var(--font-mono); color: var(--text-muted); letter-spacing: 0.06em; }

/* ---------- partner console ---------- */
.console { max-width: 1320px; margin: 0 auto; padding: var(--space-6) max(var(--gutter), env(safe-area-inset-left)) var(--space-8); display: grid; grid-template-columns: 300px 1fr; gap: var(--space-6); align-items: start; }
.console > * { min-width: 0; }
.inbox { display: grid; gap: var(--space-2); position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; padding: 2px; }
.inbox-tools { display: grid; gap: var(--space-2); }
.inbox button.item { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px var(--space-3); padding: 12px 14px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.inbox button.item:hover { border-color: var(--steel); }
.inbox button.item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.inbox button.item[aria-current="true"] { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.inbox .who b { display: block; font-size: 15px; }
.inbox .who span { font-size: 13px; color: var(--text-muted); }
.inbox .meta { display: grid; justify-items: end; gap: 4px; }
.inbox .score { font: 500 15px var(--font-mono); font-variant-numeric: tabular-nums; }
.pill { font: 500 11.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; width: max-content; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.g { color: var(--good); background: var(--good-bg); } .pill.a { color: var(--warn); background: var(--warn-bg); } .pill.r { color: var(--bad); background: var(--bad-bg); } .pill.n { color: var(--text-muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.report { display: grid; gap: var(--space-5); }
.report-head { display: grid; grid-template-columns: 1fr auto; gap: var(--space-5); align-items: start; }
.report-head > * { min-width: 0; }
.bigscore { text-align: right; display: grid; gap: 2px; }
.bigscore b { font: 800 64px/0.9 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bigscore span { font: 500 12px var(--font-mono); color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.verdicts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.v { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.v .eyebrow { color: var(--text-muted); }
.v strong { font: 700 20px/1.15 var(--font-display); }
.box { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(18px, 3vw, 28px); display: grid; gap: var(--space-4); }
.box-h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.box.rec { border-left: 4px solid var(--rec-colour, var(--line)); }
.meters { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.meter { display: grid; gap: 6px; }
.meter .t { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.meter .t span { font: 400 13px var(--font-mono); color: var(--text-muted); }
.bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--metal); }
.bar.good i { background: var(--good); } .bar.warn i { background: var(--warn); } .bar.bad i { background: var(--bad); } .bar.brass i { background: var(--brass); }
.qrow { display: grid; grid-template-columns: 38px 1fr 120px; gap: var(--space-3); padding-block: var(--space-3); border-top: 1px solid var(--line); }
.qrow > * { min-width: 0; }
.qrow .n2 { font: 400 13px var(--font-mono); color: var(--text-muted); padding-top: 2px; }
.qrow .ans { font-size: 15px; display: grid; gap: 4px; }
.qrow .ans b { font-weight: 600; }
.qrow .tone { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.qrow .pts { display: grid; gap: 6px; justify-items: end; }
.qrow .pts b { font: 500 14px var(--font-mono); }
.tag { font-size: 12px; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.claim, .flag { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.claim-top { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.flag blockquote { margin: 0; font-style: italic; color: var(--text-muted); font-size: 15px; }
.cvtext { white-space: pre-wrap; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; max-height: 320px; overflow: auto; }
details summary { cursor: pointer; font-weight: 600; }
.banner { display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--radius-md); border: 1px dashed var(--line); font-size: 15px; }
.status-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.empty { padding: var(--space-7) var(--space-5); text-align: center; color: var(--text-muted); border: 1px dashed var(--line); border-radius: var(--radius-md); }
.signin { max-width: 520px; margin: var(--space-8) auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); display: grid; gap: var(--space-4); }
@media (max-width: 980px) {
  .console { grid-template-columns: 1fr; }
  .inbox { position: static; max-height: none; }
  .verdicts { grid-template-columns: 1fr 1fr; }
  .meters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .qrow { grid-template-columns: 30px 1fr; } .qrow .pts { grid-column: 2; justify-items: start; }
  .report-head { grid-template-columns: 1fr; } .bigscore { text-align: left; }
}
