:root{--black:#000;--ink:#1d2125;--muted:#59626e;--canvas:#eceef1;--panel:#fff;--sunken:#f6f7f9;--line:#d3d8de;--line-strong:#aab2bc;--yellow:#ffd400;--yellow-wash:#fff7cc;--amber:#8a6d00;--red:#b42318;--red-wash:#fdecea;--green:#17663f;--green-wash:#e3f2e9;--radius-panel:8px;--radius-control:4px;--radius-tag:3px;--focus:0 0 0 2px var(--black), 0 0 0 5px var(--yellow);--shadow:0 1px 2px #1018200f;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--canvas);color:var(--ink);font-family:var(--font);margin:0;font-size:15px;line-height:1.5}h1,h2,h3{color:var(--black);line-height:1.2}h1{letter-spacing:-.02em;margin:0 0 20px;font-size:1.85rem;font-weight:800}h2{letter-spacing:-.01em;margin:0 0 12px;font-size:1.1rem;font-weight:700}h3{margin:0 0 8px;font-size:1rem;font-weight:700}p{margin:8px 0}a{color:var(--black);text-underline-offset:3px;text-decoration-thickness:1px}a:hover{text-decoration-thickness:2px}:focus-visible{box-shadow:var(--focus);border-radius:var(--radius-control);outline:2px solid #0000}[role=alert]{color:var(--red)}input[type=text],input[type=number],input[type=date],input[type=email],input[type=search],input[type=month],input:not([type]),select,textarea{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line-strong);border-radius:var(--radius-control);max-width:100%;min-height:38px;padding:7px 10px}input[type=number]{font-variant-numeric:tabular-nums}textarea{resize:vertical;width:100%;max-width:560px;min-height:72px}select{padding-right:28px}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--black)}input:disabled,select:disabled,textarea:disabled{background:var(--sunken);color:var(--muted)}input[type=checkbox],input[type=radio]{width:18px;height:18px;accent-color:var(--black);flex:none;margin:2px 0 0}button,.button{min-height:38px;font:inherit;color:var(--black);background:var(--panel);border:1px solid var(--black);border-radius:var(--radius-control);cursor:pointer;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-weight:600;line-height:1.2;text-decoration:none;transition:background-color .12s,color .12s;display:inline-flex}input[type=file]::file-selector-button{min-height:38px;font:inherit;color:var(--black);background:var(--panel);border:1px solid var(--black);border-radius:var(--radius-control);cursor:pointer;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-weight:600;line-height:1.2;text-decoration:none;transition:background-color .12s,color .12s;display:inline-flex}button:hover,.button:hover{background:var(--sunken)}input[type=file]::file-selector-button:hover{background:var(--sunken)}button[type=submit],button.primary,.customer-actions button:last-child{color:#fff;background:var(--black)}button[type=submit]:hover,button.primary:hover,.customer-actions button:last-child:hover{background:#2e3338}button:disabled,button:disabled:hover{opacity:.4;cursor:not-allowed;background:var(--panel)}button[type=submit]:disabled,button[type=submit]:disabled:hover,button.primary:disabled,.customer-actions button:last-child:disabled{background:var(--black)}button[type=submit].secondary{color:var(--black);background:var(--panel)}button[type=submit].secondary:not(:disabled):hover{background:var(--sunken)}.danger button[type=submit]{color:var(--red);background:var(--panel);border-color:var(--red)}.danger button[type=submit]:hover{color:#fff;background:var(--red)}.danger button[type=submit]:disabled,.danger button[type=submit]:disabled:hover{color:var(--red);background:var(--panel)}button+button,.button+.button{margin-left:8px}input[type=file]{font:inherit;color:var(--muted);max-width:100%}input[type=file]::file-selector-button{margin-right:12px}.staff-header{background:var(--black);color:#c9ced6}.staff-header-inner{flex-wrap:wrap;align-items:stretch;gap:0 28px;max-width:1180px;margin:0 auto;padding:0 24px;display:flex}.staff-brand{color:#fff;letter-spacing:-.03em;border-right:1px solid #3a3f45;align-items:center;gap:10px;margin:10px 0;padding:12px 28px 12px 0;font-size:1.35rem;font-weight:800;line-height:1;text-decoration:none;display:flex}.brand-logo{filter:invert();width:auto;height:38px;display:block}.staff-header nav{scrollbar-width:none;flex:1;gap:24px;display:flex;overflow-x:auto}.staff-header nav a{color:#c9ced6;white-space:nowrap;border-bottom:4px solid #0000;align-items:center;padding:4px 0 0;font-weight:600;text-decoration:none;display:flex}.staff-header nav a:hover{color:#fff}.staff-header nav a[aria-current=page]{color:#fff;border-bottom-color:var(--yellow)}.staff-header nav a:focus-visible{box-shadow:none;outline:2px solid var(--yellow);outline-offset:-4px}.staff-user{align-items:center;gap:12px;padding:10px 0;font-size:.875rem;display:flex}.staff-user form{margin:0}.staff-user button[type=submit]{color:#fff;background:0 0;border-color:#5c636b;min-height:32px;padding:0 12px}.staff-user button[type=submit]:hover{background:0 0;border-color:#fff}.staff-user button[type=submit]:focus-visible{box-shadow:0 0 0 3px var(--yellow)}.staff main{max-width:1180px;margin:0 auto;padding:24px 24px 72px}.freshness{max-width:1180px;color:var(--muted);margin:0 auto;padding:10px 24px 0;font-size:.85rem}.freshness p{margin:0}.freshness-stale p{border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:var(--radius-control);background:var(--panel);color:var(--ink);padding:10px 14px}.staff main>section,.staff main>form,.staff .order{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:var(--shadow);margin:0 0 16px;padding:20px 24px}.staff section section{border-top:1px solid var(--line);margin:20px 0 0;padding:20px 0 0}:is(.staff section form:has(>h3),.staff section>div:has(>h3)){border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.staff section>h2+form:has(>h3){border-top:0;margin-top:0;padding-top:0}.staff section>h2+div:has(>h3){border-top:0;margin-top:0;padding-top:0}.staff section>form:first-child:has(>h3){border-top:0;margin-top:0;padding-top:0}.staff label{margin:12px 0;font-size:.875rem;font-weight:600;display:block}.staff label>input:not([type=checkbox],[type=radio],[type=file]),.staff label>select,.staff label>textarea{margin-top:6px;font-size:15px;font-weight:400;display:block}.staff label>input[type=text],.staff label>input[type=email],.staff label>input:not([type]){width:100%;max-width:360px}:is(.staff label:has(>input[type=checkbox]),.staff label:has(>input[type=radio])){align-items:flex-start;gap:10px;font-size:15px;font-weight:400;display:flex}.staff form>button,.staff form>div>button{margin-top:8px}.staff ul{padding-left:20px}.staff li+li{margin-top:4px}.staff table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin:8px 0 12px}.staff th,.staff td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:9px 12px}.staff th{color:var(--muted);border-bottom-color:var(--line-strong);padding-top:6px;padding-bottom:6px;font-size:.8rem;font-weight:600}.staff th:first-child,.staff td:first-child{padding-left:0}.staff td:first-child,.staff tbody th{white-space:nowrap}.staff tbody th{font-size:inherit;color:var(--ink);border-bottom-color:var(--line);padding-top:9px;padding-bottom:9px;font-weight:600}.staff td select{max-width:220px}.staff td select.finance-code{width:100%;min-width:max-content;max-width:none}.staff main>table{background:var(--panel);box-shadow:0 0 0 1px var(--line), var(--shadow);border-radius:var(--radius-panel);margin:0 0 16px}.staff main>table th:first-child,.staff main>table td:first-child{padding-left:16px}.staff main>table th{padding-top:10px}.staff main>table tbody tr:last-child>*{border-bottom:0}.staff td input[type=number]{width:5.5em;margin-right:8px}.staff .muted,.staff .empty{color:var(--muted)}.staff .flag{color:var(--amber);margin:2px 0 0;font-size:.875rem;display:block}.staff .warning{border:1px solid var(--line);border-left:4px solid var(--yellow);border-radius:var(--radius-control);background:var(--yellow-wash);margin:0 0 16px;padding:12px 16px}.staff .warning p,.staff .warning ul{margin:4px 0}.staff .form-errors{color:var(--red)}.staff section dl{grid-template-columns:max-content minmax(0,1fr);gap:8px 24px;margin:8px 0;display:grid}.staff section dl>div{display:contents}.staff section dt{color:var(--muted);padding-top:3px;font-size:.875rem;font-weight:600}.staff section dd{font-variant-numeric:tabular-nums;margin:0}.staff section dd ul{margin:0;padding-left:18px}.staff button[aria-label^=Copy],.staff dd button[type=button]{vertical-align:baseline;min-height:26px;margin-left:8px;padding:0 9px;font-size:.8rem}.staff button[aria-label^=Copy]+button[aria-label^=Copy]{margin-left:4px}.queue-head{align-items:center;gap:10px;margin-bottom:4px;display:flex}.queue-head h2{margin:0}.queue-count{background:var(--black);color:#fff;text-align:center;font-variant-numeric:tabular-nums;border-radius:12px;min-width:24px;padding:1px 8px;font-size:.8rem;font-weight:700}.staff main>section.queue:has(>.empty){box-shadow:none;background:0 0;border-style:dashed;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;padding:12px 24px;display:flex}.queue:has(>.empty) h2{color:var(--muted);font-size:.95rem}.queue>.empty{margin:0;font-size:.875rem}.staff .case-table td:first-child a{font-weight:700}.staff .case-table tbody tr:hover{background:var(--sunken)}.staff .account-search,.staff .find-order{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;display:flex}.staff .account-search label,.staff .find-order label{margin:0}.staff .account-search label>input,.staff .find-order label>input{width:320px}.staff .find-order [role=alert]{flex-basis:100%;margin:0}.staff .account-list{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:var(--shadow);margin:16px 0 0;padding:0;list-style:none}.staff .account-list li{border-top:1px solid var(--line);margin:0}.staff .account-list li:first-child{border-top:0}.staff .account-list a{padding:12px 20px;font-weight:600;text-decoration:none;display:block}.staff .account-list a:hover{background:var(--sunken)}.staff .order>summary{cursor:pointer;font-size:1.05rem;font-weight:600}.staff .order[open]>summary{margin-bottom:12px}.staff .order .looked-up{vertical-align:middle;background:var(--yellow-wash);border:1px solid var(--yellow);border-radius:var(--radius-tag);margin-left:10px;padding:1px 8px;font-size:.8rem;font-weight:600;display:inline-block}.staff .order.ineligible{box-shadow:none;color:var(--muted);background:0 0;border-style:dashed}.staff main>section.order-lookup{box-shadow:none;background:0 0}.staff .order-lookup h2{font-size:1rem}.staff .form-actions .link{min-height:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.staff .order-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.staff .order-actions .button+.button{margin-left:0}.staff .new-case{background:var(--sunken);border:1px solid var(--line);border-radius:var(--radius-control);margin-top:20px;padding:20px}.staff .new-case .form-actions{align-items:center;gap:16px;display:flex}.staff .new-case textarea{width:100%;max-width:560px;min-height:4em;display:block}.case-head{margin:0 0 16px}.case-title{flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:16px;display:flex}.case-title h1{margin:0}.case-outcome{margin:0;font-weight:600}.status-banner{--state-rule:var(--line-strong);border:1px solid var(--line);border-left:6px solid var(--state-rule);border-radius:var(--radius-panel);background:var(--panel);flex-direction:column;align-items:flex-start;gap:8px;margin:0 0 16px;padding:12px 16px;display:flex}.status-banner p{margin:0}.banner-waiting{border-color:var(--line-strong);background:var(--line)}.banner-action{--state-rule:var(--yellow);border-color:var(--amber);border-left-color:var(--yellow);background:var(--yellow-wash)}.banner-done{--state-rule:var(--green);border-color:var(--green);background:var(--green-wash)}.banner-ended{--state-rule:var(--red);border-color:var(--red);background:var(--red-wash)}.next-step{font-size:1.05rem}.staff main:has(.banner-waiting){--state-rule:var(--line-strong)}.staff main:has(.banner-action){--state-rule:var(--yellow)}.staff main:has(.banner-done){--state-rule:var(--green)}.staff main:has(.banner-ended){--state-rule:var(--red)}.action-callout{border-left:4px solid var(--state-rule,var(--line-strong));background:var(--sunken);margin:8px 0;padding:6px 12px}.status{border:1px solid var(--black);border-radius:var(--radius-tag);background:var(--panel);color:var(--black);white-space:nowrap;align-items:center;gap:8px;padding:3px 12px 3px 9px;font-size:.85rem;font-weight:700;display:inline-flex}.status:before{content:"";background:var(--canvas);border:1.5px solid;border-radius:50%;width:7px;height:7px}.status-action{background:var(--yellow)}.status-done{background:var(--green-wash);border-color:var(--green);color:var(--green)}.status-ended{border-color:var(--line-strong);color:var(--muted);background:0 0}.case-summary{background:var(--line);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:var(--shadow);flex-wrap:wrap;gap:1px;margin:0;display:flex;overflow:hidden}.case-summary>div{background:var(--panel);flex:200px;padding:12px 16px}.case-summary>.wide{flex-basis:100%}.case-summary dt{color:var(--muted);font-size:.8rem;font-weight:600}.case-summary dd{overflow-wrap:anywhere;margin:2px 0 0;font-weight:600}.case-summary .wide dd{font-weight:400}.case-summary dd form{margin-top:8px}.case-summary dd form label{margin:8px 0}.staff main>section.case-actions{box-shadow:none;background:0 0}.case-actions form:not(.danger) button[type=submit]{color:var(--black);background:var(--panel)}.case-actions form:not(.danger) button[type=submit]:not(:disabled):hover{background:var(--sunken)}.case-actions form+form{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.link-url{overflow-wrap:anywhere}.staff .receiving-form{border:0;min-width:0;margin:0;padding:0}.staff .receiving-line{background:var(--sunken);border:1px solid var(--line);border-radius:var(--radius-control);min-width:0;margin:12px 0;padding:16px}.staff .receiving-line legend{float:left;width:100%;color:var(--black);margin:0 0 4px;padding:0;font-size:1.05rem;font-weight:700}.staff .receiving-line legend+*{clear:both}.staff .receiving-line.has-problems{border-left:4px solid var(--red)}.staff .line-errors{margin:4px 0 12px}.staff .form-errors a{color:inherit}.staff .receiving-line label{margin:8px 0}.staff .counts{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px 12px;display:grid}.staff .counts label{grid-row:span 3;grid-template-rows:subgrid;align-items:end;row-gap:4px;margin:0;display:grid}.staff .counts label .bucket-hint{align-self:start}.staff .counts input[type=number]{width:100%;min-height:46px;font-size:1.15rem;display:block}.staff .counts .bucket-hint{margin-top:0;font-size:.85rem;display:block}.month-year{flex-wrap:wrap;gap:8px;display:inline-flex}.staff .held-expiry .bucket-hint{margin-top:4px;font-size:.85rem;display:block}.staff .counts-table{overflow-x:auto}.staff .counts-table th{white-space:normal}.staff .denial-photos{margin:8px 0}.staff .denial-photos .photo-list li{align-items:center;gap:6px;display:flex}.staff .photo-list{flex-wrap:wrap;gap:8px;padding:0;list-style:none;display:flex}.staff .photo-preview{object-fit:cover;border-radius:var(--radius-control);border:1px solid var(--line);width:64px;height:64px}.login{justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.login-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);width:400px;max-width:100%;box-shadow:var(--shadow);text-align:center;flex-direction:column;align-items:center;gap:20px;padding:32px 28px;display:flex}.login-card p{margin:0}.login .brand-logo{filter:none;mix-blend-mode:multiply;height:64px}.login h1{margin:0}.login .button{color:#fff;background:var(--black);align-self:stretch;min-height:46px;padding:0 22px}.login .button:hover{background:#2e3338}.customer{max-width:640px;margin:0 auto;padding:0 16px 48px;font-size:16px}.customer-brand{background:var(--black);box-shadow:0 0 0 100vmax var(--black);clip-path:inset(0 -100vmax);margin:0 0 20px;padding:14px 0;display:block}.customer-brand .brand-logo{height:30px}.customer-header{margin:0 0 20px}.customer h1{margin:2px 0 10px;font-size:1.5rem}.customer-seller{color:var(--muted);margin:0;font-size:.875rem;font-weight:600}.customer .case-number{margin:0 0 10px;font-weight:600}.customer-deadline{border-radius:var(--radius-tag);background:var(--yellow);color:var(--black);margin:0;padding:4px 12px;font-size:.95rem;font-weight:700;display:inline-block}.customer-line{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);min-width:0;box-shadow:var(--shadow);margin:0 0 16px;padding:18px 16px 16px}.customer-line legend{float:left;width:100%;color:var(--black);overflow-wrap:anywhere;margin:0 0 2px;padding:0;font-size:1.05rem;font-weight:700}.customer-line legend+*{clear:both}.customer label{margin:14px 0 6px;font-size:.95rem;font-weight:600;display:block}:is(.customer label:has(>input[type=checkbox]),.customer label:has(>input[type=radio])){align-items:flex-start;gap:10px;font-weight:400;display:flex}.customer input[type=number],.customer input[type=text],.customer select,.customer textarea{width:100%;max-width:100%;min-height:48px;padding:10px 12px;font-size:16px;display:block}.customer textarea{min-height:6rem}.customer .month-year{grid-template-columns:1fr 1fr;column-gap:12px;display:grid}.customer-qty{grid-template-rows:auto auto;grid-template-columns:1fr 1fr;grid-auto-flow:column;column-gap:12px;display:grid}.customer-hint{color:var(--muted);margin:6px 0;font-size:.9rem}.customer-summary{margin:0 0 12px;padding-left:1.1rem;font-size:.9rem}.customer-summary li{margin:4px 0}.customer-error{color:var(--red);margin:8px 0;padding-left:1.1rem}p.customer-error{padding-left:0}ul.customer-error{border:1px solid var(--red);border-radius:var(--radius-control);background:var(--red-wash);padding:10px 14px 10px 32px}.customer-batches{margin:4px 0;padding-left:1.1rem}.customer-photos{margin-top:4px}.customer input[type=file]::file-selector-button{min-height:44px}.customer-photo-list{margin:10px 0;padding:0;list-style:none}.customer-photo-list li{align-items:center;gap:12px;margin:6px 0;display:flex}.customer-preview{object-fit:cover;border-radius:var(--radius-control);border:1px solid var(--line);width:72px;height:72px}.customer-estimate{font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:700}.customer table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.customer th,.customer td{border-bottom:1px solid var(--line);text-align:left;padding:8px 6px}.customer-actions{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.customer button{min-height:48px;padding:0 22px}.customer-actions button+button{margin-left:0}.customer-notice{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);text-align:center;margin:24px 0;padding:18px 20px;font-size:1.1rem}.not-found{justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.notice-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);width:480px;max-width:100%;box-shadow:var(--shadow);text-align:center;margin:24px auto;padding:28px 24px}.notice-card p{margin:0 0 16px;font-size:1.1rem}@media (max-width:720px){.staff-header-inner{gap:0 16px;padding:0 16px}.staff-header nav{flex-basis:100%;order:3;gap:20px}.staff-brand{border-right:0;margin:0;padding-right:0}.staff-header nav a{padding:10px 0 6px}.staff-user{margin-left:auto}.staff-user span{text-overflow:ellipsis;white-space:nowrap;max-width:52vw;overflow:hidden}.staff main{padding:16px 16px 56px}.freshness{padding:10px 16px 0}.staff main>section,.staff main>form,.staff .order{padding:16px}.staff table{display:block;overflow-x:auto}.staff th:first-child,.staff td:first-child{padding-left:4px}h1{font-size:1.5rem}.staff .account-search label>input,.staff .find-order label>input{width:100%}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}
