/* Layout: YPR × IUC briefing look — deep purple masthead band with logo tile and gold rule, warm paper page, white document cards, process rail on the left. */
:root{
  --bg:#f5f2ee; --surface:#ffffff; --surface-2:#f1ecf6; --border:#e3dce9;
  --text:#211a2c; --text-2:#5e566d;
  --brand:#3d1f63; --brand-2:#2c1449; --brand-ink:#ffffff; --brand-ink-2:#d9cdea;
  --accent:#5b2a8c; --accent-strong:#4a2275; --accent-contrast:#ffffff; --accent-tint:rgba(91,42,140,.10);
  --gold:#f2b51c; --gold-tint:rgba(242,181,28,.14);
  --ok:#1d6b34; --warn:#9a4a00; --bad:#b3261e; --on-status:#ffffff;
  --ok-tint:rgba(29,107,52,.10); --warn-tint:rgba(154,74,0,.10); --bad-tint:rgba(179,38,30,.08);
  --shadow:0 1px 2px rgba(35,20,60,.05),0 2px 8px -4px rgba(35,20,60,.10);
  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --sans:"Source Sans 3","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,sans-serif;
  --dur:180ms;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#141019; --surface:#1e1828; --surface-2:#2a2238; --border:#3a3049;
  --text:#f3eef8; --text-2:#b3a9c2;
  --brand:#2c1449; --brand-2:#210f37; --brand-ink:#ffffff; --brand-ink-2:#cbbbe3;
  --accent:#c9a8f3; --accent-strong:#6e3aa8; --accent-contrast:#ffffff; --accent-tint:rgba(201,168,243,.14);
  --gold:#f5c04a; --gold-tint:rgba(245,192,74,.12);
  --ok:#5fd08a; --warn:#f2a744; --bad:#ff7d73; --on-status:#14101a;
  --ok-tint:rgba(95,208,138,.14); --warn-tint:rgba(242,167,68,.14); --bad-tint:rgba(255,125,115,.14);
  --shadow:0 1px 2px rgba(0,0,0,.4);
  color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#141019; --surface:#1e1828; --surface-2:#2a2238; --border:#3a3049;
  --text:#f3eef8; --text-2:#b3a9c2;
  --brand:#2c1449; --brand-2:#210f37; --brand-ink:#ffffff; --brand-ink-2:#cbbbe3;
  --accent:#c9a8f3; --accent-strong:#6e3aa8; --accent-contrast:#ffffff; --accent-tint:rgba(201,168,243,.14);
  --gold:#f5c04a; --gold-tint:rgba(245,192,74,.12);
  --ok:#5fd08a; --warn:#f2a744; --bad:#ff7d73; --on-status:#14101a;
  --ok-tint:rgba(95,208,138,.14); --warn-tint:rgba(242,167,68,.14); --bad-tint:rgba(255,125,115,.14);
  --shadow:0 1px 2px rgba(0,0,0,.4);
  color-scheme:dark}

*{box-sizing:border-box}
[hidden]{display:none!important}
body{background:var(--bg);color:var(--text);font-family:var(--sans);font-size:15px;line-height:22px}
h1,h2,h3{font-family:var(--serif);text-wrap:balance;margin:0;color:var(--text)}
h1{font-size:30px;line-height:36px;font-weight:700}
h2{font-size:20px;line-height:27px;font-weight:700}
h3{font-size:16px;line-height:21px;font-weight:600}
p{margin:0}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.eyebrow{font-size:12px;line-height:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.muted{color:var(--text-2)}
.small{font-size:13px;line-height:18px}
.lead{margin-top:6px;max-width:72ch;color:var(--text-2)}
main h1{position:relative;padding-left:16px}
main h1::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:5px;border-radius:3px;background:var(--gold)}

