/* Daily tasks stay visible; supporting records keep their existing data contracts. */
:root{--ink:#203447;--muted:#657585;--line:#dde5e9;--bg:#f5f7f8;--accent:#177c78;--pale:#eaf5f2;--danger:#bd4f49}
[hidden]{display:none!important}
aside{padding-top:22px}aside .logo{padding-bottom:24px}aside nav{gap:3px}aside nav button{min-height:39px;padding-top:8px;padding-bottom:8px}aside .nav-group{letter-spacing:.8px;margin-top:16px;margin-bottom:6px}aside .nav-disclosure>summary{padding-top:15px;padding-bottom:9px}.aside-foot{margin-top:18px;padding-top:15px}
main{max-width:1900px;margin-inline:auto;padding-top:24px}.panel{border-radius:12px}.panel-top h2{font-size:18px;letter-spacing:-.2px}.panel-top p{max-width:900px;line-height:1.75}button:focus-visible,summary:focus-visible{outline:3px solid #72bde9;outline-offset:3px}body:not(.logged-out) header{padding-top:18px;padding-bottom:18px}header .eyebrow{display:none}header h1{font-size:24px}
.workflow-product-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.workflow-product-heading h2{margin:0 0 5px;font-size:22px;letter-spacing:-.4px}.workflow-product-heading p{margin:0;color:#647990;font-size:13px;line-height:1.7}.workflow-tabs{display:flex;gap:4px;border-bottom:1px solid #d9e3ec;margin:0 0 20px;overflow-x:auto}.workflow-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#687b93;padding:14px 18px;box-shadow:none;font-size:14px;display:flex;align-items:center;gap:9px}.workflow-tabs button:hover{filter:none;background:#edf3f9}.workflow-tabs button[aria-selected=true]{color:#175bcc;border-bottom-color:#1764df;font-weight:700}.workflow-tab-count{min-width:20px;padding:0 6px;border-radius:5px;background:#e8eef6;color:#607896;font-size:11px;line-height:21px}.workflow-tab-count:empty{display:none}.workflow-tabs button[aria-selected=true] .workflow-tab-count{background:#dce9ff;color:#175bcc}.workflow-product-view:focus-visible{outline:2px solid #72bde9;outline-offset:5px}.workflow-product-view>.panel{margin-bottom:18px;padding:22px 24px}.workflow-list-tools{display:flex;align-items:flex-end;gap:14px;margin-bottom:19px}.workflow-list-tools label{margin:0;gap:7px;width:210px;font-size:12px}.workflow-list-tools label.workflow-search{max-width:540px;flex:1;width:auto}.workflow-list-tools .muted{margin-left:auto;padding-bottom:10px;font-size:12px}.workflow-product-columns{display:grid;grid-template-columns:minmax(240px,1.3fr) minmax(140px,1fr) minmax(140px,1fr) 110px;gap:18px;padding:12px 0;border-block:1px solid #e5ebf1;color:#6a7b93;font-size:12px}.workflow-product-view .ops-product-ready-row{padding:16px 0;border-top:0;border-bottom:1px solid #e8edf3}.workflow-product-view .ops-product>.product-thumb{width:54px;height:54px;flex-basis:54px}.workflow-product-view .ops-product>div{gap:4px}.workflow-product-view .ops-product strong{font-size:13px}.workflow-product-view .ops-product span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55}.workflow-product-view .ops-product-ready-row>div:not(:first-child){gap:5px}.workflow-product-view .ops-product-ready-row small{font-size:12px}.workflow-product-view .ops-product-ready-row>div:last-child button{white-space:normal}.workflow-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 0;color:#6b7e92;font-size:12px}.workflow-pagination>div{display:flex;gap:8px}.workflow-filter-empty{text-align:center;color:#718297;padding:35px 15px}.workflow-coverage-details{margin-top:20px;border-top:1px solid #e2eaf2}.workflow-coverage-details>summary{padding-top:16px;color:#526e8b;cursor:pointer;font-size:13px}.workflow-coverage-details .pairing-coverage{margin-top:15px}.workflow-product-view #pairingPanel>.panel-top{align-items:center}.workflow-product-view #pairingPanel>.panel-top p{max-width:750px}.workflow-product-view #pairingStatus{background:#f1f6fb;border-radius:7px;padding:10px 14px;margin:0 0 19px;color:#516d8b;font-size:12px}.workflow-product-view #pairingRows td{vertical-align:top;padding-top:15px;padding-bottom:15px;white-space:normal}.workflow-product-view #pairingRows td:nth-child(1){min-width:170px}.workflow-product-view #pairingRows td:nth-child(2){min-width:190px}.workflow-product-view #pairingRows td:nth-child(3){min-width:210px;max-width:360px}.workflow-product-view #pairingRows td:nth-child(4){min-width:100px}.workflow-product-view #pairingRows td:nth-child(5){min-width:210px;max-width:340px}.workflow-product-view #pairingRows td:last-child:has(button){min-width:125px}.workflow-product-view #pairingRows small{line-height:1.6}.workflow-product-view .ops-product-details{margin-top:10px}.workflow-product-view #pairingImportResult{margin:0;padding:16px 18px;background:#f7fafc;border-color:#e2eaf2;color:#435f78}.workflow-product-view #pairingImportResult.alert-warning{border-left:3px solid #d39a40;background:#fffaf1}.workflow-product-view #pairingImportResult h3{display:none}.workflow-product-view #pairingImportResult p{font-size:13px}.workflow-product-view #pairingImportResult details{margin-top:16px}.workflow-product-view #pairingImportResult .table-scroll{background:white;border-radius:6px}.workflow-trash-panel .table-scroll{max-height:480px;overflow:auto}.workflow-product-view #catalogRows td{vertical-align:middle}.workflow-product-view #catalogRows .product-thumb{width:42px;height:42px}.workflow-product-view .metrics.compact{gap:10px}.workflow-product-view .metrics.compact>div{padding:12px 16px}.workflow-product-view .metrics.compact strong{font-size:22px}.workflow-product-view .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-product-view .product-card{min-width:0}.workflow-product-view .product-card .candidate{font-size:12px}.workflow-product-view .product-card .candidate p{overflow-wrap:anywhere}
.workflow-page-guide{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:14px 18px;border-left:3px solid #5593d9;border-radius:0 8px 8px 0;background:#eaf2fa}.workflow-page-guide strong{color:#264d71;font-size:14px}.workflow-page-guide p{margin:4px 0 0;color:#5e7690;font-size:12px;line-height:1.8}.workflow-page-guide .actions{flex-shrink:0}.workflow-page-guide .secondary{background:#ffffffb3;border-color:#d0deed;color:#426383}.workflow-more-actions{position:relative;display:inline-block}.workflow-more-actions>summary{cursor:pointer;padding:9px 12px;border:1px solid #d8e2ed;border-radius:7px;color:#5c7390;font-size:12px;list-style:none;background:white}.workflow-more-actions>summary:after{content:'⌄';padding-left:8px}.workflow-more-actions[open]>div{position:absolute;bottom:calc(100% + 8px);right:0;z-index:12;min-width:170px;display:grid;gap:6px;background:white;border:1px solid #dce6f0;border-radius:8px;padding:8px;box-shadow:0 5px 25px #20385820}.workflow-more-actions:not([open])>div{display:none}.workflow-more-actions button{font-size:12px;text-align:left}.workflow-batch-hint{color:#65809b;font-size:12px}.procurement-panel .batchbar{align-items:center;background:#f8fafc}.procurement-panel .batchbar>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.procurement-panel>.flow,.procurement-panel>.panel-top .flow{display:none}.procurement-scroll-hint{font-size:11px;color:#7b8ca1}.procurement-table-scroll{max-height:650px}.procurement-table th{position:sticky;top:0;z-index:2}.procurement-table th:last-child{z-index:4}.procurement-table td{padding-top:16px;padding-bottom:16px}.procurement-table .product-thumb{width:52px;height:52px}.ops-stages{scrollbar-width:thin}#operationsHome .ops-stages button{padding:10px 11px}#operationsHome .ops-summary{gap:12px}#operationsHome .ops-summary>div{box-shadow:none}#operationsHome .ops-order{padding-top:18px;padding-bottom:18px}#operationsHome .ops-batch{position:sticky;top:0;z-index:3}.toolbar input[type=search]{min-height:41px}.workflow-product-view .table-scroll{scrollbar-width:thin}.workflow-product-view tr:hover td{background:#f8fbff}
@media(min-width:1350px){.workflow-product-view .ops-product-ready-row,.workflow-product-columns{grid-template-columns:minmax(290px,1.5fr) minmax(180px,.8fr) minmax(190px,.9fr) 118px}.workflow-product-view #pairingRows td:nth-child(3){width:25%}}
@media(max-width:1100px){.workflow-product-heading{align-items:flex-start}.workflow-product-heading .actions{flex-wrap:wrap;justify-content:flex-end}.workflow-list-tools{flex-wrap:wrap}.workflow-list-tools label.workflow-search{max-width:none;flex-basis:50%}.workflow-list-tools .muted{margin-left:0}.workflow-product-columns{display:none}.workflow-product-view .ops-product-ready-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 115px}.workflow-product-view .ops-product-ready-row>div:first-child{grid-column:1/-1}.workflow-page-guide{align-items:flex-start}.workflow-page-guide .actions{flex-direction:column;align-items:stretch}.workflow-product-view .product-grid{grid-template-columns:1fr}}
@media(max-width:900px){aside{padding:12px 16px}aside .logo{padding-bottom:12px}aside .nav-group{display:none}aside nav{flex-direction:row;align-items:center;overflow-x:auto}aside .nav-disclosure{flex-shrink:0}aside .nav-disclosure>summary{padding:8px 10px;white-space:nowrap}aside .nav-disclosure[open]{display:flex}aside .nav-disclosure[open]>button{width:auto;display:inline-flex}.workflow-product-view>.panel{padding:18px}main{padding:18px}header .header-actions{gap:6px}.workflow-tabs{gap:0}.workflow-tabs button{font-size:13px;padding:12px}}
@media(max-width:660px){.workflow-product-heading{flex-direction:column;gap:14px}.workflow-product-heading .actions{justify-content:flex-start;width:100%}.workflow-product-heading .actions button{flex:1;font-size:12px}.workflow-list-tools{gap:10px}.workflow-list-tools label.workflow-search{flex-basis:100%}.workflow-list-tools label{width:auto;flex:1}.workflow-list-tools .muted{font-size:11px}.workflow-product-view .ops-product-ready-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.workflow-product-view .ops-product-ready-row>div:last-child{grid-column:1/-1;justify-self:start}.workflow-product-view .ops-product-ready-row>div:last-child button{padding:8px 16px}.workflow-page-guide{display:block;padding:12px 15px}.workflow-page-guide .actions{flex-direction:row;flex-wrap:wrap;margin-top:12px}.workflow-tabs button{padding-inline:10px}.workflow-tab-count{font-size:10px}.procurement-panel .batchbar{align-items:flex-start}.workflow-batch-hint{width:100%}.workflow-product-view .panel-top{flex-direction:column;gap:12px}.workflow-product-view .panel-top>.actions{flex-wrap:wrap}.workflow-pagination{align-items:flex-start;gap:10px}.workflow-pagination>span{max-width:50%}}
.workflow-mobile-nav-hint{display:none}.workflow-started-flows{margin:18px 0 22px;border:1px solid #dce5ee;background:#fff;border-radius:10px}.workflow-started-flows>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 20px;list-style:none;cursor:pointer;color:#3d5b7a;font-size:13px}.workflow-started-flows>summary>span:first-child:before{content:'＋';font-size:15px;margin-right:10px;color:#7590af}.workflow-started-flows[open]>summary>span:first-child:before{content:'−'}.workflow-started-flows>summary .muted{font-size:12px;white-space:nowrap}.workflow-started-flows>#dropshipPanel,.workflow-started-flows>#dropshipQueuePanel{border:0;border-top:1px solid #e1e8f0;border-radius:0 0 10px 10px;margin:0;box-shadow:none}.workflow-started-flows .panel-top{padding-bottom:12px}.workflow-started-flows .panel-top h2{font-size:15px}.workflow-started-flows .panel-top button{font-size:12px}.workflow-draft-shortcuts{position:sticky;top:-22px;z-index:5;display:flex;align-items:center;gap:9px;background:#fff;padding:12px 0;margin:-12px 0 18px;border-bottom:1px solid #e0e8f1}.workflow-draft-shortcuts>span{color:#6b8199;font-size:12px;margin-right:4px}.workflow-draft-shortcuts .secondary{border-color:#d5e1ee;color:#496786;background:#f8fbff;font-size:12px;padding:7px 11px}#draftForm .draft-layout>div,#draftForm label:has(#draftRoute){scroll-margin-top:62px}.workflow-draft-shortcuts button:hover{border-color:#98b6db;background:#edf4ff}
@media(max-width:900px){.workflow-mobile-nav-hint{display:block;color:#849bb9;font-size:10px;line-height:1.4;margin:7px 5px 0}aside nav{max-width:100%;scrollbar-width:thin;padding-bottom:5px}aside .nav-disclosure>summary{border:1px solid #344963;border-radius:7px;list-style:none;margin:0 2px}aside .nav-disclosure[open]>summary{color:#d2e4fb;background:#20324d}aside .nav-disclosure[open]>button{margin-left:5px}.workflow-started-flows>summary{padding:14px 16px}.workflow-started-flows .table-scroll{max-height:480px;overflow:auto}}
@media(max-width:760px){.workflow-draft-shortcuts{flex-wrap:wrap;gap:7px;top:-22px;padding:10px 0}.workflow-draft-shortcuts>span{width:100%;font-size:11px}.workflow-draft-shortcuts button{flex:1;white-space:normal;line-height:1.45}.workflow-started-flows>summary{gap:10px}.workflow-started-flows>summary>span:first-child{max-width:75%}#draftForm .draft-layout>div,#draftForm label:has(#draftRoute){scroll-margin-top:105px}}

/* One primary page for each step; supporting history stays available below. */
body{background:#f5f7f8;color:#203447;font-size:14px}
body button{box-shadow:none}body button:not(.secondary):not(.quiet):not(.copy-button){transition:background .15s}
body button.secondary{background:#fff;border-color:#d7e1e5;color:#385260}
body input,body select,body textarea{border-color:#cfdadf;background:#fff}
body input:focus,body select:focus,body textarea:focus{outline-color:#8fcac3}
body .eyebrow{display:none}
body aside{background:#172b38;border-color:#263d49}
body nav button{color:#b6c5ce;font-size:13px;min-height:41px}
body nav button.active{background:#264a51;border-color:#365e65;box-shadow:inset 3px 0 #84c9bc;color:#fff}
body nav button:hover{background:#213c49}
body nav button.active .nav-icon{color:#afdcd2}
body .nav-group,body .nav-disclosure>summary{color:#8ea5b1;letter-spacing:0;font-size:12px}
body .panel{box-shadow:none;border-color:#dde5e9;border-radius:10px}
body h1{font-size:23px;letter-spacing:0}body h2{letter-spacing:0}
body .tag.good{background:#eaf5ef;color:#327456}body .tag.warning{background:#fff5e4;color:#926128}body .tag.bad{background:#faeeec;color:#a34642}
body .pill.good{background:#eaf5f2;color:#237364}
#dashboardTab .dashboard-hero{padding:2px 0 19px;background:transparent;border:0;box-shadow:none;border-radius:0;color:#203447}
#dashboardTab .dashboard-hero:after{display:none}
#dashboardTab .dashboard-hero h2{color:#203447;font-size:23px;margin:0 0 6px}
#dashboardTab .dashboard-hero p{color:#657585;font-size:13px}
#dashboardTab .hero-actions button{background:#177c78;color:#fff;border-color:#177c78}
#dashboardTab .hero-actions button.secondary{background:#fff;color:#385260;border-color:#d7e1e5}
#dashboardTab .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#dashboardTab .dashboard-kpi{background:#fff;min-height:102px;padding:16px 18px}
#dashboardTab .dashboard-kpi:first-child{grid-column:auto;background:#fff;border-color:#dde5e9}
#dashboardTab .dashboard-kpi strong{font-size:27px;color:#254958}
#dashboardTab .dashboard-kpi.danger strong{color:#b54e47}
#dashboardTab .dashboard-kpi.warning strong{color:#996c29}
#dashboardTab .dashboard-kpi small{font-size:11px;color:#687b88}
#dashboardTab .dashboard-grid{gap:18px}
#dashboardTab .task-copy strong{font-size:13px;color:#314b5a}
#dashboardTab .task-copy small,#dashboardTab .task-action{font-size:12px;color:#6b7e89}
#dashboardTab .status-item{background:#f9fafb;border-color:#e8edef}
#dashboardTab .status-item p{color:#6b7e89;font-size:11px}
#dashboardTab .trend-track{background:#eef3f4}#dashboardTab .trend-track span{background:#83b8b0}
#dashboardTab #workspaceFlow button{background:#f8faf9;border-color:#e0e9e6;color:#4b6d66}
#dashboardTab #workspaceFlow strong{color:#315e56}
#operationsHome .ops-heading h2,.workflow-product-heading h2{font-size:22px;letter-spacing:0}
#operationsHome .ops-heading p,.workflow-product-heading p{color:#657585}
#operationsHome .ops-summary{gap:12px;margin-bottom:16px}
#operationsHome .ops-summary>div{border-color:#dde5e9;border-radius:9px;padding:15px 18px;background:#fff}
#operationsHome .ops-summary strong{color:#254958;font-size:26px}
#operationsHome .ops-stages button.selected{background:#eaf4f1;color:#256f61}
#operationsHome .ops-stages button.selected b{background:#d9ece6;color:#256f61}
#operationsHome .ops-stages button{font-size:13px;padding:10px 14px}
#operationsHome .ops-batch{background:#f7faf9;border-color:#e2e9e6;flex-wrap:wrap}
#operationsHome .ops-batch #opsLogistics,#operationsHome .ops-batch #opsTrade{background:#177c78;color:#fff;border-color:#177c78}
#operationsHome .ops-product strong{font-size:14px;color:#263f4e}
#operationsHome .ops-product span,#operationsHome .ops-product small,#operationsHome .ops-progress small{color:#617583;font-size:12px}
#operationsHome .ops-reason{color:#93602a;font-size:12px}
#operationsHome .ops-row-actions button{font-size:12px}
#operationsHome .ops-channel{font-weight:600;color:#385b69;font-size:12px}
#operationsHome .ops-view-toggle button[aria-pressed=true]{color:#226d61}
#opsProcurementExtras{display:inline-flex;gap:8px;flex-wrap:wrap;align-items:center}
.operations-legacy{border:1px solid #dce5e9;border-radius:9px;background:#fff;margin:20px 0}
.operations-legacy>summary{padding:15px 18px;color:#526976;cursor:pointer;font-weight:600}
.operations-legacy[open]>summary{border-bottom:1px solid #e3e9ec}
.operations-legacy>.panel{border:0;border-radius:0;margin:0}
.operations-legacy>.metrics{margin:18px}
#operationsProcurementDetails>.flow{margin:15px 20px}
.workflow-tabs button[aria-selected=true]{color:#1d776c;border-color:#278c7d}
.workflow-tabs button[aria-selected=true] .workflow-tab-count{background:#e1f0ea;color:#2b7662}
.workflow-tabs button:hover{background:#f0f6f4}
.workflow-page-guide{background:#eef4f3;border-left-color:#7aada0}
.workflow-page-guide strong{color:#345f56}.workflow-page-guide p{color:#657b75}
.ops-preparation-status{margin-bottom:18px;padding:13px 15px;background:#f5f8f7;border:1px solid #e0e8e4;border-radius:8px}
.ops-preparation-status>p{margin:0;font-size:13px;color:#5b736a}
.ops-preparation-progress,.ops-preparation-result{display:grid;gap:6px;font-size:13px}
.ops-preparation-progress>span,.ops-preparation-result>span{color:#63786f;font-size:12px;overflow-wrap:anywhere}
.ops-preparation-progress progress{height:7px;width:100%;margin-top:4px;accent-color:#278c7d}
.ops-preparation-issues{margin-top:12px;border-top:1px solid #dde5e0;padding-top:10px;font-size:12px}
.ops-preparation-issues summary{cursor:pointer;color:#956431}
.ops-preparation-issues>div{display:grid;grid-template-columns:minmax(160px,1fr) 3fr;gap:16px;padding:9px 0;border-bottom:1px solid #e5ebe7}
.ops-preparation-issues>div strong,.ops-preparation-issues>div span{overflow-wrap:anywhere}
.ops-preparation-issues>div span{color:#72614d}
@media(max-width:900px){#dashboardTab .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body aside{background:#172b38}#operationsHome .ops-batch{position:static}}
@media(max-width:660px){#dashboardTab .dashboard-hero{padding:0 0 16px}#dashboardTab .hero-actions{margin-top:14px}#dashboardTab .dashboard-kpi{padding:13px}#dashboardTab .dashboard-kpi:first-child{grid-column:auto}.ops-preparation-issues>div{grid-template-columns:1fr;gap:4px}.ops-preparation-status{padding:12px}}
#operationsHome .ops-heading h2,.workflow-product-heading h2{display:none}
#operationsHome .ops-heading,.workflow-product-heading{min-height:44px;margin-bottom:18px}
#operationsHome .ops-heading p,.workflow-product-heading p{margin:0;font-size:13px}
.ops-product .product-thumb.empty small{font-size:10px!important;white-space:nowrap;line-height:1.3}
#dashboardTab .dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){#dashboardTab .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
