/* Approved Treatment03. Screen-only styling; no gate, reader or financial logic. */
@media screen{
:root.forge-treatment-v3{--t3-canvas:#f5f6f8;--t3-surface:#fff;--t3-raised:#f8f9fb;--t3-ink:#171b22;--t3-secondary:#515b69;--t3-muted:#626d7a;--t3-line:#dce1e7;--t3-strong:#8793a2;--t3-accent:#b42332;--t3-good:#236543;--t3-warn:#83510a;--t3-font:"Helvetica Neue",Helvetica,Arial,system-ui,sans-serif;--t3-nav:208px;--t3-side:280px;--t3-header:72px}
:root.forge-treatment-v3[data-forge-theme=dark]{--t3-canvas:#101317;--t3-surface:#171c22;--t3-raised:#202731;--t3-ink:#f1f3f6;--t3-secondary:#c3ccd6;--t3-muted:#a0adbc;--t3-line:#35404d;--t3-strong:#73859b;--t3-accent:#c83b4b;--t3-good:#9cd6b4;--t3-warn:#f0ca88}
:root.forge-treatment-v3 body{--bg-0:var(--t3-canvas)!important;--bg-1:var(--t3-surface)!important;--bg-2:var(--t3-raised)!important;--bg-3:var(--t3-raised)!important;--fg:var(--t3-ink)!important;--fg-2:var(--t3-secondary)!important;--fg-3:var(--t3-muted)!important;--line:var(--t3-line)!important;--line-2:var(--t3-strong)!important;--forge-steel:var(--t3-ink)!important;--forge-muted:var(--t3-secondary)!important;--forge-dim:var(--t3-muted)!important;--forge-line:var(--t3-line)!important;--forge-line-strong:var(--t3-strong)!important;--pa-fg:var(--t3-ink);--pa-fg-2:var(--t3-secondary);--pa-fg-3:var(--t3-muted);--pa-bg:var(--t3-canvas);--pa-plane:var(--t3-surface);--pa-plane-2:var(--t3-raised);--pa-line:var(--t3-line);--pa-line-strong:var(--t3-strong);--sans:var(--t3-font)!important;--serif:var(--t3-font)!important;--mono:var(--t3-font)!important;font-family:var(--t3-font)!important;font-size:14px;line-height:1.5;color:var(--t3-ink)!important;background:var(--t3-canvas)!important;-webkit-font-smoothing:antialiased}
:root.forge-treatment-v3 body :is(button,input,select,textarea,label,h1,h2,h3,p,small,.hint,.muted,.sub,.num,.k,.t){font-family:var(--t3-font)!important}
:root.forge-treatment-v3 body :is(h1,.page-title,.pa-title){font-size:30px!important;line-height:1.17!important;letter-spacing:-.035em!important;font-weight:650!important;text-transform:none!important}
:root.forge-treatment-v3 body :is(h2,.modal h2){font-size:18px!important;line-height:1.35!important;letter-spacing:-.015em!important;font-weight:650!important;text-transform:none!important}
:root.forge-treatment-v3 body :is(p,.hint,.sub,.muted,.page-sub){line-height:1.55!important}
:root.forge-treatment-v3 body :is(button,.btn,.btn2,.out,.dq,.gout,.button){min-height:44px;font-family:var(--t3-font)!important;font-size:13px!important;line-height:1.35!important;max-width:100%;white-space:normal}
:root.forge-treatment-v3 body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:46px;min-width:0!important;max-width:100%;font-size:14px!important;line-height:1.4!important;border-radius:8px!important;border-color:var(--t3-strong)!important;background:var(--t3-surface)!important;color:var(--t3-ink)!important}
:root.forge-treatment-v3 body :is(label,.field label,.frow label){font-size:12px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important;margin-bottom:8px}
:root.forge-treatment-v3 body :is(td,th){line-height:1.45!important}
:root.forge-treatment-v3 body :is(th,.kicker,.eyebrow,.forge-inspector-kicker,.pa-kicker,.pa-label,.kpi-label,.ikpi-l){font-size:10px!important;font-weight:700!important;line-height:1.5!important;letter-spacing:.08em!important}
:root.forge-treatment-v3 body :is(.card,.panel,.modal,.sched-card,.queue-card,.ikpi,.kpi){border-radius:12px!important;border-color:var(--t3-line)!important;background:var(--t3-surface)!important}
:root.forge-treatment-v3 body :is(.card,.panel,.queue-card){padding:24px!important}
:root.forge-treatment-v3 body :is(.card,.panel)>h2{font-size:16px!important;margin:0 0 20px!important;line-height:1.4!important}
:root.forge-treatment-v3 body :is(.head,.page-head){gap:16px;align-items:start;flex-wrap:wrap;margin-bottom:24px!important}
:root.forge-treatment-v3 body :is(.head,.page-head) h1{margin:0!important}
:root.forge-treatment-v3 body :is(.head,.page-head) :is(p,.sub,.page-sub){margin-top:8px!important}
:root.forge-treatment-v3 body :is(.actions,.toolbar,.filters,.pay,.job-context-actions,.queue-head){gap:8px;align-items:center;flex-wrap:wrap}
:root.forge-treatment-v3 body .modal{padding:24px!important;scroll-padding-block:20px}
:root.forge-treatment-v3 body .modal :is(.grid,.fgrid,.form-grid){gap:16px}
:root.forge-treatment-v3 :focus-visible{outline:2px solid var(--t3-ink)!important;outline-offset:3px!important}
/* Shared header owns one row. Existing #app visibility is NEVER overridden. */
:root.forge-treatment-v3 body.t3-layout{display:grid!important;grid-template-columns:var(--t3-nav) minmax(0,1fr) var(--t3-side)!important;grid-template-rows:var(--t3-header) auto!important;align-items:start!important;padding:0!important;min-height:100dvh!important;overflow-x:visible!important}
:root.forge-treatment-v3 body.t3-layout::before{content:none!important}
:root.forge-treatment-v3 body.t3-layout>.gbar{grid-column:1/-1!important;grid-row:1!important;position:sticky!important;inset:0 auto auto!important;top:0!important;width:100%!important;height:var(--t3-header)!important;z-index:100!important;background:var(--t3-surface)!important;border-bottom:1px solid var(--t3-line)!important;backdrop-filter:none!important}
:root.forge-treatment-v3 body.t3-layout .gbar-in{display:grid!important;grid-template-columns:var(--t3-nav) minmax(0,1fr) auto!important;gap:0!important;height:100%!important;padding:0!important}
:root.forge-treatment-v3 body.t3-layout .gbrand{display:contents!important}
:root.forge-treatment-v3 body.t3-layout .brand{grid-column:1!important;grid-row:1!important;display:flex!important;padding:0 24px!important;gap:11px!important;min-width:0!important;height:100%!important;align-items:center!important;border-right:1px solid var(--t3-line)!important;color:var(--t3-ink)!important;font-size:17px!important;letter-spacing:.16em!important}
:root.forge-treatment-v3 body.t3-layout .brand .spark{box-shadow:none!important;background:linear-gradient(#171b22,#69717c)!important;width:7px!important;height:25px!important}
:root.forge-treatment-v3 body.t3-layout .wspill{grid-column:2!important;grid-row:1!important;min-width:0!important;display:grid!important;gap:2px!important;align-content:center!important;padding:12px 28px!important;background:transparent!important;border:0!important;height:100%!important}
:root.forge-treatment-v3 body.t3-layout .wspill::before{font-size:10px!important;letter-spacing:.08em!important;color:var(--t3-muted)!important;line-height:1.3!important}
:root.forge-treatment-v3 body.t3-layout #ws-name{font-size:14px!important;font-weight:650!important;line-height:1.4!important;display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--t3-ink)!important}
:root.forge-treatment-v3 body.t3-layout .gright{grid-column:3!important;grid-row:1!important;padding:12px 20px!important;gap:8px!important;border-left:0!important;min-width:0!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important}
:root.forge-treatment-v3 body.t3-layout .rolesw{display:flex!important;gap:2px!important;background:transparent!important;border:0!important}
:root.forge-treatment-v3 body.t3-layout .rolesw button{min-height:44px!important;padding:9px 10px!important;font-size:12px!important;white-space:nowrap!important;color:var(--t3-secondary)!important;line-height:1.4!important}
:root.forge-treatment-v3 body.t3-layout .rolesw button.on{color:var(--t3-ink)!important;background:var(--t3-raised)!important;border-color:var(--t3-line)!important}
:root.forge-treatment-v3 body.t3-layout :is(.gout,#forge-theme-toggle){min-height:44px!important;padding:9px 12px!important;white-space:nowrap!important;border-radius:8px!important;border:1px solid var(--t3-line)!important;background:var(--t3-surface)!important;color:var(--t3-secondary)!important;font-size:12px!important}
:root.forge-treatment-v3 body.t3-layout .avatar{width:36px!important;height:36px!important;background:var(--t3-raised)!important;border-color:var(--t3-line)!important;color:var(--t3-ink)!important;font-size:11px!important}
:root.forge-treatment-v3 body.t3-layout>.fnav{grid-column:1!important;grid-row:2!important;position:sticky!important;top:var(--t3-header)!important;left:auto!important;bottom:auto!important;width:auto!important;height:calc(100dvh - var(--t3-header))!important;display:flex!important;transform:none!important;z-index:40!important;padding:24px 12px!important;background:var(--t3-surface)!important;border-right:1px solid var(--t3-line)!important;overflow:auto!important}
:root.forge-treatment-v3 body.t3-layout .fnav .grp{margin:24px 12px 8px!important;padding:0!important;font-size:10px!important;letter-spacing:.1em!important;color:var(--t3-muted)!important}
:root.forge-treatment-v3 body.t3-layout .fnav .grp:first-child{margin-top:0!important}
:root.forge-treatment-v3 body.t3-layout .fnav a{min-height:46px!important;padding:10px 12px!important;gap:12px!important;margin:3px 0!important;border-radius:8px!important;color:var(--t3-secondary)!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important}
:root.forge-treatment-v3 body.t3-layout .fnav a.active{background:var(--t3-raised)!important;color:var(--t3-ink)!important;font-weight:650!important;box-shadow:inset 3px 0 var(--t3-ink)!important}
:root.forge-treatment-v3 body.t3-layout .fnav a::before{content:none!important}
:root.forge-treatment-v3 body.t3-layout .fnav a svg{width:18px!important;height:18px!important;opacity:1!important}
:root.forge-treatment-v3 body.t3-layout .fnav .cnt{color:var(--t3-muted)!important;font-size:11px!important}
:root.forge-treatment-v3 body.t3-layout>#app{grid-column:2!important;grid-row:2!important;min-width:0!important;margin:0!important;width:100%!important}
:root.forge-treatment-v3 body.t3-layout #app>:is(.wrap,.main){max-width:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:28px 28px 56px!important}
:root.forge-treatment-v3 #forge-founder-inspector{display:none}
:root.forge-treatment-v3 body.t3-layout>#forge-founder-inspector{grid-column:3!important;grid-row:2!important;display:block!important;position:sticky!important;top:var(--t3-header)!important;inset-inline:auto!important;bottom:auto!important;width:auto!important;height:auto!important;max-height:calc(100dvh - var(--t3-header))!important;overflow:auto!important;padding:28px 20px 40px 0!important;background:transparent!important;border:0!important;z-index:1!important}
:root.forge-treatment-v3 body.t3-layout .forge-inspector-block{padding:20px!important;background:var(--t3-surface)!important;border:1px solid var(--t3-line)!important;border-radius:12px!important;margin:0 0 16px!important}
:root.forge-treatment-v3 body.t3-layout .forge-inspector-title{font-size:16px!important;line-height:1.4!important;letter-spacing:-.015em!important;margin:8px 0 16px!important;color:var(--t3-ink)!important}
:root.forge-treatment-v3 body.t3-layout .forge-inspector-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;gap:12px!important;padding:5px 0!important;font-size:12px!important;line-height:1.5!important;color:var(--t3-muted)!important}
:root.forge-treatment-v3 body.t3-layout .forge-inspector-row strong{font-size:12px!important;line-height:1.5!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--t3-ink)!important}
:root.forge-treatment-v3 body.t3-layout .forge-inspector-card{padding:14px!important;border:1px solid var(--t3-line)!important;border-radius:8px!important;background:var(--t3-raised)!important}
:root.forge-treatment-v3 body.t3-layout .forge-inspector-card small{font-size:12px!important;line-height:1.5!important;color:var(--t3-secondary)!important}
:root.forge-treatment-v3 body.t3-layout :is(#forge-founder-system,#forge-founder-status){display:none!important}
:root.forge-treatment-v3 body .forge-founder-eyebrow{display:none!important}
:root.forge-treatment-v3 body.t3-layout .netbar{top:var(--t3-header)!important;z-index:110!important}
.t3-apps{position:relative}.t3-apps>summary{display:none}.t3-apps-panel{display:none}.t3-nav-backdrop{display:none}.t3-nav-backdrop[hidden]{display:none!important}
:root.forge-treatment-v3 body.t3-simple-layout{padding:0!important;display:block!important}:root.forge-treatment-v3 body.t3-simple-layout::before{content:none!important}:root.forge-treatment-v3 body.t3-simple-layout #app>.wrap{max-width:1040px!important;margin:0 auto!important;padding:32px 28px 64px!important}:root.forge-treatment-v3 body.t3-simple-layout .top{min-height:72px!important;padding:12px 24px!important;background:var(--t3-surface)!important}:root.forge-treatment-v3 body.t3-simple-layout .brand{display:block!important;color:var(--t3-ink)!important;font-size:18px!important;letter-spacing:.12em!important;padding:0!important;border:0!important}:root.forge-treatment-v3 body.t3-simple-layout .brand em{display:inline!important;background:none!important;color:inherit!important}:root.forge-treatment-v3 body.t3-simple-layout :is(#forge-founder-system,#forge-founder-status){display:none!important}
:root.forge-treatment-v3 body[data-active=weighbridge] .wb-reading::after{content:none!important}:root.forge-treatment-v3 body[data-active=weighbridge] .wb-reading>div:first-child{font-size:12px!important;letter-spacing:0!important;color:var(--t3-secondary)!important}:root.forge-treatment-v3 body[data-active=weighbridge] .wb-reading>div:first-child::first-letter{color:inherit!important}:root.forge-treatment-v3 body .t3-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable}:root.forge-treatment-v3 body .t3-table-scroll>table{margin:0!important}
/* Task composition: real controls, existing identities and guards. */
:root.forge-treatment-v3 body[data-active=weighbridge] .wb-work{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;margin-top:24px!important;align-items:start!important}
:root.forge-treatment-v3 body[data-active=weighbridge] :is(.wb-left,.wb-right){position:static!important;min-width:0!important;top:auto!important}
:root.forge-treatment-v3 body[data-active=weighbridge] .wb-reading{min-height:0!important;display:block!important;padding:24px!important;background:var(--t3-raised)!important;border:1px solid var(--t3-line)!important;border-radius:12px!important}
:root.forge-treatment-v3 body[data-active=weighbridge] .wb-net{font-size:52px!important;line-height:1!important;letter-spacing:-.045em!important;margin:16px 0 20px!important;color:var(--t3-ink)!important}
:root.forge-treatment-v3 body[data-active=weighbridge] .wb-net #r-net{font-size:inherit!important;font-weight:600!important;line-height:1!important;margin:0!important;color:inherit!important}
:root.forge-treatment-v3 body[data-active=weighbridge] .wb-net #r-net+span{font-size:14px!important;letter-spacing:0!important;margin-left:10px!important;line-height:1.4!important;color:var(--t3-secondary)!important}
:root.forge-treatment-v3 body .wb-big-in input{height:48px!important;font-size:16px!important;text-align:left!important;padding:12px!important}
:root.forge-treatment-v3 body :is(.wb-step,.wb-step-material,.wb-step-account,.wb-step-lines){margin-top:24px!important}
:root.forge-treatment-v3 body .wb-account-field label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:32px!important}
:root.forge-treatment-v3 body .wb-account-field label button{min-height:32px!important;padding:4px 8px!important;font-size:12px!important;margin:0!important;white-space:nowrap!important}
:root.forge-treatment-v3 body .active-loads-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;padding:16px 20px!important;min-height:76px!important;border-bottom:1px solid var(--t3-line)!important}
:root.forge-treatment-v3 body #active-loads-heading{font-size:16px!important;line-height:1.4!important;margin:0!important;text-transform:none!important;display:flex;align-items:center;gap:8px}
:root.forge-treatment-v3 body #active-loads-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;border:1px solid var(--t3-line);border-radius:999px;font-size:12px!important;padding:2px 7px}
:root.forge-treatment-v3 body #active-loads-panel{border:1px solid var(--t3-line)!important;border-radius:12px!important;background:var(--t3-surface)!important;margin-block:24px!important;overflow:hidden}
:root.forge-treatment-v3 body .active-loads-state{padding:20px!important;font-size:14px!important;line-height:1.5!important}
:root.forge-treatment-v3 body .dir-full{margin-block:24px!important}
:root.forge-treatment-v3 body .dir.dir-full button{padding:12px!important;min-height:64px!important;grid-template-columns:28px minmax(0,1fr) auto!important;gap:10px!important}
:root.forge-treatment-v3 body .dir.dir-full button>span:nth-child(2) strong{font-size:13px!important;line-height:1.4!important;white-space:normal!important}
:root.forge-treatment-v3 body .dir.dir-full button>span:nth-child(2) small{font-size:11px!important;line-height:1.5!important;white-space:normal!important}
:root.forge-treatment-v3 body .dir.dir-full .dir-mark{width:28px!important;height:28px!important;font-size:10px!important;background:var(--t3-surface)!important;color:var(--t3-secondary)!important;border-color:var(--t3-line)!important}
:root.forge-treatment-v3 body .dir.dir-full .dir-selected{font-size:9px!important;color:var(--t3-muted)!important}
:root.forge-treatment-v3 body :is(#forge-orphan-recovery,#forge-current-recovery-choice,#forge-orphan-completion,#forge-docket-readonly-review){padding:20px!important;font-size:14px!important;line-height:1.5!important;border-radius:12px!important;margin-block:24px!important}
:root.forge-treatment-v3 body :is(#forge-orphan-recovery,#forge-current-recovery-choice,#forge-orphan-completion) h2{font-size:16px!important;line-height:1.4!important;margin-bottom:8px!important}
:root.forge-treatment-v3 body :is(#forge-orphan-recovery,#forge-current-recovery-choice) p{font-size:12px!important;line-height:1.5!important;max-width:76ch}
:root.forge-treatment-v3 body #forge-orphan-recovery>div{gap:12px!important;padding-block:14px!important;align-items:center!important;flex-wrap:wrap}
:root.forge-treatment-v3 body #forge-orphan-recovery>div>span{font-size:14px!important;flex:1 1 220px;overflow-wrap:anywhere}
:root.forge-treatment-v3 body .t3-recovery-notice{font-size:13px!important;line-height:1.55!important;padding:16px!important;margin:0 0 24px!important;border-radius:8px!important}
:root.forge-treatment-v3 body .t3-recovery-notice button{display:inline-flex;min-height:44px;padding:10px 14px;border:1px solid var(--t3-strong);border-radius:8px;background:var(--t3-surface);color:var(--t3-ink);margin-top:12px}
:root.forge-treatment-v3 body :is(.forge-next-step-guidance,#wb-next-step){padding:16px!important;margin-block:20px!important;font-size:13px!important;line-height:1.5!important;border-radius:12px!important}
:root.forge-treatment-v3 body .forge-next-step-guidance h2{font-size:16px!important;line-height:1.4!important}
:root.forge-treatment-v3 body .forge-next-step-guidance p{font-size:12px!important;line-height:1.5!important;max-width:80ch}
:root.forge-treatment-v3 body .inbox-kpis{gap:16px!important;margin:24px 0!important}
:root.forge-treatment-v3 body :is(.ikpi,.kpi){padding:20px!important}
:root.forge-treatment-v3 body :is(.ikpi-v,.kpi-value){font-size:28px!important;line-height:1.2!important;font-weight:600!important;letter-spacing:-.035em!important;margin-top:8px!important}
:root.forge-treatment-v3 body .queue-head{margin-bottom:20px!important}
:root.forge-treatment-v3 body .item{padding:20px!important;gap:20px!important;border:1px solid var(--t3-line)!important;border-radius:8px!important}
:root.forge-treatment-v3 body .item .t{font-size:14px!important;font-weight:600!important;line-height:1.45!important}
:root.forge-treatment-v3 body .item .m{font-size:12px!important;line-height:1.5!important;margin-top:5px!important}
/* Compact guide, no fake completion state. */
:root.forge-treatment-v3 body .ui-task-guide{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:center;padding:16px 20px!important;margin:20px 0 24px!important;border:1px solid var(--t3-strong);border-radius:12px;background:var(--t3-surface);color:var(--t3-ink);min-width:0}
:root.forge-treatment-v3 body .ui-task-guide[hidden]{display:none!important}
:root.forge-treatment-v3 body .ui-guide-eyebrow{display:none}
:root.forge-treatment-v3 body .ui-guide-title{font-size:15px!important;line-height:1.4!important;font-weight:650!important;text-transform:none!important;letter-spacing:0!important;margin:0!important}
:root.forge-treatment-v3 body .ui-guide-copy{font-size:12px!important;line-height:1.5!important;color:var(--t3-secondary);margin:4px 0 0!important;max-width:74ch}
:root.forge-treatment-v3 body .ui-guide-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
:root.forge-treatment-v3 body .ui-guide-button{appearance:none;min-height:40px!important;padding:9px 12px!important;font-size:12px!important;line-height:1.4!important;font-weight:600!important;background:var(--t3-surface);color:var(--t3-ink);border:1px solid var(--t3-strong);border-radius:8px;cursor:pointer}
:root.forge-treatment-v3 body .ui-guide-button:disabled{opacity:1!important;color:var(--t3-muted)!important;background:var(--t3-raised)!important;border-color:var(--t3-line)!important;cursor:default}
:root.forge-treatment-v3 body .ui-guide-button[data-guide-action=next]{background:var(--t3-ink);color:var(--t3-surface);border-color:var(--t3-ink)}
:root.forge-treatment-v3 body .ui-guide-focus{outline:2px solid var(--t3-ink)!important;outline-offset:4px!important;scroll-margin-block:100px}
:root.forge-treatment-v3 body .ui-guide-status{grid-column:1/-1;font-size:12px!important;color:var(--t3-muted);margin:0!important}
:root.forge-treatment-v3 body .ui-guide-status:empty{display:none}
:root.forge-treatment-v3 body .ui-guide-steps{display:flex;gap:6px;grid-column:1/-1}
:root.forge-treatment-v3 body .ui-guide-stage{flex:1;min-width:0;min-height:30px!important;background:var(--t3-raised);color:var(--t3-secondary);border:1px solid transparent;border-radius:5px;padding:5px 8px;font-size:10px!important;line-height:1.4!important;text-align:left;cursor:pointer}
:root.forge-treatment-v3 body .ui-guide-stage[aria-current=step]{border-color:var(--t3-strong);color:var(--t3-ink);font-weight:650!important}
:root.forge-treatment-v3 body .btn-commit{background:var(--t3-accent)!important;color:#fff!important;border-color:var(--t3-accent)!important}:root.forge-treatment-v3 body .btn:not(.ghost):not(.btn-commit):not(.danger){background:var(--t3-ink)!important;color:var(--t3-surface)!important}
/* Platform admin retains its independent authority gate and readers. */
:root.forge-treatment-v3 body .pa-layout{max-width:1440px;padding:32px 28px 72px;grid-template-columns:minmax(0,1fr) 280px;gap:28px}
:root.forge-treatment-v3 body .pa-topbar{min-height:72px;background:var(--t3-surface);border-color:var(--t3-line)}
:root.forge-treatment-v3 body .pa-title{max-width:760px;margin:12px 0!important}
:root.forge-treatment-v3 body .pa-lead{font-size:14px!important;line-height:1.6!important;max-width:74ch}
:root.forge-treatment-v3 body :is(.pa-user-email,.pa-authority-line,.pa-result-state,.pa-yard-meta,.pa-file-name,.pa-file-meta){font-size:12px!important;line-height:1.5!important}
:root.forge-treatment-v3 body .pa-brand-word{font-size:20px!important}
:root.forge-treatment-v3 body :is(.pa-authority-pill,.pa-file-count){font-size:11px!important;line-height:1.4!important}
:root.forge-treatment-v3 body .pa-telemetry{gap:16px;margin-top:24px}
:root.forge-treatment-v3 body .pa-stat{padding:20px;border-radius:12px;min-height:136px;background:var(--t3-surface);border-color:var(--t3-line)}
:root.forge-treatment-v3 body .pa-stat strong{font-size:30px!important;line-height:1.2!important;margin-top:12px;color:var(--t3-ink)}
:root.forge-treatment-v3 body .pa-stat small{font-size:12px!important;line-height:1.5!important;margin-top:8px;color:var(--t3-secondary)}
:root.forge-treatment-v3 body .pa-search-wrap{display:grid;gap:8px}
:root.forge-treatment-v3 body .pa-toolbar{margin-top:24px;padding-block:20px;align-items:end}
:root.forge-treatment-v3 body .pa-yard-row{padding-block:20px;gap:16px}
:root.forge-treatment-v3 body .pa-yard-name{font-size:16px!important;line-height:1.4!important}
:root.forge-treatment-v3 body .pa-side{padding-top:0}
:root.forge-treatment-v3 body .pa-side-card{padding:20px;border:1px solid var(--t3-line);border-radius:12px;background:var(--t3-surface);margin-bottom:16px}
:root.forge-treatment-v3 body .pa-side-card h2{font-size:16px!important;margin-top:8px}
:root.forge-treatment-v3 body :is(.pa-side-card p,.pa-side-row,.pa-lock-note){font-size:12px!important;line-height:1.5!important}
@media(min-width:1650px){:root.forge-treatment-v3{--t3-nav:224px;--t3-side:304px}:root.forge-treatment-v3 body.t3-layout #app>:is(.wrap,.main){padding:32px 40px 64px!important}:root.forge-treatment-v3 body.t3-layout .wspill{padding-inline:40px!important}:root.forge-treatment-v3 body.t3-layout>#forge-founder-inspector{padding-top:32px!important;padding-right:24px!important}}
@media(max-width:1200px){:root.forge-treatment-v3{--t3-nav:76px}:root.forge-treatment-v3 body.t3-layout{grid-template-columns:var(--t3-nav) minmax(0,1fr)!important}:root.forge-treatment-v3 body.t3-layout>#forge-founder-inspector{grid-column:2!important;grid-row:3!important;position:static!important;max-height:none!important;padding:0 24px 40px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;overflow:visible!important}:root.forge-treatment-v3 body.t3-layout>.fnav{grid-row:2/span 2!important;padding:20px 10px!important}:root.forge-treatment-v3 body.t3-layout .fnav :is(.grp,a>span){display:none!important}:root.forge-treatment-v3 body.t3-layout .fnav a{justify-content:center!important;padding:12px!important}:root.forge-treatment-v3 body.t3-layout .brand{font-size:0!important;justify-content:center!important;padding:0!important}:root.forge-treatment-v3 body.t3-layout .brand .spark{margin:0!important}:root.forge-treatment-v3 body.t3-layout #app>:is(.wrap,.main){padding:24px!important}:root.forge-treatment-v3 body.t3-layout .wspill{padding-inline:24px!important}}
@media(max-width:940px){:root.forge-treatment-v3 body[data-active=weighbridge] .wb-work{grid-template-columns:minmax(0,1fr)!important}:root.forge-treatment-v3 body .pa-layout{grid-template-columns:1fr;padding:24px;gap:24px}}
@media(max-width:700px){:root.forge-treatment-v3{--t3-header:64px}:root.forge-treatment-v3 body.t3-layout{grid-template-columns:minmax(0,1fr)!important}:root.forge-treatment-v3 body.t3-layout .gbar-in{grid-template-columns:48px minmax(0,1fr) auto!important}:root.forge-treatment-v3 body.t3-layout .brand{display:none!important}:root.forge-treatment-v3 body.t3-layout .fnav-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;grid-column:1!important;grid-row:1!important;position:static!important;width:40px!important;min-height:40px!important;margin-left:8px!important;font-size:18px!important;border:1px solid var(--t3-line)!important;background:var(--t3-surface)!important;color:var(--t3-ink)!important;border-radius:8px!important}:root.forge-treatment-v3 body.t3-layout .wspill{padding:8px 12px!important}:root.forge-treatment-v3 body.t3-layout #ws-name{font-size:12px!important;line-height:1.3!important;display:block!important}:root.forge-treatment-v3 body.t3-layout .wspill::before{font-size:9px!important}:root.forge-treatment-v3 body.t3-layout .gright{padding:10px 12px 10px 0!important;gap:6px!important}:root.forge-treatment-v3 body.t3-layout .gright>.gout{display:none!important}:root.forge-treatment-v3 body.t3-layout .avatar{display:none!important}:root.forge-treatment-v3 body.t3-layout :is(#forge-theme-toggle,.t3-apps>summary){min-height:40px!important;font-size:11px!important;padding:8px!important}:root.forge-treatment-v3 body.t3-layout .t3-apps>summary{display:flex!important;align-items:center;cursor:pointer;border:1px solid var(--t3-line);border-radius:8px;list-style:none;color:var(--t3-ink);background:var(--t3-surface)}:root.forge-treatment-v3 body.t3-layout .t3-apps>.t3-apps-panel{display:none!important}:root.forge-treatment-v3 body.t3-layout .t3-apps[open]>.t3-apps-panel{position:absolute!important;right:0!important;top:calc(100% + 8px)!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;width:176px!important;padding:8px!important;z-index:150!important;background:var(--t3-surface)!important;border:1px solid var(--t3-line)!important;border-radius:10px!important;box-shadow:0 12px 32px #11182722}:root.forge-treatment-v3 body.t3-layout .t3-apps-panel .rolesw{position:static!important;display:flex!important;flex-direction:column!important;width:100%!important;padding:0!important}:root.forge-treatment-v3 body.t3-layout .t3-apps-panel .gout{margin-top:4px!important;width:100%!important}:root.forge-treatment-v3 body.t3-layout>.fnav{position:fixed!important;grid-column:auto!important;grid-row:auto!important;top:var(--t3-header)!important;bottom:0!important;left:0!important;width:240px!important;height:calc(100dvh - var(--t3-header))!important;z-index:80!important;transform:translateX(-110%)!important;padding:24px 12px!important;box-shadow:12px 0 40px #11182722}:root.forge-treatment-v3 body.t3-layout.fnav-open>.fnav{transform:translateX(0)!important}:root.forge-treatment-v3 body.t3-layout.fnav-open .fnav :is(.grp,a>span){display:block!important}:root.forge-treatment-v3 body.t3-layout.fnav-open .fnav a{justify-content:start!important}:root.forge-treatment-v3 body.t3-layout .t3-nav-backdrop:not([hidden]){display:block!important;position:fixed!important;inset:var(--t3-header) 0 0!important;z-index:70!important;background:#11182755!important;border:0!important;width:100%!important;max-width:none!important;height:calc(100dvh - var(--t3-header))!important}:root.forge-treatment-v3 body.t3-layout>#app{grid-column:1!important}:root.forge-treatment-v3 body.t3-layout #app>:is(.wrap,.main){padding:24px 16px 40px!important}:root.forge-treatment-v3 body.t3-layout>#forge-founder-inspector{grid-column:1!important;display:block!important;padding:0 16px 32px!important}:root.forge-treatment-v3 body :is(h1,.page-title,.pa-title){font-size:26px!important}:root.forge-treatment-v3 body :is(.card,.panel,.modal,.queue-card){padding:20px!important}:root.forge-treatment-v3 body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}:root.forge-treatment-v3 body .ui-task-guide{grid-template-columns:minmax(0,1fr);padding:16px!important;gap:12px}:root.forge-treatment-v3 body .ui-guide-controls{width:100%}:root.forge-treatment-v3 body .ui-guide-button{flex:1}:root.forge-treatment-v3 body .ui-guide-stage{padding:5px 4px;font-size:9px!important;text-align:center}:root.forge-treatment-v3 body .pa-telemetry{grid-template-columns:1fr;gap:12px}:root.forge-treatment-v3 body .pa-stat{min-height:0;padding:16px}:root.forge-treatment-v3 body .pa-layout{padding:24px 16px 56px}:root.forge-treatment-v3 body .pa-toolbar{flex-wrap:wrap;align-items:start}:root.forge-treatment-v3 body .pa-search-wrap{width:100%}:root.forge-treatment-v3 body .pa-user-email{max-width:130px}:root.forge-treatment-v3 body .pa-authority-pill{display:none}:root.forge-treatment-v3 body .pa-yard-actions{flex-wrap:wrap;justify-content:flex-end}:root.forge-treatment-v3 body .top .who>span{display:none!important}:root.forge-treatment-v3 body .dir.dir-full .dir-selected{display:none!important}}
@media(prefers-reduced-motion:reduce){:root.forge-treatment-v3 *,:root.forge-treatment-v3 *::before,:root.forge-treatment-v3 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
}
@media print{:root.forge-treatment-v3 body :is(.ui-task-guide,.t3-apps,.t3-nav-backdrop){display:none!important}}

/* Core field screens only. Existing colour/authority/layout systems are retained. */
:root.forge-treatment-v3 body[data-active="weighbridge"] #app,
:root.forge-treatment-v3 body[data-forge-field-route="driver"] {font-size:16px!important;line-height:1.5!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(label,.lbl,.fin-lbl,.wb-step-label),
:root.forge-treatment-v3 body[data-forge-field-route="driver"] :is(label,.eyebrow,.subtle,.notice,.when,.pill,.field .k,footer) {
 font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere;
}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(p,.sub,.hint,.empty,.page-sub,.active-load-empty,.direction-state),
:root.forge-treatment-v3 body[data-forge-field-route="driver"] :is(p,.job .a,.job .c,.cust,.field .v,.message,.offline-state,.gate) {
 font-size:16px!important;line-height:1.5!important;overflow-wrap:anywhere;
}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not(#gross):not(#tare):not(#net),
:root.forge-treatment-v3 body[data-forge-field-route="driver"] :is(input,select,textarea):not(.pin-input) {
 font-size:16px!important;line-height:1.4!important;
}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app button,
:root.forge-treatment-v3 body[data-forge-field-route="driver"] :is(button,.button,.btn) {
 font-size:16px!important;line-height:1.4!important;min-height:44px!important;white-space:normal;overflow-wrap:anywhere;
}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .ui-guide-steps {flex-wrap:wrap!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .ui-guide-stage {flex:1 1 76px!important;font-size:14px!important;padding:8px!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .dir.dir-full button {grid-template-columns:36px minmax(0,1fr) auto!important;height:auto!important;min-height:76px!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .dir.dir-full button>span:nth-child(2) strong {font-size:16px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .dir.dir-full button>span:nth-child(2) small {font-size:14px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.5!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .dir.dir-full .dir-mark {width:36px!important;height:36px!important;font-size:14px!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .file-row label {min-height:44px!important;display:inline-flex;align-items:center}
@media(max-width:600px){
 :root.forge-treatment-v3 body[data-active="weighbridge"] #app .dir.dir-full {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 :root.forge-treatment-v3 body[data-active="weighbridge"] #app .dir.dir-full button {width:100%!important}
}
/* Pinned legacy helpers still carry inline sizes. Raise only the existing small
   text declarations; large live-weight and money readings keep their own scale. */
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(div,span,small)[style*="font-size:11"],
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(div,span,small)[style*="font-size:12"],
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(div,span,small)[style*="font-size:13"],
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(h3,#wb-next-step>strong) {
 font-size:16px!important;line-height:1.5!important;overflow-wrap:anywhere;
}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(.gsec,summary,#active-loads-count,#r-dir,#pdoc-count) {
 font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere;
}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app :is(#gross,#tare) {font-size:16px!important;line-height:1.4!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app [data-forge-completed-today-copy] {font-size:16px!important;line-height:1.5!important;overflow-wrap:anywhere}
:root.forge-treatment-v3 body[data-active="weighbridge"] #app .dir.dir-full .dir-selected {
 font-size:14px!important;line-height:1.4!important;grid-column:2/-1!important;justify-self:start!important;white-space:normal!important;
}
/* Inherited into the existing guide's shadow root; other routes use its exact
   existing fallback sizes. No guide logic or new runtime overlay is added. */
:root.forge-treatment-v3 body[data-active="weighbridge"],
:root.forge-treatment-v3 body[data-forge-field-route="driver"] {
 --forge-field-widget-body:16px;--forge-field-widget-label:14px;--forge-field-widget-touch:44px;--forge-field-widget-dock-padding:13px 0;
}

/* Populated canonical Recent table: keep monetary labels and headings readable. */
:root.forge-treatment-v3 body[data-active="weighbridge"] #recent th {font-size:14px!important;line-height:1.5!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #recent td {font-size:16px!important;line-height:1.5!important}
:root.forge-treatment-v3 body[data-active="weighbridge"] #recent .recent-row td div {font-size:14px!important;line-height:1.5!important}
/* JOSH 27 Nov: routes without route-specific context release the right rail column. */
:root.forge-treatment-v3 body.t3-layout.forge-no-rail{grid-template-columns:var(--t3-nav) minmax(0,1fr)!important}
:root.forge-treatment-v3 body.t3-layout.forge-no-rail>#forge-founder-inspector{display:none!important}
