/* Quiet OMS workspace. Red identifies the source; detail stays on demand. */
.oms-view{--oms-red:#972d3c;--oms-line:#e8e3e2;--oms-ink:#302a2b;color:var(--oms-ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}.oms-view *, .oms-view *:before,.oms-view *:after{box-sizing:border-box}.oms-view [hidden],.oms-mode-tabs[hidden],.oms-view[hidden],.os-tabs[hidden]{display:none!important}.oms-mode-tabs{display:flex;gap:8px;margin:0 0 24px}.oms-mode-tabs button{border:1px solid #dedbdd;border-radius:9px;padding:9px 18px;background:#fff;cursor:pointer}.oms-mode-tabs .active{background:#263653;color:#fff;border-color:#263653}.oms-mode-tabs #omsDirectTab.active{background:#972d3c;border-color:#972d3c}#refundsPanel.oms-mode-active{background:#fbf9f8;border-radius:16px;padding:26px}.oms-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px}.oms-hero p{color:var(--oms-red);font-size:10px;letter-spacing:.17em;font-weight:700;margin:0 0 7px}.oms-hero h2{font-size:28px;line-height:1.25;color:var(--oms-ink);margin:0 0 6px}.oms-hero span{color:#786d70;font-size:13px}.oms-source-state{display:grid;justify-items:end;gap:9px}.oms-source-state small{color:#817778;font-size:12px}.oms-source-tag{border:1px solid #e6c9ce;border-radius:20px;padding:5px 10px;color:var(--oms-red)!important;background:#fff7f8;font-size:11px!important}.oms-workspace-tabs{display:flex;gap:26px;border-bottom:1px solid var(--oms-line);margin-bottom:12px}.oms-workspace-tabs button{appearance:none;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 0;font-size:14px;font-weight:600;color:#7c7273;cursor:pointer}.oms-workspace-tabs button.active{color:var(--oms-red);border-color:var(--oms-red)}.oms-filter{padding:12px;background:white;border:1px solid var(--oms-line);border-radius:12px;margin-bottom:18px}.oms-filter-main{display:grid;grid-template-columns:minmax(220px,2fr) minmax(100px,.8fr) repeat(2,minmax(130px,1fr)) auto;align-items:end;gap:10px}.oms-filter label,.oms-field-search{display:grid;gap:6px;font-size:12px;font-weight:500;min-width:125px;flex:1;color:#5e5456}.oms-filter .oms-search{flex:1.5;min-width:150px}.oms-view input,.oms-view select{font:inherit;min-height:38px;width:100%;min-width:0;padding:8px 10px;border:1px solid #ddd7d7;border-radius:7px;background:#fff;color:#302a2b;outline:none}.oms-view input:focus,.oms-view select:focus{border-color:#b36e79;box-shadow:0 0 0 2px #972d3c0b}.oms-view button{font-family:inherit}.oms-primary{background:var(--oms-red);border:1px solid var(--oms-red);border-radius:7px;padding:9px 20px;min-height:38px;color:#fff;font-weight:600;cursor:pointer;white-space:nowrap}.oms-view button:disabled{opacity:.45;cursor:not-allowed}.oms-view button:focus-visible,.oms-view summary:focus-visible,.oms-scroll:focus-visible{outline:2px solid #ad5b69;outline-offset:3px}.oms-analysis-filters{display:flex;gap:12px;margin-top:14px;max-width:420px}.oms-advanced{margin-top:15px;padding-top:12px;border-top:1px solid #f0eceb}.oms-view summary{cursor:pointer;color:#77686c;font-size:12px;user-select:none}.oms-advanced-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px;margin-top:14px}.oms-notice:empty{display:none}.oms-notice{color:#8b5a40;font-size:13px;margin:10px 0 18px}.oms-panel{background:#fff;border:1px solid var(--oms-line);border-radius:12px;padding:20px;overflow:hidden}.oms-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 18px}.oms-panel-heading h3{font-size:17px;line-height:1.4;margin:0;color:var(--oms-ink)}.oms-panel-heading>span{font-size:12px;color:#8a7f81}.oms-scroll{overflow:auto;overscroll-behavior:contain;max-height:650px;scrollbar-gutter:stable}.oms-scroll table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}.oms-scroll th{position:sticky;top:0;background:#f7f5f4;color:#786f71;font-weight:500;z-index:1;padding:12px;border-bottom:1px solid var(--oms-line)}.oms-scroll td{padding:14px 12px;border-bottom:1px solid #f0eceb;color:#51494a;vertical-align:middle}.oms-scroll tbody tr:last-child td{border-bottom:0}.oms-scroll tbody tr:hover{background:#fdfbfa}.oms-order-link{border:0;background:transparent;color:#8e2c3a;font-size:12px;font-weight:600;padding:0;cursor:pointer;text-align:left}.oms-order-link:hover{text-decoration:underline}.oms-cell-sub{display:block;font-size:11px;color:#8b8183;margin-top:5px}.oms-status{display:inline-block;color:#65565b;background:#f3eff0;padding:3px 8px;border-radius:5px;font-size:11px}.oms-product{display:flex;align-items:center;gap:10px;min-width:160px;max-width:270px}.oms-product+.oms-product{margin-top:9px}.oms-product>span:last-child{min-width:0}.oms-product strong{display:block;font-weight:500;font-size:12px;color:#40383a;white-space:normal;max-width:200px;line-height:1.5}.oms-product small{display:block;color:#8e8385;font-size:10px;margin-top:4px;overflow-wrap:anywhere;white-space:normal}.oms-thumb{display:block;width:44px;height:56px;flex:0 0 44px;background:#f3f0ef;position:relative;border-radius:5px;overflow:hidden;border:1px solid #ece7e6}.oms-thumb img{position:relative;z-index:1;display:block;width:44px;height:56px;object-fit:cover;background:#f5f2f1}.oms-thumb>span{position:absolute;inset:0;display:grid;place-items:center;color:#b5aaac;font-size:9px;letter-spacing:1px}.oms-pages{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding-top:20px;font-size:12px;color:#8b7f81}.oms-pages button{border:1px solid #e0d8d9;border-radius:6px;background:#fff;padding:7px 13px;color:#66565b;cursor:pointer}.oms-empty{padding:48px 20px;text-align:center;color:#87797d}.oms-empty strong{display:block;font-size:14px;font-weight:500}.oms-empty span{display:block;font-size:12px;color:#aa9da1;margin-top:8px}.oms-data-info{margin:18px 2px 0}.oms-data-info>summary{font-size:12px;color:#928487}.oms-data-info>div{padding:15px 0;color:#85787c;font-size:12px}.oms-data-info p{max-width:900px;line-height:1.8}.oms-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:12px 0}.oms-kv>div{padding:10px 0;border-bottom:1px solid #f0eceb;min-width:0}.oms-kv dt{font-size:11px;color:#978b8e;margin-bottom:4px;overflow-wrap:anywhere}.oms-kv dd{font-size:13px;color:#53474b;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.oms-section{margin-top:26px}.oms-section:first-child{margin-top:0}.oms-section h3,.oms-section h4{font-size:14px;color:#514348;margin:0 0 14px;font-weight:600}.oms-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.oms-cards article{padding:18px;background:#faf7f7;border:1px solid #eee7e8;border-radius:9px}.oms-cards article>span{color:#847478;font-size:12px}.oms-cards strong{display:block;font-size:27px;font-weight:600;color:#69343e;margin:9px 0}.oms-cards strong small{font-size:10px;font-weight:400;color:#9d888e;margin-left:8px}.oms-cards p{font-size:11px;color:#948388;margin:0}.oms-trend-bars{display:grid;gap:10px;max-height:260px;overflow:auto;margin-bottom:12px}.oms-trend-bars>div{display:grid;grid-template-columns:170px minmax(40px,1fr) 50px;gap:12px;align-items:center;font-size:11px;color:#89777d}.oms-trend-bars svg{display:block;width:100%;height:8px}.oms-trend-bars rect{fill:#b46d7a}.oms-trend-bars strong{text-align:right;color:#7a4652;font-weight:500}.oms-note{font-size:12px;line-height:1.7;color:#94858a;margin:14px 0 0}.oms-status-note{font-size:12px;line-height:1.7;background:#fbf6ef;color:#95754c;border-radius:7px;padding:11px 14px;margin:0 0 18px}.oms-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.oms-metric{border:1px solid #eee7e8;border-radius:9px;padding:18px}.oms-metric>span{font-size:12px;color:#8d777d}.oms-metric>strong{display:block;font-size:27px;color:#8f3346;font-weight:600;margin:10px 0}.oms-metric>strong.is-unknown{font-size:20px;color:#ae9a82;font-weight:500}.oms-metric>small{font-size:11px;color:#9f9095}.oms-metric details{margin-top:12px;font-size:12px;color:#907a82}.oms-diagnostics{border-top:1px solid #eee8e9;margin-top:25px;padding-top:16px;color:#8a7880;font-size:12px}.oms-diagnostics pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#faf8f8;padding:12px}.oms-diagnostics details{margin:12px 0}.oms-order-dialog{width:min(1000px,calc(100vw - 48px));max-height:90vh;padding:0;border:1px solid #e5d9dc;border-radius:16px;color:#493d41;box-shadow:0 25px 100px #29101935}.oms-order-dialog::backdrop{background:#23161b55;backdrop-filter:blur(3px)}.oms-detail-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;border-bottom:1px solid #eee4e7;background:#fffcfc}.oms-detail-header small{font-size:11px;color:#9c7e87}.oms-detail-header h2{margin:5px 0 0;font-size:20px;color:#55343e;overflow-wrap:anywhere}.oms-detail-header button{border:0;background:#f2ebed;border-radius:50%;width:32px;height:32px;color:#9c7e87;cursor:pointer;flex:0 0 auto}.oms-detail-body{padding:24px 28px;overflow:auto;max-height:calc(90vh - 100px);min-height:120px}.oms-detail-section{margin-top:24px;border-top:1px solid #eee6e8;padding-top:18px}.oms-detail-section>summary{font-size:14px;font-weight:600;color:#6f515c}.oms-field-search{max-width:360px;margin-top:20px}.oms-detail-body .oms-scroll{max-height:340px}.oms-view .wb-inline-status{margin:0 0 18px}.oms-kv>div[hidden]{display:none!important}
@media(max-width:700px){#refundsPanel.oms-mode-active{padding:14px}.oms-hero{align-items:flex-start;margin-bottom:18px}.oms-hero h2{font-size:24px}.oms-hero>div>span{font-size:11px}.oms-source-state{max-width:145px;text-align:right}.oms-source-state small{font-size:10px}.oms-workspace-tabs{gap:22px}.oms-workspace-tabs button{font-size:13px}.oms-filter{padding:14px}.oms-filter-main{gap:10px}.oms-filter label{min-width:115px}.oms-filter .oms-search{min-width:calc(50% - 10px)}.oms-primary{flex:1}.oms-panel{padding:15px}.oms-panel-heading{align-items:flex-start}.oms-panel-heading h3{font-size:15px}.oms-panel-heading>span{font-size:10px}.oms-scroll{max-height:560px}.oms-order-dialog{width:calc(100vw - 20px);max-height:94vh;border-radius:12px}.oms-detail-header{padding:18px}.oms-detail-header h2{font-size:17px}.oms-detail-body{padding:18px;max-height:calc(94vh - 90px)}.oms-kv{gap:0 14px}.oms-kv dd{font-size:12px}.oms-trend-bars>div{grid-template-columns:120px minmax(20px,1fr) 35px}.oms-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.oms-metric{padding:13px}.oms-metric>span{font-size:11px}.oms-cards{grid-template-columns:1fr}.oms-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.oms-field-group{margin-top:12px;padding:12px;background:#fbf9f9;border:1px solid #efe8ea;border-radius:7px}.oms-field-group>summary{font-size:12px;font-weight:500}.oms-field-group>summary span{font-size:10px;color:#aa969e;margin-left:9px}.oms-field-group .oms-kv{margin-bottom:0}
#omsOptionNotice:empty{display:none}
@media(max-width:700px){.oms-order-list .oms-scroll{max-height:none;overflow:visible}.oms-order-list table,.oms-order-list tbody{display:block;white-space:normal}.oms-order-list thead{display:none}.oms-order-list tbody{display:grid;gap:15px}.oms-order-list tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #ede5e7;border-radius:9px;padding:12px;gap:12px}.oms-order-list td{padding:0;border:0;min-width:0;font-size:12px}.oms-order-list td:first-child,.oms-order-list td:nth-child(2),.oms-order-list td:nth-child(5){grid-column:1/-1}.oms-order-list td:nth-child(n+3):before{content:attr(data-label);display:block;font-size:10px;color:#a18f95;margin-bottom:5px}.oms-order-list td:nth-child(2){padding-bottom:12px;border-bottom:1px solid #f1ebed}.oms-order-list .oms-product{max-width:none}.oms-order-list .oms-product strong{max-width:none}.oms-order-list .oms-order-link{font-size:12px}.oms-order-list .oms-cell-sub{overflow-wrap:anywhere}}
.oms-list-scope{margin:0 0 12px}
/* Applied conditions and chart controls stay near their data. */
.oms-date-presets{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:11px;color:#9b898e}.oms-date-presets button{background:#fff;border:1px solid #e9e0e3;padding:4px 10px;border-radius:5px;color:#806b73;cursor:pointer}.oms-date-presets button:hover{background:#faf3f5;border-color:#ce9daa}.oms-applied{margin:0 1px 10px}.oms-applied-heading{display:flex;align-items:center;gap:12px;font-size:11px;color:#94838a}.oms-applied-heading strong{font-weight:500;color:#78646d}.oms-applied-heading button{margin-left:auto;border:0;background:transparent;color:#985667;font-size:11px;cursor:pointer}.oms-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.oms-chips button{font-size:11px;color:#825964;background:#f8eff1;border:1px solid #ecd9df;border-radius:5px;padding:5px 9px;cursor:pointer;max-width:100%;overflow-wrap:anywhere;text-align:left}.oms-chips button span{margin-left:6px;color:#b58b98}.oms-draft{font-size:12px;color:#956441;margin:9px 0 0}.oms-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:16px}.oms-section-heading h4{margin-bottom:5px}.oms-section-heading .oms-note{font-size:11px}.oms-metric-switch{display:flex;gap:4px;background:#f7f2f4;padding:3px;border-radius:7px;flex-shrink:0}.oms-metric-switch button{border:0;border-radius:5px;background:transparent;padding:7px 12px;font-size:12px;color:#977b85;cursor:pointer}.oms-metric-switch button.active{background:#fff;color:#932f47;box-shadow:0 1px 4px #38202a12}.oms-chart-legend{display:flex;flex-wrap:wrap;gap:8px 22px;margin:14px 0 3px;color:#786871;font-size:12px}.oms-chart-legend>span{display:flex;gap:7px;align-items:center}.oms-chart-legend i{display:block;width:20px;height:3px;background:var(--series-color)}.oms-trend-svg{display:block;width:100%;height:auto;overflow:visible}.oms-chart-grid{stroke:#eee9eb;stroke-width:1}.oms-chart-label{fill:#a18f98;font-size:11px;font-family:inherit}.oms-chart-line{fill:none;stroke-width:2}.oms-chart-point{stroke-width:1.2;cursor:pointer}.oms-chart-point.is-partial{stroke-width:2}.oms-chart-point:hover,.oms-chart-point:focus{r:6;outline:none;stroke:#352b30;stroke-width:1.5}.oms-series-0{--series-color:#9e374f}.oms-series-1{--series-color:#506e99}.oms-series-2{--series-color:#4b897b}.oms-series-3{--series-color:#b88935}.oms-series-4{--series-color:#8c6eab}.oms-series-5{--series-color:#61716b}.oms-chart-readout{font-size:12px;color:#735a66;min-height:24px;margin:8px 0 0;background:#fbf8f9;padding:7px 10px;border-radius:5px}.oms-trend-data{margin-top:12px}.oms-trend-section{margin-bottom:24px}.oms-sort{display:flex;gap:8px;align-items:center;color:#9c8791;font-size:11px;flex-shrink:0}.oms-sort select{font-size:11px;min-height:32px;padding:5px 8px;max-width:170px}#omsGroups .oms-scroll{max-height:560px}
@media(max-width:700px){.oms-section-heading{flex-wrap:wrap;gap:12px}.oms-metric-switch{width:100%}.oms-metric-switch button{flex:1;padding:7px 8px}.oms-chart-legend{font-size:11px;gap:7px 14px}.oms-chart-label{font-size:10px}.oms-chart-readout{font-size:11px}.oms-date-presets{flex-wrap:wrap}.oms-chips button{font-size:10px}.oms-applied-heading{flex-wrap:wrap;gap:5px 10px}.oms-section-heading .oms-sort{margin-left:auto}.oms-sort select{max-width:155px}.oms-trend-section{margin-bottom:20px}}
.oms-sort{white-space:nowrap}.oms-sort select{width:auto}
@media(max-width:700px){#omsGroups table,#omsGroups tbody{display:block;white-space:normal}#omsGroups thead{display:none}#omsGroups tbody{display:grid;gap:12px}#omsGroups tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:relative;gap:12px;padding:14px;border:1px solid #ede5e7;border-radius:8px}#omsGroups td{padding:0;border:0;font-size:12px;min-width:0}#omsGroups td:first-child{position:absolute;right:12px;top:12px;font-size:10px;color:#b49da7}#omsGroups td:nth-child(2),#omsGroups td:nth-child(3),#omsGroups td:nth-child(6),#omsGroups td:nth-child(7){grid-column:1/-1}#omsGroups td:nth-child(2){padding-right:16px}#omsGroups td:nth-child(n+3):not(:last-child):before{content:attr(data-label);display:block;font-size:10px;color:#aa949e;margin-bottom:4px}#omsGroups td:last-child{padding-top:9px;border-top:1px solid #f1ebed}#omsGroups .oms-scroll{padding-right:2px}#omsGroups .oms-product{max-width:100%}}
/* Product-first lookup: exact selection is separate from order lookup text. */
.oms-product-picker{position:relative;margin-bottom:16px;max-width:780px}.oms-product-picker>label{display:block;margin-bottom:7px;color:#5e5456;font-size:12px}.oms-product-picker>input{height:44px;padding:10px 13px;background:#fffcfc;font-size:14px}.oms-product-results{position:absolute;top:76px;left:0;right:0;z-index:15;border:1px solid #dcc9cf;border-radius:10px;background:#fff;box-shadow:0 14px 40px #43253020;overflow:hidden}.oms-product-results #omsProductOptions{max-height:360px;overflow:auto;overscroll-behavior:contain}.oms-product-option{display:flex;align-items:center;gap:14px;width:100%;border:0;border-bottom:1px solid #f0e8eb;background:#fff;padding:12px 14px;text-align:left;cursor:pointer;color:#514248}.oms-product-option:hover,.oms-product-option[aria-selected=true]{background:#fbf0f3}.oms-product-option>.oms-product{flex:1;max-width:none;min-width:0}.oms-product-option .oms-product strong{max-width:none;font-size:13px}.oms-product-option-meta{font-size:11px;text-align:right;color:#8b727c;white-space:nowrap}.oms-product-option-meta small,.oms-sku-option small{display:block;color:#a18b93;font-size:10px;margin-top:4px}.oms-product-option-action{color:#9b3a50;font-size:11px;white-space:nowrap}.oms-sku-option{padding:9px 14px 9px 68px;background:#fdfafa;justify-content:space-between}.oms-sku-option strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.oms-product-results>p{font-size:11px;color:#9c858e;padding:10px 14px;margin:0;background:#fbf8f9;border-top:1px solid #eee5e8}.oms-picker-hint:empty{display:none}.oms-picker-hint{font-size:12px;color:#99704f;margin:7px 0 0}.oms-picker-empty{padding:24px 16px;font-size:12px;color:#9b838d;margin:0}.oms-product-selection{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:14px;background:#faf4f6;border:1px solid #ead9de;border-radius:8px;margin-bottom:17px}.oms-selected-product{display:flex;gap:16px;align-items:center;flex:1;min-width:230px}.oms-selected-product>.oms-product{max-width:none}.oms-selection-origin{font-size:10px;color:#a1858e;max-width:180px}.oms-sku-control{display:flex;gap:10px;align-items:end;flex:1;min-width:280px;max-width:460px}.oms-sku-control label{flex:1}.oms-sku-control button{white-space:nowrap;min-height:38px;padding:8px;border:0;background:transparent;color:#a27380;font-size:11px;cursor:pointer}.oms-product-selection>.oms-note{margin:0;width:100%;font-size:11px}.oms-product-selection>.oms-note:empty{display:none}.oms-fulfillment{padding-bottom:25px;margin-bottom:25px;border-bottom:1px solid #eee4e7}.oms-fulfillment-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}.oms-shipping-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px;border:1px solid #eee5e8;background:#fcfafb;border-radius:8px;cursor:pointer;color:#8c737c;text-align:left;min-width:0}.oms-shipping-card.is-primary{background:#fcf5f6;border-color:#dfb9c4;color:#9a3b53}.oms-shipping-card>span{font-size:12px}.oms-shipping-card strong{font-size:25px;font-weight:600;line-height:1.2;color:#6d4553}.oms-shipping-card strong small{font-size:10px;font-weight:400;margin-left:5px;color:#aa8c96}.oms-shipping-card b{font-size:12px;font-weight:500;overflow-wrap:anywhere}.oms-shipping-card>small{font-size:10px;color:#a28c94}.oms-shipping-card:hover{border-color:#ad687e;box-shadow:0 3px 10px #9c5c7020}.oms-shipping-groups .oms-scroll{max-height:470px}.oms-shipping-groups .oms-order-link+.oms-order-link{margin-top:8px}.oms-shipping-detail{margin-top:14px}.oms-shipping-detail summary{font-size:11px}.oms-shipping-detail .oms-scroll{max-height:400px;margin-top:12px}
@media(max-width:1000px){.oms-fulfillment-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.oms-product-picker{margin-bottom:15px}.oms-product-results{left:-3px;right:-3px;top:74px}.oms-product-option{gap:8px;padding:10px}.oms-product-option .oms-thumb{display:none}.oms-product-option-meta{font-size:10px;max-width:65px;white-space:normal}.oms-product-option-meta small{overflow-wrap:anywhere}.oms-product-option .oms-product strong{font-size:12px}.oms-sku-option{padding-left:16px}.oms-sku-option>span:first-child{min-width:0}.oms-sku-option strong{display:block}.oms-product-selection{padding:12px;gap:12px}.oms-selected-product{min-width:0;width:100%;flex-wrap:wrap;gap:6px}.oms-selected-product>.oms-product{min-width:0}.oms-selection-origin{width:100%;max-width:none}.oms-sku-control{width:100%;min-width:0}.oms-sku-control label{min-width:0}.oms-sku-control select{font-size:11px}.oms-fulfillment-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.oms-shipping-card{padding:13px}.oms-shipping-card strong{font-size:23px}.oms-shipping-card b{font-size:11px}}
.oms-shipping-chart{padding:18px 20px;border:1px solid #efe5e8;border-radius:8px;margin-bottom:20px;max-width:900px}.oms-shipping-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;font-size:12px;color:#70535f}.oms-shipping-chart-heading strong{font-weight:500}.oms-shipping-chart-heading small{font-size:10px;font-weight:400;color:#ac949e;margin-left:8px}.oms-shipping-chart-heading>span{font-size:11px;white-space:nowrap}.oms-shipping-chart-heading i{display:inline-block;width:9px;height:9px;border-radius:2px;margin:0 5px 0 10px}.oms-waiting-swatch{background:#b55a72}.oms-shipped-swatch{background:#a9b9ba}.oms-shipping-chart svg{display:block;width:100%;height:auto}.oms-shipping-chart-label{fill:#755c67;font-size:12px;font-family:inherit}.oms-shipping-chart-value{fill:#8e7680;font-size:11px;font-family:inherit}.oms-shipping-bar.waiting{fill:#b55a72}.oms-shipping-bar.shipped{fill:#a9b9ba}.oms-shipping-chart g[role=button]{cursor:pointer}.oms-shipping-chart g[role=button]:focus{outline:1px solid #9a5269;outline-offset:3px}.oms-shipping-chart g[role=button]:hover .oms-shipping-bar{opacity:.75}@media(max-width:700px){.oms-shipping-chart{padding:14px 10px}.oms-shipping-chart-heading{flex-wrap:wrap}.oms-shipping-chart-label{font-size:20px}.oms-shipping-chart-value{font-size:19px}.oms-shipping-groups table,.oms-shipping-groups tbody{display:block;white-space:normal}.oms-shipping-groups thead{display:none}.oms-shipping-groups tbody{display:grid;gap:12px}.oms-shipping-groups tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #eee5e8;border-radius:8px}.oms-shipping-groups td{padding:0;border:0;min-width:0;font-size:12px}.oms-shipping-groups td:nth-child(1),.oms-shipping-groups td:nth-child(2),.oms-shipping-groups td:last-child{grid-column:1/-1}.oms-shipping-groups td:nth-child(3):before,.oms-shipping-groups td:nth-child(4):before{content:attr(data-label);display:block;font-size:10px;color:#a68d98;margin-bottom:6px}.oms-shipping-groups td:last-child br{display:none}.oms-shipping-groups td:last-child{display:flex;gap:22px}.oms-shipping-groups .oms-order-link+.oms-order-link{margin-top:0}}

@media(max-width:700px){.oms-selected-product,.oms-sku-control{flex:0 0 100%;max-width:100%}.oms-shipping-chart-label{font-size:12px}.oms-shipping-chart-value{font-size:11px}}

/* Image provenance stays beside the thumbnail, including representative views. */
.oms-product-media{display:flex;flex:0 0 64px;flex-direction:column;align-items:center;gap:4px;width:64px}.oms-product-media .oms-thumb{flex:0 0 56px}.oms-image-label{max-width:64px;white-space:normal;text-wrap:balance;text-align:center;color:#806b73;font-size:10px;line-height:1.35}.oms-product-option .oms-product>span:last-child{min-width:0}
@media(max-width:700px){.oms-product-option .oms-product-media{flex-basis:56px;width:56px}.oms-product-option .oms-thumb{display:block;width:36px;height:46px;flex-basis:46px}.oms-product-option .oms-thumb img{width:36px;height:46px}.oms-product-option .oms-image-label{max-width:56px}.oms-product-option .oms-product{gap:7px}}

/* Product composition is the primary analysis surface. */
.oms-filter-main>.oms-product-picker{margin:0;max-width:none;min-width:0}.oms-filter-main>label{min-width:0}.oms-filter-main .oms-product-picker>input{height:38px;font-size:12px}.oms-filter-main .oms-product-results{top:67px}.oms-filter-footer{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-top:9px}.oms-filter-footer .oms-date-presets{margin:0;flex-wrap:wrap}.oms-filter-footer>.oms-advanced{margin:0;padding:0;border:0}.oms-filter-footer>.oms-advanced[open]{flex:1}.oms-filter-footer>.oms-advanced>summary{font-size:11px;text-align:right}.oms-filter-footer .oms-advanced-grid{margin-top:12px}.oms-advanced-grid>.oms-analysis-filters{margin-top:0;max-width:none;grid-column:1/-1}.oms-analysis-filters label{flex:1}.oms-notice:empty{display:none}.oms-product-selection{padding:9px;margin:10px 0 0}.oms-product-selection .oms-product-media{flex-basis:48px;width:48px}.oms-product-selection .oms-thumb,.oms-product-selection .oms-thumb img{width:34px;height:42px}.oms-product-selection .oms-thumb{flex-basis:42px}.oms-product-selection .oms-image-label{font-size:9px}.oms-product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4;font-size:11px;color:#9c8490;margin-top:4px;white-space:normal;overflow-wrap:anywhere}.oms-product-text{min-width:0;flex:1}.oms-code-line{display:flex;align-items:baseline;gap:6px;white-space:normal}.oms-product .oms-product-code{display:block;font-size:12px;max-width:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;color:#65414f}.oms-code-copy{font-size:10px;padding:0;border:0;background:transparent;color:#9b536a;cursor:pointer;flex:0 0 auto}.oms-row-actions{display:flex;flex-wrap:wrap;gap:8px 12px}.oms-view[data-view=overview] .oms-panel{padding:14px}.oms-view[data-view=overview] .oms-panel-heading{margin-bottom:12px}.oms-fulfillment{margin:0;padding:0;border:0}.oms-fulfillment>.oms-section-heading{margin-bottom:10px}.oms-fulfillment h4{font-size:13px}.oms-fulfillment-cards{gap:7px;margin-bottom:14px}.oms-shipping-card{padding:10px;gap:5px}.oms-shipping-card strong{font-size:21px}.oms-shipping-card>small{display:none}.oms-shipping-card.is-selected{border-color:#a63e5b;background:#faeaf0;box-shadow:0 0 0 1px #a63e5b}.oms-status-all{border:1px solid #e6d5dc;background:white;color:#97657b;border-radius:5px;font-size:11px;padding:5px 9px;cursor:pointer}.oms-status-all[aria-pressed=true]{border-color:#ab526e;background:#faeef3}.oms-composition{margin-top:12px}.oms-composition-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.oms-dimension-switch{display:flex;gap:3px;padding:3px;border-radius:6px;background:#f5edf1}.oms-dimension-switch button{border:0;background:transparent;color:#886776;border-radius:4px;padding:6px 11px;cursor:pointer;font-size:11px}.oms-dimension-switch button[aria-pressed=true]{background:white;color:#923e59;box-shadow:0 1px 4px #53324115}.oms-composition-notes,.oms-secondary{margin-top:15px;font-size:12px;color:#8f7481}.oms-secondary{border-top:1px solid #eee3e8;padding-top:13px}.oms-secondary>summary{cursor:pointer}.oms-composition .oms-section-heading{margin-bottom:10px}.oms-composition .oms-section-heading .oms-note{font-size:10px}.oms-composition .oms-scroll{max-height:650px}.oms-composition td:first-child{min-width:230px}.oms-composition .oms-product{max-width:330px}.oms-secondary .oms-section{margin-top:16px}
@media(max-width:1000px){.oms-filter-main{grid-template-columns:minmax(180px,2fr) minmax(95px,1fr) repeat(2,minmax(125px,1fr))}.oms-filter-main>.oms-primary{grid-column:4}.oms-filter-main>.oms-product-picker{grid-row:1/3;align-self:start}.oms-filter-footer{flex-wrap:wrap}}
@media(max-width:700px){.oms-hero{margin-bottom:10px}.oms-hero h2{font-size:20px}.oms-source-tag{display:none}.oms-workspace-tabs{margin-bottom:10px;gap:20px}.oms-workspace-tabs button{padding-top:10px;padding-bottom:10px}.oms-filter{padding:10px;margin-bottom:10px}.oms-filter-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.oms-filter-main>.oms-product-picker{grid-row:auto;grid-column:1/-1}.oms-filter-main>.oms-primary{grid-column:auto;min-height:34px}.oms-filter-main>.oms-product-picker+label{grid-column:1/-1}.oms-filter-main>label{min-width:0}.oms-filter-main input,.oms-filter-main select{min-height:34px;height:34px;padding:6px;font-size:11px}.oms-filter-main>.oms-primary{grid-column:2}.oms-filter-footer{gap:6px;margin-top:6px}.oms-filter-footer .oms-date-presets{font-size:10px;gap:5px}.oms-date-presets button{padding:3px 6px}.oms-filter-footer>.oms-advanced[open]{flex-basis:100%}.oms-applied-heading{font-size:10px}.oms-chips{margin-top:5px}.oms-chips button{padding:3px 6px}.oms-view[data-view=overview] .oms-panel{padding:10px}.oms-fulfillment>.oms-section-heading{gap:4px;flex-wrap:nowrap}.oms-fulfillment>.oms-section-heading .oms-note{font-size:9px}.oms-fulfillment-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:10px}.oms-shipping-card{padding:7px;gap:4px}.oms-shipping-card>span{font-size:10px}.oms-shipping-card strong{font-size:17px}.oms-shipping-card b{font-size:10px}.oms-status-all{white-space:nowrap;font-size:10px;padding:4px 6px}.oms-composition-controls{gap:7px}.oms-composition .oms-section-heading{gap:6px}.oms-composition .oms-section-heading h4{font-size:13px}.oms-composition td:first-child{position:static!important;color:inherit!important;font-size:inherit!important;grid-column:1/-1;min-width:0}.oms-composition #omsGroups td:nth-child(2){padding-right:0}.oms-composition #omsGroups td:nth-child(2),.oms-composition #omsGroups td:nth-child(5),.oms-composition #omsGroups td:nth-child(6){grid-column:1/-1}.oms-composition #omsGroups td:nth-child(n+2):not(:last-child):before{content:attr(data-label);display:block;font-size:10px;color:#aa949e;margin-bottom:4px}.oms-composition #omsGroups td:nth-child(3),.oms-composition #omsGroups td:nth-child(4){grid-column:auto}.oms-composition #omsGroups td:last-child{border-top:1px solid #eee3e8;padding-top:8px}.oms-product-selection .oms-sku-control{min-width:0}.oms-product-selection .oms-selected-product{gap:7px}.oms-composition .oms-product{min-width:0}}

/* Avoid repeating page titles above the product results. */
#refundsPanel.oms-mode-active{padding:18px}.oms-mode-tabs{margin-bottom:10px}.oms-view[data-view=overview] .oms-hero{display:none}.oms-view[data-view=overview] .oms-panel-heading{display:none}.oms-view[data-view=overview] .oms-workspace-tabs button{padding-top:10px;padding-bottom:10px}.oms-fulfillment>.oms-section-heading h4{display:none}.oms-fulfillment>.oms-section-heading{align-items:center;margin-bottom:7px}.oms-shipping-card{padding:8px;gap:3px}.oms-shipping-card b{font-size:11px}.oms-workspace-tabs{margin-bottom:10px}.oms-composition .oms-scroll td{padding-top:10px;padding-bottom:10px}
@media(max-width:700px){#refundsPanel.oms-mode-active{padding:10px}.oms-mode-tabs{margin-bottom:8px}.oms-view[data-view=overview] .oms-workspace-tabs{gap:17px}.oms-shipping-card{padding:7px}.oms-composition .oms-scroll td{padding-top:0;padding-bottom:0}.oms-filter-main>.oms-product-picker+label{grid-column:auto}.oms-filter-main>.oms-primary{grid-column:auto}.oms-filter-main>.oms-product-picker{grid-column:1/-1}}

/* Parent totals stay separate from lazily loaded exact SKU children. */
.oms-parent-scope,.oms-child-scope{font-size:11px;line-height:1.55;color:#947b87;margin:7px 0 10px}.oms-child-row>td{padding:0 10px 12px!important;background:#fcf8fa}.oms-child-row[hidden]{display:none!important}.oms-group-children{padding:12px;border-left:3px solid #c79cae;min-width:0}.oms-group-children>.oms-scroll{max-height:420px}.oms-child-pages{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-top:10px;font-size:11px}.oms-child-pages button:disabled{opacity:.45}.oms-group-children .oms-order-link{display:block;margin:4px 0}.oms-expand-skus[aria-expanded=true]{color:#703a52;font-weight:600}.oms-product-name{font-weight:600;font-size:13px!important}.oms-product-spec{display:block;font-size:12px;color:#795264;line-height:1.5;margin:3px 0}.oms-product-code{font-size:11px!important;font-weight:400!important}.oms-thumb>span{font-size:10px;white-space:normal;line-height:1.35;text-align:center;padding:2px}.oms-return-products{margin-bottom:10px}
@media(max-width:700px){.oms-group-children{padding:8px}.oms-child-pages{flex-wrap:wrap;gap:8px}.oms-child-row>td{padding:0 4px 8px!important}.oms-group-children .oms-product{min-width:240px}.oms-product-name{font-size:12px!important}}

.oms-product-spec{font-size:13px!important}.oms-product-name{font-size:13px!important}
@media(max-width:600px){#omsGroups>.oms-scroll{overflow:visible}#omsGroups>.oms-scroll>table,#omsGroups>.oms-scroll>table>tbody{display:block;width:100%}#omsGroups>.oms-scroll>table>thead{display:none}#omsGroups>.oms-scroll>table>tbody>tr:not(.oms-child-row){display:flex;flex-wrap:wrap;gap:7px;border-bottom:1px solid #dbe4e9;padding:10px}#omsGroups>.oms-scroll>table>tbody>tr:not(.oms-child-row)>td{flex:1 1 40%;border:0;padding:0;order:3;min-width:0}#omsGroups>.oms-scroll>table>tbody>tr:not(.oms-child-row)>td:first-child,#omsGroups>.oms-scroll>table>tbody>tr:not(.oms-child-row)>td:last-child{flex-basis:100%}#omsGroups>.oms-scroll>table>tbody>tr:not(.oms-child-row)>td:first-child{order:1}#omsGroups>.oms-scroll>table>tbody>tr:not(.oms-child-row)>td:last-child{order:2}#omsGroups .oms-product{min-width:0!important;max-width:none}#omsGroups .oms-child-row:not([hidden]),#omsGroups .oms-child-row>td{display:block;width:100%;box-sizing:border-box}#omsGroups .oms-child-row>td{padding:5px}.oms-group-children .oms-scroll{overflow:visible}.oms-group-children table,.oms-group-children tbody{display:block;width:100%}.oms-group-children thead{display:none}.oms-group-children tbody>tr{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid #d8e3e9;margin-bottom:8px}.oms-group-children tbody>tr>td{flex:1 1 40%;min-width:0;order:3;border:0;padding:0}.oms-group-children tbody>tr>td:first-child{flex-basis:100%;order:1}.oms-group-children tbody>tr>td:last-child{flex-basis:100%;order:2}.oms-group-children .oms-product-name{display:block!important}}
.oms-composition>.oms-parent-scope{margin:4px 0 6px}
@media(min-width:701px){.oms-composition .oms-scroll td{padding-top:6px;padding-bottom:6px}}

/* Aftersales identity: these tables do not request product images. */
.oms-aftersales-observed .oms-aftersales-identity[data-image-status="not_requested"] .oms-product{flex-direction:column-reverse;align-items:flex-start;gap:3px}
.oms-aftersales-observed .oms-aftersales-identity[data-image-status="not_requested"] .oms-product-media{flex:none;width:auto;max-width:100%;align-items:flex-start}
.oms-aftersales-observed .oms-aftersales-identity[data-image-status="not_requested"] .oms-thumb{display:none}
.oms-aftersales-observed .oms-aftersales-identity[data-image-status="not_requested"] .oms-image-label{max-width:none;text-align:left;white-space:normal}
.oms-aftersales-observed .oms-product-text{white-space:normal}

/* OMS workflow: status measures and scope remain visible in every viewport. */
#omsView .oms-shipping-card>small{display:block;font-size:11px;color:#725c65}
#omsView .oms-filter-main{grid-template-columns:minmax(200px,2fr) minmax(100px,.8fr) minmax(145px,1fr) repeat(2,minmax(130px,1fr)) auto;gap:10px;align-items:end}
#omsView .oms-mode-hint{align-self:center;font-size:12px;color:#775566}
#omsView .oms-shipping-card{min-height:96px;gap:4px}
#omsView .oms-order-summary{margin-bottom:14px}
#omsView .oms-notice button{margin-left:9px}
#omsView .oms-stage-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
#omsView .oms-stage-facts article{border:1px solid #e4d8dd;border-radius:7px;padding:12px;min-width:0}
#omsView .oms-stage-facts h4{margin:0 0 8px}
#omsView .oms-stage-status{font-size:12px;color:#735c66;margin:5px 0}
#omsView .oms-stage-facts .oms-scroll{max-height:260px}
@media(max-width:1000px){#omsView .oms-filter-main{grid-template-columns:minmax(170px,2fr) minmax(90px,1fr) minmax(135px,1fr)}#omsView .oms-filter-main>.oms-product-picker{grid-row:auto;grid-column:auto}#omsView .oms-filter-main>.oms-primary{grid-column:auto}}
@media(max-width:700px){#omsView .oms-filter-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#omsView .oms-filter-main>.oms-product-picker{grid-column:1/-1}#omsView .oms-stage-facts{grid-template-columns:1fr}#omsView .oms-shipping-card>small{font-size:11px}#omsView .oms-shipping-card{min-height:98px}#omsView .oms-filter-main .oms-product-picker>input{font-size:13px}}

/* Retain source time while removing repeated titles before the operating controls. */
#omsView .oms-hero{margin-bottom:5px;min-height:0;justify-content:flex-end}#omsView .oms-hero h2{display:none}#omsView .oms-hero .oms-source-tag{display:none}#omsView .oms-panel-heading{margin-bottom:8px}#omsView .oms-panel-heading h3{font-size:13px;margin:0}#omsView .oms-shipping-card>.oms-empty-heads{font-size:10px}
@media(max-width:700px){#omsView .oms-filter{padding:9px}#omsView .oms-filter-main{gap:6px}#omsView .oms-filter-footer{margin-top:3px}#omsView .oms-workspace-tabs button{padding-block:8px}#omsView .oms-hero{margin-bottom:0}#omsView .oms-shipping-card{min-height:93px}}

#omsView .oms-date-presets[hidden]{display:none!important}

/* Independent product core: local optional-section failures never cover the table. */
#omsView .oms-quantity-coverage{padding:7px 9px;margin:6px 0 9px;background:#f8f4f5;border:1px solid #e8dfe2;border-radius:6px;font-size:12px;line-height:1.5}
#omsView .oms-quantity-coverage>div{display:flex;flex-wrap:wrap;gap:5px 18px}
#omsView .oms-quantity-coverage span>small{margin-left:5px}
#omsView .oms-quantity-coverage>small{display:block;color:#75646a;font-size:11px;margin-top:3px}
#omsView .oms-section-status{font-size:12px;color:#75646a;margin:9px 0}
#omsView [data-oms-section-host]{min-width:0}
@media(max-width:700px){#omsView .oms-quantity-coverage>div{gap:4px}#omsView .oms-quantity-coverage>div>span{flex-basis:100%}}

/* AF execution-domain selection; no new main tab or business metric. */
#omsView .oms-aftersales-domains{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:0 0 12px}
#omsView .oms-aftersales-domains>small{font-size:12px;color:#8a7f81}
#omsView .oms-aftersales-domains button[aria-busy=true]{opacity:.7}
#omsView .oms-stage-facts[data-domain-count="1"]{grid-template-columns:minmax(0,1fr)}
