/* Layout: intake panel on top, then the report: verdict banner, failure reasons, full checklist. */
[hidden] { display: none !important; }
:root {
  --bg: #f3f5f3; --surface: #ffffff; --sunken: #eaeeeb; --ink: #16201d; --muted: #5a6864; --line: #d9dfdb;
  --accent: #0b6b5d; --accent-ink: #ffffff; --accent-soft: #dcefe9;
  --pass: #1d7a3d; --pass-soft: #e0f2e5; --fail: #b3261e; --fail-soft: #fbe4e1;
  --na: #6a7280; --na-soft: #eceef1; --warn: #9a5800; --warn-soft: #fbefd9; --info: #2f5d9a; --info-soft: #e3ebf7;
  --f-body: "Segoe UI", "IBM Plex Sans", system-ui, sans-serif;
  --f-display: "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Cascadia Mono", Consolas, "IBM Plex Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1312; --surface: #161d1b; --sunken: #111816; --ink: #e4ebe8; --muted: #93a29d; --line: #29332f;
    --accent: #4fc4ae; --accent-ink: #062520; --accent-soft: #143029;
    --pass: #5cc580; --pass-soft: #15301f; --fail: #f2796e; --fail-soft: #3a1a17;
    --na: #9ca5b0; --na-soft: #22282e; --warn: #e3a84d; --warn-soft: #36280f; --info: #8db4ea; --info-soft: #18263a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--f-body); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
code, .mono { font-family: var(--f-mono); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
main.wrap { display: grid; gap: 18px; padding-block: 20px 60px; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-inner { padding-block: 12px; }
.brand { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.brand h1 { font-size: 19px; }
.brand span { color: var(--muted); font-size: 12.5px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 7px 14px; font-weight: 500; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:disabled { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); background: var(--sunken); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.intake { padding: 22px; display: grid; gap: 18px; }
.intake-head { display: grid; gap: 4px; }
.intake-head h2 { font-size: 22px; }
.intake-head p { margin: 0; color: var(--muted); max-width: 72ch; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.drop { border: 2px dashed var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--muted); background: var(--bg); align-content: center; min-height: 200px; }
.drop b { color: var(--ink); font-size: 15px; }
.drop span { font-size: 12.5px; max-width: 46ch; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.paste { display: grid; gap: 6px; grid-template-rows: auto 1fr auto; }
.paste > label, .field label, .row-sm label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.paste textarea { min-height: 160px; resize: vertical; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-family: var(--f-mono); font-size: 12.5px; background: var(--surface); }
.row-sm { display: flex; gap: 8px; align-items: center; }
.row-sm input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; background: var(--surface); font-family: var(--f-mono); font-size: 12.5px; }
.filelist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filelist:empty { display: none; }
.filelist li { display: inline-flex; gap: 6px; align-items: center; background: var(--sunken); border-radius: 6px; padding: 3px 4px 3px 10px; font-family: var(--f-mono); font-size: 12px; max-width: 100%; }
.filelist li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist button { border: 0; background: transparent; color: var(--muted); padding: 0 6px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field input, .field select { border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; background: var(--surface); width: 100%; min-width: 0; }
.run-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.run-row .spacer { flex: 1; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check input { margin-top: 3px; }
.check small { display: block; color: var(--muted); font-size: 12px; }
.check.disabled { opacity: .6; }
.error { margin: 0; padding: 10px 14px; border-radius: 8px; background: var(--fail-soft); color: var(--fail); }

/* Report */
.report { display: grid; gap: 16px; }
.verdict { border-radius: 12px; padding: 22px 24px; display: grid; gap: 14px; border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.verdict::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--vc); }
.verdict.fail { --vc: var(--fail); } .verdict.pass { --vc: var(--pass); } .verdict.warn { --vc: var(--warn); }
.v-top { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.v-title { display: grid; gap: 4px; }
.v-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--vc); }
.v-title h2 { font-size: 30px; letter-spacing: -0.01em; color: var(--vc); }
.v-sub { color: var(--muted); }
.counts { display: flex; gap: 8px; flex-wrap: wrap; }
.count { display: grid; gap: 0; padding: 8px 14px; border-radius: 8px; background: var(--sunken); min-width: 92px; }
.count b { font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.count span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.count.fail b { color: var(--fail); } .count.warn b { color: var(--warn); } .count.pass b { color: var(--pass); } .count.manual b { color: var(--info); }
.meta { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; }
.callout { padding: 10px 14px; border-radius: 8px; font-size: 13.5px; }
.callout.fail { background: var(--fail-soft); color: var(--fail); }
.callout.info { background: var(--info-soft); color: var(--info); }
.callout.warn { background: var(--warn-soft); color: var(--warn); }

.sec { padding: 0; overflow: hidden; }
.sec > h3 { font-size: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.sec > h3 .n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-weight: 400; }
.reason { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; border-left: 4px solid var(--rc, transparent); }
.reason:last-child { border-bottom: 0; }
.reason.fail { --rc: var(--fail); } .reason.warn { --rc: var(--warn); } .reason.manual { --rc: var(--info); }
.r-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.r-ref { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.r-text { font-weight: 600; white-space: pre-line; }
.r-note { color: var(--muted); font-size: 13px; }
.wbadge { font-family: var(--f-mono); font-size: 11px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); }
.wbadge.M { color: var(--fail); border-color: var(--fail); font-weight: 600; }
.src { font-size: 11px; padding: 0 6px; border-radius: 4px; background: var(--info-soft); color: var(--info); }
.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.findings li { display: grid; gap: 2px; font-size: 13px; }
.loc { font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.snip { font-family: var(--f-mono); font-size: 12px; background: var(--sunken); border-radius: 4px; padding: 3px 8px; overflow-x: auto; white-space: pre; color: var(--ink); }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.pass { background: var(--pass-soft); color: var(--pass); } .chip.fail { background: var(--fail-soft); color: var(--fail); }
.chip.warn { background: var(--warn-soft); color: var(--warn); } .chip.na { background: var(--na-soft); color: var(--na); }
.chip.manual { background: var(--info-soft); color: var(--info); }
.tbl-tools { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.seg button { border: 0; border-right: 1px solid var(--line); background: var(--surface); padding: 4px 11px; font-size: 13px; color: var(--muted); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.tbl-wrap { overflow-x: auto; }
table.checks { width: 100%; border-collapse: collapse; font-size: 13px; }
.checks th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--sunken); }
.checks td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.checks tr.group td { background: var(--bg); font-weight: 600; font-size: 12.5px; }
.checks td.ref { font-family: var(--f-mono); color: var(--muted); white-space: nowrap; }
.checks .ctext { white-space: pre-line; }
.checks details summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
.checks details[open] summary { margin-bottom: 6px; }
.files { padding: 14px 18px; display: grid; gap: 8px; font-size: 13px; }
.files ul { margin: 0; padding-left: 18px; font-family: var(--f-mono); font-size: 12px; columns: 2 280px; }
.custom > summary { padding: 14px 22px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.custom .c-title { font-weight: 600; font-size: 16px; }
.custom .c-status { color: var(--muted); font-size: 13px; }
.custom .c-body { padding: 0 22px 22px; display: grid; gap: 12px; }
.custom .c-body p { margin: 0; color: var(--muted); max-width: 80ch; }
.custom .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.custom a.btn { color: inherit; text-decoration: none; }
.custom .c-note:empty { display: none; }
.error ul { margin: 6px 0 0; padding-left: 18px; }
.prev { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.prev > summary { padding: 12px 16px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.prev .c-status { color: var(--muted); font-size: 13px; }
.prev-body { padding: 0 16px 16px; display: grid; gap: 10px; }
.prev-body.over { outline: 2px dashed var(--accent); outline-offset: -6px; }
.prev-body p { margin: 0; color: var(--muted); }
.prev-body > label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.prev-body textarea { min-height: 90px; resize: vertical; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-family: var(--f-mono); font-size: 12.5px; background: var(--surface); }
.prev-from { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 12px; border-radius: 8px; background: var(--info-soft); color: var(--info); }
.prev .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cmp-counts { display: flex; gap: 8px 22px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cmp-counts div { display: grid; }
.cmp-counts b { font-size: 22px; font-family: var(--f-mono); }
.cmp-counts span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.cmp-counts .fixed b { color: var(--pass); } .cmp-counts .new b { color: var(--fail); }
.cmp-list { padding: 12px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.cmp-list h4 { margin: 0; font-size: 13px; }
.cmp-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cmp-list li { display: grid; gap: 4px; font-size: 13px; }
.cmp-list .row { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cmp-list .arrow { color: var(--muted); }
.dfile { border-bottom: 1px solid var(--line); }
.dfile > summary { padding: 10px 18px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.dfile > summary code { font-size: 12.5px; overflow-wrap: anywhere; }
.dstat { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.plus { color: var(--pass); font-family: var(--f-mono); font-size: 12px; } .minus { color: var(--fail); font-family: var(--f-mono); font-size: 12px; }
table.diff { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 12px; }
.diff td { padding: 0 8px; vertical-align: top; white-space: pre; }
.diff td.ln { color: var(--muted); text-align: right; user-select: none; width: 1%; }
.diff td.sg { width: 1%; user-select: none; color: var(--muted); }
.diff tr.add td { background: var(--pass-soft); } .diff tr.del td { background: var(--fail-soft); }
.diff tr.add td.sg { color: var(--pass); } .diff tr.del td.sg { color: var(--fail); }
.diff tr.hunk td { background: var(--sunken); color: var(--muted); padding: 3px 8px; }
.diff tr.flag td.code { box-shadow: inset 3px 0 0 var(--warn); }
.diff .more td { color: var(--muted); padding: 6px 8px; white-space: normal; }
/* Accounts */
.auth { display: grid; place-items: start center; padding-block: 48px 60px; }
.auth-card { width: min(440px, 100%); padding: 26px; display: grid; gap: 14px; }
.auth-card h2 { font-size: 22px; }
.auth-card p { margin: 0; color: var(--muted); }
.auth-card .field small { color: var(--muted); font-size: 12px; }
.auth-card .error ul { margin: 6px 0 0; padding-left: 18px; }
.auth-alt { font-size: 13.5px; }
button.link { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; }
body:not([data-screen="app"]) .tabs { display: none; }
.account { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.account .acc-who small { color: var(--muted); }
.pw-banner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 0; }
.tabs a[data-badge]:not([data-badge=""])::after { content: attr(data-badge); margin-left: 6px; background: var(--fail); color: #fff; border-radius: 999px; padding: 0 6px; font-size: 11px; }
.sec-intro { margin: 0; padding: 12px 18px 0; color: var(--muted); font-size: 13.5px; max-width: 90ch; }
.btn.danger { color: var(--fail); }
.small-dialog { width: min(460px, 94vw); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 20px; }
.small-dialog::backdrop { background: rgb(0 0 0 / .45); }
.small-dialog p { color: var(--muted); }
.temp-pw { display: block; font-family: var(--f-mono); font-size: 18px; padding: 10px 14px; background: var(--sunken); border-radius: 8px; margin: 12px 0; user-select: all; overflow-wrap: anywhere; }
.small-dialog .actions { display: flex; gap: 8px; justify-content: flex-end; }
.dash-scope { margin: 0 0 8px auto; color: var(--muted); font-size: 13px; align-self: end; }

/* Tabs */
.topbar-inner { display: flex; gap: 10px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-weight: 500; }
.tabs a:hover { background: var(--sunken); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.view { display: grid; gap: 18px; }
.view[hidden] { display: none; }
.btn.xs { padding: 2px 9px; font-size: 12.5px; }
.nowrap { white-space: nowrap; } .num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); padding: 18px; margin: 0; }
.opts { display: grid; gap: 8px; }
.mono { font-family: var(--f-mono); font-size: 12.5px; }

/* Findings: code links and accepted exceptions */
.f-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
button.loc.link { border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.findings li.is-accepted > span, .findings li.is-accepted .snip { opacity: .65; }
.accepted-note { font-size: 12.5px; color: var(--info); background: var(--info-soft); border-radius: 6px; padding: 3px 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.accept-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.accept-form input { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: var(--surface); min-width: 0; }
.accept-form input[name="reason"] { flex: 1 1 260px; }
.accept-form input[name="by"] { flex: 0 1 160px; }
.form-err { color: var(--fail); font-size: 12.5px; }

/* History and dashboard */
.filters { display: flex; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: end; }
.panel.filters { border-bottom: 1px solid var(--line); }
.filters .field { min-width: 160px; }
.filters .field.grow { flex: 1 1 280px; }
table.hist td { vertical-align: middle; }
.row-actions { white-space: nowrap; text-align: right; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 2px; }
.tile b { font-size: 28px; font-family: var(--f-mono); font-weight: 600; }
.tile span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.tile small { color: var(--muted); font-size: 12.5px; }
.legend { margin-left: auto; display: inline-flex; gap: 6px 14px; align-items: center; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -8px; }
.sw.pass { background: var(--pass); } .sw.fail { background: var(--fail); }
.wk-chart { display: flex; gap: 6px; align-items: flex-end; height: 220px; padding: 18px 18px 10px; overflow-x: auto; }
.wk { flex: 1 0 34px; height: 100%; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 3px; }
.wk-bar { align-self: end; width: 22px; display: flex; flex-direction: column; gap: 2px; min-height: 4px; }
.wk-bar > div { border-radius: 4px 4px 0 0; min-height: 3px; } .wk-bar > div + div { border-radius: 0; }
.seg-pass { background: var(--pass); } .seg-fail { background: var(--fail); }
.wk-n { font-size: 12px; font-family: var(--f-mono); color: var(--ink); }
.wk-l { font-size: 11px; color: var(--muted); white-space: nowrap; }
.hbar { display: inline-block; width: 80px; height: 8px; background: var(--sunken); border-radius: 4px; vertical-align: middle; overflow: hidden; }
.hbar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

/* Settings */
.setform { padding: 6px 18px 4px; display: grid; gap: 14px; }
.set-group { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px 14px; margin: 0; min-width: 0; }
.set-group legend { font-weight: 600; padding: 0 6px; }
.set-group p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.set-group .set-group { border-style: dashed; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; }
.set-grid > .set-group { grid-column: 1 / -1; }
.setform .field small { color: var(--muted); font-size: 12px; }
.setform textarea { border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; background: var(--surface); font-family: var(--f-mono); font-size: 12.5px; resize: vertical; width: 100%; }
.setform input:invalid { border-color: var(--fail); }
.field-err { color: var(--fail); font-size: 12px; }
.field-err:empty { display: none; }
.set-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 18px 18px; }
.set-msg { color: var(--muted); font-size: 13px; }
#setErr { margin: 0 18px 18px; }

/* Code viewer */
.viewer { width: min(1200px, 96vw); height: 88vh; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.viewer::backdrop { background: rgb(0 0 0 / .45); }
.v-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.v-bar h3 { font-size: 15px; margin-right: 4px; }
.v-bar select { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; background: var(--surface); max-width: 100%; min-width: 0; flex: 1 1 220px; }
.v-count { color: var(--muted); font-size: 12.5px; margin-right: auto; }
.v-body { overflow: auto; position: relative; }
.cv { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.55; min-width: max-content; }
.cv-line { display: flex; }
.cv-n { width: 56px; flex: none; text-align: right; padding-right: 12px; color: var(--muted); user-select: none; position: sticky; left: 0; background: var(--surface); }
.cv-t { white-space: pre; padding-right: 24px; }
.cv-line.has.fail { background: var(--fail-soft); } .cv-line.has.warn { background: var(--warn-soft); } .cv-line.has.accepted { background: var(--info-soft); }
.cv-line.has .cv-n { background: inherit; font-weight: 600; }
.cv-line.current { box-shadow: inset 4px 0 0 var(--accent); }
.cv-notes { margin: 0 0 4px 56px; padding: 4px 10px; border-left: 3px solid var(--fail); background: var(--sunken); font-family: var(--f-body); font-size: 12.5px; display: grid; gap: 2px; white-space: normal; max-width: 900px; }
.cv-notes.warn { border-color: var(--warn); } .cv-notes.accepted { border-color: var(--info); }
.cv-check { color: var(--muted); }
.cv-more { color: var(--muted); padding: 6px 12px; font-style: italic; }

.appfoot { display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center; padding-block: 0 28px; color: var(--muted); font-size: 12.5px; }
.appfoot code { font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .v-title h2 { font-size: 24px; } }
@media print { .intake, .no-print { display: none !important; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.users .row-actions { white-space: normal; min-width: 220px; }