/* masthead */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--brand)}
.topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--brand);color:var(--brand-ink);border-bottom:3px solid var(--gold)}
.wrap{max-width:1180px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.topbar .wrap{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-block:12px}
.brand{display:flex;align-items:center;gap:14px;margin-right:auto;min-width:0}
.logo-tile{background:#ffffff;border-radius:10px;padding:6px 10px;display:flex;align-items:center;gap:10px;flex:none}
.logo-tile img{height:40px;width:auto;max-width:160px;display:block}
.logo-tile .sep{width:1px;align-self:stretch;background:#e3dce9}
.forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.form{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:14px 16px;display:flex;flex-direction:column;gap:8px;min-width:0}
.form.req{border-top:4px solid var(--gold)}
.form h3{font-size:15px;line-height:20px}
.form .acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:auto}
.form .meta{font-size:12px;line-height:16px;color:var(--text-2)}
.brand b{font-family:var(--serif);font-weight:700;font-size:19px;line-height:23px;display:block;color:var(--brand-ink)}
.brand .sub{font-size:12px;line-height:16px;color:var(--brand-ink-2)}
@media (max-width:520px){.logo-tile{gap:8px;padding:5px 8px}.logo-tile img{height:26px}.brand{flex-wrap:wrap}.brand b{font-size:16px}}
.seg{display:inline-flex;background:var(--surface-2);border-radius:9px;padding:3px;gap:2px}
.seg button{border:0;background:transparent;color:var(--text-2);padding:6px 12px;border-radius:7px;font-weight:600;transition:background var(--dur),color var(--dur)}
.seg button[aria-pressed="true"]{background:var(--surface);color:var(--accent);box-shadow:var(--shadow)}
.topbar .seg{background:rgba(255,255,255,.12)}
.topbar .seg button{color:var(--brand-ink-2)}
.topbar .seg button[aria-pressed="true"]{background:#ffffff;color:#3d1f63}
.topbar #whoami{color:var(--brand-ink-2)}
.topbar .seg.lang button{padding:6px 10px;letter-spacing:.04em}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;padding:8px 16px;font-weight:600;border:1px solid var(--border);background:var(--surface);color:var(--text);transition:transform var(--dur),background var(--dur),border-color var(--dur)}
.btn:hover{border-color:var(--accent)}
.btn:active{transform:scale(.97)}
.btn.primary{background:var(--accent-strong);border-color:transparent;color:var(--accent-contrast)}
.btn.primary:hover{background:var(--brand)}
.btn:disabled{opacity:.45;cursor:not-allowed}
.btn.danger{color:var(--bad);border-color:var(--bad)}
.btn.danger:hover{background:var(--bad-tint)}
.btn.danger.solid{background:var(--bad);color:var(--on-status)}
.btn.sm{padding:5px 11px;font-size:13px;line-height:18px}
.link{border:0;background:none;color:var(--accent);padding:0;font-size:13px;font-weight:600}
.link.danger{color:var(--bad);padding-bottom:9px}

.shell{display:grid;grid-template-columns:270px minmax(0,1fr);gap:28px;padding-block:28px 56px}
@media (max-width:860px){.shell{grid-template-columns:minmax(0,1fr)}.shell > aside{order:2}}
.card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;padding:20px}
.stack{display:flex;flex-direction:column;gap:16px}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.between{justify-content:space-between}

/* process rail */
.rail{border-top:4px solid var(--brand)}
.rail ol{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column}
.rail li{display:grid;grid-template-columns:28px 1fr;gap:10px;position:relative;padding-bottom:18px}
.rail li:not(:last-child)::after{content:"";position:absolute;left:13px;top:28px;bottom:2px;width:2px;background:var(--border)}
.rail li.done:not(:last-child)::after{background:var(--accent-strong)}
.dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;background:var(--surface-2);color:var(--text-2);border:1px solid var(--border)}
.rail li.done .dot{background:var(--accent-strong);color:var(--accent-contrast);border-color:transparent}
.rail li.now .dot{background:var(--gold);color:#2c1449;border-color:transparent}
.rail li.back .dot{background:var(--bad);color:var(--on-status);border-color:transparent}
.rail .t{font-weight:700;padding-top:4px}
.rail .d{font-size:13px;line-height:17px;color:var(--text-2)}
.loop{margin-top:4px;font-size:13px;line-height:17px;color:var(--bad);font-weight:600}
@media (max-width:860px){.rail ol{flex-direction:row;overflow-x:auto;gap:12px}.rail li{grid-template-columns:28px auto;padding-bottom:0;min-width:170px}.rail li::after{display:none}}
.side-note{background:var(--surface-2);border-color:transparent;box-shadow:none}
.pmlist{margin:0;padding:0;list-style:none;counter-reset:pm;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
.pmlist li{counter-increment:pm;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--border)}
.pmlist li:first-child{border-top:0}
.pmlist li::before{content:counter(pm) ".";color:var(--text-2);font-weight:700;font-variant-numeric:tabular-nums}
.regsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.regsteps li{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start}
.regsteps .dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;background:var(--surface-2);border:1px dashed var(--border);color:var(--text-2)}
.regsteps li.done .dot{background:var(--ok);border:0;color:var(--on-status)}
.regsteps .t{font-weight:700;padding-top:4px}
.regsteps .d{font-size:13px;line-height:17px;color:var(--text-2)}

