.wh-workspace{display:flex;flex-direction:column;height:var(--frame,68vh);min-height:380px;gap:8px}.wh-filter{display:flex;align-items:center;gap:12px}.wh-filter input{width:min(380px,70%)}.wh-scroll{min-height:0;overflow:auto;border:1px solid #d7deda;background:white}.wh-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.wh-table th{position:sticky;top:0;background:#edf1ef;z-index:1;white-space:nowrap}.wh-table td,.wh-table th{padding:7px 9px;vertical-align:middle;border-bottom:1px solid #e2e7e4}.wh-table tbody>tr:nth-child(even):not(.wh-detail){background:#f3f6f4}.wh-table tbody>tr:hover:not(.wh-detail){background:#eaf4ed}.wh-table small,.wh-lines small,.wh-history small{display:block;color:#64736b;font-size:11px;line-height:1.4}.wh-table .toolbar{gap:5px;flex-wrap:nowrap}.wh-table button{padding:5px 8px;font-size:12px;white-space:nowrap}.wh-detail>td{background:#f8faf8;padding:8px 16px!important}.wh-lines{width:100%;border-collapse:collapse;font-size:13px}.wh-lines th,.wh-lines td{padding:6px 8px;border-bottom:1px solid #dfe6e1;text-align:left}.wh-lines th{font-size:11px;color:#69756d;background:#eef3ef}.wh-lines td:not(:first-child){white-space:nowrap}.wh-lines th{position:static}.wh-note{font-size:13px;font-weight:650;padding:5px 8px;background:#fff5d8;margin-bottom:5px}.wh-detail-actions{padding-top:8px}.wh-quantity{display:flex;gap:5px}.wh-quantity label{font-size:11px;color:#5a6a60}.wh-quantity input{display:block;width:64px;padding:6px;font-size:15px;color:#183c2b}.wh-dialog-scroll{max-height:44vh;overflow:auto;margin-bottom:8px}.wh-exchange-line{display:grid;grid-template-columns:minmax(140px,1fr) auto 95px auto;gap:8px;align-items:end;padding:7px 0;border-bottom:1px solid #dfe6e1}.wh-exchange-line .field{margin:0}.wh-history{padding:7px 0;border-bottom:1px solid #e0e7e1;font-size:13px}.wh-scroll>h3{font-size:14px;margin:18px 10px 8px}.wh-workspace .tabs button{padding:7px 12px}.wh-workspace .link-button{font-weight:700}@media(max-width:700px){.wh-workspace{height:calc(100dvh - 175px);min-height:360px}.wh-table{min-width:590px}.wh-table th:first-child,.wh-table tr:not(.wh-detail)>td:first-child{position:sticky;left:0;z-index:1;background:#f2f6f3;min-width:138px}.wh-table th:first-child{z-index:3}.wh-table td,.wh-table th{padding:6px}.wh-exchange-line{grid-template-columns:1fr auto}.wh-dialog-scroll{max-height:46vh}.wh-dialog-scroll .wh-lines{min-width:420px}.wh-quantity input{width:56px}.wh-workspace .tabs button{padding:6px 8px;font-size:12px}.wh-workspace>.toolbar>small{display:none}.wh-filter input{width:75%}}

.wh-mobile-lines{display:none}@media(max-width:700px){.wh-mobile-lines{display:block;width:calc(100vw - 58px);max-width:360px;font-size:12px}.wh-mobile-lines>div{padding:6px 0;border-bottom:1px solid #dfe6e1}.wh-mobile-lines small{display:inline;font-size:11px;color:#63746a}.wh-mobile-lines span{display:block;margin-top:4px;line-height:1.5;font-variant-numeric:tabular-nums}.wh-detail .wh-lines{display:none}.wh-detail .wh-note{width:calc(100vw - 64px);white-space:normal}.wh-table .wh-detail-actions{width:calc(100vw - 58px);white-space:normal;flex-wrap:wrap}.wh-detail-actions>.muted{display:block;width:100%;font-size:11px}.wh-detail>td{padding:7px 10px!important}}

/* v0.5: source quantities, actual count check, and delivery handoff. */
.wh-table .wh-start-delivery{white-space:normal;min-width:116px;max-width:156px;line-height:1.35;padding:7px 10px;font-weight:700}.wh-pick-customer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-3px 0 12px;font-size:14px}.wh-pick-customer span{font-size:12px;color:#63756b}.wh-pick-scroll{max-height:35vh;overflow:auto;border:1px solid #cedbd2;border-radius:7px}.wh-pick-row{display:grid;grid-template-columns:minmax(150px,1fr) 100px 156px;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #dce6df;background:#fff}.wh-pick-row:last-child{border:0}.wh-pick-row:nth-child(even){background:#f1f6f2}.wh-pick-product strong{font-size:17px;line-height:1.4;display:block;overflow-wrap:anywhere}.wh-pick-product small{display:block;font-size:11px;color:#54675a;margin-top:3px}.wh-pick-label{display:block;font-size:14px;font-weight:750;margin-bottom:4px}.wh-expected{align-self:stretch;display:flex;flex-direction:column;justify-content:center;border-left:1px solid #dbe5de;padding-left:12px}.wh-expected .wh-pick-label{color:#4d6555}.wh-big-qty{display:flex;align-items:baseline;gap:3px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.wh-big-qty b{font-size:30px;line-height:1;font-weight:800;color:#163f29}.wh-big-qty span{font-size:13px;color:#244b32}.wh-actual{padding:7px 9px;background:#e2efe6;border-radius:6px}.wh-actual .wh-pick-label{color:#103b25}.wh-actual .wh-quantity{gap:7px}.wh-actual .wh-quantity input{width:59px;border:1.5px solid #739a80;font-size:23px;font-weight:700;padding:5px;text-align:center;min-height:41px}.wh-pick-fill{display:flex;align-items:center;gap:10px;margin:8px 0}.wh-pick-fill button{font-size:13px;font-weight:700}.wh-pick-fill>span{font-size:11px;color:#607466}.wh-movers{border:0;padding:0;margin:12px 0 9px;min-width:0}.wh-movers legend{font-size:14px;font-weight:700;margin-bottom:6px}.wh-movers legend span{font-size:11px;color:#617267;font-weight:400}.wh-mover-options{display:flex;flex-wrap:wrap;gap:6px;max-height:96px;overflow:auto}.wh-mover-chip{display:flex;gap:6px;align-items:center;border:1px solid #bdcfc3;padding:7px 10px;border-radius:6px;font-size:13px;cursor:pointer;background:white}.wh-mover-chip:has(input:checked){background:#d8efdf;border:1.5px solid #237746;color:#174c2d}.wh-mover-chip input{accent-color:#1d7040;width:16px;height:16px}.wh-delivery-info{gap:12px;margin-bottom:10px}.wh-delivery-info .field{margin:0}.wh-verify-quantity{display:grid;grid-template-columns:28px auto;column-gap:10px;align-items:center;justify-content:center;background:#fff0c4;border:2px solid #b9850e;border-radius:8px;padding:12px;cursor:pointer}.wh-verify-quantity>input{grid-row:1/3;accent-color:#1b6539;width:25px;height:25px}.wh-verify-quantity>span{font-size:20px;font-weight:800;line-height:1.3;color:#634800}.wh-verify-quantity>small{font-size:11px;color:#775a16}.wh-verify-quantity[data-checked=true]{background:#dcf0e1;border-color:#287346}.wh-verify-quantity[data-checked=true]>span{color:#174827}.wh-verify-quantity[data-checked=true]>small{color:#356849}.wh-pick-submit{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:10px}.wh-pick-submit>small{font-size:11px;color:#657167;max-width:230px}.wh-pick-submit button{font-size:16px;font-weight:750;min-width:180px;padding:11px 18px}.wh-pick-submit button:disabled{background:#b6c2bb;border-color:#b6c2bb;color:#fff;opacity:1;cursor:not-allowed}
@media(max-width:700px){.wh-table .wh-start-delivery{min-width:112px;max-width:122px;padding:8px;min-height:44px}.wh-pick-customer{gap:4px;margin-bottom:8px}.wh-pick-customer>span{width:100%;font-size:11px}.wh-pick-scroll{max-height:33vh}.wh-pick-row{grid-template-columns:92px minmax(120px,1fr);gap:8px;padding:9px 10px}.wh-pick-product{grid-column:1/-1}.wh-pick-product strong{font-size:17px}.wh-expected{border-left:0;padding-left:0}.wh-expected .wh-big-qty b{font-size:32px}.wh-actual{padding:5px 8px}.wh-actual .wh-quantity input{width:61px;font-size:24px;min-height:42px}.wh-pick-fill{flex-wrap:wrap;gap:4px}.wh-pick-fill>span{display:block;width:100%;font-size:10px}.wh-movers{margin:9px 0 7px}.wh-mover-options{max-height:85px}.wh-delivery-info{grid-template-columns:1fr 1fr;gap:8px}.wh-delivery-info input{min-width:0;padding:7px}.wh-verify-quantity{padding:10px 6px}.wh-verify-quantity>span{font-size:19px}.wh-pick-submit{flex-direction:column;gap:6px;align-items:stretch}.wh-pick-submit>small{max-width:none;text-align:center;font-size:10px}.wh-pick-submit button{width:100%;min-height:46px}.wh-mover-chip{padding:7px 8px;font-size:12px}}

@media(max-width:700px){.wh-orders-table{min-width:0;width:100%;table-layout:fixed}.wh-orders-table>thead>tr>th:nth-child(2),.wh-orders-table>thead>tr>th:nth-child(3),.wh-orders-table>tbody>tr:not(.wh-detail)>td:nth-child(2),.wh-orders-table>tbody>tr:not(.wh-detail)>td:nth-child(3){display:none}.wh-orders-table>thead>tr>th:first-child,.wh-orders-table>tbody>tr:not(.wh-detail)>td:first-child{position:static;width:35%;min-width:0}.wh-orders-table>thead>tr>th:nth-child(4){width:24%}.wh-orders-table>thead>tr>th:last-child{width:41%}.wh-orders-table .toolbar{flex-wrap:wrap;gap:4px}.wh-orders-table .link-button{white-space:normal;text-align:left;padding:4px 0}.wh-orders-table .badge{white-space:normal;font-size:11px}.wh-orders-table .wh-start-delivery{min-width:0;max-width:none;width:100%;font-size:12px}.wh-orders-table small{overflow-wrap:anywhere}.wh-orders-table>tbody>tr:not(.wh-detail)>td{padding:6px 5px}.wh-orders-table>thead>tr>th{font-size:11px}}
.wh-pick-note{margin:0 0 9px;padding:7px 9px;background:#fff2cb;border-left:3px solid #b68420;color:#664700;font-size:13px;font-weight:700;overflow-wrap:anywhere}

.wh-ticket-controls{gap:5px;margin:0 0 8px}.wh-ticket-controls button{font-size:12px;padding:5px 8px}.wh-ticket-controls button[aria-pressed=true]{background:#e4f1e9;border-color:#72a084;color:#194c2b}.wh-ticket-controls small{font-size:10px;color:#627069}.wh-ticket-well{padding:8px;max-width:100%;overflow:auto}.wh-ticket-preview{width:max-content;max-width:none}@media print{.wh-ticket-controls{display:none!important}.wh-ticket-well{padding:0}.wh-ticket-preview{zoom:1!important}}

.wh-embedded{border:0;background:transparent;overflow:visible}.wh-legacy-arrivals{font-size:12px;margin-top:12px}.wh-legacy-arrivals summary{cursor:pointer;color:#5c7163;padding:7px}.wh-legacy-arrivals>div{overflow:auto}

/* Phones show the complete picking identity and quantity without expanding. */
.wh-mobile-summary{display:none}.wh-order-note{font-size:14px;font-weight:750;color:#a32218;background:#fff0dc;padding:6px 8px;margin-bottom:6px;overflow-wrap:anywhere}
@media(max-width:700px){
 .wh-orders-table,.wh-orders-table tbody{display:block;width:100%;min-width:0}.wh-orders-table thead{display:none}.wh-orders-table>tbody>tr:not(.wh-detail){display:flex;flex-direction:column;margin:8px;border:1px solid #bfcfc5;border-radius:9px;overflow:hidden;background:#fff}.wh-orders-table>tbody>tr:not(.wh-detail)>td{display:block!important;position:static!important;width:100%!important;min-width:0!important;border:0;padding:8px 12px;box-sizing:border-box}.wh-orders-table>tbody>tr:not(.wh-detail)>td:first-child{background:#f0f6f2}.wh-orders-table>tbody>tr:not(.wh-detail)>td:nth-child(2){font-size:22px;font-weight:800;color:#163e2c}.wh-orders-table>tbody>tr:not(.wh-detail)>td:nth-child(2) small{font-size:18px;font-weight:650;color:#234d38}.wh-orders-table .wh-desktop-summary{display:none}.wh-orders-table .wh-mobile-summary{display:block}.wh-mobile-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #e0e9e3}.wh-mobile-summary strong{font-size:22px;line-height:1.4;overflow-wrap:anywhere}.wh-mobile-summary b{font-size:23px;white-space:nowrap;color:#184b30}.wh-orders-table .toolbar{flex-wrap:wrap;gap:8px}.wh-orders-table button,.wh-orders-table .wh-start-delivery{font-size:17px;min-height:44px;padding:8px 12px;max-width:none}.wh-orders-table .link-button{font-size:18px}.wh-orders-table .badge{font-size:17px}.wh-orders-table small{font-size:14px}.wh-order-note{font-size:21px;line-height:1.5;margin:0 0 8px}.wh-detail{display:block}.wh-detail>td{display:block;width:100%;box-sizing:border-box}.wh-mobile-lines{width:100%;max-width:none;font-size:18px}.wh-mobile-lines strong{font-size:21px}.wh-mobile-lines small{font-size:15px}.wh-mobile-lines span{font-size:18px}.wh-workspace .tabs button{font-size:16px;min-height:44px}.wh-filter input{font-size:17px;min-height:44px}.wh-pick-product strong{font-size:22px}.wh-pick-product small{font-size:15px}.wh-pick-note{font-size:21px}.wh-actual .wh-quantity input{width:90px;max-width:100%;box-sizing:border-box}.wh-pick-fill button{font-size:18px;min-height:46px}.wh-mover-chip{font-size:17px;min-height:44px;box-sizing:border-box}.wh-pick-customer>span{font-size:17px}.wh-pick-submit button{font-size:20px}.wh-check-warning{font-size:19px!important;color:#b5261c!important;font-weight:800}.wh-quantity input{width:100px;max-width:100%;font-size:22px}.wh-quantity label{font-size:16px}.wh-verify-quantity>small{font-size:14px}
}

/* Delivery feedback on narrow keeper phones: readable counts and a clear finish. */
@media(max-width:700px){
 dialog:has(.flow-quantity) .flow-quantity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 dialog:has(.flow-quantity) .flow-quantity>.field{min-width:0}
 dialog:has(.flow-quantity) .flow-quantity input{width:100%;min-width:0;box-sizing:border-box;font-size:22px;min-height:48px;padding:8px 6px}
 dialog:has(.flow-quantity) .form-actions>.primary{font-size:20px;min-height:48px;width:100%}
 dialog:has(.flow-quantity) .flow-card>strong{font-size:22px}
}
@media(max-width:400px){
 .wh-pick-row{grid-template-columns:70px minmax(0,1fr)}
 .wh-actual{min-width:0}
 .wh-actual .wh-quantity{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
 .wh-actual .wh-quantity>label{min-width:0}
 .wh-actual .wh-quantity>label:only-child{grid-column:1/-1}
 .wh-actual .wh-quantity input{width:100%;min-width:0;appearance:textfield;-moz-appearance:textfield}
 .wh-actual .wh-quantity input::-webkit-inner-spin-button,.wh-actual .wh-quantity input::-webkit-outer-spin-button{appearance:none;margin:0}
}

/* Keeper work: compact rows, full picking identity, one prominent next action. */
@media(max-width:700px){
 .role-warehouse .wh-mobile-summary>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:4px 0}
 .role-warehouse .wh-mobile-summary strong{font-size:20px;line-height:1.35}
 .role-warehouse .wh-mobile-summary b{font-size:22px}
 .role-warehouse .wh-orders-table>tbody>tr:not(.wh-detail)>td{padding:6px 10px}
 .role-warehouse .wh-orders-table [data-delivered-quick]{background:#18654d;border-color:#18654d;color:white;font-weight:700}
 .role-warehouse .sw-table{font-size:17px}
 .role-warehouse .sw-table button,.role-warehouse .sw-reminders button{font-size:16px;min-height:44px;padding:7px 10px}
 .role-warehouse .sw-table small{font-size:13px}
 .role-warehouse .sw-reminders{font-size:16px}
 .wh-pick-product strong{font-size:20px}
 .wh-actual .wh-quantity input{font-size:22px;min-height:48px}
 .warehouse-truck-check h3{font-size:18px;margin:14px 0 6px}
 .warehouse-truck-check small{display:block}
 .warehouse-ledger [data-match],.warehouse-ledger [data-difference]{font-size:17px;min-height:44px}
 .warehouse-ledger [data-ledger-order]{min-height:44px;font-size:16px}
}
@media(max-width:700px){
 dialog:has(.pc-receive-lines) .pc-receive-lines article{padding:8px}
 dialog:has(.pc-receive-lines) .pc-receive-lines article>strong{font-size:20px;line-height:1.35}
 dialog:has(.pc-receive-lines) .pc-receive-lines .pc-qty{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 dialog:has(.pc-receive-lines) .pc-receive-lines .pc-qty>label{min-width:0}
 dialog:has(.pc-receive-lines) .pc-receive-lines .pc-qty input{width:100%;min-width:0;box-sizing:border-box;font-size:22px;min-height:48px;padding:8px 6px}
 dialog:has(.pc-receive-lines) .form-actions>.primary{font-size:20px;min-height:48px;width:100%}
}
@media(max-width:700px){
 dialog:has(.sw-move-lines) .sw-move-lines article>strong{font-size:20px;line-height:1.35;overflow-wrap:anywhere}
 dialog:has(.sw-move-lines) .sw-move-lines article>small{font-size:17px}
 dialog:has(.sw-move-lines) .sw-qty label{font-size:16px}
 dialog:has(.sw-move-lines) .sw-qty input{width:100px;max-width:100%;box-sizing:border-box;font-size:22px;min-height:48px}
 dialog:has(.sw-move-lines) .form-actions>.primary{font-size:20px;min-height:48px;width:100%}
}
/* Each cart keeps separate customer tickets and quantities. */
.wh-batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;background:#e9f2ee;position:sticky;top:0;z-index:2}
.wh-batch-select{display:flex;align-items:center;gap:7px;min-height:40px;font-size:14px;font-weight:700}
.wh-batch-orders{min-width:0;display:grid;gap:14px}
.wh-batch-order{min-width:0;border:2px solid #ccdcd5;border-radius:10px;padding:12px}
.wh-batch-order h3{margin:0 0 4px;font-size:21px}.wh-batch-order>p{margin:6px 0}
.wh-batch-order .wh-expected-number{display:block;font-size:22px;line-height:1.4}
.wh-paper-state{padding:10px;background:#f0f4f2;margin:10px 0;overflow-wrap:anywhere;font-size:15px}
.wh-paper-state small{display:block;margin-top:6px}.wh-paper-state summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}
.wh-inline-paper{max-width:100%;overflow:auto;background:#ddd;padding:8px;box-sizing:border-box}
.wh-inline-paper .receipt{margin:0 auto}
.wh-paper-limit{font-size:14px;color:#685600;background:#fff5d6;padding:10px;line-height:1.5}
@media(max-width:700px){
 .wh-batch-order{padding:9px}.wh-batch-toolbar{flex-wrap:wrap;font-size:15px}.wh-batch-toolbar button{min-height:48px;font-size:18px}
 .wh-handoff-form [data-prepare],.wh-handoff-form [data-fill]{min-height:48px;font-size:18px}
 .wh-handoff-form .wh-pick-scroll{max-height:none}.wh-handoff-form .wh-batch-order .wh-pick-row{padding:9px 0}
 .wh-handoff-form .wh-expected-number{font-size:22px}.wh-handoff-form .wh-verify-quantity span{font-size:18px}
}

/* The owner substitutes for one physical warehouse without changing login identity. */
.role-warehouse[data-proxy-mode="active"] .warehouse-mode{border:2px solid #b7791f;background:#fff8e7;position:sticky;top:0;z-index:3;padding:12px;gap:12px}
.role-warehouse .warehouse-mode strong{font-size:20px;line-height:1.4}
.role-warehouse .warehouse-mode small{display:block;line-height:1.5;margin-top:4px}
.role-warehouse .warehouse-mode button,.warehouse-proxy-entry>button{min-height:44px;font-size:16px;flex-shrink:0}
.proxy-order-focus{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;background:#edf6f2;border:1px solid #b7d5c9}
.warehouse-proxy-entry{padding:10px 12px;border:1px solid #d9e2df;border-radius:8px;margin-top:10px}
@media(max-width:600px){.role-warehouse .warehouse-mode{align-items:flex-start;flex-wrap:wrap}.role-warehouse .warehouse-mode>span{flex:1 1 210px}.role-warehouse .warehouse-mode button{min-height:48px}.proxy-order-focus{flex-wrap:wrap}}
@media(max-width:600px){
 dialog:has(.wh-quantity) .form-actions button.primary{min-height:48px;font-size:16px;}
}
/* 门市暂存是本单的货；与普通冰柜可售库存明确分开。 */
.wh-shop-summary{padding:5px 0;margin:0 0 5px;min-width:0;line-height:1.4}
.wh-shop-summary>strong{font-size:14px;color:#255a40;display:block}
.wh-shop-summary>div{display:flex;flex-wrap:wrap;gap:2px 8px;margin-top:3px}
.wh-shop-summary>div>b{font-size:16px}.wh-shop-summary>div>span{font-size:14px}
.wh-shop-target{font-size:18px;font-weight:700;color:#255a40;margin:5px 0}
.wh-shop-form .wh-pick-fill{margin:7px 0}.wh-shop-form>button[type=submit],.wh-shop-back>button[type=submit]{min-height:48px;font-size:18px;width:100%}
.wh-shop-back .wh-pick-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1fr);gap:6px 10px}
.wh-shop-back .wh-pick-product{grid-column:1/-1}.wh-shop-back .wh-pick-product>span{display:block;font-size:15px;margin-top:3px}
.wh-shop-back .field{min-width:0}.wh-shop-back select{width:100%;min-width:0;font-size:16px}
@media(max-width:900px){
 .wh-shop-summary>div{display:block}.wh-shop-summary>div>span{display:block;font-size:14px}.wh-shop-summary>div>b{font-size:17px}
 .wh-shop-form .wh-actual input,.wh-shop-back .wh-actual input{font-size:22px;min-height:44px;min-width:0;width:100px;appearance:textfield}
 .wh-shop-form .wh-actual input::-webkit-inner-spin-button,.wh-shop-back .wh-actual input::-webkit-inner-spin-button{-webkit-appearance:none}
 .wh-shop-back .wh-pick-row{grid-template-columns:minmax(0,1fr) minmax(104px,1fr)}
 .wh-shop-form [data-shop-fill],.wh-shop-back [data-shop-back-fill]{font-size:16px;min-height:42px}
}

/* New orders use the reminder; historical vehicle/place information stays visible only when present. */
.wh-orders-table.wh-no-legacy-column>thead>tr>th:nth-child(2),.wh-orders-table.wh-no-legacy-column>tbody>tr:not(.wh-detail)>td:nth-child(2){display:none!important}
.wh-order-note{color:#85551b;background:#fff8e9}.wh-order-note>span{font-size:.85em}
@media(max-width:900px){.wh-orders-table>tbody>tr:not(.wh-detail)>td.wh-no-legacy-place{display:none!important}}

/* Handoff counts are a proposed load until the keeper checks and confirms. */
.wh-after-handoff{grid-column:1/-1;display:block;margin-top:0;font-size:13px;line-height:1.45;color:#526359}
.wh-after-handoff[data-remaining=true]{color:#88600e}
.wh-after-handoff[data-problem=true]{color:#aa2721;font-weight:700}
.wh-movers>small{display:block;color:#526359;font-size:12px;line-height:1.5;margin-top:6px}
.wh-orders-table small.wh-order-reference{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
.wh-order-time{display:inline;font-variant-numeric:tabular-nums;font-weight:400;white-space:nowrap}
.wh-action-error{margin:6px 0 0;white-space:normal;max-width:300px}
@media(max-width:700px){.wh-after-handoff{font-size:15px}.wh-movers>small{font-size:14px}.wh-mobile-summary b{font-size:20px}.wh-action-error{font-size:15px}}

.wh-handoff-form .wh-check-warning{font-size:14px!important;line-height:1.5;font-weight:500;color:#4f5c55!important;background:#f5f7f6;border:1px solid #d9e1dc;border-radius:6px;padding:7px 9px;margin:8px 0}
.wh-handoff-form .wh-pick-fill button[data-fill]{font-size:14px;font-weight:500;min-height:44px;padding:6px 12px;background:#fff;border:1px solid #ccd6cf;color:#44534a}

/* Phone field work: keep the current action and its next step together. */
.wh-next-step{margin:0 0 10px;padding:9px 11px;border-radius:7px;background:#edf4f0;color:#24503c;font-size:15px;line-height:1.5;font-weight:650}
.wh-next-step[data-ready=true]{background:#dff2e6;color:#135333}
.wh-handoff-extra{border:0;margin:5px 0;color:#536359;font-size:14px}
.wh-handoff-extra>summary{cursor:pointer;min-height:40px;display:flex;align-items:center;gap:5px}
.wh-handoff-extra>summary::before{content:'＋';font-size:18px}.wh-handoff-extra[open]>summary::before{content:'−'}
.wh-handoff-extra>.field{margin:4px 0 8px}
.warehouse-proxy-notice small{display:block}
@media(max-width:600px){
 .wh-handoff-form .wh-movers{margin:0 0 4px;padding:0;border:0}
 .wh-handoff-form .wh-mover-options{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .wh-handoff-form .wh-mover-chip{justify-content:center;margin:0;padding:10px 8px;min-height:48px;border-radius:7px}
 .wh-handoff-form .wh-mover-chip:has(input:checked){background:#e3f2e9;border-color:#287456;color:#155437}
 .wh-handoff-form .wh-mover-chip input{width:20px;height:20px;flex:none}
 .wh-handoff-form .wh-movers>small{font-size:12px;margin-top:3px}
 .wh-handoff-form .wh-batch-orders{gap:10px}
 .wh-handoff-form .wh-batch-order{padding:9px;border-width:1px}
 .wh-handoff-form .wh-batch-order h3{font-size:18px}
 .wh-handoff-form .wh-batch-order>p:not(.wh-pick-note):not(.wh-check-warning){font-size:13px;line-height:1.4;margin:3px 0 7px}
 .wh-handoff-form .wh-pick-note{font-size:16px;line-height:1.4;padding:7px 8px}
 .wh-handoff-form .wh-pick-product strong{font-size:18px}
 .wh-handoff-form .wh-pick-product small{font-size:13px}
 .wh-handoff-form .wh-pick-row{grid-template-columns:minmax(70px,.7fr) minmax(0,1.6fr);padding:7px 0;gap:5px 8px}
 .wh-handoff-form .wh-expected-number{font-size:21px}
 .wh-handoff-form .wh-after-handoff{font-size:13px;margin:0}
 .wh-handoff-form .wh-pick-fill{margin:4px 0}.wh-handoff-form .wh-pick-fill>span{font-size:12px;line-height:1.4}
 .wh-handoff-form .wh-paper-state{padding:8px;margin:7px 0;font-size:14px}
 .wh-handoff-form .wh-verify-quantity{padding:9px 4px;align-items:flex-start}.wh-handoff-form .wh-verify-quantity span{font-size:16px}
 .wh-handoff-form .wh-paper-limit{padding:7px 9px;margin:7px 0;font-size:12px}
 .wh-handoff-form .wh-pick-submit{align-items:stretch;gap:5px}
 .wh-handoff-form .wh-pick-submit button{min-height:48px;font-size:18px}
 .warehouse-location-form .form-actions .primary{width:100%;min-height:48px}
 .order-physical-actions .primary{flex:1 1 150px;min-height:46px}
 .warehouse-ledger .ledger-filter{gap:6px}.warehouse-ledger .ledger-filter>label{display:flex;align-items:center;gap:6px}
 .warehouse-ledger .count-submit{align-items:center;gap:8px}.warehouse-ledger .count-submit button{min-height:46px}
}
@media(max-width:600px){
 .role-warehouse .role-tools,.role-warehouse .wh-workspace .wh-subnav>.tabs,.wh-workspace .wh-subnav>.tabs,.sw-page>.sw-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-width:100%;min-width:0;gap:6px;scroll-padding-inline:8px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 .role-warehouse .role-tools>button,.role-warehouse .wh-workspace .wh-subnav>.tabs>button,.wh-workspace .wh-subnav>.tabs>button,.sw-page>.sw-tabs>button{flex:0 0 auto;white-space:nowrap;min-height:44px}
 .wh-workspace .wh-subnav{display:block;min-width:0}.wh-workspace .wh-subnav-label,.wh-workspace .wh-subnav>small{display:none}
 .role-warehouse .role-tools{margin:0 0 8px}
}

.wh-screen-sign {min-width:0;border:1px solid #b6c9bf;border-radius:8px;margin:.6rem 0;padding:.5rem}
.wh-screen-sign svg,.wh-saved-sign {display:block;width:100%;height:105px;background:white;border:1px solid #a2b7ac;border-radius:5px;color:#153c32}
.wh-screen-sign svg {touch-action:none;user-select:none;-webkit-user-select:none;margin:4px 0}
.wh-screen-sign polyline,.wh-saved-sign polyline {fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.wh-saved-sign {max-width:16rem;height:auto}
