:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0b1f3a;background:#f3f7fc;line-height:1.5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% 5%,#dcecff 0,transparent 34%),linear-gradient(145deg,#f9fbfe,#edf3fa)}button,input,select{font:inherit}.page-shell{min-height:100vh}.brand-bar{height:76px;padding:0 clamp(24px,5vw,72px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #dce6f3}.brand{display:flex;align-items:center;color:#0b1f3a;text-decoration:none}.brand-logo{display:block;width:176px;height:auto}.account-bar{display:flex;align-items:center;gap:14px;color:#54657b;font-size:14px}main{width:min(1160px,calc(100% - 40px));margin:0 auto;padding:64px 0 88px}.auth-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;min-height:calc(100vh - 228px)}.hero-card h1,.portal-heading h1,.center-card h1{font-size:clamp(38px,5vw,64px);line-height:1.02;margin:12px 0 24px;letter-spacing:-.04em}.hero-card>p:not(.eyebrow){font-size:20px;color:#54657b;max-width:650px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800;color:#1769e0;margin:0}.trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px}.trust-row span,.session-pill{padding:9px 13px;border-radius:999px;background:#e7f1ff;color:#245083;font-size:13px;font-weight:700}.login-card,.center-card,.report-card,.admin-card{background:#fff;border:1px solid #dbe6f2;border-radius:24px;box-shadow:0 22px 60px rgba(25,64,110,.10)}.login-card{padding:38px}.login-card h2,.admin-card h2,.report-card h2{margin:0 0 8px;font-size:28px}.muted{color:#64758b}.button{border:0;border-radius:12px;padding:12px 18px;font-weight:750;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.button:hover{transform:translateY(-1px)}.button.primary{background:#225cff;color:#fff;box-shadow:0 8px 22px rgba(34,92,255,.24)}.button.google{width:100%;background:#fff;color:#172b49;border:1px solid #cbd8e7;margin-top:18px}.button.subtle{background:#edf3fb;color:#284a72}.divider{display:flex;align-items:center;gap:12px;color:#95a3b4;font-size:12px;margin:20px 0}.divider:before,.divider:after{content:"";height:1px;background:#dce5ef;flex:1}label{display:grid;gap:7px;font-weight:700;font-size:14px;margin-bottom:15px}input,select{width:100%;border:1px solid #c8d6e6;background:#fbfdff;border-radius:12px;padding:12px 13px;color:#122744}input:focus,select:focus{outline:3px solid rgba(34,92,255,.16);border-color:#225cff}#emailLoginForm .button{width:100%;margin-top:4px}.login-actions{display:flex;justify-content:space-between;gap:16px;margin-top:16px}.link-button{border:0;background:none;color:#225cff;padding:0;cursor:pointer}.status-message{min-height:24px;margin:16px 0 0;color:#b04424}.center-card{max-width:680px;margin:80px auto;padding:48px}.center-card h1{font-size:44px}.button-row{display:flex;gap:12px;margin-top:24px}.portal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:26px}.portal-heading h1{font-size:46px;margin-bottom:10px}.tabs{display:flex;gap:10px;border-bottom:1px solid #d7e2ef;margin-bottom:22px}.tab{border:0;background:transparent;padding:13px 18px;font-weight:800;color:#66788e;cursor:pointer;border-bottom:3px solid transparent}.tab.active{color:#225cff;border-bottom-color:#225cff}.report-card{padding:32px;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}.report-card h2{font-size:20px;word-break:break-word}.count-block{margin-left:auto;text-align:right}.count-block span{display:block;color:#718197;font-size:13px}.count-block strong{font-size:52px;line-height:1;color:#1457d8}.admin-card{padding:32px;margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between}.invite-form{display:grid;grid-template-columns:1fr 1.4fr 1fr auto;align-items:end;gap:14px;margin:24px 0}.invite-form label{margin:0}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.list-panel{display:grid;gap:10px}.list-item{border:1px solid #dce6f2;border-radius:14px;padding:14px;background:#f9fbfe}.list-item strong,.list-item span{display:block}.list-item span{font-size:13px;color:#6f8094}.member-actions{margin-top:10px}.member-actions .button{padding:7px 11px;font-size:12px}@media(max-width:850px){.auth-layout{grid-template-columns:1fr;gap:32px}.invite-form{grid-template-columns:1fr 1fr}.admin-grid{grid-template-columns:1fr}.portal-heading{display:block}.session-pill{display:inline-block;margin-top:12px}}@media(max-width:560px){main{width:min(100% - 24px,1160px);padding-top:32px}.brand-bar{padding:0 16px}.account-bar span{display:none}.login-card,.center-card,.admin-card,.report-card{padding:24px;border-radius:18px}.invite-form{grid-template-columns:1fr}.login-actions,.button-row{flex-direction:column}.tabs{overflow-x:auto}.tab{padding-inline:12px}}

