/* VeriClarity - wzorcowy raport (makieta POKAZ1). Jeden plik, bez zależności zewnętrznych. */
:root {
  --font: "Lato", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, "Lucida Console", ui-monospace, monospace;
  --wrap: 62rem;
  --bg: #F5F7FA; --surface: #FFFFFF; --surface-2: #ECF0F6;
  --ink: #0E1A2B; --ink-2: #2F3D52; --muted: #4A586C;
  --line: #CBD4E1; --line-strong: #64748B;
  --brand: #0B4FA8; --brand-hover: #083C82; --on-brand: #FFFFFF;
  --focus: #B93A04;
  --ok: #0C6B3A; --ok-bg: #E1F3E8; --err: #A8122B; --err-bg: #FBE7EA;
  --s-auto: #0B4FA8; --s-auto-bg: #E4EEFB;
  --s-behav: #0A6658; --s-behav-bg: #DDF2EE;
  --s-model: #5936B5; --s-model-bg: #ECE7FA;
  --s-human: #864600; --s-human-bg: #FBEBD3;
  --s-on: #FFFFFF;
  --sev-crit: #A8122B; --sev-crit-bg: #FBE7EA;
  --sev-high: #963A00; --sev-high-bg: #FCE9DB;
  --sev-med: #6B5000; --sev-med-bg: #FAF0CC;
  --code-bg: #F0F3F8;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 10px 28px rgba(14, 26, 43, .07);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A1220; --surface: #111B2D; --surface-2: #18243A;
  --ink: #EDF2F9; --ink-2: #CCD6E4; --muted: #AAB7CA;
  --line: #2A3A55; --line-strong: #8492AA;
  --brand: #8AB8FF; --brand-hover: #B0CFFF; --on-brand: #071428;
  --focus: #FFB05C;
  --ok: #6FD99B; --ok-bg: #0F3322; --err: #FF9AA8; --err-bg: #3D1420;
  --s-auto: #8AB8FF; --s-auto-bg: #15294B;
  --s-behav: #62D6C2; --s-behav-bg: #0D3530;
  --s-model: #BBA8FF; --s-model-bg: #2A2157;
  --s-human: #FFC873; --s-human-bg: #3C2C0C;
  --s-on: #071428;
  --sev-crit: #FF9AA8; --sev-crit-bg: #3D1420;
  --sev-high: #FFB088; --sev-high-bg: #40200C;
  --sev-med: #F2D675; --sev-med-bg: #3A300A;
  --code-bg: #0C1627;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
}
[data-theme="hc"] {
  color-scheme: dark;
  --bg: #000000; --surface: #000000; --surface-2: #000000;
  --ink: #FFFFFF; --ink-2: #FFFFFF; --muted: #FFFFFF;
  --line: #FFFFFF; --line-strong: #FFFFFF;
  --brand: #FFE600; --brand-hover: #FFF48A; --on-brand: #000000;
  --focus: #00E5FF;
  --ok: #7CFFB2; --ok-bg: #000000; --err: #FF9D9D; --err-bg: #000000;
  --s-auto: #8CC8FF; --s-auto-bg: #000000;
  --s-behav: #6DFFE3; --s-behav-bg: #000000;
  --s-model: #D9C2FF; --s-model-bg: #000000;
  --s-human: #FFD27A; --s-human-bg: #000000;
  --s-on: #000000;
  --sev-crit: #FF9D9D; --sev-crit-bg: #000000;
  --sev-high: #FFC29B; --sev-high-bg: #000000;
  --sev-med: #FFE98A; --sev-med-bg: #000000;
  --code-bg: #000000;
  --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-wrap: break-word; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brand); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .16em; }
