/* Scoped Shopify preview; shared navigation and authentication remain in the host. */
body.shopify-mode { min-width: 320px; background: var(--n1); color: var(--n14); }
body.shopify-mode .dashboard { max-width: 1600px; }
body.shopify-mode #filterPanel, body.shopify-mode #cardsRow, body.shopify-mode #products, body.shopify-mode .topbar { display: none !important; }
#shopifyDashboard { --sp-muted: var(--n12); --sp-border: var(--n6); font-size: 14px; min-width: 0; }
#shopifyDashboard[hidden], #shopifyDashboard [hidden] { display: none !important; }
#shopifyDashboard button, #shopifyDashboard select, #shopifyDashboard input { font: inherit; min-height: 44px; padding: 9px 12px; border: 1px solid var(--sp-border); border-radius: 7px; background: var(--n3); color: var(--n14); }
#shopifyDashboard button { cursor: pointer; }
#shopifyDashboard button:hover:not(:disabled) { border-color: var(--sky); }
#shopifyDashboard button:disabled { opacity: .5; cursor: default; }
#shopifyDashboard :focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
#shopifyDashboard h1 { font-size: 28px; letter-spacing: -.02em; }
#shopifyDashboard h2 { font-size: 16px; font-weight: 650; }
#shopifyDashboard p { line-height: 1.5; }
.sp-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 8px 0 22px; }
.sp-heading p { color: var(--sp-muted); margin-top: 7px; }
.sp-filters, .sp-custom { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.sp-filters { padding: 16px; background: var(--n2); border: 1px solid var(--sp-border); border-radius: 10px; }
#shopifyDashboard label { display: flex; flex-direction: column; gap: 6px; color: var(--sp-muted); font-size: 12px; }
#shopifyDashboard select { min-width: 180px; max-width: 330px; }
#shopifyDashboard .sp-primary { background: var(--sky-strong); color: var(--n14); border-color: var(--sky); }
.sp-channels { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
#shopifyDashboard .sp-channels button { font-size: 13px; }
#shopifyDashboard .sp-channels .is-active { border-color: var(--sky); color: var(--teal); background: var(--sky-tint); }
.sp-status { color: var(--n13); line-height: 1.6; }
.sp-status:empty { display: none; }
.sp-report-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--sp-muted); margin: 18px 0 12px; font-size: 12px; }
.sp-notice { color: var(--amber); background: var(--n5); border: 1px solid var(--amber-strong); padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.sp-kpis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.sp-kpi, .sp-panel { background: var(--n2); border: 1px solid var(--sp-border); border-radius: 10px; padding: 18px; min-width: 0; }
#shopifyDashboard .sp-kpi h2 { font-size: 12px; color: var(--sp-muted); margin-bottom: 15px; }
.sp-kpi strong { display: block; font-size: clamp(20px,2.1vw,30px); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.sp-kpi p, .sp-muted { color: var(--sp-muted); font-size: 12px; }
.sp-kpi p { margin-top: 7px; }
.sp-delta { font-size: 12px; font-weight: 600; }
.sp-good { color: var(--teal); }
.sp-bad { color: var(--red); }
.sp-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 16px; }
.sp-panel { margin-bottom: 16px; }
.sp-panel > h2 { margin-bottom: 14px; }
.sp-table-scroll { max-width: 100%; overflow: auto; }
#shopifyDashboard table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 12px; }
#shopifyDashboard th, #shopifyDashboard td { padding: 11px 10px; border-bottom: 1px solid var(--n5); text-align: right; font-variant-numeric: tabular-nums; }
#shopifyDashboard th:first-child { text-align: left; }
#shopifyDashboard thead th { color: var(--sp-muted); font-weight: 500; background: var(--n2); }
#shopifyDashboard tbody th { font-weight: 550; }
#shopifyDashboard tfoot th, #shopifyDashboard tfoot td { background: var(--n5); border-top: 2px solid var(--sky); border-bottom: 0; font-weight: 700; padding-top: 14px; padding-bottom: 14px; }
#shopifyDashboard th button { padding: 6px 0; border: 0; background: none; min-height: 36px; font-size: inherit; }
.sp-products-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sp-pager { display: flex; align-items: center; justify-content: end; gap: 10px; margin-top: 14px; }
.sp-pager span { margin-right: auto; color: var(--sp-muted); font-size: 12px; }
.sp-empty { padding: 24px 10px; color: var(--sp-muted); text-align: center !important; }
.sp-footnote { font-size: 12px; color: var(--sp-muted); margin: 12px 0 20px; }
.sp-chart-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 10px; color: var(--n13); font-size: 12px; }
.sp-chart-caption span { display: flex; align-items: center; gap: 8px; }
.sp-chart-caption i { width: 8px; height: 8px; border-radius: 3px; background: var(--teal-fill); box-shadow: 0 0 10px color-mix(in srgb, var(--teal) 20%, transparent); }
.sp-chart-caption small { color: var(--sp-muted); font-size: 11px; }
.sp-chart-plot { position: relative; }
#spChart svg { width: 100%; display: block; overflow: visible; }
#spChart text { fill: var(--n11); font: 11px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.sp-chart-grid line { stroke: color-mix(in srgb, var(--sky) 11%, transparent); stroke-dasharray: 3 5; }
.sp-chart-grid .sp-chart-zero { stroke: var(--sky); stroke-dasharray: none; }
.sp-chart-point { outline: none; cursor: pointer; }
.sp-chart-bar { fill: url(#spRevenueFill); transition: filter .12s ease; }
.sp-chart-bar.is-negative { fill: url(#spRefundFill); }
.sp-chart-previous { fill: var(--n8); opacity: .75; }
.sp-chart-caption i.sp-previous-key { background: var(--n8); box-shadow: none; }
.sp-chart-caption i.sp-plan-key { background: var(--amber); }
.sp-chart-plan { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 7 4; pointer-events: none; }
.sp-chart-band { fill: var(--teal); opacity: 0; transition: opacity .12s ease; }
.sp-chart-hit { fill: transparent; }
.sp-chart-point.is-active .sp-chart-band, .sp-chart-point:focus-visible .sp-chart-band { opacity: .09; }
.sp-chart-point.is-active .sp-chart-bar, .sp-chart-point:focus-visible .sp-chart-bar { filter: brightness(1.3); stroke: var(--teal); stroke-width: 1; }
.sp-chart-tooltip { position: absolute; z-index: 2; pointer-events: none; min-width: 160px; padding: 12px 14px; border: 1px solid var(--sky); border-radius: 10px; background: var(--n4); box-shadow: 0 8px 26px color-mix(in srgb, var(--shadow) 40%, transparent); }
.sp-chart-tooltip span, .sp-chart-tooltip small, .sp-chart-tooltip strong { display: block; }
.sp-chart-tooltip span { color: var(--n13); font-size: 12px; margin-bottom: 10px; }
.sp-chart-tooltip small { color: var(--sky); font-size: 11px; margin-bottom: 4px; }
.sp-chart-tooltip strong { color: var(--teal); font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .sp-chart-bar, .sp-chart-band { transition: none; } }
#spChart summary { cursor: pointer; color: var(--teal); padding: 10px 0; min-height: 44px; }
.sp-daily-table { max-height: 280px; }
@media (max-width: 1100px) { .sp-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); } .sp-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 640px) { body.shopify-mode { padding: 10px; } .sp-heading { align-items: start; flex-direction: column; gap: 10px; } .sp-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .sp-kpi, .sp-panel { padding: 13px; } .sp-products-head { align-items: start; flex-direction: column; } .sp-filters > label { flex: 1 1 100%; } #shopifyDashboard select { width: 100%; max-width: none; } .sp-custom { width: 100%; } .sp-custom label { flex: 1 1 130px; } .sp-custom input { width: 100%; } }
@media (max-width: 700px) { body.shopify-mode .global-shell .user-chip { order: 3; } }
#spMarketing .sp-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 20px; }
#spMarketing .sp-kpi h3 { font-size: 12px; margin: 0 0 10px; color: var(--sp-muted); }
@media (max-width: 640px) { #spMarketing .sp-kpis { grid-template-columns: minmax(0,1fr); } }
.sp-revenue-panel { margin-bottom: 16px; }
.sp-chart-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 6px; }

/* Executive workspace: one overview and focused drill-down views. */
#shopifyDashboard { --sp-muted: var(--n11); }
#shopifyDashboard h1, #shopifyDashboard h2, #shopifyDashboard h3, #shopifyDashboard p { margin-top: 0; }
#shopifyDashboard button, #shopifyDashboard summary { touch-action: manipulation; }
.sp-heading { margin: 18px 0 16px; align-items: end; }
#shopifyDashboard .sp-heading h1 { font-size: 30px; line-height: 1.15; margin: 4px 0 0; }
.sp-eyebrow { color: var(--teal); font-size: 10px; font-weight: 650; letter-spacing: .14em; }
.sp-heading > p { margin: 0 0 2px; color: var(--sp-muted); font-size: 12px; }
.sp-filters { display: block; padding: 12px 16px 0; }
.sp-filter-row { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.sp-filter-row > label { flex: 1 1 180px; }
#shopifyDashboard .sp-filter-row select { width: 100%; max-width: none; min-width: 0; }
.sp-filter-actions { display: flex; gap: 8px; padding-bottom: 0; }
#shopifyDashboard .sp-primary { background: var(--teal-fill); border-color: var(--teal-fill); color: var(--on-fill); font-weight: 650; }
#shopifyDashboard label { font-size: 11px; gap: 5px; }
#shopifyDashboard input, #shopifyDashboard select, #shopifyDashboard button { font-size: 13px; }
.sp-advanced { border-top: 1px solid var(--n5); margin-top: 12px; }
#shopifyDashboard summary { cursor: pointer; min-height: 40px; padding: 12px 0; color: var(--n12); font-size: 12px; }
.sp-advanced summary span { margin-left: 14px; color: var(--teal); font-size: 11px; }
.sp-advanced-body { display: flex; align-items: start; gap: 20px; padding: 4px 0 16px; }
.sp-channels { margin: 0 0 6px; gap: 6px; }
#shopifyDashboard .sp-channels button { min-height: 38px; font-size: 12px; }
.sp-report-meta { margin: 14px 0 10px; font-size: 11px; }
.sp-report-meta p { margin-bottom: 0; }
.sp-executive-kpis { display: grid; grid-template-columns: 1.12fr 1.08fr 1fr 1fr; gap: 12px; }
.sp-executive-kpis.sp-without-ads { grid-template-columns: 1.2fr 1fr; }
.sp-kpi { position: relative; padding: 17px 18px 15px; border-radius: 12px; }
.sp-kpi-revenue { border-top: 2px solid var(--teal); background: linear-gradient(130deg, color-mix(in srgb, var(--teal) 7%, var(--n2)), var(--n2)); }
.sp-kpi-drr { border-top: 2px solid var(--blue); }
.sp-kpi-plan { border-top: 2px solid var(--amber); }
#shopifyDashboard .sp-kpi h2 { margin: 0 0 8px; color: var(--n12); font-size: 12px; font-weight: 550; }
.sp-kpi strong { font-size: clamp(23px,2.25vw,34px); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 6px; }
#shopifyDashboard .sp-kpi .sp-kpi-context { font-size: 10px; margin: 0 0 12px; color: var(--sp-muted); }
.sp-compare-row { display: flex; gap: 6px; justify-content: space-between; align-items: baseline; margin-top: 6px; font-size: 10px; color: var(--sp-muted); }
.sp-compare-row .sp-delta { font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sp-plan-description { font-size: 11px; line-height: 1.6; }
.sp-plan-description b { color: var(--n13); font-weight: 550; }
#shopifyDashboard .sp-kpi .sp-coverage-hint { font-size: 10px; color: var(--amber); margin: 8px 0 0; }
.sp-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--n6); margin: 18px 0; overflow-x: auto; }
#shopifyDashboard .sp-tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 9px 2px 12px; min-height: 44px; color: var(--sp-muted); white-space: nowrap; font-size: 13px; }
#shopifyDashboard .sp-tabs button[aria-selected="true"] { color: var(--teal); border-bottom-color: var(--teal); font-weight: 650; }
#shopifyDashboard .sp-tabs button:hover { color: var(--n14); }
.sp-panel { border-radius: 12px; padding: 20px; }
#shopifyDashboard .sp-panel h2 { font-size: 16px; letter-spacing: -.015em; margin-bottom: 5px; }
.sp-products-head { margin-bottom: 12px; }
.sp-products-head p { margin-bottom: 0; font-size: 11px; }
.sp-chart-caption { justify-content: start; gap: 12px 24px; margin: 8px 0 12px; font-size: 11px; }
.sp-chart-caption small { margin-left: auto; font-size: 10px; }
.sp-chart-caption i { box-shadow: none; width: 8px; height: 8px; }
.sp-chart-caption i.sp-ads-key { background: var(--blue); }
#spChart svg { max-height: 340px; }
#spChart .sp-method { display: inline-block; margin-right: 20px; vertical-align: top; }
#spChart summary, #shopifyDashboard .sp-method summary { color: var(--sp-muted); font-size: 11px; min-height: 36px; padding: 10px 0; }
.sp-method p { max-width: 1000px; line-height: 1.65; }
.sp-secondary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 16px 0; padding: 18px 20px; background: var(--n2); border: 1px solid var(--n6); border-radius: 12px; }
.sp-secondary article + article { border-left: 1px solid var(--n6); padding-left: 16px; }
#shopifyDashboard .sp-secondary h2 { font-size: 12px; color: var(--sp-muted); margin: 0 0 8px; }
.sp-secondary strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.sp-overview-breakdown { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.sp-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sp-section-head p { margin: 0; }
.sp-section-head .sp-chart-caption { margin: 0; }
.sp-ranking { margin-bottom: 0; }
.sp-rank-row { margin: 18px 0; }
.sp-rank-row > div:first-child { display: flex; gap: 14px; align-items: baseline; margin-bottom: 8px; font-size: 12px; }
.sp-rank-row b { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.sp-rank-row small { width: 45px; text-align: right; color: var(--sp-muted); }
.sp-bar-track { height: 6px; border-radius: 3px; background: var(--n5); overflow: hidden; }
.sp-bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.sp-bar-fill.sp-fill-channel { background: var(--violet); }
.sp-bar-fill.sp-fill-ads { background: var(--blue); }
#shopifyDashboard .sp-text-button { background: transparent; border: 0; color: var(--teal); padding: 10px 0 0; font-size: 12px; }
#shopifyDashboard .sp-notice { font-size: 12px; padding: 10px 14px; }
#shopifyDashboard table { font-size: 12px; }
#shopifyDashboard th, #shopifyDashboard td { padding: 14px 12px; }
#shopifyDashboard tbody tr:hover { background: color-mix(in srgb, var(--teal) 3%, var(--n2)); }
#shopifyDashboard thead th { font-size: 11px; color: var(--sp-muted); }
.sp-marketing-period { color: var(--n13); font-size: 12px; margin: 4px 0 18px; }
.sp-marketing-period span { color: var(--sp-muted); }
.sp-campaign-toolbar { display: flex; gap: 12px; align-items: end; margin: 14px 0 20px; }
.sp-campaign-search { flex: 1; min-width: 200px; }
.sp-campaign-search input { width: 100%; }
.sp-budget { background: var(--n3); border: 1px solid var(--n5); border-radius: 10px; padding: 0 16px 8px; margin-bottom: 20px; }
#shopifyDashboard .sp-budget summary { color: var(--n13); font-weight: 550; }
.sp-budget summary span { font-size: 10px; color: var(--sp-muted); font-weight: 400; margin-left: 12px; }
.sp-budget-bars { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 28px; padding: 4px 0 12px; }
.sp-budget-item > div:first-child { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; font-size: 11px; }
.sp-budget-index, .sp-budget-item small { color: var(--sp-muted); font-size: 10px; }
.sp-budget-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.sp-budget-item b { font-variant-numeric: tabular-nums; font-weight: 600; }
.sp-table-caption { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0 12px; font-size: 12px; }
.sp-table-caption span { color: var(--sp-muted); font-size: 11px; }
#shopifyDashboard .sp-campaign-table { table-layout: fixed; white-space: normal; min-width: 720px; }
#shopifyDashboard .sp-campaign-table > thead th:first-child { width: 43%; }
#shopifyDashboard .sp-campaign-table > thead th:nth-child(2) { width: 8%; }
#shopifyDashboard .sp-campaign-table > tbody > tr > td { white-space: nowrap; }
#shopifyDashboard .sp-campaign-name { display: flex; gap: 10px; text-align: left; background: none; border: 0; padding: 5px 0; font-size: 12px; font-weight: 600; width: 100%; min-height: 36px; line-height: 1.5; }
.sp-campaign-name > span:first-child { color: var(--teal); font-size: 16px; font-weight: 400; flex: 0 0 12px; }
.sp-campaign-name > span:last-child { overflow-wrap: anywhere; }
.sp-campaign-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; color: var(--sp-muted); font-size: 10px; margin-left: 22px; align-items: center; }
.sp-status-tag { background: var(--n4); border-radius: 4px; padding: 2px 5px; }
.sp-status-tag.is-enabled { background: var(--teal-tint); color: var(--teal); }
.sp-country-code { padding: 4px 6px; background: var(--n4); border-radius: 4px; color: var(--n12); font-size: 11px; }
.sp-drr-cell { font-size: 14px; }
#shopifyDashboard .sp-campaign-row.is-expanded { background: var(--n3); }
#shopifyDashboard .sp-campaign-expanded > td { padding: 0; white-space: normal; text-align: left; }
.sp-campaign-detail { background: var(--n3); border-left: 2px solid var(--teal); padding: 18px 20px; }
.sp-detail-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 14px; }
.sp-detail-metrics span, .sp-detail-metrics b { display: block; }
.sp-detail-metrics span { color: var(--sp-muted); font-size: 11px; margin-bottom: 5px; }
.sp-detail-metrics b { font-size: 18px; }
#shopifyDashboard .sp-comparison-table { font-size: 11px; }
.sp-comparison-table caption { text-align: left; color: var(--n13); padding: 6px 0 10px; }
.sp-comparison-table small { display: block; color: var(--sp-muted); margin-top: 5px; }
.sp-campaign-detail p { margin: 12px 0 0; font-size: 10px; }
.sp-country-performance article { display: grid; grid-template-columns: 145px 1fr 180px; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--n5); }
#shopifyDashboard .sp-country-link { background: transparent; border: 0; padding: 0; text-align: left; color: var(--n13); font-weight: 550; }
.sp-country-link span { color: var(--teal); }
.sp-country-bars > div { display: grid; grid-template-columns: 1fr 120px; gap: 18px; align-items: center; margin: 6px 0; }
.sp-country-bars b, .sp-country-bars span { text-align: right; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sp-country-bars .sp-bar-track { height: 8px; }
.sp-country-bars > div:nth-child(2) { color: var(--sp-muted); }
.sp-country-drr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; justify-content: end; }
.sp-country-drr strong { font-size: 23px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sp-country-drr small { color: var(--sp-muted); font-size: 10px; }
.sp-country-drr > span { width: 100%; text-align: right; }
@media (max-width: 1200px) {
  .sp-executive-kpis { gap: 8px; }
  .sp-kpi { padding: 15px 13px; }
  .sp-compare-row { flex-wrap: wrap; }
  .sp-country-performance article { grid-template-columns: 125px 1fr 150px; gap: 16px; }
}
@media (max-width: 800px) {
  .sp-executive-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sp-overview-breakdown { grid-template-columns: 1fr; }
  .sp-secondary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sp-secondary article:nth-child(3) { border-left: 0; padding-left: 0; }
  .sp-campaign-toolbar { flex-wrap: wrap; }
  .sp-campaign-search { flex-basis: 100%; }
  .sp-budget-bars { grid-template-columns: 1fr; }
  .sp-budget summary span { display: block; margin: 6px 0 0; }
  .sp-country-performance article { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sp-country-bars { grid-row: 2; grid-column: 1 / -1; }
  .sp-country-drr > span { width: auto; }
}
@media (max-width: 640px) {
  .sp-heading { flex-direction: row; align-items: end; }
  .sp-heading > p { display: none; }
  .sp-filters { padding: 12px 12px 0; }
  .sp-filter-row > label { flex: 1 1 125px; min-width: 0; }
  .sp-filter-row > label:first-child { flex-basis: 100%; }
  .sp-filter-actions { width: 100%; }
  .sp-filter-actions button { flex: 1; }
  .sp-advanced summary span { display: block; margin: 5px 0 0; }
  .sp-advanced-body { flex-direction: column; gap: 12px; }
  .sp-advanced-body > label { width: 100%; }
  .sp-kpi { padding: 14px 12px; }
  .sp-kpi strong { font-size: 24px; }
  .sp-tabs { gap: 20px; margin: 14px 0; }
  .sp-panel { padding: 16px 12px; }
  .sp-section-head { align-items: start; flex-direction: column; gap: 8px; }
  .sp-chart-caption { gap: 10px 14px; }
  .sp-chart-caption small { width: 100%; margin-left: 0; }
  .sp-table-caption { flex-direction: column; }
  .sp-campaign-toolbar > label:not(.sp-campaign-search) { flex: 1; min-width: 0; }
  #shopifyDashboard .sp-campaign-toolbar select { min-width: 0; }
  .sp-detail-metrics { grid-template-columns: repeat(2,1fr); }
  .sp-pager { flex-wrap: wrap; }
  .sp-pager span { width: 100%; }
  #shopifyDashboard .sp-pager button { font-size: 11px; padding: 8px; }
  .sp-country-bars > div { grid-template-columns: 1fr 104px; gap: 10px; }
}
#shopifyDashboard .sp-compare-detail > summary { min-height: 0; padding: 3px 0; margin: 2px 0 0; font-size: 11px; color: var(--sp-muted); list-style: none; }
.sp-compare-detail > summary::-webkit-details-marker { display: none; }
.sp-compare-detail > summary > span:first-child::before { content: '›'; display: inline-block; margin-right: 5px; color: var(--n10); }
.sp-compare-detail[open] > summary > span:first-child::before { content: '⌄'; }
.sp-compare-detail > small { display: block; padding: 5px 0 7px; color: var(--n12); font-size: 10px; line-height: 1.5; }
.sp-compare-detail > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
