/* Base, previously supplied by the artifact frame. */
html{-webkit-text-size-adjust:100%}
body{margin:0}
img{max-width:100%}
.noscript{max-width:60ch;margin:2rem auto;padding:0 16px}

/* Layout: one working column (max 960px) under a sticky three-step bar; results read as a board-ready dashboard. No external requests of any kind, fonts included: the page practises what it checks. */
:root{
  /* Jura Labs brand (juralabs.org, 30 Sep): terracotta #A04838, deep terracotta #8B4532, cream #F1E9D2,
     off-white #F4F1E8, charcoal #2B2D2F, light terracotta #E8B9A8. The lights keep green, amber and red. */
  --bg:#F1E9D2; --surface:#FBF8EF; --ink:#2B2D2F; --muted:#5E574B; --line:#DACDB0; --tint:#EADFC4;
  --accent:#A04838; --accent-ink:#FFFFFF; --focus:#2F6FD6; --brand:#A04838; --heading:#8B4532; --m-sea:#E7E2D4; --m-side:#E0D7C1; --m-land:#D5CDBB; --m-land2:#CAC1AD; --m-ukeu:#C9DCCF; --m-held:#8FBFA0;
  --good:#236B43; --good-bg:#DCEFE2; --warn:#8A5A00; --warn-bg:#FAEAC4; --bad:#A8231B; --bad-bg:#F7D9D5;
  --f-display:"Montserrat","Avenir Next","Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,sans-serif;
  --f-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --f-data:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#2B2D2F; --surface:#34373A; --ink:#F1E9D2; --muted:#BDB5A4; --line:#484B4F; --tint:#3D4043;
  --accent:#E8B9A8; --accent-ink:#2B2D2F; --focus:#7DB5F5; --brand:#E8B9A8; --heading:#E8B9A8; --m-sea:#232527; --m-side:#303235; --m-land:#3E4144; --m-land2:#47494C; --m-ukeu:#2F4A3A; --m-held:#4F8A68;
  --good:#8BD6A5; --good-bg:#223A2B; --warn:#F1C466; --warn-bg:#40341A; --bad:#F5A39A; --bad-bg:#4A2622; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#2B2D2F; --surface:#34373A; --ink:#F1E9D2; --muted:#BDB5A4; --line:#484B4F; --tint:#3D4043;
  --accent:#E8B9A8; --accent-ink:#2B2D2F; --focus:#7DB5F5; --brand:#E8B9A8; --heading:#E8B9A8; --m-sea:#232527; --m-side:#303235; --m-land:#3E4144; --m-land2:#47494C; --m-ukeu:#2F4A3A; --m-held:#4F8A68;
  --good:#8BD6A5; --good-bg:#223A2B; --warn:#F1C466; --warn-bg:#40341A; --bad:#F5A39A; --bad-bg:#4A2622; color-scheme:dark}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font:15px/1.55 var(--f-body)}
.wrap{max-width:960px;margin:0 auto;padding-inline:16px;padding-block:20px 64px}
h1,h2,h3{font-family:var(--f-display);text-wrap:balance;margin:0;letter-spacing:-.01em}
h1{font-size:clamp(1.7rem,4vw,2.3rem);line-height:1.1;font-weight:700;color:var(--heading)}
h2{font-size:1.3rem;font-weight:700}
h3{font-size:1.02rem;font-weight:650}
p{margin:0;max-width:65ch}
.muted{color:var(--muted)}
.small{font-size:.86rem}
.eyebrow{font:600 .78rem/1 var(--f-body);letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.btn{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:.5rem .9rem;cursor:pointer;min-height:40px}
.btn:hover{border-color:var(--muted)}
.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}
.btn.ghost{background:transparent}
.row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.stack{display:grid;gap:1rem}

header.top{display:grid;gap:.7rem;margin-bottom:1.1rem}
.privacy{display:flex;gap:.6rem;align-items:flex-start;background:var(--tint);border-radius:10px;padding:.7rem .9rem;font-size:.9rem}
.privacy b{font-weight:650}
.lock{flex:none;width:18px;height:18px;margin-top:2px}

nav.steps{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--bg);padding-block:.6rem;border-bottom:1px solid var(--line);margin-bottom:1.2rem}
nav.steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
@media (max-width:760px){nav.steps ol{grid-template-columns:repeat(2,1fr)}}
nav.steps button{width:100%;text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:.45rem .7rem;cursor:pointer;display:flex;gap:.55rem;align-items:center;min-height:44px}
nav.steps button[aria-current="step"]{border-color:var(--accent);box-shadow:inset 0 -3px 0 var(--accent)}
nav.steps .n{font:600 .8rem var(--f-data);width:1.6rem;height:1.6rem;border-radius:50%;display:grid;place-items:center;background:var(--tint);flex:none}
nav.steps [aria-current="step"] .n{background:var(--accent);color:var(--accent-ink)}
nav.steps .lbl{font-weight:600;font-size:.92rem;line-height:1.2}
nav.steps .sub{display:block;font-weight:400;font-size:.76rem;color:var(--muted)}
@media (max-width:560px){nav.steps .sub{display:none}}

