/* Brand-adapted native CSS. Reference: Lythe marketing and Fraser public sign-in, Oct 7 2026.
   Operate mode; variance 6 / motion 3 / density 4. Tabler geometry, self-hosted brand fonts. */
@font-face{font-family:'Geist Pixel Square';src:url('assets/GeistPixel-Square.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url('assets/Inter-Latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{color-scheme:dark;--canvas:#171717;--surface:#202020;--raised:#272727;--sidebar:#111111;--ink:#ededed;--muted:#adadad;--line:#383838;--accent:#ededed;--accent-hover:#d7d7d7;--on-accent:#171717;--soft:#2a2a2a;--success:#b5d8c6;--danger:#f1aaaa;--warning:#dcc8a2;--radius:14px;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.65 Inter,ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:4px;text-decoration-thickness:1px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}::selection{background:var(--ink);color:var(--canvas)}input,textarea{caret-color:var(--ink)}*{scrollbar-width:thin;scrollbar-color:var(--line) var(--canvas)}.skip{position:fixed;top:-80px;left:16px;background:var(--ink);color:var(--canvas);padding:12px;z-index:100}.skip:focus{top:8px}
.preview-bar{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--sidebar);border-bottom:1px solid var(--line);padding:5px 24px;font-size:11px;color:var(--muted)}.preview-bar strong{font-weight:500;color:var(--ink)}.text-button{padding:0;color:var(--ink);border:0;background:none;text-decoration:underline;text-underline-offset:4px;font-size:inherit}.preview-bar .text-button{color:var(--muted)}
.shell{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:calc(100dvh - 34px)}#sidebar{background:var(--sidebar);padding:30px 16px 25px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;max-height:100dvh;border-right:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;padding:0 14px 38px;font-size:25px;font-weight:550;letter-spacing:-.03em}.brand img{width:27px;height:30px;object-fit:contain}.brand small{color:var(--muted);font-size:11px;display:block;font-weight:400;letter-spacing:0;line-height:1.3}.workspace-label{font-size:11px;color:var(--muted);margin:0 14px 12px}.nav{display:flex;flex-direction:column;gap:5px}.nav a{display:flex;align-items:center;gap:11px;padding:11px 13px;text-decoration:none;color:var(--muted);font-size:13px;border-radius:8px;transition:background-color 180ms var(--ease),color 180ms var(--ease)}.nav a:hover{background:var(--surface);color:var(--ink)}.nav a.active{background:var(--raised);color:var(--ink);font-weight:550}.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.aside-note{margin-top:auto;padding:50px 14px 0;font-size:12px;color:var(--muted);line-height:1.6}.aside-note strong{display:block;color:var(--ink);margin-bottom:7px;font-size:12px;font-weight:500}.aside-note p{margin:0}.team-signature{width:31px;height:31px;display:grid;place-items:center;margin-bottom:13px;border:1px solid var(--line);border-radius:50%}.team-signature .icon{width:15px;height:15px}
.workspace{min-width:0}#topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 46px;border-bottom:1px solid var(--line);gap:20px}.crumb{font-size:12px;color:var(--muted)}.top-controls{display:flex;align-items:center;gap:16px}.mode-control{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.mode-control select{font-size:12px;padding:8px 27px 8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);min-height:36px}.avatar{width:30px;height:30px;display:grid;place-items:center;background:var(--raised);border-radius:50%;font-size:11px;font-weight:500}main{max-width:1280px;margin:0 auto;padding:47px 46px 65px;min-height:calc(100dvh - 155px)}footer{padding:0 46px 25px;font-size:11px;color:var(--muted)}h1,h2,h3{line-height:1.3;text-wrap:balance}h1{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:38px;font-weight:500;letter-spacing:-.02em;margin:0 0 14px;max-width:25ch}h2{font-size:17px;font-weight:550;letter-spacing:-.015em;margin:0 0 19px}h3{font-size:14px;font-weight:550;margin:0 0 7px}p{margin:0 0 16px;max-width:72ch}.intro{color:var(--muted);font-size:14px;margin:0;max-width:61ch}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:36px}.page-head>.button{margin-top:8px}.muted{color:var(--muted)}.small-text{font-size:13px}.tiny{font-size:11px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px;min-width:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 17px;min-height:42px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--ink);font-size:12px;font-weight:550;text-decoration:none;white-space:nowrap;transition:background-color 180ms var(--ease),border-color 180ms var(--ease)}.button:hover{background:var(--raised);border-color:var(--muted)}.button.primary{background:var(--accent);border-color:transparent;color:var(--on-accent)}.button.primary:hover{background:var(--accent-hover)}.page-head .button.primary{border-radius:999px;padding-inline:21px}.button.small{padding:7px 12px;min-height:36px;font-size:12px}.button.danger{color:var(--danger)}.button:disabled{opacity:.45}.button:disabled:hover{background:transparent;border-color:var(--line)}.button.primary:disabled:hover{background:var(--accent)}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.arrow-link{color:var(--muted);border:1px solid var(--line);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;text-decoration:none}.arrow-link:hover{background:var(--raised);color:var(--ink)}
.home-intro{padding:7px 0 5px}.home-intro h1{font-size:44px;max-width:19ch}.home-intro .page-head{align-items:center}.balance-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 0 29px;margin:0 0 34px;border-bottom:1px solid var(--line);border-top:1px solid var(--line)}.balance-main{display:flex;align-items:center;gap:16px;min-width:0}.balance-main strong{font-size:14px;font-weight:500}.balance-main p{margin:2px 0 0;color:var(--muted);font-size:12px}.allowance-detail{font-size:12px;line-height:1.7;color:var(--muted);margin-left:auto}.allowance-detail strong{font-weight:400;color:var(--ink)}.balance-strip .button{border-radius:999px;min-height:36px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px}.section-top h2{margin:0;display:flex;align-items:center;gap:10px}.section-count{font-family:Inter,sans-serif;font-size:11px;font-weight:400;color:var(--muted);border:1px solid var(--line);padding:2px 7px;border-radius:5px;line-height:1.4}.section-link{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);text-decoration:none}.section-link:hover{color:var(--ink)}.section-link .icon{width:15px;height:15px}.home-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:32px;align-items:start}.row-list{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.request-row{display:grid;grid-template-columns:minmax(0,1fr) auto 34px;gap:16px;align-items:center;padding:24px;border-bottom:1px solid var(--line)}.request-row:last-child{border:0}.request-row p{margin:0;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.request-row h3{margin-bottom:8px}.badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:450;border-radius:999px;padding:4px 10px;background:var(--raised);color:var(--muted);white-space:nowrap}.badge:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.badge.good{color:var(--success)}.badge.blue{color:var(--ink)}.badge.warn{color:var(--warning)}.badge.bad{color:var(--danger)}.report-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:17px;align-items:center;padding:25px;border-bottom:1px solid var(--line)}.report-row:last-child{border:0}.file-icon{height:46px;width:38px;color:var(--ink);display:grid;place-items:center;background:var(--raised);border-radius:7px}.file-icon .icon{width:23px;height:23px}.report-row p{margin:0;color:var(--muted);font-size:11px}.report-row h3{margin-bottom:7px}.home-reports .report-row{grid-template-columns:38px minmax(0,1fr);padding:24px}.home-reports .report-row .actions{grid-column:2;margin-top:6px}.home-reports .report-row .button{background:transparent;min-height:32px;padding:5px 11px;font-size:11px}.service-foot{display:flex;align-items:center;gap:28px;border-top:1px solid var(--line);padding-top:24px;margin-top:42px;color:var(--muted);font-size:12px}.service-foot>span{display:flex;align-items:center;gap:10px;white-space:nowrap;color:var(--ink)}.service-foot p{margin:0;max-width:63ch}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:42px;align-items:start;max-width:1070px}.form-panel{padding:32px}.field{display:flex;flex-direction:column;gap:10px;margin-bottom:26px}.field label{font-size:13px;font-weight:500}.field input,.field select,.field textarea{color:var(--ink);background:var(--canvas);width:100%;border:1px solid var(--line);border-radius:10px;padding:12px 14px;min-height:46px;font-size:13px}.field input:hover,.field textarea:hover,.field select:hover{border-color:var(--muted)}.field textarea{min-height:118px;resize:vertical;line-height:1.7}.field small{font-size:11px;color:var(--muted);line-height:1.6}.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:1}.check-block{border-top:1px solid var(--line);margin:33px 0 27px;padding-top:26px}.check-block h2{font-size:16px;margin-bottom:21px}.check{display:flex;gap:13px;align-items:flex-start;font-size:12px;line-height:1.8;margin:19px 0;color:var(--muted)}.check input{accent-color:var(--accent);height:18px;width:18px;margin:2px 0 0;flex-shrink:0}.form-foot{border-top:1px solid var(--line);padding-top:25px;display:flex;align-items:center;justify-content:space-between;gap:18px}.form-foot p{font-size:11px;color:var(--muted);margin:0}.form-foot p strong{color:var(--ink);font-weight:500}.guide{padding-top:8px;min-width:0}.guide h2{font-size:16px;margin-bottom:27px}.guide ol{padding-left:20px;margin:0 0 30px;color:var(--muted);font-size:12px}.guide li{padding-left:8px;margin-bottom:24px}.guide li::marker{color:var(--ink)}.guide li strong{display:block;color:var(--ink);font-weight:500;margin-bottom:7px}.note{padding:17px 18px;background:var(--raised);color:var(--muted);border-radius:10px;font-size:12px;line-height:1.8;margin:21px 0}.note p{margin:0}.note.warning{color:var(--warning)}.error{color:var(--danger);font-size:12px;margin:14px 0;display:none}.error:not(:empty){display:block}
.table-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow:auto;background:var(--surface);max-width:100%}table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums}th{text-align:left;padding:18px 22px;font-size:11px;font-weight:450;color:var(--muted);white-space:nowrap;background:var(--surface)}td{padding:23px 22px;border-top:1px solid var(--line);vertical-align:middle}td strong{font-weight:500}td .muted{display:block;font-size:11px;margin-top:5px}td a{font-size:11px}.nowrap{white-space:nowrap}.num{text-align:right}.empty{padding:39px 25px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.empty p{margin-bottom:22px;color:var(--muted);font-size:13px}.empty h2{margin-bottom:12px}.pack-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:850px;margin-top:32px}.pack{padding:32px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.pack h2{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:29px;font-weight:500;margin:0 0 16px}.pack .price{font-size:42px;font-weight:450;font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin:35px 0 4px}.pack .price small{font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0}.pack p{font-size:12px;color:var(--muted)}.pack .button{width:100%;margin-top:21px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}.ledger{margin:0}.ledger div{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.ledger div:last-child{border:0}.ledger dt{color:var(--muted);flex-shrink:0}.ledger dd{margin:0;font-weight:450;text-align:right;overflow-wrap:anywhere;min-width:0}.detail-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);font-size:13px;line-height:1.8}.timeline{padding:0;list-style:none;margin:28px 0 0}.timeline li{position:relative;padding:0 0 28px 26px;color:var(--muted);font-size:12px}.timeline li:before{position:absolute;content:'';top:6px;left:0;width:7px;height:7px;background:var(--line);border-radius:50%}.timeline li.done:before{background:var(--ink)}.timeline li.current{color:var(--ink);font-weight:500}.timeline li.current:before{outline:3px solid var(--line)}.timeline li:not(:last-child):after{content:'';position:absolute;top:18px;left:3px;width:1px;bottom:7px;background:var(--line)}.timeline small{display:block;font-weight:400;font-size:11px;margin-top:6px;color:var(--muted)}.progress-panel{position:static}
.queue-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:26px;align-items:start}.queue-list{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.queue-item{width:100%;display:block;text-align:left;padding:23px;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--ink);transition:background-color 180ms var(--ease)}.queue-item:last-child{border:0}.queue-item:hover{background:var(--raised)}.queue-item.selected{background:var(--raised);box-shadow:inset 1px 0 var(--ink)}.queue-item strong{display:block;font-size:13px;font-weight:500;margin:11px 0 7px}.queue-item small{display:block;color:var(--muted);font-size:11px}.queue-item .badge{margin-top:14px;background:var(--canvas)}.filters{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin-bottom:26px}.filters .field{margin:0;flex:1;min-width:160px}.filters .field label{font-size:11px;color:var(--muted)}.filters .field input,.filters .field select{min-height:42px;padding:10px 12px;font-size:12px;background:var(--surface)}.count-text{color:var(--muted);font-size:12px}.request-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.request-meta h2{margin:0;font-size:19px;font-weight:500}.divider{border:0;border-top:1px solid var(--line);margin:29px 0}.upload-zone{padding:23px;border:1px dashed var(--muted);border-radius:10px;margin-top:22px}.upload-zone label{display:block;font-weight:500;font-size:13px;margin-bottom:15px}.upload-zone input{font-size:12px;width:100%;color:var(--muted)}.upload-zone input::file-selector-button{background:var(--ink);color:var(--canvas);border:0;border-radius:6px;padding:9px 12px;margin-right:12px;font:inherit;cursor:pointer}.upload-zone p{font-size:11px;color:var(--muted);margin:15px 0 0}.audit{margin-top:20px;font-size:11px;color:var(--muted)}.audit p{margin-bottom:9px}.email-body{white-space:pre-wrap;font-size:13px;line-height:1.9;overflow-wrap:anywhere;margin-top:28px}.success-box{max-width:700px;padding:32px}.success-box h1{font-size:30px;margin-top:18px}.success-box .ledger{margin:24px 0}.success-box>p{color:var(--muted);font-size:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--canvas);border-radius:10px;padding:15px 22px;max-width:calc(100vw - 32px);z-index:40;font-size:13px;display:none;box-shadow:0 8px 24px #0003}#toast.visible{display:block}
dialog{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:32px;max-width:540px;width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}dialog[open]{animation:dialog-arrive 220ms var(--ease)}@keyframes dialog-arrive{from{transform:translateY(9px);filter:blur(2px)}to{transform:translateY(0);filter:blur(0)}}dialog h2{margin-bottom:16px;font-size:21px}dialog p{font-size:13px;color:var(--muted)}dialog .actions{justify-content:flex-end;margin-top:28px}dialog .field:last-child{margin-bottom:0}dialog .actions .button{white-space:normal}.mobile-only{display:none}.scope-note{font-size:11px;color:var(--muted);margin-top:21px;max-width:78ch}.tabular{font-variant-numeric:tabular-nums}.status-counts{display:flex;gap:0;flex-wrap:wrap;margin:0 0 30px;padding-bottom:23px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.status-counts>span{padding:0 26px;border-right:1px solid var(--line)}.status-counts>span:first-child{padding-left:0}.status-counts>span:last-child{border:0}.status-counts strong{color:var(--ink);margin-right:8px;font-weight:500}.consent-record{font-size:11px;color:var(--muted);line-height:1.9}.consent-record strong{color:var(--ink);font-weight:500}summary{cursor:pointer;color:var(--muted)}details[open] summary{color:var(--ink)}
@media(max-width:1250px){.home-layout{grid-template-columns:1fr;gap:33px}.home-reports .report-row{grid-template-columns:38px minmax(0,1fr) auto}.home-reports .report-row .actions{grid-column:auto;margin-top:0}.form-layout{grid-template-columns:minmax(0,1fr) 230px;gap:28px}.queue-layout{grid-template-columns:260px minmax(0,1fr)}.detail-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px}.panel{padding:25px}.request-row{gap:13px}.allowance-detail{display:none}}
@media(max-width:1050px){.shell{grid-template-columns:195px minmax(0,1fr)}#sidebar{padding-inline:12px}main{padding:35px 28px 50px}#topbar{padding:0 28px}.mode-control>span{display:none}.top-controls{gap:9px}.avatar{display:none}.form-layout,.detail-layout{grid-template-columns:1fr}.guide ol{display:flex;gap:32px;padding-left:20px}.guide li{flex:1}.guide .note{max-width:none}.guide h2{margin-bottom:22px}.queue-layout{grid-template-columns:230px minmax(0,1fr)}.queue-layout .panel{padding:21px}.home-intro h1{font-size:38px}footer{padding-left:28px}}
@media(max-width:800px){.shell{display:block}#sidebar{position:static;height:auto;max-height:none;padding:20px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 0 20px;font-size:23px}.brand img{width:23px;height:26px}.brand small{font-size:11px}.workspace-label{display:none}.nav{flex-direction:row;overflow:auto;gap:4px;padding-bottom:12px}.nav a{padding:10px 12px;white-space:nowrap;font-size:12px}.nav .icon{width:17px;height:17px}.aside-note{display:none}#topbar{height:61px;padding:0 22px}.crumb{font-size:11px}.preview-bar{padding:7px 18px;align-items:flex-start;font-size:11px;gap:14px}.preview-bar .text-button{white-space:nowrap}.mode-control select{max-width:145px;font-size:11px;min-height:34px}main{padding:31px 22px 45px}.page-head{gap:20px;margin-bottom:28px}h1,.home-intro h1{font-size:34px}.page-head .button{padding:10px 14px;font-size:11px}.intro{font-size:13px}.balance-strip{padding:22px 0;margin-bottom:30px}.balance-number{font-size:38px}.balance-main{gap:14px}.balance-strip .button{font-size:11px;padding:8px 12px}.queue-layout{grid-template-columns:1fr}.queue-list{display:flex;overflow:auto}.queue-item{min-width:250px;width:250px;border-bottom:0;border-right:1px solid var(--line)}.queue-item:last-child{border:0}.request-row{padding:23px}.report-row{padding:23px;gap:15px}.table-wrap table{min-width:710px}footer{padding:0 22px 22px}.service-foot{align-items:flex-start;gap:20px}.request-meta{align-items:flex-start}.status-counts>span{padding:0 18px}}
@media(max-width:520px){.brand{padding-bottom:17px}.nav{margin-inline:-3px}.nav a{padding:10px}.nav .icon{display:none}#topbar{gap:10px}.crumb{max-width:37%;line-height:1.5}.top-controls{gap:3px}.page-head{display:block}.page-head>.button{margin-top:22px}h1,.home-intro h1{font-size:32px}.home-intro{padding:0}.home-intro .page-head{margin-bottom:28px}.balance-strip{align-items:center;gap:10px}.balance-main p{font-size:11px}.balance-main strong{font-size:12px}.balance-main{gap:11px}.balance-number{font-size:36px}.balance-strip .button{padding:8px 11px;gap:6px}.balance-strip .icon{width:15px;height:15px}.request-row{grid-template-columns:minmax(0,1fr) 34px;gap:13px;padding:21px}.request-row>.badge{grid-column:1;grid-row:2;justify-self:start}.request-row>.arrow-link{grid-column:2;grid-row:1/span 2}.request-row p{font-size:11px}.report-row,.home-reports .report-row{grid-template-columns:34px minmax(0,1fr);padding:21px}.report-row .actions,.home-reports .report-row .actions{grid-column:2;justify-content:flex-start;margin-top:5px}.file-icon{width:34px;height:43px}.report-row h3{font-size:13px}.report-row p{font-size:11px}.section-top{gap:10px}.section-top h2{font-size:15px;gap:7px}.section-link{font-size:11px}.section-count{font-size:11px;padding:2px 5px}.panel,.form-panel{padding:23px}.form-foot{display:block}.form-foot .button{width:100%;margin-top:20px}.guide ol{display:block}.guide li{font-size:12px}.pack-grid{grid-template-columns:1fr}.pack{padding:28px}.request-meta h2{font-size:18px}.request-meta{gap:10px}.ledger div{font-size:11px;gap:14px}.ledger dt{max-width:45%;white-space:normal}.status-counts{gap:13px 0}.status-counts>span{padding:0 12px;font-size:11px}.status-counts>span:first-child{padding-left:0}.filters .field{min-width:100%;flex-basis:100%}.service-foot{display:block;margin-top:33px}.service-foot>span{margin-bottom:12px}.service-foot p{font-size:11px}.button{white-space:normal}.success-box{padding:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:520px){.balance-strip .button{white-space:nowrap;flex-shrink:0}.mode-control select{max-width:156px;padding-right:22px}.crumb{max-width:34%}}

/* Reserve mobile navigation space before the module renders to avoid layout shift. */
@media(max-width:800px){#sidebar{min-height:141px}}

/* Enterprise workspace: task-first headers and consistent record registers. */
:root{--space-section:28px;--space-cell:16px;--radius:12px}
body{line-height:1.6}#topbar{height:64px;padding-inline:32px}main{padding:32px 32px 48px}footer{padding-inline:32px}.brand{padding-bottom:28px}.nav a{padding-block:10px}.mode-control select{border-radius:8px}
h1,.home-intro h1{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:28px;line-height:1.25;font-weight:600;letter-spacing:-.025em;margin-bottom:8px;max-width:none}h2{font-size:16px;font-weight:600}h3{font-weight:600}.intro{font-size:13px;max-width:75ch}.page-head{gap:24px;margin-bottom:24px;align-items:center}.page-head>.button{margin-top:0}.page-head .button.primary{border-radius:8px;padding-inline:16px}.panel{padding:24px}.button{min-height:40px;padding:9px 14px}.button.small{min-height:34px;padding:6px 11px}.pack h2{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:22px;font-weight:600}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.account-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;border-block:1px solid var(--line);padding:20px 0;margin-bottom:28px}.account-summary dl{display:flex;gap:32px;margin:0;flex-wrap:wrap}.account-summary dl>div{display:flex;flex-direction:column;gap:4px}.account-summary dt{font-size:11px;color:var(--muted)}.account-summary dd{font-size:20px;font-weight:550;font-variant-numeric:tabular-nums;margin:0;line-height:1.3}.account-summary>.button{flex-shrink:0}.register-section{margin-bottom:var(--space-section)}.section-top{margin-bottom:12px}.section-top h2{font-size:15px;font-weight:600}.service-note{border-top:1px solid var(--line);padding-top:16px;margin-top:24px;max-width:none}
.register-tools{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}.table-search{flex:1;min-width:200px;max-width:440px}.table-control{width:160px}.register-tools label{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-bottom:6px}.register-tools input,.register-tools select{width:100%;min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px}.register-tools input::placeholder{color:var(--muted)}.register-tools>.button{min-height:40px}
.table-wrap{border-radius:8px}.table-wrap:focus-visible{outline:2px solid var(--ink);outline-offset:4px}.register table{min-width:740px;table-layout:fixed}.register th,.register td{padding:14px var(--space-cell);font-size:12px;line-height:1.5}.register thead th{font-size:11px;font-weight:500;color:var(--muted);background:var(--sidebar);white-space:normal;border-bottom:1px solid var(--line)}.register tbody th{font-weight:400;color:var(--ink);background:transparent;white-space:normal;border-top:1px solid var(--line);vertical-align:middle}.register td{overflow-wrap:anywhere}.register tbody tr:hover{background:var(--raised)}.register tbody tr.selected-record{background:var(--raised)}.record-title{display:block;font-size:13px!important;font-weight:550;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.record-title[href]:hover{text-decoration:underline}.record-meta{display:block;margin:4px 0 0;color:var(--muted);font-size:11px;font-weight:400;overflow-wrap:anywhere}.filename{overflow-wrap:anywhere}.target-cell{overflow-wrap:anywhere}.register .nowrap{white-space:nowrap}.record-actions{white-space:nowrap!important;text-align:right}.record-actions .actions{justify-content:flex-end;flex-wrap:nowrap;gap:8px}.selected-action{border-color:var(--muted);background:var(--canvas)}.register-foot{display:flex;justify-content:space-between;gap:12px;padding:10px 2px 0;color:var(--muted);font-size:11px}.table-empty{padding:28px 0}.table-empty strong{font-size:13px}.table-empty p{font-size:12px;color:var(--muted);margin:8px 0 16px}
.request-register th:first-child{width:26%}.request-register th:nth-child(2){width:24%}.request-register th:nth-child(3){width:16%}.request-register th:nth-child(4){width:17%}.request-register th:last-child{width:17%;text-align:right}.team-editor~.scope-note{max-width:none}main[data-route=team] .request-register table{min-width:860px}main[data-route=team] .request-register th:first-child{width:23%}main[data-route=team] .request-register th:nth-child(2){width:21%}main[data-route=team] .request-register th:nth-child(3){width:14%}main[data-route=team] .request-register th:nth-child(4){width:15%}main[data-route=team] .request-register th:nth-child(5){width:15%}main[data-route=team] .request-register th:last-child{width:12%}
.report-register table{min-width:760px}.report-register th:first-child{width:34%}.report-register th:nth-child(2){width:15%}.report-register th:nth-child(3){width:10%}.report-register th:nth-child(4){width:17%}.report-register th:last-child{width:24%;text-align:right}.purchase-register table{min-width:880px}.purchase-register th:first-child{width:23%}.purchase-register th:nth-child(2){width:14%}.purchase-register th:nth-child(3){width:12%}.purchase-register th:nth-child(4){width:11%}.purchase-register th:nth-child(5){width:12%;text-align:right}.purchase-register th:nth-child(6){width:12%}.purchase-register th:last-child{width:16%;text-align:right}.refund-register table{min-width:800px}.refund-register th:first-child{width:16%}.refund-register th:nth-child(2){width:18%}.refund-register th:nth-child(3){width:17%}.refund-register th:nth-child(4){width:17%;text-align:right}.refund-register th:nth-child(5){width:18%}.refund-register th:last-child{width:14%;text-align:right}
.status-counts{margin-bottom:20px;padding-bottom:16px}.team-editor{margin-top:28px}.request-meta{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.request-meta h2{font-size:18px;font-weight:600}.team-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.team-context,.team-report{min-width:0}.team-report{border-left:1px solid var(--line);padding-left:28px}.team-editor .ledger div{padding:12px 0}.file-record{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px 0 20px}.file-record strong{font-size:12px;font-weight:550}.file-record .record-meta{margin:4px 0 0}.upload-zone{padding:18px;margin-top:20px}.team-editor .scope-note{max-width:none}.team-editor .detail-text{font-size:12px}
@media(max-width:1050px){main{padding:28px 24px 40px}#topbar{padding-inline:24px}.team-editor-grid{grid-template-columns:1fr;gap:24px}.team-report{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.account-summary dl{gap:24px}}
@media(max-width:800px){#sidebar{min-height:132px;padding-top:16px}.brand{padding-bottom:16px}main{padding:24px 20px 40px}#topbar{padding-inline:20px}footer{padding-inline:20px}h1,.home-intro h1{font-size:26px}.table-wrap.register table{min-width:740px}.table-wrap.report-register table{min-width:760px}.table-wrap.purchase-register table{min-width:880px}.table-wrap.refund-register table{min-width:800px}.account-summary dl{gap:20px}.table-search{max-width:none}.account-summary{gap:16px;padding-block:16px}.account-summary dd{font-size:18px}}
@media(max-width:520px){h1,.home-intro h1{font-size:24px}.page-head{margin-bottom:20px}.page-head>.button{margin-top:16px}.account-summary{align-items:flex-start;flex-direction:column;gap:16px}.account-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:12px}.account-summary dt{line-height:1.5}.account-summary .button{width:auto;white-space:nowrap}.register-tools{gap:12px}.table-search{flex-basis:100%;min-width:0}.table-control{width:calc(50% - 6px)}.register-tools>.button{width:100%}.register-section{margin-bottom:24px}.panel{padding:20px}.file-record{grid-template-columns:34px minmax(0,1fr)}.file-record>.button{grid-column:2;justify-self:start}.request-meta{display:block}.request-meta>.badge{margin-top:12px}.status-counts>span{padding-inline:10px}.register th,.register td{padding-block:12px}.register-foot{font-size:11px}.intro{font-size:12px}}

/* Account disclosure and user-requested vivid run colors. */
:root{--success:#63e5a3;--info:#8ab9ff;--danger:#ff8b99;--warning:#ffd16b;--available-circle:#4ee6a0;--allocated-circle:#83b5ff;--held-circle:#ff7378;--circle-ink:#14201c;--glass-top:rgba(23,23,23,.8);--glass-menu:rgba(35,39,46,.94);--glass-register:rgba(32,32,32,.86);--active-nav:rgba(97,153,244,.14);--menu-line:#596374}
body{background-color:var(--canvas);background-image:none}#sidebar{height:calc(100dvh - 34px);top:0;padding-top:24px}.brand{padding-bottom:28px;align-items:center;line-height:1;gap:11px}.brand img{width:27px;height:30px}.brand span{font-size:25px;line-height:1;font-weight:600}.workspace-label,.aside-note{display:none}.nav a.active{background:var(--active-nav);color:var(--info)}.nav a.active .icon{color:var(--info)}#topbar{position:sticky;top:0;z-index:15;background:var(--glass-top);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.register{background:var(--glass-register)}.badge.good{background:color-mix(in srgb,var(--success) 12%,transparent);color:var(--success)}.badge.blue{background:color-mix(in srgb,var(--info) 12%,transparent);color:var(--info)}.badge.warn{background:color-mix(in srgb,var(--warning) 10%,transparent);color:var(--warning)}.badge.bad{background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger)}.record-title[href]{color:var(--info)}
.account-summary dl{gap:28px;flex-wrap:nowrap;flex:1}.account-summary dl>.run-stat{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;flex:1;max-width:210px}.run-stat dt{grid-column:2;grid-row:1;font-size:12px;color:var(--ink);line-height:1.5}.account-summary .run-circle{grid-column:1;grid-row:1;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;font-size:21px;line-height:1;font-weight:650;color:var(--circle-ink);background:var(--available-circle)}.allocated .run-circle{background:var(--allocated-circle)}.held .run-circle{background:var(--held-circle)}
.account-dock{margin-top:auto;padding-top:24px;position:relative}.account-trigger{display:flex;align-items:center;gap:10px;width:100%;padding:10px 8px;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--ink);text-align:left;anchor-name:--account-trigger}.account-trigger:hover{background:var(--raised);border-color:var(--line)}.account-avatar{width:34px;height:34px;border-radius:50%;background:var(--active-nav);color:var(--info);border:1px solid color-mix(in srgb,var(--info) 30%,transparent);display:grid;place-items:center;font-size:11px;font-weight:600;flex-shrink:0}.account-trigger-copy{display:flex;flex-direction:column;min-width:0;flex:1;gap:2px}.account-trigger-copy strong{font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-trigger-copy>span{font-size:11px;color:var(--muted)}.account-chevron{width:14px;height:14px}.account-popover{position:fixed;inset:auto;margin:0;bottom:24px;left:222px;width:260px;max-width:calc(100vw - 32px);padding:6px 0;border:1px solid var(--menu-line);border-radius:12px;background:var(--glass-menu);color:var(--ink);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:none}.account-identity{display:flex;align-items:center;gap:10px;padding:12px 16px}.account-identity>div{min-width:0}.account-identity strong{display:block;font-size:13px;font-weight:550}.account-identity>div>span{display:block;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.account-menu-links{padding:6px 0;border-block:1px solid var(--line)}.account-popover a,.account-popover button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:10px 16px;color:var(--ink);font-size:12px;text-decoration:none;text-align:left;background:none;border:0;line-height:1.5}.account-popover a:hover,.account-popover button:hover{background:var(--active-nav)}.account-popover .icon{width:17px;height:17px;color:var(--info)}.menu-allowance{margin-left:auto;color:var(--success);font-size:11px;white-space:nowrap}.account-menu-exit{padding-top:6px}.account-menu-exit button{color:var(--danger)}.account-menu-exit .icon{color:inherit}.preview-closed{display:block}.preview-closed #sidebar,.preview-closed #topbar{display:none}.preview-exit{max-width:520px;margin:12vh auto;text-align:center}.preview-exit img{width:34px;height:38px;margin-bottom:20px}.preview-exit p{color:var(--muted);margin-block:12px 24px}
@supports(position-anchor:--account-trigger){.account-popover{position-anchor:--account-trigger;left:anchor(right);bottom:anchor(bottom);margin-left:8px}}
@media(max-width:1050px){.account-popover{left:195px}.account-summary dl{gap:20px}.account-summary dl>.run-stat{grid-template-columns:42px minmax(0,1fr);gap:10px}.account-summary .run-circle{width:42px;height:42px;font-size:19px}.run-stat dt{font-size:11px}}
@media(max-width:800px){#sidebar{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0;height:auto;min-height:0;padding:16px 20px 0}.brand{padding:0;gap:10px}.brand img{width:25px;height:28px}.brand span{font-size:23px}.nav{grid-column:1/-1;grid-row:2;margin-top:16px}.account-dock{grid-column:2;grid-row:1;padding:0;margin:0}.account-trigger{padding:0;border:0;width:auto}.account-trigger-copy{display:none}.account-chevron{width:12px}.account-popover{top:98px;bottom:auto;left:auto;right:20px;position-anchor:auto;margin:0}.account-summary dl{width:100%;max-width:none}.account-summary dl>.run-stat{max-width:none}.account-summary .run-circle{width:42px;height:42px}.account-summary{align-items:flex-start;flex-direction:column}.account-summary>.button{align-self:flex-end}.account-trigger .account-avatar{width:32px;height:32px}}
@media(max-width:520px){.account-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.account-summary dl>.run-stat{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.account-summary .run-circle{order:-1;width:42px;height:42px}.run-stat dt{font-size:11px;min-height:33px}.account-summary>.button{align-self:flex-start}.brand{padding-bottom:0}.nav{margin-top:14px}.account-popover{width:260px;right:16px}.preview-exit{margin-top:8vh}}
@media(prefers-reduced-transparency:reduce){#topbar{background:var(--canvas);backdrop-filter:none;-webkit-backdrop-filter:none}.account-popover{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}.register{background:var(--surface)}}

/* User clarification: outlined allowance rings, with no filled center. */
:root{--available-ring:#4ee6a0;--allocated-ring:#83b5ff;--held-ring:#ff7378}
.account-summary .run-circle{background:transparent;border:3px solid var(--available-ring);color:var(--available-ring)}.account-summary .allocated .run-circle{border-color:var(--allocated-ring);color:var(--allocated-ring)}.account-summary .held .run-circle{border-color:var(--held-ring);color:var(--held-ring)}

/* Bounded allowance entrance: 12 o'clock, counterclockwise to the count's share. */
.account-summary .run-circle{position:relative;border:0;background:transparent;--ring-color:var(--available-ring);color:var(--ring-color)}.account-summary .allocated .run-circle{--ring-color:var(--allocated-ring);border:0;color:var(--ring-color)}.account-summary .held .run-circle{--ring-color:var(--held-ring);border:0;color:var(--ring-color)}
.run-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;pointer-events:none}.run-track,.run-arc{stroke-width:2.4}.run-track{stroke:var(--ring-color);opacity:.17}.run-arc{stroke:var(--ring-color);stroke-linecap:butt;stroke-dasharray:100;stroke-dashoffset:var(--ring-offset);transform:rotate(-90deg) scaleY(-1);transform-origin:50% 50%;transform-box:view-box}.run-count{position:relative;line-height:1;z-index:1;font-family:'Geist Pixel Square',Inter,sans-serif;font-size:22px;font-weight:400;font-synthesis:none;font-variant-numeric:tabular-nums;letter-spacing:0}


/* Shared page continuity: persistent rail and header, bounded content crossfade. */
:root{view-transition-name:none}#main{view-transition-name:workspace-page}
::view-transition{pointer-events:none}
::view-transition-group(workspace-page){animation-duration:280ms;animation-timing-function:var(--ease)}
::view-transition-old(workspace-page){animation:page-depart 150ms ease-out both}
::view-transition-new(workspace-page){animation:page-arrive 280ms var(--ease) both}
@keyframes page-depart{to{opacity:0;transform:translateX(-6px)}}
@keyframes page-arrive{from{opacity:0;transform:translateX(6px)}to{opacity:1;transform:translateX(0)}}
.run-ring{shape-rendering:geometricPrecision}
.guide .process-flow{position:relative;list-style:none;padding:0;margin:0 0 28px;display:grid;gap:32px}
.guide .process-flow li{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:14px;padding:0;margin:0}
.process-flow li::after{content:none}
.flow-node{position:relative;z-index:1;display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--ink);border-radius:50%;background:var(--ink);color:var(--canvas);font-size:12px;font-weight:600;line-height:1}

.guide .process-flow strong{font-size:13px;line-height:1.5;margin:3px 0 8px;font-weight:550}
.guide .process-flow p{font-size:12px;line-height:1.7;margin:0;color:var(--muted)}
@media(max-width:1050px){.run-count{font-size:20px}}
@media(prefers-reduced-motion:reduce){::view-transition-group(workspace-page),::view-transition-old(workspace-page),::view-transition-new(workspace-page){animation:none!important}}

/* Account heading shares one optical center with its primary action. */
#main[data-route=home] .page-head h1{margin:0;max-width:none}
#main[data-route=home] .page-head{align-items:center}
#main:is([data-route=home],[data-route=purchases]) .account-summary dl>.run-stat{grid-template-columns:120px minmax(0,1fr);max-width:300px}
#main:is([data-route=home],[data-route=purchases]) .account-summary .run-circle{width:120px;height:120px}
#main:is([data-route=home],[data-route=purchases]) .run-count{font-size:40px}

/* Inline request controls retain the context of the work being amended. */
.request-management{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px}
.request-management>.record-meta{flex:1 1 260px;margin:0;align-self:center}
.request-management:has(details[open]){display:block}
.request-management:has(details[open])>button{margin:14px 0}
.request-disclosure>summary{list-style:none;cursor:pointer;width:max-content}
.request-disclosure>summary::-webkit-details-marker{display:none}
.request-disclosure[open]>summary{border-color:var(--info);color:var(--info)}
.inline-request-form{padding-top:24px;max-width:650px}
.inline-request-form .field{margin-bottom:20px}
.renewed-consent[hidden]{display:none}
.request-section{margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.request-messages{list-style:none;margin:20px 0;padding:0}
.request-messages li{padding:16px 0;border-bottom:1px solid var(--line)}
.request-messages li:first-child{padding-top:0}
.request-messages li:last-child{border-bottom:0}
.message-meta{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-bottom:8px;font-size:12px}
.message-meta strong{font-weight:550}
.message-meta time{font-size:11px;color:var(--muted);white-space:nowrap}
.request-messages .detail-text{margin-bottom:6px}
.request-feedback{margin-top:28px}
.feedback-fields{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;margin-top:24px;max-width:850px}
.feedback-fields textarea{min-height:106px}
.team-communications{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.team-communications>h3:not(:first-child){margin-top:24px}
@media(max-width:1100px){#main:is([data-route=home],[data-route=purchases]) .account-summary dl>.run-stat{display:flex;flex-direction:column;align-items:flex-start;gap:12px}#main:is([data-route=home],[data-route=purchases]) .account-summary .run-circle{order:-1;width:104px;height:104px}#main:is([data-route=home],[data-route=purchases]) .run-count{font-size:36px}}
@media(max-width:520px){#main[data-route=home] .page-head{display:flex;flex-wrap:wrap;gap:16px}#main[data-route=home] .page-head>.button{margin:0}#main:is([data-route=home],[data-route=purchases]) .account-summary .run-circle{width:clamp(72px,23vw,88px);height:clamp(72px,23vw,88px)}#main:is([data-route=home],[data-route=purchases]) .run-count{font-size:clamp(28px,8.7vw,34px)}.request-management>.record-meta{flex-basis:100%}.feedback-fields{grid-template-columns:1fr;gap:0}.message-meta{flex-wrap:wrap;gap:4px}.message-meta time{white-space:normal}.request-management>.button{min-height:36px}}

/* Approved Fraser reference: near-black workspace, neutral selection and blue details. */
:root{--canvas:#111315;--surface:#17191c;--raised:#24272c;--sidebar:#131517;--ink:#f0f1f3;--muted:#b5bac3;--line:#303339;--accent:#edf0f4;--accent-hover:#dce2e9;--on-accent:#15171a;--soft:#24272c;--info:#91bff5;--active-nav:#20242a;--menu-line:#454b55;--glass-top:rgba(17,19,21,.88);--glass-menu:rgba(27,30,34,.97);--glass-register:rgba(23,25,28,.78)}
body{font-size:15px;line-height:1.65}
.shell{grid-template-columns:236px minmax(0,1fr)}
#sidebar{border-color:color-mix(in srgb,var(--line) 65%,transparent)}
.brand{gap:12px}.brand span{font-size:25px}.nav a{font-size:14px;min-height:44px;font-weight:400;color:var(--muted)}
.nav a.active{color:var(--ink);background:var(--active-nav);font-weight:500}.nav a.active .icon{color:var(--info)}
#topbar{border-color:color-mix(in srgb,var(--line) 55%,transparent)}.crumb{font-size:13px}.mode-control{font-size:12px}.mode-control select{font-size:13px}
.account-trigger-copy strong{font-size:14px}.account-trigger-copy>span{font-size:12px}.account-avatar{background:var(--accent);border:0;color:var(--on-accent);font-size:13px}
.account-popover a,.account-popover button{font-size:14px}.account-popover .icon{color:var(--muted)}.account-identity strong{font-size:14px}.account-identity>div>span{font-size:13px}
.panel,.pack{background:color-mix(in srgb,var(--surface) 75%,var(--canvas));border-color:var(--line);border-radius:12px}
.button{font-size:14px;font-weight:500;min-height:42px;padding:10px 16px;border-radius:10px}.button.small{font-size:13px;min-height:38px;padding:8px 12px}
.page-head .button.primary{border-radius:10px}.page-head h1{font-size:28px}.intro{font-size:15px;color:var(--muted)}
h2,.section-top h2,.guide h2{font-size:18px;font-weight:600}.section-count{font-size:12px}.section-link{font-size:13px}
.small-text,.detail-text,.team-editor .detail-text{font-size:14px}.tiny,.scope-note,.record-meta,.consent-record{font-size:13px;line-height:1.65}.ledger div{font-size:14px}
.field label,.register-tools label{font-size:13px}.field small{font-size:13px}.field input,.field select,.field textarea{font-size:15px;border-radius:10px;background:var(--canvas)}
.check{font-size:14px;line-height:1.7}.form-foot p,.note,.pack p,.pack .price small{font-size:13px}.note{border-radius:12px}
.register{border-color:var(--line);border-radius:12px;background:var(--glass-register)}
.register th,.register td{font-size:14px;padding:18px 18px;line-height:1.6;color:var(--ink)}
.register thead th{font-size:13px;font-weight:500;color:var(--muted);background:var(--canvas)}
.record-title{font-size:15px!important;font-weight:500}.register .record-meta{font-size:13px;color:var(--muted);margin-top:5px}
.register tbody tr:hover,.register tbody tr.selected-record{background:var(--active-nav)}
.register .actions .button{font-size:14px}.register-foot{font-size:13px;padding-top:12px}
.register-tools input,.register-tools select{font-size:14px;min-height:44px}
.badge{font-size:12px;font-weight:500;padding:5px 10px}.run-stat dt{font-size:13px}.account-summary dl>.run-stat{max-width:235px}.account-summary dl{gap:22px}
.message-meta{font-size:14px}.message-meta time{font-size:13px}.table-empty strong{font-size:15px}.table-empty p{font-size:14px}
.preview-bar{font-size:12px}.error{font-size:14px}dialog{max-width:720px}.permission-document h4{font-size:14px;font-weight:600;line-height:1.5;margin:0 0 8px}

/* Static rounded workflow: no looping linework or water effects. */
.process-flow,.guide .process-flow{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:30px}
.process-flow li,.guide .process-flow li{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:16px;margin:0;padding:0;min-width:0}
.process-flow li:not(:last-child)::after{content:'';position:absolute;left:15.5px;top:32px;bottom:-30px;width:1px;background:color-mix(in srgb,var(--ink) 42%,transparent)}
.flow-node{width:32px;height:32px;border:1px solid var(--ink);border-radius:50%;background:var(--ink);color:var(--canvas);font-size:14px;font-weight:550;z-index:1}
.process-flow strong,.guide .process-flow strong{display:block;margin:3px 0 8px;color:var(--ink);font-size:15px;line-height:1.6;font-weight:500}
.process-flow p,.guide .process-flow p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}
.progress-flow .future .flow-node{background:var(--canvas);color:var(--ink);border-color:var(--muted)}
.progress-flow .completed .flow-node{background:var(--active-nav);border-color:var(--info);color:var(--info)}
.progress-flow .current .flow-node{background:var(--ink);border-color:var(--ink);color:var(--canvas)}
.progress-panel .divider{margin-block:28px}.progress-panel .consent-record{margin-bottom:0}

/* Editable identity and its document share a single account context. */
.account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,.9fr);gap:36px;align-items:start}
.account-editor{min-width:0}.account-editor>.section-top{margin-bottom:24px}
.account-type-options{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.account-type-options legend{font-size:14px;font-weight:500;margin-bottom:12px}
.account-type-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:12px;padding:16px 14px;cursor:pointer;min-width:0;background:var(--canvas)}
.account-type-choice:hover{background:var(--raised)}.account-type-choice:has(input:checked){background:var(--active-nav);border-color:var(--info)}
.account-type-choice input{accent-color:var(--info);width:17px;height:17px;flex-shrink:0;margin:3px 0 0}
.account-type-choice strong{display:block;font-size:14px;font-weight:500;line-height:1.5}.account-type-choice small{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:5px}
.account-identity-fields{margin-top:28px}.profile-fields{display:grid;grid-template-columns:1fr;gap:0}
[data-company-field][hidden],[data-setup-step][hidden],[data-act=setup-back][hidden],[data-act=setup-next][hidden],[data-setup-finish][hidden]{display:none}
.profile-review{border-top:1px solid var(--line);padding-top:22px;margin-top:6px}.account-save{display:flex;align-items:flex-start;flex-direction:column;gap:12px}.account-save .record-meta{max-width:48ch;margin:0}
.permission-sheet{min-width:0;padding-top:4px}.permission-sheet>.section-top{gap:14px;flex-wrap:wrap;margin-bottom:22px}
.permission-document-head{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:22px}.permission-document-head h3{font-size:18px;font-weight:500;margin:0 0 10px}.permission-document-head p{font-size:14px;color:var(--muted);margin:12px 0 0;overflow-wrap:anywhere}.permission-document-head strong{color:var(--ink);font-weight:500}
.document-status{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:3px 7px;display:inline-block}
.permission-document section{margin:0 0 22px}.permission-document section p{font-size:14px;line-height:1.8;color:var(--muted);margin:0;overflow-wrap:anywhere}.document-footnote{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:24px}
.onboarding-layout{max-width:760px}.setup-progress{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.setup-progress li{position:relative;display:flex;align-items:center;flex-direction:column;gap:9px;color:var(--muted);font-size:13px;text-align:center}
.setup-progress li>span{display:grid;place-items:center;width:30px;height:30px;background:var(--canvas);border:1px solid var(--muted);border-radius:50%;color:var(--ink);z-index:1}
.setup-progress li:not(:last-child)::after{position:absolute;content:'';height:1px;left:calc(50% + 15px);right:calc(-50% - 5px);top:14.5px;background:var(--line)}
.setup-progress li[aria-current=step]{color:var(--ink)}.setup-progress li[aria-current=step]>span{background:var(--ink);color:var(--canvas);border-color:var(--ink)}.setup-progress li.completed>span{border-color:var(--info);color:var(--info)}
.account-editor>[data-setup-step]{border:0;margin:0;padding:0;min-width:0}.setup-legend{font-size:20px;font-weight:550;margin-bottom:24px}.setup-legend:focus{outline:0}
[data-setup-step="1"] .account-type-options legend{display:none}.setup-actions{display:flex;justify-content:space-between;gap:16px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.setup-actions>.primary{margin-left:auto}
@media(max-width:1100px){.account-layout{grid-template-columns:1fr;gap:32px}.permission-sheet{padding:28px 0 0;border-top:1px solid var(--line);max-width:760px}.form-layout{grid-template-columns:minmax(0,1fr) 275px;gap:28px}.detail-layout{grid-template-columns:minmax(0,1fr) 290px;gap:24px}}
@media(max-width:800px){.shell{display:block}.form-layout,.detail-layout{grid-template-columns:1fr}.progress-panel{position:static}.page-head h1{font-size:26px}.nav a{font-size:13px}.record-meta,.consent-record{font-size:13px}.guide{padding-top:12px}.account-summary .run-stat dt{font-size:12px}}
@media(max-width:520px){.page-head h1{font-size:24px}.page-head .button{font-size:13px}.field input,.field select,.field textarea,.register-tools input,.register-tools select{font-size:16px}.account-type-options{grid-template-columns:1fr}.account-type-choice{padding:16px}.account-layout{gap:24px}.permission-sheet>.section-top h2{font-size:18px}.register th,.register td{font-size:14px;padding:16px}.section-link{font-size:13px}.message-meta{font-size:14px}.intro{font-size:14px}.setup-progress{gap:12px}.setup-legend{font-size:18px}.process-flow p,.guide .process-flow p{font-size:14px}}
@media(prefers-reduced-transparency:reduce){.panel,.pack{background:var(--surface)}}
/* Preserve readable IDs, dates and actions when the larger type meets narrow screens. */
.table-wrap.register table,.table-wrap.report-register table,.table-wrap.refund-register table{min-width:960px}
.table-wrap.purchase-register table{min-width:1060px}
main[data-route=team] .request-register table{min-width:1120px}
#main:focus-visible{outline:none}

/* Keep the desktop account dock at the same viewport position while records scroll. */
@media(min-width:801px){
  .preview-bar{position:sticky;top:0;z-index:30;height:34px}
  #sidebar{top:34px;height:calc(100dvh - 34px);max-height:calc(100dvh - 34px);align-self:start;overflow:auto}
  #topbar{top:34px}
}

/* Overview first: detailed registers stay on their dedicated pages. */
#topbar{display:none}
main{padding-top:36px;min-height:calc(100dvh - 34px)}
.preview-bar>.text-button{white-space:nowrap;min-height:24px}
.preview-tools-popover{position:fixed;inset:42px 16px auto auto;margin:0;width:260px;max-width:calc(100vw - 32px);padding:20px;border:1px solid var(--menu-line);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 12px 32px rgba(0,0,0,.2)}
.preview-tools-popover h2{font-size:15px;margin:0 0 18px}
.preview-tools-popover .mode-control{display:grid;gap:8px;font-size:13px;margin-bottom:20px}
.preview-tools-popover .mode-control select{border-radius:8px;font-size:14px;min-height:44px}
.preview-tools-popover #reset-demo{width:100%}
.billing-nav{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:0 0 28px}
.billing-nav a{font-size:14px;color:var(--muted);text-decoration:none;padding:0 0 12px;border-bottom:2px solid transparent}
.billing-nav a[aria-current=page]{color:var(--ink);border-color:var(--ink)}
.billing-nav a:hover{color:var(--ink)}
#main[data-route=home] .account-summary{align-items:center;padding-block:24px;margin-bottom:32px}
#main[data-route=home] .account-summary dl{gap:24px}
#main[data-route=home] .account-summary dl>.run-stat{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:none;text-align:center}
#main[data-route=home] .account-summary .run-stat dt{max-width:none;font-size:13px}
#main[data-route=home] .account-summary>.button{border:0;padding-inline:8px;color:var(--muted);font-weight:400}
#main[data-route=home] .account-summary>.button:hover{color:var(--ink)}
.overview-section{margin-bottom:28px}
.table-wrap.overview-register{border:0;border-radius:0;background:none}
.table-wrap.overview-register table{min-width:0;table-layout:fixed;width:100%}
.overview-register th:first-child{width:62%}
.overview-register th:nth-child(2){width:24%}
.overview-register th:last-child{width:14%}
.overview-register tbody th,.overview-register tbody td{background:transparent;padding:18px 12px}
.overview-register thead th{background:transparent;padding:10px 12px;color:var(--muted)}
.overview-register th:first-child,.overview-register td:first-child{padding-left:0}
.overview-register th:last-child,.overview-register td:last-child{padding-right:0;text-align:right}
.overview-register .record-title{overflow-wrap:anywhere}
.overview-register .record-meta{margin-top:5px}
.overview-register+.register-foot{display:none}
.overview-register .record-actions>.section-link{justify-content:flex-end;min-height:40px}
.overview-register tbody tr:hover th,.overview-register tbody tr:hover td{background:var(--surface)}
.form-layout:has(>.workflow-disclosure){grid-template-columns:minmax(0,760px);gap:24px}
.workflow-disclosure{padding:20px 0;border-top:1px solid var(--line)}
.workflow-disclosure>summary{font-size:15px;color:var(--ink);cursor:pointer;font-weight:500}
.workflow-disclosure .process-flow{margin:24px 0 0;max-width:62ch}
.request-feedback{border-top:1px solid var(--line);padding-top:28px;margin-top:32px}
.request-feedback .request-disclosure[open] form{margin-top:24px}

/* Request → reviewed PDF: a quiet operational shell with secondary tools in Settings. */
/* Oversized counts keep the billing overview readable at a glance. */
.billing-overview{border-block:1px solid var(--line);padding:36px 0 28px;margin-bottom:28px}
.billing-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0}
.billing-metric{display:flex;flex-direction:column;gap:16px;min-width:0}
.billing-metric dt{order:2;color:var(--muted);font-size:15px;line-height:1.6;margin:0;min-height:44px;display:flex;align-items:center}
.billing-number{order:1;font-family:'Geist Pixel Square',Inter,sans-serif;font-weight:400;font-synthesis:none;font-variant-numeric:tabular-nums;font-size:min(67.2px,calc(134.4px / var(--number-digits)));letter-spacing:0;line-height:1.05;margin:0;color:var(--ink)}
.billing-metric dt a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--muted);text-decoration:none}
.billing-metric dt a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.billing-metric dt .icon{width:15px;height:15px;color:var(--info);flex-shrink:0}
@media(max-width:800px){.billing-metrics{gap:24px}.billing-number{font-size:min(52.8px,calc(105.6px / var(--number-digits)))}}
@media(max-width:520px){.billing-overview{padding:28px 0 20px}.billing-metrics{gap:16px}.billing-number{font-size:min(40.8px,calc(86.4px / var(--number-digits)))}.billing-metric{gap:12px}.billing-metric dt{font-size:13px;align-items:flex-start}.billing-metric dt a{align-items:flex-start;gap:4px}.billing-metric dt .icon{width:13px;height:13px;margin-top:4px}}
::view-transition{pointer-events:none}
main{max-width:1160px;padding:40px 40px 64px}
.page-head{margin-bottom:34px;align-items:center}
.page-head h1{margin:0;font-size:28px;line-height:1.3}
.page-head .intro{margin-top:8px}
.sidebar-settings{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;min-height:44px;padding:10px 14px;text-decoration:none;border-radius:8px;margin-top:auto}
.sidebar-settings:hover{background:var(--surface);color:var(--ink)}
.sidebar-settings.active{background:var(--active-nav);color:var(--ink)}
.sidebar-settings.active .icon{color:var(--info)}
.account-dock{margin-top:0;padding-top:14px}
.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;min-width:0;border-bottom:1px solid var(--line);padding-bottom:16px}
.view-tabs{display:flex;gap:24px;align-items:center;min-width:0}
.view-tabs a{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);text-decoration:none;font-size:14px;position:relative;white-space:nowrap}
.view-tabs a[aria-current=page]{color:var(--ink);font-weight:500}
.view-tabs a[aria-current=page]::after{content:'';position:absolute;left:0;right:0;bottom:-17px;background:var(--ink);height:2px}
.view-tabs a:hover{color:var(--ink)}
.view-tabs a span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:6px;background:var(--raised);font-size:12px;padding:0 5px;font-weight:400}
.list-search{width:240px;min-width:0}
.list-search input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:var(--canvas);color:var(--ink);font-size:14px}
.list-search input::placeholder{color:var(--muted);opacity:1}
.list-count{margin:0;color:var(--muted);font-size:14px}
.table-wrap.simple-register{border:0;border-radius:0;background:none}
.table-wrap.simple-register table{min-width:0;table-layout:fixed}
.simple-register th:first-child{width:58%}
.simple-register th:nth-child(2){width:22%}
.simple-register th:last-child{width:20%;text-align:right}
.simple-register thead th{padding:10px 16px 14px;background:none}
.simple-register tbody th,.simple-register tbody td{padding:23px 16px;background:none;border-top:1px solid var(--line)}
.simple-register th:first-child,.simple-register td:first-child{padding-left:0}
.simple-register th:last-child,.simple-register td:last-child{padding-right:0}
.simple-register .record-title{font-size:15px!important;font-weight:500;color:var(--ink)}
.simple-register .record-title[href]:hover{color:var(--info)}
.simple-register .record-meta{margin-top:7px}
.simple-register .record-actions .actions{justify-content:flex-end;gap:8px}
.simple-register.customer-reports th:first-child{width:52%}
.simple-register.customer-reports th:nth-child(2){width:20%}
.simple-register.customer-reports th:last-child{width:28%}
.request-form-layout{max-width:680px}
.request-form{padding:0;min-width:0}
.request-form .field{margin-bottom:28px}
.request-form textarea{min-height:144px}
.request-form .check-block{margin-top:32px;padding-top:24px}
.request-form .form-foot{margin-top:30px}
.request-form .form-foot p{font-size:13px}
.request-detail-layout{grid-template-columns:minmax(0,1fr) 260px;gap:56px}
.request-context{min-width:0}
.request-website a{display:block;overflow-wrap:anywhere;font-size:15px;margin-top:7px;color:var(--info)}
.description-heading{margin-top:32px}
.request-context .detail-text{color:var(--ink);font-size:15px;max-width:68ch}
.request-progress{padding-left:28px;border-left:1px solid var(--line)}
.request-management{margin:28px 0;align-items:center;gap:12px}
.request-management>.record-meta{flex-basis:100%;font-size:13px;max-width:65ch;margin-top:2px}
.request-management [aria-disabled=true]{opacity:.45;cursor:not-allowed}
.report-delivery{border-top:1px solid var(--line);padding-top:26px;margin-top:30px}
.report-delivery .actions{margin-top:18px}
.record-disclosure{border-top:1px solid var(--line);padding-top:20px;margin-top:28px}
.record-disclosure>summary{font-size:13px;line-height:1.65;color:var(--muted)}
.record-disclosure[open]>summary{margin-bottom:18px;color:var(--ink)}
.record-disclosure .consent-record{margin-top:16px}
.request-progress .process-flow{gap:28px}
.request-progress .process-flow strong{font-size:14px}
.request-progress .process-flow p{font-size:13px;line-height:1.65}
.request-progress .flow-node{width:28px;height:28px;font-size:13px}
.request-progress .process-flow li{grid-template-columns:28px minmax(0,1fr);gap:14px}
.request-progress .process-flow li:not(:last-child)::after{left:13.5px;top:28px;bottom:-28px}
.settings-list{max-width:760px}
.settings-row{display:flex;align-items:center;gap:18px;min-height:100px;padding:24px 4px;border-bottom:1px solid var(--line);text-decoration:none}
.settings-row>div{flex:1;min-width:0}
.settings-row strong{font-size:15px;font-weight:500}
.settings-row p{font-size:14px;color:var(--muted);margin:5px 0 0}
.settings-row>.icon:first-child{color:var(--muted)}
a.settings-row:hover strong{color:var(--info)}
.support-layout{max-width:760px}
.support-layout .request-feedback{margin-top:24px}
.team-editor{padding:30px 0;border-top:1px solid var(--line);scroll-margin-top:58px}
.team-context>.detail-text{color:var(--ink);font-size:14px;margin-bottom:28px}
.team-context>.actions{margin-top:24px}
.team-report .upload-zone{padding:18px;background:none;border-color:var(--line)}
.team-report .record-disclosure .actions{margin-bottom:16px}
@media(max-width:1050px){main{padding-inline:28px}.request-detail-layout{gap:32px;grid-template-columns:minmax(0,1fr) 230px}.view-tabs{gap:18px}.list-search{width:210px}}
@media(max-width:800px){
  main{padding:28px 20px 48px}
  .nav{grid-column:1;grid-row:2;margin-top:16px;overflow:visible}
  .sidebar-settings{grid-column:2;grid-row:2;margin-top:16px;justify-self:end;padding:10px 8px;gap:8px;font-size:13px}
  .account-dock{grid-column:2;grid-row:1;padding:0}
  .request-detail-layout{grid-template-columns:1fr;gap:36px}
  .request-progress{border-left:0;border-top:1px solid var(--line);padding:26px 0 0}
  .request-progress .process-flow{max-width:420px}
  .simple-register th:first-child{width:50%}.simple-register th:nth-child(2){width:24%}.simple-register th:last-child{width:26%}
}
@media(max-width:600px){
  main{padding-top:26px}
  .page-head{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:28px;align-items:center}
  .page-head h1{font-size:24px;overflow-wrap:anywhere}
  .page-head>.button{margin:0}
  .list-toolbar{flex-wrap:wrap;gap:20px}
  .view-tabs{gap:22px}
  .view-tabs a[aria-current=page]::after{bottom:0}
  .list-search{width:100%}
  .list-search input{font-size:16px;min-height:44px}
  .table-wrap.simple-register table{display:block}
  .simple-register thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .simple-register tbody{display:block}
  .simple-register tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;padding:22px 0;border-top:1px solid var(--line)}
  .simple-register tbody tr:first-child{border-top:0}
  .simple-register tbody th,.simple-register tbody td{display:block;padding:0!important;border:0;width:auto!important;min-width:0}
  .simple-register tbody th{grid-column:1/-1}
  .simple-register tbody td{align-self:center}
  .simple-register .record-actions{grid-column:2;justify-self:end}
  .simple-register .record-title{font-size:15px!important}
  .simple-register .record-actions .actions{flex-wrap:wrap}
  .request-form .form-foot{display:flex;flex-direction:column;align-items:stretch;gap:20px}
  .request-form .form-foot .actions{justify-content:flex-end}
  .request-form .form-foot .button{margin:0;width:auto}
  .request-management>.button{min-height:42px}
  .settings-row{gap:12px;align-items:flex-start}
  .settings-row>.icon{margin-top:3px;flex-shrink:0}
  .settings-row:has(button){flex-wrap:wrap}
  .settings-row>button{margin-left:32px}
  .request-context .request-meta{display:flex;flex-wrap:wrap;gap:14px}
  .request-context .request-meta>.badge{margin:0}
}
@media(max-width:800px){main{padding-top:28px}.preview-bar{align-items:flex-start}.preview-tools-popover{top:58px}.nav{gap:4px}.overview-register th:first-child{width:56%}.overview-register th:nth-child(2){width:27%}.overview-register th:last-child{width:17%}}
@media(max-width:520px){
  main{padding-top:24px}
  #main[data-route=home] .account-summary dl{gap:8px}
  #main[data-route=home] .account-summary .run-stat dt{font-size:12px;max-width:12ch}
  #main[data-route=home] .account-summary>.button{align-self:flex-end}
  .overview-register tbody th,.overview-register tbody td{padding-block:16px;padding-inline:6px}
  .overview-register th:first-child,.overview-register td:first-child{padding-left:0}
  .overview-register th:last-child,.overview-register td:last-child{padding-right:0}
  .overview-register .record-title{font-size:14px}
  .overview-register .badge{font-size:12px;padding:4px 7px;gap:4px}
  .overview-reports th:first-child{width:67%}
  .overview-reports th:nth-child(2),.overview-reports td:nth-child(2){display:none}
  .overview-reports th:last-child{width:33%}
  .overview-register .record-actions .button{padding:7px 9px;font-size:13px}
  .overview-section .section-top{align-items:center;gap:8px}
  .overview-section .section-top h2{font-size:17px}
  .overview-section .section-link{font-size:12px}
}

/* One workspace: page-level views replace the full-height rail and header tabs. */
.shell{display:block}
#topbar{display:block;height:auto;position:static;padding:0;border-bottom:1px solid var(--line);background:var(--canvas);backdrop-filter:none;-webkit-backdrop-filter:none}
.workspace-header{max-width:none;margin:0;padding:20px 24px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px}
.workspace-header .brand{padding:0;gap:10px}
.workspace-header .brand span{font-size:24px}
.workspace-header .brand img{width:25px;height:28px}
.workspace-tools{display:flex;align-items:center;gap:12px}
.workspace-tools .account-dock{margin:0;padding:0}
.workspace-tools .account-trigger{width:44px;height:44px;padding:5px;justify-content:center;border:0}
.workspace-tools .account-trigger-copy,.workspace-tools .account-chevron{display:none}
.workspace-tools .account-trigger .account-avatar{width:34px;height:34px}
.settings-control{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;color:var(--muted);text-decoration:none}
.settings-control:hover,.settings-control.active{background:var(--active-nav);color:var(--ink)}
.settings-control .icon{width:22px;height:22px}
.account-popover{position:fixed;position-anchor:auto;inset:130px 24px auto auto;margin:0;width:280px}
.page-return{display:flex;justify-content:flex-start;margin:0 0 20px}
.page-return .nav-back{padding:8px 0;min-height:44px;border:0;background:none;font-size:14px;font-weight:400;color:var(--muted);margin:0}
.page-return .nav-back:hover{color:var(--ink);background:none;text-decoration:underline}
.shell.preview-closed #topbar{display:none}
@media(max-width:1050px){.workspace-header{padding-inline:24px;gap:24px}}
@media(max-width:600px){.workspace-header{padding:16px 20px 12px;grid-template-columns:1fr auto;gap:14px}.workspace-tools{grid-column:2;grid-row:1;gap:8px}.workspace-header .brand span{font-size:23px}.account-popover{inset:112px 20px auto auto}.page-return{margin-bottom:18px}}

/* Center the settings list independently of the full-width header. */
#main:is([data-route=settings],[data-route=team-settings],[data-route=request-records]){max-width:840px;margin-inline:auto}
#main:is([data-route=settings],[data-route=team-settings],[data-route=request-records]) .settings-list{max-width:none;width:100%}

/* Four purposeful dashboard areas, following the customer's annotated layout. */
.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:48px}
.acrylic-panel{position:relative;min-width:0;border:1px solid color-mix(in srgb,var(--ink) 14%,transparent);border-radius:16px;background:linear-gradient(135deg,color-mix(in srgb,var(--ink) 4%,transparent),transparent 65%),color-mix(in srgb,var(--raised) 54%,transparent);backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%);color:var(--ink)}
a.acrylic-panel{display:flex;flex-direction:column;padding:32px;min-height:230px;text-decoration:none;transition:background-color 180ms var(--ease),border-color 180ms var(--ease)}
.acrylic-panel h2{font-size:24px;line-height:1.3;font-weight:500;margin:0 0 16px;max-width:25ch}
.acrylic-panel p{font-size:15px;line-height:1.65;color:var(--muted);max-width:42ch;margin:0 0 28px}
a.acrylic-panel:hover{background-color:color-mix(in srgb,var(--ink) 4%,transparent);border-color:color-mix(in srgb,var(--ink) 30%,transparent)}
.panel-action{display:flex;align-items:center;gap:10px;font-size:14px;margin-top:auto}
.panel-action .icon{width:18px;height:18px}
.runs-left-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}
.home-run-number{font:400 67.2px/1.05 'Geist Pixel Square',Inter,sans-serif;color:var(--ink);margin-bottom:14px;font-synthesis:none;overflow-wrap:anywhere}
.runs-left-panel h2{font-size:18px;font-weight:500;margin:0 0 8px}
.runs-left-panel p{font-size:14px;color:var(--muted);margin:0}
.runs-promotion{display:flex;flex-direction:column;overflow:hidden}
.promotion-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.promotion-track::-webkit-scrollbar{display:none}
.promotion-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;padding:32px 32px 12px;display:flex;flex-direction:column}
.promotion-slide h2{font-size:22px}
.promotion-slide p{margin-bottom:24px}
.promotion-purchase{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:auto}
.promotion-purchase>span{font-size:15px}
.promotion-purchase .button{font-size:14px;min-height:44px}
.promotion-footer{display:flex;align-items:center;justify-content:space-between;padding:0 26px 10px 32px;margin-top:auto;gap:16px}
.promotion-footer>span{font-size:12px;color:var(--muted)}
.liquid-pagination{position:relative;display:flex;isolation:isolate}
.liquid-pagination button{display:grid;place-items:center;width:40px;height:44px;padding:0;border:0;background:none;border-radius:8px}
.liquid-pagination button>span{width:8px;height:8px;border-radius:50%;background:color-mix(in srgb,var(--ink) 48%,transparent)}
.liquid-selection{position:absolute;pointer-events:none;top:17px;left:11px;width:18px;height:10px;border-radius:44% 56% 53% 47% / 60% 45% 55% 40%;background:var(--ink);translate:calc(var(--offer-index) * 40px) 0;transition:translate 480ms cubic-bezier(.22,.9,.2,1),border-radius 480ms ease;filter:blur(.2px)}
.liquid-pagination:has(button:nth-of-type(2)[aria-current]) .liquid-selection{border-radius:55% 45% 44% 56% / 44% 60% 40% 56%}
.request-list-heading{margin-bottom:20px}
@media(max-width:800px){.home-actions{gap:20px}a.acrylic-panel{padding:24px;min-height:220px}.promotion-slide{padding:24px 24px 12px}.promotion-footer{padding-inline:24px}.acrylic-panel h2{font-size:21px}.acrylic-panel p{font-size:14px}.promotion-purchase{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:600px){.home-actions{grid-template-columns:1fr;gap:20px;margin-bottom:36px}.runs-left-panel{grid-row:1;padding:12px 20px 20px}.new-run-panel{grid-row:2}.reports-panel{grid-row:3}.runs-promotion{grid-row:4}.home-run-number{font-size:40.8px}.runs-left-panel h2{font-size:16px}a.acrylic-panel{min-height:200px}.promotion-purchase{flex-direction:row;align-items:center}.promotion-slide{min-height:246px}.promotion-footer{padding-right:18px}.home-actions .acrylic-panel h2{max-width:24ch}}
@media(prefers-reduced-motion:reduce){.liquid-selection{transition:none}}
@media(prefers-reduced-transparency:reduce){.acrylic-panel{background:var(--raised);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* A separate glass edition; Classic keeps the preceding acrylic design. */
.dashboard-glass{position:relative;isolation:isolate;gap:28px}
.dashboard-glass::before{content:"";position:absolute;inset:8% 4%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 8% 25%,rgb(255 255 255 / .11),transparent 44%),radial-gradient(ellipse at 55% 90%,rgb(255 255 255 / .07),transparent 47%);filter:blur(28px)}
.dashboard-glass .acrylic-panel{border-radius:16px;border-color:rgb(255 255 255 / .26);background:linear-gradient(150deg,rgb(255 255 255 / .14),rgb(255 255 255 / .025) 38%,rgb(255 255 255 / .065) 76%,rgb(255 255 255 / .12));backdrop-filter:blur(26px) saturate(135%);-webkit-backdrop-filter:blur(26px) saturate(135%);box-shadow:inset 0 1px 0 rgb(255 255 255 / .36),inset 0 -1px 0 rgb(255 255 255 / .1)}
.dashboard-glass .acrylic-panel::before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,rgb(255 255 255 / .09),transparent 30%,transparent 75%,rgb(255 255 255 / .04));z-index:-1}
.dashboard-glass a.acrylic-panel:hover{background-color:rgb(255 255 255 / .055);border-color:rgb(255 255 255 / .5)}
.dashboard-glass :is(h2,p,.panel-action,.promotion-purchase,.promotion-footer,.button){font-family:'Geist Pixel Square',sans-serif;font-weight:400;font-synthesis:none;letter-spacing:0}
.dashboard-glass .acrylic-panel h2{font-size:25px;line-height:1.35}
.dashboard-glass .acrylic-panel p{font-size:16px;line-height:1.65;color:var(--ink);opacity:.82;max-width:43ch}
.dashboard-glass .panel-action{font-size:15px}
.dashboard-glass .runs-left-panel h2{font-size:20px}
.dashboard-glass .runs-left-panel p{font-size:15px}
.dashboard-glass .promotion-footer>span{font-size:12px}
.dashboard-glass .promotion-purchase .button{background:rgb(255 255 255 / .07);border-color:rgb(255 255 255 / .25);font-size:15px}
.liquid-selection{left:0;translate:none;transform-origin:left center;transition:none;border-radius:999px;filter:none;will-change:transform}
.version-switch{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:25;display:flex;align-items:center;gap:10px;min-height:46px;padding:12px 18px;border-radius:999px;border:1px solid var(--line);background:var(--raised);color:var(--ink);font:500 14px/1.2 Inter,sans-serif;text-decoration:none;box-shadow:0 6px 20px rgb(0 0 0 / .18)}
.version-switch:hover{background:var(--active-nav)}
.version-switch .icon{width:18px;height:18px}
#main:is([data-route=home],[data-route=home-classic],[data-route=requests]){padding-bottom:112px}
@media(max-width:800px){.dashboard-glass{gap:20px}.dashboard-glass .acrylic-panel h2{font-size:23px}}
@media(max-width:600px){.dashboard-glass .acrylic-panel p{font-size:15px}.version-switch{right:16px;bottom:16px;padding:12px 16px}.dashboard-glass .acrylic-panel h2{font-size:22px}}
@media(prefers-reduced-transparency:reduce){.dashboard-glass::before,.dashboard-glass .acrylic-panel::before{display:none}.dashboard-glass .acrylic-panel{background:var(--raised);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Glass card layout and access to request history. */
.dashboard-glass .acrylic-panel{overflow:hidden}
.dashboard-glass .new-run-panel{display:flex;flex-direction:column;padding:32px;min-height:230px}
.new-run-primary{display:flex;flex:1;flex-direction:column;color:inherit;text-decoration:none}
.request-shortcut{display:flex;align-items:center;gap:10px;align-self:flex-start;margin-top:20px;padding-block:10px;min-height:44px;font:400 14px/1.4 'Geist Pixel Square',sans-serif;color:var(--ink);text-underline-offset:4px}
.request-shortcut .icon{width:16px;height:16px}
/* Muted photographs reveal gently; foreground content stays above them. */
.dashboard-glass .acrylic-panel{isolation:isolate}
.dashboard-glass .new-run-panel{--card-image:url('assets/card-backgrounds/new-run.jpg')}
.dashboard-glass .reports-panel{--card-image:url('assets/card-backgrounds/reports.jpg')}
.dashboard-glass .runs-promotion{--card-image:url('assets/card-backgrounds/buy-runs.jpg')}
.dashboard-glass .acrylic-panel::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:linear-gradient(rgb(0 0 0 / .4),rgb(0 0 0 / .4)),var(--card-image) center / cover no-repeat;opacity:.13;filter:saturate(.55);transform:scale(1);transition:opacity 420ms var(--ease),transform 800ms var(--ease)}
@media(hover:hover){.dashboard-glass .acrylic-panel:hover::after{opacity:.32;transform:scale(1.09)}}
.dashboard-glass .acrylic-panel:focus-within::after{opacity:.32;transform:scale(1.09)}
@media(prefers-reduced-motion:reduce){.dashboard-glass .acrylic-panel::after{transition:none;transform:none!important}}
@media(max-width:800px){.dashboard-glass .new-run-panel{padding:24px}}
@media(prefers-reduced-transparency:reduce){.dashboard-glass .acrylic-panel::after{display:none}}
/* Reserve a clear comparison dock instead of floating over working content. */
body:has(.version-dock){display:flex;flex-direction:column;height:100dvh;overflow:hidden;padding-bottom:80px}
body:has(.version-dock)>.preview-bar{flex-shrink:0}
body:has(.version-dock)>.shell{flex:1;min-height:0;overflow-y:auto}
.version-dock{position:fixed;inset:auto 0 0;height:80px;z-index:24;background:var(--canvas)}
.version-switch{bottom:max(16px,env(safe-area-inset-bottom))}

/* Glass overview alone fits the viewport; the table and detail pages still scroll. */
body:has(#main[data-route=home] .dashboard-glass)>.shell{overflow:hidden}
body:has(#main[data-route=home] .dashboard-glass) .workspace{height:100%;display:flex;flex-direction:column;min-height:0}
body:has(#main[data-route=home] .dashboard-glass) #topbar{flex:none}
#main[data-route=home]:has(.dashboard-glass){flex:1;min-height:0;width:100%;max-width:1040px;margin-inline:auto;display:flex;flex-direction:column;justify-content:center;padding-block:clamp(20px,3dvh,40px)}
#main[data-route=home]:has(.dashboard-glass) .page-head{flex:none;justify-content:center;text-align:center;margin-bottom:clamp(16px,2.5dvh,28px)}
#main[data-route=home] .dashboard-glass{flex:0 1 520px;min-height:0;grid-template-rows:minmax(0,1fr) minmax(0,1.12fr);gap:clamp(16px,2.5dvh,28px);margin:0}
#main[data-route=home] .dashboard-glass :is(.new-run-panel,.reports-panel){min-height:0;padding:clamp(18px,2.7dvh,32px)}
#main[data-route=home] .dashboard-glass .promotion-slide{min-height:0;padding:clamp(18px,2.7dvh,32px) clamp(18px,2.7dvh,32px) 8px}
#main[data-route=home] .dashboard-glass .promotion-slide h2{max-width:none}
#main[data-route=home] .dashboard-glass .promotion-track{flex:1;min-height:0;overflow-y:hidden}
#main[data-route=home] .dashboard-glass .promotion-footer{flex:none;padding:0 clamp(18px,2.7dvh,32px) 6px}
#main[data-route=home] .dashboard-glass .acrylic-panel h2{font-size:clamp(20px,2.8dvh,25px);margin-bottom:10px}
#main[data-route=home] .dashboard-glass .acrylic-panel p{font-size:clamp(14px,1.9dvh,16px);line-height:1.5;margin-bottom:14px}
#main[data-route=home] .dashboard-glass .request-shortcut{margin-top:8px}
@media(max-width:600px){
 body:has(#main[data-route=home] .dashboard-glass){padding-bottom:64px}
 #main[data-route=home] .version-dock{height:64px}
 #main[data-route=home]:has(.dashboard-glass){padding:16px 20px}
 #main[data-route=home]:has(.dashboard-glass) .page-head{margin-bottom:14px}
 #main[data-route=home] .dashboard-glass{flex:1;grid-template-columns:1fr 1fr;grid-template-rows:76px minmax(0,1fr) minmax(0,1fr);gap:12px}
 #main[data-route=home] .dashboard-glass .runs-left-panel{grid-column:1 / -1;grid-row:1;display:grid;grid-template-columns:auto 1fr;column-gap:18px;text-align:left;padding:0 12px;align-content:center}
 #main[data-route=home] .dashboard-glass .home-run-number{grid-row:1 / 3;margin:0;font-size:52px}
 #main[data-route=home] .dashboard-glass .runs-left-panel h2{margin:0;font-size:18px}
 #main[data-route=home] .dashboard-glass .runs-left-panel p{margin:0;font-size:14px;line-height:1.4}
 #main[data-route=home] .dashboard-glass .new-run-panel{grid-column:1;grid-row:2}
 #main[data-route=home] .dashboard-glass .reports-panel{grid-column:2;grid-row:2}
 #main[data-route=home] .dashboard-glass .runs-promotion{grid-column:1 / -1;grid-row:3}
 #main[data-route=home] .dashboard-glass :is(.new-run-panel,.reports-panel){padding:14px}
 #main[data-route=home] .dashboard-glass .request-shortcut{min-height:36px;padding-block:6px;margin-top:4px}
 #main[data-route=home] .dashboard-glass .acrylic-panel h2{font-size:20px;margin-bottom:8px}
 #main[data-route=home] .dashboard-glass .acrylic-panel p{font-size:14px;line-height:1.4;margin-bottom:10px}
 #main[data-route=home] .dashboard-glass .panel-action{font-size:14px;line-height:1.4}
 #main[data-route=home] .dashboard-glass .promotion-slide{padding:16px 18px 4px}
 #main[data-route=home] .dashboard-glass .promotion-slide h2{margin-bottom:6px}
 #main[data-route=home] .dashboard-glass .promotion-slide p{margin-bottom:8px}
 #main[data-route=home] .dashboard-glass .promotion-purchase{gap:8px;flex-direction:row;align-items:center}
 #main[data-route=home] .dashboard-glass .promotion-purchase>span{font-size:14px}
 #main[data-route=home] .dashboard-glass .promotion-footer{padding:0 18px 4px}
}
/* Keep content reachable at high browser zoom and unusually short viewports. */
@media(min-width:601px) and (max-height:680px),(max-width:600px) and (max-height:780px){
 body:has(#main[data-route=home] .dashboard-glass)>.shell{overflow-y:auto}
 body:has(#main[data-route=home] .dashboard-glass) .workspace{height:auto;min-height:100%}
 #main[data-route=home]:has(.dashboard-glass){justify-content:flex-start}
 #main[data-route=home] .dashboard-glass{flex:none;grid-template-rows:auto auto}
 #main[data-route=home] .dashboard-glass :is(.new-run-panel,.reports-panel){min-height:220px}
 #main[data-route=home] .dashboard-glass .promotion-slide{min-height:238px}
}


/* Request-row highlights keep text and controls clear of the outer edges. */
.simple-register.customer-requests table{border-collapse:separate;border-spacing:0}
.simple-register.customer-requests :is(th,td):first-child{padding-left:16px}
.simple-register.customer-requests :is(th,td):last-child{padding-right:16px}
.simple-register.customer-requests tbody tr:is(:hover,:focus-within){background:transparent}
.simple-register.customer-requests tbody tr:is(:hover,:focus-within)>:is(th,td){background:var(--active-nav)}
.simple-register.customer-requests tbody tr>:first-child{border-radius:8px 0 0 8px}
.simple-register.customer-requests tbody tr>:last-child{border-radius:0 8px 8px 0}
@media(max-width:600px){
 .simple-register.customer-requests tbody tr{padding-inline:16px;border-radius:8px}
 .simple-register.customer-requests tbody tr:is(:hover,:focus-within){background:var(--active-nav)}
 .simple-register.customer-requests tbody tr>:is(th,td){border-radius:0}
 .simple-register.customer-requests tbody tr:is(:hover,:focus-within)>:is(th,td){background:transparent}
}

/* Queued request actions stay beside their status, including at narrow widths. */
.request-status-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.request-status-actions .badge{margin:0}
.button.request-icon-action{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:10px}
.request-icon-action .icon{width:20px;height:20px;stroke-width:1.8}
.request-icon-action:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:600px){.request-context .request-meta{align-items:center}.request-status-actions{gap:6px}}
