:root{--nav:#152a2b;--ink:#203638;--muted:#6e8082;--line:#e1e7e6;--green:#176b52;--orange:#e97838;--bg:#f4f6f5}*{box-sizing:border-box}body{margin:0;font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit}aside{position:fixed;inset:0 auto 0 0;width:246px;background:var(--nav);color:#eaf0ec;padding:29px 20px;display:flex;flex-direction:column}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-size:22px;letter-spacing:1px;font-weight:800}.brand small{display:block;color:#a4bab5;font-size:10px;letter-spacing:3px}.brandmark{display:flex;align-items:center;justify-content:center;color:white;background:var(--orange);width:43px;height:45px;border-radius:9px;position:relative;font-size:27px}.brandmark span{font-size:14px;margin-left:-5px}.workspace-label{font-size:10px;letter-spacing:1.5px;color:#89a39d;margin:48px 12px 15px}nav{display:grid;gap:6px}nav button{display:flex;align-items:center;gap:13px;color:#b4c7c1;border:0;background:none;text-align:left;border-radius:7px;padding:12px;font-size:18px}nav button span{font-size:14px}nav button.active{background:#2a4642;color:white}nav b{margin-left:auto;font-size:11px;background:#47605a;padding:0 6px;border-radius:4px}.side-bottom{margin-top:auto;color:#8da7a0;font-size:11px}.side-bottom a{display:block;text-decoration:none;padding:6px 0}.side-bottom p{margin:4px 0 17px}.local-dot{color:#d7e7de;font-size:12px}.local-dot:before,.live-dot{content:'';display:inline-block;width:7px;height:7px;background:#74ad8a;border-radius:50%;margin-right:7px}.profile{border-top:1px solid #35504b;margin-top:25px;padding-top:23px;display:flex;gap:9px;align-items:center;color:#e8efea}.profile>span{background:#3d5651;padding:7px;border-radius:50%}.profile small{display:block;color:#8da7a0;font-size:9px}.shell{margin-left:246px}header{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:12px;color:var(--muted)}header strong{color:var(--ink);font-weight:500}header span{margin:0 12px}.header-right{display:flex;align-items:center}.header-right .live-dot{margin:0 7px 0 0}.icon-button{border:0;background:transparent;font-size:24px;color:var(--muted);line-height:1.2;padding:5px 8px}.prototype-banner{background:#fff6e9;color:#845322;padding:10px 36px;display:flex;gap:13px;font-size:11px;border-bottom:1px solid #f1e3ce}.prototype-banner strong{font-size:9px;letter-spacing:1px;background:#f5e6ce;padding:3px 6px;border-radius:3px}main{padding:32px 36px;max-width:1800px;margin:auto}h1{font-size:29px;letter-spacing:-.8px;line-height:1.25;margin:5px 0 8px}h2{font-size:17px;margin:0}h3{font-size:14px;margin:0}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--muted)}.page-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.page-title p{color:var(--muted);margin:0;font-size:13px}.page-actions{display:flex;gap:10px}.primary,.secondary{border-radius:6px;padding:10px 16px;border:1px solid transparent;font-size:12px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#0f543e}.secondary{background:white;border-color:#cedad5;color:var(--ink)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:9px;padding:21px;position:relative}.stat-label{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:34px;font-weight:600;line-height:1.7;letter-spacing:-1px}.stat small{font-size:11px;color:var(--muted)}.stat-icon{position:absolute;right:18px;top:18px;background:#edf3f0;color:var(--green);border-radius:7px;padding:6px 10px}.stat:nth-child(3) .stat-icon{color:#a56c27;background:#fcf1e2}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:24px}.card{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.card-head{display:flex;align-items:flex-start;justify-content:space-between;padding:21px 23px;border-bottom:1px solid #eef1ef;gap:12px}.card-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.card-head .subtle{font-size:11px;color:var(--muted);white-space:nowrap}.chart{padding:21px 24px 23px}.chart-row{display:grid;grid-template-columns:47px 1fr 27px;gap:12px;align-items:center;margin:13px 0;font-size:11px}.bar-track{background:#f2f5f3;height:16px;border-radius:3px;display:flex;overflow:hidden}.bar-track span{height:100%;display:block}.chart-row b{text-align:right;font-weight:600}.legend{display:flex;flex-wrap:wrap;gap:16px;font-size:10px;color:var(--muted);margin-top:24px}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}.muted{color:var(--muted)}.toolbar{display:flex;align-items:center;gap:12px;padding:17px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar input{flex:1;min-width:170px}.toolbar input,.toolbar select{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:6px;font-size:12px;color:var(--ink)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.5px;text-transform:uppercase;font-weight:600;color:var(--muted);background:#fafbf9;padding:12px 22px;border-bottom:1px solid var(--line)}td{padding:16px 22px;border-bottom:1px solid #edf1ee;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfb}.serial{font-family:ui-monospace,SFMono-Regular,monospace;color:#235d4c;font-weight:600;background:transparent;border:0;padding:0;font-size:12px;cursor:pointer}.type-pill{background:#f0f3f1;border:1px solid #e4e9e5;border-radius:4px;padding:3px 7px;font-size:10px;font-weight:600}.badge{display:inline-block;border-radius:5px;padding:4px 8px;background:#edf1ef;color:#596f65;font-size:10px;font-weight:600}.badge.green{background:#e6f3eb;color:#28734e}.badge.amber{background:#fff1da;color:#9e6924}.badge.red{background:#fce9e5;color:#a44a3b}.badge.blue{background:#e7eff6;color:#4b6c91}.demo{font-size:8px;letter-spacing:.5px;color:#9b7954;margin-left:7px}.text-button{border:0;background:transparent;color:var(--green);padding:0;font-size:12px;cursor:pointer}.empty{text-align:center;padding:38px;color:var(--muted)}.card-foot{font-size:11px;padding:12px 22px;color:var(--muted);border-top:1px solid var(--line)}footer{padding:10px 36px 25px;font-size:10px;color:#85928c;display:flex;justify-content:space-between}.info{background:#edf3f0;border:1px solid #dce6df;padding:13px 16px;border-radius:6px;font-size:12px;color:#4e6b5f;margin:0 0 20px}.warning{background:#fff6e9;border-color:#f0dfc4;color:#8b642e}.detail-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:23px}.detail-summary label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);margin-bottom:7px}.detail-summary p{margin:0;font-size:13px}.detail-actions{display:flex;gap:9px;padding:0 23px 23px;flex-wrap:wrap}.reasons{padding:0 23px 22px}.reasons p{margin:6px 0;font-size:12px;color:#93602d}.history-list{padding:0 22px}.history-item{padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.history-item:last-child{border:0}.history-item p{margin:5px 0}.history-item small{font-size:10px;color:var(--muted)}.note-body{white-space:pre-wrap;overflow-wrap:anywhere}.depot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.depot-body{padding:22px}.depot-body strong{font-size:32px}.depot-body p{color:var(--muted);font-size:12px}.depot-body .text-button{margin-right:18px}dialog{border:1px solid var(--line);border-radius:12px;width:min(600px,95vw);padding:26px;max-height:90vh;color:var(--ink)}dialog::backdrop{background:#102d2866;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-head h2{font-size:23px;margin-top:4px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{margin-bottom:14px}.field label{display:block;font-size:12px;font-weight:600;margin-bottom:5px}.field input,.field select,.field textarea{display:block;width:100%;padding:10px;border:1px solid #cedbd3;border-radius:5px;background:white;color:var(--ink)}.field textarea{min-height:80px;resize:vertical}.field small{font-size:10px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px}.form-error{color:#a33c32;font-size:12px}.form-error:empty{display:none}#toast{position:fixed;bottom:28px;right:28px;background:var(--nav);color:white;padding:13px 22px;border-radius:7px;box-shadow:0 6px 25px #0002;z-index:10}.section-gap{margin-top:24px}details{white-space:normal;max-width:600px}details pre{white-space:pre-wrap;font-size:10px;background:#f6f8f5;padding:10px;max-height:300px;overflow:auto}.attention-layout{display:grid;grid-template-columns:280px 1fr;gap:22px}.queue-count{display:flex;justify-content:space-between;padding:13px 21px;font-size:12px;border-bottom:1px solid #edf1ee}.queue-count b{color:#926630}.stock-note{font-size:10px;color:var(--muted);margin:17px 0 0}.customer-list{margin-top:24px}
@media(min-width:1600px){main{padding-top:40px}.chart-row{margin:18px 0}}@media(max-width:1100px){aside{width:207px;padding:24px 14px}.shell{margin-left:207px}main{padding:25px 22px}header,.prototype-banner{padding-left:22px;padding-right:22px}.stats{gap:10px}.stat{padding:15px}.stat-icon{display:none}.depot-grid{grid-template-columns:1fr 1fr}.attention-layout{grid-template-columns:1fr}.grid{gap:14px}th,td{padding-left:16px;padding-right:16px}}@media(max-width:760px){aside{position:relative;width:100%;padding:15px}.brand{font-size:19px}.workspace-label,.side-bottom{display:none}nav{display:flex;overflow:auto;margin-top:15px}nav button{padding:8px;font-size:14px;white-space:nowrap;gap:5px}nav button span{font-size:11px}nav b{display:none}.shell{margin:0}header{height:50px;padding:0 18px}.prototype-banner{padding:10px 18px}.prototype-banner span{font-size:10px}main{padding:22px 16px}.page-title{align-items:flex-start;flex-direction:column}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr}.stat strong{font-size:28px}.grid,.depot-grid{grid-template-columns:1fr}.detail-summary{grid-template-columns:1fr 1fr}.fields{grid-template-columns:1fr}.header-right{font-size:10px}footer{padding:10px 16px;gap:15px}.toolbar{padding:14px}.card-head{padding:18px}.chart{padding:16px 20px}}

