:root {
  color-scheme: light;
  --ink:#2c202b; --muted:#625057; --line:#dbcabf; --paper:#f3ebe0; --white:#fffaf4;
  --link:#832e23; --night:#281d2d; --orange:#f76647; --rust:#883625; --radius:3px; --ease:cubic-bezier(.2,.74,.26,1);
  font: 16px/1.45 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing:border-box }
body { margin:0; color:var(--ink); background:var(--paper) }
button,input,textarea,select { font:inherit }
button,a,input,textarea,select { -webkit-tap-highlight-color:transparent }
button { cursor:pointer }
a { color:var(--link); text-decoration:none }
a:hover { text-decoration:underline }
:focus-visible { outline:3px solid #ac3e2d; outline-offset:3px }
h1,h2,h3,p { margin:0 }
h1 { font:600 clamp(2.15rem,4.8vw,4rem)/1.03 Georgia,serif; letter-spacing:-.055em }
h2 { font-size:1.18rem; letter-spacing:-.02em; line-height:1.25 }
h3 { font-size:1rem }
p { color:var(--muted) }
.sr-only,.skip:not(:focus) { width:1px;height:1px;overflow:hidden;clip-path:inset(50%);position:absolute;white-space:nowrap }
.skip { position:fixed;top:10px;left:10px;z-index:10;background:#fff;padding:10px }
.loading { margin:2rem }
.shell { min-height:100vh }
.masthead { background:var(--night); color:#fcf1e8; border-bottom:1px solid #100c14 }
.masthead-inner,.main-content,.topbar { max-width:1440px; margin-inline:auto; padding-inline:clamp(20px,4.5vw,68px) }
.masthead-top { min-height:77px; display:flex; align-items:center; justify-content:space-between; gap:22px }
.masthead-account,.brand,.workspace,.account { display:flex; align-items:center; gap:12px; min-width:0 }
.brand { color:inherit; white-space:nowrap; gap:10px }
.brand:hover { text-decoration:none }
.brand-mark { width:48px; height:48px; flex:none; display:grid; place-items:center }
.brand-mark img { display:block; width:100%; height:100%; object-fit:contain }
.brand strong,.wordmark small,.workspace strong,.workspace span:not(.ico),.account-name strong,.account-name small { display:block }
.brand strong { font:600 1.38rem/1.02 Georgia,serif; letter-spacing:-.04em }
.wordmark small { color:#d3b9c6; font-size:.62rem; font-weight:700; letter-spacing:.14em; margin-top:6px }
.workspace { padding-right:18px; border-right:1px solid #4b394e }
.workspace-icon { width:32px; height:32px; display:grid; place-items:center; flex:none; border:1px solid #624859; color:#ff9d84 }
.workspace strong,.account-name strong { font-size:.82rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.workspace span:not(.ico),.account-name small { color:#dbbdc9; font-size:.73rem }
.account { border:0; padding:6px 7px; color:inherit; background:none; text-align:left; border-radius:3px; cursor:pointer }
.account:hover { background:#453145 }
.account-name { min-width:0 }
.navigation { display:flex; gap:22px; min-height:49px; overflow:auto; scrollbar-width:thin; border-top:1px solid #524052 }
.nav-item { display:flex; align-items:center; position:relative; gap:8px; padding:10px 3px 13px; color:#e5cdd7; min-height:45px; white-space:nowrap; font-size:.88rem }
.nav-item:hover,.nav-item.selected { color:#fff4ed; text-decoration:none }
.nav-item::after { content:""; position:absolute; inset:auto 0 0; height:3px; background:var(--orange); transform:scaleX(0); transform-origin:left; transition:transform 180ms var(--ease) }
.nav-item:hover::after { transform:scaleX(.25) }
.nav-item.selected::after { transform:scaleX(1) }
.nav-item.selected { font-weight:700 }
.nav-item.selected .ico { color:#ff8f75 }
.nav-item small { background:#ffb4a1; color:#301b28; min-width:19px; padding-inline:4px; text-align:center; font-weight:750 }
.nav-short { display:none }
.masthead :focus-visible { outline-color:#ffa587; outline-offset:-2px }
.topbar { display:flex; align-items:center; justify-content:space-between; min-height:48px; border-bottom:1px solid var(--line); gap:12px }
.breadcrumbs { display:flex; align-items:center; gap:10px; font-size:.86rem; color:var(--muted) }
.breadcrumbs strong { color:var(--ink); font-weight:680 }
.breadcrumbs b { color:var(--muted); font-weight:400 }
.local { color:var(--muted); font:600 .72rem/1.3 ui-monospace,Consolas,monospace; white-space:nowrap }
.local i { display:inline-block; background:#a8301f; width:6px; height:6px; margin-right:3px; transform:rotate(45deg) }
.main-content { padding-top:29px; padding-bottom:42px }
.heading { position:relative; display:flex; justify-content:space-between; gap:24px; align-items:flex-end; padding:8px 0 23px; margin-bottom:20px; border-bottom:2px solid var(--night) }
.heading::after { content:""; position:absolute; bottom:-2px; left:0; width:70px; height:3px; background:var(--orange) }
.heading p { margin-top:8px; font-size:1rem }

.page-actions,.inline { display:flex; gap:8px; align-items:center; flex-wrap:wrap }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:39px; border:1px solid #cdb7ab; border-radius:3px; padding:8px 13px; color:var(--ink); background:#fffaf4; white-space:nowrap; text-decoration:none; font-size:.875rem; font-weight:650; transition:background-color 150ms ease, border-color 150ms ease, transform 140ms var(--ease) }
.btn:hover { background:#f4e2d8; border-color:#ae8273; text-decoration:none }
.btn.primary { background:var(--night); border-color:var(--night); color:#fff4eb; box-shadow:inset 3px 0 var(--orange) }
.btn.primary:hover { background:#4a293b; border-color:#4a293b }
.btn.small { font-size:.78rem; min-height:32px; padding:5px 9px }
.btn:disabled { opacity:.55; cursor:progress }
.btn.text-btn { border-color:transparent; color:var(--link); background:transparent }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:27px; border:1px solid var(--line); border-left:4px solid var(--orange); background:var(--white) }
.metric { display:flex; flex-direction:row-reverse; justify-content:flex-end; align-items:center; gap:14px; text-align:left; min-height:102px; padding:13px 17px; color:var(--ink); background:var(--white); border:0; border-right:1px solid var(--line) }
.metric:hover,.metric-selected { background:#f9e5dd }
.metric div>span { display:block; color:var(--muted); font-size:.85rem; font-weight:600 }
.metric strong { display:block; margin-top:6px; font:600 2.15rem/1.03 Georgia,serif; font-variant-numeric:lining-nums tabular-nums; letter-spacing:-.04em }
.metric-icon { display:grid; place-items:center; flex:none; color:var(--rust); background:#f8e8df; border:1px solid #e9c1b2; width:35px; height:35px; border-radius:50% }
.panel,.table-panel { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); margin-bottom:17px; min-width:0 }
.panel-heading { display:flex; justify-content:space-between; align-items:center; gap:11px; padding:16px 18px; border-bottom:1px solid var(--line) }
.panel-heading p { margin-top:4px; font-size:.84rem }
.toolbar { display:flex; justify-content:space-between; gap:12px; padding:11px 18px; align-items:center; border-bottom:1px solid var(--line) }
.filters { display:flex; gap:5px; flex-wrap:wrap }
.filters button { background:none; color:#56454e; border:0; font-size:.84rem; font-weight:600; min-height:33px; padding:6px 11px; border-radius:2px }
.filters button:hover { background:#f2dacf; color:#613633 }
.filters button.on { background:#f2dacf; color:#613633; font-weight:730 }
.search { display:flex; align-items:center; gap:9px; border:1px solid #d4bfb3; background:var(--white); min-height:35px; border-radius:3px; padding:0 10px; color:var(--muted) }
.search:focus-within { outline:2px solid var(--rust); outline-offset:1px }
.search input { min-width:0; width:182px; border:0; outline:none; background:transparent; color:var(--ink); font-size:.81rem; padding:6px 0 }
.table-scroll { overflow:auto }
table { width:100%; border-collapse:collapse; text-align:left }
.registry { min-width:740px }
th { padding:10px 13px; background:#f3e9df; color:#5d4a52; font:650 .78rem/1.4 "Segoe UI",sans-serif; white-space:nowrap }
td { border-top:1px solid #eadfd6; padding:10px 13px; font-size:.85rem }
th:first-child,td:first-child { padding-left:18px }
th:last-child,td:last-child { padding-right:18px }
.registry td:nth-child(3) { white-space:nowrap }
.registry td small, .matrix-table td small { display:block; margin-top:1px; font-size:.73rem; font-weight:500 }
.registry td strong { font-weight:650 }
.entry { display:flex; align-items:center; gap:11px; min-width:218px }
.entry a { display:block; font-weight:660; font-size:1rem; color:var(--ink); line-height:1.22; margin:2px 0 }
.entry a:hover { color:var(--link) }
.entry div>span,.entry small { color:var(--muted); font-size:.73rem }
.entry small { font-family:ui-monospace,Consolas,monospace; letter-spacing:.035em }
.doc-icon { width:33px; height:36px; display:grid; place-items:center; border:1px solid #ead2c4; color:var(--rust); background:#f7e8de; border-radius:2px; flex:none }
.badge { display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border-radius:2px; font-size:.73rem; font-weight:650; white-space:nowrap; line-height:1.35 }
.badge.neutral { color:#48564f; background:#edf0ed }
.badge.blue { color:#2c5579; background:#e6eef8 }
.badge.gold { color:#78541b; background:#faf0d8 }
.badge.green { color:#25583c; background:#e6f1e6 }
.badge.red { color:#8a3a32; background:#f8e8e5 }
.badge.purple { color:#5e4a79; background:#eee8f6 }
.badge.outline { background:#fbf3e9; border:1px solid var(--line); color:#6c4552 }
.warn { color:#8a541f; font-weight:650 }
.muted { color:var(--muted) }
.owner { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; font-size:.8rem }
.avatar { width:25px; height:25px; border-radius:50%; background:#f1ded2; color:#6c3e3b; display:grid; place-items:center; flex:none; font-size:.63rem; font-weight:700 }
.avatar.dark { width:33px; height:33px; background:#5b3b50; color:#ffe0d4; font-size:.74rem }
.row-open { display:grid; place-items:center; width:26px; height:31px; border-radius:5px; color:var(--rust); margin-left:auto }
.row-open:hover { background:#f2d5c9 }
.table-footer { padding:10px 18px; border-top:1px solid var(--line); color:var(--muted); font-size:.78rem; background:#f5eee5 }
.empty { padding:27px 18px; color:var(--ink) }
.empty p { margin-top:4px; font-size:.87rem }
.back { display:inline-flex; align-items:center; gap:6px; font-size:.8rem; margin:0 0 14px }
.eyebrow { font:650 .77rem/1.4 ui-monospace,Consolas,monospace; color:#70504d; letter-spacing:.045em; margin-bottom:6px }
.demo-label { font:600 .71rem/1.3 "Segoe UI",sans-serif; color:#70504d; border-left:1px solid var(--line); padding-left:7px; margin-left:4px }
.case-strip { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin:0 0 18px; color:var(--muted); font-size:.84rem }
.case-strip span:not(.badge):not(.ico) { display:inline-flex; align-items:center; gap:5px }
.tabs { display:flex; gap:4px; padding:3px 0 0; border-bottom:1px solid #a78d83; margin-bottom:20px; overflow:auto }
.tabs a { flex:none; position:relative; border:1px solid transparent; border-radius:4px 4px 0 0; border-bottom:3px solid transparent; padding:10px 13px 8px; font-size:.87rem; color:var(--muted); font-weight:600; transition:background-color 150ms ease }
.tabs a:hover,.tabs a.on { text-decoration:none }
.tabs a.on { background:#fffaf4; border-color:#c5ab9f; border-bottom-color:var(--orange); color:var(--ink); font-weight:700 }
.split { display:grid; grid-template-columns:minmax(0,1.11fr) minmax(0,1fr); gap:16px; align-items:start }
.details { margin:0 }
.details div { display:grid;grid-template-columns:minmax(100px,29%) 1fr;gap:9px;padding:10px 18px;border-top:1px solid #eadfd6;font-size:.85rem }
.details div:first-child { border-top:0 }
.details dt { color:var(--muted) }
.details dd { margin:0; overflow-wrap:anywhere; white-space:pre-line }
.line-item { display:flex; gap:12px; align-items:center; padding:12px 18px; border-top:1px solid #eadfd6; min-width:0; font-size:.87rem }
.line-item:first-child {border-top:0}
.line-item p { font-size:.8rem; margin-top:2px; overflow-wrap:anywhere }
.line-item>div:first-child:not(.grow) { flex:1; min-width:0 }
.grow { flex:1; min-width:0; overflow-wrap:anywhere }
.panel-copy { padding:14px 18px; font-size:.9rem }
.panel-copy p { margin-top:8px }
.callout { background:#eef5ee; border:1px solid #d0e0d2; padding:10px 13px; border-radius:6px; font-size:.84rem; margin:12px 18px }
.callout.danger {background:#f9eeea;border-color:#ecd9cf;color:#81412f}
.matrix-table { min-width:730px }
.matrix-table td:first-child { min-width:250px; width:38% }
.matrix-table td a { white-space:nowrap }
.matrix-toolbar>label:nth-child(2) { font-size:.82rem; white-space:nowrap }
.matrix-toolbar select { width:auto; padding:4px 8px }
.link-btn { border:0; padding:0; text-align:left; background:none; color:var(--link); font-size:inherit; font-weight:650 }
.link-btn:hover { text-decoration:underline }
.login { min-height:100vh; display:grid; place-items:center; padding:24px; background:var(--night) }
.login section { width:min(565px,100%); padding:clamp(20px,5vw,42px); border-radius:3px; border-top:6px solid var(--orange); background:var(--white) }
.brand-login {padding:0;margin-bottom:26px}
.login p { margin-top:9px }
.login-actions { display:flex;gap:9px;flex-wrap:wrap;margin-top:25px }
#dialog { inset:0 0 0 auto; margin:0; padding:0; height:100%; max-height:none; max-width:min(670px,100vw); width:100%; overflow:hidden; border:0; border-left:4px solid var(--orange); border-radius:0; background:var(--white); color:var(--ink); box-shadow:-14px 0 38px #26162837 }
#dialog > form { display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; height:100% }
#dialog::backdrop { background:#2416258c }
.dialog-header,.dialog-footer { background:#f0e3d7; display:flex; justify-content:space-between; align-items:center; gap:10px; padding:15px 20px }
.dialog-header { border-bottom:1px solid var(--line) }
.dialog-footer { border-top:1px solid var(--line); justify-content:flex-end; flex-wrap:wrap }
.dialog-body { padding:20px; overflow:auto; overscroll-behavior:contain }
.dialog-body>p,.dialog-body>div:not(.form-grid) { margin-bottom:12px }
.dialog-body .callout { margin:0 0 12px }
.close { border:0; border-radius:5px; background:none; color:var(--rust); width:34px; height:34px; font-size:1.38rem }
.close:hover { background:#f6d8cb }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
.form-grid>* { min-width:0 }
.field { display:grid; gap:4px; align-content:start; font-size:.84rem; font-weight:650 }
.field.wide,.span-2 { grid-column:1/-1 }
.field span.help { font-size:.79rem; font-weight:400;color:var(--muted) }
input:not([type=checkbox]):not([type=search]),textarea,select { width:100%; padding:8px 9px; color:var(--ink); background:#fffdf9; border:1px solid #cdb7ab; border-radius:5px; font-size:.9rem }
input[type=checkbox] { accent-color:var(--link); width:16px; height:16px; flex:none }
textarea { resize:vertical; min-height:83px }
fieldset { margin:0; min-width:0; border:1px solid var(--line); border-radius:6px; padding:8px 10px 10px }
legend { color:var(--muted);font-size:.8rem; font-weight:650;padding:0 5px }
.check-option { display:flex; align-items:flex-start; gap:8px; font-size:.84rem;padding:5px 0; overflow-wrap:anywhere }
.check-option input { margin:2px 0 0 }
.check-option small { display:block; color:var(--muted) }
pre,.fragment { background:#f6ede4; border:1px solid var(--line); padding:11px; margin:5px 0; border-radius:5px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:.82rem; max-height:350px; overflow:auto }
.dialog-body details { margin:10px 0; font-size:.85rem }
.dialog-body summary { cursor:pointer; font-weight:650 }
.form-error { color:#8a3225; margin:0; padding:0 19px; font-size:.85rem }
.form-error:not(:empty) { padding-block:8px }
#notice { position:fixed; pointer-events:none; right:18px; bottom:18px; z-index:20; background:var(--night); color:white; border-radius:2px; border-left:4px solid var(--orange); padding:11px 15px; max-width:calc(100% - 36px); opacity:0; transform:translateY(7px); transition:opacity 155ms ease,transform 180ms var(--ease); font-size:.9rem }
#notice.visible { opacity:1; transform:translateY(0) }
.ico { width:15px; height:15px; display:inline-block; position:relative; flex:none; color:inherit }
.ico::before,.ico::after { content:""; position:absolute }
.i-folder::before { inset:4px 0 1px; border:1.4px solid; border-radius:2px }
.i-folder::after { top:2px; left:1px; height:3px; width:6px; border:1.4px solid; border-bottom:0; border-radius:2px 2px 0 0 }
.i-file::before { inset:0 2px; border:1.4px solid; border-radius:2px }
.i-file::after { left:5px; top:5px; width:5px; height:1px; background:currentColor; box-shadow:0 3px currentColor,0 6px currentColor }
.i-building::before { inset:0 2px; border:1.4px solid; border-radius:2px }
.i-building::after { top:4px; left:5px; width:1px; height:2px; background:currentColor; box-shadow:4px 0 currentColor,0 4px currentColor,4px 4px currentColor,2px 8px currentColor }
.i-stack::before { width:10px; height:10px; border:1.4px solid; border-radius:2px; left:3px; bottom:1px }
.i-stack::after { width:10px; height:10px; border:1.4px solid; border-right:0; border-bottom:0; border-radius:2px; left:0; top:0 }
.i-bell::before { width:9px;height:9px; top:1px;left:2px; border:1.4px solid;border-radius:6px 6px 2px 2px }
.i-bell::after { width:4px;height:1.5px;background:currentColor;bottom:0;left:5.5px;border-radius:2px }
.i-settings::before { inset:1px;border:1.4px dashed;border-radius:50% }
.i-settings::after { inset:4px;border:1.4px solid;border-radius:50% }
.i-calendar::before { inset:2px 0 1px; border:1.4px solid; border-radius:2px }
.i-calendar::after { top:6px; left:1px; width:13px; height:1.4px; background:currentColor }
.i-clock::before { inset:0;border:1.4px solid;border-radius:50% }
.i-clock::after { left:7px;top:3px;width:4px;height:5px;border-left:1.4px solid;border-bottom:1.4px solid }
.i-check::before { left:3px;top:3px;width:9px;height:5px;border-left:1.6px solid;border-bottom:1.6px solid;transform:rotate(-45deg) }
.i-plus::before {left:2px;right:2px;top:7px;height:1.5px;background:currentColor}
.i-plus::after {top:2px;bottom:2px;left:7px;width:1.5px;background:currentColor}
.i-search::before {width:8px;height:8px;top:0;left:0;border:1.4px solid;border-radius:50%}
.i-search::after {width:6px;height:1.4px;top:10px;left:8px;background:currentColor;transform:rotate(47deg)}
.i-chevron::before,.i-back::before {width:6px;height:6px;top:4px;left:3px;border-top:1.5px solid;border-right:1.5px solid;transform:rotate(45deg)}
.i-back::before {transform:rotate(-135deg);left:4px}
.i-edit::before {width:11px;height:4px;top:5px;left:1px;border:1.4px solid;border-radius:1px;transform:rotate(-45deg)}
.i-lock::before {width:10px;height:7px;top:6px;left:1px;border:1.4px solid;border-radius:2px}
.i-lock::after {width:5px;height:6px;top:0;left:3.5px;border:1.4px solid;border-radius:5px 5px 0 0}
.i-download::before {top:1px;left:6px;width:2px;height:8px;background:currentColor}
.i-download::after {inset:7px 2px 1px;border:1.4px solid;border-top:0;border-radius:0 0 2px 2px}
.i-more::before {width:3px;height:3px;border-radius:50%;top:6px;left:6px;background:currentColor;box-shadow:-5px 0 currentColor,5px 0 currentColor}

/* The registry uses one ruled strip so its numbers read as columns of the same ledger. */
.metric:last-child { border-right:0 }
.metric:focus-visible { z-index:1 }
.table-panel>.panel-heading { background:#eadecf; border-bottom:1px solid #c2aa99 }
.table-panel .panel-heading h2,.panel .panel-heading h2 { font:600 1.42rem/1.18 Georgia,serif; letter-spacing:-.025em }
.table-panel .toolbar { background:#fffaf3 }
.registry tbody tr:nth-child(even) td,.matrix-table tbody tr:nth-child(even) td { background:#fbf5ed }
.registry tbody tr:hover td,.matrix-table tbody tr:hover td,.registry tbody tr:focus-within td { background:#fae6db }
.registry td:first-child,.matrix-table td:first-child { border-left:3px solid transparent }
.registry tbody tr:hover td:first-child,.registry tbody tr:focus-within td:first-child,.matrix-table tbody tr:hover td:first-child { border-left-color:var(--orange) }
.btn:active { transform:translateY(1px) }
.btn.primary .ico { color:#ff9d83 }
.tabs a:hover { background:#eeddd2 }
.brand-login .wordmark small { color:#765a67 }
.brand-login .brand-mark { background:var(--night); border-radius:3px }
#dialog[open] { animation:drawer-in 250ms var(--ease) both }
#dialog[open]::backdrop { animation:shade-in 220ms ease both; background:#2416258c }
#dialog.closing { pointer-events:none; animation:drawer-out 185ms ease-in both }
#dialog.closing::backdrop { animation:shade-out 185ms ease-in both }
.dialog-header h2 { font:600 1.4rem/1.25 Georgia,serif }
.dialog-body details[open]>:not(summary) { animation:reveal 165ms var(--ease) both }
.view-enter { animation:reveal 220ms var(--ease) both }
.view-enter .heading::after { animation:signature-rule 340ms var(--ease) both; transform-origin:left }
@keyframes reveal { from { opacity:.35; transform:translateY(6px) } to { opacity:1; transform:translateY(0) } }
@keyframes signature-rule { from { transform:scaleX(.2) } to { transform:scaleX(1) } }
@keyframes drawer-in { from { transform:translateX(100%) } to { transform:translateX(0) } }
@keyframes drawer-out { from { transform:translateX(0) } to { transform:translateX(100%) } }
@keyframes shade-in { from { opacity:0 } to { opacity:1 } }
@keyframes shade-out { from { opacity:1 } to { opacity:0 } }
@media(max-width:1000px) { .metric { gap:8px; padding-inline:11px } .split { grid-template-columns:1fr } }
@media(max-width:760px) {
  .metrics { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .metric { min-height:80px }
  .metric:nth-child(2) { border-right:0 }
  .metric:nth-child(-n+2) { border-bottom:1px solid var(--line) }
  .navigation { gap:17px }
  .workspace { display:none }
  .masthead-top { min-height:65px }
  .main-content { padding-top:20px }
}
@media(max-width:590px) {
  .navigation { gap:0 11px; flex-wrap:wrap; min-height:0; overflow:visible }
  .nav-item { min-height:41px; font-size:.83rem; padding:7px 2px; gap:5px }
  .nav-item .ico,.nav-full { display:none }
  .nav-short { display:inline }
  .heading,.toolbar { flex-direction:column; align-items:stretch }
  .tabs { flex-wrap:wrap; overflow:visible; column-gap:4px; row-gap:0 }
  .tabs a { font-size:.83rem; padding:8px 7px; }
  .search input { width:100% }
}
@media(max-width:470px) {
  .masthead-inner,.main-content,.topbar { padding-inline:14px }
  .masthead-top { gap:6px }
  .brand-mark { width:41px; height:41px }
  .brand strong { font-size:1.15rem }
  .account-name { display:none }
  .metric { min-height:74px; padding:8px; gap:6px }
  .metric-icon,.metric-icon.urgent,.metric-icon.review,.metric-icon.pending { width:27px; height:27px }
  .metric strong { font-size:1.8rem }
  .line-item { flex-wrap:wrap }
  .form-grid { grid-template-columns:1fr }
  .btn { white-space:normal }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important }
}