.sales-dashboard{margin-top:24px}.sales-controls,.secondary-kpis,.detail-filters,.pager{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.sales-controls{justify-content:space-between;background:#fff;padding:16px;border:1px solid #d9e4f4;border-radius:16px}.range-button{border:1px solid #c8d8ef;background:#fff;border-radius:999px;padding:8px 12px}.range-button.selected{background:#1f63f2;color:#fff}.sales-controls input,.sales-controls select,.detail-filters input,.detail-filters select{padding:8px;border:1px solid #c8d8ef;border-radius:8px}.sales-note,.notice{padding:12px 14px;background:#edf5ff;border-radius:10px;color:#24476f}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.kpi,.chart-card,.table-card{background:#fff;border:1px solid #d9e4f4;border-radius:16px;padding:18px}.kpi span{display:block;color:#637893}.kpi strong{display:block;font-size:1.7rem;color:#102d57;margin-top:8px}.secondary-kpis{margin-bottom:18px}.secondary-kpis span{background:#f5f9ff;padding:10px;border-radius:9px}.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chart-card svg{width:100%;height:180px;background:linear-gradient(#f8fbff,#fff);border-radius:10px}.chart-row{display:grid;grid-template-columns:minmax(110px,1fr) 2fr auto;gap:8px;align-items:center;margin:8px 0;font-size:.86rem}.chart-row i{height:9px;background:#edf2fa;border-radius:9px;overflow:hidden}.chart-row b{display:block;height:100%;background:#1f63f2}.table-card{margin-top:18px}.table-wrap{overflow:auto}.table-card table{width:100%;border-collapse:collapse;font-size:.86rem}.table-card th,.table-card td{padding:10px;border-bottom:1px solid #e5edf8;text-align:left;white-space:nowrap}.status-badge{background:#edf5ff;color:#174c9e;border-radius:999px;padding:4px 8px}.pager{justify-content:flex-end;margin-top:12px}.pager button{padding:8px 12px}@media(max-width:800px){.kpi-grid,.chart-grid{grid-template-columns:1fr}.sales-controls{align-items:flex-start;flex-direction:column}}

.sales-controls > div{display:flex;flex-wrap:wrap;gap:8px}
.sales-controls label{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.sales-controls select{max-width:100%}
@media(max-width:800px){
  .sales-controls{width:100%}
  .sales-controls > div{width:100%}
  .sales-controls label{width:100%;justify-content:space-between}
  .sales-controls input,.sales-controls select{flex:1 1 180px;min-width:0}
}


.time-series-wrap{width:100%;max-width:100%;overflow:hidden}
.chart-card .time-series-chart{display:block;width:100%;height:auto;min-height:240px;background:linear-gradient(#f8fbff,#fff);border-radius:10px}
.chart-grid-line{stroke:#dfe8f5;stroke-width:1}
.chart-zero-line{stroke:#335e98;stroke-width:1.6}
.chart-axis{stroke:#6883a5;stroke-width:1.25}
.chart-x-tick line{stroke:#6883a5;stroke-width:1}
.chart-x-tick text,.chart-y-tick text{fill:#516b8d;font-size:12px}
.chart-axis-title{fill:#294a72;font-size:12px;font-weight:600}
.sales-series-line{stroke:#1f63f2;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.chart-point{fill:#1f63f2;stroke:#fff;stroke-width:1.4}
.chart-point:focus{outline:none;stroke:#102d57;stroke-width:3}
.units-bar{fill:#5b8def}
.chart-hit{fill:transparent;pointer-events:all}
.chart-hit:focus{outline:none;stroke:#102d57;stroke-width:1}
.chart-empty{margin:8px 0 0;color:#637893;font-size:.9rem}
@media(max-width:560px){
  .chart-card .time-series-chart{min-height:210px}
  .chart-x-tick text,.chart-y-tick text{font-size:11px}
}
\n.report-empty-state{border:1px solid #c8daf3;border-radius:14px;background:#f4f8fe;color:#17345b;padding:22px 24px;margin:18px 0;box-shadow:0 8px 24px rgba(29,78,137,.06)}
.report-empty-state h3{margin:0 0 8px;color:#102d52;font-size:1.08rem}
.report-empty-state p{margin:0;color:#405d7c;line-height:1.55}
.report-empty-state--filter{background:#f8fbff;border-style:dashed}
#reportMessage:has(.report-empty-state){color:inherit}



/* Transactions dashboard v1 */
.transactions-dashboard {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.transactions-dashboard .section-heading {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.transaction-range-buttons,
.transaction-legend,
.transactions-dashboard .pager {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.transactions-controls {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.transactions-controls label,
.transaction-search-label {
  min-width: 0;
}

.transactions-controls input,
.transactions-controls select {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.transaction-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transaction-secondary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0 18px;
}

.transaction-secondary dl {
  background: #f8fafc;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  margin: 0;
  min-width: 0;
  padding: 14px;
}

.transaction-secondary dt {
  color: #52627a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.transaction-secondary dd {
  color: #102a52;
  font-size: 1.05rem;
  font-weight: 750;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.transaction-chart-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.transaction-chart-grid .chart-card {
  min-width: 0;
  overflow: hidden;
}

.transaction-chart-grid svg {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.transaction-net-line {
  fill: none;
  stroke: #1f63f2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.transaction-net-point {
  fill: #1f63f2;
  stroke: #fff;
  stroke-width: 1.5;
}

.transaction-component-tick {
  stroke: #d7dfeb;
  stroke-width: 1;
}

.transaction-bars {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.transaction-bar-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(100px, 1fr) minmax(130px, 2fr);
  min-width: 0;
}

.transaction-bar-row > span {
  color: #405a7c;
  font-size: .82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-bar-track {
  background: #edf2f8;
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
  position: relative;
}

.transaction-bar-zero {
  background: #7b8ba1;
  bottom: 0;
  left: 50%;
  position: absolute;
  top: 0;
  width: 1px;
  z-index: 2;
}

.transaction-bar {
  border-radius: 999px;
  bottom: 2px;
  min-width: 2px;
  position: absolute;
  top: 2px;
}

.transaction-bar.positive {
  background: #1f63f2;
  left: 50%;
}

.transaction-bar.negative {
  background: #c23c53;
  right: 50%;
}

.transactions-dashboard .table-card {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.transactions-dashboard .table-wrap {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  overflow-x: auto;
}

#transactionSummaryTable {
  min-width: 900px;
}

#transactionsTable {
  min-width: 1320px;
}

.transactions-dashboard table {
  white-space: nowrap;
}

.transactions-dashboard th button {
  white-space: nowrap;
}

.transactions-dashboard .pager {
  justify-content: flex-end;
  margin-top: 12px;
}

.transactions-dashboard .pager button {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .transactions-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transaction-chart-grid {
    grid-template-columns: 1fr;
  }

  .transaction-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .transactions-controls,
  .transaction-kpis,
  .transaction-secondary {
    grid-template-columns: 1fr;
  }

  .transaction-range-buttons {
    width: 100%;
  }

  .transaction-range-buttons .button {
    flex: 1 1 72px;
  }

  .transaction-bar-row {
    grid-template-columns: minmax(82px, .8fr) minmax(110px, 1.5fr);
  }

  .transactions-dashboard .pager {
    justify-content: flex-start;
  }
}


/* Returns dashboard v1 */
.returns-dashboard{display:block;max-width:100%;min-width:0}
.returns-loading{padding:28px 0;color:#637078}
.returns-controls{display:grid;gap:12px;margin:18px 0}
.returns-controls .range-row,.returns-controls .detail-filters,.returns-table-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.returns-controls button,.returns-controls select,.returns-controls input,.returns-table-heading select{min-height:36px;border:1px solid #cbd5df;border-radius:8px;background:#fff;padding:6px 9px;color:#15202b}
.returns-controls button{cursor:pointer}.returns-controls button.active{background:#143d5c;border-color:#143d5c;color:#fff}
.returns-controls label{display:flex;align-items:center;gap:5px;font-size:.84rem;color:#54616b}
.returns-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:10px 0 16px;color:#586673;font-size:.9rem}
.returns-chart-grid{align-items:stretch}.chart-subtitle{margin:-3px 0 12px;color:#66737e;font-size:.82rem}.chart-empty{color:#66737e}
.returns-daily-chart{display:block;width:100%;height:auto;max-width:100%}.returns-axis{stroke:#bfcbd5;stroke-width:1}.returns-axis-label{fill:#697682;font-size:11px}.returns-daily-bar{fill:#237c92}.returns-daily-bar:hover{fill:#155e75}
.returns-bars{display:grid;gap:10px}.returns-bar-row{display:grid;grid-template-columns:minmax(90px,1.2fr) minmax(90px,2fr) auto;gap:9px;align-items:center;font-size:.84rem}.returns-bar-row>span{overflow-wrap:anywhere}.returns-bar-row b{font-variant-numeric:tabular-nums}.returns-bar-track{height:9px;background:#e7edf1;border-radius:999px;overflow:hidden}.returns-bar-track i{display:block;height:100%;background:#237c92;border-radius:999px}
.returns-table-heading{justify-content:space-between;gap:12px}.returns-table-heading h3{margin:0}.returns-comment{min-width:170px;white-space:normal}.returns-comment summary{cursor:pointer;color:#0f5f75}.returns-comment div{margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:480px}
.returns-dashboard .table-wrap{width:100%;max-width:100%;overflow-x:auto}.returns-dashboard table{min-width:880px}.returns-dashboard .status-badge{white-space:normal}
@media (max-width:720px){.returns-controls .range-row,.returns-controls .detail-filters{align-items:stretch}.returns-controls input,.returns-controls select,.returns-controls button{flex:1 1 135px}.returns-table-heading{align-items:flex-start}.returns-bars .returns-bar-row{grid-template-columns:minmax(85px,1fr) minmax(80px,1.3fr) auto}.returns-heading{display:grid}.returns-comment{min-width:130px}}


/* Restock dashboard v1 */
.restock-dashboard{display:block;max-width:100%;min-width:0}
.restock-controls{display:grid;gap:12px;margin:18px 0}.restock-control-row,.restock-controls .detail-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.restock-controls button,.restock-controls select,.restock-controls input{min-height:36px;border:1px solid #cbd5df;border-radius:8px;background:#fff;padding:6px 9px;color:#15202b}.restock-controls button{cursor:pointer}.restock-controls label{display:flex;align-items:center;gap:5px;font-size:.84rem;color:#54616b}
.restock-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:10px 0 16px;color:#586673;font-size:.9rem}.restock-heading b{color:#15202b}.restock-secondary-kpis small{display:block;font-size:.72rem;font-weight:400;color:#66737e;margin-top:2px}
.restock-formula-note{margin:16px 0;padding:12px 14px;border:1px solid #d9e3e9;border-radius:10px;background:#f6fafc;color:#42515d;font-size:.9rem}.restock-chart-grid{align-items:stretch}.restock-wide-chart{grid-column:span 2}.restock-bars{display:grid;gap:10px}.restock-bar-row{display:grid;grid-template-columns:minmax(100px,1.2fr) minmax(80px,2fr) auto;gap:9px;align-items:center;font-size:.84rem}.restock-bar-row>span{overflow-wrap:anywhere}.restock-bar-row b{font-variant-numeric:tabular-nums}.restock-bar-track{height:9px;background:#e7edf1;border-radius:999px;overflow:hidden}.restock-bar-track i{display:block;height:100%;background:#237c92;border-radius:999px}
.restock-pair-bars{display:grid;gap:12px}.restock-pair-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,2fr) auto;gap:10px;align-items:center;font-size:.82rem}.restock-pair-row strong{display:grid;gap:2px;overflow-wrap:anywhere}.restock-pair-row small{font-weight:400;color:#66737e}.restock-pair-track{height:15px;position:relative;background:#e7edf1;border-radius:999px;overflow:hidden}.restock-pair-track i{position:absolute;left:0;border-radius:999px}.restock-pair-track .available{height:100%;top:0;background:#183d5a}.restock-pair-track .target{height:5px;top:5px;background:#ef7650}.restock-pair-row>span{font-variant-numeric:tabular-nums;white-space:nowrap}
.restock-history-section{margin-top:26px}.restock-section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:baseline}.restock-section-heading h2{margin:0}.restock-section-heading span,.restock-history-note{color:#66737e;font-size:.88rem}.restock-history-note{margin:8px 0}.restock-history-grid{margin-top:13px}.restock-history-chart{display:block;width:100%;height:auto;max-width:100%}.restock-history-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.restock-axis{stroke:#bfcbd5;stroke-width:1}.restock-axis-label{fill:#697682;font-size:11px}.restock-legend{display:flex;flex-wrap:wrap;gap:9px 14px;font-size:.78rem;color:#53616b;margin-bottom:8px}.restock-legend span{display:inline-flex;align-items:center;gap:5px}.restock-legend i{width:10px;height:10px;border-radius:999px}
.restock-dashboard .table-wrap{width:100%;max-width:100%;overflow-x:auto}.restock-dashboard table{min-width:1120px}.restock-category-badge{display:inline-block;min-width:142px;padding:4px 7px;border-radius:999px;background:#edf3f6;color:#27475a;font-size:.77rem;line-height:1.15;white-space:normal}.restock-dashboard td{vertical-align:top}.restock-dashboard .table-card{max-width:100%;overflow:hidden}
@media (max-width:820px){.restock-wide-chart{grid-column:auto}.restock-control-row,.restock-controls .detail-filters{align-items:stretch}.restock-controls input,.restock-controls select,.restock-controls button{flex:1 1 150px}.restock-heading,.restock-section-heading{display:grid}.restock-pair-row{grid-template-columns:minmax(110px,1fr) minmax(100px,1.4fr) auto}.restock-bar-row{grid-template-columns:minmax(85px,1fr) minmax(70px,1.25fr) auto}}
.advertising-dashboard-root{min-width:0}
.ad-dashboard{display:grid;gap:18px;min-width:0}
.ad-heading h2{margin:2px 0 6px}
.ad-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px;border:1px solid #dbe4ee;border-radius:14px;background:#fff}
.ad-controls label,.ad-table-footer label{display:grid;gap:5px;color:#526477;font-size:.82rem;font-weight:700}
.ad-controls input,.ad-controls select,.ad-search input,.ad-table-footer select{min-height:38px;border:1px solid #bfcbda;border-radius:8px;background:#fff;color:#172a3e;padding:7px 9px;font:inherit}
.ad-range-buttons{flex-wrap:wrap}
.ad-coverage{margin:0;padding:10px 13px;border-left:4px solid #2368a2;border-radius:8px;background:#eef6fc;color:#34506b;font-size:.92rem}
.ad-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ad-kpi{display:grid;gap:6px;min-width:0;padding:15px;border:1px solid #dbe4ee;border-radius:12px;background:#fff}
.ad-kpi span{color:#536477;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ad-kpi strong{overflow:hidden;text-overflow:ellipsis;color:#14283c;font-size:1.35rem;white-space:nowrap}
.ad-kpi small{min-height:2.4em;color:#627387;font-size:.78rem;line-height:1.35}
.ad-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.ad-chart{display:grid;gap:9px;min-width:0;margin:0;padding:15px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;outline-offset:3px}
.ad-chart:focus{outline:3px solid #7cb7e7}
.ad-chart figcaption{display:grid;gap:3px}
.ad-chart figcaption strong{color:#14283c}
.ad-chart figcaption span{color:#64758a;font-size:.82rem;line-height:1.35}
.ad-chart svg{display:block;width:100%;height:auto;overflow:visible}
.ad-grid-line{stroke:#dce5ef;stroke-width:1}
.ad-axis-label{fill:#65778b;font-size:11px}
.ad-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5}
.ad-data-dot{stroke:#fff;stroke-width:1.5}
.ad-gap-dot{fill:#a8b4c2}
.ad-gap-bar{fill:#a8b4c2}
.ad-bar{rx:2}
.ad-legend{display:flex;flex-wrap:wrap;gap:9px 14px;color:#536477;font-size:.78rem}
.ad-legend span{display:flex;align-items:center;gap:5px}
.ad-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}
.ad-chart-empty,.ad-loading,.ad-empty-state{padding:24px 16px;border:1px dashed #bdcad8;border-radius:10px;background:#fafcff;color:#5c6e81;text-align:center}
.ad-empty-state h3{margin:0 0 7px;color:#263a50}
.ad-empty-state p{margin:0;line-height:1.5}
.ad-table-section{display:grid;gap:12px;padding:15px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;min-width:0}
.ad-table-section h3{margin:2px 0 0}
.ad-search{display:grid;gap:5px;color:#526477;font-size:.82rem;font-weight:700}
.ad-search input{width:min(240px,100%)}
.ad-table-wrap{width:100%;overflow-x:auto;border:1px solid #e1e9f1;border-radius:9px}
.ad-table{width:100%;min-width:1180px;border-collapse:collapse;font-size:.84rem}
.ad-table th,.ad-table td{padding:10px 11px;border-bottom:1px solid #e6edf3;text-align:right;white-space:nowrap}
.ad-table th:first-child,.ad-table td:first-child{text-align:left}
.ad-table th:last-child,.ad-table td:last-child{text-align:left}
.ad-table th{background:#f6f9fc;color:#4a6074;font-size:.75rem;text-transform:uppercase;letter-spacing:.03em}
.ad-table tr:last-child td{border-bottom:0}
.ad-sort{border:0;background:transparent;color:inherit;font:inherit;font-weight:800;letter-spacing:inherit;cursor:pointer}
.ad-sort:focus-visible{outline:2px solid #2368a2;outline-offset:2px}
.ad-empty-row{text-align:center!important;color:#63758a}
.ad-table-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:11px;color:#5d6f82;font-size:.85rem}
.ad-table-footer label{display:flex;align-items:center;gap:7px}
.ad-table-footer select{min-height:32px}
@media (max-width:980px){.ad-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-chart-grid{grid-template-columns:1fr}}
@media (max-width:620px){.ad-controls{align-items:stretch}.ad-controls label,.ad-controls .button{width:100%}.ad-range-buttons .button{width:auto;flex:1}.ad-kpi-grid{grid-template-columns:1fr}.ad-table-footer{align-items:flex-start;flex-direction:column}.ad-table-footer .button-row{width:100%}.ad-table-footer .button{flex:1}}
.advertising-campaign-root{min-width:0}.campaign-dashboard{display:grid;gap:18px;min-width:0}.campaign-heading h2{margin:2px 0 6px}.campaign-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px;border:1px solid #dbe4ee;border-radius:14px;background:#fff}.campaign-controls label,.campaign-table-footer label{display:grid;gap:5px;color:#526477;font-size:.82rem;font-weight:700}.campaign-controls input,.campaign-controls select,.campaign-search input,.campaign-table-footer select{min-height:38px;border:1px solid #bfcbda;border-radius:8px;background:#fff;color:#172a3e;padding:7px 9px;font:inherit}.campaign-coverage{margin:0;padding:10px 13px;border-left:4px solid #8267d9;border-radius:8px;background:#f5f1ff;color:#3f466b;font-size:.92rem;line-height:1.45}.campaign-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.campaign-kpi{display:grid;gap:6px;min-width:0;padding:15px;border:1px solid #dbe4ee;border-radius:12px;background:#fff}.campaign-kpi span{color:#536477;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.campaign-kpi strong{overflow:hidden;text-overflow:ellipsis;color:#14283c;font-size:1.3rem;white-space:nowrap}.campaign-kpi small{min-height:2.4em;color:#627387;font-size:.78rem;line-height:1.35}.campaign-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.campaign-chart{display:grid;gap:9px;min-width:0;margin:0;padding:15px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;outline-offset:3px}.campaign-chart:focus{outline:3px solid #9a85e5}.campaign-chart figcaption{display:grid;gap:3px}.campaign-chart figcaption strong{color:#14283c}.campaign-chart figcaption span{color:#64758a;font-size:.82rem;line-height:1.35}.campaign-chart svg{display:block;width:100%;height:auto;overflow:visible}.campaign-grid{stroke:#dce5ef;stroke-width:1}.campaign-axis{fill:#65778b;font-size:11px}.campaign-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.campaign-dot{stroke:#fff;stroke-width:1.5}.campaign-gap,.campaign-gap-bar{fill:#a8b4c2}.campaign-bar{rx:2}.campaign-legend{display:flex;flex-wrap:wrap;gap:9px 14px;color:#536477;font-size:.78rem}.campaign-legend span{display:flex;align-items:center;gap:5px}.campaign-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.campaign-chart-empty,.campaign-loading,.campaign-empty-state{padding:24px 16px;border:1px dashed #bdcad8;border-radius:10px;background:#fafcff;color:#5c6e81;text-align:center}.campaign-empty-state h3{margin:0 0 7px;color:#263a50}.campaign-empty-state p{margin:0;line-height:1.5}.campaign-horizontal-list{display:grid;gap:9px}.campaign-horizontal-row{display:grid;grid-template-columns:minmax(120px,1.5fr) minmax(100px,3fr) auto;align-items:center;gap:8px;font-size:.8rem}.campaign-horizontal-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.campaign-horizontal-row>div{height:10px;border-radius:9px;background:#eef3f8;overflow:hidden}.campaign-horizontal-row i{display:block;height:100%;border-radius:9px}.campaign-horizontal-row b{font-size:.78rem;color:#435a70}.campaign-scatter{fill:#8267d9;stroke:#fff;stroke-width:1.5}.campaign-selected-state{padding:13px;border-radius:9px;background:#f6f8fb;color:#495d71}.campaign-table-section{display:grid;gap:12px;padding:15px;border:1px solid #dbe4ee;border-radius:12px;background:#fff;min-width:0}.campaign-table-section h3{margin:2px 0 0}.campaign-search{display:grid;gap:5px;color:#526477;font-size:.82rem;font-weight:700}.campaign-search input{width:min(240px,100%)}.campaign-table-wrap{width:100%;overflow-x:auto;border:1px solid #e1e9f1;border-radius:9px}.campaign-table{width:100%;min-width:1260px;border-collapse:collapse;font-size:.84rem}.campaign-table th,.campaign-table td{padding:10px 11px;border-bottom:1px solid #e6edf3;text-align:right;white-space:nowrap}.campaign-table th:first-child,.campaign-table td:first-child,.campaign-table th:nth-child(2),.campaign-table td:nth-child(2){text-align:left}.campaign-table th{background:#f6f9fc;color:#4a6074;font-size:.75rem;text-transform:uppercase;letter-spacing:.03em}.campaign-table tr:last-child td{border-bottom:0}.campaign-sort{border:0;background:transparent;color:inherit;font:inherit;font-weight:800;letter-spacing:inherit;cursor:pointer}.campaign-sort:focus-visible{outline:2px solid #8267d9;outline-offset:2px}.campaign-empty-row{text-align:center!important;color:#63758a}.campaign-table-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:11px;color:#5d6f82;font-size:.85rem}.campaign-table-footer label{display:flex;align-items:center;gap:7px}.campaign-table-footer select{min-height:32px}@media(max-width:1100px){.campaign-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.campaign-chart-grid{grid-template-columns:1fr}.campaign-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.campaign-controls{align-items:stretch}.campaign-controls label,.campaign-controls .button{width:100%}.campaign-controls .button-row .button{width:auto;flex:1}.campaign-kpi-grid{grid-template-columns:1fr}.campaign-table-footer{align-items:flex-start;flex-direction:column}.campaign-table-footer .button-row{width:100%}.campaign-table-footer .button{flex:1}.campaign-horizontal-row{grid-template-columns:1fr}.campaign-horizontal-row>span{white-space:normal}}
.advertising-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 0}.advertising-subnav button{border:1px solid #c7d4e1;border-radius:9px;background:#fff;color:#4b6176;padding:9px 12px;font:700 .86rem/1 inherit;cursor:pointer}.advertising-subnav button.active{border-color:#8267d9;background:#f1edff;color:#503aa5}.advertising-subnav button:focus-visible{outline:3px solid #b6a8f0;outline-offset:2px}
/* Keep the wide Ad Product tables scrollable inside their cards on narrow screens. */
.advertising-ad-product-root .campaign-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.advertising-ad-product-root .campaign-table {
  min-width: 1100px;
}
/* Keep the wide Ad Product tables scrollable inside their cards on narrow screens. */
.advertising-ad-product-root .campaign-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.advertising-ad-product-root .campaign-table {
  min-width: 1100px;
}

/* SELLERPILOT_CUSTOM_CONTENT_ATTACHMENTS_V2 */
.sellerpilot-service-card { display:block; }
.sellerpilot-content-item { padding:20px 0; border-top:1px solid #dce6f2; }
.sellerpilot-content-item:first-of-type { border-top:0; }
.sellerpilot-content-item h3 { margin:0 0 6px; color:#122744; font-size:1.12rem; }
.sellerpilot-content-item h4 { margin:18px 0 5px; color:#31557e; font-size:.83rem; text-transform:uppercase; letter-spacing:.07em; }
.sellerpilot-content-item p { margin:0 0 10px; }
.sellerpilot-content-section p { white-space:normal; }
.sellerpilot-content-link a { color:#225cff; font-weight:750; overflow-wrap:anywhere; }
.sellerpilot-request-cta { margin-top:24px; padding:20px; border:1px solid #c9dcf6; border-radius:16px; background:#f3f8ff; }
.sellerpilot-request-cta h3 { margin:0 0 7px; }
.sellerpilot-request-cta p { margin:0 0 12px; }


/* SELLERPILOT_ATTACHMENT_PREVIEW_V1 */
.sellerpilot-attachment { margin-top:20px; }
.sellerpilot-attachment-preview { display:block; width:min(100%,560px); overflow:hidden; border:1px solid #c9dcf6; border-radius:14px; background:#f3f8ff; cursor:zoom-in; }
.sellerpilot-attachment-preview img { display:block; width:100%; max-height:420px; object-fit:contain; background:#f3f8ff; }
.sellerpilot-attachment-preview:focus-visible { outline:3px solid #225cff; outline-offset:3px; }
.sellerpilot-attachment-download { display:flex; align-items:center; justify-content:space-between; gap:16px; width:min(100%,560px); margin-top:12px; padding:14px; border:1px solid #c9dcf6; border-radius:14px; background:#f8fbff; }
.sellerpilot-attachment-type { margin:0 0 3px !important; color:#31557e; font-size:.78rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.sellerpilot-attachment-name { margin:0 !important; color:#122744; font-weight:700; overflow-wrap:anywhere; }
.sellerpilot-download-button { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border-radius:9px; background:#225cff; color:#fff !important; font-weight:800; text-decoration:none; }
.sellerpilot-download-button:hover { background:#174bda; }
.sellerpilot-download-button:focus-visible { outline:3px solid #225cff; outline-offset:3px; }
@media (max-width:560px) { .sellerpilot-attachment-download { align-items:stretch; flex-direction:column; } .sellerpilot-download-button { width:100%; } }


.sellerpilot-amazon-sales{background:#fff;border:1px solid #dbe6f2;border-radius:24px;box-shadow:0 22px 60px rgba(25,64,110,.10);padding:32px;margin-top:30px;min-width:0}
.sellerpilot-sales-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.sellerpilot-sales-heading h2{margin-bottom:4px}
.sellerpilot-sales-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.45fr);gap:14px;align-items:end;margin:24px 0 18px;padding:17px;border:1px solid #dbe6f2;border-radius:18px;background:#f9fbff}
.sellerpilot-sales-date-controls,.sellerpilot-sales-presets{display:flex;gap:9px;flex-wrap:wrap;align-items:end}
.sellerpilot-sales-date-controls label,.sellerpilot-sales-marketplace-label,.sellerpilot-sales-fees-heading label{display:grid;gap:5px;color:#465f7d;font-size:.79rem;font-weight:800}
.sellerpilot-sales-date-controls input,.sellerpilot-sales-controls select,.sellerpilot-sales-fees-heading select{min-height:39px;border:1px solid #c9d8e9;border-radius:9px;background:#fff;color:#152d4a;padding:7px 9px;font:inherit}
.sellerpilot-sales-marketplace-label select{min-width:180px}
.sellerpilot-sales-presets{grid-column:1/-1}
.sellerpilot-sales-period{background:#f4f7fb;color:#284261;border:1px solid #dbe6f2}
.sellerpilot-sales-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0}
.sellerpilot-sales-card,.sellerpilot-sales-chart-card,.sellerpilot-sales-geo article,.sellerpilot-sales-fees{min-width:0;border:1px solid #e0eaf5;border-radius:18px;background:#fff;padding:19px}
.sellerpilot-sales-card{display:grid;gap:8px;background:linear-gradient(145deg,#f8fbff,#fff)}
.sellerpilot-sales-card>span{color:#4d6685;font-size:.77rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.sellerpilot-sales-card>strong{overflow:hidden;color:#122b49;font-size:clamp(1.35rem,2.3vw,2rem);line-height:1.08;text-overflow:ellipsis;white-space:nowrap}
.sellerpilot-sales-card>small{min-height:2.7em;color:#60758e;font-size:.78rem;line-height:1.35}
.sellerpilot-sales-chart-card{margin:20px 0;padding:22px}
.sellerpilot-sales-chart-card h3,.sellerpilot-sales-geo h3,.sellerpilot-sales-fees h3,.sellerpilot-sales-tip h3{margin:0 0 7px;color:#152d4a}
.sellerpilot-sales-chart-card>.muted{margin:0 0 13px}
.sales-fees-chart-wrap{min-width:0}
.sales-fees-legend{display:flex;flex-wrap:wrap;gap:12px 18px;margin:0 0 10px;color:#405a78;font-size:.82rem;font-weight:700}
.sales-fees-legend span{display:inline-flex;align-items:center;gap:6px}
.sales-fees-legend i{display:inline-block;width:10px;height:10px;border-radius:99px}
.sales-fees-sales-swatch{background:#225cff}.sales-fees-fee-swatch{background:#198d68}
.fees-series-line{fill:none;stroke:#198d68;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.sales-fees-fee-point{fill:#198d68}.sales-fees-sales-point{fill:#225cff}
.sales-fees-point:focus{outline:none}.sales-fees-point:focus .chart-point{stroke:#102d57;stroke-width:3}
.sellerpilot-sales-geo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.sellerpilot-sales-geo article{padding:20px}
.sellerpilot-sales-ranking{margin:0;padding-left:23px}
.sellerpilot-sales-ranking li{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf2f8;color:#284261}
.sellerpilot-sales-ranking li:last-child{border-bottom:0}
.sellerpilot-sales-ranking strong{color:#172b49;white-space:nowrap}
.sellerpilot-sales-tip{margin:20px 0;padding:18px 20px;border-left:4px solid #225cff;border-radius:12px;background:#f4f8ff;color:#425d7d}
.sellerpilot-sales-tip h3{font-size:1rem}.sellerpilot-sales-tip p{margin:8px 0;line-height:1.5}.sellerpilot-sales-tip p:last-child{margin-bottom:0}
.sellerpilot-amazon-transactions{background:#fff;border:1px solid #dbe6f2;border-radius:24px;box-shadow:0 22px 60px rgba(25,64,110,.10);padding:32px;margin-top:30px;min-width:0}
.sellerpilot-transaction-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;margin:22px 0}.sellerpilot-transaction-controls .sellerpilot-sales-date-controls{grid-column:span 2}.sellerpilot-transaction-filter,.sellerpilot-transaction-search{display:grid;gap:6px;color:#425d7d;font-weight:700;font-size:.88rem}.sellerpilot-transaction-search{grid-column:span 2}.sellerpilot-transaction-search input,.sellerpilot-transaction-filter select{min-width:0}.sellerpilot-transaction-details{margin-top:26px}.sellerpilot-transaction-table-wrap{overflow:auto;border:1px solid #dbe6f2;border-radius:16px}.sellerpilot-transaction-table-wrap table{width:100%;border-collapse:collapse;min-width:1100px}.sellerpilot-transaction-table-wrap th,.sellerpilot-transaction-table-wrap td{padding:12px 13px;text-align:left;vertical-align:top;border-bottom:1px solid #edf2f7;font-size:.89rem}.sellerpilot-transaction-table-wrap th{background:#f7faff;color:#425d7d;white-space:nowrap}.sellerpilot-transaction-reference{display:grid;gap:5px;min-width:170px;word-break:break-word}.sellerpilot-transaction-reference>span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.sellerpilot-transaction-reference small{color:#637b96;font-size:.75rem}.sellerpilot-transaction-copy{justify-self:start;border:1px solid #c8d8ec;background:#fff;border-radius:7px;padding:3px 8px;color:#1b4e95;font:inherit;font-size:.75rem;cursor:pointer}.sellerpilot-transaction-cards{display:none}.sellerpilot-transaction-card{border:1px solid #dbe6f2;border-radius:14px;padding:16px;margin:12px 0;background:#fff}.sellerpilot-transaction-card>div{display:flex;justify-content:space-between;gap:16px;padding:5px 0}.sellerpilot-transaction-card span{color:#637b96;font-size:.8rem}.sellerpilot-transaction-card strong{font-size:.88rem;text-align:right}.sellerpilot-transaction-card p{margin:12px 0;color:#425d7d;line-height:1.45}.sellerpilot-transaction-reference-tip{margin-bottom:0}
.sellerpilot-sales-fees{margin-top:22px;padding:22px}
.sellerpilot-sales-fees-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}
.sellerpilot-sales-fees-heading .eyebrow{margin:0 0 4px}.sellerpilot-sales-fees-heading h3{margin-bottom:4px}.sellerpilot-sales-fees-heading .muted{margin:0}
.sellerpilot-sales-fee-table-wrap{width:100%;overflow:auto;border:1px solid #e2ebf5;border-radius:12px}
.sellerpilot-sales-fee-table-wrap table{width:100%;min-width:900px;border-collapse:collapse;font-size:.84rem}
.sellerpilot-sales-fee-table-wrap th,.sellerpilot-sales-fee-table-wrap td{padding:10px 11px;border-bottom:1px solid #e9eff6;text-align:left;vertical-align:top}
.sellerpilot-sales-fee-table-wrap th{background:#f7faff;color:#48627e;font-size:.73rem;letter-spacing:.04em;text-transform:uppercase}
.sellerpilot-sales-fee-table-wrap td:nth-child(5){font-variant-numeric:tabular-nums;white-space:nowrap}
.sellerpilot-sales-fee-table-wrap tr:last-child td{border-bottom:0}
.sellerpilot-sales-empty-row{text-align:center!important;color:#61758c}
.sellerpilot-sales-fee-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;color:#546b86;font-size:.86rem}
.sellerpilot-sales-fees .portal-contact-notice{margin:18px 0 0}
@media (max-width:980px){.sellerpilot-sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sellerpilot-sales-geo{grid-template-columns:1fr}.sellerpilot-sales-controls{grid-template-columns:1fr}.sellerpilot-sales-marketplace-label{max-width:320px}}
@media (max-width:700px){.sellerpilot-amazon-sales,.sellerpilot-amazon-transactions{padding:22px}.sellerpilot-sales-heading{align-items:stretch;flex-direction:column}.sellerpilot-sales-kpis{grid-template-columns:1fr}.sellerpilot-sales-date-controls{align-items:stretch;flex-direction:column}.sellerpilot-sales-date-controls label,.sellerpilot-sales-date-controls input,.sellerpilot-sales-date-controls button,.sellerpilot-sales-marketplace-label,.sellerpilot-sales-marketplace-label select{width:100%;max-width:none}.sellerpilot-sales-presets .button{flex:1 1 130px}.sellerpilot-sales-fees-heading,.sellerpilot-sales-fee-pager{align-items:stretch;flex-direction:column}.sellerpilot-sales-fees-heading label,.sellerpilot-sales-fees-heading select{width:100%}.sellerpilot-sales-fee-pager .button-row{width:100%}.sellerpilot-sales-fee-pager .button{flex:1}.sellerpilot-transaction-controls{grid-template-columns:1fr}.sellerpilot-transaction-controls .sellerpilot-sales-date-controls,.sellerpilot-transaction-search{grid-column:auto}.sellerpilot-transaction-table-wrap{display:none}.sellerpilot-transaction-cards{display:grid}.sellerpilot-transaction-filter,.sellerpilot-transaction-search{width:100%}}

.sellerpilot-amazon-returns{background:#fff;border:1px solid #dbe6f2;border-radius:24px;box-shadow:0 22px 60px rgba(25,64,110,.10);padding:32px;margin-top:30px;min-width:0}.sellerpilot-returns-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.sellerpilot-return-details{margin-top:26px}.sellerpilot-return-details .sellerpilot-transaction-table-wrap table{min-width:1180px}.sellerpilot-return-order{display:grid;gap:5px;min-width:155px;word-break:break-word}.sellerpilot-return-order>span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.sellerpilot-return-comment{white-space:pre-wrap;min-width:220px;line-height:1.45}.sellerpilot-return-card p{white-space:pre-wrap}@media (max-width:700px){.sellerpilot-amazon-returns{padding:22px}}

.sellerpilot-amazon-restock{background:#fff;border:1px solid #dbe6f2;border-radius:24px;box-shadow:0 22px 60px rgba(25,64,110,.10);padding:32px;margin-top:30px;min-width:0}
.sellerpilot-restock-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end;margin:24px 0}.sellerpilot-restock-controls label{display:grid;gap:7px;margin:0;color:#46617f;font-size:.82rem;font-weight:800}.sellerpilot-restock-controls input,.sellerpilot-restock-controls select{min-height:42px}
.sellerpilot-restock-details{display:grid;gap:14px;margin-top:26px}.sellerpilot-restock-table-wrap{overflow-x:auto;border:1px solid #e1e9f1;border-radius:14px}.sellerpilot-restock-table-wrap table{width:100%;min-width:1080px;border-collapse:collapse;font-size:.88rem}.sellerpilot-restock-table-wrap th,.sellerpilot-restock-table-wrap td{padding:12px 11px;border-bottom:1px solid #e6edf3;text-align:left;vertical-align:top}.sellerpilot-restock-table-wrap th{background:#f6f9fc;color:#4a6074;font-size:.76rem;text-transform:uppercase;letter-spacing:.03em}.sellerpilot-restock-table-wrap tr:last-child td{border-bottom:0}
.sellerpilot-restock-sku,.sellerpilot-restock-asin{display:block;max-width:180px;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.sellerpilot-restock-sku{color:#1a3556}.sellerpilot-restock-asin{color:#61748b}.sellerpilot-restock-negative{color:#b42318;font-weight:800}.sellerpilot-restock-needs-action td{background:#fff6f5}
.sellerpilot-restock-cards{display:none;gap:12px}.sellerpilot-restock-card{display:grid;gap:8px;padding:15px;border:1px solid #dbe6f2;border-radius:14px;background:#fff}.sellerpilot-restock-card h4{margin:0;color:#132b48}.sellerpilot-restock-card p{margin:0;color:#506982;font-size:.9rem}.sellerpilot-restock-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 0}.sellerpilot-restock-card dt{color:#61748b;font-size:.75rem;font-weight:800;text-transform:uppercase}.sellerpilot-restock-card dd{margin:2px 0 0;color:#162d4a;font-weight:700}.sellerpilot-restock-card .sellerpilot-restock-negative{color:#b42318}
@media(max-width:980px){.sellerpilot-restock-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.sellerpilot-amazon-restock{padding:22px}.sellerpilot-restock-controls{grid-template-columns:1fr}.sellerpilot-restock-table-wrap{display:none}.sellerpilot-restock-cards{display:grid}.sellerpilot-restock-controls .button{width:100%}}

/* Seller Pilot Account Manager: a portal-native, client-scoped conversation. */
.sellerpilot-account-manager-card { display: block; margin-bottom: 22px; padding: 0; overflow: hidden; }
.sellerpilot-account-manager-header { padding: 28px 32px 18px; border-bottom: 1px solid #dce6f2; }
.sellerpilot-account-manager-header h2 { margin: 5px 0 7px; font-size: 24px; }
.sellerpilot-account-manager-header p { margin: 0; }
.sellerpilot-account-manager-messages { display: grid; gap: 14px; min-height: 260px; max-height: 58vh; padding: 24px 32px; overflow-y: auto; background: linear-gradient(180deg, #fbfdff, #f4f8fd); }
.sellerpilot-account-manager-message { display: grid; gap: 5px; max-width: min(85%, 760px); padding: 13px 15px; border: 1px solid #d7e3f1; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(34, 75, 120, .06); }
.sellerpilot-account-manager-message.is-user { justify-self: end; border-color: #bfd4ff; background: #eaf2ff; }
.sellerpilot-account-manager-message strong { color: #284a72; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.sellerpilot-account-manager-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.sellerpilot-account-manager-message time { color: #718197; font-size: 12px; }
.sellerpilot-account-manager-composer { display: grid; gap: 12px; padding: 20px 32px 26px; border-top: 1px solid #dce6f2; background: #fff; }
.sellerpilot-account-manager-composer textarea { width: 100%; min-height: 96px; resize: vertical; padding: 13px; border: 1px solid #c8d6e6; border-radius: 12px; background: #fbfdff; color: #122744; font: inherit; }
.sellerpilot-account-manager-composer textarea:focus { outline: 3px solid rgba(34, 92, 255, .16); border-color: #225cff; }
.sellerpilot-account-manager-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sellerpilot-account-manager-file { max-width: min(100%, 480px); margin: 0; color: #31557e; font-size: 13px; }
.sellerpilot-account-manager-file input { padding: 8px; }
.sellerpilot-account-manager-files { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
.sellerpilot-account-manager-file-pill { max-width: 100%; padding: 5px 9px; border-radius: 999px; background: #edf3fb; color: #31557e; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.sellerpilot-account-manager-send { min-width: 88px; }
.sellerpilot-account-manager-send[aria-busy="true"] { display: inline-flex; align-items: center; justify-content: center; cursor: wait; opacity: 1; }
.sellerpilot-account-manager-send-spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .48); border-top-color: #fff; border-radius: 50%; animation: sellerpilot-account-manager-spin .75s linear infinite; }
@keyframes sellerpilot-account-manager-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sellerpilot-account-manager-send-spinner { animation: none; } }
.sellerpilot-account-manager-status { min-height: 22px; margin: 0; color: #64758b; font-size: 13px; }
.sellerpilot-account-manager-status.is-error { color: #b04424; }
.sellerpilot-account-manager-status.is-loading { color: #245083; font-weight: 700; }
@media (max-width: 560px) { .sellerpilot-account-manager-header, .sellerpilot-account-manager-messages, .sellerpilot-account-manager-composer { padding-left: 20px; padding-right: 20px; } .sellerpilot-account-manager-messages { min-height: 230px; max-height: 52vh; } .sellerpilot-account-manager-message { max-width: 94%; } .sellerpilot-account-manager-actions { align-items: stretch; flex-direction: column; } .sellerpilot-account-manager-actions .button { width: 100%; } }
.maintenance-card { max-width: 720px; text-align: center; }
.maintenance-card > p:not(.eyebrow) { margin: 0; color: #54657b; font-size: 20px; }
.portal-maintenance-notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 22px; padding: 14px 18px; border: 1px solid #efca76; border-radius: 14px; background: #fff6df; color: #694b0d; }
.portal-maintenance-notice strong { color: #674200; }
@media (max-width: 560px) { .portal-maintenance-notice { align-items: flex-start; flex-direction: column; gap: 4px; } }

/* SellerPilot client portal shell v1: a light, client-aware application frame. */
:root {
  --portal-canvas: #f6f9ff;
  --portal-surface: #ffffff;
  --portal-soft: #eef5ff;
  --portal-border: #dbe7f5;
  --portal-text: #0b1f4e;
  --portal-muted: #5d7191;
  --portal-blue: #174cff;
  --portal-blue-deep: #123ccf;
  --portal-teal: #07815f;
  --portal-shadow: 0 10px 28px rgba(25, 65, 118, .08);
}

body.portal-active { background: var(--portal-canvas); }
body.portal-active .page-shell { min-height: 100vh; background: linear-gradient(135deg, #fbfdff 0%, #f2f7ff 58%, #f8fbff 100%); }
body.portal-active .brand-bar { display: none; }
body.portal-active main { width: 100%; margin: 0; padding: 0; }

#portalView { min-height: 100vh; }
.portal-shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
.portal-sidebar { position: sticky; top: 0; display: flex; align-self: start; flex-direction: column; height: 100vh; padding: 30px 18px 24px; border-right: 1px solid var(--portal-border); background: rgba(255, 255, 255, .96); box-shadow: 4px 0 18px rgba(26, 62, 112, .04); }
.portal-sidebar-brand { display: flex; align-items: center; min-height: 48px; padding: 0 10px; margin: 0 0 30px; }
.portal-sidebar-brand .brand-logo { width: 157px; height: auto; }
.tabs.portal-nav { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.portal-nav-item.tab { display: flex; align-items: center; width: 100%; min-height: 50px; gap: 13px; padding: 12px 13px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #122554; font-weight: 760; line-height: 1.25; text-align: left; }
.portal-nav-item.tab:hover { background: #edf4ff; color: var(--portal-blue-deep); }
.portal-nav-item.tab.active { border-color: #275bff; background: linear-gradient(135deg, #1d56ff, #1747e9); box-shadow: 0 9px 20px rgba(23, 76, 255, .23); color: #fff; }
.portal-nav-item.tab:focus-visible { outline: 3px solid rgba(23, 76, 255, .32); outline-offset: 3px; }
.portal-nav-icon { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.portal-provider-badge { flex: 0 0 auto; margin-left: auto; padding: 3px 5px 4px; border-bottom: 2px solid #e99a27; border-radius: 4px; background: #edf1f7; color: #56677e; font-size: 9px; font-weight: 700; line-height: 1; }
.portal-nav-item.tab.active .portal-provider-badge { background: rgba(255,255,255,.16); color: #fff; }
.portal-sidebar-note { margin: auto 10px 0; padding-top: 20px; border-top: 1px solid #e4edf8; color: #7182a0; font-size: 12px; font-weight: 700; }

.portal-main { min-width: 0; padding: 20px clamp(22px, 3.2vw, 52px) 58px; }
.portal-main > * { width: min(100%, 1380px); margin-right: auto; margin-left: auto; }
.portal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin: 16px auto 20px; }
.portal-heading-title { min-width: 0; }
.portal-heading h1 { margin: 7px 0 7px; color: var(--portal-text); font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.06; }
.portal-heading .muted { max-width: 690px; margin: 0; color: var(--portal-muted); }
.portal-heading-actions { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 10px; }
.portal-heading-actions > * { min-width: 0; }
.portal-heading .session-pill,
#masterPortalClientPicker { display: grid !important; gap: 4px !important; min-width: 138px; min-height: 52px; padding: 9px 12px; border: 1px solid #d6e3f4; border-radius: 11px; background: #f7faff; color: #274263; box-shadow: 0 3px 10px rgba(28, 65, 117, .04); font-size: 12px; }
.portal-heading .session-pill { display: inline-flex !important; align-items: center; min-height: 40px; white-space: nowrap; }
#masterPortalClientPicker select { min-width: 170px; padding: 4px 26px 4px 0; border: 0; border-radius: 0; background-color: transparent; color: var(--portal-text); font-size: 14px; font-weight: 750; }
#masterPortalClientPicker select:focus { outline: 2px solid rgba(23, 76, 255, .32); outline-offset: 2px; }
.portal-account-slot,
#portalAccountSlot { display: contents; }
body.portal-active .account-bar { min-height: 52px; padding: 7px 8px 7px 12px; border: 1px solid #d6e3f4; border-radius: 11px; background: #fff; box-shadow: 0 3px 10px rgba(28, 65, 117, .04); color: #526887; }
body.portal-active .account-bar .button { min-height: 36px; padding: 8px 12px; border: 1px solid #d6e3f4; background: #fff; color: #132653; box-shadow: none; }
body.portal-active .account-bar .button:hover { border-color: #acc4e6; background: #f4f8ff; }

.portal-maintenance-notice { width: min(100%, 1380px); margin: 0 auto 18px; padding: 13px 17px; border: 1px solid #f1c662; border-radius: 12px; background: #fff7e5; box-shadow: 0 5px 16px rgba(157, 103, 12, .07); color: #65470e; }
.portal-maintenance-notice strong { display: inline-flex; align-items: center; gap: 9px; color: #5f410b; }
.portal-maintenance-notice strong::before { width: 18px; height: 18px; content: "!"; border-radius: 50%; background: #f6aa16; color: #fff; font-size: 12px; font-weight: 900; line-height: 18px; text-align: center; }

.portal-connection-card,
.portal-report-overview,
.portal-content > .sellerpilot-service-card,
.admin-card { border: 1px solid var(--portal-border); border-radius: 14px; box-shadow: var(--portal-shadow); }
.portal-connection-card { min-height: 72px; margin: 0 auto 20px; padding: 16px 22px; background: var(--portal-surface); }
.portal-connection-card h2 { margin: 2px 0 3px; color: var(--portal-text); font-size: 17px; }
.portal-connection-card .eyebrow { margin-bottom: 2px; }
.portal-connection-card .button-row { margin: 0; }
.amazon-marketplace-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; box-sizing: border-box; padding: 28px; border: 1px solid #d7e2ef; border-radius: 18px; background: #fff; color: #122744; box-shadow: 0 24px 70px rgba(18, 39, 68, .22); }
.amazon-marketplace-dialog::backdrop { background: rgba(12, 26, 47, .48); }
.amazon-marketplace-dialog h2 { margin: 0 0 10px; font-size: 22px; }
.amazon-marketplace-dialog p { line-height: 1.5; margin: 0 0 22px; }
.amazon-marketplace-dialog label { margin-bottom: 8px; }
.amazon-marketplace-dialog .button-row { justify-content: flex-end; margin-top: 24px; }
.amazon-marketplace-dialog button:disabled { opacity: .65; cursor: wait; }
#amazonConnectionMessage { display: flex; align-items: center; gap: 7px; min-height: 20px; margin: 0; font-size: 14px; font-weight: 650; }
#amazonConnectionCard.is-connected #amazonConnectionMessage::before { width: 18px; height: 18px; content: "✓"; border-radius: 50%; background: #dff7ef; color: var(--portal-teal); font-size: 13px; font-weight: 900; line-height: 18px; text-align: center; }

.portal-content { display: grid; gap: 20px; min-width: 0; }
.portal-report-overview { min-height: 110px; margin: 0; padding: 20px 23px; background: var(--portal-surface); }
.portal-report-overview h2 { color: var(--portal-text); }
.portal-content > .sellerpilot-service-card { min-width: 0; margin: 0; padding: 26px; background: var(--portal-surface); }
.portal-content > .sellerpilot-account-manager-card { padding: 0; }
.portal-content > .sellerpilot-amazon-sales { margin: 0; }
.portal-contact-notice { margin: 0; padding: 0 4px; color: var(--portal-muted); }
.portal-contact-notice a { color: var(--portal-blue-deep); font-weight: 750; }

/* The live Sales callable continues to generate the dashboard; these selectors only arrange it. */
.portal-content > .sellerpilot-service-card.sellerpilot-amazon-sales { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 350px); gap: 18px 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; }
.sellerpilot-amazon-sales > .sellerpilot-sales-heading,
.sellerpilot-amazon-sales > .sellerpilot-sales-controls,
.sellerpilot-amazon-sales > .sellerpilot-sales-kpis,
.sellerpilot-amazon-sales > .sellerpilot-sales-tip:not(.sellerpilot-review-requests-card),
.sellerpilot-amazon-sales > .sellerpilot-sales-geo,
.sellerpilot-amazon-sales > .sellerpilot-sales-fees,
.sellerpilot-amazon-sales > .muted,
.sellerpilot-amazon-sales > h2,
.sellerpilot-amazon-sales > .eyebrow { grid-column: 1 / -1; }
.sellerpilot-sales-heading { margin: 0; }
.sellerpilot-sales-heading h2 { color: var(--portal-text); font-size: 25px; }
.sellerpilot-sales-controls { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 12px; align-items: end; margin: 0; padding: 14px 16px; border: 1px solid var(--portal-border); border-radius: 14px; background: var(--portal-surface); box-shadow: 0 6px 18px rgba(25, 65, 118, .05); }
.sellerpilot-sales-date-controls { gap: 10px; }
.sellerpilot-sales-date-controls label,
.sellerpilot-sales-marketplace-label { color: #264566; font-size: 12px; }
.sellerpilot-sales-date-controls input,
.sellerpilot-sales-controls select { min-height: 42px; border-color: #cbdcf1; border-radius: 9px; background: #fff; }
.sellerpilot-sales-controls .button { min-height: 42px; padding: 9px 15px; }
.sellerpilot-sales-controls .secondary { border: 1px solid #2456ff; background: #2456ff; color: #fff; box-shadow: 0 7px 15px rgba(23, 76, 255, .2); }
.sellerpilot-sales-marketplace-label { min-width: 190px; }
.sellerpilot-sales-presets { grid-column: auto; margin-left: auto; }
.sellerpilot-sales-period { min-height: 42px; border-color: #d3e0f1; border-radius: 9px; background: #fff; color: #19355f; }
.sellerpilot-sales-period:hover,
.sellerpilot-sales-period:focus-visible { border-color: #225cff; background: #edf3ff; color: var(--portal-blue-deep); }

.sellerpilot-sales-kpis { grid-column: 1 / -1; gap: 14px; margin: 0; }
.sellerpilot-sales-card { position: relative; min-height: 124px; gap: 9px; padding: 19px 62px 18px 20px; border-color: var(--portal-border); border-radius: 14px; background: linear-gradient(145deg, #fff, #f9fbff); box-shadow: 0 7px 19px rgba(25, 65, 118, .06); }
.sellerpilot-sales-card::after { position: absolute; top: 50%; right: 18px; display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; background: #eaf1ff; color: var(--portal-blue); content: "↗"; font-size: 25px; font-weight: 800; transform: translateY(-50%); }
.sellerpilot-sales-card:nth-child(2)::after { background: #e4f8f1; color: var(--portal-teal); content: "◇"; }
.sellerpilot-sales-card:nth-child(3)::after { background: #eef3ff; color: #274780; content: "%"; }
.sellerpilot-sales-card:nth-child(4)::after { background: #e5f8f1; color: var(--portal-teal); content: "$"; }
.sellerpilot-sales-card > span { color: #172f5b; font-size: 13px; letter-spacing: 0; text-transform: none; }
.sellerpilot-sales-card > strong { color: var(--portal-text); font-size: clamp(1.45rem, 2.4vw, 2rem); }
.sellerpilot-sales-card > small { min-height: 0; color: #627697; }

.sellerpilot-sales-chart-card { grid-column: 1; grid-row: 4; min-width: 0; margin: 0; padding: 22px 24px 18px; border-color: var(--portal-border); border-radius: 15px; box-shadow: var(--portal-shadow); }
.sellerpilot-sales-chart-card h3 { color: var(--portal-text); font-size: 18px; }
.sellerpilot-sales-chart-card > .muted { font-size: 13px; }
.sellerpilot-sales-chart-card .time-series-chart { display: block; width: 100%; height: auto; min-height: 300px; border-radius: 10px; background: linear-gradient(180deg, #fbfdff, #fff); }
.sales-fees-legend { margin-bottom: 14px; color: #294768; }
.sales-fees-legend i { width: 11px; height: 11px; }
.chart-grid-line { stroke: #dce8f7; stroke-dasharray: 3 3; }
.chart-axis { stroke: #8ca4c4; }
.chart-x-tick text,
.chart-y-tick text { fill: #597090; }

.sellerpilot-amazon-sales > [data-review-requests-sales-card] { display: block; grid-column: 2; grid-row: 4; min-width: 0; }
.sellerpilot-review-requests-card { height: 100%; min-height: 100%; margin: 0; padding: 21px 22px; border: 1px solid var(--portal-border); border-left: 1px solid var(--portal-border); border-radius: 15px; background: #fff; box-shadow: var(--portal-shadow); color: #384f71; }
.sellerpilot-review-requests-card .eyebrow { margin-bottom: 5px; }
.sellerpilot-review-requests-card h3 { color: var(--portal-text); font-size: 17px; }
.sellerpilot-review-requests-card .secondary { width: 100%; margin: 5px 0 11px; border: 1px solid #225cff; border-radius: 9px; background: #eef3ff; color: #1746d5; font-weight: 800; }
.sellerpilot-review-requests-card > h3:last-of-type { margin-top: 18px; padding-top: 15px; border-top: 1px solid #dce8f5; color: var(--portal-blue-deep); }

.sellerpilot-amazon-transactions,
.sellerpilot-amazon-returns,
.sellerpilot-amazon-restock { display: block; margin: 0; border-color: var(--portal-border); border-radius: 15px; box-shadow: var(--portal-shadow); }
.sellerpilot-amazon-transactions .sellerpilot-sales-heading h2,
.sellerpilot-amazon-returns .sellerpilot-sales-heading h2,
.sellerpilot-amazon-restock .sellerpilot-sales-heading h2 { color: var(--portal-text); }
.sellerpilot-transaction-controls,
.sellerpilot-restock-controls,
.sellerpilot-returns-controls { padding: 15px; border: 1px solid var(--portal-border); border-radius: 14px; background: #f9fbff; }
.sellerpilot-sales-fees,
.sellerpilot-sales-geo article { border-color: var(--portal-border); border-radius: 14px; box-shadow: 0 6px 18px rgba(25, 65, 118, .05); }
.sellerpilot-sales-tip { border-left-color: #2b5bff; background: #f4f8ff; }
.sellerpilot-service-card .sellerpilot-content-item,
.sellerpilot-service-card .sellerpilot-content-section { border-color: var(--portal-border); border-radius: 14px; }

@media (max-width: 1180px) {
  .portal-shell { grid-template-columns: 240px minmax(0, 1fr); }
  .portal-sidebar { padding-right: 14px; padding-left: 14px; }
  .portal-nav-item.tab { gap: 11px; padding-right: 11px; padding-left: 11px; }
  .portal-main { padding-right: 24px; padding-left: 24px; }
  .portal-heading-actions { max-width: 430px; }
  .sellerpilot-sales-controls .sellerpilot-sales-presets { width: 100%; margin-left: 0; }
}

@media (max-width: 920px) {
  .portal-shell { display: block; }
  .portal-sidebar { position: relative; display: block; width: 100%; height: auto; min-height: 0; padding: 14px 16px 10px; border-right: 0; border-bottom: 1px solid var(--portal-border); box-shadow: 0 3px 15px rgba(26, 62, 112, .04); }
  .portal-sidebar-brand { min-height: 36px; margin: 0 0 12px; padding: 0 4px; }
  .portal-sidebar-brand .brand-logo { width: 144px; }
  .tabs.portal-nav { display: flex; width: 100%; gap: 7px; overflow-x: auto; padding: 0 0 5px; scrollbar-width: thin; }
  .portal-nav-item.tab { width: auto; min-height: 42px; flex: 0 0 auto; padding: 9px 12px; white-space: nowrap; }
  .portal-nav-icon { width: 19px; height: 19px; }
  .portal-sidebar-note { display: none; }
  .portal-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .portal-heading-actions { max-width: none; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .portal-main { padding: 15px 14px 36px; }
  .portal-heading h1 { font-size: 34px; }
  .portal-heading-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-heading-actions > * { width: 100%; }
  body.portal-active .account-bar { display: flex; grid-column: 1 / -1; justify-content: space-between; }
  .portal-connection-card,
  .portal-report-overview { padding: 17px; }
  .portal-connection-card { align-items: flex-start; flex-direction: column; gap: 12px; }
  .portal-connection-card .button-row { width: 100%; }
  .portal-connection-card .button { width: 100%; }
  .portal-content > .sellerpilot-service-card.sellerpilot-amazon-sales { grid-template-columns: 1fr; gap: 15px; }
  .sellerpilot-amazon-sales > [data-review-requests-sales-card],
  .sellerpilot-sales-chart-card { grid-column: 1; grid-row: auto; }
  .sellerpilot-sales-controls { align-items: stretch; flex-direction: column; }
  .sellerpilot-sales-date-controls { align-items: stretch; flex-direction: column; }
  .sellerpilot-sales-date-controls label,
  .sellerpilot-sales-marketplace-label { width: 100%; max-width: none; }
  .sellerpilot-sales-date-controls input,
  .sellerpilot-sales-controls select,
  .sellerpilot-sales-controls .button { width: 100%; }
  .sellerpilot-sales-presets { width: 100%; }
  .sellerpilot-sales-period { flex: 1 1 120px; }
  .sellerpilot-sales-chart-card { padding: 18px 15px 14px; }
  .sellerpilot-sales-chart-card .time-series-chart { min-height: 240px; }
}

@media (max-width: 480px) {
  .portal-heading-actions { grid-template-columns: 1fr; }
  .portal-heading .session-pill,
  #masterPortalClientPicker { width: 100%; }
  .sellerpilot-sales-card { min-height: 112px; }
}

/* Account manager status history. */
.sellerpilot-status-update { padding:20px 0; border-top:1px solid #dce6f2; overflow-wrap:anywhere; }
.sellerpilot-status-update:first-of-type { border-top:0; }
.sellerpilot-status-update h3 { margin:0 0 6px; font-size:1.05rem; }
.sellerpilot-status-update p { margin:0 0 12px; line-height:1.6; }
.sellerpilot-status-contact { font-size:.85rem; }
.sellerpilot-status-contact a { color:#225cff; }
#sellerPilotStatusUpdates { display:block; }
#sellerPilotStatusUpdates[hidden] { display:none; }
#statusUpdateDeleteText { white-space:pre-wrap; overflow-wrap:anywhere; }
.finished-work-body { overflow-wrap:anywhere; line-height:1.65; }
.finished-work-table { overflow-x:auto; margin:1rem 0; }
.finished-work-table table { width:100%; border-collapse:collapse; }
.finished-work-table th,.finished-work-table td { text-align:left; border:1px solid #dce2ec; padding:.7rem; }
.finished-work-body pre { overflow-x:auto; padding:1rem; background:#f3f5f8; border-radius:.6rem; }
.finished-work-image { display:block; width:auto; max-width:100%; max-height:700px; margin-bottom:.6rem; }
.finished-work-composer { border:1px solid #dce2ec; border-radius:.75rem; padding:1rem; margin-bottom:1.5rem; }
.finished-work-composer summary { cursor:pointer; font-weight:700; }
.finished-work-form { display:grid; gap:1rem; margin-top:1rem; }
.finished-work-form label { display:grid; gap:.4rem; }
.finished-work-form textarea,.finished-work-form input { width:100%; }
dialog { border:1px solid #dce2ec; border-radius:1rem; max-width:min(36rem,94vw); }
dialog::backdrop { background:#17233980; }
