:root{--ink:#18262e;--muted:#63717a;--line:#dce2e5;--bg:#f4f6f7;--surface:#fff;--nav:#102f40;--nav2:#17465d;--teal:#087f78;--green:#2e7857;--amber:#b56c17;--red:#b53b36;--blue:#236d9b;--shadow:0 1px 2px rgba(16,38,49,.06);font-family:Inter,"Microsoft YaHei","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}
.price-program.fix-risk-yellow{background:#fff1bf!important;color:#8a5a00!important;border-color:#e7b84e!important}.price-program.fix-risk-red{background:#ffe0dc!important;color:#a52a24!important;border-color:#dc7770!important}.fix-cost-delta{font-weight:700;margin-top:4px}.dashboard-risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.dashboard-risk-panel{background:#fff;border:1px solid var(--line);border-top:4px solid #d7a32d;border-radius:10px;padding:16px}.dashboard-risk-panel.red{border-top-color:#ba4238}.dashboard-risk-panel h3{margin:0 0 8px}.dashboard-risk-panel>strong{font-size:28px}.dashboard-risk-list{display:grid;gap:7px;margin-top:12px}.dashboard-risk-list button{display:flex;justify-content:space-between;gap:12px;text-align:left;background:#fff;border:1px solid var(--line);padding:9px;border-radius:7px}.dashboard-risk-list .danger-text{font-weight:800}@media(max-width:900px){.dashboard-risk-grid{grid-template-columns:1fr}}
@media(max-width:720px){.bin.receiving,.bin.loading,.bin.returns,.bin.quarantine{display:grid;place-items:center;padding:2px;font-size:0}.bin.receiving strong,.bin.loading strong,.bin.returns strong,.bin.quarantine strong{display:none}.bin.receiving::after,.bin.loading::after,.bin.returns::after,.bin.quarantine::after{content:attr(data-short);font-size:9px;font-weight:750}.bin.receiving b,.bin.loading b,.bin.returns b,.bin.quarantine b{display:none}}
.dashboard-band{display:grid;grid-template-columns:.7fr 1.3fr;gap:16px;margin-bottom:16px}.brand-stock-grid{display:grid;gap:0}.brand-stock{padding:14px 16px;border-bottom:1px solid var(--line)}.brand-stock:last-child{border-bottom:0}.brand-stock>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand-stock p{margin:6px 0 0;color:var(--muted);font-size:11px}.brand-pill{display:inline-flex;align-items:center;border-radius:3px;padding:3px 6px;font-size:9px;font-weight:800;margin-right:6px;letter-spacing:.4px}.brand-pill.megalodon{background:#dceef3;color:#10465c}.brand-pill.roundrule{background:#f5e7c8;color:#76500e}.brand-dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px}.brand-dot.megalodon{background:var(--blue)}.brand-dot.roundrule{background:#d59a2b}.toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.segments{display:inline-flex;background:#e8edef;border:1px solid #d5dde1;border-radius:5px;padding:3px;min-height:38px}.segments button{border:0;background:transparent;color:#53636c;padding:6px 14px;border-radius:3px;font-weight:650;white-space:nowrap}.segments button.active{background:#fff;color:var(--nav2);box-shadow:0 1px 3px rgba(15,42,55,.12)}.filters.compact{margin:0;flex:1;justify-content:flex-end}.filters.compact input{max-width:360px}.warehouse-board{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}.warehouse-bin{border:1px solid var(--line);border-left:5px solid #8aa1ac;background:#fff;border-radius:5px;min-height:190px;overflow:hidden}.warehouse-bin.pick{border-left-color:var(--green)}.warehouse-bin.staging{border-left-color:var(--amber);background:#fffdf8}.warehouse-bin.receiving{border-left-color:var(--blue)}.warehouse-bin.loading{border-left-color:var(--teal)}.warehouse-bin.returns,.warehouse-bin.quarantine{border-left-color:var(--red)}.bin-heading{display:flex;align-items:start;justify-content:space-between;padding:12px;border-bottom:1px solid var(--line);background:rgba(246,248,249,.75)}.bin-heading>div{display:grid;gap:3px}.bin-heading strong{font-size:15px}.bin-heading span{font-size:10px;color:var(--muted);font-weight:700}.bin-heading>b{font-size:13px}.bin-lots{padding:4px 11px}.lot-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #edf0f2}.lot-row:last-child{border:0}.lot-row>div{min-width:0}.lot-row strong{font-family:"SFMono-Regular",Consolas,monospace;font-size:11px}.lot-row small{display:block;color:var(--muted);font-size:9px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lot-row>b{text-align:right;font-size:13px}.lot-row>b small{font-weight:400}.bin-empty{display:grid;place-items:center;min-height:105px;color:#8a969c;font-size:11px}.brand-order-line{grid-template-columns:130px minmax(180px,1fr) 82px 36px}.purchase-line{display:grid;grid-template-columns:115px minmax(180px,1fr) 85px 110px 36px;gap:7px;margin-bottom:8px}.purchase-line select,.purchase-line input{min-width:0;border:1px solid #ccd6da;border-radius:5px;padding:9px;background:#fff}.purchase-meta{display:grid;gap:7px;padding:0 0 16px}.purchase-meta strong{font-size:14px}.purchase-meta small{color:var(--muted)}.formula-strip{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:16px;background:#eaf2f4;border-left:4px solid var(--blue);padding:13px 15px;color:#49606c;font-size:11px}.formula-strip strong{color:var(--ink)}
@media(max-width:1100px){.dashboard-band{grid-template-columns:1fr}.warehouse-board{grid-template-columns:repeat(2,minmax(220px,1fr))}}
.warehouse-board{grid-template-columns:repeat(2,minmax(260px,1fr))}.warehouse-bin.loading{display:block;height:auto;place-items:normal;color:inherit}
.language-button{min-width:38px;height:36px;border:1px solid var(--line);background:#fff;border-radius:5px;color:var(--nav2);font-size:11px;font-weight:800}.pay-cycle{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:6px;overflow:hidden;margin-bottom:14px}.pay-cycle>div{background:#fff;padding:13px 16px;display:grid;gap:5px}.pay-cycle span,.tax-grid span{color:var(--muted);font-size:10px;text-transform:uppercase}.pay-cycle strong{font-size:13px}.deduction{color:var(--red)}.tax-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.tax-grid article{padding:17px;border-right:1px solid var(--line);display:grid;gap:7px}.tax-grid article:last-child{border:0}.tax-grid strong{font-size:22px}.tax-grid small{color:var(--muted);font-size:10px}.purchase-line{grid-template-columns:105px minmax(155px,1fr) 76px 105px 92px 36px}
@media(max-width:720px){.toolbar-row{align-items:stretch;flex-direction:column}.segments{display:grid;grid-auto-flow:column}.segments button{padding:7px 9px}.filters.compact{display:grid;grid-template-columns:1fr 120px}.filters.compact input{max-width:none}.dashboard-band{gap:10px}.warehouse-board{grid-template-columns:1fr}.warehouse-bin{min-height:0}.brand-order-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px 36px;gap:5px}.brand-order-line>*{min-width:0}.purchase-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:6px}.purchase-line>*{min-width:0}.purchase-line>:nth-child(1){grid-column:1}.purchase-line>:nth-child(2){grid-column:2/4}.purchase-line>:nth-child(3){grid-column:1}.purchase-line>:nth-child(4){grid-column:2}.purchase-line>:nth-child(5){grid-column:1/3}.purchase-line>:nth-child(6){grid-column:3}.formula-strip{align-items:flex-start;gap:7px;display:grid}.brand-stock>div{align-items:flex-start;flex-direction:column}.panel-body{padding:12px}.pay-cycle{grid-template-columns:1fr}.tax-grid{grid-template-columns:1fr 1fr}.tax-grid article:nth-child(2){border-right:0}.tax-grid article{border-bottom:1px solid var(--line)}}
@media(max-width:720px){.order-line.brand-order-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px 36px}.order-line.brand-order-line>*{min-width:0}}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--nav);color:#e8f0f3;padding:20px 14px;display:flex;flex-direction:column;z-index:20}.brand{height:54px;display:flex;gap:11px;align-items:center;padding:0 8px;margin-bottom:22px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:#e5ad3c;color:#102f40;font-weight:900;font-size:19px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}.brand strong{font-size:14px;letter-spacing:.8px}.brand small,.sidebar-user small{display:block;color:#9eb2bd;font-size:11px;margin-top:3px}nav{display:grid;gap:3px}nav button{width:100%;border:0;background:transparent;color:#bad0da;padding:10px 11px;text-align:left;display:flex;align-items:center;gap:11px;border-radius:5px}nav button:hover{background:rgba(255,255,255,.06);color:#fff}nav button.active{background:var(--nav2);color:#fff;box-shadow:inset 3px 0 #e5ad3c}.nav-icon{width:20px;text-align:center;font-size:15px}.sidebar-user{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding:15px 7px 0;display:flex;gap:10px;align-items:center}.avatar{width:32px;height:32px;display:grid;place-items:center;background:#d8e7ec;color:var(--nav);border-radius:50%;font-size:11px;font-weight:800}.topbar{position:fixed;left:238px;right:0;top:0;height:82px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;z-index:10}.topbar p{margin:0 0 4px;color:var(--muted);font-size:10px;text-transform:uppercase}.topbar h1{font-size:20px;margin:0;letter-spacing:0}.top-actions{display:flex;gap:8px}.primary,.secondary,.danger,.quiet{border:1px solid transparent;border-radius:5px;padding:9px 13px;font-weight:650}.primary{background:var(--nav2);color:#fff}.primary:hover{background:#0f364a}.secondary{background:#fff;color:var(--ink);border-color:#cdd6da}.danger{background:#fff0ef;color:var(--red);border-color:#efc9c6}.quiet{background:transparent;color:var(--blue);padding:5px}.icon-button{width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:5px;font-size:18px;color:#42535c}.mobile-only{display:none}main{margin-left:238px;padding:106px 28px 36px;min-height:100vh}.page{max-width:1450px;margin:0 auto}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 12px}.section-heading h2{font-size:15px;margin:0}.section-heading p{color:var(--muted);font-size:12px;margin:4px 0 0}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.kpi{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:16px 17px;box-shadow:var(--shadow);min-height:112px;display:flex;flex-direction:column;justify-content:space-between}.kpi-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.kpi-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:5px;background:#e9f1f4;color:var(--blue);font-weight:800}.kpi strong{font-size:26px;line-height:1;margin-top:8px}.kpi small{color:var(--muted);font-size:11px}.content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:16px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:6px;box-shadow:var(--shadow);overflow:hidden}.panel-header{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-header h2{font-size:14px;margin:0}.panel-body{padding:16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th{font-size:10px;text-transform:uppercase;color:#74828a;text-align:left;background:#f8f9fa;border-bottom:1px solid var(--line);padding:10px 12px;white-space:nowrap}td{padding:11px 12px;border-bottom:1px solid #edf0f2;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfc}.num{text-align:right;font-variant-numeric:tabular-nums}.mono{font-family:"SFMono-Regular",Consolas,monospace;font-size:12px}.muted{color:var(--muted)}.strong{font-weight:700}.subtext{display:block;color:var(--muted);font-size:11px;margin-top:3px}.badge{display:inline-flex;align-items:center;min-height:23px;padding:3px 7px;border-radius:4px;background:#edf1f3;color:#52616a;font-size:10px;font-weight:750;white-space:nowrap}.badge.green{background:#e6f2ec;color:#236c4a}.badge.amber{background:#fff1dd;color:#91530b}.badge.red{background:#fce9e7;color:#98332f}.badge.blue{background:#e7f0f7;color:#1c628d}.badge.teal{background:#e3f3f1;color:#08726b}.progress{height:5px;border-radius:3px;background:#e8edef;overflow:hidden;margin-top:6px}.progress span{display:block;height:100%;background:var(--teal)}.activity-list{display:grid}.activity{padding:10px 0;border-bottom:1px solid #edf0f2}.activity:last-child{border:0}.activity strong{font-size:12px}.activity p{margin:4px 0;color:var(--muted);font-size:11px;line-height:1.45}.activity time{font-size:10px;color:#8b979d}.filters{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.filters input,.filters select{height:36px;border:1px solid var(--line);background:#fff;border-radius:5px;padding:0 10px;min-width:180px}.filters input{flex:1}.warehouse-layout{position:relative;aspect-ratio:16/9;min-height:430px;background:#eef2f3;border:1px solid #d9e0e3;border-radius:5px;overflow:hidden;background-image:linear-gradient(#e5eaec 1px,transparent 1px),linear-gradient(90deg,#e5eaec 1px,transparent 1px);background-size:24px 24px}.bin{position:absolute;border:2px solid #8aa1ac;background:rgba(255,255,255,.9);padding:9px;border-radius:3px;overflow:hidden;transition:.15s}.bin:hover{border-color:var(--blue);box-shadow:0 3px 10px rgba(31,78,103,.15);z-index:2}.bin.pick{border-left:5px solid var(--green)}.bin.staging{border-left:5px solid var(--amber);background:#fff9ef}.bin.receiving{border-left:5px solid var(--blue)}.bin.loading{border-left:5px solid var(--teal)}.bin.returns,.bin.quarantine{border-left:5px solid var(--red)}.bin strong{font-size:13px}.bin span{display:block;color:var(--muted);font-size:10px;margin-top:4px}.bin b{position:absolute;right:8px;top:8px;font-size:16px}.legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:11px}.legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px}.split{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.order-actions{display:flex;gap:5px;flex-wrap:wrap}.order-actions button{padding:5px 8px;font-size:11px}.empty{padding:32px;text-align:center;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:rgba(9,25,34,.48);display:grid;place-items:center;z-index:50;padding:20px}.modal{background:#fff;width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:7px;box-shadow:0 24px 60px rgba(0,0,0,.2)}.modal-header{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:17px;margin:0}.close{border:0;background:transparent;font-size:22px;color:var(--muted)}.modal-body{padding:20px}.modal-footer{padding:15px 20px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:700;color:#52616a}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd6da;border-radius:5px;padding:9px;background:#fff}.field textarea{min-height:80px;resize:vertical}.order-line{display:grid;grid-template-columns:1fr 92px 36px;gap:7px;margin-bottom:8px}.line-remove{width:36px;border:1px solid #e5c7c5;background:#fff4f3;color:var(--red);border-radius:5px}.form-note{background:#eef5f7;border-left:3px solid var(--blue);padding:10px 12px;color:#49606c;font-size:11px;line-height:1.55;margin:14px 0}.route-list{counter-reset:route}.route{display:grid;grid-template-columns:42px 1fr 110px;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.route-stop{width:34px;height:34px;border-radius:50%;background:var(--nav2);color:#fff;display:grid;place-items:center;font-weight:800}.route-load{text-align:right;font-size:11px;color:var(--muted)}#toast{position:fixed;right:22px;bottom:22px;background:#183a4b;color:#fff;padding:11px 15px;border-radius:5px;box-shadow:0 8px 24px rgba(0,0,0,.2);z-index:80;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s;max-width:360px}#toast.show{opacity:1;transform:none}#toast.error{background:#8c302c}.loading{height:180px;display:grid;place-items:center;color:var(--muted)}@media(max-width:1050px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.content-grid,.split{grid-template-columns:1fr}.warehouse-layout{min-height:390px}}@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:.2s;width:260px}.sidebar.open{transform:none}.topbar{left:0;height:72px;padding:0 14px}.topbar h1{font-size:17px}.topbar p{display:none}.mobile-only{display:inline-grid;place-items:center}.topbar>div:first-of-type{flex:1;margin-left:9px}.top-actions .icon-button{display:none}.top-actions .primary{font-size:0;width:38px;height:38px;padding:0}.top-actions .primary::first-letter{font-size:20px}main{margin-left:0;padding:92px 12px 24px}.kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.kpi{padding:13px;min-height:102px}.kpi strong{font-size:22px}.content-grid{gap:10px}.panel-header{padding:12px}.table-wrap{margin:0 -1px}.filters input,.filters select{min-width:0;flex:1}.warehouse-layout{min-height:300px;aspect-ratio:1/1.25}.bin{padding:5px}.bin strong{font-size:10px}.bin b{font-size:12px}.bin span{display:none}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.route{grid-template-columns:38px 1fr}.route-load{grid-column:2;text-align:left}.modal-backdrop{padding:0;align-items:end}.modal{max-height:92vh;border-radius:7px 7px 0 0}.order-line{grid-template-columns:1fr 70px 36px}th,td{padding:9px 10px}}
#appointmentField[hidden]{display:none!important}
@media(max-width:620px){.portal-line .portal-qty{grid-column:1;grid-row:2}.portal-line .line-remove{grid-column:4;grid-row:2}}
[hidden]{display:none!important}
.receipt-attachments{display:grid;gap:10px;margin-top:16px;padding:14px;border:1px solid var(--line);border-left:4px solid var(--teal);background:#f8fbfb}.receipt-attachments h3{margin:0;font-size:13px}.attachment-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.attachment-list li{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding-top:7px;border-top:1px solid #e3ebeb;font-size:12px}.attachment-list a{color:var(--blue);font-weight:700;overflow-wrap:anywhere}.attachment-list span,.attachment-empty{margin:0;color:var(--muted);font-size:11px;white-space:nowrap}.receipt-line .receipt-dot:required{border-color:#b97e20;background:#fffaf0}
.portal-pay-at-store{color:#7d5717;font-size:11px;font-weight:750;white-space:nowrap}
.portal-nav button.active{background:#f3f7f6;box-shadow:none}

/* Product setup, warehouse receiving workflow, and TireShark public catalog */
.product-thumb{width:34px;height:34px;object-fit:cover;vertical-align:middle;margin-right:7px;border:1px solid var(--line);border-radius:4px}.receiving-copy{color:#7354a0;font-weight:700}.lot-receiving{background:#f6f0ff!important;border-left:3px solid #7b58b0;padding-left:7px}.lot-receiving strong,.lot-receiving small{color:#5e4385!important}.inbound-task-list{display:grid;gap:0}.inbound-task{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 18px;border-bottom:1px solid var(--line);background:#fcfbf7}.inbound-task:last-child{border-bottom:0}.inbound-task-title{display:flex;align-items:center;gap:8px}.inbound-task span,.inbound-task small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.inbound-task small{color:#567078}
.portal-product-image{width:100%;height:104px;object-fit:cover;border:1px solid #dce6e4;border-radius:4px;background:#f1f5f4}.portal-available{font-size:11px;color:#506b68;font-weight:750;padding:7px 8px;background:#edf5f2;border-left:3px solid #5f8c82}.portal-available strong{font-size:14px;margin:0 2px;color:#183b43}
.shop-body{margin:0;background:#f4f3f0;color:#1c1d1d;font-family:Inter,"Segoe UI",Arial,sans-serif}.shop-header{min-height:72px;padding:0 5.5vw;background:#171a1d;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:4px solid #e6b22d}.shop-brand,.dealer-brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:10px}.shop-mark{width:38px;height:38px;display:grid;place-items:center;background:#e8b52f;color:#171a1d;font-size:12px;font-weight:900;border-radius:4px}.shop-brand strong{display:block;font-size:19px;letter-spacing:0}.shop-brand small{display:block;margin-top:2px;color:#c4c5c2;font-size:9px;letter-spacing:1px}.shop-actions{display:flex;align-items:center;gap:8px}.shop-icon-button{width:36px;height:36px;border:1px solid #5f6264;background:transparent;color:#fff;border-radius:4px;font-size:20px}.shop-dealer-link{padding:9px 12px;background:#e6b22d;border:1px solid #e6b22d;color:#171a1d;text-decoration:none;border-radius:4px;font-size:12px;font-weight:800}.shop-main{max-width:1380px;margin:0 auto;padding:34px 5.5vw 58px}.shop-catalog-head{display:flex;justify-content:space-between;align-items:end;gap:30px;padding-bottom:22px;border-bottom:1px solid #d6d3cd}.shop-catalog-head p{margin:0 0 8px;color:#a84f32;font-size:11px;font-weight:900;letter-spacing:1px}.shop-catalog-head h1{margin:0;font-size:34px;font-weight:850;letter-spacing:0}.shop-filter{display:grid;grid-template-columns:minmax(220px,1fr) 145px;gap:8px;min-width:min(100%,440px)}.shop-filter input,.shop-filter select{height:40px;border:1px solid #bdbbb4;background:#fff;border-radius:4px;padding:0 11px;color:#222;font-size:13px}.shop-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}.shop-product-card{min-width:0;background:#fff;border:1px solid #d9d6cf;border-radius:6px;overflow:hidden}.shop-product-card>img,.shop-product-placeholder{display:block;width:100%;height:164px;object-fit:cover;background:#292c2e}.shop-product-placeholder{display:flex;flex-direction:column;justify-content:end;padding:16px;background:linear-gradient(135deg,#25282a 0%,#414446 100%);color:#f7f4eb}.shop-product-placeholder span{font-size:10px;font-weight:800;color:#e6b22d}.shop-product-placeholder strong{margin-top:6px;font-size:24px;overflow-wrap:anywhere}.shop-product-body{padding:15px}.shop-product-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;font-weight:800;color:#72736e}.shop-product-meta b{color:#a64c32;font-size:10px}.shop-product-meta b.available{color:#27705c}.shop-product-body h2{margin:12px 0 5px;font-size:19px;line-height:1.1;overflow-wrap:anywhere}.shop-product-body p{min-height:34px;margin:0;color:#62645f;font-size:12px;line-height:1.4}.shop-price{display:flex;justify-content:space-between;align-items:end;margin-top:18px;padding-top:12px;border-top:1px solid #e5e2dc}.shop-price span{color:#676862;font-size:11px}.shop-price strong{font-size:19px;font-variant-numeric:tabular-nums}.shop-empty{grid-column:1/-1;padding:44px 18px;border:1px dashed #bbb7ad;text-align:center;color:#77766f}.dealer-body{min-height:100vh;margin:0;background:#171a1d;color:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;display:grid;place-items:center;padding:24px}.dealer-shell{width:min(420px,100%);display:grid;gap:28px}.dealer-brand{font-size:22px;font-weight:850}.dealer-panel{padding:28px;background:#f7f5ef;color:#20211f;border-top:5px solid #e6b22d}.dealer-panel>p{margin:0;color:#a84f32;font-size:11px;font-weight:900;letter-spacing:1px}.dealer-panel h1{margin:10px 0 26px;font-size:28px;letter-spacing:0}.dealer-panel form{display:grid;gap:16px}.dealer-panel label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#555650}.dealer-panel input{height:42px;border:1px solid #bab8b1;border-radius:4px;padding:0 10px;font-size:14px}.dealer-panel button{height:43px;border:0;border-radius:4px;background:#e6b22d;color:#1b1c1c;font-size:13px;font-weight:850}.dealer-panel>a{display:inline-block;margin-top:20px;color:#555650;font-size:12px}
@media(max-width:1000px){.shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.inbound-task{align-items:start;flex-direction:column;gap:11px}.shop-header{min-height:64px;padding:0 14px}.shop-main{padding:24px 14px 42px}.shop-catalog-head{align-items:stretch;flex-direction:column;gap:18px}.shop-catalog-head h1{font-size:28px}.shop-filter{min-width:0;grid-template-columns:1fr 120px}.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}.shop-product-card>img,.shop-product-placeholder{height:125px}.shop-product-body{padding:12px}.shop-product-body h2{font-size:16px}.shop-price{align-items:start;flex-direction:column;gap:5px}.portal-product-image{height:86px}.product-thumb{width:28px;height:28px}.dealer-panel{padding:22px}}

/* Customer ordering portal */
.portal-body{background:#f4f7f6;color:#17262c;font-family:Inter,"Segoe UI",Arial,sans-serif}.portal-topbar{position:sticky;top:0;z-index:30;min-height:68px;padding:0 32px;background:#fff;border-bottom:1px solid #dfe7e5;display:flex;align-items:center;gap:28px}.portal-wordmark{display:flex;align-items:center;gap:10px;color:#173840;text-decoration:none;min-width:222px}.portal-mark{width:34px;height:34px;display:grid;place-items:center;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#e3a33c;color:#102d37;font-size:18px;font-weight:900}.portal-wordmark strong{display:block;font-size:14px;letter-spacing:1px}.portal-wordmark small{display:block;margin-top:3px;color:#6e7c80;font-size:10px;letter-spacing:0}.portal-nav{display:flex;align-self:stretch;gap:4px;flex:1}.portal-nav button{border:0;border-bottom:3px solid transparent;background:transparent;color:#586a6f;padding:0 12px;font-size:13px;font-weight:700}.portal-nav button:hover{color:#0f5661}.portal-nav button.active{border-bottom-color:#d69c35;color:#123e4b}.portal-top-actions{display:flex;align-items:center;gap:10px}.portal-cart-button,.portal-internal-link{border:1px solid #cfdcda;background:#fff;border-radius:5px;color:#173840;font-size:12px;font-weight:750;padding:9px 12px;text-decoration:none;white-space:nowrap}.portal-cart-button{background:#123e4b;border-color:#123e4b;color:#fff}.portal-cart-button span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;border-radius:50%;background:#e3a33c;color:#153740;font-size:10px}.portal-main{max-width:1320px;margin:0 auto;padding:34px 32px 56px}.portal-page{display:grid;gap:28px}.portal-page-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #dfe7e5;padding-bottom:18px}.portal-page-heading p{margin:0 0 8px;color:#64757a;font-size:12px;font-weight:700}.portal-page-heading h1{margin:0;color:#132d36;font-size:28px;line-height:1.1}.portal-page-heading span{display:block;margin-top:8px;color:#64757a;font-size:13px}.portal-account-band{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 25px;background:#153f4d;color:#fff;border-left:5px solid #e3a33c}.portal-account-band span{display:block;color:#f2c56b;font-size:11px;font-weight:800}.portal-account-band strong{display:block;margin-top:5px;font-size:18px}.portal-account-band p{margin:7px 0 0;color:#c8d7d8;font-size:12px}.portal-outline-button,.portal-primary-button,.portal-add-button,.portal-text-button{border:0;border-radius:5px;font-size:12px;font-weight:750;letter-spacing:0}.portal-outline-button{padding:9px 12px;background:#fff;border:1px solid #c8d8d6;color:#17414e}.portal-account-band .portal-outline-button{border-color:#bcd4d5;color:#173e4a}.portal-primary-button{background:#ce8b27;color:#182f37;padding:11px 15px}.portal-primary-button:hover{background:#b87518}.portal-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.portal-stat-grid article{min-height:134px;padding:19px 20px;background:#fff;border:1px solid #dce6e4;border-top:4px solid #5f8c82;display:flex;flex-direction:column;align-items:flex-start}.portal-stat-grid article:nth-child(2){border-top-color:#d39c3b}.portal-stat-grid article:nth-child(3){border-top-color:#a76c60}.portal-stat-grid span{color:#63747a;font-size:12px}.portal-stat-grid strong{margin:12px 0 auto;font-size:26px;font-variant-numeric:tabular-nums}.portal-stat-grid button,.portal-text-button{padding:0;background:transparent;color:#176070;text-align:left}.portal-stat-grid button:hover,.portal-text-button:hover{text-decoration:underline}.portal-section{display:grid;gap:14px;padding-top:4px}.portal-section-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.portal-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.portal-section-heading h2{margin:0;font-size:17px}.portal-section-heading p{margin:5px 0 0;color:#67777b;font-size:12px}.portal-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.portal-repeat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-product-card{min-width:0;padding:17px;background:#fff;border:1px solid #dce6e4;border-radius:6px;display:grid;gap:11px;min-height:226px}.portal-product-card:hover{border-color:#6b9691;box-shadow:0 5px 16px rgba(20,63,75,.09)}.portal-product-card.compact{min-height:206px}.portal-product-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.portal-brand-tag{color:#284b56;background:#e8f0ef;padding:4px 7px;border-radius:3px;font-size:10px;font-weight:800}.portal-product-card h3{margin:0;font-size:20px;line-height:1.1;word-break:break-word}.portal-product-card p{margin:0;color:#63747a;font-size:12px;line-height:1.45}.portal-product-bottom{display:flex;justify-content:space-between;align-items:end;gap:9px;margin-top:auto}.portal-product-bottom small{display:block;color:#718084;font-size:10px}.portal-product-bottom strong{display:block;margin-top:3px;font-size:18px;font-variant-numeric:tabular-nums}.portal-product-buy{display:flex;gap:5px;align-items:center}.portal-product-buy input{width:46px;height:34px;border:1px solid #cbd9d7;border-radius:4px;padding:4px;text-align:center;font-size:12px}.portal-add-button{padding:9px 10px;background:#174d5c;color:#fff;white-space:nowrap}.portal-add-button:hover{background:#0d3948}.portal-order-list{display:grid;border-top:1px solid #dce6e4}.portal-order-row{display:grid;grid-template-columns:minmax(128px,1.2fr) 84px 140px auto;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid #dce6e4}.portal-order-row strong{font-size:13px}.portal-order-row span{display:block;margin-top:4px;color:#6b7b80;font-size:11px}.portal-order-total{text-align:right}.portal-order-actions{display:flex;justify-content:flex-end;gap:8px}.portal-catalog-toolbar{display:grid;grid-template-columns:minmax(250px,1fr) 170px 170px;gap:9px;padding:14px;background:#e9f1ef;border:1px solid #d4e1df}.portal-catalog-toolbar input,.portal-catalog-toolbar select,.portal-form-grid input,.portal-form-grid select,.portal-form-grid textarea,.portal-payment-form input,.portal-payment-form select,.receipt-line input,.receipt-line select{width:100%;min-width:0;border:1px solid #cbd9d7;border-radius:4px;background:#fff;padding:10px;color:#20343a;font-size:13px}.portal-catalog-toolbar input:focus,.portal-catalog-toolbar select:focus,.portal-form-grid input:focus,.portal-form-grid select:focus,.portal-form-grid textarea:focus,.portal-payment-form input:focus,.portal-payment-form select:focus{outline:2px solid rgba(45,124,129,.22);border-color:#4e8e8d}.portal-payment-form{display:grid;gap:17px;padding:19px;background:#fff5e3;border:1px solid #ebd1a5;border-left:5px solid #d09027}.portal-payment-form>div:first-child span,.portal-tax-section>span{display:block;color:#7b5a1d;font-size:11px;font-weight:800}.portal-payment-form>div:first-child strong{display:block;margin-top:5px;font-size:16px}.portal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.portal-form-grid label{display:grid;gap:6px;color:#4f6267;font-size:11px;font-weight:800}.portal-form-grid label.full{grid-column:1/-1}.portal-form-grid textarea{min-height:94px;resize:vertical}.portal-payment-actions{display:flex;align-items:center;justify-content:space-between;gap:18px}.portal-payment-actions span{max-width:640px;color:#6e653f;font-size:11px;line-height:1.45}.portal-invoice-list,.portal-payment-history{display:grid;border-top:1px solid #dce6e4}.portal-invoice-list article{display:grid;grid-template-columns:1fr 130px auto;gap:18px;align-items:center;padding:14px 0;border-bottom:1px solid #dce6e4}.portal-invoice-list article strong,.portal-payment-history article strong{font-size:13px}.portal-invoice-list article span,.portal-payment-history article span{display:block;margin-top:4px;color:#6d7d81;font-size:11px}.portal-invoice-list article>div:nth-child(2){text-align:right}.portal-payment-history article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #dce6e4}.portal-payment-history article>div:last-child{text-align:right}.portal-payment-state{color:#9b6612!important}.portal-profile-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.65fr);gap:28px}.portal-profile-section{display:grid;gap:16px}.portal-tax-section{align-self:start;padding:20px;background:#e7f1ee;border-left:5px solid #5d9083}.portal-tax-section strong{display:block;margin:6px 0 9px;font-size:15px}.portal-tax-section p{margin:0 0 15px;color:#536f70;font-size:12px;line-height:1.5}.portal-tax-section form{display:grid;gap:10px}.portal-tax-section input[type=file]{font-size:11px}.portal-tax-section hr{border:0;border-top:1px solid #c7dbd6;margin:18px 0}.portal-file-name{color:#556c70;font-size:11px;font-weight:500!important}.portal-form-submit{display:flex;justify-content:flex-end;margin-top:4px}.portal-checkout-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:28px;align-items:start}.portal-cart-review,.portal-checkout-form{padding:20px;background:#fff;border:1px solid #dce6e4}.portal-cart-review{display:grid;gap:2px}.portal-cart-review article{display:grid;grid-template-columns:minmax(140px,1fr) 116px 90px 24px;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #e7eeee}.portal-cart-review article span{display:block;margin-top:4px;color:#68787d;font-size:11px}.portal-cart-quantity{display:flex;align-items:center;justify-content:center;gap:8px}.portal-cart-quantity button,.portal-remove-button{border:1px solid #cbd9d7;background:#fff;color:#294a54;border-radius:4px;min-width:25px;height:25px;font-size:17px;line-height:1}.portal-remove-button{border-color:#e6beba;color:#a5443e}.portal-cart-subtotal{display:flex;justify-content:space-between;padding-top:17px;font-size:14px}.portal-cart-subtotal strong{font-size:19px}.portal-checkout-form{display:grid;gap:16px}.portal-empty,.portal-load-error{padding:36px 18px;border:1px dashed #b9cdca;color:#65767a;text-align:center;font-size:13px}.portal-load-error{margin:40px auto;max-width:680px;border-color:#dcaca8;color:#953f39;background:#fff6f5}.portal-body #portalToast{position:fixed;right:22px;bottom:22px;z-index:90;max-width:360px;padding:11px 15px;background:#123e4b;color:#fff;border-radius:5px;box-shadow:0 9px 22px rgba(10,42,52,.2);opacity:0;transform:translateY(9px);pointer-events:none;transition:.18s}.portal-body #portalToast.show{opacity:1;transform:none}.portal-body #portalToast.error{background:#993d38}
@media(max-width:1050px){.portal-topbar{padding:0 20px;gap:14px}.portal-wordmark{min-width:184px}.portal-nav button{padding:0 8px;font-size:12px}.portal-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-repeat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-main{padding:28px 20px 48px}.portal-checkout-grid,.portal-profile-grid{grid-template-columns:1fr}.portal-tax-section{max-width:none}.portal-section-split{grid-template-columns:1fr}}
@media(max-width:720px){.portal-topbar{min-height:0;padding:12px 14px;display:grid;grid-template-columns:1fr auto;gap:10px}.portal-wordmark{min-width:0}.portal-nav{grid-column:1/-1;grid-row:2;overflow:auto;gap:2px;scrollbar-width:none}.portal-nav::-webkit-scrollbar{display:none}.portal-nav button{min-height:36px;padding:0 10px;white-space:nowrap}.portal-top-actions{gap:7px}.portal-internal-link{display:none}.portal-main{padding:22px 14px 38px}.portal-page{gap:22px}.portal-page-heading{padding-bottom:14px}.portal-page-heading h1{font-size:23px}.portal-account-band{padding:18px;align-items:start;flex-direction:column}.portal-stat-grid{grid-template-columns:1fr;gap:8px}.portal-stat-grid article{min-height:108px}.portal-product-grid,.portal-repeat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portal-product-card{padding:13px;min-height:222px}.portal-product-card h3{font-size:16px}.portal-product-bottom{align-items:start;flex-direction:column}.portal-product-buy{width:100%}.portal-product-buy input{width:42px}.portal-add-button{flex:1;padding:9px 5px;font-size:11px}.portal-order-row{grid-template-columns:1fr auto;gap:8px;padding:13px 0}.portal-order-total{text-align:left}.portal-order-actions{grid-column:1/-1;justify-content:flex-start}.portal-catalog-toolbar{grid-template-columns:1fr 1fr;padding:10px}.portal-catalog-toolbar input{grid-column:1/-1}.portal-form-grid{grid-template-columns:1fr}.portal-form-grid label.full{grid-column:auto}.portal-payment-actions{align-items:stretch;flex-direction:column}.portal-invoice-list article{grid-template-columns:1fr auto;gap:10px}.portal-invoice-list article>button{grid-column:1/-1;justify-self:start}.portal-cart-review,.portal-checkout-form{padding:14px}.portal-cart-review article{grid-template-columns:minmax(0,1fr) auto 20px;gap:8px}.portal-cart-review article>strong{grid-column:2;text-align:right}.portal-cart-quantity{grid-column:1;justify-content:flex-start}.portal-cart-subtotal{grid-column:1/-1}.portal-body #portalToast{left:14px;right:14px;bottom:14px;max-width:none}}
/* TireShark mobile storefront */
/* TireShark phone storefront */
.shop-body{margin:0;background:#edf0f2;color:#212526;font-family:Inter,"Segoe UI",Arial,sans-serif}.shop-app{width:min(100%,520px);min-height:100vh;margin:0 auto;background:#fff;box-shadow:0 0 38px rgba(21,31,37,.12);padding-bottom:82px}.shop-mobile-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.97);border-bottom:1px solid #e8eaeb;backdrop-filter:blur(12px)}.shop-location-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px 11px}.shop-location{display:flex;min-width:0;align-items:center;gap:9px;border:0;background:transparent;color:#202426;padding:0;text-align:left}.shop-location small{display:block;color:#7a8084;font-size:9px;font-weight:800;letter-spacing:.7px}.shop-location strong{display:block;margin-top:2px;font-size:15px;line-height:1.2;letter-spacing:0}.shop-location-pin{position:relative;width:17px;height:21px;border:2px solid #ff7b1a;border-radius:12px 12px 12px 2px;transform:rotate(-45deg);flex:0 0 auto}.shop-location-pin::after{content:"";position:absolute;inset:4px;border-radius:50%;background:#ff7b1a}.shop-chevron{width:8px;height:8px;border-right:2px solid #404649;border-bottom:2px solid #404649;transform:rotate(45deg) translateY(-2px);margin-left:2px}.shop-header-actions{display:flex;align-items:center;gap:7px}.shop-header-icon{position:relative;width:37px;height:37px;border:1px solid #e0e4e5;border-radius:50%;background:#fff;color:#2e3436;font-size:18px;display:grid;place-items:center}.shop-cart-trigger b,.shop-bottom-nav b{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#ff7416;color:#fff;font-size:9px;font-weight:800}.shop-search-wrap{position:relative;display:block;margin:0 18px 12px}.shop-search-wrap::before{content:"";position:absolute;z-index:1;left:15px;top:50%;width:13px;height:13px;border:2px solid #9da5a8;border-radius:50%;transform:translateY(-58%)}.shop-search-wrap::after{content:"";position:absolute;z-index:1;left:29px;top:26px;width:7px;border-top:2px solid #9da5a8;transform:rotate(45deg)}.shop-search-wrap input{width:100%;height:45px;border:1px solid #d8dddf;border-radius:23px;background:#f7f8f8;color:#222;padding:0 15px 0 43px;font-size:14px;outline:0}.shop-search-wrap input:focus{border-color:#ff8c3a;background:#fff;box-shadow:0 0 0 3px rgba(255,116,22,.12)}.shop-filter-strip{display:flex;gap:17px;overflow-x:auto;padding:0 18px 12px;scrollbar-width:none}.shop-filter-strip::-webkit-scrollbar{display:none}.shop-filter-strip button{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:transparent;padding:2px 0 7px;color:#737a7e;font-size:11px;font-weight:750;white-space:nowrap}.shop-filter-strip button.active{border-bottom-color:#ff7416;color:#212526}.shop-main{max-width:none;margin:0;padding:16px 0 0}.shop-category-section{padding:0 18px 21px;border-bottom:8px solid #f5f6f6}.shop-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.shop-category{border:0;background:#fff;color:#373c3e;padding:0;min-width:0}.shop-category-art{position:relative;display:grid;place-items:center;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#202c37;color:#fff;box-shadow:inset 0 0 0 5px #e8eced,0 1px 4px rgba(22,29,32,.15)}.shop-category-art::before{content:"";position:absolute;inset:10%;border:2px solid rgba(255,255,255,.35);border-radius:50%;background:repeating-radial-gradient(circle at 50% 50%,transparent 0 10px,rgba(255,255,255,.07) 11px 13px)}.shop-category-art::after{content:"";position:absolute;width:55%;height:24%;border:2px solid rgba(255,255,255,.88);border-radius:7px 11px 8px 5px;box-shadow:13px 10px 0 -7px #ff7416,-13px 10px 0 -7px #ff7416}.shop-category-art span{position:relative;z-index:1;margin-top:36%;color:#fff;font-size:8px;font-weight:900;text-transform:uppercase;line-height:1.1}.shop-category-art.steer{background:#324a63}.shop-category-art.all-position{background:#3c5463}.shop-category-art.trailer{background:#2e3d58}.shop-category-art.drive{background:#45375d}.shop-category strong{display:block;min-height:28px;margin-top:7px;font-size:11px;line-height:1.25;letter-spacing:0}.shop-category.active .shop-category-art{box-shadow:inset 0 0 0 4px #ff7416,0 1px 4px rgba(22,29,32,.15)}.shop-brand-section,.shop-products-section{padding:19px 18px 21px;border-bottom:8px solid #f5f6f6}.shop-section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:13px}.shop-section-heading p{margin:0 0 4px;color:#ff7416;font-size:9px;font-weight:900;letter-spacing:.9px}.shop-section-heading h1,.shop-section-heading h2{margin:0;color:#202526;font-size:18px;line-height:1.2;letter-spacing:0}.shop-text-button{border:0;background:transparent;color:#737a7e;padding:3px 0;font-size:11px;font-weight:750}.shop-brand-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(125px,1fr);gap:9px;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none}.shop-brand-grid::-webkit-scrollbar{display:none}.shop-brand-card{min-height:98px;border:1px solid #e4e6e7;border-radius:7px;background:#fff;padding:14px 12px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;scroll-snap-align:start;box-shadow:0 1px 2px rgba(19,29,33,.04)}.shop-brand-card.active{border-color:#ff7b1a;box-shadow:0 0 0 2px rgba(255,116,22,.11)}.shop-brand-card>span:last-child{color:#858b8e;font-size:9px;font-weight:700}.shop-brand-wordmark{font-size:18px;line-height:1;font-weight:900;font-style:italic;letter-spacing:0}.shop-brand-card.brand-0 .shop-brand-wordmark{color:#195eac}.shop-brand-card.brand-1 .shop-brand-wordmark{color:#ee711d}.shop-brand-card.brand-2 .shop-brand-wordmark{color:#213a8b}.shop-brand-card.brand-3 .shop-brand-wordmark{color:#206b54}.shop-promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px;border-bottom:8px solid #f5f6f6}.shop-promo{position:relative;isolation:isolate;min-height:196px;overflow:hidden;border-radius:7px;padding:16px;color:#fff;display:flex;align-items:flex-end}.shop-promo>div:first-child{position:relative;z-index:2;display:grid;gap:7px;max-width:145px}.shop-promo span{color:inherit;font-size:9px;font-weight:900;letter-spacing:.6px}.shop-promo strong{font-size:18px;line-height:1.12;letter-spacing:0}.shop-promo button{justify-self:start;border:0;border-radius:3px;background:#fff;color:#222;padding:7px 8px;font-size:9px;font-weight:850}.shop-promo-new{background:#ed422e}.shop-promo-new::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(140deg,transparent 42%,rgba(255,191,49,.95) 43% 54%,transparent 55%)}.shop-promo-haul{background:#202426}.shop-promo-haul::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(140deg,transparent 43%,#f6a619 44% 54%,transparent 55%)}.shop-promo-haul button{background:#f6a619}.shop-promo-tire{position:absolute;right:-27px;bottom:-18px;width:122px;height:122px;border:23px solid #2b2d2e;border-radius:50%;background:repeating-conic-gradient(#c6cacc 0 6deg,#777e80 6deg 11deg);box-shadow:inset 0 0 0 18px #d6d9da,0 5px 13px rgba(0,0,0,.35);transform:rotate(-20deg)}.shop-promo-tracks{position:absolute;right:-29px;bottom:-42px;width:144px;height:144px;border:31px solid #4a5052;border-radius:50%;background:#d0d4d5;box-shadow:inset 0 0 0 24px #f5f5f5;transform:rotate(-19deg)}.shop-products-section{padding-bottom:20px}.shop-result-count{color:#838a8d;font-size:10px;font-weight:750}.shop-product-list{display:grid;gap:11px}.shop-product-card{display:grid;grid-template-columns:110px minmax(0,1fr);min-width:0;border:1px solid #e5e7e8;border-radius:7px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(20,29,33,.045)}.shop-product-image{position:relative;min-height:133px;display:grid;place-items:center;background:#f4f6f6;overflow:hidden}.shop-product-image>img{width:100%;height:100%;object-fit:cover}.shop-tire-visual{position:relative;width:100%;height:100%;display:grid;place-items:end center;background:linear-gradient(148deg,#dfe7ea 0%,#fafafa 58%,#ccd6da 59% 100%);padding-bottom:10px;overflow:hidden}.shop-tire-visual>span{position:absolute;top:10px;left:9px;max-width:90px;color:#4f5b60;font-size:8px;font-weight:900;line-height:1.1}.shop-tire-sidewall{position:relative;width:78px;height:78px;border:15px solid #24282b;border-radius:50%;background:repeating-conic-gradient(#454b4d 0 5deg,#202426 5deg 10deg);box-shadow:inset 0 0 0 10px #a7afb2,0 5px 8px rgba(9,13,15,.24)}.shop-tire-tread{position:absolute;inset:-18px;border:8px dashed #353b3e;border-radius:50%;opacity:.95}.shop-tire-wheel{position:absolute;inset:12px;border:5px solid #d9dedf;border-radius:50%;background:repeating-conic-gradient(#717b7e 0 12deg,#eef0f0 12deg 24deg);box-shadow:inset 0 0 0 7px #4d575a}.shop-stock-badge{position:absolute;left:7px;bottom:7px;padding:3px 5px;border-radius:3px;background:#fff0ed;color:#b44832;font-size:8px;font-weight:850;text-transform:uppercase}.shop-stock-badge.available{background:#e9f5ed;color:#28744c}.shop-product-copy{min-width:0;padding:13px 13px 11px}.shop-product-brand{display:block;color:#767d80;font-size:9px;font-weight:850;text-transform:uppercase}.shop-product-copy h3{margin:5px 0 4px;color:#22282a;font-size:18px;line-height:1.1;letter-spacing:0;overflow-wrap:anywhere}.shop-product-copy p{margin:0;color:#6d7578;font-size:11px;line-height:1.35}.shop-product-copy p i{display:inline-block;width:3px;height:3px;margin:0 4px;vertical-align:middle;border-radius:50%;background:#ff7416}.shop-product-bottom{display:flex;align-items:end;justify-content:space-between;gap:9px;margin-top:10px}.shop-product-bottom small{display:block;color:#8a9092;font-size:9px}.shop-product-bottom strong{display:block;margin-top:2px;color:#e46015;font-size:19px;line-height:1;font-variant-numeric:tabular-nums}.shop-add-button{width:32px;height:32px;border:0;border-radius:50%;background:#ff7a16;color:#fff;font-size:22px;line-height:1;display:grid;place-items:center;box-shadow:0 2px 5px rgba(220,84,13,.24)}.shop-add-button:disabled{background:#cbd0d1;box-shadow:none;cursor:not-allowed}.shop-empty{padding:35px 16px;border:1px dashed #ccd2d4;border-radius:7px;color:#747c7f;text-align:center;font-size:12px}.shop-bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;width:min(100%,520px);height:70px;transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e5e8e9;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);box-shadow:0 -4px 15px rgba(18,27,31,.06)}.shop-bottom-nav button,.shop-bottom-nav a{position:relative;min-width:0;border:0;background:transparent;color:#858b8e;text-decoration:none;display:grid;place-content:center;justify-items:center;gap:3px;padding:7px 4px;font-size:10px;line-height:1}.shop-bottom-nav button.active{color:#ff7416}.shop-nav-symbol{font-family:Arial,sans-serif;font-size:25px;line-height:1;font-weight:400}.shop-bottom-nav b{top:7px;right:calc(50% - 20px)}.shop-cart-backdrop{position:fixed;z-index:30;inset:0;background:rgba(16,23,26,.42)}.shop-cart-sheet{position:fixed;z-index:31;left:50%;bottom:0;width:min(100%,520px);min-height:260px;max-height:min(76vh,660px);display:flex;flex-direction:column;background:#fff;border-radius:16px 16px 0 0;box-shadow:0 -12px 34px rgba(10,17,20,.2);transform:translate(-50%,110%);transition:transform .22s ease}.shop-cart-sheet.open{transform:translate(-50%,0)}.shop-cart-sheet>header{display:flex;align-items:start;justify-content:space-between;padding:20px 18px 14px;border-bottom:1px solid #eceeef}.shop-cart-sheet header span{color:#ff7416;font-size:9px;font-weight:900;letter-spacing:.8px}.shop-cart-sheet header h2{margin:4px 0 0;font-size:21px;letter-spacing:0}.shop-cart-sheet header button{width:30px;height:30px;border:1px solid #e2e5e6;border-radius:50%;background:#fff;color:#4b5154;font-size:24px;line-height:1}.shop-cart-lines{overflow:auto;display:grid;gap:1px;background:#eef0f0}.shop-cart-lines>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:11px;background:#fff;padding:13px 18px}.shop-cart-lines article>div:first-child{display:grid;gap:3px;min-width:0}.shop-cart-lines article>div:first-child strong{font-size:13px}.shop-cart-lines article span,.shop-cart-lines article small{color:#777e81;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-cart-lines article>strong{font-size:12px;font-variant-numeric:tabular-nums}.shop-cart-quantity{display:flex;align-items:center;gap:8px}.shop-cart-quantity button{width:22px;height:22px;border:1px solid #dfe3e4;border-radius:50%;background:#fff;color:#404648;font-size:16px;line-height:1}.shop-cart-quantity strong{min-width:12px;text-align:center;font-size:12px}.shop-cart-empty{min-height:180px;display:grid;place-content:center;justify-items:center;gap:8px;padding:25px;color:#6f777a;text-align:center}.shop-cart-empty>span{font-size:30px;filter:grayscale(1)}.shop-cart-empty strong{color:#363c3e;font-size:14px}.shop-cart-empty p{max-width:235px;margin:0;font-size:11px;line-height:1.45}.shop-cart-sheet footer{margin-top:auto;padding:14px 18px 18px;border-top:1px solid #e9ecec;background:#fff}.shop-cart-sheet footer>div{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.shop-cart-sheet footer span{color:#737a7d;font-size:11px}.shop-cart-sheet footer strong{font-size:20px;font-variant-numeric:tabular-nums}.shop-cart-checkout{display:grid;place-items:center;width:100%;height:41px;border-radius:5px;background:#ff7416;color:#fff;text-decoration:none;font-size:12px;font-weight:850}.shop-cart-open{overflow:hidden}#shopToast{position:fixed;z-index:40;left:50%;bottom:84px;max-width:calc(100% - 32px);padding:10px 13px;border-radius:5px;background:#22292b;color:#fff;font-size:12px;opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:.18s}#shopToast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:520px){.shop-app{box-shadow:none}.shop-promo{min-height:184px}.shop-promo strong{font-size:16px}.shop-brand-grid{grid-auto-columns:44%}}

/* Operations usability: visible work queue, order triage, and a proper mobile menu layer. */
.work-queue{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-7px 0 22px;padding:13px 15px;border:1px solid #cfe0e3;border-left:4px solid var(--teal);border-radius:6px;background:#f7fbfb}.work-queue>div:first-child{display:grid;gap:4px;min-width:190px}.work-queue-label{color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.work-queue>div:first-child>strong{font-size:13px}.work-queue-items{display:grid;grid-template-columns:repeat(3,minmax(165px,1fr));gap:8px;flex:1}.work-queue-item{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 10px;border:1px solid #dce7e8;border-radius:5px;background:#fff;color:var(--ink);text-align:left;text-decoration:none}.work-queue-item:hover{border-color:#9ebfc3;background:#fbfefe}.work-queue-count{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#e5f3f1;color:var(--teal);font-size:13px;font-weight:800}.work-queue-item>span:nth-child(2){display:grid;gap:3px;min-width:0}.work-queue-item small{color:var(--muted);font-size:10px;line-height:1.25}.work-queue-arrow{margin-left:auto;color:var(--blue);font-size:17px}.order-workbench-toolbar{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:0 0 12px;padding:11px 12px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.order-workbench-toolbar label{display:grid;gap:5px;min-width:145px;color:var(--muted);font-size:10px;font-weight:750}.order-workbench-toolbar label.order-search{flex:1;min-width:220px}.order-workbench-toolbar input,.order-workbench-toolbar select{height:35px;min-width:0;border:1px solid #cbd7da;border-radius:5px;background:#fff;padding:0 9px;color:var(--ink)}.order-result-count{margin-left:auto;padding-bottom:9px;color:var(--muted);font-size:10px;white-space:nowrap}.sidebar-backdrop{display:none}
@media(max-width:720px){body.menu-open{overflow:hidden}.sidebar-backdrop{position:fixed;inset:0;z-index:19;display:block;border:0;background:rgba(9,25,34,.42);opacity:0;pointer-events:none;transition:opacity .2s}.sidebar-backdrop.visible{opacity:1;pointer-events:auto}.work-queue{display:grid;align-items:stretch;gap:11px;margin:-5px 0 15px;padding:12px}.work-queue>div:first-child{min-width:0}.work-queue-items{grid-template-columns:1fr;gap:6px}.work-queue-item{padding:8px}.order-workbench-toolbar{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:8px}.order-workbench-toolbar label.order-search{grid-column:1/-1;min-width:0}.order-result-count{grid-column:1/-1;margin-left:0;padding:1px 0 0}.order-workbench-toolbar input,.order-workbench-toolbar select{width:100%}}

/* Customer account login and password controls. */
.dealer-login-form{margin-bottom:16px}.dealer-link-login{border-top:1px solid #d9d7d0;padding-top:13px}.dealer-link-login summary{color:#5d625d;font-size:12px;font-weight:750;cursor:pointer}.dealer-link-login form{margin-top:12px}.portal-logout-button{border:1px solid #d2dddb;border-radius:5px;background:#fff;color:#50656a;padding:9px 10px;font-size:12px;font-weight:750}.portal-logout-button:hover{border-color:#a7c1bd;color:#163e49}.portal-security-section{display:grid;gap:15px;padding:20px;border:1px solid #cfdedb;border-top:4px solid #5d9083;background:#f7fbfa}.portal-security-section .portal-form-grid{max-width:820px}.portal-security-section .portal-form-submit{align-items:end}.portal-security-section .portal-outline-button{height:41px}
.admin-login-brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:20px;font-weight:850}.admin-login-brand .brand-mark{flex:0 0 auto}.admin-login-brand small{display:block;margin-top:4px;color:#9eb2bd;font-size:10px;letter-spacing:1px}.admin-login-note{margin:-12px 0 22px;color:#66665f;font-size:12px;line-height:1.5}.admin-login-error{margin:-4px 0 0;padding:9px 10px;background:#fce9e7;border-left:3px solid #98332f;color:#98332f;font-size:12px;line-height:1.4}.admin-logout{white-space:nowrap}
.inline-field{display:flex;gap:7px}.inline-field input{flex:1;min-width:0}.inline-field .secondary{white-space:nowrap}.check-field{display:flex!important;align-items:center;gap:8px;min-height:40px;padding:0 2px;color:var(--ink)!important;font-size:12px!important}.check-field input{width:16px!important;height:16px;padding:0!important}
.password-field{position:relative;display:block;width:100%;min-width:0}.inline-field>.password-field{flex:1;grid-column:1/-1}.password-field>input{width:100%!important;padding-right:58px!important}.password-visibility-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);min-width:42px;height:30px;padding:0 7px;border:0;border-left:1px solid #d6dfe2;background:transparent;color:var(--blue);font-size:11px;font-weight:800;cursor:pointer}.password-visibility-toggle:hover{color:var(--nav2)}
@media(max-width:720px){.portal-logout-button{padding:8px 9px;font-size:11px}.portal-security-section{padding:15px}.portal-security-section .portal-form-submit{justify-content:flex-start}.dealer-link-login form{margin-bottom:0}}
@media(max-width:720px){.inline-field{display:grid;grid-template-columns:1fr 1fr}.inline-field input{grid-column:1/-1}.inline-field .secondary{padding:8px 6px;font-size:11px}}
@media(min-width:521px){.shop-app{border-left:1px solid #e0e4e5;border-right:1px solid #e0e4e5}.shop-bottom-nav{border-left:1px solid #e0e4e5;border-right:1px solid #e0e4e5}}
.payment-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.payment-channel-module{border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:6px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.payment-channel-module.cash{border-top-color:var(--amber)}.payment-channel-module>header{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:17px 18px 14px;background:#f6fafc}.payment-channel-module.cash>header{background:#fffaf1}.payment-channel-module header span{display:block;color:var(--blue);font-size:10px;font-weight:850;letter-spacing:.6px}.payment-channel-module.cash header span{color:#a35d0c}.payment-channel-module h2{margin:5px 0 3px;font-size:19px;letter-spacing:0}.payment-channel-module header p{margin:0;color:var(--muted);font-size:11px}.payment-channel-module>header>strong{font-size:24px;line-height:1;font-variant-numeric:tabular-nums;text-align:right}.payment-channel-meta{display:flex;justify-content:space-between;gap:12px;padding:11px 18px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px}.payment-channel-meta b{color:var(--ink);font-size:14px}.payment-channel-module dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.payment-channel-module dl>div{padding:15px 17px;border-right:1px solid var(--line)}.payment-channel-module dl>div:last-child{border:0}.payment-channel-module dt{color:var(--muted);font-size:10px}.payment-channel-module dd{margin:6px 0 0;font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}.payment-channel-module footer{padding:10px 18px;border-top:1px solid var(--line);background:#fafcfc;color:#6b7981;font-size:10px}.payment-channel-module.cash footer{background:#fffdf8}.payment-total-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:960px){.payment-channel-grid{grid-template-columns:1fr}}
@media(max-width:720px){.payment-channel-grid{gap:10px}.payment-channel-module>header{padding:14px}.payment-channel-module>header>strong{font-size:21px}.payment-channel-meta{padding:10px 14px}.payment-channel-module dl{grid-template-columns:1fr}.payment-channel-module dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 14px;border-right:0;border-bottom:1px solid #edf0f2}.payment-channel-module dl>div:last-child{border-bottom:0}.payment-channel-module dd{margin:0;font-size:16px}.payment-channel-module footer{padding:10px 14px}.payment-total-grid{grid-template-columns:1fr 1fr}}
.loading{min-height:220px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:12px}.loading-spinner{width:16px;height:16px;border:2px solid #dbe4e7;border-top-color:var(--blue);border-radius:50%;animation:loading-spin .7s linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}.error-state{display:flex;align-items:flex-start;gap:14px;max-width:680px;margin:34px auto;padding:20px;background:#fff8f6;border:1px solid #f0d2cd;border-left:4px solid var(--red);border-radius:6px;box-shadow:var(--shadow)}.error-state-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#f8dcd8;color:var(--red);font-weight:850}.error-state h2{margin:2px 0 6px;font-size:16px}.error-state p{margin:0 0 14px;color:#6e5d5a;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.error-state .primary{font-size:12px}
.portal-load-error .portal-primary-button{display:inline-block;text-decoration:none}
.portal-login-shell{min-height:calc(100vh - 68px);display:grid;place-items:center;padding:28px 32px 56px}.portal-login-card{width:min(580px,100%);display:grid;gap:18px;padding:28px;background:#fff;border:1px solid #dce6e4;border-top:5px solid #d69c35;box-shadow:0 18px 38px rgba(17,52,61,.08)}.portal-login-card>div:first-child{display:grid;gap:8px}.portal-login-card>div:first-child p{margin:0;color:#a76c1d;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.portal-login-card>div:first-child h1{margin:0;color:#132d36;font-size:28px;line-height:1.1}.portal-login-card>div:first-child span{color:#64757a;font-size:13px;line-height:1.55}.portal-login-form{max-width:420px}.portal-login-link{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:41px;text-decoration:none}.portal-load-error.inline{margin:0;padding:11px 12px;border-color:#efc8c3;background:#fff7f5;text-align:left}.portal-special-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.portal-special-band article{min-height:122px;padding:16px 17px;background:#fff;border:1px solid #dce6e4;border-top:4px solid #5f8c82;display:flex;flex-direction:column;gap:4px}.portal-special-band article:nth-child(2){border-top-color:#d39c3b}.portal-special-band article:nth-child(3){border-top-color:#a76c60}.portal-special-band span{color:#63747a;font-size:11px;font-weight:800}.portal-special-band strong{display:block;margin-top:8px;font-size:23px;font-variant-numeric:tabular-nums}.portal-special-band small{display:block;color:#6b7b80;font-size:11px;line-height:1.45;margin-top:auto}.portal-special-band button{margin-top:10px;padding:0;border:0;background:transparent;color:#176070;font-size:11px;font-weight:750;text-align:left}.portal-special-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-special-card{min-width:0;padding:16px;background:#fff;border:1px solid #dce6e4;border-radius:6px;display:grid;gap:12px}.portal-special-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.portal-special-card-top strong{display:block;margin-top:4px;font-size:17px;line-height:1.15}.portal-special-card-top p{margin:4px 0 0;color:#66777b;font-size:11px;line-height:1.45}.portal-special-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.portal-special-card-grid span{display:block;color:#6d7d81;font-size:10px}.portal-special-card-grid strong{display:block;margin-top:5px;font-size:17px;font-variant-numeric:tabular-nums}.portal-special-card-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #e7eeec;color:#6a7a7e;font-size:11px;line-height:1.45}.portal-special-price{display:grid;gap:4px;padding:10px 11px;background:#eef6f4;border-left:4px solid #5f8c82;font-size:11px}.portal-special-price strong{font-size:14px}.portal-special-price span,.portal-special-price small{color:#587077}.portal-special-price small{line-height:1.4}
.portal-home-fix-band{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-home-fix-band article:nth-child(2){border-top-color:#a76c60}.portal-product-card[data-price-program="FIX"]{background:linear-gradient(180deg,#eaf6f2 0,#f7fbf9 100%);border:2px solid #579083;box-shadow:inset 0 4px 0 #2f7868}.portal-product-card[data-price-program="FIX"]:hover{border-color:#2f7868;box-shadow:inset 0 4px 0 #2f7868,0 7px 18px rgba(30,105,86,.16)}.portal-product-card[data-price-program="FIX"] .portal-brand-tag{background:#cfe8df;color:#155c4b}.portal-product-card[data-price-program="FIX"] .portal-special-price{background:#dcefe8;border-left-color:#2f7868}
@media(max-width:720px){.portal-login-shell{padding:18px 14px 36px}.portal-login-card{padding:20px}.portal-login-card>div:first-child h1{font-size:23px}.portal-login-card>div:first-child span{font-size:12px}.portal-special-band,.portal-special-list{grid-template-columns:1fr}.portal-special-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-special-card-meta{display:grid;gap:4px}}

/* Warehouse scan workflow: camera and keyboard-wedge scanners share the same fields. */
.scan-workflow{display:grid;gap:14px}.scan-step{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border-left:4px solid var(--blue);background:#f5f9fa}.scan-step>span{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:var(--blue);color:#fff;font-size:12px;font-weight:800}.scan-step strong,.scan-step small{display:block}.scan-step strong{font-size:13px}.scan-step small{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.35}.scan-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.scan-line input{min-width:0;min-height:44px;border:1px solid #cbd7da;border-radius:5px;padding:11px 12px;color:var(--ink);font-size:15px}.scan-line .secondary{min-height:44px;padding-inline:14px}.scan-form-grid .field input,.scan-form-grid .field select{min-height:44px}.scan-bin-status{padding:10px 11px;border:1px dashed #cbd7da;border-radius:5px;color:var(--muted);font-size:12px;line-height:1.35}.scan-bin-status.ready{border-color:#9bc8bd;background:#f1faf7;color:#17624f}.scan-bin-status.error{border-color:#e9bbb5;background:#fff7f6;color:#a5473f}.scan-form-grid{margin-top:-3px}.scan-camera{display:grid;gap:8px;padding:10px;border:1px solid #b9d1d4;border-radius:6px;background:#eff8f8}.scan-camera video{width:100%;max-height:260px;object-fit:cover;border-radius:4px;background:#13252d}.scan-camera>div{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#49636a;font-size:11px}.scan-camera .quiet{font-size:11px}@media(max-width:720px){.scan-line{grid-template-columns:1fr}.scan-line .secondary{width:100%}.scan-camera video{max-height:210px}}
.warehouse-tasks{display:grid;gap:16px;margin-bottom:16px}.task-card{border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.task-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--line);background:#fafbfc}.task-card-head strong{display:block;font-size:14px}.task-card-head span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.task-card-body{padding:12px 15px;display:grid;gap:10px}.task-group{border:1px solid #e4eaed;border-radius:5px;overflow:hidden;background:#fff}.task-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:#f7f9fa;border-bottom:1px solid #e4eaed}.task-group-head strong{font-size:12px}.task-group-head span{color:var(--muted);font-size:11px}.task-lines{display:grid}.task-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #edf0f2}.task-line:last-child{border-bottom:0}.task-line strong{font-size:12px}.task-line small{display:block;color:var(--muted);font-size:11px;line-height:1.35}.task-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.task-card .secondary,.task-card .primary{padding:7px 10px;font-size:11px}
 .tier-price-list{display:grid;gap:3px;min-width:240px}.tier-price-list>span{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#68777b;font-size:11px}.tier-price-label{display:flex;align-items:center;gap:6px}.tier-price-label em{padding:1px 4px;border-radius:3px;background:#e7f3ef;color:#187059;font-size:9px;font-style:normal;font-weight:700;white-space:nowrap}.tier-price-list b{color:#1e4b57;font-variant-numeric:tabular-nums}
 .portal-rebate-section{padding:20px;background:#eef5f2;border:1px solid #d2e2dc;border-left:5px solid #5f8c82}.portal-rebate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.portal-rebate-grid article{min-height:112px;padding:15px;background:#fff;border:1px solid #d8e5e1}.portal-rebate-grid span{display:block;color:#63747a;font-size:11px;font-weight:700}.portal-rebate-grid strong{display:block;margin:10px 0 5px;color:#153f4d;font-size:23px;font-variant-numeric:tabular-nums}.portal-rebate-grid small{display:block;color:#6b7b80;font-size:11px;line-height:1.4}.portal-rebate-note{margin:0;color:#5d7174;font-size:11px}.portal-price-tip{padding:12px 15px;background:#e8f2ef;border:1px solid #cfe0dc;border-left:4px solid #ce8b27;color:#264b53;font-size:13px;font-weight:750;line-height:1.45}.portal-product-bottom{display:grid;align-items:stretch;justify-content:stretch}.portal-price-summary{min-width:0;width:100%;padding:10px 11px;background:#f3f7f6;border-left:3px solid #5f8c82;display:grid;gap:4px}.portal-price-summary small{color:#607277;font-size:10px}.portal-price-summary strong{margin:0;color:#153f4d;font-size:17px}.portal-price-summary span{color:#50686d;font-size:10px;line-height:1.4;overflow-wrap:anywhere}.portal-product-buy{justify-content:flex-end}.portal-clear-cart{color:#9b403b}
 @media(max-width:720px){.portal-rebate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
 .commission-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:15px}.commission-guide-block{display:grid;gap:6px;padding:12px 13px;background:#f7fafb;border-left:4px solid var(--blue)}.commission-guide-block strong{font-size:12px;color:var(--ink)}.commission-guide-block span,.commission-guide-block small{font-size:11px;line-height:1.5;color:var(--muted)}.commission-guide-block small{color:#536b73}@media(max-width:720px){.commission-guide{grid-template-columns:1fr;padding:12px}}
/* Special Price forms intentionally keep quantity at the application level. */
.special-line,.special-review-line{display:grid;gap:10px;align-items:end;margin:10px 0;padding:12px;border:1px solid #e1e8ea;border-radius:6px;background:#fbfcfc;min-width:0}
.special-line{grid-template-columns:minmax(190px,2fr) minmax(90px,.7fr) minmax(110px,.8fr) minmax(140px,1.1fr) minmax(100px,.8fr) auto}
.special-review-line{grid-template-columns:minmax(180px,1.7fr) minmax(110px,.8fr) minmax(110px,.8fr) minmax(110px,.8fr) minmax(150px,1fr) auto}
.special-line label,.special-review-line label{display:grid;gap:6px;color:#52616a;font-size:11px;font-weight:700;min-width:0}
.special-line input,.special-review-line input{width:100%;min-width:0;border:1px solid #ccd6da;border-radius:5px;padding:9px;background:#fff}
.special-readonly{display:grid;gap:5px;min-width:0;min-height:42px;align-content:end}
.special-readonly small{color:#74828a;font-size:10px;white-space:nowrap}
.special-readonly strong{color:#183f4b;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.special-product-field select{min-width:0}
.special-review-product{display:grid;gap:3px;min-width:0;align-content:end}
.special-review-product strong{font-size:13px;overflow-wrap:anywhere}
.special-review-list{display:grid;gap:2px}
.special-remove{white-space:nowrap;align-self:end}
.special-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 13px;border:1px solid #cfe0dc;border-left:4px solid #5f8c82;background:#f1f8f6;color:#264b53;font-size:12px}
.special-summary strong{font-size:13px}
@media(max-width:720px){.special-line,.special-review-line{grid-template-columns:1fr 1fr;gap:10px;padding:11px}.special-line .special-product-field,.special-review-line .special-review-product{grid-column:1/-1}.special-line .special-remove,.special-review-line>div:last-child{justify-self:start}.special-readonly{min-height:38px}.special-line input,.special-review-line input{padding:8px}.modal-body{padding:15px}.special-summary{display:grid;gap:5px}}
@media (min-width:721px) and (max-width:1050px){.work-queue{display:grid;align-items:stretch}.work-queue>div:first-child{min-width:0}.work-queue-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Interactive account control uses the same visual treatment as the former footer label. */
.sidebar-user{border:0;border-top:1px solid rgba(255,255,255,.1);width:100%;background:transparent;color:inherit;text-align:left;cursor:pointer}
.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.permission-grid fieldset{border:1px solid var(--line);border-radius:5px;padding:9px}.permission-grid legend{padding:0 4px;font-size:11px;font-weight:700}.check-field{display:flex;align-items:center;gap:6px;font-size:11px;margin:6px 0}@media(max-width:720px){.permission-grid{grid-template-columns:1fr}}
.danger-text{color:var(--red)}

/* The operations shell gives its main element room for the fixed sidebar.
   Login pages also use <main>, so explicitly reset that shell-only geometry. */
.dealer-body main{margin-left:0;padding:0;min-height:0}

/* Sales CRM workspace. */
.crm-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:11px 12px;border:1px solid var(--line);border-radius:6px;background:#fff}.crm-toolbar>input{flex:1;min-width:240px}.crm-toolbar input,.crm-toolbar select{height:36px;border:1px solid #cbd7da;border-radius:5px;background:#fff;padding:0 9px;color:var(--ink)}.crm-view-switch{display:flex;padding:3px;border-radius:5px;background:#edf2f3}.crm-view-switch button{border:0;border-radius:4px;background:transparent;padding:7px 10px;color:var(--muted);font-size:11px;font-weight:750}.crm-view-switch button.active{background:#fff;color:var(--nav2);box-shadow:0 1px 4px rgba(18,59,82,.13)}.crm-priority{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:11px;font-weight:900}.priority-A{background:#f9dedb;color:#96352f}.priority-B{background:#ffedcf;color:#92560e}.priority-C{background:#e5edf1;color:#4c6672}.crm-overdue{box-shadow:inset 4px 0 #b84840}.crm-route-grid{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));gap:13px;align-items:start}.crm-route-column{min-width:0;border:1px solid var(--line);border-radius:6px;background:#eef2f3;overflow:hidden}.crm-route-column>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border-bottom:1px solid var(--line);background:#fff}.crm-route-column header span{color:var(--teal);font-size:9px;font-weight:850;text-transform:uppercase}.crm-route-column h2{margin:3px 0 0;font-size:14px}.crm-route-column>header>strong{display:grid;place-items:center;min-width:32px;height:25px;border-radius:13px;background:#e5f3f1;color:var(--teal);font-size:11px}.crm-route-column>div{display:grid;gap:9px;padding:10px}.crm-customer-card{padding:12px;border:1px solid #d9e1e4;border-radius:5px;background:#fff}.crm-customer-card>div:first-child{display:flex;align-items:center;gap:6px}.crm-customer-card h3{margin:10px 0 5px;font-size:14px}.crm-customer-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.crm-customer-card>small{display:block;margin:9px 0;color:#5d7079;font-size:10px}.crm-customer-card .order-actions{margin-top:9px;padding-top:9px;border-top:1px solid #edf0f2}.crm-customer-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px;padding:13px 14px;background:#eef5f7;border-left:4px solid var(--blue)}.crm-customer-summary>div:first-child{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 9px}.crm-customer-summary strong{font-size:14px}.crm-customer-summary small{grid-column:2;color:var(--muted)}.crm-timeline{margin-top:18px;border-top:1px solid var(--line);padding-top:15px}.crm-timeline h3{margin:0 0 10px;font-size:13px}.crm-timeline-item{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f2}.crm-timeline-item>span{color:var(--teal);font-size:10px;font-weight:850}.crm-timeline-item strong{font-size:12px}.crm-timeline-item p{margin:4px 0;color:#43565f;font-size:12px;line-height:1.45}.crm-timeline-item small{color:var(--muted);font-size:10px}
@media(max-width:1100px){.crm-route-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}}@media(max-width:720px){.crm-toolbar{display:grid;grid-template-columns:1fr 1fr}.crm-toolbar>input,.crm-view-switch,.crm-toolbar>.primary{grid-column:1/-1;width:100%}.crm-toolbar input,.crm-toolbar select{min-width:0;width:100%}.crm-route-grid{grid-template-columns:1fr}.crm-customer-summary{align-items:flex-start;flex-direction:column}.crm-timeline-item{grid-template-columns:58px 1fr}}

.crm-page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:12px}.crm-page-heading h2{margin:0 0 8px;font-size:18px}.crm-title-stats{display:flex;gap:15px;color:var(--muted);font-size:12px}.crm-title-stats b{color:var(--ink);font-size:15px}.crm-task-kpis{margin:14px 0 16px}.crm-task-kpis .kpi{border:1px solid var(--line);text-align:left;color:var(--ink);min-height:98px}.crm-task-kpis .kpi:hover{border-color:#8eb2c3;box-shadow:0 5px 15px rgba(18,59,82,.1)}.crm-task-kpis .kpi>span{color:var(--muted);font-size:12px}.crm-task-kpis .kpi>strong{font-size:25px}.crm-view-nav{display:flex;gap:4px;margin-bottom:12px;border-bottom:1px solid var(--line)}.crm-view-nav button{width:auto;border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 15px;color:var(--muted);font-weight:750}.crm-view-nav button.active{background:#eef5f7;color:var(--nav2);border-bottom-color:var(--teal)}.crm-filters{margin-bottom:14px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:12px}.crm-filter-primary,.crm-extra-filters>div{display:flex;gap:8px;flex-wrap:wrap}.crm-filter-primary input{flex:1;min-width:240px}.crm-filters input,.crm-filters select{height:37px;border:1px solid #cbd7da;border-radius:5px;background:#fff;padding:0 9px;min-width:150px}.crm-extra-filters{margin-top:8px}.crm-extra-filters>summary{color:var(--blue);cursor:pointer;font-size:11px;font-weight:750;margin-bottom:8px}.crm-filter-status{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-top:8px;border-top:1px solid #edf0f2;padding-top:8px;font-size:11px}.crm-filter-status>div{display:flex;gap:5px;flex-wrap:wrap}.crm-filter-status span{background:#e7f0f7;color:#1c628d;padding:3px 7px;border-radius:12px}.crm-due.overdue,.danger-text{color:#b13c35}.crm-due.today,.today-text{color:#b86c0a}.crm-due.future{color:#236c87}.crm-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.crm-actions>button{padding:6px 9px;font-size:11px}.crm-more{position:relative}.crm-more summary{list-style:none;border:1px solid var(--line);border-radius:5px;padding:6px 9px;color:var(--blue);font-size:11px;font-weight:700;cursor:pointer}.crm-more summary::-webkit-details-marker{display:none}.crm-more>div{position:absolute;right:0;top:34px;z-index:8;display:grid;min-width:150px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:5px;box-shadow:0 8px 24px rgba(20,40,50,.16)}.crm-more>div button,.crm-more>div a{border:0;background:#fff;color:var(--ink);padding:8px 10px;text-align:left;text-decoration:none;font-size:11px}.crm-more>div button:hover,.crm-more>div a:hover{background:#eef5f7}.crm-mobile-list{display:none}.crm-mobile-card{padding:13px;border:1px solid var(--line);border-radius:6px;background:#fff}.crm-mobile-card>header{display:flex;gap:10px;align-items:flex-start}.crm-mobile-card h3{margin:0 0 5px;font-size:14px}.crm-mobile-card dl{display:grid;gap:8px;margin:12px 0}.crm-mobile-card dl>div{display:grid;grid-template-columns:64px 1fr;gap:8px}.crm-mobile-card dt{color:var(--muted);font-size:10px}.crm-mobile-card dd{margin:0;font-size:11px}.crm-mobile-card footer{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;border-top:1px solid #edf0f2;padding-top:10px}.crm-mobile-card footer a,.crm-mobile-card footer button{border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--blue);padding:7px 4px;text-align:center;text-decoration:none;font-size:10px}.crm-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:start}.crm-work-grid>section{display:grid;gap:8px;padding:10px;background:#eef2f3;border-radius:6px}.crm-work-grid>section>header,.crm-pipeline>section>header{display:flex;align-items:center;justify-content:space-between}.crm-work-grid h2{font-size:14px;margin:0}.crm-work-grid header span,.crm-pipeline header span{display:grid;place-items:center;min-width:25px;height:22px;border-radius:12px;background:#fff;color:var(--muted);font-size:10px}.crm-pipeline{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(270px,1fr);gap:10px;overflow:auto;align-items:start;padding-bottom:8px}.crm-pipeline>section{display:grid;gap:8px;background:#eef2f3;border-radius:6px;padding:10px}.crm-pipeline h3{font-size:13px;margin:0}.crm-profile-summary{display:grid;gap:6px;margin-bottom:15px;padding:13px;background:#eef5f7}.crm-profile-counts{display:flex;gap:20px;padding:16px}.crm-profile-counts span{color:var(--muted)}.crm-profile-counts b{color:var(--ink);font-size:18px}.priority-UNRATED{background:#edf1f3;color:#7b878d}
@media(max-width:1050px){.crm-work-grid{grid-template-columns:1fr}.crm-filter-primary input{min-width:100%;width:100%}}
@media(max-width:720px){.crm-task-kpis{grid-template-columns:1fr 1fr}.crm-view-nav{overflow:auto}.crm-view-nav button{white-space:nowrap;padding:9px 11px}.crm-filter-primary,.crm-extra-filters>div{display:grid;grid-template-columns:1fr 1fr}.crm-filter-primary input,.crm-filter-primary .primary,.crm-extra-filters .quiet{grid-column:1/-1;width:100%}.crm-filters input,.crm-filters select{min-width:0;width:100%}.crm-filter-status{align-items:flex-start;gap:8px}#crmResults .panel .table-wrap{display:none}.crm-mobile-list{display:grid;gap:9px;padding:10px}.crm-work-grid,.crm-route-grid{grid-template-columns:1fr}.crm-route-column{padding:9px}.crm-route-column>.crm-mobile-card{margin-top:8px}.crm-page-heading h2{font-size:16px}.crm-title-stats{font-size:11px}}
.crm-business-tags{display:flex;gap:7px;flex-wrap:wrap;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fafcfc}.crm-business-tags label{display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:14px;background:#edf2f3;font-size:11px}.crm-business-tags input{width:auto}.crm-address-field{position:relative}.crm-address-suggestions{position:absolute;left:0;right:0;top:62px;z-index:10;display:grid;background:#fff;border:1px solid var(--line);box-shadow:0 8px 20px rgba(20,40,50,.14)}.crm-address-suggestions:empty{display:none}.crm-address-suggestions button{display:grid;gap:2px;border:0;border-bottom:1px solid #edf0f2;background:#fff;padding:9px 11px;text-align:left}.crm-address-suggestions button:hover{background:#eef5f7}.crm-address-suggestions small{color:var(--muted)}.crm-auto-route>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-left:4px solid var(--teal);background:#eef7f5}.crm-auto-route strong,.crm-auto-route span{display:block}.crm-auto-route span{margin-top:3px;color:var(--muted);font-size:10px}.crm-auto-route>div>div{display:flex;gap:6px}.crm-auto-route a{font-size:11px;text-decoration:none}.crm-route-stop{display:grid;gap:5px;padding:8px}.crm-route-stop>b{color:var(--teal);font-size:10px}.crm-route-stop>small{padding:0 4px;color:var(--muted);font-size:10px}.crm-route-stop .crm-mobile-card{margin:0}
@media(max-width:720px){.crm-auto-route>div{align-items:flex-start;flex-direction:column}.crm-auto-route>div>div{width:100%}.crm-auto-route a,.crm-auto-route button{flex:1;text-align:center}}
.crm-completed-view{display:grid;gap:14px}.crm-completed-view>header{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:16px 18px;background:#eef7f2;border-left:4px solid #3e8b68}.crm-completed-view h2,.crm-completed-view p{margin:0}.crm-completed-view p{margin-top:5px;color:#667873;font-size:12px}.crm-completed-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.crm-completed-card{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:68px;padding:12px 14px;border:1px solid #d5e4dc;border-radius:7px;background:#fff;color:#193941;text-align:left}.crm-completed-card>.badge{margin-left:auto}.crm-completed-main{display:grid;gap:3px;min-width:0}.crm-completed-main strong{overflow:hidden;text-overflow:ellipsis}.crm-completed-main small{color:#60757c}.crm-completed-owner-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#dceef1;color:#15566b;font-weight:800}.crm-completed-card:hover{border-color:#3e8b68;box-shadow:0 4px 13px rgba(29,84,66,.1)}.customer-account-safe-view{display:grid;gap:8px;padding:14px 16px;margin:14px 0;background:#eef5f6;border-left:4px solid #287287}.customer-account-safe-view span{color:#5f7076;font-size:12px;line-height:1.5}.customer-account-safe-view a{justify-self:start}@media(max-width:720px){.crm-completed-list{grid-template-columns:1fr}.crm-completed-view>header{align-items:start}.customer-account-safe-view a{width:100%;text-align:center}}
.crm-v83{display:grid;gap:14px}.crm-directory{display:grid;grid-template-columns:auto minmax(280px,1fr) auto;gap:9px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.crm-directory-search{display:grid;gap:6px}.crm-directory label{font-size:11px;font-weight:800;color:var(--muted)}.crm-directory input{height:40px;border:1px solid #c7d5d9;border-radius:6px;padding:0 11px}.crm-new-customer{height:40px;white-space:nowrap}.crm-directory-results{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.crm-directory-results:empty{display:none}.crm-directory-results article{display:grid;gap:3px;padding:10px 12px;border:1px solid #dce5e7;border-radius:6px;background:#f8fbfb}.crm-directory-results span,.crm-directory-results em{font-size:10px;color:var(--muted);font-style:normal}.crm-directory-results em{color:var(--blue);font-weight:750}.crm-task-kpis .kpi.selected{border-color:var(--blue);box-shadow:inset 0 0 0 2px rgba(28,98,141,.12);background:#eef6fa}.crm-view-nav button b{display:inline-grid;place-items:center;min-width:22px;height:20px;margin-left:7px;border-radius:11px;background:#edf2f3;color:var(--muted);font-size:10px}.crm-view-nav button.active b{background:#dcecf1;color:var(--nav2)}.crm-mine-header{align-items:center;justify-content:flex-start;gap:18px}.crm-mine-stage-filter{display:flex;align-items:center;gap:8px}.crm-mine-stage-filter label{color:var(--muted);font-size:11px;font-weight:800}.crm-mine-stage-filter select{min-width:150px;height:34px;padding:0 30px 0 10px;border:1px solid #bfd0d5;border-radius:6px;background:#fff;color:var(--ink);font-weight:700}.crm-mine-stage-filter>span{min-width:48px;color:var(--muted);font-size:11px;font-weight:800}.crm-development-table .table-wrap{overflow:visible}.crm-row-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.crm-row-actions>button{padding:6px 9px;font-size:10px}.crm-inline-more{width:100%;margin-top:4px}.crm-inline-more>summary{cursor:pointer;color:var(--blue);font-size:10px;font-weight:800}.crm-inline-more>div{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px;padding:8px;background:#f3f7f8;border-radius:5px}.crm-inline-more button{width:auto;padding:6px 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--blue);font-size:10px}.pool-countdown{display:inline-flex;padding:4px 8px;border-radius:12px;font-weight:850}.pool-countdown.green{background:#e8f4ee;color:#287050}.pool-countdown.amber{background:#fff0d8;color:#965c10}.pool-countdown.red{background:#fde4e1;color:#ad3932}.crm-pool-layout{display:grid;gap:16px}.crm-risk-zone{border:1px solid #efc5c0;border-radius:8px;background:#fff8f7;overflow:hidden}.crm-risk-zone>header{display:flex;align-items:end;justify-content:space-between;padding:15px 17px;border-bottom:1px solid #efd7d4}.crm-risk-zone h2,.crm-risk-zone p{margin:0}.crm-risk-zone p{margin-top:4px;color:#895b57;font-size:11px}.crm-risk-zone>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px}.crm-risk-card{display:grid;gap:8px;padding:12px;border:1px solid #efcfcb;border-radius:6px;background:#fff}.crm-risk-card header{display:flex;gap:8px;align-items:center}.crm-risk-card p{margin:0;color:#713f3a;font-size:11px;line-height:1.5}.crm-risk-card small{color:#8a6a66}.crm-essential-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.crm-essential-fields .full{grid-column:1/-1}.crm-duplicate-hint{display:grid;gap:4px;margin:13px 0;padding:10px 12px;border-left:4px solid var(--blue);background:#eef6fa;font-size:11px}.crm-duplicate-hint strong{color:var(--red)}.crm-more-profile{margin-top:12px;border:1px solid var(--line);border-radius:6px}.crm-more-profile>summary{padding:11px 13px;cursor:pointer;color:var(--blue);font-weight:800}.crm-more-profile>div{padding:0 13px 13px}.crm-route-stop>strong{font-size:12px}.crm-route-stop>button{justify-self:start}@media(max-width:900px){.crm-directory-results,.crm-risk-zone>div{grid-template-columns:1fr 1fr}}@media(max-width:720px){.crm-directory{grid-template-columns:1fr}.crm-directory>*{width:100%}.crm-new-customer{order:0}.crm-directory-search{order:1}.crm-public-setting{order:2}.crm-directory-results{grid-column:1;grid-template-columns:1fr}.crm-risk-zone>div{grid-template-columns:1fr}.crm-essential-fields{grid-template-columns:1fr}.crm-essential-fields .full{grid-column:1}.crm-task-kpis{grid-template-columns:1fr 1fr}.crm-mine-header{align-items:flex-start}.crm-mine-stage-filter{width:100%;flex-wrap:wrap}.crm-mine-stage-filter select{flex:1}.crm-development-table .table-wrap{display:block!important;overflow:auto}.crm-development-table table{min-width:920px}}
.price-program{font-weight:900!important;letter-spacing:.01em}.price-fix{background:#dff2f5!important;color:#075f72!important;border:1px solid #9dced8}.price-special{background:#fff0d1!important;color:#8a5200!important;border:1px solid #e9c174}.order-mode-tags{display:flex;gap:5px;flex-wrap:wrap}.price-program-expiry{margin-top:4px;color:#536d78!important;font-weight:750}.fix-order-validity{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;background:#eef8f9;border-left:4px solid #178198}.fix-order-validity>div{display:grid;gap:3px}.fix-order-validity small{color:#62767e}.customer-account-safe-view input{width:100%;font-family:ui-monospace,monospace;font-size:11px}.customer-account-safe-view small{color:#6d7e84}.customer-login-secondary{margin:10px 0}.readonly-customer-body{margin:0;background:#f3f6f7;color:#132d38;font-family:Inter,"Segoe UI",sans-serif}.readonly-customer-header{display:flex;align-items:center;justify-content:space-between;padding:17px max(22px,calc((100vw - 1180px)/2));background:#103746;color:#fff}.readonly-customer-header>a{color:#fff;border:1px solid #7293a0;border-radius:6px;padding:9px 13px;text-decoration:none;font-weight:700}.readonly-brand{display:flex;align-items:center;gap:11px}.readonly-brand>span{display:grid;place-items:center;width:42px;height:42px;background:#e4ad27;color:#103746;clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);font-size:22px;font-weight:900}.readonly-brand div{display:grid}.readonly-brand strong{letter-spacing:.07em}.readonly-brand small{color:#b9d2dc}.readonly-customer-main{display:grid;gap:16px;max-width:1180px;margin:auto;padding:30px 20px 50px}.readonly-loading,.readonly-error{padding:70px 20px;text-align:center}.readonly-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px;background:#fff;border-left:6px solid #e4ad27;box-shadow:0 7px 22px rgba(18,48,60,.07)}.readonly-kicker{color:#157184;font-size:11px;font-weight:900;text-transform:uppercase}.readonly-hero h1{margin:7px 0 4px}.readonly-hero p{margin:0;color:#667b84}.readonly-hero dl{display:flex;gap:8px;margin:0}.readonly-hero dl div{min-width:105px;padding:11px;background:#edf4f5;border-radius:7px}.readonly-hero dt{color:#6f8289;font-size:10px}.readonly-hero dd{margin:4px 0 0;font-size:20px;font-weight:900}.readonly-panel{overflow:hidden;background:#fff;border:1px solid #d9e3e6;border-radius:9px}.readonly-panel>header{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid #e1e8ea}.readonly-panel h2{margin:0;font-size:16px}.readonly-panel header span{color:#6b7f87;font-size:11px}.readonly-profile{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px}.readonly-profile div{display:grid;gap:5px;padding:12px;background:#f5f8f9}.readonly-profile small,.readonly-price-grid small,.readonly-table-wrap td small{display:block;color:#708189;font-size:10px}.readonly-table-wrap{overflow:auto}.readonly-table-wrap table{width:100%;border-collapse:collapse}.readonly-table-wrap th,.readonly-table-wrap td{padding:12px 14px;border-bottom:1px solid #e7edef;text-align:left;font-size:12px}.readonly-table-wrap th{color:#667a82;background:#f7f9fa;font-size:10px}.readonly-badge{display:inline-block;padding:4px 7px;background:#e9eff1;border-radius:5px;font-size:10px;font-weight:800}.readonly-badge.fix{background:#dff2f5;color:#075f72}.readonly-badge.special{background:#fff0d1;color:#8a5200}.readonly-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px}.readonly-price-grid article{display:grid;gap:7px;padding:14px;border:1px solid #dce5e7;border-radius:7px}.readonly-price-grid article>div{display:flex;justify-content:space-between}.readonly-price-grid h3,.readonly-price-grid p{margin:0}.readonly-price-grid p{color:#697d84;font-size:11px}.readonly-empty{padding:28px;text-align:center;color:#72858c}.readonly-footer{text-align:center;color:#72858c;font-size:11px}.readonly-error{margin-top:35px;background:#fff5f4;border:1px solid #e4b4af;color:#943d38}@media(max-width:720px){.readonly-customer-header{padding:12px 14px}.readonly-customer-main{padding:18px 12px 35px}.readonly-hero{align-items:start;flex-direction:column}.readonly-hero dl{width:100%;overflow:auto}.readonly-hero dl div{min-width:90px}.readonly-profile,.readonly-price-grid{grid-template-columns:1fr}.readonly-panel>header{align-items:start;flex-direction:column;gap:4px}}

/* CRM and outbound delivery route workspaces. */
.crm-route-tools{display:flex!important;grid-template-columns:none!important;gap:6px!important;padding:9px 10px!important;background:#f8fbfb}.crm-route-tools button{flex:1;font-size:10px}.route-map-canvas{position:relative;min-height:340px;border:1px solid #cbd9dd;border-radius:7px;background:linear-gradient(30deg,rgba(255,255,255,.72),rgba(255,255,255,.72)),repeating-linear-gradient(0deg,#dce6e8 0 1px,transparent 1px 34px),repeating-linear-gradient(90deg,#dce6e8 0 1px,transparent 1px 34px);overflow:hidden}.route-map-canvas:before{content:'SYSTEM ROUTE MAP';position:absolute;right:12px;bottom:10px;color:#9aaaae;font-size:9px;font-weight:900;letter-spacing:.14em}.route-map-marker{position:absolute;z-index:2;display:grid;place-items:center;transform:translate(-50%,-50%);border:0;background:transparent;padding:0}.route-map-marker>b{display:grid;place-items:center;width:28px;height:28px;border:3px solid #fff;border-radius:50%;background:var(--blue);color:#fff;box-shadow:0 3px 9px rgba(21,61,81,.28)}.route-map-marker.warehouse>b{background:var(--teal)}.route-map-marker>span{position:absolute;top:31px;width:max-content;max-width:140px;padding:3px 5px;border-radius:3px;background:rgba(255,255,255,.94);box-shadow:0 1px 4px rgba(20,40,50,.13);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-map-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}.route-map-summary a{text-decoration:none}.route-map-list{display:grid;gap:7px}.route-map-list article{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid var(--line);border-radius:5px}.route-map-list article>b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e5f3f1;color:var(--teal)}.route-map-list article>div{display:grid;gap:2px}.route-map-list span,.route-map-list small{color:var(--muted);font-size:10px}.route-map-list article>div:last-child{display:flex;gap:5px;flex-wrap:wrap}.route-map-list a{color:var(--blue);font-size:10px;text-decoration:none}.route-select-list{display:grid;gap:6px;max-height:340px;overflow:auto}.route-select-list label{display:grid;grid-template-columns:auto 25px 1fr;align-items:center;gap:8px;padding:8px;border:1px solid var(--line);border-radius:5px}.delivery-filters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:7px;margin-bottom:14px;padding:11px;border:1px solid var(--line);border-radius:6px;background:#fff}.delivery-filters select,.delivery-filters input{min-width:0;height:36px;border:1px solid #cbd7da;border-radius:5px;background:#fff;padding:0 8px}.delivery-route-group{margin-bottom:14px;border:1px solid var(--line);border-radius:7px;background:#fff;overflow:hidden}.delivery-route-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:#edf5f6;border-bottom:1px solid var(--line)}.delivery-route-group>header span{color:var(--teal);font-size:10px;font-weight:800}.delivery-route-group>header h2{margin:4px 0 0;font-size:15px}.delivery-route-group>header>div:last-child{display:flex;align-items:center;gap:9px}.delivery-route-group>header strong{font-size:11px}.delivery-orders{padding:11px 13px}.delivery-orders h3{margin:0 0 8px;font-size:12px}.delivery-stop{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid #edf0f2}.delivery-stop>b{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--blue);color:#fff}.delivery-stop>div:nth-child(2){display:grid;gap:3px}.delivery-stop span,.delivery-stop small{color:var(--muted);font-size:10px}.delivery-stop.address-exception{box-shadow:inset 4px 0 var(--red);background:#fff8f7}.delivery-loading{margin:0 13px 13px;border:1px solid #dce5e7;border-radius:5px}.delivery-loading summary{padding:10px;color:var(--blue);font-size:11px;font-weight:800;cursor:pointer}.delivery-loading>div{display:grid;grid-template-columns:80px 1fr auto;gap:10px;padding:8px 10px;border-top:1px solid #edf0f2;font-size:10px}.delivery-loading small{color:var(--muted)}.delivery-detail-summary{display:grid;gap:5px;margin-bottom:12px;padding:12px;border-left:4px solid var(--teal);background:#eef7f5}.delivery-detail-summary span,.delivery-detail-summary small{color:var(--muted);font-size:11px}
@media(max-width:900px){.delivery-filters{grid-template-columns:repeat(2,1fr)}.delivery-filters input,.delivery-filters button{grid-column:1/-1}}@media(max-width:720px){.route-map-canvas{min-height:280px}.route-map-list article{grid-template-columns:28px 1fr}.route-map-list article>div:last-child{grid-column:2}.route-map-summary,.delivery-route-group>header{align-items:flex-start;flex-direction:column}.delivery-route-group>header>div:last-child{width:100%;justify-content:space-between}.delivery-stop{grid-template-columns:30px 1fr}.delivery-stop>div:last-child{grid-column:2}.delivery-loading>div{grid-template-columns:70px 1fr}.delivery-loading small{grid-column:2}.delivery-filters{grid-template-columns:1fr 1fr}}
.conversion-button{background:linear-gradient(135deg,#b87800,#d69a19);color:#fff;border-color:#b87800;font-weight:800;box-shadow:0 4px 12px rgba(184,120,0,.2)}
.conversion-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;margin-bottom:16px;border:1px solid #e2b34d;background:#fff8e7;border-radius:12px}.conversion-banner div{display:grid;gap:3px}.conversion-banner span,.conversion-banner small{color:var(--muted)}.conversion-banner strong{font-size:1.15rem}
.missing-summary{padding:11px 14px;margin-bottom:14px;border-left:4px solid var(--red);background:#fff1ef;color:#9d2f24;border-radius:8px}.missing-field input,.missing-field select{border-color:#d45c4d;background:#fff8f7}.missing-field label{color:#a9382d;font-weight:800}
.save-order-draft{margin-top:14px}.next-step-conversion{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;background:#fff8e7;border:1px solid #ead19a;border-radius:10px}
.profile-tab-strip{display:flex;gap:7px;overflow:auto;padding:5px 0 14px}.profile-tab-strip span{white-space:nowrap;padding:7px 10px;border-radius:999px;background:#edf3f5;color:#36535e;font-size:.82rem;font-weight:700}.profile-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.order-detail-banner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:15px}.order-detail-banner>div{padding:12px;background:#f4f7f8;border-radius:10px;display:grid;gap:4px}.order-detail-banner span{font-size:.75rem;color:var(--muted)}
@media(max-width:700px){.conversion-banner{align-items:flex-start;flex-direction:column}.order-detail-banner{grid-template-columns:repeat(2,minmax(0,1fr))}.next-step-conversion{align-items:flex-start;flex-direction:column}.profile-tab-strip{margin-inline:-4px}.crm-actions .conversion-button{width:100%}}

/* Print in the current document so embedded browsers do not block a popup window. */
.print-root{position:fixed;inset:0;z-index:100;overflow:auto;background:#e8edef;color:#111}
.print-preview-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px;background:#fff;border-bottom:1px solid #cdd7db;box-shadow:0 2px 8px rgba(16,38,49,.1)}
.print-preview-toolbar>div:first-child{display:grid;gap:3px}.print-preview-toolbar strong{font-size:14px}.print-preview-toolbar span{color:#63717a;font-size:11px}.print-preview-toolbar>div:last-child{display:flex;gap:8px;white-space:nowrap}
.print-sheet{width:min(900px,calc(100% - 32px));min-height:calc(100vh - 110px);margin:20px auto;padding:28px;background:#fff;box-shadow:0 3px 18px rgba(16,38,49,.14)}
@media print{
  @page{margin:12mm}
  body{background:#fff!important;color:#111!important}
  body>*:not(.print-root){display:none!important}
  .print-root{display:block!important;position:static!important;overflow:visible!important;background:#fff!important;font-family:Arial,Helvetica,sans-serif;margin:0;padding:0;color:#111}
  .print-preview-toolbar{display:none!important}
  .print-sheet{width:auto;min-height:0;margin:0;padding:0;box-shadow:none}
  .print-root h1{margin:0 0 10px;font-size:22px}
  .print-root h2{margin:0;font-size:14px}
  .print-root .meta{display:flex;gap:14px;flex-wrap:wrap;margin:8px 0 16px;font-size:12px;color:#555}
  .print-root .block{margin:0 0 14px;border:1px solid #d9dfe2;border-radius:6px;overflow:hidden;break-inside:avoid}
  .print-root .block-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;background:#f6f8f9!important;border-bottom:1px solid #e4e8ea}
  .print-root .block-head strong{font-size:13px}
  .print-root .block-head span{font-size:12px;color:#58656c}
  .print-root .block-body{padding:10px 12px}
  .print-root .print-table{width:100%;border-collapse:collapse}
  .print-root .print-table th,.print-root .print-table td{padding:7px 8px;border-bottom:1px solid #edf0f2;font-size:12px;text-align:left;vertical-align:top}
  .print-root .print-table th{background:#fafbfc!important;font-size:11px;color:#5e6a71;text-transform:uppercase;letter-spacing:.02em}
  .print-root .print-table td.num{text-align:right;font-variant-numeric:tabular-nums}
  .print-root .print-note{margin-top:12px;color:#66737a;font-size:12px}
  .print-root .print-list{display:grid;gap:12px}
  .print-root .subtext{color:#66737a;font-size:10px}
  .print-root .warehouse-outbound-order{break-inside:auto}
  .print-root .warehouse-outbound-order thead{display:table-header-group}
  .print-root .warehouse-outbound-order tr{break-inside:avoid}
  .print-root .warehouse-outbound-detail-title{margin:18px 0 10px;padding-bottom:6px;border-bottom:2px solid #233f4b;font-size:15px}
}
@media(max-width:720px){.print-preview-toolbar{position:static;align-items:flex-start;flex-direction:column}.print-preview-toolbar>div:last-child{width:100%}.print-preview-toolbar button{flex:1}.print-sheet{width:calc(100% - 16px);margin:8px auto;padding:16px}}
.portal-admin-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:13px 14px;border:1px solid #b9d8d4;border-left:4px solid var(--teal);background:#eef7f5}.portal-admin-entry>div{display:grid;gap:4px}.portal-admin-entry strong{font-size:13px}.portal-admin-entry span{color:var(--muted);font-size:11px;line-height:1.4}.portal-admin-entry button{white-space:nowrap}
@media(max-width:720px){.portal-admin-entry{align-items:stretch;flex-direction:column}.portal-admin-entry button{width:100%}}
.won-tabs{display:flex;gap:8px;padding:6px;background:#edf3f5;border-radius:14px;margin:18px 0;overflow:auto}.won-tabs button{border:0;background:transparent;padding:12px 18px;border-radius:10px;font-weight:800;color:#516670;white-space:nowrap}.won-tabs button.active{background:#fff;color:#0d566b;box-shadow:0 2px 10px #173b4c18}.won-category-tabs button{display:grid;grid-template-columns:1fr auto;gap:3px 10px;min-width:190px;text-align:left}.won-category-tabs button>b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:12px;background:#dce8eb;color:#315966;font-size:11px}.won-category-tabs button.active>b{background:#0d566b;color:#fff}.won-category-tabs button>small{grid-column:1/-1;color:#72858c;font-size:9px;font-weight:600;white-space:normal}.won-filters{display:flex;gap:10px;align-items:center;margin:0 0 16px}.won-filters input{min-width:300px;flex:1}.won-category-description{color:#657982;font-size:11px}.kpi.kpi-action{width:100%;border:1px solid var(--line);color:var(--ink);text-align:left}.kpi.kpi-action:hover{border-color:#7aaabd;box-shadow:0 5px 15px rgba(18,59,82,.12)}.won-actions{display:flex;gap:6px;flex-wrap:wrap}.won-actions button{white-space:nowrap}.won-mobile-list{display:none}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.analysis-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px}.analysis-numbers article,.won-overview-grid article{padding:16px;border:1px solid #dde8eb;border-radius:12px;background:#f8fbfc}.analysis-numbers span,.won-overview-grid span{display:block;color:#60747c;font-size:12px}.analysis-numbers strong,.won-overview-grid strong{display:block;margin-top:8px;font-size:21px}.won-360-header{display:flex;align-items:center;justify-content:space-between;padding:18px;background:linear-gradient(135deg,#e9f5f6,#f7fafb);border-radius:14px}.won-360-header strong{display:block;font-size:22px}.won-360-header span{display:block;margin-top:5px}.won-overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.common-products{display:flex;gap:8px;flex-wrap:wrap;padding:16px}.common-products span{background:#edf5f7;padding:8px 12px;border-radius:999px}.portal-success-card{text-align:center;max-width:880px;margin:24px auto;padding:34px;border:1px solid #d9e7ea;border-radius:20px;background:#fff;box-shadow:0 16px 50px #173b4c14}.portal-success-mark{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;margin:auto;background:#dff5ec;color:#168059;font-size:34px;font-weight:900}.portal-success-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.portal-success-grid div{padding:14px;background:#f5f9fa;border-radius:12px}.portal-success-grid span,.portal-success-grid strong{display:block}.portal-success-grid span{font-size:12px;color:#687c84}.portal-success-grid strong{margin-top:6px}.portal-success-items{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.portal-success-items span{background:#eef5f6;border-radius:999px;padding:8px 12px}.portal-success-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.won-customer-table .table-wrap{overflow:visible}.won-customer-table table{table-layout:fixed}.won-customer-table th:nth-child(1){width:23%}.won-customer-table th:nth-child(2){width:13%}.won-customer-table th:nth-child(3){width:22%}.won-customer-table th:nth-child(4){width:15%}.won-customer-table th:nth-child(5){width:15%}.won-customer-table th:nth-child(6){width:12%}.won-customer-row td{vertical-align:top;padding-block:15px}.won-customer-link{border:0;background:transparent;color:#0b5e83;padding:0;text-align:left;font-weight:850;line-height:1.3}.won-customer-link:hover{text-decoration:underline}.won-product-link{display:grid;gap:4px;width:100%;border:0;background:transparent;color:#0b6690;padding:0;text-align:left;line-height:1.35}.won-product-link strong{font-size:12px}.won-product-link span{font-size:11px;font-weight:750}.won-product-link:hover span{text-decoration:underline}.won-reminders{display:flex;gap:5px;flex-wrap:wrap}.won-normal{color:#287050;font-size:11px;font-weight:800}.won-primary-actions{display:flex;gap:6px;flex-wrap:wrap}.won-primary-actions button{padding:7px 9px;font-size:11px;white-space:nowrap}.won-detail-row[hidden],.won-mobile-detail[hidden]{display:none}.won-detail-row>td{padding:0;background:#f2f7f8;border-bottom:2px solid #c9dde2}.won-detail-row:hover{background:transparent}.won-expanded-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dce8eb}.won-expanded-grid section{display:grid;align-content:start;gap:6px;min-height:112px;padding:14px;background:#f7fafb}.won-expanded-grid section:last-child{grid-column:1/-1;min-height:auto}.won-expanded-grid h3{margin:0;color:#526c76;font-size:10px;text-transform:uppercase}.won-expanded-grid section>strong{font-size:14px}.won-expanded-grid section>span{color:#657982;font-size:11px}.won-expanded-grid section>button{justify-self:start}.won-fix-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.won-fix-list li{display:grid;gap:2px}.won-fix-list span{color:#5f747d;font-size:10px}.won-expanded-actions{display:flex;gap:8px;padding:11px 14px;background:#f7fafb}.won-mobile-metrics{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.won-mobile-metrics span{display:grid;gap:3px;padding:9px;background:#f4f8f9;border-radius:7px}.won-mobile-metrics small{color:#697c84;font-size:10px}.won-mobile-metrics strong{font-size:13px}.won-mobile-list .won-product-link{margin:10px 0;padding:10px;background:#f0f7f8;border-radius:7px}.won-mobile-list .won-reminders{margin:8px 0}.won-mobile-detail{margin-top:12px;border:1px solid #d4e2e6;border-radius:9px;overflow:hidden}.won-mobile-detail .won-expanded-grid{grid-template-columns:1fr}.won-product-search{display:flex;align-items:end;gap:12px;margin-bottom:14px}.won-product-search label{display:grid;gap:5px;flex:1;color:#526872;font-size:11px;font-weight:800}.won-product-search input{width:100%;border:1px solid #ccd7db;border-radius:6px;padding:10px}.won-product-search>span{color:#687d85;font-size:11px}.won-product-table{border:1px solid #d9e4e7;border-radius:9px;overflow:hidden}.won-product-table-head,.won-product-history>summary{display:grid;grid-template-columns:55px minmax(150px,1.15fr) minmax(90px,.7fr) minmax(105px,.8fr) minmax(155px,1.1fr) minmax(135px,1fr);gap:8px;align-items:center}.won-product-table-head{padding:10px 12px;background:#f2f6f7;color:#647982;font-size:10px;font-weight:800}.won-product-history{border-top:1px solid #e1e8ea}.won-product-history:first-of-type{border-top:0}.won-product-history>summary{padding:13px 12px;cursor:pointer;list-style:none}.won-product-history>summary::-webkit-details-marker{display:none}.won-product-history>summary:hover{background:#f8fbfc}.won-product-history>summary small{display:block;margin-top:3px;color:#6d7f86;font-size:9px}.won-product-history-body{padding:0 14px 14px;background:#f7fafb}.won-product-history-body>p{display:flex;align-items:center;gap:10px;margin:0;padding:10px 0;color:#61757e;font-size:11px}.won-product-history-body .table-wrap{max-height:280px}.modal:has(.won-product-table){width:min(1080px,100%)}
.won-commission-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:14px}.won-commission-summary article{display:grid;gap:5px;padding:11px;background:#f2f7f8;border-radius:7px}.won-commission-summary span{color:#667b84;font-size:10px}.won-commission-summary strong{font-size:16px;font-variant-numeric:tabular-nums}.won-commission-orders{display:grid;gap:9px;margin-top:14px}.won-commission-orders>h3{margin:0 0 2px;font-size:13px}.won-commission-order{border:1px solid #d8e3e6;border-radius:8px;overflow:hidden}.won-commission-order>summary{display:grid;grid-template-columns:minmax(180px,1fr) 90px 110px;gap:12px;align-items:center;padding:12px 14px;background:#f6f9fa;cursor:pointer}.won-commission-order>summary>span:first-child{display:grid;gap:3px}.won-commission-order>summary small{color:#687c84;font-size:10px}.won-commission-order>summary>span:nth-child(n+2){text-align:right;font-weight:800}.won-commission-order-body{padding:12px}.won-commission-formula{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:10px;padding:10px;background:#eef6f7;font-size:10px}.won-commission-formula span{padding:4px 7px;background:#fff;border-radius:4px}.won-commission-formula .adjustment{color:#a13832;background:#fff0ee}.won-commission-formula strong{width:100%;color:#244f60;font-size:11px}.won-commission-adjustments{margin-top:10px;padding:10px;border-left:3px solid #b5473e;background:#fff6f5}.won-commission-adjustments h4{margin:0 0 6px;font-size:11px}.won-commission-adjustments p{display:flex;gap:10px;margin:5px 0;font-size:10px}.won-commission-adjustments p>strong{color:#a13832}.won-commission-adjustments p>span{color:#6d777b}.modal:has(.won-commission-summary){width:min(1180px,100%)}
.won-commission-rules{margin-bottom:14px;border:1px solid #d7e3e6;border-radius:9px;overflow:hidden}.won-commission-rules>header{padding:12px 14px;background:#edf5f7}.won-commission-rules h3,.won-commission-rules h4{margin:0}.won-commission-rules h3{font-size:13px}.won-commission-rules header p{margin:4px 0 0;color:#60747d;font-size:10px}.won-commission-rule-columns{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#dfe8eb}.won-commission-rule-columns>div{display:grid;gap:7px;padding:12px;background:#fff}.won-commission-rule-columns h4{color:#4f6872;font-size:10px;text-transform:uppercase}.won-commission-rule-columns article{display:grid;grid-template-columns:105px 1fr;gap:8px;align-items:center;padding:7px 9px;border-radius:6px;background:#f7fafb}.won-commission-rule-columns article strong{color:#154e66;font-size:11px}.won-commission-rule-columns article span{color:#657982;font-size:10px}.won-commission-exclusions{display:grid;gap:4px;padding:9px 13px;background:#fff8e9;color:#715f35;font-size:10px}.won-monthly-position{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(260px,1.4fr) auto;gap:12px;align-items:center;margin-top:10px;padding:11px 12px;border-left:4px solid var(--blue);background:#f2f7f9}.won-monthly-position>div{display:grid;gap:4px}.won-monthly-position span{color:#5c717a;font-size:10px}.won-monthly-position>div:nth-child(2) span{padding:4px 7px;border-radius:4px;background:#fff}.won-monthly-position>strong{font-size:11px;color:#164f66}.won-monthly-position.excluded{grid-template-columns:auto 1fr;border-left-color:#d29a2f;background:#fff8e9}
.won-commission-price-compare{display:grid;grid-template-columns:repeat(3,minmax(78px,1fr));gap:4px;margin-bottom:7px}.won-commission-price-compare>span{display:grid;gap:2px;padding:6px;border-radius:5px;background:#f2f6f7}.won-commission-price-compare small{color:#6d7f87;font-size:8px}.won-commission-price-compare strong{font-size:11px;font-variant-numeric:tabular-nums}.won-commission-price-compare .positive{background:#eaf6f0;color:#176a49}.won-commission-price-compare .negative{background:#fff0ee;color:#a13932}
.won-commission-rule-columns article .commission-tier-quantity{grid-column:1/-1;padding-top:5px;border-top:1px dashed #d7e3e6;color:#17647d;font-size:9px;font-weight:700;line-height:1.4}
@media(max-width:900px){.won-center .table-wrap{display:none}.won-mobile-list{display:grid;gap:12px}.won-mobile-list article{border:1px solid #dce7ea;border-radius:14px;padding:16px;background:#fff}.won-mobile-list article>div:first-child{display:flex;justify-content:space-between;gap:8px}.won-mobile-list p{color:#5c727b}.analysis-grid{grid-template-columns:1fr}.won-overview-grid{grid-template-columns:1fr 1fr}.portal-success-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.won-commission-summary{grid-template-columns:1fr 1fr}.won-commission-rule-columns{grid-template-columns:1fr}.won-monthly-position,.won-monthly-position.excluded{grid-template-columns:1fr}.won-commission-order>summary{grid-template-columns:1fr auto}.won-commission-order>summary>span:first-child{grid-column:1/-1}.modal:has(.won-commission-summary) .table-wrap{margin-inline:0}.modal:has(.won-commission-summary) table{min-width:880px}}
@media(max-width:560px){.won-filters{align-items:stretch;flex-direction:column}.won-filters input{min-width:0;width:100%}.won-overview-grid,.analysis-numbers,.portal-success-grid{grid-template-columns:1fr}.won-actions button{flex:1}.portal-success-card{padding:20px 14px}.portal-success-actions{flex-direction:column}.portal-success-actions>*{width:100%}}

/* Electronic documents v8 */
.portal-document-grid{display:grid;gap:14px;margin-top:14px}.portal-document-card{border:1px solid #d7e1e6;border-radius:14px;padding:18px;background:#fff;box-shadow:0 6px 18px rgba(18,59,82,.05)}.portal-document-card header,.portal-document-card footer{display:flex;justify-content:space-between;gap:12px;align-items:center}.portal-document-card header div{display:grid;gap:3px}.portal-document-card header span,.portal-document-card dt{color:#687b87;font-size:.82rem}.portal-document-card dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.portal-document-card dl div,.portal-receipt-details div{display:grid;gap:4px}.portal-document-card dd,.portal-receipt-details dd{margin:0;font-weight:700;color:#123b52}.portal-document-card footer{justify-content:flex-start;flex-wrap:wrap}.portal-status{padding:5px 10px;border-radius:999px;background:#eaf1f4;font-weight:700}.portal-status.paid,.portal-status.confirmed{background:#daf2e5;color:#16734a}.portal-status.expired,.portal-status.void,.portal-status.voided{background:#fde1df;color:#a9322a}.portal-document-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.portal-document-preview{background:#fff;border:1px solid #d7e1e6;border-radius:14px;padding:clamp(16px,3vw,34px);color:#17313d}.portal-document-preview>header{display:flex;justify-content:space-between;gap:24px;border-bottom:3px solid #0d6672;padding-bottom:18px}.portal-document-preview>header>div{display:grid;gap:4px}.portal-document-preview h2{font-size:2rem;margin:0}.portal-document-addresses{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.portal-document-addresses section,.portal-document-preview>section{border:1px solid #d7e1e6;background:#f7fafb;border-radius:10px;padding:14px}.portal-document-table{overflow-x:auto}.portal-document-table table{min-width:860px;width:100%;border-collapse:collapse}.portal-document-table th{background:#123b52;color:#fff}.portal-document-table th,.portal-document-table td{padding:9px;border:1px solid #d7e1e6;text-align:left}.portal-document-totals{margin:18px 0 18px auto;max-width:390px}.portal-document-totals div,.portal-receipt-details div{display:flex;justify-content:space-between;gap:18px;padding:7px;border-bottom:1px solid #e1e8eb}.portal-document-totals div:nth-last-child(-n+3){font-weight:800}.portal-receipt-details{margin:16px 0}.portal-document-note{padding:15px;background:#f2f6f8;border-left:4px solid #0d6672}
.portal-fee-note{margin:12px 0 0;padding-top:10px;border-top:1px solid #e2e9e7;color:#596d72;font-size:12px;line-height:1.55}.portal-order-summary{margin-top:22px;padding-top:18px;border-top:1px solid #dbe6e5}.portal-order-summary h3{margin:0 0 4px;color:#173840;text-align:left}.portal-order-summary .portal-success-grid{margin-top:12px}.portal-fee-offset{margin:10px 0;padding:10px 12px;border:1px solid #d1dfdc;background:#f4f8f7;color:#334d54;font-size:12px;line-height:1.55;text-align:right}.portal-fee-offset span{padding:0 4px;color:#6f8185}.portal-fee-offset strong{color:#183d47}
.portal-checkout-tax{display:grid;gap:7px;margin-top:12px;padding:13px 14px;border:1px solid #b9d7ce;border-radius:9px;background:#f1f8f6}.portal-checkout-tax>div{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#4e666e}.portal-checkout-tax>div strong{color:#153d49;font-variant-numeric:tabular-nums}.portal-checkout-tax>div span small{margin-left:5px;color:#14735e;font-weight:800}.portal-checkout-tax>div.total{padding-top:8px;border-top:1px solid #cbded8}.portal-checkout-tax>div.total strong{font-size:1.15rem}.portal-checkout-tax>small{color:#597077;line-height:1.45}.portal-checkout-tax.loading{opacity:.78}.portal-checkout-tax.error{border-color:#e4aba5;background:#fff7f6}.portal-checkout-tax.error strong,.portal-checkout-tax.error small{color:#a43a31}

/* Resilient delivery route states v8 */
.delivery-state{min-height:360px;display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid #d7e1e6;border-radius:14px;background:#fff;padding:28px}.delivery-state>span{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#eaf3f5;color:#0d6672;font-size:1.6rem}.delivery-state.error{border-color:#efc6c2;background:#fff9f8}.delivery-state.error>span{background:#fde1df;color:#b7392f}.delivery-state h2{margin:0 0 8px}.delivery-state div div{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.delivery-map-unavailable{display:flex;gap:10px;align-items:center;padding:13px 16px;margin-bottom:14px;border:1px solid #e9c86f;background:#fff9e8;border-radius:10px}.delivery-map-unavailable strong{color:#7d5a00}.delivery-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.delivery-summary-grid article{background:#fff;border:1px solid #d7e1e6;border-radius:12px;padding:15px;display:grid;gap:4px}.delivery-summary-grid span{color:#687b87}.delivery-summary-grid strong{font-size:1.7rem}.delivery-today-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;padding:16px}.delivery-today-route{border:1px solid #d7e1e6;border-radius:12px;padding:15px}.delivery-today-route header,.delivery-today-route>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.delivery-today-route header div{display:grid;gap:2px}.delivery-today-route h3{margin:0}.delivery-today-route dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.delivery-today-route dt{font-size:.76rem;color:#687b87}.delivery-today-route dd{margin:3px 0 0;font-weight:700}.delivery-today-route>div{justify-content:flex-start;flex-wrap:wrap}
.delivery-workbench{max-width:1260px}.delivery-summary-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-summary-grid.compact article{padding:14px 16px}.delivery-summary-grid.compact small{color:#7a8b93}.delivery-board>.panel-header>div:first-child{display:grid;gap:3px}.delivery-board>.panel-header h2,.delivery-board>.panel-header small{margin:0}.delivery-board-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.delivery-board-actions a,.delivery-task-card footer a{text-decoration:none}.delivery-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:14px;padding:16px}.delivery-task-card{display:grid;gap:14px;padding:16px;border:1px solid #d7e1e6;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(25,52,65,.05)}.delivery-task-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.delivery-task-card>header>div{display:grid;gap:4px}.delivery-task-card>header span.mono{font-size:.78rem;color:#61747d}.delivery-task-card h3{margin:0;font-size:1.12rem}.delivery-task-address{display:grid;gap:4px;padding:12px 14px;border-radius:9px;background:#f1f7f8}.delivery-task-address>span{font-size:.75rem;color:#647881}.delivery-task-address>strong{font-size:1rem;line-height:1.4}.delivery-task-address>small{color:#647881}.delivery-task-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.delivery-task-card dl>div{min-width:0}.delivery-task-card dt{font-size:.74rem;color:#71828a}.delivery-task-card dd{margin:4px 0 0;font-weight:700;line-height:1.35}.delivery-task-card footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:2px}.delivery-google-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px}

@media(max-width:760px){.portal-document-card dl{grid-template-columns:1fr 1fr}.portal-document-preview>header,.portal-document-addresses{grid-template-columns:1fr;display:grid}.portal-document-preview h2{font-size:1.55rem}.delivery-summary-grid,.delivery-summary-grid.compact{grid-template-columns:1fr}.delivery-map-unavailable{align-items:flex-start}.delivery-today-route dl{grid-template-columns:1fr 1fr}.delivery-task-grid{grid-template-columns:1fr;padding:12px}.delivery-task-card dl{grid-template-columns:1fr}.delivery-task-card footer>*{width:100%}.delivery-board>.panel-header{align-items:flex-start;flex-direction:column}.delivery-board-actions{width:100%}}

/* Warehouse operations center v18 */
.warehouse-bin-sku-list{display:grid;border:1px solid #dce5e8;border-radius:8px;overflow:hidden}.warehouse-bin-sku{width:100%;border:0;border-bottom:1px solid #e6ecee;background:#fff;padding:9px 10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;color:inherit}.warehouse-bin-sku:last-child{border-bottom:0}.warehouse-bin-sku:hover{background:#f1f7f8}.warehouse-bin-sku>span{display:grid;gap:2px;min-width:0}.warehouse-bin-sku strong{font-family:"SFMono-Regular",Consolas,monospace;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.warehouse-bin-sku small{color:#71848c;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.warehouse-bin-sku b{color:#176b50;font-size:11px;white-space:nowrap}.warehouse-bin-sku b.fully-reserved{color:#9a5b13}.warehouse-card-detail{border:0;border-top:1px solid #e4eaec;background:#f8fafb;color:#176579;margin:0 -14px -14px;padding:10px 14px;text-align:left;font-size:11px;font-weight:750}.warehouse-card-detail:hover{background:#edf5f6}.inventory-detail-group.is-focused{border-color:#2b788b;box-shadow:0 0 0 2px rgba(43,120,139,.12)}.inventory-detail-group.is-focused>summary{background:#eaf4f6}
.warehouse-page{display:grid;gap:14px}.warehouse-live-summary{position:sticky;top:82px;z-index:8;background:#fff;border:1px solid #d7e1e6;border-radius:12px;box-shadow:0 8px 24px rgba(19,56,72,.08);overflow:hidden}.warehouse-summary-values{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.warehouse-summary-values button{border:0;border-right:1px solid #e1e8eb;background:#fff;padding:14px 12px;text-align:left;display:grid;gap:5px}.warehouse-summary-values button:last-child{border-right:0}.warehouse-summary-values button:hover{background:#f4f8f9}.warehouse-summary-values span{color:#687b87;font-size:11px}.warehouse-summary-values strong{color:#163b4d;font-size:18px}.warehouse-summary-values .warehouse-summary-alert{background:#fff7f6}.warehouse-summary-values .warehouse-summary-alert strong{color:#b43831}.warehouse-live-status{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:7px 12px;border-top:1px solid #e6edef;background:#f8fafb;color:#5b6f78;font-size:11px}.warehouse-live-status i{width:8px;height:8px;border-radius:50%;background:#18a66b;box-shadow:0 0 0 3px rgba(24,166,107,.13)}.warehouse-live-status.disconnected{color:#a13832;background:#fff5f4}.warehouse-live-status.disconnected i{background:#c3453e;box-shadow:0 0 0 3px rgba(195,69,62,.12)}.warehouse-tabs{display:flex;justify-content:flex-start}.warehouse-tabs .segments{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.warehouse-tabs .segments button{padding:10px}.warehouse-tab-content{min-width:0}.warehouse-work-layout{display:grid;gap:14px}.warehouse-task-section,.warehouse-exception-panel{background:#fff;border:1px solid #d7e1e6;border-radius:12px;overflow:hidden}.warehouse-task-section>header,.warehouse-exception-panel>header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px;border-bottom:1px solid #e2e9ec}.warehouse-task-section h2,.warehouse-exception-panel h2{font-size:14px;margin:0}.warehouse-task-section header p,.warehouse-exception-panel header p{color:#687b87;font-size:11px;margin:4px 0 0}.warehouse-task-list{display:grid}.warehouse-task-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 16px;border-bottom:1px solid #e9eef0}.warehouse-task-card:last-child{border-bottom:0}.warehouse-task-main{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:18px;align-items:center}.warehouse-task-main>div:first-child{display:grid;gap:3px}.warehouse-task-kind{color:#0d6672;font-size:10px;font-weight:800}.warehouse-task-main small{color:#687b87}.warehouse-task-main dl{display:grid;grid-template-columns:repeat(6,minmax(70px,1fr));gap:8px;margin:0}.warehouse-task-main dt{color:#788991;font-size:9px}.warehouse-task-main dd{margin:3px 0 0;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.warehouse-task-side{display:grid;justify-items:end;gap:7px}.warehouse-compact-empty{padding:18px;text-align:center;color:#768890;background:#fafcfc;font-size:12px}.warehouse-exception-panel{border-color:#e9c5c1}.warehouse-exception-panel>header{background:#fff8f7}.warehouse-exception-panel>div,.warehouse-exception-list{display:grid}.warehouse-exception-panel>div>button,.warehouse-exception-list>button{display:grid;grid-template-columns:auto minmax(160px,.8fr) minmax(240px,1.5fr) auto;align-items:center;gap:10px;border:0;border-bottom:1px solid #eee5e4;background:#fff;padding:11px 14px;text-align:left}.warehouse-exception-list>button{grid-template-columns:auto 1fr auto}.warehouse-exception-panel button:last-child,.warehouse-exception-list button:last-child{border-bottom:0}.warehouse-exception-panel button:hover,.warehouse-exception-list button:hover{background:#fffafa}.warehouse-exception-panel small,.warehouse-exception-list small{color:#7b6b69}.warehouse-inventory-toolbar,.warehouse-movement-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid #d7e1e6;border-radius:12px;padding:12px;margin-bottom:12px}.warehouse-inventory-toolbar label,.warehouse-movement-toolbar label{display:flex;align-items:center;gap:6px;color:#52666f;font-size:11px}.warehouse-inventory-toolbar input[type=checkbox]{width:16px;height:16px}.warehouse-stock-search,.movement-search{display:grid!important;gap:4px!important;min-width:280px;flex:1}.warehouse-stock-search input,.warehouse-movement-toolbar input,.warehouse-movement-toolbar select{height:36px;border:1px solid #ccd7db;border-radius:6px;padding:0 10px;background:#fff}.warehouse-inventory-toolbar .segments{margin-left:auto}.result-count{margin-left:auto;color:#60747c;font-size:11px;white-space:nowrap}.warehouse-stock-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:12px}.warehouse-stock-card{display:grid;gap:10px;border:1px solid #d7e1e6;border-left:4px solid #2b788b;border-radius:11px;padding:14px;background:#fff;text-align:left;color:inherit}.warehouse-stock-card:hover{border-color:#5595a4;box-shadow:0 8px 22px rgba(18,56,72,.09)}.warehouse-stock-card.has-exception{border-color:#dfa6a1;border-left-color:#c7443c}.warehouse-stock-card header{display:flex;justify-content:space-between;align-items:start;gap:8px}.warehouse-stock-card header>div{display:grid;gap:2px}.warehouse-stock-card header span:not(.badge):not(.brand-pill){font-size:9px;text-transform:uppercase;color:#71848c}.warehouse-stock-card header strong{font-size:18px}.warehouse-stock-card p{margin:0;color:#5f747d;font-size:11px}.warehouse-stock-card dl{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0}.warehouse-stock-card dl div{border-radius:6px;background:#f4f7f8;padding:7px}.warehouse-stock-card dt{color:#74868e;font-size:9px}.warehouse-stock-card dd{margin:3px 0 0;font-weight:800}.warehouse-stock-card>small{color:#71848c}.warehouse-empty-toggle{width:100%;margin-top:12px;border:1px dashed #cfdadd;background:#f9fbfb;color:#647981;border-radius:9px;padding:11px}.warehouse-empty-bins{margin-top:12px;border:1px dashed #cfdadd;border-radius:9px;background:#f9fbfb;padding:10px 12px}.warehouse-empty-bins summary{cursor:pointer;color:#60747c;font-weight:700}.warehouse-empty-bins>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.warehouse-empty-bins button{border:1px solid #d5dfe2;background:#fff;border-radius:5px;padding:6px 9px}.immutable-note{color:#71848c;font-size:11px;margin:10px 2px}.inventory-drawer{width:min(760px,96vw);height:100vh;max-height:100vh;margin-left:auto;border-radius:0}.inventory-drawer .modal-header{padding:16px 20px}.inventory-drawer .modal-body{display:grid;gap:10px}.inventory-detail-group{border:1px solid #d7e1e6;border-radius:9px;overflow:hidden}.inventory-detail-group summary{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 14px;background:#f7fafb;cursor:pointer}.inventory-detail-group summary>div{display:grid;gap:3px}.inventory-detail-group summary span{color:#687b87;font-size:11px}.inventory-detail-group summary dl{display:flex;gap:14px;margin:0}.inventory-detail-group summary dl div{display:grid;gap:2px}.inventory-detail-group dt{color:#71848c;font-size:9px}.inventory-detail-group dd{margin:0;font-weight:800}.inventory-batch-list{display:grid}.inventory-batch-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:12px 14px;border-top:1px solid #e7edef}.inventory-batch-list article>div:first-child{display:grid;gap:3px}.inventory-batch-list article span,.inventory-batch-list article small{color:#6c7e86;font-size:10px}.inventory-batch-list article dl{display:flex;gap:10px;margin:0}.inventory-batch-list article dl div{min-width:44px}.inventory-movement-snapshot{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px}.inventory-movement-snapshot div{background:#f3f7f8;border-radius:7px;padding:10px}.inventory-movement-snapshot span{display:block;color:#70838b;font-size:10px}.inventory-movement-snapshot strong{display:block;margin-top:4px;font-size:17px}.movement-detail-list{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border:1px solid #d7e1e6;border-radius:8px;overflow:hidden}.movement-detail-list div{padding:11px;border-bottom:1px solid #e5ebed}.movement-detail-list dt{color:#71848c;font-size:10px}.movement-detail-list dd{margin:4px 0 0;font-weight:700}
@media(max-width:1180px){.warehouse-summary-values{grid-template-columns:repeat(3,1fr)}.warehouse-summary-values button:nth-child(3){border-right:0}.warehouse-summary-values button:nth-child(-n+3){border-bottom:1px solid #e1e8eb}.warehouse-task-main{grid-template-columns:1fr}.warehouse-task-main dl{grid-template-columns:repeat(3,1fr)}.warehouse-stock-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}
@media(max-width:720px){.warehouse-live-summary{position:static}.warehouse-summary-values{grid-template-columns:1fr 1fr}.warehouse-summary-values button{border-bottom:1px solid #e1e8eb}.warehouse-summary-values button:nth-child(odd){border-right:1px solid #e1e8eb}.warehouse-summary-values button:nth-child(even){border-right:0}.warehouse-summary-values strong{font-size:15px}.warehouse-task-section>header,.warehouse-exception-panel>header{align-items:stretch;flex-direction:column}.warehouse-task-card{grid-template-columns:1fr}.warehouse-task-main dl{grid-template-columns:repeat(2,1fr)}.warehouse-task-side{justify-items:start}.warehouse-stock-grid{grid-template-columns:1fr}.warehouse-inventory-toolbar,.warehouse-movement-toolbar{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.warehouse-stock-search,.movement-search{grid-column:1/-1;min-width:0}.warehouse-inventory-toolbar .segments{grid-column:1/-1;margin:0}.warehouse-exception-panel>div>button{grid-template-columns:auto 1fr}.warehouse-exception-panel>div>button small{grid-column:2}.warehouse-exception-panel>div>button b{display:none}.inventory-batch-list article{grid-template-columns:1fr}.inventory-movement-snapshot{grid-template-columns:1fr 1fr}.movement-detail-list{grid-template-columns:1fr}}

/* V61: one SKU may be split across multiple planned and actual putaway bins. */
.warehouse-plan-item{display:grid;gap:9px;border:1px solid #dce5e8;border-radius:9px;padding:12px;background:#f9fbfc}.warehouse-plan-item>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.warehouse-plan-item>header span{display:grid;gap:3px}.warehouse-plan-item>header strong{color:#195d71;font-size:11px}.warehouse-plan-status{justify-items:end}.warehouse-plan-status .badge{font-style:normal}.warehouse-plan-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.warehouse-plan-legend>span{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #dce5e8;border-radius:8px;background:#fff;color:#526976;font-size:12px}.warehouse-plan-legend .badge{font-style:normal}.warehouse-plan-context{display:grid;grid-template-columns:1fr 1fr;gap:8px}.warehouse-plan-context>div{display:grid;gap:3px;padding:9px 10px;border-radius:7px;background:#eef5f7}.warehouse-plan-context span{font-size:11px;color:#607681}.warehouse-plan-context strong{font-size:13px;color:#173b49}.warehouse-plan-context small{color:#607681}.warehouse-plan-allocation{display:grid;grid-template-columns:minmax(190px,1fr) 110px auto;gap:8px;align-items:center;margin-top:7px}.warehouse-plan-allocation select,.warehouse-plan-allocation input{width:100%;min-width:0}.warehouse-plan-item>[data-plan-add]{justify-self:start}.warehouse-plan-summary{display:block;color:#1d6376;font-weight:750;margin-top:3px}
.warehouse-putaway-plan{display:grid;gap:6px;margin:14px 0;padding:12px;border:1px solid #cfe0e5;border-radius:9px;background:#f4f9fa}.warehouse-putaway-plan span{padding:7px 9px;border-left:3px solid var(--blue);background:#fff}.warehouse-putaway-plan span.complete{border-left-color:var(--green);color:#54706a;background:#f1f8f4}
.warehouse-putaway-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 8px}.warehouse-putaway-toolbar>span{display:flex;gap:7px}.warehouse-putaway-batch{display:grid;gap:9px}.warehouse-putaway-entry{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(110px,.55fr) minmax(190px,1fr);gap:10px;align-items:end;padding:12px;border:1px solid #cfe0e5;border-left:4px solid var(--blue);border-radius:9px;background:#f8fbfc}.warehouse-putaway-entry .full{grid-column:1/-1}.warehouse-putaway-entry.is-disabled{opacity:.5;border-left-color:#aebbc0}.warehouse-putaway-check{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;align-self:center}.warehouse-putaway-check input{grid-row:1/3;width:18px;height:18px}.warehouse-putaway-check span{font-weight:850;color:#154b60}.warehouse-putaway-check small{color:#637983}
@media(max-width:720px){.warehouse-putaway-toolbar{align-items:stretch;flex-direction:column}.warehouse-putaway-entry{grid-template-columns:1fr}.warehouse-putaway-entry .full{grid-column:auto}}
@media(max-width:720px){.warehouse-plan-item>header{align-items:flex-start;flex-direction:column}.warehouse-plan-status{justify-items:start}.warehouse-plan-context{grid-template-columns:1fr}.warehouse-plan-allocation{grid-template-columns:1fr 90px}.warehouse-plan-allocation [data-plan-remove]{grid-column:1/-1}}
.warehouse-operation-switch{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid #d7e1e6;border-radius:12px;padding:10px 12px}.warehouse-operation-switch>.segments{min-width:320px}.warehouse-inbound-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.warehouse-inbound-zone{background:#fff;border:1px solid #d7e1e6;border-radius:12px;overflow:hidden}.warehouse-inbound-zone>header{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid #e4ebed;background:#f8fafb}.warehouse-inbound-zone>header h3{margin:0;font-size:14px}.warehouse-inbound-zone>header p{margin:3px 0 0;color:#6b7f88;font-size:10px}.warehouse-inbound-zone>header>b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:15px;background:#e9f2f5;color:#14596d}.warehouse-inbound-grid{display:grid}.warehouse-inbound-card{padding:14px 15px;border-bottom:1px solid #e8edef;display:grid;gap:10px}.warehouse-inbound-card:last-child{border-bottom:0}.warehouse-inbound-card.is-emergency{background:#fff8f7;border-left:4px solid #c7443c}.warehouse-inbound-card>header,.warehouse-inbound-card>footer{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.warehouse-inbound-card>header>div{display:grid;gap:2px}.warehouse-inbound-card>header>div span{font-family:"SFMono-Regular",Consolas,monospace;font-size:13px;font-weight:850;color:#123f52}.warehouse-inbound-card>header>div strong{color:#6a7d86;font-size:10px}.warehouse-inbound-card>p{margin:0;color:#546b76;font-size:11px}.warehouse-inbound-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.warehouse-inbound-steps li{border-top:3px solid #dce4e7;background:#f5f8f9;border-radius:4px;padding:7px;display:grid;gap:3px}.warehouse-inbound-steps li.active{border-color:#d79b2e;background:#fff8e9}.warehouse-inbound-steps li.done{border-color:#3a8d72;background:#edf7f2}.warehouse-inbound-steps b{font-size:9px}.warehouse-inbound-steps span{color:#697c84;font-size:9px;line-height:1.3}.warehouse-inbound-card>footer{align-items:center;border-top:1px dashed #dbe3e6;padding-top:10px}.warehouse-inbound-card>footer>div:first-child{display:grid;gap:2px}.warehouse-inbound-card>footer>div:first-child span{font-size:9px;color:#73868e}.warehouse-inbound-card>footer>div:first-child strong{font-size:12px;color:#0d5d72}.warehouse-emergency-note{background:#fdeceb;color:#9d312d;border-radius:5px;padding:7px 9px;font-size:10px}.danger-outline{border:1px solid #d98b85;background:#fff;color:#a83731;border-radius:5px;padding:5px 8px;font-size:11px}.warehouse-plan-lines{display:grid;gap:8px;margin-bottom:14px}.warehouse-plan-lines label{display:grid;grid-template-columns:1fr minmax(220px,.8fr);gap:12px;align-items:center;border:1px solid #dce5e8;border-radius:7px;padding:10px}.warehouse-plan-lines label>span{display:grid;gap:3px}.warehouse-plan-lines small{color:#6f8189}.warehouse-plan-lines select{border:1px solid #cbd7dc;border-radius:5px;padding:9px;background:#fff}.warning-text{color:#a65a12;font-weight:800}.form-note.warning{background:#fff4e6;border-left-color:#cc7f1f;color:#75511f}
.warehouse-inbound-history{grid-column:1/-1}.warehouse-inbound-history>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;background:#f8fafb;cursor:pointer;list-style:none}.warehouse-inbound-history>summary::-webkit-details-marker{display:none}.warehouse-inbound-history>summary:hover{background:#f2f7f8}.warehouse-inbound-history>summary h3{margin:0;font-size:14px}.warehouse-inbound-history>summary p{margin:3px 0 0;color:#6b7f88;font-size:10px}.warehouse-inbound-history>summary>span{display:flex;align-items:center;gap:10px}.warehouse-inbound-history>summary b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:15px;background:#e9f2f5;color:#14596d}.warehouse-inbound-history>summary i{font-style:normal;color:#47717f;font-size:18px;transition:transform .18s ease}.warehouse-inbound-history[open]>summary{border-bottom:1px solid #e4ebed}.warehouse-inbound-history[open]>summary i{transform:rotate(180deg)}.warehouse-inbound-history-body{display:grid}.warehouse-inbound-history-filter{display:flex;gap:7px;align-items:center;padding:10px 14px;border-bottom:1px solid #e5ecee;background:#fbfcfc}.warehouse-inbound-history-filter button{border:1px solid #cfdadd;background:#fff;color:#526b75;border-radius:18px;padding:6px 11px;font-size:11px;font-weight:750}.warehouse-inbound-history-filter button:hover{border-color:#4f8796}.warehouse-inbound-history-filter button.active{border-color:#175d72;background:#175d72;color:#fff}.warehouse-inbound-history [data-closed-empty]{grid-column:1/-1}
.delivery-after-sales-item td:first-child{min-width:190px}.delivery-after-sales-item input,.delivery-after-sales-item select{height:36px;border:1px solid #cbd7dc;border-radius:6px;background:#fff;padding:6px 8px}.delivery-after-sales-item input{width:82px}.delivery-after-sales-item select{min-width:150px}
@media(max-width:1180px){.warehouse-inbound-board{grid-template-columns:1fr}.warehouse-inbound-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.warehouse-operation-switch{align-items:stretch;flex-direction:column}.warehouse-operation-switch>.segments{min-width:0;width:100%}.warehouse-inbound-card>header,.warehouse-inbound-card>footer{align-items:stretch;flex-direction:column}.warehouse-plan-lines label{grid-template-columns:1fr}.warehouse-inbound-history-filter{align-items:stretch;display:grid;grid-template-columns:1fr}.warehouse-inbound-history-filter button{width:100%}}

/* CRM floating actions and scroll-safe order/purchase editors */
.crm-more>div{position:fixed!important;inset:auto!important;z-index:1000!important;min-width:180px;max-height:min(420px,calc(100vh - 20px));overflow-y:auto}
.modal{max-height:calc(100vh - 24px)}.modal-body{overflow:auto}.modal-footer{position:sticky;bottom:0;z-index:3;background:#fff}
.warehouse-order-essentials{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.warehouse-outbound-intro{display:grid;gap:4px;margin:14px 0 10px;padding:12px 14px;border-left:4px solid var(--blue);background:#eef6f8}.warehouse-outbound-intro span{color:#58717c;font-size:12px;line-height:1.5}.warehouse-outbound-row select,.warehouse-outbound-row textarea{width:100%;border:1px solid #cbd7db;border-radius:6px;padding:8px;background:#fff}.warehouse-outbound-row select:disabled{border-color:transparent;background:#f1f5f6;color:#173d4d;opacity:1;font-weight:700}.warehouse-outbound-reason{display:grid;gap:5px;margin-top:8px}.warehouse-outbound-reason label{font-size:11px;font-weight:750;color:#8a3a34}.warehouse-outbound-reason textarea{min-height:58px;resize:vertical}.warehouse-outbound-row.is-editing td{background:#fffaf0}
.catalog-browser{display:grid;gap:10px;min-height:260px}.catalog-toolbar{display:flex;gap:8px;align-items:end;flex-wrap:wrap;position:sticky;top:0;z-index:2;background:#fff;padding-bottom:8px}.catalog-toolbar label{display:grid;gap:4px}.catalog-toolbar .catalog-search{flex:1;min-width:220px}.catalog-table-wrap{overflow:auto;max-height:44vh}.catalog-pager{display:flex;justify-content:space-between;align-items:center;gap:8px}.catalog-selected{padding:8px 10px;border-radius:7px;background:#eef6f7;color:#235769;font-size:11px}.fix-price-below{border-color:#c43b35!important;color:#a62e29!important;background:#fff5f4!important}.fix-price-delta{display:block;color:#b13731;font-size:10px;margin-top:3px}
.expanded-order-lines{display:grid;gap:10px}.expanded-order-line{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(180px,1.3fr) minmax(118px,.7fr);gap:10px;align-items:end;padding:12px;border:1px solid #d7e1e6;border-radius:10px;background:#f8fafb}.expanded-order-line label{display:grid;gap:4px;color:#5d717a;font-size:10px;font-weight:700}.expanded-order-line select,.expanded-order-line input{width:100%;min-width:0;height:38px}.line-product-detail{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;min-width:0}.line-product-detail>strong{grid-column:1;font-family:"SFMono-Regular",Consolas,monospace;color:#173f52}.line-product-detail>span:not(.line-quantity-summary),.line-product-detail>small{grid-column:1}.line-product-detail span,.line-product-detail small{color:#687b87;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.line-product-detail .line-quantity-summary{grid-column:2;grid-row:1/3;align-self:center;padding:7px 10px;border-radius:999px;background:#e1f4ec;color:#14634c;font-size:11px;overflow:visible}.line-product-detail .line-quantity-summary b{font-size:13px}.line-product-detail .price-downward{color:var(--red)}.line-brand-field{grid-column:1}.line-sku-field{grid-column:2}.line-quantity-field{grid-column:3}.line-fix-tier-field{grid-column:1}.line-price-field{grid-column:2}.line-total{grid-column:3;display:grid;gap:5px;align-self:center}.st-pcr-approval-reason-field,.line-special-field{grid-column:1/-1}.expanded-order-line>.line-remove{grid-column:3;justify-self:end}.expanded-order-line.fix-adjustment-pending{border-color:#d7746f;background:#fff7f6}.expanded-order-line.fix-authorization-invalid{border-color:#b7302b;background:#fff1ef}.fix-agreement-order-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.quantity-stepper{display:grid;grid-template-columns:36px minmax(58px,1fr) 36px}.quantity-stepper button{border:1px solid #cbd7db;background:#fff;font-size:18px}.quantity-stepper input{text-align:center;border-left:0;border-right:0;border-radius:0}.line-total span{font-size:10px;color:#687b87}.line-remove{align-self:center;border:1px solid #e1b9b5;background:#fff5f4;color:#a33b33;border-radius:6px;padding:8px 10px}
@media(max-width:1100px){.expanded-order-line{grid-template-columns:1fr 1fr 1fr}.line-product-detail{grid-column:1/-1}}
@media(max-width:720px){.crm-more[open]::before{content:"";position:fixed;inset:0;background:rgba(8,28,39,.42);z-index:999}.crm-more>div{position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;width:auto!important;max-height:65vh;border-radius:14px;padding:8px;z-index:1000!important}.crm-more>div button,.crm-more>div a{min-height:44px}.catalog-table-wrap table{min-width:620px}.catalog-toolbar{display:grid;grid-template-columns:1fr 1fr}.catalog-toolbar .catalog-search{grid-column:1/-1;min-width:0}.expanded-order-line{grid-template-columns:1fr}.line-product-detail,.line-brand-field,.line-sku-field,.line-quantity-field,.line-fix-tier-field,.line-price-field,.line-total,.st-pcr-approval-reason-field,.line-special-field,.expanded-order-line>.line-remove{grid-column:1}.quantity-stepper{grid-template-columns:44px minmax(70px,1fr) 44px}.expanded-order-line .line-remove{width:100%}}
/* V19: explicit price modes, review reasons, account activation and certificate history. */
.price-mode-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.price-mode-cards label{display:flex;flex-direction:column;gap:5px;border:1px solid var(--line);border-radius:12px;padding:14px;background:#fff;cursor:pointer}.price-mode-cards label:has(input:checked){border:2px solid var(--navy);background:#eef7fa}.price-mode-cards input{width:auto;align-self:flex-start}.price-mode-cards span,.activation-result small,.account-status-card p{color:var(--muted);font-size:12px}.order-pricing-summary{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.2fr);gap:12px 24px;padding:14px 16px;background:#f3f8fa;border:1px solid #bdd8e2;border-radius:10px}.order-summary-context{display:flex;flex-direction:column;gap:6px}.order-final-totals{display:grid;gap:5px}.order-final-totals>div{display:flex;justify-content:space-between;gap:18px}.order-final-totals .discount{color:#9b3a2e}.order-final-totals .total{padding-top:7px;border-top:2px solid var(--navy);font-size:1.08rem}.order-pricing-summary>small{grid-column:1/-1;color:var(--muted)}.order-total-discount-control{margin:10px 0 14px}.order-total-discount-control>.form-grid{margin-top:10px;padding:14px;border:1px solid #e8c783;border-radius:10px;background:#fffaf0}.order-review-banner{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:14px;border-left:5px solid var(--amber);background:#fff6df;border-radius:8px}.order-review-banner strong{color:#8a5600}.activation-result,.account-status-card{display:flex;flex-direction:column;gap:12px}.activation-result textarea{min-height:90px}.resale-status-banner{display:flex;flex-direction:column;gap:4px;padding:12px 14px;margin-bottom:12px;background:#eef7fa;border-left:4px solid var(--teal)}.form-note.warning{color:#8a5600;background:#fff6df}.fix-price-below{border-color:var(--red)!important;background:#fff4f3!important}
.fix-price-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}.fix-price-load-status{margin-top:8px;min-height:34px;padding:8px 10px;border-radius:7px;background:#eef7fa;color:#315e6d;font-size:11px}.fix-price-load-status.loading{height:auto;display:block;background:#fff7e5;color:#825710}.fix-price-load-status.error{background:#fff2f1;color:#a23d37}.fix-price-load-status.ready{background:#edf8f3;color:#24654e}.catalog-tier-price{font-weight:750;white-space:nowrap}.catalog-tier-price .subtext{font-weight:500}
.portal-certificate-history{display:grid;gap:8px;margin:10px 0 14px}.portal-certificate-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.portal-certificate-row>div{display:grid;gap:3px}.portal-certificate-row span{font-size:12px;color:var(--muted)}
@media(max-width:700px){.price-mode-cards{grid-template-columns:1fr}.fix-price-controls{grid-template-columns:1fr 1fr;gap:8px}.fix-price-controls select{min-width:0}.modal{width:100%;max-height:100dvh;border-radius:0}.modal-body{padding-bottom:110px}.modal-footer{position:sticky;bottom:0;background:#fff;z-index:8}.expanded-order-line{grid-template-columns:1fr!important}.order-pricing-summary{bottom:70px;grid-template-columns:1fr}.order-review-banner{flex-direction:column}}

/* V22: customer-account creation context. */
.account-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;padding:12px;background:#f5f8fa;border:1px solid #d9e3e8;border-radius:10px}.account-profile-grid span{display:flex;min-width:0;flex-direction:column;gap:3px}.account-profile-grid small{color:#6b7c86}.account-profile-grid strong{overflow-wrap:anywhere;color:#15384a}
@media(max-width:700px){.account-profile-grid{grid-template-columns:1fr 1fr}}

/* V23: FIX approval comparison between the order quantity tier and requested FIX tier. */
.modal:has(.fix-comparison-list),.modal:has(.fix-order-comparison-note){width:min(1120px,100%)}
.fix-review-line{grid-template-columns:minmax(130px,1fr) minmax(170px,1fr) auto}.fix-review-line .special-review-product,.fix-price-comparison{grid-column:1/-1}.fix-price-comparison{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:8px;padding:10px;border:1px solid #d8e3e7;border-radius:9px;background:#f7fafb}.fix-price-comparison>div{display:grid;gap:4px;min-width:0;padding:8px;border-radius:7px;background:#fff}.fix-price-comparison small{color:#6c7e86;font-size:10px}.fix-price-comparison strong{font-size:14px;font-variant-numeric:tabular-nums}.fix-price-comparison .original-price{border:1px solid #d7e0e4}.fix-price-comparison .requested-price{border:1px solid #b9d9cc;background:#eff8f4}.fix-price-comparison .requested-price span{color:#257053;font-size:10px;font-weight:750}.fix-order-comparison-note{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:11px 13px;border-left:4px solid var(--teal);background:#eef7f5;color:#365b60}.fix-order-comparison-note span{font-size:11px}.modal:has(.fix-order-comparison-note) .table-wrap table{min-width:980px}.original-tier-price{background:#f7fafb}.price-saving,.price-premium{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.price-saving{background:#e7f5ee;color:#247052}.price-premium{background:#fff0ee;color:#a33b33}
@media(max-width:900px){.fix-price-comparison{grid-template-columns:repeat(3,minmax(105px,1fr))}.fix-order-comparison-note{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.fix-review-line{grid-template-columns:1fr}.fix-price-comparison{grid-template-columns:1fr 1fr}.modal:has(.fix-order-comparison-note) .table-wrap{margin-inline:0}.fix-order-comparison-note{margin-bottom:8px}}
.sales-instruction-banner{display:grid;gap:8px;margin:0 0 14px;padding:13px 15px;border-left:4px solid #d28c1e;border-radius:8px;background:#fff7e8;color:#5e4a25}.sales-instruction-banner>div{display:flex;justify-content:space-between;gap:16px;padding-top:7px;border-top:1px solid #ecdcb8}.sales-instruction-banner>div span{color:#7b5b23;text-align:right}.field input[readonly]{background:#f1f5f6;color:#52666e;cursor:not-allowed}

/* V28: persistent layered dialogs, customer read-only portal and FIX order controls. */
#modalRoot>.modal-backdrop[hidden]{display:none!important}.modal-header{gap:10px;cursor:move;touch-action:none}.modal-header h2{flex:1}.modal-header button{cursor:pointer;touch-action:auto}.modal-back{border:0;background:#eef4f6;color:#1d627b;border-radius:5px;padding:7px 10px;font-weight:750;white-space:nowrap}.modal-back:hover{background:#dfecef}.fix-agreement-order-note{justify-content:space-between}.fix-agreement-order-note>div:first-child{display:grid;gap:4px;flex:1}.fix-agreement-order-note>div:first-child span{color:#49606c}.fix-order-action-buttons{display:flex;gap:8px;flex-wrap:wrap}.fix-order-action-panel{display:grid;gap:10px;margin-top:10px;padding:13px;border:1px solid #d7e2e6;border-radius:9px;background:#f8fafb}.fix-order-action-panel[hidden]{display:none}.fix-order-action-panel label{display:grid;gap:5px}.fix-order-action-panel input{width:100%;border:1px solid #cbd7db;border-radius:5px;padding:9px;background:#fff}.fix-order-action-panel>div{display:flex;gap:8px}.price-mode-restore-card{display:flex;flex-direction:column;gap:8px;border:2px solid #d6aa48;border-radius:12px;padding:14px;background:#fff9e9}.price-mode-restore-card span{color:#6f633f;font-size:12px}.price-mode-restore-card button{margin-top:auto}.fix-tier-option-lower{color:#b3312c!important;background:#fff1ef!important}.line-fix-tier.fix-tier-select-lower{border-color:#c43b35!important;color:#a62e29!important;background:#fff5f4!important;font-weight:800}.readonly-portal-body .portal-topbar{grid-template-columns:auto 1fr auto}.readonly-mode-badge{display:inline-flex;align-items:center;min-height:36px;padding:0 11px;border-radius:5px;background:#fff4d9;color:#805400;font-size:11px;font-weight:850;white-space:nowrap}.readonly-portal-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:11px 14px;border-left:4px solid #d89a22;background:#fff8e8;color:#5f512e}.readonly-portal-notice span{font-size:11px}.readonly-product-action{margin-top:auto;padding:9px;border:1px dashed #bdcfcc;color:#647a7b;text-align:center;font-size:10px}.readonly-order-detail{grid-column:1/-1;display:grid;gap:0;margin-top:8px;padding:0 12px;background:#f4f8f8;border-left:4px solid #3c8186}.readonly-order-detail>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #dce7e6;font-size:11px}.readonly-order-detail>div:last-child{border-bottom:0}.readonly-portal-body .portal-form-grid input[readonly]{background:#f3f6f6;color:#354e55;cursor:default}.readonly-portal-body .portal-product-card{min-height:300px}
.readonly-portal-body .portal-product-card[data-price-program="FIX"] .portal-product-top>span:first-child{color:#155c4b;font-weight:850}.readonly-portal-body .portal-product-card[data-price-program="FIX"] .portal-product-price{padding:11px;background:#dcefe8;border-left:4px solid #2f7868}.readonly-portal-body .portal-product-card[data-price-program="FIX"] .portal-product-price small{color:#216a5c;font-weight:800}
.purchase-entry-modal{width:min(1080px,calc(100vw - 40px))}.purchase-entry-modal .purchase-line{grid-template-columns:120px minmax(190px,1.35fr) 78px 112px minmax(220px,1fr) 36px;align-items:start}.purchase-bin-choice{display:grid;gap:5px;min-width:0}.purchase-bin-choice small{font-size:10px;color:#44717d;line-height:1.35}.purchase-line-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.purchase-sku-help{display:block;margin:4px 0 8px;color:var(--muted);font-size:10px}.purchase-sku-picker{position:relative;min-width:0}.purchase-sku-search{width:100%}.purchase-sku-results{position:absolute;z-index:8;top:calc(100% + 4px);left:0;right:0;max-height:300px;overflow:auto;border:1px solid #bdcbd1;border-radius:7px;background:#fff;box-shadow:0 14px 34px rgba(15,42,55,.2)}.purchase-sku-option{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:9px 10px;border:0;border-bottom:1px solid #e8edef;background:#fff;color:var(--ink);text-align:left}.purchase-sku-option:last-of-type{border-bottom:0}.purchase-sku-option:hover,.purchase-sku-option.is-active{background:#edf6f8}.purchase-sku-option.is-selected{box-shadow:inset 3px 0 var(--teal);background:#f1f8f7}.purchase-sku-option span{min-width:0;display:grid;gap:2px}.purchase-sku-option strong{font-family:"SFMono-Regular",Consolas,monospace;font-size:12px}.purchase-sku-option small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.purchase-sku-option em{padding:3px 6px;border-radius:4px;font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.purchase-sku-option em.in-stock{background:#e5f2eb;color:#26704e}.purchase-sku-option em.zero-stock{background:#f1f3f4;color:#68767c}.purchase-sku-option i{color:#a13b35;font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.purchase-sku-empty,.purchase-sku-more{padding:12px;color:var(--muted);font-size:10px;text-align:center}.purchase-sku-more{border-top:1px solid #e8edef;background:#f8fafb}
@media(max-width:720px){.purchase-entry-modal{width:100%}.purchase-entry-modal .purchase-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}.purchase-entry-modal .purchase-line>*{min-width:0}.purchase-entry-modal .purchase-line>.brand-select{grid-column:1}.purchase-entry-modal .purchase-line>.purchase-sku-picker{grid-column:2/4}.purchase-entry-modal .purchase-line>.qty{grid-column:1}.purchase-entry-modal .purchase-line>.base-price,.purchase-entry-modal .purchase-line>.fet-price{grid-column:2/4}.purchase-entry-modal .purchase-line>.purchase-bin-choice{grid-column:1/3}.purchase-entry-modal .purchase-line>.line-remove{grid-column:3}.purchase-sku-results{left:auto;width:min(420px,calc(100vw - 24px));right:0}}
@media(max-width:720px){.modal-header{cursor:default}.modal-back{padding:6px 8px}.fix-agreement-order-note{align-items:stretch}.fix-order-action-buttons,.fix-order-action-buttons button{width:100%}.readonly-mode-badge{display:none}.readonly-portal-notice{align-items:flex-start;flex-direction:column}.readonly-order-detail>div{align-items:flex-start;flex-direction:column}.readonly-portal-body .portal-top-actions .portal-logout-button{font-size:10px;padding:8px}.readonly-portal-body .portal-product-card{min-height:250px}}
@media(max-width:700px){.sales-instruction-banner>div{align-items:flex-start;flex-direction:column;gap:3px}.sales-instruction-banner>div span{text-align:left}}

/* V29: customer-level FIX lifecycle and auditable shipment history. */
.fix-history-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:12px 14px;border-left:4px solid var(--teal);background:#eef7f6}.fix-history-summary span{color:#5d7277;font-size:11px}.fix-history-card{margin-bottom:10px;border:1px solid #d7e2e5;border-radius:9px;background:#fff;overflow:hidden}.fix-history-card>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;background:#f4f8f9;cursor:pointer}.fix-history-card>summary span{color:#5f727b;font-size:11px;text-align:right}.fix-history-body{display:grid;gap:12px;padding:12px}.fix-history-body h4{margin:4px 0 0;font-size:12px}.modal:has(.fix-history-card){width:min(1120px,100%)}
.fix-customer-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
@media(max-width:720px){.fix-history-summary,.fix-history-card>summary{align-items:flex-start;flex-direction:column}.fix-history-card>summary span{text-align:left}.modal:has(.fix-history-card) .table-wrap table{min-width:760px}}

/* V35: compact commission disclosures, salesperson rollups and adjacent pricing rules. */
.commission-disclosure{margin:14px 0;border:1px solid #d6e2e6;border-radius:9px;background:#fff;overflow:hidden}.commission-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:#eef5f7;cursor:pointer;list-style:none}.commission-disclosure>summary::-webkit-details-marker{display:none}.commission-disclosure>summary>span{display:grid;gap:3px}.commission-disclosure>summary strong{color:#173d4d;font-size:13px}.commission-disclosure>summary small{color:#61757d;font-size:10px;font-weight:500}.commission-disclosure>summary>b{color:#17647d;font-size:10px;white-space:nowrap}.commission-disclosure[open]>summary{border-bottom:1px solid #d6e2e6}.commission-disclosure[open]>summary>b{font-size:0}.commission-disclosure[open]>summary>b::after{content:'收起';font-size:10px}.won-commission-rules{margin-bottom:14px}.won-commission-orders{display:block;margin-top:14px}.won-commission-orders-body{display:grid;gap:9px;padding:12px}.commission-aggregate-body{display:grid;gap:14px;padding:12px}.commission-salesperson-rollup{border:1px solid #d8e3e6;border-radius:8px;overflow:hidden}.commission-salesperson-rollup>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;background:#f6f9fa}.commission-salesperson-rollup>header div{display:grid;gap:2px}.commission-salesperson-rollup>header span{color:#6a7b83;font-size:9px}.commission-salesperson-rollup>header h3{margin:0;font-size:14px}.commission-salesperson-rollup>header>strong{color:#154e66;font-size:17px}.commission-rollup-summary{display:flex;gap:8px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #e1e8eb}.commission-rollup-summary span{padding:6px 8px;border-radius:5px;background:#f1f6f7;color:#61727a;font-size:10px}.commission-rollup-summary b{color:#183e4e}.commission-salesperson-rollup .table-wrap+ .table-wrap{border-top:8px solid #eef3f5}.commission-tier-line{display:block;margin:2px 0;padding:3px 5px;border-radius:4px;background:#f4f8f9;color:#62747c;font-size:9px}.commission-tier-line b{margin-right:5px;color:#14536b}.pricing-rule-stack{display:grid;gap:3px;min-width:150px}.pricing-rule-stack>span{display:flex;justify-content:space-between;gap:8px;padding:3px 5px;border-left:2px solid #5c9294;background:#f3f8f8;color:#5c6f77;font-size:9px}.pricing-rule-stack>span b{color:#173f50;white-space:nowrap}.pricing-rule-stack>small{max-width:180px;color:#85621d;font-size:8px;line-height:1.35}.page:has(.pricing-rule-stack) .table-wrap{overflow:auto}.page:has(.pricing-rule-stack) table{min-width:1420px}
@media(max-width:720px){.commission-disclosure>summary{align-items:flex-start}.commission-rollup-summary{display:grid;grid-template-columns:1fr 1fr}.commission-salesperson-rollup>header{align-items:flex-start}.commission-aggregate-body{padding:8px}.commission-aggregate .table-wrap{margin-inline:0}.commission-aggregate table{min-width:900px}}

/* V38: cost-exception FIX tiers, warnings and internal shipment margin. */
.fix-special-tier-option{color:#b52d27!important;background:#fff0ee!important;font-weight:800}.fix-special-tier-select{border-color:#c64038!important;color:#a92f2a!important;background:#fff5f4!important;font-weight:800}.fix-price-load-status.waiting{background:#f4f7f8;color:#5c7079}.fix-risk-tier-line{border-left:4px solid #bd3e37!important}.warning-text{color:#9a6800!important}.fix-warning-red{background:#fff8f7}.fix-warning-yellow{background:#fffaf0}.fix-profit-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:11px 13px;border-left:4px solid #27805c;background:#eef8f3}.fix-profit-summary.loss{border-left-color:#bc4038;background:#fff3f2}.fix-profit-summary.loss strong{color:#a42f2a}.fix-profit-summary span{color:#60747b;font-size:10px}
@media(max-width:720px){.fix-profit-summary{align-items:flex-start;flex-direction:column}}

/* V42: paid FIX risk history, approval queue, five order lanes and commission-colored tiers. */
.nav-notification{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;margin-left:auto;padding:0 5px;border-radius:999px;background:#c43c35;color:#fff;font-size:9px;font-weight:900}.dashboard-approval-reminder{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:14px 16px;border-left:5px solid #c44239;border-radius:8px;background:#fff4f2}.dashboard-approval-reminder>div:first-child{display:grid;gap:3px}.dashboard-approval-reminder>div:first-child span,.dashboard-approval-reminder small{color:#7a5b57;font-size:10px}.dashboard-approval-reminder>div:first-child strong{font-size:18px;color:#9f302a}.dashboard-approval-reminder>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.dashboard-approval-reminder button{display:flex;gap:12px;align-items:center;padding:8px 10px;border:1px solid #e5c9c5;border-radius:6px;background:#fff;color:#713c38}.dashboard-risk-panel{padding:0;overflow:hidden}.dashboard-risk-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;cursor:pointer;list-style:none}.dashboard-risk-panel>summary::-webkit-details-marker,.dashboard-risk-month>summary::-webkit-details-marker,.order-group>summary::-webkit-details-marker{display:none}.dashboard-risk-panel>summary span{display:grid;gap:4px}.dashboard-risk-panel>summary small{color:#687b82;font-size:10px;font-weight:500}.dashboard-risk-panel>summary>strong{font-size:21px}.dashboard-risk-panel[open]>summary{border-bottom:1px solid var(--line)}.dashboard-risk-month{margin:10px;border:1px solid #e0e7e9;border-radius:7px;overflow:hidden}.dashboard-risk-month>summary{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f6f9fa;cursor:pointer}.dashboard-risk-month .dashboard-risk-list{margin:0;padding:8px}.order-groups{display:grid;gap:12px;margin-top:14px}.order-group{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.order-group>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;cursor:pointer}.order-group>summary span{display:grid;gap:3px}.order-group>summary small{color:#6a7b82;font-size:10px;font-weight:500}.order-group>summary>strong{padding:5px 8px;border-radius:6px;background:#eef4f6;color:#174d62}.order-group[open]>summary{border-bottom:1px solid var(--line)}.order-group .table-wrap{margin:0}.fix-tier-tone-green{background:#e8f6ec!important;color:#226840!important;border-color:#9fd0af!important}.fix-tier-tone-blue{background:#e8f3fa!important;color:#175d7a!important;border-color:#9fc7dc!important}.fix-tier-tone-yellow{background:#fff5d9!important;color:#805b05!important;border-color:#dfbd61!important}.fix-tier-tone-red{background:#ffe8e5!important;color:#a52d27!important;border-color:#dd8b84!important;font-weight:800}.line-special-field{align-self:end;padding:8px;border:1px solid #e4bbb6;border-radius:6px;background:#fff8f7;color:#922f29;font-weight:750}.line-special-field input{width:100%;margin:0}.line-special-field small{font-size:9px;line-height:1.25;color:#8b5550}.line-special-field small b{color:#b12d27}
@media(max-width:900px){.dashboard-approval-reminder{align-items:flex-start;flex-direction:column}.dashboard-risk-panel>summary,.order-group>summary{align-items:flex-start}.order-group .table-wrap{overflow:auto}.order-group table{min-width:1060px}}

/* V44: explicit FIX approval views, actionable special-price warnings and urgent dashboard signals. */
.work-queue-item.urgent{border-color:#e5aaa5;background:#fff8f7}.work-queue-item.urgent .work-queue-count{background:#f8d9d6;color:#ad302a}.queue-alert-dot{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#c43d36;box-shadow:0 0 0 3px rgba(196,61,54,.12)}.fix-price-tabs{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));width:100%}.order-notes-bottom{margin-top:14px}.line-special-field:not([hidden]){display:grid;gap:6px;min-height:70px}.line-special-field label{display:grid;gap:4px}.line-special-field textarea{width:100%;min-height:62px;padding:8px;border:1px solid #d79d97;border-radius:5px;resize:vertical;background:#fff}.special-approval-reason-field span{font-size:10px}.special-line-reason{display:block;margin-top:7px;padding:6px 8px;border-left:3px solid #c44239;background:#fff1ef;color:#7f3732;font-size:10px;line-height:1.45}.payment-submitted-note{color:#176795;font-weight:750}.approval-payment-note{color:#7a5c16}.order-actions button[disabled]{cursor:not-allowed;opacity:.55}
.order-approval-progress{display:flex;align-items:center;gap:5px;margin-top:8px;min-width:230px}.order-approval-progress>i{color:#91a0a7;font-style:normal}.order-approval-step{display:grid;gap:1px;padding:5px 7px;border:1px solid #d8e0e3;border-radius:6px;background:#f6f8f9;color:#66767d;font-size:9px;line-height:1.2;white-space:nowrap}.order-approval-step b{font-size:10px}.order-approval-step.done{border-color:#b8d9c9;background:#edf8f2;color:#276c4c}.order-approval-step.pending{border-color:#edc988;background:#fff7e7;color:#8a5704}.order-approval-step.rejected{border-color:#e4b1ad;background:#fff1f0;color:#9e3630}
.fix-active-sort{display:flex;align-items:center;gap:8px;color:#60747c;font-size:11px}.fix-active-sort select{min-width:170px;padding:7px 9px}.fix-warning-history{margin:10px 14px;border:1px solid #e4d9cd;border-radius:7px;overflow:hidden}.fix-warning-history>summary{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#fff8ee;color:#855116;cursor:pointer}.fix-warning-history>.table-wrap{margin:0;border:0;border-top:1px solid #eadfd4}.commission-performance-body{display:grid;gap:14px;padding:14px}.commission-performance-body>article{border:1px solid #dbe5e8;border-radius:8px;overflow:hidden}.commission-performance-body>article>header{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:12px 14px;background:#f3f8f9}.commission-performance-body>article>header>div{display:grid;gap:3px}.commission-performance-body>article>header span{color:#667a82;font-size:10px}.commission-performance-body>article>header strong{color:#123f50;font-size:15px}.commission-performance .commission-aggregate{margin:0}.commission-performance .panel-header small{display:block;margin-top:3px;color:#677a82}
.fix-pool-workbench{display:grid;gap:14px;margin-bottom:18px;padding:16px;border:1px solid #b7d2db;border-radius:10px;background:#f7fbfc;box-shadow:0 2px 8px rgba(18,63,80,.05)}.fix-workbench-header,.fix-workbench-customer,.fix-workbench-panel>header,.fix-order-zone>header,.fix-order-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.fix-workbench-header h3,.fix-workbench-panel h4,.fix-order-zone h4{margin:0;color:#102f3c}.fix-workbench-header p,.fix-workbench-panel header span,.fix-order-zone header p{margin:3px 0 0;color:#647a83;font-size:11px}.fix-workbench-header label{display:grid;gap:5px;min-width:310px;color:#526a73;font-size:11px;font-weight:700}.fix-workbench-header select{width:100%;padding:9px 10px;border:1px solid #b8cbd1;border-radius:6px;background:#fff}.fix-workbench-customer{justify-content:flex-start;padding:10px 12px;border-left:4px solid #158c83;background:#edf8f6}.fix-workbench-customer>span:last-child{color:#60747c;font-size:11px}.fix-workbench-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:14px}.fix-workbench-panel,.fix-order-zone{overflow:hidden;border:1px solid #d4e1e5;border-radius:8px;background:#fff}.fix-workbench-panel>header,.fix-order-zone>header{padding:12px 14px;border-bottom:1px solid #dce6e9;background:#f4f8f9}.fix-workbench-panel>header b,.fix-order-zone>header b{white-space:nowrap;color:#17687a}.fix-catalog-search{display:grid;grid-template-columns:auto minmax(130px,220px);align-items:center;gap:7px;color:#60747c;font-size:11px}.fix-catalog-search input{min-width:0;padding:7px 8px}.fix-pool-list,.fix-catalog-list,.fix-order-list{display:grid;gap:8px;padding:10px;max-height:470px;overflow:auto}.fix-pool-item{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(125px,.8fr) minmax(105px,.6fr) minmax(120px,.9fr) auto;align-items:end;gap:9px;padding:11px;border:1px solid #dbe5e8;border-radius:7px;background:#fbfdfd}.fix-pool-item.below-cost{border-color:#e5aaa5;background:#fff7f6}.fix-product-identity{display:grid;gap:3px;min-width:0}.fix-product-identity strong{color:#123f50}.fix-product-identity span,.fix-product-identity small{color:#64777f;font-size:10px}.fix-pool-item label,.fix-pool-savebar label,.fix-order-item label{display:grid;gap:4px;color:#536971;font-size:10px;font-weight:700}.fix-pool-item select,.fix-pool-item input{min-width:0;width:100%;padding:8px;border:1px solid #c6d4d9;border-radius:5px;background:#fff}.fix-pool-price-state{align-self:center;font-size:10px;line-height:1.4}.success-text{color:#10705b}.fix-pool-row-actions{display:grid;gap:5px}.fix-catalog-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #e0e8eb;border-radius:7px}.fix-catalog-item>div:last-child{display:grid;gap:5px}.fix-pool-savebar{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px;padding:10px 12px;border-top:1px solid #dce6e9;background:#f8fbfc}.fix-pool-savebar textarea{min-height:50px;padding:8px;border:1px solid #c6d4d9;border-radius:5px;resize:vertical}.fix-order-zone{border-color:#a8c9d3}.fix-order-item{display:grid;grid-template-columns:minmax(220px,1fr) 160px auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #dce6e9;border-radius:7px}.fix-order-actions{padding:11px 13px;border-top:1px solid #dce6e9;background:#edf6f8}.fix-order-actions span{color:#617780;font-size:11px}.fix-workbench-empty{padding:28px}.expanded-order-line .line-price-source{align-self:center;white-space:nowrap}
.fix-order-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.selected-fix-products{display:grid;gap:6px}.fix-order-grid-editor{display:block;overflow-x:auto;border:1px solid #ccdbe0;border-radius:8px;background:#fff}.fix-order-grid-head,.fix-order-grid-row{display:grid;grid-template-columns:minmax(120px,1.45fr) 68px minmax(94px,.9fr) minmax(105px,1fr) 84px 76px;gap:4px;min-width:580px}.fix-order-grid-head{position:sticky;top:0;z-index:2;padding:7px 8px;background:#eef4f6;color:#526a74;font-size:8px;font-weight:850}.fix-order-grid-row{align-items:start;padding:8px;border:0;border-bottom:1px solid #dce5e8;border-radius:0;background:#fff}.fix-order-grid-row:last-child{border-bottom:0}.fix-order-grid-row.fix-adjustment-pending{background:#fff7f5}.fix-order-grid-row.fix-authorization-invalid{background:#fff0ee}.fix-sku-cell,.line-current-price,.line-future-price,.line-fix-status,.line-status-cell,.line-system-price{display:grid;align-content:start;gap:3px;min-width:0}.line-current-price select,.line-current-price input,.line-future-price select,.line-future-price input{width:100%;min-width:0;height:28px;padding:3px 5px;font-size:9px}.fix-sku-cell .line-product-detail{display:grid;grid-template-columns:1fr;gap:1px;margin:0}.fix-sku-cell .line-product-detail strong{font-size:11px}.fix-sku-cell .line-product-detail small{white-space:normal;font-size:8px;line-height:1.25}.fix-order-grid-row .line-quantity-field{grid-column:auto}.fix-order-grid-row .quantity-stepper{grid-template-columns:20px 28px 20px;width:68px}.fix-order-grid-row .quantity-stepper button{min-width:0;height:28px;padding:0;font-size:12px}.fix-order-grid-row .quantity-stepper input{height:28px;padding:2px;font-size:10px}.fix-order-grid-row .line-quantity-field small,.line-system-price small,.line-fix-status small{color:#6b7e86;font-size:7px;line-height:1.2}.line-system-price strong{padding-top:2px;font-size:11px}.save-fix-check{display:flex!important;align-items:flex-start;gap:3px!important;color:#315968!important;font-size:7px!important;line-height:1.2}.save-fix-check input{flex:0 0 auto;width:auto!important;height:auto!important;margin-top:1px}.compact-line-remove{justify-self:start;margin-top:2px;padding:2px 5px;font-size:7px;line-height:1.1}.fix-order-grid-row .line-total{display:none}.fix-order-grid-row .st-pcr-approval-reason-field{grid-column:1/-1}.fix-order-grid-row [hidden]{display:none!important}.fix-order-grid-empty{padding:14px;text-align:center;color:#6b7e86;font-size:9px;background:#fbfdfd}
.fix-order-grid-head,.fix-order-grid-row{grid-template-columns:minmax(140px,1fr) 92px 118px 124px 105px;gap:5px;min-width:600px}.fix-order-grid-head{font-size:9px}.fix-order-grid-row .quantity-stepper{grid-template-columns:22px 44px 22px;width:88px}.fix-order-grid-row .quantity-stepper button,.fix-order-grid-row .quantity-stepper input{height:30px}.fix-order-grid-row .quantity-stepper input{font-size:11px}.fix-order-grid-row .line-system-price{display:none!important}.fix-sku-base-price{color:#17687a!important;font-weight:750}
@media(max-width:720px){.fix-price-tabs{grid-template-columns:1fr 1fr;grid-auto-flow:row}.fix-price-tabs button{white-space:normal}.fix-active-sort{align-items:stretch;flex-direction:column}.commission-performance-body>article>header{grid-template-columns:1fr}.commission-performance-body{padding:8px}}
@media(max-width:1400px){.fix-workbench-grid{grid-template-columns:1fr}.fix-catalog-list{max-height:360px}}
@media(max-width:900px){.fix-pool-item{grid-template-columns:1fr 1fr}.fix-pool-item .fix-product-identity,.fix-pool-price-state{grid-column:1/-1}.fix-pool-row-actions{display:flex}.fix-workbench-header{align-items:stretch;flex-direction:column}.fix-workbench-header label{min-width:0}.fix-order-item{grid-template-columns:1fr auto}.fix-order-item .fix-product-identity{grid-column:1/-1}}
.damaged-disposition-history{display:grid;gap:3px;margin-top:8px;padding:8px;border-left:3px solid var(--red);background:#fff6f5}.damaged-disposition-history strong{font-size:10px}.damaged-disposition-history span{white-space:normal!important;line-height:1.4}
.warehouse-damage-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:16px 18px;border:1px solid #efb5ad;border-left:5px solid #c63f36;border-radius:12px;background:#fff6f4}.warehouse-damage-intro div{display:grid;gap:4px}.warehouse-damage-intro strong{color:#8f2822}.warehouse-damage-intro span{color:#6c5552;font-size:13px}.damaged-isolation-card{border-color:#e8aaa2;background:#fffafa}.damaged-isolation-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-damage-actions{display:flex;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px dashed #e3b4ae}

/* V72: persistent warehouse inbound priority controls. */
.warehouse-inbound-card-tools{display:flex!important;grid-template-columns:none!important;align-items:center;gap:9px}.warehouse-inbound-order{display:flex!important;align-items:center;gap:5px;padding:5px 8px;border:1px solid #cbdadd;border-radius:7px;background:#f7fafb;color:#426674;cursor:grab;user-select:none;touch-action:none}.warehouse-inbound-order:active{cursor:grabbing}.warehouse-inbound-order i{font-size:16px;font-style:normal;line-height:1;color:#277086}.warehouse-inbound-order span{font-size:10px!important;font-family:inherit!important;color:#526f7a!important}.warehouse-inbound-order b{display:grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:#e5f0f3;text-align:center;color:#315f70;font-size:10px}.warehouse-inbound-card[draggable="true"]{transition:transform .14s ease,box-shadow .14s ease,opacity .14s ease}.warehouse-inbound-card.is-dragging{opacity:.5;box-shadow:0 10px 24px rgba(18,56,72,.18);transform:scale(.995)}.warehouse-inbound-grid.is-drag-over{background:#f4fafb}.warehouse-inbound-grid.is-saving-order{pointer-events:none;opacity:.75}

/* V74: the saleable temporary putaway bin is always visually prominent. */
.warehouse-stock-card[data-search^="temp-putaway"]{order:-1;border-color:#83c8a3;border-left-color:#19945b;background:#f0fbf5}.warehouse-stock-card[data-search^="temp-putaway"] header strong{color:#147445}.warehouse-receipt-allocation[data-bin-mode="TEMP"]{border-color:#79c59b;background:#effbf4}.warehouse-receipt-bin-choice{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr);gap:8px}.warehouse-receipt-bin-label{align-self:center;color:#35765a;font-weight:750;font-size:11px}

/* V75: warehouse staff operate pooled SKU quantities; receipt lots stay collapsed for audit. */
.inventory-sku-summary{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:14px;align-items:center;padding:12px 14px;background:#f7fafb}.inventory-sku-summary>div:first-child{display:grid;gap:3px}.inventory-sku-summary>div:first-child span{color:#687b87;font-size:11px}.inventory-last-count,.inventory-count-last{color:#2d7557!important;font-size:10px!important;font-weight:750}.inventory-last-count.has-variance{color:#b13d35!important}.inventory-sku-summary dl{display:flex;gap:14px;margin:0}.inventory-sku-summary dl div{display:grid;gap:2px}.inventory-sku-summary dt{color:#71848c;font-size:9px}.inventory-sku-summary dd{margin:0;font-weight:800}.inventory-sku-actions{display:flex;gap:7px}.inventory-arrival-details{border-top:1px solid #e4eaec}.inventory-arrival-details>summary{display:block!important;padding:9px 14px!important;background:#fff!important;color:#5e737c;font-size:11px;font-weight:750}.inventory-arrival-details[open]>summary{background:#f7fafb!important}.inventory-arrival-details .inventory-batch-list article{grid-template-columns:minmax(0,1fr) auto}.inventory-detail-group.is-focused>.inventory-sku-summary{background:#eaf4f6}
@media(max-width:720px){.inventory-sku-summary{grid-template-columns:1fr}.inventory-sku-summary dl{display:grid;grid-template-columns:repeat(4,1fr)}.inventory-sku-actions{justify-content:flex-start}.inventory-arrival-details .inventory-batch-list article{grid-template-columns:1fr}}

/* V78: administrator-only platform cost and sales-floor control center. */
.cost-control-page{display:grid;gap:14px}.cost-policy-note{display:grid;gap:4px;padding:13px 15px;border:1px solid #badce3;border-left:5px solid #17839a;border-radius:10px;background:#eef8fa}.cost-policy-note strong{color:#104c60}.cost-policy-note span{color:#536d77;font-size:11px;line-height:1.5}.cost-rule-panel,.cost-group{border:1px solid #d7e2e6;border-radius:12px;background:#fff;overflow:hidden}.cost-rule-panel>header,.cost-group>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #e1e9ec;background:#f7fafb}.cost-rule-panel h2,.cost-group h2{margin:0;font-size:15px}.cost-rule-panel header p,.cost-group header p{margin:4px 0 0;color:#657982;font-size:10px}.cost-rule-panel>header>span,.cost-group>header>b{padding:6px 9px;border-radius:7px;background:#e9f2f5;color:#155b70;font-size:11px;white-space:nowrap}.cost-rule-panel>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px}.cost-rule-card{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:12px;align-items:end;border:1px solid #cfe0e5;border-left:4px solid #27788a;border-radius:9px;padding:13px;background:#f8fbfc}.cost-rule-card>div,.cost-rule-card label{display:grid;gap:4px}.cost-rule-card>div>span,.cost-rule-card label>span{color:#687c84;font-size:10px}.cost-rule-card>div>strong{color:#153f50;font-size:16px}.cost-rule-card small{color:#768890;font-size:9px}.cost-rule-card input{height:39px;border:1px solid #c8d6db;border-radius:6px;padding:0 10px;background:#fff}.cost-search{display:grid;gap:5px;padding:12px 14px;border:1px solid #d7e2e6;border-radius:10px;background:#fff}.cost-search span{color:#5f747d;font-size:10px;font-weight:750}.cost-search input{height:40px;border:1px solid #cbd8dc;border-radius:6px;padding:0 11px}.cost-sku-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:#f3f7f8}.cost-sku-card{min-width:0;border:1px solid #d5e0e4;border-radius:10px;background:#fff;overflow:hidden}.cost-sku-card.has-cost-warning{border-color:#d98d84;box-shadow:0 0 0 1px #d98d8426}.cost-sku-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 14px;border-bottom:1px solid #e5ebed}.cost-sku-card>header>div{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;align-items:center}.cost-sku-card>header small{grid-column:1/-1;color:#637781;font-size:10px}.cost-sku-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px 14px}.cost-sku-metrics>div{display:grid;gap:4px;padding:9px;border-radius:7px;background:#f2f7f8}.cost-sku-metrics>div.manual{background:#fff5e6}.cost-sku-metrics span{color:#6a7d85;font-size:9px}.cost-sku-metrics strong{color:#113f52;font-size:17px}.cost-sku-metrics small{color:#5e747d;font-size:9px;line-height:1.35}.cost-variance-alert{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 14px 12px;padding:10px 12px;border-radius:8px;background:#f1f7f5;border-left:4px solid #2b8c72}.cost-variance-alert.active{background:#fff1ef;border-left-color:#c94d43}.cost-variance-alert>div:first-child{display:grid;gap:3px}.cost-variance-alert strong{color:#173f4e;font-size:11px}.cost-variance-alert span,.cost-variance-alert small{color:#5c7078;font-size:9px}.cost-variance-alert .order-actions{flex-wrap:nowrap}.cost-variance-alert button{white-space:nowrap}.cost-recent-prices{padding:0 14px 12px}.cost-recent-prices h4{margin:2px 0 8px;font-size:11px;color:#445f6b}.cost-sku-card .table-wrap{margin:0;border:1px solid #e0e7e9;border-radius:7px}.cost-sku-card table{min-width:600px}.cost-sku-card th,.cost-sku-card td{padding:8px;font-size:9px}.cost-price-history{border-top:1px solid #e3eaec}.cost-price-history>summary{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;background:#f8fafb;color:#185f75;font-size:10px;font-weight:800;cursor:pointer}.cost-price-history[open]>summary{border-bottom:1px solid #e3eaec}.cost-price-history>.table-wrap{margin:10px 14px 14px}.cost-group[hidden],.cost-sku-card[hidden]{display:none!important}
.cost-group>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:#f7fafb;cursor:pointer;list-style:none}.cost-group>summary::-webkit-details-marker{display:none}.cost-group>summary:focus-visible{outline:3px solid #9acbd6;outline-offset:-3px}.cost-group[open]>summary{border-bottom:1px solid #e1e9ec}.cost-group>summary p{margin:4px 0 0;color:#657982;font-size:10px}.cost-group-summary-meta{display:flex;align-items:center;gap:10px}.cost-group-summary-meta b{padding:6px 9px;border-radius:7px;background:#e9f2f5;color:#155b70;font-size:11px;white-space:nowrap}.cost-group-summary-meta i{color:#176a80;font-size:18px;font-style:normal;line-height:1;transition:transform .18s ease}.cost-group[open] .cost-group-summary-meta i{transform:rotate(180deg)}
@media(max-width:1100px){.cost-rule-panel>div,.cost-sku-grid{grid-template-columns:1fr}.cost-rule-card{grid-template-columns:minmax(0,1fr) 170px auto}.cost-sku-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.cost-rule-panel>header,.cost-group>header,.cost-group>summary,.cost-variance-alert{align-items:flex-start}.cost-rule-card{grid-template-columns:1fr}.cost-sku-metrics{grid-template-columns:1fr}.cost-sku-grid{padding:8px}.cost-variance-alert{flex-direction:column}.cost-variance-alert .order-actions{flex-wrap:wrap}}
.crm-stage-rule-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #bcdbe3;border-left:5px solid #1d7b92;border-radius:12px;background:#f0f8fa}.crm-stage-rule-bar>div{display:grid;gap:4px}.crm-stage-rule-bar>div span{color:#58707b}.crm-stage-rule-bar details{min-width:210px}.crm-stage-rule-bar summary{cursor:pointer;color:#12617a;font-weight:800}.crm-stage-rule-bar details div{position:absolute;z-index:20;right:28px;margin-top:10px;width:min(680px,calc(100vw - 80px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px;border:1px solid #cbdbe0;border-radius:12px;background:#fff;box-shadow:0 15px 38px #123b5226}.crm-stage-rule-bar details span{display:grid;gap:2px;padding:9px;background:#f5f8f9;border-radius:8px;color:#5b6f78}.crm-stage-rule-bar details b{color:#123b52}.crm-stage-basis{max-width:210px;margin-top:6px}.crm-current-stage{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;background:#eef6f8}.crm-current-stage>span,.crm-current-stage>small{color:#5d727d}.crm-current-stage>strong{color:#0c5870}.crm-followup-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:10px;margin:16px 0;padding:14px;border:1px solid #d5e2e6;border-radius:12px;background:#fafcfc}.crm-followup-flow>div{display:grid;gap:4px}.crm-followup-flow span{color:#657a84;font-size:13px}.crm-followup-flow i{color:#2c7d92;font-style:normal;font-size:20px}.crm-stage-preview{margin-top:8px;padding:9px 11px;border-left:3px solid #23819a;background:#eef7f9;color:#536d78}.crm-stage-preview strong{color:#0f536a}@media(max-width:760px){.crm-stage-rule-bar{align-items:flex-start;flex-direction:column}.crm-stage-rule-bar details div{right:12px;width:calc(100vw - 48px);grid-template-columns:1fr}.crm-followup-flow{grid-template-columns:1fr}.crm-followup-flow i{display:none}.crm-current-stage{grid-template-columns:1fr}}
.crm-development-table table{min-width:1320px}.crm-situation-empty,.crm-situation-latest{width:170px;text-align:left;border:1px solid #cbdde2;border-radius:9px;background:#f7fbfc;color:#17647b;padding:9px}.crm-situation-latest{display:grid;gap:3px}.crm-situation-latest strong{font-size:12px;color:#123b52}.crm-situation-latest span{font-size:11px;line-height:1.35;color:#4f6873}.crm-situation-latest small{font-size:10px;color:#71858d}.crm-situation-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.crm-situation-layout>section,.crm-situation-form{border:1px solid #d5e2e6;border-radius:12px;padding:14px;background:#fafcfc}.crm-situation-layout h3,.crm-situation-form h3{margin:0 0 12px}.crm-visit-history,.crm-situation-history{display:grid;gap:9px;max-height:330px;overflow:auto}.crm-visit-history article{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:10px;background:#fff;border-radius:8px}.crm-visit-number{align-self:start;padding:4px 7px;border-radius:10px;background:#e4f2f5;color:#126078;font-size:10px;font-weight:800}.crm-visit-history p,.crm-situation-history p{margin:5px 0;color:#536b75}.crm-visit-history small{color:#78909a}.crm-situation-history article{padding:11px;border-left:4px solid #27829a;background:#fff}.crm-situation-history header{display:flex;justify-content:space-between;gap:12px}.crm-situation-history header small{color:#7b8e95}.crm-situation-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.crm-situation-tags span{padding:4px 7px;border-radius:10px;background:#eef4f5;color:#526a74;font-size:10px}.crm-objection-page{display:grid;gap:16px}.crm-objection-library{border:1px solid #d4e0e3;border-radius:12px;background:#fff;overflow:hidden}.crm-objection-library>header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #dce5e7}.crm-objection-library h2,.crm-objection-library p{margin:0}.crm-objection-library p{margin-top:4px;color:#647982}.crm-objection-library>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}.crm-objection-library article{display:grid;gap:10px;padding:14px;border:1px solid #dbe5e7;border-radius:10px;background:#fbfcfc}.crm-objection-library article>div{display:flex;justify-content:space-between;gap:10px}.crm-objection-library article span{order:2;color:#72868e;font-size:10px}.crm-objection-library article h3,.crm-objection-library article p{margin:0}.crm-objection-library article p{line-height:1.55;color:#425e69}.crm-objection-library article button{justify-self:start}.crm-script-cell{min-width:220px;max-width:330px;white-space:normal;line-height:1.45}.crm-script-preview{padding:12px;border-left:4px solid #27819a;background:#edf7f9}.crm-script-preview p{margin:5px 0 0;line-height:1.55;color:#315866}@media(max-width:800px){.crm-situation-layout,.crm-objection-library>div{grid-template-columns:1fr}}
.crm-cardinal-route{display:grid;gap:15px}.crm-cardinal-route>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #bcd6de;border-radius:12px;background:#eef7f9}.crm-cardinal-route>header span,.crm-cardinal-route>header p{color:#607781}.crm-cardinal-route>header h2,.crm-cardinal-route>header p{margin:2px 0}.crm-cardinal-route>header>b{max-width:420px;color:#175d72}.crm-route-grid.cardinal{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-route-grid.cardinal .crm-route-column>header>div{display:flex;align-items:center;gap:11px}.crm-direction-arrow{display:grid!important;place-items:center;width:38px;height:38px;border-radius:50%;background:#dceef2;color:#12627a;font-size:22px;font-weight:900}.crm-route-grid.cardinal .crm-route-column{border-top:4px solid #2a8298}.crm-route-grid.cardinal .empty.compact{padding:22px}.crm-route-unlocated{border:1px dashed #d59a49;border-radius:12px;background:#fffaf1;padding:15px}.crm-route-unlocated>header{display:flex;justify-content:space-between;align-items:center}.crm-route-unlocated h3,.crm-route-unlocated p{margin:0}.crm-route-unlocated p{margin-top:4px;color:#84683d}.crm-route-unlocated>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}@media(max-width:850px){.crm-route-grid.cardinal{grid-template-columns:1fr}.crm-cardinal-route>header{align-items:flex-start;flex-direction:column}}
.crm-linked-next{padding:7px 9px;border-left:3px solid #2b879d;background:#eef7f9;color:#235f70;font-weight:700}

/* Dispatch windows v103 */
.warehouse-dispatch-rules{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid #b8d6de;border-left:5px solid #19758d;border-radius:11px;background:#eef7f9}.warehouse-dispatch-rules>div{display:grid;gap:3px}.warehouse-dispatch-rules strong{color:#123b52}.warehouse-dispatch-rules span{color:#58717c}.warehouse-outbound-sort{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.warehouse-outbound-sort>span{color:#607781;font-size:.82rem;font-weight:700}.warehouse-outbound-sort .segments{margin:0}.warehouse-delivery-zone{overflow:hidden;border:1px solid #d4e1e5;border-radius:13px;background:#fff}.warehouse-delivery-zone>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border-bottom:1px solid #dce6e9;background:#f8fbfc}.warehouse-delivery-zone>header>div:first-child{display:grid;gap:3px}.warehouse-delivery-zone>header h3,.warehouse-delivery-zone>header p{margin:0}.warehouse-delivery-zone>header p{color:#657a83;font-size:.84rem}.warehouse-delivery-zone>header>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.warehouse-delivery-zone.is-future,.delivery-window-zone.is-future{border-color:#ddb86f}.warehouse-delivery-zone.is-future>header,.delivery-window-zone.is-future>.panel-header{background:#fff8e9}.warehouse-delivery-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:12px;padding:14px}.warehouse-delivery-card{display:grid;gap:12px;padding:15px;border:1px solid #d8e3e7;border-radius:11px;background:#fff;box-shadow:0 2px 7px rgba(22,55,68,.05)}.warehouse-delivery-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.warehouse-delivery-card>header>div{display:grid;gap:3px}.warehouse-delivery-card h4,.warehouse-delivery-card p{margin:0}.warehouse-delivery-card h4{font-size:1.06rem}.warehouse-delivery-card p{color:#607681}.warehouse-delivery-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0}.warehouse-delivery-card dt{color:#71848c;font-size:.74rem}.warehouse-delivery-card dd{margin:3px 0 0;font-weight:750;line-height:1.35}.warehouse-delivery-card footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.warehouse-delivery-card.is-overdue{border-color:#df8d8d;background:#fffafa}.delivery-stop-number{grid-row:1/3;display:grid;place-items:center;min-width:34px;height:34px;border-radius:50%;background:#123b52;color:#fff;font-weight:900}.delivery-task-card>header>div:has(.delivery-stop-number){grid-template-columns:auto minmax(0,1fr);align-items:center}.delivery-task-card>header>div:has(.delivery-stop-number) h3,.delivery-task-card>header>div:has(.delivery-stop-number) span{grid-column:2}.delivery-task-card.is-planned{border-style:dashed;border-color:#d2a654;background:#fffdf8}.delivery-schedule-rule{display:grid;gap:5px;padding:10px 12px;border-radius:8px;background:#eef7f9;color:#486a77;font-size:.84rem}.delivery-schedule-rule strong{color:#135c72}.delivery-window-zone .delivery-task-grid{padding-top:14px}

@media(max-width:760px){.warehouse-dispatch-rules,.warehouse-delivery-zone>header{align-items:flex-start;flex-direction:column}.warehouse-outbound-sort{width:100%}.warehouse-delivery-list{grid-template-columns:1fr;padding:12px}.warehouse-delivery-card dl{grid-template-columns:1fr}.warehouse-delivery-card footer>*{width:100%}.warehouse-delivery-zone>header>div:last-child{width:100%}.warehouse-delivery-zone>header>div:last-child>*{flex:1}.delivery-task-card>header>div:has(.delivery-stop-number){grid-template-columns:auto minmax(0,1fr)}}

/* V109: dense, date-correct dispatch worklists for warehouse staff and drivers. */
.warehouse-work-layout{gap:10px}.warehouse-dispatch-rules{justify-content:flex-start;gap:22px;padding:10px 14px;font-size:14px}.warehouse-delivery-zone{border-radius:9px}.warehouse-delivery-zone>header{min-height:52px;padding:9px 12px}.warehouse-delivery-zone>header h2{margin:0;font-size:16px}.warehouse-delivery-zone>header p{margin:2px 0 0;font-size:13px}.warehouse-delivery-list{display:block;padding:0}.warehouse-dispatch-row{display:grid;grid-template-columns:42px minmax(180px,1.25fr) minmax(310px,1.7fr) auto;align-items:center;gap:10px;min-height:64px;padding:7px 10px;border-bottom:1px solid #e4eaec;background:#fff}.warehouse-dispatch-row:last-child{border-bottom:0}.warehouse-dispatch-row.is-overdue{background:#fff8f7}.warehouse-dispatch-row.is-future{background:#fffdf8}.warehouse-dispatch-row.is-unscheduled{background:#fffbf2}.warehouse-dispatch-sequence{display:grid;place-items:center;gap:1px}.warehouse-dispatch-sequence b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#173f52;color:#fff;font-size:14px}.warehouse-dispatch-sequence span{color:#6d7f87;font-size:12px}.warehouse-dispatch-customer{display:grid;gap:2px;min-width:0}.warehouse-dispatch-customer strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.warehouse-dispatch-customer small{color:#647881;font-size:12px}.warehouse-dispatch-facts{display:flex;align-items:center;gap:11px;min-width:0;color:#5d727b;font-size:14px}.warehouse-dispatch-facts>b{color:#123b52;font-size:16px}.warehouse-dispatch-facts em{font-style:normal}.warehouse-dispatch-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:nowrap}.warehouse-dispatch-actions button{min-height:34px;padding:6px 9px;white-space:nowrap}.warehouse-delivery-zone.is-overdue,.delivery-window-zone.is-overdue{border-color:#e0a09a}.warehouse-delivery-zone.is-overdue>header,.delivery-window-zone.is-overdue>.panel-header{background:#fff3f1}.warehouse-delivery-zone.is-unscheduled,.delivery-window-zone.is-unscheduled{border-color:#dfbd7f}.warehouse-delivery-zone.is-unscheduled>header,.delivery-window-zone.is-unscheduled>.panel-header{background:#fff9ed}
.warehouse-today-completed{overflow:hidden;border:1px solid #cfe1db;border-radius:9px;background:#fff}.warehouse-today-completed>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 12px;background:#f1f8f5;cursor:pointer}.warehouse-today-completed>summary div{display:flex;align-items:baseline;gap:10px}.warehouse-today-completed>summary strong{font-size:16px}.warehouse-today-completed>summary span{color:#647a72;font-size:13px}.warehouse-today-completed>summary>b{padding:5px 9px;border-radius:14px;background:#dfeee8;color:#17644a}.warehouse-today-completed>div>article{display:grid;grid-template-columns:minmax(180px,1fr) 90px 90px auto;align-items:center;gap:10px;min-height:48px;padding:6px 12px;border-top:1px solid #e3ebe8}.warehouse-today-completed article>strong{font-size:15px}.warehouse-today-completed article>span,.warehouse-today-completed article>time{font-size:14px}.warehouse-today-completed article>time{color:#60756e}
.warehouse-future-reservations{overflow:hidden;border:1px solid #dfbd73;border-radius:10px;background:#fff}.warehouse-future-reservations>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:10px 14px;list-style:none;background:#fff8e9;cursor:pointer}.warehouse-future-reservations>summary::-webkit-details-marker{display:none}.warehouse-future-reservations>summary>div{display:grid;gap:2px}.warehouse-future-reservations>summary strong{font-size:17px;color:#513d12}.warehouse-future-reservations>summary span{font-size:13px;color:#7b6840}.warehouse-future-reservations>summary>span{display:flex;align-items:center;gap:10px}.warehouse-future-reservations>summary b{padding:5px 9px;border-radius:14px;background:#f2dfb5;color:#674700}.warehouse-future-reservations>div{display:grid;gap:10px;padding:10px}.warehouse-future-reservations .warehouse-delivery-zone{margin:0}.warehouse-future-fold::before{content:'展开'}.warehouse-future-reservations[open] .warehouse-future-fold::before{content:'收起'}
.delivery-workbench{display:grid;gap:10px}.delivery-compact-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.delivery-compact-summary>span{padding:7px 10px;border:1px solid #d7e2e5;border-radius:18px;background:#fff;color:#60757e;font-size:14px}.delivery-compact-summary>span b{color:#143f51}.delivery-compact-summary>span.danger{border-color:#e3aaa4;background:#fff4f2;color:#9d342e}.delivery-window-zone{margin:0!important;border-radius:9px}.delivery-window-zone>.panel-header{min-height:52px;padding:9px 12px}.delivery-window-zone>.panel-header h2{font-size:16px}.delivery-window-zone>.panel-header small{font-size:13px}.delivery-route-list{display:block}.delivery-route-row{display:grid;grid-template-columns:36px minmax(260px,2fr) minmax(220px,1.1fr) auto;align-items:center;gap:10px;min-height:72px;padding:8px 11px;border-top:1px solid #e4eaec;background:#fff}.delivery-route-row:first-child{border-top:0}.delivery-route-row.is-planned{background:#fffdf8}.delivery-route-stop{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1b5369;color:#fff}.delivery-route-main{display:grid;gap:2px;min-width:0}.delivery-route-main>strong{font-size:16px}.delivery-route-main>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.delivery-route-main>small{color:#687b84;font-size:12px}.delivery-route-facts{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#5c727b;font-size:13px}.delivery-route-facts>b{color:#143f51;font-size:16px}.delivery-route-facts small{width:100%;color:#73868e;font-size:12px}.delivery-route-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.delivery-route-actions a,.delivery-route-actions button{min-height:34px;padding:6px 9px;white-space:nowrap;text-decoration:none}.delivery-pickup-panel{margin:0}.delivery-pickup-list{display:block}.delivery-pickup-row{display:grid;grid-template-columns:minmax(260px,1fr) 80px auto auto;align-items:center;gap:10px;min-height:56px;padding:7px 12px;border-top:1px solid #e4eaec}.delivery-pickup-row:first-child{border-top:0}.delivery-pickup-row>div{display:grid;gap:2px}.delivery-pickup-row strong{font-size:15px}.delivery-pickup-row small{color:#687b84;font-size:12px}.delivery-pickup-row>b{font-size:15px}
@media(max-width:1050px){.warehouse-dispatch-row{grid-template-columns:38px minmax(170px,1fr) minmax(220px,1.3fr)}.warehouse-dispatch-actions{grid-column:2/-1;justify-content:flex-start}.delivery-route-row{grid-template-columns:34px minmax(220px,1fr) minmax(190px,1fr)}.delivery-route-actions{grid-column:2/-1;justify-content:flex-start}}
.warehouse-dispatch-actions button{flex:0 0 auto}
@media(max-width:1280px){.warehouse-dispatch-row{grid-template-columns:38px minmax(150px,1fr) minmax(220px,1.3fr)}.warehouse-dispatch-actions{grid-column:2/-1;justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:720px){.warehouse-dispatch-rules{align-items:flex-start;gap:5px}.warehouse-dispatch-row,.delivery-route-row{grid-template-columns:34px minmax(0,1fr);gap:7px}.warehouse-dispatch-facts,.warehouse-dispatch-actions,.delivery-route-facts,.delivery-route-actions{grid-column:2}.warehouse-dispatch-facts{flex-wrap:wrap}.warehouse-dispatch-actions{flex-wrap:wrap}.warehouse-today-completed>div>article{grid-template-columns:1fr auto auto}.warehouse-today-completed article button{grid-column:1/-1;justify-self:start}.delivery-pickup-row{grid-template-columns:minmax(0,1fr) auto}.delivery-pickup-row>button{grid-column:1/-1;justify-self:start}.delivery-window-zone>.panel-header{align-items:flex-start}.delivery-route-main>span{white-space:normal}.delivery-route-actions{justify-content:flex-start}}

/* V110: one-driver route desk with collapsible daily windows and jump links. */
.delivery-compact-summary>button{appearance:none;padding:7px 11px;border:1px solid #d7e2e5;border-radius:18px;background:#fff;color:#60757e;font:inherit;font-size:14px;cursor:pointer}.delivery-compact-summary>button:hover,.delivery-compact-summary>button:focus-visible{border-color:#2a7b91;background:#eef7f9;color:#174f62;outline:none}.delivery-compact-summary>button b{color:#143f51}.delivery-compact-summary>button.danger{border-color:#e3aaa4;background:#fff4f2;color:#9d342e}.delivery-group-stack{display:grid;gap:10px;scroll-margin-top:12px}.delivery-window-zone>summary.panel-header{display:flex;list-style:none;cursor:pointer}.delivery-window-zone>summary.panel-header::-webkit-details-marker{display:none}.delivery-window-zone>summary.panel-header:focus-visible{outline:3px solid #7fb8c6;outline-offset:-3px}.delivery-fold-indicator{display:inline-flex;align-items:center;min-width:34px;color:#17627a;font-size:13px;font-weight:800}.delivery-fold-indicator::before{content:'展开'}.delivery-window-zone[open] .delivery-fold-indicator::before{content:'收起'}.delivery-batch-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-height:45px;padding:6px 11px;border-bottom:1px solid #e4eaec;background:#fbfcfc}.delivery-batch-tools:empty{display:none}.delivery-batch-tools a{text-decoration:none}.delivery-future-stack .delivery-window-zone:not([open]){border-color:#dcb86f}.delivery-future-stack .delivery-window-zone:not([open])>summary{background:#fff8e9}
@media(max-width:720px){.delivery-window-zone>summary.panel-header{flex-direction:row}.delivery-batch-tools{align-items:stretch;justify-content:flex-start;flex-wrap:wrap}.delivery-batch-tools>*{flex:1}.delivery-fold-indicator{justify-content:flex-end}}

.delivery-window-zone[id]{scroll-margin-top:12px}

/* V125: dedicated receiving-exception and customer after-sales workbench. */
.after-sales-page{display:grid;gap:14px}.after-sales-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:14px}.after-sales-grid>.panel{margin:0;overflow:hidden}.after-sales-grid .panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid var(--line);background:#f8fafb}.after-sales-grid .panel-head>div{display:grid;gap:3px}.after-sales-grid .panel-head h2,.after-sales-grid .panel-head p{margin:0}.after-sales-grid .panel-head h2{font-size:17px}.after-sales-grid .panel-head p{color:#667a83;font-size:11px}.after-sales-receiving-list{display:grid}.after-sales-receiving-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:11px 14px;border:0;border-top:1px solid #e7edef;background:#fff;color:var(--ink);text-align:left}.after-sales-receiving-row:first-child{border-top:0}.after-sales-receiving-row:hover{background:#f8fbfc}.after-sales-receiving-row>span{display:grid;gap:3px}.after-sales-receiving-row small{color:#6a7c84}.after-sales-receiving-row>strong{color:#a13731}.after-sales-receiving-row>em{color:#17627a;font-style:normal;font-weight:800}.after-sales-archive{overflow:hidden;border:1px solid #d6e2e6;border-radius:10px;background:#fff}.after-sales-archive>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;cursor:pointer;list-style:none;background:#f7fafb}.after-sales-archive>summary::-webkit-details-marker{display:none}.after-sales-archive>summary>span{display:grid;gap:3px}.after-sales-archive>summary small{color:#6d7f87}.after-sales-archive>summary>strong{padding:5px 9px;border-radius:12px;background:#e6eef1;color:#315767}.after-sales-archive>.table-wrap{margin:0;border:0;border-top:1px solid var(--line)}.after-sales-form-intro{display:grid;gap:4px;margin-bottom:14px;padding:12px 14px;border-left:4px solid #237f94;background:#edf7f9}.after-sales-form-intro span{color:#536f79;font-size:12px}.after-sales-item{display:grid;grid-template-columns:minmax(260px,1fr) 100px 120px 38px;gap:8px;margin-bottom:8px;align-items:start}.after-sales-sku-picker{position:relative;min-width:0}.after-sales-sku-search{width:100%}.after-sales-sku-results{position:absolute;z-index:12;top:calc(100% + 3px);left:0;right:0;max-height:280px;overflow:auto;border:1px solid #bdcbd1;border-radius:7px;background:#fff;box-shadow:0 14px 34px rgba(15,42,55,.2)}.after-sales-sku-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:0;border-bottom:1px solid #e6ecee;background:#fff;color:var(--ink);text-align:left}.after-sales-sku-option:hover{background:#edf7f9}.after-sales-sku-option>span{display:grid;gap:2px;min-width:0}.after-sales-sku-option small{overflow:hidden;color:#6a7d85;text-overflow:ellipsis;white-space:nowrap}.after-sales-sku-option em{color:#49717d;font-size:10px;font-style:normal;white-space:nowrap}.after-sales-detail-head{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.after-sales-detail-head>div{display:grid;gap:4px;padding:11px;border-radius:8px;background:#f1f6f7}.after-sales-detail-head span{color:#6a7e86;font-size:10px}.after-sales-description{display:grid;gap:6px;margin-bottom:12px;padding:12px 14px;border-left:4px solid #227f94;background:#f5fafb}.after-sales-description p{margin:0;line-height:1.55}.after-sales-description small{color:#6a7d84}.after-sales-photos{margin:14px 0}.after-sales-photos h3{margin:0 0 8px}.after-sales-photo{display:inline-grid;gap:2px;margin:0 8px 8px 0;padding:9px 11px;border:1px solid #ccdadf;border-radius:8px;background:#fff;color:var(--ink);text-align:left}.after-sales-photo span{color:#16627a;font-size:10px;font-weight:800}.after-sales-photo small{color:#6c7d84}.after-sales-history{margin-top:12px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.after-sales-history>summary,.receiving-disposition-history>summary{padding:10px 12px;background:#f5f8f9;cursor:pointer;font-weight:750}.after-sales-history>.table-wrap,.receiving-disposition-history>.table-wrap{margin:0;border:0;border-top:1px solid var(--line)}.after-sales-payment-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:13px 15px;border-radius:8px;background:#eef7f5}.after-sales-payment-summary strong{font-size:20px;color:#155e49}.receiving-disposition-history{margin-top:14px;border:1px solid var(--line);border-radius:7px;overflow:hidden}
@media(max-width:900px){.after-sales-grid{grid-template-columns:1fr}.after-sales-detail-head{grid-template-columns:1fr 1fr}}
.after-sales-live-section>summary{cursor:pointer;list-style:none}.after-sales-live-section>summary::-webkit-details-marker{display:none}.after-sales-live-section:not([open])>summary{border-bottom:0}.after-sales-section-actions{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.after-sales-fold-label{min-width:34px;color:#48707d;font-size:11px}.after-sales-live-section[open] .after-sales-fold-label::after{content:'收起⌃'}.after-sales-live-section:not([open]) .after-sales-fold-label::after{content:'展开⌄'}
.credit-source-split{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.credit-source-regular{color:#162f3b}.credit-source-plus{color:#536a74;font-weight:600}.credit-source-after-sales{color:#b42318!important;font-weight:850}.customer-account-credit{display:grid;gap:5px;margin:12px 0;padding:12px 14px;border:1px solid #d7e1e5;border-left:4px solid #b42318;border-radius:8px;background:#fff}.customer-account-credit>span,.customer-account-credit>small{color:#657982;font-size:11px}.customer-account-credit>strong{font-size:19px}.portal-rebate-grid .credit-source-split,.portal-rebate-grid .credit-source-split>span{display:inline-flex}.portal-rebate-grid .credit-source-regular{color:#162f3b}.portal-rebate-grid .credit-source-plus{color:#536a74}.portal-rebate-grid .credit-source-after-sales{color:#b42318!important}
@media(max-width:720px){.after-sales-item{grid-template-columns:minmax(0,1fr) 38px}.after-sales-sku-picker{grid-column:1/-1}.after-sales-quantity,.after-sales-unit-price{min-width:0}.after-sales-receiving-row{grid-template-columns:1fr auto}.after-sales-receiving-row>strong{grid-column:1/-1}.after-sales-detail-head{grid-template-columns:1fr}.after-sales-sku-results{width:calc(100vw - 56px)}}

/* V130: customer-return condition and inventory routing. */
.after-sales-item{grid-template-columns:minmax(230px,1fr) minmax(240px,.9fr) 86px 110px 38px}.after-sales-return-condition{min-width:0}.after-sales-return-condition:has(option[value="USED_OR_DAMAGED"]:checked){border-color:#d78d88;color:#9f312c;background:#fff7f6}
@media(max-width:720px){.after-sales-item{grid-template-columns:minmax(0,1fr) 38px}.after-sales-sku-picker,.after-sales-return-condition{grid-column:1/-1}}

/* V132: role-scoped workflow alerts for approvals and operational handoffs. */
.workflow-alert-button{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #d2dee2;border-radius:9px;background:#fff;color:#4f6873;font-size:18px;font-weight:900;cursor:pointer}.workflow-alert-button:hover,.workflow-alert-button:focus-visible{border-color:#b42318;background:#fff6f5;color:#a52119;outline:none}.workflow-alert-button.has-alerts{border-color:#d95b52;background:#fff1ef;color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.08)}.workflow-alert-button.has-alerts>span{animation:workflow-alert-pulse 1.7s ease-in-out infinite}.workflow-alert-button>b{position:absolute;right:-7px;top:-8px;min-width:21px;height:21px;padding:0 5px;border:2px solid #fff;border-radius:12px;background:#c52f27;color:#fff;font-size:10px;line-height:17px;text-align:center;box-shadow:0 3px 8px rgba(106,28,23,.25)}@keyframes workflow-alert-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}
.workflow-alert-button[hidden]{display:none!important}
.nav-notification{margin-left:auto;min-width:23px;height:23px;padding:0 6px;border-radius:12px;background:#c52f27!important;color:#fff!important;font-size:10px!important;font-weight:900;line-height:23px;text-align:center;box-shadow:0 2px 7px rgba(116,26,21,.3)}
.workflow-alert-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px;padding:12px 14px;border:1px solid #d7e2e5;border-radius:9px;background:#f7fafb}.workflow-alert-toolbar>div{display:grid;gap:3px}.workflow-alert-toolbar strong{color:#153f51}.workflow-alert-toolbar span{color:#647982;font-size:12px}.workflow-alert-section,.workflow-alert-history{overflow:hidden;border:1px solid #e0c1be;border-radius:10px;background:#fff}.workflow-alert-section>header,.workflow-alert-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;background:#fff4f2}.workflow-alert-section h3{margin:0;font-size:16px}.workflow-alert-section>header>b,.workflow-alert-history>summary>b{padding:4px 8px;border-radius:12px;background:#c52f27;color:#fff;font-size:11px}.workflow-alert-row{display:grid;grid-template-columns:16px minmax(0,1fr) auto 18px;align-items:center;gap:10px;width:100%;padding:11px 13px;border:0;border-top:1px solid #e6ecee;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.workflow-alert-row:first-child{border-top:0}.workflow-alert-row:hover,.workflow-alert-row:focus-visible{background:#f5fafb;outline:none}.workflow-alert-row.urgent:hover{background:#fff7f6}.workflow-alert-row>span:nth-child(2){display:grid;gap:3px}.workflow-alert-row small{overflow:hidden;color:#5f747e;text-overflow:ellipsis;white-space:nowrap}.workflow-alert-row em{color:#7b8d94;font-size:10px;font-style:normal}.workflow-alert-row>b{min-width:32px;padding:5px 8px;border-radius:14px;background:#fee4e2;color:#b42318;text-align:center}.workflow-alert-row>i{color:#2b6d82;font-style:normal;font-weight:900}.workflow-alert-dot{width:10px;height:10px;border-radius:50%;background:#d12f26;box-shadow:0 0 0 4px rgba(209,47,38,.13);animation:workflow-alert-pulse 1.7s ease-in-out infinite}.workflow-alert-event-mark{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#dceee8;color:#187154;font-size:10px;font-weight:900}.workflow-alert-history{margin-top:12px;border-color:#d7e2e5}.workflow-alert-history>summary{cursor:pointer;list-style:none;background:#f6f9fa;font-weight:800}.workflow-alert-history>summary::-webkit-details-marker{display:none}.workflow-alert-history>summary>b{background:#dfe9ec;color:#315b6b}.workflow-alert-empty{padding:25px;text-align:center;color:#697d85}.workflow-alert-empty.compact{padding:16px}.workflow-alert-note{margin:11px 2px 0;color:#667b84;font-size:11px}
@media(prefers-reduced-motion:reduce){.workflow-alert-button.has-alerts>span,.workflow-alert-dot{animation:none}}@media(max-width:760px){.workflow-alert-toolbar{align-items:stretch;flex-direction:column}.workflow-alert-toolbar button{width:100%}.workflow-alert-row{grid-template-columns:16px minmax(0,1fr) auto}.workflow-alert-row>i{display:none}.top-actions .workflow-alert-button{display:grid}.workflow-alert-row small{white-space:normal}}

/* V133: compact collapsible dashboard information panels. */
.dashboard-fold-panel{margin-bottom:16px}.dashboard-fold-panel>summary.panel-header{min-height:51px;list-style:none;cursor:pointer;user-select:none}.dashboard-fold-panel>summary.panel-header::-webkit-details-marker{display:none}.dashboard-fold-panel>summary.panel-header:hover{background:#f8fbfc}.dashboard-fold-panel>summary.panel-header:focus-visible{outline:3px solid #7fb8c6;outline-offset:-3px}.dashboard-fold-panel:not([open])>summary.panel-header{border-bottom:0}.dashboard-fold-meta{display:flex;align-items:center;gap:10px;color:#667b84}.dashboard-fold-meta>b{padding:4px 8px;border-radius:12px;background:#edf3f5;color:#315b6b;font-size:11px}.dashboard-fold-meta>i{min-width:31px;color:#17627a;font-size:11px;font-style:normal;font-weight:800}.dashboard-fold-meta>i::after{content:'展开⌄'}.dashboard-fold-panel[open] .dashboard-fold-meta>i::after{content:'收起⌃'}.dashboard-fold-body>.table-wrap{border-top:0}.dashboard-fold-actions{display:flex;justify-content:flex-end;padding:8px 12px;border-top:1px solid #edf0f2;background:#fbfcfc}
@media(max-width:720px){.dashboard-fold-panel{margin-bottom:10px}.dashboard-fold-meta>b{display:none}.dashboard-fold-panel>summary.panel-header{padding:12px}}
.net-credit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.net-credit-summary article,.net-order-status{display:flex;flex-direction:column;gap:5px;padding:13px 15px;border:1px solid var(--border);border-radius:10px;background:#f6fafb}.net-credit-summary article span,.net-order-status small{color:var(--muted);font-size:13px}.net-credit-summary article strong,.net-order-status strong{font-size:16px}.net-order-status.blocked{border-color:#e7aaa5;background:#fff2f1}.net-order-status.blocked strong,.net-order-status.blocked small{color:#a6322d}
@media(max-width:800px){.net-credit-summary{grid-template-columns:1fr 1fr}}

/* V139: administrator-controlled commission policy in cost control. */
.commission-policy-panel{margin:16px 0;border:1px solid #c9d9de;border-radius:12px;background:#fff;overflow:hidden}.commission-policy-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 18px;border-bottom:1px solid #dce5e8;background:#f4f9fa}.commission-policy-panel>header h2,.commission-policy-card h3{margin:0}.commission-policy-panel>header p,.commission-policy-card header p{margin:4px 0 0;color:#637983;font-size:12px;line-height:1.5}.commission-policy-panel>form{display:grid;gap:14px;padding:16px 18px}.commission-policy-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.commission-policy-card{border:1px solid #d8e3e6;border-radius:10px;background:#fbfcfc;overflow:hidden}.commission-policy-card>header{padding:13px 14px;border-bottom:1px solid #e1e8ea;background:#f7fafb}.commission-rate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:13px 14px}.commission-rate-grid>label,.commission-tier-map>label{display:grid;gap:5px;color:#47616c;font-size:11px;font-weight:750}.money-input{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;border:1px solid #c7d5da;border-radius:7px;background:#fff;overflow:hidden}.money-input i{font-style:normal;text-align:center;color:#5d737d}.money-input input{width:100%;border:0;border-left:1px solid #dbe4e7;border-radius:0}.commission-tier-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 14px 14px}.commission-tier-map select{width:100%;min-width:0}.commission-policy-card.monthly{margin:0}.monthly-commission-grid{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(160px,1fr) minmax(160px,1fr);align-items:center;gap:8px 12px;padding:13px 14px}.monthly-commission-grid>span{color:#617680;font-size:11px;font-weight:800}.monthly-commission-grid>strong{display:grid;gap:2px}.monthly-commission-grid>strong small{color:#75878e;font-size:10px;font-weight:500}.monthly-commission-grid>label{display:flex;align-items:center;gap:7px}.monthly-commission-grid input{width:100%;min-width:0}.monthly-commission-grid label span{color:#637982;font-size:11px;white-space:nowrap}.commission-policy-save{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;padding:14px;border:1px solid #e7c982;border-radius:10px;background:#fff9ea}.commission-policy-save>label{display:grid;gap:5px;color:#76520e;font-size:11px;font-weight:800}.commission-policy-save textarea{min-height:66px;background:#fff}.commission-policy-save>div{display:grid;justify-items:end;gap:8px}.commission-policy-save small{max-width:300px;color:#756747;font-size:10px;text-align:right}.commission-policy-history{margin:0 18px 18px;border:1px solid #d8e2e5;border-radius:9px;overflow:hidden}.commission-policy-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none;background:#f7fafb;font-weight:800}.commission-policy-history>summary::-webkit-details-marker{display:none}.commission-policy-history>summary strong{padding:4px 8px;border-radius:12px;background:#e5eef1;color:#315d6c;font-size:10px}.commission-policy-history>.table-wrap{margin:0;border:0;border-top:1px solid #dce5e8}.commission-policy-history td:nth-child(3){max-width:480px;white-space:normal}
@media(max-width:1050px){.commission-policy-columns{grid-template-columns:1fr}.commission-policy-save{grid-template-columns:1fr}.commission-policy-save>div{justify-items:start}.commission-policy-save small{text-align:left}}
@media(max-width:720px){.commission-policy-panel>header{flex-direction:column}.commission-rate-grid,.commission-tier-map{grid-template-columns:1fr}.monthly-commission-grid{grid-template-columns:1fr 1fr}.monthly-commission-grid>span{display:none}.monthly-commission-grid>strong{grid-column:1/-1;margin-top:6px}.commission-policy-panel>form{padding:12px}.commission-policy-history{margin:0 12px 12px}}

/* Commission policy control v140 */
.commission-policy-panel{margin:22px 0 0}.commission-policy-panel>summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 18px;cursor:pointer;list-style:none;background:#f4f9fa}.commission-policy-panel>summary::-webkit-details-marker{display:none}.commission-policy-panel[open]>summary{border-bottom:1px solid #dce5e8}.commission-policy-panel>summary h2{margin:0}.commission-policy-panel>summary p{margin:4px 0 0;color:#637983;font-size:12px;line-height:1.5}.commission-policy-summary-meta{display:flex;align-items:center;gap:10px;white-space:nowrap}.commission-policy-summary-meta i{font-style:normal;color:#2d6070;font-size:18px;transition:transform .18s ease}.commission-policy-panel[open] .commission-policy-summary-meta i{transform:rotate(180deg)}
.commission-rate-grid{align-items:stretch}.commission-level-editor{display:grid;grid-template-columns:1fr;gap:9px;padding:11px;border:1px solid #dce5e8;border-radius:9px;background:#fff}.commission-level-editor>label{display:grid;gap:5px;color:#47616c;font-size:11px;font-weight:750}.commission-level-editor>button{justify-self:start;padding:2px 0}.commission-level-editor input[readonly]{background:#eef4f6;color:#34535e;font-weight:800}.commission-add-level{display:flex;align-items:center;gap:10px;padding:0 14px 13px}.commission-add-level small{color:#6b7d84;font-size:10px;line-height:1.4}.commission-add-level button{white-space:nowrap}.commission-tier-map{border-top:1px dashed #dce5e8;padding-top:13px}
.commission-level-editor,.commission-level-editor>label,.commission-level-editor input,.commission-level-editor .money-input{min-width:0;max-width:100%}.commission-level-editor input{width:100%;border:1px solid #c7d5da;border-radius:6px;padding:6px 8px}.commission-level-editor .money-input{width:100%}.commission-level-editor .money-input input{min-width:0;border:0;border-left:1px solid #dbe4e7;border-radius:0}.commission-rate-grid.has-price-band{grid-template-columns:repeat(2,minmax(0,1fr))}.commission-price-band{border-color:#e3c479;background:#fffaf0}.commission-price-band>small{color:#836219;font-size:10px;line-height:1.35}.commission-price-band input[readonly]{background:#fff7e4;color:#745314}
@media(max-width:720px){.commission-policy-panel>summary{flex-direction:column}.commission-rate-grid{grid-template-columns:1fr}.commission-add-level{align-items:flex-start;flex-direction:column}}
/* V143: make the Tire Fee offset and an additional order-level discount visually distinct. */
.order-detail-banner small{color:#526970;font-size:.7rem;line-height:1.4}
.order-detail-banner .tire-fee-offset-card{border-left:4px solid var(--teal);background:#eef8f5}
.order-detail-banner .special-discount-card{border-left:4px solid var(--red);background:#fff3f1}
.order-detail-banner .special-discount-card strong{color:var(--red)}
.order-final-totals .fee-offset{color:#286b5c}
.portal-success-grid small{display:block;margin-top:6px;color:#526970;font-size:11px;line-height:1.4}
.portal-success-grid .portal-fee-offset-card{border-left:4px solid var(--teal);background:#eef8f5}
.portal-success-grid .portal-special-discount-card{border-left:4px solid var(--red);background:#fff3f1}
.portal-success-grid .portal-special-discount-card strong{color:var(--red)}
.won-net-inline{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 9px;margin-top:7px;padding-top:7px;border-top:1px dashed #cfdee2}
.won-net-inline>small{color:#315f70;font-size:9px;font-weight:850;text-transform:uppercase}
.won-net-inline>strong{justify-self:end;font-size:11px;text-align:right}
.won-net-inline>span,.won-net-inline>div{grid-column:1/-1}
.won-net-inline>span{font-size:10px}
.won-net-inline>div{display:flex;gap:5px;flex-wrap:wrap}
.won-net-inline button{padding:3px 5px;font-size:10px}

/* V146: salesperson self-service payroll breakdown is read-only and self-scoped. */
.sales-payroll-status{display:flex;align-items:center;gap:18px;margin:12px 0 0;padding:10px 14px;border:1px solid #d8e4e9;border-radius:6px;background:#f7fafb;color:var(--navy);font-size:12px}.sales-payroll-status b{margin-left:4px}.sales-payroll-status small{margin-left:auto;color:var(--muted)}.self-payroll-readonly{margin:16px 0}.self-payroll-readonly>.panel-header{align-items:flex-start}.self-payroll-readonly>.panel-header small{display:block;margin-top:3px;color:var(--muted)}.payroll-setup-notice{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #f0d49b;background:#fff7e7;color:#7c5200;font-size:11px}.payroll-setup-notice strong{white-space:nowrap}.self-payroll-period{display:grid;grid-template-columns:1.2fr 1fr .75fr;gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.self-payroll-period>div{display:grid;gap:4px;padding:11px 14px;background:#f7fafb}.self-payroll-period span,.self-payroll-grid span{color:var(--muted);font-size:10px}.self-payroll-period strong{color:var(--navy);font-size:12px}.self-payroll-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line)}.self-payroll-grid article{display:grid;gap:4px;min-height:78px;padding:12px 14px;background:#fff}.self-payroll-grid strong{font-size:16px;font-variant-numeric:tabular-nums}.self-payroll-grid small{color:var(--muted);font-size:10px}.self-payroll-grid .self-payroll-net{background:#edf8f3}.self-payroll-grid .self-payroll-net strong{color:#126247;font-size:19px}.self-payroll-readonly>.formula-strip{margin:12px 14px 14px}
@media(max-width:900px){.self-payroll-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.sales-payroll-status{align-items:flex-start;flex-direction:column;gap:5px}.sales-payroll-status small{margin-left:0}.payroll-setup-notice{align-items:flex-start;flex-direction:column;gap:3px}.self-payroll-period{grid-template-columns:1fr}.self-payroll-grid{grid-template-columns:1fr 1fr}.self-payroll-readonly>.formula-strip{margin:10px}}

/* V150: public-facing quantity quote tables and collapsible internal product masters. */
.product-fold-section{margin-bottom:16px}.product-fold-section>summary{cursor:pointer;list-style:none}.product-fold-section>summary::-webkit-details-marker{display:none}.product-fold-section>summary>div{display:grid;gap:4px}.product-fold-section>summary small{color:var(--muted);font-size:10px}.product-fold-meta{display:flex;align-items:center;gap:8px;color:var(--blue);font-size:11px}.product-fold-meta i{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}.product-fold-section[open] .product-fold-meta i{transform:rotate(225deg)}.product-fold-body{background:#fff}.customer-quote-intro{display:flex;align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid #d9e5e7;background:#eef7f5;color:#355b63;font-size:11px}.customer-quote-intro strong{color:#176453;white-space:nowrap}.customer-quote-grid{display:grid;gap:14px;padding:14px;background:#f6f9fa}.customer-quote-group{overflow:hidden;border:1px solid #d6e1e4;border-radius:6px;background:#fff}.customer-quote-group>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-bottom:1px solid #dce5e8}.customer-quote-group h3{margin:0;font-size:15px}.customer-quote-group header small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.customer-quote-group label{display:flex;align-items:center;gap:8px;color:#52666f;font-size:11px;font-weight:750;white-space:nowrap}.customer-quote-group select{height:34px;min-width:120px;border:1px solid #c8d6db;border-radius:5px;background:#fff;padding:0 9px;color:var(--ink);font-weight:700}.customer-quote-group th:nth-child(n+4),.customer-quote-group td:nth-child(n+4){text-align:right}.customer-quote-price{color:#0f6753;font-size:15px;background:#f3faf7}.customer-quote-group tbody tr:hover .customer-quote-price{background:#eaf6f1}
@media(max-width:720px){.customer-quote-intro,.customer-quote-group>header{align-items:flex-start;flex-direction:column}.customer-quote-group label{width:100%;justify-content:space-between}.customer-quote-group select{flex:1}.customer-quote-grid{padding:9px}.product-fold-section>summary{align-items:flex-start}}

/* V151: compact customer price list keeps pattern directly beside the selected price. */
.customer-quote-grid{gap:8px;padding:8px 10px}.customer-quote-group{width:min(100%,680px)}.customer-quote-group>header{padding:8px 10px}.customer-quote-group h3{font-size:13px}.customer-quote-group select{height:30px;min-width:104px;padding:0 7px}.customer-quote-group table{width:100%!important;min-width:0!important;table-layout:fixed}.customer-quote-group th,.customer-quote-group td{padding:6px 8px;font-size:11px}.customer-quote-group th:nth-child(1){width:34%}.customer-quote-group th:nth-child(2){width:24%}.customer-quote-group th:nth-child(3){width:25%}.customer-quote-group th:nth-child(4){width:17%}.customer-quote-group th:nth-child(n+3),.customer-quote-group td:nth-child(n+3){text-align:right}.customer-quote-size{display:block;color:var(--ink);font-size:13px;font-weight:850;line-height:1.15}.customer-quote-sku{margin-top:2px;font-size:9px}.customer-quote-group td .subtext{font-size:9px}.customer-quote-price{font-size:13px}.customer-quote-available{color:#123f50;font-size:13px}
@media(max-width:720px){.customer-quote-grid{padding:6px}.customer-quote-group{width:100%}.customer-quote-group table{width:520px!important;min-width:520px!important}}

/* V160: customer price list print preview and print-safe quotation layout. */
.customer-quote-intro button{margin-left:auto;white-space:nowrap}.customer-price-print h1{margin:0 0 8px;color:#102f3d;font-size:25px}.customer-price-print .meta{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px;color:#5d7078;font-size:12px}.customer-price-print-group{margin-bottom:16px;border:1px solid #d5dfe3;border-radius:7px;overflow:hidden;break-inside:avoid}.customer-price-print-group .block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#eef5f6;border-bottom:1px solid #d9e3e6}.customer-price-print-group .block-head strong{font-size:15px}.customer-price-print-group .block-head span{color:#526871;font-size:12px;font-weight:700}.customer-price-print-table{width:100%;border-collapse:collapse;table-layout:fixed}.customer-price-print-table th,.customer-price-print-table td{padding:8px 10px;border-bottom:1px solid #e7ecee;text-align:left;vertical-align:top;font-size:12px}.customer-price-print-table th{background:#f8fafb;color:#62747c;font-size:10px}.customer-price-print-table th:nth-child(1){width:34%}.customer-price-print-table th:nth-child(2){width:26%}.customer-price-print-table th:nth-child(3){width:22%}.customer-price-print-table th:nth-child(4){width:18%}.customer-price-print-table th:nth-child(n+3),.customer-price-print-table td:nth-child(n+3){text-align:right}.customer-price-print-table td>strong,.customer-price-print-table td>.subtext{display:block}.customer-price-print-table td>strong{font-size:13px}.customer-price-print .print-note{color:#65777e;font-size:11px}
@media(max-width:720px){.customer-quote-intro button{width:100%;margin-left:0}}
@media print{.customer-price-print-group{break-inside:auto}.customer-price-print-table thead{display:table-header-group}.customer-price-print-table tr{break-inside:avoid}.customer-price-print-table th,.customer-price-print-table td{padding:5px 7px;font-size:10px}.customer-price-print-table td>strong{font-size:11px}.customer-price-print h1{font-size:20px}.customer-price-print .meta{margin-bottom:10px}}

/* V174: compact active FIX Price summary in the customer's expanded row. */
.won-fix-summary{display:grid;grid-template-columns:auto auto 1fr;align-items:end;gap:8px 14px}.won-fix-summary>div{display:grid;gap:2px}.won-fix-summary small{color:#6a7d85;font-size:10px}.won-fix-summary strong{font-size:14px;line-height:1.2}.won-fix-summary .quiet{justify-self:start;padding:5px 9px}.won-fix-summary-empty{grid-template-columns:1fr auto;align-items:center}.won-fix-summary-empty span{color:#657982;font-size:11px}
/* V185: approval keeps the requested return value visible and makes the final refund editable. */
.after-sales-refund-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.after-sales-refund-comparison>div,.after-sales-refund-comparison>label{display:grid;gap:6px;padding:13px 15px;border:1px solid #d6e2e6;border-radius:9px;background:#f7fafb}.after-sales-refund-comparison>label{border-color:#d4b56d;background:#fff9ea}.after-sales-refund-comparison span{color:#596f79;font-size:12px;font-weight:750}.after-sales-refund-comparison strong{font-size:23px;color:#173f51}.after-sales-refund-comparison input{min-height:46px;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}.after-sales-refund-comparison small{color:#6b7d84;font-size:11px;line-height:1.45}
@media(max-width:720px){.after-sales-refund-comparison{grid-template-columns:1fr}}
/* v186 · administrator product master and warehouse bin management centers */
.master-data-center{margin:0 0 20px;border:1px solid #cbdde2;border-radius:14px;background:#fff;overflow:hidden}
details.master-data-center>summary{cursor:pointer;list-style:none}
.master-data-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:#f3f8f8;border-bottom:1px solid #dbe7e9}
.master-data-toolbar>div:first-child{display:grid;gap:4px}.master-data-toolbar h2,.master-data-toolbar strong{margin:0;color:#0d3341}.master-data-toolbar span{color:#61747d;font-size:14px}
.master-data-toolbar .filters{margin:0;flex-wrap:nowrap}.master-data-toolbar input{min-width:240px}
.master-data-center table{margin:0}.master-data-center tr.is-inactive{background:#f6f7f7;color:#7a8589}.master-data-center tr.is-inactive strong{color:#66747a}
.product-load-capacity{display:grid;grid-template-columns:repeat(2,minmax(94px,1fr));gap:4px 10px;min-width:210px;font-size:12px}.product-load-capacity>span{display:flex;justify-content:space-between;gap:7px}.product-load-capacity b{color:#597079;font-size:11px}.no-load-capacity{color:#8a989e;white-space:nowrap}.product-capacity-heading{padding:10px 12px;border-left:4px solid #d79a1e;background:#fff8e8}.product-capacity-heading strong,.product-capacity-heading span{display:block}.product-capacity-heading span{margin-top:3px;color:var(--muted);font-size:13px}
.warehouse-bin-center{padding-bottom:1px}.warehouse-bin-center>.form-note{margin:16px 20px}.warehouse-bin-center .table-wrap{border-width:1px 0 0;border-radius:0}
@media(max-width:900px){.master-data-toolbar{align-items:stretch;flex-direction:column}.master-data-toolbar .filters{flex-wrap:wrap}.master-data-toolbar input{min-width:0;width:100%}}

/* v187 · optional product load capacities and warehouse vehicle assignment */
.warehouse-dispatch-row{grid-template-columns:42px minmax(175px,1.15fr) minmax(275px,1.45fr) minmax(170px,.85fr) auto}.warehouse-load-control{display:grid;gap:2px;min-width:165px}.warehouse-load-control>span{color:#637780;font-size:11px;font-weight:800}.warehouse-load-control select{width:100%;height:34px;padding:4px 28px 4px 8px;font-weight:750}.warehouse-load-control small{color:#55727d;font-size:10px;line-height:1.25}.warehouse-load-control.has-warning small{color:#a44832;font-weight:750}
@media(max-width:1280px){.warehouse-load-control{grid-column:2;min-width:220px}.warehouse-dispatch-actions{grid-column:3/-1}}
@media(max-width:720px){.warehouse-load-control{grid-column:2;min-width:0;max-width:260px}.warehouse-dispatch-actions{grid-column:2}}
