/* ORO OXO identity. Original supplied logo remains unmodified. */
:root{--red:#c90008;--orange:#ff7900;--ink:#44312c;--muted:#74615a;--line:#eddfd8;--pale:#fff2e5;accent-color:var(--red)}
body{background:#fffaf6;font-family:Tahoma,Arial,sans-serif;color:var(--ink)}
.brand-header{position:relative;height:134px;background:#fff;padding-inline:max(24px,calc((100vw - 1160px)/2));border:0;box-shadow:0 2px 12px rgb(97 38 15 / 4%)}
.brand-header::after{content:'';position:absolute;inset-inline:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--orange) 0 28%,var(--red) 28% 100%)}
.brand-lockup{display:flex;align-items:center;gap:28px}
.official-logo{position:relative;overflow:hidden;width:208px;height:116px;flex:none;background:#fff;direction:ltr}
.official-logo img{position:absolute;width:228px;height:228px;max-width:none;left:-10px;top:-56px}
.brand-title{border-inline-start:1px solid var(--line);padding-inline-start:26px}
.brand-title strong{display:block;font-size:18px;color:var(--red)}
.brand-title span{display:block;font-size:12px;letter-spacing:2px;color:var(--muted);margin-top:4px}
.brand-header #language{border-radius:30px;padding:9px 18px;min-height:44px;border-color:#e8c5b5;color:var(--red)}
.demo{background:#fff0df;color:#874113;border-bottom:1px solid #f7dfc5;font-size:14px;padding:10px 20px}
main{padding-top:30px}
.intro{align-items:center;margin-bottom:24px;gap:24px}
.eyebrow{color:#9c4c0f;font-size:14px;letter-spacing:0}
h1{font-size:30px;color:#7f191a;margin:5px 0;line-height:1.5}
.intro p{max-width:660px;margin-top:5px}
.controls{background:#fff;padding:14px 18px;border:1px solid var(--line);border-radius:14px;min-width:245px}
.controls label{width:100%}.controls select{width:100%;min-width:0;border-color:#e4c7b7;font-weight:700}
.stats{gap:14px}.stat{position:relative;overflow:hidden;padding:20px 24px;border-radius:16px;box-shadow:0 4px 14px rgb(92 35 14 / 3%)}
.stat::before{content:'';position:absolute;inset-inline-start:0;top:18px;bottom:18px;width:4px;background:var(--orange);border-radius:6px}
.stat:nth-child(2)::before{background:var(--red)}
.stat strong{font-size:32px;font-weight:700}.stat span{display:block;margin-top:5px}
nav{gap:8px;background:white;padding:8px;border:1px solid var(--line);border-radius:14px;margin-bottom:22px;box-shadow:0 3px 12px rgb(92 35 14 / 3%)}
nav button{font-size:15px;min-height:46px;border-radius:10px;padding:10px 17px;color:#69514a}
nav button.active{box-shadow:0 3px 8px rgb(201 0 8 / 15%)}
button{min-height:44px;transition:background-color .15s,box-shadow .15s}
button:not(.quiet){box-shadow:0 2px 4px rgb(201 0 8 / 7%)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffbe7e;outline-offset:3px}
.quiet{color:#86421e;border-color:#e9c9b5;background:#fff}
.panel{padding:24px;border-radius:18px;box-shadow:0 4px 18px rgb(92 35 14 / 3%)}
h2{color:#7c2520;font-size:21px}h3{color:#55352d}
.product{border-radius:14px;background:#fffdfb;border-color:#edddd2}.product .code{color:#a15320}
.branch-badge{background:#fff2e4;color:#954517;border-color:#f3cda7;border-inline-start:4px solid var(--orange);font-size:15px}
.flow span{background:#fff}.flow .current{background:#fff1ef;border-color:#f0a5a2;color:#ac0007}
.shipment{background:#fffaf5;border-color:#f0dac7;border-radius:14px}.message{background:#fff3e8;color:#7a472b}
.pill{background:#fff0dc;color:#854209}.pill.done{background:#edf4ec;color:#365f34}
.simple-row{padding:18px 0;gap:10px}.simple-row small{margin-top:5px;line-height:1.7}
.simple-row [data-cancel-user],.simple-row [data-cancel-product]{border-color:#f0d0cc;color:#b40008}
.section-title{gap:16px;align-items:center}.section-title>.actions{margin-top:0}
.admin-kpis>div{border-radius:16px;border-top:3px solid #ff7900}.admin-kpis .alert-card{border-top-color:var(--red)}
th{background:#fff6ed;color:#784a36}td{vertical-align:middle}
dialog{background:#fff;border-top:5px solid var(--orange);box-shadow:0 18px 70px rgb(86 30 11 / 18%);border-radius:18px}
.dialog-head{border-bottom:1px solid var(--line);padding-bottom:14px}.dialog-head h2{margin:0}
dialog::backdrop{background:rgb(68 28 18 / 45%)}
footer{border-top:1px solid var(--line);padding-top:22px;color:#7d6258;font-size:14px}
#toast{background:#8f1519;box-shadow:0 8px 30px rgb(117 21 14 / 15%)}
@media(max-width:800px){.brand-header{height:115px;padding-inline:16px}.brand-lockup{gap:14px}.official-logo{width:177px;height:103px}.official-logo img{width:195px;height:195px;left:-9px;top:-47px}.brand-title{padding-inline-start:16px}.brand-title strong{font-size:16px}.intro{display:block}.controls{margin-top:18px;min-width:0;padding:12px 15px}.panel{padding:18px}.stat{padding:16px 18px}.stat strong{font-size:28px}nav{gap:5px}nav button{padding:9px 13px}h1{font-size:26px}.section-title{align-items:flex-start}}
@media(max-width:520px){.brand-header{height:107px}.official-logo{width:160px;height:94px}.official-logo img{width:178px;height:178px;left:-9px;top:-43px}.brand-title{display:none}.demo{text-align:start;font-size:14px;padding:10px 16px}.stats{grid-template-columns:1fr;gap:8px}.stat{display:flex;align-items:center;gap:18px;padding:12px 20px}.stat strong{min-width:44px}.stat span{margin:0}.simple-row>.quiet{font-size:14px;padding:8px 12px}.panel{border-radius:14px}.section-title>.actions{width:100%}.section-title>.actions>button{flex:1}.dialog-head h2{font-size:19px}main{padding-bottom:calc(24px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.brand-header{background:linear-gradient(135deg,#263b80,#cf3a96)}
.brand-header::after{background:linear-gradient(90deg,#263b80,#cf3a96)}
.brand-header .brand-title strong,.brand-header .brand-title span{color:#fff}
.official-logo{background:#fff;border-radius:18px;padding:.35rem}
.official-logo img{position:static;width:100%;height:100%;object-fit:contain}
.login-logo{display:block;width:min(240px,75%);height:auto;margin:0 auto 1.25rem}
.load-error{text-align:center}.load-error .error{display:block;padding:14px 16px;border-radius:12px;background:#fff1f1;color:#9f1f2e;line-height:1.8}.load-error .actions{justify-content:center}
.location-chip{display:inline-flex;align-items:center;min-height:42px;padding:0 .9rem;border-radius:12px;background:#edf1ff;color:#263b80;font-weight:800}
.check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.6rem;margin:1rem 0}
.bulk-table-wrap{overflow:auto;margin:1rem 0}.bulk-products-table{min-width:1050px}.bulk-products-table th{white-space:nowrap}.bulk-products-table td{padding:8px}.bulk-products-table input,.bulk-products-table select{min-width:135px;margin:0}.bulk-products-table select[multiple]{min-height:88px}.bulk-products-table .remove-bulk-row{min-width:42px;padding:8px;font-size:20px}
.bulk-entry-callout{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1rem;background:linear-gradient(135deg,#f3f5ff,#fff3fa);border-color:#cfd7f6}.bulk-entry-callout h2{margin:.55rem 0 .25rem}.bulk-entry-callout p{margin:0;color:var(--muted)}dialog:has(.bulk-products-table){width:min(96vw,1500px);max-width:96vw}.bulk-products-table input,.bulk-products-table select{width:100%}
.excel-import-callout{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1rem;background:linear-gradient(135deg,#f3f5ff,#fff3fa);border:2px solid #bfc9ef}.excel-import-callout h2{margin:.55rem 0 .25rem}.excel-import-callout p{margin:0;color:var(--muted);line-height:1.7}.excel-import-callout .actions{flex-wrap:wrap;justify-content:flex-end}.excel-import-box{padding:1rem;border:1px dashed #8e9bd0;border-radius:14px;background:#f7f8ff}.excel-import-box input[type=file]{display:block;width:100%;margin-top:1rem;padding:1rem;background:#fff;border:1px solid #d9def1;border-radius:12px}
.download-template-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.7rem 1rem;border:1px solid #e9c9b5;border-radius:10px;background:#fff;color:#86421e;text-decoration:none;font-weight:700}
@media(max-width:700px){.bulk-entry-callout,.excel-import-callout{display:block}.bulk-entry-callout button,.excel-import-callout button{width:100%;margin-top:1rem}}
.shared-warehouse{border-top:5px solid #cf3a96}
.field-help{margin:.55rem 0 1rem;color:var(--muted);font-size:14px;line-height:1.7}.company-admin-toggle{display:flex;gap:.75rem;align-items:flex-start;padding:1rem;border:1px solid #d6dcf4;border-radius:14px;background:#f5f7ff}.company-admin-toggle small{display:block;margin-top:.3rem;color:var(--muted);line-height:1.6}.permissions-table-wrap{overflow:auto;margin-top:.75rem;border:1px solid var(--line);border-radius:14px}.permissions-table{min-width:940px;margin:0}.permissions-table th,.permissions-table td{text-align:center;padding:.7rem}.permissions-table th:first-child,.permissions-table td:first-child{text-align:start;min-width:210px}.permissions-table td small{display:block;margin-top:.25rem;color:var(--muted)}.permission-check{display:flex;justify-content:center;align-items:center;gap:.35rem;min-height:38px}.permission-check span{font-size:13px}.permissions-table input:disabled{opacity:.35}.permissions-table.is-disabled{opacity:.55}
.user-form-section{margin-top:1.25rem;padding-top:.25rem;border-top:1px solid var(--line)}.user-form-section.is-disabled{opacity:.5}.permission-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:.7rem;margin-bottom:1rem}.permission-card{display:flex;align-items:flex-start;gap:.7rem;padding:.9rem;border:1px solid #dfe3f3;border-radius:13px;background:#fff;cursor:pointer}.permission-card:has(input:checked){border-color:#7687ca;background:#f4f6ff}.permission-card small{display:block;margin-top:.28rem;color:var(--muted);font-size:13px;line-height:1.55}.view-permission{background:#f5f7ff;cursor:default}
button:not(.quiet){background:#263b80;border-color:#263b80}
nav button.active{color:#fff;border-color:#cf3a96}
nav button:not(.quiet){color:#fff}
body.admin-home{background:#f3f5fa;color:#253451}.admin-home .intro{margin-bottom:16px}.admin-home .intro h1{font-size:23px;color:#263b80}.admin-home .eyebrow{color:#596b90}.admin-home #stats[hidden]{display:none}.company-dashboard{--dash-blue:#263b80;--dash-pink:#bc367f;color:#26354f}.dash-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:22px;padding:30px 32px;color:#fff;background:linear-gradient(115deg,#1b305f,#304990 72%,#774788);margin-bottom:26px}.dash-eyebrow{font-size:14px;letter-spacing:.04em;color:#e1d3ed}.dash-welcome h2{font-size:30px;color:#fff;margin:10px 0}.dash-welcome p{color:#e2e8fb;margin:8px 0 0}.dash-date{display:flex;flex-direction:column;gap:9px;align-items:flex-end;flex-shrink:0}.dash-date span{font-size:14px;color:#e2e8fb}.dash-date button.quiet{background:#ffffff14;color:#fff;border:1px solid #ffffff65;min-height:40px}.dash-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.dash-section-title h3{font-size:18px;margin:0;color:#26354f;line-height:1.6}.dash-section-title span{font-size:14px;color:#64738e}.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.company-dashboard button.dash-kpi{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:start;white-space:normal;border:1px solid #e0e5f0;border-radius:16px;padding:20px;background:#fff;color:#263b80;box-shadow:0 5px 18px #223a7010;border-top:3px solid #38599e}.dash-kpi span{font-size:16px}.dash-kpi strong{font-size:38px;line-height:1.2;font-variant-numeric:tabular-nums}.dash-kpi small{font-size:14px;color:#65718b;line-height:1.5}.company-dashboard button.dash-kpi.dash-alert{border-top-color:#c63279;background:#fff8fb}.dash-kpi.dash-alert strong{color:#bb3377}.company-dashboard button:hover{box-shadow:0 5px 18px #263b8020}.company-dashboard button:focus-visible{outline:3px solid #bc367f;outline-offset:3px}.dash-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;margin-bottom:20px}.company-dashboard .dash-panel{min-width:0;margin:0;padding:24px;border:1px solid #e0e5f0;background:#fff;border-radius:18px;box-shadow:0 4px 18px #223a7008}.company-dashboard>.dash-panel{margin-bottom:20px}.company-dashboard button.dash-link{color:#304b90;background:#f1f4fb;border-color:#e1e7f4;font-size:14px;padding:8px 12px;white-space:normal}.dash-trend{display:flex;gap:14px;align-items:flex-end;padding-top:18px}.dash-day{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;gap:8px}.dash-day strong{color:#304b90;font-size:16px}.dash-bar-space{height:130px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #e3e8f2;background:repeating-linear-gradient(to top,transparent 0,transparent 31px,#f2f4f9 32px,#f2f4f9 33px)}.dash-bar-space i{display:block;width:70%;max-width:38px;border-radius:6px 6px 0 0;background:#38579b}.dash-day:last-child .dash-bar-space i{background:#bd3a87}.dash-day span{font-size:14px}.dash-day small{font-size:12px;color:#6b7890;direction:ltr}.dash-statuses{display:grid;gap:16px}.dash-status-label{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin-bottom:7px}.dash-status-track{height:8px;border-radius:5px;background:#eef1f7;overflow:hidden}.dash-status-track i{display:block;height:100%;border-radius:5px}.dash-ontime{display:flex;align-items:center;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid #e7ebf3}.dash-ontime strong{font-size:30px;color:#238574}.dash-ontime span{font-size:14px}.dash-ontime small{display:block;color:#6b7890;margin-top:5px;font-size:12px}.dash-attention{display:grid;gap:10px}.company-dashboard .dash-attention button{display:flex;align-items:center;gap:18px;text-align:start;border:1px solid #e8ebf2;background:#fafbfe;color:#27364e;padding:14px;white-space:normal}.dash-attention strong{font-size:26px;color:#b33173;min-width:35px}.dash-attention span{font-size:16px}.dash-attention small{display:block;font-size:14px;color:#6b7890;margin-top:4px;line-height:1.6}.dash-damage{border-inline-start:3px solid #c23b85;padding:2px 14px;margin-bottom:18px}.dash-damage b{font-size:14px}.dash-damage p{font-size:14px;color:#65718b;line-height:1.7;margin:6px 0;overflow-wrap:anywhere}.dash-empty{padding:26px 8px;color:#65718b;font-size:16px;line-height:1.8}.dash-table-wrap{overflow-x:auto}.dash-table-wrap table{width:100%;min-width:600px;border-collapse:collapse}.dash-table-wrap th,.dash-table-wrap td{padding:14px 10px;text-align:start;border-bottom:1px solid #e9edf4;font-size:14px}.dash-table-wrap th{background:#f6f8fc;color:#5d6f8b;font-weight:400}.dash-table-wrap small{display:block;color:#78849b;margin-top:5px}.dash-state{font-weight:700;white-space:nowrap}.dash-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 26px}@media(max-width:900px){.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-columns{grid-template-columns:minmax(0,1fr)}.dash-welcome{padding:24px}.dash-welcome h2{font-size:25px}}@media(max-width:550px){.dash-welcome{display:block;padding:22px}.dash-date{align-items:flex-start;margin-top:20px}.dash-kpis{gap:10px}.company-dashboard button.dash-kpi{padding:16px 12px}.dash-kpi strong{font-size:30px}.company-dashboard .dash-panel{padding:18px 14px}.dash-section-title{flex-wrap:wrap}.dash-trend{gap:5px}.dash-day span{font-size:12px}}
.stock-location-buttons{display:flex;flex-wrap:wrap;gap:12px}.stock-location-buttons .stock-location-button{min-height:48px;padding:12px 20px;white-space:normal;font-size:16px;color:#263b80;border:1px solid #c7d0e8;background:#fff}.stock-location-buttons .stock-location-button.selected{background:#263b80;color:#fff;border-color:#263b80;box-shadow:inset 0 -3px #cf3a96}.stock-location-button:focus-visible{outline:3px solid #cf3a96;outline-offset:3px}.stock-sites.stock-site-report{grid-template-columns:minmax(0,1fr)}
.stock-sites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.stock-sites .stock-site{margin:0;min-width:0;border-top:4px solid #263b80}.stock-site-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.stock-site-heading h2{margin:6px 0 0}.stock-site-kind{font-size:14px;color:#596580}.stock-site-table{overflow-x:auto}.stock-site-table table{width:100%;border-collapse:collapse}.stock-site-table th,.stock-site-table td{text-align:start;padding:12px 8px;border-bottom:1px solid #e3e7f0;font-size:14px}.stock-site-table th{background:#f4f6fc;color:#263b80}.stock-site-table td:first-child{min-width:120px;font-size:16px}.stock-site-table time{white-space:nowrap}.stock-site-table .stock-quantity{font-weight:700;color:#263b80;font-variant-numeric:tabular-nums}.stock-site-heading .pill{white-space:nowrap}@media(max-width:1000px){.stock-sites{grid-template-columns:minmax(0,1fr)}}
.report-scroll{overflow:auto}.report-scroll table{min-width:650px;width:100%;border-collapse:collapse}.report-scroll th,.report-scroll td{padding:10px;border-bottom:1px solid #ddd;text-align:start}.report-kpis{display:flex;gap:16px;flex-wrap:wrap;margin:18px 0}.report-kpis>div{background:#f4f6ff;border-radius:12px;padding:16px;flex:1;min-width:190px}.report-kpis strong{display:block;font-size:30px;color:#263b80}.chart-row{display:grid;grid-template-columns:minmax(120px,1fr) 3fr 45px;gap:12px;align-items:center;margin:12px 0}.chart-track{height:18px;border-radius:10px;background:#edf0f7;overflow:hidden}.chart-track i{display:block;height:100%;background:#263b80}.chart-track .bar-late{background:#c43279}.chart-track .bar-cancelled{background:#8892a5}.chart-track .bar-completed{background:#258170}.print-order{width:min(95vw,1000px)}
@media print{@page{size:A4;margin:14mm}body:has(dialog.print-order[open])>*:not(dialog.print-order){display:none!important}dialog.print-order[open]{display:block!important;position:static!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important;color:#000;background:#fff}dialog.print-order::backdrop{background:transparent}dialog.print-order .dialog-head,dialog.print-order .actions,dialog.print-order .error,dialog.print-order .no-print{display:none!important}.print-order .report-scroll{overflow:visible}.print-order table{min-width:0;width:100%;font-size:11pt}.print-order tr{break-inside:avoid}.print-order thead{display:table-header-group}.print-order h1{font-size:18pt}.print-order h2{font-size:15pt}}

/* Clear request origin on cards, dispatch, receipt and printed orders. */
.order-identity{display:flex;flex-wrap:wrap;gap:12px 28px;padding:14px 18px;margin:12px 0;background:#eef3fb;border-inline-start:4px solid #294681;border-radius:10px;color:#20365f}
.order-identity p{margin:0;display:flex;flex-direction:column;gap:4px}
.order-identity p:first-child{flex:1 1 220px}
.order-identity span{font-size:.85rem;color:#425573}
.order-identity strong{font-size:1.2rem;color:#172f5a}
@media print{.order-identity{border:1px solid #777;background:white;color:black}.order-identity span,.order-identity strong{color:black}}
.dispatch-help{padding:10px 12px;border-radius:10px;background:#eef3fb;color:#294681;line-height:1.7}
.dispatch-stock-row{margin:14px 0;padding:14px;border:1px solid #d5deec;border-radius:12px;background:#fff}
.dispatch-stock-row label{margin:0}.dispatch-stock-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:8px;color:#43546e;font-size:.92rem}
.dispatch-stock-row.stock-short{border-color:#e4a4aa;background:#fff7f7}.dispatch-stock-row.stock-short>p{margin:9px 0 0;color:#a02532;line-height:1.6}
.dispatch-stock-row input:disabled{background:#f2f2f2;color:#777}
.workflow-notice{padding:12px 14px;border-radius:12px;background:#eef3ff;color:#263b80;line-height:1.75;border-inline-start:4px solid #cf3a96}
.lab-workflow{margin:16px 0;padding:16px;border:1px solid #d9e0f2;border-radius:14px;background:#fbfcff}.workflow-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.workflow-head>strong{color:#263b80;font-size:17px}.workflow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0}.workflow-steps span{padding:8px;border-radius:8px;background:#eef0f5;color:#778095;font-size:12px;line-height:1.45}.workflow-steps span.reached{background:#e8eefc;color:#263b80;font-weight:700}.workflow-table{overflow:auto}.workflow-table table{width:100%;min-width:720px;border-collapse:collapse}.workflow-table th,.workflow-table td{padding:9px 7px;text-align:start;border-bottom:1px solid #e5e8f1;font-size:13px}.workflow-table th{color:#40557e;background:#f2f5fc}.workflow-table .variance{color:#b42242;font-weight:800}.workflow-quantity-row{margin:12px 0;padding:12px;border:1px solid #dbe1f0;border-radius:12px}.workflow-quantity-row label{margin:0}.workflow-quantity-row small{display:block;margin-top:7px;color:#65718b}
@media(max-width:700px){.workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-workflow{padding:12px}.workflow-head{align-items:flex-start}}
