/* Sekiz Depo — shared visual system. Scoped to the warehouse shell;
   manager pages and printed labels intentionally retain their own styles. */
.depot-v2 {
  --background:#f5f5f4; --foreground:#202122; --surface:#fff;
  --surface-muted:#f0f0ee; --muted-foreground:#626562;
  --primary:#ad202b; --primary-hover:#8d1822; --primary-soft:#fbf0f1;
  --border:#e2e3df; --input-border:#989c98; --ring:#ad202b;
  --success:#216343; --success-soft:#edf6ef;
  --warning:#79530b; --warning-soft:#fff6e3;
  --info:#315e83; --info-soft:#edf3f8;
  --destructive:#a0202c; --radius:18px;
  --red:var(--primary); --red-dark:var(--primary-hover); --paper:var(--background);
  --ink:var(--foreground); --card:var(--surface); --muted:var(--muted-foreground);
  --line:var(--border); --green:var(--success); --green-bg:var(--success-soft);
  --amber:var(--warning); --amber-bg:var(--warning-soft);
  --nav-height:76px; --shadow:0 2px 8px #18201904;
  background:var(--background); color:var(--foreground); font-size:16px; line-height:1.5;
}
.depot-v2 *, .depot-v2 *::before, .depot-v2 *::after {box-sizing:border-box}
.depot-v2 :is(button,input,textarea,select){font:inherit}
.depot-v2 :is(a,button,input,textarea,select,summary):focus-visible {outline:3px solid var(--ring);outline-offset:3px}
.depot-v2 :is(button,summary,label[for]){cursor:pointer}
.depot-v2 :is(button,a,summary){touch-action:manipulation}
.depot-v2 :is(button,a){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
.depot-v2 button:disabled{cursor:not-allowed;opacity:.5}
.depot-v2 [hidden]{display:none!important}
.depot-v2 :is(h1,h2,h3,p){overflow-wrap:anywhere}
.depot-v2 :is(input,textarea,select){max-width:100%;min-width:0;accent-color:var(--primary)}
.depot-v2 :is(input,textarea,select):not([type=checkbox]):not([type=radio]):not([type=hidden]){font-size:16px}
.depot-v2 .ops-shell{max-width:1120px;background:var(--background)}
.depot-v2.has-warehouse-nav .ops-shell{padding-bottom:calc(var(--nav-height) + 32px + env(safe-area-inset-bottom))}
.depot-v2 .ops-main{padding:24px 20px 32px;min-width:0}
.depot-v2 .ops-header{min-height:72px;padding:calc(12px + env(safe-area-inset-top)) 20px 12px;background:var(--background);border-bottom:1px solid var(--border);backdrop-filter:none;-webkit-backdrop-filter:none}
.depot-v2 .brand-logo-compact{width:94px;max-width:30vw}
.depot-v2 .header-app-icon{width:32px;height:32px;border-radius:9px;box-shadow:none}
.depot-v2 .brand-divider{height:26px}
.depot-v2 .ops-tools{inset-inline-end:20px;right:auto}
.depot-v2 .ops-tools>summary{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--surface);border:1px solid var(--border)}
.depot-v2 .ops-tools>summary svg{width:23px;height:23px}
.depot-v2 .ops-tools-menu{width:260px;max-width:calc(100vw - 40px);padding:6px;border-radius:16px;border:1px solid var(--border);box-shadow:0 12px 40px #18201918}
.depot-v2 .ops-tools-menu a{gap:10px;min-height:48px;padding:12px;font-size:14px;border-radius:10px}
.depot-v2 .ops-tools-menu svg{width:20px;height:20px;flex:none}
.depot-v2 .bottom-nav.warehouse-nav{max-width:1120px;min-height:var(--nav-height);padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);box-shadow:none}
.depot-v2 .warehouse-nav .nav-item{min-height:56px;gap:4px;border-radius:12px;padding:6px}
.depot-v2 .warehouse-nav .nav-item svg{width:22px;height:22px}
.depot-v2 .warehouse-nav .nav-item b{font-size:12px;font-weight:550;line-height:1.4}
.depot-v2 .warehouse-nav .nav-item.active{background:var(--primary-soft);color:var(--primary)}
.depot-v2 .warehouse-nav .nav-item.active b{font-weight:650}
/* Queue: a quiet overview, followed by the work itself. */
.depot-v2 .home-hero{padding:0;background:transparent;box-shadow:none;color:var(--foreground);border:0}
.depot-v2 .hero-copy{display:flex;align-items:center;justify-content:space-between;gap:16px}
.depot-v2 .hero-card h1{font-size:32px;letter-spacing:-.04em;line-height:1.2;font-weight:720}
.depot-v2 .refresh-button{height:44px;width:44px;padding:10px;border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:50%}
.depot-v2 .refresh-button svg{width:21px;height:21px}
.depot-v2 .stats{margin-top:24px;gap:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 0}
.depot-v2 .stats div{background:transparent;border-radius:0;padding:0 8px;border-inline-end:1px solid var(--border)}
.depot-v2 .stats div:last-child{border:0}
.depot-v2 .stats strong{font-size:29px;font-weight:650;letter-spacing:-.04em;line-height:1.15;color:var(--foreground)}
.depot-v2 .stats span{font-size:12px;font-weight:500;color:var(--muted);margin-top:6px;line-height:1.5}
.depot-v2 .stats .ready-stat strong{color:var(--success)}
.depot-v2 .home-tools{margin:16px 0;gap:12px}
.depot-v2 .home-tool{min-height:46px;font-size:14px;font-weight:600;border-radius:12px;padding:10px 14px}
.depot-v2 .home-tool-count{background:var(--surface-muted);color:var(--foreground);font-size:12px}
.depot-v2 .home-sync{font-size:13px;color:var(--muted);padding-inline:6px}
.depot-v2 .depot-search{margin:0 0 16px;scroll-margin-top:90px}
.depot-v2 .depot-search input{height:50px;border:1px solid var(--input-border);border-radius:13px;background:var(--surface);color:var(--foreground)}
.depot-v2 .depot-search-submit{min-width:44px;min-height:44px}
.depot-v2 .order-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 20px;padding:4px;border:1px solid var(--border);border-radius:14px;background:var(--surface-muted)}
.depot-v2 .order-segment{min-height:44px;padding:8px 6px;font-size:13px;font-weight:600;border-radius:10px;gap:6px}
.depot-v2 .order-segment.active{background:var(--surface);color:var(--foreground);box-shadow:0 1px 4px #18201912}
.depot-v2 .segment-count{height:22px;min-width:22px;font-size:12px;background:transparent}
.depot-v2 .order-segment.active .segment-count{background:var(--primary-soft);color:var(--primary)}
.depot-v2 .order-list{gap:16px;align-items:start}
.depot-v2 .order-card{padding:20px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow);min-width:0;transform:none}
.depot-v2 .order-card.is-ready{background:var(--surface);border-color:var(--border);box-shadow:inset 3px 0 var(--success)}
.depot-v2 .order-card.is-preparing{border-color:var(--border);box-shadow:inset 3px 0 var(--info)}
.depot-v2 .order-top{gap:12px;flex-wrap:wrap}
.depot-v2 .order-code{font-size:16px;font-weight:700;letter-spacing:0;color:var(--primary)}
.depot-v2 .status-pill{display:inline-flex;align-items:center;min-height:28px;max-width:100%;padding:4px 10px;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:0;white-space:normal;border:0}
.depot-v2 .status-pill.waiting{background:var(--warning-soft);color:var(--warning)}
.depot-v2 .status-pill.preparing{background:var(--info-soft);color:var(--info)}
.depot-v2 .status-pill.ready{background:var(--success-soft);color:var(--success)}
.depot-v2 .order-card h3{font-size:21px;font-weight:650;line-height:1.3;letter-spacing:-.025em;margin:14px 0}
.depot-v2 .shipment-plan{margin:12px 0 16px;font-size:13px}
.depot-v2 .plan-badges{gap:6px 8px}
.depot-v2 .plan-service{color:var(--muted);font-size:12px}
.depot-v2 .plan-service.is-thursday,.depot-v2 .plan-blocker{color:var(--warning)}
.depot-v2 .plan-badge{font-size:12px;line-height:1.5;border-radius:6px}
.depot-v2 .plan-date{color:var(--muted);font-size:14px}
.depot-v2 .plan-manual,.depot-v2 .plan-secondary{font-size:12px;color:var(--muted)}
.depot-v2 .plan-secondary.is-late{color:var(--destructive)}
.depot-v2 .item-preview{font-size:16px;line-height:1.6;color:var(--foreground);margin-top:12px}
.depot-v2 .item-preview>.bilingual-line+.bilingual-line{margin-top:5px}
.depot-v2 .item-preview>.muted{font-size:13px;margin-top:6px}
.depot-v2 :is(.ready-line,.claim-line){border-radius:8px;font-size:12px;font-weight:550;padding:8px 10px;margin:0;line-height:1.5}
.depot-v2 .ready-line{background:var(--success-soft);color:var(--success)}
.depot-v2 .open-row{margin-top:16px;padding-top:14px;border-color:var(--border);min-height:44px;color:var(--muted);font-size:13px;font-weight:550}
.depot-v2 .open-row>span:last-child{font-size:22px;line-height:1}
/* Notes remain first-class preparation instructions, with full untruncated text. */
.depot-v2 .order-notice{border:1px solid #e7c6ca;border-inline-start:3px solid var(--primary);background:var(--primary-soft);border-radius:12px;padding:14px 16px;margin:16px 0 0}
.depot-v2 .order-notice h2{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--primary);letter-spacing:.015em;margin:0 0 7px}
.depot-v2 .order-notice h2::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.depot-v2 .order-notice :is(p,.note-preview,.detail-note){color:var(--foreground);font-size:16px;font-weight:550;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
.depot-v2 .order-notice p{margin:0}
.depot-v2 .order-notice-compact{padding:12px 14px}
.depot-v2 .order-translation{font-size:13px;line-height:1.6;color:var(--muted)}
/* Detail, weighing and the sticky action tray share the same rhythm. */
.depot-v2 .order-page{max-width:760px;margin:auto}
.depot-v2 .detail-toolbar{margin:0 0 16px}
.depot-v2 .detail-back{font-size:14px;color:var(--muted)}
.depot-v2 .detail-sheet{border-radius:22px;padding:24px;border-color:var(--border);box-shadow:var(--shadow)}
.depot-v2 .detail-heading h1{font-size:32px;font-weight:700;color:var(--foreground)}
.depot-v2 .detail-title-row{flex-wrap:wrap}
.depot-v2 .detail-status{font-size:13px;padding:5px 10px;border-radius:8px;background:var(--warning-soft);color:var(--warning);white-space:normal}
.depot-v2 .detail-status.is-ready{background:var(--success-soft);color:var(--success)}
.depot-v2 .detail-status.is-preparing{background:var(--info-soft);color:var(--info)}
.depot-v2 .detail-customer{font-size:21px;color:var(--foreground);font-weight:550;margin-top:12px;line-height:1.4}
.depot-v2 .shipment-plan-detail{padding:16px 0;margin:0;border-bottom:1px solid var(--border)}
.depot-v2 .detail-products{margin-top:20px;border-color:var(--border)}
.depot-v2 .detail-product{padding:18px 0;font-size:18px;line-height:1.55;border-color:var(--border)}
.depot-v2 .detail-product strong{font-weight:600}
.depot-v2 .detail-product:last-child{padding-bottom:0}
.depot-v2 :is(.detail-claim,.detail-notice,.weights-help){font-size:14px;line-height:1.6}
.depot-v2 .detail-actions{bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 8px);border:1px solid var(--border);padding:8px;gap:8px;background:var(--surface);box-shadow:0 4px 20px #1820190d;border-radius:16px;backdrop-filter:none}
.depot-v2 .detail-actions-secondary{position:static;box-shadow:none;background:transparent;border:0;padding:0}
.depot-v2 :is(.detail-primary,.detail-undo,.detail-problem){min-height:50px;border-radius:12px;font-size:15px;font-weight:600;padding:12px;line-height:1.4}
.depot-v2 .detail-problem{font-size:13px;color:var(--muted)}
.depot-v2 .detail-secondary-menu>summary{min-height:48px;font-size:14px}
.depot-v2 .wholesale-weighing{padding:24px;border-radius:20px;margin:20px 0}
.depot-v2 .wholesale-weighing>header{flex-wrap:wrap}
.depot-v2 .wholesale-weighing h2{font-size:22px;letter-spacing:-.025em}
.depot-v2 .weight-input{background:var(--surface);border-color:var(--input-border);border-radius:12px}
.depot-v2 .weight-input input{font-size:24px!important}
.depot-v2 .weight-extra summary{min-height:44px;display:flex;align-items:center}
.depot-v2 .weight-pack-row input,.depot-v2 .weight-extra input{border-color:var(--input-border);background:var(--surface)}
.depot-v2 .weight-ready-bar button{border-radius:12px;min-height:52px}
/* Labels: one clear primary action, separated secondary download. */
.depot-v2 .shipping-page,.depot-v2 .stock-page{max-width:none;padding:0}
.depot-v2 :is(.ship-heading h1,.stock-heading h1,.settings-title-row h1){font-size:32px;line-height:1.2;letter-spacing:-.04em;font-weight:700}
.depot-v2 :is(.ship-heading p,.ship-muted,.stock-heading p){font-size:14px;color:var(--muted);line-height:1.5}
.depot-v2 .ship-back{min-height:44px;font-size:14px;margin-bottom:12px}
.depot-v2 .ship-list{border:1px solid var(--border);border-radius:20px;overflow:hidden;background:var(--surface)}
.depot-v2 .ship-list-head{padding:16px 20px;background:var(--surface-muted);gap:12px;align-items:center;flex-wrap:wrap}
.depot-v2 .ship-check{min-height:44px;font-size:13px;line-height:1.5}
.depot-v2 :is(.ship-check,.ship-select) input{width:22px;height:22px;flex:none;accent-color:var(--primary)}
.depot-v2 .ship-row{padding:20px;background:var(--surface);border-color:var(--border)}
.depot-v2 .ship-row-main{align-items:start;gap:12px;flex-wrap:wrap}
.depot-v2 .ship-select{min-height:48px;flex:1;gap:14px;align-items:center;min-width:150px}
.depot-v2 .ship-row-copy{min-width:0;overflow-wrap:anywhere}
.depot-v2 .ship-row-copy strong{font-size:15px;color:var(--primary)}
.depot-v2 .ship-row-copy>span{font-size:17px;font-weight:550;margin-top:4px}
.depot-v2 .ship-state{font-size:12px;line-height:1.5;border-radius:8px;padding:5px 8px;white-space:normal}
.depot-v2 .ship-button{min-height:50px;border-radius:12px;font-size:15px;font-weight:600;padding:12px 18px;line-height:1.5}
.depot-v2.has-warehouse-nav .ship-print-bar{bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 8px);padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:16px;gap:12px;box-shadow:0 4px 20px #1820190d}
.depot-v2 .ship-result{padding:32px 24px;border-radius:22px;border-color:var(--border);background:var(--surface);max-width:640px;margin:0 auto 24px}
.depot-v2 .ship-result h1{font-size:28px;letter-spacing:-.035em;line-height:1.25}
.depot-v2 .ship-result-symbol{width:64px;height:64px;border-radius:18px;background:var(--surface-muted);color:var(--muted)}
.depot-v2 .ship-result-symbol.is-success{background:var(--success-soft);color:var(--success)}
.depot-v2 .ship-pdf-tools{display:flex;flex-direction:column;gap:12px;max-width:360px;margin:24px auto 0}
.depot-v2 .ship-pdf-tools [data-pdf-share] .ship-button{width:100%}
.depot-v2 .ship-pdf-tools [data-pdf-share]:not([hidden]) ~ [data-pdf-download]{background:var(--surface);color:var(--foreground);border:1px solid var(--input-border)}
.depot-v2 .ship-more>summary,.depot-v2 .ship-history>summary,.depot-v2 .ship-issue>summary{min-height:48px;font-size:14px}
.depot-v2 .ship-print-hint{font-size:13px;color:var(--muted);margin-top:24px}
.depot-v2 :is(.ship-notice,.ship-issue p,.ship-issues h2){font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.depot-v2 .ship-issue{border:1px solid var(--border);border-radius:16px;background:var(--surface);padding:16px;margin-top:12px}
.depot-v2 .ship-history{margin-top:24px}
/* Stock workbench: large numeric controls, aligned labels and a clear review step. */
.depot-v2 .stock-heading{gap:16px;flex-wrap:wrap;align-items:center}
.depot-v2 :is(.stock-primary,.stock-secondary){min-height:48px;font-size:14px;border-radius:12px;padding:12px 16px;line-height:1.5}
.depot-v2 .stock-summary{border:1px solid var(--border);border-radius:18px;background:var(--surface);gap:0;margin:24px 0}
.depot-v2 .stock-summary>*{padding:18px;border-inline-end:1px solid var(--border);background:transparent;border-radius:0}
.depot-v2 .stock-summary>*:last-child{border:0}
.depot-v2 .stock-summary strong{font-size:28px;font-weight:650;color:var(--foreground)}
.depot-v2 .stock-summary span{font-size:13px;color:var(--muted)}
.depot-v2 .stock-tabs{gap:4px;padding:4px;background:var(--surface-muted);border:1px solid var(--border);border-radius:14px}
.depot-v2 .stock-tabs a{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:14px;border-radius:10px}
.depot-v2 .stock-tabs a.active{background:var(--surface);color:var(--foreground);box-shadow:0 1px 4px #18201912}
.depot-v2 .stock-workbench{padding:24px;border-radius:20px;margin:20px 0;border-color:var(--border)}
.depot-v2 .stock-workbench-heading{align-items:start;gap:12px}
.depot-v2 .stock-workbench-heading h2{font-size:21px;letter-spacing:-.025em}
.depot-v2 :is(.stock-workbench-heading p,.stock-mode-help,.stock-workbench-meta){font-size:13px;color:var(--muted);line-height:1.6}
.depot-v2 .stock-mode{background:var(--surface-muted);gap:4px;border-radius:12px;padding:4px}
.depot-v2 .stock-mode span{min-height:48px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:550;line-height:1.4}
.depot-v2 .stock-mode input:checked+span{color:var(--primary)}
.depot-v2 .stock-batch-search input,.depot-v2 .stock-batch-note input{min-height:50px;background:var(--surface);border-color:var(--input-border);border-radius:12px}
.depot-v2 .stock-edited-filter{min-height:44px;font-size:13px}
.depot-v2 .stock-edit-row{padding:20px 0;gap:12px}
.depot-v2 .stock-edit-name a{font-size:16px;line-height:1.5;color:var(--foreground);font-weight:600;min-height:44px;display:flex;align-items:center}
.depot-v2 .stock-edit-name>small{font-size:12px;color:var(--muted)}
.depot-v2 .stock-edit-number>small{font-size:12px;color:var(--muted)}
.depot-v2 .stock-edit-number b{font-size:18px;font-weight:600}
.depot-v2 .stock-edit-field>div{border-color:var(--input-border);background:var(--surface);border-radius:12px}
.depot-v2 .stock-edit-field input{min-height:52px;font-size:20px!important}
.depot-v2 .stock-edit-field>small{font-size:12px;color:var(--muted)}
.depot-v2 .stock-edit-field>div>span{font-size:12px;color:var(--muted)}
.depot-v2 .stock-edit-row.is-edited{background:var(--primary-soft)}
.depot-v2 .stock-batch-note label{font-size:14px;margin-bottom:8px}
.depot-v2 .stock-batch-note>span{font-size:12px;color:var(--muted)}
.depot-v2 .stock-batch-save{bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 8px);padding:16px 0 4px;background:var(--surface)}
.depot-v2 .stock-batch-save strong{font-size:14px}
.depot-v2 .stock-batch-save small{font-size:12px;color:var(--muted)}
.depot-v2 .stock-review{border-radius:20px;border-color:var(--border);padding:24px;background:var(--surface);max-height:85vh;max-height:85dvh}
.depot-v2 .stock-review header button{width:44px;height:44px}
.depot-v2 .stock-review-item{font-size:15px}
.depot-v2 .stock-review-list{overscroll-behavior:contain}
/* Settings, support, sign-in and secondary forms. */
.depot-v2 :is(.settings-page,.login-wrap,.ai-chat){max-width:680px;margin-inline:auto}
.depot-v2 .settings-page{gap:24px}
.depot-v2 .settings-title-row{margin:0 0 24px}
.depot-v2 .settings-card{border:1px solid var(--border);border-radius:18px;padding-top:16px;box-shadow:none;overflow:hidden}
.depot-v2 .settings-section-label{padding:0 20px 12px;font-size:13px;font-weight:650;color:var(--muted)}
.depot-v2 .language-option{min-height:60px;padding:16px 20px;font-size:16px;background:var(--surface)}
.depot-v2 .language-name{font-size:16px;font-weight:500}
.depot-v2 .language-option.active{color:var(--primary);background:var(--primary-soft)}
.depot-v2 .display-options{margin:0 16px 16px;background:var(--surface-muted)}
.depot-v2 .display-options button{min-height:48px;font-size:14px}
.depot-v2 .settings-device-row{padding:16px 20px;font-size:14px;flex-wrap:wrap}
.depot-v2 .settings-device-row strong{white-space:normal;overflow-wrap:anywhere}
.depot-v2 :is(.panel,.order-detail-card){padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:none}
.depot-v2 .label{font-size:14px;font-weight:600;margin:16px 0 8px}
.depot-v2 .field{min-height:50px;border:1px solid var(--input-border);background:var(--surface);border-radius:12px;padding:12px 14px}
.depot-v2 :is(.primary,.btn){min-height:50px;border-radius:12px;font-size:16px;line-height:1.5}
.depot-v2 .login-wrap .hero-card{background:transparent;color:var(--foreground);padding:24px 0;box-shadow:none}
.depot-v2 .login-wrap .hero-card p{color:var(--muted);font-size:15px}
.depot-v2 .login-wrap .hero-kicker{color:var(--primary);font-size:12px;margin-bottom:12px}
.depot-v2 .ai-chat{min-height:calc(100svh - 220px);padding:0}
.depot-v2 .ai-chat-header{padding:16px 0 24px;border-bottom:1px solid var(--border)}
.depot-v2 .ai-chat-header h1{font-size:26px}
.depot-v2 .chat-bubble{font-size:16px;line-height:1.65;padding:16px;border-radius:18px}
.depot-v2 .chat-composer{gap:10px;padding:10px;border:1px solid var(--input-border);border-radius:18px;background:var(--surface)}
.depot-v2 .chat-send{width:48px;height:48px;flex:none}
.depot-v2 .chat-composer textarea{font-size:16px;min-height:48px}
.depot-v2 :is(.empty-state,.ship-empty){padding:48px 24px;background:var(--surface);border:1px solid var(--border);border-radius:20px;box-shadow:none}
.depot-v2 .empty-state h3{font-size:20px;font-weight:600;margin:12px 0 8px}
.depot-v2 .empty-state p{font-size:14px;color:var(--muted)}
.depot-v2 .empty-state{grid-column:1/-1}
.depot-v2 :is(.safety-note,.alert,.stock-warning,.stock-notice){font-size:14px;line-height:1.6;border-radius:12px;padding:14px 16px}
.depot-v2 .order-card:active{background:var(--surface-muted);transform:none}
.depot-v2.ops-rtl .order-card.is-ready{box-shadow:inset -3px 0 var(--success)}
.depot-v2.ops-rtl .order-card.is-preparing{box-shadow:inset -3px 0 var(--info)}
@media(hover:hover){.depot-v2 .order-card:hover{border-color:#b4b8b2;box-shadow:0 4px 16px #18201908}.depot-v2 .ops-tools-menu a:hover{background:var(--surface-muted)}}
@media(min-width:760px){.depot-v2 .ops-main{padding:36px 32px}.depot-v2 .order-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.depot-v2 .home-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px}.depot-v2 .stats{margin:0}.depot-v2 .hero-copy{justify-content:start}.depot-v2 .bottom-nav.warehouse-nav{padding-inline:calc((100% - 560px)/2)}.depot-v2 .home-tools{margin:24px 0}.depot-v2 .order-segments{max-width:500px}}
@media(max-width:650px){.depot-v2 .stock-workbench{padding:20px 16px}.depot-v2 .stock-edit-row{grid-template-columns:repeat(3,minmax(0,1fr))}.depot-v2 .stock-edit-field{grid-column:3;grid-row:1}.depot-v2 .stock-edit-name{grid-column:1/3}.depot-v2 .stock-edit-number{text-align:start}.depot-v2 .stock-batch-save{align-items:stretch;gap:12px}.depot-v2 .stock-batch-save button{width:100%}.depot-v2 .stock-workbench-heading{flex-wrap:wrap}.depot-v2 .stock-workbench-meta{text-align:start}.depot-v2 .ship-print-bar{flex-wrap:wrap}.depot-v2 .ship-print-bar .ship-button{flex:1}.depot-v2 .stock-summary>*{padding:16px}}
@media(max-width:380px){.depot-v2 .ops-main{padding:20px 14px 24px}.depot-v2 .order-card{padding:18px}.depot-v2 .detail-sheet,.depot-v2 .wholesale-weighing{padding:20px 16px}.depot-v2 .hero-card h1{font-size:29px}.depot-v2 .order-card h3{font-size:20px}.depot-v2 .detail-actions{flex-wrap:wrap}.depot-v2 .detail-actions form{flex-basis:170px}.depot-v2 .home-tools{flex-wrap:wrap}.depot-v2 .stock-mode span{font-size:12px;padding-inline:3px}.depot-v2 .weight-line{grid-template-columns:minmax(0,1fr) 112px}}
html.ops-phone .depot-v2 .ops-main{padding:20px 16px 24px}
html.ops-phone .depot-v2 .home-hero{display:block}
html.ops-phone .depot-v2 .stats{margin-top:20px}
html.ops-phone .depot-v2 .order-list{grid-template-columns:minmax(0,1fr)}
html.ops-phone .depot-v2 .order-card h3{font-size:21px}
html.ops-phone .depot-v2 .item-preview{font-size:16px}
html.ops-phone .depot-v2 .status-pill{font-size:12px}
html.ops-phone .depot-v2 .bottom-nav.warehouse-nav{padding-inline:12px}
@media(prefers-reduced-motion:reduce){.depot-v2 *, .depot-v2 *::before,.depot-v2 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.depot-v2 .ops-header,.depot-v2 .bottom-nav,.depot-v2 .detail-actions{display:none}.depot-v2 .ops-shell{padding:0}.depot-v2 .ops-main{padding:0}}
/* The search field owns its border; the inner native input stays unframed. */
.depot-v2 .ops-tools{right:20px;inset-inline-end:20px}
.depot-v2.ops-rtl .ops-tools{right:auto;left:20px}
.depot-v2.ops-rtl .ops-tools-menu{right:auto;left:0}
.depot-v2 .depot-search{border:1px solid var(--input-border);border-radius:13px;background:var(--surface);box-shadow:none}
.depot-v2 .depot-search input{border:0;background:transparent;border-radius:10px}
.depot-v2 .depot-search:focus-within{outline:2px solid var(--ring);outline-offset:2px}
.depot-v2 .depot-search input:focus-visible{outline:none}
.depot-v2 :is(a,button,input,textarea,select,summary){scroll-margin-block:110px 190px}
.depot-v2 .ai-chat{padding:20px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.depot-v2 .ai-chat-header{padding-top:0}
.depot-v2 .chat-composer textarea{border:0;background:transparent;box-shadow:none;padding:10px;resize:vertical}
.depot-v2 .chat-composer:focus-within{outline:2px solid var(--ring);outline-offset:2px}
.depot-v2 .chat-composer textarea:focus-visible{outline:none}
.depot-v2 .stock-mode input{scroll-margin-block:110px 190px}
@media(min-width:760px){.depot-v2 .bottom-nav.warehouse-nav{padding-inline:12px;grid-template-columns:repeat(4,minmax(0,140px));justify-content:center}}
html.ops-phone .depot-v2 .bottom-nav.warehouse-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.depot-v2 .detail-position span,.depot-v2 .stock-mode span,.depot-v2 .wholesale-document small{color:var(--muted-foreground)}
.depot-v2 .order-page small{color:var(--muted-foreground)}
