:root {
  color-scheme: light;
  --bg: #f3f6f6;
  --panel: #ffffff;
  --line: #dbe3e5;
  --text: #25373e;
  --muted: #5f737c;
  --blue: #256e78;
  --orange: #f97316;
  --green: #0f9f6e;
  --red: #d92d20;
  --shadow: 0 6px 20px rgba(28, 55, 61, 0.06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: var(--bg);
  color: var(--text);
}
button, input, select { font: inherit; }
.shell {
  width: min(1760px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 36px;
}
.topbar, .syncbar, .filters, .notes {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 8px 8px 0 0;
}
h1 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: 0;
}
p { margin: 0; color: var(--muted); line-height: 1.5; }
.actions, .syncbar, .filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
button, .fileBtn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
  min-height: 38px;
}
button:hover, .fileBtn:hover { border-color: var(--blue); color: var(--blue); }
button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
button:disabled { opacity: .55; cursor: wait; }
.fileBtn input { display: none; }
.syncbar {
  padding: 12px 20px;
  border-top: 0;
  box-shadow: none;
  border-radius: 0 0 8px 8px;
}
#syncMsg {
  color: var(--muted);
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.card b {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}
.card span {
  color: var(--muted);
  font-size: 13px;
}
.filters {
  padding: 12px;
  margin-bottom: 12px;
}
.filters input, .filters select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
}
.filters input { flex: 1 1 360px; }
.shopPicker { position: relative; min-width: 220px; max-width: 100%; background: white; }
.shopPicker summary { min-height: 38px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; overflow-wrap: anywhere; }
.shopMenu { position: absolute; right: 0; top: calc(100% + 4px); width: min(330px, calc(100vw - 48px)); z-index: 5; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: var(--shadow); padding: 12px; }
#shopOptions label { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; overflow-wrap: anywhere; }
#shopOptions input { flex: none; width: 16px; height: 16px; margin: 0; }
.card .metricDetail { display: block; margin-top: 7px; font-size: 12px; color: #176746; }
.tableWrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 330px);
}
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 8px 0; color: var(--muted); font-size: 14px; }
.pagination button { width: 38px; height: 38px; padding: 0; }
.pagination #exportFilteredBtn { width: auto; padding: 0 14px; flex-shrink: 0; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1320px;
}
th, td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
th {
  position: sticky;
  top: 0;
  background: #eef3f9;
  z-index: 1;
  color: #344054;
}
.muted { color: var(--muted); font-size: 13px; }
.sortButton { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 24px; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font-weight: 700; text-align: left; white-space: nowrap; }
.sortIcon { display: inline-block; width: 14px; flex: 0 0 14px; color: var(--muted); }
th[aria-sort="ascending"] .sortIcon, th[aria-sort="descending"] .sortIcon { color: var(--blue); }
.sortButton:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
#shopFilter { max-width: 100%; }
.sku { color: #344054; max-width: 260px; overflow-wrap: anywhere; }
.title { max-width: 360px; line-height: 1.4; }
.productCell { display: flex; align-items: flex-start; gap: 10px; min-width: 230px; }
.productCell > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.productThumb { width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: white; }
.productThumb img { display: block; width: 56px; height: 56px; object-fit: contain; transition: transform .15s ease; }
.productThumb:hover img { transform: scale(1.18); }
.productThumb > span { font-size: 12px; color: var(--muted); }
.num { font-weight: 700; }
dialog { width: min(440px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
dialog::backdrop { background: rgb(0 0 0 / 30%); }
dialog h2 { margin: 0 0 18px; font-size: 20px; }
dialog label { display: grid; gap: 6px; margin-bottom: 16px; }
dialog input, dialog select { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 4px; }
dialog .actions { justify-content: flex-end; }
.ageCell { white-space: nowrap; font-size: 18px; color: #176746; }
.supplyCell { min-width: 155px; }
.warehousePendingCell { min-width: 125px; font-variant-numeric: tabular-nums; }
.volumeCell { min-width: 135px; font-variant-numeric: tabular-nums; }
.supplyCell .muted { margin-top: 3px; white-space: nowrap; }
.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
}
.same { background: var(--green); }
.warn { background: var(--orange); }
.bad { background: var(--red); }
.info { background: var(--blue); }
.empty {
  text-align: center;
  color: var(--muted);
  padding: 42px;
}
.notes {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
}
.notes h2 { margin: 0 0 8px; font-size: 18px; }
.autoBar { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 12px 0; font-size: 13px; }
.autoBar summary { cursor: pointer; font-weight: 600; }
.autoBar form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; }
.autoBar label { display: inline-flex; align-items: center; gap: 6px; }
.autoBar select { height: 36px; padding: 6px 10px; border: 1px solid var(--line, #d2ddeb); border-radius: 4px; background: white; font: inherit; }
.autoBar input[type="checkbox"] { width: 16px; height: 16px; padding: 0; flex: none; }
.autoBar fieldset { display: flex; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; margin: 0; }
.autoBar legend { padding: 0 0 8px; }
#autoStatus { color: var(--muted); overflow-wrap: anywhere; flex: 1 1 260px; }
.card .periodChange { display: block; font-size: 12px; line-height: 1.5; margin-top: 6px; overflow-wrap: anywhere; }
.card .periodChange.up { color: #c62828; }
.card .periodChange.down { color: #137443; }
.card .periodChange.neutral { color: #63748b; }
pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 980px) {
  .shopPicker { flex: 1 1 100%; }
  .shopMenu { left: 0; right: auto; width: 100%; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes { grid-template-columns: 1fr; }
  .tableWrap { max-height: none; }
}
.card.transitionCard{font:inherit;text-align:left;cursor:pointer;color:#fff;border:2px solid transparent;min-width:0;white-space:normal}
.card.metricCard{font:inherit;text-align:left;cursor:pointer;min-width:0;white-space:normal;color:var(--text)}
.cards .card {
  --card-accent:#536779;
  --card-start:#f4f7f9;
  --card-end:#eaf0f4;
  border:1px solid color-mix(in srgb,var(--card-accent) 22%,white);
  border-top:3px solid color-mix(in srgb,var(--card-accent) 65%,white);
  background:linear-gradient(145deg,var(--card-start),var(--card-end));
  box-shadow:inset 0 1px 0 rgb(255 255 255 / 65%),0 3px 7px rgb(25 40 50 / 3%),0 10px 24px rgb(25 40 50 / 5%);
  transition:box-shadow 160ms ease,border-color 160ms ease;
  color:#20323e;
}
.cards .card b{color:var(--card-accent)}
.cards .card span{color:#475c6a}
.cards .card .metricDetail{color:#225b4c}
.cards .card .syncTime{color:#536675}
.cards .card[data-product-view="all"]{--card-accent:#28658b;--card-start:#f0f8fc;--card-end:#dfedf6}
.cards .card[data-product-view="shops"]{--card-accent:#556574;--card-start:#fafcfd;--card-end:#edf1f5}
.cards .card[data-product-view="today"]{--card-accent:#216c66;--card-start:#effaf6;--card-end:#ddefe8}
.cards .card[data-product-view="week"]{--card-accent:#31628f;--card-start:#f2f7ff;--card-end:#e3ecf9}
.cards .card[data-product-view="month"]{--card-accent:#685883;--card-start:#f8f5fb;--card-end:#eee7f4}
.cards .card[data-product-view="inventory"]{--card-accent:#326e70;--card-start:#f1faf9;--card-end:#dfefef}
.cards .card[data-product-view="missing"]{--card-accent:#80601f;--card-start:#fffaf0;--card-end:#f4ead2}
.cards .card[data-product-view="zero"]{--card-accent:#956047;--card-start:#fff6f1;--card-end:#f5e4db}
.cards .card[data-product-view="lowDays"]{--card-accent:#9b3c4c;--card-start:#fff4f5;--card-end:#f5dde2}
.cards .card[data-product-view="recent"]{--card-accent:#16644f;--card-start:#287d63;--card-end:#18604b}
.cards .card[data-product-view="abnormal"]{--card-accent:#9d3344;--card-start:#bf4b58;--card-end:#9e3041}
.cards .card[data-product-view="overstock"]{--card-accent:#993d3a;--card-start:#bd5952;--card-end:#9d3836}
.cards .card:is([data-product-view="recent"],[data-product-view="abnormal"],[data-product-view="overstock"]){box-shadow:inset 0 1px 0 rgb(255 255 255 / 16%),0 8px 20px color-mix(in srgb,var(--card-accent) 16%,transparent)}
.cards .card:is([data-product-view="recent"],[data-product-view="abnormal"],[data-product-view="overstock"]) :is(b,span){color:#fff}
.cards .card:is([data-product-view="recent"],[data-product-view="abnormal"],[data-product-view="overstock"]) .syncTime{color:#fff;opacity:.92}
.cards .card .periodChange.up{color:#ad253b}
.cards .card .periodChange.down{color:#176640}
.cards .card .periodChange.neutral{color:#536675}
.cards .card:hover{border-color:var(--card-accent);box-shadow:inset 0 1px 0 rgb(255 255 255 / 35%),0 10px 24px color-mix(in srgb,var(--card-accent) 18%,transparent)}
.cards .card[aria-pressed="true"],.cards .card:focus-visible{outline:2px solid var(--card-accent);outline-offset:3px;box-shadow:0 0 0 3px white,0 8px 24px color-mix(in srgb,var(--card-accent) 20%,transparent)}
@media(prefers-reduced-motion:reduce){.cards .card{transition:none}}
.card .syncTime { display:block; margin-top:7px; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
#autoForm fieldset { display:grid; grid-template-columns:repeat(2,minmax(250px,1fr)); gap:10px; }
.moduleSchedule { display:grid;grid-template-columns:100px 120px minmax(110px,1fr);align-items:center;gap:8px; }
.moduleSchedule input[type="number"] { width:72px; padding:6px; }
.moduleSchedule span {font-size:12px;color:var(--muted);}
@media(max-width:900px) { #autoForm fieldset {grid-template-columns:1fr;} .moduleSchedule {grid-template-columns:95px 115px;}.moduleSchedule span {grid-column:1 / -1;} }
.transitionDetail{font-size:12px}.statusAbnormal{font-size:12px;color:#b8323e;margin-top:6px}.statusRecent{font-size:12px;color:#17784d;margin-top:6px}.statusPending{font-size:12px;color:#996b16;margin-top:6px}

/* Operational bands stay quiet; color is reserved for metrics and exceptions. */
.shell{width:min(1840px,calc(100% - 48px));padding-top:0}
.topbar{padding:24px 0 18px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}
.brandBlock{min-width:0;padding-left:14px;border-left:4px solid #286e73}
h1{font-size:23px;font-weight:650;margin-bottom:7px;line-height:1.3}
#chromeStatus{font-size:12px;overflow-wrap:anywhere;max-width:640px}
.actions{gap:8px}
button,.fileBtn{font-size:13px;min-height:36px;padding:8px 12px;border-radius:5px;transition:background 140ms ease,border-color 140ms ease,box-shadow 140ms ease}
button:not(.card):not(.sortButton):hover,.fileBtn:hover{background:#edf5f5;border-color:#7ea6ac;color:#245b64}
button.primary{background:#286e78;border-color:#286e78;box-shadow:0 2px 4px rgb(24 75 85 / 12%)}
button.primary:hover{background:#205c65!important;color:#fff!important}
button:disabled{opacity:.48;cursor:default}
:is(button,input,select,summary,.fileBtn):focus-visible{outline:2px solid #357f89;outline-offset:3px}
input[type="checkbox"]{accent-color:#286e78}
.syncbar{padding:14px 0 12px;background:transparent;border:0;border-radius:0;gap:8px;align-items:center}
.syncbar button{flex:0 0 auto}
#syncMsg{flex:1 1 280px;min-width:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere;padding-left:4px}
.autoBar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 20px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);align-items:start}
.autoBar summary{color:#36555e;line-height:1.6;font-size:13px}
.autoBar:has(details[open]){grid-template-columns:1fr}
.autoBar:has(details[open]) #autoStatus{padding-top:8px;border-top:1px dashed var(--line)}
#autoStatus{font-size:12px;line-height:1.6;min-width:0}
#autoForm{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:18px;align-items:start;padding:18px 0 4px}
#autoForm>label{padding-top:28px}
#autoForm fieldset{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;min-width:0}
#autoForm legend{color:var(--muted);font-size:12px;padding-bottom:8px}
.moduleSchedule{grid-template-columns:minmax(90px,1fr) 110px minmax(90px,1fr);gap:8px;padding:9px 0;border-bottom:1px solid #e3e9eb;min-width:0}
.moduleSchedule input[type="number"]{width:65px;height:32px;border:1px solid #cbd7da;border-radius:4px;background:#fff;padding:5px 8px}
.moduleSchedule span{line-height:1.4}
#autoForm>button{margin-top:28px;background:#e7f0ef;color:#245b61;border-color:#b8cfce}
.cards{margin:20px 0;gap:12px}
.cards .card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:16px;min-height:136px;border-radius:7px;line-height:1.45}
.cards .card b{font-size:26px;line-height:1.15;margin-bottom:7px;font-weight:650}
.cards .card>span{display:block;text-align:left}
.cards .card .metricDetail,.cards .card .syncTime{font-size:11px;line-height:1.55;margin-top:5px}
.cards .card .periodChange{font-size:11px}
.filters{padding:14px 0;margin:0;background:transparent;border:0;border-top:1px solid var(--line);box-shadow:none;gap:10px}
.filters :is(input,select),.shopPicker summary{height:38px;border-color:#cfdadd;font-size:13px}
.filters input{flex-basis:380px;background:#fff;padding-left:13px}
.filters select{min-width:150px}
.shopPicker{border-radius:5px}
.pagination{margin:0;padding:12px 0;gap:8px;font-size:12px;border-top:1px solid var(--line)}
.pagination h2{font-size:15px;font-weight:650;margin:0 auto 0 0;color:#294b54}
.pagination #pageStatus{margin:0 8px}
.pagination #exportFilteredBtn{background:#eaf2f1;color:#285c60;border-color:#c6d9d7}
.pagination button{height:32px;min-height:32px;width:32px}
.tableWrap{border-radius:5px;box-shadow:0 3px 12px rgb(28 55 61 / 4%);max-height:68vh;min-height:180px;scrollbar-width:thin;scrollbar-color:#bccbd0 #f2f6f6}
table{min-width:1390px}
th,td{font-size:13px;padding:13px 12px;border-bottom-color:#e5ebed}
th{background:#eaf0f1;color:#34545d;padding-top:12px;padding-bottom:12px;font-size:12px;box-shadow:inset 0 -1px #ccdadd}
tbody tr{background:#fff}
tbody tr:nth-child(even){background:#f8fafb}
tbody tr:hover{background:#edf5f5}
td:first-child{min-width:190px;font-size:12px;line-height:1.5}
.muted{font-size:11px;line-height:1.55;color:#607580}
.sku{font-size:12px;line-height:1.5;color:#4c616c}
.title{line-height:1.6}
.productCell{gap:12px;min-width:240px}
.productThumb{width:64px;height:64px;flex-basis:64px;border-color:#e1e8e9;border-radius:5px}
.productThumb img{width:54px;height:54px}
.ageCell{font-size:16px;color:#286756}
.sortButton{font-size:12px;font-weight:600;gap:4px;white-space:normal;line-height:1.5}
.sortLabel{max-width:7em;overflow-wrap:anywhere;min-width:0;white-space:pre-line}
.tableWrap table{min-width:2050px}
.tableWrap .num{min-width:78px}
.tableWrap .ageCell{min-width:78px}
.tableWrap .fbaDaysCell{min-width:108px}
.tableWrap td[data-column-id="inventory"]{min-width:108px}
.purchaseCostCell{min-width:100px;line-height:1.75;font-variant-numeric:tabular-nums}
.copyPageAsins{display:block;width:110px;min-height:25px;height:25px;margin-top:5px;padding:2px 6px;font-size:11px;font-weight:400;line-height:19px;background:#f7fbfb;color:#28636c;border:1px solid #c3d6d9;border-radius:4px;white-space:nowrap}
#bindingImportDialog{width:min(780px,calc(100vw - 32px));max-height:85vh;overflow:auto}
#bindingImportDialog>label{display:block;margin:14px 0}
#bindingImportDialog .actions{margin:12px 0;align-items:center}
#bindingImportStatus{white-space:pre-wrap;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.bindingPreview{max-height:35vh;overflow:auto;margin:12px 0}
.bindingPreview table{min-width:480px}
.sortIcon{flex-shrink:0}
.priceCell{min-width:132px;line-height:1.75;font-variant-numeric:tabular-nums}
.profitCell{min-width:84px;font-variant-numeric:tabular-nums}
.profitCell .muted{max-width:7em;white-space:normal}
.profitLoss{color:#b13245}
.profitGain{color:#216e59}
.cards .card[data-product-view="noPromotion"]{--card-accent:#936b20;--card-start:#fffaf0;--card-end:#f7ecd0}
.cards .card[data-product-view="loss"]{--card-accent:#a33445;--card-start:#ba4455;--card-end:#932e40}
.cards .card[data-product-view="loss"] :is(b,span){color:#fff}
.sortIcon{opacity:.7;width:12px;flex-basis:12px}
th[aria-sort]:not([aria-sort="none"]){background:#e1eeef}
.auditPanel{margin-top:20px;border-top:1px solid var(--line);padding:14px 0;color:#58717b}
.auditPanel>summary{cursor:pointer;font-size:12px;font-weight:600}
.notes{padding:16px 0 0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;gap:28px;font-size:12px}
.notes h2{font-size:13px;color:#38565e;margin-bottom:10px}
.notes p{margin-bottom:8px;line-height:1.75}
.notes pre{font-size:11px;line-height:1.8;max-height:240px;overflow:auto;overflow-wrap:anywhere}
@media(max-width:1400px){#autoForm{grid-template-columns:1fr}#autoForm>label,#autoForm>button{padding-top:0;margin-top:0}#autoForm>button{justify-self:start}.cards .card{padding:14px}}
@media(max-width:1100px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{align-items:flex-start;flex-direction:column}.moduleSchedule{grid-template-columns:minmax(90px,1fr) 110px}.moduleSchedule span{grid-column:1/-1}.filters input{flex-basis:100%}}
@media(max-width:680px){.shell{width:calc(100% - 28px)}.topbar{padding:20px 0 14px}h1{font-size:21px}.brandBlock{padding-left:10px}.topbar .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.fileBtn{text-align:center}.syncbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.syncbar button{min-width:0;padding:8px 6px}#syncMsg{grid-column:1/-1;padding:0}.autoBar{grid-template-columns:1fr;gap:8px}#autoForm fieldset{grid-template-columns:1fr}.moduleSchedule{grid-template-columns:minmax(90px,1fr) 110px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.cards .card{min-height:142px;padding:12px}.cards .card b{font-size:24px}.cards .card span{overflow-wrap:anywhere}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filters #search,.shopPicker{grid-column:1/-1;min-width:0;width:100%}.filters select{min-width:0;width:100%;padding:0 6px;font-size:12px}.pagination{flex-wrap:wrap}.pagination h2{flex:1 1 calc(100% - 130px)}.pagination #pageStatus{margin-left:auto}.tableWrap{max-height:70vh}.notes{grid-template-columns:1fr}.shopMenu{width:100%}}
@media(prefers-reduced-motion:reduce){button,.fileBtn,.productThumb img{transition:none}}
.cards{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:16px 0}
.promotionStores{margin:12px 0;color:#365761;font-size:12px}.promotionStores summary{cursor:pointer;font-weight:600}.promotionStores>div{overflow-x:auto;margin-top:10px}.promotionStores table{width:100%;min-width:1050px;border-collapse:collapse;text-align:left}.promotionStores th,.promotionStores td{padding:8px 10px;border-bottom:1px solid #d4e1e4;white-space:nowrap}.promotionStores th{background:#e8f0f2}
.cards .card{min-height:156px;padding:13px;border-radius:6px;box-shadow:inset 0 1px 0 rgb(255 255 255 / 55%),0 3px 10px rgb(32 53 61 / 7%)}
.cards .card b{font-size:27px;line-height:1.15;margin-bottom:6px;font-weight:700;font-variant-numeric:tabular-nums}
.cards .card>span{font-size:14px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.cards .card .metricDetail,.cards .card .syncTime,.cards .card .periodChange{font-size:11px;font-weight:400;line-height:1.5;margin-top:3px}
.cards .card[data-product-view="all"]{--card-accent:#225f86;--card-start:#eff8fe;--card-end:#dcecf6}
.cards .card[data-product-view="today"]{--card-accent:#1b6960;--card-start:#eefaf5;--card-end:#dcefe6}
.cards .card[data-product-view="week"]{--card-accent:#305c8b;--card-start:#f1f6fe;--card-end:#e0eaf8}
.cards .card[data-product-view="month"]{--card-accent:#69557e;--card-start:#f8f4fc;--card-end:#ede5f3}
.cards .card[data-product-view="inventory"]{--card-accent:#28676c;--card-start:#eef9fa;--card-end:#dceef0}
.cards .card[data-product-view="recent"]{--card-accent:#185d4b;--card-start:#24765f;--card-end:#195b49}
.cards .card[data-product-view="loss"]{--card-accent:#912b43;--card-start:#ad3c53;--card-end:#8e2b43}
.cards .card[data-product-view="abnormal"]{--card-accent:#982f3f;--card-start:#b3404e;--card-end:#982f3f}
.cards .card[data-product-view="overstock"]{--card-accent:#973e3b;--card-start:#ae4c47;--card-end:#963c3a}
.cards .card[data-product-view="lowDays"]{--card-accent:#9b344d;--card-start:#fff3f6;--card-end:#f3dce4}
.cards .card[data-product-view="noPromotion"]{--card-accent:#86601b;--card-start:#fff9eb;--card-end:#f5e9c9}
.cards .card[data-product-view="skuUnmatched"]{--card-accent:#795821;--card-start:#faf5e9;--card-end:#ece3cd}
.cards .card[data-product-view="missing"]{--card-accent:#766035;--card-start:#fbf8ef;--card-end:#eee7d6}
@media(max-width:1600px){.cards{grid-template-columns:repeat(7,minmax(210px,1fr));overflow-x:auto;padding:5px;margin:11px -5px;scrollbar-width:thin}.cards .card{padding:12px}}
.ageCell .frontQueryWarning{white-space:normal;max-width:10em;overflow-wrap:anywhere;}
.tableWrap .copyFieldButton{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;margin-left:4px;padding:2px;width:19px;min-width:19px;max-width:19px;height:19px;min-height:19px;max-height:19px;border:0;border-radius:2px;background:transparent;color:#28676c;font-size:0;line-height:1;vertical-align:middle;cursor:pointer;flex:none}
.copyFieldButton .copyGlyph{display:block;width:14px;height:14px;background:currentColor;mask:url('./copy.svg') center/contain no-repeat;-webkit-mask:url('./copy.svg') center/contain no-repeat;pointer-events:none}
.copyFieldButton:hover{background:#e5f2ef}
.copyFieldButton:focus-visible{outline:2px solid #28676c;outline-offset:1px}
.copyFieldButton[data-copy-feedback="success"]{background:#d7eee3;color:#176844}
.copyFieldButton[data-copy-feedback="failed"]{background:#ffe3df;color:#a52419}
.urgentStockNotice{margin-top:8px;color:#d92d20;font-size:13px;line-height:1.6;white-space:nowrap}
.urgentSyncTime{font-size:12px;line-height:1.6}

.topbar{align-items:center}.brandBlock h1{font-size:24px}.freshness{display:flex;flex-wrap:wrap;gap:8px 24px;padding:14px 0;color:#315a55;border-bottom:1px solid #ccdcd9;font-size:13px}.freshness strong{color:#186c57}.freshness.stale strong{color:#a05b16}.freshness span{overflow-wrap:anywhere}.moduleTimes{padding:12px 0;color:#425d67;font-size:13px}.moduleTimes summary{cursor:pointer}.moduleTimes>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;padding:12px 0}.moduleTimes>div>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #d9e2e5;padding-bottom:6px}.cards{padding:12px 0}.card{min-height:86px!important;padding:12px 14px!important}.card>b{font-size:26px!important}.card>span:not(:nth-child(2)){display:none!important}.card>span:nth-child(2){font-size:14px!important}.auditPanel .notes>div>p:last-child{display:none}.shell{max-width:none}.tableWrap{max-height:65vh}.productThumb img{object-fit:contain}#loadMessage{color:#5c6872}.tableWrap td{overflow-wrap:anywhere}button:focus-visible,summary:focus-visible{outline:2px solid #176985;outline-offset:3px}@media(max-width:600px){.topbar{align-items:flex-start}.brandBlock h1{font-size:21px}.freshness{display:grid;gap:8px}.moduleTimes>div{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.actions{flex-shrink:0}.shell{padding:12px}.tableWrap{max-height:65vh}}
.cardSourceTimes{display:grid;gap:4px;margin-top:9px;font-size:11px;line-height:1.5;font-weight:400;white-space:normal;overflow-wrap:anywhere;color:inherit}.cards .card{justify-content:flex-start;align-self:stretch}.cardSourceTimes span{display:block}
.asinLink{color:#176985;text-decoration:underline;text-underline-offset:3px}
.asinLink:hover{color:#104c61}
.asinLink:focus-visible{outline:2px solid #176985;outline-offset:3px}
.filters .backendHistoryFilter,.filters .campaignPoolFilter { display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;min-height:38px; }
.filters .backendHistoryFilter input,.filters .campaignPoolFilter input { flex:none;width:16px;height:16px;margin:0;padding:0;accent-color:#246f79; }
@media(max-width:680px) { .filters .backendHistoryFilter,.filters .campaignPoolFilter {grid-column:1/-1;white-space:normal;} }
.priceCell .backendPriceHistory {overflow-wrap:anywhere;}
#campaignPoolStatus {grid-column:1/-1;margin:0;font-size:12px;color:#425d67;overflow-wrap:anywhere;}
#campaignPoolStatus:empty {display:none;}
.campaignPoolBadge {margin-top:6px;font-size:12px;line-height:1.5;color:#246f79;}
.campaignPoolBadge span,.campaignPoolBadge time {display:block;}
.tableWrap .valueAlert {color:#c62828;}
#checkUpdate{background:#177b80;color:#fff;border:1px solid #177b80;font-weight:700;padding:10px 20px}
#checkUpdate:hover:not(:disabled){background:#11686d;border-color:#11686d}
#checkUpdate:focus-visible{outline:3px solid #77b9bc;outline-offset:2px}
#checkUpdate:disabled{opacity:.65}
.companyScope{display:flex;align-items:center;gap:8px;font-size:13px}
.companyScope[hidden]{display:none}
#companySelect{min-width:160px;max-width:100%;padding:10px 12px;border:1px solid #b4cece;background:#fff;border-radius:6px;color:#193b42;font:inherit}
@media(max-width:680px){.companyScope{width:100%}#companySelect{flex:1;min-width:0}#checkUpdate{min-height:40px;padding:8px 16px}}

/* Shared presentation for the local and read-only dashboards. */
.tableWrap table{min-width:2280px}
.tableWrap th.hasFilteredTotal{min-width:172px;vertical-align:top}
.filteredTotal{margin-top:9px;font-size:12px;line-height:1.65;font-weight:400;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.filteredTotalValue{font-size:13px;font-weight:700;color:#284d50}
.filteredTotalProfit{margin-top:2px;color:#42645c}
.filteredTotalProfit.profitLoss{color:#b13245}
.filteredTotalMissing{font-size:11px;color:#846628}
.tableWrap .unitGrossCell{min-width:112px;font-variant-numeric:tabular-nums}
.shell{padding-left:0;padding-right:0}
.cards#cards{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:284px;gap:12px;margin:20px 0;padding:0;overflow:visible}
#cards.cards>.card{--card-accent:#53615f;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;min-height:0!important;height:100%;box-sizing:border-box;padding:16px!important;border:1px solid #dce3e1;border-top:3px solid var(--card-accent);border-radius:6px;background:#fff;box-shadow:0 2px 6px rgb(28 44 39 / 4%);text-align:left;line-height:1.45;transition:background .15s,border-color .15s,box-shadow .15s}
#cards.cards>.card:is([data-product-view="today"],[data-product-view="week"],[data-product-view="month"],[data-product-view="recent"]){--card-accent:#38796b}
#cards.cards>.card:is([data-product-view="noPromotion"],[data-product-view="loss"],[data-product-view="lowDays"],[data-product-view="overstock"],[data-product-view="abnormal"],[data-product-view="skuUnmatched"],[data-product-view="missing"]){--card-accent:#9a773c}
#cards.cards>.card>b{color:#253b35;font-size:28px!important;line-height:1.15;margin:0 0 6px;font-weight:700;font-variant-numeric:tabular-nums}
#cards.cards>.card>span{display:block!important;color:#4c5d57;font-size:12px;font-weight:400;line-height:1.55;margin-top:3px;overflow-wrap:anywhere}
#cards.cards>.card>span:nth-child(2){color:#283d35;font-size:15px!important;font-weight:600;margin:0 0 8px}
#cards.cards>.card .metricDetail{color:#56665f}
#cards.cards>.card .periodChange.up{color:#965427}
#cards.cards>.card .periodChange.down{color:#28765d}
#cards.cards>.card .periodChange.neutral{color:#64716b}
#cards.cards>.card .cardSourceTimes{display:grid;gap:3px;margin-top:auto;padding-top:10px;border-top:1px solid #edf0ee;font-size:11px;line-height:1.5;font-weight:400;color:#64736c}
#cards.cards>.card .cardSourceTimes>span{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 4px;color:inherit}
#cards.cards>.card .cardSourceTimes span,#cards.cards>.card .cardSourceTimes time{color:inherit;font-weight:400;opacity:1}
#cards.cards>.card .cardSourceTimes time{font-variant-numeric:tabular-nums;white-space:nowrap}
#cards.cards>.card .cardSourceTimes .maintenanceNote{color:#8a632e}
#cards.cards>.card:hover{background:#f8faf9;border-color:var(--card-accent);box-shadow:0 4px 12px rgb(28 44 39 / 8%)}
#cards.cards>.card[aria-pressed="true"]{background:#eff5f1;border-color:#4b7664;outline:2px solid #4b7664;outline-offset:2px;box-shadow:none}
#cards.cards>.card:focus-visible{outline:2px solid #3c705c;outline-offset:3px;box-shadow:none}
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.filters #search{flex:1 1 320px;min-width:160px}
.filters .inventoryRange{display:flex;align-items:center;flex:0 1 auto;gap:8px;min-width:0;flex-wrap:wrap;color:#465c52}
.filters .inventoryRange>span:first-child{font-size:13px;font-weight:600}
.filters .inventoryRange input{flex:0 0 106px;min-width:0;width:106px;max-width:100%;height:38px}
.filters .inventoryRange input[aria-invalid="true"]{border-color:#a65532}
#inventoryRangeError{flex-basis:100%;color:#9a442c;font-size:12px;margin:0}
#inventoryRangeError:empty{display:none}
@media(max-width:1700px){.cards#cards{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1250px){.cards#cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.cards#cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.cards#cards{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:300px}.filters #search,.filters .shopPicker,.filters .inventoryRange{flex-basis:100%;width:100%;max-width:100%;min-width:0}.filters .inventoryRange input{flex:1 1 70px;width:70px}.filters .inventoryRange{flex-wrap:nowrap}}
@media(max-width:480px){.cards#cards{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:284px;gap:10px}#cards.cards>.card{padding:12px!important}#cards.cards>.card>span{font-size:11px}.filters .inventoryRange{gap:6px}}
@media(prefers-reduced-motion:reduce){#cards.cards>.card{transition:none}}

[hidden]{display:none!important}.loginPanel{max-width:360px;margin:80px auto;padding:0 20px}.loginPanel h1{font-size:24px;margin-bottom:28px}.loginPanel form{display:grid;gap:20px}.loginPanel label{display:grid;gap:8px}.loginPanel input{box-sizing:border-box;width:100%;height:42px}.loginPanel button{height:42px;background:#246d77;color:white;border:0}.loginPanel [role=status]{min-height:24px;color:#a24029;font-size:13px;overflow-wrap:anywhere}#signedInUser{font-size:13px;color:#506968}@media(max-width:500px){.loginPanel{margin-top:48px}}
.loginPanel .rememberLogin{display:flex;align-items:center;gap:8px;font-size:14px}.loginPanel .rememberLogin input{width:18px;height:18px;flex:none;margin:0;accent-color:#246d77}

.storefrontTags{margin-top:6px;font-size:12px;line-height:1.5;font-weight:400;white-space:normal;min-width:88px}
.storefrontTags .frontTagGroup+.frontTagGroup{margin-top:4px}
.storefrontTags .storefrontTag,.storefrontTags time{display:block;white-space:normal;overflow-wrap:normal}
.storefrontTags .lightning_deal{color:#b42332}
.storefrontTags .crazy_low{color:#176746}
.storefrontTags .best_sellers{color:#22728a}
.storefrontTags .spotlight_deals{color:#c72e36}
.storefrontTags time{color:#697777}

.flashDealStatus { margin-top: 6px; font-size: 12px; line-height: 1.5; font-weight: 400; }
.flashDealStatus span, .flashDealStatus time { display: block; white-space: nowrap; }
.flashDealStatus.yes { color: #b42332; }
.flashDealStatus.no { color: #48635e; }
.flashDealStatus.pending { color: #697777; }
.storefrontPrice,.storefrontReview{margin-top:4px;overflow-wrap:anywhere;white-space:normal}
.frontSubsidy{color:#177253;font-weight:600}
.tableWrap td.priceCell{min-width:225px;white-space:normal}
.fieldSortControls{display:flex;gap:3px;align-items:center;margin-top:6px}
.fieldSort{max-width:145px;min-width:0;width:100%;font:inherit;padding:3px;border:1px solid #c5d6da;border-radius:3px;background:white;color:inherit}
.fieldSortDirection{flex:0 0 24px;width:24px;padding:3px}

.tableWrap th{padding-right:30px;min-width:112px}
.tableWrap th .sortLabel{min-width:48px}
.columnFilterButton{position:absolute;right:3px;top:9px;width:25px;height:28px;padding:0;font-size:18px;color:#60736c;background:transparent;border:1px solid transparent;border-radius:4px}
.columnFilterButton:hover,.columnFilterButton[aria-pressed="true"]{background:#e2efe8;border-color:#83a394;color:#205c45}
.columnFilterChips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.columnFilterChips:empty{display:none}
.filterChip{max-width:100%;white-space:normal;text-align:left;background:#edf5f0;color:#28533e}
.columnFilterDialog{box-sizing:border-box;width:400px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:20px;border:1px solid #b9cbc2;border-radius:8px;background:#fff;color:#293e35;overflow:auto;box-shadow:0 16px 48px #0003}
.columnFilterDialog::backdrop{background:#142d2238}
.columnFilterDialog header,.columnFilterDialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.columnFilterDialog header{margin-bottom:16px}.columnFilterDialog header button{font-size:23px;width:32px;height:32px;padding:0}
.columnFilterDialog label{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-size:13px;min-width:0}
.columnFilterDialog select,.columnFilterDialog input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;height:36px;border:1px solid #bdcdc4;border-radius:4px;padding:6px;background:#fff;color:#253b31;font-size:14px}
.columnRange{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.columnFilterDialog fieldset{border:0;border-top:1px solid #e0e8e3;padding:12px 0;margin:0 0 12px;max-height:230px;overflow:auto}
.columnFilterDialog legend{font-size:12px;color:#5b7065}.columnFilterDialog fieldset label{flex-direction:row;align-items:flex-start;gap:8px;margin:8px 0}.columnFilterDialog fieldset span{flex:1;overflow-wrap:anywhere}.columnFilterDialog small{color:#647a6d}
.columnFilterDialog input[type=checkbox]{accent-color:#377756;width:16px;height:16px;flex-shrink:0}
#columnFilterError{color:#a04131;font-size:13px;margin:0 0 10px}#columnFilterError:empty{display:none}
.columnFilterDialog footer button[type=submit]{background:#286348;color:white;border-color:#286348}
.pagination{flex-wrap:wrap}.pagination .pageJump{box-sizing:border-box;width:66px;min-width:0;height:32px;padding:4px 6px;border:1px solid #c7d5ce;border-radius:4px}
@media(max-width:600px){.pagination{gap:6px}.pagination h2{flex-basis:100%}}

.columnLayoutDialog,.measurementDetails{border:1px solid #cbd7da;border-radius:6px;padding:18px;max-height:85vh;background:#fff;color:#263b40}
.columnLayoutDialog{width:min(440px,calc(100vw - 32px))}
.columnLayoutDialog::backdrop,.measurementDetails::backdrop{background:rgb(15 30 34 / 35%)}
.columnLayoutDialog header,.measurementDetails header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.columnLayoutDialog h2,.measurementDetails h2{font-size:17px;margin:0}
.columnLayoutList{list-style:none;margin:0;padding:0;overflow:auto;max-height:56vh;border-top:1px solid #d7e2e5}
.columnLayoutList li{display:grid;grid-template-columns:32px minmax(0,1fr) 32px 32px;gap:6px;align-items:center;border-bottom:1px solid #e1e8e9;padding:7px 0;min-height:44px}
.columnLayoutList label{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px}
.columnLayoutList input[type="checkbox"]{width:16px;height:16px;flex:0 0 16px;padding:0;margin:0}
.columnLayoutList label span{flex:1;min-width:0;overflow-wrap:anywhere}
.columnLayoutList button{padding:4px;width:30px;height:30px}
.columnDrag{cursor:grab;touch-action:none}
.columnLayoutDialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.columnLayoutDialog .resetLayout{margin-right:auto}
.layoutError{color:#9c3347;font-size:13px}
.measurementDetails{width:min(1320px,calc(100vw - 32px))}
.measurementDetailTable{overflow:auto;max-height:65vh}
.measurementDetailTable table{min-width:1200px}
.measurementDetailTable td{font-size:12px;line-height:1.7}
.syncProgressRow [data-phase=failed]{color:#9c3347}
.syncProgressRow [data-phase=success]{color:#24715d}
@media(max-width:600px){.syncProgressRow{grid-template-columns:100px minmax(0,1fr)}.syncProgressCount,.syncProgressJob{grid-column:1/-1}}
.amazonMeasurementCell { min-width: 215px; }
.measurementSnapshot + .measurementSnapshot{margin-top:8px;padding-top:8px;border-top:1px solid #d7e2e5}
.measurementSnapshot strong{color:#315d63;font-size:12px}
.measurementChangedFields{margin-top:6px;color:#995b14}
th:has([data-sort="amazonWeight"]) { min-width: 215px; }
.localPackageCell,.amazonMeasurementCell{min-width:215px;max-width:260px;overflow-wrap:anywhere;font-size:12px;line-height:1.7}
#productTable [hidden]{display:none!important}
#productTable th:has([data-sort="listingPackageWeight"]),#productTable th:has([data-sort="warehousePackageWeight"]),#productTable th:has([data-sort="amazonWeight"]){min-width:215px}
.tableWrap td[data-column-id="inventory"]{min-width:108px}

.salesCurveLink{border:0;background:none;padding:0;color:#167481;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:700;cursor:pointer}
.salesCurveLink:hover{color:#10535b}
.salesCurveDialog{width:min(840px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #cbd7da;border-radius:6px;padding:16px;color:#263b40;background:#fff;contain:layout paint style}
.salesCurveDialog[open]{position:fixed;inset:50% auto auto 50%;margin:0;transform:translate(-50%,-50%);z-index:1001}
.salesCurveBackdrop{position:fixed;inset:0;background:rgb(15 30 34 / 35%);z-index:1000}
.salesCurveBackdrop[hidden]{display:none}
.salesCurveDialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.salesCurveDialog h2{font-size:17px;margin:0;overflow-wrap:anywhere}
.salesCurveDialog header button{width:32px;height:32px;flex-shrink:0}
.salesCurveDialog p{font-size:12px;line-height:1.6}
.salesCurveDialog svg{width:100%;height:auto;display:block;aspect-ratio:780/230;font-size:12px}
.salesCurveTable{max-height:32vh;overflow:auto}
.salesCurveTable table{width:100%;min-width:480px}
.salesCurveTable th,.salesCurveTable td{padding:7px;font-size:12px;text-align:left}
.salesCurveGraph {position:relative;}
.salesCurveTooltip {position:absolute;max-width:300px;padding:6px 8px;background:#fff;border:1px solid #a4b7bd;border-radius:4px;box-shadow:0 2px 6px #0002;pointer-events:none;font-size:12px;z-index:1;}
.salesCurveGraph svg text {font-size:12px;}
.salesCurveLegend {display:flex;gap:8px;flex-wrap:wrap;margin:8px 0;}
.salesCurveLegend button {display:inline-flex;align-items:center;gap:7px;min-height:32px;}
.salesCurveLegend button[aria-pressed="false"] {opacity:.5;}
.seriesSample {display:inline-block;width:24px;border-top:2px solid #c62828;}
.seriesSample.yesterday {border-top:2px dashed #247e87;}
.salesCurveTooltip {white-space:pre-line;}

.refundShopSummary{border-top:1px solid #d5e1e3;border-bottom:1px solid #d5e1e3;margin:12px 0;padding:12px 0;font-size:13px}.refundShopSummary summary{cursor:pointer}.refundShopRows>div{display:grid;grid-template-columns:minmax(160px,2fr) 80px minmax(200px,2fr) minmax(220px,2fr);gap:12px;padding:10px 0;border-bottom:1px solid #e0e7e8}.activityStateCell,.refundCell{min-width:140px}.employeeView .filteredTotalProfit{display:none!important}@media(max-width:650px){.refundShopRows>div{grid-template-columns:1fr 80px}.refundShopRows span{grid-column:1/-1}}
.employeeFilter{position:relative;min-width:150px;max-width:260px;font-size:13px}.employeeFilter summary{padding:10px;border:1px solid #cbdadd;border-radius:4px;background:white;cursor:pointer;overflow-wrap:anywhere}.employeeOptions{position:absolute;right:0;top:100%;z-index:20;width:240px;max-height:320px;overflow:auto;background:white;border:1px solid #cbdadd;padding:12px;box-shadow:0 3px 12px #0002}.employeeOptions fieldset{display:grid;grid-template-columns:1fr 1fr;border:0;padding:8px 0;gap:10px}.employeeOptions label{display:flex;align-items:center;gap:6px}.employeeOptions input[type=checkbox]{width:16px;height:16px}.employeeOptions input[type=search]{width:100%;height:34px;margin-bottom:8px;border:1px solid #cbdadd;border-radius:4px;padding:6px 8px}.employeeOptions p{font-size:12px;color:var(--muted)}.employeeView .unitGrossCell{color:#9b5419}@media(max-width:650px){.employeeFilter{width:100%;max-width:none}.employeeOptions{left:0;right:auto}}

.eventLane.planned{height:40px;gap:3px;flex-wrap:wrap}.eventLane.planned button{font-size:11px;padding:2px 4px;border-style:dashed;color:#5d6c70}.eventInfo select{max-width:100%;font-size:12px}
.eventLane.flash button{color:#256e78}
.eventLane.campaign button{color:#387446}
.eventTimeline .eventDay{display:contents}.eventTimeline .eventDay time{padding:8px 4px;margin:0;border-right:1px solid #d9e4e6;text-align:center}.eventTimeline .eventLane{height:auto;min-height:40px;padding:6px 8px;border-right:1px solid #d9e4e6;flex-direction:column;gap:6px;text-align:center;min-width:0}.eventTimeline .eventLane button{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5;flex-shrink:0}

#productTable table{border-collapse:separate;border-spacing:0}
#productTable .frozenColumn{position:sticky;z-index:2}
#productTable .frozenEdge{border-right:2px solid #b9cbd0}
#productTable tbody .frozenColumn{background:#fff}
#productTable tbody tr:nth-child(even) .frozenColumn{background:#f8fafb}
#productTable tbody tr:hover .frozenColumn{background:#edf5f5}
#productTable thead .frozenColumn{z-index:4;background:#eaf0f1}
@media(max-width:900px){#productTable .frozenColumn{position:static}#productTable thead .frozenColumn{position:sticky;top:0;left:auto!important}}
#productTable .rowNumberCell{box-sizing:border-box;width:52px;min-width:52px;max-width:52px;padding-left:8px;padding-right:8px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#48635e}
#productTable thead .rowNumberCell{z-index:6}
#productTable tbody .rowNumberCell{z-index:3}
@media(max-width:900px){#productTable .rowNumberCell.frozenColumn{position:sticky;left:0!important}}

.workspaceDetailLink{display:block;margin-top:6px;color:#126f78;background:transparent;border:0;padding:2px 0;cursor:pointer}
.exportWorkspacePage main.shell>:not(#exportWorkspace){display:none!important}
.exportWorkspacePage #exportWorkspace{max-width:960px;margin:24px auto;padding:24px;background:white;border:1px solid #cbdcdf;border-radius:10px}
.workspacePage{max-width:1120px;margin:24px auto;padding:0 18px;color:#173a45;font:15px/1.65 system-ui,sans-serif;background:#f3f7f7}
.workspacePage header,.workspacePage section{background:white;border:1px solid #d2e0e3;border-radius:8px;padding:18px;margin-bottom:16px}
.workspacePage button,.workspacePage a{color:#126f78}.workspacePage button{padding:8px 15px;cursor:pointer}.workspacePage table{width:100%;border-collapse:collapse}.workspacePage th,.workspacePage td{border-bottom:1px solid #d2e0e3;text-align:left;padding:9px;vertical-align:top;overflow-wrap:anywhere}.workspacePage .scroll{overflow:auto}.workspacePage .muted{color:#647d84}.workspacePage h2{font-size:19px}.workspacePage #workspaceBody:empty{display:none}.workspacePage input{padding:10px;margin:8px;max-width:220px}.workspacePage [hidden]{display:none!important}
@media(max-width:680px){.workspacePage{margin:10px auto;padding:0 8px}.workspacePage section{padding:12px}.workspacePage th,.workspacePage td{min-width:100px}}
.operationsShell>.mailReminders{order:4;padding:8px 0 12px;line-height:2}
.mailReminders>strong{display:block;margin-bottom:6px}
.mailReminderGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 24px}
.mailReminderRow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px 8px}
@media(max-width:1150px){.mailReminderGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.mailReminderGrid{grid-template-columns:minmax(0,1fr)}}
.mailReminders .mailReminderCount[data-zero=true]{color:#18703c}
.mailReminderRow>span{overflow-wrap:anywhere}
.operationsShell>.employeeOverview{order:5;margin:0 0 10px;padding:4px 0;border-block:1px solid #d8e3e2}
.employeeOverview>summary{cursor:pointer;color:#126269;font-weight:600;padding:5px 0}
.employeeOverview>div{max-height:260px;overflow:auto}
.employeeOverview table{width:100%;border-collapse:collapse;background:white;font-variant-numeric:tabular-nums}
.employeeOverview th,.employeeOverview td{padding:6px 12px;text-align:right;border-bottom:1px solid #d8e3e2}
.employeeOverview th{position:sticky;top:0;background:#e7efef}
.employeeOverview :is(th,td):first-child{text-align:left}
.mailReminders .mailReminderCount{color:#d00000;font-weight:700;padding:5px 7px;min-height:34px;white-space:nowrap}
.mailReminders>details>summary{cursor:pointer}
@media(max-width:480px){.mailReminderRow{grid-template-columns:minmax(0,1fr) 74px 74px;gap:5px}}
.mailReminderDialog{width:min(640px,calc(100% - 24px));max-height:80vh;overflow:auto;border:1px solid #d2e0e3;border-radius:10px;padding:18px}
.mailReminderDialog::backdrop{background:#18343e66}
.mailReminderDialog article{border-top:1px solid #d2e0e3;padding:10px 0}
@media(max-width:680px){.mailReminderDialog{margin:auto auto 0;max-height:85dvh}}

:root{--ops-ink:#263d3c;--ops-muted:#647775;--ops-line:#d8e3e2;--ops-accent:#27717a}
body{background:#f3f6f6;color:var(--ops-ink);letter-spacing:0}
main.operationsShell{display:flex;flex-direction:column;gap:0;width:min(1920px,calc(100% - 32px));padding:20px 0 30px;margin:auto}
main.operationsShell[hidden],[hidden]{display:none!important}
.operationsShell> *{order:70;min-width:0}
.operationsShell>.topbar{order:0;background:none;border:0;box-shadow:none;padding:0 0 16px;border-bottom:1px solid var(--ops-line)}
.operationsShell .brandBlock h1{font-size:24px;line-height:1.4;letter-spacing:0}
.brandBlock{flex:1;min-width:0}
#chromeStatus{display:block;line-height:20px;margin-bottom:0;min-height:20px}
#loadMessage{min-width:0;overflow-wrap:anywhere}
#loadMessage:not(:empty)::before{content:' · ';color:inherit}
#loadMessage[data-update-state=busy],#loadMessage[data-update-state=error]{color:#c13932}
.dataUnknown{color:#647775;cursor:help}
@media(max-width:650px){#chromeStatus{min-height:40px}}
.operationsShell>.freshness{order:1;background:none;padding:12px 0;border:0;box-shadow:none;gap:8px 20px;min-height:42px}
.operationsShell>#frontUpdateStatus{order:2;margin:0 0 6px}
.operationsShell>.moduleTimes{order:3;margin:0 0 10px}
.operationsShell>.globalScope{order:4;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 0 16px}
.operationsShell>#dashboardRefreshBar{order:3;display:flex;align-items:center;padding:10px 0 0}
#dashboardRefreshBar #checkUpdate{min-height:40px;margin:0}
.globalScope>strong{font-size:12px;color:var(--ops-muted);font-weight:500}
.globalScope .shopPicker,.globalScope .employeeFilter{min-width:220px}
.operationsShell #cards{display:contents!important}
#overviewMetrics{order:10;margin-bottom:20px}
#priorityMetrics{order:20;margin-bottom:20px}
.metricGrid{display:grid;gap:10px;grid-template-columns:repeat(7,minmax(0,1fr))}
#priorityMetrics>.metricGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
#priorityMetrics>h2{font-size:14px;margin:0 0 10px;font-weight:600}
.metricItem{position:relative;min-width:0}
.operationsShell .metricItem button:focus-visible{outline:2px solid #17656f;outline-offset:2px}
.operationsShell #overviewMetrics .card[aria-pressed=true],.operationsShell #priorityMetrics .card[aria-pressed=true]{border-inline-start:3px solid var(--ops-accent)}
.operationsShell #priorityMetrics>h2{display:flex;align-items:center;gap:12px}
.operationsShell #priorityMetrics>h2::after{content:"";flex:1;border-top:1px solid var(--ops-line)}
.operationsShell #cards .metricItem>.card{box-sizing:border-box;width:100%;height:100%;min-height:112px!important;padding:14px 28px 12px 14px!important;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;border:1px solid var(--ops-line);border-radius:6px;background:#fff;box-shadow:none;color:var(--ops-ink);overflow:hidden;cursor:pointer}
.operationsShell #cards .metricItem>.card:hover{border-color:#8cb1b0;background:#fafdfd}
.operationsShell #cards .metricItem>.card[aria-pressed=true]{border-color:var(--ops-accent);background:#edf6f5;box-shadow:inset 0 0 0 1px var(--ops-accent)}
.operationsShell #cards .metricItem>.card>b{font-size:25px!important;line-height:30px;font-variant-numeric:tabular-nums;font-weight:650;color:var(--ops-ink)}
.operationsShell #cards .metricItem>.card>span:not(.metricDetail):not(.periodChange){font-size:12px;line-height:18px;color:var(--ops-ink)}
.operationsShell #cards .metricItem>.card>.metricDetail.metricPreview{display:block!important;font-size:11px;line-height:16px;color:var(--ops-muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operationsShell #cards .metricItem>.card>.metricDetail,.operationsShell #cards .metricItem>.card>.cardSourceTimes{display:none}
.operationsShell #cards .metricItem>.card>.periodChange{display:block!important;font-size:11px;line-height:16px;margin-top:auto}
.operationsShell #cards #priorityMetrics .card[data-product-view=lowDays]>b,.operationsShell #cards #priorityMetrics .card[data-product-view=loss]>b{color:#b33c37}
.operationsShell #cards #priorityMetrics .card[data-product-view=salesDrop]>b,.operationsShell #cards #priorityMetrics .card[data-product-view=noPromotion]>b,.operationsShell #cards #priorityMetrics .card[data-product-view=overstock]>b{color:#9a681c}
.operationsShell #cards #priorityMetrics .card[data-product-view=salesSurge]>b{color:#25785b}
.operationsShell #cards .metricInfo{box-sizing:border-box;position:absolute;right:7px;top:7px;width:19px;height:19px;min-height:19px!important;min-width:19px;padding:0!important;border:1px solid #d9e4e3;border-radius:50%;background:#fff;color:#718785;font:12px Georgia,serif;line-height:17px;cursor:pointer}
.metricInfo:hover{color:var(--ops-accent);border-color:var(--ops-accent)}
.operationsShell>.detailTabs{order:30;position:sticky;top:0;z-index:12;background:#f3f6f6;margin:0;padding:0;min-height:48px;border-bottom:1px solid #c9dcdb;display:flex;align-items:stretch;gap:26px}
.detailTabs>button{border-radius:0;padding:12px 2px;font-size:14px;background:transparent;box-shadow:none}
#productMetricFilters{order:40;padding:10px 0 4px;border-bottom:1px solid var(--ops-line)}
.metricFilterRow{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;min-height:38px;padding:2px 0}
.metricFilterRow>strong{width:72px;font-size:12px;font-weight:400;color:var(--ops-muted)}
.metricFilterRow .metricItem{flex:0 1 auto}
.operationsShell #cards .compactMetric>.card{min-height:30px!important;width:auto;padding:5px 30px 5px 10px!important;flex-direction:row-reverse;align-items:center;gap:9px;background:transparent;border-color:transparent;border-radius:4px}
.operationsShell #cards .compactMetric>.card>b{font-size:13px!important;line-height:18px}
.operationsShell #cards .compactMetric>.card>span:not(.metricDetail){font-size:12px}
.operationsShell #cards .compactMetric .metricInfo{top:6px;right:4px;width:17px;height:17px;min-height:17px!important;min-width:17px;line-height:15px;font-size:11px}
@media(min-width:681px){
 #productMetricFilters .metricFilterRow{display:grid;grid-template-columns:72px repeat(4,minmax(0,202px));gap:6px 12px;padding:4px 0;align-items:center}
 #productMetricFilters .metricFilterRow>strong{width:auto;line-height:18px}
 #productMetricFilters .compactMetric{width:100%;min-width:0}
 .operationsShell #cards #productMetricFilters .compactMetric>.card{display:grid;grid-template-columns:minmax(0,1fr) 4.5ch;gap:8px;width:100%;min-height:34px!important;padding:6px 30px 6px 10px!important}
 .operationsShell #cards #productMetricFilters .compactMetric>.card>b{grid-area:1/2;text-align:right;font-variant-numeric:tabular-nums}
 .operationsShell #cards #productMetricFilters .compactMetric>.card>b+span{grid-area:1/1;min-width:0;line-height:18px;overflow-wrap:anywhere}
 .operationsShell #cards #productMetricFilters .compactMetric .metricInfo{top:50%;right:6px;transform:translateY(-50%)}
}
@media(min-width:681px) and (max-width:959px){
 #productMetricFilters .metricFilterRow{grid-template-columns:72px repeat(2,minmax(0,202px))}
 #productMetricFilters .metricFilterRow>strong{grid-column:1;grid-row:1/-1;align-self:start;padding-top:8px}
 #productMetricFilters .metricItem:nth-child(2){grid-area:1/2}
 #productMetricFilters .metricItem:nth-child(3){grid-area:1/3}
 #productMetricFilters .metricItem:nth-child(4){grid-area:2/2}
 #productMetricFilters .metricItem:nth-child(5){grid-area:2/3}
}
#dataMaintenance{order:45;padding:12px 0;border-bottom:1px solid var(--ops-line)}
#dataMaintenance>summary{cursor:pointer;font-size:12px;color:var(--ops-muted)}
#dataMaintenance>.metricGrid{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:12px}
.operationsShell>.filters{order:50;display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:none;border:0;box-shadow:none;border-radius:0;padding:16px 0 8px;margin:0}
.operationsShell .filters>.productSearch{position:relative;display:flex;flex:1;min-width:220px;max-width:100%}
.operationsShell .productSearch>#search{box-sizing:border-box;flex:1;min-width:0;width:100%;padding-right:40px}
.productSearch>#clearSearch{box-sizing:border-box;position:absolute;right:3px;top:50%;transform:translateY(-50%);width:32px;height:32px;min-height:32px;min-width:32px;padding:0;border:0;border-radius:4px;background:transparent;color:#6a7e7c;font-size:21px;line-height:30px;cursor:pointer}
.productSearch>#clearSearch:hover{color:#264f54;background:#edf3f3}.productSearch>#clearSearch:focus-visible{outline:2px solid var(--ops-accent);outline-offset:0}
@media(max-width:740px){.operationsShell .filters>.productSearch{flex-basis:100%;min-width:0;width:100%}}
.operationsShell .filters>p{flex-basis:100%;margin:0;font-size:11px}
.operationsShell>.columnFilterChips{order:52;margin:4px 0}
.operationsShell>#productPagination{order:55;margin:8px 0 10px;min-height:34px;flex-wrap:wrap}
#exportFilteredBtn,#exportSkuPairingBtn,#trafficExport{min-width:132px}
#exportSkuPairingBtn{width:auto;padding:0 14px;flex-shrink:0;background:#eaf2f1;color:#285c60;border-color:#c6d9d7}
#productSelection{order:57;display:flex;align-items:center;gap:10px;padding:8px 0 10px;color:var(--ops-accent);font-size:12px}
#productSelection>button{width:22px;height:22px;padding:0;border:1px solid var(--ops-line);border-radius:4px}
.operationsShell>#productTable{order:60;margin:0;box-shadow:none;border:1px solid var(--ops-line);border-radius:4px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;height:80vh;max-height:1100px;min-height:480px;contain:layout paint}
.operationsShell>#productTopScroll{order:59;overflow-x:scroll;overflow-y:hidden;height:18px;min-height:18px;max-width:100%;overscroll-behavior-x:contain}
#productTopScroll::-webkit-scrollbar{height:13px;width:13px;background:#e3ebec}
#productTopScroll::-webkit-scrollbar-track{background:#e3ebec}
#productTopScroll::-webkit-scrollbar-thumb{background:#94b1b4;border:2px solid #e3ebec;border-radius:5px}
#productTopScroll::-webkit-scrollbar-thumb:hover{background:#668f95}
#productTopScroll>div{height:1px}
.operationsShell.is-traffic #productTopScroll{display:none!important}
.operationsShell>#informationDock{order:3;margin:8px 0 12px;padding:0;border-bottom:1px solid var(--ops-line)}
#informationDock>summary{font-size:12px;color:var(--ops-muted);padding:8px 0;cursor:pointer}
#informationDock>summary #checkUpdate{margin-left:16px;min-height:34px;padding:6px 16px;font-size:12px;vertical-align:middle}
#informationCollapse{margin-left:18px;padding:2px 8px;font-size:11px;min-height:24px;background:transparent;border:1px solid var(--ops-line);border-radius:4px;color:var(--ops-muted)}
.informationCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 12px}
.informationCards>button{min-height:44px;text-align:left;font-size:12px;padding:10px 14px;color:var(--ops-ink);background:#fff;border:1px solid var(--ops-line);border-radius:5px;cursor:pointer}
.informationCards>button[aria-expanded=true]{border-color:var(--ops-accent);background:#edf6f5;color:var(--ops-accent)}
.informationCards>button>small{display:block;font-size:11px;margin-top:5px;line-height:1.5;color:var(--ops-muted)}
#informationDock .statusWarning>small{color:inherit}
.informationStatusBrief{margin-left:16px;font-size:11px;overflow-wrap:anywhere}
#informationDock .statusWarning{color:#996018}
#dataStatusPanel h3{font-size:14px;margin:0 0 10px}
#dataStatusPanel .freshness{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:8px 0;border:0}
#dataStatusPanel #frontUpdateStatus{margin:6px 0 16px}
#dataStatusPanel .moduleTimes{margin:0;border:0;padding:0}
.breakevenComparison{font-size:12px;color:#607580;line-height:1.6}
.breakevenComparison.valueAlert{color:#c52929}
#informationPanels>[data-information-panel]{margin:0 0 14px;padding:12px;background:#fff;border:1px solid var(--ops-line);border-radius:4px;max-height:55vh;overflow:auto;overscroll-behavior:contain}
#informationPanels>[data-information-panel]>summary{display:none}
#informationPanels .moduleTimes>div{padding:0}
#informationPanels .auditPanel .notes{margin:0;min-width:600px}
.metricInfoBackdrop{position:fixed;inset:0;z-index:1000;background:#152d3659;touch-action:none}
.operationsShell>#trafficPanel{order:40;padding:16px 0 0;border:0;background:none;box-shadow:none;min-height:600px}
.operationsShell>.promotionStores{order:75;margin-top:18px}
.operationsShell>#refundShopSummary{order:76}
.operationsShell>.auditPanel{order:80}
.operationsShell.is-traffic #productMetricFilters,.operationsShell.is-traffic #dataMaintenance,.operationsShell.is-traffic .columnFilterChips,.operationsShell.is-traffic #productSelection{display:none!important}
.metricInfoDialog{box-sizing:border-box;position:fixed;inset:0;z-index:1001;margin:auto;width:min(540px,calc(100% - 36px));max-height:80vh;padding:22px;border:1px solid var(--ops-line);border-radius:8px;color:var(--ops-ink);box-shadow:0 8px 28px #203b3b26;overflow:auto;overscroll-behavior:contain;contain:layout paint}
.metricInfoDialog::backdrop{background:#152d3659}
.metricInfoDialog header{display:flex;justify-content:space-between;align-items:center;gap:20px}
.metricInfoDialog h2{font-size:18px;margin:0}
.metricInfoDialog header button{width:30px;height:30px;padding:0;font-size:20px}
.metricInfoDialog p{line-height:1.8;font-size:13px}
.metricInfoDetails{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--ops-muted)}
.metricInfoDetails .cardSourceTimes{display:grid;gap:6px}
.metricInfoDetails .cardSourceTimes>span{display:flex;justify-content:space-between;gap:16px}
@media(max-width:650px){.informationCards{grid-template-columns:repeat(2,minmax(0,1fr))}.operationsShell>#productTable{height:82vh;min-height:360px;max-height:none}}
dialog.trafficDetail{box-sizing:border-box;width:min(1200px,calc(100% - 28px));max-height:88vh;margin:auto;padding:20px;border:1px solid var(--ops-line);border-radius:8px;overflow:auto;background:#fff;color:var(--ops-ink);box-shadow:0 20px 70px #203b3b26}
dialog.trafficDetail::backdrop{background:#152d3659}
dialog.trafficDetail>.trafficTableWrap{max-height:280px}
@media(max-width:1100px){.metricGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.globalScope .shopPicker,.globalScope .employeeFilter{min-width:190px}}
@media(max-width:650px){main.operationsShell{width:calc(100% - 24px);padding-top:14px}.metricGrid,#priorityMetrics>.metricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#dataMaintenance>.metricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.operationsShell .brandBlock h1{font-size:21px}.operationsShell #cards .metricItem>.card{min-height:105px!important}.metricFilterRow{gap:5px}.metricFilterRow>strong{width:100%}.operationsShell .inventoryRange{flex-wrap:wrap}.operationsShell .topbar{flex-wrap:wrap;gap:10px}.operationsShell #cards .compactMetric>.card{min-height:30px!important}.globalScope .shopPicker,.globalScope .employeeFilter{min-width:0;flex:1}.globalScope>strong{width:100%}.operationsShell>.detailTabs{top:0}}

#moduleTimes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px 24px;min-width:0}
.moduleTimeGroup{min-width:0}
.moduleTimeGroup h4{margin:8px 0;font-size:13px;color:var(--ops-ink,#243c43);overflow-wrap:anywhere}
.moduleTimeRow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:8px 12px;padding:7px 0;border-bottom:1px solid var(--ops-line,#d9e2e5);font-size:12px;overflow-wrap:anywhere}
.moduleClock{display:grid;gap:3px;font-variant-numeric:tabular-nums;min-width:0}
.moduleClock small{font-size:11px;color:var(--ops-muted,#52676e)}
.moduleClock--stale,.moduleClock--stale small,.moduleClock--future,.moduleClock--future small{color:#c62828}
.moduleClock--unknown,.moduleClock--unknown small,.moduleTimesEmpty{color:var(--ops-muted,#52676e)}
.cloudReadTime{max-width:560px;margin-bottom:10px}
#promotionStores .moduleClock{min-width:145px}
.moduleTimePriority{grid-column:1/-1;display:grid;gap:0}
#informationPanels>#moduleTimesPanel{padding:10px 12px;max-height:none;overflow:hidden}
#moduleTimes{display:block;max-height:min(55vh,var(--module-priority-height,100px));overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.moduleTimeShopRow{display:grid;grid-template-columns:160px minmax(290px,1fr) minmax(320px,1fr) minmax(290px,1fr) minmax(370px,1.2fr);min-width:1500px;align-items:start;gap:12px;padding:6px 0;border-bottom:1px solid var(--ops-line);font-size:12px}
.moduleTimeShopRow>strong{font-size:12px;overflow-wrap:anywhere;line-height:1.6}
.moduleTimeCell{min-width:0;line-height:1.6;display:flex;flex-wrap:nowrap;align-items:baseline;column-gap:7px;white-space:nowrap}
.moduleTimeCell>b{font-size:12px;font-weight:600;white-space:nowrap}
.moduleTimeCell .moduleClock{display:flex;flex-wrap:nowrap;gap:0 7px}
.moduleTimeValue{display:flex;gap:5px;min-width:0}
.moduleTimeMultiple{display:grid;gap:3px}
.moduleTimeMultiple .moduleTimeValue{flex-wrap:wrap;white-space:normal}
.metricFilterRow .campaignHistoryFilter{box-sizing:border-box;width:150px;max-width:100%;height:32px;margin:2px 16px 2px 0;padding:3px 6px;font-size:12px;border:1px solid #c4d3d5;border-radius:4px;background:#fff;color:#24434a}
.moduleTimeSecondary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px 24px;padding-top:10px}

.inventoryCell .shipmentNotice,.inventoryCell .shipmentBatchLink,.inventoryCell .shipmentHistoryLink{display:block;text-align:left;white-space:normal;overflow-wrap:anywhere;max-width:100%;padding:0;margin-top:6px;border:0;border-radius:0;background:none;min-height:0;font:inherit;font-size:11px;line-height:1.5;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.inventoryCell .shipmentBatchLink span{display:block}.inventoryCell .shipmentBatchLink,.inventoryCell .shipmentHistoryLink{color:#496f78}.shipmentNotice.pending{color:#66777b}.shipmentNotice.warning,.shipmentDetailDialog .warning{color:#946000}.shipmentNotice.error,.shipmentDetailDialog .error{color:#bd3030}.shipmentDetailDialog .pending{color:#66777b}
.operationsShell #cards .metricItem>.shipmentAuditCard>.shipmentCoverage{display:block;font-size:11px;line-height:16px;color:#647775}
.shipmentDetailBackdrop{position:fixed;inset:0;z-index:1190;background:rgb(25 44 48 / 28%)}.shipmentDetailBackdrop[hidden]{display:none}
.shipmentDetailDialog{position:fixed;inset:0;z-index:1191;margin:auto;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:16px;border:1px solid #cbdadc;border-radius:6px;background:#fff;color:#243d42;overflow:auto;overscroll-behavior:contain}
.shipmentDetailDialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.shipmentDetailDialog h2{font-size:16px;margin:0;overflow-wrap:anywhere}.shipmentDetailDialog header button{width:32px;height:32px;flex:none;padding:0;font-size:20px}.shipmentRecordToolbar{display:flex;justify-content:flex-end;margin-top:4px}.shipmentRecordToolbar button{font-size:12px;padding:4px 8px}.shipmentRecord{padding:12px 0;border-bottom:1px solid #e0e8e9}.shipmentRecord:last-child{border:0;padding-bottom:0}.shipmentRecord dl{display:grid;grid-template-columns:96px minmax(0,1fr);gap:4px 10px;font-size:12px;line-height:1.6;margin:0}.shipmentRecord dt{color:#61777c}.shipmentRecord dd{margin:0;min-width:0;overflow-wrap:anywhere}.shipmentRecords{contain:layout style}
@media(max-width:500px){.shipmentDetailDialog{padding:12px}.shipmentRecord dl{grid-template-columns:84px minmax(0,1fr);gap:4px 8px}}
.inventoryCell .shipmentBatchLink .verifiedDispatch{display:inline-block;margin-right:9px;white-space:nowrap;color:#496f78}
.inventoryCell .shipmentBatchLink .shipmentIncomplete{color:#728084;text-decoration:none}
.inventoryCell .inventoryHistoryTotal{border:0;background:none;padding:0;min-height:0;color:inherit;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.shipmentTrackingPackage{display:flex;align-items:center;gap:4px;min-width:0}.shipmentTrackingPackage a{min-width:0;overflow-wrap:anywhere}.shipmentTrackingPackage a,.shipmentTrackingPackage a:visited{color:#bd3030;text-underline-offset:2px}.shipmentDetailDialog .copyFieldButton{display:inline-flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:24px;height:24px;min-height:24px;padding:4px;margin:0;border:0;background:transparent;vertical-align:middle}@media(pointer:coarse){.shipmentDetailDialog .copyFieldButton{width:28px;height:28px;min-height:28px}}

.mobileViewModes,#mobileSalesView{display:none}
@media all{
 .phoneDevice .operationsShell{display:flex;flex-direction:column;min-width:0}
 .phoneDevice main.shell{max-width:100%;box-sizing:border-box}
 .phoneDevice .operationsShell>.mobileViewModes[hidden]{display:none}
 .phoneDevice .operationsShell>.mobileViewModes{order:2;display:flex;align-items:center;gap:0;border:0;padding:12px 0 0;margin:0;min-inline-size:0;justify-content:flex-end}
 .mobileViewModes legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .mobileViewModes::before{content:'手机视图';font-size:12px;color:var(--ops-muted);margin-right:auto;line-height:36px}
 .mobileViewModes label{position:relative;min-width:64px;box-sizing:border-box;text-align:center;font-size:13px;padding:8px 12px;border:1px solid #c4d3d5;background:#fff;cursor:pointer;line-height:18px}
 .mobileViewModes label:first-of-type{border-radius:4px 0 0 4px}.mobileViewModes label:last-of-type{border-radius:0 4px 4px 0;border-left:0}
 .mobileViewModes input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.mobileViewModes label:has(input:checked){background:#e6f1f0;color:#1c666f;box-shadow:inset 0 0 0 1px #2b7a83}.mobileViewModes label:has(input:focus-visible){outline:2px solid #27717a;outline-offset:2px}
 .mobileCompact .operationsShell>#informationDock,.mobileCompact .operationsShell>#cards,.mobileCompact .operationsShell>.filters,.mobileCompact .operationsShell>.detailTabs,.mobileCompact .operationsShell>#trafficPanel,.mobileCompact .operationsShell>#productPagination,.mobileCompact .operationsShell>#productSelection,.mobileCompact .operationsShell>#productTable,.mobileCompact .operationsShell>#productTopScroll{display:none!important}
 .mobileCompact .operationsShell>.globalScope{order:3;padding:12px 0;gap:8px}.mobileCompact .globalScope>strong{width:auto}
 .mobileCompact .operationsShell>.globalScope .shopPicker{flex:1;min-width:0}.mobileCompact .globalScope>.employeeFilter{flex:1}
 .mobileCompact .globalScope>.employeeFilter[hidden]{display:none}
 .mobileCompact .operationsShell>#mobileSalesView{display:block;order:5;min-width:0}
 .mobileCompact .operationsShell .topbar{padding-bottom:10px}.mobileCompact #chromeStatus{min-height:20px;font-size:11px}
 .mobileCompact .operationsShell .topbar .actions{display:flex;width:100%;align-items:center;justify-content:flex-end;gap:8px}.mobileCompact .topbar .actions #signedInUser{margin-right:auto;font-size:12px}.mobileCompact .topbar .actions button{min-width:0;min-height:36px;padding:6px 12px;font-size:12px}
 .mobileSalesCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .mobileSalesMetric{min-width:0;display:grid;grid-template-rows:1fr}
 .mobileSalesCard{box-sizing:border-box;min-width:0;min-height:112px;padding:10px 9px;display:flex;flex-direction:column;gap:4px;align-items:flex-start;border:1px solid #d2e0e1;border-radius:5px;background:#fff;color:#263d3c;box-shadow:none}
 .mobileSalesCard strong{font-size:23px;line-height:27px;font-variant-numeric:tabular-nums}.mobileSalesCard span{font-size:12px;line-height:18px;overflow-wrap:anywhere}
 .mobileSalesCard .mobilePeriodChange{font-size:11px;line-height:16px;color:#637774;text-align:left}.mobilePeriodChange.up{color:#ad253b!important}.mobilePeriodChange.down{color:#176640!important}
 .mobileSalesCard .mobileCardUpdated{display:block;margin-top:auto;padding-top:3px;font-size:10px;line-height:15px;color:#637774;font-variant-numeric:tabular-nums;white-space:nowrap}.mobileCardUpdated time{display:block}
 .mobileSalesCard[aria-pressed=true]{border-color:#27717a;background:#eaf4f2;box-shadow:inset 0 0 0 1px #27717a}.mobileSalesCard.surge strong{color:#287453}.mobileSalesCard.drop strong{color:#9a6419}
 .mobileSalesCard[aria-pressed=false]{border-color:#d2e0e1;background:#fff;box-shadow:none}
 .mobileSalesTime{margin:9px 0 16px;font-size:11px;line-height:18px;color:#637774;font-variant-numeric:tabular-nums}
 .mobileRankingHeader{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #d8e3e2;padding:12px 0 0}.mobileRankingHeader h2{font-size:16px;line-height:22px;margin:0}.mobileRankingHeader select{width:116px;min-width:0;height:36px;padding:5px 8px;border:1px solid #c4d3d5;border-radius:4px;font-size:16px;background:#fff;color:#263d3c}
 #mobileRankingCount{margin:7px 0 10px;font-size:11px;line-height:18px;color:#647775}
 .mobileSalesTable{width:100%;max-height:70vh;max-height:70dvh;min-height:180px;overflow:auto;border:1px solid #d8e3e2;border-radius:4px;background:#fff;overscroll-behavior:contain}
 .mobileSalesTable table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:836px;min-width:836px;font-size:12px;color:#263d3c}
 .mobileSalesTable th,.mobileSalesTable td{box-sizing:border-box;padding:10px 7px;vertical-align:top;border:0;border-bottom:1px solid #dfe8e8;width:65px;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;line-height:20px}
 .mobileSalesTable th{position:sticky;top:0;z-index:3;background:#eaf0f1;font-size:11px;font-weight:600;text-align:right;height:42px;white-space:nowrap}
 .mobileSalesTable th:first-child,.mobileSalesTable .mobileRank{width:30px;text-align:center;padding-left:3px;padding-right:3px;position:sticky;left:0;background:#fff;z-index:1;color:#637774}
 .mobileSalesTable th:nth-child(2),.mobileSalesTable .mobileProduct{width:156px;position:sticky;left:30px;background:#fff;z-index:1;border-right:1px solid #cedcdd;text-align:left}
 .mobileSalesTable th:first-child,.mobileSalesTable th:nth-child(2){z-index:4;background:#eaf0f1}
 .mobileSalesTable tr:nth-child(even) td{background:#f6f9f9}.mobileSalesTable .mobileNum{text-align:right}
 .mobileProductTop{display:flex;gap:6px;align-items:flex-start;margin-bottom:4px}.mobileProductTop img,.mobileThumbFallback{display:block;flex:0 0 36px;width:36px;height:36px;object-fit:contain;background:#fff;border:1px solid #e1e8e8;border-radius:3px;box-sizing:border-box}.mobileThumbFallback{font-size:10px;line-height:34px;text-align:center;color:#687b79}
 .mobileProductTop>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-width:0;font-size:11px;line-height:17px;overflow-wrap:anywhere}
 .mobileProduct>b{display:block;font-size:11px;line-height:18px}.mobileProduct a{color:#0d6f88}.mobileProduct small{display:block;max-width:100%;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#637774}
 .mobileSalesTable .salesCurveLink{min-width:36px;min-height:32px;font-size:12px;padding:0;background:none;border:0;color:#08778b;line-height:30px;border-radius:2px;text-decoration:underline;text-underline-offset:3px}.mobileStockZero{color:#b73635}.mobileSalesTable .mobileEmpty{text-align:center;padding:28px}
}

.campaignPoolBadge .campaignDuration{display:inline;font-variant-numeric:tabular-nums}
.campaignPoolBadge .campaignDurationPart,.campaignDurationPart{display:inline-block;white-space:nowrap}
.campaignHistoryLink{padding:0 0 0 6px;margin:0;border:0;background:none;color:#08778b;font-size:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer;line-height:inherit;min-height:24px}
dialog.campaignHistoryDialog{box-sizing:border-box;width:min(680px,calc(100% - 24px));max-height:85vh;margin:auto;padding:20px;border:1px solid #c4d3d5;border-radius:8px;background:white;color:#24434a;overflow:auto;box-shadow:0 14px 50px #203b3b26}
.campaignHistoryDialog::backdrop{background:#152d3659}
.campaignHistoryDialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.campaignHistoryDialog h3{margin:0;font-size:20px;line-height:28px}
.campaignHistoryClose{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #c4d3d5;border-radius:4px;background:#fff;color:#24434a;font-size:24px;cursor:pointer}
.campaignHistoryProduct{font-size:14px;margin:12px 0}.campaignHistoryStatus,.campaignHistoryClock{font-size:12px;line-height:20px;color:#637774;margin:10px 0}
.campaignHistoryTable{max-height:48vh;overflow:auto;border:1px solid #d8e3e2;border-radius:4px;overscroll-behavior:contain}.campaignHistoryTable table{width:100%;min-width:0;max-width:100%;border-collapse:separate;border-spacing:0;font-size:13px;table-layout:fixed}.campaignHistoryTable th,.campaignHistoryTable td{box-sizing:border-box;padding:10px 8px;border:0;border-bottom:1px solid #dfe8e8;line-height:20px;text-align:left;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.campaignHistoryTable th{position:sticky;top:0;background:#eaf0f1;z-index:1}.campaignHistoryTable th:first-child{width:18%}.campaignHistoryTable th:last-child{width:23%}.campaignHistoryTable tr:last-child td{border-bottom:0}.campaignHistoryMore{margin-top:12px;border:1px solid #c4d3d5;border-radius:4px;padding:8px 14px;background:#fff;color:#24434a;cursor:pointer}.campaignHistoryClock{margin-bottom:0}
@media(max-width:480px){dialog.campaignHistoryDialog{padding:14px}.campaignHistoryDialog h3{font-size:18px}.campaignHistoryTable th,.campaignHistoryTable td{padding:8px 5px;font-size:12px}.campaignHistoryTable th:first-child{width:17%}}

.lossTrackingCell{min-width:255px;font-size:12px;line-height:1.85;background:#f4f9f8}.lossTrackingTime{color:#ad741f}.lossTrackingPending{font-size:11px;color:#ad741f}.lossTrackingOpen{background:none;border:0;color:#237784;padding:2px 0;cursor:pointer;text-decoration:underline}.lossTrackingDialog{border:1px solid #d3e1e4;border-radius:7px;padding:0;max-width:920px;width:calc(100% - 28px);max-height:85vh;color:#294550}.lossTrackingDialog::backdrop{background:#193c4866}.lossTrackingDialog header{display:flex;justify-content:space-between;padding:22px;border-bottom:1px solid #dce6e8}.lossTrackingDialog h2{font-size:19px;margin:0}.lossTrackingDialog p{font-size:12px;line-height:1.85}.lossTrackingDialog header button{height:32px;width:32px;border:1px solid #d3e1e4;background:white;border-radius:4px;font-size:20px;cursor:pointer}.lossTrackingDialog section{padding:20px}.lossTrackingSummary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.lossTrackingSummary>div{background:#f3f8f7;border:1px solid #deE8e7;padding:14px;border-radius:4px;font-size:12px}.lossTrackingSummary strong{display:block;font-size:23px;color:#b34c45;margin-top:10px}.lossTrackingNotice{background:#fbf6e9;color:#98712b;padding:10px 12px;border-radius:4px}.lossTrackingScroll{overflow:auto}.lossTrackingDialog table{width:100%;font-size:12px;border-collapse:collapse;min-width:650px}.lossTrackingDialog th{text-align:left;background:#edf4f4;padding:11px;font-weight:500}.lossTrackingDialog td{padding:12px 10px;border-bottom:1px solid #e2eaeb;vertical-align:top}.lossTrackingDialog small{display:block;color:#a17b34;font-size:10px}@media(max-width:650px){.lossTrackingSummary{grid-template-columns:1fr}.lossTrackingSummary strong{font-size:21px}.lossTrackingDialog header{padding:16px}.lossTrackingDialog h2{font-size:16px}.lossTrackingDialog section{padding:14px}}