code, kbd, .mono { font-family: var(--mono); font-size: .92em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 100; padding: .8rem 1.1rem; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; }
.skip:focus { top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; padding: .5rem 1.05rem; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--surface-2); }
.btn--primary { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { border-color: var(--brand-hover); background: var(--brand-hover); }

.seg { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.seg__label { font-size: .95rem; font-weight: 700; color: var(--ink-2); }
.seg__opts { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px; border: 2px solid var(--ink); border-radius: 14px; background: var(--surface); }
.seg__opt { position: relative; display: inline-flex; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .3rem .85rem; border-radius: 10px; font-size: .95rem; font-weight: 700; color: var(--ink); }
.seg__opt input:checked + span { background: var(--ink); color: var(--bg); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.seg__opt input:hover:not(:checked) + span { background: var(--surface-2); }

.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border: 1.5px solid currentColor; border-radius: 999px; background: var(--b-bg, var(--surface-2)); color: var(--b-fg, var(--ink-2)); font-size: .875rem; font-weight: 700; line-height: 1.35; }
.badge--auto { --b-fg: var(--s-auto); --b-bg: var(--s-auto-bg); }
.badge--behav { --b-fg: var(--s-behav); --b-bg: var(--s-behav-bg); }
.badge--model { --b-fg: var(--s-model); --b-bg: var(--s-model-bg); }
.badge--human { --b-fg: var(--s-human); --b-bg: var(--s-human-bg); }
.badge--crit { --b-fg: var(--sev-crit); --b-bg: var(--sev-crit-bg); }
.badge--high { --b-fg: var(--sev-high); --b-bg: var(--sev-high-bg); }
.badge--med { --b-fg: var(--sev-med); --b-bg: var(--sev-med-bg); }

/* ---------- pasek narzędzi (tylko ekran) ---------- */
.bar { border-bottom: 1px solid var(--line); background: var(--surface); }
.bar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.25rem; padding-block: .7rem; }
.bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; color: var(--ink); font-size: 1.3rem; font-weight: 400; text-decoration: none; }
.logo strong { font-weight: 800; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__ring { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.logo__core { fill: var(--brand); }
.logo__tick { fill: none; stroke: var(--on-brand); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.back { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; }
.back .i { transform: rotate(180deg); }
@media (max-width: 23.99em) { .bar .seg__opt .i { display: none; } }

/* ---------- arkusz raportu ---------- */
.report { margin-block: clamp(1rem, 3vw, 2.5rem); padding: clamp(1.1rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.report > section { padding-top: clamp(1.75rem, 4vw, 2.75rem); }
.report > section > h2 { display: flex; align-items: baseline; gap: .7rem; padding-bottom: .6rem; margin-bottom: 1.1rem; border-bottom: 2px solid var(--ink); }
.report > section > h2 .num { font-family: var(--mono); font-size: .95rem; color: var(--brand); }
.lead { margin-bottom: 1.1rem; color: var(--ink-2); max-width: 46rem; }
.note { font-size: .95rem; color: var(--muted); }
.card { border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--surface); }

.cover { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-bottom: clamp(1.25rem, 3vw, 2rem); border-bottom: 4px solid var(--brand); }
.cover > * { min-width: 0; overflow-wrap: anywhere; }
.cover__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.cover__id { font-family: var(--mono); font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.kicker { display: flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.kicker::before { content: ""; width: 1.75rem; height: 3px; flex: none; border-radius: 2px; background: var(--focus); }
.cover p.sub { font-size: 1.15rem; color: var(--ink-2); max-width: 44rem; }
.sample { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .8rem .9rem; border: 1.5px solid var(--s-human); border-radius: 10px; background: var(--s-human-bg); color: var(--ink); }
.sample .i { width: 1.5rem; height: 1.5rem; color: var(--s-human); margin-top: .1rem; }

/* metryczka */
.meta { display: grid; gap: 0; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
@media (min-width: 40em) { .meta { grid-template-columns: 1fr 1fr; } }
.meta > div { padding: .65rem .9rem; border-bottom: 1px solid var(--line); }
@media (min-width: 40em) { .meta > div:nth-child(odd) { border-right: 1px solid var(--line); } }
.meta dt { font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: .1rem 0 0; font-weight: 700; }

/* podsumowanie */
.tiles { list-style: none; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
.tile { padding: .9rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 12px; }
.tile b { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.tile span { color: var(--ink-2); line-height: 1.35; display: block; margin-top: .2rem; }
.verdict { margin-top: 1.1rem; padding: 1rem 1.1rem; border-left: 6px solid var(--err); border-radius: 0 12px 12px 0; background: var(--err-bg); }
.verdict strong { display: flex; align-items: center; gap: .45rem; color: var(--err); margin-bottom: .3rem; }
.first-week { margin-top: 1.25rem; }
.first-week ol { margin: .6rem 0 0 1.4rem; display: grid; gap: .4rem; }

/* mapa pokrycia */
.cov__bar { display: flex; gap: 3px; height: 34px; }
.cov__seg { display: flex; align-items: center; justify-content: center; min-width: 2rem; border-radius: 5px; color: var(--s-on); font-family: var(--mono); font-size: .9rem; font-weight: 700; }
.cov__seg:first-child { border-radius: 10px 5px 5px 10px; }
.cov__seg:last-child { border-radius: 5px 10px 10px 5px; }
.cov__seg--auto { background: var(--s-auto); } .cov__seg--behav { background: var(--s-behav); }
.cov__seg--model { background: var(--s-model); } .cov__seg--human { background: var(--s-human); }
.cov__list { list-style: none; display: grid; gap: .5rem; margin-top: .8rem; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.cov__item { display: grid; grid-template-columns: auto 1fr; gap: .1rem .65rem; align-items: start; padding: .6rem .7rem; border: 1.5px solid var(--c); border-radius: 10px; background: var(--cb); }
.cov__item--auto, .crit--auto { --c: var(--s-auto); --cb: var(--s-auto-bg); }
.cov__item--behav, .crit--behav { --c: var(--s-behav); --cb: var(--s-behav-bg); }
.cov__item--model, .crit--model { --c: var(--s-model); --cb: var(--s-model-bg); }
.cov__item--human, .crit--human { --c: var(--s-human); --cb: var(--s-human-bg); }
.cov__ico { grid-row: span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 8px; background: var(--c); color: var(--s-on); }
.cov__t { font-weight: 700; line-height: 1.25; }
.cov__t b { font-family: var(--mono); color: var(--c); }
.cov__d { font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.principle { margin-top: 1.5rem; }
.principle h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-bottom: .6rem; }
.principle h3 small { font-family: var(--mono); font-size: .85rem; font-weight: 400; color: var(--muted); }
.crits { list-style: none; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(9.2rem, 1fr)); }
.crit { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .1rem .45rem; align-content: start; padding: .45rem .5rem; border: 1.5px solid var(--c); border-radius: 8px; background: var(--cb); line-height: 1.25; }
.crit__ico { grid-row: span 2; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 6px; background: var(--c); color: var(--s-on); }
.crit__ico .i { width: 1.1rem; height: 1.1rem; }
.crit__n { font-family: var(--mono); font-size: .9rem; font-weight: 700; color: var(--ink); }
.crit__n small { font-weight: 400; color: var(--ink-2); }
.crit__name { font-size: .8rem; color: var(--ink-2); }
.crit.is-viol { border-width: 3px; border-color: var(--err); }
.crit__flag { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .3rem; margin-top: .25rem; font-size: .8rem; font-weight: 700; color: var(--err); }
.crit__flag .i { width: 1rem; height: 1rem; }

/* mapa ryzyka */
.risk { width: 100%; border-collapse: collapse; }
.risk th, .risk td { padding: .7rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.risk thead th { border-bottom: 2px solid var(--ink); font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.risk tbody th { font-weight: 700; }
.risk .id { font-family: var(--mono); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.risk td.id { padding-top: .1rem; }
.risk .id > * { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.risk td.prio { white-space: nowrap; }
@media (max-width: 39.99em) {
  .risk thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .risk, .risk tbody, .risk tr, .risk th, .risk td { display: block; }
  .risk tr { margin-bottom: .8rem; padding: .8rem .9rem; border: 1.5px solid var(--line-strong); border-radius: 12px; }
  .risk th, .risk td { padding: .25rem 0; border: 0; }
  .risk td[data-label]::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
}

/* karty ustaleń */
.finding { margin-top: 1.25rem; overflow: hidden; }
.finding__head { display: grid; gap: .6rem; padding: 1rem clamp(.9rem, 2.5vw, 1.4rem); border-bottom: 1.5px solid var(--line-strong); background: var(--surface-2); }
.finding__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.finding__id { font-family: var(--mono); font-weight: 700; padding: .15rem .55rem; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: .9rem; }
.finding__body, .finding__cols { grid-template-columns: minmax(0, 1fr); }
.finding__body > *, .finding__cols > * { min-width: 0; }
.finding__body { display: grid; gap: 1.1rem; padding: 1.1rem clamp(.9rem, 2.5vw, 1.4rem) 1.3rem; }
.finding__cols { display: grid; gap: 1.1rem; }
@media (min-width: 46em) { .finding__cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.facts { margin: 0; display: grid; gap: .5rem; }
.facts dt { font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }
.finding h4 { display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; }
.finding h4 .i { color: var(--brand); }
.finding ol.steps { margin-left: 1.4rem; display: grid; gap: .3rem; }
.shot { align-self: start; padding: .8rem; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--code-bg); }
.shot__cap { margin-top: .5rem; font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }
.shot__ui { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; padding: .7rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.shot__ph { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--brand); }
.shot__txt { flex: 1 1 6rem; line-height: 1.3; font-size: .95rem; }
.shot__txt b { display: block; }
.shot__hit { position: relative; display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 .5rem; border: 2px solid var(--ink); border-radius: 8px; outline: 3px dashed var(--err); outline-offset: 4px; font-family: var(--mono); font-size: .9rem; }
.shot__hit--img { border: 0; background: var(--surface-2); color: var(--brand); }
.say2 { display: grid; gap: .6rem; }
@media (min-width: 46em) { .say2 { grid-template-columns: 1fr 1fr; } }
.saybox { border: 1.5px solid var(--v); border-left-width: 6px; border-radius: 10px; background: var(--code-bg); padding: .6rem .8rem; }
.saybox--bad { --v: var(--err); } .saybox--ok { --v: var(--ok); }
.saybox b { display: flex; align-items: center; gap: .35rem; font-size: .875rem; color: var(--v); }
.saybox p { margin-top: .25rem; font-family: var(--mono); font-size: .95rem; font-weight: 700; line-height: 1.45; }
.diff { margin: 0; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--code-bg); overflow: hidden; }
.diff__l { display: block; padding: .3rem .8rem .3rem 2.2rem; text-indent: -1.4rem; font-size: .875rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.diff__l--del { background: var(--err-bg); color: var(--err); }
.diff__l--add { background: var(--ok-bg); color: var(--ok); }
.impact { padding: .7rem .9rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }

/* karta człowieka */
.finding--human { border-color: var(--s-human); border-width: 3px; }
.finding--human .finding__head { background: var(--s-human-bg); border-bottom-color: var(--s-human); }
.checks { list-style: none; display: grid; gap: .2rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; min-height: 44px; padding-block: .35rem; }
.checks input, .outcome input { flex: none; width: 24px; height: 24px; margin: .1rem 0 0; accent-color: var(--brand); cursor: pointer; }
.checks label, .outcome label { cursor: pointer; }
.outcome { margin: 0; padding: .8rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 10px; }
.outcome legend { padding: 0 .4rem; font-weight: 700; }
.outcome__opts { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.outcome__opts span { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; }

/* metodyka i stopka */
.method { display: grid; gap: .7rem; list-style: none; }
.method li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; }
.method .i { width: 1.4rem; height: 1.4rem; color: var(--brand); margin-top: .15rem; }
.legal { margin-top: clamp(1.75rem, 4vw, 2.75rem); padding-top: 1.1rem; border-top: 4px solid var(--brand); font-size: .95rem; color: var(--ink-2); display: grid; gap: .6rem; }
.legal h2 { font-size: 1.1rem; }
.page-foot { padding-block: 0 2.5rem; font-size: .92rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .seg__opt input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .btn, .badge, .cov__item, .crit { border: 2px solid CanvasText; }
  .cov__seg { border: 1px solid CanvasText; }
  .kicker::before { background: CanvasText; }
}

/* ---------- druk / PDF: zawsze jasny arkusz ---------- */
@page { size: A4; margin: 14mm 13mm; }
@media print {
  :root, [data-theme="dark"], [data-theme="hc"] {
    color-scheme: light;
    --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #ECF0F6;
    --ink: #0E1A2B; --ink-2: #2F3D52; --muted: #4A586C;
    --line: #CBD4E1; --line-strong: #64748B;
    --brand: #0B4FA8; --on-brand: #FFFFFF; --focus: #B93A04;
    --ok: #0C6B3A; --ok-bg: #E1F3E8; --err: #A8122B; --err-bg: #FBE7EA;
    --s-auto: #0B4FA8; --s-auto-bg: #E4EEFB; --s-behav: #0A6658; --s-behav-bg: #DDF2EE;
    --s-model: #5936B5; --s-model-bg: #ECE7FA; --s-human: #864600; --s-human-bg: #FBEBD3; --s-on: #FFFFFF;
    --sev-crit: #A8122B; --sev-crit-bg: #FBE7EA; --sev-high: #963A00; --sev-high-bg: #FCE9DB; --sev-med: #6B5000; --sev-med-bg: #FAF0CC;
    --code-bg: #F0F3F8; --shadow: none;
  }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { font-size: 10.5pt; background: #FFFFFF; }
  .bar, .skip, .page-foot { display: none !important; }
  .wrap { width: 100%; }
  .tiles, .cov__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .report { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .report > section > h2, h3, h4 { break-after: avoid; }
  .finding, .tile, .crit, .cov__item, .risk tr, .verdict, .meta > div, .saybox, .diff, .shot, .outcome { break-inside: avoid; }
  .finding { break-before: auto; }
  a { color: inherit; }
}

.icon-definitions { position:absolute; }
.no-bottom { margin-bottom:0; }
.space-top-small { margin-top:.8rem; }
.space-top-medium { margin-top:.9rem; }
.space-top { margin-top:1rem; }
.space-top-large { margin-top:1.1rem; }
.intro-text { margin-top:.9rem;font-size:1.15rem;color:var(--ink-2); }
.cov__bar { list-style: none; padding: 0; }
.cov__seg--na, .cov__item--na .cov__ico, .crit--na .crit__ico { background: var(--ink); color: var(--bg); }
.crit-description { display: block; font-size: .88rem; color: var(--ink-2); }
.crit { min-width: 0; }
.crit__name { overflow-wrap: anywhere; }
.report pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: .8rem; border: 1px solid var(--line-strong); border-radius: 8px; }
.report td, .report th { overflow-wrap: anywhere; }
.risk a, .first-week a, .page-foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.page-foot a { margin-inline: .25rem; }

.segment-auto { flex-grow: 9; }
.segment-behav { flex-grow: 23; }
.segment-model { flex-grow: 14; }
.segment-human { flex-grow: 1; }
.segment-na { flex-grow: 8; }