.banner{border:1px dashed var(--accent);border-radius:10px;padding:.7rem .9rem;display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:1.1rem}

/* Step 1 */
.groups{display:grid;gap:1.1rem}
.group h3{margin-bottom:.45rem}
.chips{display:flex;flex-wrap:wrap;gap:.45rem}
.chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:.38rem .8rem;cursor:pointer;min-height:38px;display:inline-flex;align-items:center;gap:.4rem}
.chip[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.chip .tick{font-size:.8rem;opacity:0}
.chip[aria-pressed="true"] .tick{opacity:1}
.addrow{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem}
@media (max-width:620px){.addrow{grid-template-columns:1fr}}
.field{display:grid;gap:.25rem}
.field label{font-size:.85rem;font-weight:600}
input[type=text],input[type=number],select{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:.5rem .6rem;min-height:40px;width:100%}

/* Step 2 */
.progress{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:0;padding:0}
.pdot{border:1px solid var(--line);background:var(--surface);border-radius:6px;padding:.25rem .55rem;font-size:.8rem;cursor:pointer;min-height:32px}
.pdot.done{background:var(--tint)}
.pdot[aria-current="true"]{border-color:var(--accent);font-weight:650}
.q{border:0;margin:0;padding:0;display:grid;gap:.4rem}
.q legend{font-weight:650;padding:0;margin-bottom:.2rem}
.q .hint{font-size:.83rem;color:var(--muted);margin-top:-.2rem}
.opts{display:flex;flex-wrap:wrap;gap:.4rem}
.opt{position:relative}
.opt input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.opt span{display:inline-block;border:1px solid var(--line);border-radius:8px;padding:.42rem .75rem;background:var(--surface);min-height:38px}
.opt input:checked + span{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.opt input:focus-visible + span{outline:3px solid var(--focus);outline-offset:2px}
.qgrid{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem 1.4rem}
@media (max-width:700px){.qgrid{grid-template-columns:1fr}}
details.facts{border-top:1px solid var(--line);padding-top:.8rem}
details.facts summary{cursor:pointer;font-weight:600}
.factline{font-size:.88rem;color:var(--muted)}
.note{font-size:.85rem;background:var(--tint);border-radius:8px;padding:.5rem .7rem}
.cardhead{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem;align-items:baseline}
.navrow{display:flex;justify-content:space-between;gap:.6rem;flex-wrap:wrap}

/* Lights */
.light{display:inline-flex;align-items:center;gap:.3rem;border-radius:999px;padding:.1rem .55rem;font-size:.8rem;font-weight:600;white-space:nowrap}
.light.g{background:var(--good-bg);color:var(--good)}
.light.a{background:var(--warn-bg);color:var(--warn)}
.light.r{background:var(--bad-bg);color:var(--bad)}
.light.n{background:var(--tint);color:var(--muted)}
.light svg{width:.7rem;height:.7rem;fill:currentColor}

/* Step 3 */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem}
@media (max-width:700px){.tiles{grid-template-columns:repeat(2,1fr)}}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.8rem .9rem;display:grid;gap:.15rem}
.tile .num{font:700 1.9rem/1 var(--f-display);font-variant-numeric:tabular-nums}
.tile.alert{border-color:var(--bad);background:var(--bad-bg)}
.tile.alert .num{color:var(--bad)}
.tile.warn{border-color:var(--warn)}
.prio{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.prio li{display:grid;grid-template-columns:auto 1fr;gap:.7rem;align-items:start;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.7rem .85rem}
.prio .when{font:600 .72rem/1.3 var(--f-body);letter-spacing:.06em;text-transform:uppercase;padding:.25rem .45rem;border-radius:6px;white-space:nowrap}
.when.now{background:var(--bad-bg);color:var(--bad)}
.when.year{background:var(--warn-bg);color:var(--warn)}
.when.ren{background:var(--tint);color:var(--muted)}
.ladder{display:grid;gap:.45rem}
.rung{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:.7rem;align-items:center;border-radius:10px;padding:.55rem .7rem;background:var(--surface);border:1px solid var(--line)}
@media (max-width:620px){.rung{grid-template-columns:1fr}}
.rung .rn{font:600 .75rem var(--f-data);color:var(--muted)}
.rung .rt{font-weight:600;font-size:.9rem;line-height:1.25}
.tchips{display:flex;flex-wrap:wrap;gap:.35rem;min-height:1.6rem}
.tchip{font-size:.82rem;border:1px solid var(--line);border-radius:6px;padding:.12rem .5rem;background:var(--bg)}
.tchip.sens{border:2px solid var(--ink);font-weight:600}
.tchip.pers{border-color:var(--muted)}
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
table{border-collapse:collapse;width:100%;min-width:1000px;font-size:.88rem}
th,td{text-align:left;padding:.55rem .6rem;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}
tr:last-child td{border-bottom:0}
td.num{font-variant-numeric:tabular-nums;font-family:var(--f-data);font-size:.82rem}
.decision select{min-height:34px;padding:.25rem .4rem}
.copyout{width:100%;min-height:120px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font:.8rem/1.4 var(--f-data);padding:.6rem}
.toast{font-size:.85rem;color:var(--good);font-weight:600}
.legend{display:flex;flex-wrap:wrap;gap:.8rem;font-size:.82rem;color:var(--muted)}
.flags{list-style:none;margin:0;padding:0;display:grid;gap:.3rem;font-size:.86rem}
.flags li{display:grid;grid-template-columns:1rem 1fr;gap:.4rem;align-items:start}
.flags svg{width:.7rem;height:.7rem;margin-top:.35rem}
.flags .risk svg{fill:var(--bad)}
.flags .watch svg{fill:var(--warn)}
.flags .ok{color:var(--good)}
.owners{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:.7rem}
@media (prefers-reduced-motion:no-preference){.panel,.tile{transition:border-color .15s}}
[hidden]{display:none!important}
.map{width:100%;height:auto;display:block;border-radius:10px;border:1px solid var(--line)}
.m-sea{fill:var(--m-sea)}.m-side{fill:var(--m-side)}.m-land{fill:var(--m-land)}
.m-c{stroke:var(--m-sea);stroke-width:.7}.m-ukeu{fill:var(--m-ukeu)}.m-eea{fill:var(--m-land2)}.m-held{fill:var(--m-held)}
.m-sidehead{font:600 13px var(--f-body);fill:var(--muted);letter-spacing:.06em;text-transform:uppercase}
.m-box{fill:var(--surface);stroke:var(--line);stroke-width:1.5}.m-boxheld{stroke:var(--warn);stroke-width:2.5}.m-boxunk.m-boxheld{stroke:var(--bad)}
.m-label{font:600 13px var(--f-body);fill:var(--ink);paint-order:stroke;stroke:var(--m-sea);stroke-width:4px;stroke-linejoin:round}
.m-boxlabel{font:600 13px var(--f-body);fill:var(--ink)}.m-lawlabel{font:italic 12px var(--f-body);fill:var(--muted);paint-order:stroke;stroke:var(--m-sea);stroke-width:4px;stroke-linejoin:round}
.m-pin circle{fill:var(--accent);stroke:var(--surface);stroke-width:2}.m-pin text{font:700 12px var(--f-body);fill:var(--accent-ink)}
.m-pin circle.m-pers{stroke:var(--ink);stroke-width:2}.m-pin circle.m-sens{stroke:var(--ink);stroke-width:4}
.m-pin.m-out circle{fill:var(--warn)}.m-pin.m-unk circle{fill:var(--bad)}
.m-law{fill:none;stroke:var(--muted);stroke-width:1.4;stroke-dasharray:2 4;opacity:.8}
.lg{display:inline-block;width:26px;height:0;vertical-align:middle;margin-right:.35rem}
.lg-law{border-top:2px dotted var(--muted);margin-left:.2rem}
.factlist{display:grid;gap:.45rem;margin:.7rem 0 0}.factlist div{display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:.6rem}
@media (max-width:560px){.factlist div{grid-template-columns:1fr;gap:.1rem}}
.factlist dt{font-weight:600;font-size:.85rem}.factlist dd{margin:0;font-size:.88rem}
.srcs{margin:.3rem 0 0;padding-left:1.1rem;font-size:.84rem;display:grid;gap:.2rem}

.qgrid{align-items:start}
.owners .panel{align-content:start}
.brandrow{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.logo{height:clamp(56px,9vw,84px);width:auto;color:var(--brand);display:block}
.quote{font-family:var(--f-display);font-weight:650;font-size:1.05rem;color:var(--accent);max-width:60ch}
.tiles{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.6rem}
.zone{background:var(--surface);border:1px solid var(--line);border-top:5px solid var(--good);border-radius:10px;padding:.7rem .8rem;display:grid;gap:.45rem;align-content:start}
.zone.out{border-top-color:var(--warn)}
.zone.unk{border-top-color:var(--bad)}
.zone.dev{border-top-color:var(--muted)}
.zone h3{font-size:.95rem}
.sect{display:grid;gap:.9rem;border-top:1px solid var(--line);padding-top:.9rem}
.sect>h3{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.why{list-style:none;margin:0;padding:0;display:grid;gap:.2rem;font-size:.84rem;color:var(--muted)}
.when.dec{background:var(--warn-bg);color:var(--warn)}
.pause{border-left:5px solid var(--warn);background:var(--warn-bg);border-radius:8px;padding:.6rem .8rem;font-size:.88rem;display:grid;gap:.3rem}
.cmp{border-collapse:collapse;width:100%;min-width:640px;font-size:.86rem}.cmp th,.cmp td{vertical-align:top;padding:.5rem .6rem;border-bottom:1px solid var(--line);text-align:left}
.cmp th[scope=row]{width:26%;font-weight:600;color:var(--muted);font-size:.8rem;text-transform:none;letter-spacing:0}
.cmp thead th{font-size:.95rem;text-transform:none;letter-spacing:0;color:var(--ink);font-weight:700}
.card{background:var(--surface);border:1px solid var(--line);border-left:6px solid var(--accent);border-radius:10px;padding:.9rem 1rem;display:grid;gap:.45rem}
.card h3{font-size:1.02rem}.card p{max-width:none}.card dt{font-weight:600;font-size:.84rem;margin-top:.3rem}.card dd{margin:0;font-size:.9rem}
.card ul{margin:0;padding-left:1.1rem;font-size:.9rem;display:grid;gap:.15rem}
.dup{display:grid;gap:.5rem}.dup li{list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.6rem .8rem}
.due{font-size:.8rem;font-weight:600;border-radius:6px;padding:.1rem .45rem;background:var(--tint);color:var(--muted);white-space:nowrap}.due.late{background:var(--bad-bg);color:var(--bad)}.due.soon{background:var(--warn-bg);color:var(--warn)}
input[type=date]{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:.4rem .5rem;min-height:36px;font:inherit;color:inherit}
td input[type=text]{min-height:34px;padding:.3rem .45rem;min-width:180px}
.askbox{white-space:pre-wrap;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:.7rem .8rem;font-size:.9rem}
footer a{color:inherit}

/* Generated from the prototype's inline style attributes (tools/split-prototype.py). */
.s1{margin-top:1rem}
.s2{gap:.35rem}
.s3{max-width:360px}
.s4{gap:.3rem}
.s5{gap:.4rem}
.s6{max-width:420px}
.s7{gap:.5rem;border-top:1px solid var(--line);padding-top:1rem}
.s8{align-self:end}
.s9{cursor:default}
.s10{min-height:28px;padding:.1rem .4rem}
.s11{margin-top:.8rem;gap:1rem}
.s12{text-transform:none;letter-spacing:0}
.s13{gap:.6rem}
.s14{margin-top:.8rem}
.s15{gap:.25rem}
.s16{gap:.5rem}
.s17{justify-content:space-between}
.s18{grid-template-columns:1fr auto}
.s19{color:var(--good)}

/* Visually hidden, still read by screen readers. The `hidden` attribute removes
   a label from the accessibility tree, which left the register table's
   decision, next-step and date fields with no name (axe: select-name, label). */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* File inputs are visually hidden; their label is the visible button, so it
   shows the focus ring when the input has keyboard focus. */
input[type=file].vh + label.btn{cursor:pointer}
input[type=file].vh:focus-visible + label.btn{outline:3px solid var(--focus);outline-offset:2px}

/* S1 (audit 29 Sep): visually hidden labels inside the register table are
   absolutely positioned; without a containing block they stretched the whole
   page sideways (WCAG 1.4.10). */
.tablewrap{position:relative}

/* M3: skip link, visible when focused. */
.skip{position:absolute;left:16px;top:-100px;z-index:10;background:var(--surface);color:var(--ink);border:2px solid var(--focus);border-radius:8px;padding:.5rem .8rem}
.skip:focus{top:8px}
#view:focus{outline:none}

.err{color:var(--bad);font-weight:600}
details.maptable summary{cursor:pointer;font-weight:600;margin:.4rem 0}

/* S4: forced colours (Windows high contrast). Chosen answers, the current
   step and the current tool must not rely on colour or box-shadow. */
@media (forced-colors:active){
  .opt input:checked + span{forced-color-adjust:none;background:Highlight;color:HighlightText;border:3px solid Highlight}
  .opt input:checked + span::before{content:"\2713  "}
  nav.steps button[aria-current="step"]{border:3px solid CanvasText;border-bottom-width:6px}
  .pdot[aria-current="true"]{border:3px solid CanvasText;text-decoration:underline}
  .chip[aria-pressed="true"]{border:3px solid CanvasText}
}
/* Grid children may shrink below their content, so a wide table inside
   (such as the map table in <details>) scrolls in its own region instead of
   widening the page (WCAG 1.4.10). */
.stack>*{min-width:0}

/* M4 (audit 29 Sep): edges of controls at 3:1 or more against both the card
   and the page background (WCAG 1.4.11). --line stays for decorative rules. */
:root{--control:#857865}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--control:#8C8579}}
:root[data-theme="dark"]{--control:#8C8579}
input[type=text],input[type=number],input[type=date],select,.opt span,.chip,.btn,.pdot,nav.steps button{border-color:var(--control)}

/* M5: at high zoom or on short screens the sticky step bar would cover a
   third or more of the view, so it scrolls with the page instead. */
@media (max-height:560px){nav.steps{position:static}}

/* Folded sections on Decide ("Thinking of changing a tool?"). */
details.fold{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:.2rem .9rem}
details.fold>summary{cursor:pointer;font-weight:650;padding:.6rem 0;min-height:44px;display:list-item}
details.fold[open]>summary{border-bottom:1px solid var(--line);margin-bottom:.8rem}
details.fold>section{padding-bottom:.9rem}

/* One-line privacy box after step 1 (Paul, 29 Sep). */
header.top.compact .pmore{display:none}
header.top.compact .privacy{padding:.4rem .8rem}
/* The read-only example prompt stays in view wherever the person is. */
.banner.exedit{position:fixed;left:16px;right:16px;bottom:16px;z-index:20;background:var(--surface);border-style:solid;box-shadow:0 4px 18px rgba(0,0,0,.18);max-width:960px;margin:0 auto}
ol.startsteps{margin:0;padding-left:1.3rem;display:grid;gap:.3rem}

/* Header: theme switch and a larger Jura Labs logo, linked to juralabs.org (Paul, 30 Sep). */
.brandright{display:flex;align-items:center;gap:1rem}
.logolink{display:block;border-radius:6px}
.themebtn{font-size:.85rem;min-height:40px}
.themebtn::before{content:"\263E" / "";margin-right:.4rem}
.tagline{font-family:var(--f-display);font-weight:600;font-size:1.05rem;color:var(--accent)}

/* Footer: three columns on wide screens, one on narrow (Paul, 30 Sep). */
footer{margin-top:2.5rem;border-top:1px solid var(--line);padding-top:1.4rem;font-size:.84rem;color:var(--muted)}
.fcols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.2rem 2rem}
.fcol{display:grid;gap:.45rem;align-content:start}
.fcol p{max-width:none}
.flogo{font-family:var(--f-display);font-weight:700;font-size:1.05rem;color:var(--brand)!important;text-decoration:none}
.flogo:hover{text-decoration:underline}

/* Register: four columns that fit the page; on phones each tool becomes a card. */
table.reg{min-width:0;table-layout:fixed}
table.reg th:nth-child(1){width:28%}
table.reg th:nth-child(2){width:24%}
table.reg th:nth-child(3){width:16%}
table.reg td{overflow-wrap:anywhere}
table.reg td>div+div{margin-top:.15rem}
.minis{display:flex;flex-wrap:wrap;gap:.3rem}
.minis .light{font-size:.8rem}
.decgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,9.5rem);gap:.4rem .5rem}
.decgrid .decnext{grid-column:1/-1}
.decgrid label{font-size:.74rem;font-weight:600;color:var(--muted)}
table.reg select,table.reg input[type=text],table.reg input[type=date]{min-width:0;width:100%;min-height:36px;padding:.3rem .45rem}
@media (max-width:700px){
  .decgrid{grid-template-columns:1fr}
  table.reg thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  table.reg,table.reg tbody,table.reg tr,table.reg td{display:block;width:auto}
  table.reg tr{padding:.7rem .2rem;border-bottom:1px solid var(--line)}
  table.reg tr:last-child{border-bottom:0}
  table.reg td{border:0;padding:.3rem .6rem}
  table.reg td[data-label]::before{content:attr(data-label);display:block;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:.2rem}
}

/* Phones: the step bar is one short row (it took a quarter of the screen). The full step
   name stays in each button for screen readers; a short word is shown instead. */
nav.steps .short{display:none}
@media (max-width:560px){
  nav.steps ol{grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem}
  nav.steps{padding-block:.4rem}
  nav.steps button{position:relative;flex-direction:column;justify-content:center;align-items:center;gap:.1rem;padding:.3rem .2rem;text-align:center;min-height:44px}
  nav.steps .lbl{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  nav.steps .short{display:block;font-size:.78rem;font-weight:600;line-height:1.1;overflow-wrap:anywhere}
  nav.steps .n{width:1.35rem;height:1.35rem;font-size:.72rem}
}

/* Live accessibility check, 30 Sep 2026. */
/* M2: example text in fields at 4.5:1 or more in both themes (the browser grey was 2.6:1 on dark). */
::placeholder{color:var(--muted);opacity:1}
/* m4: checkboxes big enough to hit (2.5.8). */
input[type=checkbox]{width:1.25rem;height:1.25rem;margin:0;accent-color:var(--accent)}