.batch-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 22px;border-bottom:1px solid var(--line)}.batch-toolbar small{flex-basis:100%;color:var(--muted)}button:disabled{opacity:.5;cursor:default}.batch-review-list{max-height:260px;overflow:auto;margin-top:12px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}

.inspection-group{border:1px solid var(--line);border-radius:6px;padding:15px;margin:16px 0;min-width:0}.inspection-group legend{font-weight:600;font-size:13px;padding:0 6px}.inspection-group summary{cursor:pointer;font-weight:600}.inspection-record{max-width:none;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.inspection-record summary{cursor:pointer}.inspection-record p{white-space:normal}.inspection-record .note-body{white-space:pre-wrap}

body.auth-locked>aside,body.auth-locked>.shell,body.auth-locked>#toast{display:none}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef3ef}.auth-screen[hidden]{display:none}.auth-card{width:min(480px,100%);background:white;padding:32px;border:1px solid var(--line);border-radius:12px}.auth-card p{font-size:12px}.auth-card .primary{margin-right:8px}.auth-card h1{margin-top:12px}.presence-panel{margin:20px 10px;color:#d5e6df;font-size:11px}.presence-panel .eyebrow{color:#8da7a0;margin-bottom:8px}#online-users{max-height:125px;overflow:auto}.presence-person{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:5px 0}.presence-person small{flex-basis:100%;margin-left:15px;color:#8da7a0;font-size:9px}.presence-dot{display:inline-block;flex-shrink:0;width:8px;height:8px;background:#8b9992;border-radius:50%}.presence-dot.online{background:#51c57b;box-shadow:0 0 0 2px #51c57b20}.presence-status{display:flex;gap:7px;align-items:center}.presence-status small{color:var(--muted)}.presence-status>span:not(.presence-dot){display:none}.signed-in-name{margin:0;background:#f1f6f2;padding:10px;border-radius:5px;font-size:12px}.profile .text-button{color:#c6e4d7;margin-top:4px}.side-bottom a[hidden]{display:none}aside{overflow-y:auto}aside .side-bottom{padding-top:20px}@media(max-width:760px){.presence-panel{display:none}.auth-card{padding:24px}}

.brand{flex-direction:column;align-items:stretch;gap:7px}.brand-logo{display:block;width:100%;max-width:178px;align-self:center;height:auto;border-radius:8px}.brand-caption{text-align:center;font-size:10px;letter-spacing:3px;color:#adc5ba}.workspace-label{margin-top:24px}.auth-logo{display:block;width:130px;height:auto;margin:0 auto 18px;border-radius:8px}@media(max-width:760px){.brand{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}.brand-logo{width:70px}.brand-caption{text-align:left}}

.w3w-link{overflow-wrap:anywhere;font-weight:600}.import-preview{max-height:360px;overflow:auto;margin:12px 0}.import-preview th,.import-preview td{white-space:normal;padding:10px;font-size:12px}.import-preview td{vertical-align:top}

.depot-list{display:grid;gap:8px}.depot-row,.reference-section{max-width:none;width:100%}.depot-row>summary,.reference-section>summary{padding:13px 18px;cursor:pointer;font-weight:600;overflow-wrap:anywhere}.depot-row>summary::marker,.reference-section>summary::marker{color:var(--green)}.depot-row[open]>summary,.reference-section[open]>summary{border-bottom:1px solid var(--line)}.depot-row .depot-body{padding:16px 22px}.depot-row .depot-body strong{font-size:22px}.depot-actions{display:flex;gap:18px;flex-wrap:wrap}.depot-actions .text-button{margin:0}.depot-search-panel{margin-bottom:14px}.depot-search-panel label{font-size:12px;font-weight:600}.depot-search-panel .card-foot{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}.depot-row>summary:hover,.reference-section>summary:hover{background:#f6f9f7}@media(max-width:760px){.page-actions{flex-wrap:wrap}.depot-row>summary,.reference-section>summary{padding:12px 14px}.depot-search-panel .toolbar label{flex-basis:100%}}

/* Frame the unchanged source inside its white panel: x=90..1150,
   y=80..1095 of the 1208x1166 source. All logo artwork stays visible. */
.logo-frame{position:relative;display:block;overflow:hidden;background:#fff;border-radius:8px;aspect-ratio:1060 / 1015;flex-shrink:0}.logo-frame>img{position:absolute;display:block;width:113.9622642%;max-width:none;height:auto;left:-8.490566%;top:-7.8817734%;margin:0;border-radius:0}.brand-logo-frame{width:100%;max-width:178px;align-self:center}.auth-logo-frame{width:130px;margin:0 auto 18px}@media(max-width:760px){.brand-logo-frame{width:70px;max-width:70px}}
