/* BFSG Hub: the site is a lit eye-test chart hanging in a dark examination room. */
@font-face { font-family: "Besley"; src: url("/static/fonts/display.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("/static/fonts/sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+2713, U+2715; }
@font-face { font-family: "Atkinson Next"; src: url("/static/fonts/sans-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Mono"; src: url("/static/fonts/mono.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: light;
  --wall: #17191a; --on-wall: #f1f1ec; --on-wall-muted: #b9bebf;
  --sheet: #ffffff; --ink: #0f1112; --muted: #4a4f52; --rule: #d4d6d3; --code-bg: #f2f3f1;
  --link: #0b55bd; --focus: #0b55bd;
  --duo-red: #ef6f5c; --duo-green: #63bd8f; --on-duo: #0b0c0d;
  --line-red: #d8402c; --line-green: #1f8a55;
  --critical: #b3200f; --serious: #94420a; --moderate: #715600; --minor: #4a5560; --pass: #146c3c;
  --display: "Besley", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Next", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Atkinson Mono", ui-monospace, Menlo, Consolas, monospace;
  --gut: clamp(1.25rem, 5.5vw, 4.5rem);
  /* A Landolt ring, the optotype of the German vision test standard, with its gap facing right. */
  --landolt: radial-gradient(closest-side, transparent 59%, #000 61%), conic-gradient(from 107deg, #000 0 326deg, transparent 326deg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --wall: #08090a; --sheet: #141718; --ink: #f1f1ec; --muted: #b3b8b9; --rule: #33383a; --code-bg: #1d2123;
    --link: #9dc2ff; --focus: #9dc2ff; --line-red: #ef6f5c; --line-green: #63bd8f;
    --critical: #ff9e90; --serious: #ffb27f; --moderate: #edcf72; --minor: #b9c3cc; --pass: #84dcaa;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --wall: #08090a; --sheet: #141718; --ink: #f1f1ec; --muted: #b3b8b9; --rule: #33383a; --code-bg: #1d2123;
  --link: #9dc2ff; --focus: #9dc2ff; --line-red: #ef6f5c; --line-green: #63bd8f;
  --critical: #ff9e90; --serious: #ffb27f; --moderate: #edcf72; --minor: #b9c3cc; --pass: #84dcaa;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wall); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 6vw, 4.5rem); }
h3 { font-size: 1.375rem; line-height: 1.2; }
h4 { margin: 1.25rem 0 0; font-size: .9375rem; font-weight: 700; }
p { margin: .5rem 0 0; }
a { color: var(--link); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h2:focus { outline: none; }
.mono, code, pre { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 50; padding: .7rem 1.1rem; font-weight: 700; color: var(--wall); background: var(--on-wall); }
.skip:focus { top: .75rem; }

.lc { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; border-radius: 50%; -webkit-mask: var(--landolt); -webkit-mask-composite: source-in; mask: var(--landolt); mask-composite: intersect; }
.r1 { rotate: 45deg; } .r2 { rotate: 90deg; } .r3 { rotate: 135deg; } .r4 { rotate: 180deg; } .r5 { rotate: 225deg; } .r6 { rotate: 270deg; } .r7 { rotate: 315deg; }

/* The chart */
.sheet { width: min(100%, 76rem); margin-inline: auto; background: var(--sheet); box-shadow: 0 0 120px 10px rgba(255, 255, 255, .13); }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding: 1.25rem var(--gut); border-bottom: 1px solid var(--rule); }
.project-note { flex: 1 0 100%; margin: -1.25rem calc(var(--gut) * -1) .75rem; padding: .6rem var(--gut); font-size: .9375rem; font-weight: 700; line-height: 1.4; text-align: center; color: var(--sheet); background: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 800 1.25rem var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand .lc { font-size: 1.35rem; }
.mainnav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-left: auto; }
.mainnav a, .langnav a { color: var(--ink); text-decoration: none; }
.mainnav a:hover, .langnav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.langnav { display: flex; gap: .75rem; font-weight: 700; }
.lang-current { border-bottom: 3px solid var(--ink); }

.chart { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gut) 0; text-align: center; }
.eyebrow { margin: 0 0 clamp(1.5rem, 4vw, 3rem); font-weight: 700; letter-spacing: .02em; }
.chart-lines { container-type: inline-size; font-weight: 900; letter-spacing: -.025em; line-height: 1; }
.cl { position: relative; display: block; padding-block: .1em .24em; }
.cl1 { font-size: clamp(4rem, 1rem + 22cqi, 13rem); }
.cl2 { font-size: clamp(2rem, .5rem + 9.5cqi, 6.75rem); }
.cl3 { font-size: clamp(1.875rem, .5rem + 6.5cqi, 4.5rem); border-bottom: 3px solid var(--line-red); }
.cl4 { font-size: clamp(1.625rem, .5rem + 4.2cqi, 3rem); border-bottom: 3px solid var(--line-green); }
:lang(en) .cl1 { font-size: clamp(2.4rem, .5rem + 13cqi, 8.5rem); }
.cl::before, .cl::after { position: absolute; top: 50%; translate: 0 -50%; font: 500 .9375rem var(--mono); letter-spacing: 0; color: var(--muted); }
.cl::before { content: attr(data-n) / ""; left: 0; }
.cl::after { content: attr(data-v) / ""; right: 0; }
.lead { max-width: 40rem; margin: clamp(1.75rem, 4vw, 2.75rem) auto 0; font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.5; }

.scan-form { max-width: 46rem; margin: clamp(2rem, 4vw, 3rem) auto 0; text-align: left; }
.scan-form label { display: block; font-weight: 700; }
.field-row { display: flex; align-items: stretch; margin-top: .35rem; border-bottom: 5px solid var(--ink); }
.field-row:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.field-row input { flex: 1 1 auto; min-width: 0; min-height: 4.25rem; padding: .25rem 1rem .25rem 0; font: 500 clamp(1.25rem, 3vw, 1.75rem) var(--mono); color: var(--ink); background: transparent; border: 0; border-radius: 0; }
.field-row input:focus { outline: none; }
.field-row input::placeholder { color: var(--muted); opacity: 1; }
.field-row button { flex: none; padding: .5rem 1.75rem; font: 800 1.125rem var(--display); color: var(--sheet); background: var(--ink); border: 0; border-radius: 0; cursor: pointer; }
.field-row button:hover { background: #b3200f; color: #fff; }
.field-row button:disabled { opacity: .6; cursor: progress; }
.hint { margin-top: .75rem; font-size: .9375rem; color: var(--muted); }
.consent { margin-top: .15rem; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.form-error { margin-top: .75rem; padding: .6rem .85rem; font-weight: 700; color: var(--critical); border: 2px solid var(--critical); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(2.5rem, 6vw, 4.5rem) calc(var(--gut) * -1) 0; border-block: 1px solid var(--rule); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.5rem 1rem; }
.facts > div + div { border-left: 1px solid var(--rule); }
.facts dd { margin: 0; font: 800 clamp(1.5rem, 3.2vw, 2.5rem)/1.1 var(--display); letter-spacing: -.02em; }
.facts dt { margin-top: .3rem; font-size: .9375rem; color: var(--muted); }

/* Sections */
.band { padding: clamp(3.5rem, 8vw, 6.5rem) var(--gut); }
.section-head { max-width: 50rem; margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 .75rem; font-weight: 700; }
.intro { margin-top: 1.1rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; }

.rows { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; border-top: 5px solid var(--ink); }
.rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.15fr); gap: .5rem clamp(1rem, 3vw, 2.5rem); align-items: center; padding-block: clamp(1.1rem, 2.5vw, 1.75rem); border-bottom: 1px solid var(--rule); }
.rows .lc { font-size: var(--size); }
.rows h3 { font-size: var(--size); }
.rows li:nth-child(1) { --size: clamp(1.875rem, 3.8vw, 3rem); }
.rows li:nth-child(2) { --size: clamp(1.75rem, 3.3vw, 2.625rem); }
.rows li:nth-child(3) { --size: clamp(1.625rem, 2.9vw, 2.25rem); }
.rows li:nth-child(4) { --size: clamp(1.5rem, 2.5vw, 1.95rem); }
.rows li:nth-child(5) { --size: clamp(1.375rem, 2.2vw, 1.7rem); }
.rows li:nth-child(6) { --size: clamp(1.25rem, 1.9vw, 1.5rem); }
.rows p { margin: 0; }

.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); color: var(--on-duo); --focus: var(--on-duo); }
.duo a { color: var(--on-duo); }
.duo-red, .duo-green { padding: clamp(3rem, 7vw, 5.5rem) var(--gut); }
.duo-red { background: var(--duo-red); }
.duo-green { display: flex; align-items: center; background: var(--duo-green); }
.steps { list-style: none; counter-reset: s; margin: 2.5rem 0 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 1rem 0 1rem 4rem; border-top: 2px solid var(--on-duo); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .55rem; font: 900 2.75rem/1 var(--display); }
.weights { width: 100%; }
.weights h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.weights dl { margin: 1.5rem 0; }
.weights dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 2px solid var(--on-duo); }
.weights dd { margin: 0; font: 800 1.125rem var(--display); }

.faq { max-width: 52rem; margin: clamp(2rem, 4vw, 3rem) auto 0; border-top: 5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; font: 700 clamp(1.125rem, 2vw, 1.3125rem)/1.3 var(--display); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; background: currentColor; border-radius: 50%; -webkit-mask: var(--landolt); -webkit-mask-composite: source-in; mask: var(--landolt); mask-composite: intersect; transition: rotate .35s cubic-bezier(.3, .7, .2, 1); }
.faq details[open] summary::before { rotate: 90deg; }
.faq details p { margin: 0 0 1.5rem 2.5rem; max-width: 42rem; }

/* The dark room below the chart */
.cta { padding: clamp(4rem, 10vw, 8rem) var(--gut) clamp(3rem, 7vw, 5rem); text-align: center; color: var(--on-wall); --focus: var(--on-wall); }
.cta-ring { display: block; margin: 0 auto 1.75rem; font-size: clamp(3rem, 7vw, 5rem); rotate: 270deg; }
.cta h2 { max-width: 56rem; margin-inline: auto; }
.cta p { margin-top: 1rem; font-size: 1.125rem; color: var(--on-wall-muted); }
.cta-btn { display: inline-block; margin-top: 2rem; padding: 1rem 2.25rem; font: 800 1.125rem var(--display); color: #17191a; background: #f1f1ec; text-decoration: none; }
.cta-btn:hover { background: var(--duo-green); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; width: min(100%, 76rem); margin-inline: auto; padding: 1.75rem var(--gut) 2.5rem; font-size: .9375rem; color: var(--on-wall-muted); border-top: 1px solid #3a3f41; --focus: var(--on-wall); }
.footer p { margin: 0; max-width: 38rem; }
.footer a { color: var(--on-wall); }
.footer nav { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Progress */
#progress h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.progress-track { height: .75rem; margin-top: 1.75rem; background: var(--code-bg); }
#progress-fill { display: block; width: 4%; height: 100%; background: var(--ink); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.stages { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.stage { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.stage-dot { width: 1.5rem; height: 1.5rem; background: currentColor; border-radius: 50%; -webkit-mask: var(--landolt); -webkit-mask-composite: source-in; mask: var(--landolt); mask-composite: intersect; }
.stage-done .stage-dot { color: var(--pass); -webkit-mask: radial-gradient(closest-side, transparent 59%, #000 61%); mask: radial-gradient(closest-side, transparent 59%, #000 61%); }
.stage-active .stage-name { font-weight: 700; }
.stage-wait { color: var(--muted); }
.stage-state { font-size: .9375rem; }

/* Report */
.report { border-top: 5px solid var(--ink); }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.report-head h2 { font-size: clamp(2.25rem, 7vw, 4.75rem); overflow-wrap: anywhere; }
.report-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn { min-height: 2.75rem; padding: .4rem 1rem; font: 700 .9375rem var(--sans); color: var(--ink); background: transparent; border: 2px solid var(--ink); border-radius: 0; cursor: pointer; }
.btn:hover { color: var(--sheet); background: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin: 1.75rem 0; padding-block: .9rem; border-block: 1px solid var(--rule); }
.meta dt { font-size: .875rem; color: var(--muted); }
.meta dd { margin: 0; font-weight: 700; }
.score { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; padding-block: clamp(1rem, 3vw, 2rem); }
.score-strong { --tier: var(--pass); } .score-gaps { --tier: var(--moderate); } .score-significant { --tier: var(--serious); } .score-critical { --tier: var(--critical); }
.score-dial { width: clamp(8.5rem, 19vw, 14rem); aspect-ratio: 1; }
.ring { display: block; width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 24; }
.ring-track { stroke: var(--code-bg); }
.ring-value { stroke: var(--tier); stroke-dasharray: var(--arc) var(--rest); stroke-dashoffset: var(--start); }
.score-value { margin: 0; font: 900 clamp(5rem, 13vw, 9.5rem)/.9 var(--display); letter-spacing: -.05em; color: var(--tier); }
.score-of { margin: .6rem 0 0; font-size: .9375rem; color: var(--muted); }
.score-label { margin: 0 0 .5rem; font-weight: 700; }
.score-text h3 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
.note { margin-top: .75rem; font-size: .9375rem; color: var(--muted); }
.disclaimer { margin: 1.25rem 0 0; padding: .85rem 1.1rem; font-weight: 700; border: 2px solid var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 1.75rem 0 0; border-block: 5px solid var(--ink); }
.tile { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1rem 1.1rem; color: var(--tile, var(--ink)); }
.tile + .tile { border-left: 1px solid var(--rule); }
.tile dd { margin: 0; font: 900 clamp(2.5rem, 5vw, 3.75rem)/1 var(--display); letter-spacing: -.03em; }
.tile dt { margin-top: .35rem; font-size: .9375rem; font-weight: 700; }
.tile-critical { --tile: var(--critical); } .tile-serious { --tile: var(--serious); } .tile-moderate { --tile: var(--moderate); } .tile-minor { --tile: var(--minor); }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin-top: 1rem; }
.panel { min-width: 0; padding-block: 1.75rem; }
.panel-wide { grid-column: 1 / -1; border-top: 1px solid var(--rule); }
.panel h3 { font-size: 1.625rem; }
.bars { list-style: none; margin: 1rem 0 0; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) 2.25rem; gap: .85rem; align-items: center; padding-block: .4rem; }
.bar { height: .75rem; background: var(--code-bg); }
.bar-fill { display: block; height: 100%; }
.bar-high { background: var(--pass); } .bar-mid { background: var(--moderate); } .bar-low { background: var(--serious); } .bar-crit { background: var(--critical); }
.bar-value { text-align: right; font: 800 1.0625rem var(--display); }
.scope-level { margin-top: .75rem; font: 900 2rem/1.1 var(--display); letter-spacing: -.02em; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: .5rem 0 0; padding: 0; }
.tags li { padding: .05rem .55rem; font-size: .9375rem; border: 1px solid var(--muted); }
.checks { list-style: none; margin: 1rem 0; padding: 0; }
.checks li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding-block: .7rem; border-bottom: 1px solid var(--rule); }
.chip { padding: .05rem .55rem; font-size: .9375rem; font-weight: 700; white-space: nowrap; border: 2px solid currentColor; }
.chip-pass { color: var(--pass); } .chip-partial { color: var(--moderate); } .chip-fail { color: var(--critical); }
.block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.block > h3 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
.filters { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 1rem 0; }
.filters button { min-height: 2.75rem; padding: .3rem 0; font: 700 1rem var(--sans); color: var(--muted); background: none; border: 0; border-bottom: 4px solid transparent; border-radius: 0; cursor: pointer; }
.filters button:hover { color: var(--ink); border-bottom-color: var(--rule); }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.findings { margin-top: 1rem; border-top: 5px solid var(--ink); }
.finding { min-width: 0; border-bottom: 1px solid var(--rule); }
.finding > summary { position: relative; display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .15rem 1rem; padding: 1.1rem 2.75rem 1.1rem 0; cursor: pointer; list-style: none; }
.finding > summary::-webkit-details-marker { display: none; }
.finding > summary::after { content: ""; position: absolute; right: .25rem; top: 1.2rem; width: 1.35rem; height: 1.35rem; background: currentColor; border-radius: 50%; -webkit-mask: var(--landolt); -webkit-mask-composite: source-in; mask: var(--landolt); mask-composite: intersect; transition: rotate .35s cubic-bezier(.3, .7, .2, 1); }
.finding[open] > summary::after { rotate: 90deg; }
.finding > summary:hover .finding-title { text-decoration: underline; }
.finding-title { font-weight: 700; }
.finding-meta { grid-column: 2; font-size: .9375rem; color: var(--muted); }
.sev { justify-self: start; align-self: start; font-size: .9375rem; font-weight: 700; }
.sev-critical { color: var(--critical); } .sev-serious { color: var(--serious); } .sev-moderate { color: var(--moderate); } .sev-minor { color: var(--minor); }
.finding-body { padding: 0 0 1.5rem 7rem; }
.finding-body h4:first-child { margin-top: 0; }
.occurrence { margin-top: .75rem; }
.occ-url { margin: 0; font-size: .875rem; overflow-wrap: anywhere; }
.nodes { list-style: none; margin: .4rem 0 0; padding: 0; }
.nodes li { margin-bottom: .75rem; }
.selector { font-size: .875rem; overflow-wrap: anywhere; }
.nodes pre { max-width: 100%; margin: .3rem 0 0; padding: .7rem .9rem; overflow-x: auto; font-size: .8125rem; line-height: 1.5; background: var(--code-bg); }
.node-note { font-size: .9375rem; white-space: pre-line; color: var(--muted); }
.group > summary { margin-top: .75rem; padding-block: .4rem; font-weight: 700; cursor: pointer; }
.manual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); list-style: none; margin: 1rem 0 0; padding: 0; border-top: 5px solid var(--ink); }
.manual li { position: relative; padding: .9rem 0 .9rem 2.25rem; border-bottom: 1px solid var(--rule); }
.manual li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.35rem; height: 1.35rem; background: currentColor; border-radius: 50%; -webkit-mask: var(--landolt); -webkit-mask-composite: source-in; mask: var(--landolt); mask-composite: intersect; }
.manual li:nth-child(3n+2)::before { rotate: 135deg; } .manual li:nth-child(3n)::before { rotate: 270deg; }
.table-wrap { margin-top: 1rem; overflow-x: auto; border-top: 5px solid var(--ink); }
table { width: 100%; min-width: 36rem; border-collapse: collapse; }
th, td { padding: .7rem .75rem .7rem 0; font-size: .9375rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
thead th { font-weight: 700; color: var(--muted); }
tbody th { font-weight: 500; overflow-wrap: anywhere; }

/* Motion: the chart snaps into focus, as if a lens had just been changed. */
@media (prefers-reduced-motion: no-preference) {
  .cl { animation: focus-in 1.1s cubic-bezier(.2, .7, .2, 1) backwards; }
  .cl2 { animation-delay: .18s; } .cl3 { animation-delay: .36s; } .cl4 { animation-delay: .54s; }
  .anim .reveal { transition: filter .9s cubic-bezier(.2, .7, .2, 1), opacity .9s ease; }
  .anim .reveal:not(.in) { filter: blur(9px); opacity: .3; }
  .stage-active .stage-dot { animation: turn 1.6s steps(8) infinite; }
  .ring-value { animation: ring-open 1.3s .15s cubic-bezier(.2, .7, .2, 1) backwards; }
  .bar-fill { transform-origin: left; animation: grow .9s .2s cubic-bezier(.2, .7, .2, 1) backwards; }
}
@keyframes focus-in { from { filter: blur(16px); opacity: .15; } }
@keyframes turn { to { rotate: 360deg; } }
@keyframes ring-open { from { stroke-dasharray: 0 var(--circ); } }
@keyframes grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

@media (max-width: 60rem) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .rows li { grid-template-columns: auto minmax(0, 1fr); }
  .rows p { grid-column: 2; }
  .score { grid-template-columns: auto minmax(0, 1fr); }
  .score-text { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile:nth-child(odd) { border-left: 0; }
  .tile:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .tile-review { grid-column: 1 / -1; }
  .panels, .manual { grid-template-columns: minmax(0, 1fr); }
  .finding-body { padding-left: 0; }
}
@media (max-width: 46rem) {
  .cl::before, .cl::after { display: none; }
  .mainnav { order: 3; width: 100%; margin-left: 0; gap: .25rem 1.1rem; }
  .langnav { margin-left: auto; }
}
@media (max-width: 34rem) {
  .field-row { flex-direction: column; border-bottom: 0; }
  .field-row input { flex: none; width: 100%; border-bottom: 5px solid var(--ink); }
  .field-row button { min-height: 3.5rem; margin-top: .75rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .finding > summary { grid-template-columns: minmax(0, 1fr); }
  .finding-meta { grid-column: 1; }
  .bars li { grid-template-columns: minmax(0, 1fr) 2.25rem; }
  .bar { grid-column: 1 / -1; grid-row: 2; }
  .faq details p { margin-left: 0; }
}
@media print {
  .topbar, .chart, #law, #method, #faq, .cta, .footer, .report-actions, .filters, .skip, #progress { display: none !important; }
  body, .sheet { background: #fff; color: #000; box-shadow: none; }
  .report { border-top: 0; padding-block: 0; }
  .score, .bar-fill, .tile { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .finding, .panel, .tile, .manual li { break-inside: avoid; }
  a { color: #000; }
}
