/* Variant 3: compact ivory controls and a dark, live scenario summary. */
.seo-potential { --sp-gold: #996f33; --sp-ink: #171612; --sp-muted: #686158; --sp-line: #dec8aa; --sp-paper: #fffdf9; --sp-soft: #f5efe3; color: var(--sp-ink); }
.seo-potential [hidden] { display: none !important; }
.seo-potential * { box-sizing: border-box; }
.seo-potential :is(input, select, textarea, button) { font-family: var(--sans); }
.tools-ivory .seo-potential .sp-layout { width: min(1280px, calc(100% - 80px)); }
.seo-potential .sp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 22px; padding-bottom: 46px; }
.seo-potential .sp-layout.has-report { grid-template-columns: minmax(0, 1fr) 336px; }
.seo-potential .sp-main { min-width: 0; }
.seo-potential .sp-layout:not(.has-report) .sp-main { width: min(100%, 1060px); margin-inline: auto; }
.seo-potential .sp-hero { padding: 0 0 22px; }
.seo-potential .sp-hero h1 { font: 650 clamp(34px, 3.6vw, 49px)/1.1 var(--serif); letter-spacing: -.035em; margin: 0 0 9px; }
.seo-potential .sp-hero > p:last-child { color: var(--sp-muted); font: 400 19px/1.35 var(--serif); margin: 0; }
.seo-potential .sp-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--sp-line); margin-bottom: 0; }
.seo-potential .sp-step-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 8px 4px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--sp-muted); font-size: 12px; cursor: pointer; }
.seo-potential .sp-step-button > span:first-child { font-size: 11px; color: var(--sp-gold); }
.seo-potential .sp-step-button[aria-current="step"] { border-bottom-color: var(--sp-gold); color: var(--sp-ink); font-weight: 600; }
.seo-potential .sp-step-button:disabled { opacity: .48; cursor: default; }
.seo-potential .sp-mobile-step { display: none; }
.seo-potential .sp-flow { padding: 22px 0 0; }
.seo-potential .sp-panel-heading { margin-bottom: 18px; }
.seo-potential .sp-panel-heading h2, .seo-potential .sp-heading-line h2 { margin: 5px 0 8px; font: 600 clamp(23px, 2vw, 29px)/1.2 var(--serif); letter-spacing: -.025em; }
.seo-potential .sp-panel-heading > p:last-child { color: var(--sp-muted); line-height: 1.55; font-size: 13px; max-width: 780px; margin: 0; }
.seo-potential .sp-heading-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seo-potential .sp-heading-line h2 { margin: 0; }
.seo-potential .sp-heading-line .sp-source-badge { flex-shrink: 0; margin: 0; }
.seo-potential .sp-category-panel-heading { margin-bottom: 8px; }
.seo-potential .sp-category-panel-heading > p { margin-top: 9px !important; }
.seo-potential .sp-analysis-context { color: var(--sp-muted); font-size: 12px; margin-bottom: 13px; }
.tools-ivory .business-tools.seo-potential details.sp-analysis-context { border: 0; padding: 0; margin: 0 0 12px; }
.seo-potential .sp-analysis-context > summary { width: fit-content; min-height: 32px; display: list-item; padding-block: 5px; color: #795322; cursor: pointer; }
.seo-potential .sp-analysis-context .sp-analysis-summary { margin: 5px 0 13px; font-size: 12px; }
.seo-potential fieldset { padding: 0; margin: 0; min-width: 0; border: 0; }
.seo-potential .sp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 16px; }
.seo-potential .sp-field { display: grid; gap: 8px; min-width: 0; }
.seo-potential .sp-field label, .seo-potential .sp-field > span { font-size: 13px; font-weight: 500; line-height: 1.5; }
.seo-potential .sp-field :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #c7bdaf; border-radius: 7px; background: #fff; color: var(--sp-ink); font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.seo-potential .sp-field textarea { resize: vertical; min-height: 110px; }
.seo-potential .sp-field :is(input, select, textarea):hover { border-color: #a78d67; }
.seo-potential .sp-field [aria-invalid="true"] { border-color: #a24431; }
.seo-potential .sp-field small, .seo-potential .sp-note { color: var(--sp-muted); font-size: 12px; line-height: 1.65; }
.seo-potential .sp-note { margin: 18px 0 0; }
.seo-potential .sp-error { color: #a24431 !important; font-size: 12px; line-height: 1.5; }
.seo-potential .sp-details { border-top: 1px solid var(--sp-line); padding: 15px 0; margin-top: 18px; }
.seo-potential .sp-details > summary { font-size: 14px; color: #594327; cursor: pointer; min-height: 28px; }
.seo-potential .sp-details p, .seo-potential .sp-details li { font-size: 13px; line-height: 1.7; color: var(--sp-muted); }
.seo-potential .sp-check { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; line-height: 1.65; }
.seo-potential input:is([type="checkbox"], [type="radio"]) { width: 19px; height: 19px; min-width: 19px; min-height: 19px; margin: 2px 0 0; accent-color: var(--sp-gold); }
.seo-potential .sp-consent { margin-top: 20px; max-width: 880px; color: var(--sp-muted); }
.seo-potential .sp-consent a { color: #795322; text-decoration: underline; text-underline-offset: 3px; }
.seo-potential .sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.seo-potential .sp-between { justify-content: space-between; border-top: 1px solid var(--sp-line); padding-top: 18px; margin-top: 22px; }
.seo-potential .has-report [data-potential-next] { display: none; }
.seo-potential .sp-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 18px; border: 1px solid var(--sp-ink); border-radius: 7px; background: var(--sp-ink); color: var(--sp-paper); font-size: 14px; line-height: 1.5; font-weight: 500; cursor: pointer; text-align: center; text-decoration: none; }
.seo-potential .sp-button:hover { background: #30291f; color: var(--sp-paper); }
.seo-potential .sp-button-secondary { border-color: #c8b28f; background: transparent; color: var(--sp-ink); }
.seo-potential .sp-button-secondary:hover { background: var(--sp-soft); color: var(--sp-ink); }
.seo-potential .sp-button:disabled { opacity: .5; cursor: default; }
.seo-potential .sp-text-button { padding: 4px 0; min-height: 36px; background: none; border: 0; color: #795322; font-size: 13px; line-height: 1.5; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.seo-potential .sp-text-button:hover { color: var(--sp-ink); }
.seo-potential .sp-status { color: #72562f; font-size: 13px; line-height: 1.55; margin: 0 0 18px; }
.seo-potential .sp-status:empty { display: none; }
.seo-potential .has-report .sp-status:not(.is-error) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.seo-potential .sp-report-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--sp-line); }
.seo-potential .sp-scenario-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-potential .sp-scenario-switch button { min-height: 44px; padding: 9px 13px; border: 1px solid var(--sp-line); border-radius: 6px; background: #fff; color: var(--sp-ink); font-size: 12px; cursor: pointer; }
.seo-potential .sp-scenario-switch button[aria-pressed="true"] { background: var(--sp-ink); border-color: var(--sp-ink); color: var(--sp-paper); }
.seo-potential .sp-month { display: flex; align-items: center; gap: 12px; }
.seo-potential .sp-month select { width: auto; min-width: 126px; }
.seo-potential .sp-source-badge { display: inline-flex; border: 1px solid #d7bc93; border-radius: 20px; color: #72562f; background: var(--sp-soft); padding: 5px 11px; font-size: 11px; margin: 0 0 14px; }
.seo-potential .sp-analysis-summary { font-size: 14px; line-height: 1.7; max-width: 860px; margin: 0 0 24px; color: var(--sp-muted); }
.seo-potential .sp-categories { display: grid; gap: 12px; }
.seo-potential .sp-category { position: relative; padding: 16px 18px; background: #fff; border: 1px solid var(--sp-line); border-radius: 7px; min-width: 0; }
.seo-potential .sp-category[data-selected="false"] { background: #fbf9f5; }
.seo-potential .sp-category-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 16px; }
.seo-potential .sp-category-heading h3 { font-size: 17px; line-height: 1.45; margin: 0 0 6px; }
.seo-potential .sp-category-kind { font-size: 11px; color: var(--sp-gold); }
.seo-potential .sp-category-description { font-size: 12px; color: var(--sp-muted); line-height: 1.6; margin: 8px 0 16px; }
.seo-potential .sp-category-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .3fr); gap: 14px 20px; align-items: end; }
.seo-potential .sp-category-controls input[type="range"] { width: 100%; accent-color: var(--sp-gold); padding: 0; min-height: 30px; }
.seo-potential .sp-category .sp-text-button { font-size: 12px; }
.seo-potential .sp-category small { color: var(--sp-muted); font-size: 11px; line-height: 1.6; }
.seo-potential .sp-category details { margin-top: 0; padding: 0; border: 0; }
.seo-potential .sp-category summary { font-size: 12px; color: #795322; }
.seo-potential .sp-category { display: grid; grid-template-columns: minmax(0, .8fr) minmax(250px, 1fr); gap: 0 20px; align-items: start; }
.seo-potential .sp-category-main { min-width: 0; }
.seo-potential .sp-category-choice { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; }
.seo-potential .sp-category-choice > input[type="checkbox"] { flex: 0 0 19px; width: 19px; height: 19px; min-width: 19px; min-height: 19px; margin: 4px 0 0; padding: 0; }
.seo-potential .sp-category-choice > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.seo-potential .sp-category-name { font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.seo-potential .sp-category-choice small { color: var(--sp-gold); }
.seo-potential .sp-category-scope { font-size: 12px; color: var(--sp-muted); line-height: 1.6; margin: 10px 0; }
.seo-potential .sp-category-traffic { display: grid; gap: 5px; min-width: 0; }
.seo-potential .sp-category-traffic > label { width: calc(100% - 80px); min-height: 24px; font-size: 11px; font-weight: 500; line-height: 1.5; }
.seo-potential .sp-category-traffic .sp-text-button { justify-self: end; min-height: 32px; font-size: 11px; }
.seo-potential .sp-category-traffic [data-potential-traffic-origin] { font-size: 10px; text-align: right; }
.seo-potential .sp-category-details { grid-column: 1 / -1; width: 100%; }
.seo-potential .sp-category-details > summary { min-height: 32px; padding-block: 6px; }
.seo-potential .sp-category-details:not([open]) { grid-column: 1; grid-row: 2; margin-top: -34px; }
.seo-potential .sp-category-details[open] { margin-top: 10px; border-top: 1px solid var(--sp-line); padding-top: 8px; }
.seo-potential .sp-slider { min-width: 0; display: grid; gap: 4px; }
.seo-potential .sp-slider-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 30px; }
.seo-potential .sp-slider-value { font-size: 21px; line-height: 1.4; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.seo-potential .sp-category-traffic .sp-slider-top { position: absolute; top: 13px; right: 18px; min-height: 24px; max-width: 76px; text-align: right; }
.seo-potential .sp-category-traffic .sp-slider-value { color: var(--sp-gold); font-size: 25px; }
.seo-potential .sp-slider.is-unknown .sp-slider-value { color: var(--sp-muted); font-size: 17px; font-weight: 500; }
.seo-potential .sp-slider-known { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 11px !important; color: var(--sp-muted); cursor: pointer; }
.seo-potential .sp-slider .sp-slider-known > input { width: 18px; height: 18px; min-width: 18px; min-height: 18px; padding: 0; margin: 0; }
.seo-potential .sp-slider-track { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 8px; }
.seo-potential .sp-slider-nudge { width: 36px; min-height: 44px; padding: 0; border: 1px solid var(--sp-line); border-radius: 6px; background: var(--sp-paper); color: var(--sp-ink); font-size: 21px; cursor: pointer; }
.seo-potential .sp-slider-nudge:disabled { color: #b8afa4; cursor: default; }
.seo-potential .sp-slider .sp-slider-range, .tools-ivory .business-tools.seo-potential input.sp-slider-range[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
.seo-potential .sp-slider-range::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(to right,var(--sp-gold) 0 var(--sp-slider-fill,0%),#e1d5c4 var(--sp-slider-fill,0%) 100%); }
.seo-potential .sp-slider-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -7.5px; border: 3px solid #fff; border-radius: 50%; background: var(--sp-gold); box-shadow: 0 0 0 1px var(--sp-gold); }
.seo-potential .sp-slider-range::-moz-range-track { height: 5px; border-radius: 5px; background: #e1d5c4; }
.seo-potential .sp-slider-range::-moz-range-progress { height: 5px; border-radius: 5px; background: var(--sp-gold); }
.seo-potential .sp-slider-range::-moz-range-thumb { width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; background: var(--sp-gold); box-shadow: 0 0 0 1px var(--sp-gold); }
.seo-potential .sp-slider-range:disabled { opacity: .4; cursor: default; }
.seo-potential .sp-slider-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--sp-muted); font-size: 10px; min-width: 0; }
.seo-potential .sp-slider .sp-slider-scale, .tools-ivory .business-tools.seo-potential select.sp-slider-scale { width: auto; max-width: calc(100% - 22px); min-height: 36px; padding: 4px 20px 4px 8px; border: 1px solid var(--sp-line); border-radius: 5px; background: var(--sp-soft); color: var(--sp-muted); font-size: 11px; cursor: pointer; }
.seo-potential .sp-status.is-error { color: #9d4030; }
.seo-potential .sp-scope-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: baseline; border-top: 1px solid var(--sp-line); padding-top: 22px; margin-top: 25px; }
.seo-potential .sp-scope-summary > span { font-size: 14px; }
.seo-potential .sp-scope-summary strong { font: 600 23px/1.3 var(--sans); }
.seo-potential .sp-scope-metric { display: flex; flex-direction: column; gap: 5px; }
.seo-potential .sp-scope-metric > span { color: var(--sp-muted); font-size: 11px; }
.seo-potential .sp-scope-summary small { flex-basis: 100%; color: var(--sp-muted); font-size: 12px; }
.seo-potential .sp-traffic-warning { padding: 13px 16px; border: 1px solid #cfb78d; border-radius: 7px; background: #f8edda; color: #77582b; font-size: 12px; line-height: 1.6; }
.seo-potential .sp-funnel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--sp-line); margin: 28px 0 22px; padding-block: 30px; }
.seo-potential .sp-funnel article { display: flex; flex-direction: column; gap: 9px; padding-inline: 24px; min-width: 0; }
.seo-potential .sp-funnel article:first-child { padding-left: 0; }
.seo-potential .sp-funnel article + article { border-left: 1px solid var(--sp-line); }
.seo-potential .sp-funnel strong { font: 600 clamp(29px, 3.2vw, 43px)/1.2 var(--sans); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.seo-potential .sp-funnel span { font-size: 15px; }
.seo-potential .sp-funnel small { color: var(--sp-muted); font-size: 11px; line-height: 1.6; }
.seo-potential .sp-economics { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.seo-potential .sp-finance-assumption-note { padding: 13px 16px; margin: 0 0 20px; border-left: 3px solid var(--sp-gold); background: var(--sp-soft); }
.seo-potential .sp-finance-assumption-note > strong { font-size: 12px; font-weight: 600; color: #795322; }
.seo-potential .sp-finance-assumption-note > p { margin: 5px 0 0; color: var(--sp-muted); font-size: 12px; line-height: 1.65; }
.seo-potential .sp-field .sp-finance-origin { justify-self: start; padding: 3px 8px; border: 1px solid #d7bc93; border-radius: 12px; background: var(--sp-soft); color: #72562f; font-size: 10px; font-weight: 500; line-height: 1.5; }
.seo-potential .sp-field .sp-finance-reason { color: var(--sp-muted); font-size: 11px; line-height: 1.6; }
.seo-potential .sp-field .sp-finance-restore { justify-self: start; min-height: 32px; text-align: left; font-size: 11px; }
.seo-potential .sp-payment-options { margin: 0 0 12px; }
.seo-potential .sp-payment-options > legend { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.seo-potential .sp-payment-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.seo-potential .sp-payment-card { display: flex; align-items: flex-start; gap: 10px; min-width: 0; min-height: 124px; padding: 17px; border: 1px solid var(--sp-line); border-radius: 7px; background: #fff; cursor: pointer; }
.seo-potential .sp-payment-card:has(input:checked) { border-color: var(--sp-gold); background: var(--sp-soft); box-shadow: inset 0 0 0 1px var(--sp-gold); }
.seo-potential .sp-payment-card:hover { border-color: var(--sp-gold); }
.seo-potential .sp-payment-card > input[type="radio"] { flex: 0 0 19px; padding: 0; margin-top: 2px; }
.seo-potential .sp-payment-card-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.seo-potential .sp-payment-card-body > strong { font-size: 14px; line-height: 1.4; }
.seo-potential .sp-payment-card-price { color: #795322; font-size: 18px; line-height: 1.4; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.seo-potential .sp-payment-card-body > small { color: var(--sp-muted); font-size: 11px; line-height: 1.55; }
.seo-potential .sp-payment-context { margin: 0 0 24px; font-size: 12px; line-height: 1.65; color: var(--sp-muted); }
.seo-potential .sp-share-controls { margin: 18px 0 14px; padding: 19px; border: 1px solid var(--sp-line); border-radius: 7px; background: #fff; }
.seo-potential .sp-share-controls .sp-field { max-width: 520px; }
.seo-potential .sp-share-controls .sp-traffic-warning { margin-bottom: 0; }
.seo-potential .sp-share-controls .sp-note { margin-top: 12px; }
.seo-potential .sp-cooperation { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--sp-line); }
.seo-potential .sp-cooperation h3 { font: 600 23px/1.25 var(--serif); margin: 0 0 10px; }
.seo-potential .sp-payment-summary { margin: 0 0 15px; font-size: 12px; line-height: 1.6; }
.seo-potential .sp-payment-summary > span { color: var(--sp-muted); }
.seo-potential .sp-cooperation-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.seo-potential .sp-cooperation-cards > article { padding: 17px; background: #fff; border: 1px solid var(--sp-line); border-radius: 7px; min-width: 0; }
.seo-potential .sp-cooperation-cards h4 { font-size: 14px; line-height: 1.4; margin: 0 0 9px; }
.seo-potential .sp-cooperation-cards p { color: var(--sp-muted); font-size: 12px; line-height: 1.65; margin: 0; }
.seo-potential .sp-finance-inputs { display: grid; gap: 24px; }
.seo-potential .sp-fee { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 23px; background: var(--sp-soft); border: 1px solid var(--sp-line); border-radius: 7px; }
.seo-potential .sp-fee > span { font-size: 13px; }
.seo-potential .sp-fee strong { font: 600 26px/1.3 var(--sans); overflow-wrap: anywhere; }
.seo-potential .sp-fee small { font-size: 12px; color: var(--sp-muted); }
.seo-potential .sp-ledger { border: 1px solid var(--sp-line); padding: 24px 28px; border-radius: 8px; background: #fff; }
.seo-potential .sp-ledger-caption { font-size: 12px; color: var(--sp-muted); margin: 0 0 14px; line-height: 1.6; }
.seo-potential .sp-ledger dl { margin: 0; }
.seo-potential .sp-ledger dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid #e8ddcc; }
.seo-potential .sp-ledger dt { font-size: 13px; line-height: 1.6; }
.seo-potential .sp-ledger dd { margin: 0; font-size: 17px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.seo-potential .sp-ledger .sp-ledger-result { padding-top: 22px; border: 0; }
.seo-potential .sp-ledger-result dd { font-size: 25px; line-height: 1.4; font-weight: 600; }
.seo-potential .sp-ledger-result[data-tone="positive"] dd { color: #376847; }
.seo-potential .sp-ledger-result[data-tone="negative"] dd { color: #9d4030; }
.seo-potential .sp-ledger-result.is-positive dd { color: #376847; }
.seo-potential .sp-ledger-result.is-negative dd { color: #9d4030; }
.seo-potential .sp-final-scope { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 25px; background: var(--sp-soft); border: 1px solid var(--sp-line); border-radius: 8px; margin-bottom: 25px; }
.seo-potential .sp-final-scope > strong { font-size: 17px; }
.seo-potential .sp-final-scope > p { margin: 0; font-size: 13px; color: var(--sp-muted); line-height: 1.7; }
.seo-potential .sp-final-scope > span { font: 600 27px/1.4 var(--sans); }
.seo-potential .sp-final-scope > small { font-size: 12px; color: var(--sp-muted); }
.seo-potential .sp-utility { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--sp-line); padding-top: 14px; margin-top: 22px; }
.seo-potential .sp-utility > span { font-size: 11px; line-height: 1.6; color: var(--sp-muted); text-align: right; }
.seo-potential .sp-live-summary { position: sticky; top: 96px; padding: 23px; border: 1px solid #27241e; border-radius: 7px; background: #171612; color: #fffdf9; min-width: 0; }
.seo-potential .sp-live-summary h2 { font: 600 29px/1.1 var(--serif); letter-spacing: -.025em; color: #fffdf9; margin: 0 0 10px; }
.seo-potential .sp-live-summary header > p { font-size: 12px; line-height: 1.6; color: #e4dfd6; margin: 0 0 7px; }
.seo-potential .sp-live-metrics { display: grid; }
.seo-potential .sp-live-metric { display: grid; gap: 4px; padding: 15px 0 13px; border-top: 1px solid #575047; min-width: 0; }
.seo-potential .sp-live-metric > span { font-size: 12px; line-height: 1.45; color: #f6f1e9; }
.seo-potential .sp-live-metric > strong { font: 600 44px/1.05 var(--sans); letter-spacing: -.025em; color: #edc176; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.seo-potential .sp-live-fee { padding: 15px 0; border-top: 1px solid #575047; }
.seo-potential .sp-live-fee > span { font-size: 12px; }
.seo-potential .sp-live-fee > p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin: 7px 0; color: #edc176; }
.seo-potential .sp-live-fee strong { font: 600 32px/1.2 var(--sans); letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.seo-potential .sp-live-fee small { font-size: 10px; line-height: 1.55; color: #e4dfd6; }
.seo-potential .sp-live-fee p > small { color: #edc176; }
.seo-potential .sp-live-payment-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin-top: 12px; padding: 9px 11px; border: 1px solid #a58a5e; border-radius: 6px; background: transparent; color: #edc176; font-size: 12px; line-height: 1.5; cursor: pointer; text-align: left; }
.seo-potential .sp-live-payment-action:hover { background: #30291f; border-color: #edc176; }
.seo-potential .sp-live-allocation { border-top: 1px solid #575047; padding: 13px 0 16px; }
.seo-potential .sp-live-allocation > p { font-size: 12px; margin: 0 0 10px; }
.seo-potential .sp-allocation-bar { display: flex; height: 14px; width: 100%; border-radius: 4px; overflow: hidden; background: #575047; }
.seo-potential .sp-allocation-bar > span { flex: 0 0 var(--allocation-size, 0%); min-width: 0; background: var(--allocation-color, #edc176); }
.seo-potential .sp-allocation-legend { padding: 0; margin: 10px 0 0; list-style: none; display: grid; gap: 8px; }
.seo-potential .sp-allocation-item { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: baseline; gap: 7px; font-size: 10px; line-height: 1.4; }
.seo-potential .sp-allocation-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--allocation-color, #edc176); }
.seo-potential .sp-allocation-name { overflow-wrap: anywhere; }
.seo-potential .sp-allocation-value { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.seo-potential .sp-live-cta { width: 100%; background: #edc176; border-color: #edc176; color: #171612; font-weight: 600; min-height: 48px; }
.seo-potential .sp-live-cta:hover { background: #f4d095; color: #171612; }
.seo-potential .sp-live-note { font-size: 10px; line-height: 1.5; text-align: center; color: #d4cfc4; margin: 12px 0 0; }
.seo-potential :is(button, a, input, select, textarea, summary):focus-visible { outline: 2px solid var(--sp-gold); outline-offset: 4px; }
.seo-potential .sp-live-summary :is(button, a):focus-visible { outline-color: #edc176; }
@media (min-width: 901px) and (max-width: 1100px) {
  .seo-potential .sp-layout.has-report { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
  .seo-potential .sp-report-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .seo-potential .sp-month { justify-content: space-between; }
  .seo-potential .sp-category { grid-template-columns: 1fr; gap: 6px; }
  .seo-potential .sp-category-details:not([open]) { grid-column: 1; grid-row: auto; margin-top: 0; }
}
@media (max-width: 900px) {
  .tools-ivory .seo-potential .sp-layout { width: min(760px, calc(100% - 40px)); }
  .seo-potential .sp-layout.has-report { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .seo-potential .sp-flow { padding: 18px 0 0; }
  .seo-potential .sp-step-button { font-size: 12px; gap: 6px; }
  .seo-potential .sp-economics { grid-template-columns: 1fr; }
  .seo-potential .sp-finance-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-potential .sp-fee { grid-column: 1 / -1; }
  .seo-potential .sp-live-summary { position: static; padding: 19px; }
  .seo-potential .sp-flow .sp-live-summary { margin: 16px 0; }
  .seo-potential .sp-live-summary h2 { font-size: 25px; }
  .seo-potential .sp-live-summary header > p { font-size: 11px; margin-bottom: 9px; }
  .seo-potential .sp-live-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #575047; }
  .seo-potential .sp-live-metric { border: 0; padding: 12px 10px; }
  .seo-potential .sp-live-metric:first-child { padding-left: 0; }
  .seo-potential .sp-live-metric:last-child { padding-right: 0; }
  .seo-potential .sp-live-metric + .sp-live-metric { border-left: 1px solid #575047; }
  .seo-potential .sp-live-metric > span { font-size: 10px; }
  .seo-potential .sp-live-metric > strong { font-size: 30px; }
  .seo-potential .sp-live-fee { padding: 12px 0; border: 0; }
  .seo-potential .sp-live-fee strong { font-size: 28px; }
  .seo-potential .sp-live-allocation { display: none; }
  .seo-potential .sp-live-note { margin-top: 9px; }
}
@media (max-width: 600px) {
  .tools-ivory .seo-potential .sp-layout { width: calc(100% - 28px); }
  .seo-potential .sp-layout { padding-top: 14px; padding-bottom: 28px; }
  .seo-potential .sp-hero { padding: 0 0 10px; }
  .seo-potential .sp-hero h1 { font-size: 30px; margin-bottom: 6px; }
  .seo-potential .sp-hero > p:last-child { font-size: 17px; line-height: 1.25; }
  .seo-potential .sp-step-button { min-height: 48px; }
  .seo-potential .sp-step-button > span:first-child { font-size: 13px; }
  .seo-potential .sp-step-button > span:last-child { display: none; }
  .seo-potential .sp-mobile-step { display: block; padding: 6px 0 0; margin: 0; font-size: 11px; font-weight: 500; color: var(--sp-gold); }
  .seo-potential .sp-flow { padding: 13px 0 0; }
  .seo-potential .sp-panel-heading h2 { font-size: 24px; }
  .seo-potential .sp-payment-cards, .seo-potential .sp-cooperation-cards { grid-template-columns: 1fr; }
  .seo-potential .sp-payment-card { min-height: 0; padding: 15px; }
  .seo-potential .sp-payment-card-body { gap: 6px; }
  .seo-potential .sp-share-controls { padding: 16px; }
  .seo-potential .sp-panel-heading > p:last-child { font-size: 12px; }
  .seo-potential .sp-heading-line h2 { font-size: 21px; }
  .seo-potential .sp-heading-line .sp-source-badge { font-size: 9px; padding: 4px 7px; }
  .seo-potential .sp-fields, .seo-potential .sp-finance-inputs { grid-template-columns: 1fr; gap: 16px; }
  .seo-potential .sp-report-toolbar { flex-direction: column; align-items: stretch; gap: 9px; margin-bottom: 15px; padding-bottom: 12px; }
  .seo-potential .sp-scenario-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .seo-potential .sp-scenario-switch button { padding: 9px 5px; font-size: 11px; overflow-wrap: anywhere; }
  .seo-potential .sp-month { justify-content: space-between; }
  .seo-potential .sp-category { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 13px; }
  .seo-potential .sp-category-main { padding-right: 76px; }
  .seo-potential .sp-category-name { font-size: 13px; }
  .seo-potential .sp-category-choice { gap: 8px; min-height: 40px; }
  .seo-potential .sp-category-choice small { font-size: 10px; }
  .seo-potential .sp-category-traffic > label { position: absolute; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .seo-potential .sp-category-traffic .sp-slider { gap: 0; }
  .seo-potential .sp-category-traffic .sp-slider-top { position: absolute; top: 13px; right: 13px; max-width: 76px; text-align: right; }
  .seo-potential .sp-category-traffic .sp-slider-value { font-size: 22px; }
  .seo-potential .sp-category-traffic [data-potential-traffic-origin] { padding-left: 43%; min-height: 22px; }
  .seo-potential .sp-category-details:not([open]) { position: absolute; bottom: 7px; left: 13px; width: 42%; margin-top: 0; grid-row: auto; }
  .seo-potential .sp-category-details > summary { font-size: 11px; }
  .seo-potential .sp-category:has([data-potential-action="reset-traffic"]:not([hidden])) .sp-category-details:not([open]) { bottom: 39px; }
  .seo-potential .sp-category-details[open] { margin-top: 8px; }
  .seo-potential .sp-category-heading { gap: 10px; }
  .seo-potential .sp-category-heading h3 { font-size: 16px; }
  .seo-potential .sp-category-controls { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .seo-potential .sp-funnel { grid-template-columns: 1fr; padding: 10px 0; gap: 0; }
  .seo-potential .sp-funnel article { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); gap: 5px 18px; padding: 18px 0; align-items: center; }
  .seo-potential .sp-funnel article + article { border: 0; border-top: 1px solid var(--sp-line); }
  .seo-potential .sp-funnel strong { grid-row: span 2; font-size: 30px; }
  .seo-potential .sp-funnel span { font-size: 13px; }
  .seo-potential .sp-ledger { padding: 20px 17px; }
  .seo-potential .sp-ledger dl > div { gap: 12px; }
  .seo-potential .sp-ledger dt { max-width: 48%; font-size: 12px; }
  .seo-potential .sp-ledger dd { max-width: 52%; font-size: 16px; }
  .seo-potential .sp-ledger-result dd { font-size: 21px; }
  .seo-potential .sp-actions { gap: 10px; }
  .seo-potential .sp-actions .sp-button { flex: 1 1 auto; }
  .seo-potential .has-report .sp-between .sp-button-secondary { flex: 0 0 auto; min-width: 94px; }
  .seo-potential .sp-between { align-items: stretch; }
  .seo-potential .sp-utility { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 17px; }
  .seo-potential .sp-utility > span { text-align: left; }
  .seo-potential .sp-live-summary { padding: 15px 13px; }
  .seo-potential .sp-live-summary h2 { font-size: 23px; margin-bottom: 7px; }
  .seo-potential .sp-live-metric { padding: 10px 7px; }
  .seo-potential .sp-live-metric > span { font-size: 10px; }
  .seo-potential .sp-live-metric > strong { font-size: 27px; }
  .seo-potential .sp-live-fee strong { font-size: 25px; }
  .seo-potential .sp-live-cta { min-height: 44px; }
}
@media print {
  .seo-potential .sp-steps, .seo-potential .sp-actions, .seo-potential .sp-utility, .seo-potential .sp-report-toolbar, .seo-potential .sp-live-summary { display: none; }
  .seo-potential .sp-layout.has-report { grid-template-columns: 1fr; }
  .seo-potential .sp-flow { border: 0; padding: 0; }
}
