:root{font-family:Arial,Helvetica,sans-serif;color:#092955;background:#fff9ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{background:#092955;color:#fff;border:0;border-radius:7px;padding:11px 17px;cursor:pointer;font-weight:600}button:hover{background:#16437b}button:disabled{opacity:.5;cursor:wait}input,select,textarea{width:100%;border:1px solid #d9d5cc;border-radius:6px;padding:10px;background:#fff;color:#193650;margin-top:7px}label{display:block;font-size:12px;font-weight:600;color:#4d5c70}label input,label select{font-weight:400}h1,h2,h3,p{margin-top:0}h1{font-weight:550;letter-spacing:-1.2px;font-size:32px;margin:12px 0 8px}h2{font-size:20px;font-weight:600}h3{font-size:15px}p{color:#59677a;font-size:14px;line-height:1.6}small{font-size:11px;color:#627084;line-height:1.8}.eyebrow,.nav-label{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#627084}.logo{display:inline-flex;align-items:center;font-weight:800;font-size:24px;letter-spacing:-2px;color:#e8f1ce}.logo span{color:#c2e791;font-size:23px;margin-left:2px}.brand{display:flex;gap:13px;align-items:center;color:#fff;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:2px;margin-bottom:54px}.brand small{display:block;font-size:9px;letter-spacing:.3px;font-weight:400}.nav-label{display:block;padding-left:14px;margin-bottom:13px}aside{background:#092955;color:#b0c3b9;width:235px;position:fixed;inset:0 auto 0 0;padding:30px 22px}nav a{display:flex;gap:12px;color:#c4d1c9;text-decoration:none;padding:12px 14px;margin:4px 0;border-radius:7px;font-size:13px}nav a:hover,nav a.active{background:#16437b;color:#dcf4b2}nav b{font-size:15px;width:18px;font-weight:400}.side-bottom{position:absolute;bottom:24px;font-size:12px;line-height:2}.side-bottom small{display:block}.dot{background:#b4df81;border-radius:50%;display:inline-block;width:6px;height:6px;margin-right:6px}.quiet{background:transparent;color:inherit;border:1px solid #b7c3b955;font-size:12px;padding:7px 12px;margin-top:10px}main{margin-left:235px;padding:35px 40px 16px;max-width:1800px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.badge{font-size:11px;border:1px solid #d5e0d0;padding:8px 12px;border-radius:20px;background:#edf3e7;color:#4e6852;white-space:nowrap}.notice{background:#fff5d9;color:#80652b;border:1px solid #eddfb3;border-radius:7px;padding:12px 16px;font-size:12px;line-height:1.6;margin-bottom:24px}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:23px}.toolbar label{max-width:175px}.toolbar p{margin:0 0 10px auto}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.card,.panel{background:#fff;border:1px solid #e8e1d4;border-radius:10px;padding:22px}.card:first-child{background:#fff1cc;border-color:#eddaa7}.card .label{font-size:12px;color:#59677a}.card .number{font-size:30px;margin:17px 0 9px;letter-spacing:-1px;font-weight:600}.card .hint{font-size:11px;color:#627084}.grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px;margin-bottom:22px}.panel{margin-bottom:22px}.grid .panel{margin-bottom:0}.panel-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.panel-top h2{margin:0}.panel-top span{font-size:11px;color:#59677a}.channel-row{display:grid;grid-template-columns:90px 1fr 90px;gap:16px;align-items:center;margin:24px 0;font-size:12px}.bar{height:12px;border-radius:3px;background:#eee8dc;overflow:hidden}.bar i{display:block;height:100%;background:#658769}.channel-row:nth-child(3) .bar i{background:#9aa879}.channel-row:nth-child(4) .bar i{background:#c3ccaa}.channel-row:nth-child(5) .bar i{background:#c7a979}.channel-row strong{text-align:right;font-size:12px}.alert{padding:13px 0;border-bottom:1px solid #eee8dc}.alert:last-child{border:0}.alert b{font-size:12px}.alert p{font-size:11px;margin:5px 0 0}.pill{font-size:10px;padding:4px 7px;border-radius:5px;display:inline-block;background:#edf3e6;color:#56754e}.pill.warning,.pill.low,.pill.pending,.pill.needs_review{background:#fff2d3;color:#9c742d}.pill.critical,.pill.negative,.pill.failed,.pill.rejected{background:#fdebe7;color:#b85748}.pill.overstock{background:#edf0fa;color:#7b78a3}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{font-size:10px;font-weight:600;letter-spacing:.3px;text-align:left;padding:12px 14px;background:#fff7e5;color:#59677a;border-bottom:1px solid #e6eadf}td{padding:14px;border-bottom:1px solid #eee8dc;max-width:350px;overflow:hidden;text-overflow:ellipsis}tr:last-child td{border-bottom:0}td button{padding:5px 8px;margin-right:5px;font-size:10px}form.fields{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:16px;align-items:end}form.fields button{height:40px}.full{grid-column:1/-1}details{margin:16px 0}summary{cursor:pointer;font-size:13px;font-weight:600;margin-bottom:20px}textarea{min-height:130px;font-family:monospace;font-size:12px}.empty{padding:35px;text-align:center;color:#627084;font-size:13px}.connector-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.connector{border:1px solid #e1e8dc;border-radius:8px;padding:20px}.connector h3{margin-bottom:12px}.connector p{font-size:12px;margin:10px 0}.actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.actions button{font-size:11px;padding:8px 11px}footer{font-size:10px;color:#627084;border-top:1px solid #e8e1d4;padding-top:18px;margin-top:36px;display:flex;justify-content:space-between}#toast{position:fixed;top:18px;right:25px;z-index:10;max-width:500px;background:#193e35;color:white;border-radius:8px;box-shadow:0 6px 25px #203e3525;padding:14px 20px;font-size:13px;display:none}#login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}#login[hidden],#shell[hidden],[hidden]{display:none!important}.login-brand{background:#092955;padding:13vh 8vw}.login-brand h1{color:#f0f2df;font-size:48px;margin-top:50px;line-height:1.2}.login-brand p{color:#aabfae}.login-brand .logo{font-size:45px}.login-brand .logo span{font-size:40px}#login-form{max-width:440px;width:100%;margin:auto;padding:36px}#login-form h2{font-size:30px;margin-top:20px}#login-form label{margin-top:23px}#login-form button{width:100%;margin:25px 0 15px}#login-error{color:#b94d43;font-size:12px}dialog{border:1px solid #ccd8c5;border-radius:10px;width:85vw;max-height:85vh}dialog::backdrop{background:#09295570}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.muted{color:#627084}@media(max-width:1100px){main{padding:28px 24px}.kpis{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}aside{width:205px}main{margin-left:205px}form.fields{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){aside{position:static;width:100%;padding:18px}.brand{margin-bottom:15px}.nav-label,.side-bottom{display:none}nav{display:flex;overflow:auto}nav a{white-space:nowrap;padding:8px}.brand small{display:none}main{margin-left:0;padding:22px 15px}h1{font-size:27px}header{align-items:start}.badge{font-size:9px}form.fields{grid-template-columns:1fr}.connector-grid{grid-template-columns:1fr}.card{padding:16px}.card .number{font-size:24px}#login{grid-template-columns:1fr}.login-brand{padding:35px}.login-brand h1{font-size:34px;margin-top:20px}footer span{display:none}}

.tool-grants{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.tool-grants label{display:flex;align-items:center;gap:8px}.tool-grants input{width:auto;margin:0}.access-form{margin-bottom:18px}progress{width:100%;height:12px;accent-color:#658769;border:0;border-radius:3px}progress::-webkit-progress-bar{background:#eee8dc;border-radius:3px}progress::-webkit-progress-value{background:#658769;border-radius:3px}
.owner-access-summary{display:grid;grid-template-columns:1fr auto;gap:8px 20px;align-items:center;border:1px solid #e3dccf;background:#fffbf3;border-radius:9px;padding:18px;margin-bottom:18px}.owner-access-summary div small,.staff-access-card summary small{display:block}.owner-access-summary p{grid-column:1/-1;margin:0}.staff-access-list{display:grid;gap:12px}.staff-access-card{border:1px solid #e3dccf;border-radius:9px;margin:0;overflow:hidden;background:#fff}.staff-access-card>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:17px 20px;background:#f8faf6}.staff-access-card[open]>summary{border-bottom:1px solid #e8e1d4}.staff-access-card summary>span:last-child{text-align:right}.staff-access-card .access-form{margin:0;padding:20px}.access-account-settings{display:grid;grid-template-columns:repeat(2,minmax(180px,280px));gap:16px;margin-bottom:20px}.permission-matrix{border:1px solid #dfe6dc;border-radius:8px;overflow:hidden}.permission-matrix-head,.permission-row{display:grid;grid-template-columns:minmax(180px,1fr) 85px minmax(260px,2fr);gap:14px;align-items:center}.permission-matrix-head{padding:11px 15px;background:#eef2ec;color:#65736b;font-size:11px}.permission-row{padding:14px 15px;border-top:1px solid #e8ede5;margin:0;cursor:pointer}.permission-row:hover{background:#fbfcf9}.permission-row small{font-weight:400}.permission-check{text-align:center}.permission-check input{width:19px;height:19px;margin:0;accent-color:#1769d2}.permission-save-bar{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #eee8dc}.permission-save-bar span{margin-right:auto;font-size:12px;color:#65736b}.permission-save-bar .quiet{margin:0;color:#29473e;border-color:#bac8bd}
.message-identity{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;background:#fff9ed;border:1px solid #e8e1d4;border-radius:7px;padding:12px 14px;margin:12px 0}.message-identity span{min-width:0}.message-identity small{display:block}.message-identity b{display:block;overflow-wrap:anywhere;font-size:12px;margin-top:3px}.message-link-note{display:block;margin-top:8px}
.bulk-select{display:inline-flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;background:#fff7e5;border:1px solid #e3dccf;border-radius:8px;color:#193650;cursor:pointer}.bulk-select input{width:18px;height:18px;min-width:18px;margin:0;accent-color:#092955}.bulk-select span,.bulk-select strong,.bulk-select small{display:block}.bulk-select small{margin-top:2px;font-weight:400}
.customer-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.customer-channel-card{display:block;width:100%;text-align:left;color:#092955;font-weight:400;margin:0}.customer-channel-card:hover,.customer-channel-card.selected{background:#edf6f1;border-color:#4b806f}.customer-channel-card.selected{box-shadow:inset 0 0 0 2px #2c6757}.customer-filter-line,.customer-batch-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-8px 0 18px}.customer-filter-line .quiet{margin:0}.customer-batch-toolbar{padding:12px;background:#fff7e5;border:1px solid #e3dccf;border-radius:9px}.customer-batch-toolbar .bulk-select,.customer-batch-toolbar button{margin:0}.customer-batch-toolbar>span{color:#66786f;font-size:11px}.customer-select{margin:0;align-self:flex-start}.customer-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.customer-source{border:1px solid #e8e1d4;border-radius:8px;padding:15px;background:#f9fbf7}.customer-source b,.customer-source span,.customer-source small{display:block}.customer-source span{margin:7px 0;font-size:12px}.customer-message-list{display:grid;gap:14px}.customer-message{border:1px solid #dde5dc;border-left:5px solid #89a58f;border-radius:9px;padding:18px;background:#fff}.customer-message.warning{border-left-color:#d2a23d}.customer-message.critical{border-left-color:#b85748}.customer-message-head{display:grid;grid-template-columns:auto 1fr auto;gap:18px;margin-bottom:12px}.customer-message-head small{display:block;margin-top:5px}.customer-message-text{white-space:pre-wrap;background:#fff7e5;border-radius:7px;padding:12px;color:#40534c}.customer-message textarea{min-height:145px;font-family:inherit}.customer-message label{margin-top:12px}.customer-tracking{display:grid;grid-template-columns:1fr 1.4fr 1.4fr;gap:10px}.customer-attachments{margin-top:12px;padding:12px;background:#fff9ed;border:1px solid #e8e1d4;border-radius:8px}.customer-attachments>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.customer-attachment-upload{display:grid!important;grid-template-columns:1fr 1fr auto;align-items:end}.customer-attachment-upload input,.customer-attachment-upload button{margin:0}.customer-owner-review{margin:12px 0 0}.button-link{display:inline-block;background:#092955;color:#fff;border-radius:7px;padding:9px 13px;text-decoration:none;font-size:11px;font-weight:600}.button-link:hover{background:#16437b}.customer-message .quiet{color:#43564f;border-color:#cad5ce;margin-top:0}@media(max-width:1000px){.customer-kpis,.customer-sources{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-tracking{grid-template-columns:1fr}.customer-attachment-upload{grid-template-columns:1fr!important}}@media(max-width:700px){.customer-kpis,.customer-sources{grid-template-columns:1fr}.customer-message-head{display:block}.customer-message-head>span{margin-top:9px}.customer-select{margin-bottom:10px}}
.listing-selection-toolbar{align-items:center}.listing-selection-toolbar .bulk-select{max-width:none;margin:0}.listing-selection-toolbar button{margin:0}.listing-selection-toolbar #selected-listing-status{font-size:12px;color:#66786f;line-height:1.45}.listing-selection-toolbar .mapped-units-bulk{margin-left:auto}
.listing-units-editor{display:flex;align-items:center;gap:6px;min-width:150px}.listing-units-editor input{width:82px;min-width:82px;margin:0}.listing-units-editor button{min-width:58px;margin:0;padding:8px 10px}
.product-price-controls{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(190px,.75fr) minmax(150px,.55fr);gap:12px;align-items:end;margin:16px 0}.product-price-controls .bulk-select{margin:0;min-height:41px}.product-pricing-table{overflow:auto;border:1px solid #e3dccf;border-radius:9px}.product-pricing-table table{min-width:1220px}.product-pricing-table td{vertical-align:top;white-space:normal;overflow:visible}.product-pricing-table input[type=number]{min-width:108px;margin:0}.sku-chip{display:block;margin:0 0 5px;padding:5px 7px;border-radius:5px;background:#edf3e6;color:#42613d;font-size:10px;line-height:1.35}.sku-chip.ebay{background:#e9f0fb;color:#315d9a}.product-pricing-table .negative{color:#b42318}.product-pricing-footer{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:12px;align-items:end;margin:16px 0}.pricing-dialog{width:min(1180px,calc(100vw - 40px));max-height:88vh;padding:0;overflow:auto}.pricing-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:#092955;color:#fff}.pricing-dialog-head b,.pricing-dialog-head small{display:block}.pricing-dialog-head small{margin-top:3px;color:#c1d4ca}.pricing-dialog-head button{width:34px;height:34px;padding:0;border-radius:50%;background:#ffffff1c;font-size:22px}.pricing-dialog>div:last-child{padding:18px}

@media(max-width:700px){aside .side-bottom{display:flex;align-items:center;position:static;gap:8px;margin-top:8px;font-size:10px;flex-wrap:wrap}.side-bottom .quiet{margin-top:0}.side-bottom small{font-size:10px}.tool-grants{grid-template-columns:1fr}.access-account-settings{grid-template-columns:1fr}.permission-matrix-head{display:none}.permission-row{grid-template-columns:1fr auto}.permission-row small{grid-column:1/-1}.message-identity{grid-template-columns:1fr}.product-price-controls,.product-pricing-footer{grid-template-columns:1fr}.product-pricing-footer button{width:100%}}

@media(min-width:701px){aside{display:flex;flex-direction:column;height:100vh}aside nav{overflow-y:auto;flex:1;min-height:0}aside .side-bottom{position:static;flex-shrink:0;margin-top:14px}}
.website-logo{width:105px;height:auto;object-fit:contain;background:transparent;border-radius:0;padding:0;flex-shrink:0}.brand{gap:10px}.brand>div{font-size:22px}.brand small{font-size:9px}.login-brand .website-logo{width:200px}
.brand>div{text-align:center}.brand small{text-align:center;display:block}.login-brand>.website-logo{display:block}.login-brand>.website-logo+p{width:200px;text-align:center;margin-left:0;margin-right:0}

.dashboard-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.dashboard-switch{display:flex;gap:4px;padding:4px;background:#e9eee8;border-radius:9px;overflow:auto}.dashboard-switch button{background:transparent;color:#59677a;padding:8px 11px;border-radius:7px;font-size:11px;white-space:nowrap}.dashboard-switch button:hover{background:#f5f7f3;color:#193650}.dashboard-switch button.selected{background:#fff;color:#092955;box-shadow:0 1px 4px #173e3518}.dashboard-context{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#728078;font-size:12px;margin-bottom:14px}.dashboard-context strong{color:#193650}.dashboard-kpis{display:grid;grid-template-columns:repeat(6,minmax(125px,1fr));gap:10px;margin-bottom:16px}.dashboard-kpi{background:#fff;border:1px solid #e8e1d4;border-radius:10px;padding:15px;min-height:107px}.dashboard-kpi.private-kpi{background:#f0edf8;border-color:#ddd5ef}.dashboard-kpi .label{font-size:11px;color:#68766f}.dashboard-kpi .number{font-size:22px;font-weight:650;letter-spacing:-.6px;margin:10px 0 8px;white-space:nowrap}.dashboard-kpi .hint{font-size:10px;color:#87938c;line-height:1.4}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.85fr);gap:16px}.dashboard-grid>.panel{margin-bottom:16px}.dashboard-chart{height:215px;display:flex;gap:6px;align-items:end;padding:10px 4px 0;border-bottom:1px solid #eee8dc}.dashboard-chart-day{height:100%;min-width:20px;flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:6px}.dashboard-chart-bars{height:175px;width:100%;display:flex;gap:2px;align-items:end;justify-content:center}.dashboard-chart-bars i{display:block;width:min(14px,45%);border-radius:3px 3px 0 0;min-height:2px}.dashboard-chart-bars .sales,.dashboard-legend i.sales{background:#4975cb}.dashboard-chart-bars .profit,.dashboard-legend i.profit{background:#278260}.dashboard-chart-day small{font-size:9px;white-space:nowrap}.dashboard-legend{display:flex;gap:18px;margin-top:11px;color:#59677a;font-size:11px}.dashboard-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.dashboard-action{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid #eee8dc}.dashboard-action:last-child{border-bottom:0}.dashboard-action b{display:block;font-size:12px}.dashboard-action small{display:block;margin-top:4px;line-height:1.45}.dashboard-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dashboard-bottom>.panel{margin-bottom:0}.stock-health{display:flex;gap:14px;align-items:center}.stock-health strong{font-size:26px;color:#278260;white-space:nowrap}.stock-health span{font-size:12px;color:#59677a;line-height:1.5}.connection-line{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;padding:8px 0;border-bottom:1px solid #eee8dc}.connection-line:last-child{border-bottom:0}.connection-line b{font-size:12px}.connection-line small{grid-column:1/-1}.staff-kpis{grid-template-columns:repeat(5,minmax(130px,1fr))}
.dashboard-custom-range{display:flex;align-items:end;gap:9px;margin:-3px 0 14px;padding:10px 12px;background:#fff7e5;border:1px solid #e0e7dd;border-radius:9px}.dashboard-custom-range label{display:grid;gap:4px;color:#59677a;font-size:10px}.dashboard-custom-range input{min-width:145px;padding:7px 9px;border:1px solid #ccd8ce;border-radius:7px;background:#fff;color:#092955}.dashboard-custom-range button{padding:8px 14px}
@media(max-width:1300px){.dashboard-kpis{grid-template-columns:repeat(3,1fr)}.staff-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1000px){.dashboard-grid,.dashboard-bottom{grid-template-columns:1fr}.dashboard-chart{overflow-x:auto}.dashboard-chart-day{min-width:34px}}
@media(max-width:700px){.dashboard-kpis,.staff-kpis{grid-template-columns:repeat(2,1fr)}.dashboard-context{align-items:flex-start;flex-direction:column}.dashboard-switch{width:100%}.dashboard-toolbar{align-items:stretch}.dashboard-kpi .number{font-size:20px}.dashboard-custom-range{align-items:stretch;flex-direction:column}.dashboard-custom-range input{width:100%}.dashboard-custom-range button{width:100%}}
.dashboard-sync{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sync-health{font-size:10px;font-weight:700;padding:4px 8px;border-radius:12px;white-space:nowrap}.sync-health.fresh{background:#e5f4e8;color:#2f7145}.sync-health.warning{background:#fff2d3;color:#936a1f}.sync-health.overdue{background:#fdebe7;color:#a64036}.notice.sync-overdue{background:#fdebe7;border-color:#efc5bc;color:#8d3931}.notice.sync-warning{background:#fff5d9;border-color:#eddfb3;color:#80652b}
.component-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) minmax(150px,1fr) auto;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #eee8dc}.component-row .quiet{margin:0 0 1px;color:#4d5c70}@media(max-width:900px){.component-row{grid-template-columns:1fr 1fr}.component-row .quiet{justify-self:start}}
@media(max-width:390px){.dashboard-kpis,.staff-kpis{grid-template-columns:1fr}}
.verification-banner{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 14px;border-radius:8px;margin-bottom:14px;font-size:12px}.verification-banner span{font-size:11px}.verification-banner.incomplete{background:#fff2d3;color:#8c671d}.verification-banner.complete{background:#eaf4e5;color:#436b38}.verification-totals{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:1px;background:#e8e1d4;border:1px solid #e8e1d4;border-radius:8px;overflow:hidden;margin-bottom:12px}.verification-totals div{background:#fff;padding:13px}.verification-totals span,.source-comparison span{display:block;color:#59677a;font-size:10px}.verification-totals strong,.source-comparison strong{display:block;font-size:16px;margin-top:6px}.formula-line{background:#fff9ed;border-radius:7px;padding:10px 13px;margin-bottom:14px;color:#53645d;font-size:12px;text-align:center}.source-comparison{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0 18px;padding-top:15px;border-top:1px solid #e8e1d4}.source-comparison h3{grid-column:1/-1;margin-bottom:0}.source-comparison>div{border-left:3px solid #d6e0d3;padding-left:12px}.source-comparison small{display:block;margin-top:5px;line-height:1.4}.panel details[open]>summary{margin-bottom:12px}@media(max-width:1000px){.verification-totals{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.verification-banner{align-items:flex-start;flex-direction:column}.source-comparison{grid-template-columns:1fr}.verification-totals{grid-template-columns:1fr}}

.dashboard-kpi .number{white-space:normal;overflow-wrap:anywhere;line-height:1.1}.dashboard-bottom{grid-template-columns:repeat(3,1fr)}
.daily-check-actions{display:grid;grid-template-columns:minmax(190px,auto) 1fr minmax(190px,auto) 1fr;gap:12px;align-items:center}.daily-check-actions button{min-height:48px;font-size:14px}.daily-check-actions small{line-height:1.5}header>.badge{position:relative;margin-top:29px}header>.badge::before{content:'Work Smart - Have Fun - Make History';position:absolute;right:0;bottom:calc(100% + 11px);color:#1f6655;font-size:13px;font-weight:700;letter-spacing:.7px;white-space:nowrap}@media(max-width:700px){.daily-check-actions{grid-template-columns:1fr}.daily-check-actions small{margin-bottom:8px}header>.badge{margin-top:25px}header>.badge::before{font-size:9px;letter-spacing:.2px;white-space:normal;text-align:right;width:190px}}
.period-card-grid{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:10px;margin-bottom:14px;overflow-x:auto;padding-bottom:2px}.period-card{display:block;min-width:210px;padding:0;text-align:left;color:#092955;background:#fff;border:1px solid #e3dccf;border-radius:9px;overflow:hidden;font-weight:400}.period-card:hover{background:#fff;border-color:#9ab8ad}.period-card.selected{border:2px solid #3473c9}.period-card-head{display:block;padding:11px 13px;background:#dceaff}.period-card:nth-child(n+3) .period-card-head{background:#d8f0df}.period-card-head b,.period-card-head small{display:block}.period-card-head b{font-size:14px}.period-card-head small{color:#4d5c70;line-height:1.4}.period-main{display:block;padding:11px 13px 4px}.period-main small,.period-pairs small{display:block;color:#59677a;font-size:9px}.period-main strong{display:block;font-size:23px;line-height:1.1;margin-top:3px;color:#132f2a}.period-channel-breakdown{display:block;margin:7px 13px 3px;padding-top:8px;border-top:1px solid #e3e9e2}.period-channel-breakdown>small{display:block;margin-bottom:5px;color:#59677a;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.period-channel-breakdown>span{display:grid;grid-template-columns:1fr 1fr;border:1px solid #eee8dc;border-radius:6px;overflow:hidden}.period-channel{display:block;min-width:0;padding:7px;background:#f8faf7;border-bottom:1px solid #eee8dc}.period-channel:nth-child(odd){border-right:1px solid #eee8dc}.period-channel:nth-child(n+3){border-bottom:0}.period-channel small,.period-channel b,.period-channel i{display:block}.period-channel small{color:#59677a;font-size:8px}.period-channel b{margin-top:2px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.period-channel i{margin-top:1px;color:#4d5c70;font-size:8px;font-style:normal}.period-amazon-modes{display:block;margin-top:5px;padding-top:4px;border-top:1px solid #e0e6df;color:#425e56;font-size:7px;line-height:1.45}.period-amazon-modes>span{display:block;white-space:nowrap}.period-amazon-modes strong{font-size:7px}.period-amazon-modes.awaiting{color:#8a6a28}.period-channel-amazon{box-shadow:inset 3px 0 #d8a322}.period-channel-ebay{box-shadow:inset 3px 0 #447bd1}.period-channel-temu{box-shadow:inset 3px 0 #ed6b2b}.period-channel-shopify{box-shadow:inset 3px 0 #2ca66a}.period-pairs{display:grid;grid-template-columns:1fr 1fr;padding:0 13px}.period-pairs>span{padding:8px 0;border-bottom:1px solid #eee8dc}.period-pairs>span:nth-child(odd){border-right:1px solid #eee8dc;padding-right:8px}.period-pairs>span:nth-child(even){padding-left:10px}.period-pairs b{display:block;font-size:11px;margin-top:3px;white-space:normal}.period-card em{display:block;padding:9px 13px;color:#a16614;font-size:9px;font-style:normal}.period-card em.complete{color:#278260}
.period-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 13px 12px}.period-card-actions button{min-height:32px;padding:6px 8px;font-size:10px}.period-card-actions button.quiet{color:#3473c9;background:#fff;border:1px solid #bdd0e9}.kpi-dialog{width:min(440px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 36px));padding:0;border:0;border-radius:12px;box-shadow:0 18px 60px #09295526;color:#092955}.kpi-dialog::backdrop{background:#10282166}.kpi-dialog-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:17px 18px;background:#fff;border-bottom:1px solid #e6ebe6}.kpi-dialog-head b,.kpi-dialog-head small{display:block}.kpi-dialog-head b{font-size:17px}.kpi-dialog-head small{margin-top:3px;color:#59677a}.kpi-dialog-head button{width:34px;height:34px;padding:0;border-radius:50%;font-size:22px;color:#4d5c70;background:#f2f5f1}.kpi-dialog-list{padding:7px 18px}.kpi-dialog-list>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #eee8dc}.kpi-dialog-list span{color:#4d5c70}.kpi-dialog-list strong{text-align:right}.kpi-dialog-basis{margin:0;padding:11px 18px 16px;color:#806018;background:#fff8e5;font-size:11px}
.channel-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.channel-card{background:#fff;border:1px solid #e3dccf;border-top:3px solid #d8a322;border-radius:9px;padding:14px}.channel-card.channel-ebay{border-top-color:#447bd1}.channel-card.channel-temu{border-top-color:#ed6b2b}.channel-card.channel-shopify{border-top-color:#2ca66a}.channel-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.channel-card-head b{font-size:15px}.channel-card>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:10px}.channel-card span{font-size:10px;color:#59677a}.channel-card strong{display:block;color:#092955;font-size:16px;margin-top:3px}.overview-three{display:grid;grid-template-columns:1.25fr 1fr .75fr;gap:14px}.overview-three>.panel{margin-bottom:16px;min-width:0}.compact-panel{padding:17px}.compact-panel .panel-top{margin-bottom:12px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-actions a{display:block;text-decoration:none;text-align:center;background:#edf4f0;color:#235548;padding:10px 8px;border-radius:7px;font-size:11px;font-weight:600}.dashboard-audit{margin-top:18px}.dashboard-audit>summary{background:#fff;border:1px solid #e3dccf;border-radius:8px;padding:13px 16px}.dashboard-audit>.panel{margin-top:10px}
@media(max-width:1300px){.channel-card-grid{grid-template-columns:repeat(2,1fr)}.overview-three{grid-template-columns:1fr 1fr}.overview-three>.panel:last-child{grid-column:1/-1}}
@media(max-width:1000px){.dashboard-bottom,.overview-three{grid-template-columns:1fr}.overview-three>.panel:last-child{grid-column:auto}}
@media(max-width:700px){.channel-card-grid{grid-template-columns:1fr}}
[data-competitor-analysis]{display:none}
[data-set-prices],[data-set-website]{display:block;width:100%;min-width:190px;margin:5px 0 0;white-space:normal;text-align:center}td:has([data-set-website]){min-width:220px;overflow:visible;white-space:normal;vertical-align:top}
.staff-performance-switch{width:max-content;margin-bottom:15px}.staff-performance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.performer-card{border:1px solid #e3dccf;border-radius:9px;overflow:hidden;background:#fff}.performer-card h3{margin:0;padding:12px 14px;background:#edf4f0}.performer-card ol{list-style:none;margin:0;padding:0 14px}.performer-card li{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #eee8dc}.performer-card li:last-child{border:0}.performer-card li div{min-width:0}.performer-card li b,.performer-card li small{display:block}.performer-card li b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.performer-card li strong{text-align:right;font-size:11px;white-space:nowrap}.performer-card li small{font-size:9px;color:#7b8981}.staff-actions{display:grid;grid-template-columns:repeat(2,1fr);column-gap:24px}.staff-actions .dashboard-action{color:#092955;text-decoration:none}.staff-actions .dashboard-action:hover b{text-decoration:underline}.staff-activity-kpis{grid-template-columns:repeat(4,1fr);margin-bottom:0}.staff-activity-kpis .dashboard-kpi:last-child .number{font-size:16px}.nav-action{display:flex;width:100%;gap:12px;align-items:center;color:#c4d1c9;background:transparent;text-align:left;padding:12px 14px;margin:4px 0;border-radius:7px;font-size:13px;font-weight:400}.nav-action:hover{background:#16437b;color:#dcf4b2}.nav-action b{font-size:15px;width:18px;font-weight:400}.nav-action:disabled{opacity:.65}@media(max-width:1000px){.staff-performance-grid{grid-template-columns:1fr}.staff-actions{grid-template-columns:1fr}.staff-activity-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.staff-activity-kpis{grid-template-columns:1fr}.nav-action{white-space:nowrap;padding:8px}}
.product-pricing-table .sku-chip{display:flex;align-items:flex-start;gap:7px;padding:6px 7px;cursor:pointer}.product-pricing-table .sku-chip input{width:14px;height:14px;min-width:14px;margin:0;accent-color:#092955}.product-pricing-table .sku-chip span{display:block}

.voice-fab{position:fixed;right:24px;bottom:24px;z-index:30;width:58px;height:58px;border-radius:50%;padding:0;font-size:24px;box-shadow:0 8px 28px #173e3555;border:3px solid #dff0c4}.voice-panel{display:block;position:fixed;inset:auto 24px 94px auto;z-index:31;width:min(440px,calc(100vw - 30px));max-height:min(720px,calc(100vh - 120px));overflow:auto;background:#fff;border:1px solid #dbe4da;border-radius:14px;box-shadow:0 18px 60px #09295526;color:#092955;padding:0}.voice-panel[hidden]{display:none}.voice-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:#092955;color:#fff}.voice-head b,.voice-head small{display:block}.voice-head small{color:#bdd0c5;margin-top:3px}.voice-close{width:34px;height:34px;padding:0;border-radius:50%;background:#ffffff18;font-size:22px}.voice-body{padding:18px}.voice-privacy{font-size:11px;line-height:1.5}.voice-listen{width:100%;min-height:52px;background:#2d6655;margin-bottom:12px}.voice-listen.listening{background:#a63f34;animation:voice-pulse 1s infinite}.voice-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.voice-form input{margin:0}.voice-form button{height:41px}.voice-transcript{margin-top:15px;padding:14px;border:1px solid #e3dccf;border-radius:9px;background:#f7f9f5;font-size:12px;line-height:1.55}.voice-transcript.error{background:#fdebe7;border-color:#efc8c1;color:#8c3d34}.voice-transcript.success{background:#eaf4e5;border-color:#d2e5c8}.voice-transcript ul{padding-left:20px;margin:9px 0}.voice-transcript li{margin:6px 0}.voice-table{margin-top:11px;border-top:1px solid #e8e1d4}.voice-table>div{padding:9px 0;border-bottom:1px solid #e8e1d4}.voice-table b,.voice-table small{display:block}.voice-table small{margin-top:3px;color:#64756d}.voice-warning{padding:8px;background:#fff4d7;color:#7f6126;border-radius:6px}.voice-danger{color:#a43e35}@keyframes voice-pulse{50%{box-shadow:0 0 0 7px #a63f3433}}@media(max-width:700px){.voice-fab{right:14px;bottom:14px}.voice-panel{inset:auto 10px 82px auto;width:calc(100vw - 20px);max-height:calc(100vh - 100px)}.voice-form{grid-template-columns:1fr}.voice-form button{width:100%}}
@media (hover:hover) and (pointer:fine){.period-card-grid{padding-top:12px;padding-bottom:18px}.period-card{position:relative;z-index:1;transform-origin:center top;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.period-card:hover,.period-card:focus-within{z-index:20;transform:translateY(-8px) scale(1.06);border-color:#7ea59a;box-shadow:0 18px 38px rgba(20,62,52,.24)}}
.direct-order-prepare{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:12px;align-items:end;margin:14px 0 18px;padding:14px 16px;border:1px solid #d5e0d0;border-radius:8px;background:#fff7e5}.direct-order-prepare button{min-width:170px;height:40px}@media(max-width:700px){.direct-order-prepare{grid-template-columns:1fr}.direct-order-prepare button{width:100%}}
input[readonly]{background:#f1f5ef;color:#31594e;font-weight:600}.mapping-progress{display:grid;grid-template-columns:repeat(2,minmax(150px,220px));gap:12px;margin:0 0 18px}.mapping-progress span{padding:14px 16px;border:1px solid #dce5d8;border-radius:8px;background:#fff7e5}.mapping-progress b,.mapping-progress small{display:block}.mapping-progress b{font-size:24px}.mapping-editor{margin:0 0 18px;padding:18px;border:2px solid #87a99d;border-radius:9px;background:#fffbf3}.mapping-editor .fields{display:grid;grid-template-columns:minmax(260px,2fr) minmax(180px,1fr) auto;gap:12px;align-items:end}.mapping-editor .fields button{height:40px}@media(max-width:800px){.mapping-editor .fields,.mapping-progress{grid-template-columns:1fr}}
.master-sku-picker{grid-column:1/-1;margin:12px 0;padding:16px;border:1px solid #d7e2d4;border-radius:9px;background:#f7faf5}.master-sku-picker h3{margin:0 0 6px}.master-sku-picker>p{margin:0 0 13px;color:#66776f;font-size:11px}.master-sku-picker>label{display:block}.master-sku-picker #master-channel-sku-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:13px}.sku-picker-channel{min-width:0;border:1px solid #e3dccf;border-radius:8px;background:#fff;padding:11px}.sku-picker-channel h4{margin:0 0 9px;color:#264e43}.sku-picker-row{display:grid;grid-template-columns:auto minmax(0,1fr) 82px;gap:9px;align-items:start;padding:10px 4px;border-top:1px solid #eee8dc;cursor:pointer}.sku-picker-row:first-of-type{border-top:0}.sku-picker-row>input[type=checkbox]{width:17px;height:17px;min-width:17px;margin:2px 0;accent-color:#092955}.sku-picker-row>input[type=number]{width:82px;min-width:82px;margin:0;padding:7px}.sku-picker-row b,.sku-picker-row small{display:block;overflow-wrap:anywhere}.sku-picker-row small{margin-top:3px;color:#59677a;line-height:1.35}.sku-picker-row.already-linked{opacity:.55;cursor:not-allowed}@media(max-width:1050px){.master-sku-picker #master-channel-sku-results{grid-template-columns:1fr}}

/* Container import planning */
.container-filter-card{display:block;width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer}.container-filter-card:hover{transform:translateY(-1px);border-color:#8eb9a8}.container-filter-card.active{background:#eaf2df;border:2px solid #2d6b58;padding:calc(1rem - 1px)}.container-filter-status{margin:0 0 14px;padding:11px 14px;border-radius:9px;background:#eaf2ec;color:#092955}
.container-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 26px}.risk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.risk-card{display:grid;grid-template-columns:42px 1fr;gap:12px;border:1px solid #d9e2dc;border-left:5px solid #d7aa3c;border-radius:12px;padding:14px;background:#fff}.risk-card.risk-critical{border-left-color:#a64438;background:#fff8f6}.risk-rank{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#092955;color:#fff;font-weight:800}.risk-card h3{margin:7px 0 3px}.risk-card p{margin:0 0 6px;color:#59677a}.risk-card strong{display:block;font-size:1.35rem;color:#092955}.risk-card small{display:block;margin-top:4px;color:#59677a}.risk-card .actions{margin-top:11px}.container-plan-toolbar{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(280px,1.4fr) auto;gap:14px;align-items:end;margin-bottom:18px}.container-plan-toolbar>span{padding:12px;border-radius:9px;background:#eaf2ec;color:#092955;text-align:center}.container-planning-table{min-width:1500px}.container-planning-table th:nth-child(1),.container-planning-table td:nth-child(1){position:sticky;left:0;z-index:1;background:inherit}.stock-risk-row{background:#fff8e4!important}.container-review{margin-top:22px;background:#fffbf3}.supplier-group{border:1px solid #d9e2dc;border-radius:10px;margin:12px 0;overflow:hidden;background:#fff}.supplier-group>h3{margin:0;padding:11px 14px;background:#092955;color:#fff}.selected-plan-row{display:grid;grid-template-columns:minmax(250px,1.5fr) minmax(220px,1fr) 150px auto;gap:12px;align-items:end;padding:12px 14px;border-top:1px solid #e3e9e5}.selected-plan-row:first-of-type{border-top:0}.selected-plan-row label{margin:0}.selected-plan-row button{margin-bottom:2px}@media(max-width:1000px){.container-summary,.risk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.container-plan-toolbar,.selected-plan-row{grid-template-columns:1fr 1fr}}@media(max-width:720px){.container-summary,.risk-grid,.container-plan-toolbar,.selected-plan-row{grid-template-columns:1fr}.risk-card{grid-template-columns:38px 1fr}}
#container-stock-editor{margin-top:18px}#container-stock-count{background:#fffbf3}#container-stock-count .panel-top,#container-stock-count .notice,#container-stock-count .actions{grid-column:1/-1}
/* Stock receiving uses the whole panel, not one field-grid column. */
#local-receipt-editor{min-width:0}
#local-receipt-editor .panel-top h2{overflow-wrap:anywhere}
#receive-local-order.fields{grid-template-columns:repeat(3,minmax(0,1fr))}
#receive-local-order>label{min-width:0}
#receive-local-order>.table-wrap,#receive-local-order>.check,#receive-local-order>.actions{grid-column:1/-1;min-width:0}
#receive-local-order table{table-layout:fixed;white-space:normal}
#receive-local-order th,#receive-local-order td{white-space:normal;overflow-wrap:anywhere;max-width:none;padding:12px 10px}
#receive-local-order th:first-child{width:28%}
#receive-local-order td input{min-width:0;width:100%;margin:0}
#receive-local-order>.check{display:flex;gap:10px;align-items:center}
#receive-local-order>.check input{width:auto;margin:0;flex-shrink:0}
@media(max-width:700px){
 #receive-local-order.fields{grid-template-columns:1fr}
 #receive-local-order table,#receive-local-order tbody{display:block}
 #receive-local-order thead{display:none}
 #receive-local-order tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 0;border-bottom:1px solid #eee8dc}
 #receive-local-order td{display:block;border:0;padding:0}
 #receive-local-order td:first-child{grid-column:1/-1;font-weight:600}
 #receive-local-order td:before{content:attr(data-label);display:block;font-size:11px;color:#59677a;margin-bottom:5px}
}
#receive-local-order .receipt-supplier-contact{grid-column:1 / -1;min-width:0;display:grid;gap:12px}
.receipt-supplier-contact [hidden]{display:none}
.supplier-issues details{padding:16px 0;border-bottom:1px solid var(--line,#e3dccf)}
.supplier-issues summary{cursor:pointer;font-weight:700;overflow-wrap:anywhere}
.supplier-issues form{display:grid;gap:12px}
.supplier-email-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}
#receive-local-order>.table-wrap{width:100%;max-width:none}
#receive-local-order #contact-receipt-supplier{justify-self:start;width:auto;background:#092955;color:#fff;border:0;border-radius:7px;padding:11px 17px;margin-top:0;height:40px;font-size:11px}
#receive-local-order #contact-receipt-supplier:hover{background:#16437b}
/* Customer-specific rates and accounting controls remain usable at staff widths. */
.routine-save-price{display:flex;align-items:center;gap:10px;margin:16px 0}
.routine-save-price input{width:auto;min-width:0;margin:0}
#account-tab td,#account-tab th{overflow-wrap:anywhere;white-space:normal}
/* Operational stock links: wrap instead of forcing horizontal scrolling. */
.stock-link-review{display:block;width:100%;min-width:0;grid-column:1/-1}.stock-link-review [data-link-results]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stock-link-channel{min-width:0;border:1px solid var(--line,#e3dccf);border-radius:10px;padding:14px}.stock-link-row{border-top:1px solid var(--line,#e3dccf);padding:14px 0;overflow-wrap:anywhere}.stock-link-row small{display:block;margin:7px 0}.stock-link-component{display:grid;grid-template-columns:minmax(160px,2fr) minmax(100px,1fr) minmax(100px,1fr) auto;gap:10px;align-items:end;margin:10px 0}.stock-link-review [data-link-editor] .panel{margin:14px 0}.stock-link-review details{margin-top:12px}.stock-link-review button{white-space:normal}.receipt-stock-links{grid-column:1/-1}@media(max-width:1000px){.stock-link-review [data-link-results]{grid-template-columns:1fr}.stock-link-component{grid-template-columns:1fr 1fr}}@media(max-width:550px){.stock-link-component{grid-template-columns:1fr}}
.stock-link-choice{display:grid;grid-template-columns:24px minmax(0,1fr) 90px;gap:10px;align-items:start}.stock-link-choice>input[type=checkbox]{width:19px;height:19px;margin:8px 0;accent-color:#173f34}.stock-link-choice label{font-size:11px;margin:0}.stock-link-choice input[type=number]{width:100%;min-width:0;padding:9px}.stock-link-current-info{margin:9px 0 9px 34px;color:#59677a;font-size:12px}.stock-link-current-info small{display:block}.stock-link-current{background:#f3f8f3}.stock-link-selection-toolbar{margin:16px 0;padding:16px;background:#f4f7f2;border:1px solid #e3dccf;border-radius:10px}.stock-link-selection-toolbar .actions{flex-wrap:wrap}.stock-link-selection-toolbar input{max-width:100%}@media(max-width:420px){.stock-link-choice{grid-template-columns:22px minmax(0,1fr)}.stock-link-choice label{grid-column:2;max-width:100px}}
#warehouse-results td:last-child{min-width:150px;max-width:200px;white-space:normal;overflow:visible}
#warehouse-results td:last-child button{display:block;width:100%;max-width:200px;margin:6px 0;white-space:normal}
#warehouse-channel-review{margin-top:18px}
#warehouse-channel-review>.stock-link-review{margin-bottom:0}
#warehouse-boxes>button,#warehouse-transfer>button,#warehouse-map>button{height:auto;min-height:40px;white-space:normal}
#warehouse-master-search{margin-top:7px}
#warehouse-map [data-master-search-status]{display:block;font-size:11px;font-weight:400;margin:6px 0;color:#59677a}
.stock-link-product-field{min-width:0}.stock-link-product-field [data-component-search]{margin-bottom:8px}.stock-link-product-field [data-component-search-status]{display:block;font-size:11px;font-weight:400;line-height:1.5;margin:6px 0;color:#59677a}
.stock-link-dialog{width:min(1080px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #e3dccf;border-radius:14px;overflow:hidden;box-shadow:0 24px 80px #0004}
.stock-link-dialog[open]{display:flex;flex-direction:column}
.stock-link-dialog::backdrop{background:#173f35a6}
.warehouse-merge-dialog{width:min(780px,calc(100vw - 32px))}.warehouse-merge-check{display:flex!important;gap:12px;align-items:flex-start}.warehouse-merge-check input{width:20px;height:20px;flex:none;margin-top:3px}.warehouse-merge-dialog [data-merge-error]{padding:12px;background:#fff0eb;color:#8c3427;margin:12px 0;border-radius:8px}.warehouse-merge-dialog select{width:100%}.stock-link-bulk-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.stock-link-bulk-toolbar small{color:#5e7368}.stock-link-batch-filter{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:14px}.stock-link-batch-choice small{display:block}.stock-link-batch-choice[hidden]{display:none}@media(max-width:600px){.stock-link-batch-filter{grid-template-columns:1fr}.stock-link-bulk-toolbar button{width:100%}}
.stock-link-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#092955;color:white;flex:none}
.stock-link-dialog-head h3{margin:0;color:white;overflow-wrap:anywhere}.stock-link-dialog-head small{color:#dce8df}.stock-link-dialog-head button{color:white;flex:none}
.stock-link-dialog-body{padding:20px 24px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.stock-link-dialog-body>label{display:block;margin:12px 0}
.stock-link-dialog-actions{margin:0;padding:16px 24px;border-top:1px solid #e3dccf;background:white;flex:none}.stock-link-dialog-actions small{color:#59677a}
.stock-link-recipe{border:1px solid #e3dccf;border-radius:8px;padding:16px;margin-bottom:16px}.stock-link-recipe>label{display:block}.stock-link-batch-choice{display:flex;align-items:start;gap:12px;padding:12px;border-bottom:1px solid #e3dccf}.stock-link-batch-choice input{width:auto;flex:none}.stock-link-batch-choice small{display:block}.stock-link-batch-choice span{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.stock-link-dialog-head,.stock-link-dialog-body,.stock-link-dialog-actions{padding:14px}.stock-link-dialog-actions button{flex:1;white-space:normal}.stock-link-dialog .stock-link-component{grid-template-columns:1fr}}
.master-opening-stock{border:1px solid #d9d5cc;border-radius:8px;padding:18px;background:#fff7e5}
.master-opening-stock h3{margin-bottom:12px}
.master-opening-stock-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.master-opening-stock p{margin:12px 0 4px}
@media(max-width:700px){.master-opening-stock-fields{grid-template-columns:1fr}}
.master-batch-launch{margin:16px 0;flex-wrap:wrap}
.master-batch-dialog{width:min(1360px,96vw)}
.master-batch-dialog form{margin:0;min-width:0}
.master-batch-dialog .stock-link-dialog-body{max-height:70vh}
.master-batch-dialog textarea{width:100%;box-sizing:border-box}
.master-batch-table{overflow:auto;max-width:100%;margin:20px 0}
.master-batch-table table{min-width:1100px;width:100%}
.master-batch-table input{width:100%;min-width:70px;box-sizing:border-box}
.master-batch-table td:first-child{min-width:250px}
.master-batch-table td:nth-child(7),.master-batch-table td:nth-child(8){min-width:150px}
.master-batch-dialog .bulk-select{align-items:flex-start}
.master-created-status{margin:16px 0}
.direct-dashboard-card{border-left:5px solid #092955}.direct-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:18px 0}.direct-dashboard-metrics span{display:block;color:#59677a;font-size:13px}.direct-dashboard-metrics strong{display:block;font-size:25px;margin-top:6px}.direct-dashboard-card .quick-actions{flex-wrap:wrap}.direct-dashboard-card .hint{margin:16px 0}@media(max-width:700px){.direct-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-dashboard-card .panel-top{flex-wrap:wrap;gap:8px}}
.master-created-status button{margin:4px}
@media(max-width:700px){.master-batch-dialog .fields{grid-template-columns:1fr}.master-batch-dialog .stock-link-dialog-head{gap:10px}.master-batch-dialog .stock-link-dialog-actions{flex-wrap:wrap}.master-batch-launch small{width:100%}}
.source-cog-edit{min-width:190px;display:grid;gap:.4rem}.source-cog-edit label{font-size:.8rem}.source-cog-edit input{width:100%;max-width:210px}.source-cog-edit small{display:block;font-size:.75rem}
#source-table .source-product-cell{min-width:290px;width:30%;max-width:460px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.6;vertical-align:top}#source-table .source-cog-cell{min-width:290px;max-width:380px;white-space:normal;overflow:visible;vertical-align:top}#source-table .source-cog-edit{min-width:0;gap:8px}#source-table .source-cog-product{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.5;color:#092955}#source-table .source-cog-edit label{display:block;white-space:normal;line-height:1.5}#source-table .source-cog-edit input{display:block;max-width:none}#source-table .source-cog-edit small{white-space:normal;overflow-wrap:anywhere}
.product-type-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0;padding:10px;border:1px solid #e3dccf;border-radius:8px;background:#fff7e5}.product-type-filters label{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;background:white}.product-type-filters input{width:auto;margin:0}
.calculator-bulk-controls .fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.calculator-bulk-task{display:flex;flex-direction:column;gap:10px}.calculator-bulk-task button{margin-top:auto;width:100%}.calculator-bulk-controls [data-bulk-status]{margin:16px 0}.sku-chip [data-bulk-price-label]{font-size:10px;display:block}.calculator-bulk-review{padding:22px}.calculator-bulk-review .actions{display:flex;gap:10px;margin-top:15px}.calculator-bulk-review details{margin:14px 0}@media(max-width:900px){.calculator-bulk-controls .fields{grid-template-columns:1fr}}
.calculator-type-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0;padding:10px;border:1px solid #e3dccf;border-radius:8px;background:#fff7e5}.calculator-type-filters label{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;background:white}.calculator-type-filters input{width:auto;margin:0}.calculator-master-cog{display:flex;flex-wrap:wrap;gap:8px;align-items:end;padding:8px;border:1px solid #e3dccf;border-radius:8px;max-width:430px}.calculator-master-cog label{margin:0}.calculator-master-cog input{max-width:180px}.calculator-master-cog small,.calculator-master-cog p{width:100%;margin:0}
[data-stock-history]{grid-column:1/-1;width:100%;min-width:0}[data-history-scroll]{max-height:240px;overflow:auto;margin-top:10px}[data-stock-history] table{min-width:850px}[data-stock-history] td{vertical-align:top}[data-stock-history]>label{max-width:320px;margin-bottom:10px}

/* Shared warehouse sales period and supplier-order sales column. */
#content .box-sales-search-row{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
#content .box-sales-search-row>label:first-child{flex:1;min-width:200px}
#content label.box-sales-period{background:#e8f3df;color:#325c20;border:1px solid #c6dfb7;border-radius:8px;padding:10px;min-width:220px;max-width:100%;display:grid;gap:6px}
#content .box-sales-period select{background:#fff;color:#173b30}
#content .box-sales-period small{font-weight:400;font-size:12px}
#content .box-sales-value{color:#325c20;font-weight:700;font-variant-numeric:tabular-nums}
#content td:has(>.box-sales-value){background:#e8f3df}
#content .box-sales-note{font-size:12px;color:#526a60;margin:8px 0}
@media(max-width:600px){#content .box-sales-search-row>label{width:100%}}

/* Individual calculator controls stay beside their exact SKU. */
.calculator-sku-controls{margin:6px 0 12px;padding:10px;border:1px solid #e3dccf;border-radius:8px;background:#fffbf3;min-width:240px;max-width:340px;white-space:normal}
.calculator-sku-field{display:flex;align-items:end;gap:8px;margin-bottom:8px}.calculator-sku-field label{flex:1;min-width:100px;font-size:12px;margin:0}.calculator-sku-field input{width:100%;min-width:0;padding:7px}.calculator-sku-field button{font-size:12px;padding:8px;white-space:normal}.calculator-sku-controls p{font-size:12px;margin:5px 0;line-height:1.4}.calculator-sku-controls [data-sku-result]{font-weight:700}

/* Product checklist filters existing calculator rows without rebuilding drafts. */
.calculator-bulk-controls .calculator-fields-with-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
.calculator-product-filter{position:relative;justify-content:flex-start;color:#4d5c70;font-size:12px;min-width:0}
.calculator-product-filter>button{margin-top:7px;text-align:left;background:#fff;color:#092955;border:1px solid #bdcbbf}
.calculator-product-filter>small{line-height:1.5;color:#4d5c70}
.calculator-product-filter-menu{position:absolute;z-index:20;top:80px;right:0;width:min(440px,100%);padding:16px;border:1px solid #bdcbbf;border-radius:8px;background:#fff;box-shadow:0 10px 28px #09295520;color:#193650}
.calculator-product-filter-menu[hidden],.calculator-filter-choice[hidden],tr[data-product-pack-row][hidden]{display:none!important}
.calculator-product-filter-options{max-height:260px;overflow:auto;border-block:1px solid #e8e1d4;margin:8px 0;padding:6px 0}
.calculator-product-filter .calculator-filter-choice{display:flex;align-items:center;gap:9px;padding:8px 4px;font-size:13px;font-weight:400;cursor:pointer}
.calculator-filter-choice input{width:16px;height:16px;margin:0;flex:none;accent-color:#092955}
.calculator-filter-choice span{overflow-wrap:anywhere}
.calculator-product-filter .calculator-product-filter-actions{display:flex;gap:8px;flex-wrap:wrap}
.calculator-product-filter-actions button{width:auto;flex:1;margin-top:0}
.calculator-product-filter-menu p{font-size:13px;margin:8px 0}
@media(max-width:900px){.calculator-bulk-controls .calculator-fields-with-filter{grid-template-columns:1fr}}

/* Menu search stays above the independent sidebar scroll area. */
.sidebar-menu-search{flex-shrink:0;margin:0 0 10px}
.sidebar-menu-search input{margin:0;width:100%;font-size:12px;font-weight:400;min-height:38px;padding:10px 11px;color:#092955;background:#fff;border:1px solid #55756b;border-radius:7px}
.sidebar-menu-search input::placeholder{color:#647a71;opacity:1}
.sidebar-menu-search input:focus{outline:2px solid #c2e791;outline-offset:2px}
.sidebar-menu-search p{color:#d3e1d8;font-size:11px;line-height:1.4;margin:7px 3px 0}
#nav [hidden]{display:none!important}
@media(max-width:700px){.sidebar-menu-search{margin-top:10px;margin-bottom:8px}}

/* HOT BARGAINS website theme: shared brand, compact operational layouts. */
:root{--hb-navy:#092955;--hb-cream:#fff9ed;--hb-gold:#fbd783;--hb-muted:#59677a;--hb-line:#e8e1d4;accent-color:var(--hb-navy)}
body{background:var(--hb-cream);color:var(--hb-navy)}
aside{background:#fff7e5;color:var(--hb-navy);border-right:1px solid var(--hb-line)}
.brand{color:var(--hb-navy);margin-bottom:36px}.brand>div{font-weight:800;letter-spacing:1px}
aside .nav-label{color:var(--hb-muted)}
aside nav a{color:#193650;border:1px solid transparent}
aside nav a:hover{background:#f6ebd2;color:var(--hb-navy)}
aside nav a.active{background:var(--hb-navy);color:#fff;border-color:var(--hb-navy);box-shadow:inset 4px 0 var(--hb-gold)}
aside .side-bottom,aside .side-bottom small{color:#4d5c70}
aside .quiet{color:var(--hb-navy);border-color:#d4c7ad;background:transparent}
.sidebar-menu-search input{color:var(--hb-navy);border-color:#cbbfa9;background:#fff}
.sidebar-menu-search input::placeholder{color:#59677a}.sidebar-menu-search p{color:#4d5c70}
.sidebar-menu-search input:focus{outline:2px solid #1464db;outline-offset:2px}
#shell>main>header h1{font-weight:800;letter-spacing:-.7px;color:var(--hb-navy)}
h2,h3{color:var(--hb-navy)}h2{font-weight:700}.eyebrow{color:#59677a}
header .header-slogan,header .slogan{color:var(--hb-navy)}
.badge{background:#fff1cc;color:#634a17;border-color:#e5d2a3}
.card,.panel{border-color:var(--hb-line)}.card .number,td strong{font-variant-numeric:tabular-nums}
th{background:#fff7e5;color:#4d5c70}td{border-bottom-color:#eee8dc}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1464db;outline-offset:2px}
input[type=checkbox],input[type=radio]{accent-color:var(--hb-navy)}
.login-brand{background:#fff1d7}.login-brand h1{color:var(--hb-navy);font-weight:800}.login-brand p{color:#4d5c70}
#login-form{color:var(--hb-navy)}#login-form h2{font-weight:800}
#shell a:not(.brand):not(nav a):not(.button-link):not(.card){text-underline-offset:3px}
@media(max-width:700px){aside{border-right:0;border-bottom:1px solid var(--hb-line)}.brand{margin-bottom:15px}}
