.order-print-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 0;color:var(--muted);font-size:12px}.order-print-toolbar .inline-logistics-print{max-width:420px}.order-image-choice-line{display:flex;align-items:center;gap:8px;min-height:64px}.inline-logistics-choice{display:grid;grid-gap:3px;gap:3px;min-width:94px;line-height:1.25}.inline-logistics-radios{display:flex;gap:4px}.inline-logistics-radios label{display:flex;align-items:center;gap:4px;padding:7px 5px;border:1px solid var(--line);border-radius:5px;cursor:pointer;font-size:12px;white-space:nowrap}.inline-logistics-radios label.is-checked{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.inline-logistics-radios input[type=radio]{width:14px;height:14px;min-height:0;padding:0;margin:0;accent-color:var(--accent)}.inline-logistics-actions small,.inline-logistics-choice small,.inline-logistics-print small,.inline-logistics-readonly{font-size:11px;color:var(--muted);overflow-wrap:anywhere;white-space:normal}.inline-logistics-choice .is-pending{color:#d4a238}.inline-logistics-actions,.inline-logistics-print{display:grid;grid-gap:5px;gap:5px;max-width:200px}.inline-logistics-actions .mini-button,.inline-logistics-actions .split-action-button{font-size:12px;min-height:32px;white-space:normal;width:100%;margin:0}.inline-logistics-print a{font-size:11px;color:var(--accent)}.order-image-cell{min-width:190px}@media(max-width:520px){.order-print-toolbar>span{flex-basis:100%}.order-print-toolbar .inline-logistics-print{width:100%;max-width:none}.order-image-choice-line{gap:5px}.inline-logistics-radios label{padding:8px 5px}}.order-status-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.order-status-card{width:100%;min-height:64px;min-width:0;padding:10px 14px;text-align:left;color:var(--text);cursor:pointer}.order-status-card.active,.order-status-card:hover{border-color:var(--accent);background:var(--accent-soft)}.order-status-card.active .label,.order-status-card.active .value{color:var(--accent)}.order-status-card .value{display:flex;align-items:baseline;gap:5px;font-size:24px;line-height:1.05;white-space:nowrap}.order-status-card .value b{margin-left:12px;font-size:inherit;font-weight:inherit}.all-orders-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0 4px;color:var(--muted);font-size:13px}.all-orders-pagination button{min-width:80px}.all-orders-flow-tools{display:grid;grid-gap:10px;gap:10px;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft)}.all-orders-date-range,.all-orders-flow-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}.all-orders-date-range,.all-orders-flow-summary span,.all-orders-flow-tools p{color:var(--muted);font-size:12px}.all-orders-date-range label{display:flex;align-items:center;gap:8px}.all-orders-date-range input{width:160px;min-width:0;color-scheme:light dark}.all-orders-flow-summary>div{display:grid;grid-gap:4px;gap:4px;min-width:180px}.all-orders-flow-summary strong{color:var(--accent);font-size:21px;overflow-wrap:anywhere}.all-orders-flow-tools p{margin:0;line-height:1.5}.all-order-index{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;cursor:pointer}.all-order-index input[type=checkbox]{width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:var(--accent)}@media (max-width:520px){.all-orders-date-range>span{width:100%}.all-orders-date-range label{width:100%;justify-content:space-between}.all-orders-date-range input{flex:1 1;max-width:220px}.all-orders-flow-summary>div{min-width:0;flex:1 1 200px}}.all-order-status.is-canceled{color:#df949b;background:rgba(196,70,84,.15)}.all-order-status.is-shipped{color:#77aaff;background:rgba(74,126,206,.15)}.all-order-status.is-waiting{color:#d4a238;background:rgba(181,131,23,.15)}.order-status-card .value small{color:var(--muted);font-size:12px;font-weight:850}.order-head-actions{min-width:min(620px,52vw);display:grid;justify-items:end;grid-gap:6px;gap:6px}.feishu-import-status{max-width:100%;margin:0;color:var(--muted);font-size:12px;font-weight:750;text-align:right}.order-list-surface{width:100%;max-width:100%;min-width:0;padding:10px 12px 12px}.order-quick-stack{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.order-subtitle{margin:0 0 2px;color:var(--text);font-size:13px;font-weight:850}.order-quick-modules{display:flex;flex-wrap:wrap;align-items:center;flex:1 1 auto;gap:8px}.order-inline-import{flex:0 1 520px;min-width:360px;display:grid;justify-items:end;grid-gap:4px;gap:4px;margin-left:auto}.order-inline-import .import-actions{width:100%;display:flex;align-items:center;justify-content:flex-end;gap:8px}.order-inline-import .import-actions input{flex:1 1 220px;min-width:180px;height:38px;min-height:38px}.order-inline-import .import-actions button{flex:0 0 auto;min-height:38px;height:38px;padding:0 14px;white-space:nowrap}.order-inline-import .import-actions span{max-width:220px;color:var(--muted);font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-quick-card{min-height:38px;display:inline-flex;align-items:center;gap:8px;flex:0 1 auto;padding:7px 12px;text-align:left;color:var(--text);background:var(--panel-strong);border:1px solid var(--line);border-radius:999px}.order-quick-card.active,.order-quick-card:hover{border-color:var(--accent);background:var(--accent-soft)}.order-quick-counts,.order-quick-label,.order-quick-note{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-quick-label{color:var(--muted);font-size:13px;font-weight:850}.order-quick-card.active .order-quick-label,.order-quick-card.active strong{color:var(--accent)}.order-quick-counts{display:flex;align-items:center;gap:7px}.order-quick-counts span{min-width:0;display:inline-flex;align-items:baseline;gap:3px;overflow:hidden}.order-quick-counts strong{font-size:16px;line-height:1.05}.order-quick-counts em,.order-quick-note{color:var(--muted);font-size:11px;font-style:normal;font-weight:850}.order-quick-note{max-width:92px}.order-list-title{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.order-action-message{margin:-2px 0 10px;color:var(--accent);font-size:13px;font-weight:850}.order-list-title-left{min-width:0;display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:12px}.order-list-title .section-title{flex:0 0 auto;margin:0}.order-list-search{flex:1 1 320px;width:min(420px,34vw);min-width:220px;margin:0}.order-list-sort{flex:0 0 220px;min-width:200px;margin:0}.order-list-search input,.order-list-sort select{min-height:36px;height:36px;background:var(--panel-soft);font-weight:800}.order-scroll{width:100%;max-width:100%;overflow:auto;border-radius:8px}.order-table{--order-columns:58px 190px 200px 370px 220px 70px 160px 150px 180px;min-width:1600px;display:grid;border:1px solid var(--line);border-radius:8px;overflow:hidden}.order-table.with-inline-shipping{--order-columns:58px 190px 200px 370px 220px 70px 160px 150px 160px 180px;min-width:1760px}.order-row,.order-table-header{display:grid;grid-template-columns:var(--order-columns);grid-gap:14px;gap:14px;align-items:center}.order-table-header{min-height:52px;padding:0 10px;color:var(--muted);background:var(--panel-strong);border-bottom:1px solid var(--line);font-size:15px;font-weight:800;line-height:1.15;position:-webkit-sticky;position:sticky;top:0;z-index:1}.order-row{width:100%;min-height:104px;padding:10px;text-align:left;color:var(--text);background:var(--panel);border:0;border-bottom:1px solid var(--line);border-radius:0;cursor:pointer}.order-row.is-striped{background:var(--panel-soft)}.order-row.split-batch{box-shadow:inset 3px 0 0 rgba(94,234,212,.55)}.order-row.selected,.order-row:hover{box-shadow:inset 3px 0 0 var(--accent);background:var(--accent-soft)}.order-cell{min-width:0;display:flex;align-items:center;gap:8px;height:100%;overflow:hidden;color:var(--muted-strong);font-size:17px;line-height:1.28;white-space:normal}.order-cell span,.order-cell strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-index-cell{justify-content:center;color:var(--muted);font-weight:850}.order-customer-summary-cell,.order-products-cell,.order-status-summary-cell,.order-type-cell{align-items:stretch}.order-customer-stack,.order-product-stack,.order-status-stack,.order-type-stack{min-width:0;width:100%;display:grid;align-content:center;grid-gap:7px;gap:7px}.order-status-stack,.order-type-stack{justify-items:start}.order-customer-meta,.order-date-line,.order-meta-line,.order-origin-waybill-line,.order-product-warehouse,.order-type-stack span,.order-waybill-line{min-width:0;color:var(--muted);font-size:13px;font-weight:800;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-origin-waybill-line{color:var(--accent)}.order-waybill-line{display:inline-flex;align-items:center;gap:4px;color:var(--accent)}.order-date-label,.order-waybill-label{color:var(--muted)}.order-date-label{font-weight:900}.order-customer-name{color:var(--text);font-size:18px;font-weight:900}.copy-text{min-width:0;max-width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline;padding:0;margin:0;color:inherit;background:transparent;border:0;border-radius:3px;font:inherit;font-weight:inherit;line-height:inherit;text-align:left;overflow-wrap:anywhere;cursor:copy}.copy-text:hover{color:var(--accent);-webkit-text-decoration:underline dotted;text-decoration:underline dotted;text-underline-offset:3px}.copy-text:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.copy-feedback{position:fixed;right:24px;bottom:24px;z-index:1000;padding:9px 13px;color:var(--text);background:var(--panel-strong);border:1px solid var(--accent);border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.35);font-size:13px;font-weight:900;line-height:1;white-space:nowrap;pointer-events:none}.order-product-line{min-height:64px;min-width:0;display:grid;grid-template-columns:minmax(110px,150px) max-content max-content;align-items:center;grid-gap:8px;gap:8px;justify-content:start}.order-sku-text{min-width:0;color:var(--text);font-weight:900;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.order-product-warehouse{text-align:left}.order-line-badges{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px;overflow:visible;white-space:normal}.order-cell .inventory-hit-stack,.order-cell .order-image-stack,.order-cell .sku-stack{min-width:0;display:grid;grid-gap:8px;gap:8px;overflow:visible;white-space:normal}.order-cell .sku-line{min-width:0;overflow:visible;white-space:normal;word-break:break-word;line-height:1.25}.order-stock-cell{justify-content:flex-start}.inventory-hit-chip,.order-table .badge{min-height:32px;padding:0 12px;font-size:16px}.inventory-hit-chip{width:-moz-fit-content;width:fit-content;max-width:100%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:var(--muted-strong);background:var(--panel-soft);border:1px solid var(--line);border-radius:999px;font-weight:850;line-height:1;text-overflow:ellipsis;white-space:nowrap}.inventory-hit-chip.hit{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.inventory-hit-chip.short{color:#b7791f;background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.35)}.inventory-hit-chip.backlog{color:#c2410c;background:rgba(251,146,60,.16);border-color:rgba(251,146,60,.42)}.inventory-hit-chip.missing{color:var(--muted)}.line-status-chip{width:-moz-fit-content;width:fit-content;max-width:100%;min-height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;overflow:hidden;color:var(--muted-strong);background:rgba(148,163,184,.1);border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:850;line-height:1;text-overflow:ellipsis;white-space:nowrap}.line-status-chip.ready{color:var(--accent);background:var(--accent-soft);border-color:rgba(94,234,212,.5)}.line-status-chip.shipped{color:#93c5fd;background:rgba(59,130,246,.14);border-color:rgba(96,165,250,.48)}.line-status-chip.missing,.line-status-chip.shortage,.line-status-chip.waiting{color:#fbbf24;background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.35)}.line-status-chip.refund_pending{color:#f9a8d4;background:rgba(236,72,153,.14);border-color:rgba(244,114,182,.42)}.line-status-chip.backlog{color:#fb923c;background:rgba(251,146,60,.16);border-color:rgba(251,146,60,.42)}.line-status-chip.refunded{color:#c4b5fd;background:rgba(139,92,246,.15);border-color:rgba(167,139,250,.45)}.line-status-chip.canceled{color:#fda4af;background:rgba(244,63,94,.12);border-color:rgba(244,63,94,.35)}.line-status-chip.torn{color:#fdba74;background:rgba(249,115,22,.15);border-color:rgba(251,146,60,.45)}.order-image-cell{justify-content:flex-start;overflow:visible}.order-image-empty,.order-product-thumb{width:58px;height:58px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative;color:var(--muted);background:var(--panel-soft);border:1px solid var(--line);border-radius:6px}.order-product-thumb{cursor:zoom-in;text-decoration:none}.order-product-thumb:hover{border-color:var(--accent);box-shadow:0 0 0 2px rgba(118,205,194,.18)}.order-product-thumb>img{width:100%;height:100%;object-fit:cover;display:block;border-radius:6px}.order-image-empty{font-size:17px;font-weight:850}.order-edit-cell .as-chip{min-height:34px;padding:0 10px;font-size:16px}.order-inline-waybill-cell{justify-content:center;overflow:visible}.order-inline-waybill-input{width:100%;max-width:178px;height:38px;min-height:38px;padding:0 10px;color:var(--text);background:var(--panel-soft);border:1px solid var(--line);border-radius:7px;font-size:14px;font-weight:850;letter-spacing:0}.order-inline-waybill-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px rgba(118,205,194,.16)}.order-inline-waybill-input:disabled{color:var(--muted);cursor:not-allowed;opacity:.72}.inline-ship-button{width:100%}.split-action-button{min-height:40px;padding:4px 10px;color:var(--accent);border-color:var(--accent);background:var(--accent-soft);font-size:14px;line-height:1.15;text-align:center;white-space:normal}.split-action-button:disabled{color:var(--muted);border-color:var(--line);background:var(--panel-soft);cursor:not-allowed}.order-money-cell{color:var(--text);font-size:18px;font-weight:850}.order-quantity-cell{align-items:baseline;color:var(--text);font-weight:900}.order-quantity-cell span{color:var(--muted);font-size:13px}.order-edit-cell{align-items:center;justify-content:center;flex-direction:column;gap:8px;overflow:visible}.order-edit-cell .mini-button{width:100%;max-width:154px}.order-type-stack strong{color:var(--text);font-size:17px}.order-detail-summary{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-gap:12px;gap:12px;margin:0 0 12px}.order-detail-block{min-width:0;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:8px}.order-detail-block h3{margin:0 0 10px;color:var(--text);font-size:14px;font-weight:900}.order-detail-block dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px 14px;gap:8px 14px;margin:0}.order-detail-block dl .wide,.order-detail-block dl div{min-width:0}.order-detail-block dl .wide{grid-column:1/-1}.order-detail-block dt{color:var(--muted);font-size:12px;font-weight:850}.order-detail-block dd{margin:3px 0 0;color:var(--text);font-size:14px;font-weight:800;line-height:1.45;overflow-wrap:anywhere}.order-detail-ai,.order-detail-products{grid-column:1/-1}.order-detail-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.order-detail-item{min-width:0;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;grid-gap:10px;gap:10px;padding:8px;background:var(--panel-soft);border:1px solid var(--line);border-radius:8px}.order-detail-item strong{display:block;color:var(--text);font-size:15px;font-weight:900;overflow-wrap:anywhere}.order-detail-sku-heading{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sku-edit-trigger{min-height:28px;padding:4px 9px;color:var(--accent);font-size:12px}.sku-edit-form{min-width:min(100%,360px);display:grid;grid-template-columns:minmax(110px,1fr) auto auto;align-items:center;grid-gap:6px;gap:6px}.sku-edit-form input{width:100%;min-width:0;height:32px;padding:0 9px;font-size:13px;font-weight:850;text-transform:uppercase}.sku-edit-form button{min-height:32px;padding:0 10px;font-size:12px;font-weight:850}.sku-edit-form em{grid-column:1/-1;color:#fda4af;font-size:12px;font-style:normal;font-weight:800}.order-detail-item p{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:6px 0 0;color:var(--muted);font-size:12px;font-weight:800}.line-status-control{min-width:0;display:grid;grid-template-columns:auto minmax(140px,220px);align-items:center;grid-gap:8px;gap:8px;margin-top:8px}.line-status-control span{color:var(--muted);font-size:12px;font-weight:900}.line-status-control select{width:100%;min-height:32px;height:32px;padding:0 10px;background:var(--panel);font-size:13px;font-weight:850}.line-status-control em{grid-column:1/-1;color:#fda4af;font-size:12px;font-style:normal;font-weight:800}.order-detail-ai p{max-height:150px;margin:0;overflow:auto;color:var(--muted-strong);font-size:14px;font-weight:800;line-height:1.6;white-space:pre-wrap}.order-detail-row{min-width:0;padding:12px;background:var(--accent-soft);border-bottom:1px solid var(--line);box-shadow:inset 3px 0 0 var(--accent)}.order-inline-editor{position:static;max-height:none;overflow:visible;box-shadow:none}.order-inline-editor .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:760px){.order-head-actions{min-width:0;width:100%;justify-items:stretch}.order-status-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.order-status-card{min-height:58px;padding:9px 8px}.order-status-card .label{font-size:12px}.order-status-card .value{gap:3px;font-size:20px}.order-status-card .value b{margin-left:6px}.order-status-card small{font-size:11px}.order-list-surface{padding:10px}.order-quick-modules{display:flex;gap:6px}.order-quick-stack{align-items:stretch;flex-direction:column}.order-inline-import{width:100%;min-width:0;flex:0 1 auto;justify-items:stretch;margin-left:0}.order-inline-import .import-actions{justify-content:stretch}.order-inline-import .import-actions input{min-width:0}.order-inline-import .import-actions span{display:none}.order-quick-card{min-height:34px;padding:6px 9px}.order-quick-counts{gap:5px}.order-quick-counts strong{font-size:14px}.order-quick-note{display:none}.order-list-title,.order-list-title-left{display:grid;grid-template-columns:1fr;align-items:stretch;grid-gap:8px;gap:8px}.order-list-search,.order-list-sort{width:100%;min-width:0;flex-basis:auto}.order-list-title .module-note{text-align:left}.order-scroll{width:100%;max-width:100%;overflow-x:hidden;overflow-y:visible}.order-table,.order-table.with-inline-shipping{width:100%;max-width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-gap:10px;gap:10px;border:0;border-radius:0;overflow:visible}.order-table-header{display:none}.order-row{width:100%;max-width:100%;min-width:0;min-height:0;grid-template-columns:minmax(0,1fr);align-items:start;gap:7px 10px;padding:12px;border:1px solid var(--line);border-radius:8px}.order-row,.order-row.is-striped{background:var(--panel)}.order-row.selected,.order-row:hover{box-shadow:inset 3px 0 0 var(--accent)}.order-cell{width:100%;max-width:100%;min-width:0;height:auto;min-height:0;display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:4px;overflow:visible;color:var(--text);font-size:13px;line-height:1.25;white-space:normal}.order-cell:before{flex:0 0 auto;color:var(--muted);font-size:11px;font-weight:900;line-height:1.25}.order-cell:nth-child(2):before{content:"状态"}.order-cell:nth-child(3):before{content:"客户"}.order-cell:nth-child(4):before{content:"SKU / 库存"}.order-cell:nth-child(5):before{content:"图片"}.order-cell:nth-child(6):before{content:"数量"}.order-cell:nth-child(7):before{content:"金额"}.order-cell:nth-child(8):before{content:"类型"}.order-cell:nth-child(9):before{content:"操作"}.order-table.with-inline-shipping .order-cell:nth-child(9):before{content:"物流单"}.order-table.with-inline-shipping .order-cell:nth-child(10):before{content:"操作"}.order-cell:first-child{display:none}.order-edit-cell,.order-image-cell,.order-inline-waybill-cell,.order-products-cell{grid-column:1/-1}.order-cell .inventory-hit-stack,.order-cell .order-image-stack,.order-cell span,.order-cell strong,.order-line-badges,.order-product-warehouse,.order-sku-text{white-space:normal}.order-index-cell{justify-content:start;text-align:left}.order-product-line{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto}.order-product-warehouse{display:none}.inventory-hit-chip,.order-edit-cell .as-chip,.order-table .badge{min-height:28px;padding:0 10px;font-size:13px}.order-image-empty,.order-product-thumb{width:54px;height:54px}.order-edit-cell{justify-content:stretch}.order-edit-cell:before{display:none}.order-edit-cell .as-chip{width:100%;min-height:38px}.order-inline-waybill-input{max-width:none}.order-detail-row{margin-top:-10px;padding:10px;border:1px solid var(--accent);border-top:0;border-radius:0 0 8px 8px}.order-inline-editor .form-grid{grid-template-columns:1fr;padding:10px}.order-detail-block dl,.order-detail-items,.order-detail-summary{grid-template-columns:1fr}}.pending-tool-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pending-notice-status,.pending-verification-block{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pending-notice-status{font-size:12px;color:var(--muted-strong)}.pending-notice-status .split-action-button{padding:4px 9px;font-size:12px}.customs-notice-dialog{width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 40px);padding:20px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}.customs-notice-dialog::-webkit-backdrop{background:rgb(0 0 0/60%)}.customs-notice-dialog::backdrop{background:rgb(0 0 0/60%)}.customs-notice-dialog h2{margin:0 0 12px}.customs-notice-dialog section{padding:14px 0;border-top:1px solid var(--line)}.customs-notice-dialog img{display:block;width:100%;height:auto;margin:12px 0;border-radius:8px}.customs-notice-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65}.customs-notice-orders{display:block;font-size:12px;color:var(--muted-strong);overflow-wrap:anywhere}.customs-notice-dialog footer{display:flex;justify-content:flex-end;gap:10px;position:-webkit-sticky;position:sticky;bottom:-20px;padding:14px 0;background:var(--panel)}.pending-tool-results{margin:10px 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);color:var(--text)}.pending-tool-results p{margin:0 0 8px;overflow-wrap:anywhere}.pending-tool-results summary{cursor:pointer;color:var(--muted-strong)}.pending-package-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));grid-gap:8px;gap:8px;margin-top:10px;max-height:360px;overflow:auto}.pending-package-card{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere;font-size:13px}.pending-verification{display:block;font-size:12px;overflow-wrap:anywhere;color:var(--warning)}.pending-verification.is-passed{color:var(--green)}.pending-verification.is-mismatch,.pending-verification.is-missing{color:var(--danger)}@media(max-width:640px){.pending-tool-buttons{width:100%}.pending-tool-buttons button{flex:1 1 140px}}.manual-logistics-dialog{width:min(960px,calc(100vw - 24px));max-height:90vh;padding:20px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:auto}.manual-logistics-dialog::-webkit-backdrop{background:#0008}.manual-logistics-dialog::backdrop{background:#0008}.manual-logistics-dialog header,.manual-logistics-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.manual-logistics-dialog p{line-height:1.5}.manual-logistics-units{display:grid;grid-gap:8px;gap:8px;margin:16px 0}.manual-logistics-unit{display:grid;grid-template-columns:minmax(160px,1fr) 160px 100px;grid-gap:12px;gap:12px;padding:10px;border:1px solid var(--line);border-radius:8px;align-items:center}.manual-logistics-unit small{display:block;color:var(--muted);overflow-wrap:anywhere}.manual-logistics-unit label{display:grid;grid-gap:4px;gap:4px}.manual-logistics-toolbar input,.manual-logistics-unit input,.manual-logistics-unit select{width:100%;min-width:0;background:var(--input);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:9px}.manual-logistics-package{display:grid;grid-gap:6px;gap:6px;padding:12px;margin:8px 0;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.manual-logistics-package a{justify-self:start}.manual-logistics-warning{padding:12px;border:1px solid #ba7933;border-radius:8px}.manual-logistics-toolbar input{flex:1 1;min-width:160px}@media(max-width:600px){.manual-logistics-dialog{padding:12px}.manual-logistics-unit{grid-template-columns:1fr 95px}.manual-logistics-unit>span{grid-column:1/3}.manual-logistics-unit label:first-of-type{grid-column:1}.manual-logistics-unit label:last-of-type{grid-column:2}}.manual-logistics-dialog header{position:-webkit-sticky;position:sticky;top:-20px;z-index:3;background:var(--panel);padding:8px 0}@media(max-width:600px){.manual-logistics-dialog header{top:-12px}}.ready-repack-dialog{white-space:normal;text-align:left;overflow-wrap:anywhere}.ready-repack-dialog p{white-space:normal;line-height:1.65}.repack-group{border:1px solid var(--line);border-radius:8px;padding:12px;margin:14px 0}.repack-group h3{margin:0 0 10px}.repack-counts{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.repack-counts span{padding:6px 8px;background:var(--input);border-radius:5px}.repack-counts .is-over{color:#ff8e8e;border:1px solid #be4d4d}.repack-unit{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr);grid-gap:12px;gap:12px;border-top:1px solid var(--line);padding:10px 0;align-items:center}.repack-unit>div:first-child{display:flex;gap:10px;align-items:center;min-width:0}.repack-unit img{width:52px;height:62px;object-fit:contain;border-radius:5px}.repack-unit small,.repack-unit strong{overflow-wrap:anywhere;display:block}.repack-unit small{color:var(--muted)}.repack-unit [role=group]{display:flex;gap:6px;flex-wrap:wrap}.repack-unit .is-checked{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.ready-repack-dialog .manual-logistics-warning button{margin:5px 8px 5px 0}@media(max-width:600px){.repack-unit{grid-template-columns:minmax(0,1fr)}.repack-group{padding:9px}.ready-repack-dialog h2{font-size:18px}}.package-context-note,.package-item-source{display:block;font-size:12px;color:var(--muted-strong);white-space:normal;overflow-wrap:anywhere}.order-product-line>.package-item-source{grid-column:1/-1;grid-row:2}.order-money-cell{flex-wrap:wrap}.order-money-cell>.package-context-note{flex-basis:100%}.logistics-scope-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:18px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:auto;white-space:normal;text-align:left}.logistics-scope-dialog::-webkit-backdrop{background:#0009}.logistics-scope-dialog::backdrop{background:#0009}.logistics-scope-dialog header{display:flex;justify-content:space-between;align-items:center;gap:10px;position:-webkit-sticky;position:sticky;top:-18px;background:var(--panel);padding:8px 0;z-index:2}.logistics-scope-dialog h2{font-size:18px;margin:0}.logistics-scope-dialog p{line-height:1.6;overflow-wrap:anywhere;font-size:14px}.logistics-scope-items{display:grid;grid-gap:10px;gap:10px;margin:14px 0}.logistics-scope-item{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:8px;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px}.logistics-scope-item small{display:block;color:var(--muted-strong);overflow-wrap:anywhere;font-size:12px;white-space:normal}.logistics-scope-item>small{grid-column:1/-1}.logistics-scope-dialog footer{display:flex;gap:10px;justify-content:flex-end;position:-webkit-sticky;position:sticky;bottom:-18px;padding:12px 0;background:var(--panel);z-index:2}.logistics-scope-dialog footer button{white-space:normal}@media(max-width:600px){.logistics-scope-dialog{padding:12px}.logistics-scope-dialog header{top:-12px}.logistics-scope-item{grid-template-columns:minmax(0,1fr)}.logistics-scope-item .inline-logistics-radios{justify-self:start}.logistics-scope-dialog footer{bottom:-12px;flex-wrap:wrap}.logistics-scope-dialog footer button{flex:1 1 120px}}@media(max-width:860px){.order-cell.order-index-cell{display:flex;grid-column:1/-1}.order-index-cell .all-order-index{flex-direction:row;gap:8px}.order-image-choice-line{width:100%}.inline-logistics-actions{max-width:none;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.inline-logistics-actions>small{grid-column:1/-1}.order-product-line{min-height:0}}.print-submission-tag{color:var(--warning);font-weight:600}.print-record-history{font-size:12px;white-space:normal;text-align:left;overflow-wrap:anywhere}.print-record-history small,.print-record-history>span{display:block;margin:5px 0}.print-record-history summary{cursor:pointer;color:var(--muted-strong)}.print-reason-dialog{width:min(440px,calc(100vw - 24px));max-height:90dvh;overflow:auto;box-sizing:border-box;white-space:normal;text-align:left;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}.print-reason-dialog::-webkit-backdrop{background:#0009}.print-reason-dialog::backdrop{background:#0009}.print-reason-dialog h3{margin-top:0}.print-reason-dialog p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.print-reason-options{display:flex;gap:12px;flex-wrap:wrap}.print-reason-options label{display:flex;gap:8px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.print-reason-options input{width:18px;height:18px}.print-reason-dialog .detail-actions{justify-content:flex-end;flex-wrap:wrap}.warehouse-workbench{display:grid;grid-gap:14px;gap:14px}.inventory-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.warehouse-workbench .inventory-metrics{grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px}.warehouse-workbench .inventory-metric-button{min-height:0;padding:10px 14px;gap:2px}.warehouse-workbench .inventory-metric-button span{font-size:clamp(15px,1.1vw,18px);line-height:1.1}.warehouse-workbench .inventory-metric-button strong{font-size:22px;line-height:1.1}.warehouse-workbench .inventory-metric-button small{font-size:12px}.warehouse-scan-panel{display:grid;grid-gap:12px;gap:12px}.stock-scan-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:24px}.stock-scan-panel .section-title{grid-column:1/-1}.stock-scan-panel .scan-feedback,.stock-scan-panel .stock-scan-form{grid-column:1}.stock-scan-panel .stock-batch-form{grid-column:2;grid-row:2/span 2;max-width:none;padding-top:0;border-top:0}.stock-scan-panel .stock-scan-form{max-width:none}.stock-scan-panel .stock-batch-form .batch-import-input{min-height:214px}.stock-view-tabs{display:inline-flex;align-items:center;gap:8px;min-width:0}.stock-view-tab{min-width:108px;min-height:38px}.stock-view-tab.active{color:#081110;background:var(--accent);border-color:var(--accent)}.theme-light .stock-view-tab.active{color:#ffffff}.recount-clear-button{min-width:160px;color:#ffb4ac;border-color:rgba(255,117,106,.62);background:rgba(255,117,106,.08)}.recount-clear-button:hover:not(:disabled){color:#fff4f2;border-color:rgba(255,117,106,.9);background:rgba(255,117,106,.2)}.theme-light .recount-clear-button{color:#a52820;border-color:rgba(176,42,32,.48);background:rgba(176,42,32,.08)}.scan-form{display:grid;grid-gap:10px;gap:10px}.scan-form-row{display:grid;grid-template-columns:minmax(280px,1fr) minmax(160px,.22fr);grid-gap:10px;gap:10px;align-items:end}.stock-batch-form,.stock-scan-form{max-width:860px;align-content:start}.stock-scan-form-row{grid-template-columns:1fr;gap:10px;align-items:stretch}.stock-scan-form-row .warehouse-select-field{order:1;max-width:280px}.stock-scan-form-row .scan-sku-field{order:2}.stock-batch-form .batch-warehouse-field{max-width:280px}.stock-form-actions{display:grid;justify-items:start;grid-gap:8px;gap:8px}.stock-form-actions .primary-button{min-width:94px}.batch-import-panel label,.scan-form label{display:grid;grid-gap:6px;gap:6px;color:var(--muted);font-size:12px;font-weight:750}.batch-import-panel p,.scan-form p{margin:0;align-self:center;color:var(--muted);font-size:13px}.scan-feedback{min-height:74px;display:grid;align-content:center;grid-gap:6px;gap:6px;padding:14px;background:var(--panel-strong);border:1px solid var(--line);border-radius:8px}.scan-feedback strong{display:block;font-size:22px;line-height:1.15;letter-spacing:0}.scan-feedback span{color:var(--muted);font-size:13px}.scan-feedback.idle strong{color:var(--accent)}.scan-feedback.success{background:var(--green-soft);border-color:rgba(136,204,161,.56)}.scan-feedback.success strong{color:var(--green)}.scan-feedback.danger{background:var(--red-soft);border-color:rgba(227,125,116,.58)}.danger-text,.scan-feedback.danger strong{color:var(--red)}.scan-feedback-meta{display:flex;flex-wrap:wrap;gap:6px}.scan-feedback-meta span{min-height:22px;display:inline-flex;align-items:center;padding:2px 7px;background:rgba(11,15,16,.42);border:1px solid rgba(255,255,255,.08);border-radius:999px}.scan-input{padding:0 14px;font-size:22px;letter-spacing:0}.scan-input,.warehouse-select{min-height:58px;font-weight:850}.warehouse-select{font-size:15px}.thumb-cell{width:128px}.sku-thumb{width:104px;height:104px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:var(--panel-strong);border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:16px;font-weight:850;line-height:1;text-decoration:none;vertical-align:middle}.sku-thumb[href]{cursor:zoom-in}.sku-thumb[href]:hover{border-color:var(--accent);box-shadow:0 0 0 2px rgba(118,205,194,.16)}.sku-thumb img{width:100%;height:100%;display:block;object-fit:cover}.sku-thumb.empty{background:rgba(255,255,255,.03)}.batch-import-panel{display:grid;grid-gap:10px;gap:10px;padding-top:10px;border-top:1px solid var(--line)}.shipment-batch-form{grid-template-columns:minmax(0,1fr) minmax(300px,360px);column-gap:16px;align-items:start}.shipment-batch-form .batch-warehouse-field,.shipment-batch-form .form-actions{grid-column:1/-1}.shipment-waybill-field{grid-column:1}.special-shipment-table-field{grid-column:2;min-width:0}.special-shipment-table-input{min-height:132px;max-height:132px;resize:none}.batch-warehouse-field{max-width:220px}.batch-import-input{min-height:132px;resize:vertical;line-height:1.45;font-size:13px;font-weight:650}.pending-arrival-print-panel{padding:0;overflow:hidden}.pending-arrival-print-head{padding:16px;margin:0;border-bottom:1px solid var(--line)}.pending-arrival-print-body{display:grid;grid-template-columns:minmax(300px,.42fr) minmax(0,1fr);grid-gap:16px;gap:16px;padding:16px}.pending-arrival-entry{display:grid;align-content:start;grid-gap:14px;gap:14px}.arrival-source-tabs{gap:8px}.arrival-scope-actions,.arrival-source-tabs{display:flex;flex-wrap:wrap;padding:16px 16px 0}.arrival-scope-actions{gap:10px}.arrival-scope-actions button{min-height:44px;flex:1 1 220px}.arrival-history-note{margin:0;padding:12px;line-height:1.6;background:var(--panel-strong);border:1px solid var(--line);border-radius:8px;color:var(--muted-strong)}.arrival-source-tabs .active{color:var(--accent);border-color:var(--accent);background:var(--panel-strong)}.arrival-print-status{margin:12px 16px 0;padding:12px;color:var(--text);background:var(--panel-strong);border:1px solid var(--line);border-radius:8px;line-height:1.5}.arrival-date-controls{display:grid;grid-gap:12px;gap:12px}.arrival-date-controls input{width:100%;min-width:0;min-height:44px}.arrival-date-controls .primary-button{min-height:44px}.arrival-date-note{margin:0;line-height:1.6}.arrival-date-totals{display:grid;grid-gap:6px;gap:6px;line-height:1.5}.arrival-date-totals span{color:var(--accent);font-weight:850}.arrival-date-error{color:var(--danger,#f28b82);margin:0;line-height:1.5}.arrival-date-table-wrap{min-width:0;max-height:430px;overflow:auto;border:1px solid var(--line);border-radius:8px}.arrival-date-table{width:100%;border-collapse:collapse;font-size:13px}.arrival-date-table td,.arrival-date-table th{padding:10px 6px;border-bottom:1px solid var(--line);text-align:center}.arrival-date-table th{white-space:nowrap;color:var(--muted)}.arrival-date-table td:first-child,.arrival-date-table th:first-child{text-align:left;overflow-wrap:anywhere}.arrival-date-table small{display:block;max-width:160px;margin-top:4px;color:var(--muted);line-height:1.4}.arrival-date-table input{width:64px;min-height:42px;padding:6px;text-align:center}.pending-arrival-entry label{display:grid;grid-gap:8px;gap:8px;color:var(--muted);font-size:13px;font-weight:900}.pending-arrival-input{min-height:280px;resize:vertical;font-size:18px;font-weight:850;line-height:1.55}.pending-arrival-summary{display:grid;grid-gap:4px;gap:4px;padding:14px;background:var(--panel-strong);border:1px solid var(--line);border-radius:8px}.pending-arrival-summary strong{color:var(--accent);font-size:28px;line-height:1}.pending-arrival-preview-head span,.pending-arrival-summary span{color:var(--muted);font-size:13px;font-weight:850}.pending-arrival-actions{display:flex;align-items:center;gap:8px}.pending-arrival-actions .primary-button{min-height:46px;padding:0 20px;font-size:16px;font-weight:950}.pending-arrival-preview-wrap{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);grid-gap:10px;gap:10px}.pending-arrival-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.pending-arrival-preview-head strong{font-size:17px;font-weight:950}.pending-arrival-preview{min-height:360px;max-height:min(720px,calc(100vh - 300px));display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));align-content:start;grid-gap:12px;gap:12px;overflow-y:auto;padding:12px;background:var(--panel-strong);border:1px solid var(--line);border-radius:8px;scrollbar-gutter:stable}.pending-arrival-label{min-width:0;aspect-ratio:3/2;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto auto;place-items:center;grid-gap:4px;gap:4px;padding:8px;color:#071719;background:#ffffff;border:1px solid #c8d8da;border-radius:6px}.pending-arrival-label img,.pending-arrival-qr-loading{grid-column:1;grid-row:1;width:min(88px,100%);aspect-ratio:1}.pending-arrival-label img{display:block;object-fit:contain;image-rendering:crisp-edges}.pending-arrival-qr-loading{display:grid;place-items:center;color:#647679;background:#edf3f3;font-size:13px;font-weight:850}.pending-arrival-label strong{grid-column:1;grid-row:2;align-self:center;max-width:100%;font-size:20px;font-weight:950;line-height:1.15;overflow-wrap:anywhere;text-align:center}.pending-arrival-label small{grid-column:1;grid-row:3;color:#516568;font-size:11px;font-weight:850}.pending-arrival-label.jewelry{grid-template-columns:minmax(0,1fr) minmax(76px,.92fr);grid-template-rows:1fr;place-items:stretch;gap:8px;padding:10px 12px}.pending-arrival-jewelry-sku{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.pending-arrival-label.jewelry .pending-arrival-jewelry-sku strong{grid-column:auto;grid-row:auto;max-width:none;font-size:clamp(15px,1.2vw,22px);line-height:1;letter-spacing:-.02em;white-space:nowrap}.pending-arrival-label.jewelry .pending-arrival-jewelry-sku small{grid-column:auto;grid-row:auto;font-size:10px}.pending-arrival-jewelry-qr{min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;grid-gap:3px;gap:3px}.pending-arrival-label.jewelry .pending-arrival-jewelry-qr .pending-arrival-qr-loading,.pending-arrival-label.jewelry .pending-arrival-jewelry-qr img{grid-column:auto;grid-row:auto;width:min(88px,100%)}.pending-arrival-price{color:#071719;font-size:22px;font-weight:950;line-height:1}.pending-arrival-empty{min-height:320px;display:grid;place-items:center;padding:24px;color:var(--muted);font-size:14px;font-weight:850;text-align:center;border:1px dashed rgba(138,154,158,.38);border-radius:8px}.pending-overview-panel{padding:0}.pending-overview-head{display:grid;grid-template-columns:auto auto minmax(280px,auto) minmax(300px,auto) minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;padding:18px 14px;margin:0;border-bottom:1px solid var(--line)}.pending-overview-head>span:first-child{color:var(--text);font-size:24px;font-weight:950}.pending-overview-head .primary-button{min-height:40px;padding:0 16px;font-size:18px;font-weight:950}.pending-html-button{justify-self:start}.shortage-date-filter{display:inline-flex;align-items:center;gap:8px;min-width:0}.shortage-date-filter span{color:var(--muted);font-size:12px;font-weight:900;white-space:nowrap}.shortage-date-filter input{width:150px;min-height:40px;padding:0 10px;font-weight:850}.shortage-date-filter .mini-button{min-height:40px;white-space:nowrap}.pending-overview-head .module-note{justify-self:end;font-size:14px;font-weight:900;text-align:right}.arrival-decision-panel{margin:14px 14px 0;padding:12px;background:var(--panel-strong);border:1px solid rgba(127,211,199,.42);border-radius:8px}.arrival-decision-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.arrival-decision-panel>header strong{color:var(--accent);font-size:16px;font-weight:950}.arrival-decision-panel>header span{color:var(--muted);font-size:12px;font-weight:900}.arrival-decision-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));grid-gap:8px;gap:8px;max-height:320px;overflow-y:auto;scrollbar-gutter:stable}.arrival-decision-item{display:grid;grid-template-columns:84px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;min-width:0;padding:10px;background:var(--panel-soft);border:1px solid var(--line);border-radius:8px}.arrival-decision-item>.sku-thumb{width:84px;height:84px}.arrival-decision-copy{min-width:0}.arrival-decision-copy small,.arrival-decision-copy span,.arrival-decision-copy strong{display:block}.arrival-decision-copy span{margin:4px 0;color:var(--muted-strong)}.arrival-decision-copy small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arrival-decision-actions{display:grid;grid-gap:8px;gap:8px}.arrival-return-button{color:var(--accent);border-color:rgba(127,211,199,.52)}.pending-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;padding:14px}.process-panel{align-items:start}.process-panel .pending-card{min-height:0;height:clamp(360px,calc(100vh - 180px),760px);grid-template-rows:auto minmax(0,1fr);overflow:hidden}.process-panel .pending-card-body{min-height:0;height:100%;max-height:none;overflow-x:hidden;overflow-y:scroll;padding-right:6px;align-content:start;scrollbar-gutter:stable}.scan-pending-wrap{display:grid;grid-gap:10px;gap:10px;padding-top:10px;border-top:1px solid var(--line)}.scan-pending-title{margin:0;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text);font-size:16px;font-weight:950}.scan-pending-title small{color:var(--muted);font-size:12px;font-weight:900}.scan-pending-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.pending-card{min-width:0;display:grid;grid-gap:10px;gap:10px;padding:12px;background:var(--panel-strong);border:1px solid var(--line);border-radius:8px}.pending-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.pending-card header span,.pending-card header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-card header strong{color:var(--text);font-size:16px;font-weight:950}.pending-card header span{color:var(--muted);font-size:12px;font-weight:900}.pending-card-body{display:grid;grid-gap:8px;gap:8px;min-height:98px}.pending-empty-state{min-height:98px;display:grid;place-items:center;padding:18px;color:var(--muted);font-size:13px;font-weight:850;text-align:center;background:rgba(9,13,14,.42);border:1px dashed rgba(138,154,158,.38);border-radius:8px}.pending-item{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--panel-soft)}.pending-drop-zone{transition:border-color .16s ease,box-shadow .16s ease}.pending-drop-zone:has(.pending-item-draggable:hover),.pending-drop-zone:hover{border-color:rgba(127,211,199,.48)}.pending-item-draggable{cursor:-webkit-grab;cursor:grab}.pending-item-draggable:active{cursor:-webkit-grabbing;cursor:grabbing;opacity:.82}.pending-item>div{min-width:0}.process-panel .pending-item .sku-thumb{flex:0 0 auto}.pending-item small,.pending-item span,.pending-item strong{display:block}.pending-item span{margin:4px 0;color:var(--muted-strong);line-height:1.35}.return-backlog-meta{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px}.return-order-badge{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;font-size:12px;font-style:normal;font-weight:950;line-height:1;white-space:nowrap}.return-order-badge.linked{color:var(--accent);background:rgba(20,121,107,.22);border:1px solid rgba(127,211,199,.42)}.return-order-badge.sample{color:var(--muted-strong);background:rgba(138,154,158,.12);border:1px solid rgba(138,154,158,.28)}.impact-orders{display:inline;font-style:normal;word-break:break-all}.impact-orders,.pending-item small{color:var(--muted)}.inventory-panel{padding:0}.inventory-list-title{padding:14px;margin:0;border-bottom:1px solid var(--line)}.inventory-date-toolbar{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0;padding:0;border:0;background:transparent;box-shadow:none}.inventory-page-toolbar{display:inline-flex;align-items:center;gap:8px}.inventory-page-toolbar .mini-button[disabled]{opacity:.45;cursor:not-allowed}.inventory-date-actions{display:inline-flex;align-items:center;gap:0}.inventory-date-input{width:150px;padding:0 10px;font-size:13px}.inventory-date-input,.inventory-sku-search{min-height:36px;color:var(--text);background:var(--panel);border:1px solid var(--line-strong);border-radius:8px;font-weight:850}.inventory-sku-search{width:min(320px,36vw);padding:0 12px;font-size:14px}.inventory-sku-search::placeholder{color:var(--muted)}.inventory-date-actions .mini-button{min-width:36px;min-height:36px;border-radius:7px;padding:0 8px;color:var(--text);background:var(--panel);border-color:var(--line-strong)}.inventory-date-actions .inventory-date-today{min-width:54px}.movement-list{max-height:none;overflow:visible;padding:14px}.inventory-pivot-table{min-width:760px}.inventory-pivot-table,.inventory-stock-table{font-size:24px}.inventory-pivot-table td,.inventory-pivot-table th,.inventory-stock-table td,.inventory-stock-table th{text-align:center;white-space:nowrap;font-weight:900}.inventory-pivot-table td:first-child,.inventory-pivot-table th:first-child,.inventory-stock-table td:first-child,.inventory-stock-table th:first-child{text-align:left}.inventory-pivot-table .pivot-qty{color:var(--accent);font-weight:950}.empty-table-cell,.inventory-pivot-table .pivot-empty{color:var(--muted)}.empty-table-cell{padding:28px 14px;text-align:center!important;font-weight:850}.scan-record-table{display:grid;grid-gap:6px;gap:6px}.scan-record-row{display:grid;grid-template-columns:54px minmax(110px,.8fr) minmax(92px,.7fr) minmax(76px,.6fr) 76px minmax(90px,.7fr) minmax(76px,.45fr) minmax(160px,1.25fr) 64px;align-items:center;grid-gap:10px;gap:10px;min-height:76px;padding:9px 11px;color:var(--text);background:var(--panel-soft);border:1px solid var(--line);border-radius:8px}.scan-record-head{min-height:28px;color:var(--muted);font-size:12px;font-weight:800;background:transparent;border-color:transparent;cursor:default}.scan-record-note,.scan-record-sku{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scan-record-thumb-cell{display:flex;align-items:center}.scan-record-thumb-cell .sku-thumb{width:64px;height:64px;font-size:12px}.scan-record-delta{font-weight:900}.scan-record-delta.positive{color:var(--green)}.scan-record-delta.negative{color:var(--red)}.scan-record-actions{justify-self:end}@media (max-width:1180px){.inventory-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-scan-panel{grid-template-columns:1fr}.stock-scan-panel .scan-feedback,.stock-scan-panel .stock-batch-form,.stock-scan-panel .stock-scan-form{grid-column:1}.stock-scan-panel .stock-batch-form{grid-row:auto;padding-top:10px;border-top:1px solid var(--line)}.batch-import-panel,.pending-arrival-print-body,.pending-panel,.scan-form-row{grid-template-columns:1fr}.shipment-batch-form .batch-warehouse-field,.shipment-batch-form .form-actions,.shipment-batch-form .shipment-waybill-field,.shipment-batch-form .special-shipment-table-field{grid-column:1}}@media (max-width:760px){.warehouse-workbench{gap:10px}.warehouse-workbench .inventory-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.warehouse-workbench .inventory-metric-button{min-height:100px;padding:12px}.warehouse-workbench .inventory-metric-button span,.warehouse-workbench .inventory-metric-button strong{font-size:24px}.warehouse-workbench .inventory-metric-button small{font-size:11px;line-height:1.35;white-space:normal}.warehouse-scan-panel{gap:10px;padding:10px}.batch-import-panel,.scan-form-row,.stock-scan-form-row{grid-template-columns:1fr}.stock-batch-form .batch-warehouse-field,.stock-scan-form-row .warehouse-select-field{max-width:none}.scan-input,.warehouse-select{min-height:52px;font-size:18px}.form-actions,.stock-form-actions{display:grid;grid-template-columns:1fr;justify-items:stretch}.batch-import-panel .primary-button,.form-actions .primary-button,.stock-form-actions .primary-button{width:100%;min-height:46px}.stock-view-tabs{width:100%;overflow-x:auto;padding-bottom:2px}.stock-view-tab{flex:1 0 96px;min-width:96px}.pending-overview-head{grid-template-columns:1fr;gap:8px;padding:12px}.pending-arrival-print-body{padding:10px}.pending-arrival-input{min-height:220px}.pending-arrival-preview{grid-template-columns:repeat(2,minmax(0,1fr));max-height:560px;padding:8px;gap:8px}.pending-arrival-label{padding:8px}.pending-arrival-label.jewelry{grid-template-columns:minmax(0,.82fr) minmax(62px,1.18fr);gap:4px;padding:6px}.pending-arrival-label.jewelry .pending-arrival-jewelry-sku strong{font-size:13px}.pending-arrival-price{font-size:17px}.pending-arrival-label strong{font-size:16px}.shortage-date-filter{flex-wrap:wrap;width:100%}.shortage-date-filter input{flex:1 1 150px}.pending-overview-head .module-note{justify-self:start;text-align:left}.arrival-decision-panel{margin:10px 10px 0}.arrival-decision-list{grid-template-columns:1fr;max-height:420px}.arrival-decision-item{grid-template-columns:72px minmax(0,1fr)}.arrival-decision-item>.sku-thumb{width:72px;height:72px}.arrival-decision-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.pending-panel,.scan-pending-panel{grid-template-columns:1fr;padding:10px}.process-panel .pending-card{height:auto;max-height:520px}.pending-item{display:grid;grid-gap:8px;gap:8px}.inventory-list-title{padding:12px}.inventory-date-toolbar{width:100%;justify-content:stretch}.inventory-date-input{flex:1 1 auto;width:auto;min-width:0}.inventory-sku-search{width:100%;min-width:0}.movement-list{max-height:none;padding:10px}.inventory-pivot-table,.inventory-stock-table{min-width:660px;font-size:16px}.scan-record-table{gap:8px}.scan-record-head{display:none}.scan-record-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px 12px;min-height:0;padding:12px}.scan-record-row>span{min-width:0;display:grid;grid-gap:3px;gap:3px;white-space:normal}.scan-record-row>span:before{color:var(--muted);font-size:11px;font-weight:900;line-height:1.2}.scan-record-row>span:first-child:before{content:"#"}.scan-record-row>span:nth-child(2):before{content:"时间"}.scan-record-row>span:nth-child(3):before{content:"类型"}.scan-record-row>span:nth-child(4):before{content:"SKU"}.scan-record-row>span:nth-child(5):before{content:"缩略图"}.scan-record-row>span:nth-child(6):before{content:"仓库"}.scan-record-row>span:nth-child(7):before{content:"数量"}.scan-record-row>span:nth-child(8):before{content:"单号/备注"}.scan-record-row>span:nth-child(9):before{content:"操作"}.scan-record-actions,.scan-record-note{grid-column:1/-1}.scan-record-actions{justify-self:stretch}.scan-record-actions .mini-button{width:100%}}.viz-panel{display:grid;grid-gap:16px;gap:16px;padding:16px}.viz-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.viz-summary-card{display:grid;grid-gap:4px;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.viz-summary-card span{color:var(--muted);font-size:13px;font-weight:700}.viz-summary-card strong{font-size:26px;font-weight:900;color:var(--text);line-height:1.1}.viz-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.viz-block{display:grid;grid-gap:12px;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);align-content:start}.viz-block-wide{grid-column:1/-1}.viz-block h4{margin:0;font-size:15px;font-weight:850;color:var(--text)}.viz-bars{display:grid;grid-gap:8px;gap:8px}.viz-bar-row{display:grid;grid-template-columns:120px 1fr 72px;align-items:center;grid-gap:10px;gap:10px}.viz-bar-label{font-size:13px;font-weight:800;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viz-bar-track{height:18px;border-radius:9px;background:rgba(127,127,127,.16);overflow:hidden}.viz-bar-fill{display:block;height:100%;border-radius:9px;background:var(--accent)}.viz-bar-fill.warn{background:#e0a83a}.viz-bar-fill.danger{background:#e0675a}.viz-bar-value{font-size:13px;font-weight:800;color:var(--muted);text-align:right}.viz-trend{display:flex;align-items:flex-end;gap:6px;overflow-x:auto;padding-top:8px}.viz-trend-col{display:grid;justify-items:center;grid-gap:6px;gap:6px;flex:1 0 40px}.viz-trend-value{font-size:12px;font-weight:800;color:var(--muted)}.viz-trend-bar-wrap{display:flex;align-items:flex-end;height:130px;width:26px}.viz-trend-bar{width:100%;border-radius:6px 6px 0 0;background:var(--accent);min-height:3px}.viz-trend-bar.warn{background:#e0a83a}.viz-trend-bar.danger{background:#e0675a}.viz-trend-date{font-size:11px;color:var(--muted);font-weight:700;white-space:nowrap}.viz-split-wrap{display:grid;grid-gap:12px;gap:12px}.viz-split-bar{display:flex;height:28px;border-radius:8px;overflow:hidden;background:rgba(127,127,127,.16)}.viz-split-seg{display:block;height:100%}.viz-split-seg.ok{background:#5fb87a}.viz-split-seg.warn{background:#e0a83a}.viz-split-seg.linked{background:#5ac8b8}.viz-split-seg.sample{background:#7a8a8d}.viz-split-seg.danger{background:#e0675a}.viz-split-legend{display:flex;flex-wrap:wrap;gap:14px}.viz-split-legend-item{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:750;color:var(--text)}.viz-dot{width:12px;height:12px;border-radius:3px;display:inline-block}.viz-dot.ok{background:#5fb87a}.viz-dot.warn{background:#e0a83a}.viz-dot.linked{background:#5ac8b8}.viz-dot.sample{background:#7a8a8d}.viz-dot.danger{background:#e0675a}@media (max-width:980px){.viz-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.viz-grid{grid-template-columns:1fr}}.customer-archives{min-width:0}.customer-archive-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.customer-archive-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:16px 0 12px}.customer-archives .customer-control{min-width:160px}.customer-archives .customer-search{flex:1 1;min-width:240px}.customer-archives .customer-control input,.customer-archives .customer-control select{width:100%}.customer-archive-item{min-width:0}.customer-archive-header,.customer-archives .customer-archive-row{grid-template-columns:minmax(150px,1fr) minmax(130px,.9fr) minmax(180px,1.4fr) minmax(130px,.9fr) minmax(140px,1fr) minmax(150px,1.1fr) 24px}.customer-archive-header{display:grid;align-items:center;grid-gap:12px;gap:12px;padding:0 13px;margin-bottom:10px;color:var(--muted);font-size:12px}.customer-archive-cell{display:grid;grid-gap:6px;gap:6px;min-width:0}.customer-archive-cell small{color:var(--muted);font-size:12px}.customer-archive-cell strong{color:var(--text);font-size:13px;overflow-wrap:anywhere}.customer-archive-item.expanded>.customer-archive-row{border-color:var(--accent);border-radius:8px 8px 0 0;background:var(--panel-strong)}.customer-archive-detail{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,2fr);grid-gap:12px;gap:12px;align-items:start;padding:12px;border:1px solid var(--accent);border-top:0;border-radius:0 0 8px 8px;background:var(--panel-strong)}.customer-orders-card>.table-list{max-height:min(620px,70vh);overflow:auto}.customer-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px 12px;gap:16px 12px;margin:16px 0}.customer-profile-fields dt{color:var(--muted);font-size:12px;margin-bottom:5px}.customer-profile-fields dd{margin:0;color:var(--text);font-size:13px;overflow-wrap:anywhere}.customer-archives .customer-order-row{grid-template-columns:minmax(0,1fr) auto}.customer-archives .customer-order-row .row-title{white-space:normal;flex-wrap:wrap}.customer-archives .customer-order-row .row-meta{overflow-wrap:anywhere}.customer-support-link{display:inline-flex;margin-top:8px;text-decoration:none}.customer-archives .alert{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:14px}.customer-page-status{color:var(--muted);font-size:13px}.customer-order-binding{padding:14px 0;border-top:1px solid var(--line)}.customer-order-binding label{display:grid;grid-gap:8px;gap:8px;font-size:13px}.customer-order-binding input{width:100%;min-width:0;min-height:44px;font-size:16px}.customer-binding-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.customer-binding-actions button{min-height:40px}.customer-order-binding .alert{overflow-wrap:anywhere}@media (max-width:1200px){.customer-archive-header{display:none}.customer-archives .customer-archive-row{grid-template-columns:repeat(3,minmax(0,1fr)) 24px}.customer-archive-row .row-toggle{grid-column:-2/-1;grid-row:1}.customer-archive-detail{grid-template-columns:1fr}}@media (max-width:760px){.customer-archive-stats,.customer-archive-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-archive-toolbar{display:grid}.customer-archives .customer-control{min-width:0}.customer-archives .customer-search{grid-column:1/-1;min-width:0}.customer-archives .customer-archive-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 20px;gap:14px 8px}.customer-archive-row .row-main{grid-column:1/-2}.customer-archive-row .row-toggle{grid-column:-2/-1;grid-row:1}.customer-archive-row .customer-archive-cell{grid-column:1}.customer-archive-row .customer-archive-cell:nth-child(3),.customer-archive-row .customer-archive-cell:nth-child(5){grid-column:2}.customer-archive-row .customer-archive-cell:nth-last-child(2){grid-column:1/-2}.customer-archive-detail{padding:8px;gap:8px}.customer-archives .customer-order-row{grid-template-columns:1fr}.customer-archives .customer-order-row .row-side{text-align:left}.customer-pagination{justify-content:center}}.customer-unified{--customer-muted:var(--muted)}.customer-unified .view-head p{color:var(--muted);margin:8px 0 0}.customer-unified .stat-card{text-align:left;color:var(--text);font:inherit;cursor:pointer}.customer-unified .stat-card:disabled{opacity:1;cursor:default}.customer-unified .stat-card small{color:var(--muted);font-size:11px;font-weight:400}.customer-refresh{display:inline-flex;align-items:center;gap:7px}.customer-group-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line);margin:24px 0 0;padding-bottom:8px}.customer-detail-tabs button,.customer-group-tabs button{color:var(--muted);background:transparent;border:1px solid transparent;border-radius:7px;padding:10px 14px;font:inherit;font-size:13px;cursor:pointer}.customer-detail-tabs button[aria-current],.customer-group-tabs button[aria-current]{color:var(--text);background:var(--panel-strong);border-color:var(--accent)}.customer-unified .customer-archive-toolbar{margin:18px 0 10px}.customer-unified .customer-control{min-width:140px}.customer-search-input{position:relative}.customer-search-input svg{position:absolute;top:50%;left:11px;transform:translateY(-50%);color:var(--muted)}.customer-search-input input{padding-left:35px}.customer-secondary-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:23px}.customer-secondary-filters label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.customer-secondary-filters select{max-width:135px;min-height:32px;font-size:12px}.customer-presets{display:flex;gap:5px}.customer-secondary-filters>.module-note{margin-left:auto;font-size:11px}.customer-list-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;margin:16px 0}.customer-list-caption strong{font-size:15px}.customer-list-caption strong span{font-weight:400;color:var(--muted);font-size:12px;margin-left:10px}.customer-list-caption>small{color:var(--muted);font-size:11px}.customer-unified-header,.customer-unified-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(200px,1.4fr) minmax(220px,1.6fr) minmax(115px,.8fr) 142px 16px;grid-gap:15px;gap:15px;align-items:center}.customer-unified-header{padding:10px 16px;background:var(--panel-strong);color:var(--muted);font-size:12px;border:1px solid var(--line);border-radius:8px 8px 0 0}.customer-unified-list{border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;overflow:hidden}.customer-unified-row{width:100%;color:var(--text);background:var(--panel);border:0;border-bottom:1px solid var(--line);text-align:left;padding:17px 16px;font:inherit;font-size:13px;cursor:pointer}.customer-unified-row:last-child{border-bottom:0}.customer-unified-row:hover{background:var(--panel-strong)}.customer-unified-row:disabled{opacity:.55;cursor:wait}.customer-unified-row>span{min-width:0;overflow-wrap:anywhere}.customer-unified-row small{display:block;color:var(--muted);font-size:11px;line-height:1.65}.customer-identity{display:flex;align-items:center;gap:10px}.customer-identity strong{display:block;margin-bottom:4px}.customer-avatar{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:10px;color:var(--accent);background:var(--panel-strong)}.customer-contacts{display:grid;grid-gap:4px;gap:4px}.customer-contacts>span{display:flex;gap:9px;align-items:baseline}.customer-contacts>span>small{flex-shrink:0}.customer-behavior>strong{font-size:13px;font-weight:500}.customer-behavior>strong,.customer-history strong{display:block;margin-bottom:5px}.customer-last-active{font-size:12px;color:var(--muted);line-height:1.6}.customer-row-chevron{color:var(--muted)}.customer-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(710px,94vw);height:100dvh;max-height:100dvh;max-width:100vw;padding:0;border:0;border-left:1px solid var(--line);border-radius:0;background:var(--bg);color:var(--text);box-shadow:-12px 0 55px #0004}.customer-drawer[open]{display:flex;flex-direction:column}.customer-drawer::-webkit-backdrop{background:#0007}.customer-drawer::backdrop{background:#0007}.customer-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:25px 26px 18px;flex-shrink:0;background:var(--panel)}.customer-drawer-head p,.customer-drawer-head small{color:var(--muted);font-size:12px}.customer-drawer-head h3{font-size:23px;margin:7px 0}.customer-drawer-head p{margin:0}.customer-drawer-head button{padding:8px}.customer-detail-tabs{padding:0 20px 12px;display:flex;gap:5px;border-bottom:1px solid var(--line);background:var(--panel);flex-shrink:0}.customer-detail-tabs button{flex:1 1}.customer-drawer-body{padding:22px;overflow:auto;min-height:0;flex:1 1}.customer-drawer .customer-archive-detail{display:block;padding:0;border:0;background:transparent}.customer-drawer .customer-archive-detail [hidden]{display:none!important}.customer-drawer .customer-orders-card>.table-list{max-height:none;overflow:visible}.customer-drawer .customer-archive-detail>.detail-card{padding:0;border:0;background:transparent}.customer-drawer .customer-order-row{grid-template-columns:1fr auto}.customer-linked-accounts{padding:12px 22px;display:flex;gap:6px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);font-size:12px}.customer-linked-accounts button{display:flex;gap:5px;align-items:center}.customer-activity .module-note{font-size:12px;line-height:1.65}.customer-activity-stats{display:flex;gap:15px;flex-wrap:wrap;background:var(--panel);padding:13px;border-radius:8px;margin:15px 0;font-size:12px}.customer-activity-stats b{margin-left:5px}.customer-timeline{list-style:none;padding:0;margin:20px 0}.customer-timeline>li{display:flex;position:relative;gap:17px;padding:0 0 23px}.customer-timeline>li:not(:last-child):before{content:"";position:absolute;width:1px;background:var(--line);top:10px;bottom:0;left:4px}.customer-event-dot{position:relative;width:9px;height:9px;flex-shrink:0;border-radius:50%;background:var(--accent);margin-top:5px}.customer-event-content{flex:1 1;min-width:0}.customer-event-title{display:flex;gap:10px;justify-content:space-between;align-items:baseline}.customer-event-title strong{font-size:13px}.customer-event-content>small,.customer-event-title time{font-size:11px;color:var(--muted)}.customer-event-content p{font-size:13px;line-height:1.7;margin:8px 0;overflow-wrap:anywhere;white-space:pre-wrap}.customer-event-product{display:flex;gap:12px;align-items:center;margin:10px 0;color:var(--text);text-decoration:none;font-size:13px}.customer-event-product img{width:55px;height:68px;object-fit:cover;border-radius:6px}.customer-text-link{color:var(--accent);font-size:12px}.customer-device{border:1px solid var(--line);border-radius:7px;padding:12px;margin:12px 0;font-size:12px}.customer-device summary,.customer-overview summary{cursor:pointer}.customer-device dl{display:grid;grid-gap:10px;gap:10px}.customer-device dl>div{display:grid;grid-template-columns:85px 1fr;grid-gap:10px;gap:10px}.customer-device dd{margin:0;overflow-wrap:anywhere;color:var(--muted)}.customer-overview{margin-top:25px;padding:17px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.customer-overview summary{font-size:14px;font-weight:600}.customer-overview-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:35px;gap:35px}.customer-overview h3{font-size:13px}.customer-trend-row{display:grid;grid-template-columns:90px 1fr 30px;grid-gap:10px;gap:10px;align-items:center;font-size:12px;margin:9px 0}.customer-trend-row meter{width:100%;height:10px;accent-color:var(--accent)}.customer-source-row{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin:12px 0}.customer-source-row span{overflow-wrap:anywhere}@media(max-width:1150px){.customer-unified-header{display:none}.customer-unified-list{border-top:1px solid var(--line);border-radius:8px}.customer-unified-row{grid-template-columns:minmax(170px,1fr) minmax(200px,1.3fr) minmax(200px,1.5fr) 16px;gap:10px 15px}.customer-unified-row .customer-row-chevron{grid-column:4;grid-row:1}.customer-unified-row .customer-history{grid-column:1;grid-row:2}.customer-unified-row .customer-last-active{grid-column:2/4;grid-row:2;text-align:right}.customer-secondary-filters>.module-note{width:100%;margin-left:0}}@media(max-width:760px){.customer-group-tabs{gap:3px;margin-top:18px}.customer-group-tabs button{padding:9px 10px;font-size:12px}.customer-unified .customer-control{min-width:0}.customer-unified .customer-control:nth-child(2){grid-column:1/-1}.customer-secondary-filters{gap:10px}.customer-secondary-filters select{max-width:105px}.customer-presets{width:100%}.customer-unified-row{grid-template-columns:minmax(0,1fr) 20px;padding:16px;gap:12px}.customer-unified-row .customer-identity{grid-column:1;grid-row:1}.customer-unified-row .customer-row-chevron{grid-column:2;grid-row:1}.customer-unified-row .customer-contacts{grid-column:1/-1;grid-row:2}.customer-unified-row .customer-behavior{grid-column:1/-1;grid-row:3}.customer-unified-row .customer-history{grid-column:1/-1;grid-row:4;display:flex;gap:10px;align-items:baseline}.customer-unified-row .customer-last-active{grid-column:1/-1;grid-row:5;text-align:left}.customer-drawer{width:100vw}.customer-drawer-head{padding:19px 17px}.customer-drawer-body{padding:18px 16px}.customer-event-title{flex-wrap:wrap;gap:4px 12px}.customer-overview-grid{gap:15px}.customer-drawer .customer-order-row,.customer-overview-grid{grid-template-columns:1fr}}.customer-unified .stat-card strong{display:block;margin:9px 0 5px}.customer-unified .stat-card small{display:block}.customer-unified .customer-refresh{width:auto}.customer-secondary-filters label{white-space:nowrap}.customer-unified.customer-archives{display:block}.customer-total{display:inline-block;margin-left:12px;color:var(--muted);font-size:13px;font-weight:400}.customer-period-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:18px 0;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.customer-period-bar .customer-presets{flex-wrap:wrap}.customer-period-bar button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--panel-strong)}.customer-period-inputs,.customer-period-inputs label{display:flex;align-items:center;gap:8px}.customer-period-inputs label{font-size:12px;color:var(--muted)}.customer-period-inputs input{min-width:0;width:145px;min-height:38px}.customer-period-note{color:var(--muted);font-size:12px}.customer-insight-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:18px 0}.customer-insight-filters>label{display:grid;grid-gap:7px;gap:7px;color:var(--muted);font-size:12px;min-width:100px}.customer-insight-filters .customer-search{flex:1 1;min-width:220px}.customer-insight-filters select{min-height:42px}.customer-insight-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:10px;gap:10px}.customer-unified .customer-insight-card{display:block;min-width:0;padding:17px 15px;transition:border-color .15s}.customer-insight-card:not(:disabled):hover,.customer-insight-card[aria-pressed=true]{border-color:var(--accent)}.customer-metric-label{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:13px}.customer-metric-label svg{color:var(--muted);flex-shrink:0}.customer-unified .stat-card .customer-metric-label{display:flex;color:var(--text);margin-bottom:0}.customer-unified .stat-card .customer-metric-note{margin-bottom:0}.customer-unified .customer-insight-card>strong{font-size:29px;margin:13px 0 8px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.customer-unified .customer-insight-card>strong small{display:inline;margin-left:6px;font-size:12px}.customer-metric-note{display:block;color:var(--muted);font-size:11px;line-height:1.6}.customer-unified .customer-metric-change{margin-top:10px;color:var(--accent);font-size:11px}.customer-metric-rules{color:var(--muted);font-size:12px;line-height:1.8;margin:12px 0 22px}.customer-metric-rules summary{cursor:pointer;width:-moz-fit-content;width:fit-content;min-height:24px}.customer-metric-rules p{margin:8px 0;max-width:1050px}.customer-followup{padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--panel);margin:24px 0}.customer-followup-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.customer-followup-head h3{font-size:17px;margin:0}.customer-followup-head h3 span{color:var(--accent);font-size:13px;margin-left:10px;font-weight:500}.customer-followup-head p{color:var(--muted);font-size:12px;margin:7px 0 0}.customer-followup-head>button{display:flex;align-items:center;gap:5px;flex-shrink:0}.customer-followup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.customer-followup-card{min-width:0;display:flex;flex-direction:column;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:8px}.customer-followup-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.customer-followup-title strong{font-size:14px;overflow-wrap:anywhere}.customer-followup-title strong span{color:var(--muted);font-size:12px;margin-left:8px;font-weight:400}.customer-followup-title small{color:var(--muted);font-size:11px;flex-shrink:0}.customer-reasons{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 3px}.customer-reasons>span{color:var(--accent);background:var(--panel-strong);border:1px solid var(--line);padding:4px 7px;border-radius:5px;font-size:11px}.customer-followup-evidence,.customer-followup-interest{font-size:12px;line-height:1.7;margin:6px 0 0;overflow-wrap:anywhere}.customer-followup-interest{color:var(--muted)}.customer-followup-message{display:flex;align-items:flex-start;gap:7px;color:var(--muted);font-size:12px;line-height:1.7;margin:8px 0}.customer-followup-message svg{flex-shrink:0;margin-top:4px}.customer-followup-message>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.customer-followup-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:13px}.customer-followup-actions>span{color:var(--muted);font-size:11px;margin-right:auto}.customer-followup-actions a{display:inline-flex;align-items:center;gap:4px;min-height:36px}.customer-followup-empty{margin:15px 0 0;font-size:13px;line-height:1.8;color:var(--muted)}.customer-selected-group{align-self:center;margin-left:6px}.customer-list-caption{align-items:center}.customer-list-caption h3{font-size:15px;margin:0;scroll-margin-top:20px}.customer-list-caption h3>span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}.customer-list-caption h3:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.customer-list-sort{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.customer-list-sort select{min-height:36px;max-width:145px}.customer-list-note{font-size:12px;color:var(--muted);margin:10px 0 15px;line-height:1.8}.customer-unified-row .customer-reason-inline{color:var(--accent);margin-top:4px}.customer-interest-summary{border:1px solid var(--line);border-radius:8px;padding:13px;background:var(--panel);margin-bottom:20px}.customer-interest-summary strong{font-size:13px}.customer-interest-summary p,.customer-interest-summary small{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}.customer-unified a:focus-visible,.customer-unified button:focus-visible,.customer-unified summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:1250px){.customer-insight-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.customer-total{display:block;margin:8px 0 0}.customer-period-bar{gap:13px}.customer-period-inputs{width:100%;min-width:0}.customer-period-inputs label{display:grid;flex:1 1;min-width:0}.customer-period-inputs input{width:100%;min-width:0;font-size:14px}.customer-period-inputs>span{margin-top:20px}.customer-insight-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.customer-insight-filters .customer-search{grid-column:1/-1;min-width:0}.customer-insight-filters>label{min-width:0}.customer-insight-filters select{width:100%;min-width:0;font-size:12px;padding-left:7px;padding-right:7px}.customer-insight-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-unified .customer-insight-card{padding:14px 11px}.customer-metric-label{font-size:12px}.customer-metric-note{min-height:35px}.customer-followup{padding:14px}.customer-followup-grid{grid-template-columns:1fr}.customer-followup-title{flex-wrap:wrap;gap:5px}.customer-followup-head{align-items:flex-start}.customer-followup-head h3 span{display:block;margin:6px 0 0}.customer-followup-head>button{font-size:12px;padding:8px}.customer-followup-card{padding:13px}.customer-followup-actions{gap:8px}.customer-followup-actions>span{width:100%}.customer-presets button{min-height:40px}}