.who{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.who div{min-width:0}
.who .v{font-weight:600;overflow-wrap:anywhere}
.who .wide{grid-column:span 2}
@media (max-width:560px){.who .wide{grid-column:auto}}

.docs{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface)}
.doc{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;padding:14px 16px;align-items:start;border-top:1px solid var(--border)}
.doc:first-child{border-top:0}
.doc .n{width:28px;height:28px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:grid;place-items:center;font-weight:700;font-size:13px;font-variant-numeric:tabular-nums}
.doc .name{font-weight:700}
.doc .en{font-size:13px;line-height:17px;color:var(--text-2)}
.doc .file{font-size:13px;line-height:17px;margin-top:4px;overflow-wrap:anywhere}
.doc .actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.doc.locked{background:var(--surface-2)}
.doc.locked .n{background:var(--text-2)}
@media (max-width:560px){.doc{grid-template-columns:28px minmax(0,1fr)}.doc .actions{grid-column:2;justify-content:flex-start}}

.pill{display:inline-flex;align-items:center;gap:5px;border-radius:9999px;padding:3px 10px;font-size:12px;line-height:16px;font-weight:600;white-space:nowrap;background:var(--surface-2);color:var(--text-2)}
.pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.pill.ok{background:var(--ok-tint);color:var(--ok)}
.pill.warn{background:var(--warn-tint);color:var(--warn)}
.pill.bad{background:var(--bad-tint);color:var(--bad)}
.pill.acc{background:var(--accent-tint);color:var(--accent)}

.checks{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.checks li{display:grid;grid-template-columns:16px 1fr;gap:6px;font-size:13px;line-height:18px}
.checks .i{font-weight:700;text-align:center}
.checks .ok .i{color:var(--ok)}
.checks .bad .i{color:var(--bad)}
.checks .warn .i{color:var(--warn)}
.checks li.grp{display:block;font-weight:700;margin-top:6px}
.suggest{margin-top:10px;border-radius:8px;padding:10px 12px;background:var(--gold-tint);border-left:4px solid var(--gold)}
.suggest .eyebrow{color:var(--text)}
.suggest ol{margin:6px 0 0;padding-left:20px;font-size:13px;line-height:19px;display:flex;flex-direction:column;gap:3px}
.rejdocs{display:flex;flex-direction:column;gap:6px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--surface);font-size:14px}
.rnote{margin-top:8px;font-size:13px;line-height:18px;border-radius:8px;padding:8px 12px;background:var(--surface-2)}

.clos{display:grid;gap:12px}
.clo{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:14px 16px;display:flex;flex-direction:column;gap:10px;min-width:0}
.clo-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center}
.clo-head b{font-family:var(--serif);font-weight:700;font-size:16px;color:var(--accent)}
.quote{font-family:var(--serif);font-size:15px;line-height:22px;border-left:3px solid var(--gold);padding-left:12px;font-style:italic}
.elements{display:flex;gap:6px;flex-wrap:wrap}
.el{font-size:12px;line-height:16px;border-radius:6px;padding:2px 8px;background:var(--surface-2);color:var(--text-2);font-weight:600}
.el.y{background:var(--ok-tint);color:var(--ok)}
.el.n{background:var(--bad-tint);color:var(--bad);text-decoration:line-through}

.topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.topic{border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--surface);display:flex;flex-direction:column;gap:6px;min-width:0}
.topic .code{font-size:11px;line-height:14px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:.04em}
.topic .nm{font-weight:600;font-size:14px;line-height:18px}

.elig{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.elig > div{border:1px solid var(--border);border-radius:10px;padding:12px 14px;background:var(--surface-2);display:flex;flex-direction:column;gap:6px;min-width:0}
.elig .big{font-family:var(--serif);font-weight:700;font-size:26px;line-height:30px;color:var(--brand);font-variant-numeric:tabular-nums}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .elig .big{color:var(--accent)}}
:root[data-theme="dark"] .elig .big{color:var(--accent)}

