:root{
  --ink:#17201c;--muted:#56635d;--line:#dbe3df;--paper:#fff;--bg:#f3f6f4;
  --nav:#10261e;--nav-2:#17362a;--nav-text:#dce8e2;--nav-muted:#86a196;--nav-link:#ccdbd4;--nav-subtle:#a9bdb4;
  --accent:#166044;--accent-2:#e9f3ee;--accent-3:#cfe4d9;
  --focus:#166044;--focus-on-dark:#79b497;
  --info:#285c5f;--info-bg:#ebf5f4;--info-border:#5e9a9c;
  --warn:#7a5700;--warn-bg:#fff8dc;--warn-border:#a97d1a;--warn-border-soft:#e7d59b;
  --bad:#8a2020;--bad-bg:#fff0f0;--bad-border:#b85c5c;--bad-border-soft:#efcfcf;
  --ok:#225f3d;--ok-bg:#ecf7f0;--ok-border:#2f7d5b;--neutral:#4a5751;--neutral-bg:#f1f5f3;--neutral-border:#b3c2bb;
  --text-secondary:#44524b;--text-disabled:#8a958f;
  /* Principal UX pass: the design-system roles that were missing (existing names above are the canonical ones:
     --bg canvas, --paper primary surface, --ink / --text-secondary / --muted text, --line subtle border, --accent brand). */
  --surface-subtle:#f8faf9;--surface-hover:#f2f6f4;--surface-overlay:rgba(255,255,255,.84);--text-inverse:#ffffff;
  --line-strong:#c3d2ca;--control-border:#80948b;
  --accent-hover:#124f39;--accent-strong:#0f3d2c;--brand-emerald:#2f7d5b;--brand-teal:#1f6f6a;
  --canvas-gradient:linear-gradient(180deg,#f6f8f7 0%,#eff4f1 55%,#ecf2ef 100%);
  --brand-gradient:linear-gradient(180deg,#1b6a4b 0%,#155c41 100%);
  --focus-ring:0 0 0 3px rgba(22,96,68,.22);
  --shadow-1:0 1px 2px rgba(16,38,30,.05);--shadow-2:0 1px 2px rgba(16,38,30,.04),0 6px 18px rgba(16,38,30,.07);
  --shadow-3:0 18px 44px rgba(16,38,30,.16);
  --radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-control:8px;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:40px;--space-8:48px;
  --font-ui:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --font-display:"Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --font-mono:"Cascadia Mono",Consolas,ui-monospace,SFMono-Regular,Menlo,monospace;
  --fs-page:28px;--fs-record:24px;--fs-section:18px;--fs-panel:16px;--fs-subsection:15px;--fs-body:14px;--fs-value:15px;
  --fs-label:13px;--fs-help:12.5px;--fs-meta:11px;--fs-code:12px;--fs-kpi:28px;--lh-body:1.5;
  --dur-1:.15s;--dur-2:.2s;--ease:cubic-bezier(.2,.6,.2,1);
  --w-prose:72ch;--w-task:1320px;--w-form:1040px
}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;font-family:var(--font-ui);color:var(--ink);background:var(--bg) var(--canvas-gradient) fixed;font-size:var(--fs-body);line-height:var(--lh-body);text-rendering:optimizeLegibility}
a{color:inherit}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}
.workspace-nav{color:var(--nav-text);display:flex;flex-direction:column;padding:18px 12px 14px;position:sticky;top:0;height:100vh;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--nav-muted) transparent;z-index:20}
.brand{display:flex;align-items:center;gap:10px;padding:2px 7px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{height:38px;width:38px;border-radius:var(--radius-md);background:#dff0e8;color:#124a35;display:grid;place-items:center;font-weight:700;font-size:16px}.brand-copy strong,.brand-copy span{display:block}.brand-copy strong{font-size:14px}.brand-copy span{font-size:11px;color:var(--nav-subtle);margin-top:2px}
.nav-groups{display:grid;gap:12px;padding-top:12px}.nav-group{display:grid;gap:2px}.nav-group-title{color:var(--nav-muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;padding:0 10px 4px}.nav-item{display:flex;align-items:center;gap:11px;color:var(--nav-link);text-decoration:none;padding:8px 10px;border-radius:var(--radius-control);font-size:13px;font-weight:600}.nav-item:hover{background:rgba(255,255,255,.06);color:var(--text-inverse)}.nav-text{min-width:0}
.sidebar-foot{margin-top:auto;padding-top:12px}.user-card-link{display:flex;gap:9px;align-items:center;border-top:1px solid rgba(255,255,255,.08);padding:12px 5px;text-decoration:none;color:inherit}.user-avatar{width:34px;height:34px;flex-shrink:0;border-radius:999px;background:#28483c;display:grid;place-items:center;font-weight:700}.user-card{min-width:0}.user-card span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-card strong{display:block;font-size:12px;overflow-wrap:anywhere}.user-card span{color:var(--nav-subtle);font-size:11px;margin-top:2px}.sidebar-foot .sidebar-signout{padding:6px 12px;font-size:13px;border-color:rgba(255,255,255,.12)!important;color:var(--nav-text)!important;background:transparent!important}.sidebar-signout:hover{background:rgba(255,255,255,.06)!important}
.main{min-width:0}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 28px;position:sticky;top:0;z-index:10}.topbar-left{display:flex;align-items:center;gap:12px}.topbar-title strong,.topbar-title span{display:block}.topbar-title strong{font-size:14px}.topbar-title span{font-size:11px;color:var(--muted);margin-top:2px}.topbar-meta{display:flex;align-items:center;gap:8px}.env{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:5px 9px;background:var(--surface-subtle)}.topbar-user{font-size:12px;font-weight:650;text-decoration:none;color:var(--accent-strong)}
.content{padding:28px 30px 60px;max-width:1540px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px}.page-head h1{font-size:var(--fs-page);font-family:var(--font-display);font-weight:700;line-height:1.2;letter-spacing:-.015em;margin:0 0 6px}.page-head p{margin:0;color:var(--text-secondary);max-width:880px;line-height:1.5}.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.metric-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.metric-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px}.metric{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:16px 18px;box-shadow:var(--shadow-1)}.metric span,.metric small{display:block;color:var(--muted)}.metric strong{display:block;font-size:var(--fs-kpi);font-family:var(--font-display);font-weight:650;font-variant-numeric:tabular-nums;line-height:1.1;margin:8px 0 4px;letter-spacing:-.015em}.metric.attention{border-left:3px solid var(--warn-border)}.metric.issue{border-left:3px solid var(--bad-border)}.metric.good{border-left:3px solid var(--ok-border)}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-1);padding:20px 22px;margin-bottom:20px}.panel h2{margin:0 0 14px;font-size:var(--fs-section);font-family:var(--font-display);font-weight:650;line-height:1.3}.panel h3{margin:0 0 10px;font-size:var(--fs-subsection);font-weight:650}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.panel-head h2{margin:0}.panel-head p{margin:3px 0 0;color:var(--text-secondary);max-width:920px;line-height:1.5}.split-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:18px}.split-grid.wide-second{grid-template-columns:minmax(300px,.55fr) minmax(0,1.45fr)}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 24px}.quick-action{padding:4px 0;text-decoration:none;display:grid;gap:3px}.quick-action strong{font-size:13px;color:var(--accent)}.quick-action:hover strong{text-decoration:underline}.quick-action span{font-size:var(--fs-label);color:var(--text-secondary)}
.table-wrap{position:relative;overflow:auto;border:1px solid var(--line);border-radius:var(--radius-md)}table{width:100%;border-collapse:collapse;min-width:760px;background:var(--paper)}th{text-align:left;position:sticky;top:0}th,td{padding:10px 11px;border-bottom:1px solid var(--line);vertical-align:top}.muted{color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:28px}
.badge,.tag{border:1px solid var(--line-strong);white-space:nowrap}.link{color:var(--accent);font-weight:600;text-decoration:none}.link:hover{text-decoration:underline}
.btn{border:1px solid var(--line-strong);background:var(--paper);color:var(--accent-strong);border-radius:var(--radius-control);padding:8px 14px;font:inherit;font-weight:600;line-height:20px;white-space:nowrap;cursor:pointer;text-decoration:none;display:inline-block;transition:background-color var(--dur-1) var(--ease),border-color var(--dur-1) var(--ease),box-shadow var(--dur-1) var(--ease)}.btn:hover{background:var(--surface-hover);border-color:var(--control-border)}.btn.primary{background:var(--accent) var(--brand-gradient);border-color:var(--accent-hover);color:var(--text-inverse);box-shadow:var(--shadow-1)}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-strong)}.btn.danger{border-color:var(--bad-border-soft);color:var(--bad);background:var(--bad-bg)}.btn.danger:hover{border-color:var(--bad-border);background:var(--bad-bg)}.btn.ghost{background:transparent;border-color:transparent;color:var(--accent)}.btn.ghost:hover{background:var(--accent-2)}.btn.small{padding:5px 8px;font-size:12px;line-height:18px}.btn.full{width:100%}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.form-stack{display:grid;gap:14px}.form-grid label,.form-stack label{display:grid;gap:6px}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.form-actions{display:flex;align-items:end;gap:8px}input,select,textarea{width:100%;border:1px solid var(--control-border);background:var(--paper);border-radius:var(--radius-control);padding:8px 10px;font-family:inherit;font-size:var(--fs-body);font-weight:400;line-height:20px;color:var(--ink);transition:border-color var(--dur-1) var(--ease),box-shadow var(--dur-1) var(--ease)}textarea{min-height:70px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--focus);box-shadow:var(--focus-ring)}.inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mini-form{display:inline-flex;gap:6px;align-items:center;margin:2px 4px 2px 0}.mini-form input,.mini-form select{width:auto;min-width:120px}.decision-form{display:flex;gap:6px;margin-bottom:6px;align-items:flex-start}.decision-form input,.decision-form textarea{min-width:210px}.decision-form textarea{min-height:38px}.detail-form{display:grid;gap:10px;padding:12px 0;min-width:280px}
details{margin-top:6px}summary{cursor:pointer;color:var(--accent);font-weight:600;font-size:13px}.flash{padding:11px 14px;border-radius:var(--radius-md);margin-bottom:16px;border:1px solid var(--ok-border);border-left-width:3px;background:var(--ok-bg);color:var(--ok);overflow-wrap:anywhere}.flash.error{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad)}.flash.success{background:var(--ok-bg);border-color:var(--ok-border)}.notice{border:1px solid var(--warn-border);border-left-width:3px;background:var(--warn-bg);padding:11px 14px;border-radius:var(--radius-md);color:var(--warn)}.info-strip{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-left:3px solid var(--info-border);background:var(--surface-subtle);padding:10px 14px;border-radius:var(--radius-md);color:var(--text-secondary);margin-bottom:16px}
.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef5f1,var(--surface-subtle))}.login-card{width:min(460px,calc(100% - 32px));background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-3);padding:30px}.login-brand{margin-bottom:28px}.login-card h1{margin:0 0 4px;font-size:30px}.sample-login{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:5px;color:var(--muted);font-size:12px}.sample-login code{background:var(--surface-subtle);padding:4px 6px;border-radius:5px}
.lineage-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-list{display:grid;grid-template-columns:150px 1fr;gap:9px;margin:0}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;font-weight:600}.scope-list{display:flex;gap:5px;flex-wrap:wrap}.code-note{font-family:var(--font-mono);font-size:11px;color:var(--muted)}
.role-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.role-card{border:1px solid var(--line);border-radius:var(--radius-md);padding:15px;background:var(--paper)}.role-card h3{margin:0 0 4px}.role-card p{margin:0 0 10px;color:var(--muted);font-size:12px}.role-card .scope-list{margin-top:8px}
@media(max-width:1100px){.metric-grid.six{grid-template-columns:repeat(3,1fr)}.form-grid,.form-grid.four{grid-template-columns:repeat(2,1fr)}.split-grid,.role-cards{grid-template-columns:1fr 1fr}.split-grid.wide-second{grid-template-columns:1fr 1fr}.quick-actions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.topbar{padding:0 16px}.content{padding:18px}.metric-grid,.metric-grid.six,.form-grid,.form-grid.two,.form-grid.four,.lineage-grid,.role-cards,.quick-actions{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.span-2,.span-3{grid-column:auto}.topbar-title span{display:none}.split-grid,.split-grid.wide-second{grid-template-columns:1fr}}

/* ---- v0.3 additions: forms, validation, pickers, hierarchy, tabs ---- */
.crumbs{margin:0 0 4px!important;font-size:13px;color:var(--muted)}.crumbs a{color:var(--accent);text-decoration:none}.crumbs a:hover{text-decoration:underline}
.hint{display:block;font-weight:400;font-size:var(--fs-help);line-height:1.45;color:var(--muted);margin-top:3px}
.field-error{display:block;font-weight:600;font-size:var(--fs-help);color:var(--bad);margin-top:3px}
.has-error input,.has-error select,.has-error textarea{border-color:var(--bad-border);background:#fffafa}
.error-list{margin:6px 0 0 18px;padding:0}
.form-panel h2{font-size:var(--fs-subsection);margin:22px 0 12px;padding-top:16px;border-top:1px solid var(--line)}.form-panel h2:first-child{margin-top:0;padding-top:0;border-top:0}
.form-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line);position:sticky;bottom:0;background:linear-gradient(to top,var(--paper) 70%,rgba(255,255,255,.85))}
.plain-fieldset{border:0;margin:0;padding:0;min-width:0}.plain-fieldset[disabled] input,.plain-fieldset[disabled] select,.plain-fieldset[disabled] textarea{background:var(--surface-subtle);color:var(--text-secondary)}
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-bottom:14px}.filter-bar label{display:grid;gap:5px}
.table-filter{max-width:240px;padding:6px 9px}
.is-hidden{display:none!important}
.scope-objects{border:1px solid var(--line);border-radius:var(--radius-md);padding:12px;margin-top:12px;background:var(--surface-subtle)}
.scope-objects-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.scope-objects-head input{max-width:260px;padding:6px 9px}
.scope-group{border:0;margin:0 0 10px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:4px 14px}
.scope-group legend{font-size:var(--fs-meta);text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;margin-bottom:4px;padding:0}
.scope-group label{display:flex;gap:7px;align-items:flex-start;font-weight:500;padding:3px 0}.scope-group input{width:auto;margin-top:2px}
.capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:10px}
.capability-group{border:1px solid var(--line);border-radius:var(--radius-md);padding:10px 12px;margin:0}.capability-group legend{font-weight:700;font-size:12px;padding:0 4px}.panel .capability-grid{gap:18px 28px}.panel .capability-group{border:0;border-radius:0;padding:0}.panel .capability-group>legend{width:100%;padding:0 0 6px;border-bottom:1px solid var(--line);font-size:var(--fs-meta);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.capability{display:flex;gap:9px;align-items:flex-start;padding:7px 0;border-bottom:1px dashed #e4ebe7;font-size:12px}.capability:last-child{border-bottom:0}.capability input{width:auto;margin-top:3px}.capability small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.role-card-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.role-card-foot{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.role-card.is-muted{opacity:.65}
.chip{display:inline-flex;gap:5px;align-items:center;border:1px solid var(--line);border-radius:999px;padding:3px 10px;font-size:12px;text-decoration:none;background:var(--surface-subtle)}.chip:hover{border-color:#a8c7b8}
.tabs{display:flex;flex-wrap:wrap;gap:2px 4px;border-bottom:1px solid var(--line);margin-bottom:14px}.tabs.inline{border:0;margin:0}
.tab{padding:8px 13px;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0;text-decoration:none;color:var(--muted);font-weight:650;font-size:13px;white-space:nowrap}.tab.active{background:var(--paper);border-color:var(--line);color:var(--ink)}.tabs.inline .tab{border-radius:var(--radius-control);border:1px solid var(--line)}.tabs.inline .tab:not(.active):hover{background:var(--surface-hover);color:var(--ink)}.tabs.inline .tab.active{background:var(--accent-2);color:var(--accent-strong);border-color:var(--accent)}
.compact-table{min-width:0}
.nowrap{white-space:nowrap}
/* Stored free text a person typed (decision comments, reasons): show its line breaks. Display only: the text stays escaped (UX1A-R13). */
.multiline{white-space:pre-line;overflow-wrap:break-word}
.resp-field{display:grid;gap:5px}
.plain-list{margin:4px 0 0 16px;padding:0;font-weight:500}
.sticky-col{position:sticky;left:0;background:inherit;z-index:1}
@media(max-width:1100px){.capability-grid{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.capability-grid{grid-template-columns:1fr}.form-footer{position:static}}

/* ---- v0.3 Phase C: indicator library, imports ---- */
.code-preview{display:grid;gap:3px;border:1px dashed #b7cfc3;background:var(--surface-subtle);border-radius:var(--radius-md);padding:10px 14px;margin:14px 0 4px}
.code-preview span:first-child{font-size:var(--fs-meta);text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--muted)}
.code-preview strong{font-family:var(--font-mono);font-size:16px;letter-spacing:.02em;color:var(--accent-hover)}
.check-group{border:1px solid var(--line);border-radius:var(--radius-md);padding:8px 12px;margin:0;display:flex;flex-wrap:wrap;gap:6px 16px}
.check-group legend{font-weight:650;font-size:12px;padding:0 4px}
.check-group label{display:flex!important;gap:6px;align-items:center;font-weight:500}.check-group input{width:auto}
.check-group.inline{border:0;padding:0}
.panel .check-group:not(.inline){border:0;border-radius:0;padding:0}.panel .check-group:not(.inline)>legend{padding:0;margin-bottom:6px;font-size:var(--fs-label);font-weight:600;color:var(--ink)}
.checkbox-line{display:flex!important;gap:8px;align-items:center;font-weight:500!important}.checkbox-line input{width:auto}
.inline-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:8px}
.draft-panel{border-left:4px solid #d5a843;background:#fffdf5}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;align-items:start}
.step{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-md);padding:14px;display:grid;gap:6px;align-content:start}
.step>span{width:26px;height:26px;border-radius:999px;background:var(--accent);color:var(--text-inverse);display:grid;place-items:center;font-weight:700;font-size:12px}
.step p{margin:0;color:var(--muted);font-size:12px}
.step>.btn{max-width:100%;white-space:normal;text-align:center}    /* M10 correction 01: a longer label wraps inside its card */
/* M10 correction 01 (13 November 2026): an import preview with errors takes the corrected file on the same page */
.reupload-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.reupload-form label{font-weight:600}
.shell-v3 .reupload-form input[type=file]{flex:0 1 360px;width:auto;min-width:0;max-width:100%}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:820px){.steps{grid-template-columns:1fr}}
/* Phase D: tracking sheets, grid, notifications */
.topbar-notices{display:inline-flex;align-items:center;gap:6px;font-size:12px;text-decoration:none;color:var(--muted);padding:4px 10px;border:1px solid var(--line);border-radius:999px;background:var(--paper)}
.topbar-notices.has-unread{color:var(--ink);font-weight:650;border-color:var(--bad-border-soft)}
.topbar-notices .count{display:inline-block;min-width:18px;padding:0 6px;border-radius:999px;background:var(--bad);color:var(--text-inverse);font-size:11px;text-align:center;line-height:18px}
th.num,td.num{text-align:right;font-variant-numeric:tabular-nums}
.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.chip.active{background:var(--accent-2);border-color:var(--accent);color:var(--accent);font-weight:650}
.grid-panel{padding:14px}
.track-grid{border-collapse:separate;border-spacing:0;width:100%}
.track-grid th,.track-grid td{border-bottom:1px solid var(--line);border-right:1px solid #eef2f0;padding:6px 8px;vertical-align:top}
.track-grid thead th{position:sticky;top:0;background:var(--surface-subtle);z-index:2;font-size:12px;text-align:center;white-space:nowrap}
.track-grid thead th.sticky-col{z-index:3;text-align:left}
.track-grid .row-head{min-width:230px;max-width:320px;text-align:left;background:var(--paper);font-weight:400}
.track-grid .row-head .ind-extra{font-style:normal}
.track-grid .period-state{font-weight:600;color:var(--warn);font-size:11px}
.track-grid .cell{min-width:112px}
.track-grid .cell-input{width:100%;max-width:200px;display:block;margin-left:auto;min-width:92px;text-align:right;font-variant-numeric:tabular-nums;padding:5px 6px}
.track-grid .cell-value{display:block;text-align:right;font-variant-numeric:tabular-nums;padding:5px 0}
.track-grid .empty-value{color:var(--muted);font-style:normal;font-size:12px}
.track-grid .cell-value.na{color:#35607f;font-weight:650}
.track-grid .cell-meta{display:block;font-size:11px;color:var(--muted);text-align:right;margin-top:2px}
.track-grid .movement{margin-left:4px}.track-grid .movement.warn{color:var(--warn);font-weight:700}.track-grid .note{display:block}
.track-grid td.state-overdue{background:var(--bad-bg)}
.track-grid td.state-approved,.track-grid td.state-not-applicable{background:var(--ok-bg)}
.track-grid td.state-submitted,.track-grid td.state-reviewed,.track-grid td.state-na-pending{background:#fdf7e8}
.track-grid td.state-returned{background:#fff1e3}
.track-grid td.state-locked,.track-grid td.state-cancelled{background:var(--neutral-bg)}
.track-grid td.movement-warning .cell-input{border-color:#d5a843;box-shadow:0 0 0 2px #f6e7bf}
.legend{margin-top:8px;color:var(--muted)}
.definition-list{display:grid;grid-template-columns:max-content 1fr;gap:6px 14px;margin:0}.definition-list dt{color:var(--muted)}.definition-list dd{margin:0}
.comment-list{list-style:none;padding:0;margin:0 0 12px}.comment-list li{border-bottom:1px solid var(--line);padding:8px 0}.comment-list p{margin:4px 0 0}
.decision-panel{border-left:3px solid var(--accent);box-shadow:var(--shadow-2)}
details.na-claim{margin-top:12px}details summary.link{cursor:pointer}
@media(max-width:820px){.track-grid .row-head{min-width:160px}}
.deploy-form{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.deploy-form h3{margin:0}.span-4{grid-column:1/-1}
/* Phase G: hierarchical view */
.agg-table tr.agg-group td{background:var(--accent-2);font-size:15px}.agg-table tr.agg-entity td{background:var(--surface-subtle)}.agg-table tr.agg-pme td{color:var(--muted)}.agg-table td .badge{white-space:normal}

/* UX-1A foundations (docs/ux/COMPONENT_STANDARD.md 2.1, 2.5, 3.4, 3.6, 3.7, 3.17, 3.19) */
html{scroll-padding-top:66px}
:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.workspace-nav :focus-visible{outline-color:var(--focus-on-dark)}
.skip-link{position:absolute;left:12px;top:-80px;z-index:30;background:var(--paper);color:var(--accent);font-weight:650;padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius-control);text-decoration:none}
.skip-link:focus{top:12px}
.flash.info{background:var(--info-bg);border-color:var(--info-border);color:var(--info)}
.flash.warning{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn)}
.tag.danger{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad)}
.scope-stored label{display:block;font-weight:500;font-size:12px;padding:3px 0}.scope-stored input{width:auto;margin:2px 7px 0 0}
.field{min-width:0}
.field>label{display:inline-block;margin-bottom:6px}
.field>.hint,.field>.help-text,.field>.field-error{margin:2px 0 0}
.field-check{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.field-check>input{width:auto}.field-check>label{margin:0;font-weight:500}.field-check>p{flex-basis:100%}
.help{min-width:24px;min-height:24px;margin-left:6px;padding:0 6px;border:1px solid var(--info-border);border-radius:999px;background:var(--paper);color:var(--accent);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.help[aria-expanded="true"]{background:var(--accent-2)}
.help-text{font-size:12px;color:var(--ink);background:var(--info-bg);border-left:3px solid var(--info-border);padding:6px 8px}

/* Print / save as PDF: drop the application chrome and keep the report readable on paper. */
@media print{
  .workspace-nav,.topbar,.page-actions,.filter-bar,.flash,.quick-actions,.menu-button,.nav-backdrop,.task-nav,.skip-link,.help,.page-help{display:none!important}
  .app-shell{display:block}.content{padding:0}.main{display:block}
  .panel{break-inside:avoid;box-shadow:none;border:1px solid #ccc;margin-bottom:12px}
  table{min-width:0;font-size:10px}th{background:#f0f0f0}
  a{text-decoration:none;color:inherit}
  body{background:white}
}

/* ---- UX-2A: responsive shell, task layouts and shared components (docs/ux/COMPONENT_STANDARD.md section 8) ---- */

/* Shell. At 1280px and wider the sidebar stays in place. Below that it is a drawer opened by the labelled Menu
   button, so the task gets the full width. The drawer needs the script: shell.js marks <html class="js"> before the
   page is drawn, and without it the sidebar simply stays in place and every link stays reachable. */
.menu-button{display:none;align-items:center;gap:8px;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:var(--radius-control);padding:8px 12px;font:inherit;font-weight:650;line-height:20px;cursor:pointer}
.menu-button:hover{background:var(--surface-hover)}
.menu-icon{display:inline-grid;gap:3px}.menu-icon span{display:block;width:15px;height:2px;border-radius:2px;background:currentColor}
.nav-backdrop{display:none}
.nav-close{display:none;margin-left:auto;border:1px solid rgba(255,255,255,.28);background:transparent;color:var(--text-inverse);border-radius:var(--radius-control);padding:5px 10px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.nav-close:hover{background:rgba(255,255,255,.1)}
@media(max-width:1279px){
  .js .app-shell{display:block}
  .js .menu-button{display:inline-flex}
  .js .nav-close{display:inline-block}
  .js .workspace-nav{position:fixed;top:0;left:0;bottom:0;width:272px;max-width:85vw;height:auto;transform:translateX(-100%);visibility:hidden;transition:transform .18s ease,visibility 0s linear .18s;z-index:40}
  .js.nav-open .workspace-nav{transform:none;visibility:visible;transition:transform .18s ease}
  .js.nav-open .nav-backdrop{display:block;position:fixed;inset:0;background:rgba(10,24,18,.38);z-index:35}
  .topbar{padding:0 20px}
  .content{padding:22px 22px 60px}
}
@media(prefers-reduced-motion:reduce){.js .workspace-nav,.js.nav-open .workspace-nav{transition:none}}
/* nav links animate their colours only: an inherited visibility change must apply at once, so a link can take
   focus as soon as the drawer opens */
.nav-item{transition-property:background-color,color}

/* Tokens that must stay whole: codes, periods and dates. Prose keeps normal wrapping (no global nowrap). */
.code-token,.period-token,.date-token{white-space:nowrap}
.code-token{font-weight:600}
.page-meta{margin:0;color:var(--muted)}

/* Short facts in a row: each fact has a label and wraps as a unit between facts. */
.meta-line{display:flex;flex-wrap:wrap;gap:3px 16px;margin:0;color:var(--muted);font-size:13px}

/* Label above value, for narrow panels and summaries. */
.meta-list{display:grid;gap:12px;margin:0}
.meta-list>div{display:grid;gap:2px;min-width:0;align-content:start}
.meta-list dt{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.meta-list dd{margin:0;overflow-wrap:break-word}
.meta-list.columns{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px 20px}

/* Task layout: the work column (about 70%) and a context column (about 30%, what is being reported). The work comes
   first in reading order, so on narrow screens the task leads and the context follows. */
.task-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(280px,3fr);gap:24px;align-items:start}
.task-layout>.task-context{grid-column:2;grid-row:1}
.task-layout>.task-main{grid-column:1;grid-row:1;min-width:0}
@media(max-width:820px){.task-layout{grid-template-columns:minmax(0,1fr)}.task-layout>.task-context,.task-layout>.task-main{grid-column:1;grid-row:auto}
  .task-context .meta-list{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px 20px}.task-context .meta-list>div:first-child{grid-column:1/-1}}

/* Numbered steps of a task. */
.task-step>.step-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.step-num{flex:none;width:26px;height:26px;margin-top:1px;border-radius:999px;background:var(--paper);color:var(--accent);border:1.5px solid var(--accent);display:grid;place-items:center;font-weight:700;font-size:12.5px}
.step-num.is-done{background:var(--ok-bg);border-color:var(--ok-border);color:var(--ok)}
.step-head h2{margin:0;font-family:var(--font-display);font-size:var(--fs-panel);font-weight:650;line-height:1.5}
.step-head p{margin:2px 0 0;color:var(--text-secondary)}
.step-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.step-form label{display:grid;gap:6px;min-width:0}
.step-form .wide{grid-column:1/-1}
.requirement{display:inline-block;vertical-align:2px;margin-left:6px;font-size:12px;font-weight:600;line-height:18px;border-radius:var(--radius-sm);padding:0 7px;border:1px solid var(--line);background:transparent;color:var(--text-secondary);white-space:nowrap}
.requirement.required{background:transparent;border-color:var(--warn-border);color:var(--warn)}

/* The actions of a step: the step's main action is visibly the primary one; its note wraps beside it. */
.action-bar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.action-bar>.hint{flex:1 1 240px;margin:0}

/* Readiness before submitting: what is done and what is still needed (presentation only; the server decides). */
.readiness{list-style:none;margin:0 0 4px;padding:0;display:grid;gap:7px}
.readiness li{display:flex;gap:9px;align-items:flex-start}
.readiness .check{flex:none;width:20px;height:20px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:700;margin-top:1px}
.readiness .is-ok .check{background:var(--ok-bg);color:var(--ok)}
.readiness .is-todo .check{background:var(--warn-bg);color:var(--warn);border:1px solid var(--warn-border-soft)}
/* V3 integration: a readiness item's V3 status dot sits on its sentence's first line */
.shell-v3 .readiness .dot{margin-top:6px}

/* Hand-off: where the item is now and who holds the next step, shown apart from the stored status. A quiet line (UX
   consolidation, 2 November 2026): no box or tone edge; its state is the dot before its bold line (end of this file). */
.handoff{display:grid;gap:2px;margin-bottom:16px}
.handoff>strong{font-size:var(--fs-value)}
.handoff p{margin:0;color:var(--text-secondary)}

/* Continuation after an action (UX-4 J08). */
.task-nav{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:center;margin:-4px 0 18px;font-size:13px;color:var(--muted)}

/* Evidence as a compact list: the file first, its reference and date beside it, the hash as secondary detail. */
.evidence-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
.evidence-item{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 14px;align-items:center;border:0;border-top:1px solid var(--line);border-radius:0;padding:10px 0;background:transparent}
.evidence-item .file{font-weight:650;overflow-wrap:anywhere;min-width:0}
.evidence-item .hash{display:block;font-size:var(--fs-code);color:var(--muted);margin:2px 0 4px 20px;overflow-wrap:anywhere}
.evidence-empty{margin:0;padding:4px 0;border:0;border-radius:0;color:var(--muted);background:transparent}

/* Secondary technical detail: kept, but visually quieter than the task. */
.secondary{color:var(--muted);font-size:12px}
td.secondary{white-space:nowrap}

/* Consequential actions (ending a line) kept apart from normal editing. */
.danger-zone{border:1px solid var(--bad-border-soft);background:#fffafa;border-radius:var(--radius-md);padding:12px 14px;margin-top:18px}
.danger-zone h3{color:var(--bad);font-size:14px;margin:0 0 4px}
.danger-zone p{margin:0 0 10px;color:var(--muted)}
.danger-panel{border-color:var(--bad-border-soft);box-shadow:none}
.danger-panel .panel-head h2{color:var(--bad)}

/* My Tasks: one row per item; the action stays visible at every width because the row wraps instead of scrolling. */
.task-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.task-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:12px 14px}
/* My Tasks cards (UX-3 focused retest, step 1): the status and action column has one width in every card, so the facts
   columns line up from card to card; a quarter of the card, at least 232px and at most 344px, so that on a wide screen
   the longest pair ("Not applicable (pending)", "Decide not-applicable claim") stays on one line. :where() keeps the
   weight of .task-row, so the 720px rule below still moves the pair under the facts; so does a list narrower than 600px
   (a container query on the list, for example when the sidebar stays in place without the shell script). */
.task-cards{container:task-list/inline-size}
:where(.task-cards)>.task-row{grid-template-columns:minmax(0,1fr) clamp(232px,25%,344px)}
@container task-list (max-width:600px){:where(.task-cards)>.task-row{grid-template-columns:minmax(0,1fr)}.task-cards .task-row-side{justify-content:flex-start}}
.task-row.is-waiting{background:#fcfdfc}
.task-row-main{display:grid;gap:5px;min-width:0}
.task-title{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}
.task-title .name{font-weight:600}
.task-row-side{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:flex-end}
.task-row .handoff-line{margin:0;font-size:13px}
.count-pill{display:inline-block;min-width:24px;padding:1px 8px;margin-left:6px;border-radius:999px;background:var(--accent-2);border:1px solid var(--accent-3);font-size:12px;font-weight:700;text-align:center;vertical-align:middle}
@media(max-width:720px){.task-row{grid-template-columns:minmax(0,1fr)}.task-row-side{justify-content:flex-start}}
/* My Tasks facts (UX-3 focused retest, step 1): label above value. The columns follow the width of the card's facts
   area (a container query), not the window, so they fit whether or not the sidebar is shown: six columns when they fit,
   three below 612px, two below 380px and one below 200px. Each fact keeps its column, so a missing location leaves a
   gap instead of shifting the rest. The tracking sheet code gets the widest share. A value never leaves its column: a
   long code wraps at a hyphen, and only a code wider than its column with no hyphen breaks inside. The sheet link keeps
   its colour at the values' weight. No borders: spacing and alignment make the hierarchy. */
.task-cards .task-row-main{container:task-facts/inline-size}
.meta-list.task-meta{grid-template-columns:minmax(72px,.7fr) minmax(56px,.6fr) minmax(72px,.8fr) minmax(88px,.8fr) minmax(136px,2.4fr) minmax(88px,.9fr);gap:10px 16px;margin-top:6px}
.task-meta>div{min-width:0}.task-meta dd{color:var(--ink);overflow-wrap:anywhere}.task-meta dd .link{font-weight:500}
.task-meta .fact-period{grid-column:1}.task-meta .fact-entity{grid-column:2}.task-meta .fact-location{grid-column:3}
.task-meta .fact-due{grid-column:4}.task-meta .fact-sheet{grid-column:5}.task-meta .fact-role{grid-column:6}
@container task-facts (max-width:611px){.meta-list.task-meta{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr)}.task-meta .fact-due{grid-column:1}.task-meta .fact-sheet{grid-column:2}.task-meta .fact-role{grid-column:3}}
@container task-facts (max-width:379px){.meta-list.task-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.task-meta .fact-location{grid-column:1}.task-meta .fact-due{grid-column:2}.task-meta .fact-sheet{grid-column:1}.task-meta .fact-role{grid-column:2}}
@container task-facts (max-width:199px){.meta-list.task-meta{grid-template-columns:minmax(0,1fr)}.meta-list.task-meta>div{grid-column:1}}

/* Review & Approve: one card per value, facts and evidence beside the decision (stacked at 820px and below). P1 Wave 1: compact. */
.decision-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);padding:16px 20px;margin-bottom:12px;box-shadow:var(--shadow-1)}
.decision-card-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;align-items:flex-start;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.decision-card-head h3{margin:0 0 4px;font-family:var(--font-display);font-size:var(--fs-panel)}
.decision-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(330px,1fr);gap:20px}
@media(max-width:820px){.decision-grid{grid-template-columns:minmax(0,1fr)}}
.decision-value{font-size:var(--fs-record);font-family:var(--font-display);font-weight:650;letter-spacing:-.01em;font-variant-numeric:tabular-nums;margin:0 0 10px}
.decision-facts h4,.decision-actions h4{margin:14px 0 8px;font-size:var(--fs-meta);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.decision-facts h4:first-child,.decision-actions h4:first-child{margin-top:0}
.decision-actions{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:10px 8px;background:transparent;border:0;border-left:1px solid var(--line);border-radius:0;padding:0 0 0 20px}
@media(max-width:820px){.decision-actions{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}}
.decision-actions form{display:grid;gap:6px}
.decision-actions label{display:grid;gap:5px}
.decision-actions .btn{justify-self:start}
.decision-actions form+.return-form{border-top:1px solid var(--line);padding-top:12px}
.decision-links{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:12px;font-size:13px}

/* A decision form on the request page: the positive decisions first, Return set apart at the end. */
.decision-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* Configure: the line being edited gets its own full-width panel below the list. */
.line-editor{border-left:4px solid var(--accent)}
.line-editor-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.line-editor-form label{display:grid;gap:6px;min-width:0}
tr.is-editing td{background:var(--accent-2)}

/* Tracking grid: readable row labels, evidence state per cell, and the save and submit controls in two groups. */
.track-grid th.row-head{text-transform:none;letter-spacing:normal;font-size:13px;color:var(--ink)}
.track-grid .row-head .evidence-rule{display:inline-block;border:1px solid var(--warn-border-soft);background:var(--warn-bg);border-radius:var(--radius-sm);padding:1px 6px;font-size:11px;color:var(--warn);font-weight:700;font-style:normal}
.track-grid .row-head .evidence-rule{white-space:nowrap;margin-top:2px}
.track-grid .evidence-state{display:block;font-size:11px;text-align:right;margin-top:2px}
.track-grid .evidence-state.is-missing{color:var(--warn);font-weight:650}
.track-grid .evidence-state.is-present{color:var(--ok)}
.grid-footer{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);align-items:start}
.grid-footer .action-group{border:0;border-radius:var(--radius-md);padding:14px 16px;display:grid;gap:8px;align-content:start;background:var(--surface-subtle)}
.grid-footer .action-group h3{margin:0;font-size:14px}
.grid-footer .action-group p{margin:0;color:var(--text-secondary);font-size:var(--fs-help)}
.grid-footer .action-group .btn{justify-self:start}
.grid-footer label{display:grid;gap:5px;font-size:12px;font-weight:650;max-width:260px}
.legend-list{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 0;padding:0;list-style:none;color:var(--muted);font-size:12px}
.legend-list li{display:flex;gap:6px;align-items:center}

.evidence-form{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-top:12px}
.evidence-form input[type=file]{min-width:0;width:100%}
.secondary-details{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.secondary-details>summary{font-size:13px}
.secondary-details .meta-list{margin-top:10px}
.task-step .evidence-empty{margin-top:4px}
.validation-table td:first-child{min-width:220px}
.validation-table td.secondary,.history-table td:first-child{white-space:nowrap}
.history-table td.multiline{min-width:240px}
.section-title{font-family:var(--font-display);font-weight:650;font-size:var(--fs-section);margin:4px 0 12px}
.decision-links a+a::before{content:"·";content:"·"/"";color:var(--muted);margin-right:14px}
.decision-links a+a{margin-left:0}
.decision-actions textarea{width:100%}
.handoff-quote{white-space:pre-line;overflow-wrap:anywhere}
.line-editor-form .wide{grid-column:1/-1}

/* ---- UX-2B: visual refinement, readable widths, shared form layouts, empty and loading states (docs/ux/COMPONENT_STANDARD.md section 12) ---- */

/* Sidebar markers: a two-letter monogram beside every label (never instead of it), quieter than the label; the current
   item keeps the strongest cue (filled marker, bold label, bar). */
.nav-icon{display:grid;place-items:center;flex:none;width:26px;height:22px;border-radius:var(--radius-sm);font-size:11px;font-weight:700;letter-spacing:.04em;line-height:1;color:#b9ccc3;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.nav-item:hover .nav-icon{background:rgba(255,255,255,.13);color:var(--text-inverse)}
.nav-item.active .nav-icon{background:#d8ebe2;color:#154f39;box-shadow:none}

/* Status badges (UX-3 manual UAT): the status is the word, shown with a restrained tone (text colour, outline and a
   light background from the tokens) and no decorative mark. Label and tone come from the status dictionary
   (app/services/status_labels.py) through ui.status_of. A badge is never an action: no hover, no pointer. Beside a
   button it takes the button's height and radius (see the correction-pass section at the end). */
.badge{display:inline-flex;align-items:center;vertical-align:middle;font-size:12px;font-weight:600;line-height:16px;padding:3px 9px;border:1px solid var(--neutral-border);background:var(--neutral-bg);color:var(--neutral);border-radius:6px;white-space:nowrap;cursor:default}
.badge.success{background:var(--ok-bg);border-color:var(--ok-border);color:var(--ok)}
.badge.warning{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn)}
.badge.danger{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad)}
.badge.subtle{background:var(--neutral-bg);border-color:var(--neutral-border);color:var(--neutral)}
.badge.info{background:var(--info-bg);border-color:var(--info-border);color:var(--info)}
/* The status of a record (V3 full application correction, 28 October 2026; ui.status_of on every screen): the word with a
   7px mark and no box, so a list of states reads as text and only a reporting qualification keeps the badge above.
   Waiting is a quiet ring, completed a small success dot, action the attention ink with a filled dot (returned and
   attention amber, overdue and failed red). The emphasis is the dictionary's (status_labels.EMPHASIS). Never a control. */
.status{display:inline-flex;align-items:baseline;gap:6px;vertical-align:baseline;color:var(--muted);font-size:13px;font-weight:500;line-height:18px;white-space:nowrap;cursor:default}
.status::before{content:"";flex:none;align-self:center;width:7px;height:7px;border-radius:50%;box-sizing:border-box;border:1.5px solid var(--dot-held)}
.status.is-done::before{border:0;background:var(--success)}
.status.is-act{color:var(--warning-ink);font-weight:600}
.status.is-act::before{border:0;background:var(--dot-returned)}
.status.is-act[data-tone="danger"]{color:var(--negative-ink)}
.status.is-act[data-tone="danger"]::before{background:var(--dot-overdue)}
/* A reporting qualification (UX consolidation, 2 November 2026; ui.qual and ui.status_of's flag emphasis): the word with a
   filled, toned mark, amber for a caveat and red for SAMPLE / NOT FOR REPORTING; never a tinted badge or box. */
.status.is-flag{color:var(--warning-ink);font-weight:600}
.status.is-flag::before{border:0;background:var(--dot-returned)}
.status.is-flag[data-tone="danger"]{color:var(--negative-ink)}
.status.is-flag[data-tone="danger"]::before{background:var(--dot-overdue)}
/* One context's qualifications on one line, the onward link last. */
.qual-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 0 12px;font-size:var(--fs-label);color:var(--text-secondary)}
.qual-line>.link{white-space:nowrap}
/* Tags are categories, not statuses: squarer, smaller and without a shape. */
.tag{display:inline-block;vertical-align:middle;border-radius:6px;padding:1px 7px;font-size:11px;font-weight:600;line-height:17px;border-color:var(--line-strong);background:var(--neutral-bg);color:var(--text-secondary)}
.tag.tag-restricted{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn)}

/* Readable widths. Prose keeps a comfortable line length and short messages do not stretch across a wide screen;
   tables, grids, reports and dashboards keep the full width. */
.readable{max-width:72ch}
.page-narrow{max-width:1180px}
.panel-narrow{max-width:760px}
.flash,.notice,.info-strip{max-width:1040px}
.filter-bar.panel{width:fit-content;max-width:100%;background:var(--surface-subtle);border-color:var(--line);box-shadow:none;padding:10px 12px;border-radius:var(--radius-md);gap:8px 10px}
.filter-bar input[name=q]{min-width:230px}
.split-grid.even{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:820px){.split-grid.even{grid-template-columns:1fr}}

/* A disabled button says so by its look and cursor (buttons keep their label on one line: see .btn). */
.btn:disabled{cursor:not-allowed;opacity:.65}

/* Loading state (COMPONENT_STANDARD 3.30): the clicked button keeps its label and shows a small spinner; the other
   submit buttons of the form are disabled until the next page loads. Fields are never disabled. */
.btn.is-busy{position:relative;padding-right:32px;opacity:1;cursor:progress}
.btn.is-busy::after{content:"";position:absolute;right:11px;top:50%;width:12px;height:12px;margin-top:-6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:sdms-spin .8s linear infinite}
@keyframes sdms-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.btn.is-busy::after{animation:none;border-right-color:currentColor;opacity:.55}}

/* Empty state (ui.empty, ui.empty_row): what is empty, why, and where to go next when the user may go there. */
.empty-state{padding:24px 28px;text-align:center;border:1px dashed var(--line-strong);border-radius:var(--radius-md);background:var(--surface-subtle);max-width:760px;margin-left:auto;margin-right:auto}
.empty-state strong{display:block;font-size:var(--fs-subsection);margin-bottom:6px}
.empty-state p{max-width:620px;color:var(--text-secondary);margin:0 auto 6px}
.empty-state .empty-secondary{font-size:12px;color:var(--muted)}
.empty-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
td.empty strong{display:block;color:var(--ink);font-size:14px;margin-bottom:3px}
td.empty .empty-actions{margin-top:8px}

/* Shared form layouts (they replace the fixed five-column .inline-grid):
   .form-flow   as many columns as fit, fields at least 220px; .wide spans the row; the actions take their own row.
   .form-row    one or two fields and the button on one line; the button wraps below when there is no room.
   .reason-form a reason and its consequential button in a row detail: stacked, never squeezed.
   .row-editor  a table row edited in place; its columns wrap below 1100px. */
.form-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 14px;align-items:start}
.form-grid{align-items:start}.form-grid>.form-actions{align-self:end}
.form-flow label,.form-row label,.reason-form label{display:grid;gap:6px;font-weight:650;font-size:12px;min-width:0}
.form-flow .wide,.form-flow>.form-actions,.form-flow>.action-bar{grid-column:1/-1}
.form-row{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end;max-width:760px}
.form-row label{flex:1 1 260px}
.form-row .btn{flex:none}
.reason-form{display:grid;gap:8px;min-width:240px;max-width:380px;padding:10px 0 4px}
.reason-form .btn{justify-self:start}
.row-editor{display:grid;grid-template-columns:minmax(150px,1fr) minmax(200px,1.6fr) 90px 130px auto;gap:8px;align-items:center}
@media(max-width:820px){.row-editor{grid-template-columns:minmax(150px,1fr) minmax(180px,1.4fr)}.row-editor .btn{justify-self:start}}

/* Tabs wrap onto a second row instead of running off the page (see .tabs); the current tab is underlined. */
.tabs:not(.inline) .tab{border:0;border-bottom:2px solid transparent;border-radius:6px 6px 0 0;margin-bottom:-1px}
.tabs:not(.inline) .tab:hover{color:var(--ink);background:var(--accent-2)}
.tabs:not(.inline) .tab.active{background:transparent;color:var(--ink);border-bottom-color:var(--accent)}

/* Compound table cells: several counts in one labelled cell, the people of a row, a row's actions together. */
.stat-inline{display:flex;flex-wrap:wrap;gap:3px 14px;margin:0}
.stat-inline>div{display:flex;gap:5px;align-items:baseline;white-space:nowrap}
.stat-inline dt{color:var(--muted);font-size:12px}
.stat-inline dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums}
.cell-actions{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.cell-line{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.tag-list{display:flex;flex-wrap:wrap;gap:4px}

/* Row details below a table (PME deployments): each record's actions in its own collapsible area, with the
   consequential action apart. */
.row-details{display:grid;gap:8px;margin-top:14px}
.row-detail{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);padding:0 14px;margin:0}
.row-detail[open]{background:var(--paper);padding-bottom:14px;box-shadow:inset 4px 0 0 var(--accent)}
.row-detail>summary{padding:11px 0;font-size:13px}
.row-detail h3{font-size:14px;margin:16px 0 8px}
.panel .danger-zone,.row-detail .danger-zone{margin-top:14px;padding:12px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}

/* System Settings: each setting as a row with its name, what it does and its value. */
.settings-list{list-style:none;margin:0;padding:0}
.setting{display:grid;grid-template-columns:minmax(200px,250px) minmax(0,1fr) minmax(260px,360px);gap:6px 24px;padding:14px 0;border-bottom:1px solid var(--line);align-items:start}
.setting:first-child{padding-top:2px}
.setting:last-child{border-bottom:0;padding-bottom:0}
.setting-name strong{display:block}
.setting-desc{margin:0;color:var(--text-secondary);max-width:72ch}
.setting-value .form-row{max-width:none;flex-wrap:nowrap}
.setting-value .form-row input{min-width:0}
.setting-value .value{font-weight:600;overflow-wrap:anywhere}
@media(max-width:820px){.setting{grid-template-columns:minmax(0,1fr)}}

/* Audit Trail: the object and the before and after values stay complete; long values open in a detail. */
.audit-table td{vertical-align:top}
.audit-table .audit-when{white-space:nowrap}
.audit-object .object-id{font-family:var(--font-mono);font-size:var(--fs-code);white-space:nowrap}
.audit-change{min-width:280px}
@media(max-width:1100px){.audit-change{min-width:210px}}
.audit-change details{margin-top:0}
.audit-change .change-values{display:grid;gap:4px;margin-top:6px}
.audit-change code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--fs-code);color:var(--text-secondary);background:var(--surface-subtle);border-radius:var(--radius-sm);padding:5px 7px}

/* Wide report tables: true overflow, with the first column kept in view and the scroll stated above the table. */
.report-table th:first-child,.report-table td:first-child{position:sticky;left:0;background:var(--paper);z-index:1;box-shadow:1px 0 0 var(--line)}
.report-table thead th:first-child{background:var(--surface-subtle);z-index:3}
.report-table th:first-child,.report-table td:first-child{min-width:120px}
.wide-note{margin:0 0 8px}

/* Users & Access: what the saved profile opens, shown beside the profile choice. */
.profile-effect{display:grid;gap:8px;margin-top:14px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);max-width:900px}
.profile-effect .hint{margin:0}
/* Inside a panel the scope picker and the profile summary are a tint, not a second frame. */
.panel .scope-objects,.panel .profile-effect{border:0}

/* Reporting Periods: the status change stacked in its cell; the status meanings as a readable list. */
.period-status-form{min-width:250px;max-width:300px;padding:0}
.status-legend{display:block;columns:2 380px;column-gap:48px;margin:0}
.status-legend>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 16px;align-items:baseline;break-inside:avoid;padding:4px 0 8px}
.status-legend dd{margin:0;color:var(--text-secondary);font-size:13px}

@media(max-width:1100px){.lineage-grid{grid-template-columns:1fr}}
@media print{.btn.is-busy::after{display:none}.filter-bar.panel{width:auto}}
/* ------------------------------------------------------------------------------------------------------------------
   UX-3 manual UAT correction pass (28 September 2026): hierarchy, alignment and restrained status presentation.
   ------------------------------------------------------------------------------------------------------------------ */

/* A status beside a button (header actions, task rows, list rows, decision cards) takes the button's height and radius
   (.btn and .btn.small have a fixed line height for this), and stays a status: tinted, no hover, no pointer. */
.page-actions>.badge{min-height:38px;padding:0 12px;border-radius:var(--radius-control);font-size:13px}
.task-row-side>.badge,.cell-actions>.badge,.card-status>.badge,.status-cell>.badge{min-height:30px;padding:0 10px;border-radius:var(--radius-control)}
/* In a list row the status and the first action start on the same line (same height, same top). */
.status-cell,.tracking-list td:last-child{vertical-align:top}

/* Indicator identity: the name first, the reference code second and smaller (names before codes). */
.ind-id{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;max-width:100%;vertical-align:top}
.ind-name{font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.ind-code{font-size:12px;font-weight:400;font-style:normal;color:var(--text-secondary);letter-spacing:.01em;white-space:nowrap}
.ind-extra{font-size:12px;font-style:normal;color:var(--muted)}
.ind-inline .ind-code{margin-left:4px}
.task-title .ind-id .ind-name{font-size:15px}

/* A page's secondary identity lines under its heading. */
.page-head .page-code{margin:2px 0 0;font-size:13px;font-weight:400;color:var(--text-secondary);letter-spacing:.02em;white-space:nowrap}
.page-head .page-subtitle{margin:2px 0 0;font-size:var(--fs-subsection);color:var(--text-secondary)}

/* Metadata as aligned label and value pairs instead of one run-on line. */
.meta-grid{display:flex;flex-wrap:wrap;gap:12px 36px;margin:16px 0 0}
.meta-grid>div{display:grid;gap:1px;min-width:0;align-content:start}
.meta-grid dt{font-size:var(--fs-meta);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.meta-grid dd{margin:2px 0 0;font-size:var(--fs-value);font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.meta-grid .dd-sub{display:block;font-size:var(--fs-help);font-weight:400;color:var(--text-secondary)}
.panel .meta-grid{margin-top:4px}

/* A two-column label and value list for side panels (an invisible table). */
.kv-list{display:grid;grid-template-columns:minmax(96px,max-content) minmax(0,1fr);gap:6px 18px;margin:0 0 4px}
.kv-list>div{display:contents}
.kv-list dt{color:var(--muted);font-size:13px}
.kv-list dd{margin:0;color:var(--ink);overflow-wrap:anywhere}

/* Small group headings inside panels and legends. */
.group-label,.panel .group-label{margin:16px 0 8px;font-size:var(--fs-meta);font-weight:700;line-height:16px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.definition-panel .panel-head{margin-bottom:4px}
.definition-panel .panel-head+.group-label{margin-top:2px}
.definition-text{margin:0}

/* Reporting Periods' status key: one column on a phone (M07: the grid's categorised key and its rules are gone). */
@media(max-width:720px){.status-legend>div{grid-template-columns:minmax(0,1fr);gap:2px 0}}

/* Short instruction sentences as a list. */
.hint-list{margin:0 0 12px;padding-left:18px;display:grid;gap:2px;color:var(--text-secondary);font-size:13px}

/* Tracking grid row head: the identity on the left, the evidence requirement beside it. */
.track-grid .row-head-grid{display:grid;grid-template-columns:minmax(0,max-content) auto;justify-content:start;gap:4px 10px;align-items:start}
@media(max-width:820px){.track-grid .row-head-grid{grid-template-columns:minmax(0,1fr)}.track-grid .row-head .evidence-rule{justify-self:start}}

/* Entry forms: one control height, a normal-weight value, Value and Estimated on one row, the unit beside the value. */
.step-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.step-form select{height:38px;font-size:var(--fs-body);font-weight:400}
.step-form textarea{font-size:var(--fs-body);font-weight:400}
.entry-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:720px){.entry-form{grid-template-columns:minmax(0,1fr)}}
/* A shorter field in a row keeps its control at the top instead of spreading the row's extra height. */
.step-form label{align-content:start}
.input-unit{display:flex;align-items:stretch;min-width:0}
.input-unit input{flex:1 1 auto;min-width:0;border-top-right-radius:0;border-bottom-right-radius:0}
.unit-suffix{display:flex;align-items:center;padding:0 10px;border:1px solid var(--line-strong);border-left:0;border-radius:0 var(--radius-control) var(--radius-control) 0;background:var(--neutral-bg);color:var(--text-secondary);font-size:13px;font-weight:600}
.action-bar>.hint{align-self:center}

/* A count (for example overdue data requests) is a number, not a status. */
.count{font-weight:700;font-variant-numeric:tabular-nums}
.count.danger{color:var(--bad)}.count.warn{color:var(--warn)}

/* A period's state in the grid header takes its dictionary tone (Locked is neutral, not an attention colour). */
.track-grid .period-state.subtle{color:var(--neutral)}.track-grid .period-state.success{color:var(--ok)}.track-grid .period-state.info{color:var(--info)}.track-grid .period-state.danger{color:var(--bad)}
/* Period detail: what each new status means, beside the choice. */
.status-moves{margin-top:6px}
.kv-list.compact{gap:4px 12px}.kv-list.compact dd{font-size:13px;color:var(--text-secondary)}
.status-choice{min-width:0}
/* Intros written as several short paragraphs. */
.page-head p+p{margin-top:6px}
/* An indicator identity inside a link keeps the link colour on its name. */
a.link>.ind-id .ind-name,a.link>.ind-inline .ind-name{color:var(--accent)}
a.link:hover>.ind-id .ind-name,a.link:hover>.ind-inline .ind-name{text-decoration:underline}
/* The claim summary: the reason reads as text, not as a heavy value. */
#summary .meta-grid dd{font-weight:400}
.record-head .meta-grid+p{margin:10px 0 0}

/* ==================================================================================================================
   Principal UX pass (design system): one Geohan product. Tokens in :root; this layer applies them to the shared
   primitives (shell, type, surfaces, tables, disclosure, forms, callouts, empty states, filters, legends) so every
   screen benefits without page rules. docs/ux/COMPONENT_STANDARD.md section 16.
   ================================================================================================================== */

/* Motion: quick, quiet, and none when the user asks for reduced motion. */
@media(prefers-reduced-motion:reduce){:root{--dur-1:0s;--dur-2:0s}}

/* Shell: deep forest navigation with a quiet vertical gradient; the current item a soft emerald wash and the bar. */
.workspace-nav{background:linear-gradient(180deg,#10291f 0%,var(--nav) 42%,#0c1f18 100%)}
.nav-item{transition:background-color var(--dur-1) var(--ease),color var(--dur-1) var(--ease)}
.nav-item.active{background:linear-gradient(90deg,rgba(121,180,151,.24),rgba(121,180,151,.07));color:var(--text-inverse);font-weight:700;box-shadow:inset 3px 0 var(--focus-on-dark)}
/* The top bar is the one translucent surface: content scrolls under it, softly blurred. */
.topbar{background:var(--surface-overlay);-webkit-backdrop-filter:saturate(1.5) blur(12px);backdrop-filter:saturate(1.5) blur(12px);border-bottom:1px solid rgba(195,210,202,.7)}
.topbar-title strong{font-weight:600}

/* Type hierarchy: page, record, section, panel, field, metadata, help. */
h1,h2,h3{line-height:1.25}
.panel-head h2{font-size:var(--fs-section)}
.crumbs [aria-current]{color:var(--text-secondary)}
/* The breadcrumb component (COMPONENT_STANDARD 3.2): a nav landmark, an ordered list, the current page named; the
   separator is drawn by CSS and given empty alternative text so it is not read aloud. */
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center}
.crumbs li{display:inline-flex;align-items:center;min-width:0}
.crumbs li+li::before{content:"\203A";content:"\203A"/"";margin:0 7px;color:var(--muted)}
.muted{font-size:var(--fs-help)}
.small-text{font-size:12px}
code,kbd,pre{font-family:var(--font-mono);font-size:.92em}

/* Field labels above their control at 13px semibold, never taking the control's text with them. */
.form-grid label,.form-stack label,.step-form label,.form-flow label,.form-row label,.reason-form label,.line-editor-form label,.decision-actions label,.field>label,.resp-label{font-size:var(--fs-label);font-weight:600;color:var(--ink)}
.check-group label,.checkbox-line,.scope-group label{font-size:13px}
select{padding-right:28px}
select:where(:not([multiple],[size])),input:where([type=date],[type=month],[type=week],[type=time],[type=datetime-local]){height:38px}

/* Tables: no frame inside a framed section (the section is the surface); readable sentence-case headers; tabular
   figures; quiet row separators and hover. The tracking grid keeps its own scrolling frame. */
.panel .table-wrap{border:0;border-radius:0}
.grid-panel .table-wrap{max-height:70vh;overflow:auto;border:1px solid var(--line);border-radius:var(--radius-md);scroll-padding:52px 0 0 330px}
th{font-size:12px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--text-secondary);background:var(--surface-subtle);border-bottom:1px solid var(--line-strong)}
td{font-variant-numeric:tabular-nums}
tbody tr{transition:background-color var(--dur-1) var(--ease)}
tbody tr:hover{background:var(--surface-subtle)}
.compact-table th,.compact-table td{padding:8px 10px}

/* Disclosure: a native details element with its own chevron, a comfortable target and a visible open state. */
summary{list-style:none;display:inline-flex;align-items:center;gap:7px;min-height:32px;border-radius:var(--radius-sm);user-select:none}
summary::-webkit-details-marker{display:none}
summary::marker{content:""}
summary::before{content:"";flex:none;width:7px;height:7px;margin:0 2px 0 3px;border-right:1.75px solid currentColor;border-bottom:1.75px solid currentColor;transform:rotate(-45deg);transition:transform var(--dur-1) var(--ease)}
details[open]>summary::before{transform:rotate(45deg) translate(-1px,-1px)}
summary:hover{text-decoration:underline;text-underline-offset:3px}
.row-detail>summary{display:flex}

/* Callouts and empty states inside a section stay quiet: no box inside a box. */
.panel .empty-state{border:0;background:transparent;max-width:none;padding:10px 0;text-align:left;margin:0}
.panel .empty-state p{margin-left:0}
.panel .empty-state .empty-actions{justify-content:flex-start}
td.empty{padding:22px 12px}

/* Filters: a compact toolbar that supports the list instead of a card of its own (the frame: see .filter-bar.panel). */
.filter-bar label{font-size:12px;font-weight:600;color:var(--text-secondary);min-width:140px}
.filter-bar input,.filter-bar select{padding:6px 9px;font-size:var(--fs-label);line-height:20px}
.filter-bar .btn{padding:6px 12px}

/* KPI summary cards: the figure leads, the label is secondary. */
.metric span{font-size:13px;color:var(--text-secondary)}
.metric small{font-size:12px}
/* UX Q1: a card with no figure keeps the figure's line, holding a short neutral dash and the word that is true at body size. */
.metric .metric-none{display:flex;align-items:center;gap:8px;min-height:calc(var(--fs-kpi) * 1.1);font-family:var(--font-ui);font-size:14px;font-weight:600;letter-spacing:0;color:var(--text-secondary)}
.metric .metric-none::before{content:"";flex:none;width:12px;height:2px;border-radius:1px;background:var(--muted)}
.metric .badge{display:inline-flex;font-size:12px}
/* UX Q1: the line under an approved subtotal that says how many more results await approval, in the engine flag's colour. */
.metric .level-flag{margin-top:4px;color:var(--warn)}

/* Guide box and contextual help (UX-5 components; only approved texts are rendered). */
.guide-box{border:1px solid var(--line);border-left:3px solid var(--brand-teal);background:var(--surface-subtle);border-radius:var(--radius-md);padding:10px 14px;margin:0 0 16px;max-width:var(--w-prose)}
.guide-box>strong{display:block;font-size:var(--fs-meta);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--brand-teal)}
.guide-box p,.guide-box ul{margin:4px 0 0;color:var(--text-secondary);font-size:13px}
.guide-box ul{padding-left:18px}

/* Page widths by kind of work: a task page stays together on a wide screen; forms keep their fields readable. */
.layout-task{max-width:var(--w-task);margin-left:auto;margin-right:auto}
.layout-form{max-width:var(--w-form)}

/* ---- Principal UX pass: the data request (record header, work surface, context, alternative path) ---- */
.record-head{align-items:flex-start}
.record-identity{min-width:0}
.record-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.record-title h1{margin:0}
.record-title .badge{font-size:13px;padding:3px 10px}
.record-head .record-actions{align-self:flex-start;padding-top:26px}
.record-note{margin:10px 0 0;font-size:13px;color:var(--text-secondary);max-width:var(--w-prose)}
.task-nav-next .ind-inline .ind-name{color:var(--accent)}
.work-surface{padding:0;box-shadow:var(--shadow-2)}
.work-step{padding:20px 22px}
.work-step+.work-step{border-top:1px solid var(--line)}
.work-step .step-form{margin-left:38px}
.work-step .readiness,.work-step .next-step,.work-step>.action-bar,.work-step>.evidence-list,.work-step>.evidence-empty,.work-step>.notice,.work-step>.hint{margin-left:38px}
.work-step>.action-bar{border-top:0;padding-top:0}
.field-block{display:grid;gap:4px;min-width:0;align-content:start}
.field-block>label{display:grid;gap:6px}
.next-step{margin:12px 0 0;color:var(--text-secondary)}
.next-step strong{color:var(--ink)}
.movement-note{margin:0 0 12px}
.definition-panel{background:var(--surface-subtle);box-shadow:none}
.alt-path{margin:0 0 20px;padding:12px 18px;border:1px dashed var(--line-strong);border-radius:var(--radius-lg)}
.alt-path details.na-claim{margin-top:2px}
.alt-path .step-form{margin-top:6px}
.panel-quiet{box-shadow:none;background:rgba(255,255,255,.7)}
.panel-quiet .panel-head h2{font-size:var(--fs-panel)}
#summary .meta-list.columns .wide-fact{grid-column:1/-1}
.meta-list .dd-sub{display:block;font-size:var(--fs-help);color:var(--text-secondary)}
.evidence-item:first-child{border-top:0;padding-top:4px}
.evidence-main{display:grid;gap:2px;min-width:0}
.evidence-meta{display:flex;flex-wrap:wrap;gap:2px 14px;font-size:var(--fs-help);color:var(--text-secondary)}
.evidence-integrity{margin:0}
.evidence-integrity>summary{min-height:24px;font-size:12px;color:var(--muted);font-weight:600}
/* V1 evidence reuse: Download and Remove from this value side by side; the values a file may also be attached to, one per line. */
.evidence-actions{display:inline-flex;flex-wrap:wrap;gap:6px 8px;align-items:center}
.evidence-remove{margin:0}
.check-group.also-attach{display:grid;gap:6px}
.also-attach .hint{margin:0}
.form-lead{margin:16px 0 0 38px;padding-top:14px;border-top:1px solid var(--line);font-size:var(--fs-label);font-weight:600;color:var(--text-secondary)}
.form-lead+.step-form{margin-top:8px}
.section-empty{margin:0;color:var(--muted)}
.section-empty+.comment-form{margin-top:12px}
@media(max-width:820px){.page-head h1{font-size:var(--fs-record)}.work-step .step-form,.work-step .readiness,.work-step .next-step,.work-step>.action-bar,.work-step>.evidence-list,.work-step>.evidence-empty,.work-step>.notice,.work-step>.hint,.form-lead{margin-left:0}.work-step{padding:16px}.record-head .record-actions{padding-top:0}}
/* ---- Principal UX pass: Review & Approve (facts row, value headline, grouped decision) ---- */
.meta-list.card-facts{display:flex;flex-wrap:wrap;gap:8px 32px;margin-top:10px}
.card-facts .wide-fact{flex-basis:100%}
.card-facts dd{color:var(--ink)}
.decision-card-head h3 .ind-name{font-size:var(--fs-panel)}
.decision-facts .decision-value{margin-bottom:4px}
.stage-line{margin:0 0 12px;color:var(--text-secondary)}
.stage-line .secondary{display:block;font-size:var(--fs-help)}
.decision-note{margin:0 0 12px}
.meta-list.card-checks{margin:0 0 4px}
.claim-list .task-row{align-items:start}
/* ---- Principal UX pass: the top bar at phone width (UX3-OBS-01). One row: Menu, the environment label (a control cue,
   never hidden) and Notifications. The application name and the version step back, and the profile link is the user
   card in the drawer. ---- */
.topbar{container:topbar/inline-size}
.topbar-left,.topbar-title{min-width:0}
.topbar-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.env,.topbar-notices,.topbar-user{white-space:nowrap}
@container topbar (max-width:700px){.topbar-title,.env-version,.topbar-user{display:none}.topbar-meta{gap:6px}}
/* UX-4 W1 (ACTIVE-STATE-GAPS, ruling 8): the top-bar link of the current place, keyed on the same aria-current the screen reader announces */
.topbar-notices[aria-current="page"],.topbar-user[aria-current="page"]{text-decoration-line:underline;text-underline-offset:3px;text-decoration-thickness:2px}
/* ---- Principal UX pass: list tables (counts as label and value pairs; on a narrow screen each row of a .list-cards
   table becomes a card, labelled cells showing their data-label; Tracking Sheets and Reporting Periods) ---- */
.meta-list.count-facts{display:flex;flex-wrap:wrap;gap:4px 24px}
.count-facts dd{font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.tracking-list td.num{font-weight:600}
.list-cards{container:listcards/inline-size}
@container listcards (max-width:640px){
  .list-cards>table{min-width:0}
  .list-cards>table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .list-cards>table,.list-cards>table>tbody,.list-cards>table>tbody>tr,.list-cards>table>tbody>tr>td{display:block}
  .list-cards>table>tbody>tr{padding:14px 0;border-bottom:1px solid var(--line)}
  .list-cards>table>tbody>tr:last-child{border-bottom:0}
  .list-cards>table>tbody>tr>td,.list-cards>table>tbody>tr>td.num{border:0;padding:3px 0;text-align:left}
  .list-cards td[data-label]{display:flex;gap:8px;align-items:baseline}
  .list-cards td[data-label]::before{content:attr(data-label);content:attr(data-label)/"";flex:none;min-width:92px;font-size:var(--fs-meta);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
  .list-cards .count-facts{margin:6px 0 4px}
  .list-cards .cell-actions,.list-cards .period-status-form{margin-top:8px}
}
/* ---- Principal UX pass: tracking grid (FY navigation as one group, the instructions as a compact key strip) ---- */
.fy-nav{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper)}
.fy-nav .btn{min-height:32px;padding:4px 10px}
.fy-nav .fy-label{padding:0 10px;font-size:14px}
.grid-panel .hint-list{list-style:none;padding:10px 14px;margin:0 0 14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:4px 24px;background:var(--surface-subtle);border-radius:var(--radius-md);font-size:var(--fs-help)}
.grid-panel .hint-list li{position:relative;padding-left:12px}
.grid-panel .hint-list li::before{content:"";position:absolute;left:0;top:.62em;width:4px;height:4px;border-radius:50%;background:var(--accent)}
/* ---- Principal UX pass: grouped entry forms (Data Register, Enter Data) and row actions ---- */
.form-sections{display:grid;gap:20px;max-width:var(--w-form)}
.form-section{border:0;margin:0;padding:0;min-width:0}
.form-section>legend{float:left;width:100%;padding:0;margin:0 0 10px;font-size:var(--fs-meta);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.form-section>legend+*{clear:both}
.form-section+.form-section{padding-top:18px;border-top:1px solid var(--line)}
.form-sections>.form-footer{margin-top:0;justify-content:flex-start}
.row-actions{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.row-actions details{flex-basis:100%}
.row-actions .mini-form{margin:0}
/* ---- Principal UX pass: a form group that can be collapsed (its h2 inside the summary, current values beside it) ---- */
.form-group-disclosure{margin:18px 0 6px}
.form-group-disclosure>summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.form-group-disclosure>summary h2{display:inline;margin:0;font-size:var(--fs-panel)}
.form-group-disclosure>summary .summary-values{font-size:var(--fs-help);font-weight:400;color:var(--text-secondary)}
.form-group-disclosure[open]>summary{margin-bottom:12px}
/* ---- Principal UX pass: cross-app pull-forward (the group CSS requests, as reviewed) ---- */
/* Lineage: the full SHA-256 aligns with the file name inside the evidence column (Lineage is the integrity page). */
.evidence-item .evidence-main .lineage-hash{margin:2px 0 0}
/* UX-STYLE-26: a metric card states its condition in words (ui.metric_state), not by its border colour alone. */
.metric .metric-state{margin-top:8px;font-size:var(--fs-meta);font-weight:600;color:var(--text-secondary)}
.metric.attention .metric-state{color:var(--warn)}
.metric.issue .metric-state{color:var(--bad)}
.metric.good .metric-state{color:var(--ok)}
/* UX-DASH-07: the Performance Dashboard's cards in bands named by the kind of number. */
.metric-band .band-title{margin:0 0 8px;font-size:var(--fs-panel);font-weight:650;color:var(--ink)}
/* UX-4 W4: the line that splits the decisions band's figure by kind sits under its card and keeps the band's space
   before the next section. */
.metric-band>.metric-grid+.table-count{margin:-6px 0 18px}
.metric-bands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.metric-bands .metric-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:820px){.metric-bands{grid-template-columns:minmax(0,1fr)}.metric-grid.compact{grid-template-columns:minmax(0,1fr)}.panel-head:has(>.table-filter){flex-wrap:wrap}.panel-head>.table-filter{flex:1 1 180px;max-width:none}}
/* UX-DASH-04: the count line under a capped table. UX-DASH-30: the chart key. */
.table-count{margin:10px 0 0}
.chart-key{margin:0 0 8px}
.chart-key svg{flex:none}
.trend-table tbody th[scope=row]{position:static;background:transparent;border-bottom:1px solid var(--line);color:var(--ink);font-size:var(--fs-label);font-weight:600;white-space:nowrap}
.exception-lists h3{margin:18px 0 6px}
.exception-lists>div>h3:first-child{margin-top:0}
/* Long values never widen a definition list; the report publish note fits a phone. */
.definition-list dd{min-width:0;overflow-wrap:anywhere}
.publish-note{min-width:min(380px,100%)}
/* UX2B-04: filter selects keep room beside the arrow for their chosen text. */
.filter-bar select{padding-right:28px}.filter-bar select,.filter-bar input:where([type=date],[type=month],[type=week],[type=time],[type=datetime-local]){height:34px}
/* H1-UX03 (PME deployment row detail): the action reads first, its dates are secondary. */
.row-detail>summary:has(.summary-meta){flex-wrap:wrap;row-gap:2px}
.row-detail>summary .summary-meta{font-weight:400;color:var(--text-secondary)}
@container listcards (max-width:640px){.deployment-register>tbody>tr>td:empty{display:none}}
/* UX-NAV-10: the sidebar user card says where it leads. */
.user-card .user-card-action{color:var(--nav-text);font-weight:600;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.user-card-link:hover .user-card-action{color:var(--text-inverse)}
/* UX-STYLE-10: the live count after a table filter box. */
.filter-count{color:var(--muted);font-size:var(--fs-label);white-space:nowrap;font-variant-numeric:tabular-nums}
.table-filter+.filter-count{margin-left:var(--space-2)}
.panel-head>.table-filter{margin-left:auto}
.panel-head>.table-filter+.filter-count{margin-left:0}
/* Row headers in a table body never stick vertically; a sticky first header cell is never transparent. */
tbody th{top:auto}
.table-wrap table:not(.track-grid) thead th.sticky-col{background:var(--surface-subtle)}
/* UX-STYLE-25: print without scroll boxes or sticky parts; table text 11px, never below; badges keep their word. */
@media print{
  .table-wrap,.grid-panel .table-wrap{overflow:visible!important;max-height:none!important;border:0}
  th,.sticky-col,.report-table td:first-child,.form-footer,.topbar,.workspace-nav{position:static!important;box-shadow:none}
  thead{display:table-header-group}
  tr{break-inside:avoid}
  table{font-size:11px}
  .track-grid .row-head,.track-grid .cell,.track-grid .cell-input{min-width:0}
  .form-footer,.crumbs,.guide-box,.nav-backdrop,.table-filter{display:none!important}
  .content .badge{background:none!important}
}
/* A page-type kicker above a record title where the page has no single parent screen (Lineage). */
.page-kicker{margin:0 0 4px;font-size:13px;font-weight:600;color:var(--text-secondary)}
/* Page actions stay beside the title on one row where they fit (about half the header at most), instead of stacking
   while the introduction takes the rest; on narrow screens they follow the title as before. */
.page-head>div:first-child{flex:1 1 auto;min-width:0}
.page-head>.page-actions{flex:0 1 auto;max-width:52%;justify-content:flex-end}
@media(max-width:820px){.page-head>.page-actions{max-width:none;justify-content:flex-start}}
/* ---- Principal UX pass: internal review rounds (hierarchy, accessibility, responsive, anti-generic) ---- */
/* A focused control is never hidden under the sticky form footer or the grid's sticky header and column (WCAG 2.4.11). */
html:has(.form-footer){scroll-padding-bottom:88px}
/* The context heading ranks below the task's step headings; page actions keep one row beside the title. */
.definition-panel .panel-head h2{font-size:var(--fs-panel)}
.page-head:not(.record-head)>.page-actions{flex-shrink:0}
/* Claims are rows of one list, not cards in a panel. */
.claim-list{gap:0}
.claim-list>.task-row{border:0;border-radius:0;background:transparent;box-shadow:none;padding:14px 0}
.claim-list>.task-row+.task-row{border-top:1px solid var(--line)}
/* Tertiary row action; aligned table rows; paired panels top-aligned where their heights differ. */
.tracking-list .cell-actions>.link{font-size:var(--fs-label)}
.validation-table td,.history-table td{vertical-align:baseline}
.split-grid.align-start{align-items:start}
/* The grid's route into a data request reads as a link. */
.track-grid .cell-meta a{color:var(--accent)}
/* On a task page the confirmation lines up with the record it confirms. */
.content:has(>.layout-task)>.flash{margin-left:max(0px,calc((100% - var(--w-task))/2))}
/* A card shows a tone only together with its word (ui.metric_state); otherwise it is neutral. */
.metric:not(:has(.metric-state)){border-left-width:1px;border-left-color:var(--line)}
/* UX consolidation (2 November 2026): a card never carries a coloured edge; its state word carries the tone as a dot. */
.metric.attention,.metric.issue,.metric.good{border-left-width:1px;border-left-color:var(--line)}
/* A card inside a panel is a tinted figure, not a raised card on a card. */
.panel .metric{box-shadow:none;border-color:transparent;background:var(--surface-subtle)}
.metric .metric-state::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px;background:var(--muted)}
.metric.attention .metric-state::before{background:var(--dot-returned,var(--warn))}
.metric.issue .metric-state::before{background:var(--dot-overdue,var(--bad))}
.metric.good .metric-state::before{background:var(--success,var(--ok))}
/* Report Centre: one action column down the page. */
.report-list{table-layout:fixed}
.report-list .rc-report{width:34%}
.report-list .rc-actions{width:360px}
/* The data request: the extra-file form and the read-only record surface. */
.work-step>.more-files{margin:14px 0 0 38px}
.record-surface>.work-step .panel-head{margin-bottom:10px}
.record-surface>.work-step>.evidence-list,.record-surface>.work-step>.evidence-empty{margin-left:0}
.form-heading{margin:0;font-size:var(--fs-subsection)}
/* Table cells never break a single word to squeeze a column. */
.table-wrap .ind-name{overflow-wrap:break-word}
/* Phones: the grid is only as wide as its columns; an empty table states its message across the screen; filters share
   rows evenly; record facts line up; the change-status label sits above its control in a period card. */
@media(max-width:820px){.grid-panel .table-wrap{scroll-padding-left:170px}.track-grid{min-width:0}td.empty{text-align:left}.table-wrap table:has(td.empty){min-width:0}.table-wrap table:has(td.empty)>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.work-step>.more-files{margin-left:0}.filter-bar label{flex:1 1 140px}.filter-bar label>input,.filter-bar label>select{width:100%}.filter-bar input[name=q]{min-width:0}.meta-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px 20px}}
@container listcards (max-width:640px){.list-cards td:has(>.period-status-form)[data-label]{display:block}.list-cards td:has(>.period-status-form)[data-label]::before{display:block;margin:8px 0 4px}}
/* ---- UX-3 final acceptance: shared primitives. Presentation only. Responsive rules use container queries; the window breakpoint set is unchanged. */
/* A section closed by default with its heading in the summary; the summary line carries the key values and is centred
   in its target height, so the chevron sits level with the heading. */
.section-disclosure{margin:0}
.section-disclosure>summary{display:flex;flex-wrap:wrap;align-items:baseline;align-content:center;gap:2px 12px;min-height:32px;color:var(--ink)}
.section-disclosure>summary::before{align-self:center}
.section-disclosure>summary h2{display:inline;margin:0;font-size:var(--fs-panel)}
.section-disclosure>summary .summary-values{font-size:var(--fs-help);font-weight:400;color:var(--text-secondary)}
.section-disclosure[open]>summary{margin-bottom:14px}
/* An empty section as one quiet line: its heading and its one sentence. */
.section-compact{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;padding:12px 22px}
.section-compact .panel-head,.section-compact h2{margin:0}
.section-compact h2{font-size:var(--fs-panel)}
.section-compact p{margin:0;padding:0}
/* A reporting limitation (UX consolidation, 2 November 2026): inline status text, never a tinted box. The title carries
   the tone as a dot and its word, the body is secondary text, the readiness link ends the line. Print-visible: the
   title word keeps the meaning where a printer drops the dot. */
.limitation{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;max-width:1040px;margin:0 0 12px;padding:0;border:0;border-radius:0;background:none;color:var(--text-secondary);--lim-ink:var(--negative-ink,var(--bad));--lim-dot:var(--dot-overdue,var(--bad))}
.limitation.is-warning{--lim-ink:var(--warning-ink,var(--warn));--lim-dot:var(--dot-returned,var(--warn))}
.limitation-title{color:var(--lim-ink);font-weight:600;white-space:nowrap}
.limitation-title::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px;background:var(--lim-dot);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.limitation-body{flex:1 1 320px;margin:0}
ul.limitation-body{padding-left:18px}
.limitation>.link{white-space:nowrap}
/* ---- UX-3 final acceptance: Report Centre, report preview and report runs. Presentation only. */
/* One readiness line for the page (RC-01, RC-02, RC-RUN-02): the tone follows the word the line carries. */
.rc-readiness{container:rc-strip/inline-size;flex-wrap:wrap;align-items:baseline;gap:4px 14px;color:var(--ink)}
.rc-readiness.has-blockers{--rc-dot:var(--dot-overdue,var(--bad))}
.rc-readiness.has-attention{--rc-dot:var(--dot-returned,var(--warn))}
.rc-readiness-title{font-weight:650}
.rc-readiness-title::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px;background:var(--rc-dot,var(--muted))}
.rc-readiness-scope{font-size:var(--fs-help);color:var(--text-secondary)}
.rc-readiness>.link{white-space:nowrap}
.rc-readiness-note{flex:1 1 100%;margin:0;font-size:var(--fs-help);color:var(--text-secondary)}
/* Report rows (RC-04): View or print stays a button; the downloads are a quiet pair; Generate and keep is secondary.
   The actions fit one line on a desktop; a narrow list shows each report as a stacked row. */
.report-list .rc-actions{width:410px}
.rc-action-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.rc-action-row .mini-form{margin:0}
.rc-downloads{display:inline-flex;align-items:baseline;gap:10px}
.rc-downloads-label{font-size:var(--fs-help);color:var(--muted)}
.rc-downloads .link{font-size:13px;font-weight:600}
.rc-basis{font-size:var(--fs-help);color:var(--text-secondary)}
.rc-caveat{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:6px;font-size:var(--fs-help);color:var(--text-secondary)}
.table-wrap:has(>.report-list){container:rc-list/inline-size}
@container rc-list (max-width:720px){
  .report-list,.report-list tbody,.report-list tr,.report-list td{display:block;width:auto}
  .report-list colgroup{display:none}
  .report-list tr{padding:12px 12px 14px;border-bottom:1px solid var(--line)}
  .report-list tr:last-child{border-bottom:0}
  .report-list td{padding:0;border:0}
  .report-list td+td{margin-top:8px}
}
.rc-runs code.hash{font-size:var(--fs-code);color:var(--muted)}
/* Report run: the state in words beside the badge (on the record head's code line, the title being the top bar's), the
   state panel, and the file facts on demand (RC-RUN-03..05). */
.page-code .run-qualifier{font-size:13px;font-weight:600;color:var(--text-secondary)}
.run-state h2{margin:0 0 4px}
.run-state-line{margin:0;color:var(--text-secondary)}
.run-state .inline-form{flex:1 1 520px}
.run-state .publish-note{flex:1 1 300px;width:auto}
.run-state .hint{margin-top:10px}
.run-file:not([open]){padding-top:12px;padding-bottom:12px}
.run-file .definition-list{margin-top:2px}
.run-file code.hash{font-size:12px;overflow-wrap:anywhere}
/* Report preview (brief 38): headings on one line; the report's other notes as a quiet list under its facts. */
.report-table th{white-space:nowrap}
.report-notes{display:grid;gap:4px;margin:12px 0 0;padding-left:18px;font-size:var(--fs-help);color:var(--text-secondary)}
@media print{.report-table th,.report-table td.nowrap{white-space:normal}.wide-note{display:none}}
/* ---- UX-3 final acceptance: Reporting Readiness, Disclosure Workspace and Frameworks. Presentation only. */
/* The reporting-period count: a quiet line above the checks, outside the filter bar (print hides the filter bar). */
.rr-periods{margin:0 0 10px;font-size:var(--fs-label);color:var(--text-secondary)}
.rr-points{margin:0;padding:0;list-style:none;font-size:var(--fs-label);color:var(--text-secondary)}
.rr-points li+li{margin-top:2px}
.rr-requirements td .ind-code{margin-left:2px}
.rr-requirements td:last-child{min-width:170px}

/* Disclosure Workspace: the dataset downloads in the page actions. */
.dw-downloads{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}
.dw-downloads-label{margin-right:2px;font-size:var(--fs-label);color:var(--text-secondary)}

/* The requirement filter: native radios in labelled chips, operable with the keyboard (arrow keys), no script. */
.dw-filter{min-width:0;margin:0 0 14px;padding:0;border:0}
.dw-filter .chip-row{margin:0}
.dw-filter .chip{position:relative;min-height:30px;padding:4px 12px;cursor:pointer;font-weight:600;color:var(--text-secondary);transition:background-color var(--dur-1) var(--ease),border-color var(--dur-1) var(--ease),color var(--dur-1) var(--ease)}
.dw-filter .chip:hover{border-color:var(--line-strong);background:var(--surface-hover)}
.dw-filter .chip input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.dw-filter .chip:has(input:checked){background:var(--accent-2);border-color:var(--accent);color:var(--accent)}
.dw-filter .chip:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}
.dw-filter .chip-count{font-weight:400;font-variant-numeric:tabular-nums;color:var(--muted)}
.dw-filter .chip:has(input:checked) .chip-count{color:var(--accent)}
.dw:has(input[name="dw-show"][value="not-ready"]:checked) tr[data-dw-row]:not([data-not-ready]),
.dw:has(input[name="dw-show"][value="needs-mapping"]:checked) tr[data-dw-row]:not([data-needs-mapping]),
.dw:has(input[name="dw-show"][value="missing-data"]:checked) tr[data-dw-row]:not([data-missing-data]),
.dw:has(input[name="dw-show"][value="sample"]:checked) tr[data-dw-row]:not([data-sample]),
.dw:has(input[name="dw-show"][value="ready"]:checked) tr[data-dw-row]:not([data-ready]){display:none}
.dw:not(:has(input[name="dw-show"][value="not-ready"]:checked)) tr[data-none-for="not-ready"],
.dw:not(:has(input[name="dw-show"][value="needs-mapping"]:checked)) tr[data-none-for="needs-mapping"],
.dw:not(:has(input[name="dw-show"][value="missing-data"]:checked)) tr[data-none-for="missing-data"],
.dw:not(:has(input[name="dw-show"][value="sample"]:checked)) tr[data-none-for="sample"],
.dw:not(:has(input[name="dw-show"][value="ready"]:checked)) tr[data-none-for="ready"]{display:none}

/* A requirement row: the requirement and its readiness first, the mapped indicators and their values beside them. */
.dw-table>tbody>tr>td:first-child{width:32%}
.dw-table>tbody>tr>td:nth-child(2){width:190px}
.dw-req-name{font-weight:600;color:var(--ink)}
.dw-req .ind-code{margin-left:2px}
.dw-out{display:block;font-weight:600;color:var(--text-secondary)}
.open-points{margin-top:8px}
.open-points>summary{font-size:var(--fs-label)}
.open-points ul{margin:6px 0 0;padding-left:18px;font-size:var(--fs-label);color:var(--text-secondary)}
.open-points li+li{margin-top:2px}
.dw-items{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.dw-items>li+li{padding-top:12px;border-top:1px solid var(--line)}
.dw-item-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 16px}
.dw-value{white-space:nowrap;color:var(--text-secondary)}
.dw-value strong{font-size:var(--fs-value);font-variant-numeric:tabular-nums;color:var(--ink)}
.dw-item-facts{display:flex;flex-wrap:wrap;gap:2px 14px;margin-top:2px;font-size:var(--fs-label);color:var(--text-secondary)}
.dw-item-facts .link{font-size:var(--fs-label)}
/* WP-01 (management correction of 4 November 2026): each open condition is a short labelled fact; the label shares the
   line's size and gains only ink and weight, so the row stays one quiet wrapping line */
.dw-k{margin-right:2px;font-weight:600;color:var(--ink)}
.dw-tags .dw-k{font-size:var(--fs-label)}
.dw-tags{margin-top:6px}
.dw-items.is-out{gap:4px}
.dw-items.is-out>li+li{padding-top:0;border-top:0}
@container listcards (max-width:640px){
  .dw-table>tbody>tr>td:first-child,.dw-table>tbody>tr>td:nth-child(2){width:auto}
  .dw-table td[data-label="Requirement"],.dw-table td[data-label="Indicators"]{display:block}
  .dw-table td[data-label="Requirement"]::before{display:none}
  .dw-table td[data-label="Indicators"]::before{display:block;margin:8px 0 4px}
  .dw-value{white-space:normal}
}

/* Frameworks: a requirement text shared by every requirement, shown once under the framework heading. */
.fw-common{margin:0 0 14px}
/* ---- UX-3 final acceptance: GHG View calculation (ghg_result.html; the metric unit also on people_result.html). Presentation only. */
/* The result unit sits beside the headline number, quieter than the number (both View calculation pages). */
.calc-metrics .metric strong .calc-unit{display:inline;margin-left:2px;font-family:var(--font-ui);font-size:var(--fs-value);font-weight:600;letter-spacing:0;color:var(--text-secondary)}
/* A calculation line: the causal chain first, the factor and attribution facts second, the technical record last. */
.calc-card{container:calc-card/inline-size}
.calc-card .panel-head{margin-bottom:14px}
.calc-chain{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin:0 0 20px}
.calc-term{display:flex;flex-direction:column;gap:2px;min-width:148px;max-width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle)}
.calc-term-label{font-size:var(--fs-label);color:var(--text-secondary)}
.calc-term strong{font-family:var(--font-display);font-size:20px;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums;color:var(--ink);overflow-wrap:anywhere}
.calc-term-note{font-size:var(--fs-help);color:var(--text-secondary);overflow-wrap:anywhere}
.calc-term>.link{align-self:flex-start;margin-top:6px;font-size:var(--fs-label)}
.calc-term-result{border-color:var(--accent-3);background:var(--accent-2)}
.calc-term-result strong{color:var(--accent-strong)}
.calc-op{display:flex;align-items:center;justify-content:center;min-width:16px;font-size:20px;line-height:1;color:var(--muted)}
.calc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 40px}
.calc-facts .group-label{margin:0 0 8px}
.calc-details .kv-list{margin-top:10px}
.calc-details code{overflow-wrap:anywhere}
/* Narrow card: the chain reads top to bottom and the two fact groups stack. */
@container calc-card (max-width:600px){
  .calc-chain{flex-direction:column}
  .calc-op{justify-content:flex-start;padding-left:16px}
  .calc-facts{grid-template-columns:minmax(0,1fr)}
}
/* Calculation history: lines that no longer carry the result, closed by default; each line a quiet section, not a card. */
.calc-history .calc-card{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.calc-history .calc-card .panel-head h3{margin:0;font-size:var(--fs-panel)}
.calc-history .calc-term{background:var(--paper)}
.calc-history .calc-term-result{background:var(--surface-subtle);border-color:var(--line)}
.calc-history .calc-term-result strong{color:var(--ink)}
/* ---- UX-3 final acceptance: Measurement Lineage and Hierarchical View. Presentation only. */
/* Lineage: the event history is read first (event, by, when, reason); the review history and the stored records sit
   underneath as quiet disclosure rows, the first one directly under the table's last row. */
.event-history td{vertical-align:top}
.event-history .event-what{min-width:180px}
.event-history .event-what strong{font-weight:600;color:var(--ink)}
.event-history .event-by{white-space:nowrap}
.event-history .event-when,.review-history .event-when{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text-secondary)}
.event-history td.multiline{min-width:220px}
.event-more{margin-top:2px}
.event-more>.secondary-details,.event-more>.event-more-line{margin:0;padding:10px 0 0;border-top:1px solid var(--line)}
.event-more>:first-child{border-top:0}
.event-more>*+*{margin-top:10px}
.event-more>.event-more-line{font-size:13px}
.event-more>details[open]>summary{margin-bottom:8px}
.section-empty+.event-more>:first-child{padding-top:8px}
.audit-technical .audit-table td{vertical-align:top}
.audit-technical .audit-action{font-family:var(--font-mono);font-size:var(--fs-code);color:var(--text-secondary);background:var(--surface-subtle);border-radius:var(--radius-sm);padding:1px 6px;white-space:nowrap}
.audit-technical .record-note{margin-top:8px}
/* The full SHA-256 fingerprint under Integrity: selectable in one action for comparison with an assurance copy. */
.evidence-item .evidence-integrity .lineage-hash{margin:4px 0 0;user-select:all}
/* Hierarchical View: small supporting text in the level table (also on the Group row), node notes as quiet lines, a
   period and value that never break apart, and a legend that names only the markers on the page. */
.agg-panel .agg-table td.agg-detail{font-size:12px}
/* UX Q1: the engine's flag style also serves target detail's flags (it was scoped to .agg-table, its only user then). */
.level-flag{display:block;color:var(--warn);line-height:1.4}
.level-flag+.level-flag{margin-top:3px}
.agg-table td.agg-values{line-height:1.6}
.agg-table td.agg-values a{white-space:nowrap}
.legend.agg-legend{display:flex;flex-wrap:wrap;gap:4px 18px;margin:10px 0 0;font-size:12px}
.agg-panel .agg-method{margin-top:12px}
.agg-method .hint-list{margin:10px 0 2px;max-width:var(--w-prose)}
/* ---- UX-3 final acceptance: operational screens (My Tasks, Tracking Sheets, grid Status key, Data Request, Data Register). Presentation only. */
/* My Tasks: the rows are one list inside their section (no card inside a card), with a quiet hover and a visible focus
   state; the action is a clear secondary button, never a second primary. The facts grid and its container queries are
   unchanged. The negative margin lines the row text up with the section heading. */
.task-cards{gap:0}
.task-cards>.task-row{border:0;border-radius:0;background:transparent;padding:12px;margin:0 -12px;transition:background-color var(--dur-1) var(--ease),box-shadow var(--dur-1) var(--ease)}
.task-cards>.task-row+.task-row{border-top:1px solid var(--line)}
.task-cards>.task-row:hover{background:var(--surface-subtle)}
.task-cards>.task-row:focus-within{background:var(--surface-subtle);box-shadow:inset 3px 0 0 var(--accent)}
.task-cards>.task-row.is-waiting{background:transparent}
.task-cards>.task-row.is-waiting:hover,.task-cards>.task-row.is-waiting:focus-within{background:var(--surface-subtle)}
.task-cards .task-row-side>.btn{border-color:var(--accent-3);color:var(--accent)}
.task-cards>.task-row:hover .task-row-side>.btn{border-color:var(--accent)}
.task-meta dt{font-weight:600}
/* The administrators' Generate panel is a closed disclosure: one line until it is needed. */
.generate-panel{padding:12px 22px}
.generate-panel .hint{margin:0 0 10px}
/* M10 correction 01 (13 November 2026): the period, the due date and Generate requests on one line, each 36px high with its
   label above; the due date's hint under its own field (a phone stacks them, 640px) */
.generate-form{display:grid;grid-template-columns:minmax(160px,220px) minmax(160px,200px) auto;justify-content:start;align-items:end;gap:4px 16px;margin-top:4px}
.generate-form .gen-field{display:flex;flex-direction:column;gap:4px;min-width:0}
.generate-form .gen-field label{color:var(--text);font-size:13px;line-height:18px;font-weight:600}
.generate-form select,.generate-form input{box-sizing:border-box;width:100%;height:36px;min-height:36px}
.generate-form .btn{height:36px;min-height:36px;white-space:nowrap}
.generate-panel .generate-form .gen-hint{grid-column:2 / span 2;grid-row:2;margin:0}

/* Tracking Sheets: the four request counts as a fixed two-by-two block (outstanding work first, then decisions and done),
   each label beside its right-aligned number, so every row has the same rhythm. The fixed-content columns (Lines,
   Status, the action) shrink to their content and give the width to the sheet, contributor and counts. */
.tracking-list .count-facts{display:grid;grid-template-columns:max-content minmax(2ch,max-content) max-content minmax(2ch,max-content);gap:3px 10px;align-items:baseline}
.tracking-list .count-facts>div{display:contents}
.tracking-list .count-facts dt{font-size:var(--fs-help);font-weight:400;letter-spacing:0;text-transform:none;color:var(--text-secondary)}
.tracking-list .count-facts dd{text-align:right}
.tracking-list .count-facts>div:nth-child(even)>dt{padding-left:18px}
.tracking-list th:nth-child(3),.tracking-list td:nth-child(3),.tracking-list th:nth-child(5),.tracking-list td:nth-child(5),.tracking-list th:last-child,.tracking-list td:last-child{width:1%;white-space:nowrap}
.tracking-list td:last-child .cell-actions{flex-wrap:nowrap}

/* Data request: the step to do now leads the work surface (a green edge and a filled number); the other steps step back
   in tone. Nothing is disabled: every step keeps its form. */
.work-surface.has-current>.work-step:not(.is-current){background:var(--surface-subtle)}
.work-surface.has-current>.work-step:not(.is-current) .step-head h2{color:var(--text-secondary)}
.work-surface>.work-step.is-current{box-shadow:inset 3px 0 0 var(--accent)}
.work-step.is-current .step-num:not(.is-done){background:var(--accent);border-color:var(--accent);color:var(--text-inverse)}
.work-surface>.work-step:first-child{border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.work-surface>.work-step:last-child{border-radius:0 0 var(--radius-lg) var(--radius-lg)}
.work-surface>.work-step:only-child{border-radius:var(--radius-lg)}
/* The read-only summary's hint lines up with its facts (it has no step number to clear). */
.record-surface>.work-step>.hint{margin-left:0}
/* The optional explanation of movement waits in a disclosure inside step 1 (open when required or written). */
.entry-form .field-disclosure{margin:0}
.entry-form .field-disclosure>summary{font-size:var(--fs-label);font-weight:600}
.entry-form .field-disclosure[open]>summary{margin-bottom:6px}
/* The record trail: Validation, Review history and Comments as one quiet surface, each heading beside its content.
   Failed rules keep a red edge and their table in view; on a narrow surface the heading sits above its content. */
.request-trail{padding:0;container:trail/inline-size}
.trail-section{display:grid;grid-template-columns:minmax(140px,180px) minmax(0,1fr);gap:4px 24px;align-items:baseline;padding:14px 22px}
.trail-section+.trail-section{border-top:1px solid var(--line)}
.request-trail>.trail-section:first-child{border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.request-trail>.trail-section:last-child{border-radius:0 0 var(--radius-lg) var(--radius-lg)}
.request-trail>.trail-section:only-child{border-radius:var(--radius-lg)}
.trail-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;min-width:0}
.request-trail .trail-head h2{margin:0;font-size:var(--fs-panel)}
.trail-head .count-pill{margin-left:0}
.trail-body{min-width:0}
.trail-details{margin:0}
.trail-details>summary{min-height:24px;font-size:13px}
.trail-details[open]>summary{margin-bottom:8px}
.trail-body>.comment-list{margin-bottom:6px}
.trail-body>.comment-list li:first-child{padding-top:0}
.comment-add .hint{margin:0 0 8px}
.comment-add .comment-form{max-width:720px}
.comment-add .comment-form>.action-bar{margin-top:0;padding-top:0;border-top:0}
@container trail (max-width:640px){.trail-section{grid-template-columns:minmax(0,1fr);padding:12px 16px}}

/* Data Register: the register leads; the one-off entry is a secondary disclosure, one line until opened. */
.entry-panel{padding:12px 22px}
.entry-disclosure[open]{padding-bottom:10px}
/* ---- UX-3 final acceptance: Review & Approve. Presentation only. */
/* The decision column: the positive decision (Approve or Mark reviewed) is the one dominant form. Return for correction
   is a native disclosure below it, set apart by a rule and by the danger tone of its summary; it opens in place with
   its required reason, and it is open from the start when it is the only decision offered. */
.decision-actions .return-disclosure{margin:0}
.decision-actions .return-disclosure>summary{color:var(--bad);font-size:13px;font-weight:600}
.decision-actions .return-disclosure[open]>summary{margin-bottom:8px}
.decision-actions .return-disclosure .return-form{margin-bottom:0}
/* A calculated result: the value carries its Calculated tag; the reporting limitation sits under the stage line; the
   stored formula and the source facts replace an evidence count that would read as missing evidence. */
.decision-facts .decision-value .tag{margin-left:2px}
.decision-facts .limitation{margin:0 0 12px}
.decision-facts .limitation-flags{display:flex;flex-wrap:wrap;gap:4px 6px;margin:0 0 4px}
.decision-facts .calc-lines{display:grid;gap:4px;margin:0 0 10px;padding:0;list-style:none}
.decision-facts .calc-lines code{display:inline-block;max-width:100%;padding:3px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--ink);font-size:var(--fs-code);white-space:normal;overflow-wrap:anywhere}
.decision-facts .calc-lines .calc-more{font-size:var(--fs-help);color:var(--text-secondary)}
.decision-facts .meta-list.card-source{display:flex;flex-wrap:wrap;gap:8px 32px;margin:0 0 4px}
.decision-facts .card-source .link{margin-left:8px;font-size:13px}
/* Empty states stay one quiet line: the values queue and the not-applicable claims. */
.queue-empty{margin:0 0 20px}
.section-compact[aria-labelledby="na-claims"]{margin-top:4px}
/* ---- Post-acceptance information-hierarchy pass: data request (map R1). Presentation only. */
.head-nav{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 24px;margin:0 0 6px}
.head-nav>.crumbs{margin:0!important}
.head-nav>.task-nav{margin:0}
.head-nav+.record-head .record-actions{padding-top:0}
.request-facts{gap:8px 32px;margin-top:14px}
.request-facts dd{font-size:var(--fs-body)}
.request-facts .dd-sub{display:inline;margin-left:6px}
.request-facts dd.is-routine{font-weight:400;color:var(--text-secondary)}
#summary .meta-grid>.wide-fact{flex-basis:100%;grid-column:1/-1}
@media(max-width:820px){.head-nav{margin-bottom:12px}.head-nav+.record-head>.record-identity{align-self:stretch}.request-facts{gap:12px 20px}.request-facts .dd-sub{display:block;margin-left:0}}
/* ---- Post-acceptance information-hierarchy pass: My Tasks and Review & Approve. Presentation only. */
/* The stage line is left out when it would only restate the viewer's own decision; the value headline then keeps the
   same 12px rhythm to whatever follows it (the reporting limitation, a movement note or the validation fact). */
.decision-facts .decision-value+:not(.stage-line){margin-top:12px}
/* ---- Post-acceptance information-hierarchy pass: GHG and workforce View calculation, Measurement Lineage (P3). Presentation only. */
/* The secondary metric cards (Source activity values, Calculated by, Source) read as facts, not as KPIs (R3-10): the Result
   keeps the display size; the others take the section size in the UI face, spaced so that their first small line sits level
   with the Result's. */
.calc-metrics .metric+.metric strong{font-family:var(--font-ui);font-size:var(--fs-section);font-weight:650;letter-spacing:0;line-height:1.3;margin:15px 0 4px}
/* The time of the calculation on its own line under who triggered it (A-01), never broken, in the small line's own type
   (not the metric label's, which every span in a metric card takes). */
.calc-metrics .metric small .calc-when{display:block;white-space:nowrap;font-size:inherit;color:inherit}
/* Workforce View calculation: in a narrow panel each fact reads label over value, so the formula and the snapshot keep the
   panel's full width instead of a column a few words wide. */
.workforce-calc{container:workforce-calc/inline-size}
@container workforce-calc (max-width:560px){
  .workforce-calc .definition-list{grid-template-columns:minmax(0,1fr);gap:2px 0}
  .workforce-calc .definition-list dd+dt{margin-top:8px}
}
/* Lineage Event history in a narrow box (a phone): the "Triggered by" line under "System" wraps inside a By column kept
   wide enough for two or three lines, so who triggered a calculation is read without scrolling the table sideways. A
   wider box keeps the line whole. */
.table-wrap:has(>.event-history){container:event-history/inline-size}
@container event-history (max-width:560px){
  .event-history td.event-by{min-width:120px}
  .event-history td.event-by .cell-line{white-space:normal}
}
/* ---- Post-acceptance information-hierarchy pass: Reporting Readiness and report preview. Presentation only. */
/* A Ready year-level check has nothing outstanding: its detail is quieter; the area and the badge are unchanged (R4-03). */
.rr-checks .rr-ready td:nth-child(3){color:var(--text-secondary)}
/* Report preview cells: a tighter side padding, so a laptop shows a wide table's flags without scrolling sideways (R4-08).
   It follows the compact-table padding rule at equal specificity; report tables only. */
.report-table th,.report-table td{padding:8px 8px}
/* ---- Post-acceptance information-hierarchy pass: Disclosure Workspace. Presentation only. */
/* The one framework every requirement shares, named once in the page head (R5-30). */
.page-head .dw-framework{font-size:var(--fs-label);color:var(--text-secondary)}
.page-head .dw-framework strong{font-weight:600;color:var(--ink)}
/* Readiness: the badge and the open-point count on one line (R5-11). The badge floats beside the count, so an opened
   count stays where it was clicked and only its list drops under the badge at the full cell width; 4px centres the
   24px badge on the 32px summary. A badge alone stays inline. On a phone card the line takes the rest of the row. */
.dw-table>tbody>tr>td:nth-child(2){width:220px}
.dw-readiness{display:flow-root;flex:1 1 auto;min-width:0}
.dw-readiness>.status:not(:only-child){float:left;margin:7px 10px 0 0}
.dw-readiness>.open-points{margin:0}
.dw-readiness>.open-points>ul{clear:left}
/* The value keeps its own column beside a long indicator name (R5-12). */
.dw-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:2px 16px}
/* A code that wraps under its indicator name starts at the name's left edge; the space before it stays as wide. */
.dw-item-head .ind-inline .ind-name{margin-right:4px}
.dw-item-head .ind-inline .ind-code{margin-left:0}
@container listcards (max-width:640px){
  .dw-table>tbody>tr>td:nth-child(2){width:auto}
  .dw-item-head{grid-template-columns:minmax(0,1fr)}
}

/* ---- P1 Wave 1 (Reviewer and Approver): Review & Approve. Presentation only. ----
   A compact card: the facts on one line under the indicator; the value and its checks beside the evidence (side by side
   from 1280px); the comment box beside its decision button. Each group label carries its count, Approve selected stays
   in reach while the viewer's values scroll, and a value returned before carries the return reason and the comment
   since, as a quiet note. On a phone or a narrow tablet the filters fold into "Filters" while none is applied. */
.decision-card-head .card-facts{gap:4px 20px;margin-top:6px}
.decision-card-head .card-facts>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px}
.decision-card-head .card-facts .dd-sub{display:inline}
.card-flags{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.resubmit-mark{display:inline-flex;align-items:center;padding:2px 9px;border:1px solid var(--info-border);border-radius:999px;background:var(--info-bg);color:var(--info);font-size:12px;font-weight:600;line-height:16px;white-space:nowrap}
.decision-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;align-content:start}
/* free text in the two columns (an explanation, a file name, a pasted link) wraps rather than running into the next */
.decision-summary,.decision-proof{min-width:0;overflow-wrap:anywhere}
.decision-value .unit{font-size:var(--fs-value);font-weight:600;letter-spacing:0;color:var(--text-secondary)}
.card-checks dd.checks-passed{color:var(--ok)}
.card-checks dd.checks-failed{color:var(--bad);font-weight:600}
.resubmission{margin:12px 0 10px;padding:8px 12px;border-left:3px solid var(--info-border);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--info-bg)}
.resubmission p{margin:0;overflow-wrap:anywhere}
.resubmission p+p{margin-top:4px}
.resubmission-when{font-weight:600;color:var(--info)}
.resubmission-label{color:var(--text-secondary)}
.decision-facts .evidence-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:14px 0 6px}
.decision-facts .evidence-head:first-child{margin-top:0}
.decision-facts .evidence-head h4{margin:0}
/* the reference is free text: on the card it may wrap (a short one still moves whole to the next line) */
.decision-proof .evidence-meta .code-token{white-space:normal}
.decision-proof .decision-links{margin-top:8px}
/* information design (20 October 2026): the card's links stand apart by their spacing alone, with no separator mark */
.decision-proof .decision-links a+a::before{content:none}
.decision-actions .decision-form:not(.return-form){display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 8px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.decision-actions .decision-form:not(.return-form)>label{flex:1 1 180px;min-width:0}
.decision-actions>*{flex:1 1 100%;min-width:0}
.decision-actions>.return-disclosure:not([open]){flex:0 0 auto}
.decision-actions>.return-disclosure:not([open])+.select-approve{flex:0 1 auto;min-height:32px}
.decision-actions>h4{margin-bottom:0}
.decision-actions>p{margin:0}
.decision-actions .decision-form:not(.return-form) textarea{min-width:0;field-sizing:content;max-height:240px}
.return-form .return-hint{margin:0}
.group-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:16px 0 8px}
.group-head .group-label{margin:0}
/* the group's count is read as plain text beside its label, not as a second badge under the heading's count */
.group-count{font-size:var(--fs-label);font-weight:700;color:var(--text-secondary);font-variant-numeric:tabular-nums}
.decision-group[aria-labelledby="group-yours"] .group-count{color:var(--accent-strong)}
/* Return for correction is a labelled secondary action beside Approve, not a chevron link; it still opens its form */
.decision-actions .return-disclosure>summary{min-height:30px;padding:0 8px;border:1px solid var(--bad-border-soft);border-radius:var(--radius-control);background:var(--paper)}
.decision-actions .return-disclosure>summary::before{content:none}
.decision-actions .return-disclosure:not([open])>summary:hover{text-decoration:none;border-color:var(--bad-border);background:var(--bad-bg)}
/* once open, the form's own button is the action and the summary reads as the form's title */
.decision-actions .return-disclosure[open]>summary{padding:0;border-color:transparent;background:none}
.queue-split{margin:0 0 12px;color:var(--text-secondary)}
/* V3 full application correction (28 October 2026): the bar no longer sticks over the values it selects; it stays above the
   first value, and the Approve selected form ends the list with the same button and count, so nothing is ever covered */
.bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 12px;padding:10px 14px;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper)}
.bulk-bar .is-hidden{display:none!important}
.bulk-bar>.btn{margin-left:auto}
.bulk-count{font-size:var(--fs-label);color:var(--text-secondary);font-variant-numeric:tabular-nums}
.bulk-note{margin:-4px 0 12px;font-size:var(--fs-help);color:var(--text-secondary)}
.filter-fold{margin:0}
.filter-fold>summary{display:none}
/* ---- P1 Wave 1 structural correction (owner direction of 20 October 2026). Presentation only. ----
   The filter toolbar: one aligned grid of controls (search, period, status, the actions), with the rest behind More
   filters; every control keeps one height. The queue: one compact row per value (name, value, period, location,
   evidence, exceptions), its bulk checkbox beside it, and the full detail with the decision opening under the row. */
.review-filters{display:block;margin:0 0 16px}
.review-filters .filter-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
.review-filters .filter-row>label{flex:1 1 160px;min-width:0}
.review-filters .filter-search{flex:2 1 240px}
.review-filters select,.review-filters input[type=search]{width:100%}
.review-filters .form-actions{display:flex;align-items:flex-end;gap:8px;margin:0;flex:0 0 auto}
.review-filters .more-filters{margin:10px 0 0}
.review-filters .more-filters>summary{font-size:13px}
.review-filters .more-filters>.filter-row{margin-top:10px}
.queue-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr);margin-bottom:8px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);box-shadow:var(--shadow-1)}
.queue-item.with-select{grid-template-columns:32px minmax(0,1fr)}
.queue-item:has(.queue-row[open]){border-color:var(--line-strong);box-shadow:var(--shadow-2)}
.queue-select{display:flex;align-items:flex-start;justify-content:center;padding:0;border-right:1px solid var(--line)}
.queue-select .select-approve{margin:0;padding:12px 0;min-height:44px;align-items:center}
.queue-row{margin:0;min-width:0}
.queue-line{display:grid;grid-template-columns:minmax(0,1.8fr) 130px minmax(0,1.6fr) max-content 52px;gap:2px 16px;align-items:baseline;min-height:44px;padding:9px 14px;border-radius:var(--radius-md);color:inherit;font-weight:400;font-size:var(--fs-body)}
.queue-line::before{content:none}
.queue-line:hover{background:var(--surface-hover);text-decoration:none}
/* the open row reads as the panel's header: a quiet tint, so the rule under it never stops at the checkbox column */
.queue-row[open]>.queue-line{background:var(--surface-subtle);border-radius:var(--radius-md) var(--radius-md) 0 0}
.queue-line .q-name{margin:0;font-size:15px;font-weight:650;line-height:1.35;min-width:0}
.queue-line .q-value{justify-self:end;min-width:0;font-variant-numeric:tabular-nums;font-weight:650}
.queue-line .q-value .q-num{white-space:nowrap}
.queue-line .q-value .unit{font-weight:500;color:var(--text-secondary);white-space:nowrap}
.queue-line .q-kind{font-weight:600}
.queue-line .q-meta{display:flex;flex-wrap:wrap;gap:2px 14px;align-items:baseline;min-width:0;color:var(--text-secondary);font-size:13px}
.queue-line .q-loc{min-width:0;overflow-wrap:anywhere}
.queue-line .q-attn{display:flex;flex-wrap:wrap;justify-self:end;gap:2px 12px;font-size:13px;font-weight:600;color:var(--text-secondary)}
.queue-line .q-fail{color:var(--bad)}
.queue-line .resubmit-mark{border:0;padding:0;background:none;border-radius:0;font-size:13px;line-height:inherit;white-space:normal}
.queue-open{justify-self:end;font-size:13px;font-weight:600;color:var(--accent)}
.queue-open::after{content:"Review"}
.queue-row[open] .queue-open::after{content:"Close"}
/* the open detail reads as one focused panel under its row: the card look is the item's, not its own */
.queue-row .decision-card{border:0;border-radius:0 0 var(--radius-md) var(--radius-md);box-shadow:none;margin:0;padding:14px 16px 16px}
.queue-row[open]>.queue-line .q-meta,.queue-row[open]>.queue-line .q-attn{visibility:hidden}
@media(max-width:1279px){.decision-facts{grid-template-columns:minmax(0,1fr)}}
@media(max-width:820px){.queue-line{grid-template-columns:minmax(0,1fr) minmax(0,auto);grid-template-areas:"name value" "meta meta" "attn open";padding:10px 12px}.queue-line .q-value{white-space:normal;text-align:right}.queue-line .q-attn{justify-self:start}.queue-line .q-name{grid-area:name}.queue-line .q-value{grid-area:value}.queue-line .q-meta{grid-area:meta}.queue-line .q-attn{grid-area:attn}.queue-line .queue-open{grid-area:open}.review-filters .filter-primary{grid-template-columns:minmax(0,1fr)}.review-filters .filter-row{grid-template-columns:minmax(0,1fr)}.card-flags{align-items:flex-start}.filter-fold>summary{display:flex;min-height:44px;margin:0 0 12px;padding:0 12px;border:1px solid var(--line-strong);border-radius:var(--radius-control);background:var(--paper)}.filter-fold[open]>summary{margin-bottom:10px}.bulk-bar>.btn{margin-left:0}}
/* ---- P1 Wave 2 (owner direction of 20 October 2026). Presentation only. ----
   My Tasks as a compact queue: one line per data request (the indicator by name, its project or location, its period
   and due date) with its status and action beside it; the labelled facts and the indicator code open under the line
   on demand. The toolbar takes the Review & Approve layout: the search and its actions in one row, and the all view's
   other filters behind More filters. */
.task-filters{display:block;margin:0 0 16px}
.task-filters .filter-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
.task-filters .filter-row>label{flex:1 1 160px;min-width:0}
.task-filters .filter-row>.filter-search{flex:0 1 520px}
.task-filters select,.task-filters input[type=search]{width:100%}
.task-filters .form-actions{display:flex;align-items:flex-end;gap:8px;margin:0;flex:0 0 auto}
.task-filters .more-filters{margin:10px 0 0}
.task-filters .more-filters>summary{font-size:13px}
.task-filters .more-filters>.filter-row{margin-top:10px}
/* the row: the line and the side share one 40px band at the top, so a reason line or an open detail grows downwards;
   My Tasks' all view only (task-cards task-queue; the personal view's inbox rows are task-picks), so the Overview's
   Waiting on others panel keeps its own rows */
.task-queue>li.task-row{align-items:start;padding:6px 12px}
.task-queue .task-row-side{min-height:40px}
.task-detail{margin:0;min-width:0}
/* the period and due date columns are sized in em, so they grow with the text; a longer period code wraps in its column */
.task-line{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr) 5.5em 9em 4em;gap:2px 16px;align-items:center;min-height:40px;color:var(--ink);font-weight:400;font-size:var(--fs-body)}
.task-line::before{content:none}
.task-line:hover{text-decoration:none}
.task-line .t-meta{display:contents}
.task-line .t-name{font-size:15px;line-height:1.35;min-width:0}
.task-line .t-code,.task-line .t-pme{font-size:13px;font-weight:500;color:var(--text-secondary)}
.task-line .t-loc{min-width:0;overflow-wrap:anywhere;color:var(--text-secondary)}
.task-line .t-period,.task-line .t-due{color:var(--text-secondary);font-variant-numeric:tabular-nums}
.task-line .t-due{white-space:nowrap}
.task-line .t-period{min-width:0;overflow-wrap:anywhere}
.task-line .t-period .period-token{white-space:normal}
.task-open{justify-self:end;font-size:13px;font-weight:600;color:var(--text-secondary)}
.task-open::after{content:"Details"}
.task-detail[open] .task-open::after{content:"Hide"}
.task-line:hover .task-open,.task-detail[open] .task-open{color:var(--accent)}
.task-line:hover .task-open{text-decoration:underline;text-underline-offset:3px}
.task-more{margin:4px 0 6px;padding-top:10px;border-top:1px solid var(--line)}
.task-more>dl{margin-top:0}
.task-ref{margin:8px 0 0;font-size:13px;color:var(--text-secondary)}
/* a data request opened at one of its steps (a tracking sheet's Evidence missing opens the evidence step): the step it
   lands on is marked as the step to do now is, when no other step leads (a returned value has no leading step) */
.work-surface:not(.has-current)>.work-step:target{box-shadow:inset 3px 0 0 var(--accent)}
@container task-facts (max-width:611px){.task-line{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name open" "meta meta";align-items:baseline;padding:6px 0}.task-line .t-name{grid-area:name}.task-line .task-open{grid-area:open}.task-line .t-meta{grid-area:meta;display:flex;flex-wrap:wrap;gap:0 14px}}

/* ---- P1 Wave 2, Concept A V3 (owner acceptance of 21 October 2026; visual fidelity correction of the same day) ----
   My Tasks, the Contributor workspace, drawn as the accepted prototype draws it (design-proto\concepts\a3: shared\base.css
   and a3\a3.css), on the page that asks for it (the route's shell="v3", body.shell-v3); every other page is unchanged.
   The prototype's tokens are defined on .shell-v3 under their own names, ready for SDMS-wide adoption once each view has
   been reviewed; the application's own tokens keep their values, so the design system's checks still hold. The type is
   DM Sans, served by the application itself (font-src 'self'; the OFL licence is beside the files). Presentation only.
   Desk at 1440 x 900: content 1440 - 230 - 2 x 24 = 1162 = inbox 380 + gutter 20 + task 762. A phone, or a narrow tablet
   held upright: one region at a time, the inbox or the task opened from it. A short landscape screen (844 x 390): a
   compact inbox beside the task, the entry first, the history folded, Save draft and Submit held at the foot. */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/dm-sans-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/dm-sans-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/dm-sans-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/dm-sans-latin-700-normal.woff2") format("woff2")}
.shell-v3{
  --chrome:#ffffff;--ground:#f3f6f4;--surface:#ffffff;--raised:#f5f7f6;--border:#e2e7e4;--rule:#ecf0ee;--control:#cbd3cf;
  --text:#121715;--faint:#646d68;--accent-50:#f1f7f3;--accent-100:#e1efe7;--accent-200:#c7e1d2;--accent-ink:#0c3e2a;
  --negative:#b42318;--negative-ink:#8a1c12;--warning-bg:#fef6e7;--warning-ink:#7a3a06;--warning-edge:#f3d9a7;--segment:#eef1ef;
  --dot-returned:#c98a12;--dot-overdue:#c4321f;--dot-due:#c98a12;--dot-draft:#5d7f9c;--dot-later:#a5ada9;--dot-held:#7a837e;
  --shadow-rest:0 1px 2px rgba(18,28,23,.06),0 1px 3px rgba(18,28,23,.04);--shadow-float:0 14px 36px rgba(18,28,23,.16),0 2px 6px rgba(18,28,23,.06);
  --radius-card:8px;--radius-field:6px;--sidebar:230px;--topbar:64px;--gutter:29px;--t-fast:120ms;--t:180ms;
  --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 2.5 8 6l-3.5 3.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2358615c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --font-ui:"DM Sans",system-ui,sans-serif;--font-display:var(--font-ui);
  background:var(--ground);color:var(--text);font-size:14px;line-height:20px;-webkit-font-smoothing:antialiased}
.shell-v3 :focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* the shell: a light sidebar (230px) and top bar (64px) on one white ground, divided by 1px rules */
.shell-v3 .app-shell{grid-template-columns:var(--sidebar) minmax(0,1fr)}
.shell-v3 .workspace-nav{padding:0;background:var(--chrome);color:var(--text);border-right:1px solid var(--border);scrollbar-color:var(--dot-held) transparent}
.shell-v3 .workspace-nav :focus-visible{outline-color:var(--accent)}
.shell-v3 .brand{flex:none;gap:10px;height:var(--topbar);padding:0 20px;border-bottom:1px solid var(--border)}
.shell-v3 .brand-glyph{flex:none;color:var(--accent)}
.shell-v3 .brand-copy strong{font-size:15px;line-height:20px;font-weight:700;letter-spacing:-.01em}
.shell-v3 .brand-copy span{margin:0;font-size:12px;line-height:16px;color:var(--muted)}
.shell-v3 .nav-groups{gap:2px;padding:14px 12px 24px}
.shell-v3 .nav-group{gap:2px}
.shell-v3 .nav-item{gap:12px;height:40px;padding:0 10px;border-radius:8px;background:none;box-shadow:none;color:var(--muted);font-size:14px;font-weight:500}
.shell-v3 .nav-item:hover{background:var(--raised);color:var(--text)}
.shell-v3 .nav-item.active,.shell-v3 .nav-item.active:hover{background:var(--accent-100);box-shadow:none;color:var(--accent-ink);font-weight:500}
.shell-v3 .nav-icon,.shell-v3 .nav-item:hover .nav-icon{width:18px;height:18px;border-radius:0;background:none;box-shadow:none;color:#8a938e}
.shell-v3 .nav-icon svg{display:block;width:18px;height:18px}
.shell-v3 .nav-item.active .nav-icon{background:none;color:var(--accent)}
.shell-v3 .nav-fold{display:block;margin:10px 0 0}
.shell-v3 .nav-fold>summary{display:flex;justify-content:space-between;min-height:0;height:32px;padding:0 10px;border-radius:8px;color:var(--faint);font-size:13px;font-weight:400}
.shell-v3 .nav-fold>summary::before{content:none}
.shell-v3 .nav-fold>summary::after{content:"";width:12px;height:12px;background:currentColor;transform:rotate(90deg);transition:transform var(--t) var(--ease);-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
.shell-v3 .nav-fold[open]>summary::after{transform:rotate(-90deg)}
.shell-v3 .nav-fold>summary:hover{background:var(--raised);color:var(--text);text-decoration:none}
.shell-v3 .nav-fold .nav-item{height:34px;padding-left:40px;font-weight:400}
.shell-v3 .sidebar-foot{padding:0;border-top:1px solid var(--border)}
.shell-v3 .nav-foot{margin:0;padding:14px 20px 10px;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .nav-foot strong{display:block;color:var(--text);font-weight:600}
.shell-v3 .sidebar-foot form{padding:0 20px 16px}
.shell-v3 .sidebar-foot .sidebar-signout{display:inline;height:auto;padding:0;border:0;border-color:transparent!important;background:transparent!important;color:var(--accent-ink)!important;font-size:13px;line-height:18px}
.shell-v3 .sidebar-foot .sidebar-signout:hover{background:transparent!important;text-decoration:underline;text-underline-offset:3px}
.shell-v3 .topbar{gap:16px;height:var(--topbar);padding:0 0 0 var(--gutter);border-bottom:1px solid var(--border);background:var(--chrome);-webkit-backdrop-filter:none;backdrop-filter:none}
.shell-v3 .topbar-left{flex:1;gap:16px;min-width:0}
.shell-v3 .topbar-heading{min-width:0}
.shell-v3 .topbar-page{margin:0;min-width:0;font-size:20px;line-height:26px;font-weight:700;letter-spacing:-.01em;white-space:nowrap}
.shell-v3 .env-compact{display:none;color:var(--muted);font-size:12px;line-height:16px;white-space:nowrap}
.shell-v3 .topbar-meta{align-self:stretch;gap:0}
.shell-v3 .topbar-meta>*{display:flex;align-items:center;padding:0 20px;border:0;border-radius:0;background:none}
.shell-v3 .topbar-meta>*+*{border-left:1px solid var(--border)}
.shell-v3 .env{gap:8px;color:var(--muted);font-size:13px}
.shell-v3 .topbar-notices,.shell-v3 .topbar-notices.has-unread{gap:8px;border-color:var(--border);color:var(--text);font-size:14px;font-weight:400;text-decoration:none}
.shell-v3 .topbar-notices:hover{background:var(--raised)}
.shell-v3 .bell-glyph{width:18px;height:18px;color:var(--muted)}
.shell-v3 .topbar-notices .count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--negative);color:#fff;font-size:11px;line-height:20px;font-weight:700}
.shell-v3 .topbar-user{gap:10px;color:var(--text);font-size:14px;font-weight:400;text-decoration:none}
.shell-v3 .topbar-user:hover .account-name{text-decoration:underline;text-underline-offset:3px}
.shell-v3 .avatar{display:grid;flex:none;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--accent-100);color:var(--accent-ink);font-size:13px;font-weight:700}
.shell-v3 .account-name{display:block;font-weight:600;line-height:18px}
.shell-v3 .account-role{display:block;color:var(--muted);font-size:12px;line-height:16px}
.shell-v3 .menu-button{gap:0;height:32px;padding:0 12px;border-color:var(--control);border-radius:var(--radius-field);background:var(--surface);color:var(--text);font-size:13px;font-weight:600;line-height:20px}
.shell-v3 .menu-icon{display:none}
.shell-v3 .nav-close{border-color:var(--control);color:var(--text)}
.shell-v3 .nav-close:hover{background:var(--raised)}
.shell-v3 .content{max-width:none;margin:0;padding:20px 24px}
.shell-v3 .task-page-head{margin:0 0 12px}
.shell-v3 .link{color:var(--accent-ink);font-weight:600}
.shell-v3 button.link{padding:0;border:0;background:none;font:inherit;font-weight:600;cursor:pointer}
.shell-v3 .link.danger{color:var(--negative-ink)}
.shell-v3 .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 16px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface);box-shadow:none;color:var(--text);font-weight:600;line-height:20px;text-decoration:none}
.shell-v3 .btn:hover{background:var(--raised);border-color:#b9c3be}
.shell-v3 .btn.primary{border-color:transparent;background:var(--accent);color:#fff}
.shell-v3 .btn.primary:hover{background:var(--accent-hover)}
.shell-v3 .btn.sm{height:32px;padding:0 12px;font-size:13px}
.shell-v3 .btn.quiet{border-color:transparent;background:transparent;color:var(--muted)}
.shell-v3 .btn.quiet:hover{background:var(--raised);color:var(--text)}
.shell-v3 .btn.small{height:auto;padding:5px 8px;font-size:12px;line-height:18px}

/* the inbox: the project or location, the switch between the two lists, the search and the reporting period, the rows */
.shell-v3 .task-inbox{position:relative;display:grid;grid-template-columns:380px minmax(0,1fr);gap:20px;align-items:start}
.shell-v3 .task-pane{position:sticky;top:calc(var(--topbar) + 20px);display:flex;flex-direction:column;min-width:0;min-height:0;max-height:calc(100vh - var(--topbar) - 40px);overflow:hidden;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
.shell-v3 .pane-head{display:grid;gap:12px;margin:0;padding:16px 16px 12px;border:0}
.shell-v3 .loc-field{display:grid;gap:6px}
.shell-v3 .loc-label{color:var(--muted);font-size:13px;font-weight:600}
/* a compact selector (ui.picker): the current choice on a button, the choices a list of links under it */
.shell-v3 .picker{position:relative;min-width:0;margin:0}
.shell-v3 .picker>summary{display:flex;gap:0;min-height:0;height:36px;padding:0 28px 0 10px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface) var(--chev-down) right 10px center/12px no-repeat;color:var(--text);font-size:13px;font-weight:400;white-space:nowrap}
.shell-v3 .picker>summary::before{content:none}
.shell-v3 .picker>summary:hover{border-color:#b9c3be;text-decoration:none}
.shell-v3 .picker[open]>summary{border-color:var(--accent)}
.shell-v3 .picker-value{min-width:0;overflow:hidden;text-overflow:ellipsis}
.shell-v3 .picker-list{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:100%;max-width:min(420px,calc(100vw - 32px));max-height:min(360px,60vh);overflow-y:auto;margin:0;padding:6px;list-style:none;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-float)}
.shell-v3 .picker-list a{display:flex;align-items:center;min-height:36px;padding:8px 10px;border-radius:var(--radius-field);color:var(--text);font-size:14px;font-weight:400;line-height:20px;text-decoration:none}
.shell-v3 .picker-list a:hover,.shell-v3 .picker-list a:focus-visible{background:var(--accent-50)}
.shell-v3 .picker-list a:focus-visible{outline-offset:-2px}
.shell-v3 .picker-list a[aria-current="true"]{background:var(--accent-50);color:var(--accent-ink);font-weight:600}
.shell-v3 .picker-place>summary{width:100%;height:44px;padding:0 36px 0 14px;background-position:right 14px center;font-size:15px;font-weight:600}
.shell-v3 .picker-period{flex:none}
.shell-v3 .picker-period>summary{width:132px}
.shell-v3 .picker-period .picker-list{left:auto;right:0}
.shell-v3 .picker-status>summary{min-width:180px}
.shell-v3 .task-switch{display:flex;gap:2px;padding:3px;border:0;border-radius:8px;background:var(--segment)}
.shell-v3 .task-switch a{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:30px;padding:0 12px;border:1px solid transparent;border-radius:6px;color:var(--muted);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.shell-v3 .task-switch a:hover{color:var(--text)}
.shell-v3 .task-switch a[aria-current="page"]{border-color:var(--border);background:var(--surface);box-shadow:none;color:var(--text)}
.shell-v3 .task-switch .tab-n{color:var(--muted);font-weight:500;font-variant-numeric:tabular-nums}
.shell-v3 .task-toolbar{display:flex;gap:8px;align-items:center}
.shell-v3 .task-search{position:relative;flex:1;min-width:0;margin:0}
.shell-v3 .task-search label{display:block;margin:0}
.shell-v3 .task-search svg{position:absolute;top:50%;left:12px;width:16px;height:16px;margin-top:-8px;color:var(--faint);pointer-events:none}
.shell-v3 .task-search input{width:100%;height:36px;padding:0 12px 0 38px;border:1px solid var(--border);border-radius:var(--radius-field);background:var(--surface);box-shadow:none;font-size:14px;line-height:20px}
.shell-v3 .task-search input::placeholder{color:var(--faint)}
.shell-v3 .task-search input:focus,.shell-v3 .cur .input:focus{border-color:var(--accent);outline:3px solid var(--accent-200);outline-offset:0;box-shadow:none}
.shell-v3 .more-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:4px 16px;margin-top:-4px}
.shell-v3 .more-v3{margin:0}
.shell-v3 .more-v3>summary{gap:4px;min-height:24px;color:var(--muted);font-size:13px;font-weight:600}
.shell-v3 .more-v3>summary::before{content:none}
.shell-v3 .more-v3>summary::after,.shell-v3 .options>summary::after,.shell-v3 .corr-toggle::after{content:"";width:12px;height:12px;background:currentColor;transform:rotate(90deg);transition:transform var(--t) var(--ease);-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
.shell-v3 .more-v3[open]>summary::after,.shell-v3 .options[open]>summary::after,.shell-v3 .corr[open] .corr-toggle::after{transform:rotate(-90deg)}
.shell-v3 .more-body{margin-top:8px}
.shell-v3 .task-clear{font-size:13px;line-height:24px}
.shell-v3 .task-lists{position:relative;flex:0 1 auto;min-height:0;overflow-y:auto;padding:0 8px 12px;scrollbar-width:thin}
.shell-v3 .task-place{margin:0;padding:14px 12px 4px;color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .task-picks{display:block;margin:0;padding:0}
.shell-v3 .task-picks>.task-row,.shell-v3 .task-picks>.task-row.is-waiting{display:block;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.shell-v3 .task-pick{display:grid;gap:1px;margin:0 0 1px;padding:8px 12px;border-radius:8px;color:inherit;text-decoration:none;transition:background-color var(--t-fast) ease}
.shell-v3 .task-pick:hover{background:var(--raised)}
.shell-v3 .task-pick[aria-current="true"]{background:var(--accent-100)}
.shell-v3 .task-pick:focus-visible{outline-offset:-2px}
.shell-v3 .task-pick .t-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.shell-v3 .task-pick .t-name{display:block;min-width:0;font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .task-pick[aria-current="true"] .t-name{color:var(--accent-ink)}
.shell-v3 .task-pick .t-code{color:var(--muted);font-weight:500}
.shell-v3 .task-pick .t-cond{flex:none;color:var(--muted);font-size:13px;font-weight:400;white-space:nowrap}
.shell-v3 .task-pick .t-cond.is-late{color:var(--negative-ink);font-weight:600}
.shell-v3 .task-pick .t-cond.is-returned{color:var(--warning-ink);font-weight:600}
.shell-v3 .task-pick .t-meta{display:block;min-width:0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .task-section .evidence-empty{margin:20px 10px;padding:0;color:var(--muted)}

/* the selected task: its header, the reporting history, the current submission */
.shell-v3 .task-workspace{display:flex;flex-direction:column;gap:18px;min-width:0;margin:0;padding:20px 32px;border:0;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
.shell-v3 .ws-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:start}
.shell-v3 .ws-back{display:none;justify-self:start;margin:0 0 6px -12px}
.shell-v3 .ws-id{min-width:0}
.shell-v3 .ws-title{margin:0;font-size:var(--fs-record);line-height:30px;font-weight:700;letter-spacing:-.02em}
.shell-v3 .ws-code{margin:2px 0 0;color:var(--faint);font-size:12px;line-height:16px}
.shell-v3 .ws-where{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:30px;margin-top:6px;color:var(--muted)}
.shell-v3 .ws-period>summary{height:30px;padding:0 30px 0 10px;font-size:14px;font-weight:600}
.shell-v3 .ws-state{display:grid;justify-items:end;padding-top:4px;text-align:right}
.shell-v3 .ws-st{margin:0;font-size:15px;line-height:21px;font-weight:600}
.shell-v3 .ws-st.late{color:var(--negative-ink)}
.shell-v3 .ws-st.ret{color:var(--warning-ink)}
.shell-v3 .ws-st-sub{margin:0;color:var(--muted);font-size:13px}
/* Details, on demand: a panel over the task (the prototype's drawer); Details again, Close or Escape closes it */
.shell-v3 .ws-details.link{justify-self:end;margin:10px 0 0;font-size:13px}
.shell-v3 .ws-drawer{margin:0;padding:20px 24px 28px;border:0;border-radius:var(--radius-card);background:var(--surface);color:var(--text);font-size:14px;text-align:left}
.shell-v3 .ws-drawer:popover-open{position:fixed;inset:calc(var(--topbar) + 20px) 24px 20px auto;width:min(400px,calc(100vw - 48px));height:auto;overflow-y:auto;border-left:1px solid var(--border);box-shadow:var(--shadow-float);animation:ws-drawer-in var(--t) var(--ease)}
@keyframes ws-drawer-in{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
.shell-v3 .drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.shell-v3 .drawer-head h3{margin:0;font-size:15px;line-height:22px;font-weight:600}
.shell-v3 .ws-drawer section+section{margin-top:22px;padding-top:18px;border-top:1px solid var(--rule)}
.shell-v3 .ws-drawer .label{display:block;margin-bottom:8px;color:var(--muted);font-size:13px;font-weight:600}
.shell-v3 .task-workspace .muted{font-size:inherit}
.shell-v3 .ws-drawer p{margin:0}
.shell-v3 .ws-drawer p+p{margin-top:6px}
.shell-v3 .facts{display:grid;gap:10px;margin:0}
.shell-v3 .facts>div{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px}
.shell-v3 .facts dt{color:var(--muted);font-weight:400}
.shell-v3 .facts dd{margin:0;overflow-wrap:anywhere}
.shell-v3 .activity{margin:0;padding:0;list-style:none}
.shell-v3 .activity li{display:grid;gap:2px;padding:12px 0}
.shell-v3 .activity li+li{border-top:1px solid var(--rule)}
.shell-v3 .activity .who{font-weight:600}
.shell-v3 .activity-text{white-space:pre-line;overflow-wrap:anywhere}
.shell-v3 .activity .when{color:var(--muted);font-size:13px}
.shell-v3 .ws-drawer .ws-full{margin-top:14px;font-size:13px}
/* the reporting history: quiet rules, right-aligned tabular figures, the state in words */
.shell-v3 .hist{display:grid;gap:6px}
.shell-v3 .hist-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;min-height:30px}
.shell-v3 .hist-title{margin:0;font-size:15px;line-height:22px;font-weight:600}
.shell-v3 .hist-toggle{display:none}
.shell-v3 .hist-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 16px;margin-left:auto;font-size:13px}
.shell-v3 .htable{width:calc(100% + 20px);min-width:0;margin:0 -10px;border-collapse:collapse;background:none;font-variant-numeric:tabular-nums}
.shell-v3 .htable th,.shell-v3 .htable td{position:static;height:36px;padding:0 10px;border-bottom:1px solid var(--rule);background:none;font-size:14px;line-height:20px;font-weight:400;text-align:left;vertical-align:middle;white-space:nowrap}
.shell-v3 .htable thead th{height:30px;border-bottom-color:var(--border);color:var(--muted);font-size:12px}
.shell-v3 .htable .num{text-align:right}
.shell-v3 .htable tbody th{width:30%;font-weight:500}
.shell-v3 .htable td.v{width:18%;font-weight:600}
.shell-v3 .htable tr.pend td.v{color:var(--muted);font-weight:500}
.shell-v3 .htable td.u,.shell-v3 .htable thead th:nth-child(3){width:12%;padding-left:16px;color:var(--muted)}
.shell-v3 .htable .nil{color:var(--faint);font-weight:400}
.shell-v3 .htable .u-in{display:none}
.shell-v3 .htable tr.is-task>*{background:var(--warning-bg)}
.shell-v3 .cur-tag{margin-left:8px;color:var(--muted);font-size:12px;font-weight:400}
.shell-v3 .dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:var(--dot-later);vertical-align:1px}
.shell-v3 .dot.returned{background:var(--dot-returned)}.shell-v3 .dot.overdue{background:var(--dot-overdue)}.shell-v3 .dot.due{background:var(--dot-due)}
.shell-v3 .dot.draft{background:var(--dot-draft)}.shell-v3 .dot.held{background:var(--dot-held)}.shell-v3 .dot.done{background:var(--accent)}
.shell-v3 .s-word{margin-left:8px}
.shell-v3 .s-word.late{color:var(--negative-ink);font-weight:600}
.shell-v3 .s-word.ret{color:var(--warning-ink);font-weight:600}
.shell-v3 .s-note{margin-left:8px;color:var(--muted);font-size:12px}
.shell-v3 .hist-empty{margin:0;padding:9px 12px;border:1px dashed var(--control);border-radius:var(--radius-card);color:var(--muted)}
/* the current submission: the one tinted block, everything for this period together */
.shell-v3 .cur{display:grid;gap:16px;padding:20px 24px;border-radius:var(--radius-card);background:var(--accent-50)}
.shell-v3 .cur.held{background:var(--raised)}
.shell-v3 .cur-title{margin:0;font-size:15px;line-height:22px;font-weight:600}
.shell-v3 .held-note{margin:0;color:var(--muted)}
.shell-v3 .corr{margin:0;border:1px solid var(--warning-edge);border-radius:var(--radius-card);background:var(--warning-bg)}
.shell-v3 .corr>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;min-height:0;padding:10px 14px;color:var(--text);font-size:14px;font-weight:400}
.shell-v3 .corr>summary::before{content:none}
.shell-v3 .corr>summary:hover{text-decoration:none}
.shell-v3 .corr-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0}
.shell-v3 .corr-head strong{color:var(--warning-ink);font-weight:700}
.shell-v3 .corr-by{color:var(--warning-ink);font-size:13px;white-space:nowrap}
.shell-v3 .corr-toggle{display:inline-flex;align-items:center;gap:4px;color:var(--warning-ink);font-size:13px;font-weight:600;white-space:nowrap}
.shell-v3 .corr:not([open]) .t-hide,.shell-v3 .corr[open] .t-show{display:none}
.shell-v3 .corr-preview{grid-column:1/-1;overflow:hidden;color:var(--text);white-space:nowrap;text-overflow:ellipsis}
.shell-v3 .corr[open] .corr-preview{display:none}
.shell-v3 .corr>summary:hover .corr-toggle{text-decoration:underline;text-underline-offset:3px}
.shell-v3 .corr-text{max-width:78ch;margin:0;padding:0 14px 12px;font-size:15px;line-height:23px;white-space:pre-line;overflow-wrap:anywhere}
.shell-v3 .entry3{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.shell-v3 .slot3{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;margin:0}
.shell-v3 .slot-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.shell-v3 .cur .label{display:block;margin:0;font-weight:600}
.shell-v3 .optional{color:var(--muted);font-weight:400}
.shell-v3 .ev-need{color:var(--muted);font-size:13px}
.shell-v3 .ev-need.missing{color:var(--warning-ink);font-weight:600}
.shell-v3 .value-box{display:flex;width:100%;height:52px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface);transition:border-color var(--t-fast) ease}
.shell-v3 .value-box:focus-within{border-color:var(--accent);outline:3px solid var(--accent-200);outline-offset:0}
.shell-v3 .value-box input,.shell-v3 .value-box input:focus{flex:1 1 auto;width:0;min-width:0;height:auto;padding:0 16px;border:0;border-radius:var(--radius-field) 0 0 var(--radius-field);background:transparent;box-shadow:none;font-size:26px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.shell-v3 .value-box input:focus-visible{outline:2px solid transparent}
.shell-v3 .was{margin:0;color:var(--muted);font-size:13px}
.shell-v3 .was strong{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .was .changed{color:var(--accent-ink);font-weight:600}
.shell-v3 .value-box .unit{display:grid;flex:none;place-items:center;min-width:68px;padding:0 14px;border-left:1px solid var(--border);border-radius:0 var(--radius-field) var(--radius-field) 0;background:var(--raised);color:var(--muted);font-size:15px;font-weight:600}
.shell-v3 .options{margin:0}
.shell-v3 .options>summary{gap:4px;min-height:24px;color:var(--muted);font-size:13px;font-weight:600}
.shell-v3 .options>summary::before{content:none}
.shell-v3 .options[open]{display:grid;gap:12px;padding-top:2px}
.shell-v3 .options:not(:has(input[type="checkbox"][name="estimated"]:checked)) .ws-method{display:none}
.shell-v3 .check{display:flex;align-items:center;gap:8px;margin:0;font-weight:500}
.shell-v3 .check input{width:16px;height:16px;margin:0;accent-color:var(--accent)}
.shell-v3 .cur .field{display:grid;gap:6px;align-content:start;min-width:0;margin:0}
.shell-v3 .cur .field>label{margin:0}
.shell-v3 .cur .input{width:100%;height:40px;padding:0 12px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface);box-shadow:none;font-size:14px;line-height:20px}
.shell-v3 .cur textarea.input{height:auto;min-height:76px;padding:10px 12px;resize:vertical}
.shell-v3 .cur select.input{padding-right:32px}
.shell-v3 .ws-attach{display:grid;gap:8px;margin:0}
.shell-v3 .zone{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;margin:0;padding:8px 10px 8px 16px;border:1.5px dashed var(--control);border-radius:var(--radius-card);background:var(--surface);color:var(--muted);text-align:left;cursor:pointer;transition:border-color var(--t-fast) ease,background-color var(--t-fast) ease}
.shell-v3 .zone-text{display:grid;min-width:0;font-size:13px;line-height:18px}
.shell-v3 .zone strong{color:var(--text);font-size:14px;font-weight:600;line-height:20px}
.shell-v3 .zone-btn{flex:none;padding:6px 12px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface);color:var(--text);font-size:13px;font-weight:600}
.shell-v3 .zone:hover,.shell-v3 .zone.over{border-color:var(--accent);background:var(--accent-50)}
.shell-v3 .zone.next{border-style:solid;border-color:var(--accent)}
.shell-v3 .file-in{position:absolute;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
.shell-v3 .zone:focus-within,.shell-v3 .add-file:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.shell-v3 .add-file{position:relative;justify-self:start;cursor:pointer}
/* the file rows (ui.evidence_list, compact): a file's name is kept whole (no ellipsis, nothing behind a hover); where the
   row is narrow, Download and Remove go under it, as words */
.shell-v3 .files3{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:0;padding:0;list-style:none}
.shell-v3 .file3{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:44px;margin:0;padding:6px 12px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface)}
.shell-v3 .file3 .evidence-main{display:block;flex:1 1 8em;min-width:0}
.shell-v3 .file3 .file-name{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .file3 .evidence-actions{display:flex;flex:none;align-items:center;gap:14px}
.shell-v3 .file3 .btn.small{height:auto;padding:0;border:0;background:none;box-shadow:none;color:var(--accent-ink);font-size:13px;line-height:20px;font-weight:600}
.shell-v3 .file3 .btn.small:hover{background:none;text-decoration:underline;text-underline-offset:3px}
.shell-v3 .file3 .evidence-remove{margin:0}
.shell-v3 .file3 .evidence-remove .btn.small{color:var(--negative-ink)}
.shell-v3 .slot3>.evidence-empty{margin:0;color:var(--muted)}
.shell-v3 .attach3{display:grid;gap:12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface)}
.js .shell-v3 .attach3:not(.is-open){display:none}
.shell-v3 .attach-file{margin:0;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .attach-file:empty{display:none}
.shell-v3 .pair{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.shell-v3 .acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.shell-v3 .attach3 .acts{justify-content:flex-start;margin-left:0}
/* Save draft and Submit stay at the foot of the screen while the entry runs past it; a field given focus scrolls clear */
.shell-v3 .cur-bar{position:sticky;bottom:0;z-index:4;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 -24px -20px;padding:14px 24px 16px;border-radius:0 0 var(--radius-card) var(--radius-card);background:inherit}
html:has(.shell-v3 .cur-bar){scroll-padding-bottom:84px}
.shell-v3 .cur-bar .btn{height:40px}
.shell-v3 .say{min-width:0;color:var(--muted)}
.shell-v3 .na-claim{margin:0}
.shell-v3 .na-claim>summary{min-height:0;color:var(--accent-ink);font-size:14px;font-weight:600}
.shell-v3 .na-claim>summary::before{content:none}
.shell-v3 .na-pop{position:absolute;z-index:6;bottom:calc(100% + 8px);left:24px;display:grid;gap:12px;width:min(460px,calc(100% - 48px));padding:20px;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-float);color:var(--text)}
.shell-v3 .na-title{margin:0;font-size:15px;line-height:22px;font-weight:600}
.shell-v3 .na-pop .hint{margin:0}
.shell-v3 .na-pop .acts{justify-content:flex-start;margin-left:0}
.shell-v3 .summary3{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.shell-v3 .summary-value{margin:0;font-size:28px;line-height:34px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.shell-v3 .summary-value .u{margin-left:6px;color:var(--muted);font-size:14px;font-weight:500;letter-spacing:0}
@media(prefers-reduced-motion:reduce){.shell-v3 .ws-drawer:popover-open{animation:none}.shell-v3 *{transition-duration:.01ms}}

/* narrower screens: the menu folds the sidebar away below 1080px, as the prototype does */
@media (min-width:1081px) and (max-width:1279px){
  .js .shell-v3 .app-shell{display:grid}
  .js .shell-v3 .menu-button,.js .shell-v3 .nav-close{width:auto;display:none}
  .js .shell-v3 .workspace-nav{position:sticky;top:0;width:auto;max-width:none;height:100vh;transform:none;visibility:visible;transition:none;z-index:20}
}
@media (max-width:1320px){.shell-v3 .entry3,.shell-v3 .summary3{grid-template-columns:minmax(0,1fr);gap:16px}}
@media (max-width:1080px){
  .shell-v3 .task-inbox{grid-template-columns:340px minmax(0,1fr)}
  .shell-v3 .task-workspace{padding:22px 24px}
  .shell-v3 .topbar{gap:10px;padding-left:12px}
  .js .shell-v3 .workspace-nav{width:min(320px,88vw);max-width:none}
}
@media (max-width:760px){
  .shell-v3 .topbar-meta .env{display:none}
  .shell-v3 .env-compact{display:block}
  .shell-v3 .content{padding:20px 16px 40px}
  .shell-v3 .topbar-meta>*{padding:0 12px}
  .shell-v3 .account-text{display:none}
  .shell-v3 .bell-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
/* the account stays in the top bar at phone width (it is the way to My Settings on this shell); the environment stays too */
@container topbar (max-width:700px){.shell-v3 .topbar-user{display:flex}}
/* where space is short (a phone either way up, a narrow tablet): the entry first, then the history, folded */
@media (max-width:900px),(max-height:500px){
  .shell-v3 .task-workspace>.ws-head{order:0}
  .shell-v3 .task-workspace>.cur{order:1}
  .shell-v3 .task-workspace>.hist{order:2}
  .js .shell-v3 .hist-label{display:none}
  .js .shell-v3 .hist-toggle{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;border:0;background:none;color:var(--text);font:inherit;font-weight:600;cursor:pointer}
  .shell-v3 .hist-toggle::after{content:"";width:12px;height:12px;background:currentColor;transform:rotate(90deg);transition:transform var(--t) var(--ease);-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
  .shell-v3 .hist-toggle[aria-expanded="true"]::after{transform:rotate(-90deg)}
  .shell-v3 .hist.shut .hist-tools,.shell-v3 .hist.shut .hist-body{display:none}
  .shell-v3 .corr-preview{display:none}
  .shell-v3 .corr>summary{padding:9px 12px}
  .shell-v3 .ws-drawer:popover-open{inset:var(--topbar) 0 0 auto;border-radius:0}
}
/* a phone, or a narrow tablet held upright: one region at a time, the inbox, then the task opened from it */
@media (max-width:640px),(max-width:900px) and (min-height:501px){
  .shell-v3 .content{padding:0}
  .shell-v3 .task-page-head{margin:0;padding:12px 16px 0}
  .shell-v3 .task-inbox{display:block}
  .shell-v3 .task-pane{position:static;min-height:calc(100vh - var(--topbar));max-height:none;overflow:visible;border-radius:0;box-shadow:none}
  .shell-v3 .task-lists{overflow:visible}
  .shell-v3 .task-workspace{display:none;gap:18px;min-height:calc(100vh - var(--topbar));padding:12px 16px 16px;border-radius:0;box-shadow:none}
  .shell-v3 .task-inbox.has-chosen>.task-pane{display:none}
  .shell-v3 .task-inbox.has-chosen>.task-workspace{display:flex}
  .shell-v3 .ws-back{display:inline-flex}
  .shell-v3 .ws-head{grid-template-columns:minmax(0,1fr) auto;gap:0 12px}
  .shell-v3 .ws-head>.ws-back{grid-row:1;grid-column:1;margin-bottom:6px}
  .shell-v3 .ws-state{display:contents;text-align:left}
  .shell-v3 .ws-details.link{grid-row:1;grid-column:2;align-self:center;margin:0 0 6px}
  .shell-v3 .ws-id,.shell-v3 .ws-st,.shell-v3 .ws-st-sub{grid-column:1/-1}
  .shell-v3 .ws-st{margin-top:8px}
  .shell-v3 .ws-title{font-size:22px;line-height:28px}
  .shell-v3 .htable td.u,.shell-v3 .htable thead th:nth-child(3){display:none}
  .shell-v3 .htable tbody th{width:auto}
  .shell-v3 .htable .u-in{display:inline;margin-left:4px;color:var(--muted);font-size:12px;font-weight:400}
  .shell-v3 .htable td.s{white-space:normal}
  .shell-v3 .htable tr>*{height:44px;padding-top:4px;padding-bottom:4px}
  .shell-v3 .cur-tag{display:block;margin-left:0;line-height:14px}
  .shell-v3 .cur{padding:16px}
  .shell-v3 .cur-bar{margin:0 -16px -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-radius:0}
  .shell-v3 .cur-bar .acts{width:100%}
  .shell-v3 .cur-bar .btn{flex:1 1 0;height:44px}
  .shell-v3 .na-pop{left:16px;width:calc(100% - 32px)}
  .shell-v3 .ws-drawer:popover-open{width:100%}
}
/* a short landscape screen (844 x 390, 915 x 412): a compact inbox beside a dominant entry. Grid at 844: 844 - 2 x 12 =
   820 = inbox 296 + gutter 12 + task 512. The inbox is one scroll area held beside the task; the task scrolls with the
   page, its Save and Submit bar held at the foot of the screen. */
@media (max-height:500px) and (min-width:641px){
  .shell-v3{--topbar:48px}
  .shell-v3 .topbar-page{font-size:18px;line-height:24px}
  .shell-v3 .account-text{display:none}
  .shell-v3 .bell-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .shell-v3 .content{padding:12px}
  .shell-v3 .task-inbox{grid-template-columns:296px minmax(0,1fr);gap:12px}
  .shell-v3 .task-pane{position:sticky;top:calc(var(--topbar) + 12px);display:block;max-height:calc(100vh - var(--topbar) - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .shell-v3 .task-lists{overflow:visible}
  .shell-v3 .pane-head{gap:8px;padding:10px 10px 6px}
  .shell-v3 .loc-field{gap:4px}
  .shell-v3 .picker-place>summary{height:38px;padding-right:30px;background-position:right 10px center;font-size:13px}
  .shell-v3 .task-switch a{height:28px;padding:0 8px}
  .shell-v3 .task-search input,.shell-v3 .picker-period>summary{height:34px}
  .shell-v3 .picker-period>summary{width:104px}
  .shell-v3 .task-pick{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name" "sub cond";column-gap:10px;padding:7px 10px}
  .shell-v3 .task-pick .t-line{display:contents}
  .shell-v3 .task-pick .t-name{grid-area:name}
  .shell-v3 .task-pick .t-cond{grid-area:cond}
  .shell-v3 .task-pick .t-meta{grid-area:sub}
  .shell-v3 .task-workspace{gap:10px;padding:12px 18px 16px}
  .shell-v3 .ws-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:2px 10px}
  .shell-v3 .ws-id,.shell-v3 .ws-state{display:contents}
  .shell-v3 .ws-title{grid-column:1;grid-row:1;font-size:20px;line-height:26px}
  .shell-v3 .ws-code{grid-column:2;grid-row:1;min-width:0;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .shell-v3 .ws-details.link{grid-column:3;grid-row:1;justify-self:end;margin:0}
  .shell-v3 .ws-where{grid-column:1/-1;grid-row:2;min-height:28px;margin:0}
  .shell-v3 .ws-period>summary{height:28px;font-size:13px}
  .shell-v3 .ws-st{grid-column:1/3;grid-row:3;font-size:14px;line-height:20px;text-align:left}
  .shell-v3 .ws-st-sub{grid-column:3;grid-row:3;text-align:right;white-space:nowrap}
  .shell-v3 .entry3{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
  .shell-v3 .cur{gap:10px;padding:12px 16px}
  .shell-v3 .cur-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .shell-v3 .corr>summary{padding:7px 12px}
  .shell-v3 .corr-head{flex-wrap:nowrap;min-width:0;overflow:hidden}
  .shell-v3 .corr-head strong{white-space:nowrap}
  .shell-v3 .corr-by{overflow:hidden;text-overflow:ellipsis}
  .shell-v3 .slot3{gap:6px}
  .shell-v3 .value-box{height:46px}
  .shell-v3 .value-box input{font-size:22px}
  .shell-v3 .zone{min-height:46px}
  .shell-v3 .cur-bar{margin:0 -16px -12px;padding:10px 16px 12px}
  .shell-v3 .cur-bar .btn{height:38px}
  .shell-v3 .na-pop{left:16px}
  .shell-v3 .ws-drawer:popover-open{width:min(400px,100%)}
}

/* ---- P1 Wave 3A, the administrator screens in the Concept A V3 design (owner acceptance of the Wave 3A prototype and
   authorisation of 22 October 2026; D-88 for administrator screens) ----
   Reporting Periods, a period, Users & Access and a person, drawn as the accepted prototype draws them
   (design-proto\admin): the V3 shell and tokens above, a finding before the list, underline tabs, one line per record
   with one plain condition, a record page with its four answers or its lifecycle, and the action beside what it acts on.
   Presentation only: the forms post the same fields to the same routes. Desk at 1440 x 900: 1440 - 230 - 2 x 24 = 1162;
   a record page 1162 = 754 + 24 + 384. Under 1080px the rail goes under the head of the page; under 760px the figures
   become rows; under 640px a table becomes two-line rows. */
.shell-v3 .adm-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px 24px;margin:4px 0 18px}
.shell-v3 .adm-finding{max-width:780px;margin:0;font-size:16px;line-height:24px;color:var(--text)}
.shell-v3 .adm-finding .bad{color:var(--negative-ink);font-weight:600}
.shell-v3 .adm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.shell-v3 .adm-actions form{margin:0}
.shell-v3 .adm-stamp{margin:-6px 0 22px;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .adm-stamp.attn{color:var(--warning-ink)}
.shell-v3 .adm-stamp strong{font-weight:600}
.shell-v3 .adm-stamp .dot{display:inline-block;width:8px;height:8px;margin:0 8px 1px 0;border-radius:50%;vertical-align:middle;background:var(--dot-later)}
.shell-v3 .adm-stamp .dot.done{background:var(--accent)}
.shell-v3 .adm-stamp .dot.returned{background:var(--dot-returned)}
.shell-v3 .adm-tabs{display:flex;gap:24px;margin:0 0 16px;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}
.shell-v3 .adm-tabs a{display:inline-flex;flex:none;align-items:center;gap:8px;height:40px;margin-bottom:-1px;border-bottom:2px solid transparent;color:var(--muted);font-weight:600;text-decoration:none}
.shell-v3 .adm-tabs a:hover{color:var(--text)}
.shell-v3 .adm-tabs a[aria-current="page"]{border-color:var(--text);color:var(--text)}
.shell-v3 .adm-tabs .n{color:var(--muted);font-weight:500;font-variant-numeric:tabular-nums}
.shell-v3 .adm-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 6px}
.shell-v3 .adm-bar label{display:block;margin:0}
.shell-v3 .adm-bar input[type=search],.shell-v3 .adm-bar input[type=text]{width:300px;height:34px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-field);background:var(--surface)}
.shell-v3 .adm-bar select{height:34px;padding:0 30px 0 12px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface) var(--chev-down) right 10px center/12px no-repeat;color:var(--text);font-size:13px;font-weight:600;appearance:none}
.shell-v3 .adm-count{margin-left:auto;color:var(--muted);font-size:13px}

/* directory tables: rules and alignment, no card around them, no header band */
.shell-v3 .adm-dir{width:100%;border-collapse:collapse;background:none}
.shell-v3 .adm-dir th{height:38px;padding:0 12px;border:0;background:none;color:var(--muted);font-size:12px;font-weight:500;text-align:left;white-space:nowrap}
.shell-v3 .adm-dir td{padding:13px 12px;border-top:1px solid var(--rule);border-bottom:0;background:none;vertical-align:top}
.shell-v3 .adm-dir th:first-child,.shell-v3 .adm-dir td:first-child{padding-left:0}
.shell-v3 .adm-dir th:last-child,.shell-v3 .adm-dir td:last-child{padding-right:0}
.shell-v3 .adm-dir th.num,.shell-v3 .adm-dir td.num{text-align:right;white-space:nowrap}
.shell-v3 .adm-dir td.empty{padding:22px 0}
.shell-v3 .adm-name{color:var(--text);font-weight:600;text-decoration:none}
.shell-v3 a.adm-name:hover{color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
.shell-v3 .adm-sub{display:block;margin-top:2px;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .adm-you{display:inline-block;margin-left:8px;padding:0 8px;border-radius:999px;background:var(--segment);color:var(--muted);font-size:12px;line-height:20px;font-weight:600}
.shell-v3 .cond{font-weight:600}
.shell-v3 .cond.bad{color:var(--negative-ink)}
.shell-v3 .cond.warn{color:var(--warning-ink)}
.shell-v3 .cond.ok{color:var(--accent-ink)}
.shell-v3 .cond.quiet{color:var(--muted);font-weight:500}
.shell-v3 .cond.plain{font-weight:400}
.shell-v3 .more{color:var(--muted)}
.shell-v3 .ph-only{display:none}

/* the period lifecycle: Planned, Open, Under review, Approved, Locked */
.shell-v3 .adm-state{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-weight:600}
.shell-v3 .track{display:inline-flex;gap:3px}
.shell-v3 .track i{width:12px;height:6px;border-radius:3px;background:#dfe5e1}
.shell-v3 .track i.on{background:var(--accent)}
.shell-v3 .track i.now{background:var(--accent-200);outline:1.5px solid var(--accent);outline-offset:-1.5px}

/* a record: its head, its tabs, the reading column and the action rail */
.shell-v3 .adm-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;color:var(--muted);font-weight:600;text-decoration:none}
.shell-v3 .adm-back::before{content:"";width:12px;height:12px;background:currentColor;transform:rotate(180deg);-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
.shell-v3 .adm-back:hover{color:var(--text)}
.shell-v3 .adm-objhead{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 8px}
.shell-v3 .adm-objhead+.adm-note,.shell-v3 .adm-objhead+.adm-four,.shell-v3 .adm-objhead+.adm-ed{margin-top:16px}
/* the task inbox takes the whole width on a narrow screen (P1 Wave 2); an administrator page keeps the V3 margins */
.shell-v3 .content:has(> .adm-head,> .adm-back){padding:20px 24px}
.shell-v3 .adm-meta{color:var(--muted)}
.shell-v3 .adm-chip{display:inline-flex;flex:none;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:var(--segment);color:var(--text);font-size:13px;font-weight:600;white-space:nowrap}
/* the workforce age bands as labels with their configured ages (unified V3 final correction pass, 27 October 2026) */
.shell-v3 .band-list{display:flex;flex-wrap:wrap;gap:6px 8px;margin:6px 0 4px;padding:0;list-style:none}
.shell-v3 .band-list .adm-chip{gap:6px}
.shell-v3 .band-range{color:var(--muted);font-weight:500;font-variant-numeric:tabular-nums}
/* the status dictionary's tone (status_display): a Locked or Planned period reads neutral, as its badge did */
.shell-v3 .adm-chip.tone-info{background:var(--accent-100);color:var(--accent-ink)}
.shell-v3 .adm-chip.tone-success{background:var(--accent-50);color:var(--accent-ink)}
.shell-v3 .adm-chip.tone-warning{background:var(--warning-bg);color:var(--warning-ink)}
.shell-v3 .adm-objhead + .adm-finding{margin:0 0 18px}
.shell-v3 .adm-detail{display:grid;grid-template-columns:minmax(0,1fr) 384px;gap:24px;align-items:start}
.shell-v3 .adm-detail[hidden],.shell-v3 .adm-history[hidden],.shell-v3 .adm-tabpanel[hidden],.shell-v3 .adm-ed[hidden]{display:none}
.shell-v3 .adm-main{display:grid;gap:24px;min-width:0}
.shell-v3 .adm-card{min-width:0;padding:20px 24px;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
.shell-v3 .adm-card h2{margin:0 0 14px;font-size:16px;line-height:22px;font-weight:600;letter-spacing:0}
.shell-v3 .adm-card-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;margin:0 0 14px}
.shell-v3 .adm-card-head h2{margin:0}
.shell-v3 .adm-card-head .link{font-size:13px}
.shell-v3 .adm-rail{position:sticky;top:calc(var(--topbar) + 20px);display:grid;gap:14px}
.shell-v3 .adm-rail h2{margin:0}
.shell-v3 .adm-now{margin:-4px 0 0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .attn-list{display:grid;margin:0;padding:0;list-style:none}
.shell-v3 .attn-list>li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:2px 12px;padding:9px 0;border-top:1px solid var(--rule)}
.shell-v3 .attn-list>li:first-child{padding-top:0;border-top:0}
.shell-v3 .attn-list .dot{width:8px;height:8px;margin-top:7px;border-radius:50%;background:var(--dot-held)}
.shell-v3 .attn-list .dot.overdue{background:var(--dot-overdue)}
.shell-v3 .attn-list .dot.returned{background:var(--dot-returned)}
.shell-v3 .attn-list .what{font-weight:600}
.shell-v3 .attn-list .act{grid-column:3;grid-row:1/span 2;align-self:center;font-size:13px;white-space:nowrap}
.shell-v3 .attn-list .why{grid-column:2;color:var(--muted);font-size:13px;line-height:19px}
/* V3 analytics Wave 1C: the one-line queue preview and the View-all disclosure keep the first screen short */
/* Information design Wave 1 (3 November 2026): the head's compact three-count summary; the folded groups carry their
   counts on the disclosure line (the duplicate preview rows are gone, so .attn-queue has no rules any more) */
.shell-v3 .x-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 22px}
.shell-v3 .x-sum .x-n{white-space:nowrap;font-weight:600}
.shell-v3 .tasks-empty{max-width:560px}
.shell-v3 .tasks-empty h2{margin:0 0 6px;font-size:16px;line-height:22px}
.shell-v3 .tasks-empty p{margin:0 0 14px;color:var(--muted);font-size:14px;line-height:20px}
.shell-v3 .tasks-empty .btn{margin:0}
.shell-v3 .flow-step.flow-blocked{color:var(--negative-ink)}
.shell-v3 .flow-step.flow-blocked>:first-child::before{border-color:currentColor;background:transparent}
.shell-v3 .flow-step.flow-blocked .flow-note{color:inherit}
/* W1-02 (3 November 2026): a partial stage (half-filled mark + its open work in the note) and the page marker, said in
   words beside the label, never colour alone */
.shell-v3 .flow-step.flow-part{color:var(--text)}
.shell-v3 .flow-step.flow-part>:first-child::before{background:linear-gradient(90deg,currentColor 50%,transparent 50%)}
/* Final closure (4 November 2026): an applied stage (evidence used in the selected results, no completion claim):
   a ring with a centre dot, never the filled done mark */
.shell-v3 .flow-step.flow-used{color:var(--text)}
.shell-v3 .flow-step.flow-used>:first-child::before{background:radial-gradient(circle,currentColor 0 2px,transparent 2.5px)}
.shell-v3 .flow-here{font-size:11px;line-height:1;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);white-space:nowrap}
/* Cross-module progression (4 November 2026): one quiet home for a selected record's workflow line, under its heading */
.shell-v3 .record-flow{margin:8px 0 14px}
.shell-v3 .record-flow .flow-note{font-size:12px;color:var(--muted)}
.shell-v3 .decision-card .record-flow{margin:0 0 10px}
/* W1-02: the GHG workflow line carries a visible per-stage status, so its stages share one balanced row like the scopes
   (auto-fit, no media query), each the label over its one-line note; other pages' flows keep the inline line */
.shell-v3 .inv-flow .flow ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,164px),1fr));gap:10px 24px;align-items:start}
.shell-v3 .inv-flow .flow-step{display:block;white-space:normal;line-height:19px;border-left:1px solid var(--rule);padding-left:24px;margin-left:-24px}
.shell-v3 .inv-flow .flow-step+.flow-step::before{content:none}
.shell-v3 .inv-flow .flow-note{display:block;margin:2px 0 0 15px;font-size:12px;line-height:17px;color:var(--muted)}
.shell-v3 .inv-flow .flow-step.flow-blocked .flow-note{color:inherit}
/* Final closure (4 November 2026): the oldest-overdue line reads like an attention row (dot, finding, one action) */
.shell-v3 .attn-overdue{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:2px 12px;align-items:baseline;margin:0;padding:9px 0 0;border-top:1px solid var(--rule)}
.shell-v3 .attn-overdue .dot{width:8px;height:8px;margin-top:7px;border-radius:50%;background:var(--dot-overdue)}
.shell-v3 .attn-overdue .what{font-weight:400}
.shell-v3 .attn-overdue .bad{color:var(--negative-ink);font-weight:600}
.shell-v3 .attn-overdue .act{font-size:13px;white-space:nowrap}
.shell-v3 .attn-more{margin-top:10px}
.shell-v3 .attn-more>summary{cursor:pointer;font-size:13px;color:var(--accent);padding:4px 0}
/* W1-01 (3 November 2026): the summary sentence is one wrapping line (the global summary flex would otherwise split
   its text nodes into columns); the overdue obligations keep the attention ink */
.shell-v3 .attn-more>summary>.attn-sum{flex:1 1 auto;min-width:0;line-height:19px}
.shell-v3 .attn-more>summary .bad{color:var(--negative-ink);font-weight:600}
.shell-v3 .attn-more>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.shell-v3 .attn-more[open]>summary{margin-bottom:6px}
.shell-v3 .prog-lead{margin:0 0 8px;font-size:15px}
.shell-v3 .prog-lead strong{font-size:24px;line-height:30px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.shell-v3 .prog{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 18px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.shell-v3 .prog progress{width:100%;height:8px;border:0;border-radius:999px;background:#e3e9e5;overflow:hidden;appearance:none}
.shell-v3 .prog progress::-webkit-progress-bar{border-radius:999px;background:#e3e9e5}
.shell-v3 .prog progress::-webkit-progress-value{border-radius:999px;background:var(--accent)}
.shell-v3 .prog progress::-moz-progress-bar{border-radius:999px;background:var(--accent)}
.shell-v3 .adm-split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--rule)}
.shell-v3 .adm-split>div{display:grid;align-content:start;gap:2px;min-width:0;padding:14px 16px 4px;border-left:1px solid var(--rule)}
.shell-v3 .adm-split>div:first-child{padding-left:0;border-left:0}
.shell-v3 .adm-split .k{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .adm-split .v{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.shell-v3 .adm-split .s{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .adm-split .s.bad,.shell-v3 .adm-split .s.bad .link{color:var(--negative-ink);font-weight:600}
.shell-v3 .adm-split .zero .v{color:var(--muted);font-weight:500}
.shell-v3 .adm-held{width:100%;margin:18px 0 0;border-collapse:collapse}
.shell-v3 .adm-held caption{padding:0 0 6px;color:var(--text);font-weight:600;text-align:left}
.shell-v3 .adm-held th{height:30px;padding:0 12px 0 0;border:0;background:none;color:var(--muted);font-size:12px;font-weight:500;text-align:left}
.shell-v3 .adm-held td{padding:10px 12px 10px 0;border-top:1px solid var(--rule);border-bottom:0;background:none;vertical-align:top}
.shell-v3 .adm-held td:last-child,.shell-v3 .adm-held th:last-child{padding-right:0}
.shell-v3 .adm-held .who-line{display:block;white-space:nowrap}
.shell-v3 .adm-held .off{color:var(--warning-ink);font-weight:600}
.shell-v3 .adm-held .adm-left{display:block;color:var(--warning-ink)}

/* change status: the allowed moves, none chosen in advance; the reason asked before the press */
.shell-v3 .adm-move{display:grid;gap:12px;margin:0}
.shell-v3 .adm-move .moves{display:grid;gap:8px;margin:0;padding:0;border:0;min-width:0}
.shell-v3 .adm-move .move{display:grid;grid-template-columns:18px minmax(0,1fr);gap:2px 10px;margin:0;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-card);font-weight:400;cursor:pointer;transition:border-color var(--t-fast) ease,background-color var(--t-fast) ease}
.shell-v3 .adm-move .move:hover{border-color:#b9c3be}
.shell-v3 .adm-move .move:has(input:checked){border-color:var(--accent);background:var(--accent-50)}
.shell-v3 .adm-move .move input{width:16px;height:16px;margin:2px 0 0;accent-color:var(--accent)}
.shell-v3 .adm-move .move .t{font-weight:600}
.shell-v3 .adm-move .move .d{grid-column:2;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .adm-move .move .d strong{color:var(--text);font-weight:600}
.shell-v3 .adm-move .btn.primary{width:100%}
.shell-v3 .req-note{margin:-6px 0 0;color:var(--warning-ink);font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .adm-field,.shell-v3 .adm-field label{display:block;margin:0;font-weight:600}
.shell-v3 .adm-field input,.shell-v3 .adm-field select,.shell-v3 .adm-form input,.shell-v3 .adm-form select,.shell-v3 .adm-ed input:not([type=checkbox]):not([type=radio]),.shell-v3 .adm-ed select,.shell-v3 .adm-reset input{width:100%;height:40px;padding:0 12px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface);color:var(--text);font:inherit;font-weight:400}
.shell-v3 .adm-field select,.shell-v3 .adm-form select,.shell-v3 .adm-ed select{padding-right:32px}
.shell-v3 .adm-field input:focus-visible,.shell-v3 .adm-form input:focus-visible,.shell-v3 .adm-ed input:focus-visible,.shell-v3 .adm-ed select:focus-visible,.shell-v3 .adm-reset input:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-200);outline-offset:0}

/* history and settings-like panels */
.shell-v3 .adm-hist{width:100%;border-collapse:collapse}
.shell-v3 .adm-hist th{height:34px;padding:0 12px 0 0;border:0;background:none;color:var(--muted);font-size:12px;font-weight:500;text-align:left}
.shell-v3 .adm-hist td{padding:11px 12px 11px 0;border-top:1px solid var(--rule);border-bottom:0;background:none;vertical-align:top}
.shell-v3 .adm-hist .when{white-space:nowrap;color:var(--muted)}
.shell-v3 .adm-fold{margin:22px 0 0}
.shell-v3 .adm-fold>summary{color:var(--accent-ink);font-size:14px}
.shell-v3 .adm-fold[open]>summary{margin-bottom:12px}
.shell-v3 .adm-setup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:24px;align-items:start}
.shell-v3 .adm-setup-grid .hint{margin:-6px 0 14px}
.shell-v3 .adm-form{display:grid;gap:14px;margin:0}
.shell-v3 .adm-form.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.shell-v3 .adm-form label{display:block;margin:0;font-weight:600}
.shell-v3 .adm-form-acts{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}

/* a person: the four answers of the access model, the record's panels, the editor */
.shell-v3 .adm-note{display:grid;gap:4px;margin:0 0 18px;padding:14px 16px;border:1px solid var(--warning-edge);border-radius:var(--radius-card);background:var(--warning-bg);color:var(--warning-ink)}
.shell-v3 .adm-note strong{font-weight:600}
.shell-v3 .adm-note.quiet{border-color:var(--border);background:var(--raised);color:var(--text)}
.shell-v3 .adm-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 22px;padding:0;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
.shell-v3 .adm-four>div{display:grid;align-content:start;gap:4px;min-width:0;padding:18px 20px;border-left:1px solid var(--rule)}
.shell-v3 .adm-four>div:first-child{border-left:0}
.shell-v3 .adm-four dt{color:var(--muted);font-size:13px;line-height:18px;font-weight:400}
.shell-v3 .adm-four dd{margin:0}
.shell-v3 .adm-four .v{display:block;font-size:16px;line-height:22px;font-weight:600}
.shell-v3 .adm-four .v.bad{color:var(--negative-ink)}
.shell-v3 .adm-four .v.warn{color:var(--warning-ink)}
.shell-v3 .adm-four .v.quiet{color:var(--muted);font-weight:500}
.shell-v3 .adm-four .s{display:block;margin-top:2px;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .adm-dl{display:grid;margin:0}
.shell-v3 .adm-dl>div{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;padding:12px 0;border-top:1px solid var(--rule)}
.shell-v3 .adm-dl>div:first-child{padding-top:0;border-top:0}
.shell-v3 .adm-dl dt{color:var(--muted);font-weight:400}
.shell-v3 .adm-dl dd{margin:0;min-width:0;overflow-wrap:anywhere}
.shell-v3 .adm-dl .adm-sub{margin-top:2px}
.shell-v3 .adm-screens{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.shell-v3 .adm-screens span{padding:2px 8px;border-radius:4px;background:var(--raised);color:var(--muted);font-size:12px;line-height:18px}
.shell-v3 .adm-sec-acts{display:flex;justify-content:flex-end;gap:8px;margin:16px 0 0}
.shell-v3 .adm-two{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px}
.shell-v3 .adm-reset{display:grid;align-content:start;gap:12px;padding-left:32px;border-left:1px solid var(--rule)}
.shell-v3 .adm-reset h2{margin:0}
.shell-v3 .adm-reset form{display:grid;gap:12px;margin:0}
.shell-v3 .adm-reset label{display:block;margin:0;font-weight:600}
.shell-v3 .adm-rules{display:grid;gap:2px;margin:0;padding-left:18px;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .adm-ed{display:grid;gap:22px}
.shell-v3 .adm-ed-sec{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:22px 24px;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
.shell-v3 .adm-ed-sec>header h2{margin:0;font-size:16px;line-height:22px;font-weight:600}
.shell-v3 .adm-ed-sec>header p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .adm-ed-sec .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
.shell-v3 .adm-ed-sec .form-grid label{display:block;margin:0;font-weight:600}
/* a label reads as one line, its note beside it; the control and its hint follow under it */
.shell-v3 .adm-ed-sec .form-grid label>input,.shell-v3 .adm-ed-sec .form-grid label>select,.shell-v3 .adm-form label>input,.shell-v3 .adm-form label>select,.shell-v3 .adm-reset label>input,.shell-v3 .adm-field input,.shell-v3 .adm-field select{display:block;margin-top:6px}
.shell-v3 .adm-ed-sec .form-grid label>.hint,.shell-v3 .adm-field .hint{display:block;margin-top:6px;font-weight:400}
.shell-v3 .adm-ed-sec .form-grid .span-2{grid-column:1/-1}
.shell-v3 .adm-ed .scope-objects,.shell-v3 .adm-ed .profile-effect,.shell-v3 .adm-ed .scope-picker{margin:16px 0 0}
.shell-v3 .adm-savebar{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;padding:12px 24px;border-top:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
.shell-v3 .adm-admins strong{font-weight:600}
.shell-v3 .adm-admins.attention strong{color:var(--warning-ink)}
.shell-v3 .adm-tabpanel>.hint{margin:0 0 12px}
.shell-v3 .adm-dl .adm-fold{margin:8px 0 0}
.shell-v3 .adm-dl .adm-fold[open]>summary{margin-bottom:8px}
/* the app's tables keep a 760px floor and a sticky header for wide registers; these lists reflow instead */
.shell-v3 .adm-dir,.shell-v3 .adm-held,.shell-v3 .adm-hist,.shell-v3 .adm-card .audit-table{min-width:0}
.shell-v3 .adm-dir th,.shell-v3 .adm-held th,.shell-v3 .adm-hist th{position:static}
.shell-v3 .adm-card .table-wrap{border:0;border-radius:0}
.shell-v3 .adm-card .audit-table th{position:static;background:none;border-bottom:0;color:var(--muted);font-size:12px;font-weight:500}
.shell-v3 .adm-card .audit-table td{border-top:1px solid var(--rule);border-bottom:0}

/* P1 Wave 3A Increment 2: definitions awaiting approval, a compact decision queue (the Wave 1 queue's structure: one line
   per draft and its decision card opened under it) */
.shell-v3 .adm-queue{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.shell-v3 .adm-qitem{border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
.shell-v3 .adm-qrow{margin:0}
.shell-v3 .adm-qrow>summary{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 140px 210px;gap:4px 16px;align-items:baseline;min-height:0;padding:14px 20px;border-radius:var(--radius-card);color:var(--text);font-size:14px;font-weight:400;cursor:pointer}
.shell-v3 .adm-qrow>summary::before{content:none}
.shell-v3 .adm-qrow>summary:hover{background:var(--raised)}
.shell-v3 .adm-qrow[open]>summary{border-bottom:1px solid var(--rule);border-radius:var(--radius-card) var(--radius-card) 0 0}
.shell-v3 .adm-qrow .q-eff{color:var(--muted);white-space:nowrap}
.shell-v3 .adm-qcard{display:grid;gap:14px;padding:16px 20px 20px}
.shell-v3 .adm-changes th[scope=row]{padding:11px 12px 11px 0;border-top:1px solid var(--rule);color:var(--muted);font-weight:500;text-align:left;vertical-align:top;white-space:nowrap}
.shell-v3 .adm-changes thead th{white-space:nowrap}
.shell-v3 .adm-changes td{overflow-wrap:anywhere}
.shell-v3 .adm-reasons{margin:4px 0;padding-left:18px}
.shell-v3 .adm-qform{display:grid;gap:10px;max-width:560px;margin:0}
.shell-v3 .adm-qform .btn{justify-self:start}
.shell-v3 .adm-field textarea{display:block;width:100%;min-height:64px;margin-top:6px;padding:8px 12px;border:1px solid var(--control);border-radius:var(--radius-field);background:var(--surface);color:var(--text);font:inherit;font-weight:400}
.shell-v3 .adm-field textarea:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-200);outline-offset:0}
.shell-v3 .adm-qopen{margin:0;font-size:13px}
.shell-v3 .adm-qempty{padding:22px 20px;border-radius:var(--radius-card);background:var(--surface)}

/* P1 Wave 3A Increment 2: Tracking Sheets, who is named where. (The information design correction of 2 November 2026
   replaced the request-count pairs with one phrase, so the tracking-dir .count-facts rules are gone.) */
.shell-v3 .adm-people .adm-who{display:block;line-height:20px}
.shell-v3 .adm-people .adm-part{display:block;margin-bottom:2px;font-weight:600}
.shell-v3 .adm-people .off{color:var(--warning-ink);font-weight:600}
/* P1 Wave 3A Increment 2: an administrator's Overview leads with Needs attention, the period page's attention list, in the
   owner's three groups; a period ready for its next move reads green. The shortcuts follow as one row of quick links, and
   the decision, collection and quality figures as compact rows (the period page's split) */
.shell-v3 .attn-list .dot.ready{background:var(--accent)}
.shell-v3 .attn-panel .attn-group{display:flex;align-items:baseline;gap:8px;margin:18px 0 6px;font-size:13px;line-height:18px;font-weight:600;color:var(--muted);letter-spacing:0}
.shell-v3 .attn-panel .panel-head+.attn-group{margin-top:0}
.shell-v3 .attn-group .n{font-weight:500;font-variant-numeric:tabular-nums}
.shell-v3 .adm-figs{margin:0 0 22px}
.shell-v3 .adm-figs .band-title{margin:0 0 6px;font-size:16px;line-height:22px;font-weight:600;letter-spacing:0}

@media (max-width:1080px){
  .shell-v3 .adm-detail{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .adm-main{display:contents}
  .shell-v3 .adm-rail{position:static;order:2}
  .shell-v3 .adm-main>.adm-attn{order:1}
  .shell-v3 .adm-main>.adm-card:not(.adm-attn){order:3}
  .shell-v3 .adm-two{grid-template-columns:minmax(0,1fr);gap:20px}
  .shell-v3 .adm-reset{padding:20px 0 0;border-left:0;border-top:1px solid var(--rule)}
  .shell-v3 .adm-ed-sec{grid-template-columns:minmax(0,1fr);gap:14px}
  .shell-v3 .adm-setup-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .shell-v3 .adm-finding{font-size:15px;line-height:22px}
  .shell-v3 .adm-actions{width:100%}
  .shell-v3 .adm-card,.shell-v3 .adm-ed-sec{padding:18px 16px}
  .shell-v3 .adm-split{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .adm-split>div,.shell-v3 .adm-split>div:first-child{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:2px 12px;padding:12px 0;border-left:0;border-top:1px solid var(--rule)}
  .shell-v3 .adm-split .k{grid-column:1;grid-row:1;color:var(--text);font-size:14px}
  .shell-v3 .adm-split .v{grid-column:2;grid-row:1;font-size:20px;line-height:26px}
  .shell-v3 .adm-split .s{grid-column:1/-1}
  .shell-v3 .adm-four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell-v3 .adm-four>div{padding:12px 14px;border-left:0;border-top:1px solid var(--rule)}
  .shell-v3 .adm-four>div:nth-child(-n+2){border-top:0}
  .shell-v3 .adm-four>div:nth-child(even){border-left:1px solid var(--rule)}
  .shell-v3 .adm-dl>div{grid-template-columns:minmax(0,1fr);gap:2px}
  .shell-v3 .adm-ed-sec .form-grid,.shell-v3 .adm-form.two-col{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .adm-bar input[type=search],.shell-v3 .adm-bar input[type=text]{width:100%}
  .shell-v3 .adm-count{margin-left:0}
  .shell-v3 .adm-bar .adm-search{flex:1 1 100%}
  .shell-v3 .content:has(> .adm-head,> .adm-back){padding:20px 16px 40px}
  .shell-v3 .attn-list>li{grid-template-columns:10px minmax(0,1fr)}
  .shell-v3 .attn-list .act{grid-column:2;grid-row:auto;margin-top:6px}
  .shell-v3 .adm-qrow>summary{grid-template-columns:minmax(0,1fr) auto;padding:12px 16px}
  .shell-v3 .adm-qrow .q-prep,.shell-v3 .adm-qrow .q-eff{grid-column:1/-1;font-size:13px}
  .shell-v3 .adm-qrow .q-cond{grid-column:2;grid-row:1;text-align:right}
  .shell-v3 .adm-qcard{padding:14px 16px 16px}
}
@media (max-width:640px){
  .shell-v3 .adm-dir thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .shell-v3 .adm-dir,.shell-v3 .adm-dir tbody{display:block}
  .shell-v3 .adm-dir tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:12px 0;border-top:1px solid var(--rule)}
  .shell-v3 .adm-dir td{display:block;padding:0;border:0}
  .shell-v3 .adm-dir td.c-id{grid-column:1}
  .shell-v3 .adm-dir td.c-key{grid-column:2;grid-row:1;text-align:right}
  /* Correction Round 1 (AC-04): the target list carries two key cells (approved amount, assessment); each takes its own line */
  .shell-v3 .tg-list td.c-key{grid-column:1/-1;grid-row:auto;text-align:left}
  .shell-v3 .adm-dir td.c-more{grid-column:1/-1;color:var(--muted);font-size:13px;line-height:18px}
  .shell-v3 .adm-dir td.c-more.num{text-align:left}
  .shell-v3 .adm-dir td.c-more .cond{font-size:14px}
  .shell-v3 .adm-dir td.c-hide{display:none}
  .shell-v3 .ph-only{display:inline}
  .shell-v3 .adm-held caption{display:block;width:auto}
  .shell-v3 .adm-held thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .shell-v3 .adm-held,.shell-v3 .adm-held tbody,.shell-v3 .adm-held tr,.shell-v3 .adm-held td{display:block}
  .shell-v3 .adm-held tr{padding:10px 0;border-top:1px solid var(--rule)}
  .shell-v3 .adm-held td{padding:0;border:0}
  .shell-v3 .adm-held .who-line{white-space:normal;color:var(--muted);font-size:13px}
  .shell-v3 .adm-hist th:nth-child(2),.shell-v3 .adm-hist td:nth-child(2){display:none}
}

/* ---- P1 Wave 3B, tracking sheet set-up: Increment 1 (owner brief of 23 October 2026) in its refined design pass of the
   same day ("P1 WAVE 3B-1 REFINED UX/UI DESIGN PASS"), one refinement of the accepted Concept A V3 language ----
   Configure, its line editor, Edit set-up, an empty sheet and New tracking sheet, scoped to .ts so no other V3 page
   changes. One header card (identity on a faint green wash, then the facts: collects, due, the chain of responsibility,
   the data requests by status); the register of indicators with the exceptions on their rows and the line editor opened
   in place; the sheet's quieter actions as one card of folded rows; the set-up as one card of sections (a title column
   beside fields of fixed widths) with a floating save bar; a new sheet in two numbered steps. Depth is one strategy:
   soft layered shadows on white cards, quiet rules inside them. Every control is 36px high; DM Sans 12/13/14/16, weight
   and colour carry the tiers. Presentation only: the forms post the same fields to the same routes. Under 1080px the
   facts take two columns and sections put their titles above the fields; under 760px the facts become rows and the
   header stacks; under 640px the register becomes two-line rows and the phone repeats the sheet's name in the header,
   which the top bar clips. */
.shell-v3 .ts{
  --ts-shadow:0 1px 2px rgba(18,28,23,.05),0 2px 10px rgba(18,28,23,.04);
  --ts-lift:0 2px 6px rgba(18,28,23,.06),0 14px 32px rgba(18,28,23,.12);
  --ts-inset:#fbfcfb;--ts-hover:#f7f9f8;--ts-track:#edf1ee;--ts-rail:#e3a344;--ts-wait:#7db497;--ts-enter:#cdd6d1;
  --ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%230c3e2a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%230c3e2a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%230c3e2a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%2358615c' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%2358615c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  display:grid;gap:20px;min-width:0}
.shell-v3 .ts [hidden]{display:none!important}
.shell-v3 .ts-view-line{justify-self:start}
.shell-v3 .ts-view{min-width:220px}
.shell-v3 .ts .adm-meta{font-size:13px;line-height:18px}
.shell-v3 .ts details{margin:0}
.shell-v3 .ts summary:hover{text-decoration:none}

/* the header card: identity on a faint green wash, then four facts */
.shell-v3 .ts-hero{min-width:0;overflow:hidden;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--ts-shadow)}
.shell-v3 .ts-hero-id{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:16px 24px;border-bottom:1px solid var(--rule);background:linear-gradient(100deg,#e9f3ed 0%,rgba(241,247,243,.75) 38%,rgba(255,255,255,0) 76%)}
.shell-v3 .ts-mode{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--accent-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-mode::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px var(--accent-100)}
.shell-v3 .ts-hero-id:last-child{border-bottom:0}
.shell-v3 .ts-hero-name{display:grid;gap:4px;min-width:0}
.shell-v3 .ts-name{display:none;margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:-.005em}
.shell-v3 .ts-idline{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.shell-v3 .ts-idline .code-token{color:var(--accent-ink);font-size:13px;line-height:20px;font-weight:600;letter-spacing:.01em}
.shell-v3 .ts .adm-chip{gap:6px;height:22px;padding:0 9px 0 8px;font-size:12px;line-height:16px}
.shell-v3 .ts .adm-chip::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.75}
.shell-v3 .ts-hero .adm-chip{background:var(--surface);box-shadow:inset 0 0 0 1px var(--border)}
.shell-v3 .ts-hero .adm-chip.tone-success,.shell-v3 .ts-hero .adm-chip.tone-info{box-shadow:inset 0 0 0 1px var(--accent-200)}
.shell-v3 .ts-hero .adm-chip.tone-warning{background:var(--warning-bg);box-shadow:inset 0 0 0 1px var(--warning-edge)}
.shell-v3 .ts-place{margin:0;color:var(--text);font-size:15px;line-height:22px;font-weight:500;overflow-wrap:anywhere}
.shell-v3 .ts-hero-acts{display:flex;flex-wrap:wrap;gap:8px}
.shell-v3 .ts-facts{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) minmax(0,1.75fr) minmax(0,1.3fr);margin:0}
.shell-v3 .ts-facts>div{display:grid;align-content:start;gap:8px;min-width:0;padding:16px 24px 18px;border-left:1px solid var(--rule)}
.shell-v3 .ts-facts>div:first-child{border-left:0}
.shell-v3 .ts-facts dt{color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts-facts dd{display:grid;align-content:start;gap:3px;margin:0;min-width:0}
.shell-v3 .ts-facts .v{font-size:14px;line-height:20px;font-weight:600}
.shell-v3 .ts-facts .v.quiet{color:var(--muted);font-weight:500}
.shell-v3 .ts-facts .s{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-facts .s.warn{color:var(--warning-ink);font-weight:500}
.shell-v3 .ts-facts .s.ok{color:var(--accent-ink)}
.shell-v3 .ts-facts .s .link{font-weight:600}

/* the chain of responsibility: the same three parts wherever people are named on these screens */
.shell-v3 .ts-chain{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.shell-v3 .ts-p{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px}
.shell-v3 .ts-p:not(:last-child)::after{content:"";position:absolute;top:25px;left:11.5px;width:1px;height:7px;background:var(--accent-200)}
.shell-v3 .ts-av{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--accent-100);color:var(--accent-ink);font-size:11px;line-height:1;font-weight:700;letter-spacing:0}
.shell-v3 .ts-p.none .ts-av{border:1px dashed var(--control);background:var(--surface)}
.shell-v3 .ts-p.off .ts-av{background:var(--warning-bg);color:var(--warning-ink)}
.shell-v3 .ts-pt{display:flex;align-items:baseline;gap:10px;min-width:0}
.shell-v3 .ts-pt .k{flex:none;width:72px;color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts-pt .n{min-width:0;font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .ts-p.none .n{color:var(--muted);font-weight:500}

/* the data requests by status: the bar draws the rows' counts in three parts (approved, awaiting a decision, to enter);
   overdue is a share of to enter, drawn inside its part, not a fourth state; the words carry the figures */
.shell-v3 .ts-bar{display:flex;gap:2px;height:8px;margin:2px 0 6px;overflow:hidden;border-radius:999px;background:var(--ts-track)}
.shell-v3 .ts-bar i{position:relative;flex-basis:0;min-width:0;overflow:hidden}
.shell-v3 .ts-bar i[style="flex-grow:0"]{display:none}
.shell-v3 .ts-bar .a,.shell-v3 .ts-legend i.a{background:var(--accent)}
.shell-v3 .ts-bar .w,.shell-v3 .ts-legend i.w{background:var(--ts-wait)}
.shell-v3 .ts-bar .e,.shell-v3 .ts-legend i.e{background:var(--ts-enter)}
.shell-v3 .ts-bar .e b{position:absolute;top:0;right:0;bottom:0;background:var(--dot-overdue)}
.shell-v3 .ts-legend i.e.part{background:linear-gradient(90deg,var(--ts-enter) 50%,var(--dot-overdue) 50%)}
.shell-v3 .ts-cancelled{color:var(--muted);font-size:13px;line-height:18px;font-weight:400}
.shell-v3 .ts-table td.c-key .ts-cancelled{display:block;margin-top:2px;font-size:12px;line-height:16px}
.shell-v3 .ts-legend{display:grid;gap:2px;color:var(--text);font-size:13px;line-height:18px;font-variant-numeric:tabular-nums}
.shell-v3 .ts-legend>span{display:flex;align-items:center;gap:8px}
.shell-v3 .ts-legend i{flex:none;width:8px;height:8px;border-radius:2px}
.shell-v3 .ts-legend .cond{font-weight:600}
.shell-v3 .ts-legend .zero{color:var(--muted)}

/* cards */
.shell-v3 .ts .sheet-record{display:grid;gap:20px;min-width:0}
.shell-v3 .ts-card{min-width:0;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--ts-shadow)}
.shell-v3 .ts-card-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:18px 24px 10px}
.shell-v3 .ts-card-head h2{margin:0;font-size:16px;line-height:22px;font-weight:600;letter-spacing:0}
.shell-v3 .ts-card-head>p{flex-basis:100%;margin:0;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .ts-note{max-width:760px;margin:12px 0 0;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .ts-note:first-child{margin-top:0}

/* the register: the lines that need a person are summarised once and marked on their rows */
.shell-v3 .ts-attn{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 24px 8px;padding:8px 8px 8px 14px;border:1px solid var(--warning-edge);border-radius:var(--radius-field);background:var(--warning-bg)}
.shell-v3 .ts-attn .adm-finding{flex:1 1 260px;max-width:none;margin:0;color:var(--warning-ink);font-size:14px;line-height:20px}
.shell-v3 .ts-attn .adm-finding .bad{color:var(--warning-ink);font-weight:600}
.shell-v3 .ts-attn .btn{border-color:var(--warning-edge);background:var(--surface);color:var(--warning-ink)}
.shell-v3 .ts-attn .btn:hover{border-color:var(--ts-rail);background:var(--surface)}
.shell-v3 .ts-table th{height:34px;padding:0 12px}
.shell-v3 .ts-table td{padding:12px}
.shell-v3 .ts-table th:first-child,.shell-v3 .ts-table td:first-child{padding-left:24px}
.shell-v3 .ts-table th:last-child,.shell-v3 .ts-table td:last-child{padding-right:24px}
.shell-v3 .ts-table th:nth-child(1){width:33%}
.shell-v3 .ts-table th:nth-child(2){width:112px}
.shell-v3 .ts-table th:nth-child(4){width:92px}
.shell-v3 .ts-table th:nth-child(5){width:80px}
.shell-v3 .ts-table td.c-act{text-align:right}
.shell-v3 .ts-table td.c-act .ts-edit{margin:-5px -10px -5px 0}
.shell-v3 .ts-table .ind-id{display:block}
.shell-v3 .ts-table .ind-name{font-weight:600}
.shell-v3 .ts-table .ind-code,.shell-v3 .ts-table .ind-extra{color:var(--muted);font-size:13px}
.shell-v3 .ts-table .adm-sub .link{font-weight:500}
.shell-v3 .ts-table td.num{font-variant-numeric:tabular-nums}
.shell-v3 .ts-table tr.line td{transition:background-color var(--t-fast) ease}
.shell-v3 .ts-table tr.line:hover td{background:var(--ts-hover)}
.shell-v3 .ts-table tr.needs td,.shell-v3 .ts-table tr.needs:hover td{background:#fffcf5}
.shell-v3 .ts-table tr.needs td:first-child{box-shadow:inset 3px 0 0 var(--ts-rail)}
.shell-v3 .ts-table tr.is-editing td,.shell-v3 .ts-table tr.is-editing:hover td{background:var(--accent-50)}
.shell-v3 .ts-table tr.is-editing td:first-child{box-shadow:inset 3px 0 0 var(--accent)}
.shell-v3 .line-people .adm-who{font-weight:500}
.shell-v3 .line-people .adm-who.quiet{color:var(--muted)}
.shell-v3 .line-people .adm-who.own{color:var(--text);font-weight:600}
.shell-v3 .line-people .lp,.shell-v3 .line-people .why{display:block;margin-top:2px;font-size:13px;line-height:18px}
.shell-v3 .line-people .lp{color:var(--muted)}
.shell-v3 .line-people .why{color:var(--warning-ink)}
.shell-v3 .ts .tag.attn{display:inline-flex;align-items:center;height:20px;margin-left:6px;padding:0 8px;border:1px solid var(--warning-edge);border-radius:999px;background:var(--warning-bg);color:var(--warning-ink);font-size:12px;line-height:18px;font-weight:600;white-space:nowrap;vertical-align:1px}
.shell-v3 .ts-edit{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:var(--radius-field);color:var(--accent-ink);font-size:13px;font-weight:600;text-decoration:none;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-edit:hover{background:var(--accent-100);text-decoration:none}
.shell-v3 .ts-ended .ts-group th{height:auto;padding:16px 24px 6px;border-top:1px solid var(--rule);color:var(--muted);font-size:12px;line-height:16px;font-weight:500;text-align:left}
.shell-v3 .ts-ended tr.muted td{color:var(--muted)}
.shell-v3 .ts-ended tr.muted .ind-name{color:var(--muted);font-weight:500}
.shell-v3 .ts-ended .tag.attn{border-color:var(--border);background:var(--raised);color:var(--muted)}
.shell-v3 .ts-ended .line-people .why{color:var(--muted)}
.shell-v3 .ts-ended tr.ts-group+tr td{border-top:0}

/* the line editor: opened in place, under its row, on the row's green band */
.shell-v3 .ts-table tr.ts-editor-row>td{padding:0 24px 20px;border-top:0;background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
.shell-v3 .ts-editor{padding:18px 20px 16px;border:1px solid var(--accent-200);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--ts-shadow)}
.shell-v3 .ts-editor-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0 0 16px}
.shell-v3 .ts-editor-head h3{margin:0;font-size:15px;line-height:22px;font-weight:600}
.shell-v3 .ts-editor-head .ind-code{color:var(--muted);font-size:13px;font-weight:500}
.shell-v3 .ts-close{margin-left:auto;font-size:13px}
.shell-v3 .ts-editor .line-refusal{margin:0 0 14px}
.shell-v3 .ts-inherit{max-width:760px;margin:14px 0 0;padding:10px 12px;border-radius:var(--radius-field);background:var(--raised);color:var(--text);font-size:13px;line-height:19px}

/* fields: one height, fixed widths, the label above */
.shell-v3 .ts-form,.shell-v3 .ts .line-editor-form.ts-form{display:block;margin:0}
.shell-v3 .ts-row,.shell-v3 .ts-grid{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px 20px}
.shell-v3 .ts-row{gap:16px 28px}
.shell-v3 .ts-grid+.ts-grid,.shell-v3 .ed-place+.ts-grid,.shell-v3 .ts-grid+.ts-field,.shell-v3 .ts-note+.ts-field{margin-top:16px}
.shell-v3 .ts-field{display:grid;align-content:start;gap:6px;min-width:0;margin:0;color:var(--text);font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .ts-field>.hint{color:var(--muted);font-size:12px;line-height:16px;font-weight:400}
.shell-v3 .ts-field .opt{color:var(--muted);font-weight:400}
.shell-v3 .ts-field .field-error,.shell-v3 .ts-crow .field-error{font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .ts .w-d{width:176px}
.shell-v3 .ts .w-m{width:208px}
.shell-v3 .ts .w-l{width:300px}
.shell-v3 .ts .w-xl{width:420px}
.shell-v3 .ts .w-full{width:100%;max-width:720px}
.shell-v3 .ts input:not([type=checkbox]):not([type=radio]),.shell-v3 .ts select,.shell-v3 .ts textarea{width:100%;height:36px;margin:0;padding:0 12px;border:1px solid var(--control);border-radius:var(--radius-field);background-color:var(--ts-inset);box-shadow:inset 0 1px 1px rgba(18,28,23,.03);color:var(--text);font:inherit;font-size:14px;line-height:20px;font-weight:400;transition:border-color var(--t-fast) ease,background-color var(--t-fast) ease}
.shell-v3 .ts select{padding-right:32px;background:var(--ts-inset) var(--chev-down) right 11px center/12px no-repeat;-webkit-appearance:none;appearance:none;text-overflow:ellipsis}
.shell-v3 .ts textarea{height:auto;min-height:60px;padding:8px 12px;resize:vertical}
.shell-v3 .ts input:not([type=checkbox]):not([type=radio]):hover,.shell-v3 .ts select:hover,.shell-v3 .ts textarea:hover{border-color:#b4beb9}
.shell-v3 .ts input:not([type=checkbox]):not([type=radio]):focus-visible,.shell-v3 .ts select:focus-visible,.shell-v3 .ts textarea:focus-visible{border-color:var(--accent);background-color:var(--surface);outline:3px solid var(--accent-200);outline-offset:0}
.shell-v3 .ts input::placeholder,.shell-v3 .ts textarea::placeholder{color:var(--faint)}   /* 4.5:1 or more in every colour mode (was #89938e, 3.08:1) */
.shell-v3 .ts .has-error input:not([type=checkbox]):not([type=radio]),.shell-v3 .ts .has-error select{border-color:var(--negative)}
.shell-v3 .ts input[type=checkbox],.shell-v3 .ts input[type=radio]{width:16px;height:16px;margin:0;accent-color:var(--accent)}
.shell-v3 .ts-num{display:flex;align-items:center;gap:8px}
.shell-v3 .ts .ts-num input[type=number]{width:76px;text-align:right;font-variant-numeric:tabular-nums}
.shell-v3 .ts-num .u{color:var(--muted);font-size:13px;font-weight:400;white-space:nowrap}
.shell-v3 .ts-form-acts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:16px 0 0}
.shell-v3 .ts .form-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;max-width:none;margin:14px 0 0}
.shell-v3 .ts .form-row label{flex:none}
.shell-v3 .ts .step-form{display:block;margin:14px 0 0}
.shell-v3 .ts .btn.danger{border-color:#e7b3ab;background:var(--surface);color:var(--negative-ink)}
.shell-v3 .ts .btn.danger:hover{border-color:var(--negative);background:#fdf3f2}

/* People: a two-option segmented control, then the chain rows when the line names its own */
.shell-v3 .ts-seg-field{min-width:0;margin:0;padding:0;border:0}
.shell-v3 .ts-seg-field>legend{margin:0 0 6px;padding:0;font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .ts-seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:var(--radius-card);background:var(--ts-track);box-shadow:inset 0 0 0 1px rgba(18,28,23,.04)}
.shell-v3 .ts-seg label{position:relative;display:block;margin:0;cursor:pointer}
.shell-v3 .ts-seg input[type=radio]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.shell-v3 .ts-seg span{display:flex;align-items:center;height:30px;padding:0 14px;border-radius:var(--radius-field);color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap;transition:background-color var(--t-fast) ease,color var(--t-fast) ease,box-shadow var(--t-fast) ease}
.shell-v3 .ts-seg label:hover span{color:var(--text)}
.shell-v3 .ts-seg input:checked+span{background:var(--surface);color:var(--accent-ink);box-shadow:0 1px 2px rgba(18,28,23,.12),0 1px 1px rgba(18,28,23,.04)}
.shell-v3 .ts-seg input:focus-visible+span{outline:2px solid var(--accent);outline-offset:1px}
.shell-v3 .ts-crows{display:grid;gap:10px;margin:16px 0 0;padding:0;list-style:none;counter-reset:crow}
.shell-v3 .ts-crows:first-child{margin-top:0}
.shell-v3 .ts-crows>li{position:relative;padding-left:36px;counter-increment:crow}
.shell-v3 .ts-crows>li::before{content:counter(crow);position:absolute;top:7px;left:0;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent-100);color:var(--accent-ink);font-size:11px;line-height:1;font-weight:700}
.shell-v3 .ts-crows>li:not(:last-child)::after{content:"";position:absolute;top:31px;bottom:-9px;left:10.5px;width:1px;background:var(--accent-200)}
.shell-v3 .ts-crow{display:grid;grid-template-columns:116px minmax(0,380px) minmax(0,1fr);align-items:center;gap:4px 14px;margin:0;font-weight:400}
.shell-v3 .ts-crow .ts-role{font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .ts-crow .ts-cap{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-crow .field-error{grid-column:2/-1}
.shell-v3 .ts .person-marks-hint{max-width:720px;margin:14px 0 0;padding:1px 0 1px 12px;border-left:3px solid var(--ts-rail);background:none;color:var(--muted);font-size:13px;line-height:19px}

/* End this line: below the edit, folded, named in red */
.shell-v3 .ts-end{margin:18px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--rule);border-radius:0;background:none}
.shell-v3 .ts-end>summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;color:var(--negative-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-end>summary::before{border-color:currentColor}
.shell-v3 .ts-end>p{max-width:720px;margin:6px 0 0;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .ts-end .end-refusal{margin:10px 0 0}
.shell-v3 .ts-end form{align-items:flex-end;margin:12px 0 0}

/* adding indicators and PME lines: the register's foot, a row each, opened in place */
.shell-v3 .ts-adds{border-top:1px solid var(--rule)}
.shell-v3 .ts-table+.ts-adds{border-top-color:var(--border)}
.shell-v3 .ts-add+.ts-add{border-top:1px solid var(--rule)}
.shell-v3 .ts-add>summary{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:0 24px;border-radius:0;color:var(--accent-ink);font-size:14px;font-weight:600;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-add>summary::before{content:"";flex:none;width:20px;height:20px;margin:0;border:0;border-radius:50%;background:var(--accent-100) var(--ts-plus) center/12px no-repeat;transform:none}
.shell-v3 .ts-add[open]>summary::before{background-image:var(--ts-minus);transform:none}
.shell-v3 .ts-add>summary .adm-meta{font-weight:500}
.shell-v3 .ts-add>summary:hover{background:var(--ts-hover)}
.shell-v3 .ts-add-body{padding:0 24px 20px}
.shell-v3 .ts .add-form input.table-filter,.shell-v3 .ts .ts-where input.table-filter{display:block;width:320px;max-width:100%;height:34px;margin:14px 0 0;padding:0 12px 0 34px;background:var(--ts-inset) var(--ts-search) 11px center/14px no-repeat}
.shell-v3 .ts .filter-count{display:block;margin:6px 0 0;color:var(--muted);font-size:12px;line-height:16px}
.shell-v3 .ts .add-form .table-wrap{margin:8px 0 0;border:0;border-radius:0}
.shell-v3 .ts .add-table th{height:32px;padding:0 12px 0 0}
.shell-v3 .ts .add-table td{padding:10px 12px 10px 0}
.shell-v3 .ts .add-table .c-pick{width:40px;padding-left:12px;vertical-align:middle}
.shell-v3 .ts .add-table tbody tr td{transition:background-color var(--t-fast) ease}
.shell-v3 .ts .add-table tbody tr:hover td{background:var(--ts-hover)}
.shell-v3 .ts .add-table tbody tr:has(input:checked) td{background:var(--accent-50)}
.shell-v3 .ts .add-acts{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:12px;margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--rule)}
.shell-v3 .ts .add-acts .ts-field{width:280px}
.shell-v3 .ts .pme-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px;margin:14px 0 0}
.shell-v3 .ts .check-group{display:grid;align-content:start;gap:6px;min-width:0;margin:0;padding:0;border:0}
.shell-v3 .ts .check-group legend{margin:0 0 6px;padding:0;color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts .checkbox-line{display:flex;align-items:center;gap:10px;min-height:38px;margin:0;padding:6px 12px;border:1px solid var(--border);border-radius:var(--radius-field);font-weight:400;cursor:pointer;transition:border-color var(--t-fast) ease,background-color var(--t-fast) ease}
.shell-v3 .ts .checkbox-line:hover{border-color:#b9c3be}
.shell-v3 .ts .checkbox-line:has(input:checked){border-color:var(--accent-200);background:var(--accent-50)}
.shell-v3 .ts .pme-form .add-acts{grid-column:1/-1}
.shell-v3 .ts .pme-withheld{color:var(--text)}

/* the sheet's quieter actions and its history: one card, a folded row each, End all lines last */
.shell-v3 .ts-more{overflow:hidden}
.shell-v3 .ts-act+.ts-act{border-top:1px solid var(--rule)}
.shell-v3 .ts-act>summary{display:grid;grid-template-columns:minmax(150px,200px) minmax(0,1fr) 12px;align-items:center;gap:2px 20px;width:100%;min-height:54px;padding:10px 24px;border-radius:0;color:var(--text);font-size:14px;line-height:20px;font-weight:400;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-act>summary::before{content:none}
.shell-v3 .ts-act>summary::after{content:"";width:12px;height:12px;background:var(--muted);transform:rotate(90deg);transition:transform var(--t) ease;-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
.shell-v3 .ts-act[open]>summary::after{transform:rotate(-90deg)}
.shell-v3 .ts-act>summary:hover{background:var(--ts-hover)}
.shell-v3 .ts-act>summary .t{font-weight:600}
.shell-v3 .ts-act>summary .d{min-width:0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-act.danger>summary .t{color:var(--negative-ink)}
.shell-v3 .ts-act-body{padding:2px 24px 20px}
.shell-v3 .ts-act-body .generate-position{max-width:760px;margin:8px 0 0;color:var(--text);font-size:13px;line-height:19px}
.shell-v3 .ts-history .table-wrap{border:0;border-radius:0}
.shell-v3 .ts-history .audit-table{min-width:0}
.shell-v3 .ts-history .audit-table th{position:static;background:none;border-bottom:0;color:var(--muted);font-size:12px;font-weight:500}
.shell-v3 .ts-history .audit-table td{border-top:1px solid var(--rule);border-bottom:0}

/* the set-up editor: one card of sections, a title column beside the fields; timing folded; the reason at its foot */
.shell-v3 .ts-ed{display:grid;min-width:0;margin:0}
.shell-v3 .ts .sheet-editor{display:grid;gap:16px;min-width:0}
.shell-v3 .ts .sheet-editor>.flash{margin:0}
.shell-v3 .ts-ed-card{overflow:hidden}
.shell-v3 .ts-sec{display:grid;grid-template-columns:200px minmax(0,1fr);gap:12px 32px;padding:22px 28px;border-top:1px solid var(--rule)}
.shell-v3 .ts-sec:first-child{border-top:0}
.shell-v3 .ts-sec-head{min-width:0}
.shell-v3 .ts-sec-head h2{margin:0;font-size:15px;line-height:22px;font-weight:600}
.shell-v3 .ts-sec-head>p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-sec-body{min-width:0}
.shell-v3 .ts-help{position:relative;margin:10px 0 0}
.shell-v3 .ts-help>summary{min-height:24px;color:var(--accent-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-help>p{position:absolute;z-index:8;top:30px;left:0;width:min(440px,calc(100vw - 48px));margin:0;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-float);color:var(--text);font-size:13px;line-height:19px}
.shell-v3 .ed-place{display:grid;gap:2px;max-width:720px;padding:10px 14px;border-radius:var(--radius-field);background:var(--raised)}
.shell-v3 .ed-place.has-error{box-shadow:inset 3px 0 0 var(--negative)}
.shell-v3 .ed-place-label{color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ed-place-value{font-weight:600}
.shell-v3 .ts .ed-own{margin-top:14px}
.shell-v3 .ts-disclose>summary{display:flex;align-items:center;gap:12px;width:100%;max-width:760px;min-height:40px;padding:0 14px;border:1px solid var(--border);border-radius:var(--radius-field);background:var(--ts-inset);color:var(--text);font-size:14px;font-weight:400;transition:border-color var(--t-fast) ease}
.shell-v3 .ts-disclose>summary::before{content:none}
.shell-v3 .ts-disclose>summary:hover{border-color:#b9c3be}
.shell-v3 .ts-disclose .summary-values{min-width:0;color:var(--text);font-size:14px;line-height:20px}
.shell-v3 .ts-disclose .ed-change{margin-left:auto;color:var(--accent-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-disclose[open]>summary{margin-bottom:16px}
.shell-v3 .ts-disclose[open] .ed-change{visibility:hidden}
.shell-v3 .ts-ed-foot{padding:16px 28px 18px;border-top:1px solid var(--rule);background:linear-gradient(180deg,var(--raised) 0%,#f8faf9 100%)}
.shell-v3 .ts-savebar{position:sticky;bottom:12px;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 12px;margin:16px 0 0;padding:10px 12px 10px 20px;border:1px solid var(--border);border-radius:var(--radius-card);background:rgba(255,255,255,.96);box-shadow:var(--ts-lift);-webkit-backdrop-filter:saturate(1.2) blur(6px);backdrop-filter:saturate(1.2) blur(6px)}
.shell-v3 .ts-savebar .savebar-note{margin-right:auto}
.shell-v3 .ts-unsaved{display:none;align-items:center;gap:8px;margin-right:auto;color:var(--warning-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-unsaved::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--dot-due)}
.shell-v3 .ts form[data-dirty] .ts-unsaved{display:inline-flex}
.shell-v3 .ts form[data-dirty] .savebar-note{display:none}

/* a new sheet: two numbered steps, then the indicators on the sheet's page */
.shell-v3 .ts-steps{display:flex;flex-wrap:wrap;align-items:center;gap:8px 0;margin:0;padding:0;list-style:none}
.shell-v3 .ts-steps li{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;line-height:20px;font-weight:500}
.shell-v3 .ts-steps li+li::before{content:"";width:44px;height:2px;margin:0 2px 0 14px;border-radius:2px;background:var(--border)}
.shell-v3 .ts-steps li.done+li::before{background:var(--accent)}
.shell-v3 .ts-steps li.then::before{background:repeating-linear-gradient(90deg,var(--control) 0 4px,transparent 4px 8px)}
.shell-v3 .ts-steps .n{display:grid;place-items:center;width:28px;height:28px;border:1.5px solid var(--control);border-radius:50%;background:var(--surface);color:var(--muted);font-size:13px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}
.shell-v3 .ts-steps .now{color:var(--text);font-weight:600}
.shell-v3 .ts-steps .now .n{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 0 0 4px var(--accent-100)}
.shell-v3 .ts-steps .done{color:var(--text)}
.shell-v3 .ts-steps .done .n{border-color:var(--accent-200);background:var(--accent-100) var(--ts-check) center/13px no-repeat;color:transparent}
.shell-v3 .ts-steps .then{font-weight:400}
.shell-v3 .ts-where .ts-card-head{padding:20px 24px 2px}
.shell-v3 .ts-where .ts-card-head h2{font-size:18px;line-height:24px}
.shell-v3 .ts-where .new-problem{margin:12px 24px 0}
.shell-v3 .ts .ts-where input.table-filter{margin:14px 24px 0}
.shell-v3 .ts-where .filter-count{margin:6px 24px 0}
/* the places: one folded group per entity, the whole-entity choice first and set apart, then its locations */
.shell-v3 .ts-places{min-width:0;margin:12px 24px 0}
.shell-v3 .ts-group{border-top:1px solid var(--rule)}
.shell-v3 .ts-places>.ts-group:first-child{border-top:0}
.shell-v3 .ts-group>summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;width:100%;min-height:52px;padding:8px 2px;border-radius:0;color:var(--text);font-size:14px;line-height:20px;font-weight:400;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-group>summary::before{content:none}
.shell-v3 .ts-group>summary::after{content:"";flex:none;width:12px;height:12px;background:var(--muted);transform:rotate(90deg);transition:transform var(--t) ease;-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
.shell-v3 .ts-group[open]>summary::after{transform:rotate(-90deg)}
.shell-v3 .ts-group>summary:hover{background:var(--ts-hover)}
.shell-v3 .ts-group>summary .t{font-weight:600}
.shell-v3 .ts-group>summary .c{color:var(--muted);font-size:13px}
.shell-v3 .ts-group>summary .m{margin-left:auto;color:var(--muted);font-size:13px}
.shell-v3 .ts-group-body{padding:2px 0 18px}
.shell-v3 .ts-group-body>.ts-note{margin:0 0 10px}
.shell-v3 .ts-tiles-label,.shell-v3 .ts-groups-label{margin:14px 0 8px;color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts-groups-label{margin:20px 0 4px}
.shell-v3 .ts-groups-label+.ts-group{border-top:0}
.shell-v3 .ts-places:not(:has(.ts-groups-label ~ .ts-group:not([style*="display: none"]))) .ts-groups-label{display:none}
.shell-v3 .ts-tiles{display:flex;flex-wrap:wrap;gap:8px}
.shell-v3 .ts-tile{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:0 10px;width:264px;min-height:54px;margin:0;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);font-weight:400;cursor:pointer;transition:border-color var(--t-fast) ease,background-color var(--t-fast) ease,box-shadow var(--t-fast) ease}
.shell-v3 .ts-tile input[type=radio]{grid-row:1/span 2}
.shell-v3 .ts-tile .t{font-weight:600;line-height:20px}
.shell-v3 .ts-tile .s{grid-column:2;color:var(--muted);font-size:12px;line-height:16px}
.shell-v3 .ts-tile:hover{border-color:#b9c3be;background:var(--ts-hover)}
.shell-v3 .ts-tile.whole{width:536px;max-width:100%;border-style:dashed;background:var(--raised)}
.shell-v3 .ts-tile:has(input:checked){border-style:solid;border-color:var(--accent);background:var(--accent-50);box-shadow:inset 0 0 0 1px var(--accent)}
.shell-v3 .ts-tile:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.shell-v3 .ts-where>.ts-form-acts{margin:8px 24px 0;padding:16px 0 20px;border-top:1px solid var(--rule)}

/* Add indicators: what add_lines would refuse here, listed apart and not selectable */
.shell-v3 .ts-unavail{margin:14px 0 0}
.shell-v3 .ts-unavail>summary{min-height:28px;color:var(--muted);font-size:13px;font-weight:600}
.shell-v3 .ts-unavail-list{display:grid;margin:6px 0 0;padding:0;list-style:none}
.shell-v3 .ts-unavail-list li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;padding:8px 0 8px 12px;border-top:1px solid var(--rule);color:var(--muted)}
.shell-v3 .ts-unavail-list li:first-child{border-top:0}
.shell-v3 .ts-nobox{width:14px;height:14px;margin:3px 0 0;border:1.5px solid var(--control);border-radius:3px;background:var(--raised)}
.shell-v3 .ts-unavail-list .ind-name{color:var(--muted);font-weight:600}
.shell-v3 .ts-unavail-list .ind-code{color:var(--muted);font-size:13px}

/* the V3 top bar: a long page title (a sheet's or a person's name) ends in an ellipsis instead of running under the
   environment label beside it; the label itself stays (UX3-OBS-01) */
.shell-v3 .topbar-page{overflow:hidden;text-overflow:ellipsis}

@media (max-width:1080px){
  .shell-v3 .ts-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell-v3 .ts-facts>div:nth-child(3){border-left:0}
  .shell-v3 .ts-facts>div:nth-child(n+3){border-top:1px solid var(--rule)}
  .shell-v3 .ts-sec{grid-template-columns:minmax(0,1fr);gap:14px}
  .shell-v3 .ts-sec-head>p{max-width:640px}
  .shell-v3 .ts-help>p{top:30px}
  .shell-v3 .ts-crow{grid-template-columns:116px minmax(0,1fr)}
  .shell-v3 .ts-crow .ts-cap{grid-column:2}
  .shell-v3 .ts-act>summary{grid-template-columns:minmax(0,1fr) 12px}
  .shell-v3 .ts-act>summary .d{grid-column:1}
  .shell-v3 .ts-act>summary::after{grid-column:2;grid-row:1/span 2}
  .shell-v3 .env-version,.shell-v3 .account-text{display:none}
}
@media (max-width:760px){
  .shell-v3 .ts{gap:16px}
  .shell-v3 .ts .sheet-record{gap:16px}
  .shell-v3 .ts-hero-id{padding:14px 16px}
  .shell-v3 .ts-hero-acts{width:100%}
  .shell-v3 .ts-hero-acts .btn{flex:1 1 0}
  .shell-v3 .ts-facts{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-facts>div{grid-template-columns:104px minmax(0,1fr);gap:4px 12px;padding:12px 16px;border-left:0}
  .shell-v3 .ts-facts>div+div{border-top:1px solid var(--rule)}
  .shell-v3 .ts-facts dt{padding-top:2px}
  .shell-v3 .ts-pt{display:grid;gap:0}
  .shell-v3 .ts-pt .k{width:auto}
  .shell-v3 .ts-p:not(:last-child)::after{height:22px}
  .shell-v3 .ts-chain{gap:10px}
  .shell-v3 .ts-card-head{padding:16px 16px 8px}
  .shell-v3 .ts-attn{margin:0 16px 8px}
  .shell-v3 .ts-table th:first-child,.shell-v3 .ts-table td:first-child{padding-left:16px}
  .shell-v3 .ts-table th:last-child,.shell-v3 .ts-table td:last-child{padding-right:16px}
  .shell-v3 .ts-table tr.ts-editor-row>td{padding:0 12px 16px}
  .shell-v3 .ts-editor{padding:16px}
  .shell-v3 .ts-add>summary,.shell-v3 .ts-act>summary{padding-left:16px;padding-right:16px}
  .shell-v3 .ts-add-body,.shell-v3 .ts-act-body{padding-left:16px;padding-right:16px}
  .shell-v3 .ts-sec{padding:18px 16px}
  .shell-v3 .ts-ed-foot{padding:14px 16px 16px}
  .shell-v3 .ts .w-l,.shell-v3 .ts .w-xl{width:100%}
  .shell-v3 .ts-crows>li{padding-left:32px}
  .shell-v3 .ts-crow{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-crow .ts-cap{grid-column:1}
  .shell-v3 .ts-crow .field-error{grid-column:1}
  .shell-v3 .ts-crows>li::before{top:0}
  .shell-v3 .ts-crows>li:not(:last-child)::after{top:24px}
  .shell-v3 .ts .pme-form{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-places{margin:8px 16px 0}
  .shell-v3 .ts-group>summary .m{flex-basis:100%;margin-left:0;order:3}
  .shell-v3 .ts-group>summary::after{margin-left:auto;order:2}
  .shell-v3 .ts-where .ts-card-head{padding:18px 16px 2px}
  .shell-v3 .ts-where .new-problem,.shell-v3 .ts .ts-where input.table-filter,.shell-v3 .ts-where .filter-count{margin-left:16px;margin-right:16px}
  .shell-v3 .ts .ts-where input.table-filter{width:calc(100% - 32px);max-width:none}
  .shell-v3 .ts-where>.ts-form-acts{margin:12px 16px 0}
  .shell-v3 .ts-steps li+li::before{width:20px;margin:0 0 0 10px}
}
@media (max-width:640px){
  .shell-v3 .ts-name{display:block}
  .shell-v3 .ts-place{font-size:14px;line-height:20px}
  .shell-v3 .ts-table tr{padding:12px 16px}
  .shell-v3 .ts-table td,.shell-v3 .ts-table td:first-child,.shell-v3 .ts-table td:last-child{padding:0}
  .shell-v3 .ts-table tr.needs{background:#fffcf5;box-shadow:inset 3px 0 0 var(--ts-rail)}
  .shell-v3 .ts-table tr.needs td{background:none}
  .shell-v3 .ts-table tr.needs td:first-child{box-shadow:none}
  .shell-v3 .ts-table tr.is-editing{background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
  .shell-v3 .ts-table td.c-key{grid-column:2;grid-row:1;white-space:nowrap}
  .shell-v3 .ts-table td.c-act{grid-column:1/-1;text-align:left}
  .shell-v3 .ts-table td.c-act:empty{display:none}
  .shell-v3 .ts-table .ts-edit{min-height:44px;margin-left:-10px}
  .shell-v3 .ts-table tr.ts-editor-row{display:block;padding:0 8px 12px;border-top:0;background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
  .shell-v3 .ts-table tr.ts-editor-row>td{padding:0;background:none;box-shadow:none}
  .shell-v3 .ts-ended .ts-group{display:block;padding:0}
  .shell-v3 .ts-ended .ts-group th{display:block;padding:14px 16px 4px}
  .shell-v3 .ts .add-table tr{grid-template-columns:28px minmax(0,1fr) auto;align-items:start;padding:10px 0}
  .shell-v3 .ts .add-table td,.shell-v3 .ts .add-table .c-pick{padding:0}
  .shell-v3 .ts .add-table td:nth-child(3){text-align:right;color:var(--muted)}
  .shell-v3 .ts .add-table td:nth-child(4){display:none}
  .shell-v3 .ts .add-form input.table-filter{width:100%}
  .shell-v3 .ts .add-acts{justify-content:stretch}
  .shell-v3 .ts .add-acts .ts-field,.shell-v3 .ts .add-acts .btn{flex:1 1 100%;width:auto}
  .shell-v3 .ts-seg{display:flex;width:100%}
  .shell-v3 .ts-seg label{flex:1 1 0}
  .shell-v3 .ts-seg span{justify-content:center;padding:0 8px}
  .shell-v3 .ts .w-d,.shell-v3 .ts .w-m,.shell-v3 .ts .w-n{width:100%}
  .shell-v3 .ts .ts-grid>.w-d,.shell-v3 .ts .ts-grid>.w-m{width:calc(50% - 10px)}
  .shell-v3 .ts-num .u{white-space:normal}
  .shell-v3 .ts-form-acts .btn,.shell-v3 .ts .form-row .btn{flex:1 1 auto}
  .shell-v3 .ts .form-row label{flex:1 1 100%}
  .shell-v3 .ts-tile{width:100%}
  .shell-v3 .ts-savebar{bottom:8px;padding:10px 12px}
  .shell-v3 .ts-savebar .savebar-note{display:none}
  .shell-v3 .ts-savebar .btn{flex:1 1 0}
  .shell-v3 .ts-unsaved{flex-basis:100%}
  .shell-v3 .ts-steps{gap:8px 0}
  .shell-v3 .ts-steps li{font-size:13px}
  .shell-v3 .ts-steps li.then{flex-basis:100%;padding-left:2px}
  .shell-v3 .ts-steps li.then::before{display:none}
}

/* ---- P1 Wave 3B-2, Access Profiles, System Settings and Master Data (owner brief of 23 October 2026, "P1 WAVE 3B-2"),
   in the refined V3 language of Wave 3B-1 (the .ts rules above, which this block reuses and does not change) ----
   A page's lead line with its one action; Access Profiles as one register of lines, grouped by use, the capabilities
   every profile gives named once; a profile's record as the header card, the capability register in its six groups,
   its users and two folded rows; its editor as the sectioned card with capability tiles, a lock and its reason where
   the save would refuse a change, and the save bar; System Settings as one card of sections, a row per setting with
   its value in words and a Change button that opens the row's form on an inset panel; the notification events as
   switches; Master Data as the lists beside one card of read-only lines whose Edit opens in place. A restricted
   capability and a control setting carry the same small lock label, in the attention ink. Presentation only. Under
   1080px the facts, the capability groups and the settings rows take fewer columns and the lists sit above the card;
   under 760px everything is one column; under 640px the profile register becomes two-line rows. */
.shell-v3 .ts{--ts-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='2.25' y='5.25' width='7.5' height='5.5' rx='1.25'/%3E%3Cpath d='M4.1 5.25V3.9a1.9 1.9 0 0 1 3.8 0v1.35' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E")}

/* the lead: one line of figures or purpose, the page's one action at its right */
.shell-v3 .ts-lead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;min-width:0}
.shell-v3 .ts-lead-text{max-width:820px;margin:0;color:var(--muted);font-size:14px;line-height:20px}
.shell-v3 .ts-lead-text strong{color:var(--text);font-weight:600}
.shell-v3 .ts .sep{margin:0 2px;color:var(--control)}
/* a page that opens with its content (no back link) keeps the V3 gutter where the phone layout of My Tasks removes it */
.shell-v3 .content:has(> .ts){padding:20px 24px}
.shell-v3 .ts-mlabel{display:none}

/* the lock label: a restricted capability, a control setting */
.shell-v3 .ts-rx,.shell-v3 .ts-ctl{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px 0 7px;border:1px solid var(--warning-edge);border-radius:999px;background:var(--warning-bg);color:var(--warning-ink);font-size:11px;line-height:18px;font-weight:600;letter-spacing:.01em;white-space:nowrap;vertical-align:1px}
.shell-v3 .ts-rx::before,.shell-v3 .ts-ctl::before,.shell-v3 .ts-capname.rx::before,.shell-v3 .ts-captile .why::before{content:"";flex:none;width:9px;height:9px;background:currentColor;-webkit-mask:var(--ts-lock) center/9px no-repeat;mask:var(--ts-lock) center/9px no-repeat}
.shell-v3 .ts-capname.rx{color:var(--warning-ink);font-weight:500}
.shell-v3 .ts-capname.rx::before{display:inline-block;width:10px;height:10px;margin:0 4px 0 1px;vertical-align:-1px;-webkit-mask-size:10px;mask-size:10px}
.shell-v3 .ts-card-head .ts-capname.rx{font-weight:600}

/* Access Profiles: the register, grouped by use */
.shell-v3 .ts-prof th:nth-child(1){width:27%}
.shell-v3 .ts-prof th:nth-child(2){width:auto}
.shell-v3 .ts-prof th:nth-child(3){width:168px}
.shell-v3 .ts-prof th:nth-child(4){width:104px}
.shell-v3 .ts-prof td.c-more{color:var(--text);line-height:20px}
.shell-v3 .ts-prof tr.ts-group th{width:auto;height:auto;padding:18px 24px 6px;border-top:1px solid var(--rule);color:var(--muted);font-size:12px;line-height:16px;font-weight:600;text-align:left}
.shell-v3 .ts-prof tbody:first-of-type tr.ts-group th{padding-top:6px;border-top:0}
.shell-v3 .ts-prof tr.ts-group .n{margin-left:2px;color:var(--faint);font-weight:500;font-variant-numeric:tabular-nums}
.shell-v3 .ts-prof td.num{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .ts-sugg{font-size:13px;font-weight:500}

/* a profile's record: the header facts in four even columns, the capability register in its groups */
.shell-v3 .ts-facts.ap{grid-template-columns:repeat(4,minmax(0,1fr))}
.shell-v3 .ts-built{color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts-gives{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:6px 0 0;border-top:1px solid var(--rule)}
.shell-v3 .ts-give{min-width:0;padding:16px 24px 20px;border-left:1px solid var(--rule)}
.shell-v3 .ts-give:nth-child(3n+1){border-left:0}
.shell-v3 .ts-give:nth-child(n+4){border-top:1px solid var(--rule)}
.shell-v3 .ts-give h3{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:16px;font-weight:600;letter-spacing:0}
.shell-v3 .ts-give ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.shell-v3 .ts-give li{position:relative;display:grid;gap:2px;padding-left:26px}
.shell-v3 .ts-give li::before{content:"";position:absolute;top:2px;left:0;width:16px;height:16px;border-radius:50%;background:var(--accent-100) var(--ts-check) center/10px no-repeat}
.shell-v3 .ts-give .t{font-size:14px;line-height:20px;font-weight:600}
.shell-v3 .ts-give .d{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-not{margin:0;color:var(--faint);font-size:13px;line-height:18px}
.shell-v3 .ts-give ul+.ts-not{margin-top:14px;padding-top:12px;border-top:1px dashed var(--border)}
.shell-v3 .ts-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2px 24px;margin:0;padding:2px 24px 18px;list-style:none}
.shell-v3 .ts-people li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:0 12px;min-height:48px;padding:6px 0}
.shell-v3 .ts-people .ts-av{grid-row:1/span 2;width:28px;height:28px}
.shell-v3 .ts-people .n{min-width:0;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .ts-people .e{grid-column:2;min-width:0;color:var(--muted);font-size:13px;line-height:18px;overflow-wrap:anywhere}
.shell-v3 .ts-people li.off .ts-av{background:var(--raised);color:var(--muted)}
.shell-v3 .ts-people li.off .n,.shell-v3 .ts-people li.off .adm-name{color:var(--muted)}
.shell-v3 .ts-empty{margin:0;padding:2px 24px 20px;color:var(--muted);font-size:14px;line-height:20px;list-style:none}
.shell-v3 .ts-act-body .table-wrap{border:0;border-radius:0}
.shell-v3 .ts-screens{min-width:0}
.shell-v3 .ts-screens th{position:static;background:none;border-bottom:0;color:var(--muted);font-size:12px;font-weight:500}
.shell-v3 .ts-screens td{border-top:1px solid var(--rule);border-bottom:0}
.shell-v3 .ts-hist{display:grid;margin:0;padding:0;list-style:none}
.shell-v3 .ts-hist>li{display:grid;grid-template-columns:184px minmax(0,1fr);gap:2px 24px;padding:12px 0;border-top:1px solid var(--rule)}
.shell-v3 .ts-hist>li:first-child{border-top:0}
.shell-v3 .ts-hist .w{grid-row:1/span 2;display:grid;align-content:start;gap:2px;margin:0}
.shell-v3 .ts-hist .w span{display:block}
.shell-v3 .ts-hist .when{font-size:13px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .ts-hist .by{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-hist ul{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.shell-v3 .ts-hist ul li{font-size:14px;line-height:20px}
.shell-v3 .ts-hist .r{grid-column:2;margin:4px 0 0;color:var(--muted);font-size:13px;line-height:18px}

/* the profile editor: capability tiles in their groups; a lock says why the save would refuse the change */
.shell-v3 .ts-capgrid{display:grid;gap:20px}
.shell-v3 .ts-capgroup{display:grid;grid-template-columns:repeat(auto-fill,minmax(272px,1fr));gap:8px;min-width:0;margin:0;padding:0;border:0}
.shell-v3 .ts-capgroup>legend{margin:0 0 8px;padding:0;color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .ts-captile{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:0 12px;min-height:66px;margin:0;padding:11px 14px 12px 12px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);font-weight:400;cursor:pointer;transition:border-color var(--t-fast) ease,background-color var(--t-fast) ease}
.shell-v3 .ts-captile input[type=checkbox]{margin-top:2px}
.shell-v3 .ts-captile .b{display:grid;align-content:start;gap:3px;min-width:0}
.shell-v3 .ts-captile .t{font-size:14px;line-height:20px;font-weight:600}
.shell-v3 .ts-captile .d{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-captile .why{display:flex;align-items:flex-start;gap:6px;margin-top:5px;color:var(--warning-ink);font-size:13px;line-height:18px;font-weight:500}
.shell-v3 .ts-captile .why::before{margin-top:3px}
.shell-v3 .ts-captile:hover{border-color:#b9c3be;background:var(--ts-hover)}
.shell-v3 .ts-captile:has(input:checked),.shell-v3 .ts-captile:has(input:checked):hover{border-color:var(--accent-200);background:var(--accent-50)}
.shell-v3 .ts-captile:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.shell-v3 .ts-captile.is-locked{cursor:default}
.shell-v3 .ts-captile.is-locked:not(:has(input:checked)):hover{border-color:var(--border);background:var(--raised)}
.shell-v3 .ts-captile:has(input:disabled){border-style:dashed;background:var(--raised)}
.shell-v3 .ts-captile:has(input:disabled) .t{color:var(--muted)}
.shell-v3 .ts-note.ts-warn{max-width:none;margin:0 0 14px;padding:8px 12px;border-radius:var(--radius-field);background:var(--warning-bg);color:var(--warning-ink)}
.shell-v3 .ts-why{max-width:560px;margin:8px 0 0;color:var(--warning-ink);font-size:13px;line-height:18px}
/* an option the save would refuse: still readable, marked with the lock that its reason below carries */
.shell-v3 .ts-seg input:disabled+span{gap:6px;color:#636b67;font-weight:500;cursor:not-allowed}
.shell-v3 .ts-seg input:disabled+span::before{content:"";flex:none;width:9px;height:9px;background:currentColor;-webkit-mask:var(--ts-lock) center/9px no-repeat;mask:var(--ts-lock) center/9px no-repeat}
.shell-v3 .ts-seg label:has(input:disabled):hover span{color:#636b67}

/* System Settings: a row per setting, its value in words; Change opens the row's form on an inset panel */
.shell-v3 .ts-setlist{display:grid;margin:0;padding:0;list-style:none}
.shell-v3 .ts-set{position:relative;padding:12px 0;border-top:1px solid var(--rule)}
.shell-v3 .ts-set:first-child{padding-top:0;border-top:0}
.shell-v3 .ts-set:last-child{padding-bottom:0}
.shell-v3 .ts-set-line{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:4px 24px}
.shell-v3 .ts-settings:has(.ts-set-change) .ts-set-line{padding-right:96px}   /* room for Change, on every row while any has one */
.shell-v3 .ts-set-name{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0}
.shell-v3 .ts-set-name .t{font-size:14px;line-height:20px;font-weight:600}
.shell-v3 .ts-set-name .d{flex-basis:100%;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-set-value{display:grid;align-content:start;gap:2px;min-width:0}
.shell-v3 .ts-set-value .v{font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .ts-set-value .v.is-on::before,.shell-v3 .ts-set-value .v.is-off::before{content:"";display:inline-block;width:8px;height:8px;margin:0 8px 1px 0;border-radius:50%;background:var(--accent);vertical-align:middle}
.shell-v3 .ts-set-value .v.is-off::before{background:var(--dot-later)}
.shell-v3 .ts-set-value .s{color:var(--faint);font-size:12px;line-height:16px}
.shell-v3 .ts-set-change>summary{position:absolute;top:7px;right:0;display:inline-flex;align-items:center;height:30px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-field);background:var(--surface);color:var(--accent-ink);font-size:13px;font-weight:600;transition:border-color var(--t-fast) ease,background-color var(--t-fast) ease}
.shell-v3 .ts-set:first-child>.ts-set-change>summary{top:-5px}
.shell-v3 .ts-set-change>summary::before{content:none}
.shell-v3 .ts-set-change>summary:hover{border-color:var(--accent-200);background:var(--accent-50)}
.shell-v3 .ts-set-change>summary .x,.shell-v3 .ts-vrow>summary .x{display:none}
.shell-v3 .ts-set-change[open]>summary .c,.shell-v3 .ts-vrow[open]>summary .c{display:none}
.shell-v3 .ts-set-change[open]>summary .x,.shell-v3 .ts-vrow[open]>summary .x{display:inline}
.shell-v3 .ts-set-change[open]>summary{background:var(--raised);color:var(--text)}
.shell-v3 .ts-set-form{margin:12px 0 2px;padding:14px 16px 16px;border-radius:var(--radius-card);background:var(--ts-inset);box-shadow:inset 0 0 0 1px var(--border)}
.shell-v3 .ts-set-form .ts-grid{align-items:flex-start}
.shell-v3 .ts-set-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 12px;margin:14px 0 0}
.shell-v3 .ts-key{margin:0 auto 0 0;color:var(--muted);font-size:12px;line-height:16px}      /* the stored key, for support and the audit trail */
.shell-v3 .ts-key .code-token{color:var(--text)}
.shell-v3 .ts-refused{margin:0 0 14px;padding:8px 12px;border-left:3px solid var(--negative);border-radius:0 var(--radius-field) var(--radius-field) 0;background:#fdf3f2;color:var(--negative-ink);font-size:13px;line-height:19px;font-weight:500}
.shell-v3 .ts-set.is-refused .ts-set-name .t{color:var(--negative-ink)}

/* the notification events: a switch each, who receives it under its name */
.shell-v3 .ts-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;margin:0;padding:0 24px 6px;list-style:none}
.shell-v3 .ts-event{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;min-height:60px;padding:10px 0;border-top:1px solid var(--rule)}
.shell-v3 .ts-switch{display:inline-flex;align-items:center;gap:12px;margin:0;font-size:14px;line-height:20px;font-weight:600;cursor:pointer}
.shell-v3 .ts-switch input[type=checkbox]{position:relative;flex:none;width:34px;height:20px;margin:0;border-radius:999px;background:var(--control);-webkit-appearance:none;appearance:none;cursor:pointer;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-switch input[type=checkbox]::before{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(18,28,23,.24);transition:transform var(--t-fast) ease}
.shell-v3 .ts-switch input[type=checkbox]:checked{background:var(--accent)}
.shell-v3 .ts-switch input[type=checkbox]:checked::before{transform:translateX(14px)}
.shell-v3 .ts-switch input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.shell-v3 .ts-switch input[type=checkbox]:disabled{opacity:.55;cursor:default}
.shell-v3 .ts-event .r{flex-basis:100%;padding-left:46px;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-unsent{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;background:var(--segment);color:var(--muted);font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}
.shell-v3 .ts-event.unavailable .ts-switch{color:var(--muted)}
/* the events' save: the card's own foot, not floating, so it never covers an event */
.shell-v3 .ts-notif .ts-savebar{position:static;margin:4px 0 0;padding:12px 24px 16px;border:0;border-top:1px solid var(--rule);border-radius:0 0 var(--radius-card) var(--radius-card);background:linear-gradient(180deg,var(--raised) 0%,#f8faf9 100%);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}

/* Master Data: the lists beside one card; a read-only line per value, Edit opening it in place */
.shell-v3 .ts-md{display:grid;grid-template-columns:216px minmax(0,1fr);align-items:start;gap:20px;min-width:0}
.shell-v3 .ts-lists{display:grid;gap:2px;min-width:0}
.shell-v3 .ts-lists a{display:flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid transparent;border-radius:var(--radius-field);color:var(--muted);font-weight:500;text-decoration:none;transition:background-color var(--t-fast) ease,color var(--t-fast) ease}
.shell-v3 .ts-lists a:hover{background:rgba(255,255,255,.7);color:var(--text)}
.shell-v3 .ts-lists a[aria-current="page"]{border-color:var(--border);background:var(--surface);color:var(--accent-ink);font-weight:600}
.shell-v3 .ts-md .w-n{width:120px}
.shell-v3 .ts-adds-top .ts-add-body .flash{margin:0 0 14px}
.shell-v3 .ts-vals{margin:0;padding:0;list-style:none;border-top:1px solid var(--border)}
.shell-v3 .ts-val{border-top:1px solid var(--rule)}
.shell-v3 .ts-val:first-child{border-top:0}
.shell-v3 .ts-vrow>summary,.shell-v3 .ts-vrow-line{display:grid;grid-template-columns:minmax(72px,132px) minmax(0,1fr) minmax(0,1.3fr) auto 52px;align-items:center;gap:4px 16px;width:100%;min-height:50px;padding:8px 24px;border-radius:0;color:var(--text);font-size:14px;line-height:20px;font-weight:400;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-vrow-line{grid-template-columns:minmax(72px,132px) minmax(0,1fr) minmax(0,1.3fr) auto}
.shell-v3 .ts-vrow>summary::before{content:none}
.shell-v3 .ts-vrow>summary:hover{background:var(--ts-hover)}
.shell-v3 .ts-vrow[open]>summary{background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
.shell-v3 .ts-val .k{color:var(--accent-ink);font-size:13px;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .ts-val .n{font-weight:600;overflow-wrap:anywhere}
.shell-v3 .ts-val .m{color:var(--muted);font-size:13px;line-height:18px;overflow-wrap:anywhere}
.shell-v3 .ts-val .st{display:flex;justify-content:flex-end;gap:8px;font-size:13px;white-space:nowrap}
.shell-v3 .ts-val .st .cond{color:var(--warning-ink)}
.shell-v3 .ts-val .st .sys{color:var(--faint);font-weight:500}
.shell-v3 .ts-val .e{justify-self:end;color:var(--accent-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-val.off .n{color:var(--muted)}
.shell-v3 .ts-vrow-body{padding:4px 24px 18px;background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
.shell-v3 .ts-vrow-body>.flash{margin:0 0 12px}
.shell-v3 .ts-vrow-body .ts-form{padding:14px 16px 16px;border:1px solid var(--accent-200);border-radius:var(--radius-card);background:var(--surface)}
.shell-v3 .ts-vrow-body .ts-form-acts{margin-top:14px}
.shell-v3 .ts-vals>.ts-empty{padding:18px 24px}

@media (max-width:1080px){
  .shell-v3 .ts-facts.ap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell-v3 .ts-gives{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell-v3 .ts-give:nth-child(3n+1){border-left:1px solid var(--rule)}
  .shell-v3 .ts-give:nth-child(2n+1){border-left:0}
  .shell-v3 .ts-give:nth-child(n+3){border-top:1px solid var(--rule)}
  .shell-v3 .ts-hist>li{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-hist .w{grid-row:auto;display:flex;flex-wrap:wrap;gap:0 10px}
  .shell-v3 .ts-hist .r{grid-column:1}
  .shell-v3 .ts-set-line{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-events{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-md{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-lists{display:flex;flex-wrap:wrap;gap:6px}
  .shell-v3 .ts-lists a{min-height:32px;border:1px solid var(--border);background:var(--surface);font-size:13px}
  .shell-v3 .ts-lists a[aria-current="page"]{border-color:var(--accent-200);background:var(--accent-50);box-shadow:none}
}
@media (max-width:760px){
  .shell-v3 .ts-facts.ap{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-gives{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-gives>.ts-give{padding:14px 16px 16px;border-left:0;border-top:1px solid var(--rule)}
  .shell-v3 .ts-gives>.ts-give:first-child{border-top:0}
  .shell-v3 .ts-people{grid-template-columns:minmax(0,1fr);padding:2px 16px 14px}
  .shell-v3 .ts-empty{padding:2px 16px 16px}
  .shell-v3 .ts-prof tr.ts-group th{padding:16px 16px 6px}
  .shell-v3 .ts-capgroup{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-settings:has(.ts-set-change) .ts-set-line{padding-right:84px}
  .shell-v3 .ts-set-form{padding:12px 12px 14px}
  .shell-v3 .ts-events{padding:0 16px 6px}
  .shell-v3 .ts-vrow>summary,.shell-v3 .ts-vrow-line{grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 16px}
  .shell-v3 .ts-val .k,.shell-v3 .ts-val .n,.shell-v3 .ts-val .m{grid-column:1}
  .shell-v3 .ts-val .st{grid-column:2;grid-row:1}
  .shell-v3 .ts-val .e{grid-column:2;grid-row:2}
  .shell-v3 .ts-vrow-body{padding:4px 12px 14px}
  .shell-v3 .ts-vals>.ts-empty{padding:16px}
  .shell-v3 .content:has(> .ts){padding:20px 16px 40px}
  .shell-v3 .ts-notif .ts-savebar{padding:12px 16px 14px}
}
@media (max-width:640px){
  .shell-v3 .ts-prof tr.ts-group{display:block;padding:14px 16px 4px;border-top:1px solid var(--rule)}
  .shell-v3 .ts-prof tbody:first-of-type tr.ts-group{border-top:0}
  .shell-v3 .ts-prof tr.ts-group th,.shell-v3 .ts-prof tbody:first-of-type tr.ts-group th{display:block;padding:0;border:0}
  .shell-v3 .ts-prof td.num{font-size:14px}
  .shell-v3 .ts-mlabel{display:inline}
  .shell-v3 .ts-lead .page-actions,.shell-v3 .ts-lead .page-actions .btn{width:100%}
  .shell-v3 .ts-lead .page-actions .btn.page-help{width:auto}               /* M08: a page's Help keeps its own width */
  .shell-v3 .ts-set-acts .btn{flex:1 1 auto}
  .shell-v3 .ts-set-change>summary{top:2px;height:40px}                     /* a 40px touch target on a phone */
  .shell-v3 .ts-set:first-child>.ts-set-change>summary{top:-10px}
}

/* ---- P1 Wave 3B-3, the Indicator Library, the Organisation masters and the Audit Trail (owner brief of 24 October
   2026, "P1 WAVE 3B-3"), in the refined V3 language of Waves 3B-1 and 3B-2 (the .ts rules above, reused, not changed) ----
   Lists as one card with a toolbar and one line per record; records as the header card, the facts, then cards; the
   effective-dated register (a definition's versions, an entity's statuses, a location's people and boundary) as dated
   rows on one rail, the current one marked; editors as one card of sections with the save bar, the indicator's
   reference fields folded; the Audit Trail as the events under each day, each one line that opens in place. Every
   change history says each change as its label with the value before and after (services/audit_words), in either
   shell, the stored values one step away. Presentation only. Under 1080px the facts and the registers take fewer
   columns; under 760px everything is one column; under 640px the lists become two-line rows. */

/* every change history, in either shell: one change per line; the values as stored one step away */
.change-lines{display:grid;gap:3px;margin:0;padding:0;list-style:none;font-size:13px;line-height:19px;overflow-wrap:anywhere}
.change-lines .k{color:var(--muted);font-weight:500}
.change-lines .to{margin:0 2px;color:var(--faint,#646d68)}
.ts-stored{margin:6px 0 0}
.ts-stored>summary{display:inline-flex;align-items:center;min-height:24px;color:var(--accent-ink,#0c3e2a);font-size:12px;font-weight:600;cursor:pointer}
.ts-stored>.change-lines,.ts-stored>.change-values{margin:6px 0 2px}
.ts-stored code{font-size:12px;overflow-wrap:anywhere;word-break:break-word}

/* a list's toolbar: the search and its filters on one line, inside the list's card */
.shell-v3 .ts-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:0;padding:16px 24px 14px;border-bottom:1px solid var(--rule)}
.shell-v3 .ts-toolbar .ts-field{gap:0}
.shell-v3 .ts .ts-search{padding-left:34px!important;background:var(--ts-inset) var(--ts-search) 11px center/14px no-repeat!important}
.shell-v3 .ts .w-n{width:96px}
.shell-v3 .ts-cond{display:block;margin-top:2px;color:var(--warning-ink);font-size:13px;line-height:18px;font-weight:500}
.shell-v3 .ts-table td.c-key .ts-cond{margin-top:4px}

/* the lead's menu of rarer actions (export, import, add a location type) */
.shell-v3 .ts-menu{position:relative}
.shell-v3 .ts-menu>summary{list-style:none}
.shell-v3 .ts-menu>summary::-webkit-details-marker{display:none}
.shell-v3 .ts-menu>summary::before{content:none}
.shell-v3 .ts-menu>summary::after{content:"";width:10px;height:10px;margin-left:8px;background:currentColor;transform:rotate(90deg);-webkit-mask:var(--chev) center/10px no-repeat;mask:var(--chev) center/10px no-repeat}
.shell-v3 .ts-menu-list{position:absolute;z-index:9;top:calc(100% + 6px);right:0;display:grid;min-width:220px;margin:0;padding:6px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--ts-lift);list-style:none}
.shell-v3 .ts-menu-list a{display:flex;align-items:center;min-height:36px;padding:0 10px;border-radius:var(--radius-field);color:var(--text);font-weight:500;text-decoration:none}
.shell-v3 .ts-menu-list a:hover{background:var(--ts-hover);color:var(--accent-ink)}

/* list columns */
.shell-v3 .ts-ents th:nth-child(n),.shell-v3 .ts-sites th:nth-child(n),.shell-v3 .ts-inds th:nth-child(n),.shell-v3 .ts-locs th:nth-child(n),.shell-v3 .ts-maps th:nth-child(n){width:auto}
.shell-v3 .ts-ents th:nth-child(1){width:34%}
.shell-v3 .ts-ents th:nth-child(5){width:200px}
.shell-v3 .ts-sites th:nth-child(1){width:36%}
.shell-v3 .ts-sites th:nth-child(2){width:96px}
.shell-v3 .ts-sites th:nth-child(5){width:120px}
.shell-v3 .ts-inds th:nth-child(1){width:30%}
.shell-v3 .ts-inds th:nth-child(2){width:184px}
.shell-v3 .ts-inds th:nth-child(4){width:236px}
.shell-v3 .ts-inds th:nth-child(5){width:96px}
.shell-v3 .ts-inds thead th{white-space:nowrap}       /* Batch B final acceptance correction: "Mappings" never breaks inside the word */
.shell-v3 .ts-inds tr.ts-group th,.shell-v3 .ts-inds tbody:first-of-type tr.ts-group th{width:auto;height:auto;padding:18px 24px 6px;border-top:1px solid var(--rule);color:var(--muted);font-size:12px;line-height:16px;font-weight:600;text-align:left}
.shell-v3 .ts-inds tbody:first-of-type tr.ts-group th{padding-top:12px;border-top:0}
.shell-v3 .ts-inds tr.ts-group .n{margin-left:2px;color:var(--faint);font-weight:500;font-variant-numeric:tabular-nums}
.shell-v3 .ts-inds .ts-ver{font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .ts-locs th:nth-child(1){width:40%}
.shell-v3 .ts-maps th:nth-child(1){width:38%}
.shell-v3 .ts-maps th:nth-child(5){width:220px}
.shell-v3 .ts-table td.c-key{white-space:nowrap}
/* a location's status as its word with a dot: active in green, planned and suspended in amber, ended in grey */
.shell-v3 .ts-st{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500}
.shell-v3 .ts-st::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--dot-later)}
.shell-v3 .ts-st.st-active::before{background:var(--accent)}
.shell-v3 .ts-st.st-planned::before,.shell-v3 .ts-st.st-suspended::before{background:var(--dot-due)}
.shell-v3 .ts-st.st-completed,.shell-v3 .ts-st.st-closed,.shell-v3 .ts-st.st-cancelled,.shell-v3 .ts-st.st-inactive{color:var(--muted)}

/* a record's read-only list: label above value, two columns, a wide row across both */
.shell-v3 .ts-defs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin:0;padding:4px 24px 20px}
.shell-v3 .ts-defs>div{display:grid;align-content:start;gap:3px;min-width:0;padding:12px 0;border-top:1px solid var(--rule)}
.shell-v3 .ts-defs>div:nth-child(-n+2){border-top:0}
.shell-v3 .ts-defs>div.wide{grid-column:1/-1}
.shell-v3 .ts-defs>div.wide+div{border-top:1px solid var(--rule)}
.shell-v3 .ts-defs dt{color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts-defs dd{margin:0;font-size:14px;line-height:21px;overflow-wrap:anywhere}
.shell-v3 .ts-defs dd .sub{display:block;margin-top:2px;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .ts-defs code{font-size:13px}
.shell-v3 .ts-act-body .ts-defs{padding:0}
.shell-v3 .ts-prose{max-width:760px;margin:0 0 8px;font-size:14px;line-height:21px}

/* the effective-dated register: dated rows on one rail, the current one marked, a draft dashed */
.shell-v3 .ts-effs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;padding:4px 24px 20px}
.shell-v3 .ts-eff-col h3{margin:0 0 10px;color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .ts-eff{position:relative;display:grid;gap:12px;margin:0;padding:0 0 0 20px;list-style:none}
.shell-v3 .ts-card>.ts-eff{margin:4px 24px 20px}
.shell-v3 .ts-eff::before{content:"";position:absolute;top:6px;bottom:6px;left:4px;width:2px;border-radius:2px;background:var(--ts-track)}
.shell-v3 .ts-eff>li{position:relative;display:grid;gap:1px;min-width:0}
.shell-v3 .ts-eff>li::before{content:"";position:absolute;top:5px;left:-20px;width:10px;height:10px;border:2px solid var(--control);border-radius:50%;background:var(--surface)}
.shell-v3 .ts-eff>li.is-cur::before{border-color:var(--accent);background:var(--accent);box-shadow:0 0 0 3px var(--accent-100)}
.shell-v3 .ts-eff>li.is-draft::before{border-style:dashed;border-color:var(--ts-rail);background:var(--surface)}
.shell-v3 .ts-eff>li.is-none::before{display:none}
.shell-v3 .ts-eff>li.is-none{color:var(--muted);font-size:14px}
.shell-v3 .ts-eff:has(>li.is-none:only-child){padding-left:0}
.shell-v3 .ts-eff:has(>li.is-none:only-child)::before{display:none}
.shell-v3 .ts-eff .d{font-size:13px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .ts-eff .d .link{margin-right:6px}
.shell-v3 .ts-eff .d .to{margin:0 3px;color:var(--faint);font-weight:400}
.shell-v3 .ts-eff .v{font-size:14px;line-height:20px;font-weight:500}
.shell-v3 .ts-eff li.is-cur .v{color:var(--accent-ink);font-weight:600}
.shell-v3 .ts-eff li.is-draft .v{color:var(--warning-ink);font-weight:600}
.shell-v3 .ts-eff .r{color:var(--muted);font-size:13px;line-height:18px;overflow-wrap:anywhere}

/* a card's quieter parts: the add links in its head, a note at its foot, an action in its head */
.shell-v3 .ts-addlinks{flex-basis:100%;margin:0;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .ts-addlinks .link{font-weight:600}
.shell-v3 .ts-foot-note{margin:0;padding:12px 24px 18px;border-top:1px solid var(--rule);color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .ts-head-act{margin:0 0 0 auto}
.shell-v3 .ts-card-head .ts-head-act+p{flex-basis:100%}

/* the Group Structure (final correction): a tree of disclosure rows. Each list hangs from its parent's button on one thin
   line, an elbow into each row; on a desk the type, the holdings and the status keep their own columns at the right, so
   they line up at every depth (the indent narrows the name column only); below 1280px they move to a second line. Every
   cell's first line sits in the row's first band, whose middle the elbow meets, so a name or a holding that wraps never
   moves the line; nothing is cut short */
.shell-v3 .ts-org{--tn-tog:24px;--tn-tog-h:24px;--tn-indent:24px;--tn-pad:0px;--tn-band:36px;--tn-mid:calc(var(--tn-pad) + var(--tn-band) / 2);
  --tn-gap:8px;--tn-line:#d3dcd7}
.shell-v3 .tn-sprite{position:absolute;width:0;height:0;overflow:hidden}
.shell-v3 .tn-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:4px 24px 14px;border-bottom:1px solid var(--rule)}
.shell-v3 .tn-find{flex:1 1 320px;max-width:520px;margin:0}
.shell-v3 .tn-find input{width:100%;height:36px;padding-right:12px;border:1px solid var(--control);border-radius:var(--radius-field);color:var(--text);font:inherit;font-size:14px}
.shell-v3 .tn-all{display:flex;gap:4px}
.shell-v3 .tn-all .btn{height:36px;padding:0 12px;font-size:13px;line-height:18px}
.shell-v3 .tn-count{flex:1 1 auto;margin:0;color:var(--muted);font-size:13px;line-height:18px;text-align:right;font-variant-numeric:tabular-nums}
.shell-v3 .tn-count:empty{display:none}
.shell-v3 .tn-tree,.shell-v3 .tn-kids{margin:0;padding:0;list-style:none}
.shell-v3 .tn-tree{padding:12px 24px 20px}
.shell-v3 .tn-kids{padding-left:var(--tn-indent)}
.shell-v3 .tn{position:relative;margin:0}
.shell-v3 .tn-kids>.tn::before{content:"";position:absolute;top:0;bottom:0;left:calc(var(--tn-tog) / 2 - var(--tn-indent));border-left:1px solid var(--tn-line)}
.shell-v3 .tn-kids>.tn:last-child::before,.shell-v3 .tn-kids>.tn.is-end::before{bottom:calc(100% - var(--tn-mid))}
.shell-v3 .tn-kids>.tn::after{content:"";position:absolute;top:var(--tn-mid);left:calc(var(--tn-tog) / 2 - var(--tn-indent));width:calc(var(--tn-indent) - var(--tn-tog) / 2 - 2px);border-top:1px solid var(--tn-line)}
.shell-v3 .tn-kids>.tn.is-leaf::after{width:calc(var(--tn-indent) + var(--tn-tog) / 2 + 2px)}
.shell-v3 .tn-row{position:relative;display:grid;grid-template-columns:var(--tn-tog) minmax(0,1fr) 13rem 15rem 10rem;align-items:start;column-gap:var(--tn-gap);min-height:calc(var(--tn-band) + var(--tn-pad) * 2);padding:var(--tn-pad) 0;border-radius:6px}
.shell-v3 .tn-row:has(>[aria-expanded="true"])::after{content:"";position:absolute;top:calc(var(--tn-mid) + var(--tn-tog-h) / 2);bottom:0;left:calc(var(--tn-tog) / 2);border-left:1px solid var(--tn-line)}
.shell-v3 .tn-row:hover{background:var(--ts-hover)}
.shell-v3 .tn-row>*{grid-row:1}
.shell-v3 .tn-tog{display:inline-flex;align-items:center;justify-content:center;width:var(--tn-tog);height:var(--tn-tog-h);margin:calc(var(--tn-mid) - var(--tn-pad) - var(--tn-tog-h) / 2) 0 0;padding:0;border:0;border-radius:5px;background:none;color:var(--muted);cursor:pointer}
.shell-v3 span.tn-tog{cursor:default}
.shell-v3 button.tn-tog:hover{background:var(--segment);color:var(--text)}
.shell-v3 .tn-chev{flex:none;width:24px;height:24px;background:currentColor;-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat;transition:transform var(--t-fast) ease}
.shell-v3 [aria-expanded="true"]>.tn-chev{transform:rotate(90deg)}
@media (prefers-reduced-motion:reduce){.shell-v3 .tn-chev{transition:none}}
.shell-v3 .tn-row>.tn-grp{grid-column:1/-1;justify-content:flex-start;gap:var(--tn-gap);width:auto;min-height:var(--tn-band);height:auto;margin:0;padding:0 10px 0 0;color:var(--muted);font:inherit;font-size:13px;line-height:18px;font-weight:500;text-align:left}
.shell-v3 .tn-row>.tn-grp:hover{background:none;color:var(--text)}
.shell-v3 .tn-grp .tn-chev{border-radius:5px}
.shell-v3 .tn-grp:hover .tn-chev{background-color:var(--text)}
.shell-v3 .tn-n{padding:0 7px;border-radius:999px;background:var(--segment);color:var(--text);font-size:12px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .tn-main{grid-column:2;position:relative;display:block;min-width:0;padding:calc(var(--tn-mid) - var(--tn-pad) - 10px) 0 0 calc(16px + var(--tn-gap))}
.shell-v3 .tn-ico{position:absolute;top:calc(var(--tn-mid) - var(--tn-pad) - 8px);left:0;width:16px;height:16px;fill:none;stroke:#7a837e;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.shell-v3 .tn-name{color:var(--text);font-size:14px;line-height:20px;font-weight:500;text-decoration:none;overflow-wrap:break-word}
.shell-v3 .is-pme>.tn-row .tn-name{white-space:nowrap}
.shell-v3 a.tn-name:hover{color:var(--accent-ink);text-decoration:underline;text-underline-offset:2px}
.shell-v3 .tn-code{display:inline-block;margin-left:var(--tn-gap);color:var(--muted);font-size:12px;line-height:20px;white-space:nowrap;font-variant-numeric:tabular-nums}
.shell-v3 .tn-meta{display:contents}
.shell-v3 .tn-type,.shell-v3 .tn-detail{min-width:0;padding-top:calc(var(--tn-mid) - var(--tn-pad) - 9px);color:var(--muted);font-size:13px;line-height:18px;overflow-wrap:break-word}
.shell-v3 .tn-type{grid-column:3}
.shell-v3 .tn-detail{grid-column:4}
.shell-v3 .tn-st{grid-column:5;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;padding-top:calc(var(--tn-mid) - var(--tn-pad) - 12px)}
.shell-v3 .is-entity>.tn-row .tn-name{font-weight:600}
.shell-v3 .is-root>.tn-row{background:var(--accent-50)}
.shell-v3 .is-root>.tn-row .tn-name{font-size:15px}
.shell-v3 .is-root>.tn-row .tn-ico{stroke:var(--accent)}
.shell-v3 .tn.is-hit>.tn-row .tn-name{border-radius:3px;background:var(--accent-100);box-shadow:0 0 0 2px var(--accent-100);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.shell-v3 .tn-note{margin:0;padding:12px 24px 18px;border-top:1px solid var(--rule);color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .tn-none{padding-top:4px}
@media (max-width:1279px){
  .shell-v3 .help-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .shell-v3 .ts-org{--tn-pad:4px;--tn-band:24px}
  .shell-v3 .tn-row{grid-template-columns:var(--tn-tog) minmax(0,1fr) auto}
  .shell-v3 .tn-st{grid-column:3}
  .shell-v3 .tn-meta{display:block;grid-column:2/-1;grid-row:2;padding-left:calc(16px + var(--tn-gap));color:var(--muted);font-size:12px;line-height:17px}
  .shell-v3 .tn-meta:has(>.tn-type:empty+.tn-detail:empty){display:none}
  .shell-v3 .tn-type,.shell-v3 .tn-detail{display:inline;padding-top:0;font-size:12px;line-height:17px}
  .shell-v3 .tn-type:not(:empty)+.tn-detail:not(:empty)::before{content:" · "}
}
@media (max-width:640px){
  /* the phone: a 32 x 44 button for each node, and a status on its own line under the name, so the name keeps the width */
  .shell-v3 .ts-org{--tn-tog:32px;--tn-tog-h:44px;--tn-indent:20px;--tn-pad:0px;--tn-band:44px}
  .shell-v3 .tn-tools{padding:2px 16px 12px}
  .shell-v3 .tn-find{flex-basis:100%;max-width:none}
  .shell-v3 .tn-find input{height:44px}
  .shell-v3 .tn-all{flex:1 1 100%}
  .shell-v3 .tn-all .btn{flex:1 1 0;height:40px}
  .shell-v3 .tn-count{text-align:left}
  .shell-v3 .tn-tree{padding:8px 16px 16px}
  .shell-v3 .tn-row{grid-template-columns:var(--tn-tog) minmax(0,1fr)}
  .shell-v3 .tn-st{grid-column:2;grid-row:2;justify-content:flex-start;padding:2px 0 2px calc(16px + var(--tn-gap))}
  .shell-v3 .tn-st:empty{display:none}
  .shell-v3 .tn-st .badge{white-space:normal}
  .shell-v3 .tn-meta{grid-row:3}
  .shell-v3 .tn-note{padding:12px 16px 16px}
}
/* Batch B (owner brief of 28 October 2026, section 3): the window the PME is read for beside the view switch (the period
   picker and, with a period, its two readings), and one divided line of figures under them: the window in words, then
   machines apart from deployments. A deployed item's dates take its type's column (its group names the type); a machine
   that moved names the other locations under its holder */
.shell-v3 .ts-view-line{flex-wrap:wrap;gap:8px 12px}
.shell-v3 .pme-when{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.shell-v3 .pme-period>summary{min-width:112px}
.shell-v3 .pme-period .picker-list{min-width:160px}
.shell-v3 .pme-mode{flex:none}
.shell-v3 .pme-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 0;margin:-6px 0 0;color:var(--muted);font-size:13px;line-height:20px}
.shell-v3 .pme-sum-when{margin-right:14px;color:var(--text);font-size:14px;font-weight:600}
.shell-v3 .pme-fig{padding:0 14px;border-left:1px solid var(--rule);white-space:nowrap}
.shell-v3 .pme-sum-when+.pme-fig{padding-left:0;border-left:0}
.shell-v3 .pme-fig strong{margin-right:4px;color:var(--text);font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .pme-sum-note{flex-basis:100%;font-size:12px;line-height:18px}
/* Batch B (section 4): the Indicator Explorer. A side column (the library in figures, the filters, the tree by pillar and
   topic) beside the main one (the selected indicator's relationships, then the table); one column below 1100px. The
   figures are type in two divided lists, each a link to its filter, the current one marked by the accent edge */
.shell-v3 .ix-grid{display:grid;grid-template-columns:clamp(300px,32%,400px) minmax(0,1fr);gap:20px;align-items:start}
.shell-v3 .ix-figs.ix-states{grid-template-columns:1fr}
.shell-v3 .ix .ts-inds{table-layout:fixed;width:100%}
.shell-v3 .ix .ts-inds th:nth-child(1){width:36%}.shell-v3 .ix .ts-inds th:nth-child(2){width:15%}
.shell-v3 .ix .ts-inds th:nth-child(3){width:20%}.shell-v3 .ix .ts-inds th:nth-child(4){width:18%}
.shell-v3 .ix .ts-inds th:nth-child(5){width:11%}
.shell-v3 .ix .ts-inds th,.shell-v3 .ix .ts-inds .ts-cond,.shell-v3 .ix .ts-inds .ts-ver{white-space:normal;overflow-wrap:anywhere}
.shell-v3 .ix .ts-inds td.c-more,.shell-v3 .ix .ts-inds td.c-key{font-size:13px;line-height:18px}
.shell-v3 .ix-side,.shell-v3 .ix-main{display:grid;gap:16px;min-width:0}
.shell-v3 .ix-counts{padding-bottom:12px}
.shell-v3 .ix-total{margin:0;padding:0 24px 10px}
.shell-v3 .ix-total a{color:var(--text);text-decoration:none;font-size:14px}
.shell-v3 .ix-total strong{font-size:var(--fs-record);line-height:30px;font-weight:600;margin-right:4px;font-variant-numeric:tabular-nums}
.shell-v3 .ix-figs{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 24px;padding:8px 0;list-style:none;border-top:1px solid var(--rule)}
.shell-v3 .ix-figs a,.shell-v3 .ix-figs>li>span{display:flex;align-items:baseline;gap:6px;min-height:32px;padding:4px 8px 4px 10px;border-left:2px solid transparent;border-radius:0 6px 6px 0;color:var(--text);font-size:13px;line-height:18px;text-decoration:none}
.shell-v3 .ix-figs a:hover{background:var(--ts-hover)}
.shell-v3 .ix-figs a[aria-current="true"]{border-left-color:var(--accent);background:var(--accent-50)}
.shell-v3 .ix-figs strong{min-width:2ch;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .ix-figs span{color:var(--muted)}
.shell-v3 .ix-total a[aria-current="true"] span{color:var(--text)}
.shell-v3 .ix-filters{display:grid;gap:10px;padding:16px 24px}
.shell-v3 .ix-field{display:grid;gap:4px;margin:0;font-size:12px;font-weight:600;color:var(--muted)}
.shell-v3 .ix-field input,.shell-v3 .ix-field select{width:100%;height:36px;font-size:14px;font-weight:400;color:var(--text)}
.shell-v3 .ix-acts{display:flex;gap:8px}
.shell-v3 .ix-tree .chart-figure,.shell-v3 .ix-rel .chart-figure{margin:0;padding:0 12px 12px}
.shell-v3 .ix-rel-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 24px;padding:4px 24px 20px;border-top:1px solid var(--rule)}
.shell-v3 .ix-rel-group h3{margin:12px 0 6px;font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .ix-rel-group ul{margin:0;padding:0;list-style:none;display:grid;gap:4px;font-size:13px;line-height:19px}
.shell-v3 .ix-missing{color:var(--muted);font-style:italic}
.shell-v3 .ix-note{color:var(--muted)}
.shell-v3 .ix-note.is-pending{color:var(--warning-ink)}
.shell-v3 .ix-pick{display:inline-block;margin-top:2px;font-size:12px;line-height:18px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:2px}
.shell-v3 .ts-inds tr.is-picked>td{background:var(--accent-50)}
.shell-v3 .ts-inds tr.is-picked>td:first-child{box-shadow:inset 3px 0 0 var(--accent)}
@media (max-width:1100px){
  .shell-v3 .ix-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .shell-v3 .ix-total,.shell-v3 .ix-figs{margin-left:16px;margin-right:16px;padding-left:0;padding-right:0}
  /* Final five-item closure (30 October 2026, Finding 4): on a phone the matching indicators follow the search
     directly; the library counts and the tree move below the results (the desktop two-column layout is unchanged) */
  .shell-v3 .ix-side{order:2}
  .shell-v3 .ix-filters{padding:14px 16px}
  .shell-v3 .ix-rel-list{padding:4px 16px 16px}
  .shell-v3 .ix-pick{display:inline-flex;align-items:center;min-height:44px}
  .shell-v3 .ix-figs a{min-height:44px}
}
/* Batch B (section 5): Targets. The assessment as one divided strip of four figures, the populations in one sentence
   under it, then the chart; the record one step away in folds. The list's small bar: the actual as a bar, the target as
   a tick, hatched while expected values are outstanding (the figures beside it say the same in words) */
.shell-v3 .tg-lead{padding-bottom:12px}
.shell-v3 .tg-lead .ts-card-head .code{white-space:nowrap}       /* a code never breaks at its hyphens */
.shell-v3 .tg-figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 24px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.shell-v3 .tg-fig{min-width:0;margin:0;padding:12px 16px 14px;border-left:1px solid var(--rule)}
.shell-v3 .tg-fig:first-child{padding-left:0;border-left:0}
.shell-v3 .tg-fig dt{color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .tg-fig dd{margin:4px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.shell-v3 .tg-fig strong{color:var(--text);font-size:20px;line-height:28px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .tg-fig strong .status{font-size:15px}
.shell-v3 .tg-fig.issue strong{color:var(--negative-ink)}
.shell-v3 .tg-sub{flex-basis:100%;color:var(--muted);font-size:12px;line-height:17px}
.shell-v3 .tg-population{max-width:88ch;margin:12px 24px 0;color:var(--text);font-size:14px;line-height:21px}
.shell-v3 .tg-note{max-width:88ch;margin:6px 24px 0;color:var(--muted);font-size:13px;line-height:19px}
.shell-v3 .tg-lead .target-chart{margin:8px 12px 0}
/* Batch B final acceptance correction (D-97): one qualification line, its "Why?" fold (the records behind the assessment
   in a quiet two-column list), and the record's folds padded like every V3 fold; the values by period read down */
.shell-v3 .tg-qual-line{max-width:88ch;margin:12px 24px 0;color:var(--text);font-size:14px;line-height:21px}
.shell-v3 .tg-why{margin:2px 24px 0}
.shell-v3 .tg-why>summary{color:var(--accent-ink);font-size:13px;font-weight:600;cursor:pointer}
.shell-v3 .tg-why-list{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 16px;max-width:100ch;margin:4px 0 8px;padding:12px 16px;border-radius:8px;background:var(--neutral-bg);font-size:13px;line-height:19px}
.shell-v3 .tg-why-list dt{color:var(--muted);font-weight:600}
.shell-v3 .tg-why-list dd{min-width:0;margin:0;color:var(--text)}
.shell-v3 .tg-why-items{margin:0;padding:0;list-style:none}
.shell-v3 .tg-why-items li+li{margin-top:3px}
.shell-v3 .tg-method{margin:0;padding:0}
.shell-v3 .tg-series{width:auto;min-width:min(100%,320px)}
.shell-v3 .tg-series th[scope=row]{font-weight:400;white-space:nowrap}
.shell-v3 .tg-list td .tg-when{display:block;font-variant-numeric:tabular-nums}
.shell-v3 .tg-meter{position:relative;display:block;width:96px;height:8px;margin:6px 0 0 auto;border-radius:2px;background:var(--segment)}
.shell-v3 .tg-bar{position:absolute;left:0;top:0;bottom:0;border-radius:2px;background:var(--accent)}
.shell-v3 .tg-meter.is-partial .tg-bar{background:repeating-linear-gradient(135deg,var(--accent) 0 3px,var(--accent-200) 3px 6px)}
.shell-v3 .tg-mark{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;background:var(--text)}
.shell-v3 .tg-qual{margin-left:2px}
@media (max-width:900px){.shell-v3 .tg-figs{grid-template-columns:1fr 1fr}.shell-v3 .tg-fig:nth-child(3){padding-left:0;border-left:0}.shell-v3 .tg-fig:nth-child(n+3){border-top:1px solid var(--rule)}}
@media (max-width:640px){.shell-v3 .tg-figs,.shell-v3 .tg-population,.shell-v3 .tg-note,.shell-v3 .tg-qual-line,.shell-v3 .tg-why{margin-left:16px;margin-right:16px}.shell-v3 .tg-meter{margin-left:0}
  .shell-v3 .tg-why>summary{min-height:44px}.shell-v3 .tg-why-list{grid-template-columns:minmax(0,1fr);gap:2px 0;padding:12px}.shell-v3 .tg-why-list dd+dt{margin-top:8px}}
.shell-v3 .tn-also{display:block;color:var(--text)}
.shell-v3 .ts-card-head>.pme-when{margin-left:auto;align-self:center}
.shell-v3 .ts-toolbar>.pme-when{margin-left:auto}
.shell-v3 .ts-where{display:block}
.shell-v3 .ts-where+.ts-where{margin-top:2px}
.shell-v3 .pme-where{margin:6px 0 0;color:var(--text)}
.shell-v3 .deployment-table tr.is-in-window>td{background:var(--accent-50)}
.shell-v3 .deployment-table .in-window{color:var(--accent-ink);font-weight:600}
.shell-v3 .is-pme>.tn-row .tn-type{font-variant-numeric:tabular-nums}
@media (max-width:1279px){
  .shell-v3 .tn-also{display:inline}
  .shell-v3 .tn-detail:not(:empty)>.tn-also::before{content:" · ";color:var(--muted)}
}
@media (max-width:640px){
  .shell-v3 .ts-view-line{align-items:stretch}
  .shell-v3 .pme-when{flex:1 1 100%}
  .shell-v3 .pme-period>summary{height:44px}
  .shell-v3 .pme-mode{flex:1 1 100%}
  .shell-v3 .pme-mode a{height:44px;white-space:normal;text-align:center;line-height:16px}
  .shell-v3 .pme-fig{padding:0 10px}
}
/* Batch B final acceptance correction (section 6): the Group Structure read on a phone. Each figure is a whole phrase (two
   columns of them on a phone, its "N active" under it); the period and its reading share one row, the reading chosen in
   the accent; search and the two tree buttons share one row; an entity or location with contents opens on its own (a
   44px chevron), and below the fourth level the tree steps 8px a level, so deep nesting never squeezes a name */
.shell-v3 .ts-fig{white-space:nowrap}
.shell-v3 .tn-also .code{white-space:nowrap}
.shell-v3 .pme-mode a[aria-current="page"]{border-color:var(--accent);background:var(--accent-50);color:var(--accent-ink)}
.shell-v3 .tn-focus{display:none}
@media (max-width:640px){
  /* visual review AA-04: only a lead of figures is a grid; a sentence lead keeps its inline flow */
  .shell-v3 .ts-lead-text:has(.ts-fig){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
  .shell-v3 .ts-lead-text:has(.ts-fig) .sep{display:none}
  .shell-v3 .pme-sum{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin:0}
  .shell-v3 .pme-sum-when,.shell-v3 .pme-sum-note{grid-column:1/-1;margin:0}
  .shell-v3 .pme-sum-when+.pme-fig,.shell-v3 .pme-fig{padding:0;border-left:0}
  .shell-v3 .ts-view-line>.pme-when{order:2;flex:1 1 100%;flex-wrap:nowrap}
  .shell-v3 .pme-when>.pme-mode{flex:1 1 0;min-width:0}
  .shell-v3 .pme-mode a{padding:0 6px;font-size:13px}
  .shell-v3 .tn-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
  .shell-v3 .tn-all .btn{width:44px;height:44px;padding:0;--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6 8 2.5 11.5 6M4.5 10 8 13.5 11.5 10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
  .shell-v3 .tn-all .btn[data-tree-all="close"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 2.5 8 6l3.5-3.5M4.5 13.5 8 10l3.5 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
  .shell-v3 .tn-all .btn::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--ico) center/16px no-repeat;mask:var(--ico) center/16px no-repeat}
  .shell-v3 .tn-all-t{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .shell-v3 .tn-count{grid-column:1/-1}
  .shell-v3 .tn-row{grid-template-columns:var(--tn-tog) minmax(0,1fr) auto}
  .shell-v3 .tn-focus{display:flex;grid-column:3;grid-row:1;width:44px;height:44px;align-items:center;justify-content:center;border-radius:6px;color:var(--muted)}
  .shell-v3 .tn-focus::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
  .shell-v3 .tn-focus:hover{background:var(--segment);color:var(--text)}
  .shell-v3 .tn-kids .tn-kids .tn-kids .tn-kids{padding-left:8px}      /* deeper levels step 8px, no more */
  .shell-v3 .tn-kids .tn-kids .tn-kids .tn-kids>.tn::before,.shell-v3 .tn-kids .tn-kids .tn-kids .tn-kids>.tn::after{display:none}
}
/* a module's tabs that scroll say so: the edge with more tabs beyond it fades (app.js marks it and brings the current tab
   into view) */
.shell-v3 .ws-tabs.is-more-right{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent)}
.shell-v3 .ws-tabs.is-more-left{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent)}
.shell-v3 .ws-tabs.is-more-left.is-more-right{-webkit-mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent)}

/* the Audit Trail's three views, a segmented row of links like the editors' choices (3B-1) */
.shell-v3 .ts-kinds{display:inline-flex;flex-wrap:wrap;gap:2px;margin:16px 24px 0;padding:3px;border-radius:var(--radius-card);background:var(--ts-track);box-shadow:inset 0 0 0 1px rgba(18,28,23,.04)}
.shell-v3 .ts-kinds a{display:flex;align-items:center;height:30px;padding:0 14px;border-radius:var(--radius-field);color:var(--muted);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.shell-v3 .ts-kinds a:hover{color:var(--text)}
.shell-v3 .ts-kinds a[aria-current="page"]{background:var(--surface);color:var(--accent-ink);box-shadow:0 1px 2px rgba(18,28,23,.12),0 1px 1px rgba(18,28,23,.04)}
@media (max-width:760px){.shell-v3 .ts-kinds{margin:14px 16px 0}}
@media (max-width:480px){.shell-v3 .ts-kinds{display:flex}.shell-v3 .ts-kinds a{flex:1 1 0;justify-content:center;padding:0 8px}
  /* M07: the Overview's period select and Show share one row; visual review OTR-3: the label takes its own line above them,
     so the select keeps room for a status such as "Under review" or "Migration open" */
  .shell-v3 .adm-actions .mini-form{flex-wrap:wrap;width:100%}
  .shell-v3 .adm-actions .mini-form>label{flex:0 0 100%}
  .shell-v3 .adm-actions .mini-form select{flex:1 1 0;min-width:0;width:auto}
}

/* D-96: when a record was last changed, for a reader the field-by-field history is not shown to; a row of the folds */
.shell-v3 .ts-stamp{display:grid;grid-template-columns:minmax(150px,200px) minmax(0,1fr);align-items:center;gap:2px 20px;min-height:54px;margin:0;padding:10px 24px;font-size:14px;line-height:20px}
.shell-v3 .ts-stamp .t{font-weight:600}
.shell-v3 .ts-stamp .d{color:var(--muted);font-size:13px;line-height:18px}
@media (max-width:640px){.shell-v3 .ts-stamp{grid-template-columns:minmax(0,1fr);padding:10px 16px}}

/* a location's people in its editor: role, then a user account or a name */
.shell-v3 .ts-resps{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.shell-v3 .ts-resp{display:grid;grid-template-columns:150px minmax(0,300px) minmax(0,240px);align-items:center;gap:4px 14px}
.shell-v3 .ts-resp .ts-role{font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .ts-resp .field-error{grid-column:2/-1;font-size:12px}

/* checkbox choices laid out as a wrap of compact tiles */
.shell-v3 .ts-checks{display:flex;flex-wrap:wrap;gap:8px}
.shell-v3 .ts .ts-checks .checkbox-line{min-height:36px}

/* the indicator: its draft, the approval in place, its details opened in place */
.shell-v3 .ts-draft{box-shadow:var(--ts-shadow),inset 3px 0 0 var(--ts-rail)}
.shell-v3 .ts-draft-body{display:grid;gap:12px;padding:0 24px 20px}
.shell-v3 .ts-draft-body .ts-note{margin:0}
.shell-v3 .ts-draft-body .ts-note.ts-warn p{margin:0}
.shell-v3 .ts-draft-body .error-list{margin:6px 0;padding-left:18px}
.shell-v3 .ts-approve{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.shell-v3 .ts-draft-body .ts-end{margin:4px 0 0}
.shell-v3 .ts-edit-details,.shell-v3 .ts-decide{border-top:1px solid var(--rule)}
.shell-v3 .ts-edit-details>summary{display:flex;align-items:center;min-height:52px;padding:0 24px;color:var(--accent-ink);font-size:14px;font-weight:600;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-edit-details>summary:hover{background:var(--ts-hover)}
.shell-v3 .ts-edit-details[open]>summary{background:var(--accent-50)}
.shell-v3 .ts-edit-details>.ts-form{display:grid;gap:16px;padding:16px 24px 20px;background:var(--accent-50)}
.shell-v3 .ts-edit-details .hint{margin:0;color:var(--muted);font-size:12px}
.shell-v3 .ts-decide{border-top:0}
.shell-v3 .ts-decide>summary{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-field);color:var(--accent-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-decide>summary::before{content:none}
.shell-v3 .ts-decide[open]>summary{background:var(--raised);color:var(--text)}
.shell-v3 .ts-decide .ts-form{margin:10px 0 0}

/* the indicator's editor: the code preview, its keyword one step away, the reference fields folded */
.shell-v3 .ts .ts-code{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 14px;max-width:720px;margin:16px 0;padding:12px 14px;border-radius:var(--radius-field);background:var(--raised)}
.shell-v3 .ts .ts-code>span:first-child{color:var(--muted);font-size:12px;font-weight:500}
.shell-v3 .ts .ts-code strong{font-size:15px;letter-spacing:.01em}
.shell-v3 .ts .ts-code .hint,.shell-v3 .ts .ts-code .ts-help-fold{grid-column:1/-1}
.shell-v3 .ts-help-fold>summary{min-height:24px;color:var(--accent-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-help-fold .ts-field{margin:8px 0 0}
.shell-v3 .ts-sec-fold{border-top:1px solid var(--rule)}
.shell-v3 .ts-sec-fold>summary{display:grid;grid-template-columns:200px minmax(0,1fr) 12px;align-items:center;gap:2px 32px;min-height:60px;padding:12px 28px;color:var(--text);font-size:14px;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-sec-fold>summary::before{content:none}
.shell-v3 .ts-sec-fold>summary::after{content:"";width:12px;height:12px;background:var(--muted);transform:rotate(90deg);transition:transform var(--t) ease;-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
.shell-v3 .ts-sec-fold[open]>summary::after{transform:rotate(-90deg)}
.shell-v3 .ts-sec-fold>summary:hover{background:var(--ts-hover)}
.shell-v3 .ts-sec-fold>summary .t{font-size:15px;line-height:22px;font-weight:600}
.shell-v3 .ts-sec-fold>summary .d{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-sec-fold-body{display:grid;gap:16px;padding:4px 28px 24px 260px}
.shell-v3 .ts-sec-fold-body .ts-note{margin:0}

/* the Audit Trail: the filters, then the events under each day, each one line that opens in place */
.shell-v3 .ts-filter-form{padding:16px 24px 0}
.shell-v3 .ts-filter-form>.ts-grid{align-items:flex-end}
.shell-v3 .ts-filter-acts{display:flex;flex-wrap:wrap;gap:8px}
.shell-v3 .ts-more-filters{margin:12px 0 0;padding:0 0 4px}
.shell-v3 .ts-more-filters>summary{min-height:28px;color:var(--accent-ink);font-size:13px;font-weight:600}
.shell-v3 .ts-more-filters>.ts-grid{margin:10px 0 0}
.shell-v3 .ts-filter-said{margin:0;padding:10px 24px 0;color:var(--text);font-size:14px;line-height:20px}
.shell-v3 .ts-filters>.ts-key{margin:0;padding:8px 24px 16px}
.shell-v3 .ts-filters>.ts-filter-form:last-child{padding-bottom:16px}
.shell-v3 .ts-trail{padding:0 0 8px}
.shell-v3 .ts-day{margin:0;padding:16px 24px 6px;color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .ts-day:not(:first-of-type){border-top:1px solid var(--rule)}
.shell-v3 .ts-evs{display:grid;margin:0;padding:0;list-style:none}
.shell-v3 .ts-ev>summary{display:grid;grid-template-columns:52px minmax(0,1fr) 12px;align-items:start;gap:2px 14px;width:100%;padding:10px 24px;color:var(--text);font-size:14px;line-height:20px;font-weight:400;transition:background-color var(--t-fast) ease}
.shell-v3 .ts-ev>summary::before{content:none}
.shell-v3 .ts-ev>summary::after{content:"";grid-column:3;grid-row:1;width:12px;height:12px;margin-top:4px;background:var(--faint);transform:rotate(90deg);transition:transform var(--t) ease;-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
.shell-v3 .ts-ev[open]>summary::after{transform:rotate(-90deg)}
.shell-v3 .ts-ev>summary:hover{background:var(--ts-hover)}
.shell-v3 .ts-ev[open]>summary{background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
.shell-v3 .ts-ev .tm{grid-row:1/span 2;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.shell-v3 .ts-ev .ln{min-width:0;overflow-wrap:anywhere}
.shell-v3 .ts-ev .a{font-weight:600}
.shell-v3 .ts-ev .rec{color:var(--text)}
.shell-v3 .ts-ev .rec::before{content:"·";margin:0 6px 0 2px;color:var(--faint)}
.shell-v3 .ts-ev .sub{grid-column:2;display:flex;flex-wrap:wrap;gap:0 14px;min-width:0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-ev .who{font-weight:500}
.shell-v3 .ts-ev .sum,.shell-v3 .ts-ev .why{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.shell-v3 .ts-ev .why{font-style:italic}
.shell-v3 .ts-ev-body{display:grid;gap:12px;padding:6px 24px 18px 90px;background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
.shell-v3 .ts-ev-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px;margin:0}
.shell-v3 .ts-ev-facts>div{display:grid;gap:2px;min-width:0}
.shell-v3 .ts-ev-facts dt{color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts-ev-facts dd{display:grid;gap:1px;margin:0;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.shell-v3 .ts-ev-facts .s{color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .ts-ev-facts .code-token{color:var(--text);font-size:12px}
.shell-v3 .ts-ev-body .change-lines{font-size:14px;line-height:21px}
.shell-v3 .ts-raw{padding:10px 12px;border-radius:var(--radius-field);background:var(--surface);box-shadow:inset 0 0 0 1px var(--border)}
.shell-v3 .ts-raw .k{margin:0 0 4px;color:var(--muted);font-size:12px;font-weight:600}
.shell-v3 .ts-raw p{margin:0;font-size:13px;line-height:19px}
.shell-v3 .ts-raw code{font-size:13px;overflow-wrap:anywhere;word-break:break-word}
.shell-v3 .ts-trail>.ts-empty{padding:20px 24px}

/* a change history inside a record, in words */
.shell-v3 .ts-history .audit-table td{font-size:13px;line-height:19px}
.shell-v3 .ts-history .audit-table td:nth-child(3){font-weight:600}

/* the indicator list's one status mark, its unit, an inactive line */
.shell-v3 .ts-inds td.c-key .ts-cond:first-child{margin-top:0}
.shell-v3 .ts-unit{font-weight:500}
.shell-v3 .ts-off{color:var(--muted);font-weight:500}
.shell-v3 .ts-table tr.line.off .adm-name{color:var(--muted)}
/* the code preview in the V3 editor: the code in the text face, its label in sentence case */
.shell-v3 .ts .code-preview.ts-code{border:0;background:var(--raised)}
.shell-v3 .ts .code-preview.ts-code span:first-child{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500}
.shell-v3 .ts .code-preview.ts-code strong{font-family:inherit;font-size:15px;font-weight:600;color:var(--accent-ink);font-variant-numeric:tabular-nums}
/* the editors' rhythm: a field, a row of fields, a group of choices and a note each 16px apart */
.shell-v3 .ts-field+.ts-grid,.shell-v3 .ts-grid+.check-group,.shell-v3 .check-group+.ts-note,.shell-v3 .ts-grid+.ts-checks,.shell-v3 .ts-grid+.ts-note{margin-top:16px}

@media (max-width:1080px){
  .shell-v3 .ts-defs{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-defs>div:nth-child(2){border-top:1px solid var(--rule)}
  .shell-v3 .ts-effs{grid-template-columns:minmax(0,1fr);gap:20px}
  .shell-v3 .ts-sec-fold>summary{grid-template-columns:minmax(0,1fr) 12px}
  .shell-v3 .ts-sec-fold>summary .d{grid-column:1}
  .shell-v3 .ts-sec-fold>summary::after{grid-column:2;grid-row:1/span 2}
  .shell-v3 .ts-sec-fold-body{padding:4px 28px 24px}
  .shell-v3 .ts-ev-body{padding-left:24px}
  .shell-v3 .ts-resp{grid-template-columns:150px minmax(0,1fr)}
  .shell-v3 .ts-resp input{grid-column:2}
}
@media (max-width:760px){
  .shell-v3 .ts-toolbar{padding:14px 16px 12px}
  .shell-v3 .ts-toolbar .ts-field{flex:1 1 100%;width:auto}
  .shell-v3 .ts-toolbar .btn{flex:1 1 auto}
  .shell-v3 .ts-defs,.shell-v3 .ts-effs{padding:4px 16px 16px}
  .shell-v3 .ts-card>.ts-eff{margin:4px 16px 16px}
  .shell-v3 .ts-foot-note{padding:12px 16px 16px}
  .shell-v3 .ts-draft-body{padding:0 16px 16px}
  .shell-v3 .ts-edit-details>summary{padding:0 16px}
  .shell-v3 .ts-edit-details>.ts-form{padding:14px 16px 16px}
  .shell-v3 .ts-sec-fold>summary{padding:12px 16px}
  .shell-v3 .ts-sec-fold-body{padding:4px 16px 20px}
  .shell-v3 .ts-filter-form{padding:14px 16px 0}
  .shell-v3 .ts-filter-said{padding:10px 16px 0}
  .shell-v3 .ts-filters>.ts-key{padding:8px 16px 14px}
  .shell-v3 .ts-day{padding:14px 16px 6px}
  .shell-v3 .ts-ev>summary{grid-template-columns:44px minmax(0,1fr) 12px;gap:2px 10px;padding:10px 16px}
  .shell-v3 .ts-ev-body{padding:6px 16px 16px}
  .shell-v3 .ts-ev-facts{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-ev .sum,.shell-v3 .ts-ev .why{white-space:normal}
  .shell-v3 .ts-resp{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-resp input,.shell-v3 .ts-resp .field-error{grid-column:1}
  .shell-v3 .ts .ts-code{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ts-menu-list{right:auto;left:0}
}
@media (max-width:640px){
  .shell-v3 .ts-table td.c-key{white-space:normal}
  .shell-v3 .ts-inds tr.ts-group{display:block;padding:14px 16px 4px;border-top:1px solid var(--rule)}
  .shell-v3 .ts-inds tbody:first-of-type tr.ts-group{border-top:0}
  .shell-v3 .ts-inds tr.ts-group th,.shell-v3 .ts-inds tbody:first-of-type tr.ts-group th{display:block;padding:0;border:0}
  .shell-v3 .ts-approve .ts-field,.shell-v3 .ts-approve .btn{flex:1 1 100%;width:auto}
  .shell-v3 .ts-head-act{margin:0}
  .shell-v3 .ts-filter-acts{width:100%}
  .shell-v3 .ts-filter-acts .btn{flex:1 1 0}
  .shell-v3 .ts-ev>summary{min-height:44px}
  /* this wave's editors: a text field or a choice takes the phone's width, so its value is never cut; dates stay in pairs */
  .shell-v3 .ts-ed-wide .ts-grid>.ts-field:not(.w-d){width:100%}
}

/* ==== Unified V3 prototype (26 October 2026; branch ux-v3-unified-prototype, for design acceptance only) =========
   Every signed-in page is drawn in the V3 shell (base.html), so navigating never changes the shell. Two layers:
   1. Tokens. Inside .shell-v3 the application's own tokens take the V3 values, so every classic component takes the V3
      colour, type, radius and depth without being rewritten; the root tokens, which the design-system tests pin, keep
      their values. One depth strategy: a resting card has the V3 resting shadow and no border; tiles, tables and fields
      are drawn with 1px lines; only what floats has a real shadow.
   2. Components whose structure differs from V3 take the V3 treatment: the page head, cards, the KPI strip, tables, form
      fields and labels in sentence case, empty and error states, and the phone fold.
   Each rule is written ":where(.shell-v3) <the classic selector>": it has exactly the classic rule's specificity, so it
   replaces the classic look by coming later in the file, and every V3 component rule (always more specific) keeps its
   own look. Classes new to this prototype, and the few rules that outrank a V3 or classic rule on purpose (the field
   edge, the filter rows, the content gutter and the sidebar), are written ".shell-v3 <selector>" and say why.
   Presentation only: no route, field, rule or permission changes here. */
.shell-v3{
  --ink:var(--text);--paper:var(--surface);--bg:var(--ground);--line:var(--border);--line-strong:var(--control);
  --surface-subtle:var(--raised);--surface-hover:var(--raised);--canvas-gradient:none;--brand-gradient:none;
  --shadow-1:none;--shadow-2:var(--shadow-rest);
  --radius-sm:6px;--radius-md:8px;--radius-lg:8px;--radius-control:var(--radius-field);
  --fs-page:22px;--fs-record:22px;--fs-section:16px;--fs-panel:15px;--fs-subsection:14px;--fs-meta:12px;--fs-help:13px;
  --field:#858f8a;                              /* every field's edge: 3.3:1 on white, 3.2:1 on the inset, 3.1:1 on the ground */
}
:where(.shell-v3) .main{background:var(--ground)}

/* -- the page head: on a converted page the title is in the top bar and the head carries one finding line and the
      actions (.adm-head); a page not yet converted keeps its own title in the content, at the V3 size -- */
:where(.shell-v3) .page-head{align-items:flex-start;margin:4px 0 18px}
:where(.shell-v3) .page-head h1{font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.01em;margin:0 0 4px}
:where(.shell-v3) .page-head p{color:var(--text);font-size:15px;line-height:22px;max-width:780px}
.shell-v3 .adm-finding .warn{color:var(--warning-ink);font-weight:600}
.shell-v3 .adm-finding .ok{color:var(--accent-ink);font-weight:600}
/* a record's name is the page title in the top bar: a long name takes a second line instead of being cut */
.shell-v3 .topbar-page{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;line-height:24px}

/* -- cards: one card for every section; white on the ground, the V3 resting shadow, no border, 8px radius -- */
:where(.shell-v3) .panel{padding:20px 24px;margin-bottom:16px;border:0;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest)}
:where(.shell-v3) .panel h2{font-size:16px;line-height:22px;font-weight:600;letter-spacing:0;margin:0 0 12px}
:where(.shell-v3) .panel-head{margin-bottom:14px}
:where(.shell-v3) .panel-head h2{margin:0;font-size:16px}
:where(.shell-v3) .panel-head p{margin-top:2px;color:var(--muted);font-size:14px;line-height:20px}
:where(.shell-v3) .panel h3{font-size:14px;line-height:20px;font-weight:600}
:where(.shell-v3) .panel-quiet{background:transparent;box-shadow:none;padding-left:0;padding-right:0}
:where(.shell-v3) .panel-quiet .panel-head h2{font-size:16px}
:where(.shell-v3) .metric-band .band-title{font-size:16px;line-height:22px;font-weight:600;margin:6px 0 10px}

/* -- figures: a band of KPIs is one strip split by 1px rules, the figure in ink at the accepted 28px (16.18; V3 uses 24
      to 28px) over a 13px label, never a row of shadowed tiles; a tone bar keeps its word (ui.metric_state), and the
      first figure has no rule before it -- */
:where(.shell-v3) .metric-grid{gap:0;margin-bottom:16px;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-rest);overflow:hidden}
:where(.shell-v3) .metric{padding:16px 20px;border:0;border-left:1px solid var(--rule);border-radius:0;background:transparent;box-shadow:none}
:where(.shell-v3) .metric:where(:first-child){border-left:0}
:where(.shell-v3) .metric:not(:has(.metric-state)){border-left-width:1px;border-left-color:var(--rule)}
:where(.shell-v3) .metric span{color:var(--muted);font-size:13px;line-height:18px}
:where(.shell-v3) .metric strong{font-family:var(--font-ui);font-size:var(--fs-kpi);line-height:34px;font-weight:600;letter-spacing:-.01em;margin:6px 0 2px}
/* the View calculation facts beside the Result keep the accepted 18px (16.18, post-acceptance pass) */
:where(.shell-v3) .calc-metrics .metric+.metric strong{font-size:18px;line-height:24px}
:where(.shell-v3) .metric small{color:var(--muted);font-size:12px;line-height:16px}
/* inside a card the strip has no frame of its own (no card in card, 16.4): its figures are split by the rules only */
:where(.shell-v3) .panel .metric-grid{box-shadow:none;border:0;border-radius:0;background:transparent}
:where(.shell-v3) .panel .metric{background:transparent;border-color:var(--rule)}
:where(.shell-v3) .panel .metric:where(:first-child){padding-left:0}
@media(min-width:821px) and (max-width:1100px){
  :where(.shell-v3) .metric-grid.six>.metric:where(:nth-child(3n+1)){border-left:0}
  :where(.shell-v3) .metric-grid.six>.metric:where(:nth-child(n+4)){border-top:1px solid var(--rule)}
}

/* -- labels in sentence case at a readable size (the classic tracked capitals) -- */
:where(.shell-v3) :is(.scope-group legend,.panel .capability-group>legend,.code-preview span:first-child,.meta-list dt,.decision-facts h4,.decision-actions h4,.meta-grid dt,.group-label,.panel .group-label,.guide-box>strong,.form-section>legend,.metric .metric-state){text-transform:none;letter-spacing:0}
:where(.shell-v3) .list-cards td[data-label]::before{text-transform:none;letter-spacing:0}
:where(.shell-v3) :is(.meta-grid dt,.meta-list dt){font-size:12px;font-weight:500;color:var(--muted)}
:where(.shell-v3) :is(.group-label,.panel .group-label){font-size:13px;line-height:18px;font-weight:600;color:var(--muted)}
:where(.shell-v3) .metric .metric-state{font-size:12px;font-weight:600}

/* -- tables: no box and no header band; 12px grey headers, the header rule the strongest line, 1px row rules, figures
      right-aligned in tabular digits (the V3 directory, .adm-dir); the tracking grid and the report tables keep their
      own cell padding -- */
:where(.shell-v3) .table-wrap{border:0;border-radius:0}
:where(.shell-v3) th{background:var(--surface);color:var(--muted);font-size:12px;font-weight:500;border-bottom:1px solid var(--border)}
:where(.shell-v3) :is(th,td){padding:10px 12px}
:where(.shell-v3) td{border-bottom:1px solid var(--rule)}
:where(.shell-v3) :where(table:not(.track-grid,.report-table)) :is(th,td):first-child{padding-left:0}
:where(.shell-v3) :where(table:not(.track-grid,.report-table)) :is(th,td):last-child{padding-right:0}
:where(.shell-v3) tbody tr:hover{background:transparent}
:where(.shell-v3) tbody tr:hover>td{background:var(--raised)}
:where(.shell-v3) .num{font-variant-numeric:tabular-nums}
:where(.shell-v3) .compact-table :is(th,td){padding-top:8px;padding-bottom:8px}
/* a directory's long column names wrap below 1280px (on a tablet, and beside the fixed sidebar) instead of widening the
   page; figures stay on one line. Final correction pass (D-88 component steps): the Value register's seven columns need
   about 840px with its longest status, so its indicator keeps 190px only from 1280px, and below the V3 900px step it
   takes the directory's two-line rows, as on a phone */
@media(max-width:1279px){.shell-v3 .adm-dir th:not(.num){white-space:normal}}
@media(min-width:1280px){.shell-v3 #measurement-table td.c-id{min-width:190px}}
@media (max-width:900px){
  .shell-v3 #measurement-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .shell-v3 #measurement-table,.shell-v3 #measurement-table tbody{display:block}
  .shell-v3 #measurement-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:12px 0;border-top:1px solid var(--rule)}
  .shell-v3 #measurement-table td{display:block;padding:0;border:0}
  .shell-v3 #measurement-table td.c-id{grid-column:1}
  .shell-v3 #measurement-table td.c-key{grid-column:2;grid-row:1;text-align:right}
  .shell-v3 #measurement-table td.c-more{grid-column:1/-1;color:var(--muted);font-size:13px;line-height:18px}
  .shell-v3 #measurement-table td.c-more.num{text-align:left}
  .shell-v3 #measurement-table td.c-more.num[data-label]::before{content:attr(data-label) ": "}
}

/* -- fields: the V3 field (.ts-field): a 13px semibold label above, a 36px control, 6px radius, the accent ring on
      focus; sections are titled in sentence case -- */
:where(.shell-v3) :is(.form-grid,.form-stack,.form-flow,.step-form,.detail-form,.filter-bar:where(:not(.task-filters)),.reason-form,.inline-form) label{font-size:13px;line-height:18px;font-weight:600;color:var(--text)}
:where(.shell-v3) :where(.form-grid,.form-stack,.form-flow,.step-form,.detail-form,.filter-bar:where(:not(.task-filters)),.reason-form,.inline-form) :is(input:not([type=checkbox],[type=radio],[type=file],[type=hidden]),select){min-height:36px;padding-top:7px;padding-bottom:7px;font-size:14px;font-weight:400}
:where(.shell-v3) .form-section>legend{margin-bottom:12px;font-size:14px;line-height:20px;font-weight:600;color:var(--text)}
:where(.shell-v3) .form-section+.form-section{padding-top:20px;border-top:1px solid var(--rule)}
:where(.shell-v3) .form-footer{background:var(--surface);border-top:1px solid var(--rule)}
:where(.shell-v3) .hint{color:var(--muted);font-size:13px;line-height:18px}
:where(.shell-v3) .field-error{font-size:13px;font-weight:600}
/* the field edge: every field, classic and V3, reaches 3:1 against its ground (WCAG 1.4.11; the V3 --control edge is
   1.5:1). The V3 field rules are repeated with their edge colour only, then their hover, focus and error states in the
   V3 order, so a focused field takes the accent and a field in error keeps its red edge. */
:where(.shell-v3) :is(input:not([type=checkbox],[type=radio],[type=file],[type=submit],[type=hidden],[type=range]),select,textarea){border-color:var(--field);border-radius:var(--radius-field)}
.shell-v3 .task-search input,.shell-v3 .cur .input,.shell-v3 .adm-bar input[type=search],.shell-v3 .adm-bar input[type=text],.shell-v3 .adm-bar select,.shell-v3 .adm-field input,.shell-v3 .adm-field select,.shell-v3 .adm-field textarea,.shell-v3 .adm-form input,.shell-v3 .adm-form select,.shell-v3 .adm-ed input:not([type=checkbox]):not([type=radio]),.shell-v3 .adm-ed select,.shell-v3 .adm-reset input,.shell-v3 .ts input:not([type=checkbox]):not([type=radio]),.shell-v3 .ts select,.shell-v3 .ts textarea,.shell-v3 .tn-find input{border-color:var(--field)}
.shell-v3 .ts input:not([type=checkbox]):not([type=radio]):hover,.shell-v3 .ts select:hover,.shell-v3 .ts textarea:hover{border-color:var(--faint)}
:where(.shell-v3) :is(input:not([type=checkbox],[type=radio],[type=file],[type=submit],[type=hidden],[type=range]),select,textarea):focus-visible{border-color:var(--accent);outline:3px solid var(--accent-200);outline-offset:0}
.shell-v3 .task-search input:focus,.shell-v3 .cur .input:focus,.shell-v3 .adm-field input:focus-visible,.shell-v3 .adm-field textarea:focus-visible,.shell-v3 .adm-form input:focus-visible,.shell-v3 .adm-ed input:focus-visible,.shell-v3 .adm-ed select:focus-visible,.shell-v3 .adm-reset input:focus-visible,.shell-v3 .ts input:not([type=checkbox]):not([type=radio]):focus-visible,.shell-v3 .ts select:focus-visible,.shell-v3 .ts textarea:focus-visible{border-color:var(--accent)}
:where(.shell-v3) .has-error :is(input,select,textarea){border-color:var(--negative)}
.shell-v3 .ts .has-error input:not([type=checkbox]):not([type=radio]),.shell-v3 .ts .has-error select{border-color:var(--negative)}

/* -- states: an empty page section keeps its frame and says one sentence with its next step (inside a card it stays
      quiet, with no box: 16.17); callouts are quiet -- */
:where(.shell-v3) .empty-state{padding:20px 24px;border:1px dashed var(--control);border-radius:var(--radius-card);background:var(--surface);text-align:left;max-width:none}
:where(.shell-v3) .empty-state strong{font-size:14px;line-height:20px;font-weight:600}
:where(.shell-v3) .empty-state p{color:var(--muted);font-size:14px;line-height:20px}
:where(.shell-v3) :is(td.empty,.empty-row td){color:var(--muted)}
:where(.shell-v3) :is(.flash,.notice,.info-strip,.limitation){border-radius:var(--radius-card)}
/* UX consolidation (2 November 2026): an info strip is a quiet line, its strong label and one sentence; no box or edge. */
:where(.shell-v3) .info-strip{background:none;border:0;border-radius:0;padding:0}
:where(.shell-v3) .badge{font-size:12px;line-height:16px}

/* -- the tablet and the phone: one column, figures stacked as a divided list, tables as two-line rows (classic
      .list-cards), fields full width -- */
@media(max-width:820px){
  :where(.shell-v3) .panel{padding:16px}
  :where(.shell-v3) .metric{border-left:0;border-top:1px solid var(--rule)}
  :where(.shell-v3) .metric:where(:first-child){border-top:0}
  :where(.shell-v3) .panel .metric{padding-left:0;padding-right:0}
  :where(.shell-v3) .page-head{flex-direction:column}
}
/* a form keeps two columns on a tablet; one column only on a phone (the V3 phone width) */
@media(min-width:641px) and (max-width:820px){
  :where(.shell-v3) :is(.form-grid,.form-grid.four){grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* the V3 shell gives the content no gutter on a phone or a portrait tablet, for the screens that draw their own
   (My Tasks, the V3 directories and editors); every other page keeps the V3 gutter, so no page runs to the edge */
@media(max-width:640px),(max-width:900px) and (min-height:501px){
  .shell-v3 .content:not(:has(> .task-inbox,> .adm-head,> .adm-back,> .ts)){padding:20px 24px}
}
@media(max-width:760px){
  .shell-v3 .content:not(:has(> .task-inbox,> .adm-head,> .adm-back,> .ts)){padding:20px 16px 40px}
}

/* -- the shell: the brand and the sidebar's foot stay in place and only the navigation scrolls when its open groups
      are taller than the window, so the sidebar looks the same on every page (desktop; the drawer below 1081px) -- */
@media(min-width:1081px){
  .shell-v3 .workspace-nav{overflow:hidden}
  .shell-v3 .nav-groups{flex:1 1 auto;align-content:start;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  /* The top bar keeps the page heading readable (guide correction UG-03, 7 November 2026). The heading claims its own
   width (flex-basis auto, not 0) and the account text gives way first with an ellipsis: its grid track has no minimum,
   so the group's narrowest size is its controls and the avatar, never the full name, and nothing wraps; the heading
   (a two-line clamp, which wraps at any shortfall) shares no fraction of that shrink until the name is gone. Below 1081px
   the account text is not shown at all. */
  .shell-v3 .topbar-left{flex:1 1 auto}
  .shell-v3 .topbar-meta{flex-shrink:100000}
  .shell-v3 .topbar-meta>:not(.topbar-user){flex-shrink:0;white-space:nowrap}
  .shell-v3 .account-text{display:grid;grid-template-columns:minmax(0,max-content)}
  .shell-v3 .account-name,.shell-v3 .account-role{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* -- a choice field: the V3 chevron instead of the system arrow (a list box keeps its own look) -- */
:where(.shell-v3) select:where(:not([multiple],[size])){padding-right:32px;background:var(--surface) var(--chev-down) right 11px center/12px no-repeat;-webkit-appearance:none;appearance:none}

/* -- the directory's parts on the converted list pages: a section of a page (its 16px title and its page filter on one
      line), the labelled filter row of the shared list controls in the .adm-bar look, the pager, and row actions that
      wrap -- */
.shell-v3 .adm-sec{margin:28px 0 0}
.shell-v3 .adm-sec.adm-sec-first{margin-top:4px}
.shell-v3 .adm-sec-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px}
.shell-v3 .adm-sec-head h2{margin:0;font-size:16px;line-height:22px;font-weight:600}
.shell-v3 .adm-sec-head .table-filter{width:240px;max-width:100%;height:34px;margin-left:auto;padding:0 12px;font-size:13px}
/* on a phone a bare number in a row's details says what it counts, from the column's own label (data-label) */
@media(max-width:640px){.shell-v3 .adm-dir td.c-more.num[data-label]::before{content:attr(data-label) ": "}}
.shell-v3 .list-filters:not(.task-filters,.review-filters){display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;margin:0 0 12px}
.shell-v3 .list-filters:not(.task-filters) label{display:grid;gap:4px;min-width:150px;color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .list-filters:not(.task-filters) select{height:34px;min-height:34px;padding:0 30px 0 12px;background:var(--surface) var(--chev-down) right 10px center/12px no-repeat;color:var(--text);font-size:13px;font-weight:600;appearance:none}
.shell-v3 .list-filters:not(.task-filters) input[type=search]{height:34px;min-height:34px;padding:0 12px;font-size:13px}
.shell-v3 .list-filters:not(.task-filters) .form-actions{display:flex;gap:8px;align-items:center}
.shell-v3 .list-filters:not(.task-filters) .btn{height:34px}
.shell-v3 .pager{margin:12px 0 0;color:var(--muted);font-size:13px}
.shell-v3 .adm-dir .row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.shell-v3 .adm-dir .row-actions form{margin:0}
.shell-v3 .adm-dir .row-actions details>summary{color:var(--accent-ink);font-weight:600;font-size:13px;cursor:pointer}
.shell-v3 .adm-dir .ind-id .ind-name{font-weight:600}
.shell-v3 .adm-dir .badge{vertical-align:baseline}
.shell-v3 #source-table .c-id .adm-name{white-space:nowrap}
/* the review queue's search keeps the width it was given and never runs under the next filter */
.shell-v3 .review-filters .filter-row>.filter-search{flex:2 1 240px}
.shell-v3 .review-filters input[name=q]{min-width:0}
/* -- the record head (data request, tracking grid, target): the name is the title in the top bar; the code and status
      on one quiet line; facts in sentence-case labels -- */
.shell-v3 .record-head{margin:0 0 18px}
.shell-v3 .record-head .crumbs{font-size:13px}
.shell-v3 .page-code{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:2px 0 0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .record-head .meta-grid{margin-top:12px}
/* (acceptance corrections, 27 October 2026: no two-column rule below 640px; the accepted auto-fill grid keeps three or
   more columns at 600px and gives two on a phone) */
/* V3X-BEGIN */
/* V3 unified expansion (design prototype, 26 October 2026), generated by v3x_css.py from the checked values. Presentation
   only: colours, the shell's navigation and panels, and the charts' frames; no figure, link target or permission
   depends on any of it.
   Colour modes: one token system. V3 Light, the approved baseline, is .shell-v3's own tokens; each other mode is one
   block on html[data-theme] (shell.js applies a stored choice before the page is drawn, app.js a new one). The light
   modes change the neutrals and the accent only: every status keeps V3's meaning and value (approved and done, warning,
   error, overdue, locked, provisional). Midnight Dark and High Contrast set every token. Done and success are their own
   tokens (V3's green in every light mode), so a change of accent never changes what approved or done looks like. */
.shell-v3{--on-accent:#ffffff;--success:#166044;--success-ink:#0c3e2a;--success-50:#f1f7f3;--success-100:#e1efe7;--success-200:#c7e1d2}
.shell-v3 .dot.done,.shell-v3 .adm-stamp .dot.done,.shell-v3 .attn-list .dot.ready{background:var(--success)}
.shell-v3 .cond.ok,.shell-v3 .ts-facts .s.ok,.shell-v3 .adm-finding .ok{color:var(--success-ink)}
.shell-v3 .adm-chip.tone-success{background:var(--success-50);color:var(--success-ink)}
.shell-v3 .ts-hero .adm-chip.tone-success{box-shadow:inset 0 0 0 1px var(--success-200)}
.shell-v3 .btn.primary,.shell-v3 .ts-steps .now .n{color:var(--on-accent)}
.shell-v3 .topbar-notices .count{color:var(--surface)}
html[data-theme="midnight"]{color-scheme:dark}
html[data-theme="ocean"] body.shell-v3{--chrome:#ffffff;--ground:#eef3f7;--surface:#ffffff;--raised:#f2f6f9;--border:#dbe4eb;--rule:#e8eef3;--control:#c3d0da;--field:#7a8996;--text:#0f1a24;--muted:#4c5b68;--faint:#596876;--text-secondary:#3c4a57;--accent:#13568a;--on-accent:#ffffff;--accent-ink:#0b3c63;--accent-50:#eef5fa;--accent-100:#dceaf5;--accent-200:#bcd6ea;--accent-2:#e6f0f8;--accent-3:#c9dcec;--accent-hover:#0f4a78;--accent-strong:#0b3c63;--focus:#13568a;--focus-ring:0 0 0 3px rgba(19,86,138,.22);--segment:#e9eff4;--control-border:#7a8996;--dot-held:#74828e;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%234c5b68' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="forest"] body.shell-v3{--chrome:#fbfcf8;--ground:#eef1e9;--surface:#ffffff;--raised:#f3f5ef;--border:#dce2d4;--rule:#e8ece2;--control:#c5cebb;--field:#7d8873;--text:#141a11;--muted:#515d4a;--faint:#5c6855;--text-secondary:#414c3b;--accent:#2d5a32;--on-accent:#ffffff;--accent-ink:#1e4022;--accent-50:#f1f5ee;--accent-100:#dfe9da;--accent-200:#c3d6bb;--accent-2:#e7efe3;--accent-3:#cfdec8;--accent-hover:#254b29;--accent-strong:#1e4022;--focus:#2d5a32;--focus-ring:0 0 0 3px rgba(45,90,50,.22);--segment:#eceee6;--control-border:#7d8873;--dot-held:#78826f;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23515d4a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="midnight"] body.shell-v3{--chrome:#121615;--ground:#0c0f0e;--surface:#161b19;--raised:#1d2321;--border:#2b3330;--rule:#232a27;--control:#48524e;--field:#87928d;--text:#eef2f0;--muted:#a9b3ae;--faint:#99a49e;--text-secondary:#c4cdc8;--text-disabled:#737d78;--text-inverse:#08110d;--accent:#4fc48c;--on-accent:#08110d;--accent-ink:#82dcad;--accent-50:#17241e;--accent-100:#1d3428;--accent-200:#29513d;--accent-2:#1d3428;--accent-3:#29513d;--accent-hover:#6dd3a1;--accent-strong:#a3e6c3;--focus:#4fc48c;--focus-ring:0 0 0 3px rgba(79,196,140,.35);--success:#4fc48c;--success-ink:#82dcad;--success-50:#17241e;--success-100:#1d3428;--success-200:#29513d;--segment:#232a27;--control-border:#6c7772;--surface-overlay:rgba(22,27,25,.88);--negative:#ff8f84;--negative-ink:#ffa69d;--warning-bg:#2a2213;--warning-ink:#f0c46a;--warning-edge:#5c4a22;--dot-returned:#e2a43a;--dot-overdue:#f2766b;--dot-due:#e2a43a;--dot-draft:#8fb3d2;--dot-later:#6f7772;--dot-held:#8e9994;--shadow-rest:0 0 0 1px rgba(255,255,255,.05);--shadow-float:0 0 0 1px #2b3330,0 16px 40px rgba(0,0,0,.6);--shadow-3:0 18px 44px rgba(0,0,0,.6);--ok:#82dcad;--ok-bg:#16281f;--ok-border:#3f8c66;--warn:#f0c46a;--warn-bg:#2a2213;--warn-border:#9a7a32;--warn-border-soft:#5c4a22;--bad:#ff9a90;--bad-bg:#2d1816;--bad-border:#a2493f;--bad-border-soft:#5a2a25;--info:#8fcdd0;--info-bg:#132527;--info-border:#4a8487;--neutral:#c4cdc8;--neutral-bg:#1d2321;--neutral-border:#56605b;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23a9b3ae' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="contrast"] body.shell-v3{--chrome:#ffffff;--ground:#ffffff;--surface:#ffffff;--raised:#f0f0f0;--border:#000000;--rule:#595959;--control:#000000;--field:#000000;--text:#000000;--muted:#222222;--faint:#2e2e2e;--text-secondary:#1a1a1a;--text-disabled:#4d4d4d;--text-inverse:#ffffff;--accent:#00563a;--on-accent:#ffffff;--accent-ink:#003d29;--accent-50:#eef6f2;--accent-100:#d4ebe0;--accent-200:#7fb89d;--accent-2:#d4ebe0;--accent-3:#a9d5c0;--accent-hover:#003d29;--accent-strong:#002a1c;--focus:#000000;--focus-ring:0 0 0 3px #000000;--success:#00563a;--success-ink:#003d29;--success-50:#eef6f2;--success-100:#d4ebe0;--success-200:#7fb89d;--segment:#f0f0f0;--control-border:#000000;--surface-overlay:rgba(255,255,255,.97);--negative:#a30000;--negative-ink:#7a0000;--warning-bg:#fff3c4;--warning-ink:#5c2d00;--warning-edge:#5c3d00;--dot-returned:#8a5a00;--dot-overdue:#b00000;--dot-due:#8a5a00;--dot-draft:#244d70;--dot-later:#4d4d4d;--dot-held:#4d4d4d;--shadow-rest:0 0 0 1px #000000;--shadow-float:0 0 0 2px #000000;--shadow-3:0 0 0 2px #000000;--ok:#0b4a2b;--ok-bg:#e3f4ea;--ok-border:#0b4a2b;--warn:#5c3d00;--warn-bg:#fff3c4;--warn-border:#5c3d00;--warn-border-soft:#5c3d00;--bad:#7a0000;--bad-bg:#ffe5e5;--bad-border:#7a0000;--bad-border-soft:#7a0000;--info:#0d3f42;--info-bg:#e1f1f1;--info-border:#0d3f42;--neutral:#1a1a1a;--neutral-bg:#f0f0f0;--neutral-border:#1a1a1a;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="midnight"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#457f38;--chart-not-applicable:#2176a8;--chart-waiting:#2cab88;--chart-returned:#d47932;--chart-not-submitted:#6f7772;--chart-overdue:#f2766b;--chart-trend:#4fc48c;--chart-trend-previous:#8e9994}
html[data-theme="ocean"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="forest"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="contrast"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="midnight"] body.shell-v3 .ts{--ts-shadow:0 0 0 1px rgba(255,255,255,.05);--ts-lift:0 0 0 1px #2b3330,0 14px 32px rgba(0,0,0,.55);--ts-inset:#191f1d;--ts-hover:#1d2321;--ts-track:#232a27;--ts-rail:#e2a43a;--ts-wait:#4f9a76;--ts-enter:#48524e;--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%2382dcad' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%2382dcad' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%2382dcad' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23a9b3ae' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23a9b3ae' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="contrast"] body.shell-v3 .ts{--ts-shadow:0 0 0 1px #000000;--ts-lift:0 0 0 2px #000000;--ts-inset:#ffffff;--ts-hover:#f0f0f0;--ts-track:#d9d9d9;--ts-rail:#8a5a00;--ts-wait:#1d7a4c;--ts-enter:#000000;--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%23003d29' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%23003d29' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23003d29' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23000000' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23000000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="ocean"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%230b3c63' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%230b3c63' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%230b3c63' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%234c5b68' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%234c5b68' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="forest"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%231e4022' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%231e4022' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%231e4022' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23515d4a' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23515d4a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="midnight"] body.shell-v3 .ts-org{--tn-line:#3a4440}
html[data-theme="contrast"] body.shell-v3 .ts-org{--tn-line:#595959}
html[data-theme="ocean"] body.shell-v3 .ts-org{--tn-line:#cbd6df}
html[data-theme="forest"] body.shell-v3 .ts-org{--tn-line:#d0d8c6}
html[data-theme="midnight"] body.shell-v3 .btn:hover{border-color:var(--field)}
/* Midnight Dark: the few colours the style sheet writes as literals (hardcoded.py), each on its semantic token; the
   tracking grid's state tints keep their meaning (waiting amber, returned orange) in dark steps */
html[data-theme="midnight"] body.shell-v3 ::placeholder{color:var(--faint);opacity:1}
html[data-theme="midnight"] body.shell-v3 :is(.has-error input,.has-error select,.has-error textarea,.danger-zone,.ts-refused,.ts .btn.danger:hover){background:var(--bad-bg)}
html[data-theme="midnight"] body.shell-v3 :is(.track i,.prog progress){background:var(--border)}
html[data-theme="midnight"] body.shell-v3 .prog progress::-webkit-progress-bar{background:var(--border)}
html[data-theme="midnight"] body.shell-v3 :is(.ts-table tr.needs td,.ts-table tr.needs,.draft-panel){background:var(--warning-bg)}
html[data-theme="midnight"] body.shell-v3 :is(.ts-ed-foot,.ts-notif .ts-savebar,.task-row.is-waiting){background:var(--raised)}
html[data-theme="midnight"] body.shell-v3 .capability{border-color:var(--border)}
html[data-theme="midnight"] body.shell-v3 .code-preview{border-color:var(--control)}
html[data-theme="midnight"] body.shell-v3 :is(.track-grid th,.track-grid td){border-color:var(--rule)}
html[data-theme="midnight"] body.shell-v3 .track-grid .cell-value.na{color:var(--info)}
html[data-theme="midnight"] body.shell-v3 :is(.track-grid td.state-submitted,.track-grid td.state-reviewed,.track-grid td.state-na-pending){background:#232014}
html[data-theme="midnight"] body.shell-v3 .track-grid td.state-returned{background:#2e1f14}
html[data-theme="midnight"] body.shell-v3 .track-grid td.movement-warning .cell-input{box-shadow:0 0 0 2px var(--warn-border)}
html[data-theme="midnight"] body.shell-v3 .ts-hero-id{background:var(--accent-100)}
html[data-theme="contrast"] body.shell-v3 :focus-visible{outline:3px solid #000000;outline-offset:2px}
html[data-theme="contrast"] body.shell-v3 ::placeholder{color:#595959;opacity:1}   /* 7:1 */

/* the top bar's Go to and Colour mode, items of the top bar like Notifications; without scripts there is no colour mode */
.shell-v3 .topbar-goto,.shell-v3 .topbar-mode,.shell-v3 .topbar-help{gap:8px;margin:0;border:0;background:transparent;border-radius:0;color:var(--text);font:inherit;font-size:14px;cursor:pointer}
.shell-v3 .topbar-goto:hover,.shell-v3 .topbar-mode:hover,.shell-v3 .topbar-help:hover{background:var(--raised);color:var(--text)}
.shell-v3 .goto-glyph,.shell-v3 .mode-glyph{flex:none;width:18px;height:18px;color:var(--muted)}
html:not(.js) .shell-v3 .topbar-mode{display:none}
@media (max-width:1439px){.shell-v3 .topbar-meta .env-version{display:none}}   /* the page title keeps its room; the version stays in the tooltip */
@media (max-width:1080px){.shell-v3 .goto-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}

/* the sidebar: the Home and Work items, then one link per module (its pages are the workspace tabs) */
.shell-v3 .nav-modules{margin-top:10px;padding-top:10px;border-top:1px solid var(--rule)}

/* the workspace tabs: the current module's pages, under the top bar, the current page underlined */
.shell-v3 .ws-tabs{display:flex;gap:4px;min-width:0;margin:0;padding:0 12px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--border);background:var(--chrome)}
.shell-v3 .ws-tabs::-webkit-scrollbar{display:none}
.shell-v3 .ws-tab{display:flex;flex:none;align-items:center;height:44px;margin-bottom:-1px;padding:0 12px;border-bottom:2px solid transparent;color:var(--muted);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap}
.shell-v3 .ws-tab:hover{color:var(--text);text-decoration:none}
.shell-v3 .ws-tab[aria-current]{border-bottom-color:var(--accent);color:var(--text);font-weight:600}
.shell-v3 .ws-tab:focus-visible{outline-offset:-2px}
.shell-v3 .ws-tabs::after{content:"";flex:0 0 12px}   /* the strip keeps its end gap when it scrolls */
@media (max-width:1080px){.shell-v3 .ws-tab{padding:0 10px}}
@media (max-width:760px){.shell-v3 .ws-tabs{padding:0 6px}}   /* a tab's text on the 16px page gutter */

/* the panels (Go to, Appearance, Help): native popovers one level above the page; app.js places a panel beside its
   button (data-placed) beyond a phone's width; on a phone each is a sheet at the foot of the screen */
.shell-v3 :is(.sh-panel,.shell-panel){box-sizing:border-box;width:min(360px,calc(100vw - 32px));height:fit-content;max-height:min(72vh,560px);margin:auto;padding:12px 16px 16px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);color:var(--text);box-shadow:var(--shadow-float);font-size:14px;line-height:20px;text-align:left;white-space:normal}
.shell-v3 .goto-panel{width:min(400px,calc(100vw - 32px))}
.shell-v3 .mode-panel{width:min(300px,calc(100vw - 32px))}
html.js .shell-v3 :is(.sh-panel,.shell-panel):popover-open:not([data-placed]){visibility:hidden}
html.js .shell-v3 :is(.sh-panel,.shell-panel)[data-placed]{position:fixed;inset:auto;margin:0}
.shell-v3 .sh-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.shell-v3 .sh-title{margin:0;color:var(--text);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}
.shell-v3 .sh-head .btn{flex:none}
@media (max-width:640px){
  .shell-v3 :is(.sh-panel,.shell-panel),html.js .shell-v3 :is(.sh-panel,.shell-panel)[data-placed]{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;max-height:min(80vh,640px);margin:0;padding:12px 16px calc(20px + env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:12px 12px 0 0}
  .shell-v3 :is(.sh-panel,.shell-panel)::backdrop{background:rgba(8,12,10,.36)}
  /* visual review TG-12: the tour card's Back, Skip tour and Next are tapped on every card; 44px on a phone */
  .shell-v3 .tour-actions .btn{min-height:44px}
}

/* a heading's line: the heading and what sits beside it, on one row */
.shell-v3 .sh-line{display:flex;align-items:center;gap:8px;min-width:0}
.shell-v3 .sh-line>:is(h1,h2,h3,h4,label,summary){margin:0}

/* Go to: a search field over the viewer's own pages, by module */
.shell-v3 .goto-form{display:grid;gap:6px;margin:0 0 12px}
.shell-v3 .goto-form label{color:var(--muted);font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .goto-form input{box-sizing:border-box;width:100%;height:36px;padding:0 10px;border:1px solid var(--field);border-radius:var(--radius-field);background:var(--surface);color:var(--text);font:inherit}
.shell-v3 .goto-group+.goto-group{margin-top:10px}
.shell-v3 .goto-module{margin:0 0 2px;padding:0 10px;color:var(--faint);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .goto-group ul{margin:0;padding:0;list-style:none}
.shell-v3 .goto-group a{display:flex;align-items:center;min-height:36px;padding:0 10px;border-radius:6px;color:var(--text);text-decoration:none}
.shell-v3 .goto-group a:hover{background:var(--raised);text-decoration:none}
.shell-v3 .goto-group a:focus-visible{outline-offset:-2px;background:var(--raised)}
.shell-v3 .goto-group a[aria-current]{color:var(--accent-ink);font-weight:600}
.shell-v3 .goto-none{margin:8px 0 0;padding:0 10px;color:var(--muted)}

/* Colour mode: five choices, each with a swatch of its own ground and accent (literal: a preview of the other modes) */
.shell-v3 .mode-list{display:grid;gap:4px}
.shell-v3 .mode-option{display:flex;align-items:center;gap:10px;min-height:40px;margin:0;padding:0 10px;border:1px solid transparent;border-radius:6px;color:var(--text);font-size:14px;font-weight:500;cursor:pointer}
.shell-v3 .mode-option:hover{background:var(--raised)}
.shell-v3 .mode-option:has(input:checked){border-color:var(--accent);background:var(--accent-50)}
.shell-v3 .mode-option input{flex:none;width:16px;height:16px;margin:0;accent-color:var(--accent)}
.shell-v3 .mode-swatch{flex:none;width:28px;height:18px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.22)}
.shell-v3 .mode-swatch[data-mode="light"]{background:linear-gradient(135deg,#f3f6f4 0 55%,#166044 55%)}
.shell-v3 .mode-swatch[data-mode="midnight"]{background:linear-gradient(135deg,#161b19 0 55%,#4fc48c 55%)}
.shell-v3 .mode-swatch[data-mode="ocean"]{background:linear-gradient(135deg,#eef3f7 0 55%,#13568a 55%)}
.shell-v3 .mode-swatch[data-mode="forest"]{background:linear-gradient(135deg,#eef1e9 0 55%,#2d5a32 55%)}
.shell-v3 .mode-swatch[data-mode="contrast"]{background:linear-gradient(135deg,#ffffff 0 55%,#000000 55%)}
.shell-v3 .mode-note{margin:10px 0 0;padding:0 10px;color:var(--muted);font-size:12px;line-height:16px}
/* V3X-END */
/* Final correction pass (27 October 2026): a V3 page names itself only in the top bar, so the printout keeps that title
   (and nothing else of the bar); the workspace tabs are navigation and do not print. */
@media print{
  body.shell-v3 .topbar{display:block!important;position:static!important;height:auto;padding:0 0 10px;border:0;background:none}
  body.shell-v3 .topbar-meta,body.shell-v3 .menu-button,body.shell-v3 .env-compact,body.shell-v3 .ws-tabs{display:none!important}
  body.shell-v3 .topbar-page{display:block;overflow:visible;white-space:normal;-webkit-line-clamp:none;line-clamp:none;font-size:20px;line-height:26px}
}
/* ---- Batch A (28 October 2026): the shared navigation components (breadcrumb, section links, workflow path) and the
   collection-to-approval screens (Overview, My Tasks, Tracking Sheets, Review & Approve, Data Register). Presentation
   only, from the V3 tokens, so every colour mode carries it; no rule reorders a section (the DOM order is the order). */
.shell-v3 .head-nav{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 24px;margin:0 0 8px}
.shell-v3 .crumbs .crumb-sub{margin-left:6px;color:var(--muted);font-variant-numeric:tabular-nums}
.shell-v3 .crumbs li>span{color:var(--muted)}
/* the record bar: where the value is on its way (left) and the page's own sections (right) */
.shell-v3 .record-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 24px;margin:0 0 16px;padding:8px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.shell-v3 .flow ol{display:flex;flex-wrap:wrap;align-items:center;gap:4px 0;margin:0;padding:0;list-style:none}
.shell-v3 .flow-step{display:inline-flex;align-items:center;font-size:13px;line-height:20px;color:var(--muted);white-space:nowrap}
.shell-v3 .flow-step+.flow-step::before{content:"";flex:none;width:20px;height:1px;margin:0 10px;background:var(--control)}
.shell-v3 .flow-step>:first-child::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border:1.5px solid currentColor;border-radius:50%;vertical-align:0}
.shell-v3 .flow-step.flow-done{color:var(--text)}
.shell-v3 .flow-step.flow-done>:first-child::before{background:currentColor}
.shell-v3 .flow-step.flow-current{color:var(--text);font-weight:600}
.shell-v3 .flow-step.flow-current>:first-child::before{border-color:var(--accent);background:var(--accent);outline:3px solid var(--accent-100);outline-offset:0}
.shell-v3 .flow-step>a{color:inherit;text-decoration:underline;text-decoration-color:var(--control);text-underline-offset:3px}
.shell-v3 .flow-step>a:hover{color:var(--accent-ink);text-decoration-color:currentColor}
.shell-v3 .flow-step.flow-link>:first-child::before{display:none}
.shell-v3 .flow-note{margin-left:6px;color:var(--warning-ink);font-weight:600}
.shell-v3 .section-nav ul{display:flex;flex-wrap:wrap;gap:2px 18px;margin:0;padding:0;list-style:none}
.shell-v3 .section-nav a{display:inline-block;padding:2px 0;border-bottom:2px solid transparent;color:var(--muted);font-size:13px;line-height:20px;font-weight:500;text-decoration:none}
.shell-v3 .section-nav a:hover{color:var(--text)}
.shell-v3 .section-nav a[aria-current]{border-bottom-color:var(--accent);color:var(--text)}
/* Overview: the period's two bands side by side (UX consolidation, 2 November 2026: its charts and their grid are gone) */
.shell-v3 .ov-scope{display:block;margin:0 0 6px;color:var(--muted);font-size:13px;line-height:18px;font-weight:400}
.shell-v3 .ov-bands{display:grid;gap:0 32px;margin:0 0 20px}
.shell-v3 .ov-bands>*{min-width:0;margin:0}
.shell-v3 .ov-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 28px}
.shell-v3 .ov-results .ind-name{font-weight:600}
.shell-v3 .ov-more>summary{margin:10px 0 4px;color:var(--accent-ink);font-size:13px;font-weight:600;cursor:pointer}
/* M10 correction 01 (13 November 2026, management visual acceptance): the short summary panels that follow one another
   (Workforce, Assurance in progress, Period and set-up status) share one row from the 900px step, stacked below it; inside
   a card the facts form even columns instead of one long line */
.shell-v3 .ov-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:stretch;margin:0 0 16px}
.shell-v3 .ov-cards>.panel{min-width:0;margin:0}
.shell-v3 .ov-cards .meta-list.count-facts,.shell-v3 .ov-cards .ov-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px 20px}
@media(min-width:900px){
  .shell-v3 .ov-bands{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell-v3 .ov-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
}
/* Tracking Sheets: the sheet's four figures as one strip; the zero rule in one line; Save and Submit as one action bar */
.shell-v3 .ts-figures-row{display:flex;align-items:center;gap:8px;margin:0 0 16px}
.shell-v3 .ts-figures{display:flex;flex-wrap:wrap;margin:0;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface)}
.shell-v3 .ts-figures>div{min-width:112px;padding:8px 18px;border-left:1px solid var(--rule)}
.shell-v3 .ts-figures>div:first-child{border-left:0}
.shell-v3 .ts-figures dt{color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .ts-figures dd{margin:2px 0 0;font-size:20px;line-height:26px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .ts-figures .is-attention dd{color:var(--warning-ink)}
.shell-v3 .ts-figures .is-issue dd{color:var(--negative-ink)}
.shell-v3 .ts-figures .dd-sub{margin-left:6px;color:var(--muted);font-size:12px;line-height:16px;font-weight:400}
.shell-v3 .grid-rules{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.shell-v3 .grid-rules .grid-rule{margin:0;color:var(--muted);font-size:13px;line-height:20px}
.shell-v3 .grid-footer.grid-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px}
.shell-v3 .grid-bar .grid-submit-period{display:grid;gap:4px;max-width:240px;margin-left:auto;color:var(--muted);font-size:12px;line-height:16px;font-weight:500}
.shell-v3 .track-grid .state-not-requested .cell-meta{color:var(--faint);font-size:12px}
.shell-v3 .track-grid .row-request{font-size:12px;font-weight:500}
/* Data Register: one line a value; an action's form opens on its own line */
.shell-v3 .adm-sec-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-left:auto}
.shell-v3 .adm-sec-tools .table-filter{margin-left:0}
.shell-v3 .register-table td{padding-top:9px;padding-bottom:9px}
.shell-v3 .register-table td,.shell-v3 .register-table th{padding-left:10px;padding-right:10px}
.shell-v3 .register-table .row-actions details{flex-basis:auto}
.shell-v3 .register-table .row-actions details[open]{flex-basis:100%}
/* Batch B final acceptance correction (section 5): a value is restated from its own page, under Approval and assurance */
.shell-v3 .record-restate{margin:12px 0 0}
.shell-v3 .record-restate>summary{color:var(--accent-ink);font-size:14px;font-weight:600;cursor:pointer}
.shell-v3 .record-restate .detail-form{display:grid;gap:8px;max-width:480px;margin:8px 0 0}
.shell-v3 .record-restate .restate-rule{margin:0}
/* on a phone a register row is one compact record that opens the value's page: the indicator and the value, then the
   place and period and the status, a chevron, and the whole row as the target (reg-open's ::after). By the table's id,
   as the V3 two-line rows below 900px are set */
.shell-v3 #measurement-table .reg-open{display:none}
@media (max-width:640px){
  /* M07: the status column fits its content up to 45% of the row, so restriction marks wrap under the status and the
     indicator's name keeps its width (an auto column took the whole row and broke the name one letter a line) */
  .shell-v3 #measurement-table tr{position:relative;grid-template-columns:minmax(0,1fr) fit-content(45%) 20px;align-items:baseline;min-height:44px}
  .shell-v3 #measurement-table td.reg-place{grid-column:1;grid-row:2}
  .shell-v3 #measurement-table td.reg-status{grid-column:2;grid-row:2;text-align:right;white-space:nowrap}
  .shell-v3 #measurement-table td.reg-status .restriction-marks{justify-content:flex-end}
  /* visual review AA-03: a mark keeps its dot and words on one line; the marks still wrap one under another */
  .shell-v3 #measurement-table td.reg-status .restriction-marks .status{white-space:nowrap}
  .shell-v3 #measurement-table td.reg-ev,.shell-v3 #measurement-table td.reg-acts,.shell-v3 #measurement-table .ind-code{display:none}
  .shell-v3 #measurement-table tr:has(.reg-open)::after{content:"";grid-column:3;grid-row:1/span 2;align-self:center;justify-self:end;width:12px;height:12px;background:var(--muted);-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
  .shell-v3 #measurement-table .reg-open{display:block;width:1px;height:1px;overflow:hidden;color:transparent;white-space:nowrap}
  .shell-v3 #measurement-table .reg-open::after{content:"";position:absolute;inset:0}
  .shell-v3 #measurement-table tr:focus-within{outline:2px solid var(--focus);outline-offset:-2px;border-radius:4px}
}
.shell-v3 .list-filters:not(.task-filters,.review-filters) label{flex:1 1 140px;min-width:0;max-width:240px}
/* Review & Approve: the purpose as the queue heading's help, the viewer's responsibility on the heading's line */
.shell-v3 .section-title-line .section-tag{margin-left:auto}
.shell-v3 .section-title-line{margin:0 0 4px}
.shell-v3 .section-title-line .section-title{margin:0}
/* My Tasks: the history's table one step away */
.shell-v3 .task-charts>.panel{margin:0}
.shell-v3 .chart-table>summary{margin-top:8px;color:var(--accent-ink);font-size:13px;font-weight:600;cursor:pointer}
@media(max-width:640px){
  .shell-v3 .record-bar{flex-direction:column;align-items:flex-start}
  .shell-v3 .flow-step+.flow-step::before{width:12px;margin:0 6px}
  .shell-v3 .section-nav a{padding:10px 0}                        /* a 40px touch target on a phone */
  .shell-v3 .ts-figures>div{flex:1 1 45%;min-width:0;padding:8px 12px}
  .shell-v3 .ts-figures>div:nth-child(3){border-left:0}
  .shell-v3 .ts-figures>div:nth-child(n+3){border-top:1px solid var(--rule)}
  .shell-v3 .grid-bar .grid-submit-period{flex:1 1 100%;max-width:none;margin-left:0}
  .shell-v3 .adm-sec-tools{flex:1 1 100%;margin-left:0}
  /* M07: the data request's facts flow as a few quiet lines, each label a visible prefix of its value and each sub line
     inline after it, so the value field is on the first screen */
  .shell-v3 .request-facts{display:flex;gap:2px 12px}
  .shell-v3 .request-facts>div{display:flex;gap:4px;align-items:baseline}
  .shell-v3 .request-facts dt{flex:none}
  .shell-v3 .request-facts dd{min-width:0;margin:0}
  .shell-v3 .request-facts .dd-sub{display:inline;margin-left:4px}
}
/* ---- V3 full application correction (28 October 2026): one status presentation (.status, after .badge above) and the
   shared parts every module reuses. Presentation only, from the V3 tokens, so every colour mode carries it. */
/* a work list (ui.work_item): one record a row on two lines, its name and then what places it, with its one way on at the
   row's end; rows divided by a hairline, no card and no box; the way on is a 44px target */
.shell-v3 .work-list{margin:0;padding:0;list-style:none}
.shell-v3 .work-item{display:flex;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--rule)}
.shell-v3 .work-item:first-child{border-top:0;padding-top:2px}
.shell-v3 .wi-main{display:grid;flex:1;gap:2px;min-width:0}
.shell-v3 .wi-title{color:var(--text);font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.shell-v3 .wi-meta{color:var(--muted);font-size:13px;line-height:18px;font-variant-numeric:tabular-nums}
.shell-v3 .wi-cond.is-act{color:var(--warning-ink);font-weight:600}
.shell-v3 .wi-cond.is-act[data-tone="danger"]{color:var(--negative-ink)}
/* the finding line's overdue part is a way into My Tasks filtered by Overdue: it keeps the attention ink, underlined */
.shell-v3 .adm-finding a.bad{text-decoration:underline;text-underline-offset:3px}
/* Open work: a row's status and its action stay on one line (the side column sizes to them) */
.shell-v3 .task-queue>li.task-row{grid-template-columns:minmax(0,1fr) auto}
/* quiet facts, not warnings: a tracking line's evidence rule is a neutral tag; a waiting condition (a draft awaiting
   approval, outside the reporting boundary) is secondary text */
.shell-v3 .track-grid .row-head .evidence-rule{border-color:var(--line);background:var(--neutral-bg);color:var(--text-secondary)}
.shell-v3 .ts-cond{color:var(--muted);font-weight:400}
/* an open Generate requests states its position in its body, so the summary line does not say it twice */
.shell-v3 .ts-act#generate[open]>summary .d{display:none}
/* the set-up's request legend wraps whole phrases ("3 to enter," then "3 of them overdue"), never two narrow columns */
.shell-v3 .ts-legend>span{flex-wrap:wrap;column-gap:6px}
/* the Data Register: on a wide screen a row's actions sit on the line of its value and status (the disclosure's 32px
   target centred them lower); a phone keeps the larger target */
@media(min-width:641px){.shell-v3 .register-table .row-actions>details>summary{min-height:20px}}
.shell-v3 .wi-go{flex:none;display:inline-flex;align-items:center;gap:2px;min-height:44px;font-size:14px}
.shell-v3 .wi-go::after{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:var(--chev) center/12px no-repeat;mask:var(--chev) center/12px no-repeat}
/* Batch C1 (29 October 2026): the GHG Inventory. One row of compact controls (each choice said once, on its own control);
   the position: the selection's approved figure, then each scope on two lines (its name and figure or reason, then what
   it holds), with no tinted cards; charts side by side where there is room; a register a result to a row of two lines */
.shell-v3 .inv-flow{margin:0 0 14px}
.shell-v3 .inv-flow .flow-step+.flow-step::before{width:12px;margin:0 8px}
.shell-v3 .inv-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin:0 0 16px}
.shell-v3 .inv-control{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%}
.shell-v3 .inv-control-label{color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .inv-pick>summary{max-width:280px}
.shell-v3 .inv-chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 2px 0 12px;border:1px solid var(--control);border-radius:18px;background:var(--surface);color:var(--text);font-size:13px;white-space:nowrap}
.shell-v3 .inv-chip-what{color:var(--muted)}
.shell-v3 .inv-chip-x{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:16px;color:var(--text);font-size:16px;text-decoration:none}
.shell-v3 .inv-chip-x:hover{background:var(--segment)}
.shell-v3 .inv-clear{display:inline-flex;align-items:center;min-height:36px;font-size:14px}
/* Information design Wave 1 (3 November 2026): the lead and the three scopes stack as two full-width rows, so the scopes
   share the content width as equal cells instead of a narrow column; the lead's marks sit beside the figure */
.shell-v3 .inv-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.shell-v3 .inv-lead{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:20px}
.shell-v3 .inv-lead h2{flex:1 0 100%;margin:0 0 4px;color:var(--muted);font-size:13px;line-height:18px;font-weight:600}
.shell-v3 .inv-lead .inv-caption,.shell-v3 .inv-lead .inv-unrec{flex:1 0 100%}
.shell-v3 .inv-nr{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px}
.shell-v3 .inv-nr .restriction-marks{display:inline-flex;flex-wrap:wrap;gap:4px 14px}
.shell-v3 .inv-why{font-size:13px}
.shell-v3 .inv-why>summary{display:inline-flex;align-items:center;min-height:24px;color:var(--accent-ink);cursor:pointer}
.shell-v3 .inv-scopes-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0 24px;border-top:1px solid var(--rule);padding-top:12px}
.shell-v3 .inv-scopes-row .inv-scope{grid-template-columns:minmax(0,1fr);align-content:start;border-top:0;border-left:1px solid var(--rule);padding-left:24px;margin-left:-24px}
.shell-v3 .inv-scopes-row .inv-scope:first-child{border-left:0}
.shell-v3 .inv-scopes-row .inv-scope-link{grid-template-columns:minmax(0,1fr);gap:2px;min-height:0;padding:6px 10px 8px}
.shell-v3 .inv-scopes-row .inv-scope-figure{grid-column:1;grid-row:2;text-align:left;font-size:17px}
.shell-v3 .inv-scopes-row .inv-scope-caption{grid-column:1;grid-row:3}
.shell-v3 .inv-scopes-row .inv-scope-act{grid-column:1;justify-self:start;padding:0 10px 6px}
.shell-v3 .inv-figure{margin:0;color:var(--text);font-size:30px;line-height:36px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .inv-figure.is-none{font-size:20px;line-height:28px}
.shell-v3 .inv-unit{color:var(--muted);font-size:13px;font-weight:500}
.shell-v3 .inv-caption{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .inv-unrec{margin:6px 0 0;color:var(--text);font-size:13px;line-height:18px}
.shell-v3 .inv-unrec strong{color:var(--warning-ink)}
.shell-v3 .inv-scopes{display:grid;margin:0;padding:0;list-style:none}
.shell-v3 .inv-scope{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:0 8px;border-top:1px solid var(--rule)}
.shell-v3 .inv-scope:first-child{border-top:0}
.shell-v3 .inv-scope-link{grid-column:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;align-items:baseline;min-height:44px;padding:8px 10px;border-radius:var(--radius-field);color:var(--text);text-decoration:none}
.shell-v3 a.inv-scope-link:hover{background:var(--segment)}
.shell-v3 .inv-scope.is-selected .inv-scope-link{background:var(--accent-50);box-shadow:inset 3px 0 0 var(--accent)}
.shell-v3 .inv-scope-name{grid-column:1;grid-row:1;font-size:14px;font-weight:600}
.shell-v3 .inv-scope-note{color:var(--muted);font-size:12px;font-weight:400}
.shell-v3 .inv-scope-figure{grid-column:2;grid-row:1;text-align:right;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .inv-scope.is-no_result .inv-scope-figure,.shell-v3 .inv-scope.is-no_source .inv-scope-figure,.shell-v3 .inv-scope.is-not_quantified .inv-scope-figure{color:var(--muted);font-size:14px;font-weight:500}
.shell-v3 .inv-scope.is-awaiting .inv-scope-figure,.shell-v3 .inv-scope.is-returned .inv-scope-figure,.shell-v3 .inv-scope.is-unresolved .inv-scope-figure{color:var(--warning-ink);font-size:14px}
.shell-v3 .inv-dot{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--dot-returned,#c48400);vertical-align:1px}
.shell-v3 .inv-scope-caption{grid-column:1/-1;grid-row:2;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .inv-scope-act{grid-column:2;justify-self:end;padding:0 10px;font-size:13px;white-space:nowrap}
.shell-v3 .inv-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:20px 28px}
.shell-v3 .inv-fig{min-width:0;margin:0}
.shell-v3 .inv-data>summary{display:inline-flex;align-items:center;min-height:32px;color:var(--accent-ink);font-size:13px;cursor:pointer}
.shell-v3 .inv-data tr.is-selected th,.shell-v3 .inv-data tr.is-selected td{background:var(--accent-50)}
.shell-v3 .r-code{white-space:nowrap}
.shell-v3 .r-version{color:var(--muted);font-size:13px}
.shell-v3 .inv-quals{font-size:12px;color:var(--muted)}
.shell-v3 .inv-qual.is-sample{color:var(--negative-ink);font-weight:600}
.shell-v3 .inv-open{white-space:nowrap}
.shell-v3 .inv-open a{display:block;line-height:22px}
.shell-v3 .r-value{white-space:nowrap}
.shell-v3 #ghg-register tfoot th,.shell-v3 #ghg-register tfoot td{border-top:1px solid var(--border);font-weight:600}
.shell-v3 #ghg-register tfoot th{text-align:right}
.shell-v3 #not-counted .table-wrap+.table-wrap{margin-top:8px}
.shell-v3 .inv-apart-cap{caption-side:top;padding:8px 0 6px;color:var(--text);font-size:14px;font-weight:600;text-align:left}
.shell-v3 .inv-run{margin:0 0 14px}
.shell-v3 .inv-run>summary{display:inline-flex}
.shell-v3 .inv-run[open]>summary{margin-bottom:10px}
.shell-v3 .inv-run>.hint{margin:0 0 10px}
/* Batch C1 (section 6): a grouped configuration register: each group's heading row, quiet and full width; the folded form */
.shell-v3 #factor-register .group-row th,.shell-v3 #source-register .group-row th{padding:14px 11px 6px;border-bottom:1px solid var(--border);background:var(--surface);color:var(--text);font-size:13px;font-weight:600;position:static}
.shell-v3 .setup-new{margin:14px 0 0}
.shell-v3 .category-register+.category-register,.shell-v3 #categories .table-wrap+.table-wrap,.shell-v3 #categories .table-wrap+.category-fold{margin-top:12px}
/* the scope tables line up beside each other on a wide screen; a phone lets each column take its own room */
@media(min-width:641px){.shell-v3 .category-register{table-layout:fixed}.shell-v3 .category-register th:nth-child(1){width:110px}.shell-v3 .category-register th:nth-child(3){width:96px}.shell-v3 .category-register th:nth-child(4){width:230px}}
.shell-v3 .category-cap{caption-side:top;padding:6px 0;color:var(--text);font-size:13px;font-weight:600;text-align:left}
.shell-v3 .category-fold{margin-top:12px}
.shell-v3 .category-fold>summary{display:inline-flex;align-items:center;min-height:36px;color:var(--text);font-size:13px;font-weight:600;cursor:pointer}
.shell-v3 .category-fold[open]>summary{margin-bottom:6px}
.shell-v3 .setup-new>summary{display:inline-flex}
.shell-v3 .setup-new[open]>summary{margin-bottom:12px}
@media (max-width:760px){
  .shell-v3 .inv-summary{grid-template-columns:minmax(0,1fr)}
}
/* a phone reads the register a record to a row: the source and value, the place and machine, the period and status, the
   factor, then the two ways on, each a full-height target */
@media (max-width:640px){
  .shell-v3 .inv-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .shell-v3 .inv-pick>summary{max-width:none}
  .shell-v3 .inv-chip,.shell-v3 .inv-clear{grid-column:1/-1;justify-self:start}
  .shell-v3 .inv-chip{height:44px;border-radius:22px}
  .shell-v3 .inv-chip-x{width:44px;height:44px;border-radius:22px}
  .shell-v3 .inv-data>summary,.shell-v3 .inv-clear{min-height:44px}
  .shell-v3 .inv-scope{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .inv-scope-link{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .inv-scope-figure{grid-column:1;grid-row:2;text-align:left}
  .shell-v3 .inv-scope-caption{grid-row:3}
  .shell-v3 .inv-scope-act{grid-column:1;justify-self:start;display:inline-flex;align-items:center;min-height:44px;margin-top:-8px}
  .shell-v3 #ghg-register{min-width:0}
  .shell-v3 #ghg-register thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .shell-v3 #ghg-register,.shell-v3 #ghg-register tbody,.shell-v3 #ghg-register tfoot{display:block}
  .shell-v3 #ghg-register tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 0;border-top:1px solid var(--rule)}
  .shell-v3 #ghg-register td,.shell-v3 #ghg-register th{display:block;padding:0;border:0;text-align:left}
  .shell-v3 #ghg-register td.r-source{grid-column:1;grid-row:1;font-weight:600}
  .shell-v3 #ghg-register td.r-source .cell-line{font-weight:400}
  .shell-v3 #ghg-register td.r-value{grid-column:2;grid-row:1;text-align:right}
  .shell-v3 #ghg-register td.r-place{grid-column:1/-1;grid-row:2}
  .shell-v3 #ghg-register td.r-place .cell-line{display:inline;margin-left:6px}
  .shell-v3 #ghg-register td.r-period{grid-column:1;grid-row:3}
  .shell-v3 #ghg-register td.r-status{grid-column:1/-1;grid-row:4}
  .shell-v3 #ghg-register td.r-factor{grid-column:1/-1;grid-row:5;color:var(--muted);font-size:13px}
  .shell-v3 #ghg-register td.inv-open{grid-column:1/-1;grid-row:6;display:flex;gap:0 20px}
  .shell-v3 #ghg-register td.inv-open a{display:inline-flex;align-items:center;min-height:44px}
  .shell-v3 #ghg-register tfoot tr{grid-template-columns:minmax(0,1fr) auto}
  .shell-v3 #ghg-register tfoot th{grid-column:1;grid-row:1;text-align:left}
  .shell-v3 #ghg-register tfoot td.r-value{grid-column:2;grid-row:1}
  .shell-v3 #ghg-register tfoot td:empty{display:none}
}
/* Batch C2 (29 October 2026): Workforce Snapshots and Metrics. The population is set in one row (entity, date, rule); the
   rule applied sits beside the preview it produces (the preview is the larger part); the snapshot step and the history
   follow. Counts read as figures, not cards; each composition is a chart with its table */
/* M10 correction 01 (13 November 2026, management visual acceptance): the four controls and Show population on one grid,
   every field the same 36px with its label above, the button on the fields' line; the rule's side panel is one line at the
   head of the full-width preview, its version in Rule details. Three columns at 900px and below, two on a phone (640px). */
.shell-v3 .wf-controls{display:grid;grid-template-columns:minmax(160px,1.1fr) minmax(130px,.8fr) minmax(150px,.8fr) minmax(220px,2.2fr) auto;align-items:end;gap:12px 16px;margin:0 0 16px}
.shell-v3 .wf-control{display:flex;flex-direction:column;gap:4px;min-width:0;color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .wf-control select,.shell-v3 .wf-control input{box-sizing:border-box;width:100%;min-width:0;max-width:none;height:36px;min-height:36px;padding-top:6px;padding-bottom:6px;color:var(--text);font-weight:400}
.shell-v3 .wf-go .btn{height:36px;min-height:36px;white-space:nowrap}
.shell-v3 .wf-rule{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:12px 0 4px;padding:10px 12px;border-radius:var(--radius-field);background:var(--segment);color:var(--text);font-size:13px;line-height:18px}
@media(min-width:901px){.shell-v3 .wf-rule-details:not([open]){margin-left:auto}}
.shell-v3 .wf-rule-fact{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.shell-v3 .wf-rule-k{color:var(--muted);font-weight:600}
.shell-v3 .wf-rule-details>summary{color:var(--accent);font-weight:600;cursor:pointer}
.shell-v3 .wf-rule-details[open]{flex-basis:100%}
.shell-v3 .wf-rule-details .wf-facts{margin-top:8px;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))}
.shell-v3 .wf-facts{display:grid;gap:10px;margin:0}
.shell-v3 .wf-facts dt{color:var(--muted);font-size:12px;line-height:16px;font-weight:600}
.shell-v3 .wf-facts dd{margin:2px 0 0;color:var(--text);font-size:14px;line-height:20px}
/* Batch C3: the Performance Dashboard's sustainability performance board and contributions */
.shell-v3 .pb{margin:0 0 16px}
.shell-v3 .pb-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin:0 0 10px}
.shell-v3 .pb-head h2{margin:0;font-size:20px;line-height:26px}
.shell-v3 .pb-finding{margin:0;color:var(--muted);font-size:14px;line-height:20px}
.shell-v3 .pb-pillars{display:grid;gap:16px;align-items:start}
.shell-v3 .pb-n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.shell-v3 .pb-n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.shell-v3 .pb-n1{grid-template-columns:minmax(0,1fr)}
.shell-v3 .pb-pillar{margin:0;padding:14px 16px 12px}
.shell-v3 .pb-pillar h3{margin:0 0 6px;font-size:15px;line-height:20px}
.shell-v3 .pb-list{list-style:none;margin:0;padding:0}
.shell-v3 .pb-item{padding:10px 8px;margin:0 -8px;border-top:1px solid var(--line);border-radius:6px}
.shell-v3 .pb-item:first-child{border-top:0}
.shell-v3 .pb-item.is-selected{background:var(--surface-subtle)}
/* the whole item is the indicator's one target (WCAG 2.5.8): its name's link stretches over it; the badges stay above it */
.shell-v3 .pb-item{position:relative}
.shell-v3 .pb-item:hover{background:var(--surface-hover)}
.shell-v3 .pb-name::after{content:"";position:absolute;inset:0;border-radius:6px}
.shell-v3 .pb-quals .badge,.shell-v3 .pb-quals .status{position:relative;z-index:1}
.shell-v3 .pb-item p{margin:0}
.shell-v3 .pb-name{display:block;color:var(--text);font-weight:600;text-decoration:none}
.shell-v3 .pb-name:hover{text-decoration:underline}
.shell-v3 .pb-figline{margin:2px 0 0}
.shell-v3 .pb-meta{color:var(--muted);font-size:12px;line-height:18px}
.shell-v3 .pb-quals{display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:4px;align-items:center;font-size:12px;line-height:18px}
.shell-v3 .pb-brief{color:var(--muted)}
/* Final AC-05 label closure: a calculated card's result status beside its value's window (so longer) never ends on one word */
.shell-v3 .pb-results{text-wrap:pretty}
.shell-v3 .pb-target{color:var(--muted);font-size:12px}
.shell-v3 .pb-fig{font-size:20px;line-height:24px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text)}
.shell-v3 .pb-unit{color:var(--muted);font-size:12px}
.shell-v3 .pb-none{color:var(--muted);font-size:14px;line-height:24px}
.shell-v3 .pb-more{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:18px}
.shell-v3 .pb-path{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;margin-top:12px;font-size:13px}
.shell-v3 .pb-path-k{color:var(--muted)}
.shell-v3 .pb-path-step{color:var(--muted)}
.shell-v3 .pb-target-fig{margin-top:12px}
.shell-v3 .pb-fold-said{margin-left:6px;color:var(--muted);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shell-v3 .conc-code{font-weight:600}
.shell-v3 .conc-bar-cell{width:120px}
.shell-v3 .conc-track{display:block;height:8px;border-radius:4px;background:var(--surface-subtle)}
.shell-v3 .conc-bar{display:block;height:8px;border-radius:4px;background:var(--accent)}
@media (max-width:1100px){
  .shell-v3 .pb-n3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .shell-v3 .pb-n3,.shell-v3 .pb-n2{grid-template-columns:minmax(0,1fr)}
}
.shell-v3 .wf-basis-note{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:18px}
.shell-v3 .wf-basis{color:var(--muted);font-weight:400}
.shell-v3 .wf-late{color:var(--muted)}
.shell-v3 .wf-incl{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;list-style:none}
.shell-v3 .wf-incl li.is-in{color:var(--text);font-weight:600}
.shell-v3 .wf-incl li.is-in::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--accent);vertical-align:1px}
.shell-v3 .wf-incl li.is-out{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--control)}
.shell-v3 .wf-rule-note{margin:12px 0 0;color:var(--warning-ink);font-size:13px;line-height:18px}
.shell-v3 .wf-rule-more{margin:12px 0 0;font-size:13px}
.shell-v3 .wf-preview-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.shell-v3 .wf-preview-head h2{margin:0;font-size:16px}
.shell-v3 .wf-preview-of{margin:0;color:var(--muted);font-size:13px}
.shell-v3 .wf-figures{display:flex;flex-wrap:wrap;gap:6px 28px;margin:14px 0 6px;color:var(--muted);font-size:13px}
.shell-v3 .wf-fig strong{margin-right:6px;color:var(--text);font-size:28px;line-height:34px;font-weight:600;font-variant-numeric:tabular-nums}
.shell-v3 .wf-fig.is-out strong{color:var(--muted)}
/* M10 correction 01: the split's chart, table and exclusions take the columns the compositions below take (the same
   tracks and gap), so the two grids line up; the table and exclusions start level with the chart under its caption */
.shell-v3 .wf-split{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:8px 24px;align-items:start}
.shell-v3 .wf-split .table-wrap{margin-top:24px}
.shell-v3 .wf-why{margin:24px 0 0;padding-left:18px;color:var(--muted);font-size:13px}
.shell-v3 .wf-focus{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:16px 0 0;padding:8px 12px;border-radius:var(--radius-field);background:var(--accent-50);color:var(--text);font-size:14px;font-weight:600}
.shell-v3 .wf-focus-n{color:var(--muted);font-weight:400}
.shell-v3 .wf-dims{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px 24px;margin-top:16px}
.shell-v3 .wf-dim{min-width:0;margin:0}
.shell-v3 .wf-within{color:var(--muted);font-weight:400}
.shell-v3 .wf-one{margin:6px 0;color:var(--text);font-size:14px}
.shell-v3 .wf-limit{margin:14px 0 0}
.shell-v3 .wf-recorded{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.shell-v3 .wf-recorded li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.shell-v3 .wf-recorded-what{color:var(--muted);font-size:13px}
.shell-v3 .wf-none{margin:0;color:var(--muted)}
.shell-v3 .wf-step .setup-new{margin-top:12px}
.shell-v3 .wm-basis{color:var(--text-secondary)}
.shell-v3 .wm-latest .status+.status{margin-left:8px}
.shell-v3 .wm-summary{margin:0;padding:8px 12px;border-radius:var(--radius-field);background:var(--segment);color:var(--text);font-size:13px}
.shell-v3 .wm-summary-what{color:var(--muted);font-weight:600}
.shell-v3 .wm-needs{margin:0 0 12px;font-size:13px}
.shell-v3 .wm-runs-h{margin:18px 0 8px;font-size:14px}
@media (max-width:900px){
  .shell-v3 .wf-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shell-v3 .wf-control-wide{grid-column:span 2}
}
@media (max-width:640px){
  .shell-v3 .wf-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .shell-v3 .wf-control-wide,.shell-v3 .wf-go,.shell-v3 .wf-control-entity{grid-column:1/-1}
  .shell-v3 .wf-go .btn{width:100%}
  .shell-v3 .wf-split .table-wrap,.shell-v3 .wf-why{margin-top:0}
  .generate-form{grid-template-columns:minmax(0,1fr)}
  .generate-panel .generate-form .gen-hint{grid-column:1;grid-row:auto}
  .generate-form .btn{justify-self:start}
  .shell-v3 .wf-figures{gap:4px 18px}
  .shell-v3 .wf-fig strong{font-size:24px;line-height:30px}
  /* Post-M10 Codex UX-04/UX-05 (30 October 2026): the library's search row stacks; the shared header
     wraps so the full page title shows (no new breakpoints: the shared media list is pinned) */
  .shell-v3 .ix-search-row{grid-template-columns:minmax(0,1fr)}
  .shell-v3 .ix-search-row .ix-acts{justify-content:flex-start}
  .shell-v3 .topbar{flex-wrap:wrap;height:auto;min-height:var(--topbar);padding-top:8px;padding-bottom:8px;row-gap:2px}
  /* Final five-item closure (30 October 2026, Finding 5): the left group dissolves so the heading is the topbar's own
     flex item: row 1 keeps the menu and the controls, row 2 is the full-width title (never a 91px column) */
  .shell-v3 .topbar-left{display:contents}
  .shell-v3 .topbar-meta{margin-left:auto}
  .shell-v3 .topbar-heading{order:3;flex:1 1 100%;min-width:0}
  .shell-v3 .topbar-page{display:block;overflow:visible;text-overflow:clip;white-space:normal;-webkit-line-clamp:none;line-clamp:none;overflow-wrap:break-word;word-break:normal;line-height:24px}
}

/* Post-M10 Codex Gate 2 (30 October 2026): a report row's qualification sits beside its figure (a mark since the UX
   consolidation of 2 November 2026); the full note follows under the row at table width (presentation only; exports
   keep the Notes column). */
.report-table td .rv-quals{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;justify-content:flex-end}
.report-table tr.report-note>td{white-space:normal;font-size:13px;color:var(--muted);background:var(--surface-subtle);padding-top:6px}
.report-table tr.report-note .rn-label{font-weight:600;margin-right:6px}
/* the note stays inside the visible box while the wide table scrolls sideways (container query + sticky) */
.shell-v3 .report-wrap{container-type:inline-size}
/* the wrapper span (not the cell) is sized to the visible box, so the note reads without sideways scrolling */
.shell-v3 .report-wrap .rn-wrap{display:inline-block;position:sticky;left:0;max-width:calc(100cqw - 48px);white-space:normal}
@media print{.report-table tr.report-note>td{background:none}}
/* M10 (Codex UX-03, 13 November 2026): an engagement's Record test opens in a full-width row under its sample, held at the
   frame's left edge and as wide as the frame (as a report's notes row is), so on a phone no field or Save test sits outside
   the visible table; on a phone the indicator column stays in view while a row scrolls to its other columns */
.shell-v3 #sample .table-wrap{container-type:inline-size}
.shell-v3 #sample tr.test-row>td{padding:0 0 10px;white-space:normal}
.shell-v3 #sample .test-detail{position:sticky;left:0;box-sizing:border-box;max-width:100cqw;padding:0 12px}
.shell-v3 #sample .test-for{color:var(--muted)}
.shell-v3 #sample .test-detail .detail-form{display:grid;gap:8px;max-width:480px;margin:8px 0 0}
.shell-v3 #sample .test-detail .detail-form :is(input:not([type=checkbox]),select){width:100%;box-sizing:border-box}
/* (its phone rule, the indicator column held in view, sits in the 640px block of the GHG Inventory's why rows below) */

/* Post-M10 Codex UX-04 (30 October 2026): the Indicator Library's search leads at every width; the selects
   and the tree fold on a phone (app.js), and names wrap between words, never inside one. */
.shell-v3 .ix-top{margin-bottom:16px}
.shell-v3 .ix-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.shell-v3 .ix-filters .ix-fields{display:grid;gap:10px;margin-top:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end}
.shell-v3 .ix-tree-fold{min-width:0}
.shell-v3 .ts-inds .adm-name,.shell-v3 .ix-figs a span,.shell-v3 .ix-rel-list a{overflow-wrap:normal;word-break:normal;hyphens:none}


/* GA-1 Group Analytics (owner brief of 31 October 2026): the scope-ring panel. Additive and view-scoped; the ring's
   scope hues are tokens on the panel so every colour mode keeps its own pair (charts.js reads them on the chart). */
.ga1-panel .panel-head{flex-wrap:wrap}
.ga1-panel .panel-head .sh-line{flex-wrap:wrap;gap:6px 12px;align-items:baseline}
.ga1-val{margin:0;font-size:24px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.ga1-unit{font-size:13px;font-weight:500;color:var(--text-secondary)}
.ga1-ring-row{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:8px 26px;align-items:center}
.ga1-ring{margin:0}
.ga1-legend{max-width:620px}
.ga1-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px;background:var(--dot-held)}
.ga1-dot.ga1-s1{background:var(--chart-scope1,var(--accent))}
.ga1-dot.ga1-s2{background:var(--chart-scope2,#2a8f87)}
.ga1-dot.ga1-s3{background:var(--chart-scope3,#8a7aa8)}
.ga1-details{margin-top:14px;border-top:1px solid var(--line);padding-top:4px}
.ga1-details>summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font-weight:600;color:var(--accent-ink)}
@media(max-width:760px){.ga1-ring-row{grid-template-columns:1fr}.ga1-legend{max-width:none}}
.shell-v3 .ga1-panel{--chart-scope1:var(--accent);--chart-scope2:#2a8f87;--chart-scope3:#8a7aa8}
html[data-theme="midnight"] body.shell-v3 .ga1-panel{--chart-scope2:#64c6c6;--chart-scope3:#b3a6d6}
html[data-theme="ocean"] body.shell-v3 .ga1-panel{--chart-scope2:#2a8fb0}
html[data-theme="forest"] body.shell-v3 .ga1-panel{--chart-scope2:#3f8f7f}
html[data-theme="contrast"] body.shell-v3 .ga1-panel{--chart-scope2:#0d3f42;--chart-scope3:#4d4d4d}

/* GA-1 final correction (owner brief of 31 October 2026): context line, single-scope figure, phone hierarchy. */
.ga1-ctx{margin:0 0 2px;font-size:12px;font-weight:650;color:var(--muted)}
.ga1-sub{margin:3px 0 0;font-size:12.5px;color:var(--muted)}
.ga1-none{margin:8px 0 2px;font-size:18px;font-weight:650;color:var(--text-secondary)}
.ga1-solo{margin:6px 0 2px}
.ga1-solo-fig{margin:0;font-size:30px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.ga1-solo-fig .ga1-unit{font-size:14px}
.ga1-solo-scope{margin:2px 0 0;font-size:12.5px;font-weight:600;color:var(--text-secondary)}
.ga1-ring-row.ga1-tableonly{grid-template-columns:minmax(0,1fr)}
@media(max-width:640px){
  .ga1-view .ga1-intro{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ga1-view .ts-view-line{margin-top:2px}
  .ga1-view .filter-bar.panel{padding:8px 10px;gap:8px}
  .ga1-view .filter-bar label{min-width:0;flex:1 1 40%;font-size:12px}
  .ga1-view .filter-bar .btn{min-height:40px}
  .ga1-view .ga1-panel{padding:14px 14px 12px}
  .ga1-view .ga1-solo-fig{font-size:28px}
  .ga1-view .panel-head{flex-wrap:wrap}
  .ga1-view .ga1-panel{display:flex;flex-direction:column}
  .ga1-view .ga1-panel>.panel-head{display:contents}
  .ga1-view .ga1-open{order:1;width:100%;text-align:center;min-height:44px;margin-top:10px}
  .ga1-view .ga1-details>summary{min-height:44px}
}

/* GA-2 monthly trend (owner brief of 31 October 2026): the trend beneath the overview, one quiet divider. */
.ga2-trend{margin-top:16px;border-top:1px solid var(--line);padding-top:10px}
.ga2-head{flex-wrap:wrap;gap:6px 10px;align-items:baseline}
.ga2-head h3{margin:0;font-size:15px;font-weight:650}
.ga2-none{margin:8px 0 2px;font-size:16px;font-weight:650;color:var(--text-secondary)}
.ga2-one{margin:8px 0 2px;font-size:14px}
.ga2-one b{font-weight:650}
.ga2-chart{margin:6px 0 0}
.ga2-table{margin-top:8px}
.ga2-table>summary{cursor:pointer;min-height:36px;display:flex;align-items:center;font-weight:600;color:var(--accent-ink);font-size:12.5px}
.ga2-table table{max-width:560px}
@media(max-width:640px){
  .ga1-view .ga2-trend{order:0}
  .ga2-table>summary{min-height:44px}
}

/* GA-2 final visual simplification (owner brief of 31 October 2026): the panel header states its statuses as one
   quiet text line, a small dot carrying the severity, in place of the bordered badge row. */
.ga1-status{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:2px 0 0;font-size:var(--fs-help);font-weight:600;color:var(--text-secondary)}
.ga1-status .st{white-space:nowrap}
.st-danger{color:var(--bad)}
.st-warn{color:var(--warn)}
.st-danger::before,.st-warn::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px}
.st-danger::before{background:var(--bad)}
.st-warn::before{background:var(--warn)}
.ga1-status .st-mut{color:var(--muted);font-weight:500}
.ga2-note{font-size:12px;font-weight:600;white-space:nowrap}
@media(max-width:640px){
  .ga1-status{gap:3px 12px;font-size:12px}
}

/* ---- UX consolidation (2 November 2026): Performance Dashboard and Data quality */
/* The Performance view switch wraps on a narrow phone on every view, also where no chart stylesheet is loaded. */
.shell-v3 .ts-view{flex-wrap:wrap}
/* A board row's qualifications: one mark each (ui.qual), spaced as words, at the row's own size. */
.shell-v3 .pb-quals{gap:2px 12px}
.shell-v3 .pb-quals .status{font-size:12px}
/* One line where no indicator is analysed, and one sentence for a year without approved targets. */
.shell-v3 .pb-pick{margin:0 0 16px}
.shell-v3 .pb-targets .metric-band>.section-empty{margin:0 0 16px}
/* The Data quality view's two figures read as type, not tiles: the label, the figure, what it counts and its state. */
.shell-v3 .dq-figure{margin:0 0 16px}
.shell-v3 .dq-figure .metric{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.shell-v3 .dq-figure .metric>span:first-child{color:var(--text);font-size:15px;font-weight:600}
.shell-v3 .dq-figure .metric strong{margin:0}
.shell-v3 .dq-figure .metric .metric-state{margin:0}

/* ---- UX consolidation (2 November 2026): GHG Inventory */
/* Not reconciled reads as its word with a mark, never a coloured edge. */
.shell-v3 .inv-unrec>strong:first-child::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px;background:var(--dot-returned)}

/* ---- UX consolidation (2 November 2026): Home */
/* The Data quality band's one way on ends its heading line, after the help; on a narrow phone it wraps under the title. */
.shell-v3 .adm-figs .sh-line:has(>.link){flex-wrap:wrap}
.shell-v3 .adm-figs .sh-line>.link{margin:0 0 6px auto;white-space:nowrap}
/* The one line on to Reporting Readiness, close under the period's figures it follows. */
.shell-v3 .ov-bands:has(+.ov-onward){margin-bottom:8px}
.shell-v3 .ov-onward{margin:0 0 20px}
/* An approved result's qualifications under its name: one mark each, spaced as words. */
.shell-v3 .ov-results .cell-line{display:flex;flex-wrap:wrap;gap:2px 12px}

/* ---- UX consolidation (2 November 2026): Reporting Readiness, Report Centre, Disclosure Workspace, Assurance, Hierarchical View and the report view */
/* A head that holds the page's choices beside its actions: one row, the actions level with the choice's Show button (the
   bar's 10px padding and its border below it). */
.shell-v3 .adm-head:has(>.filter-bar){align-items:flex-end}
.shell-v3 .adm-head>.filter-bar{margin:0}
.shell-v3 .adm-head>.filter-bar.panel~.adm-actions{margin-bottom:11px}
/* Reporting Readiness: the year's counts as one line of type under the checks' heading; blockers and attention carry
   their status's mark, the onward link ends the line. */
.shell-v3 .rr-tally{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 0;margin:4px 0 0;padding:0;list-style:none;color:var(--text-secondary);font-size:14px;line-height:20px}
.shell-v3 .rr-tally>li+li::before{content:"\00B7";content:"\00B7"/"";margin:0 8px;color:var(--muted)}
.shell-v3 .rr-tally .status{font-size:14px}
/* Report Centre: the readiness line names its blockers in the attention ink. A basis said once for its group leaves the
   row's basis cell holding only its screen-reader text, so that cell takes no room when the list stacks on a phone. */
.shell-v3 .rc-readiness-blockers.is-blocker{color:var(--negative-ink,var(--bad));font-weight:600}
.shell-v3 .report-list td.rc-basis:has(>.sr-only):not(:has(.cell-line)){margin:0;padding-top:0;padding-bottom:0}
/* Disclosure Workspace: the head's facts as one quiet line beside its help; why requirements are not ready as one quiet
   line under the filter, each reason with its count; a row's marks under its facts line. */
.shell-v3 .adm-head .dw-framework,.shell-v3 .adm-head .dw-scope{margin:0;color:var(--text-secondary);font-size:13px;line-height:20px}
.shell-v3 .adm-head .dw-framework strong{color:var(--text);font-weight:600}
.shell-v3 .dw-head{flex-wrap:wrap;gap:2px 12px}
.shell-v3 .dw-reasons{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 0;margin:-4px 0 14px;color:var(--text-secondary);font-size:13px;line-height:20px}
.shell-v3 .dw-reasons-head{margin-right:10px;color:var(--text);font-weight:600}
.shell-v3 .dw-reason{white-space:nowrap}
.shell-v3 .dw-reason+.dw-reason::before{content:"\00B7";content:"\00B7"/"";margin:0 8px;color:var(--muted)}
.shell-v3 .dw-n{color:var(--text);font-variant-numeric:tabular-nums}
.dw-tags.qual-line{margin:6px 0 0}
/* Assurance and the Hierarchical View: the page's help (and the way back) level with the head's actions. */
.shell-v3 .adm-head.has-help{align-items:center}
.shell-v3 .adm-head .sh-line>.task-nav{margin:0}
/* Report view: a row's marks beside the year's figure wrap as words; a note no rule names stays neutral; a printed mark
   keeps its dot (the word carries the meaning where a printer drops it). */
.report-table td .rv-quals{gap:2px 10px}
.report-table td .rv-quals .status{white-space:normal;text-align:left}
.rv-quals .status.is-flag[data-tone="neutral"]{color:var(--text-secondary);font-weight:500}
.rv-quals .status.is-flag[data-tone="neutral"]::before{background:var(--muted)}
.rv-quals .status::before{-webkit-print-color-adjust:exact;print-color-adjust:exact}
/* On a phone the year's counts read as a short list, one a line, without separators. */
@media(max-width:640px){
  .shell-v3 .rr-tally{flex-direction:column;gap:2px}
  .shell-v3 .rr-tally>li+li::before{content:none}
}

/* ---- UX consolidation (2 November 2026): transactions (the data request page, My Tasks, Review & Approve, Source Documents and the Data Register) */
/* A refused Save draft, Submit or review decision is stated in the step or panel whose action it refused (web.flash's
   `at`), in the page-top message's own markup, set where the reader acts: above Save draft, Submit or the decision. */
.step-refusal>.flash{margin:0}
.action-bar>.step-refusal{flex:1 1 100%}
.work-step>.step-refusal{margin:10px 0 0 38px}
.decision-panel>.step-refusal{margin:0 0 12px}
@media(max-width:820px){.work-step>.step-refusal{margin-left:0}}
/* The hand-off's state is a dot before its bold line, the status system's marks: waiting (and entry) a ring, a return the
   attention dot, a closed request the success dot. The lines under it start with its words. */
.handoff>strong::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:8px;vertical-align:1px;box-sizing:border-box;border:1.5px solid var(--dot-held,var(--muted))}
.handoff.is-returned>strong::before{border:0;background:var(--dot-returned,var(--warn))}
.handoff.is-done>strong::before{border:0;background:var(--success,var(--ok))}
.handoff>p{padding-left:15px}
/* My Tasks: the stored run's failures are one line of text beside Save draft and Submit, outside their sticky bar; the
   reporting history's one sentence is text, not a dashed placeholder panel. */
.shell-v3 .cur-check{margin:0;color:var(--text-secondary);font-size:13px;line-height:20px}
.shell-v3 .cur-check .link{white-space:nowrap}
.shell-v3 .hist-empty{padding:0;border:0;border-radius:0}
/* Review & Approve: a card's caveats are marks spaced as words (ui.qual), so the limitation's title is their label, without
   a mark of its own; an open row states its failed checks once, in its card, not again on the row's line. */
.decision-facts .limitation-flags{gap:2px 12px}
.decision-facts .limitation:has(.limitation-flags) .limitation-title::before{content:none}
.queue-row[open]>summary .q-fail{display:none}

/* ---- UX refinement (2 November 2026): task journeys */
/* My Tasks: the current submission leads the workspace and sits on its surface (the inner card's tint, radius and padding
   go); the sticky action bar keeps its height and carries the surface it covers, parted from the entry by one line. */
.shell-v3 .task-workspace>.cur{padding:0;border-radius:0;background:var(--surface)}
.shell-v3 .task-workspace>.cur>.cur-bar{margin:0;padding:10px 0 calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);border-radius:0}
/* Review & Approve, one Approve selected action: the top strip is the selection summary the script writes, so without the
   script it has nothing to say; the form's comment and button show while a value is ticked. Without :has (and in print)
   the form stays visible, and its button's at-zero behaviour is unchanged. */
html:not(.js) .bulk-bar{display:none}
@supports selector(:has(*)){
  .js .content:not(:has(.queue-select input:checked)) form.approve-selected{display:none}
}
/* Data Register: the search and every filter share one row with Filter at a desk width (the fields shrink before the bar
   wraps); narrower screens keep the wrap. */
.shell-v3 .adm-sec>.filter-fold .filter-bar>label{flex:1 1 90px;min-width:0}
.shell-v3 .adm-sec>.filter-fold .filter-bar>.filter-search{flex:2 1 150px}
.shell-v3 .adm-sec>.filter-fold .filter-bar input[name=q]{min-width:0}

/* ---- Information design (2 November 2026): Overview and My Tasks */
/* The decisions line: the quick links, the decisions band and its split sentences are gone (the sidebar and Review &
   Approve carry them); what remains is one line, spaced as the sections it sits between. */
.shell-v3 .ov-decide{margin:0 0 20px;font-weight:600}

/* ---- Information design (2 November 2026): Tracking Sheets and Group Structure */
/* Tracking Sheets: the sheet and its place are the row's identity and take the width; the people read as one quiet
   line; the request progress is one phrase in tabular digits, its overdue subset marked, its closed counts muted. */
.shell-v3 .tracking-dir .c-id{width:34%}
.shell-v3 .tracking-dir .adm-people .adm-who{color:var(--text-secondary);font-weight:400}
.shell-v3 .tracking-dir .adm-people .cond.warn{color:var(--warning-ink);font-weight:600}
.shell-v3 .tracking-dir .req-facts{font-variant-numeric:tabular-nums}
.shell-v3 .tracking-dir .req-facts .quiet{color:var(--muted)}
/* Group Structure: the lead is one compact strip (label then count, once); each group node's count sits right-aligned,
   one column down the tree; a node's own count summary shows only while it is folded (opened, its children carry the
   same counts), so a count is never on the page twice. */
.shell-v3 .tn-row>.tn-grp .tn-n{margin-left:auto}
.shell-v3 .tn-row:has(>.tn-tog[aria-expanded="true"]) .tn-detail{display:none}

/* ---- Information design (2 November 2026): GHG Inventory, Emission Factors and GHG Set-up */
/* GHG Inventory: one qualification beside the approved subtotal, its closed Details holding the reasons and the
   readiness link. The deleted status strip's rules (.inv-status, .inv-held, .inv-status-more) and the reportable-total
   line (.inv-report) are removed above as dead. */
.shell-v3 .inv-nr{margin:6px 0 0}
.shell-v3 .inv-nr>.status{font-size:var(--fs-label)}
.shell-v3 .inv-why{margin:2px 0 0}
.shell-v3 .inv-why>summary{min-height:28px;color:var(--accent-ink);font-size:var(--fs-label)}
.shell-v3 .inv-why>p{max-width:88ch;margin:4px 0 0;color:var(--text-secondary);font-size:var(--fs-label);line-height:19px}
@media(max-width:640px){.shell-v3 .inv-why>summary{min-height:44px}.shell-v3 #sample tr:not(.test-row)>:first-child{position:sticky;left:0;z-index:1;background:var(--paper);box-shadow:1px 0 0 var(--line)}}
/* Emission Factors and GHG Set-up: sample provenance is one neutral word, never a red box. */
.shell-v3 .fct-sample{color:var(--muted);font-weight:500}
/* GHG Set-up: the two D-07 settings on one quiet line, the gated System Settings link last. */
.shell-v3 .setup-settings{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px;margin:0 0 16px;font-size:var(--fs-label);color:var(--text-secondary)}
.shell-v3 .setup-settings strong{color:var(--text);font-weight:600}
.shell-v3 .setup-settings .link{white-space:nowrap}

/* ---- Information design (2 November 2026): remaining screens sweep */
/* The sign-in card lost its tagline paragraph: the heading itself closes the gap to the form.
   Deleted above as dead: the report run's four-count readiness list (.rc-readiness-counts rules and the
   @container rc-strip block; the run now uses the Report Centre's one-line blockers form),
   .shell-v3 .adm-qnote (the approvals queue's repeated who-approves notes are deleted) and
   .shell-v3 .wf-next (the snapshots page no longer repeats the Workforce Metrics tab as a link). */
.login-card h1{margin-bottom:14px}

/* Correction Round 1 (Codex acceptance HOLD, 3 November 2026), AC-04: readability and discoverability at 768 and 390.
   A table wider than its frame scrolls inside it, never the page; while more of it is out of view, shell.js marks the
   frame (data-more: right, left or both) for a faded edge, makes it a named keyboard-focusable region and shows a short
   cue under it. A table that fits is unchanged. */
.table-wrap[data-more="right"]{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent)}
.table-wrap[data-more="left"]{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent)}
.table-wrap[data-more="both"]{-webkit-mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
.table-wrap[data-scroll-region]:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.scroll-cue{margin:6px 0 0;text-align:right;font-size:13px;line-height:18px;color:var(--muted)}
.scroll-cue[hidden]{display:none}
/* the trend table's period details, as numbered notes outside its columns */
.trend-ref{margin-left:3px;font-size:11px;line-height:0}
.trend-notes{margin:8px 0 0;padding-left:20px;font-size:13px;line-height:18px;color:var(--muted)}
/* a qualification under a figure in a table cell keeps to its own line */
.cell-line.qual-line,.adm-sub.qual-line,.tg-sub.qual-line{display:flex;flex-wrap:wrap;gap:2px 10px;white-space:normal}
/* a figure's restriction marks: their own wrapping line, and a long mark wraps within itself, so a mark never widens the cell
   or card it qualifies */
.restriction-marks{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;margin-top:2px}
.restriction-marks .status{white-space:normal}
/* the dashboard's actual column: the figure stays on one line, its sublines wrap when the table is short of room */
.pb-actual .cell-line{white-space:normal}
@media(min-width:641px) and (max-width:900px){
  /* the GHG register's rows, status and restrictions included, stack on a tablet as on a phone */
  .shell-v3 #ghg-register{min-width:0}
  .shell-v3 #ghg-register thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .shell-v3 #ghg-register,.shell-v3 #ghg-register tbody,.shell-v3 #ghg-register tfoot{display:block}
  .shell-v3 #ghg-register tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 0;border-top:1px solid var(--rule)}
  .shell-v3 #ghg-register td,.shell-v3 #ghg-register th{display:block;padding:0;border:0;text-align:left}
  .shell-v3 #ghg-register td.r-source{grid-column:1;grid-row:1;font-weight:600}
  .shell-v3 #ghg-register td.r-source .cell-line{font-weight:400}
  .shell-v3 #ghg-register td.r-value{grid-column:2;grid-row:1;text-align:right}
  .shell-v3 #ghg-register td.r-place{grid-column:1/-1;grid-row:2}
  .shell-v3 #ghg-register td.r-place .cell-line{display:inline;margin-left:6px}
  .shell-v3 #ghg-register td.r-period{grid-column:1;grid-row:3}
  .shell-v3 #ghg-register td.r-status{grid-column:1/-1;grid-row:4}
  .shell-v3 #ghg-register td.r-factor{grid-column:1/-1;grid-row:5;color:var(--muted);font-size:13px}
  .shell-v3 #ghg-register td.inv-open{grid-column:1/-1;grid-row:6;display:flex;gap:0 20px}
  .shell-v3 #ghg-register td.inv-open a{display:inline-flex;align-items:center;min-height:44px}
  .shell-v3 #ghg-register tfoot tr{grid-template-columns:minmax(0,1fr) auto}
  .shell-v3 #ghg-register tfoot th{grid-column:1;grid-row:1;text-align:left}
  .shell-v3 #ghg-register tfoot td.r-value{grid-column:2;grid-row:1}
  .shell-v3 #ghg-register tfoot td:empty{display:none}
}
@media print{.scroll-cue{display:none}.table-wrap[data-more]{-webkit-mask-image:none;mask-image:none}}

/* THEME15-BEGIN */
/* Fifteen appearances, four colour-vision options and the material surfaces (accepted 4 November 2026);
   assembled by prototype/build_app_css.py from the committed generators. Presentation only: no figure, link,
   permission or business status depends on any of it. */
/* Ten SDMS theme concepts (Phase B, 4 November 2026). Generated by gen_themes.py from one palette
   source; concept only, not committed. Architecture: the application's own (app.css V3X block): light
   themes override neutrals and accent only, so every status keeps V3's meaning and value; dark themes
   set every token with midnight's proven status set. */
html[data-theme="spring"] body.shell-v3{--chrome:#e6f3df;--ground:#f0f9e9;--surface:#ffffff;--raised:#f7fcf3;--border:#d9e2d2;--rule:#f4faee;--control:#c0ccb9;--field:#7d9178;--text:#161f14;--muted:#556850;--faint:#5d6e58;--text-secondary:#43553f;--accent:#187245;--on-accent:#ffffff;--accent-ink:#115232;--accent-50:#eff5f2;--accent-100:#dfebe5;--accent-200:#bed8cb;--accent-2:#e6efeb;--accent-3:#d1e3da;--accent-hover:#15623b;--accent-strong:#115232;--focus:#187245;--focus-ring:0 0 0 3px rgba(24,114,69,0.22);--segment:#e7efe2;--control-border:#7d9178;--dot-held:#808e7c;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23556850' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="spring"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="spring"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%23115232' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%23115232' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23115232' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23556850' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23556850' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="spring"] body.shell-v3 .ts-org{--tn-line:#c0ccb9}
.shell-v3 .mode-swatch[data-mode="spring"]{background:linear-gradient(135deg,#f0f9e9 0 55%,#187245 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="coast"] body.shell-v3{--chrome:#ffffff;--ground:#eaf3f5;--surface:#ffffff;--raised:#f3f8fa;--border:#d3dddf;--rule:#eff6f8;--control:#bac7ca;--field:#788d91;--text:#141d1f;--muted:#506468;--faint:#5d7074;--text-secondary:#3f5155;--accent:#13606c;--on-accent:#ffffff;--accent-ink:#0e454e;--accent-50:#eef4f5;--accent-100:#dee9ea;--accent-200:#bdd2d6;--accent-2:#e5eeef;--accent-3:#d0dfe2;--accent-hover:#10535d;--accent-strong:#0e454e;--focus:#13606c;--focus-ring:0 0 0 3px rgba(19,96,108,0.22);--segment:#e3ebed;--control-border:#788d91;--dot-held:#7c8b8e;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23506468' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="coast"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="coast"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%230e454e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%230e454e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%230e454e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23506468' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23506468' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="coast"] body.shell-v3 .ts-org{--tn-line:#bac7ca}
.shell-v3 .mode-swatch[data-mode="coast"]{background:linear-gradient(135deg,#eaf3f5 0 55%,#13606c 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="autumn"] body.shell-v3{--chrome:#fcfaf8;--ground:#f3eee8;--surface:#ffffff;--raised:#f8f6f2;--border:#ddd8d1;--rule:#f6f2ee;--control:#c8c1b9;--field:#918578;--text:#1f1a14;--muted:#685c50;--faint:#74695d;--text-secondary:#554a3f;--accent:#80462d;--on-accent:#ffffff;--accent-ink:#5c3220;--accent-50:#f6f2f0;--accent-100:#ede5e2;--accent-200:#dbcbc4;--accent-2:#f1ebe8;--accent-3:#e6dad5;--accent-hover:#6e3c27;--accent-strong:#5c3220;--focus:#80462d;--focus-ring:0 0 0 3px rgba(128,70,45,0.22);--segment:#ece7e2;--control-border:#918578;--dot-held:#8e857c;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23685c50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="autumn"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="autumn"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%235c3220' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%235c3220' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%235c3220' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23685c50' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23685c50' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="autumn"] body.shell-v3 .ts-org{--tn-line:#c8c1b9}
.shell-v3 .mode-swatch[data-mode="autumn"]{background:linear-gradient(135deg,#f3eee8 0 55%,#80462d 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="frost"] body.shell-v3{--chrome:#ffffff;--ground:#f5f6f7;--surface:#ffffff;--raised:#fafafb;--border:#dddee1;--rule:#f8f8f9;--control:#c2c6cb;--field:#788391;--text:#14191f;--muted:#505a68;--faint:#5d6774;--text-secondary:#3f4855;--accent:#42556c;--on-accent:#ffffff;--accent-ink:#303d4e;--accent-50:#f2f3f5;--accent-100:#e5e7ea;--accent-200:#cacfd6;--accent-2:#eaecef;--accent-3:#d9dde2;--accent-hover:#39495d;--accent-strong:#303d4e;--focus:#42556c;--focus-ring:0 0 0 3px rgba(66,85,108,0.22);--segment:#e9ebee;--control-border:#788391;--dot-held:#7c838e;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23505a68' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="frost"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="frost"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%23303d4e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%23303d4e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23303d4e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23505a68' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23505a68' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="frost"] body.shell-v3 .ts-org{--tn-line:#c2c6cb}
.shell-v3 .mode-swatch[data-mode="frost"]{background:linear-gradient(135deg,#f5f6f7 0 55%,#42556c 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="sky"] body.shell-v3{--chrome:#e6f2f9;--ground:#f7fbfd;--surface:#ffffff;--raised:#fbfdfe;--border:#dee3e6;--rule:#f9fcfe;--control:#c3cbcf;--field:#788791;--text:#141b1f;--muted:#505e68;--faint:#5d6b74;--text-secondary:#3f4c55;--accent:#0870a0;--on-accent:#ffffff;--accent-ink:#065173;--accent-50:#eef5f8;--accent-100:#dcebf2;--accent-200:#bad7e4;--accent-2:#e4eff5;--accent-3:#cee2ec;--accent-hover:#07608a;--accent-strong:#065173;--focus:#0870a0;--focus-ring:0 0 0 3px rgba(8,112,160,0.22);--segment:#eaeef1;--control-border:#788791;--dot-held:#7c868e;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23505e68' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="sky"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="sky"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%23065173' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%23065173' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23065173' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23505e68' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23505e68' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="sky"] body.shell-v3 .ts-org{--tn-line:#c3cbcf}
.shell-v3 .mode-swatch[data-mode="sky"]{background:linear-gradient(135deg,#f7fbfd 0 55%,#0870a0 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="paper"] body.shell-v3{--chrome:#ffffff;--ground:#f6f7f9;--surface:#ffffff;--raised:#fafbfc;--border:#dddfe2;--rule:#f8f9fa;--control:#c3c7cc;--field:#788291;--text:#14181f;--muted:#505968;--faint:#5d6674;--text-secondary:#3f4855;--accent:#184ea0;--on-accent:#ffffff;--accent-ink:#113873;--accent-50:#eff3f8;--accent-100:#dfe6f2;--accent-200:#becde4;--accent-2:#e6ecf5;--accent-3:#d1dcec;--accent-hover:#15438a;--accent-strong:#113873;--focus:#184ea0;--focus-ring:0 0 0 3px rgba(24,78,160,0.22);--segment:#e9ecef;--control-border:#788291;--dot-held:#7c828e;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23505968' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="paper"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#166044;--chart-not-applicable:#5d7f9c;--chart-waiting:#25a670;--chart-returned:#c48400;--chart-not-submitted:#7a837e;--chart-overdue:#c4321f;--chart-trend:#166044;--chart-trend-previous:#7a837e}
html[data-theme="paper"] body.shell-v3 .ts{--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%23113873' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%23113873' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23113873' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23505968' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23505968' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="paper"] body.shell-v3 .ts-org{--tn-line:#c3c7cc}
.shell-v3 .mode-swatch[data-mode="paper"]{background:linear-gradient(135deg,#f6f7f9 0 55%,#184ea0 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="rainy"]{color-scheme:dark}
html[data-theme="rainy"] body.shell-v3{--chrome:#18202a;--ground:#121821;--surface:#1c2530;--raised:#262f39;--border:#333b45;--rule:#2a323c;--control:#4e555e;--field:#818b98;--text:#eeeff2;--muted:#acb2b9;--faint:#99a0a8;--text-secondary:#c6cbd2;--text-disabled:#6f7780;--text-inverse:#121821;--accent:#7eabcd;--on-accent:#121821;--accent-ink:#9abdd8;--accent-50:#1d2732;--accent-100:#253240;--accent-200:#374a5b;--accent-2:#253240;--accent-3:#374a5b;--accent-hover:#90b7d4;--accent-strong:#a5c4dc;--focus:#7eabcd;--focus-ring:0 0 0 3px rgba(126,171,205,0.35);--segment:#2a323c;--control-border:#6e737b;--surface-overlay:rgba(28,37,48,0.88);--success:#4fc48c;--success-ink:#82dcad;--success-50:#17241e;--success-100:#1d3428;--success-200:#29513d;--negative:#ff8f84;--negative-ink:#ffa69d;--warning-bg:#2a2213;--warning-ink:#f0c46a;--warning-edge:#5c4a22;--dot-returned:#e2a43a;--dot-overdue:#f2766b;--dot-due:#e2a43a;--dot-draft:#8fb3d2;--ok:#82dcad;--ok-bg:#16281f;--ok-border:#3f8c66;--warn:#f0c46a;--warn-bg:#2a2213;--warn-border:#9a7a32;--warn-border-soft:#5c4a22;--bad:#ff9a90;--bad-bg:#2d1816;--bad-border:#a2493f;--bad-border-soft:#5a2a25;--info:#8fcdd0;--info-bg:#132527;--info-border:#4a8487;--dot-later:#6c727a;--dot-held:#8c939b;--shadow-rest:0 0 0 1px rgba(255,255,255,.05);--shadow-float:0 0 0 1px #333b45,0 16px 40px rgba(0,0,0,.6);--shadow-3:0 18px 44px rgba(0,0,0,.6);--neutral:#c6cbd2;--neutral-bg:#262f39;--neutral-border:#60666e;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23acb2b9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="rainy"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#457f38;--chart-not-applicable:#2176a8;--chart-waiting:#2cab88;--chart-returned:#d47932;--chart-not-submitted:#6f7772;--chart-overdue:#f2766b;--chart-trend:#7eabcd;--chart-trend-previous:#8e9994}
html[data-theme="rainy"] body.shell-v3 .ts{--ts-shadow:0 0 0 1px rgba(255,255,255,.05);--ts-lift:0 0 0 1px #333b45,0 14px 32px rgba(0,0,0,.55);--ts-inset:#232c36;--ts-hover:#262f39;--ts-track:#2a323c;--ts-rail:#e2a43a;--ts-wait:#4f9a76;--ts-enter:#4e555e;--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%239abdd8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%239abdd8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%239abdd8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23acb2b9' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23acb2b9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="rainy"] body.shell-v3 .ts-org{--tn-line:#404851}
html[data-theme="rainy"] body.shell-v3 .btn:hover{border-color:var(--field)}
html[data-theme="rainy"] body.shell-v3 ::placeholder{color:var(--faint);opacity:1}
.shell-v3 .mode-swatch[data-mode="rainy"]{background:linear-gradient(135deg,#121821 0 55%,#7eabcd 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="twilight"]{color-scheme:dark}
html[data-theme="twilight"] body.shell-v3{--chrome:#1b1923;--ground:#17151e;--surface:#1e1c26;--raised:#282630;--border:#34333c;--rule:#2c2a33;--control:#504e56;--field:#878198;--text:#efeef2;--muted:#afacb9;--faint:#9d99a8;--text-secondary:#c9c6d2;--text-disabled:#746f80;--text-inverse:#17151e;--accent:#b09ae4;--on-accent:#17151e;--accent-ink:#c1b0ea;--accent-50:#262232;--accent-100:#332d42;--accent-200:#4b4261;--accent-2:#332d42;--accent-3:#4b4261;--accent-hover:#bba8e8;--accent-strong:#c8b8ec;--focus:#b09ae4;--focus-ring:0 0 0 3px rgba(176,154,228,0.35);--segment:#2c2a33;--control-border:#6f6e74;--surface-overlay:rgba(30,28,38,0.88);--success:#4fc48c;--success-ink:#82dcad;--success-50:#17241e;--success-100:#1d3428;--success-200:#29513d;--negative:#ff8f84;--negative-ink:#ffa69d;--warning-bg:#2a2213;--warning-ink:#f0c46a;--warning-edge:#5c4a22;--dot-returned:#e2a43a;--dot-overdue:#f2766b;--dot-due:#e2a43a;--dot-draft:#8fb3d2;--ok:#82dcad;--ok-bg:#16281f;--ok-border:#3f8c66;--warn:#f0c46a;--warn-bg:#2a2213;--warn-border:#9a7a32;--warn-border-soft:#5c4a22;--bad:#ff9a90;--bad-bg:#2d1816;--bad-border:#a2493f;--bad-border-soft:#5a2a25;--info:#8fcdd0;--info-bg:#132527;--info-border:#4a8487;--dot-later:#6f6c7a;--dot-held:#908c9b;--shadow-rest:0 0 0 1px rgba(255,255,255,.05);--shadow-float:0 0 0 1px #34333c,0 16px 40px rgba(0,0,0,.6);--shadow-3:0 18px 44px rgba(0,0,0,.6);--neutral:#c9c6d2;--neutral-bg:#282630;--neutral-border:#626067;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23afacb9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="twilight"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#457f38;--chart-not-applicable:#2176a8;--chart-waiting:#2cab88;--chart-returned:#d47932;--chart-not-submitted:#6f7772;--chart-overdue:#f2766b;--chart-trend:#b09ae4;--chart-trend-previous:#8e9994}
html[data-theme="twilight"] body.shell-v3 .ts{--ts-shadow:0 0 0 1px rgba(255,255,255,.05);--ts-lift:0 0 0 1px #34333c,0 14px 32px rgba(0,0,0,.55);--ts-inset:#25232d;--ts-hover:#282630;--ts-track:#2c2a33;--ts-rail:#e2a43a;--ts-wait:#4f9a76;--ts-enter:#504e56;--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%23c1b0ea' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%23c1b0ea' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23c1b0ea' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23afacb9' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23afacb9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="twilight"] body.shell-v3 .ts-org{--tn-line:#424049}
html[data-theme="twilight"] body.shell-v3 .btn:hover{border-color:var(--field)}
html[data-theme="twilight"] body.shell-v3 ::placeholder{color:var(--faint);opacity:1}
.shell-v3 .mode-swatch[data-mode="twilight"]{background:linear-gradient(135deg,#17151e 0 55%,#b09ae4 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="storm"]{color-scheme:dark}
html[data-theme="storm"] body.shell-v3{--chrome:#121a20;--ground:#0e151b;--surface:#151d23;--raised:#20272d;--border:#2c3439;--rule:#232b30;--control:#484f53;--field:#818e98;--text:#eef0f2;--muted:#acb3b9;--faint:#99a2a8;--text-secondary:#c6cdd2;--text-disabled:#6f7980;--text-inverse:#0e151b;--accent:#57c1b6;--on-accent:#0e151b;--accent-ink:#7ccfc6;--accent-50:#15262a;--accent-100:#1b3437;--accent-200:#274f50;--accent-2:#1b3437;--accent-3:#274f50;--accent-hover:#6fcac0;--accent-strong:#89d4cc;--focus:#57c1b6;--focus-ring:0 0 0 3px rgba(87,193,182,0.35);--segment:#232b30;--control-border:#696e72;--surface-overlay:rgba(21,29,35,0.88);--success:#4fc48c;--success-ink:#82dcad;--success-50:#17241e;--success-100:#1d3428;--success-200:#29513d;--negative:#ff8f84;--negative-ink:#ffa69d;--warning-bg:#2a2213;--warning-ink:#f0c46a;--warning-edge:#5c4a22;--dot-returned:#e2a43a;--dot-overdue:#f2766b;--dot-due:#e2a43a;--dot-draft:#8fb3d2;--ok:#82dcad;--ok-bg:#16281f;--ok-border:#3f8c66;--warn:#f0c46a;--warn-bg:#2a2213;--warn-border:#9a7a32;--warn-border-soft:#5c4a22;--bad:#ff9a90;--bad-bg:#2d1816;--bad-border:#a2493f;--bad-border-soft:#5a2a25;--info:#8fcdd0;--info-bg:#132527;--info-border:#4a8487;--dot-later:#6c747a;--dot-held:#8c959b;--shadow-rest:0 0 0 1px rgba(255,255,255,.05);--shadow-float:0 0 0 1px #2c3439,0 16px 40px rgba(0,0,0,.6);--shadow-3:0 18px 44px rgba(0,0,0,.6);--neutral:#c6cdd2;--neutral-bg:#20272d;--neutral-border:#5b6165;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23acb3b9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="storm"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#457f38;--chart-not-applicable:#2176a8;--chart-waiting:#2cab88;--chart-returned:#d47932;--chart-not-submitted:#6f7772;--chart-overdue:#f2766b;--chart-trend:#57c1b6;--chart-trend-previous:#8e9994}
html[data-theme="storm"] body.shell-v3 .ts{--ts-shadow:0 0 0 1px rgba(255,255,255,.05);--ts-lift:0 0 0 1px #2c3439,0 14px 32px rgba(0,0,0,.55);--ts-inset:#1c242a;--ts-hover:#20272d;--ts-track:#232b30;--ts-rail:#e2a43a;--ts-wait:#4f9a76;--ts-enter:#484f53;--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%237ccfc6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%237ccfc6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%237ccfc6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23acb3b9' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23acb3b9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="storm"] body.shell-v3 .ts-org{--tn-line:#3a4146}
html[data-theme="storm"] body.shell-v3 .btn:hover{border-color:var(--field)}
html[data-theme="storm"] body.shell-v3 ::placeholder{color:var(--faint);opacity:1}
.shell-v3 .mode-swatch[data-mode="storm"]{background:linear-gradient(135deg,#0e151b 0 55%,#57c1b6 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
html[data-theme="graphite"]{color-scheme:dark}
html[data-theme="graphite"] body.shell-v3{--chrome:#1a1c1d;--ground:#161718;--surface:#1d1f20;--raised:#27292a;--border:#343536;--rule:#2b2c2d;--control:#4f5051;--field:#818c98;--text:#eef0f2;--muted:#acb2b9;--faint:#99a1a8;--text-secondary:#c6ccd2;--text-disabled:#6f7880;--text-inverse:#161718;--accent:#70a9d2;--on-accent:#161718;--accent-ink:#8fbcdc;--accent-50:#1f262b;--accent-100:#263139;--accent-200:#354957;--accent-2:#263139;--accent-3:#354957;--accent-hover:#84b5d8;--accent-strong:#9bc3e0;--focus:#70a9d2;--focus-ring:0 0 0 3px rgba(112,169,210,0.35);--segment:#2b2c2d;--control-border:#6e7070;--surface-overlay:rgba(29,31,32,0.88);--success:#4fc48c;--success-ink:#82dcad;--success-50:#17241e;--success-100:#1d3428;--success-200:#29513d;--negative:#ff8f84;--negative-ink:#ffa69d;--warning-bg:#2a2213;--warning-ink:#f0c46a;--warning-edge:#5c4a22;--dot-returned:#e2a43a;--dot-overdue:#f2766b;--dot-due:#e2a43a;--dot-draft:#8fb3d2;--ok:#82dcad;--ok-bg:#16281f;--ok-border:#3f8c66;--warn:#f0c46a;--warn-bg:#2a2213;--warn-border:#9a7a32;--warn-border-soft:#5c4a22;--bad:#ff9a90;--bad-bg:#2d1816;--bad-border:#a2493f;--bad-border-soft:#5a2a25;--info:#8fcdd0;--info-bg:#132527;--info-border:#4a8487;--dot-later:#6c737a;--dot-held:#8c949b;--shadow-rest:0 0 0 1px rgba(255,255,255,.05);--shadow-float:0 0 0 1px #343536,0 16px 40px rgba(0,0,0,.6);--shadow-3:0 18px 44px rgba(0,0,0,.6);--neutral:#c6ccd2;--neutral-bg:#27292a;--neutral-border:#616263;--chev-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23acb2b9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="graphite"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip){--chart-approved:#457f38;--chart-not-applicable:#2176a8;--chart-waiting:#2cab88;--chart-returned:#d47932;--chart-not-submitted:#6f7772;--chart-overdue:#f2766b;--chart-trend:#70a9d2;--chart-trend-previous:#8e9994}
html[data-theme="graphite"] body.shell-v3 .ts{--ts-shadow:0 0 0 1px rgba(255,255,255,.05);--ts-lift:0 0 0 1px #343536,0 14px 32px rgba(0,0,0,.55);--ts-inset:#242627;--ts-hover:#27292a;--ts-track:#2b2c2d;--ts-rail:#e2a43a;--ts-wait:#4f9a76;--ts-enter:#4f5051;--ts-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%238fbcdc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6h7' fill='none' stroke='%238fbcdc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%238fbcdc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--ts-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.25' fill='none' stroke='%23acb2b9' stroke-width='1.5'/%3E%3Cpath d='m9.2 9.2 3 3' stroke='%23acb2b9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")}
html[data-theme="graphite"] body.shell-v3 .ts-org{--tn-line:#414344}
html[data-theme="graphite"] body.shell-v3 .btn:hover{border-color:var(--field)}
html[data-theme="graphite"] body.shell-v3 ::placeholder{color:var(--faint);opacity:1}
.shell-v3 .mode-swatch[data-mode="graphite"]{background:linear-gradient(135deg,#161718 0 55%,#70a9d2 55%)} /* taste-skill-ignore: the application's own two-colour mode-swatch device (app.css) */
/* Colour Vision Support (4 November 2026): one independent data-cvd axis over every theme. Generated by
   gen_cvd.py; semantic status and chart tokens only. Words, marks, layouts and the fifteen palettes are
   untouched; charts re-read these tokens through the existing sdms:theme event. */
html[data-cvd="rg"] body.shell-v3{--success:#1d5fbf;--success-ink:#1d5fbf;--success-50:#edf2fa;--success-100:#dfe9f6;--success-200:#c0d2ed;--ok:#1d5fbf;--ok-bg:#edf2fa;--ok-border:#83a7dc;--negative:#c24a00;--negative-ink:#c24a00;--bad:#c24a00;--bad-bg:#fbf2ed;--bad-border:#e0a480;--bad-border-soft:#eeccb8;--warn:#8a6400;--warn-bg:#f6f3eb;--warn-border:#bfaa73;--warn-border-soft:#ded4b8;--warning-ink:#8a6400;--warning-bg:#f7f4ed;--warning-edge:#d0c199;--info:#7c4f9e;--info-bg:#f6f3f8;--info-border:#bea7ce;--dot-overdue:#c24a00;--dot-returned:#8a6400;--dot-due:#8a6400;--dot-draft:#6b6f8a}
html[data-cvd="rg"]:is([data-theme="midnight"],[data-theme="rainy"],[data-theme="twilight"],[data-theme="storm"],[data-theme="graphite"]) body.shell-v3{--success:#7fb3f2;--success-ink:#7fb3f2;--success-50:#17202c;--success-100:#212f3f;--success-200:#354b66;--ok:#7fb3f2;--ok-bg:#141d27;--ok-border:#466285;--negative:#ffa05c;--negative-ink:#ffa05c;--bad:#ffa05c;--bad-bg:#291a0f;--bad-border:#8c5833;--bad-border-soft:#57361f;--warn:#e8c25a;--warn-bg:#251f0e;--warn-border:#806b32;--warn-border-soft:#4f421f;--warning-ink:#e8c25a;--warning-bg:#251f0e;--warning-edge:#5d4e24;--info:#c9a7e8;--info-bg:#201b25;--info-border:#6f5c80;--dot-overdue:#ffa05c;--dot-returned:#e8c25a;--dot-due:#e8c25a;--dot-draft:#a9aec9}
html[data-cvd="rg"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip,.an-fig,.an-sec){--chart-approved:#2f6fbd;--chart-waiting:#8fb5e4;--chart-returned:#c3762c;--chart-overdue:#d55e00;--chart-not-applicable:#8a7f9f;--chart-not-submitted:#7a837e;--chart-trend:#2f6fbd;--chart-trend-previous:#7a837e}
html[data-cvd="rg"]:is([data-theme="midnight"],[data-theme="rainy"],[data-theme="twilight"],[data-theme="storm"],[data-theme="graphite"]) :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip,.an-fig,.an-sec){--chart-approved:#5c93d8;--chart-waiting:#9dc0ea;--chart-returned:#d79045;--chart-overdue:#f08c42;--chart-not-applicable:#a79ac2;--chart-not-submitted:#6f7772;--chart-trend:#5c93d8;--chart-trend-previous:#8e9994}
html[data-cvd="by"] body.shell-v3{--success:#1f7a3f;--success-ink:#1f7a3f;--success-50:#edf4f0;--success-100:#e0ece4;--success-200:#c0dac9;--ok:#1f7a3f;--ok-bg:#edf4f0;--ok-border:#84b695;--negative:#b3261e;--negative-ink:#b3261e;--bad:#b3261e;--bad-bg:#faf0ef;--bad-border:#d9928e;--bad-border-soft:#eac2c0;--warn:#a85400;--warn-bg:#f8f1eb;--warn-border:#cfa173;--warn-border-soft:#e7cfb8;--warning-ink:#a85400;--warning-bg:#f9f3ed;--warning-edge:#dcbb99;--info:#9d3a6d;--info-bg:#f8f1f5;--info-border:#ce9cb6;--dot-overdue:#b3261e;--dot-returned:#a85400;--dot-due:#a85400;--dot-draft:#86707c}
html[data-cvd="by"]:is([data-theme="midnight"],[data-theme="rainy"],[data-theme="twilight"],[data-theme="storm"],[data-theme="graphite"]) body.shell-v3{--success:#67c98a;--success-ink:#67c98a;--success-50:#132419;--success-100:#1b3424;--success-200:#2b543a;--ok:#67c98a;--ok-bg:#102016;--ok-border:#396f4c;--negative:#ff938a;--negative-ink:#ff938a;--bad:#ff938a;--bad-bg:#291816;--bad-border:#8c514c;--bad-border-soft:#57322f;--warn:#f0a05a;--warn-bg:#261a0e;--warn-border:#845832;--warn-border-soft:#52361f;--warning-ink:#f0a05a;--warning-bg:#261a0e;--warning-edge:#604024;--info:#e8a0c6;--info-bg:#251a20;--info-border:#80586d;--dot-overdue:#ff938a;--dot-returned:#f0a05a;--dot-due:#f0a05a;--dot-draft:#bda7b2}
html[data-cvd="by"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip,.an-fig,.an-sec){--chart-approved:#23784a;--chart-waiting:#7fbf9a;--chart-returned:#b9641f;--chart-overdue:#c22a20;--chart-not-applicable:#9b6b8f;--chart-not-submitted:#7a837e;--chart-trend:#23784a;--chart-trend-previous:#7a837e}
html[data-cvd="by"]:is([data-theme="midnight"],[data-theme="rainy"],[data-theme="twilight"],[data-theme="storm"],[data-theme="graphite"]) :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip,.an-fig,.an-sec){--chart-approved:#55b07e;--chart-waiting:#8fd0ab;--chart-returned:#d98c4a;--chart-overdue:#f2766b;--chart-not-applicable:#c495b4;--chart-not-submitted:#6f7772;--chart-trend:#55b07e;--chart-trend-previous:#8e9994}
html[data-cvd="shapes"] body.shell-v3 :is(.dot,.attn-list .dot,.adm-stamp .dot){border-radius:2px}
html[data-cvd="shapes"] body.shell-v3 .dot.done,html[data-cvd="shapes"] body.shell-v3 .attn-list .dot.ready{border-radius:50%}
html[data-cvd="shapes"] body.shell-v3 .dot.overdue{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
html[data-cvd="shapes"] body.shell-v3 .dot.returned{clip-path:polygon(50% 0,100% 100%,0 100%)}
html[data-cvd="shapes"] body.shell-v3 .dot.due{width:4px;height:11px}
html[data-cvd="shapes"] body.shell-v3 .dot.held{width:11px;height:4px}
html[data-cvd="shapes"] body.shell-v3 .dot.draft{background:transparent;box-shadow:inset 0 0 0 2px var(--dot-draft);border-radius:50%}
html[data-cvd="shapes"] body.shell-v3 .status.is-flag{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
html[data-cvd="shapes"] body.shell-v3 .status::before{outline:1px solid var(--text);outline-offset:1px}
html[data-cvd="shapes"] :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip,.an-fig,.an-sec){--chart-approved:#0f3d24;--chart-waiting:#79b493;--chart-returned:#e3b35c;--chart-overdue:#7a1410;--chart-not-applicable:#b9c2d9;--chart-not-submitted:#c7ccc9;--chart-trend:#0f3d24;--chart-trend-previous:#c7ccc9}
html[data-cvd="shapes"]:is([data-theme="midnight"],[data-theme="rainy"],[data-theme="twilight"],[data-theme="storm"],[data-theme="graphite"]) :is(.collection-progress,.performance-trend,.target-chart,.chart-tooltip,.an-fig,.an-sec){--chart-approved:#bfe8d0;--chart-waiting:#4f8468;--chart-returned:#f3d9a0;--chart-overdue:#ff6a5c;--chart-not-applicable:#3c4760;--chart-not-submitted:#565e59;--chart-trend:#bfe8d0;--chart-trend-previous:#565e59}
/* Material surfaces (4 November 2026). Generated by gen_material.py; concept only. Brief-mandated subtle
   gradients and elevation (taste-skill-ignore on each: restrained material treatment ordered by management, alphas
   kept at or under the house ceiling, borders remain the first separator). */
body.shell-v3{
  --elevation-1:0 1px 2px rgba(15,22,18,.05),0 3px 10px rgba(15,22,18,.04);
  --shadow-1:var(--elevation-1);--shadow-rest:var(--elevation-1);--ts-shadow:var(--elevation-1);
  background:linear-gradient(180deg,color-mix(in srgb,var(--ground) 97%,#ffffff 3%) 0,var(--ground) 520px) no-repeat,var(--ground); /* taste-skill-ignore */
}
body.shell-v3 .workspace-nav{
  background:linear-gradient(180deg,color-mix(in srgb,var(--chrome) 96%,#ffffff 4%) 0,var(--chrome) 42%,color-mix(in srgb,var(--chrome) 98.5%,#000000 1.5%) 100%); /* taste-skill-ignore */
}
body.shell-v3 .topbar{
  background:linear-gradient(180deg,color-mix(in srgb,var(--chrome) 97%,#ffffff 3%) 0,var(--chrome) 100%); /* taste-skill-ignore */
}
html:is([data-theme="midnight"],[data-theme="rainy"],[data-theme="twilight"],[data-theme="storm"],[data-theme="graphite"]) body.shell-v3{
  --elevation-1:0 0 0 1px rgba(255,255,255,.05),inset 0 1px 0 rgba(255,255,255,.05);
  --shadow-1:var(--elevation-1);--shadow-rest:var(--elevation-1);--ts-shadow:var(--elevation-1);
}
/* High Contrast: solid surfaces and its own outline shadows; the decoration is suppressed. */
html[data-theme="contrast"] body.shell-v3{
  --elevation-1:var(--shadow-rest);
  background:var(--ground);
}
html[data-theme="contrast"] body.shell-v3 .workspace-nav{background:var(--chrome)}
html[data-theme="contrast"] body.shell-v3 .topbar{background:var(--chrome)}
/* The appearance selector (quick-pick): fifteen themes and four colour-vision options in one searched
   list of real buttons (base.html #theme-panel, app.js): Tab reaches each option, focusing previews it, Enter or a
   click keeps it. Reuses the existing mode-panel/mode-option components; the vision swatch chips are these classes,
   never inline styles. */
.shell-v3 .mode-panel{width:min(380px,calc(100vw - 32px))}
.shell-v3 .mode-search{display:block;margin:0 0 10px;font-size:12px;font-weight:600;color:var(--muted)}
.shell-v3 .mode-search input{width:100%;min-height:34px;margin-top:4px;padding:6px 10px;border:1px solid var(--control-border);border-radius:6px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:400}
.shell-v3 .mode-list{display:block;max-height:min(56vh,520px);margin:0;padding:2px;overflow:auto;list-style:none}
.shell-v3 .mode-row{margin:0;padding:0;list-style:none}
.shell-v3 .mode-group{margin:10px 6px 4px;color:var(--faint);font-size:12px;font-weight:600}
.shell-v3 .mode-group:first-child{margin-top:0}
.shell-v3 button.mode-option{width:100%;min-height:44px;border:1px solid transparent;background:none;color:inherit;font:inherit;text-align:left}
.shell-v3 .mode-option[aria-pressed="true"] .mode-name::after{content:"Selected";margin-left:8px;color:var(--accent-ink);font-size:11px;font-weight:700}
.shell-v3 .mode-row[hidden],.shell-v3 .mode-group[hidden]{display:none}
.shell-v3 .mode-name{min-width:0;font-size:13.5px;font-weight:600;color:var(--text)}
.shell-v3 .mode-name small{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.shell-v3 .mode-chips{display:flex;flex:none;gap:2px}
.shell-v3 .mode-chips i{width:11px;height:18px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(127,127,127,.45)}
.shell-v3 .mode-chips[data-vision="std"] i:nth-child(1){background:#166044}
.shell-v3 .mode-chips[data-vision="std"] i:nth-child(2){background:#7a5700}
.shell-v3 .mode-chips[data-vision="std"] i:nth-child(3){background:#8a2020}
.shell-v3 .mode-chips[data-vision="std"] i:nth-child(4){background:#285c5f}
.shell-v3 .mode-chips[data-vision="rg"] i:nth-child(1){background:#1d5fbf}
.shell-v3 .mode-chips[data-vision="rg"] i:nth-child(2){background:#8a6400}
.shell-v3 .mode-chips[data-vision="rg"] i:nth-child(3){background:#c24a00}
.shell-v3 .mode-chips[data-vision="rg"] i:nth-child(4){background:#7c4f9e}
.shell-v3 .mode-chips[data-vision="by"] i:nth-child(1){background:#1f7a3f}
.shell-v3 .mode-chips[data-vision="by"] i:nth-child(2){background:#a85400}
.shell-v3 .mode-chips[data-vision="by"] i:nth-child(3){background:#b3261e}
.shell-v3 .mode-chips[data-vision="by"] i:nth-child(4){background:#9d3a6d}
.shell-v3 .mode-chips[data-vision="shapes"] i:nth-child(1){background:#17201b}
.shell-v3 .mode-chips[data-vision="shapes"] i:nth-child(2){background:#5d675f}
.shell-v3 .mode-chips[data-vision="shapes"] i:nth-child(3){background:#9aa49e}
.shell-v3 .mode-chips[data-vision="shapes"] i:nth-child(4){background:#d9ded8}
.shell-v3 .mode-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 0;padding-top:10px;border-top:1px solid var(--rule);color:var(--faint);font-size:12px}
/* THEME15-END */

/* ---- Help & Tutorials: interactive user guide (feature/interactive-user-guide, 6 November 2026).
   The spotlight moves instantly (layout properties are never animated); only the card's opacity fades,
   on the shell's own duration tokens, which prefers-reduced-motion already zeroes at :root. ---- */
.topbar-help{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface-subtle);color:var(--text-secondary);border-radius:999px;padding:5px 10px;font:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:background-color var(--dur-1) var(--ease),color var(--dur-1) var(--ease)}
.topbar-help:hover{background:var(--surface-hover);color:var(--accent-strong)}
.help-glyph{display:grid;place-items:center;width:16px;height:16px;border-radius:999px;border:1.5px solid currentColor;font-size:11px;line-height:1;font-weight:700}
.help-panel .help-note{margin:0 0 12px;color:var(--text-secondary);font-size:var(--fs-help);line-height:1.5;max-width:46ch}
.help-topics{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.help-topic{width:100%;text-align:left;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:var(--radius-md);padding:10px 12px;font:inherit;cursor:pointer;display:grid;gap:3px;transition:background-color var(--dur-1) var(--ease),border-color var(--dur-1) var(--ease)}
.help-topic:hover{border-color:var(--control-border);background:var(--surface-hover)}
.help-topic strong{font-size:var(--fs-body)}
.help-topic span{color:var(--text-secondary);font-size:var(--fs-help);line-height:1.45}
/* M08 (12 November 2026): the panel's groups (For this page, Your work, Administration), each topic once; a Help entry
   that is not a tour is quiet text, never a button; a page's own Help button is a small secondary button */
.help-group+.help-group{margin-top:14px}
.help-group-title{margin:0 0 6px;color:var(--muted);font-size:var(--fs-meta);line-height:16px;font-weight:600}
.help-fact{display:grid;gap:3px;padding:0 12px;color:var(--ink)}
.help-fact strong{font-size:var(--fs-body)}
.help-fact span{color:var(--text-secondary);font-size:var(--fs-help);line-height:1.45;overflow-wrap:anywhere}
.help-fact code{font-size:var(--fs-code)}
.shell-v3 .btn.page-help{gap:6px}
.tour-spot{position:fixed;z-index:61;display:none;pointer-events:none;border:2px solid var(--focus);border-radius:var(--radius-sm);box-shadow:0 0 0 9999px rgba(9,14,11,.5)}
.tour-card{position:fixed;z-index:62;top:-9999px;max-width:340px;min-width:240px;background:var(--paper);color:var(--ink);border:1px solid var(--line-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-3);padding:14px 16px;opacity:0;transition:opacity var(--dur-2) var(--ease)}
.tour-card.is-on{opacity:1}
.tour-step{margin:0 0 2px;color:var(--muted);font-size:var(--fs-meta);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.tour-title{margin:0 0 6px;font-size:var(--fs-panel);font-family:var(--font-display);font-weight:650;line-height:1.3}
.tour-text{margin:0 0 12px;font-size:var(--fs-body);color:var(--text-secondary);line-height:1.5}
.tour-actions{display:flex;gap:8px;align-items:center}
.tour-actions .spacer{flex:1}
.tour-card{margin:0;inset:auto}
.tour-card::backdrop{background:transparent}
.tour-spot.is-plain{border-width:0}
