:root{--sx-ink:#231d31;--sx-muted:#756c84;--sx-purple:#7654be;--sx-line:#e9e1f0;--sx-bg:#f9f7fc;--sx-light:#f5effb;--sx-pink:#fce8f4}
.sx-onboard{min-height:100vh;background:radial-gradient(ellipse at top left,#f5eafb 0,transparent 50%),var(--sx-bg);color:var(--sx-ink);padding:0 32px 24px}
.sx-top{height:100px;display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:auto;gap:20px}.sx-brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--sx-ink);font-size:25px;letter-spacing:-1px}.sx-brand img{object-fit:contain;flex-shrink:0}.sx-brand b{font-weight:750}.sx-top-right{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--sx-muted)}
.sx-onboard .button.primary{background:var(--sx-purple);border-color:var(--sx-purple);color:white}.sx-onboard .button.primary:hover{background:#62419e}.sx-onboard .button{border-radius:9px;padding:12px 19px;min-height:42px}.sx-onboard .button.tiny{padding:7px 12px;min-height:32px}.sx-onboard h1{font-size:30px;line-height:1.2;letter-spacing:-.9px;margin:0 0 10px}.sx-onboard h2{letter-spacing:-.6px}.sx-subtitle{color:var(--sx-muted);font-size:15px;line-height:1.7;margin:0 0 27px}.sx-intro{text-align:center;max-width:740px;margin:28px auto 32px}.sx-intro h1{font-size:40px;margin:12px 0}.sx-intro p{color:var(--sx-muted);font-size:16px}.sx-kicker{font-size:11px;font-weight:700;letter-spacing:1.6px;color:var(--sx-purple)}
.sx-progress{max-width:1050px;margin:4px auto 28px;color:var(--sx-muted);font-size:12px}.sx-progress progress{width:100%;height:6px;display:block;border:0;border-radius:5px;overflow:hidden;margin:11px 0;background:#e9e1f0}.sx-progress progress::-webkit-progress-bar{background:#e9e1f0}.sx-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#ce9ae5,#7351bb)}.sx-progress p{text-align:center;font-size:11px;margin:10px 0}.sx-panel{background:white;max-width:1050px;margin:0 auto 24px;border:1px solid var(--sx-line);border-radius:18px;box-shadow:0 15px 40px #40225207;overflow:hidden}.sx-panel-main{padding:38px 42px}.sx-panel:not(.sx-split) .sx-panel-main{max-width:850px;margin:auto}.sx-split{display:grid;grid-template-columns:1.2fr 1fr}.sx-aside{border-left:1px solid var(--sx-line);padding:52px 35px;background:linear-gradient(155deg,#fff,#faf7fd);display:flex;flex-direction:column;justify-content:center;gap:28px}.sx-explain{display:flex;align-items:flex-start;gap:16px}.sx-explain>span{color:var(--sx-purple);background:var(--sx-light);border-radius:12px;display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;font-size:16px}.sx-explain h3{font-size:14px;margin:0 0 6px}.sx-explain p{font-size:13px;line-height:1.7;margin:0;color:var(--sx-muted)}
.sx-field{display:flex;flex-direction:column;gap:8px;margin:0 0 19px;font-size:13px;font-weight:600;color:var(--sx-ink)}.sx-field input,.sx-field select,.sx-field textarea{border:1px solid var(--sx-line);border-radius:8px;background:#fff;color:var(--sx-ink);padding:12px 13px;font-family:inherit;font-size:14px;line-height:1.5;width:100%;min-height:45px;box-sizing:border-box}.sx-field input:focus,.sx-field select:focus,.sx-field textarea:focus,.sx-competitor input:focus{outline:2px solid #c5aae9;outline-offset:1px}.sx-field textarea{resize:vertical}.sx-field input[readonly]{background:#f8f7fa;color:var(--sx-muted)}.sx-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.sx-actions{display:flex;justify-content:space-between;gap:12px;margin-top:26px;align-items:center}.sx-help{color:var(--sx-muted);font-size:12px;line-height:1.7;font-weight:400}.sx-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;line-height:1.6;color:var(--sx-muted);margin:15px 0}.sx-check input{margin-top:4px;width:16px;height:16px;flex-shrink:0;accent-color:var(--sx-purple)}.sx-count{text-align:right;font-size:11px;color:var(--sx-muted);margin:-9px 0 18px}.sx-foot{text-align:center;font-size:11px;color:var(--sx-muted);margin:35px auto 10px}.sx-source{padding:12px 15px;background:var(--sx-light);border:1px solid var(--sx-line);border-radius:10px;font-size:12px;color:var(--sx-muted);margin:0 0 20px;line-height:1.7;overflow-wrap:anywhere}.sx-alert{max-width:1050px;margin:0 auto 20px;padding:14px 19px;border:1px solid #eadcb6;border-radius:10px;background:#fffaf0;color:#785d21;font-size:12px;line-height:1.7}.sx-alert.sx-success{border-color:#cce5db;background:#f0faf5;color:#28775c}.sx-alert.sx-error{border-color:#edb7b9;background:#fff2f2;color:#9d3137}.sx-panel>.sx-alert{margin:18px}
.sx-plans{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch}.sx-plan{background:linear-gradient(145deg,#fdfaff,white);padding:30px 28px;border:1px solid var(--sx-line);border-radius:16px;position:relative;box-shadow:0 12px 35px #43286105}.sx-plan.sx-featured{border-color:#ba9bde;background:linear-gradient(160deg,#f7effc,white 60%)}.sx-recommend{position:absolute;top:-12px;right:20px;border-radius:20px;background:var(--sx-purple);color:white;font-size:10px;padding:5px 12px;letter-spacing:.2px}.sx-plan h2{font-size:32px;margin:16px 0 10px;font-weight:500}.sx-plan>p{color:var(--sx-muted);font-size:13px;line-height:1.7;min-height:45px}.sx-price{display:flex;align-items:center;gap:10px;font-size:46px;font-weight:800;letter-spacing:-2px;margin:27px 0 22px}.sx-price span{font-size:10px;line-height:1.5;letter-spacing:0;color:var(--sx-muted);font-weight:400}.sx-plan>.button{width:100%}.sx-plan h4{border-top:1px solid var(--sx-line);padding-top:22px;font-size:11px;margin:26px 0 12px;color:var(--sx-muted)}.sx-plan ul{padding:0;margin:0;list-style:none}.sx-plan li{font-size:12px;line-height:1.8;padding:6px 0;position:relative;padding-left:24px}.sx-plan li>span{position:absolute;left:0;top:7px;background:#e7f5ef;border-radius:50%;width:17px;height:17px;text-align:center;line-height:17px;color:#29997a}.sx-plan li small{display:block;color:#948b9f;font-size:10px}.sx-disclosure{max-width:990px;text-align:center;color:var(--sx-muted);font-size:12px;line-height:1.8;margin:25px auto}.sx-checkout{display:grid;grid-template-columns:1.4fr 1fr;padding:38px;gap:40px}.sx-pill{font-size:11px;background:var(--sx-light);color:var(--sx-purple);padding:5px 10px;border-radius:30px;display:inline-block}.sx-payment-placeholder{border:1px dashed #cebedf;border-radius:12px;text-align:center;padding:32px 24px;background:#fdfbff;margin:20px 0}.sx-payment-placeholder>span:first-child{font-size:34px;color:var(--sx-purple)}.sx-payment-placeholder h3{font-size:16px}.sx-payment-placeholder p{font-size:13px;color:var(--sx-muted);line-height:1.7}.sx-order{background:#f8f5fc;padding:25px;border-radius:12px;align-self:start}.sx-order h3{margin-top:0}.sx-order>div{display:flex;justify-content:space-between;gap:20px;font-size:12px;margin:18px 0;color:var(--sx-muted)}.sx-order b{color:var(--sx-ink)}.sx-order .sx-total{border-top:1px solid var(--sx-line);padding-top:18px;font-size:18px}.sx-order p{font-size:11px;line-height:1.7;color:var(--sx-muted)}
.sx-radio{border:0;padding:0;margin:0 0 20px}.sx-radio legend,.sx-weekdays legend{font-size:13px;font-weight:600;margin-bottom:10px}.sx-radio>label{display:flex;align-items:center;gap:10px;border:1px solid var(--sx-line);padding:13px;border-radius:8px;margin:8px 0;font-weight:400;font-size:13px}.sx-radio input,.sx-weekdays input{accent-color:var(--sx-purple);width:16px;height:16px}.sx-radio>label:has(:checked){background:var(--sx-light);border-color:#cab4e3}.sx-competitor{display:flex;gap:8px;align-items:center;margin-bottom:12px}.sx-competitor>div{flex:1}.sx-competitor input{width:100%;padding:12px;border:1px solid var(--sx-line);border-radius:8px;font-size:13px}.sx-competitor small{font-size:10px;color:var(--sx-muted);display:block;margin:5px 0}
.sx-clusters{border:1px solid var(--sx-line);border-radius:12px;overflow:hidden;margin:20px 0 12px}.sx-cluster:not(:last-child){border-bottom:1px solid var(--sx-line)}.sx-cluster summary{cursor:pointer;background:#faf8fd;padding:13px 15px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:12px}.sx-cluster summary small{color:var(--sx-muted);font-weight:400}.sx-cluster-meta{display:flex;align-items:center;gap:10px;white-space:nowrap}.sx-keyword-head,.sx-keyword{display:grid;grid-template-columns:minmax(160px,1fr) 100px 35px 50px 48px;gap:10px;align-items:center;padding:10px 14px;font-size:12px}.sx-keyword-head{color:var(--sx-muted);font-size:10px;border-bottom:1px solid var(--sx-line)}.sx-keyword:not(:last-child){border-bottom:1px solid #f3eef8}.sx-keyword>label{display:flex;gap:10px;align-items:flex-start;font-weight:400;cursor:pointer}.sx-keyword input{width:16px;height:16px;flex-shrink:0;accent-color:var(--sx-purple);margin-top:3px}.sx-keyword b{font-size:12px;line-height:1.5}.sx-keyword small{display:block;font-size:10px;color:var(--sx-muted);margin-top:5px}.sx-intent{font-size:10px;color:#796323}.sx-intent.informational{color:#378977}.sx-intent.transactional{color:#487ba0}.sx-keyword .button{padding:4px;font-size:10px}.sx-manual{border-top:1px solid var(--sx-line);margin-top:25px;padding-top:20px;font-size:13px}.sx-manual summary{cursor:pointer;margin-bottom:15px;color:var(--sx-purple)}.sx-weekdays{display:flex;gap:12px;flex-wrap:wrap;border:0;padding:0;margin:8px 0 25px}.sx-weekdays label{display:flex;gap:5px;font-size:12px;font-weight:400;align-items:center}.sx-expert{border:1px solid var(--sx-line);border-radius:10px;padding:18px;margin-bottom:22px}.sx-switch{display:flex;justify-content:space-between;align-items:center;font-size:14px;gap:20px}.sx-switch small{display:block;font-size:11px;font-weight:400;color:var(--sx-muted);margin-top:5px}.sx-switch>input{accent-color:var(--sx-purple);width:21px;height:21px;flex-shrink:0}#sx-expert-fields{margin-top:25px}#sx-expert-fields[hidden]{display:none}.sx-style-grid,.sx-cms-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sx-style,.sx-cms{background:#fff;border:1px solid var(--sx-line);padding:18px 10px;border-radius:10px;cursor:pointer;color:var(--sx-ink)}.sx-style:hover,.sx-cms:not(:disabled):hover{border-color:var(--sx-purple);background:var(--sx-light)}.sx-style>span{display:block;font-size:30px;color:var(--sx-purple);margin:10px 0}.sx-style b{font-size:12px}.sx-cms-grid{margin:25px 0}.sx-cms>span{display:block;margin:5px auto 13px;border-radius:50%;background:var(--sx-light);color:var(--sx-purple);font:700 23px Georgia;line-height:48px;width:48px;height:48px}.sx-cms b{display:block;font-size:13px}.sx-cms small{display:block;font-size:10px;margin-top:7px;color:var(--sx-muted)}.sx-cms:disabled{cursor:not-allowed;opacity:.48}.sx-job{text-align:center;padding:28px 15px}.sx-job p{color:var(--sx-muted);font-size:12px;line-height:1.7}.sx-spinner{border:3px solid var(--sx-line);border-top-color:var(--sx-purple);border-radius:50%;width:32px;height:32px;margin:0 auto 25px;animation:sx-spin 1s linear infinite}@keyframes sx-spin{to{transform:rotate(360deg)}}.sx-empty{padding:30px;font-size:13px;line-height:1.7;color:var(--sx-muted)}.sx-wp-modal li{font-size:13px;line-height:1.8;margin:10px 0}.sx-wp-modal p{font-size:13px;line-height:1.8}
/* Rebrand the existing auth/dashboard without changing their data or routes. */
.auth-logo{font-size:26px!important}.auth-logo img{width:42px;height:42px;object-fit:contain}.auth-right{background:linear-gradient(145deg,#ede0fa,#fbe7f3 55%,#e1ebff)!important;color:var(--sx-ink)!important}.auth-right h1{color:var(--sx-ink)!important}.auth-right p,.auth-right span,.auth-eyebrow{color:#74617e!important}.auth-highlights>div{background:#ffffff85!important;border:1px solid #ffffff!important}.auth-demo-label{background:#ffffff70!important;color:#786483!important}.auth-left{background:#fdfbff!important}.auth-provider{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px}.auth-provider img{width:20px;height:20px}.auth-provider.disabled{opacity:.45;cursor:not-allowed}.auth-card .button.primary{background:var(--sx-purple);border-color:var(--sx-purple)}.logo img{width:34px;height:34px;object-fit:contain}.logo small{font-size:9px}.auth-authnote{font-size:10px;color:var(--sx-muted);margin:8px 0 18px}.auth-provider+.auth-provider{margin-top:10px}
@media(max-width:900px){.sx-onboard{padding:0 18px 20px}.sx-top{height:80px}.sx-top-right>span{display:none}.sx-plans{gap:12px}.sx-plan{padding:23px 18px}.sx-split{grid-template-columns:1fr}.sx-aside{border-left:0;border-top:1px solid var(--sx-line);display:grid;grid-template-columns:repeat(3,1fr);padding:24px;gap:18px}.sx-explain{flex-direction:column;gap:10px}.sx-panel-main{padding:30px}.sx-checkout{gap:20px;padding:25px}.sx-keyword-head,.sx-keyword{grid-template-columns:minmax(130px,1fr) 80px 30px 40px 40px;gap:5px}}
@media(max-width:620px){.sx-onboard h1{font-size:25px}.sx-intro h1{font-size:31px}.sx-plans,.sx-checkout{grid-template-columns:1fr}.sx-plan>p{min-height:0}.sx-plan{padding:25px}.sx-price{margin:20px 0}.sx-panel-main{padding:25px 19px}.sx-aside{display:none}.sx-grid{grid-template-columns:1fr;gap:0}.sx-actions{flex-wrap:wrap}.sx-actions>.primary{flex:1}.sx-style-grid,.sx-cms-grid{grid-template-columns:repeat(2,1fr)}.sx-top{gap:8px}.sx-brand{font-size:22px}.sx-keyword-head{display:none}.sx-keyword{display:flex;flex-wrap:wrap;gap:12px}.sx-keyword>label{width:100%}.sx-keyword>span{font-size:10px}.sx-keyword>span:nth-child(3)::before{content:'KD: '}.sx-keyword>span:nth-child(4)::before{content:'Volume: '}.sx-progress p{line-height:1.6}.sx-order{padding:20px}.sx-top .button{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.sx-spinner{animation:none}}

.sx-brandmark{object-fit:contain;flex-shrink:0}.sx-auth-providers{display:grid;gap:10px;margin:22px 0}.auth-provider img{flex:none}.auth-provider[disabled]{opacity:.5;cursor:not-allowed}.sx-auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:20px 0}.sx-auth-divider:before,.sx-auth-divider:after{content:"";height:1px;background:var(--border);flex:1}

/* v0.4.1: centered compact onboarding, not a full-width panel. */
.sx-onboard{padding:0 20px 18px}
.sx-top{max-width:920px;height:76px}
.sx-panel,.sx-progress,.sx-alert,.sx-resume,.sx-mode-note{max-width:880px}
.sx-panel{border-radius:14px;margin-bottom:18px}
.sx-progress{margin:0 auto 18px}.sx-progress p{display:none}
.sx-panel-main{padding:27px 30px}.sx-panel:not(.sx-split) .sx-panel-main{max-width:740px}
.sx-split{grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr)}
.sx-aside{padding:28px 24px;gap:22px}.sx-explain{gap:10px}.sx-explain>span{width:30px;height:30px;font-size:14px}
.sx-onboard h1{font-size:26px}.sx-subtitle{font-size:14px;line-height:1.55;margin-bottom:20px}
.sx-field{margin-bottom:14px;gap:6px}.sx-field input,.sx-field select,.sx-field textarea{padding:10px 11px;min-height:42px}
.sx-actions{margin-top:18px}.sx-onboard .button{padding:10px 16px}
.sx-radio{margin-bottom:14px}.sx-radio>label{padding:10px;margin:6px 0}
.sx-resume{text-align:right;margin:0 auto 10px}.sx-mode-note{margin:0 auto 10px;color:#85672c;font-size:11px}
.sx-evidence{margin:0 0 15px;color:var(--sx-muted);font-size:12px;line-height:1.6}
.sx-evidence summary{cursor:pointer;color:var(--sx-purple)}.sx-evidence p{margin:7px 0;overflow-wrap:anywhere}
.sx-plans{max-width:1050px}.sx-plan{padding:24px}.sx-plan h2{font-size:28px}.sx-foot{margin-top:22px}
@media(max-width:900px){.sx-split{grid-template-columns:1fr}.sx-aside{display:none}.sx-panel-main{padding:25px}}
@media(max-width:620px){.sx-onboard{padding:0 12px 15px}.sx-top{height:64px}.sx-panel-main{padding:22px 18px}.sx-onboard h1{font-size:23px}.sx-progress{font-size:11px}.sx-field input,.sx-field select,.sx-field textarea{font-size:16px}}

/* v0.4.2 compact onboarding + audience chips */
.sx-panel,.sx-progress,.sx-resume,.sx-mode-note{max-width:820px}
.sx-top{max-width:860px;height:66px}
.sx-progress{margin:0 auto 12px}
.sx-panel{margin-bottom:14px;border-radius:12px}
.sx-panel-main{padding:20px 22px}.sx-panel:not(.sx-split) .sx-panel-main{max-width:700px}
.sx-split{grid-template-columns:minmax(0,1.7fr) minmax(190px,.9fr)}
.sx-aside{padding:20px 18px;gap:14px}.sx-explain{gap:8px}.sx-explain h3{margin-bottom:3px}.sx-explain p{line-height:1.5}
.sx-onboard h1{font-size:24px;margin-bottom:6px}.sx-subtitle{font-size:13px;line-height:1.45;margin-bottom:14px}
.sx-field{gap:5px;margin-bottom:10px}.sx-field input,.sx-field select,.sx-field textarea{padding:9px 10px;min-height:39px}
.sx-field textarea{min-height:88px}.sx-grid{gap:0 12px}.sx-actions{margin-top:12px}.sx-help{line-height:1.45}.sx-count{margin:-5px 0 10px}
.sx-radio{margin-bottom:12px}.sx-radio>label{padding:9px 10px;margin:5px 0}.sx-source{padding:9px 11px;margin-bottom:12px;line-height:1.45}
.sx-alert{padding:10px 12px;margin-bottom:10px;line-height:1.45}.sx-panel>.sx-alert{margin:12px}.sx-inline-error{max-width:none;margin:0 0 12px!important}.sx-inline-error p{margin:4px 0 8px}
.sx-competitor{margin-bottom:8px}.sx-competitor input{padding:9px 10px}.sx-competitor small{margin:3px 0}
.sx-foot{margin-top:14px}.sx-onboard .button{padding:9px 14px;min-height:38px}.sx-onboard .button.tiny{padding:5px 9px;min-height:28px}
.sx-audience-field{margin-bottom:6px}.sx-audience-chips{display:flex;flex-wrap:wrap;gap:7px;min-height:34px;margin:2px 0 7px}.sx-audience-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 7px 6px 10px;border:1px solid #d7c8e8;border-radius:999px;background:#f7f1fb;color:var(--sx-ink);font-size:12px;font-weight:500;line-height:1.25}.sx-audience-chip>span{overflow-wrap:anywhere}.sx-audience-chip .button.sx-chip-remove{border:0;background:transparent;padding:0;min-height:20px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:#7351bb;font-size:16px;line-height:1}.sx-audience-chip .button.sx-chip-remove:hover{background:#eadff4}.sx-audience-field>input{margin-top:1px}
@media(max-width:900px){.sx-panel,.sx-progress,.sx-resume,.sx-mode-note{max-width:760px}.sx-split{grid-template-columns:1fr}.sx-aside{display:none}.sx-panel-main{padding:20px}}
@media(max-width:620px){.sx-onboard{padding:0 10px 12px}.sx-top{height:58px}.sx-panel-main{padding:17px 15px}.sx-onboard h1{font-size:22px}.sx-subtitle{margin-bottom:12px}.sx-audience-chips{gap:6px}.sx-audience-chip{border-radius:14px;padding:6px 6px 6px 9px}}

/* v0.4.6 compact language + market selectors */
.sx-language-choice,.sx-market-options{border:0;padding:0;margin:0 0 12px;display:grid;gap:6px}
.sx-language-choice legend,.sx-market-options legend{font-size:12px;font-weight:700;margin:0 0 5px;color:var(--sx-ink)}
.sx-language-choice>label,.sx-market-options>label{display:flex;align-items:center;gap:10px;margin:0;padding:9px 11px;min-height:42px;border:1px solid var(--sx-line);border-radius:7px;background:#fff;cursor:pointer}
.sx-language-choice>label:has(input:checked),.sx-market-options>label:has(input:checked){border-color:#a88ae2;background:#faf8ff;box-shadow:0 0 0 1px rgba(124,79,194,.08)}
.sx-language-choice input,.sx-market-options input{margin:0;flex:none}
.sx-language-choice img{width:24px;height:18px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(25,18,38,.12);flex:none}
.sx-language-choice span{display:flex;align-items:baseline;gap:8px;min-width:0}
.sx-language-choice b,.sx-market-options b{font-size:12px;font-weight:600}
.sx-language-choice small{font-size:10px;color:var(--sx-muted);font-weight:400}
.sx-market-choice-icon{width:18px;height:18px;color:#6f6878;display:grid;place-items:center;flex:none}
.sx-market-choice-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#sx-geography:empty{display:none}
@media(max-width:620px){.sx-language-choice>label,.sx-market-options>label{min-height:40px;padding:8px 10px}}

/* v0.4.7 local language flags + radio hotfix */
.sx-language-choice input[type="radio"],.sx-market-options input[type="radio"]{appearance:auto;-webkit-appearance:radio;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;padding:0!important;margin:0!important;flex:0 0 16px!important;accent-color:#7c4fc2}
.sx-language-choice>label{grid-template-columns:16px 24px 1fr}
.sx-language-choice img{display:block;width:24px!important;height:18px!important;min-width:24px;object-fit:cover;border-radius:2px;border:1px solid rgba(25,18,38,.12);box-shadow:none;background:#fff}
.sx-language-choice span{min-width:0}


/* v0.4.10 compact competitor rows with same-origin favicon proxy */
.sx-competitor-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 10px}.sx-competitor-add input{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--sx-line);border-radius:7px;font:inherit;font-size:12px;box-sizing:border-box}.sx-competitor-add input:focus{outline:2px solid #c5aae9;outline-offset:1px}.sx-competitor{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:9px;margin:0 0 7px;padding:7px 8px;border:1px solid var(--sx-line);border-radius:7px;background:#fff}.sx-competitor-domain{min-width:0;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sx-ink)}.sx-competitor-favicon{position:relative;display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#f4eff9;color:#7256a6;font-size:11px;font-weight:700;overflow:hidden}.sx-competitor-favicon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:3px;box-sizing:border-box}.sx-competitor .button{justify-self:end;border:0!important;background:transparent!important;box-shadow:none!important;color:#83768c!important;font-size:17px!important;padding:0!important;width:28px!important;height:28px!important;min-height:28px!important}.sx-competitor .button:hover{background:#f5f0f8!important;color:#4d3b59!important}.sx-competitor-empty{padding:13px 4px;margin:0;font-size:12px}.sx-competitor+.sx-competitor{margin-top:0}
@media(max-width:620px){.sx-competitor-add{grid-template-columns:1fr auto}.sx-competitor{grid-template-columns:28px minmax(0,1fr) 28px;padding:7px}.sx-competitor-domain{font-size:12px}}

/* v0.4.12 compact Step 6 progress */
.sx-keyword-job{max-width:520px;margin:0 auto;text-align:left}.sx-keyword-job>.sx-spinner{margin:0 auto 18px}.sx-keyword-job>h3,.sx-keyword-job>p{text-align:center}.sx-research-steps{margin:22px auto 0;max-width:360px;display:grid;gap:10px}.sx-research-step{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:10px;color:#a39aa9;font-size:12px}.sx-research-step span{width:20px;height:20px;display:grid;place-items:center}.sx-research-step b{font-weight:500}.sx-research-step.active{color:var(--sx-ink)}.sx-research-step.done{color:#3b9a84}.sx-mini-spinner{display:block;width:14px;height:14px;border:2px solid var(--sx-line);border-top-color:var(--sx-purple);border-radius:50%;animation:sx-spin 1s linear infinite}

/* v0.4.12-r2: compact waving-style local flags and WordPress pairing steps. */
.sx-language-choice img{
  width:27px!important;height:18px!important;min-width:27px!important;
  object-fit:cover;border:0!important;border-radius:1px!important;
  clip-path:polygon(0 8%,25% 1%,50% 7%,75% 1%,100% 7%,100% 93%,75% 99%,50% 93%,25% 99%,0 92%);
  transform:perspective(80px) rotateY(-8deg) skewY(-1deg);
  box-shadow:0 2px 4px rgba(37,27,52,.18)!important;
}
.sx-wp-steps{display:grid;gap:10px;margin:18px 0 20px}.sx-wp-steps>div{display:flex;gap:11px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--sx-line)}.sx-wp-steps>div:last-child{border-bottom:0}.sx-wp-steps>div>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--sx-light);color:var(--sx-purple);font-weight:700;font-size:11px;flex:0 0 24px}.sx-wp-steps b{display:block;font-size:12px}.sx-wp-steps small{display:block;margin-top:3px;color:var(--sx-muted);font-size:10px;line-height:1.55}.sx-keyword-job{max-width:520px;margin:0 auto}.sx-research-steps{max-width:360px;margin:20px auto 0;text-align:left}

/* v0.4.14 onboarding visual polish. The v0.4.12-r2 local waving flag treatment above is intentionally unchanged. */
:root{--sx-ink:#101426;--sx-muted:#667085;--sx-purple:#4f46e5;--sx-blue:#2563eb;--sx-line:#e2e8f0;--sx-bg:#f7f9fc;--sx-light:#eef4ff}
.sx-onboard{background:radial-gradient(ellipse at top left,#f1efff 0,transparent 44%),linear-gradient(180deg,#f8fbff 0,#f7f8fc 100%);padding-bottom:28px}
.sx-top{max-width:1120px;height:76px}.sx-progress{max-width:1120px;margin:0 auto 24px}.sx-progress .row{font-size:13px;color:#596275}.sx-progress progress{height:5px;margin:9px 0 13px;background:#e7ebf1}.sx-progress progress::-webkit-progress-bar{background:#e7ebf1}.sx-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#2563eb,#4f46e5)}.sx-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#2563eb,#4f46e5)}
.sx-goal{display:flex;justify-content:center;align-items:center;gap:8px!important;margin:0!important;font-size:12px!important;color:#647087!important}.sx-goal-icon{display:grid;place-items:center;width:19px;height:19px;color:var(--sx-blue)}.sx-goal-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sx-panel{max-width:1120px;border-radius:16px;border-color:#e3e8f0;box-shadow:0 18px 50px rgba(29,41,57,.045);margin-bottom:20px}.sx-panel-main{padding:34px 38px}.sx-split{grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr)}.sx-aside{padding:34px 30px;gap:26px;background:linear-gradient(160deg,#fff,#fbfcff);border-left-color:#e7ebf1}.sx-explain{gap:14px}.sx-explain>span{width:44px;height:44px;border-radius:14px;color:var(--sx-blue);background:#eff4ff}.sx-explain>span svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sx-explain h3{font-size:14px;margin-bottom:5px;color:#111827}.sx-explain p{font-size:12.5px;line-height:1.55;color:#667085}
.sx-onboard h1{font-size:29px;letter-spacing:-.75px}.sx-subtitle{font-size:14px;line-height:1.55;color:#667085;margin-bottom:22px}.sx-field{font-size:12.5px}.sx-field input,.sx-field select,.sx-field textarea{border-color:#dfe5ee;border-radius:8px}.sx-field input:focus,.sx-field select:focus,.sx-field textarea:focus,.sx-competitor input:focus{outline-color:#9db8ff}.sx-onboard .button.primary{background:linear-gradient(135deg,#4f46e5,#2563eb);border-color:#3f57d6}.sx-onboard .button.primary:hover{background:linear-gradient(135deg,#4338ca,#1d4ed8)}
.sx-radio>label,.sx-language-choice>label,.sx-market-options>label{border-color:#dfe5ee;background:#fff}.sx-radio>label:has(:checked),.sx-language-choice>label:has(input:checked),.sx-market-options>label:has(input:checked){border-color:#9db8ff;background:#f7f9ff;box-shadow:0 0 0 1px rgba(37,99,235,.06)}.sx-language-choice input[type="radio"],.sx-market-options input[type="radio"]{accent-color:#4f46e5}
.sx-audience-chip{border-color:#dbe7fb;background:#eef5ff;color:#175cd3;border-radius:7px}.sx-audience-chip .button.sx-chip-remove{color:#2563eb}.sx-cluster summary{background:#f8faff}.sx-keyword-job{max-width:580px}.sx-research-step.done{color:#2f9e7a}.sx-mini-spinner{border-top-color:var(--sx-blue)}
.sx-centered-stage .sx-panel-main{text-align:center;max-width:820px}.sx-centered-stage .sx-field,.sx-centered-stage .sx-count,.sx-centered-stage .sx-audience-field{text-align:left}.sx-centered-stage .sx-actions{text-align:initial}
.sx-foot,.sx-resume{display:none!important}
@media(max-width:900px){.sx-panel,.sx-progress,.sx-mode-note{max-width:780px}.sx-split{grid-template-columns:1fr}.sx-panel-main{padding:24px}.sx-aside{display:none}}
@media(max-width:620px){.sx-top{height:62px}.sx-progress{margin-bottom:16px}.sx-panel-main{padding:20px 17px}.sx-onboard h1{font-size:24px}.sx-goal{font-size:11px!important;align-items:flex-start}}


/* v0.4.15 compact onboarding + searchable language picker. Existing local waving flag rule remains unchanged. */
.sx-panel{max-width:1040px!important}.sx-progress,.sx-top{max-width:1040px!important}.sx-panel-main{padding:25px 30px!important}.sx-aside{padding:25px 26px!important;gap:20px!important}.sx-onboard h1{font-size:26px!important}.sx-subtitle{margin-bottom:17px!important;font-size:13px!important}.sx-field{margin-bottom:11px!important}.sx-field input,.sx-field select{min-height:38px!important;padding:8px 10px!important}.sx-field textarea{padding:9px 10px!important}.sx-actions{margin-top:15px!important}.sx-explain>span{width:40px!important;height:40px!important;border-radius:12px!important}.sx-explain h3{font-size:13px!important}.sx-explain p{font-size:11.5px!important}.sx-required{color:#dc2626;font-weight:800}.sx-no-site{font-size:11px;color:#6b7280;margin:7px 0 0 14px;text-decoration:underline;text-underline-offset:2px;width:max-content}.sx-icon-input{position:relative;display:block}.sx-icon-input input{padding-left:39px!important;width:100%}.sx-input-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#667085;z-index:1}.sx-input-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sx-language-picker{position:relative}.sx-language-label{display:block;font-size:12.5px;font-weight:700;margin-bottom:6px}.sx-language-trigger{width:100%;min-height:40px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid #9db8ff;border-radius:8px;background:#fff;color:var(--sx-ink);font:inherit;text-align:left;cursor:pointer}.sx-language-trigger img,.sx-language-option img{width:27px!important;height:18px!important;min-width:27px!important;object-fit:cover;border:0!important;border-radius:1px!important;clip-path:polygon(0 8%,25% 1%,50% 7%,75% 1%,100% 7%,100% 93%,75% 99%,50% 93%,25% 99%,0 92%);transform:perspective(80px) rotateY(-8deg) skewY(-1deg);box-shadow:0 2px 4px rgba(37,27,52,.18)!important}.sx-language-menu{position:absolute;z-index:30;left:0;right:0;top:calc(100% - 4px);padding:8px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.12)}.sx-language-menu>input{width:100%;min-height:36px!important;margin-bottom:7px;padding:7px 9px!important;border:1px solid #dfe5ee;border-radius:7px}.sx-language-menu #sx-language-options{max-height:230px;overflow:auto;display:grid;gap:2px}.sx-language-option{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:9px;width:100%;border:0;border-radius:7px;background:#fff;padding:7px 8px;text-align:left;font:inherit;font-size:12px;cursor:pointer}.sx-language-option:hover,.sx-language-option.selected{background:#f2f6ff}.sx-language-option[hidden]{display:none!important}.sx-market-options legend{font-size:12.5px!important}.sx-market-options>label{min-height:39px!important;padding:7px 10px!important}
.sx-competitor{margin-bottom:5px!important;padding:6px 8px!important}.sx-competitor-add{margin-bottom:7px!important}.sx-centered-stage .sx-panel-main{max-width:760px!important}.sx-keyword-job{max-width:520px!important}.sx-research-steps{margin-top:15px!important;gap:8px!important}
@media(max-width:900px){.sx-panel-main{padding:21px!important}}@media(max-width:620px){.sx-panel-main{padding:17px 14px!important}.sx-onboard h1{font-size:22px!important}}

/* v0.4.16: keep required markers on the same line as labels. */
.sx-field-label,.sx-language-label,.sx-radio legend,.sx-audience-field>span:first-child{display:inline-flex!important;align-items:baseline;gap:3px;width:max-content;max-width:100%}.sx-required{display:inline!important;line-height:1!important;margin:0!important}.sx-panel{max-width:980px!important}.sx-panel-main{padding:22px 26px!important}.sx-aside{padding:22px 24px!important}

/* v0.4.17: required markers stay on the same label line */
.sx-field-label,.sx-language-label,.sx-audience-field>span:first-child{display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap}.sx-required{display:inline!important;color:#d62828!important;line-height:1;vertical-align:baseline;flex:0 0 auto}

/* v0.4.20 keyword planner: brand -> category -> keyword selection hierarchy */
.sx-keyword-root{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;background:#f4f7ff;border-bottom:1px solid var(--sx-line)}
.sx-root-select{display:flex;align-items:center;gap:11px;cursor:pointer;min-width:0}.sx-root-select input,.sx-category-check input{width:17px;height:17px;accent-color:var(--sx-blue);flex:0 0 auto}.sx-root-select span{min-width:0}.sx-root-select b{display:block;font-size:13px}.sx-root-select small{display:block;color:var(--sx-muted);font-size:10px;margin-top:2px}.sx-root-count{font-size:11px;color:var(--sx-muted);white-space:nowrap}
.sx-category-summary{display:flex;align-items:center;gap:9px;min-width:0}.sx-category-summary>b{font-size:12px}.sx-category-check{display:flex;align-items:center;cursor:pointer}.sx-category-check input{margin:0}
.sx-keyword-list{background:#fff}.sx-keyword{display:grid;grid-template-columns:18px minmax(0,1fr) 92px;gap:10px;align-items:center;padding:10px 14px;cursor:pointer}.sx-keyword:not(:last-child){border-bottom:1px solid #f3eef8}.sx-keyword>input{width:16px;height:16px;accent-color:var(--sx-blue);margin:0}.sx-keyword-copy{min-width:0}.sx-keyword-copy b{display:block;font-size:12px;font-weight:600;line-height:1.45}.sx-keyword-copy small{display:block;margin-top:3px;color:var(--sx-muted);font-size:10px}.sx-keyword>.sx-intent{justify-self:end;text-align:right}.sx-cluster summary{padding:12px 14px}.sx-cluster-meta small{min-width:64px;text-align:right}
@media(max-width:620px){.sx-keyword{grid-template-columns:18px minmax(0,1fr);}.sx-keyword>.sx-intent{grid-column:2;justify-self:start}.sx-cluster-meta{gap:6px}.sx-cluster-meta small{min-width:0}}

/* v0.4.20-r1: compact keyword planner, schedule controls and expert-mode toggles */
.sx-keyword-root{padding:12px 14px;background:#f7f9ff}.sx-root-select small{display:none}.sx-root-count{display:flex;align-items:center;gap:5px;font-size:10px;color:#7b8292}.sx-root-count b{font-size:11px;color:#4f5b73}.sx-root-count i{font-style:normal;color:#c0c5cf}
.sx-category-summary{display:flex;align-items:center;gap:9px;min-width:0}.sx-category-summary>b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sx-cluster-meta{gap:7px}.sx-cluster-meta .sx-intent{font-weight:600;padding:2px 6px;border-radius:999px;background:#f4f7fb}.sx-intent.commercial{color:#9a6a00;background:#fff7df}.sx-intent.informational{color:#16806c;background:#eaf9f4}.sx-intent.transactional{color:#16739a;background:#eaf6fb}.sx-intent.navigational{color:#6a5acd;background:#f2efff}.sx-selected-ratio{font-size:10px;color:#5d6678}.sx-category-total{display:grid;place-items:center;min-width:22px;height:20px;padding:0 5px;border-radius:6px;background:#eef3ff;color:#3764c9;font-size:10px;font-weight:700}
.sx-keyword{grid-template-columns:18px minmax(0,1fr) 44px 58px;padding:9px 14px}.sx-keyword-copy b{font-weight:500}.sx-score,.sx-volume{justify-self:end;font-size:11px}.sx-score{font-weight:700;color:#d05a61}.sx-volume{color:#667085}.sx-score[title],.sx-volume[title]{cursor:help}
.sx-schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.sx-schedule-field{display:flex;flex-direction:column;gap:5px}.sx-schedule-title{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--sx-ink)}.sx-schedule-icon{width:16px;height:16px;color:#697386;display:inline-grid;place-items:center}.sx-schedule-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sx-schedule-field>small{font-size:10px;color:var(--sx-muted);min-height:15px}.sx-schedule-field select,.sx-schedule-field input{width:100%;min-height:40px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;color:var(--sx-ink);padding:8px 11px;font:inherit;font-size:13px}.sx-schedule-field select:focus,.sx-schedule-field input:focus{outline:2px solid #9db8ff;outline-offset:1px}
.sx-expert{padding:0;border:1px solid var(--sx-line);overflow:hidden;background:#fff}.sx-expert>.sx-switch{padding:13px 15px;background:#fbfcff}.sx-switch-copy{display:flex;align-items:flex-start;gap:10px;min-width:0}.sx-switch-icon{width:22px;height:22px;color:#687385;display:grid;place-items:center;flex:0 0 22px}.sx-switch-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sx-toggle{appearance:none!important;-webkit-appearance:none!important;width:36px!important;height:20px!important;border-radius:999px!important;background:#d7dce5!important;position:relative!important;cursor:pointer!important;transition:.18s ease!important;flex:0 0 36px!important;border:0!important;outline:0!important}.sx-toggle::after{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.25);transition:.18s ease}.sx-toggle:checked{background:#2f6fed!important}.sx-toggle:checked::after{transform:translateX(16px)}
#sx-expert-fields{margin:0;padding:14px 15px 13px;border-top:1px solid var(--sx-line)}.sx-image-settings{border-top:1px solid #edf0f5;padding-top:12px;margin-top:3px}.sx-section-label{text-transform:none;font-size:12px;font-weight:700;color:var(--sx-ink);margin-bottom:8px}.sx-image-switch{padding:10px 0 14px;margin-bottom:9px}.sx-image-switch small{max-width:480px}.sx-expert-note{margin:2px 0 0;color:var(--sx-muted);font-size:10.5px;line-height:1.5}
@media(max-width:620px){.sx-schedule-grid{grid-template-columns:1fr}.sx-keyword{grid-template-columns:18px minmax(0,1fr) 38px 50px}.sx-root-count{gap:3px}.sx-category-summary>b{max-width:160px}.sx-cluster-meta{gap:4px}.sx-cluster-meta .sx-intent{font-size:9px}.sx-selected-ratio,.sx-category-total{font-size:9px}}

/* v0.4.21 onboarding UX refinements */
.sx-competitor-label{display:flex;align-items:center;justify-content:space-between;margin:2px 0 8px;font-size:12px}.sx-competitor-label span{color:var(--sx-muted);font-size:11px}.sx-aside-kicker{font-size:10px;letter-spacing:.12em;font-weight:800;color:#7a8191;margin:3px 0 14px}.sx-aside-foot{border-top:1px solid var(--sx-line);margin:18px 0 0;padding-top:14px;color:var(--sx-muted);font-size:10.5px;line-height:1.55}
.sx-image-switch{background:linear-gradient(90deg,#f5f9ff 0%,#fbf7ff 100%);border:1px solid #e1e8ff;border-radius:10px;padding:12px 13px!important;margin:0 0 12px!important}.sx-ai-color-icon{width:30px;height:30px;flex-basis:30px;border-radius:8px;background:#eef4ff}.sx-ai-color-icon .sx-ai-image-icon{width:21px;height:21px;display:block}.sx-expert>.sx-switch .sx-switch-icon{margin-top:1px}.sx-schedule-title .sx-schedule-icon{background:#f3f6fb;border-radius:6px;width:22px;height:22px}.sx-schedule-title .sx-schedule-icon svg{width:15px;height:15px}

/* v0.4.22 compact onboarding fields and nested keyword tree */
.sx-boxed-field,.sx-competitor-box{border:1px solid var(--sx-line);border-radius:9px;background:#fff;padding:11px 12px!important}.sx-boxed-field{margin-top:9px}.sx-boxed-field .sx-help{font-size:10px!important;margin:3px 0 8px!important}.sx-audience-chips{gap:5px!important}.sx-audience-chip{font-size:10.5px!important;padding:4px 7px!important;border-radius:6px!important}.sx-audience-chip .button{font-size:11px!important;min-height:18px!important;padding:0 2px!important}.sx-boxed-count{margin-top:7px!important}.sx-competitor-box{margin-top:8px}.sx-competitor-limit{margin:7px 0 0!important;font-size:10px!important}.sx-competitor-box .sx-competitor{background:#fbfcff}
.sx-clusters{border:1px solid var(--sx-line);border-radius:9px;overflow:hidden;background:#fff}.sx-keyword-root{border-bottom:1px solid var(--sx-line)!important}.sx-cluster{border:0!important;border-bottom:1px solid var(--sx-line)!important;border-radius:0!important;margin:0!important}.sx-cluster:last-child{border-bottom:0!important}.sx-cluster>summary{list-style:none;cursor:pointer;background:#fbfcff}.sx-cluster>summary::-webkit-details-marker{display:none}.sx-tree-caret{display:inline-block;font-size:17px;color:#7b8292;transform:rotate(0deg);transition:.15s;margin-right:-2px}.sx-cluster[open] .sx-tree-caret{transform:rotate(90deg)}.sx-keyword-list{margin-left:25px;border-left:1px solid #edf0f5}.sx-keyword{padding-top:7px!important;padding-bottom:7px!important}.sx-keyword-copy b{font-size:11.5px!important}.sx-score,.sx-volume{font-size:10.5px!important}.sx-selected-ratio{min-width:27px;text-align:right}
.sx-centered-stage .sx-panel-main{max-width:720px!important}.sx-centered-stage .sx-panel{max-width:820px!important}.sx-panel{margin-bottom:18px!important}.sx-progress{margin-bottom:14px!important}.sx-onboard{padding-bottom:20px!important}