.tablewrap{overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
table{border-collapse:collapse;width:100%;min-width:640px}
th,td{text-align:left;padding:11px 14px;border-top:1px solid var(--border);vertical-align:top;font-size:14px;line-height:19px}
thead th{border-top:0;background:var(--brand);color:var(--brand-ink);font-size:12px;line-height:16px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
tr.click{cursor:pointer}
tr.click:hover td{background:var(--surface-2)}
td.num{font-variant-numeric:tabular-nums}

.callout{border-radius:12px;padding:16px 18px;border:1px solid transparent}
.callout.ok{background:var(--ok-tint);border-color:var(--ok-tint)}
.callout.bad{background:var(--bad-tint);border-left:5px solid var(--bad)}
.callout.acc{background:var(--accent-tint);border-left:5px solid var(--accent-strong)}
.callout.ok{border-left:5px solid var(--ok)}
.callout .big{font-family:var(--serif);font-weight:700;font-size:20px;line-height:25px}
.callout.small{padding:10px 14px;font-size:14px}

textarea,input:not([type=file]),select{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 10px}
textarea{min-height:56px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:2px solid var(--accent-tint);outline-offset:0}
label.f{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:17px;font-weight:600;color:var(--text-2)}
.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.emprow{display:grid;grid-template-columns:2fr 1.3fr 1.5fr 1fr 1fr auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}
@media (max-width:760px){.emprow{grid-template-columns:1fr 1fr}}

.decision{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.decision button{border:0;background:var(--surface);color:var(--text-2);padding:6px 12px;font-size:13px;font-weight:600}
.decision button+button{border-left:1px solid var(--border)}
.decision button[aria-pressed="true"].a{background:var(--ok);color:var(--on-status)}
.decision button[aria-pressed="true"].r{background:var(--bad);color:var(--on-status)}

.letter{background:var(--surface);border:1px solid var(--border);border-top:6px solid var(--brand);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:12px;max-width:680px}
.letter .ref{font-variant-numeric:tabular-nums;font-size:13px;color:var(--text-2)}
.kv{display:grid;grid-template-columns:180px minmax(0,1fr);gap:6px 12px;font-size:14px;margin:0}
@media (max-width:480px){.kv{grid-template-columns:minmax(0,1fr)}}
.kv dt{color:var(--text-2)}.kv dd{margin:0;font-weight:600}

.hist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.hist li{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;font-size:13px;line-height:18px}
.hist time{color:var(--text-2);font-variant-numeric:tabular-nums}

details.fold summary{cursor:pointer;font-family:var(--serif);font-weight:700;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:8px}
details.fold summary::-webkit-details-marker{display:none}
details.fold summary::after{content:attr(data-show);font-family:var(--sans);font-weight:600;color:var(--accent);font-size:13px}
details.fold[open] summary::after{content:attr(data-hide)}
.rub{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:14px}
.rub section{border:1px solid var(--border);border-radius:10px;padding:12px;background:var(--surface-2);min-width:0}
.rub ul{margin:6px 0 0;padding-left:18px;font-size:13px;line-height:18px;display:flex;flex-direction:column;gap:3px}

a.file{display:block;color:var(--accent);text-decoration:none;font-weight:600}
a.file:hover{text-decoration:underline}
main .seg{align-self:flex-start;flex-wrap:wrap}

.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--brand);color:var(--brand-ink);border-bottom:3px solid var(--gold);padding:10px 16px;border-radius:10px;font-weight:600;box-shadow:0 10px 30px -10px rgba(0,0,0,.4);z-index:20;max-width:calc(100% - 32px)}
.fcompact{gap:12px}
.flist{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
.frow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding:10px 14px;border-top:1px solid var(--border)}
.frow:first-child{border-top:0}
.frow .ft{display:flex;flex-direction:column;min-width:0}
.frow .ft b{font-size:15px;line-height:20px}
.frow .fa{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.frow .meta{font-size:12px;color:var(--text-2)}
.fguides summary{cursor:pointer;font-weight:600;color:var(--accent)}
@media (max-width:560px){.frow{grid-template-columns:minmax(0,1fr)}.frow .fa{justify-content:flex-start}}
html.easy .frow .ft b{font-size:18px;line-height:26px}
html.easy .frow .meta{font-size:15px}
.side-rub{padding:16px 18px}
.side-rub details.fold summary{font-size:16px;line-height:22px;align-items:flex-start}
.side-rub details.fold summary::after{flex:none}
.side-rub .rub{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px}
.side-rub .rub section{padding:10px 12px}
.side-rub .rub h3{font-size:14px;line-height:19px}
html.easy .side-rub details.fold summary{font-size:18px;line-height:26px}
html.easy .side-rub .rub h3{font-size:17px;line-height:24px}
.rubtabs{display:flex;flex-wrap:wrap;gap:3px;margin-top:12px}
.rubtabs button{width:23px;height:23px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:700;padding:0;display:grid;place-items:center}
.rubtabs button:hover{border-color:var(--accent)}
.rubtabs button[aria-current="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.side-rub .rub{min-height:220px;align-content:start}
.rubnav{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:10px}
html.easy .rubtabs button{width:32px;height:32px;font-size:15px}
/* ===== Reviewer pages ===== */
body.rev-view .shell{grid-template-columns:minmax(0,1fr)}
body.rev-view .shell>aside{display:none}
.revtools{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between}
.revtools .seg{flex-wrap:wrap}
.seg .formtab{margin-left:6px}
.search{flex:1 1 220px;max-width:340px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.pmlist li.click{cursor:pointer}
.pmlist li.click:hover{background:var(--surface-2)}
.pmlist li[hidden]{display:none}
.revbar{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--border);border-left:5px solid var(--gold);border-radius:12px;padding:12px 16px;box-shadow:var(--shadow)}
.revbar.sticky{position:sticky;top:calc(var(--hdr,76px) + 8px);z-index:4;box-shadow:0 10px 24px -14px rgba(35,20,60,.45)}
@media (max-width:760px){.revbar.sticky{position:static}}
.revbar .who2{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 320px}
.revbar .who2 b{font-size:17px;line-height:22px}
.revbar .who2 span{font-size:13px;line-height:18px;color:var(--text-2)}
.revbar .acts{justify-content:flex-end}
.msum{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.msum>div{border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--surface-2);font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:4px;min-width:0}
.msum .bad,.revbar .bad{color:var(--bad);font-weight:700}
details.passed{margin-top:4px}
details.passed summary{cursor:pointer;font-size:13px;color:var(--ok);font-weight:600}
p.dates{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:center;margin:0;padding:10px 14px;border-radius:10px;background:var(--surface-2)}
html.easy .revbar .who2 b{font-size:20px;line-height:28px}
html.easy .revbar .who2 span,html.easy .msum>div,html.easy details.passed summary{font-size:16px;line-height:24px}
/* ===== DRAFT: minimalist type and wider layout ===== */
:root{--sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--serif:var(--sans)}
body{font-size:16px;line-height:25px;letter-spacing:-0.006em;-webkit-font-smoothing:antialiased}
h1,h2,h3,.brand b,.callout .big,.elig .big,.clo-head b,details.fold summary,.quote{font-family:var(--sans)}
h1{font-size:36px;line-height:42px;font-weight:700;letter-spacing:-0.025em}
h2{font-size:22px;line-height:29px;font-weight:650;letter-spacing:-0.015em}
h3{font-size:17px;line-height:23px;font-weight:600}
.quote{font-style:normal}
.wrap{max-width:1400px}
.shell{gap:36px;padding-block:36px 64px}
@media (min-width:861px){.shell{grid-template-columns:300px minmax(0,1fr)}}
.lead{max-width:92ch;font-size:16.5px;line-height:26px}
.small{font-size:14px;line-height:20px}
.eyebrow{font-size:12.5px;line-height:17px;letter-spacing:.07em;font-weight:600}
.brand b{font-size:20px;line-height:24px;font-weight:650;letter-spacing:-0.01em}
.brand .sub{font-size:12.5px}
.card{padding:26px 28px;border-radius:14px}
.stack{gap:20px}
th,td{font-size:15px;line-height:21px;padding:15px 18px}
thead th{font-size:12px;letter-spacing:.07em;font-weight:600}
.callout{padding:18px 22px}
.callout .big{font-size:21px;line-height:27px;font-weight:650;letter-spacing:-0.01em}
.elig .big{font-size:30px;line-height:34px;font-weight:700;letter-spacing:-0.02em}
.doc{padding:16px 20px}
.doc .name{font-size:16px}
.doc .en,.doc .file{font-size:14px;line-height:19px}
.checks li{font-size:14.5px;line-height:21px}
.suggest ol{font-size:14.5px;line-height:21px}
.rail .t{font-size:15.5px}
.rail .d{font-size:13.5px;line-height:18px}
.pill{font-size:12.5px}
.btn{font-weight:600;padding:9px 18px}
.btn.sm{font-size:13.5px}
label.f{font-size:14px}
.msum>div{font-size:15px;line-height:22px}
.revbar .who2 b{font-size:19px}
.revbar .who2 span{font-size:13.5px}
.form h3,.frow .ft b{font-size:15.5px}
.login-intro{max-width:none}
.login-intro .lead{max-width:80ch}
.login-wrap{padding-block:48px 72px}
.emprow>*,.emprow input,.emprow select{min-width:0}
@media (max-width:760px){.emprow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media (max-width:560px){.card{padding:18px 16px}h1{font-size:30px;line-height:36px}}
/* ===== Easy read: bigger, clearer letters, more space, stronger contrast ===== */
.easy-toggle{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.35);background:transparent;color:var(--brand-ink);border-radius:9px;padding:6px 12px;font-weight:600;font-size:14px;line-height:18px}
.easy-toggle .aa{font-family:var(--serif);font-weight:700;font-size:16px}
.easy-toggle:hover{border-color:#fff}
.easy-toggle[aria-pressed="true"]{background:#ffffff;color:#3d1f63;border-color:#ffffff}
html.easy{--text-2:var(--text);--border:#b9aec6}
@media (prefers-color-scheme:dark){html.easy:not([data-theme="light"]){--border:#5a4d6b}}
html.easy[data-theme="dark"]{--border:#5a4d6b}
html.easy body{font-family:"Atkinson Hyperlegible",Verdana,"Segoe UI",sans-serif;font-size:18px;line-height:30px;letter-spacing:.02em;word-spacing:.1em}
html.easy h1,html.easy h2,html.easy h3,html.easy .brand b,html.easy .callout .big,html.easy .elig .big,html.easy .clo-head b,html.easy details.fold summary{font-family:"Atkinson Hyperlegible",Verdana,sans-serif;letter-spacing:0}
html.easy h1{font-size:32px;line-height:40px}
html.easy h2{font-size:24px;line-height:32px}
html.easy h3{font-size:20px;line-height:28px}
html.easy p,html.easy li{max-width:70ch}
html.easy .lead{max-width:65ch}
html.easy .small,html.easy .doc .en,html.easy .doc .file,html.easy .rail .d,html.easy .form .meta,html.easy .loop,html.easy .rnote,html.easy .callout.small,html.easy .regsteps .d,html.easy .hist li,html.easy .rub ul,html.easy .kv{font-size:16px;line-height:26px}
html.easy .checks li{font-size:17px;line-height:27px;grid-template-columns:22px 1fr}
html.easy .suggest ol{font-size:17px;line-height:28px;gap:6px}
html.easy .eyebrow{font-size:15px;line-height:20px;letter-spacing:.02em;text-transform:none}
html.easy .pill{font-size:15px;line-height:20px;padding:4px 12px;white-space:normal;max-width:100%}
html.easy .el,html.easy .topic .code{font-size:14px;line-height:20px}
html.easy .topic .nm,html.easy .form h3{font-size:17px;line-height:24px}
html.easy label.f{font-size:16px;line-height:22px;color:var(--text)}
html.easy input:not([type=file]),html.easy select,html.easy textarea{font-size:18px;padding:10px 12px;border-width:2px}
html.easy th,html.easy td{font-size:17px;line-height:26px;padding:14px 16px}
html.easy thead th{font-size:15px;letter-spacing:.02em;text-transform:none}
html.easy .btn{min-height:46px;padding:10px 18px;font-size:17px}
html.easy .btn.sm{min-height:40px;padding:7px 14px;font-size:16px}
html.easy .link{font-size:16px;text-decoration:underline;text-underline-offset:3px}
html.easy .decision button{font-size:16px;padding:9px 16px}
html.easy a.file{text-decoration:underline;text-underline-offset:3px;font-size:17px}
html.easy .quote{font-style:normal;font-family:"Atkinson Hyperlegible",Verdana,sans-serif}
html.easy .stack{gap:22px}
html.easy .card{padding:24px}
html.easy .doc{padding:18px 18px;gap:14px}
html.easy .who .v{font-size:18px}
html.easy .brand .sub{font-size:14px;line-height:20px}
html.easy .toast{font-size:18px;padding:14px 20px}
html.easy :focus-visible{outline-width:3px;outline-offset:3px}
html.easy .dot{width:32px;height:32px;font-size:14px}
@media (max-width:520px){.easy-toggle .lbl{display:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
