/* Scoped to the new Shopee surface; other channels retain their styles. */
.sp-stage{min-height:0}.sp-stage .sp-currency{font-size:14px;color:var(--muted);white-space:nowrap}.sp-stage .sp-modes,.sp-stage .sp-tools,.sp-stage .sp-inline{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;align-items:center}.sp-stage .sp-modes button{font-size:14px;line-height:1.4;padding:9px 13px}.sp-stage .sp-modes [aria-pressed=true],.sp-stage [data-sp-target][aria-pressed=true]{color:white;background:var(--blue);border-color:var(--blue)}.sp-stage .sp-tools button{font-size:13px;padding:7px 11px}.sp-stage .sp-note{font-size:13px;color:var(--muted);line-height:1.7;margin:8px 0 14px}.sp-stage .sp-note strong{color:#2365a1}.sp-stage .sp-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);gap:24px}.sp-stage .sp-inputs,.sp-stage #sp-results{min-width:0}.sp-stage .sp-section{margin-bottom:12px;background:#ffffff75;border:1px solid var(--line);border-radius:14px}.sp-stage .sp-section>summary{padding:16px;font-size:17px;font-weight:650;cursor:pointer;line-height:1.5}.sp-stage .sp-section-body{padding:0 16px 16px}.sp-stage .sp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0}.sp-stage .sp-field{min-width:0;display:flex;flex-direction:column;gap:5px}.sp-stage .sp-field>div{display:flex;align-items:flex-start;gap:6px}.sp-stage .sp-field label,.sp-stage .sp-field>div>label{font-size:14px;line-height:1.5;color:var(--muted);flex:1}.sp-stage input:not([type=checkbox]),.sp-stage select{display:block;min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:10px;background:white;color:var(--ink,#121a2a);font:inherit;font-size:16px;line-height:1.4}.sp-stage input:focus,.sp-stage select:focus{outline:2px solid #1677ed55;outline-offset:1px}.sp-stage .sp-help{position:relative;flex:none;line-height:1.5}.sp-stage .sp-help>summary{list-style:none;width:20px;height:20px;text-align:center;border-radius:50%;color:#2365a1;background:#1677ed12;font-size:13px;cursor:pointer}.sp-stage .sp-help>summary::-webkit-details-marker{display:none}.sp-stage .sp-help[open]{z-index:5}.sp-stage .sp-help p{position:absolute;right:0;top:24px;width:min(260px,65vw);padding:14px;border-radius:12px;background:#fff;box-shadow:0 8px 28px #142d5125;font-size:14px;line-height:1.7;color:#304760;max-height:45vh;overflow:auto}.sp-stage .sp-fee-row{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin:10px 0}.sp-stage .sp-inactive{opacity:.55}.sp-stage .sp-readonly{display:flex;flex-direction:column;font-size:14px;color:var(--muted);gap:8px;padding:8px}.sp-stage .sp-readonly strong{font-size:18px;color:var(--blue)}.sp-stage .sp-scenario,.sp-stage .sp-result-secondary{padding:14px;border-radius:12px;background:#1677ed07;margin:12px 0}.sp-stage h3{font-size:16px;line-height:1.5;margin-bottom:10px}.sp-stage .sp-result-secondary p{font-size:14px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;line-height:1.7;margin:8px 0}.sp-stage .sp-result strong{font-size:clamp(24px,2.4vw,42px);overflow-wrap:anywhere}.sp-stage .sp-result{margin:0 0 12px}.sp-stage .sp-result>span{font-size:15px}.sp-stage .sp-result>small{font-size:13px;line-height:1.5}.sp-stage .sp-status{padding:12px 14px;background:#e7eff9;border-radius:10px;font-size:14px;line-height:1.7;color:#205789;margin:0 0 12px}.sp-stage .sp-pending{font-size:14px;margin-bottom:16px}.sp-stage .sp-pending ul{padding-left:22px;line-height:1.8}.sp-stage .sp-comparisons{display:grid;gap:10px;margin:12px 0}.sp-stage .sp-comparisons>div{padding:12px;background:#fff;border-radius:10px}.sp-stage .sp-comparisons p{font-size:14px;line-height:1.6;margin-top:6px;overflow-wrap:anywhere}.sp-stage .sp-breakdown p{font-size:14px;line-height:1.7;gap:12px}.sp-stage .sp-breakdown b{white-space:nowrap}.sp-stage .sp-upload{display:block;font-size:16px;font-weight:600;line-height:1.5}.sp-stage .sp-upload input{margin-top:8px;font-size:14px}.sp-stage #sp-csv-mapping label{font-size:14px;line-height:1.7;display:block}.sp-stage #sp-csv-mapping input[type=checkbox]{margin-right:6px}.sp-stage .sp-tax-source{font-size:13px;line-height:1.7}.sp-stage .sp-tax-source a{color:var(--blue)}.sp-stage button{transition:transform .2s ease,box-shadow .2s ease}.sp-stage .sp-inline .sp-field{flex:1 1 180px}.sp-stage .sp-section-body>.secondary{font-size:13px;padding:8px 12px;white-space:normal}
@media(hover:hover) and (pointer:fine){.sp-stage button:hover{transform:scale(1.02);box-shadow:0 5px 16px #142d5112}.sp-stage .sp-result:hover{transform:translateY(-1px)}}
@media(max-width:760px){.sp-stage .sp-workspace{grid-template-columns:minmax(0,1fr)}.sp-stage .sp-heading h1{font-size:22px}.sp-stage .sp-fields{gap:10px}.sp-stage .sp-section>summary{font-size:16px;padding:13px}.sp-stage .sp-section-body{padding:0 12px 12px}.sp-stage .sp-modes button{flex:1 1 100%;font-size:14px}.sp-stage .sp-tools button{flex:1 1 140px}.sp-stage .sp-currency{font-size:12px}.sp-stage .sp-result strong{font-size:30px}.sp-stage .sp-breakdown p{flex-wrap:wrap}.sp-stage .sp-help p{right:-5px;width:min(220px,65vw)}}
@media(max-width:400px){.sp-stage .sp-fields,.sp-stage .sp-fee-row{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.sp-stage *{transition:none!important;animation:none!important}}
/* Shopee budget decision only; retains the existing left-input/right-result layout. */
.sp-stage .sp-budget-presets{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.sp-stage .sp-budget-presets button{font-size:13px;padding:8px 10px}.sp-stage .sp-budget-slider{display:grid;gap:8px;font-size:14px;line-height:1.6;margin:16px 0;color:var(--muted)}.sp-stage .sp-budget-slider input{padding:0;border:0;accent-color:var(--blue);height:30px}.sp-stage .sp-budget-results{padding:18px;background:#1473e609;border-radius:16px;margin:0 0 20px;min-width:0}.sp-stage .sp-budget-results h2{font-size:22px;line-height:1.5;margin-bottom:12px}.sp-stage .sp-budget-results>p,.sp-stage .sp-budget-results details p{font-size:14px;line-height:1.7;margin:9px 0}.sp-stage .sp-budget-results>p{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.sp-stage .sp-budget-results>p.sp-status{display:block}.sp-stage .sp-budget-results details{font-size:14px;overflow-wrap:anywhere;line-height:1.7}.sp-stage .sp-budget-cards{display:grid;gap:10px}.sp-stage .sp-budget-cards article{background:#fff;margin:0;min-width:0}.sp-stage .sp-budget-cards b{font-size:19px;color:var(--blue);overflow-wrap:anywhere}.sp-stage .sp-budget-scenario{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;white-space:normal;width:100%;padding:14px}.sp-stage .sp-budget-scenario span{font-size:13px}.sp-stage .sp-budget-scenario strong{font-size:22px}.sp-stage .sp-budget-scenario[aria-pressed=true]{box-shadow:0 5px 20px #1473e620;background:#eaf3ff;border-color:#1473e640}.sp-stage .sp-budget-sku-list{display:grid;gap:10px}.sp-stage .sp-budget-sku-list article{background:#fff;padding:12px;border-radius:10px}.sp-stage .sp-budget-sku-list p{font-size:13px;line-height:1.7;margin:5px 0}.sp-stage .sp-budget-allocations>details,.sp-stage .sp-budget-advanced{margin:12px 0;padding:12px;border-radius:10px;background:#1473e607;font-size:14px;line-height:1.7}.sp-stage #sp-budget-overview p{font-size:14px;line-height:1.7}.sp-stage #sp-budget-overview b{color:var(--blue)}
@media(min-width:1600px){.sp-stage .sp-budget-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-stage .sp-budget-cards article p{display:block}.sp-stage .sp-budget-cards article b{display:block;font-size:18px}}
@media(max-width:760px){.sp-stage .sp-budget-results{padding:14px}.sp-stage .sp-budget-results h2{font-size:20px}.sp-stage .sp-budget-presets button{flex:1 1 40%}.sp-stage .sp-budget-cards{grid-template-columns:minmax(0,1fr)}}
/* Affiliate additions stay within the existing Shopee surface. */
.sp-stage .sp-affiliate-config{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.sp-stage .sp-affiliate-config>small{font-size:12px;line-height:1.7;color:var(--muted)}.sp-stage .sp-affiliate-sku{padding:12px;border-radius:10px;background:#1473e607;margin:12px 0;font-size:14px;line-height:1.7}.sp-stage .sp-affiliate-results{margin:16px 0;padding:16px;border-radius:14px;background:#1473e608;font-size:14px;line-height:1.7;min-width:0}.sp-stage .sp-affiliate-results>summary{font-size:18px;font-weight:650;cursor:pointer}.sp-stage .sp-affiliate-results>small{display:block;margin:10px 0;color:var(--muted)}.sp-stage .sp-affiliate-results p{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:9px 0;overflow-wrap:anywhere}.sp-stage .sp-affiliate-results p.sp-note{display:block}.sp-stage .sp-affiliate-results article{background:white;border-radius:10px;padding:14px;margin:14px 0;min-width:0}.sp-stage .sp-affiliate-results b{color:var(--blue);font-size:16px;max-width:100%;overflow-wrap:anywhere}.sp-stage .sp-affiliate-results h3{font-size:16px}.sp-stage .sp-affiliate-results details p{display:block;font-size:13px}.sp-stage .sp-affiliate-results summary{overflow-wrap:anywhere}
@media(max-width:760px){.sp-stage .sp-affiliate-results{padding:12px}.sp-stage .sp-affiliate-results>summary{font-size:16px}.sp-stage .sp-affiliate-config .sp-fields{grid-template-columns:minmax(0,1fr)}.sp-stage .sp-affiliate-results b{font-size:15px}}
/* Core cards reuse the existing ROI card components; scoped additions only. */
.sp-stage .sp-core-results{margin-bottom:18px}.sp-stage .sp-core-results .sp-core-note{display:block;font-size:12px;line-height:1.7;letter-spacing:0;margin-top:8px;overflow-wrap:anywhere}.sp-stage .sp-core-pending{font-size:12px;line-height:1.7;margin-top:10px;overflow-wrap:anywhere}.sp-stage .sp-core-pending p{font-size:12px;line-height:1.7;margin:8px 0}.sp-stage .sp-core-pending b{font-size:inherit}.sp-stage .sp-core-fix{display:inline-block;border:0;background:transparent;color:inherit;font-size:12px;text-align:left;padding:5px 0;margin-right:12px;text-decoration:underline;cursor:pointer;white-space:normal;max-width:100%}.sp-stage .sp-core-results .roi-total-hero{background:#125dba}.sp-stage .sp-core-results .roi-total-hero .sp-core-note,.sp-stage .sp-core-results .roi-total-hero .sp-core-pending{color:#d4e7ff}.sp-stage .sp-professional{padding:14px 0;min-width:0}.sp-stage .sp-professional>summary{font-size:18px;font-weight:650;cursor:pointer;margin-bottom:16px}.sp-stage .sp-core-results .roi-result{min-width:0}.sp-stage .sp-core-results .roi-result>strong{font-size:clamp(24px,2.3vw,42px)}.sp-stage .sp-core-results .roi-total-hero strong{font-size:clamp(28px,2.8vw,46px)}.sp-stage .sp-core-results .roi-break-even h2{margin:0;font-size:clamp(18px,1.5vw,24px)}.sp-stage .sp-core-results .roi-break-even-stats strong{font-size:clamp(24px,2.5vw,40px)}
@media(max-width:760px){.sp-stage .sp-core-results .roi-total-columns{grid-template-columns:1fr}.sp-stage .sp-core-results .roi-total-contribution{border-left:0;border-top:1px solid #ffffff59;padding:14px 0 0}.sp-stage .sp-core-results .roi-break-even-stats{gap:8px}.sp-stage .sp-core-results .roi-break-even-stats>div+div{padding-left:8px}.sp-stage .sp-core-results .roi-break-even-stats strong{font-size:24px}.sp-stage .sp-core-results .roi-unified-results{grid-template-columns:minmax(0,1fr)}}
/* Three-step flow: same palette/components, fewer initial inputs. */
.sp-stage .sp-flow-step{margin:0 0 24px;min-width:0}.sp-stage .sp-flow-step>h2{font-size:22px;line-height:1.5;margin:0 0 14px}.sp-stage .sp-flow-step>h2>small{display:block;font-size:11px;letter-spacing:.12em;color:var(--blue);margin-bottom:4px}.sp-stage .sp-flow-advanced{margin:12px 0;padding:12px;border-radius:10px;background:#1473e607;min-width:0}.sp-stage .sp-flow-advanced>summary{font-size:14px;line-height:1.7;color:#48637f;cursor:pointer;margin-bottom:8px}.sp-stage .sp-flow-derived{border-radius:12px;background:#edf4fc;padding:12px;margin:12px 0;min-width:0}.sp-stage .sp-flow-derived p{display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:1.7;margin:8px 0;flex-wrap:wrap}.sp-stage .sp-flow-derived p.sp-note{display:block}.sp-stage .sp-flow-derived b{color:#185995;overflow-wrap:anywhere}.sp-stage .sp-flow-decision{margin:16px 0}.sp-stage .sp-flow-decision>small{display:block;font-size:12px;color:#48637f;margin-top:6px}.sp-stage .sp-flow-decision>strong{font-size:clamp(28px,2.8vw,46px)}
@media(max-width:760px){.sp-stage .sp-flow-step>h2{font-size:20px}.sp-stage .sp-flow-derived{padding:10px}.sp-stage .sp-flow-advanced{padding:10px}.sp-stage .sp-flow-step .sp-modes button{flex:1 1 40%;white-space:normal}.sp-stage .sp-flow-derived p{gap:6px}.sp-stage .sp-budget-presets{flex-wrap:wrap}}
.sp-stage .sp-purpose button{flex:1 1 300px;white-space:normal;text-align:left;padding:14px}.sp-stage .sp-cost-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.sp-stage .sp-cost-list button{text-align:left;white-space:normal;overflow-wrap:anywhere;padding:10px}.sp-stage .sp-cost-list small{display:block;font-size:12px;margin-top:4px}.sp-stage [data-sp-client]{font:inherit;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:10px}.sp-stage .sp-core-pending button{white-space:normal;font-size:12px;background:transparent;color:inherit;text-decoration:underline;padding:4px 0;border:0;box-shadow:none}
@media(max-width:760px){.sp-stage .sp-purpose button{flex-basis:100%}.sp-stage .sp-cost-list{grid-template-columns:minmax(0,1fr)}}
/* Scoped SKU workbench; other channel layout stays unchanged. */
.sp-stage .sp-desk-source{padding:16px 20px;background:#f6f9fd;border-radius:18px;margin:12px 0}.sp-stage .sp-desk-source h2{font-size:18px;margin:0 0 12px}.sp-stage .sp-desk-source .sp-section{margin:8px 0}.sp-stage .sp-desk-source .sp-section-body{padding:12px}.sp-stage .sp-desk{display:grid;grid-template-columns:210px minmax(340px,1fr) minmax(340px,1fr);gap:18px;align-items:start}.sp-stage .sp-desk-list,.sp-stage .sp-desk-editor,.sp-stage #sp-results{min-width:0}.sp-stage .sp-desk-list{position:sticky;top:0;max-height:75vh;overflow:auto;padding:8px}.sp-stage .sp-desk-list label{display:block;font-size:13px}.sp-stage .sp-desk-list input,.sp-stage .sp-desk-list select{width:100%;box-sizing:border-box;margin:8px 0;padding:10px;border:1px solid #d9e2ef;border-radius:10px}.sp-stage .sp-desk-item{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;padding:14px;margin:8px 0;background:white;border:1px solid transparent;border-radius:14px;transition:transform .2s,box-shadow .2s}.sp-stage .sp-desk-item small{font-size:11px;overflow-wrap:anywhere;color:#66758b}.sp-stage .sp-desk-item span{font-size:12px;color:#275f9d}.sp-stage .sp-desk-item:hover{transform:translateY(-2px);box-shadow:0 5px 16px #23426714}.sp-stage .sp-desk-item.is-selected{border-color:#2c68be;background:#edf5ff}.sp-stage .sp-desk-current{padding:16px 4px}.sp-stage .sp-desk-current small{font-size:12px;color:#60718a}.sp-stage .sp-desk-current h2{font-size:21px;line-height:1.5;overflow-wrap:anywhere;margin:8px 0}.sp-stage .sp-desk-current button{font-size:12px;padding:8px;margin:3px}.sp-stage .sp-desk-tabs{display:flex;gap:5px;flex-wrap:wrap;position:sticky;top:0;background:#fff;z-index:5;padding:8px 0}.sp-stage .sp-desk-tabs button{padding:9px;border:0;border-radius:10px;background:#f0f4f9;font-size:12px}.sp-stage .sp-desk-tabs button[aria-pressed=true]{background:#155fce;color:white}.sp-stage .sp-desk-form>.sp-section{margin-top:8px}.sp-stage .sp-desk-selected{padding:22px;background:#f1f6fd;border-radius:20px;margin-bottom:16px}.sp-stage .sp-desk-selected h3{overflow-wrap:anywhere}.sp-stage .sp-desk-selected p{display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:1.7}.sp-stage .sp-desk-selected p.sp-note{display:block;font-size:11px}.sp-stage #sp-results{position:sticky;top:0;max-height:80vh;overflow:auto;padding:3px 8px 24px}.sp-stage .sp-table-scroll{overflow:auto;max-height:50vh}.sp-stage .sp-table-scroll table{border-collapse:collapse;font-size:12px;min-width:600px}.sp-stage .sp-table-scroll th,.sp-stage .sp-table-scroll td{padding:8px;text-align:left;border-bottom:1px solid #e5ebf4}.sp-stage .sp-table-scroll input{width:90px;padding:8px;border:1px solid #d5deea;border-radius:8px}.sp-stage .sp-desk-mobile{display:none}.sp-stage .sp-desk-form .sp-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-stage .sp-desk-source input[type=file]{max-width:100%}.sp-stage .sp-desk-source .sp-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1350px){.sp-stage .sp-desk{grid-template-columns:minmax(310px,1fr) minmax(310px,1fr)}.sp-stage .sp-desk-list{grid-column:1/-1;position:static;max-height:none}.sp-stage #sp-desk-list-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:230px;overflow:auto}.sp-stage .sp-desk-item{margin:0}.sp-stage #sp-results{max-height:75vh}}
@media(max-width:760px){.sp-stage .sp-desk{display:block}.sp-stage .sp-desk-mobile{display:flex;position:sticky;top:0;z-index:9;background:#fff;padding:8px;gap:8px}.sp-stage .sp-desk[data-mobile=edit] #sp-results{display:none}.sp-stage .sp-desk[data-mobile=results] .sp-desk-editor{display:none}.sp-stage #sp-results{position:static;max-height:none;overflow:visible}.sp-stage #sp-desk-list-items{grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px}.sp-stage .sp-desk-source{padding:12px}.sp-stage .sp-desk-source .sp-fields,.sp-stage .sp-desk-form .sp-fields{grid-template-columns:1fr}.sp-stage .sp-desk-tabs{top:52px}.sp-stage .sp-desk-selected p{flex-wrap:wrap}.sp-stage .sp-desk-item b{font-size:12px}.sp-stage .sp-desk-item{padding:10px}.sp-stage .sp-desk-list details:not([open]){margin-bottom:12px}}
/* Shopee alone opts into natural document flow; presentation rules remain intact. */
html:has(#stage>.calculator-flow){height:auto;min-height:100%;overflow-x:clip;overflow-y:auto;scroll-snap-type:none}
body:has(#stage>.calculator-flow){display:block;height:auto;min-height:100svh;overflow:visible;scroll-snap-type:none}
body:has(#stage>.calculator-flow)>#stage{height:auto;max-height:none;min-height:calc(100svh - var(--top) - var(--bottom));overflow:visible;scroll-snap-align:none}
body:has(#stage>.calculator-flow)>.presentation-bar{position:relative;height:auto;min-height:var(--bottom)}
#stage>.calculator-flow{height:auto!important;max-height:none;min-height:0;overflow:visible;zoom:1!important;justify-content:flex-start;width:100%!important}
.calculator-flow .sp-scroll,.calculator-flow .sp-desk,.calculator-flow .sp-desk-list,.calculator-flow .sp-desk-editor,.calculator-flow #sp-results,.calculator-flow #sp-desk-list-items{height:auto;max-height:none;min-height:0;overflow:visible;position:static}
.calculator-flow .sp-scroll{flex:none;padding:0}.calculator-flow .sp-desk{display:block}.calculator-flow .sp-desk-list{padding:0;margin:24px 0}.calculator-flow #sp-desk-list-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.calculator-flow .sp-desk-item{margin:0;height:auto;overflow-wrap:anywhere;word-break:normal}.calculator-flow .sp-desk-current{height:auto;display:block;background:transparent;border:0;padding:20px 0}.calculator-flow .sp-desk-current>div{margin-top:12px}.calculator-flow .sp-desk-tabs,.calculator-flow .sp-desk-mobile{display:none}.calculator-flow .sp-desk[data-mobile] #sp-results,.calculator-flow .sp-desk[data-mobile] .sp-desk-editor{display:block}
.calculator-flow .sp-natural-section{margin:32px 0;padding:24px 0;border-top:1px solid var(--line);height:auto;max-height:none;overflow:visible}.calculator-flow .sp-natural-section>h2{margin-bottom:20px}.calculator-flow .sp-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-flow .sp-table-scroll{max-height:none;height:auto;overflow:visible}.calculator-flow .sp-table-scroll table{width:100%;min-width:0;table-layout:fixed}.calculator-flow .sp-table-scroll input{width:100%;min-width:0}.calculator-flow .sp-table-scroll th{overflow-wrap:anywhere}.calculator-flow .sp-flow-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.calculator-flow .sp-flow-group-grid article{padding:18px;background:#edf4fc;border-radius:14px;min-width:0}.calculator-flow .sp-flow-group-grid h3{overflow-wrap:anywhere}.calculator-flow .sp-flow-group-grid p{font-size:14px;line-height:1.8}.calculator-flow .roi-nav{position:static;flex-wrap:wrap;height:auto;margin-top:24px}.calculator-flow #sp-results{padding:0}.calculator-flow .sp-desk-selected{margin-top:24px}.calculator-flow .sp-desk-selected p{max-width:850px}
@media(max-width:1100px){.calculator-flow #sp-desk-list-items,.calculator-flow .sp-flow-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.calculator-flow #sp-desk-list-items,.calculator-flow .sp-fields,.calculator-flow .sp-desk-source .sp-fields,.calculator-flow .sp-flow-group-grid{grid-template-columns:minmax(0,1fr)}.calculator-flow .sp-natural-section{padding:18px 0;margin:24px 0}.calculator-flow .sp-table-scroll table,.calculator-flow .sp-table-scroll tbody,.calculator-flow .sp-table-scroll tr,.calculator-flow .sp-table-scroll td,.calculator-flow .sp-table-scroll th{display:block;width:100%}.calculator-flow .sp-table-scroll thead{display:none}.calculator-flow .sp-table-scroll .sp-bulk-label{display:block;font-size:12px;margin-bottom:4px}.calculator-flow .sp-table-scroll tr{padding:12px 0}.calculator-flow .sp-desk-item b{font-size:inherit}.calculator-flow .roi-nav .roi-link{white-space:normal}}
.calculator-flow .sp-help p{max-height:none;overflow:visible}

@media(min-width:761px){.calculator-flow .sp-bulk-label{display:none}}
/* Natural-height 30/70 selected-product workspace; paginated list has no own scroller. */
.calculator-flow .sp-desk{display:grid;grid-template-columns:minmax(220px,3fr) minmax(0,7fr);gap:28px;align-items:start}.calculator-flow .sp-desk-list{position:static;height:auto;max-height:none;overflow:visible;margin:0}.calculator-flow .sp-sku-workspace{min-width:0;height:auto;max-height:none;overflow:visible}.calculator-flow #sp-desk-list-items{display:block;height:auto;max-height:none;overflow:visible}.calculator-flow .sp-compact-row{margin-bottom:8px}.calculator-flow .sp-desk-item{padding:12px;gap:4px}.calculator-flow .sp-desk-item b{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5}.calculator-flow .sp-desk-item small{font-size:11px}.calculator-flow .sp-sku-pager{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:12px}.calculator-flow .sp-sku-pager button{padding:8px;font-size:12px}.calculator-flow .sp-trial-check{display:flex!important;gap:6px;align-items:center;font-size:12px!important;line-height:1.6;padding:5px}.calculator-flow .sp-trial-check input{width:auto!important;margin:0}.calculator-flow .sp-desk-list .sp-table-scroll{overflow:visible}.calculator-flow .sp-desk-list table,.calculator-flow .sp-desk-list tbody,.calculator-flow .sp-desk-list tr,.calculator-flow .sp-desk-list td,.calculator-flow .sp-desk-list th{display:block;width:100%}.calculator-flow .sp-desk-list thead{display:none}.calculator-flow .sp-desk-list .sp-bulk-label{display:block;font-size:12px}.calculator-flow .sp-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-flow #sp-sku-workspace{scroll-margin-top:16px}
@media(max-width:760px){.calculator-flow .sp-desk{display:block}.calculator-flow .sp-fields{grid-template-columns:minmax(0,1fr)}.calculator-flow .sp-desk-list{margin-bottom:24px}.calculator-flow .sp-desk-item b{font-size:14px}}
/* A/B comparison workspace: only Shopee opts into this natural-height layout. */
.calculator-flow .sp-compare{display:grid;grid-template-columns:minmax(0,52fr) minmax(0,48fr);gap:28px;align-items:start;width:100%;height:auto;max-height:none;overflow:visible}
.calculator-flow .sp-compare-inputs,.calculator-flow .sp-compare-results,.calculator-flow .sp-compare #sp-results{min-width:0;width:100%;height:auto;max-height:none;overflow:visible;position:static;box-sizing:border-box}
.calculator-flow .sp-compare .sp-natural-section{margin:20px 0;padding:18px 0}.calculator-flow .sp-compare-results>h2{margin:20px 0 12px}.calculator-flow .sp-sku-selector{padding:18px;background:#edf4fc;border-radius:14px}.calculator-flow .sp-sku-selector>label{display:block;margin:10px 0;font-size:14px;line-height:1.7}.calculator-flow .sp-sku-selector select{max-width:100%;text-overflow:ellipsis}.calculator-flow .sp-sku-selector button{margin:4px}.calculator-flow .sp-compare summary{cursor:pointer;line-height:1.7}.calculator-flow .sp-selected-details{margin:18px 0}.calculator-flow #sp-current-product{margin-bottom:16px;overflow-wrap:anywhere}.calculator-flow #sp-source-summary{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:14px;line-height:1.7;margin:16px 0}.calculator-flow #sp-source-summary b{display:block;color:var(--blue)}.calculator-flow .sp-mobile-results{display:none}.calculator-flow #sp-flow-core{scroll-margin-top:20px}.calculator-flow .sp-compare .sp-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-flow .sp-compare .roi-unified-results{min-width:0}.calculator-flow .sp-compare .sp-flow-group-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){.calculator-flow .sp-compare{grid-template-columns:minmax(0,1fr)}.calculator-flow .sp-mobile-results{display:inline-flex;margin:16px 0}.calculator-flow .sp-compare .sp-fields{grid-template-columns:minmax(0,1fr)}}
/* Affiliate outputs share the current selected-product calculation, without a second input source. */
.calculator-flow .sp-affiliate-live-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.calculator-flow .sp-affiliate-live-grid>div{min-width:0;padding:12px;background:#edf4fc;border-radius:12px}.calculator-flow .sp-affiliate-live-grid span{display:block;font-size:13px;line-height:1.7}.calculator-flow .sp-affiliate-live-grid strong{display:block;color:var(--blue);font-size:20px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:600px){.calculator-flow .sp-affiliate-live-grid{grid-template-columns:minmax(0,1fr)}}
/* Selected-SKU order target: display only, shared numeric source. */
.sp-stage .sp-expected-orders-field>div>label{font-size:21px;font-weight:700;color:#172b45;line-height:1.5}
.sp-stage .sp-expected-orders-field input{font-size:24px;font-weight:700;color:#172b45;font-variant-numeric:tabular-nums;line-height:1.5}
.sp-stage .sp-expected-orders-card{padding:20px 22px;margin:0 0 20px;border-radius:14px;background:#edf4fc;color:#174e8c;min-width:0}
.sp-stage .sp-expected-orders-card>span{display:block;font-size:19px;font-weight:700;line-height:1.6}
.sp-stage .sp-expected-orders-card>small{display:block;font-size:11px;letter-spacing:.12em;line-height:1.8;margin:3px 0 8px}
.sp-stage .sp-expected-orders-card>strong{display:block;font-size:clamp(32px,3.2vw,48px);font-weight:700;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.sp-stage .sp-expected-orders-card>strong>span{font-size:18px;font-weight:600}
@media(max-width:760px){.sp-stage .sp-expected-orders-field>div>label{font-size:21px}.sp-stage .sp-expected-orders-field input{font-size:24px}.sp-stage .sp-expected-orders-card{padding:18px}.sp-stage .sp-expected-orders-card>strong{font-size:36px}}
