@media screen {
  :root {--bench:#111412;--paper:#f4efe5;--ink:#252520;--signal:#ffb46f}
  .section-label,.equipment-tag span,.equipment-tag b {font:600 .72rem/1.4 var(--data);letter-spacing:.085em;text-transform:uppercase}
  .site-header {min-height:74px}
  .hero.cover {isolation:isolate;position:relative;width:100%;max-width:none;display:flex;align-items:center;min-height:clamp(520px,43vw,690px);margin:0;padding:clamp(56px,6vw,96px) max(calc((100% - 1220px)/2),5vw);background:#131511;overflow:hidden}
  .cover-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 46%;z-index:-2}
  .cover:before {content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,12,11,.94) 0%,rgba(8,12,11,.72) 36%,transparent 73%);z-index:-1}
  .cover .hero-copy {max-width:670px}.cover .section-label {color:#ffb371}
  .cover h1 {margin:.28em 0 .18em;color:#fff7eb;font-size:clamp(4rem,7.6vw,7.3rem);line-height:.91;letter-spacing:-.044em}
  .cover h1 em {display:inline;color:var(--signal)}
  .hero.cover .hero-copy>p:not(.local-note) {color:#f2ede4;max-width:44ch}
  .cover .button {border-radius:3px}.cover .ghost {background:#151b18;color:white;border-color:#b4b8ac}
  .equipment-tag {position:absolute;right:max(5vw,calc((100% - 1220px)/2));bottom:26px;display:grid;width:235px;border-left:5px solid #e58746;background:#f4ede0;color:#1f2521;padding:15px 20px;text-decoration:none;box-shadow:0 12px 40px #0006}
  .equipment-tag strong {font:700 2.3rem/1.2 var(--heading)}.equipment-tag b {letter-spacing:.01em;text-transform:none}
  .bench {padding-block:clamp(48px,6vw,95px);display:grid;grid-template-columns:.8fr 1.2fr;gap:7%;align-items:center;color:var(--chalk)}
  .bench .section-label {color:var(--signal)}.bench h2 {font-size:clamp(2.7rem,4.5vw,4.8rem);line-height:.92;letter-spacing:-.03em;margin:.25em 0}
  .bench p {max-width:41ch;color:#ccd1c8}.bench a {display:inline-block;margin-top:1.1rem;color:var(--signal)}
  .bench .signal-sheet {max-width:none;border-radius:0;box-shadow:7px 7px 0 #393b32}.signal-sheet tbody tr {height:65px}
  .workspace-heading,#workspace-title {letter-spacing:-.025em}.rules-band {border-top:5px solid var(--signal)}
  @media(max-width:760px){.hero.cover{min-height:580px;display:block;padding:48px 5vw 150px}.cover-photo{object-position:66% 50%}.cover:before{background:linear-gradient(90deg,#0a100ee8,#09100da6 65%,#09100d4a)}.cover h1{font-size:clamp(3.2rem,12vw,5.1rem)}.equipment-tag{right:5vw;bottom:19px;width:195px;padding:10px 15px}.equipment-tag strong{font-size:1.7rem}.bench{grid-template-columns:1fr;gap:28px}.bench .signal-sheet{width:100%}}
}
@media print {.bench{display:none}}
.case-note{border-top:1px solid #62695d;margin-top:22px;padding:12px 0}.case-note summary{cursor:pointer;color:#ffd4a6;font-weight:600}.case-note dl{margin:12px 0}.case-note dl div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px solid #40473e}.case-note dd{margin:0;font-family:var(--data);font-size:.84rem}
@media screen and (max-width:760px) {
  .site-header nav a.account-entry:not([hidden]) {display:inline-flex;align-items:center;min-height:44px}
  .site-header nav{gap:12px}
}


@media screen {
 .account-report{margin:22px 0;padding-top:16px;border-top:1px solid currentColor}.account-save{min-height:44px;padding:9px 14px;background:#fcfaf3;color:#263428;border:1px solid #718071;border-radius:4px;font:inherit;font-size:.9rem;font-weight:600;line-height:1.35;cursor:pointer}.account-save-preview{max-width:66ch;margin-top:12px;background:#faf8f1;color:#232c26;padding:15px 18px;border:1px solid #b9bdb0}.account-save-preview p{margin:7px 0}.account-excerpt{white-space:pre-line;overflow-wrap:anywhere;font-size:.91rem;border-left:3px solid #839a78;padding-left:10px}.account-save-preview a{color:#244c37;text-decoration:underline}
}
@media print{.account-report{display:none!important}}

em, i, cite, address, dfn, var {font-style:normal}
@media screen {
 .hero.cover {display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(25px,6vw,100px);min-height:unset;align-items:end;padding-block:clamp(40px,6vw,90px)}
 .hero.cover::before {background:linear-gradient(90deg,#0a0e0bf5 2%,#0b120db0 42%,#0c120e4d 72%),linear-gradient(0deg,#0b0e0abd,transparent)}
 .hero.cover h1 {font-size:clamp(3.5rem,6vw,6.7rem)}
 .cover .title-end {display:block;color:#ffb675}
 .rack-inspector {align-self:center;border:1px solid #8c806e;border-radius:5px;overflow:hidden;background:#eae6db;color:#23241d;box-shadow:0 15px 40px #0006}
 .rack-inspector header {display:flex;gap:10px;align-items:center;background:#20241f;color:#fff6ea;padding:13px 17px;border-bottom:3px solid #cf8955}
 .rack-inspector header small {margin-left:auto;color:#d7d7c9;font: .72rem/1.4 var(--data)}
 .rack-lamp {width:7px;height:7px;border-radius:100%;background:#eda56a}
 .rack-controls {display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 15px;align-items:center;padding:13px 18px;border-bottom:1px solid #b7b5a9;background:#dcdacf}
 .rack-controls label,.rack-inside dt {color:#43483b;font:650 .77rem/1.5 var(--data)}
 .rack-controls select {width:100%;min-width:0;background:#f8f5eb;color:#282e23;border:1px solid #969b89;border-radius:3px;min-height:35px;font:inherit;font-size:.84rem;padding:4px 7px}
 .rack-inside {padding:16px 20px 19px}
 .rack-inside>small {font:650 .77rem var(--data);color:#784121}
 .rack-inside h2 {color:#23271f;font:700 clamp(2rem,3.5vw,3.15rem)/1 var(--heading);letter-spacing:-.03em;margin:6px 0 15px;overflow-wrap:anywhere}
 .rack-inside dl {display:grid;grid-template-columns:1fr 1fr;background:#f7f5ed;border-block:1px solid #bbbdad;margin:0}
 .rack-inside dl>div {min-width:0;padding:10px}
 .rack-inside dl>div+div {border-left:1px solid #bdbfae}
 .rack-inside dd {margin:3px 0 0;font:650 .91rem/1.4 var(--data);overflow-wrap:anywhere}
 .rack-inside p {margin:10px 0 0;line-height:1.4;font-size:.87rem;color:#2d3229}
 .rack-inside #rack-source {font:600 .75rem/1.4 var(--data);color:#555c4d}
 @media(max-width:800px){.hero.cover{grid-template-columns:1fr;align-items:start;padding:37px 5vw;gap:25px}.hero.cover .hero-copy{max-width:36rem}.rack-inspector{width:100%}.cover .title-end{display:inline}}
}
@media print{.rack-inspector{display:none}}

/* Keep emphasis upright, including quotes and nested report headings. */
:where(em,i,cite,address,dfn), h1 em, h2 em, h3 em {font-style:normal}

:root {--reading-paper:#e8f1f4;--reading-ink:#192f38;--reading-mark:#286071;}
/* Evidence sheets and handoff controls keep their hierarchy on paper and small screens. */
.reading-example {
  margin: clamp(1.25rem, 3vw, 2.4rem) 0 0;
  padding: clamp(1rem, 2.2vw, 1.65rem);
  max-width: 35rem;
  background: var(--reading-paper);
  color: var(--reading-ink);
  border-inline-start: .25rem solid var(--reading-mark);
}
.reading-example figcaption {
  display: block; margin: 0 0 .5rem; padding: 0; background: none; color: inherit;
  font: 650 .775rem/1.4 var(--body); letter-spacing: .015em; text-transform: none;
}
.reading-example > strong {display: block; font: 700 clamp(1.35rem, 2vw, 1.75rem)/1.12 var(--body); letter-spacing: -.035em;}
.reading-example dl {display: grid; gap: 0; margin: 1.05rem 0 .8rem; padding: 0;}
.reading-example dl > div {display: grid; grid-template-columns: minmax(5rem,.8fr) minmax(0,1.3fr); gap: .85rem; padding: .5rem 0; border-top: 1px solid color-mix(in srgb,currentColor 23%,transparent);}
.reading-example :is(dd,dt) {margin: 0; font: 500 .875rem/1.45 var(--body); color: inherit;}
.reading-example dd {font-weight: 650;}
main .reading-example > p {margin: .75rem 0; font: 400 .92rem/1.5 var(--body); color: inherit;}
main .reading-example > a {font: 650 .9rem/1.45 var(--body); color: inherit; text-decoration: underline; text-underline-offset: .22em;}
.reading-output {width: 100%; margin: 1rem 0; padding: .75rem 1rem; border: 1px solid var(--reading-mark); background: var(--reading-paper); color: var(--reading-ink);}
.reading-output summary {cursor: pointer; font: 650 1rem/1.5 var(--body); color: inherit;}
.reading-output label, .reading-output textarea {display: block; width: 100%; margin: .75rem 0 .5rem; color: inherit;}
.reading-output textarea {padding: .8rem; line-height: 1.5; border: 1px solid var(--reading-mark); background: #fff; border-radius: 4px; color: #17251e; resize: vertical;}
.reading-filter {display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 1rem 0;}
.reading-filter label {display: inline-flex; min-height: 44px; align-items: center; gap: .6rem; cursor: pointer;}
.reading-filter input {width: 1.1rem; height: 1.1rem; accent-color: var(--reading-mark);}
.reading-filter output {font-variant-numeric: tabular-nums; font-size: .85rem;}
body :where(summary, button, a, input, textarea, select):focus-visible {outline-offset: 3px;}
footer .reading-return {text-underline-offset: .22em;}
@media(max-width: 42rem) {
  .reading-example {max-width: none; margin-block: 1.15rem;}
  .reading-example dl > div {grid-template-columns: minmax(5rem,.8fr) minmax(0,1.3fr);}
  .reading-return {display: inline-flex; align-items: center; min-height: 44px;}
  .reading-output textarea {font-size: 1rem;}
  :is(.questions,.faq,.faq-section,.rules-band,.method) details > summary {min-height: 44px;}
}
@media print {
  .reading-example,.reading-filter,.reading-output,.reading-return {display: none;}
}


.compact-sections {display:none}
.point-builder {margin:.25rem 0 1rem; padding:.7rem 1rem; border-inline-start:3px solid var(--reading-mark); background:var(--reading-paper); color:var(--reading-ink)}
.point-builder summary {cursor:pointer;font-weight:700}
.point-fields {display:grid; grid-template-columns:2fr 1fr 1fr; gap:.7rem; margin:1rem 0}
.point-fields label {display:grid; gap:.35rem}
.point-fields input {width:100%;min-width:0}
.point-builder output,.revision-choice {display:block;font-size:.9rem;margin-top:.5rem}
.revision-choice:empty {display:none} .retest-requirements {margin:0;color:#534451}
@media screen and (max-width: 48rem) {
  header nav.wide-navigation {display:none}
  header .compact-sections {display:block;position:relative;margin-left:auto;color:var(--reading-ink);z-index:20}
  header .compact-sections > summary {display:flex;align-items:center;gap:.55rem;min-height:44px;cursor:pointer;padding:.4rem .8rem;border-radius:4px;font:650 .9rem/1 var(--body);background:var(--reading-paper);color:inherit}
  .compact-sections summary::-webkit-details-marker {display:none}
  header .compact-sections > summary::after {content:"";width:.43rem;height:.43rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
  header .compact-sections[open] > summary::after {transform:rotate(225deg)}
  header .compact-sections > nav {position:absolute;inset:auto 0 auto auto;display:grid;align-items:stretch;gap:0;width:max-content;min-width:12rem;max-width:85vw;padding:.4rem;background:#fff;color:var(--reading-ink);border:1px solid var(--reading-mark);box-shadow:0 6px 24px #14221b20;}
  header .compact-sections:not([open]) > nav {display:none}
  header .compact-sections > nav a:not([hidden]) {display:flex;align-items:center;justify-content:flex-start;min-height:44px;padding:.3rem .8rem;white-space:normal;background:none;color:inherit;text-decoration:none;font:600 .95rem/1.3 var(--body);border:0;border-radius:0}
  header .compact-sections > nav a:hover,header .compact-sections > nav a:focus-visible {background:var(--reading-paper)}
  .point-fields {grid-template-columns:1fr 1fr}.point-fields label:first-child {grid-column:1/-1}
}

/* Product navigation, evidence workspaces and printable customer documents. */
.task-routes {color:var(--reading-ink);background:var(--reading-paper);border-block:1px solid color-mix(in srgb,var(--reading-mark) 38%,transparent)}
.task-routes-inner,.publication-index>div {width:min(92%,78rem);margin:auto}
.task-routes-inner {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.task-routes-inner a {position:relative;display:grid;align-content:start;gap:.35rem;padding:1.4rem 2.8rem 1.4rem 1.35rem;color:inherit;text-decoration:none;text-align:start}
.task-routes-inner a+a {border-inline-start:1px solid color-mix(in srgb,currentColor 23%,transparent)}
.task-routes-inner a:after {content:'↓';position:absolute;right:1rem;top:1.3rem;font-size:1.05rem}
.task-routes-inner strong {font:700 clamp(.96rem,1.3vw,1.15rem)/1.3 var(--body, sans-serif)}
.task-routes-inner span {max-width:36ch;font:450 .9rem/1.45 var(--body,sans-serif)}
.task-routes-inner a:hover,.publication-list a:hover {background:color-mix(in srgb,var(--reading-mark) 9%,var(--reading-paper))}
.tool-leaf {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.18fr);gap:clamp(2rem,7vw,7rem);align-items:start;width:min(92%,78rem);padding-block:clamp(3rem,7vw,7rem);margin:auto}
.tool-leaf h2,.publication-index h2,.folio h1,.folio h2,.folio h3 {font-family:var(--body,system-ui),sans-serif;font-style:normal;letter-spacing:-.045em;text-wrap:balance}
.tool-leaf .leaf-intro h2,.publication-index h2 {font-size:clamp(1.9rem,3.6vw,3.7rem);line-height:1.05;max-width:19ch;color:inherit;margin:0 0 1.1rem}
.leaf-intro p,.single-source p,.folio p {line-height:1.55}
.leaf-intro>a,.single-source a,.source-context,.folio-reference a {font-weight:670;text-decoration:underline;text-underline-offset:.2em}
.tool-leaf > :last-child {min-width:0;background:var(--reading-paper);color:var(--reading-ink);padding:clamp(1.15rem,3vw,2.25rem);border-top:4px solid var(--reading-mark)}
.tool-leaf form,.folio-editor {display:grid;gap:.75rem}
.tool-leaf label,.folio-editor label {display:grid;gap:.38rem;font:650 .92rem/1.4 var(--body,system-ui);color:inherit}
.tool-leaf input:not([type=checkbox]),.tool-leaf select,.folio-editor :is(textarea,select) {width:100%;min-width:0;box-sizing:border-box;min-height:46px;background:#fff;color:#17271f;border:1px solid color-mix(in srgb,var(--reading-ink) 52%,white);border-radius:3px;font:500 1rem/1.45 var(--body,system-ui);padding:.62rem .75rem}
.tool-leaf button,.folio button,.folio-next a {appearance:none;justify-self:start;width:auto;min-height:44px;padding:.65rem 1rem;border:1px solid transparent;background:var(--reading-ink);color:white;border-radius:3px;font:650 .92rem/1.4 var(--body,system-ui);cursor:pointer}
.tool-leaf button:hover,.folio button:hover,.folio-next a:hover {background:var(--reading-mark);color:white}
.tool-leaf :focus-visible,.folio :focus-visible,.publication-index a:focus-visible,.task-routes a:focus-visible {outline:3px solid var(--reading-mark);outline-offset:3px}
.leaf-fields,.template-output {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.tool-leaf output,.bank-result,.decision-stamp,.radius-summary {display:block;border-top:1px solid color-mix(in srgb,currentColor 30%,transparent);margin-top:1.25rem;padding-top:1rem;font:500 .95rem/1.5 var(--body,system-ui);color:inherit}
.tool-leaf :is(.bank-result,.decision-stamp,.radius-summary)>strong {display:block;font:740 clamp(1.22rem,2vw,1.9rem)/1.15 var(--body,system-ui);letter-spacing:-.035em;color:inherit}
.tool-leaf p {max-width:64ch}
.tool-leaf .radius-summary output {margin:0;border:none;padding:.6rem 0}
.tool-leaf .template-output {margin:1.4rem 0}
.template-output h3 {font:650 .91rem var(--body,system-ui);color:inherit}
.template-output pre {white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:.8rem;background:#1c303a;color:#e9f6f7;font:500 .82rem/1.6 ui-monospace,monospace}
.zone-register dl {margin:1rem 0}.zone-register dl>div {display:grid;grid-template-columns:4.5rem 1fr;padding:.8rem 0;border-top:1px solid #afbcac}
.zone-register [hidden] {display:none}.zone-register dt {font:700 1rem/1.5 ui-monospace,monospace}.zone-register dd {margin:0}.zone-register dd p {margin:.25rem 0;font-size:.92rem;color:inherit}
.single-source {margin:1.5rem 0 0;border-inline-start:3px solid var(--reading-mark);padding:.25rem 1rem}
.decision-slip fieldset {padding:.8rem 0 0;margin:0;border:0}
.decision-slip fieldset label {display:flex;align-items:center;gap:.65rem;min-height:38px}
.decision-slip input[type=checkbox] {accent-color:var(--reading-mark);width:1.12rem;height:1.12rem}
.decision-stamp p,.bank-result p {color:inherit;margin-bottom:0}
#radius-result table {width:100%;margin-top:1rem;table-layout:fixed;font-size:.87rem;border-collapse:collapse}
#radius-result caption {text-align:left;font-weight:650}
#radius-result :is(th,td) {padding:.55rem .25rem;text-align:left;border-bottom:1px solid #adbbab;overflow-wrap:anywhere;color:inherit}
.publication-index {background:var(--reading-paper);color:var(--reading-ink);padding:clamp(2.4rem,6vw,5rem) 0}
.publication-index>div {display:grid;grid-template-columns:.72fr 1.28fr;gap:2rem}
.publication-list a {display:grid;grid-template-columns:1fr auto;align-items:center;gap:.15rem 1rem;border-top:1px solid var(--reading-mark);padding:.95rem .5rem;color:inherit;text-decoration:none}
.publication-list span {font:550 .82rem/1.45 var(--body,system-ui)}.publication-list strong {font:670 clamp(1.22rem,2vw,1.7rem)/1.2 var(--body,system-ui);grid-column:1}
.publication-list b {grid-column:2;grid-row:1/3;font-size:1.4rem}
body.reading-folio > :not(.folio-surface):not(.product-mast):not(.product-foot):not(.product-skip):not(script):not(template):not(style),.folio-surface[hidden] {display:none!important}
.folio {background:#faf9f5;color:var(--reading-ink);font:450 1rem/1.5 var(--body,system-ui);padding-bottom:clamp(1.7rem,5vw,5rem)}
.folio-wrap {max-width:78rem;width:92%;margin:auto}
.folio-crumbs {display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;padding:1.2rem 0;border-bottom:1px solid var(--reading-mark);font-size:.88rem;color:inherit}
.folio-crumbs a,.folio-reference a {color:inherit}.folio-crumbs a {font-weight:750}
.folio-cover {display:grid;grid-template-columns:1.12fr 1fr;gap:clamp(2rem,5vw,6rem);align-items:center;padding:clamp(2rem,5vw,5rem) 0}
.folio-kicker {font:700 .77rem/1.4 var(--body,system-ui);letter-spacing:.09em;text-transform:uppercase;color:var(--reading-mark);margin:0 0 .9rem}
.folio h1 {font-size:clamp(2.8rem,5.7vw,5.7rem);line-height:1.01;max-width:17ch;margin:0;color:inherit;font-weight:730}
.folio-cover>div>p:last-child {font-size:clamp(1rem,1.45vw,1.22rem);max-width:52ch;margin:1.25rem 0 0;color:inherit}
.folio-photo {position:relative;margin:0;background:var(--reading-ink);height:clamp(15rem,26vw,23rem);overflow:hidden;isolation:isolate}
.folio-photo img {width:100%;height:100%;object-fit:cover;display:block}
.folio-photo figcaption {position:absolute;bottom:0;inset-inline:0;padding:1.25rem 1.4rem;background:linear-gradient(transparent,#101810eb 38%);color:#fff;display:grid;gap:.25rem;padding-top:3rem}
.folio-photo strong {font:750 clamp(1.9rem,3.8vw,3.65rem)/1 var(--body,system-ui);letter-spacing:-.055em;color:white}.folio-photo span {font-size:.88rem;color:white}
.folio h2 {font-size:clamp(1.65rem,3.1vw,2.8rem);line-height:1.1;margin:0 0 1.2rem;color:inherit}
.folio h3 {font-size:1.17rem;line-height:1.3;margin:0 0 .55rem;color:inherit}
.folio-record {background:var(--reading-ink);color:#fff;padding:clamp(1.1rem,3.4vw,3rem)}
.folio-record table {width:100%;border-collapse:collapse;table-layout:fixed;color:white}
.folio-record caption {color:#fff;text-align:left;font-size:.85rem;padding-bottom:1rem}
.folio-record :is(th,td) {background:none;color:white;border:none;border-top:1px solid #ffffff4d;text-align:start;vertical-align:top;font-size:clamp(.84rem,1.05vw,1rem);padding:.9rem .6rem;overflow-wrap:anywhere}
.folio-record th {font-weight:700;color:#fff}
.folio-findings {padding:clamp(2.5rem,6vw,5rem) 0}
.folio-findings>div {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.2rem,3vw,2.8rem)}
.folio-findings>div>div {padding-top:1rem;border-top:2px solid var(--reading-mark)}
.folio-findings p,.folio-reference p {margin:.3rem 0 .8rem;color:inherit}
.folio-reference,.folio-station {display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(1.5rem,5vw,5.5rem)}
.folio-reference {border-top:1px solid var(--reading-mark);padding:2rem 0}
.folio-next {display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.folio-next a {display:inline-flex;align-items:center;text-decoration:none}
.folio-next a+a,.folio button[data-print],.folio-editor button {background:transparent;color:var(--reading-ink);border:1px solid var(--reading-mark)}
.folio-station {grid-template-columns:1fr .9fr;align-items:start;margin:0 0 3rem}
.folio-editor {gap:1rem;border-top:3px solid var(--reading-mark);padding-top:1.25rem}
.folio-editor h2 {margin:0}.folio-editor textarea {resize:vertical}
.folio-hint,.folio-status {font-size:.87rem;margin:.15rem 0;color:inherit}
.folio-note {background:var(--reading-paper);padding:clamp(1.2rem,3.6vw,3rem);color:var(--reading-ink);border-top:3px solid var(--reading-ink)}
.folio-note dl {display:grid;gap:1.2rem;margin:1.6rem 0}.folio-note dt {font-size:.8rem;font-weight:700;letter-spacing:.04em}
.folio-note dd {margin:.3rem 0 0;font-size:1.05rem;white-space:pre-line;overflow-wrap:anywhere;color:inherit}
.folio-actions {display:flex;gap:.5rem;flex-wrap:wrap}.folio-status {margin-top:.6rem}
.folio-pog .folio-photo img {object-position:50% 45%}.folio-av .folio-photo,.folio-wcag .folio-note {border-radius:0 1.6rem 0 0}
.folio-payouts .folio-note {border-bottom:3px double var(--reading-mark)}.folio-route .folio-photo {border-radius:1.8rem 0}
@media(max-width:760px){
 .tool-leaf,.publication-index>div,.folio-cover,.folio-findings>div,.folio-station,.folio-reference {grid-template-columns:minmax(0,1fr);gap:1.3rem}
 .task-routes-inner {grid-template-columns:1fr}.task-routes-inner a {padding:.85rem 2rem .85rem 0}.task-routes-inner a+a {border-inline-start:0;border-top:1px solid color-mix(in srgb,currentColor 22%,transparent)}
 .task-routes-inner a:after {top:1rem;right:.3rem}.task-routes-inner span {max-width:none}
 .leaf-fields,.template-output {grid-template-columns:minmax(0,1fr)}
 .folio-photo {height:13.5rem}.folio-cover {padding:1.9rem 0 1.5rem}
 .folio-studio .folio-photo {height:8.5rem}.folio-photo figcaption {padding:2.7rem 1rem .9rem}
 .folio-record table,.folio-record tbody,.folio-record tr,.folio-record td {display:block;width:100%}
 .folio-record thead {position:absolute;height:1px;width:1px;overflow:hidden;clip-path:inset(50%)}
 .folio-record tr {padding:.65rem 0;border-top:1px solid #ffffff70}
 .folio-record td {display:grid;grid-template-columns:minmax(5rem,.8fr) minmax(0,1.2fr);gap:.5rem;border:none;padding:.22rem 0;box-sizing:border-box}
 .folio-record td:before {content:attr(data-label);font-size:.8rem;color:#f0f3eb;font-weight:650}
 .folio-wrap,.tool-leaf,.publication-index>div {width:min(92%,78rem)}
 .folio-next a {flex:1 0 100%}
}
@media print {
 .task-routes,.tool-leaf,.publication-index,.folio-crumbs,.folio-editor,.folio-actions,.folio-next,.folio-status,.folio-studio .folio-photo,.folio-studio .folio-reference,.folio-studio .folio-cover {display:none!important}
 .folio,.folio-wrap,.folio-station,.folio-note {display:block;width:100%;max-width:none;margin:0;padding:0;background:white;color:black}
 .folio-note {padding:1rem 0}.folio-note dd {color:black}.folio-record {background:white;color:black;border:1px solid #333}
 .folio-record :is(th,td,caption) {color:black}
}


.folio-mast {display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid var(--reading-mark)}
.folio-mast .folio-crumbs {border:0}.folio-shortcuts {display:flex;align-items:center;gap:1.2rem;font-size:.86rem;font-weight:650}
.folio-shortcuts a,.inline-edition {color:inherit;text-underline-offset:.24em}
.inline-edition {display:inline-flex;align-items:center;min-height:44px;font-weight:650;text-decoration:underline;margin-block:.4rem}
.folio h1[tabindex="-1"]:focus {outline:none}
.folio-studio .folio-cover {padding-block:clamp(1.85rem,3.2vw,3.6rem)}
.folio-studio .folio-cover h1 {font-size:clamp(2.3rem,4.4vw,4.4rem)}
.folio-studio .folio-photo {height:clamp(10rem,17vw,15rem)}
.folio-av .folio-record {border-inline-start:6px solid #62a7b3}
.folio-pog .folio-record {color:#16382b;background:#e2e9d7;border-block:1px solid #718468}
.folio-pog .folio-record :is(td,th,caption),.folio-pog .folio-record td:before {color:#193c30;border-color:#93a585}
.folio-route .folio-record {background:#18382c;border-bottom:4px solid #c9d95e}
.folio-wcag .folio-record {background:#f0e7e9;color:#412834;border-top:4px solid #88445c}
.folio-wcag .folio-record :is(td,th,caption),.folio-wcag .folio-record td:before {color:#442b39;border-color:#beaeb5}
.folio-payouts .folio-record {background:#fffdf5;color:#332d1e;border-block:3px double #8b764d}
.folio-payouts .folio-record :is(td,th,caption),.folio-payouts .folio-record td:before {color:#362e20;border-color:#c9bca2}
.folio-photo > :is(.asset-strip,.version-strip,.control-line,.focus-proof,.amount-proof) {position:absolute;top:1rem;left:1rem;right:1rem;display:flex;align-items:center;gap:.65rem;width:fit-content;max-width:calc(100% - 2rem);padding:.55rem .7rem;background:#11242b;color:white;border:1px solid #ffffff70;font:600 .75rem/1.3 ui-monospace,monospace}
.folio-photo>div span,.folio-photo>div b {color:inherit;font:inherit}
.folio-photo .version-strip {background:#f6fae9;color:#183828;border:1px solid #78936c}
.folio-photo .control-line {background:#132e24}.control-line span:before,.control-line b:before {content:'';display:inline-block;width:.45rem;height:.45rem;margin-right:.3rem;border-radius:50%;background:#c5db81}
.control-line b:before {background:#ffb580}
.folio-photo .focus-proof {background:#f6eff2;color:#4a2a38}.focus-proof b {padding:.18rem .5rem;border:1px solid currentColor}
.folio-photo .amount-proof {background:#fffaea;color:#332d1e}
@media(max-width:760px){
 .folio-mast {display:block;padding:.55rem 0}.folio-mast .folio-crumbs {padding:.25rem 0}
 .folio-shortcuts {font-size:.8rem;flex-wrap:wrap;gap:0 1rem}.folio-shortcuts a {padding:.55rem 0}
 .folio-studio .folio-photo {display:none}
}
@media print {.folio-mast {display:none!important}}

/* The main tool, its supporting records and the printable handoff share a reading grid. */
@media screen {
  html[data-product] {
    --spread: 80rem;
    --gutter: clamp(1.15rem, 4.2vw, 3.75rem);
    --inset: max(var(--gutter), calc((100% - var(--spread)) / 2));
    --section-space: clamp(2.65rem, 4.8vw, 4.75rem);
    --section-gap: clamp(1.5rem, 4vw, 4.4rem);
    scroll-padding-block-start: 1rem;
  }
  [data-product] :is(.shell,.wrap,.frame,.task-routes-inner,.publication-index>div,.folio-wrap) {
    width: min(calc(100% - 2 * var(--gutter)), var(--spread));
    max-width: var(--spread);
    margin-inline: auto;
  }
  [data-product] main .hero.cover {
    width: 100%;
    max-width: none;
    padding-inline: var(--inset);
  }
  [data-product] main .hero.cover h1 {
    font-size: clamp(2.5rem, 4.4vw, 4.35rem);
    line-height: 1.025;
    letter-spacing: -.052em;
    text-wrap: balance;
  }
  [data-product] main :is(.section-title,.publication-index .section-title),
  [data-product] main .tool-leaf .leaf-intro h2 {
    font: 680 clamp(1.85rem, 2.65vw, 2.8rem)/1.08 var(--body, system-ui);
    max-width: 27ch;
    margin-block: 0 .6em;
    letter-spacing: -.042em;
    text-wrap: balance;
  }
  [data-product] main :is(.bench,.roadbook,.dossier,.tool-leaf,.upload-spread,.method,.faq,.validator-section,.demo-section,.case-section,.publication-index) {
    padding-block: var(--section-space);
  }
  [data-product] main :is(.tool-leaf,.upload-spread,.method,.dossier,.bench,.roadbook,.validator-section,.questions-inner,.rules,.faq-inner,.workflow-inner) {column-gap: var(--section-gap)}
  [data-product] main :is(.leaf-intro,.case-intro,.bench-copy,.section-heading,.validator-copy,.dossier>div,.method-intro,.method-copy,.rules-intro,.upload-spread>div) > p {
    max-width: 55ch;
    line-height: 1.62;
    text-wrap: pretty;
  }
  [data-product] main :is(.tool-leaf,.folio-editor,.folio-note,.publication-list,.form-holder,.work-layout,.hero-copy,.case-report,.case-intro,.validator-copy) {min-width:0}
  [data-product] main .tool-leaf {align-items: center}
  [data-product] .tool-leaf > :last-child {
    background: #fffdf7;
    border: 1px solid color-mix(in srgb,var(--reading-ink) 36%,white);
    border-top: 3px solid var(--reading-mark);
    border-radius: .4rem;
    padding: clamp(1.1rem, 2.35vw, 2rem);
  }
  [data-product] .tool-leaf :is(form+div,output) {overflow-wrap: anywhere}
  [data-product] .tool-leaf :is(button,select,input:not([type=checkbox])) {min-height: 44px}
  [data-product] main .publication-index > div {align-items: start}
  [data-product] .publication-list a {
    padding: 1.05rem 2.8rem 1.15rem .85rem;
    position: relative;
    grid-template-columns: minmax(0,1fr);
    gap: .25rem;
  }
  [data-product] .publication-list b {position:absolute;right:.8rem;top:1rem}
  [data-product] .publication-list p {margin:0;color:inherit;font:normal .94rem/1.5 var(--body);max-width:57ch}
  [data-product] .publication-list a:hover {text-decoration:underline;text-underline-offset:.2em}
  [data-product] main :is(summary,.source-links a,.folio-shortcuts a,.inline-edition) {align-content:center;min-height: 42px}
  [data-product] main :is(input,textarea,select):focus-visible {outline:3px solid var(--reading-mark);outline-offset:2px}
  [data-product] .folio h1 {font-size:clamp(2.35rem,4.3vw,3.9rem);max-width:23ch;line-height:1.05}
  [data-product] .folio h2 {font-size:clamp(1.5rem,2.3vw,2.25rem)}
  [data-product] .folio .folio-cover {padding-block:clamp(1.75rem,3.2vw,3.2rem);gap:var(--section-gap)}
  [data-product] .folio-studio .folio-cover {display:block;border-bottom:1px solid color-mix(in srgb,var(--reading-ink) 22%,transparent)}
  [data-product] .folio-studio .folio-cover p:last-child {max-width:68ch}
  [data-product] .folio .folio-station {gap:var(--section-gap);align-items:start;padding-block:var(--section-space)}
  [data-product] .folio .folio-note {border-radius:0 .5rem .5rem 0}
  [data-product] .folio .folio-note dl {margin-block:1rem}
  [data-product] .folio-note dl>div {padding-bottom:.9rem;border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent)}
  [data-product] .folio-editor textarea {font-size:1rem;line-height:1.5}
  [data-product] .folio .folio-reference {gap:var(--section-gap)}
  [data-product] main .task-routes-inner a {padding-block:1.05rem}
  [data-product] .detour-reading {display:flex;gap:2rem;border-block:1px solid #a9b4a3;padding:.85rem 0;margin:1.1rem 0}
  [data-product] .detour-reading dt {font:600 .85rem/1.5 var(--body);color:#495d50}
  [data-product] .detour-reading dd {margin:.25rem 0 0;font:720 1.55rem/1.1 var(--body);color:#20382c}
  [data-product] .slip-reference {display:flex;align-items:center;gap:.65rem;padding-bottom:.85rem;margin-bottom:1.1rem;border-bottom:1px solid #c7c4bc;font-size:.92rem}
  [data-product] .slip-reference strong {font:700 .84rem/1.4 ui-monospace,monospace;padding:.22rem .45rem;background:var(--reading-paper);color:var(--reading-ink)}

  [data-product="av"] main #register-template {background:#151c19;color:#f8f4e9;box-shadow:0 0 0 100vmax #151c19;clip-path:inset(0 -100vmax)}
  [data-product="av"] #register-template .leaf-intro :is(h2,p) {color:#f8f4e9}
  [data-product="av"] #register-template .leaf-intro>a {color:#ffd3aa}
  [data-product="av"] #register-template .asset-station {color:#202d29;border-color:#7b897b;border-top-color:#d09158;background:#f4f0e6}
  [data-product="av"] .asset-station .template-output {gap:.7rem}
  [data-product="av"] .asset-station .template-output pre {box-sizing:border-box;height:auto;color:#fff7e8;background:#24332c;border-radius:3px}
  [data-product="av"] .bench .case-note summary {color:#ffd0a2}
  [data-product="av"] :is(.workspace-band,.rules-band) {border-top-width:2px}
  [data-product="av"] .folio-record {background:#203235;border-left-color:#cf915f}

  [data-product="pog"] main .hero.cover {background:#173a2f;padding-block:clamp(1.8rem,3.5vw,3.65rem)}
  [data-product="pog"] main .cover .map-figure {min-width:0;position:relative;align-self:center;border:1px solid #859b84;border-radius:.45rem;background:#f7f3e8}
  [data-product="pog"] .cover .map-image {position:relative;flex:none;min-height:0;aspect-ratio:1000/554;isolation:isolate}
  [data-product="pog"] .cover .map-image img {position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);transform:none}
  [data-product="pog"] .cover .map-overview {display:none}
  [data-product="pog"] .survey-sheet {position:absolute;inset:0;width:100%;height:100%;display:none}
  [data-product="pog"] .map-figure:not(.show-change-area) .map-image > .rev-13-05.extent-whole,
  [data-product="pog"] .show-change-area .map-image > .rev-13-05.extent-detail,
  [data-product="pog"] .map-figure:not(.show-change-area) .atlas-curtain .extent-whole,
  [data-product="pog"] .show-change-area .atlas-curtain .extent-detail {display:block}
  [data-product="pog"] .map-figure.revision-june .atlas-curtain {display:block!important;clip-path:none}
  [data-product="pog"] .cover :is(.map-header,.map-caption,.extent-bar) {padding-inline:clamp(.8rem,1.6vw,1.4rem)}
  [data-product="pog"] .cover .map-controls button,[data-product="pog"] .extent-bar button {min-height:40px}
  [data-product="pog"] .atlas-key dt::before {content:"";display:inline-block;width:.6em;height:.6em;margin-right:.45em;border:1px solid #fff9}
  [data-product="pog"] .map-key-removed::before {background:#a74424}
  [data-product="pog"] .map-key-geometry::before {background:#71619e}
  [data-product="pog"] .case-section {border-top-width:2px}
  [data-product="pog"] .case-content {align-items:start;row-gap:1.8rem;column-gap:var(--section-gap)}
  [data-product="pog"] .revision-heading {grid-column:1/-1;display:flex;justify-content:space-between;align-items:end;gap:1rem;padding-bottom:1.4rem;border-bottom:1px solid #607d6e}
  [data-product="pog"] .revision-heading .section-title {max-width:none;margin:0;color:#f9f8eb}
  [data-product="pog"] .revision-heading p {margin:.7rem 0 0;max-width:64ch;color:#e5ebdf}
  [data-product="pog"] .revision-heading .revision-dates {display:flex;align-items:center;gap:.55rem;white-space:nowrap;color:#d9e8b8;font:600 .85rem/1.5 var(--body)}
  [data-product="pog"] .case-report {padding:clamp(1rem,2vw,1.7rem);border-radius:.35rem}
  [data-product="pog"] .case-intro h3 {color:#f9f8eb;margin:.25rem 0 .75rem;font-size:1.3rem}
  [data-product="pog"] .case-intro :is(.case-action,.source-links) {margin:.4rem 0}
  [data-product="pog"] .case-intro .source-links {display:flex;flex-wrap:wrap;gap:.2rem 1rem}
  [data-product="pog"] .case-intro #bip-help {max-width:41ch}
  [data-product="pog"] .form-holder {border-radius:.45rem;box-shadow:none}
  [data-product="pog"] .tool-leaf .zone-register {border-left:4px solid #77936e}

  [data-product="route"] .radius-sheet #radius-source {display:block;color:#284834;margin-bottom:.4rem}
  [data-product="route"] .radius-sheet #radius-verdict {border:0;padding:0;margin:0}
  [data-product="route"] .roadbook .cover-photo {object-position:50% 55%;height:clamp(13rem,20vw,19rem)}
  [data-product="route"] .route-board .map-legend {padding-block:.6rem}
  [data-product="wcag"] .proof-sheet .case-file[open] {background:#faf4ee}
  [data-product="wcag"] .proof-sheet .case-file[open] summary {border-inline-start:3px solid #85435c}
  [data-product="wcag"] .decision-slip .decision-stamp {border-left:4px solid #85435c;padding:.85rem 1rem;background:#f1e5e9}
  [data-product="wcag"] .decision-slip fieldset label {min-height:44px}
  [data-product="payouts"] .bank-matching .bank-result {background:#f1e9d8;border-block:3px double #8c754e;padding:1rem}
  [data-product="payouts"] main .hero.cover {padding-inline:0}
  [data-product="payouts"] .workflow-inner ol {font-variant-numeric:tabular-nums}
  [data-product="payouts"] .validator-section .source-context {display:block;margin-block:.8rem}

  @media(min-width:851px) {
    [data-product="pog"] main .hero.cover {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center;gap:var(--section-gap)}
    [data-product="pog"] main .cover .hero-copy {grid-area:1/1;padding:0}
    [data-product="pog"] main .cover .map-figure {grid-area:1/2}
    [data-product="pog"] .case-content {grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr)}
    [data-product] .folio-next a {width:auto;min-width:12rem}
  }
  @media(max-width:850px) {
    [data-product="pog"] main .hero.cover {display:grid;grid-template-columns:minmax(0,1fr)}
    [data-product="pog"] .revision-heading {display:block}
    [data-product="pog"] .case-content {grid-template-columns:minmax(0,1fr)}
  }
  @media(max-width:760px) {
    [data-product] main .hero.cover h1 {font-size:clamp(2.35rem,8.4vw,3.35rem)}
    [data-product] main .task-routes-inner {display:flex;flex-direction:column}
    [data-product] main .task-routes-inner a {padding:.8rem 1.8rem .8rem 0}
    [data-product] .task-routes-inner a:after {top:1rem}
    [data-product] .tool-leaf {gap:1.3rem}
    [data-product="pog"] .revision-heading {padding-bottom:1rem}
    [data-product="pog"] .revision-heading .revision-dates {flex-wrap:wrap}
    [data-product="route"] .roadbook .cover-photo {height:12rem}
    [data-product] .folio .folio-station {grid-template-columns:minmax(0,1fr)}
  }
}

@media screen {
  [data-product="wcag"] .tool-band {background:#eee6e8;color:#382839;border-block:1px solid #ccbfc6}
  [data-product="wcag"] .workspace.frame {padding-block:var(--section-space);color:#382839}
  [data-product="wcag"] .workspace .tool-intro :is(h2,p) {color:#382839}
  [data-product="wcag"] .workspace .tool-intro p {max-width:65ch}
  [data-product="wcag"] .tool-intro .dark-secondary {border-color:#80566e;color:#513447;background:transparent}
  [data-product="wcag"] .entry-modes:not([hidden]) {display:flex;align-items:stretch;gap:.35rem;margin:1.3rem 0 0;border-bottom:1px solid #ab93a1}
  [data-product="wcag"] .entry-modes button {min-height:46px;padding:.7rem 1.1rem;font:650 1rem/1.4 var(--body);background:#e6dce1;color:#513747;border:1px solid transparent;border-radius:.4rem .4rem 0 0;cursor:pointer}
  [data-product="wcag"] .entry-modes button[aria-pressed=true] {color:#fffaf6;background:#57374d}
  [data-product="wcag"] .mode-managed :is(#entry-mode,#source-tables)>summary {display:none}
  [data-product="wcag"] .workspace [hidden] {display:none!important}
  [data-product="wcag"] #entry-mode {padding:clamp(1rem,2.3vw,2rem);margin:0;border:1px solid #c5b6be;border-top:0;border-radius:0 0 .5rem .5rem}
  [data-product="wcag"] #entry-form {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:1.25rem 2.5rem;padding:0}
  [data-product="wcag"] #entry-form fieldset {margin:0;padding:0;min-width:0;border:0}
  [data-product="wcag"] #entry-form fieldset legend {padding:0;margin:0 0 .9rem;color:#57374d;font:680 1.18rem/1.4 var(--body)}
  [data-product="wcag"] #entry-form .audit-fields>div {display:grid;grid-template-columns:1fr 1fr;gap:.8rem 1rem}
  [data-product="wcag"] .audit-fields label:nth-last-child(-n+2) {grid-column:1/-1}
  [data-product="wcag"] #entry-form label {display:grid;gap:.35rem;color:#352736;font:650 .9rem/1.45 var(--body);width:100%}
  [data-product="wcag"] #entry-form :is(input,select,textarea) {display:block;width:100%;max-width:none;min-width:0;min-height:44px;margin:0;padding:.62rem .75rem;font:450 1rem/1.4 var(--body);color:#30232e;background:#fff;border:1px solid #ab98a3;border-radius:.35rem;box-sizing:border-box}
  [data-product="wcag"] #entry-form .retest-evidence {display:grid;gap:.8rem;margin-top:.8rem}
  [data-product="wcag"] #entry-form textarea {resize:vertical}
  [data-product="wcag"] #entry-form .retest-requirements {margin:.85rem 0;color:#5d4655;padding:.65rem .8rem;background:#f1e9ec;border-left:3px solid #937086}
  [data-product="wcag"] #entry-form>button {justify-self:start;align-self:center;margin:0}
  [data-product="wcag"] #entry-feedback {align-self:center;margin:0}
  [data-product="wcag"] .workspace #comparison {margin-top:1rem;border:1px solid #c5b6be;box-shadow:none}
  [data-product="wcag"] .mode-managed:has(#entry-mode[hidden]) #comparison {margin-top:0;border-top:0;border-radius:0 0 .5rem .5rem}
  [data-product="wcag"] .workspace .tool-status {color:#513749}
  @media(max-width:680px) {
    [data-product="wcag"] #entry-form {grid-template-columns:minmax(0,1fr);gap:1.25rem}
    [data-product="wcag"] #entry-form .retest-fields {padding-top:.75rem;border-top:1px solid #d4c6ce}
    [data-product="wcag"] #entry-form input {font-size:1rem}
    [data-product="wcag"] .entry-modes button {flex:1;padding-inline:.45rem}
  }
}

@media screen {
  [data-product] .tool-leaf #use-register-pair {margin-top:1rem}
  [data-product="route"] .route-stage {min-width:0;padding:1.15rem clamp(.9rem,2vw,1.5rem);border:1px solid #afbaaa;border-radius:.4rem;margin:0 0 1.1rem}
  [data-product="route"] .route-stage legend {padding:0 .4rem;color:#244031;font:700 1.06rem/1.35 var(--body)}
  [data-product="route"] .route-stage .file-columns {margin:0}
  [data-product="payouts"] .balance-readings .compare-group {display:block;min-height:42px;margin-top:.55rem;padding:.45rem .75rem;font:650 .9rem/1.45 var(--body);color:#463c26;background:#fbf8ee;border:1px solid #a69a83;border-radius:3px;cursor:pointer}
  [data-product="wcag"] #comparison .form-actions {align-items:center}
  [data-product="wcag"] #comparison .queue-length {font:.9rem/1.5 var(--body);margin:0 auto 0 0;color:#634d5b}
  [data-product="wcag"] #comparison .form-actions [disabled] {color:#5e565b;background:#ece7ea;border-color:#c8bec4;cursor:not-allowed}
  [data-product="wcag"] #comparison .form-actions .hint:empty {display:none}
}

@media screen {
  [data-product="route"] .route-board .layer-switch {color:#23382c;background:#e8ebde}
  [data-product="route"] .layer-switch label {color:#23382c}
  [data-product="route"] .layer-switch label span {color:#243c2d;background:#f4f6e8}
  [data-product="route"] .layer-switch input:checked+span {color:#152c1c;background:#daed9e}
  [data-product="route"] #compare .work-layout {display:block;padding-block:var(--section-space)}
  [data-product="route"] #compare .section-heading {display:flex;align-items:baseline;flex-wrap:wrap;gap:.65rem 2rem;margin-bottom:1.4rem}
  [data-product="route"] #compare .section-heading h2 {flex:1 0 100%;margin:0}
  [data-product="route"] #compare .section-heading p {max-width:70ch;margin:0}
  [data-product="route"] #verify {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem 1.3rem}
  [data-product="route"] #verify .route-stage {background:#fffdf5;border-top:3px solid #63846a;margin:0}
  [data-product="route"] #verify .form-actions {grid-column:1/-1;margin:0;justify-content:flex-start;align-items:end;gap:1rem}
  [data-product="route"] #verify :is(#tolerance-help,#error) {grid-column:1/-1;margin:0}
  [data-product="route"] #verify .file-columns {display:grid;grid-template-columns:1fr;gap:.65rem}
  [data-product="route"] #verify .file-block {padding:.7rem .95rem;background:#f3f2e7}
  [data-product="route"] #verify .file-block summary {min-height:36px}
  [data-product="wcag"] #entry-form .retest-fields {padding:.95rem 1rem 1.1rem;background:#f5edef;border:1px solid #d8c9d1;border-radius:.35rem;align-self:start}
  [data-product="wcag"] #entry-form .retest-fields legend {padding:0 .3rem;margin:0}
  [data-product="av"] #register-template {display:block}
  [data-product="av"] #register-template .leaf-intro {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem 2rem;align-items:start;margin:0 0 1.4rem}
  [data-product="av"] #register-template .leaf-intro h2 {margin:0;grid-row:1/3}
  [data-product="av"] #register-template .leaf-intro p {margin:0}
  [data-product="av"] #register-template .leaf-intro a {justify-self:start}
  [data-product="av"] #register-template .asset-station {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;padding:0;overflow:hidden}
  [data-product="av"] #asset-template {padding:clamp(1rem,2vw,1.7rem);align-content:start}
  [data-product="av"] .asset-output {background:#24332c;color:#fbf5e8;padding:clamp(1rem,2vw,1.7rem)}
  [data-product="av"] .asset-output .template-output {margin:0;grid-template-columns:minmax(0,1fr);gap:.7rem}
  [data-product="av"] .asset-output .template-output h3 {margin:0 0 .35rem;color:#ffd2a4}
  [data-product="av"] .asset-output .template-output pre {padding:.45rem .65rem;background:#17221d;border-left:2px solid #92a288}
  [data-product="av"] .asset-output button {background:#f8ead8;color:#213127}
  [data-product="payouts"] .settlement-sheet {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:1.35rem;padding-block:var(--section-space);align-items:start}
  [data-product="payouts"] .settlement-sheet :is(#csv,#kwota-przelewu) {display:block;width:100%;margin:0;padding:clamp(1rem,1.8vw,1.5rem);color:#332d20;background:#fffdf6;border-radius:.4rem;border:1px solid #baaf98;border-top:3px solid #907647;box-sizing:border-box}
  [data-product="payouts"] .settlement-sheet .settlement-heading {grid-column:1/-1;color:#342f21}
  [data-product="payouts"] .settlement-heading .section-title {margin:0}
  [data-product="payouts"] .settlement-heading p {max-width:70ch;margin:.75rem 0 .1rem}
  [data-product="payouts"] .settlement-sheet :is(.bank-matching,.validator) {border:0;box-shadow:none;padding:0;background:transparent}
  [data-product="payouts"] .settlement-sheet :is(#csv-heading,.leaf-intro h3) {font:700 1.25rem/1.35 var(--body);margin:0 0 1rem;color:#342f21}
  [data-product="payouts"] .settlement-sheet .leaf-intro p {margin:.45rem 0 .6rem}
  [data-product="payouts"] .settlement-sheet .leaf-intro a {display:inline-block;margin-bottom:.85rem}
  [data-product="payouts"] .settlement-sources {grid-column:1/-1;display:flex;align-items:center;gap:.6rem 1.5rem;flex-wrap:wrap;border-top:1px solid #bcb29e;padding:.8rem 0;color:#514733;font-size:.89rem}
  [data-product="payouts"] .settlement-sources p {margin:0;flex:1 1 25rem}
  @media(max-width:760px) {
    [data-product="av"] #register-template :is(.leaf-intro,.asset-station),
    [data-product="route"] #verify,[data-product="payouts"] .settlement-sheet {grid-template-columns:minmax(0,1fr)}
    [data-product="av"] #register-template .leaf-intro h2 {grid-row:auto}
    [data-product="route"] #verify .form-actions {flex-wrap:wrap}
  }
}

:root[data-product="av"] {--mast-selected:#354038;--mast-surface:#141b17;--mast-ink:#f6f2e9;--mast-accent:#ffc08c;--mast-button-ink:#342315;--foot-surface:#1b2420;--foot-ink:#f4efe4;--foot-muted:#cccec2}
:root[data-product="pog"] {--mast-surface:#f7f4e9;--mast-ink:#17382f;--mast-accent:#244f3d;--mast-button-ink:#fffdf0;--foot-surface:#18382e;--foot-ink:#f3f4df;--foot-muted:#cad9c8}
:root[data-product="route"] {--mast-surface:#f7f5e9;--mast-ink:#20392c;--mast-accent:#294c36;--mast-button-ink:#f9f9e8;--foot-surface:#203a2c;--foot-ink:#fcf7e6;--foot-muted:#d0dbca}
:root[data-product="wcag"] {--mast-selected:#54394c;--mast-surface:#30232f;--mast-ink:#fcf7f2;--mast-accent:#f4d4d9;--mast-button-ink:#462534;--foot-surface:#382937;--foot-ink:#fdf7f4;--foot-muted:#e0cfd7}
:root[data-product="payouts"] {--mast-surface:#f6f0e1;--mast-ink:#373324;--mast-accent:#284638;--mast-button-ink:#fffaf0;--foot-surface:#292f25;--foot-ink:#fbf3dd;--foot-muted:#d9d3c1}
.product-skip {position:fixed;left:1rem;top:0;transform:translateY(-170%);z-index:110;background:white;color:#172a23;border:2px solid currentColor;padding:.8rem 1rem;font:650 1rem/1.4 system-ui}
.product-skip:focus {transform:translateY(.5rem)}
.content-start {display:block;height:0}
@media screen {
  [data-product] .product-mast {display:block;position:relative;z-index:10;width:100%;margin:0;padding:0;background:var(--mast-surface);color:var(--mast-ink);border:0;border-bottom:1px solid color-mix(in srgb,var(--mast-ink) 28%,var(--mast-surface))}
  [data-product] :is(.mast-inner,.foot-inner,.foot-bottom) {width:min(calc(100% - 2 * var(--gutter)),var(--spread));margin:auto}
  [data-product] .mast-inner {display:flex;align-items:center;gap:clamp(1rem,2.5vw,2.5rem);min-height:68px}
  [data-product] .mast-brand {display:inline-flex;align-items:center;gap:.62rem;flex-shrink:0;color:inherit;text-decoration:none;font:720 1.16rem/1.2 var(--body);letter-spacing:-.036em}
  [data-product] .product-mast .mast-nav {display:flex;align-items:center;gap:.3rem;margin-inline:auto;margin-block:0}
  [data-product] .mast-nav a,[data-product] .mast-actions .account-entry {display:inline-flex;align-items:center;min-height:44px;padding:.4rem .68rem;background:transparent;border:0;border-radius:.3rem;color:var(--mast-ink);font:610 .92rem/1.4 var(--body);text-decoration:none}
  [data-product] .mast-nav a:hover,[data-product] .mast-nav a[aria-current=page],[data-product] .mast-actions .account-entry:hover {background:var(--mast-selected,#e4e6d9)}
  [data-product] .mast-nav a[aria-current=page] {text-decoration:underline;text-underline-offset:.3em}
  [data-product] .mast-actions {display:flex;align-items:center;gap:.7rem}
  [data-product] .mast-actions .mast-action {display:inline-flex;align-items:center;gap:.85rem;min-height:42px;padding:.58rem .95rem;border:1px solid transparent;border-radius:.35rem;background:var(--mast-accent);color:var(--mast-button-ink);font:680 .92rem/1.3 var(--body);text-decoration:none}
  [data-product] .mast-action::after {content:'↓';font-size:1em}
  [data-product] .product-mast a:focus-visible,[data-product] .product-foot a:focus-visible,[data-product] .product-mast summary:focus-visible {outline:2px solid currentColor;outline-offset:2px}
  [data-product] .product-mast .compact-sections {display:none}
  [data-product] .product-mast .compact-sections:not([open]) nav {display:none}
  [data-product] .product-mast [hidden],[data-product] .product-foot [hidden] {display:none!important}
  [data-product] .product-foot {padding:0;margin:0;border:0;background:var(--foot-surface);color:var(--foot-ink)}
  [data-product] .foot-inner {display:grid;grid-template-columns:minmax(15rem,1.4fr) repeat(2,minmax(0,1fr));gap:clamp(1.5rem,5vw,5rem);padding-block:clamp(2.2rem,4vw,4rem) 1.75rem}
  [data-product] .product-foot .mast-brand {font-size:1.38rem;color:var(--foot-ink)}
  [data-product] .product-foot .foot-identity p {max-width:35ch;margin:.85rem 0 0;color:var(--foot-muted);font:440 .95rem/1.55 var(--body)}
  [data-product] .product-foot .foot-links {display:flex;align-items:flex-start;flex-direction:column;gap:0;background:transparent}
  [data-product] .product-foot .foot-links h2 {margin:0 0 .48rem;color:var(--foot-muted);font:700 .87rem/1.4 var(--body);letter-spacing:0}
  [data-product] .foot-links a,[data-product] .foot-bottom a {display:inline-flex;align-items:center;min-height:40px;margin:0;color:var(--foot-ink);font:560 .94rem/1.4 var(--body);text-decoration:none}
  [data-product] .foot-links a:hover,[data-product] .foot-bottom a:hover {text-decoration:underline;text-underline-offset:.22em}
  [data-product] .foot-bottom {border-top:1px solid color-mix(in srgb,var(--foot-ink) 28%,var(--foot-surface));padding-block:.5rem .8rem;display:flex;gap:1rem;justify-content:space-between}
  [data-product] .foot-bottom .foot-return {margin-inline-start:auto}
  [data-product] .folio-mast .folio-crumbs {padding-block:.85rem}
  @media(max-width:920px) {
    [data-product] .mast-inner {min-height:58px;justify-content:space-between}
    [data-product] .product-mast :is(.mast-nav,.mast-actions) {display:none}
    [data-product] .product-mast .compact-sections {display:block;position:relative;margin:0;color:var(--mast-ink)}
    [data-product] .product-mast .compact-sections summary {background:transparent;border:1px solid color-mix(in srgb,currentColor 42%,transparent);color:var(--mast-ink);min-height:42px;display:inline-flex;align-items:center;gap:.6rem;padding:.55rem .8rem;border-radius:.35rem;cursor:pointer;font:650 .93rem/1.4 var(--body);list-style:none}
    [data-product] .product-mast .compact-sections[open] > nav {display:grid;gap:0;position:absolute;inset:calc(100% + .35rem) 0 auto auto;z-index:15;width:min(19rem,calc(100vw - 2.5rem));max-width:none;background:var(--mast-surface);color:var(--mast-ink);padding:.5rem;border:1px solid color-mix(in srgb,currentColor 35%,var(--mast-surface));border-radius:.4rem;box-shadow:0 .65rem 1.8rem #14201c24}
    [data-product] .product-mast .mobile-product-nav a:not([hidden]) {display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:.65rem .85rem;background:transparent;color:inherit;text-decoration:none;font:600 .98rem/1.35 var(--body)}
    [data-product] .product-mast .mobile-product-nav .mobile-primary {background:var(--mast-accent);color:var(--mast-button-ink);border-radius:.25rem}
    [data-product] .mobile-product-nav a[aria-current=page] {text-decoration:underline;text-underline-offset:.3em}
    [data-product] .foot-inner {grid-template-columns:1fr 1fr;gap:1.6rem}
    [data-product] .foot-identity {grid-column:1/-1}
  }
  @media(max-width:430px) {
    [data-product] .foot-inner {gap:1.3rem .8rem}
    [data-product] .foot-links a {min-height:44px}
  }
}
@media print {.product-mast,.product-foot,.product-skip,.survey-sheet {display:none!important}}

/* Composition of the working surfaces. The original print layouts remain separate. */
@media screen {
  html[data-product] { --spread: 83rem; }
  html[data-product] main .hero.product-opening {
    position:relative; isolation:isolate; box-sizing:border-box; display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    gap:clamp(1.5rem,4.3vw,5rem); align-items:center;
    width:100%; max-width:none; min-height:0; margin:0;
    padding:clamp(2.2rem,4.2vw,4.4rem) var(--inset);
  }
  html[data-product] .hero.product-opening .hero-copy {
    display:block; width:100%; max-width:38rem; padding:0; margin:0; align-self:center;
  }
  html[data-product] .hero.product-opening .hero-copy h1 {
    max-width:16ch; margin:.3em 0 .34em;
    font:680 clamp(2.5rem,4.75vw,4.7rem)/1.025 var(--body);
    letter-spacing:-.055em; text-wrap:balance; color:inherit;
  }
  html[data-product] .hero.product-opening .hero-copy > p:not([class]), 
  html[data-product] .hero.product-opening .hero-copy .lead {
    font:450 clamp(1.02rem,1.25vw,1.16rem)/1.55 var(--body); max-width:47ch; margin:0 0 1.4rem; color:inherit;
  }
  html[data-product] .product-opening .section-label {
    display:inline-block; color:inherit; font:680 .78rem/1.4 var(--body);
    letter-spacing:.055em; text-transform:uppercase;
  }
  html[data-product] .product-opening :is(.hero-actions,.actions,.cover-actions) {display:flex;align-items:center;gap:.72rem 1rem;flex-wrap:wrap;margin:1.1rem 0 0}
  html[data-product] .product-opening .hero-copy :is(.privacy-note,.local-note,.hero-note) {display:block;margin:.9rem 0 0;font:490 .88rem/1.4 var(--body)}
  html[data-product] main .task-routes .task-routes-inner {align-items:stretch}
  html[data-product] main .task-routes-inner a {padding:.95rem 1.1rem;text-decoration:none}
  html[data-product] main .task-routes-inner a:hover strong {text-decoration:underline;text-underline-offset:.22em}

  /* SaldoTrop: a reconciliation slip against the merchant's desk. */
  html[data-product=payouts] main .hero.product-opening {display:block;padding:0;background:#f6efdf;color:#243a2e}
  html[data-product=payouts] .hero.product-opening::before {content:none}
  html[data-product=payouts] .product-opening .cover-photo {inset:0 0 0 auto;width:50%;height:100%;object-fit:cover;object-position:center;z-index:-1;filter:brightness(.43) saturate(.72)}
  html[data-product=payouts] .product-opening .hero-inner {display:grid;grid-template-columns:1fr 1fr;min-height:0;gap:clamp(2rem,5vw,5rem);padding:clamp(2rem,4vw,4.2rem) 0;align-items:center}
  html[data-product=payouts] .product-opening .hero-copy {color:#233a2c}
  html[data-product=payouts] .product-opening .hero-copy h1 {max-width:13ch}
  html[data-product=payouts] .product-opening .hero-copy .button-primary {background:#244535;color:white;border:1px solid #244535;display:inline-flex;align-items:center;min-height:46px;padding:.7rem 1.05rem}
  html[data-product=payouts] .product-opening .hero-note {color:#514b38}
  html[data-product=payouts] .opening-link {display:inline-block;color:#284738;margin:.55rem 1rem;text-underline-offset:.25em;font:650 .93rem/1.5 var(--body)}
  html[data-product=payouts] .product-opening .hero-figure {margin:0;align-self:center;display:grid;justify-items:center;min-width:0;padding:0}
  html[data-product=payouts] .hero-figure .ledger-paper {width:min(100%,27rem);max-width:none;box-sizing:border-box;padding:1.15rem 1.45rem;background:#fffdf5;transform:none;color:#302d20;border:1px solid #ded6c3;box-shadow:0 8px 28px #101d1642}
  html[data-product=payouts] .slip-lines {margin:1rem 0 .35rem;color:#514b38;font:520 .9rem/1.45 var(--body)}
  html[data-product=payouts] .slip-lines > div {display:flex;justify-content:space-between;margin:.28rem 0}
  html[data-product=payouts] .slip-lines dd {margin:0;font-variant-numeric:tabular-nums}
  html[data-product=payouts] .ledger-paper .ledger-amount {margin:.45rem 0 .7rem;padding-top:.65rem;border-top:1px dashed #a9a18a}
  html[data-product=payouts] .hero-figure .ledger-variant {color:#fff8df}
  html[data-product=payouts] .hero-figure .receipt-switch {margin-top:.45rem}

  /* AV: a bright specification sheet alongside a powered register with source rows. */
  html[data-product=av] main .hero.product-opening {background:#eae9df;color:#1e2923}
  html[data-product=av] .hero.product-opening::before {content:none}
  html[data-product=av] .product-opening .cover-photo {inset:0 0 0 auto;width:50%;height:100%;object-fit:cover;object-position:60% 44%;opacity:1;filter:brightness(.46) saturate(.65);z-index:-1}
  html[data-product=av] .product-opening .hero-copy {color:#182a21}
  html[data-product=av] .product-opening .hero-copy .local-note {color:#455549}
  html[data-product=av] .product-opening .hero-actions :first-child {background:#254534;color:#fff9e8;border:1px solid #244331}
  html[data-product=av] .product-opening .hero-actions :nth-child(2) {color:#213d2e;background:transparent;border:1px solid #687e6d}
  html[data-product=av] .product-opening .rack-inspector {width:min(100%,34rem);justify-self:end;max-width:none;margin:0;color:#f5f2e5;background:#17241f;border:1px solid #768478;box-shadow:0 10px 35px #08160e38}
  html[data-product=av] .rack-inspector > header {background:#23342b;color:#f5f2e5;padding:.9rem 1.15rem}
  html[data-product=av] .product-opening .rack-controls {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:.7rem;padding:.85rem 1.15rem}
  html[data-product=av] .rack-controls label {display:grid;gap:.45rem;min-width:0;color:#f5e8cb}
  html[data-product=av] .rack-controls select {min-width:0;width:100%;max-width:100%;min-height:42px;font:560 .96rem/1.4 var(--body)}
  html[data-product=av] .rack-inspector .rack-inside {background:#faf7ec;color:#1d3026;padding:.9rem 1.15rem 1.2rem}
  html[data-product=av] .rack-inside :is(h3,p,dt,dd) {color:inherit}

  /* The atlas opens on the two real revisions; its scale and legend travel with the figure. */
  html[data-product=pog] main .hero.product-opening {background:#eaeede;color:#17382c;grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr)}
  html[data-product=pog] .product-opening .hero-copy {color:#17382c}
  html[data-product=pog] .product-opening .hero-copy .cover-actions .button,
  html[data-product=pog] .product-opening .cover-actions a:first-child {background:#244b38;border:1px solid #244b38;color:#fffce8}
  html[data-product=pog] .product-opening .cover-actions a:nth-child(2) {color:#284937;background:transparent;border-color:currentColor}
  html[data-product=pog] .product-opening .map-figure {grid-area:auto;order:0;width:100%;margin:0;padding:0;border:1px solid #879781;box-shadow:0 .5rem 1.6rem #273c2514;background:#fcfaed}
  html[data-product=pog] .product-opening .map-image {height:clamp(12rem,21vw,20rem);min-height:0;max-height:none}
  html[data-product=pog] .survey-key {display:flex;align-items:center;gap:.5rem 1.1rem;flex-wrap:wrap;padding:.55rem .95rem;background:#f8f8ea;border-block:1px solid #c5cbb7;color:#2b3f30;font:620 .82rem/1.4 var(--body)}
  html[data-product=pog] .survey-key span::before {content:'';display:inline-block;width:.62rem;height:.62rem;background:#aa431e;margin-right:.4rem;border-radius:50%}
  html[data-product=pog] .survey-key span+span::before {background:#66478b;border-radius:0}
  html[data-product=pog] .product-opening .map-header {background:#1f4031;color:#faf6df;padding:.73rem .95rem}
  html[data-product=pog] .map-header :is(small,span,.map-crs) {color:inherit}

  /* BrevetCheck: the course and its control sheet share one map board. */
  html[data-product=route] main .hero.product-opening {grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);background:#203b30;color:#f7f5e6}
  html[data-product=route] .hero.product-opening::before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#172f24e8,#1d352be8 56%,#1e362bfa),url('assets/cover.webp') center 53% / cover}
  html[data-product=route] .product-opening .hero-copy > * {grid-area:auto;position:static}
  html[data-product=route] .product-opening .hero-copy {color:#fff8e7}
  html[data-product=route] .product-opening .hero-copy h1 {max-width:13ch}
  html[data-product=route] .product-opening .privacy-note,html[data-product=route] .product-opening #demo-report {color:#ebf4d7}
  html[data-product=route] .product-opening .actions .primary {background:#deefa6;color:#1e3526;border-color:#deefa6}
  html[data-product=route] .product-opening .actions :nth-child(2) {background:#234235;color:#f9f8e6;border:1px solid #afc0aa}
  html[data-product=route] .product-opening .route-board {display:grid;width:100%;grid-area:auto;max-width:none;margin:0;padding:0;background:#f7f6e8;color:#253a2b;border:1px solid #adbaa6;box-shadow:0 .65rem 2rem #0d201d48;grid-template-columns:1fr;grid-template-areas:"head" "map" "legend" "cue"}
  html[data-product=route] .product-opening .board-heading {grid-area:head;padding:.6rem .85rem}
  html[data-product=route] .product-opening .map-surface {grid-area:map;height:clamp(12rem,18vw,18rem);min-height:0;max-height:none}
  html[data-product=route] .product-opening .map-legend {grid-area:legend;display:flex;flex-wrap:wrap;font-size:.83rem;padding:.5rem .85rem}
  html[data-product=route] .product-opening .cue-sheet {grid-area:cue;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:.65rem 1.1rem;border-top:1px solid #bec9b1;padding:.65rem .85rem}
  html[data-product=route] .product-opening .cue-sheet > * {min-width:0;margin:0}
  html[data-product=route] .product-opening .cue-sheet .route-comparison {display:flex;gap:1rem;flex-wrap:wrap}
  html[data-product=route] .product-opening .cue-sheet .point-selector select {max-width:100%;min-height:40px}

  /* Reodbiór: open case folder, evidence before and after the fix. */
  html[data-product=wcag] main .hero.product-opening {background:#3d263a;color:#fff5ee;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)}
  html[data-product=wcag] .product-opening .hero-copy {color:#fff3e8}
  html[data-product=wcag] .product-opening .hero-actions :first-child {background:#f1d1d3;color:#392438;border-color:#f1d1d3}
  html[data-product=wcag] .product-opening .hero-actions :nth-child(2) {background:transparent;color:#fff4ee;border-color:#d5b6c4}
  html[data-product=wcag] .product-opening .review-mat {padding:0;background:transparent;border:0;min-width:0}
  html[data-product=wcag] .product-opening .audit-desk {margin:0;max-width:none;width:100%;color:#352831;background:#fffaf3;border:1px solid #bdaab0;box-shadow:0 .6rem 1.6rem #20131b55}
  html[data-product=wcag] .product-opening .desk-top {background:#eee2db;color:#422d3b;padding:.7rem 1rem}
  html[data-product=wcag] .product-opening .desk-layout {display:grid;grid-template-columns:1fr}
  html[data-product=wcag] .product-opening .issue-rail {padding:.6rem 1rem;background:#f6ede7;color:#44303c;border:0;border-bottom:1px solid #d8c8cf}
  html[data-product=wcag] .product-opening #case-choices {display:flex;flex-wrap:wrap;gap:.35rem}
  html[data-product=wcag] .product-opening #case-choices button {width:auto;min-height:38px;padding:.32rem .6rem}
  html[data-product=wcag] .product-opening .issue-page {padding:.85rem 1rem 1rem}
  html[data-product=wcag] .product-opening .issue-page h3 {font-size:clamp(1.12rem,1.7vw,1.48rem);max-width:none}
  html[data-product=wcag] .product-opening .source-pair {display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:.7rem 0}
  html[data-product=wcag] .source-pair > * {background:#f5eee8;border:0;border-left:3px solid #99778b;margin:0;padding:.65rem .75rem;color:#492e41}
  html[data-product=wcag] .source-pair > :last-child {background:#efebe1;border-left-color:#67745b}

  @media (max-width:920px) {
    html[data-product] main .hero.product-opening {grid-template-columns:1fr;gap:1.4rem;padding-block:1.8rem}
    html[data-product] .hero.product-opening .hero-copy {max-width:47rem}
    html[data-product] .hero.product-opening .hero-copy h1 {max-width:21ch}
    html[data-product=av] .product-opening .cover-photo {width:100%;inset:47% 0 auto;height:53%}
    html[data-product=av] .product-opening .rack-inspector {justify-self:start;width:min(100%,42rem)}
    html[data-product=av] .product-opening .hero-copy {padding:1.2rem;box-sizing:border-box;background:#eae9df}
    html[data-product=payouts] main .hero.product-opening {padding:0}
    html[data-product=payouts] .product-opening .hero-inner {grid-template-columns:1fr;gap:1.35rem;padding-block:1.7rem}
    html[data-product=payouts] .product-opening .cover-photo {inset:auto 0 0;width:100%;height:45%}
    html[data-product=payouts] .product-opening .hero-figure {justify-items:start}
    html[data-product=payouts] .product-opening .hero-figure :is(.ledger-variant,.receipt-switch) {justify-self:start;background:#233629;color:#fff7e6}
    html[data-product=pog] .product-opening .map-figure {order:0}
    html[data-product=wcag] .product-opening .review-mat {width:100%}
  }
  @media (max-width:540px) {
    html[data-product] .hero.product-opening .hero-copy h1 {font-size:clamp(2.12rem,9vw,3rem);max-width:20ch}
    html[data-product] main .hero.product-opening {padding-block:1.45rem}
    html[data-product] .hero.product-opening .hero-copy p.lead,html[data-product] .hero.product-opening .hero-copy>p:not([class]) {font-size:1rem;margin-bottom:.8rem}
    html[data-product] .product-opening :is(.hero-actions,.actions,.cover-actions) {gap:.5rem}
    html[data-product=av] .product-opening .hero-copy {padding:0 0 .65rem}
    html[data-product=av] .product-opening .rack-controls {grid-template-columns:1fr 1fr;padding:.65rem}
    html[data-product=route] .product-opening .cue-sheet {grid-template-columns:1fr}
    html[data-product=wcag] .product-opening .source-pair {grid-template-columns:1fr}
    html[data-product] main .task-routes-inner a {padding:.65rem .85rem}
    html[data-product=payouts] main .hero.product-opening {padding:0}
  }
}

/* The examples and their editable handoffs use the same document hierarchy on both routes. */
@media screen {
  html[data-product] .folio-wrap {--case-border:color-mix(in srgb,var(--reading-ink) 27%, #fff);--case-tint:color-mix(in srgb,var(--reading-mark) 8%,#fffdf8)}
  html[data-product] .folio .folio-cover {padding-block:clamp(1.45rem,3.4vw,3.5rem);align-items:center}
  html[data-product] .folio .folio-cover h1 {max-width:21ch;font-size:clamp(2.1rem,4.2vw,3.85rem);line-height:1.04;text-wrap:balance}
  html[data-product] .folio .folio-cover p:last-child {max-width:58ch;line-height:1.55}
  html[data-product] .folio-case .folio-photo {margin:0;min-width:0;border:1px solid var(--case-border)}
  html[data-product] .folio .folio-record {margin:0;padding:clamp(1.15rem,2.7vw,2.35rem);border:1px solid var(--case-border);background:#fffdf8;color:var(--reading-ink)}
  html[data-product] .folio .folio-record h2 {font-size:clamp(1.48rem,2.45vw,2.1rem);margin:0 0 .65rem}
  html[data-product] .folio-record table {width:100%;margin:0;border-collapse:collapse;font-variant-numeric:tabular-nums}
  html[data-product] .folio .folio-record :is(table,caption,th,td) {color:var(--reading-ink)}
  html[data-product] .folio .folio-record :is(th,td) {border-top:1px solid var(--case-border)}
  html[data-product] .folio .folio-record td::before {color:var(--reading-ink)}
  html[data-product] .folio-record caption {text-align:left;padding:0 0 .85rem}
  html[data-product] .folio-record thead {background:var(--case-tint)}
  html[data-product] .folio-record :is(th,td) {padding:.72rem .8rem;vertical-align:top}
  html[data-product] .folio .folio-findings {margin:0;padding-block:clamp(1.7rem,3vw,2.8rem)}
  html[data-product] .folio .folio-findings > div {gap:1.1rem}
  html[data-product] .folio-findings > div > div {padding:.8rem .95rem;border-inline-start:3px solid var(--reading-mark);background:var(--case-tint)}
  html[data-product] .folio-findings :is(h3,p) {margin:.15rem 0 .55rem}
  html[data-product] .case-to-sheet {margin:0;padding:1.5rem 0;border-top:1px solid var(--case-border)}
  html[data-product] .case-to-sheet h2 {margin:0 0 1rem}
  html[data-product] .case-to-sheet > div {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.85rem}
  html[data-product] .case-to-sheet > div > a {
    display:grid;grid-template-columns:1fr auto;align-content:start;gap:.55rem .7rem;
    background:#fffdf8;color:var(--reading-ink);border:1px solid var(--case-border);
    border-top:3px solid var(--reading-mark);padding:1rem;text-decoration:none;border-radius:.22rem;
  }
  html[data-product] .case-to-sheet a strong {font:710 1.04rem/1.35 var(--body)}
  html[data-product] .case-to-sheet a span {font:.94rem/1.48 var(--body);grid-column:1/-1}
  html[data-product] .case-to-sheet a b {grid-row:1;grid-column:2}
  html[data-product] .case-to-sheet > div > a:hover {background:var(--case-tint)}
  html[data-product] .sheet-empty-link {display:inline-block;color:var(--reading-ink);padding-block:.85rem;text-underline-offset:.25em;font-weight:640}
  html[data-product] .folio-studio .folio-cover {padding-block:clamp(1rem,2.4vw,2rem)}
  html[data-product] .folio .folio-station {gap:clamp(1rem,3vw,2.6rem);padding-block:1.8rem;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
  html[data-product] .folio .folio-editor {display:grid;gap:.82rem;padding:0;border:0}
  html[data-product] .folio-editor h2,html[data-product] .folio-note h2 {margin:0 0 .4rem}
  html[data-product] .folio-editor label {display:grid;gap:.38rem;margin:0;min-width:0;width:100%;justify-self:stretch;box-sizing:border-box;font:650 .96rem/1.4 var(--body)}
  html[data-product] .folio-editor textarea {box-sizing:border-box;width:100%;min-width:0;min-height:4.6rem;padding:.7rem .85rem;resize:vertical;border-radius:.25rem;background:#fffefb;color:var(--reading-ink);font:450 1rem/1.45 var(--body)}
  html[data-product] .folio-editor .sheet-source {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.6rem;padding:.8rem 1rem;background:var(--case-tint);border:1px solid var(--case-border)}
  html[data-product] .sheet-source select {width:100%;min-width:0;max-width:100%;min-height:44px;padding:.4rem;color:var(--reading-ink);background:#fffdf8;font:530 .96rem/1.4 var(--body)}
  html[data-product] .sheet-source button {min-height:44px;width:auto;margin:0}
  html[data-product] .sheet-replace {grid-column:1/-1;border-top:1px solid var(--case-border);padding-top:.55rem}
  html[data-product] .sheet-replace[hidden] {display:none}
  html[data-product] .sheet-replace p {margin:0 0 .5rem}
  html[data-product] .folio .folio-note {position:sticky;top:1rem;background:#fffdf7;color:var(--reading-ink);border:1px solid var(--case-border);border-top:4px solid var(--reading-mark);border-radius:0 .25rem .25rem 0;padding:clamp(1rem,2.2vw,2rem);box-shadow:.28rem .28rem 0 var(--case-tint)}
  html[data-product] .folio-note dl > div {padding:.7rem 0;margin:0}
  html[data-product] .folio-note :is(dd,dt) {color:inherit;white-space:pre-line;overflow-wrap:anywhere}
  html[data-product] .folio-note :is(button:disabled) {opacity:.55;cursor:default}
  html[data-product] main .publication-index > div {display:block}
  html[data-product] main .publication-index h2 {max-width:none;margin-bottom:1.15rem}
  html[data-product] .publication-index .publication-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
  html[data-product] .publication-index .publication-list > a {display:grid;grid-template-rows:auto auto 1fr auto;gap:.35rem;padding:1.05rem 2.3rem 1.05rem 1.1rem;background:#fffdf6;color:var(--reading-ink);border:1px solid color-mix(in srgb,var(--reading-ink) 32%,white);border-top:3px solid var(--reading-mark);border-radius:.15rem;text-decoration:none}
  html[data-product] .publication-index .publication-list > a:hover strong {text-decoration:underline;text-underline-offset:.2em}
  html[data-product] .publication-extract {display:flex;gap:.45rem .7rem;flex-wrap:wrap;align-items:baseline;margin-top:.5rem;border-top:1px solid #c9c7b8;padding-top:.65rem}
  html[data-product] .publication-list .publication-extract span {color:var(--reading-ink);font:560 .8rem/1.45 var(--body);letter-spacing:0;text-transform:none}
  html[data-product] main :is(.method-list,.workflow-list) {gap:0}
  html[data-product] main :is(.method-list li,.method-list article,.workflow-list li) {padding-block:.85rem}
  html[data-product=pog] .case-section .case-content {align-items:start}
  html[data-product=pog] .case-section .case-intro h2 {max-width:23ch;font-size:clamp(1.75rem,2.6vw,2.6rem)}
  html[data-product=wcag] .tool-band #entry-form :is(input,select,textarea) {width:100%;box-sizing:border-box}
  html[data-product=wcag] .tool-band #entry-form fieldset {min-width:0}
  @media(max-width:740px) {
    html[data-product] .folio .folio-station,html[data-product] .publication-index .publication-list {grid-template-columns:minmax(0,1fr)}
    html[data-product] .folio .folio-note {position:static}
    html[data-product] .folio-record :is(th,td) {padding:.55rem .45rem}
  }
}
@media print {
  .case-to-sheet, .sheet-source {display:none!important}
}

@media screen {
  html[data-product=av] .hero.product-opening .rack-controls {background:#283c30;border-block:1px solid #69776c}
  html[data-product=av] .hero.product-opening .rack-controls label {color:#f4f2df}
  html[data-product=av] .rack-controls label span {color:inherit}
  html[data-product=av] .hero.product-opening .rack-controls select {color:#263a2e;background:#fffcf1}
  html[data-product=wcag] .product-opening .issue-page {min-height:0}
  html[data-product=route] .product-opening .board-heading {display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
  html[data-product=route] .product-opening .layer-switch {min-width:0;flex-shrink:0}
  html[data-product] main .record-action {
    display:inline-flex;align-items:center;justify-content:flex-start;min-height:40px;
    max-width:100%;margin:.65rem 0 .1rem;padding:.45rem .8rem;background:#fffdf5;
    color:var(--reading-ink);font:660 .91rem/1.4 var(--body);text-align:left;border:1px solid color-mix(in srgb,var(--reading-ink) 50%,#fff);
    border-radius:.25rem;cursor:pointer;
  }
  html[data-product] main .record-action:hover {background:color-mix(in srgb,var(--reading-mark) 11%,#fff)}
  html[data-product] main .record-action[hidden],
  html[data-product=av] #results:has(#stale-note:not([hidden])) .record-action {display:none}
  html[data-product] dialog.record-sheet {
    position:fixed;inset:0;margin:auto;width:min(41rem,calc(100vw - 1.25rem));max-width:100%;
    max-height:calc(100dvh - 1.25rem);padding:0;overflow:auto;box-sizing:border-box;border:1px solid var(--reading-ink);
    border-top:4px solid var(--reading-mark);border-radius:.45rem;background:#fffcf6;color:var(--reading-ink);
    box-shadow:0 1.5rem 5rem #1218104d;
  }
  html[data-product] .record-sheet::backdrop {background:#151c19ad}
  html[data-product] .record-sheet header, html[data-product] .record-sheet footer {
    position:static;display:flex;gap:1.1rem;align-items:center;justify-content:space-between;
    width:auto;margin:0;padding:.85rem 1.3rem;background:#f4f1e8;color:var(--reading-ink);border:0;
  }
  html[data-product] .record-sheet header {border-bottom:1px solid #c7c7b7}
  html[data-product] .record-sheet header p {margin:0 0 .25rem;font:640 .85rem/1.4 var(--body);overflow-wrap:anywhere}
  html[data-product] .record-sheet h2 {margin:0;font:700 clamp(1.45rem,3vw,2rem)/1.14 var(--body);letter-spacing:-.032em;outline:0}
  html[data-product] .record-sheet-body {display:grid;gap:.8rem;padding:1rem 1.3rem}
  html[data-product] .record-sheet label {display:grid;gap:.35rem;font:650 .95rem/1.4 var(--body)}
  html[data-product] .record-sheet textarea {box-sizing:border-box;color:var(--reading-ink);background:#fffefb;border:1px solid #929789;border-radius:.25rem;width:100%;max-width:100%;min-width:0;resize:vertical;padding:.6rem .75rem;font:440 1rem/1.45 var(--body)}
  html[data-product] .record-sheet footer {border-top:1px solid #c7c7b7;justify-content:flex-start;flex-wrap:wrap;font:540 .93rem/1.4 var(--body)}
  html[data-product] .record-sheet button {cursor:pointer;font:660 .94rem/1.4 var(--body);min-height:42px;border-radius:.25rem;padding:.5rem .8rem}
  html[data-product] .record-sheet [data-sheet-close] {color:var(--reading-ink);background:#fffdf7;border:1px solid #939887}
  html[data-product] .record-sheet [data-sheet-copy] {color:white;background:#263d31;border:1px solid #263d31}
  html[data-product=wcag] .record-sheet [data-sheet-copy] {background:#512f46;border-color:#512f46}
  html[data-product] .record-sheet :focus-visible {outline:2px solid var(--reading-ink);outline-offset:2px}
  html[data-product=route] #checks .record-action {display:flex;width:fit-content;margin-top:.4rem}
  @media (max-width:650px) {
    html[data-product=av] .hero.product-opening .rack-controls {display:grid;grid-template-columns:1fr}
    html[data-product=av] .hero.product-opening .rack-controls label {display:grid;grid-template-columns:4rem minmax(0,1fr);align-items:center}
    html[data-product=route] .product-opening .layer-switch {max-width:100%}
  }
}
@media print {.record-action,.record-sheet {display:none!important}}

@media screen {
  html[data-product=route] .product-opening .route-board {grid-template-columns:minmax(0,1fr)}
  html[data-product=route] .product-opening .route-board > * {min-width:0;max-width:100%;width:100%;box-sizing:border-box}
  html[data-product=route] .product-opening .map-surface {aspect-ratio:auto}
  html[data-product=route] .hero.product-opening .hero-copy h1 {font-size:clamp(2.12rem,4.25vw,4.05rem);max-width:18ch}
  html[data-product=pog] .case-section .revision-heading .revision-dates {font-variant-numeric:tabular-nums}
  @media(min-width:1100px) {
    html[data-product=pog] main .hero.product-opening {grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
    html[data-product=pog] .hero.product-opening .map-figure {grid-area:1/1}
    html[data-product=pog] .hero.product-opening .hero-copy {grid-area:1/2}
  }
  @media(min-width:921px) and (max-width:1100px) {
    html[data-product] .mast-inner {gap:.65rem}
    html[data-product] .mast-nav a {padding-inline:.42rem}
  }
}

@media screen {
  html[data-product=wcag] .product-opening .desk-top small {color:#594552}
  html[data-product=payouts] .product-opening .hero-figure .ledger-variant {background:#27382b;color:#fff8df;padding:.24rem .65rem;border-radius:.2rem}
  html[data-product] .folio .sheet-source {color:var(--reading-ink)}
  html[data-product] .folio .sheet-source [data-apply] {background:var(--reading-ink);color:#fff}
  html[data-product] .folio .folio-findings > div > div {color:var(--reading-ink)}
}
.mast-brand .identity-symbol{display:block;width:2.25rem;height:2.25rem;flex:none}
.mast-brand .identity-type{font-style:normal;font-weight:650;letter-spacing:-.035em;line-height:1.08}
.mast-brand .identity-type strong{font-weight:800}
@media(max-width:520px){.mast-brand .identity-symbol{width:1.875rem;height:1.875rem}}
