/* ════════════════════════════════════════════════════════════════════
   snaff UI v2 (v520) — design system for the redesign.
   Loaded AFTER tailwind.css; every rule is scoped to .sx-* classes or to
   the new header/home markup, so existing pages keep their look.
   Mobile first: base = phone, ≥640px = tablet, ≥1024px = desktop.
   ════════════════════════════════════════════════════════════════════ */
:root{
  --sx-blue:#2563EB; --sx-blue-d:#1D4ED8; --sx-blue-s:#EFF6FF; --sx-blue-b:#DBEAFE;
  --sx-violet:#7C3AED; --sx-ink:#0F172A; --sx-ink2:#334155; --sx-muted:#64748B;
  --sx-line:#E2E8F0; --sx-soft:#F8FAFC; --sx-soft2:#F1F5F9;
  --sx-good:#16A34A; --sx-good-s:#F0FDF4; --sx-bad:#EA580C; --sx-bad-t:#C2410C; --sx-bad-s:#FFF7ED;
  --sx-grad:linear-gradient(90deg,#2563EB,#7C3AED);
  --sx-r:16px; --sx-r-lg:24px;
  --sx-shadow:0 30px 60px -36px rgba(37,99,235,.45);
  --sx-ease:cubic-bezier(.22,1,.36,1);
}

/* ── Motion ─────────────────────────────────────────────────────────── */
@keyframes sxRing{from{stroke-dasharray:0 314.2}}
@keyframes sxBar{from{width:0}}
@keyframes sxGrow{from{height:0}}
@keyframes sxPop{from{opacity:0;transform:translateY(8px) scale(.92)}}
@keyframes sxDraw{from{stroke-dashoffset:900}}
@keyframes sxFade{from{opacity:0;transform:translateY(14px)}}
@keyframes sxLit{from{background:#F1F5F9;color:#94A3B8;border-color:#E2E8F0}}
@keyframes sxFloat1{0%,100%{transform:translate(0,0)}50%{transform:translate(40px,30px)}}
@keyframes sxFloat2{0%,100%{transform:translate(0,0)}50%{transform:translate(-50px,24px)}}
@keyframes sxBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes sxScan{0%{top:0}100%{top:100%}}
@keyframes sxBlink{0%,100%{opacity:1}50%{opacity:0}}
@keyframes sxPulse{0%,100%{transform:scale(1);opacity:.5}50%{transform:scale(1.7);opacity:0}}
@keyframes sxDash{to{stroke-dashoffset:-24}}
@keyframes sxMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes sxTyping{from{width:0}}
@keyframes sxShake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-3px)}40%,80%{transform:translateX(3px)}}
@keyframes sxSheet{from{opacity:0;transform:translateY(24px)}}
.sx-ring{animation:sxRing 1.7s var(--sx-ease) both}
.sx-bar{animation:sxBar 1.3s var(--sx-ease) both}
.sx-grow{animation:sxGrow 1.1s var(--sx-ease) both}
.sx-pop{animation:sxPop .5s var(--sx-ease) both}
.sx-draw{stroke-dasharray:900;animation:sxDraw 2s ease both}
.sx-fade{animation:sxFade .6s ease both}
.sx-lit{animation:sxLit .5s ease both}
.sx-blob1{animation:sxFloat1 14s ease-in-out infinite}
.sx-blob2{animation:sxFloat2 18s ease-in-out infinite}
.sx-bob{animation:sxBob 5s ease-in-out infinite}
.sx-cursor{animation:sxBlink 1s steps(1) infinite}
.sx-pulse{transform-origin:center;transform-box:fill-box;animation:sxPulse 2s infinite}
.sx-flow{stroke-dasharray:6 6;animation:sxDash 1s linear infinite}
.sx-typing{display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:bottom;width:var(--sx-ch,16ch);animation:sxTyping 2.2s steps(16) .4s both}
.sx-shake{animation:sxShake .6s 3.4s both}
.sx-scan{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,rgba(37,99,235,0),#2563EB,rgba(37,99,235,0));animation:sxScan 2.6s linear infinite;pointer-events:none}
.sx-lift{transition:transform .2s,box-shadow .2s}
.sx-lift:hover{transform:translateY(-4px);box-shadow:0 24px 48px -24px rgba(37,99,235,.35)}
@media (prefers-reduced-motion:reduce){
  .sx-ring,.sx-bar,.sx-grow,.sx-pop,.sx-draw,.sx-fade,.sx-lit,.sx-blob1,.sx-blob2,.sx-bob,.sx-cursor,.sx-pulse,.sx-flow,.sx-typing,.sx-shake,.sx-scan,.sx-marquee-track{animation:none!important}
  .sx-lift:hover{transform:none}
}

/* ── Basics ─────────────────────────────────────────────────────────── */
.sx-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.sx-wrap{max-width:1200px;margin:0 auto;padding:0 16px}
@media(min-width:640px){.sx-wrap{padding:0 24px}}
.sx-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sx-blue)}
.sx-h2{margin:0;font-size:clamp(1.8rem,3.8vw,3.1rem);line-height:1.06;letter-spacing:-.03em;font-weight:800;color:var(--sx-ink)}
.sx-lead{margin:0;font-size:17px;line-height:1.6;color:#475569}
.sx-grad-text{background:var(--sx-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.sx-muted{color:var(--sx-muted);font-size:14px;padding:12px 0}
.sx-section{padding:64px 0}
@media(min-width:1024px){.sx-section{padding:104px 0}}
.sx-section-soft{background:var(--sx-soft);border-top:1px solid var(--sx-line);border-bottom:1px solid var(--sx-line);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.sx-section-head{display:flex;flex-direction:column;gap:14px;max-width:760px;margin-bottom:36px}
.sx-section-head.center{margin-left:auto;margin-right:auto;text-align:center;align-items:center}

/* ── Buttons, chips, badges ─────────────────────────────────────────── */
.sx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;border:0;font:800 15px/1 Manrope,system-ui,sans-serif;cursor:pointer;text-decoration:none!important;transition:transform .15s,box-shadow .15s,background .15s;white-space:nowrap}
.sx-btn:active{transform:scale(.97)}
.sx-btn-primary{background:var(--sx-grad);color:#fff!important;box-shadow:0 12px 24px -12px rgba(37,99,235,.7)}
.sx-btn-primary:hover{transform:translateY(-1px);box-shadow:0 16px 30px -12px rgba(37,99,235,.75)}
.sx-btn-dark{background:var(--sx-ink);color:#fff!important}
.sx-btn-dark:hover{background:#1E293B}
.sx-btn-ghost{background:#fff;color:var(--sx-ink)!important;border:1px solid #CBD5E1}
.sx-btn-ghost:hover{border-color:#94A3B8}
.sx-btn-accent{background:var(--sx-acc,#2563EB);color:#fff!important}
.sx-btn-sm{min-height:34px;padding:0 12px;font-size:12.5px;border-radius:9px}
.sx-chips{display:flex;gap:6px;flex-wrap:wrap}
.sx-chip{min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--sx-line);background:#fff;color:var(--sx-ink2);font:700 13px Manrope,sans-serif;cursor:pointer}
.sx-chip.on{background:var(--sx-ink);border-color:var(--sx-ink);color:#fff}
.sx-badge{display:inline-flex;align-items:center;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:4px 8px;border-radius:6px;white-space:nowrap}
.sx-k-casestudy{background:#FCE7F3;color:#9D174D}
.sx-k-report{background:var(--sx-blue-s);color:var(--sx-blue-d)}
.sx-k-compare{background:#FEF3C7;color:#92400E}
.sx-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#CBD5E1;margin-right:6px;vertical-align:1px}
.sx-dot.on{background:var(--sx-good)}

/* ── Header (all pages) ─────────────────────────────────────────────── */
.sx-header{background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--sx-line)}
.sx-header-row{display:flex;align-items:center;gap:20px;height:64px;max-width:1200px;margin:0 auto;padding:0 16px}
@media(min-width:640px){.sx-header-row{padding:0 24px}}
.sx-logo{display:flex;align-items:center;gap:9px;color:var(--sx-ink)!important;font-weight:800;font-size:21px;letter-spacing:-.02em;text-decoration:none!important;flex-shrink:0}
.sx-logo svg{flex-shrink:0}
.sx-stage{margin-left:2px;background:var(--sx-blue-s);color:var(--sx-blue);padding:2px 7px;border-radius:5px;font-size:10px;font-weight:800;text-transform:uppercase}
.sx-nav{display:none;align-items:center;gap:4px}
@media(min-width:900px){.sx-nav{display:flex}}
.sx-nav a{position:relative;display:inline-flex;align-items:center;height:40px;padding:0 12px;border-radius:10px;color:#475569!important;font-weight:700;font-size:14.5px;text-decoration:none!important;cursor:pointer;border:0!important;transition:background .15s,color .15s}
.sx-nav a:hover{background:var(--sx-soft2);color:var(--sx-ink)!important}
.sx-nav a.is-active,.sx-nav a.text-primary{color:var(--sx-ink)!important;background:var(--sx-blue-s)}
.sx-nav a.is-active::after,.sx-nav a.text-primary::after{content:"";position:absolute;left:12px;right:12px;bottom:-12px;height:2px;border-radius:2px;background:var(--sx-blue)}
.sx-nav .sx-nav-admin{color:var(--sx-violet)!important}
.sx-header-tools{margin-left:auto;display:flex;align-items:center;gap:8px}
.sx-header-tools .sx-btn{min-height:40px;padding:0 16px;font-size:14px}
.sx-hide-sm{display:none!important}
@media(min-width:900px){.sx-hide-sm{display:inline-flex!important}}
.sx-burger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--sx-line);background:#fff;cursor:pointer}
@media(min-width:900px){.sx-burger{display:none}}
.sx-mobile-menu{position:fixed;left:0;right:0;top:64px;z-index:50;background:#fff;border-bottom:1px solid var(--sx-line);box-shadow:0 24px 48px -24px rgba(15,23,42,.35);padding:12px 16px 20px;max-height:calc(100vh - 64px);overflow-y:auto}
.sx-mobile-menu a.sx-m-link{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;border-radius:12px;color:var(--sx-ink)!important;font-weight:700;font-size:16px;text-decoration:none!important}
.sx-mobile-menu a.sx-m-link:hover{background:var(--sx-soft2)}
.sx-mobile-menu .sx-m-group{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#94A3B8;padding:12px 12px 4px}
.sx-mobile-menu .sx-m-cta{display:flex;margin-top:12px;width:100%}

/* ── Home: hero ─────────────────────────────────────────────────────── */
.sx-home-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#EFF6FF 0%,#FFFFFF 100%);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.sx-home-hero .sx-blob{position:absolute;border-radius:50%;pointer-events:none}
.sx-home-hero .sx-blob.a{left:-160px;top:-120px;width:460px;height:460px;background:radial-gradient(circle,rgba(96,165,250,.45),rgba(96,165,250,0) 70%)}
.sx-home-hero .sx-blob.b{right:-180px;top:60px;width:520px;height:520px;background:radial-gradient(circle,rgba(167,139,250,.30),rgba(167,139,250,0) 70%)}
.sx-hero-grid{position:relative;display:grid;grid-template-columns:1fr;gap:40px;align-items:center;max-width:1200px;margin:0 auto;padding:40px 16px 48px}
@media(min-width:640px){.sx-hero-grid{padding:56px 24px 64px}}
@media(min-width:1024px){.sx-hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;padding:72px 24px 88px}}
.sx-hero-copy{display:flex;flex-direction:column;gap:20px;min-width:0}
.sx-eyebrow{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--sx-blue-b);color:var(--sx-blue-d);font-size:12.5px;font-weight:800;padding:7px 12px;border-radius:999px;max-width:100%}
.sx-live{position:relative;width:8px;height:8px;flex-shrink:0}
.sx-live i{position:absolute;inset:0;border-radius:50%;background:#22C55E}
.sx-hero-h1{margin:0!important;font-size:clamp(2.35rem,6.4vw,4.4rem)!important;line-height:1.02!important;letter-spacing:-.04em!important;font-weight:800!important;color:var(--sx-ink)!important;text-align:left!important}
.sx-hero-sub{margin:0!important;font-size:clamp(16px,2vw,19px)!important;line-height:1.55!important;color:#475569!important;max-width:580px;text-align:left!important}
.sx-hero-def{margin:0!important;font-size:14px!important;line-height:1.6!important;color:var(--sx-muted)!important;max-width:580px;text-align:left!important}
.sx-audit-card{background:#fff;border:1px solid #CBD5E1;border-radius:18px;padding:8px;box-shadow:0 24px 48px -24px rgba(37,99,235,.45)}
.sx-audit-card #urlInput{border:0!important;font:600 17px/1.5 Manrope,system-ui,sans-serif!important;padding:14px 12px!important;min-height:52px!important;color:var(--sx-ink)}
.sx-audit-row{display:flex;flex-direction:column;gap:8px}
.sx-audit-row #checkBtn{width:100%;min-height:54px;justify-content:center;border-radius:12px!important;background:var(--sx-grad)!important;font-size:16px!important;box-shadow:0 12px 24px -12px rgba(37,99,235,.7)}
@media(min-width:640px){.sx-audit-row{flex-direction:row;align-items:stretch}.sx-audit-row .sx-audit-input{flex:1;min-width:0}.sx-audit-row #checkBtn{width:auto;padding:0 24px!important}}
.sx-audit-modes{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 8px 4px;border-top:1px dashed var(--sx-line);margin-top:6px}
.sx-audit-modes .mode-pill{min-height:34px}
.sx-ticks{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14px;color:#475569;font-weight:600}
.sx-ticks span{display:inline-flex;align-items:center;gap:6px}
.sx-ticks svg{flex-shrink:0}
.sx-example-link{font-size:15px;font-weight:700;color:var(--sx-blue)!important}

/* Hero visual: AI answer + audit card */
.sx-hero-visual{position:relative;min-height:540px;max-width:520px;width:100%;margin:0 auto}
#homeLanding .sx-home-hero{margin-top:-112px;padding-top:64px}
.sx-ai-card,.sx-audit-mini{position:absolute;background:#fff;border:1px solid var(--sx-line);border-radius:20px;display:flex;flex-direction:column;gap:12px}
.sx-ai-card{left:0;top:0;width:86%;padding:16px;box-shadow:0 30px 60px -36px rgba(15,23,42,.35)}
.sx-audit-mini{right:0;bottom:0;width:82%;padding:18px;overflow:hidden;box-shadow:var(--sx-shadow)}
.sx-ai-label{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;color:var(--sx-muted);letter-spacing:.05em}
.sx-ai-label i{width:22px;height:22px;border-radius:6px;background:var(--sx-ink);color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-style:normal}
.sx-ai-q{align-self:flex-end;background:var(--sx-blue-s);color:#1E3A8A;border-radius:14px 14px 4px 14px;padding:9px 13px;font-size:14px;font-weight:600}
.sx-ai-a{font-size:14px;line-height:1.55;color:var(--sx-ink2)}
.sx-src{font-size:12px;font-weight:700;border-radius:99px;padding:3px 10px;display:inline-block}
.sx-src.ok{color:#15803D;background:var(--sx-good-s);border:1px solid #BBF7D0}
.sx-src.miss{color:var(--sx-bad-t);background:var(--sx-bad-s);border:1px dashed #FB923C;font-weight:800}
.sx-fixrow{display:flex;align-items:center;gap:10px;background:var(--sx-soft);border-radius:10px;padding:8px 12px;font-size:13px;font-weight:700}
.sx-fixrow i{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.sx-fixrow span{flex:1;min-width:0}
.sx-fixrow b{color:var(--sx-blue-d)}
@media(max-width:639px){.sx-hero-visual{min-height:0;display:flex;flex-direction:column;gap:12px}.sx-ai-card,.sx-audit-mini{position:relative;width:100%;left:auto;right:auto;top:auto;bottom:auto}.sx-ai-card{animation:none}}
/* On the results page the hero becomes a compact search bar. */
body:has(#analyzeState[style*="block"]) .sx-hero-visual,
body:has(#analyzeState[style*="block"]) .sx-hero-def,
body:has(#analyzeState[style*="block"]) .sx-home-hero .sx-blob,
body:has(#analyzeState[style*="block"]) .sx-ticks,
body:has(#analyzeState[style*="block"]) .sx-example-link,
body:has(#analyzeState[style*="block"]) .sx-marquee{display:none!important}
body:has(#analyzeState[style*="block"]) .sx-hero-grid{grid-template-columns:1fr;padding-top:28px;padding-bottom:20px;max-width:880px}
body:has(#analyzeState[style*="block"]) .sx-hero-h1{font-size:clamp(1.6rem,3.4vw,2.2rem)!important}
body:has(#analyzeState[style*="block"]) .sx-hero-sub{display:none!important}

/* Marquee */
.sx-marquee{position:relative;border-top:1px solid var(--sx-line);border-bottom:1px solid var(--sx-line);background:#fff;overflow:hidden;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.sx-marquee-track{display:flex;gap:48px;width:max-content;padding:16px 0;font-size:15px;font-weight:800;color:#94A3B8;white-space:nowrap;animation:sxMarquee 32s linear infinite}
.sx-marquee-track b{color:var(--sx-ink)}

/* ── Home: content sections ─────────────────────────────────────────── */
.sx-flow-box{background:var(--sx-soft);border:1px solid var(--sx-line);border-radius:24px;padding:16px;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(min-width:640px){.sx-flow-box{padding:28px}}
.sx-flow-box svg{display:block;min-width:720px;width:100%}
.sx-cards{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:640px){.sx-cards.c2{grid-template-columns:repeat(2,minmax(0,1fr))}.sx-cards.c3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.sx-cards{gap:24px}.sx-cards.c3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sx-card{background:#fff;border:1px solid var(--sx-line);border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:12px;min-width:0}
.sx-card h3{margin:0;font-size:21px;font-weight:800;color:var(--sx-ink);letter-spacing:-.01em}
.sx-card p{margin:0;font-size:15.5px;line-height:1.6;color:#475569}
.sx-stat{font-size:46px;font-weight:800;letter-spacing:-.03em;line-height:1}
.sx-meter{height:8px;background:#EEF2F6;border-radius:99px;overflow:hidden}
.sx-meter>div{height:8px;border-radius:99px}
.sx-step-vis{height:150px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:16px;padding:16px;overflow:hidden}
.sx-step-n{width:36px;height:36px;border-radius:10px;color:#fff;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.sx-step-head{display:flex;align-items:center;gap:12px}
.sx-icon-tile{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sx-dark{background:radial-gradient(1200px 520px at 70% 0%,#1E3A8A 0%,#0F172A 60%);color:#fff;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.sx-dark .sx-h2{color:#fff}
.sx-dark .sx-lead{color:#CBD5E1}
.sx-dark .sx-kicker{color:#93C5FD}
.sx-chain{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:16px;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(min-width:640px){.sx-chain{padding:24px}}
.sx-chain svg{display:block;min-width:720px;width:100%}
.sx-inline-form{display:flex;flex-direction:column;gap:8px;background:#fff;padding:8px;border-radius:16px;max-width:640px;width:100%}
.sx-inline-form input{flex:1;min-width:0;border:0;outline:none;font:600 17px Manrope,sans-serif;color:var(--sx-ink);background:transparent;padding:14px 12px;min-height:52px}
@media(min-width:640px){.sx-inline-form{flex-direction:row}}
.sx-trend-box{position:relative;height:180px;background:#fff;border:1px solid #EEF2F6;border-radius:16px;padding:12px}
.sx-engines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sx-engine{border-radius:10px;padding:10px;font-size:13px;font-weight:800;border:1px solid}
.sx-engine.ok{border-color:#BBF7D0;background:var(--sx-good-s);color:#15803D}
.sx-engine.miss{border-color:#FED7AA;background:var(--sx-bad-s);color:var(--sx-bad-t)}
.sx-price{position:relative}
.sx-price.pro{background:linear-gradient(#fff,#fff) padding-box,var(--sx-grad) border-box;border:2px solid transparent;box-shadow:var(--sx-shadow)}
.sx-price .sx-ribbon{position:absolute;top:-13px;left:24px;background:var(--sx-grad);color:#fff;font-size:11.5px;font-weight:800;padding:5px 12px;border-radius:999px;letter-spacing:.04em}
.sx-price .sx-amount{font-size:44px;font-weight:800;letter-spacing:-.03em;color:var(--sx-ink)}
.sx-price ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px;color:var(--sx-ink2);flex:1}
.sx-price li{display:flex;gap:10px}
.sx-price li::before{content:"✓";font-weight:800;color:var(--sx-good)}
.sx-cta-band{position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(120deg,#2563EB,#7C3AED);color:#fff;padding:48px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
@media(min-width:640px){.sx-cta-band{padding:72px 32px}}
.sx-cta-band h2{margin:0;font-size:clamp(1.9rem,4.2vw,3.3rem);line-height:1.06;letter-spacing:-.03em;font-weight:800;color:#fff}

/* ── Tool heroes (Monitor tools, case study) ────────────────────────── */
.sx-tool-hero{position:relative;overflow:hidden;border-radius:22px;padding:22px;color:#fff;display:flex;flex-direction:column;gap:18px;background:var(--sx-acc-grad,linear-gradient(135deg,#0F172A,#1E3A8A))}
@media(min-width:640px){.sx-tool-hero{padding:28px}}
@media(min-width:1024px){.sx-tool-hero{flex-direction:row;align-items:center;gap:28px}}
.sx-tool-hero::after{content:"";position:absolute;right:-90px;top:-130px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.2),rgba(255,255,255,0) 70%);pointer-events:none}
.sx-tool-hero-copy{position:relative;flex:1 1 360px;display:flex;flex-direction:column;gap:8px;min-width:0}
.sx-tool-hero .sx-kicker{color:var(--sx-acc-light,#BFDBFE)}
.sx-tool-h1{margin:0!important;font-size:clamp(1.4rem,2.6vw,1.75rem)!important;line-height:1.18!important;letter-spacing:-.02em!important;font-weight:800!important;color:#fff!important}
.sx-tool-sub{margin:0!important;font-size:14.5px!important;line-height:1.55!important;color:rgba(255,255,255,.82)!important}
.sx-hero-form{position:relative;flex:1 1 420px;display:flex;flex-direction:column;gap:8px;background:#fff;padding:7px;border-radius:14px;min-width:0}
@media(min-width:640px){.sx-hero-form{flex-direction:row}}
.sx-hero-form input{flex:1;min-width:0;border:0!important;outline:none;font:600 16px Manrope,sans-serif!important;color:var(--sx-ink);background:transparent;padding:12px!important;min-height:48px;width:auto!important}
.sx-acc-casestudy{--sx-acc:#BE185D;--sx-acc-light:#FBCFE8;--sx-acc-grad:linear-gradient(135deg,#500724 0%,#9D174D 60%,#DB2777 100%)}
.sx-acc-batch{--sx-acc:#7C3AED;--sx-acc-light:#DDD6FE;--sx-acc-grad:linear-gradient(135deg,#4C1D95 0%,#6D28D9 55%,#7C3AED 100%)}
.sx-acc-citation{--sx-acc:#0891B2;--sx-acc-light:#A5F3FC;--sx-acc-grad:linear-gradient(135deg,#083344 0%,#155E75 55%,#0891B2 100%)}
.sx-acc-benchmark{--sx-acc:#B45309;--sx-acc-light:#FCD34D;--sx-acc-grad:linear-gradient(135deg,#1C1917 0%,#78350F 60%,#B45309 100%)}
.sx-acc-dedupe{--sx-acc:#16A34A;--sx-acc-light:#BBF7D0;--sx-acc-grad:linear-gradient(135deg,#052E16 0%,#166534 60%,#16A34A 100%)}
.sx-acc-seo{--sx-acc:#0369A1;--sx-acc-light:#BAE6FD;--sx-acc-grad:linear-gradient(135deg,#082F49 0%,#075985 55%,#0EA5E9 100%)}
.sx-acc-domains{--sx-acc:#2563EB;--sx-acc-light:#BFDBFE;--sx-acc-grad:linear-gradient(135deg,#0F172A 0%,#1E293B 55%,#1E3A8A 100%)}

/* ── Short-link library ─────────────────────────────────────────────── */
.sx-links{margin-top:24px;background:#fff;border:1px solid var(--sx-line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:16px}
@media(min-width:640px){.sx-links{padding:24px}}
.sx-links-head{display:flex;flex-direction:column;gap:12px}
@media(min-width:1024px){.sx-links-head{flex-direction:row;justify-content:space-between;align-items:flex-end}}
.sx-links-head h2{margin:0!important;font-size:20px!important;font-weight:800!important;color:var(--sx-ink)!important}
.sx-links-head p{margin:4px 0 0!important;font-size:14px!important;color:var(--sx-muted)!important;line-height:1.5!important}
.sx-links-new{display:flex;flex-direction:column;gap:8px;background:var(--sx-soft);border:1px solid var(--sx-line);border-radius:14px;padding:6px}
@media(min-width:640px){.sx-links-new{flex-direction:row}}
.sx-links-new input{flex:1;min-width:0;border:0!important;background:transparent;outline:none;font:600 15px Manrope,sans-serif!important;padding:10px 12px!important;min-height:44px;width:auto!important}
.sx-links-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:640px){.sx-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.sx-links-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sx-link-card{border:1px solid var(--sx-line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px;min-width:0;animation:sxPop .45s var(--sx-ease) both}
.sx-link-top{display:flex;align-items:center;gap:10px;min-width:0}
.sx-link-top b{flex:1;min-width:0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sx-ink)}
.sx-link-url{display:flex;align-items:center;gap:8px;background:var(--sx-soft);border-radius:10px;padding:5px 5px 5px 12px;min-width:0}
.sx-link-url a{flex:1;min-width:0;font:700 14px Manrope,sans-serif;color:var(--sx-ink)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none!important}
.sx-link-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:var(--sx-muted);font-weight:600}
.sx-link-revoke{border:0;background:none;color:#B91C1C;font:700 12.5px Manrope,sans-serif;cursor:pointer;padding:6px 0;min-height:32px}

/* ── Share sheet (report, compare, case study) ──────────────────────── */
.sx-sheet-wrap{position:fixed;inset:0;z-index:200;background:rgba(15,23,42,.45);display:flex;align-items:flex-end;justify-content:center;padding:0}
@media(min-width:640px){.sx-sheet-wrap{align-items:center;padding:24px}}
.sx-sheet{width:100%;max-width:520px;background:#fff;border-radius:22px 22px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;animation:sxSheet .3s var(--sx-ease) both;font-family:Manrope,system-ui,sans-serif}
@media(min-width:640px){.sx-sheet{border-radius:22px;padding:24px}}
.sx-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sx-sheet-head b{font-size:18px;color:var(--sx-ink)}
.sx-sheet-x{width:40px;height:40px;border-radius:10px;border:1px solid var(--sx-line);background:#fff;font-size:22px;line-height:1;cursor:pointer;color:var(--sx-muted)}
.sx-sheet-sub{margin:0;font-size:14px;color:var(--sx-muted);line-height:1.5}
.sx-sheet-row{display:flex;gap:8px;background:var(--sx-soft);border:1px solid var(--sx-line);border-radius:12px;padding:5px}
.sx-sheet-url{flex:1;min-width:0;border:0;background:transparent;outline:none;font:700 15px Manrope,sans-serif;color:var(--sx-ink);padding:0 8px;min-height:44px}
.sx-sheet-meta{font-size:13px;color:var(--sx-muted);font-weight:600}
.sx-sheet-actions{display:flex;flex-wrap:wrap;gap:8px}
.sx-sheet-actions .sx-btn{flex:1 1 140px}

/* ── Footer refresh ─────────────────────────────────────────────────── */
.sx-footer a{color:inherit}

/* ── v521: Report insight panel ─────────────────────────────────────── */
.sx-insights{display:flex;flex-direction:column;gap:16px;margin:8px 0 24px}
@media(min-width:1024px){.sx-insights{gap:20px}}
.sx-verdict{position:relative;overflow:hidden;border-radius:24px;padding:22px;color:#fff;background:linear-gradient(135deg,#0F172A 0%,#1E293B 55%,#1E3A8A 100%);display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.sx-verdict::after{content:"";position:absolute;right:-110px;top:-130px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.35),rgba(96,165,250,0) 70%);pointer-events:none}
@media(min-width:768px){.sx-verdict{flex-direction:row;text-align:left;padding:32px;gap:32px}}
.sx-verdict-ring{position:relative;width:150px;height:150px;flex-shrink:0}
@media(min-width:768px){.sx-verdict-ring{width:180px;height:180px}}
.sx-verdict-ring svg{width:100%;height:100%}
.sx-verdict-copy{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;align-items:center}
@media(min-width:768px){.sx-verdict-copy{align-items:flex-start}}
.sx-verdict-copy h2{margin:0;font-size:clamp(1.35rem,3vw,2rem);line-height:1.15;letter-spacing:-.025em;font-weight:800;color:#fff}
.sx-verdict-copy p{margin:0;font-size:15.5px;line-height:1.55;color:#CBD5E1}
.sx-verdict-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.sx-tag{font-size:11.5px;font-weight:800;letter-spacing:.06em;padding:5px 10px;border-radius:999px}
.sx-tag-q{color:#CBD5E1;background:rgba(255,255,255,.08);letter-spacing:0}
.sx-verdict-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.sx-btn-glass{background:rgba(255,255,255,.1);color:#fff!important;border:1px solid rgba(255,255,255,.25)}
.sx-panel{background:#fff;border:1px solid var(--sx-line);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}
@media(min-width:640px){.sx-panel{padding:24px}}
.sx-panel-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px}
.sx-panel-head h3{margin:0;font-size:18px;font-weight:800;color:var(--sx-ink);letter-spacing:-.01em}
.sx-panel-head p{margin:4px 0 0;font-size:13.5px;color:var(--sx-muted)}
.sx-panel-head>span{font-size:13.5px;color:var(--sx-muted);font-weight:700}
.sx-chain-light{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -6px}
.sx-chain-light svg{display:block;min-width:700px;width:100%}
.sx-two{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:1024px){.sx-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
.sx-eng-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sx-eng{display:flex;align-items:center;gap:10px;border-radius:14px;padding:10px;border:1px solid;min-width:0}
.sx-eng.ok{border-color:#BBF7D0;background:var(--sx-good-s)}
.sx-eng.miss{border-color:#FED7AA;background:var(--sx-bad-s)}
.sx-eng-ic{width:34px;height:34px;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:11.5px;flex-shrink:0;color:var(--sx-ink)}
.sx-eng-t{flex:1;min-width:0;display:flex;flex-direction:column}
.sx-eng-t b{font-size:14px;color:var(--sx-ink)}
.sx-eng-t small{font-size:11.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-eng.ok small{color:#15803D}.sx-eng.miss small{color:var(--sx-bad-t)}
.sx-eng-st{font-weight:800;font-size:16px}
.sx-eng.ok .sx-eng-st{color:#16A34A}.sx-eng.miss .sx-eng-st{color:#EA580C}
.sx-pot{position:relative;padding-top:24px}
.sx-pot-avg{position:absolute;top:0;bottom:-6px;border-left:2px dashed #94A3B8}
.sx-pot-avg span{position:absolute;top:0;left:0;transform:translateX(-50%);font-size:11.5px;font-weight:700;color:#475569;background:#fff;padding:0 4px;white-space:nowrap}
.sx-pot-track{height:34px;background:var(--sx-soft2);border-radius:10px;display:flex;overflow:hidden}
.sx-pot-seg{display:flex;align-items:center;justify-content:center;color:#fff;font-size:12.5px;font-weight:800;border-left:2px solid #fff;overflow:hidden;white-space:nowrap}
.sx-pot-seg:first-child{border-left:0}
.sx-pot-legend{display:flex;flex-direction:column;gap:8px;font-size:14px}
.sx-pot-legend div{display:flex;align-items:center;gap:10px;min-width:0}
.sx-pot-legend i{width:12px;height:12px;border-radius:3px;flex-shrink:0}
.sx-pot-legend span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sx-ink2)}
.sx-pot-legend b{color:var(--sx-ink)}
.sx-map{display:grid;grid-template-columns:1fr;gap:14px 36px}.sx-map[hidden]{display:none}/* v560: the GEO/SEO switch hides the other map via [hidden] — display:grid overrode it */
@media(min-width:768px){.sx-map{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sx-map-h{display:flex;justify-content:space-between;gap:8px;font-size:13.5px;margin-bottom:6px}
.sx-map-h span{font-weight:700;color:var(--sx-ink)}
.sx-map-h b{color:var(--sx-muted)}
.sx-map-cells{display:flex;flex-wrap:wrap;gap:4px}
.sx-cell{display:inline-block;width:18px;height:18px;border-radius:5px;animation:sxPop .35s var(--sx-ease) both}
.sx-cell.pass{background:#22C55E}.sx-cell.fail{background:#F97316}
.sx-legend{display:flex;gap:14px;font-size:12.5px;font-weight:700;color:#475569}
.sx-legend span{display:inline-flex;align-items:center;gap:6px}
.sx-legend .sx-cell{width:12px;height:12px;border-radius:3px;animation:none}
#analyzeState .soft-card{border-radius:20px}
@media (prefers-reduced-motion:reduce){.sx-cell{animation:none}}
@media(max-width:519px){.sx-eng-grid{grid-template-columns:1fr}}
.sx-chain-list{display:none;list-style:none;margin:0;padding:0;position:relative}
.sx-chain-list li{position:relative;display:flex;align-items:center;gap:14px;padding:10px 0}
.sx-chain-list li:not(:last-child)::after{content:"";position:absolute;left:27px;top:62px;bottom:-10px;width:3px;background:#22C55E;border-radius:2px}
.sx-chain-list li.bad::after,.sx-chain-list li.bad~li::after{background:repeating-linear-gradient(#FB923C 0 6px,transparent 6px 12px)}
.sx-cl-ring{width:56px;height:56px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--c) calc(var(--p)*1%),#F1F5F9 0)}
.sx-cl-ring b{width:44px;height:44px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:var(--sx-ink)}
.sx-chain-list li.bad .sx-cl-ring b{color:#C2410C;background:#FFF7ED}
.sx-cl-t{flex:1;min-width:0;display:flex;flex-direction:column}
.sx-cl-t b{font-size:15px;color:var(--sx-ink)}
.sx-chain-list li.bad .sx-cl-t b{color:#C2410C}
.sx-cl-t small{font-size:13px;color:var(--sx-muted)}
.sx-cl-break{font-size:11px;font-weight:800;color:#fff;background:#F97316;padding:4px 9px;border-radius:999px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
@media(max-width:639px){.sx-chain-light{display:none}.sx-chain-list{display:block}}

/* ── v521: Features hero ────────────────────────────────────────────── */
.sx-feat-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#EFF6FF 0%,#FFFFFF 100%);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);margin-top:-8px}
.sx-feat-hero .sx-blob{position:absolute;border-radius:50%;pointer-events:none}
.sx-feat-hero .sx-blob.a{left:-160px;top:-120px;width:460px;height:460px;background:radial-gradient(circle,rgba(96,165,250,.45),rgba(96,165,250,0) 70%)}
.sx-feat-hero .sx-blob.b{right:-180px;top:60px;width:520px;height:520px;background:radial-gradient(circle,rgba(167,139,250,.30),rgba(167,139,250,0) 70%)}
.sx-feat-grid{position:relative;display:grid;grid-template-columns:1fr;gap:36px;align-items:center;max-width:1200px;margin:0 auto;padding:40px 16px 48px}
@media(min-width:640px){.sx-feat-grid{padding:56px 24px 64px}}
@media(min-width:1024px){.sx-feat-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;padding:72px 24px 80px}}
.sx-feat-visual{position:relative;overflow:hidden;background:#fff;border:1px solid var(--sx-line);border-radius:24px;padding:22px;box-shadow:0 40px 80px -40px rgba(37,99,235,.45);display:flex;flex-direction:column;gap:18px;width:100%;max-width:480px;margin:0 auto}
.feature-page .sx-hero-h1{color:var(--sx-ink)!important}
.feature-page .ft-nav{margin-top:20px}

/* ── v521: Monitor tools, Settings & Admin — gradient heroes + tab bar ── */
.mon-hero{border:0!important;border-radius:22px!important;padding:24px 22px!important;margin-bottom:20px!important;color:#fff;
  background:linear-gradient(135deg,color-mix(in srgb,var(--mh) 22%,#0F172A) 0%,color-mix(in srgb,var(--mh) 62%,#0F172A) 58%,var(--mh) 100%)!important;
  box-shadow:0 30px 60px -40px color-mix(in srgb,var(--mh) 70%,transparent)!important;isolation:isolate}
@media(min-width:640px){.mon-hero{padding:30px 32px!important}}
.mon-hero::before{content:"";position:absolute;right:-100px;top:-140px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 70%);pointer-events:none;z-index:-1;animation:sxFloat2 18s ease-in-out infinite}
.mon-hero::after{content:"";position:absolute;left:-80px;bottom:-160px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--mh) 60%,transparent),transparent 70%);pointer-events:none;z-index:-1;animation:sxFloat1 14s ease-in-out infinite}
.mon-hero-badge{width:54px!important;height:54px!important;border-radius:16px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(6px)}
.mon-hero-text h1{color:#fff!important;font-size:clamp(1.35rem,2.6vw,1.85rem)!important;line-height:1.15!important}
.mon-hero-text p{color:rgba(255,255,255,.82)!important;font-size:14.5px!important;line-height:1.55!important}
.mon-hero-deco{color:rgba(255,255,255,.08)!important;font-size:150px!important;animation:sxBob 6s ease-in-out infinite}
.mon-tabs{background:#fff!important;border:1px solid var(--sx-line)!important;border-radius:14px!important;padding:5px!important}
.mon-tab{min-height:42px;border-radius:10px!important;color:#334155!important}
.mon-tab .material-symbols-outlined{color:var(--mt-accent)}
.mon-tab:hover{background:var(--sx-soft2)}
.mon-tab.active{background:color-mix(in srgb,var(--mt-accent) 82%,#0F172A)!important;color:#fff!important;box-shadow:0 10px 22px -12px color-mix(in srgb,var(--mt-accent) 80%,transparent)!important}
.mon-tab.active .material-symbols-outlined{color:#fff!important}
.mon-tab.active .mon-tab-label{background:none!important;-webkit-text-fill-color:#fff!important;color:#fff!important}
@media (prefers-reduced-motion:reduce){.mon-hero::before,.mon-hero::after,.mon-hero-deco{animation:none!important}}
/* flex-basis only applies side by side (desktop); stacked it would become a height */
.sx-tool-hero-copy,.sx-hero-form{flex:0 0 auto}
.sx-hero-form input{flex:0 0 auto}
@media(min-width:640px){.sx-hero-form input{flex:1 1 auto}}
@media(min-width:1024px){.sx-tool-hero-copy{flex:1 1 360px}.sx-hero-form{flex:1 1 420px}}

/* ── v521: Footer ───────────────────────────────────────────────────── */
.sx-footer{background:#0F172A;color:#CBD5E1;border-top:0;width:100%;margin:0;border-radius:0;box-shadow:0 100vh 0 100vh #0F172A}
/* v561: footer runs edge to edge and closes the page — the box-shadow fills any
   remaining viewport below it on short pages (no scroll height added, no layout change) */
.sx-footer-grid{max-width:1200px;margin:0 auto;padding:48px 16px 40px;display:grid;grid-template-columns:1fr;gap:28px;font-size:14px}
@media(min-width:640px){.sx-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:56px 24px 44px}}
@media(min-width:1024px){.sx-footer-grid{grid-template-columns:1.4fr repeat(4,minmax(0,1fr))}}
.sx-footer-brand{display:flex;flex-direction:column;gap:10px}
.sx-footer-brand p{margin:0;color:#94A3B8;line-height:1.55}
.sx-footer-meta{font-size:12.5px!important;color:#64748B!important}
.sx-footer nav{display:flex;flex-direction:column;gap:8px;min-width:0}
.sx-footer nav b{color:#fff;font-weight:800;font-size:13px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px}
.sx-footer nav a{color:#CBD5E1!important;text-decoration:none!important;font-weight:600;padding:3px 0;overflow-wrap:anywhere}
.sx-footer nav a:hover{color:#fff!important}

/* ── v521: Settings — section navigation on top (no side menu) ───────── */
.set-layout{grid-template-columns:1fr!important;gap:16px!important}
.set-nav{position:sticky!important;top:72px!important;z-index:15;display:flex!important;gap:6px;overflow-x:auto;padding:5px!important;border-radius:14px!important;background:rgba(255,255,255,.95)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);scrollbar-width:none}
.set-nav::-webkit-scrollbar{display:none}
.set-nav b{display:none!important}
.set-nav a{flex-shrink:0;white-space:nowrap;min-height:40px;padding:0 14px!important;border-radius:999px!important;border:1px solid var(--sx-line)}
nav.set-nav a.on,nav.set-nav a.on:hover{background:var(--sx-ink)!important;color:#fff!important;border-color:var(--sx-ink)}
nav.set-nav a.on .material-symbols-outlined{color:#fff!important}

/* ════════════════════════════════════════════════════════════════════
   v522 — page system: every remaining page on the new design.
   Rules are prefixed with "body" so they win over the older inline
   <style> blocks that each page still prints further down the DOM.
   ════════════════════════════════════════════════════════════════════ */
:root{
  --sx-hero-bg:radial-gradient(640px 340px at 92% -12%,rgba(124,58,237,.55),transparent 62%),radial-gradient(560px 320px at -4% 112%,rgba(37,99,235,.55),transparent 62%),linear-gradient(135deg,#0B1224 0%,#111C3D 52%,#1E1B4B 100%);
  --sx-hero-shadow:0 40px 80px -44px rgba(30,27,75,.75);
}
@keyframes sxGlowA{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-40px,30px) scale(1.12)}}
@keyframes sxGlowB{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(50px,-24px) scale(1.08)}}

/* Shared dark hero surface */
body .sp-hero,body .st2-hero,body .dd-hero,body .status-page .st-hero,body .sx-rep-hero,body .sx-auth-side{
  position:relative;overflow:hidden;isolation:isolate;border:0!important;background:var(--sx-hero-bg)!important;color:#fff;box-shadow:var(--sx-hero-shadow)!important}
body .sp-hero::before,body .st2-hero::before,body .dd-hero::before,body .status-page .st-hero::before,body .sx-rep-hero::before{
  content:"";position:absolute;right:-140px;top:-160px;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,rgba(167,139,250,.38),transparent 66%);z-index:-1;pointer-events:none;animation:sxGlowA 16s ease-in-out infinite}
body .sp-hero::after,body .st2-hero::after,body .dd-hero::after,body .status-page .st-hero::after,body .sx-rep-hero::after{
  content:"";position:absolute;left:-120px;bottom:-200px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.34),transparent 66%);z-index:-1;pointer-events:none;animation:sxGlowB 19s ease-in-out infinite;top:auto;right:auto}
body .sp-hero{border-radius:28px!important}
body .sp-kick{color:#A5B4FC}
body .sp-final{background:linear-gradient(120deg,#2563EB,#7C3AED)!important;border-radius:28px}
body .sp-final p{color:#E0E7FF}
body .sp-plan{border-radius:22px;transition:transform .2s var(--sx-ease),box-shadow .2s}
body .sp-plan:hover{transform:translateY(-4px);box-shadow:0 30px 60px -40px rgba(15,23,42,.4)}
body .sp-plan.rec{border-color:#6366F1;background:linear-gradient(180deg,#F5F3FF 0%,#fff 38%)}
body .sp-plan.rec:hover{transform:translateY(-8px)}
body .sp-badge{background:var(--sx-grad)}
body .sp-plan.rec .sp-cta{background:var(--sx-grad);border:0}
body .sp-step .n{background:var(--sx-grad);color:#fff}
body .sp-step,body .lg-sec,body .lg-toc,body .sp-cmp-wrap,body .sp-faq details{border-radius:20px;box-shadow:0 18px 40px -36px rgba(15,23,42,.35)}
body .lg-sec h2 .n{background:var(--sx-grad);color:#fff}
@media(prefers-reduced-motion:reduce){body .sp-hero::before,body .sp-hero::after,body .st2-hero::before,body .st2-hero::after,body .dd-hero::before,body .dd-hero::after,body .status-page .st-hero::before,body .status-page .st-hero::after,body .sx-rep-hero::before,body .sx-rep-hero::after,body .sx-auth-glow{animation:none!important}}

/* ── Statistics ─────────────────────────────────────────────────────── */
body .st2{max-width:1040px}
body .st2-hero{border-radius:28px!important;padding:56px 24px 48px!important}
body .st2-hero .k{color:#93C5FD}
body .st2-hero .big{background:linear-gradient(110deg,#93C5FD,#C4B5FD 55%,#86EFAC);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-size:clamp(3.4rem,10vw,6.4rem)}
body .st2-hero .cap{color:#fff}
body .st2-hero .cap2{color:rgba(255,255,255,.62)}
body .st2-hero .cap2 span,body .st2-hero .cap2 b{color:#93C5FD!important}
body .st2-hero .sub{color:#CBD5E1}
body .st2-hero .spark{color:rgba(255,255,255,.06)}
body .st2-hero a[href$="/whitepaper"]{background:#fff!important;color:var(--sx-ink)!important;min-height:44px;border-radius:12px!important;box-shadow:0 14px 30px -14px rgba(0,0,0,.6)}
body .st2-stat{position:relative;overflow:hidden;border-radius:20px;padding:22px 16px;box-shadow:0 18px 40px -36px rgba(15,23,42,.4)}
body .st2-stat::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--sx-grad)}
body .st2-stat .n{font-size:2rem;letter-spacing:-.03em}
body .st2-card{border-radius:22px;padding:24px;box-shadow:0 18px 40px -36px rgba(15,23,42,.4)}
body .st2-card h2{font-size:1.08rem}
body .st2-cta{border-radius:28px}
body .sra{border-radius:22px}

/* ── Status ─────────────────────────────────────────────────────────── */
body .status-page{max-width:980px}
body .status-page .st-hero{border-radius:28px!important;padding:52px 24px 44px!important;margin-top:8px}
body .status-page .st-kicker{color:#93C5FD}
body .status-page .st-title{color:#fff!important}
body .status-page .st-sub{color:#CBD5E1}
body .status-page .st-sub b{color:#fff!important}
body .status-page .st-refresh{color:#CBD5E1!important}
body .status-page .st-refresh:hover{color:#fff!important}
body .status-page .st-hero-deco{color:rgba(255,255,255,.05)}
body .status-page .st-card{border-radius:22px}
body .status-page .st-metric::before{background:var(--sx-grad)}

/* ── Domain dashboard ───────────────────────────────────────────────── */
body .dash-page{background:transparent}
body .dd-hero{display:flex;flex-direction:column-reverse;align-items:center;gap:20px;text-align:center;border-radius:28px!important;padding:32px 22px!important}
@media(min-width:820px){body .dd-hero{flex-direction:row;align-items:center;justify-content:space-between;text-align:left;padding:40px 44px!important}}
body .dd-hero-copy{position:relative;min-width:0;flex:1}
body .dd-hero .k{color:#93C5FD;margin-bottom:.6rem}
body .dd-hero .dd-host{margin:0 0 .6rem;font-size:clamp(1.8rem,4.6vw,3rem);font-weight:800;letter-spacing:-.035em;line-height:1.05;color:#fff;overflow-wrap:anywhere}
body .dd-hero .cap{display:inline-flex;align-items:center;gap:.5rem;color:#fff!important;font-size:.9rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:99px;padding:.35rem .85rem;margin:0}
body .dd-hero .cap i{width:9px;height:9px;border-radius:50%;box-shadow:0 0 0 4px rgba(255,255,255,.08)}
body .dd-hero .sub{color:#CBD5E1;margin-top:.7rem}
body .dd-hero .acts{justify-content:center;margin-top:1.3rem}
@media(min-width:820px){body .dd-hero .acts{justify-content:flex-start}}
body .dd-hero .dd-btn{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22);color:#fff!important;min-height:42px;border-radius:12px;backdrop-filter:blur(6px)}
body .dd-hero .dd-btn:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.4)}
body .dd-hero .dd-btn.pri{background:#fff;color:var(--sx-ink)!important;border-color:#fff}
body .dd-ring-disc{background:#fff;border-radius:50%;padding:14px;box-shadow:0 24px 50px -20px rgba(0,0,0,.6),0 0 0 10px rgba(255,255,255,.06);animation:sxPop .6s var(--sx-ease) both}
body .dd-stat{position:relative;overflow:hidden;border-radius:20px;box-shadow:0 18px 40px -36px rgba(15,23,42,.4)}
body .dd-stat::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--sx-grad)}
body .dd-card{border-radius:22px;box-shadow:0 18px 40px -36px rgba(15,23,42,.4)}
body .dd-topic{border-radius:18px;transition:transform .2s var(--sx-ease),box-shadow .2s}
body .dd-topic:hover{transform:translateY(-3px);box-shadow:0 22px 40px -32px rgba(15,23,42,.45)}

/* ── Report page header ─────────────────────────────────────────────── */
body .sx-rep-page{padding-top:24px!important}
body .sx-rep-hero{display:flex;flex-direction:column;gap:18px;border-radius:26px;padding:26px 22px;margin-bottom:22px}
@media(min-width:820px){body .sx-rep-hero{flex-direction:row;align-items:center;justify-content:space-between;padding:32px 36px}}
.sx-rep-id{display:flex;align-items:center;gap:14px;min-width:0;position:relative}
.sx-rep-id img{width:48px;height:48px;border-radius:14px;background:#fff;padding:8px;flex-shrink:0;box-shadow:0 12px 24px -12px rgba(0,0,0,.6)}
.sx-rep-kick{font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#93C5FD}
body .sx-rep-host{margin:2px 0 0!important;font-size:clamp(1.5rem,3.6vw,2.3rem)!important;font-weight:800!important;letter-spacing:-.03em;line-height:1.1!important;color:#fff!important;overflow-wrap:anywhere}
.sx-rep-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:relative}
body .sx-rep-acts .btn-action{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;min-height:40px;border-radius:12px!important}
body .sx-rep-acts .btn-action:hover{background:rgba(255,255,255,.2)!important}
body .sx-rep-acts #repPdfBtn{background:#fff!important;color:var(--sx-ink)!important;border-color:#fff!important}
body .sx-rep-acts select{height:40px!important;border-radius:12px!important;background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important}
body .sx-rep-acts select option{color:#0F172A}
body .sx-rep-acts > .material-symbols-outlined{color:#93C5FD!important}

/* ── Sign in / Create account ──────────────────────────────────────── */
body .login-wrap.sx-auth{display:grid;grid-template-columns:1fr;gap:20px;max-width:1080px;margin:0 auto;padding:16px 0 56px;align-items:stretch}
@media(min-width:900px){body .login-wrap.sx-auth{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px;padding-top:32px}}
.sx-auth-side{border-radius:28px;padding:32px 26px;display:flex;flex-direction:column;gap:18px;order:2}
@media(min-width:900px){.sx-auth-side{order:0;padding:48px 44px}}
.sx-auth-glow{position:absolute;border-radius:50%;pointer-events:none;z-index:-1}
.sx-auth-glow.a{right:-140px;top:-160px;width:420px;height:420px;background:radial-gradient(circle,rgba(167,139,250,.4),transparent 66%);animation:sxGlowA 16s ease-in-out infinite}
.sx-auth-glow.b{left:-120px;bottom:-200px;width:420px;height:420px;background:radial-gradient(circle,rgba(96,165,250,.34),transparent 66%);animation:sxGlowB 19s ease-in-out infinite}
.sx-auth-kick{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-size:12.5px;font-weight:800;color:#C7D2FE;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:99px;padding:6px 12px}
body .sx-auth-h{margin:0!important;font-size:clamp(1.7rem,3.4vw,2.6rem)!important;line-height:1.08!important;letter-spacing:-.035em;font-weight:800!important;color:#fff!important;text-align:left!important}
body .sx-auth-p{margin:0!important;color:#CBD5E1!important;font-size:15.5px!important;line-height:1.6!important;max-width:44ch}
.sx-auth-demo{position:relative;overflow:hidden;display:flex;align-items:center;gap:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:18px;backdrop-filter:blur(8px)}
.sx-auth-demo svg{flex-shrink:0}
.sx-auth-demo-txt{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.sx-auth-demo-txt b{font-size:17px;color:#fff}
.sx-auth-demo-txt b span{color:#A5B4FC}
.sx-auth-row{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#E2E8F0;background:rgba(255,255,255,.06);border-radius:10px;padding:6px 10px}
.sx-auth-row i{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.sx-auth-row em{margin-left:auto;font-style:normal;color:#A5B4FC}
.sx-auth-ticks{list-style:none;margin:auto 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.sx-auth-ticks li{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:#CBD5E1}
.sx-auth-ticks .material-symbols-outlined{font-size:18px;color:#4ADE80}
@media(max-width:520px){.sx-auth-demo{flex-direction:column;align-items:flex-start}}
body .sx-auth .auth-card{max-width:none;border-radius:28px;padding:28px 22px;border:1px solid var(--sx-line);box-shadow:0 40px 80px -50px rgba(15,23,42,.45);background:#fff;align-self:center}
@media(min-width:640px){body .sx-auth .auth-card{padding:40px 40px}}
body .sx-auth .auth-tabs{border-radius:14px;padding:5px;background:var(--sx-soft2)}
body .sx-auth .auth-tab{border-radius:10px;min-height:42px;display:flex;align-items:center;justify-content:center}
body .page-body .sx-auth .auth-tab.active{color:var(--sx-ink)!important}
body .sx-auth .auth-head .material-symbols-outlined{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;border-radius:16px;background:var(--sx-grad);color:#fff!important;font-size:26px!important;box-shadow:0 14px 28px -14px rgba(79,70,229,.8)}
body .sx-auth .auth-head h1{font-size:1.7rem!important;font-weight:800!important;letter-spacing:-.03em;margin:.8rem 0 .25rem!important;color:var(--sx-ink)!important}
body .sx-auth .login-field label{font-size:13px;font-weight:700;color:var(--sx-ink2)}
body .sx-auth .login-field .form-control,body .sx-auth .login-field select{height:48px!important;border-radius:12px!important;border:1px solid #CBD5E1!important;background:#fff!important;font-size:15px!important;padding:0 14px}
body .sx-auth .login-field .form-control:focus{border-color:var(--sx-blue)!important;box-shadow:0 0 0 4px rgba(37,99,235,.14)!important}
body .sx-auth .login-btn{height:50px!important;border-radius:12px!important;background:var(--sx-grad)!important;border:0!important;color:#fff!important;font-weight:800!important;font-size:15px!important;box-shadow:0 14px 28px -14px rgba(79,70,229,.8)}
body .sx-auth .login-remember input[type=checkbox]{accent-color:var(--sx-blue)}

/* ── App cards, forms and step strips (monitor tools, admin) ─────────── */
body .soft-card{border-radius:20px!important;border-color:var(--sx-line);box-shadow:0 18px 40px -36px rgba(15,23,42,.42),0 1px 2px rgba(15,23,42,.04)}
body .mon-step{position:relative;overflow:hidden;border-radius:18px!important;border:1px solid var(--sx-line)!important;padding:16px!important;box-shadow:0 18px 40px -38px rgba(15,23,42,.4);transition:transform .2s var(--sx-ease)}
body .mon-step:hover{transform:translateY(-3px)}
body .mon-step::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--mh,#2563EB)}
body .mon-step-num{width:28px!important;height:28px!important;font-size:.8rem!important;box-shadow:0 8px 16px -8px var(--mh,#2563EB)}
body .mon-step-title{font-size:.9rem!important}
body .mon-step-desc{font-size:.8rem!important}
body .mon-empty{border-radius:20px;background:linear-gradient(180deg,#FBFCFE,#fff)}
body .page-body input.form-control,body .page-body .soft-card input[type=text],body .page-body .soft-card input[type=url],body .page-body .soft-card input[type=email],body .page-body .soft-card input[type=number],body .page-body .soft-card input[type=search],body .page-body .soft-card input:not([type]),body .page-body .soft-card select,body .page-body .soft-card textarea{border-radius:12px!important;border-color:#CBD5E1!important;transition:border-color .15s,box-shadow .15s}
body .page-body .soft-card input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):focus,body .page-body .soft-card select:focus,body .page-body .soft-card textarea:focus,body .page-body input.form-control:focus{border-color:var(--sx-blue)!important;box-shadow:0 0 0 4px rgba(37,99,235,.14)!important;outline:none}
body .page-body .soft-card .h-11,body .page-body .soft-card .h-10{min-height:44px}
body .page-body .soft-card h2,body .page-body .soft-card h3{letter-spacing:-.01em}
/* v522 specificity fixes against the legacy .page-body p/li/h1 rules */
body .page-body .st2-hero .sub{color:#CBD5E1!important}
body .page-body .status-page .st-sub{color:#CBD5E1!important}
body .page-body .sx-auth-ticks li{color:#CBD5E1!important}
body .page-body .dd-hero .sub{color:#CBD5E1!important}
body .page-body .dd-hero .dd-host{font-size:clamp(1.8rem,4.6vw,3rem)!important;font-weight:800!important;color:#fff!important;line-height:1.05!important;margin:0 0 .6rem!important;text-align:inherit!important}
body .sx-rep-page{max-width:1040px;margin-left:auto;margin-right:auto;width:100%}
/* Pricing hero: copy + plan ladder */
body .sx-price-hero{display:grid;grid-template-columns:1fr;gap:28px;align-items:center}
@media(min-width:960px){body .sx-price-hero{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px}}
body .sx-price-hero h1{max-width:18ch}
body .page-body .sx-price-hero p.lead{color:#CBD5E1!important}
body .page-body .sx-price-hero p.sx-lead-sm{font-size:.92rem!important;color:#94A3B8!important;margin-top:.8rem!important}
.sx-ph-visual{position:relative;display:flex;flex-direction:column;gap:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:18px;backdrop-filter:blur(8px)}
.sx-ph-step{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:8px;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:12px 14px}
.sx-ph-step.on{background:rgba(129,140,248,.16);border-color:rgba(165,180,252,.5)}
.sx-ph-n{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;background:rgba(255,255,255,.12);color:#fff}
.sx-ph-step.on .sx-ph-n{background:var(--sx-grad)}
.sx-ph-step b{display:block;color:#fff;font-size:15px}
.sx-ph-step small{color:#A5B4FC;font-weight:700;font-size:12px}
.sx-ph-step i{grid-column:1/-1;display:block;height:8px;border-radius:99px;width:var(--w);background:linear-gradient(90deg,#60A5FA,#A78BFA)}
.sx-ph-foot{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#CBD5E1;padding:2px 4px}
.sx-ph-foot .material-symbols-outlined{font-size:18px;color:#4ADE80}
/* SNA-7: /statistics and /status heroes sit at the same distance below the fixed header as the
   Monitor hero (page-body → pt-16 wrapper 64px + tab row 12px + 18px gap = 94px). */
body .st2-hero,body .status-page .st-hero{margin-top:94px}
/* Bot page hero → same surface as every other page hero */
body .feature-hero{background:var(--sx-hero-bg)!important;border:0!important;border-radius:28px!important;box-shadow:var(--sx-hero-shadow)!important}
body .feature-kicker{color:#A5B4FC!important}
/* Compare / multi-URL mode: let the input show every domain */
.sx-audit-card #urlInput[rows="3"]{min-height:104px!important;height:auto!important;resize:vertical}
.sx-audit-card #urlInput{field-sizing:content;max-height:180px}

/* ════════════════════════════════════════════════════════════════════
   v523 — Monitor tools on the design boards (Mon-*.dc.html)
   ════════════════════════════════════════════════════════════════════ */
body .sx-tool-wrap{max-width:1200px!important;width:100%}
@keyframes sxSpinA{to{transform:rotate(360deg)}}
@keyframes sxStripes{from{background-position:0 0}to{background-position:28px 0}}
.sx-spin{animation:sxSpinA 1.2s linear infinite}
.sx-blink{animation:sxBlink 1.4s infinite}
.sx-running{background-image:linear-gradient(135deg,rgba(255,255,255,.28) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.28) 50%,rgba(255,255,255,.28) 75%,transparent 75%)!important;background-size:28px 28px!important;animation:sxBar 1.3s var(--sx-ease) both,sxStripes 1s linear infinite!important}

/* Tool hero */
.sx-th{position:relative;overflow:hidden;isolation:isolate;border-radius:26px;padding:26px 22px;color:#fff;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;margin:0 0 24px;box-shadow:0 36px 70px -46px rgba(15,23,42,.8)}
@media(min-width:1024px){.sx-th{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;padding:36px 40px;gap:36px}}
.sx-th-glow{position:absolute;border-radius:50%;pointer-events:none;z-index:-1}
.sx-th-glow.a{right:-120px;top:-150px;width:420px;height:420px;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 66%);animation:sxGlowA 17s ease-in-out infinite}
.sx-th-glow.b{left:-110px;bottom:-190px;width:380px;height:380px;background:radial-gradient(circle,var(--th-glow,rgba(255,255,255,.14)),transparent 66%);animation:sxGlowB 20s ease-in-out infinite}
.sx-th-copy{min-width:0}
.sx-th-kick{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--th-kick,#E9D5FF);margin-bottom:10px}
body .sx-th-title{margin:0!important;font-size:clamp(1.6rem,3.3vw,2.45rem)!important;line-height:1.1!important;letter-spacing:-.03em!important;font-weight:800!important;color:#fff!important;text-align:left!important}
body .page-body .sx-th-sub,.sx-th-sub{margin:12px 0 0!important;font-size:15.5px!important;line-height:1.55!important;color:rgba(255,255,255,.86)!important;max-width:60ch}
.sx-th-vis{position:relative;min-width:0}
.sx-th-batch{background:linear-gradient(118deg,#4C1D95 0%,#6D28D9 48%,#8B5CF6 100%);--th-kick:#E9D5FF;--th-glow:rgba(196,181,253,.45)}
.sx-th-citation{background:linear-gradient(118deg,#082F3B 0%,#0E5A6E 45%,#0891B2 100%);--th-kick:#A5F3FC;--th-glow:rgba(103,232,249,.35)}
.sx-th-benchmark{background:linear-gradient(105deg,#1C1917 0%,#3B1708 38%,#7C2D12 70%,#C2650A 100%);--th-kick:#FCD34D;--th-glow:rgba(251,191,36,.3)}
.sx-th-dedupe{background:linear-gradient(118deg,#052E16 0%,#14532D 45%,#16A34A 100%);--th-kick:#BBF7D0;--th-glow:rgba(134,239,172,.35)}
.sx-th-seo{background:linear-gradient(118deg,#082F49 0%,#0C4A6E 45%,#0EA5E9 100%);--th-kick:#BAE6FD;--th-glow:rgba(125,211,252,.35)}
@media(prefers-reduced-motion:reduce){.sx-th-glow,.sx-spin,.sx-running{animation:none!important}}

/* Hero visual: flow (batch) */
.sx-th-flow{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}
.sx-th-step{flex:1 1 120px;display:flex;flex-direction:column;gap:3px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);border-radius:14px;padding:12px 14px;backdrop-filter:blur(6px)}
.sx-th-step b{font-size:12.5px;color:rgba(255,255,255,.8);font-weight:700}
.sx-th-step span{font-size:14.5px;font-weight:800;color:#fff}
.sx-th-arrow{align-self:center;color:rgba(255,255,255,.6);flex-shrink:0}
@media(max-width:639px){.sx-th-arrow{display:none}.sx-th-step{flex-basis:100%}}
.sx-th-stats{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px;font-size:13.5px;color:rgba(255,255,255,.82)}
.sx-th-stats:empty{display:none}
.sx-th-stats b{color:#fff;font-size:16px}

/* Hero visual: ring + engines (citation) */
.sx-th-citvis{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.sx-th-ring{position:relative;width:150px;height:150px;flex-shrink:0}
.sx-th-ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.sx-th-ring b{font-size:34px;font-weight:800;letter-spacing:-.03em;line-height:1}
.sx-th-ring span{font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.75);margin-top:4px}
.sx-th-engs{flex:1 1 220px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sx-th-eng{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.sx-th-eng b{font-size:14.5px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-th-eng span{font-size:12.5px;font-weight:700;color:#A5F3FC}
.sx-th-eng.off span{color:#FDBA74}

/* Hero visual: ranking (benchmark) */
.sx-th-rank{display:flex;flex-direction:column;gap:8px}
.sx-th-rrow{display:grid;grid-template-columns:22px minmax(0,1.1fr) minmax(0,1.4fr) 34px;align-items:center;gap:10px;padding:8px 10px;border-radius:12px}
.sx-th-rrow.you{background:rgba(251,191,36,.16);box-shadow:inset 0 0 0 1px rgba(251,191,36,.35)}
.sx-th-rrow .n{font-weight:800;color:#FCD34D;font-size:15px}
.sx-th-rrow .h{font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-th-rrow .t{height:12px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}
.sx-th-rrow .t i{display:block;height:100%;border-radius:99px;background:rgba(255,237,213,.55)}
.sx-th-rrow.you .t i{background:linear-gradient(90deg,#FDE68A,#F59E0B)}
.sx-th-rrow b{text-align:right;font-weight:800;font-size:15px}
.sx-th-rrow.you b{color:#FCD34D}
.sx-th-rank.ghost{opacity:.7}
.sx-th-rank.ghost .t i{background:rgba(255,255,255,.28)}

/* Hero visual: KPI tiles (dedupe, seo) */
.sx-th-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sx-th-kpi{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.sx-th-kpi b{font-size:clamp(1.5rem,2.6vw,2rem);font-weight:800;letter-spacing:-.03em;line-height:1.05;color:#fff}
.sx-th-kpi span{font-size:12.5px;font-weight:700;color:rgba(255,255,255,.82)}
.sx-th-kpi small:empty{display:none}
.sx-th-dedupe .sx-th-kpi:nth-child(2) b{color:#FDBA74}
.sx-th-note{margin-top:10px;font-size:12.5px;font-weight:700;color:rgba(255,255,255,.8);display:flex;align-items:center;gap:6px}
.sx-th-note::before{content:"";width:8px;height:8px;border-radius:50%;background:#4ADE80;box-shadow:0 0 0 4px rgba(74,222,128,.2)}

/* Section + card headings */
.sx-sec-h{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:6px 0 14px}
body .sx-sec-h h2{margin:0!important;font-size:1.3rem!important;font-weight:800!important;letter-spacing:-.02em;color:var(--sx-ink)!important}
body .page-body .sx-sec-sub,.sx-sec-sub{margin:-6px 0 14px!important;font-size:14px!important;color:var(--sx-muted)!important}
body .sx-card-h{margin:0 0 6px!important;font-size:1.2rem!important;font-weight:800!important;letter-spacing:-.02em;color:var(--sx-ink)!important;text-align:left!important}
body .page-body .sx-card-sub,.sx-card-sub{margin:0 0 14px!important;font-size:13.5px!important;line-height:1.5!important;color:var(--sx-muted)!important}
.sx-card-h2{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.sx-card-h2 .sx-card-h{margin:0!important}
body .sx-start-card{border-top:3px solid var(--sx-acc,#2563EB)!important}
body .sx-start-card button.bg-primary,body .sx-start-card #citPromptsBtn,body .sx-start-card #bmRunBtn,body .sx-start-card #dupRunBtn,body .sx-start-card #dupCrossRunBtn{background:var(--sx-acc,#2563EB)!important;border-radius:12px!important;min-height:44px;font-weight:800!important}

/* Batch job cards */
.sx-batch-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:900px){.sx-batch-grid{grid-template-columns:1fr 1fr}}
.sx-bj{background:#fff;border:1px solid var(--sx-line);border-radius:22px;padding:20px 20px 16px;display:flex;flex-direction:column;gap:14px;box-shadow:0 18px 40px -36px rgba(15,23,42,.42);min-width:0}
.sx-bj.is-paused{opacity:.72}
.sx-bj-top{display:flex;align-items:center;gap:12px}
.sx-bj-ico{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sx-bj-ico.run{background:#F5F3FF}
.sx-bj-ico.done{background:#F0FDF4;color:#16A34A}
.sx-bj-ico.paused{background:#F1F5F9;color:#64748B}
.sx-bj-ico.err{background:#FEF2F2;color:#DC2626}
.sx-bj-name{min-width:0;flex:1;display:flex;flex-direction:column}
.sx-bj-name b{font-size:16px;color:var(--sx-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-bj-name span{font-size:12.5px;color:var(--sx-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-bj-state{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.06em;border-radius:99px;padding:4px 10px;flex-shrink:0}
.sx-bj-state i{width:7px;height:7px;border-radius:50%;background:currentColor}
.sx-bj-state.run{background:#F5F3FF;color:#6D28D9}
.sx-bj-state.done{background:#F0FDF4;color:#15803D}
.sx-bj-state.paused{background:#F1F5F9;color:#64748B}
.sx-bj-state.err{background:#FEF2F2;color:#B91C1C}
.sx-bj-err{font-size:12.5px;color:#B91C1C;background:#FEF2F2;border-radius:10px;padding:8px 10px}
.sx-bj-prog-h{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13.5px;margin-bottom:8px}
.sx-bj-prog-h b{color:var(--sx-ink)}
.sx-bj-prog-h span{color:var(--sx-muted)}
.sx-bj-track{height:14px;border-radius:99px;background:#EEF2F7;overflow:hidden}
.sx-bj-track>div{height:100%;border-radius:99px;background:linear-gradient(90deg,#7C3AED,#8B5CF6)}
.sx-bj-track>div.done{background:linear-gradient(90deg,#4ADE80,#16A34A)}
.sx-bj-hist{display:flex;align-items:flex-end;gap:6px;height:64px}
.sx-bj-hist i{flex:1;border-radius:4px 4px 2px 2px;min-height:4px}
.sx-bj-axis{display:flex;justify-content:space-between;font-size:11.5px;font-weight:700;color:var(--sx-muted);margin-top:-6px}
.sx-bj-tri{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sx-bj-tri div{border-radius:14px;padding:10px;text-align:center;display:flex;flex-direction:column}
.sx-bj-tri b{font-size:22px;font-weight:800;line-height:1.1}
.sx-bj-tri span{font-size:12px;font-weight:700}
.sx-bj-tri .g{background:#F0FDF4;color:#15803D}
.sx-bj-tri .o{background:#EFF6FF;color:#1D4ED8}
.sx-bj-tri .p{background:#FFF7ED;color:#C2410C}
.sx-bj-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sx-bj-pri,.sx-bj-sec{min-height:42px;border-radius:12px;font:800 14px Manrope,system-ui,sans-serif;cursor:pointer;padding:0 14px}
.sx-bj-pri{background:color-mix(in srgb,var(--sx-acc,#7C3AED) 10%,#fff);color:var(--sx-acc,#6D28D9);border:0}
.sx-bj-pri:hover{background:color-mix(in srgb,var(--sx-acc,#7C3AED) 16%,#fff)}
.sx-bj-sec{background:#fff;color:var(--sx-ink);border:1px solid #CBD5E1}
.sx-bj-sec:hover{border-color:#94A3B8}
.sx-bj-more{border-top:1px solid #F1F5F9;padding-top:10px}
.sx-bj-more summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--sx-muted);list-style:none;display:flex;align-items:center;gap:6px}
.sx-bj-more summary::-webkit-details-marker{display:none}
.sx-bj-more summary::before{content:"⚙";font-size:13px}
.sx-bj-set{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px}
.sx-bj-when{font-size:12px;color:var(--sx-muted)}

/* New batch job: form + preview */
body .sx-batch-new{display:grid;grid-template-columns:1fr;gap:20px;padding:22px!important;margin-bottom:8px;scroll-margin-top:90px}
@media(min-width:1000px){body .sx-batch-new{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);padding:28px!important}}
.sx-bn-form{min-width:0}
.sx-bn-preview{background:var(--sx-soft);border:1px solid var(--sx-line);border-radius:18px;padding:20px;min-height:200px;display:flex;flex-direction:column}
.sx-bn-empty{margin:auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--sx-muted);font-size:13.5px;max-width:34ch}
.sx-bn-empty .material-symbols-outlined{font-size:30px;color:#A78BFA}
.sx-bn-empty b{color:var(--sx-ink);font-size:15px}
.sx-bn-res-h{display:flex;align-items:center;gap:10px}
.sx-bn-res-h b{font-size:16px;color:var(--sx-ink)}
.sx-bn-ok{width:32px;height:32px;border-radius:10px;background:#16A34A;color:#fff;display:flex;align-items:center;justify-content:center}
.sx-bn-ok .material-symbols-outlined{font-size:20px}
.sx-bn-res-sub{font-size:13.5px;color:var(--sx-muted);margin:10px 0 12px}
.sx-bn-list{display:flex;flex-direction:column;gap:6px}
.sx-bn-list span{font:500 13px/1.3 "JetBrains Mono",ui-monospace,monospace;background:#fff;border:1px solid var(--sx-line);border-radius:8px;padding:8px 10px;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-bn-list span.more{color:var(--sx-muted)}
body .batch-src-tiles .batch-src{border-radius:14px!important;min-height:56px}
body .batch-src-tiles .batch-src.on{border-color:#7C3AED!important;box-shadow:0 0 0 3px rgba(124,58,237,.14);color:#6D28D9!important}
body .sx-batch-new button.bg-primary{background:#7C3AED!important;border-radius:12px!important;min-height:44px}

/* Citation monitors grid */
.sx-cj-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:900px){.sx-cj-grid{grid-template-columns:1fr 1fr}}

/* Benchmark: area chart + bottom row */
body .sx-bm-chart{padding:22px!important;margin-bottom:16px}
.sx-bm-chart-h{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
body .sx-bm-chart-h h3{margin:0;font-size:1.15rem;font-weight:800;color:var(--sx-ink)}
.sx-bm-leg{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;font-weight:700;color:#475569}
.sx-bm-leg i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.sx-bm-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sx-bm-group{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}
.sx-bm-bars{width:100%;height:170px;display:flex;align-items:flex-end;justify-content:center;gap:8px;border-bottom:2px solid #E7E5E4;padding:0 4px}
.sx-bm-bars i{position:relative;flex:0 1 38px;border-radius:5px 5px 0 0;min-height:3px}
.sx-bm-bars i em{position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11px;font-weight:800;color:#57534E}
.sx-bm-group b{font-size:13.5px;color:var(--sx-ink);text-align:center}
@media(max-width:639px){.sx-bm-groups{grid-template-columns:1fr}.sx-bm-bars{height:120px}}
.sx-bm-row{display:grid;grid-template-columns:1fr;gap:16px;margin-top:8px}
@media(min-width:960px){.sx-bm-row{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
.sx-bm-row>.soft-card{margin:0!important}

/* Dedupe results */
.sx-dup-row{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:16px}
@media(min-width:960px){.sx-dup-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
body .sx-dup-map,body .sx-dup-top,body .sx-dup-clusters{padding:22px!important;min-width:0}
body .sx-dup-map h3,body .sx-dup-top h3,body .sx-dup-clusters h3{margin:0 0 6px;font-size:1.15rem;font-weight:800;color:var(--sx-ink)}
.sx-dup-map svg{max-width:100%;height:auto}
.sx-dup-top{display:flex;flex-direction:column}
.sx-dup-pairs{display:flex;flex-direction:column;gap:12px;margin:10px 0 16px}
.sx-dup-pair>div{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.sx-dup-pair code{font:500 12.5px "JetBrains Mono",ui-monospace,monospace;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sx-dup-pair b{font-size:12.5px}
.sx-dup-track{display:block;height:6px;border-radius:99px;background:#EEF2F7;overflow:hidden;margin-top:6px}
.sx-dup-track i{display:block;height:100%;border-radius:99px}
.sx-dup-exp{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sx-dup-exp .sx-bj-pri{background:#16A34A;color:#fff}
.sx-dup-clean{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:#15803D;background:#F0FDF4;border-radius:12px;padding:10px 12px}
.sx-dup-empty{padding:24px 0;text-align:center;color:var(--sx-muted);font-size:13.5px}
.sx-dup-cl{border:1px solid var(--sx-line);border-radius:16px;margin-top:10px;overflow:hidden}
.sx-dup-cl[open]{border-color:color-mix(in srgb,var(--cl) 45%,#fff)}
.sx-dup-cl summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;font-size:15px}
.sx-dup-cl summary::-webkit-details-marker{display:none}
.sx-dup-cl[open] summary{background:color-mix(in srgb,var(--cl) 7%,#fff)}
.sx-dup-cl summary i{width:11px;height:11px;border-radius:50%;background:var(--cl);flex-shrink:0}
.sx-dup-cl summary b{flex:1;color:var(--sx-ink)}
.sx-dup-cl summary span{font-size:13px;font-weight:800;color:var(--cl)}
.sx-dup-rows{padding:4px 16px 12px}
.sx-dup-r{display:flex;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #F1F5F9;font-size:13.5px;min-width:0}
.sx-dup-r:first-child{border-top:0}
.sx-dup-r .tag{flex-shrink:0;min-width:58px;text-align:center;font-size:11px;font-weight:800;border-radius:7px;padding:3px 8px}
.sx-dup-r .tag.keep{background:#16A34A;color:#fff}
.sx-dup-r .tag.exact{background:#EA580C;color:#fff}
.sx-dup-r .tag.near{background:#FFEDD5;color:#9A3412}
.sx-dup-r a{flex:1;min-width:0;font:500 13px "JetBrains Mono",ui-monospace,monospace;color:var(--sx-ink)!important;text-decoration:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-dup-r a small{display:block;font:500 11.5px Manrope,sans-serif;color:var(--sx-muted);overflow:hidden;text-overflow:ellipsis}
.sx-dup-r em{flex-shrink:0;font-style:normal;font-size:12.5px;color:var(--sx-muted)}
@media(max-width:519px){.sx-dup-r em{display:none}}
body .dup-mode-toggle{margin:0!important}

/* SEO grid */
.sx-seo-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:960px){.sx-seo-grid{grid-template-columns:1fr 1fr}.sx-seo-grid>section:last-child:nth-child(odd){grid-column:1/-1}}
body .sx-seo-grid>section{margin:0!important;padding:22px!important}
body .sx-seo-grid section h2{font-size:1.1rem!important;font-weight:800!important}

/* Tabs bar to match the boards */
body .mon-tabs-wrap{max-width:none}
.sx-bj-track>div.sx-running{background-color:#7C3AED!important}
body .sx-batch-new .form-control{min-height:44px}
body .btn-action select{height:auto!important;min-height:0!important;padding:0 2px!important;border:0!important;box-shadow:none!important}
body label.btn-action{min-height:34px;height:auto}
.sx-bm-row{margin-top:16px}
body #dupThreshold{accent-color:#16A34A!important}
.sx-dup-exp{display:flex;flex-wrap:wrap}
.sx-dup-exp>button{flex:1 1 auto;white-space:nowrap}
body .sx-seo-grid select{padding-right:30px!important}
body .sx-start-card select,body .sx-batch-new select{padding-right:30px!important}
@media(max-width:639px){.sx-th-flow{flex-wrap:nowrap;gap:6px}.sx-th-step{flex:1 1 0;min-width:0;padding:10px}.sx-th-step b{font-size:11px}.sx-th-step span{font-size:12.5px}}
body #bmSavePanel{border:1px solid #FDE68A!important;background:linear-gradient(135deg,#FFFBEB,#fff)!important;border-radius:20px!important}
body #bmSavePanel>div:first-child{color:#92400E!important}
body #bmSavePanel .material-symbols-outlined{color:#D97706!important}
body #bmSavePanel button.bg-primary{background:#D97706!important;border-radius:12px!important}

/* ════════════════════════════════════════════════════════════════════
   v524 — Monitorboard (design board App-Monitor)
   ════════════════════════════════════════════════════════════════════ */
.sx-th-board{background:radial-gradient(520px 300px at 85% 10%,rgba(59,130,246,.35),transparent 65%),linear-gradient(120deg,#0B1224 0%,#111C3D 55%,#1E3A8A 120%);--th-kick:#93C5FD;--th-glow:rgba(96,165,250,.3)}
@media(min-width:1024px){.sx-th-board{grid-template-columns:minmax(0,1fr) 280px}}
.sx-mbh{display:flex;align-items:center;gap:26px;min-width:0}
@media(max-width:639px){.sx-mbh{flex-direction:column;align-items:flex-start;gap:18px}}
.sx-mbh-ring span{font-size:11px!important;letter-spacing:.04em!important}
.sx-mbh-copy{min-width:0;flex:1}
.sx-mbh-dist{display:flex;height:10px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.1);margin-top:16px;max-width:460px}
.sx-mbh-dist span{height:100%}
.sx-mbh-leg{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:13px;font-weight:700;color:rgba(255,255,255,.85)}
.sx-mbh-leg i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.sx-mbh-leg .k{color:rgba(255,255,255,.65)}
.sx-mbh-leg .k b{color:#fff}
.sx-mbh-next{position:relative;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;backdrop-filter:blur(6px)}
.sx-mbh-next .k{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#93C5FD}
.sx-mbh-next .k i{width:8px;height:8px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 4px rgba(34,197,94,.2)}
.sx-mbh-next b{font-size:22px;font-weight:800;color:#fff}
.sx-mbh-next span{font-size:14px;color:rgba(255,255,255,.72);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-mb-alert{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#FFF7ED;border:1px solid #FED7AA;border-radius:20px;padding:16px 20px;margin:0 0 26px}
.sx-mb-alert .ic{width:44px;height:44px;border-radius:12px;background:#EA580C;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sx-mb-alert .tx{flex:1;min-width:220px;display:flex;flex-direction:column;gap:2px}
.sx-mb-alert .tx b{font-size:16px;color:var(--sx-ink)}
.sx-mb-alert .tx span{font-size:13.5px;color:#C2410C}
.sx-mb-alert .sp{width:150px;flex-shrink:0}
@media(max-width:639px){.sx-mb-alert .sp{display:none}.sx-mb-alert a{width:100%}}
.sx-mb-head{margin-top:4px}
body .sx-mb-add{flex:0 1 460px;margin:0!important;border-radius:16px!important}
@media(max-width:719px){body .sx-mb-add{flex-basis:100%}}
.sx-dom-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-bottom:28px}
.sx-dc{position:relative;background:#fff;border:1px solid var(--sx-line);border-radius:22px;padding:18px 18px 14px;display:flex;flex-direction:column;gap:12px;box-shadow:0 18px 40px -36px rgba(15,23,42,.42);min-width:0;animation:sxFade .5s ease both}
.sx-dc.is-attn{border:2px solid #FDBA74;box-shadow:0 22px 44px -34px rgba(234,88,12,.55)}
.sx-dc.is-paused{background:#F8FAFC;border-style:dashed}
.sx-dc-top{display:flex;align-items:center;gap:12px;min-width:0}
.sx-dc-ring{position:relative;width:58px;height:58px;flex-shrink:0}
.sx-dc-ring b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:800;color:var(--sx-ink)}
.sx-dc-id{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.sx-dc-id a{max-width:100%;font-size:16px;font-weight:800;color:var(--sx-ink)!important;text-decoration:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-dc-id a:hover{color:var(--sx-blue)!important}
.sx-dc-tag{font-size:11.5px;font-weight:800;border-radius:7px;padding:2px 7px}
.sx-dc-tag.up{background:#DCFCE7;color:#15803D}
.sx-dc-tag.down{background:#FFEDD5;color:#C2410C}
.sx-dc-tag.flat{background:#F1F5F9;color:#475569}
.sx-dc-tag.paused{background:#E2E8F0;color:#475569;letter-spacing:.04em}
.sx-dc-tag.new{background:#EFF6FF;color:#1D4ED8;letter-spacing:.04em}
.sx-dc-spark{height:56px;display:flex;align-items:center}
.sx-dc-spark>span{font-size:12.5px;color:var(--sx-muted)}
.sx-dc-mid{height:56px;display:flex;align-items:center;justify-content:center;font-size:13.5px;color:var(--sx-muted)}
.sx-dc-meta{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#475569}
.sx-dc-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sx-dc-acts.one{grid-template-columns:1fr}
.sx-dc-acts .sx-bj-pri,.sx-dc-acts .sx-bj-sec{min-height:40px;font-size:13.5px}
.sx-dc-resume{min-height:40px;border:0;border-radius:12px;background:#3B82F6;color:#fff;font:800 13.5px Manrope,system-ui,sans-serif;cursor:pointer}
.sx-dc-resume:hover{background:#2563EB}
.sx-dc .sx-bj-more{padding-top:8px}
.sx-mb-bottom{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:960px){.sx-mb-bottom{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
body .sx-mb-panel{padding:22px!important;margin:0!important;min-width:0}
.sx-mb-link{font-size:13.5px;font-weight:800;color:var(--sx-blue)!important;text-decoration:none!important}
.sx-mb-none{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:8px 0}
body .page-body .sx-mb-none p{margin:0!important;font-size:14px!important;color:var(--sx-muted)!important;max-width:48ch}
.sx-mb-matrix{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(var(--cols),minmax(0,1fr));gap:8px 10px;align-items:center;margin-top:6px}
.sx-mb-matrix b{font-size:12.5px;color:#475569;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-mb-matrix em{font-style:normal;font-size:13px;font-weight:700;color:var(--sx-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-mb-matrix i{font-style:normal;text-align:center;font-size:12.5px;font-weight:800;border-radius:8px;padding:6px 0}
.sx-mb-matrix i.c{background:#16A34A;color:#fff}
.sx-mb-matrix i.m{background:#DCFCE7;color:#15803D}
.sx-mb-matrix i.n{background:#FFF7ED;color:#FDBA74}
.sx-mb-leg{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:14px;font-size:12.5px;font-weight:700;color:#475569}
.sx-mb-leg i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.sx-mb-bm{display:flex;align-items:flex-end;justify-content:space-around;gap:10px;height:190px;border-bottom:2px solid #E2E8F0;padding:0 6px;margin-top:8px}
.sx-mb-bm .col{flex:1;max-width:64px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;min-width:0;position:relative}
.sx-mb-bm .col b{font-size:13.5px;color:var(--sx-ink)}
.sx-mb-bm .col i{width:100%;max-width:40px;border-radius:6px 6px 0 0;background:#C7D2FE}
.sx-mb-bm .col.you i{background:linear-gradient(180deg,#FB923C,#EA580C)}
.sx-mb-bm .col.you b{color:#EA580C}
.sx-mb-bm .col span{position:absolute;bottom:-26px;font-size:12px;font-weight:700;color:#64748B;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-mb-bm .col.you span{color:var(--sx-ink)}
.sx-mb-note{margin-top:38px;background:var(--sx-soft);border-radius:14px;padding:12px 14px;font-size:13.5px;color:#334155;line-height:1.5}
.sx-mb-note b{color:var(--sx-ink)}
body .mb-bar{margin:-6px 0 14px}
.sx-mbh-ring small{font-size:10px;font-weight:700;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.06em;margin-top:2px}
.sx-mbh-ring span{font-size:13px!important}

/* ════════════════════════════════════════════════════════════════════
   v525 — Settings, Admin (design boards App-Settings / App-Admin),
          citation overview, benchmark gaps, case study width
   ════════════════════════════════════════════════════════════════════ */
.sx-page-head{margin:6px 0 20px}
body .sx-page-head h1{margin:0!important;font-size:clamp(1.8rem,3.2vw,2.3rem)!important;font-weight:800!important;letter-spacing:-.03em!important;color:var(--sx-ink)!important;text-align:left!important}
body .page-body .sx-page-head p,.sx-page-head p{margin:6px 0 0!important;font-size:15px!important;color:var(--sx-muted)!important}
.sx-adm-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.sx-adm-head p{flex-basis:100%}
.sx-adm-badge{order:-1;flex-basis:100%;width:max-content;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;background:var(--sx-ink);color:#fff;border-radius:7px;padding:4px 9px;margin-bottom:6px;flex-grow:0}
body .adm-tabs .mon-tab.active,body .adm-tabs .mon-tab[aria-selected="true"]{background:var(--sx-ink)!important;color:#fff!important;box-shadow:none!important}
body .adm-tabs .mon-tab.active .material-symbols-outlined{color:#fff!important}

/* Settings */
body .set-layout{max-width:900px;margin:0 auto}
body .set-body > .soft-card.set-card{padding:24px!important;border-radius:22px!important;margin-bottom:18px!important}
body .set-body > .soft-card.set-card h2,body .set-body > .soft-card.set-card > .font-bold,body .set-body > .soft-card.set-card > button[onclick]:first-child > span:first-child{font-size:1.2rem!important;font-weight:800!important;letter-spacing:-.02em;color:var(--sx-ink)!important}
body .set-body .sx-set-toggle{pointer-events:none;width:100%}
body .set-body .sx-set-toggle .material-symbols-outlined:last-child{display:none}
body .set-body .soft-card .form-control,body .set-body .soft-card input[type=text],body .set-body .soft-card input[type=url],body .set-body .soft-card input[type=email],body .set-body .soft-card input[type=password]{min-height:44px;border-radius:12px!important}
body .set-body .soft-card button.bg-primary{border-radius:12px!important;min-height:42px;padding-left:18px!important;padding-right:18px!important}
.sx-acc-plan{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:var(--sx-soft);border:1px solid var(--sx-line);border-radius:16px;padding:16px 18px;margin:8px 0 16px}
.sx-acc-plan>div:first-child{display:flex;flex-direction:column;gap:2px}
.sx-acc-plan .k{font-size:12.5px;font-weight:700;color:var(--sx-muted)}
.sx-acc-plan b{font-size:18px;color:var(--sx-ink)}
.sx-acc-plan .s{font-size:12.5px;color:var(--sx-muted)}
.sx-acc-plan .acts{display:flex;gap:8px;flex-wrap:wrap}
.sx-acc-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:640px){.sx-acc-grid{grid-template-columns:1fr 1fr}}
.sx-acc-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:var(--sx-ink2)}
.sx-acc-grid input[readonly]{background:var(--sx-soft)!important}

/* Admin overview */
.sx-adm-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
@media(min-width:900px){.sx-adm-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
.sx-adm-kpi{background:#fff;border:1px solid var(--sx-line);border-radius:20px;padding:18px 20px;display:flex;flex-direction:column;gap:4px;box-shadow:0 18px 40px -38px rgba(15,23,42,.4)}
.sx-adm-kpi span{font-size:13.5px;font-weight:700;color:#475569}
.sx-adm-kpi b{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;letter-spacing:-.03em;color:var(--sx-ink)}
.sx-adm-kpi.warn{border-color:#FCD34D;background:linear-gradient(180deg,#FFFBEB,#fff)}
.sx-adm-kpi.warn b{color:#B45309}
body .sx-adm-card{padding:22px!important;margin-bottom:18px!important;border-radius:22px!important}
.sx-adm-pend{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid #F1F5F9}
.sx-adm-pend .who{display:flex;flex-direction:column;min-width:0}
.sx-adm-pend .who b{font-size:15px;color:var(--sx-ink);overflow-wrap:anywhere}
.sx-adm-pend .who span{font-size:12.5px;color:var(--sx-muted)}
.sx-adm-pend form{flex-wrap:wrap}
body .sx-adm-users{padding:0!important;overflow:hidden}
.sx-adm-tools{display:flex;gap:10px;padding:16px;border-bottom:1px solid var(--sx-line);flex-wrap:wrap}
.sx-adm-search{flex:1 1 260px;display:flex;align-items:center;gap:8px;border:1px solid #CBD5E1;border-radius:12px;padding:0 12px;min-height:44px;background:#fff}
.sx-adm-search .material-symbols-outlined{font-size:19px;color:#94A3B8}
.sx-adm-search input{flex:1;border:0;outline:0;font:500 14.5px Manrope,sans-serif;background:transparent;min-width:0}
.sx-adm-tools select{flex:0 0 auto;width:auto!important;min-height:44px;border-radius:12px!important;padding-right:30px!important}
.sx-adm-thead,.sx-adm-line{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,.9fr) minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px}
.sx-adm-thead{font-size:12.5px;font-weight:800;color:#475569;border-bottom:1px solid var(--sx-line);background:var(--sx-soft)}
.sx-adm-row{border-bottom:1px solid #F1F5F9}
.sx-adm-row:last-child{border-bottom:0}
.sx-adm-row.open{background:#FBFCFE}
.sx-adm-line .who{display:flex;flex-direction:column;min-width:0}
.sx-adm-line .who b{font-size:14.5px;color:var(--sx-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-adm-line .who span{font-size:12px;color:var(--sx-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sx-adm-line .num,.sx-adm-line .when{font-size:14px;color:#334155}
.sx-plan{font-style:normal;font-size:11px;font-weight:800;letter-spacing:.04em;border-radius:6px;padding:3px 8px;background:#F1F5F9;color:#475569}
.sx-plan-pro{background:#EEF2FF;color:#3730A3}.sx-plan-basic{background:#EFF6FF;color:#1D4ED8}.sx-plan-agency,.sx-plan-enterprise{background:var(--sx-ink);color:#fff}.sx-plan-custom{background:#F5F3FF;color:#6D28D9}.sx-plan-admin{background:#FEF3C7;color:#92400E}
.sx-adm-manage{padding:0 16px 16px}
.sx-adm-manage .meta{font-size:12.5px;color:var(--sx-muted);margin-bottom:10px}
.sx-adm-manage .meta a{color:var(--sx-blue)!important;text-decoration:none!important;font-weight:700}
.sx-adm-manage .ctl{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sx-adm-manage .ctl form{flex-wrap:wrap}
.sx-adm-manage .admin-user-activity{margin-top:12px;border:1px solid var(--sx-line);border-radius:14px;padding:12px;background:#fff}
@media(max-width:759px){.sx-adm-thead{display:none}.sx-adm-line{grid-template-columns:1fr auto;row-gap:6px}.sx-adm-line .who{grid-column:1/-1}.sx-adm-line .num::before,.sx-adm-line .num::after{}
  .sx-adm-line .num{font-size:12.5px;color:var(--sx-muted)}.sx-adm-line .num::before{content:attr(data-l) ": ";font-weight:700}.sx-adm-line .when{font-size:12.5px;color:var(--sx-muted)}}

/* Citation overview */
.sx-cit-row{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:16px}
@media(min-width:960px){.sx-cit-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.sx-cit-row.b{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
body .sx-cit-card,body .sx-cit-said{padding:22px!important;margin:0!important;min-width:0}
body .sx-cit-said{border:2px solid #67E8F9!important;box-shadow:0 22px 44px -34px rgba(8,145,178,.5)!important}
.sx-cit-mx{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(var(--cols),minmax(0,1fr));gap:8px;align-items:center;margin-top:10px}
.sx-cit-mx b{font-size:12.5px;color:#475569;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-cit-mx b i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;vertical-align:1px}
.sx-cit-mx em{font-style:normal;font-size:13.5px;font-weight:700;color:var(--sx-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-cit-mx button{border:0;border-radius:9px;min-height:36px;font:800 13px Manrope,sans-serif;cursor:pointer;transition:transform .12s,box-shadow .12s}
.sx-cit-mx button:hover:not([disabled]){transform:translateY(-1px)}
.sx-cit-mx button.c{background:#0891B2;color:#fff}
.sx-cit-mx button.m{background:#CFFAFE;color:#155E75}
.sx-cit-mx button.n{background:#FFF7ED;color:#FDBA74}
.sx-cit-mx button.x{background:#F8FAFC;color:#CBD5E1;cursor:default}
.sx-cit-mx button.on{box-shadow:0 0 0 3px #fff,0 0 0 5px #0891B2}
.sx-cit-k{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#0E7490}
.sx-cit-badge{font-size:12px;font-weight:800;background:#0891B2;color:#fff;border-radius:7px;padding:3px 8px}
.sx-cit-badge.off{background:#F1F5F9;color:#64748B}
.sx-cit-q{background:var(--sx-soft);border-radius:14px;padding:14px 16px;font-size:14.5px;line-height:1.6;color:#334155;margin:6px 0 10px}
.sx-cit-q b{color:var(--sx-ink)}
.sx-cit-p{font-size:12.5px;color:var(--sx-muted);margin-bottom:10px}
.sx-cit-p b{color:#334155}
.sx-cit-kh{font-size:14px;font-weight:800;color:var(--sx-ink);margin:6px 0 6px}
.sx-cit-claims{margin:0 0 10px;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.sx-cit-claims li{position:relative;padding-left:24px;font-size:13.5px;color:#334155}
.sx-cit-claims li::before{content:"✓";position:absolute;left:0;top:0;width:18px;height:18px;border-radius:5px;background:#DCFCE7;color:#16A34A;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}
.sx-cit-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sx-cit-tag{font-size:12px;font-weight:700;background:#F1F5F9;color:#475569;border-radius:99px;padding:3px 10px}
.sx-cit-more{border:0;background:none;font:800 13px Manrope,sans-serif;color:#0891B2;cursor:pointer;margin-left:auto}
.sx-cit-delta{font-size:14px;color:#0E7490}
.sx-cit-trend{margin-top:10px;min-height:150px;display:flex;align-items:center}
.sx-cit-trend svg{width:100%}
.sx-cit-sched .row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #F1F5F9;font-size:14px;font-weight:700;color:var(--sx-ink)}
.sx-cit-sched .row:first-of-type{border-top:0}
.sx-cit-sched .row select{min-height:38px;border:1px solid #CBD5E1;border-radius:10px;padding:0 30px 0 10px;font:700 13.5px Manrope,sans-serif;background:#fff}
.sx-yn{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;background:#F1F5F9;color:#94A3B8;flex-shrink:0}
.sx-yn.on{background:#0891B2;color:#fff}
.sx-cit-sched .acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
@media(max-width:519px){.sx-cit-mx{grid-template-columns:minmax(0,1.2fr) repeat(var(--cols),minmax(0,1fr));gap:5px}.sx-cit-mx em{font-size:12px}.sx-cit-mx button{min-height:32px;font-size:11.5px}.sx-cit-sched .acts{grid-template-columns:1fr}}

/* Benchmark gaps */
.sx-gap-list{display:flex;flex-direction:column;gap:8px}
.sx-gap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--sx-line);border-radius:14px;padding:12px 14px;background:#fff}
.sx-gap .t{flex:1 1 260px;display:flex;flex-direction:column;min-width:0}
.sx-gap .t b{font-size:14.5px;color:var(--sx-ink)}
.sx-gap .t span{font-size:12.5px;color:var(--sx-muted)}
.sx-gap .n{font-size:13px;font-weight:700;color:#475569}
.sx-gap-fix{font-size:13px;font-weight:800;color:#92400E!important;background:#FEF3C7;border-radius:10px;padding:8px 12px;text-decoration:none!important}
.sx-gap-fix:hover{background:#FDE68A}

/* Case study in the app: full tool width */
.sx-cs-app{max-width:none}
.sx-adm-head{display:block}
.sx-adm-badge{display:inline-block;flex-basis:auto;width:auto}
/* v528: admin tier chips — inactive tiers clearly visible (were near-invisible light grey) */
body .tier-chip{min-height:30px;padding:0 12px!important;border:1px solid #CBD5E1!important;color:#475569!important;background:#fff!important;font-weight:700!important}
body .tier-chip:hover{border-color:#16A34A!important;color:#15803D!important}
body .tier-chip.on{background:#16A34A!important;border-color:#16A34A!important;color:#fff!important}
/* v529: no inner border/focus ring on the combined "input + button" fields */
body .sp-check input,body .sp-check input:focus,body .sx-inline-form input,body .sx-inline-form input:focus,body .sx-hero-form input,body .sx-hero-form input:focus,body .sx-audit-card #urlInput,body .sx-audit-card #urlInput:focus{border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important}
body .sp-check:focus-within,body .sx-inline-form:focus-within{box-shadow:0 0 0 4px rgba(255,255,255,.35),0 20px 40px -20px rgba(0,0,0,.5)}
/* v530: Settings use the same 1200px width as every other app page */
body .set-layout{max-width:none!important}

/* ════════════════════════════════════════════════════════════════════
   v531 — results page: one flow (verdict → action plan → chain → engines
   → clickable checks → next steps). The legacy blocks are hidden.
   Softer status colours: emerald for passed, warm amber for open.
   ════════════════════════════════════════════════════════════════════ */
:root{--sx-ok:#34D399;--sx-ok-s:#ECFDF5;--sx-ok-t:#047857;--sx-open:#FBBF24;--sx-open-s:#FFFBEB;--sx-open-b:#FDE68A;--sx-open-t:#92400E}
#analyzeState.sx-v2 > div.grid:has(#dashBox1),#analyzeState.sx-v2 #dashCatCards,#analyzeState.sx-v2 #seoSection,#analyzeState.sx-v2 #reportHeader,#analyzeState.sx-v2 #reportEmailCapture,#analyzeState.sx-v2 #dashRecsCard,#analyzeState.sx-v2 #dashRecsPlaceholder{display:none!important}
.sx-insights{display:flex;flex-direction:column;gap:16px}
.sx-insights > *{margin:0!important}

/* softer palette for existing pieces */
.sx-cell.pass{background:var(--sx-ok)}
.sx-cell.fail{background:var(--sx-open)}
.sx-eng.miss{border-color:var(--sx-open-b);background:var(--sx-open-s)}
.sx-eng.miss small,.sx-eng.miss .sx-eng-st{color:var(--sx-open-t)}
.sx-eng.ok{border-color:#A7F3D0;background:var(--sx-ok-s)}
.sx-eng.ok small{color:var(--sx-ok-t)}.sx-eng.ok .sx-eng-st{color:#10B981}
.sx-eng-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:900px){.sx-eng-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sx-chain-list li.bad{background:var(--sx-open-s)!important;border-color:var(--sx-open-b)!important}
.sx-cl-break{background:#F59E0B!important}

/* Action plan */
.sx-plan .sx-panel-head{align-items:flex-start}
.sx-plan-gain{flex-shrink:0;font-size:14px;font-weight:800;color:#047857;background:var(--sx-ok-s);border:1px solid #A7F3D0;border-radius:99px;padding:5px 12px}
.sx-fixes{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.sx-fix{border:1px solid var(--sx-line);border-radius:16px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.sx-fix[open]{border-color:#C7D2FE;box-shadow:0 16px 36px -30px rgba(37,99,235,.6)}
.sx-fix summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 16px;min-height:56px}
.sx-fix summary::-webkit-details-marker{display:none}
.sx-fix-n{width:28px;height:28px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;background:var(--sx-open-s);color:var(--sx-open-t);border:1px solid var(--sx-open-b)}
.sx-fix-t{flex:1;min-width:0;display:flex;flex-direction:column}
.sx-fix-t b{font-size:15px;color:var(--sx-ink);line-height:1.3}
.sx-fix-t small{font-size:12.5px;color:var(--sx-muted)}
.sx-fix-g{flex-shrink:0;font-size:12.5px;font-weight:800;color:#047857;background:var(--sx-ok-s);border-radius:99px;padding:3px 9px}
.sx-fix-chev{width:10px;height:10px;border-right:2px solid #94A3B8;border-bottom:2px solid #94A3B8;transform:rotate(45deg);margin:0 4px 4px;flex-shrink:0;transition:transform .2s}
.sx-fix[open] .sx-fix-chev{transform:rotate(225deg);margin-bottom:-4px}
.sx-fix .sx-cd{padding:0 16px 16px 56px}
@media(max-width:519px){.sx-fix .sx-cd{padding:0 14px 14px}}
.sx-plan-more{margin-top:10px;border:0;background:none;font:800 14px Manrope,sans-serif;color:var(--sx-blue);cursor:pointer;padding:6px 0}

/* Check detail */
.sx-cd{display:flex;flex-direction:column;gap:12px}
.sx-cd-h{display:flex;align-items:center;gap:10px}
.sx-cd-h b{flex:1;min-width:0;font-size:15px;color:var(--sx-ink)}
.sx-cd-st{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:6px;padding:3px 8px;flex-shrink:0}
.sx-cd-st.pass{background:var(--sx-ok-s);color:var(--sx-ok-t)}
.sx-cd-st.open{background:var(--sx-open-s);color:var(--sx-open-t)}
.sx-cd-x{border:0;background:var(--sx-soft2);width:30px;height:30px;border-radius:8px;font-size:18px;line-height:1;color:#64748B;cursor:pointer;flex-shrink:0}
.sx-cd-cat{margin-top:-8px;font-size:12px;color:var(--sx-muted)}
.sx-cd-row{display:flex;flex-direction:column;gap:4px}
.sx-cd-row > span{font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#64748B}
body .page-body .sx-cd-row p{margin:0!important;font-size:14px!important;line-height:1.55!important;color:#334155!important}
.sx-cd-q{background:var(--sx-soft);border-radius:10px;padding:8px 10px;font-style:italic}
.sx-cd-code{position:relative;background:#0F172A;border-radius:12px;overflow:hidden}
.sx-cd-code pre{margin:0;padding:14px 16px;padding-right:76px;font:500 12.5px/1.55 "JetBrains Mono",ui-monospace,monospace;color:#E2E8F0;white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto}
.sx-cd-code button{position:absolute;top:8px;right:8px;border:0;border-radius:8px;background:rgba(255,255,255,.12);color:#fff;font:800 12px Manrope,sans-serif;padding:6px 10px;cursor:pointer}
.sx-cd-code button:hover{background:rgba(255,255,255,.22)}

/* Clickable check map */
.sx-map-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin:-2px 0 14px}
.sx-seg{display:inline-flex;background:var(--sx-soft2);border-radius:12px;padding:4px;gap:2px}
.sx-seg button{border:0;background:transparent;border-radius:9px;min-height:36px;padding:0 12px;font:700 13px Manrope,sans-serif;color:#475569;cursor:pointer;white-space:nowrap}
.sx-seg button b{font-weight:800;color:#94A3B8;margin-left:2px}
.sx-seg button.on{background:#fff;color:var(--sx-ink);box-shadow:0 1px 3px rgba(15,23,42,.12)}
.sx-seg button.on b{color:var(--sx-ink)}
.sx-map-cells{gap:6px}
button.sx-cell{border:0;padding:0;cursor:pointer;width:26px;height:26px;border-radius:7px;transition:transform .12s,box-shadow .12s}
@media(min-width:768px){button.sx-cell{width:22px;height:22px;border-radius:6px}}
button.sx-cell:hover{transform:translateY(-2px) scale(1.06)}
button.sx-cell:focus-visible{outline:2px solid var(--sx-blue);outline-offset:2px}
button.sx-cell.on{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--sx-ink)}
.sx-checks[data-filter="open"] .sx-cell.pass,.sx-checks[data-filter="pass"] .sx-cell.fail{opacity:.18}
.sx-map-detail{display:none}
.sx-map-detail.open{display:block;margin-top:10px;background:var(--sx-soft);border:1px solid var(--sx-line);border-radius:16px;padding:14px;animation:sxFade .25s ease both}
.sx-legend{margin-top:14px}

/* Next steps */
.sx-next-grid{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:760px){.sx-next-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sx-next-card{display:flex;flex-direction:column;gap:4px;border:1px solid var(--sx-line);border-radius:16px;padding:14px 16px;text-decoration:none!important;background:#fff;transition:transform .15s,box-shadow .15s,border-color .15s}
.sx-next-card:hover{transform:translateY(-2px);border-color:#BFDBFE;box-shadow:0 16px 32px -26px rgba(37,99,235,.6)}
.sx-next-card .material-symbols-outlined{font-size:22px;color:var(--sx-blue)}
.sx-next-card b{font-size:15px;color:var(--sx-ink)}
.sx-next-card small{font-size:13px;color:var(--sx-muted);line-height:1.45}
.sx-next-bar .action-bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--sx-line)}
.sx-next-bar .btn-action{min-height:40px;border-radius:12px!important}
.sx-mcp-more{margin-top:12px;border-top:1px solid var(--sx-line);padding-top:12px}
.sx-mcp-more summary{cursor:pointer;font-size:14px;font-weight:700;color:#475569}
.sx-mcp-more #mcpNextStep{margin:12px 0 0!important}
@media(max-width:519px){.sx-eng-grid{grid-template-columns:1fr}}

/* v532: horizontally scrolling menus/tab rows — no scrollbars (Windows shows them permanently) */
.mon-tabs,.set-nav,.ft-nav,.fx-tabs,.sx-chips,.carousel-track-wrap,.sx-flow-box,.sx-chain,.sx-chain-light,.sx-map-tabs,.sx-map-filters,[role="tablist"],nav{scrollbar-width:none!important;-ms-overflow-style:none!important}
.mon-tabs::-webkit-scrollbar,.set-nav::-webkit-scrollbar,.ft-nav::-webkit-scrollbar,.fx-tabs::-webkit-scrollbar,.sx-chips::-webkit-scrollbar,.carousel-track-wrap::-webkit-scrollbar,.sx-flow-box::-webkit-scrollbar,.sx-chain::-webkit-scrollbar,.sx-chain-light::-webkit-scrollbar,.sx-map-tabs::-webkit-scrollbar,.sx-map-filters::-webkit-scrollbar,[role="tablist"]::-webkit-scrollbar,nav::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* v532: report page in the case-study design */
.sx-rep-h1{display:flex;align-items:center;gap:12px;min-width:0}
.sx-rep-h1 img{width:40px;height:40px;border-radius:12px;background:#fff;padding:6px;flex:none;box-shadow:0 10px 22px -12px rgba(0,0,0,.6)}
.sx-rep-h1 span{min-width:0;overflow-wrap:anywhere}
.sx-rep-app .cs-actions select{height:38px;border:1px solid #e2e8f0;border-radius:.55rem;padding:0 .7rem;font-size:.85rem;background:#fff}
@media(max-width:640px){.sx-rep-pv{display:none}}
@media print{.sx-rep-app .mon-tabs-wrap,.sx-rep-app .sx-tool-hero,.sx-rep-app .cs-actions{display:none!important}}

/* v533: locked solutions (free / signed-out users) */
.sx-lock{position:relative;border:1px dashed #C7D2FE;border-radius:14px;background:linear-gradient(135deg,#EEF2FF,#fff 70%);padding:14px 16px;margin:10px 0 4px;overflow:hidden}
.sx-lock-fake{display:flex;flex-direction:column;gap:7px;filter:blur(3px);opacity:.55;margin-bottom:12px}
.sx-lock-fake i{display:block;height:9px;border-radius:99px;background:#94A3B8}
.sx-lock-c{display:flex;gap:12px;align-items:flex-start}
.sx-lock-c>.material-symbols-outlined{font-size:22px;color:#4F46E5;background:#fff;border-radius:10px;padding:6px;box-shadow:0 6px 16px -10px rgba(79,70,229,.6);flex:none}
.sx-lock-c b{display:block;color:#0F172A;font-size:.92rem;line-height:1.35}
.sx-lock-c p{margin:.2rem 0 .65rem!important;font-size:.84rem!important;color:#475569!important;line-height:1.5!important}
.sx-lock-a{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
.sx-lock-a .sx-btn{padding:9px 16px!important;font-size:.85rem!important;text-decoration:none!important}
.sx-lock-in{font-size:.82rem;font-weight:700;color:#4F46E5!important;text-decoration:none!important}
.sx-lock-big{margin:0 0 14px}
.sx-lock-big .sx-lock-fake{display:none}
.sx-lock-big .sx-lock-c b{font-size:1rem}
.sx-lock-mini{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:.82rem;font-weight:700;color:#4F46E5!important;text-decoration:none!important;background:#EEF2FF;border-radius:99px;padding:6px 12px}
.sx-lock-mini .material-symbols-outlined{font-size:16px}

/* ── SNA-1 (v535): benchmark monitor results — card ranking, trend, run banner, Monitorboard picker ── */
.bm-mres{margin-top:.8rem;padding:.75rem .85rem;border:1px solid #FDE68A;border-radius:14px;background:linear-gradient(135deg,#FFFBEB,#fff 70%)}
.bm-mres-empty{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#92400E}
.bm-mres-empty .material-symbols-outlined{font-size:18px;color:#D97706}
.bm-mres-rank{display:grid;gap:5px}
.bm-mres-row{display:grid;grid-template-columns:18px minmax(0,150px) 1fr 44px;align-items:center;gap:.5rem;font-size:.78rem;color:#475569}
.bm-mres-row .n{font-weight:800;color:#94A3B8;text-align:center}
.bm-mres-row .h{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bm-mres-row .t{height:8px;border-radius:99px;background:#F1F5F9;overflow:hidden}
.bm-mres-row .t i{display:block;height:100%;border-radius:99px;background:#CBD5E1;animation:bmGrowW .7s ease-out both}
.bm-mres-row b{text-align:right;color:#0F172A;font-weight:800}
.bm-mres-row.you{color:#9A3412;font-weight:700}
.bm-mres-row.you .t i{background:linear-gradient(90deg,#FB923C,#EA580C)}
.bm-mres-row.you .n{color:#EA580C}
@keyframes bmGrowW{from{width:0}}
.bm-mres-foot{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.6rem;font-size:.72rem;color:#94A3B8;flex-wrap:wrap}
.bm-mres-trend{display:inline-flex;align-items:center;gap:.35rem}
.bm-mres-trend em{font-style:normal;font-weight:800;font-size:.78rem}
.bm-res-btn.on{background:#FEF3C7!important;border-color:#F59E0B!important;color:#92400E!important}
.bm-run-banner{display:flex;align-items:center;gap:.7rem;margin:0 0 1rem;padding:.8rem 1rem;border-radius:16px;background:linear-gradient(135deg,#FFF7ED,#fff);border:1px solid #FED7AA}
.bm-run-banner .material-symbols-outlined{font-size:22px;color:#EA580C}
.bm-run-banner b{display:block;font-size:.9rem;color:#0F172A}
.bm-run-banner small{display:block;font-size:.76rem;color:#64748B;margin-top:.1rem}
.bm-mb-pick{display:flex;gap:.35rem;flex-wrap:wrap;margin:-2px 0 .6rem}
.bm-mb-pick button{border:1px solid #E2E8F0;background:#fff;border-radius:99px;padding:.25rem .7rem;font-size:.72rem;font-weight:700;color:#64748B;cursor:pointer;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bm-mb-pick button.on{background:#FEF3C7;border-color:#F59E0B;color:#92400E}
.bm-mres-pend{display:flex;justify-content:space-between;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #F1F5F9;font-size:.8rem}
.bm-mres-pend b{color:#0F172A}.bm-mres-pend span{color:#94A3B8}
@media(max-width:520px){.bm-mres-row{grid-template-columns:16px minmax(0,96px) 1fr 38px}}

/* ── SNA-10 (v535): Share & Send panel (after a short link), toast, SMTP settings, case-study QR ── */
.ss-panel{margin-top:14px;border:1px solid #E0E7FF;border-radius:18px;background:linear-gradient(180deg,#F8FAFF,#fff 60%);padding:14px 16px 16px;text-align:left}
.ss-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.ss-head>.material-symbols-outlined{font-size:20px;color:#4F46E5}
.ss-head b{font-size:15px;color:#0F172A;flex:1}
.ss-lang{display:inline-flex;border:1px solid #E2E8F0;border-radius:99px;padding:2px;background:#fff}
.ss-lang button{border:0;background:none;font-weight:800;font-size:11px;line-height:1;font-family:inherit;letter-spacing:.06em;color:#64748B;padding:6px 10px;border-radius:99px;cursor:pointer}
.ss-lang button.on{background:#4F46E5;color:#fff}
.ss-lbl{display:block;font-size:11.5px;font-weight:700;color:#475569;margin:10px 0 4px}
.ss-text,.ss-in{width:100%;border:1px solid #CBD5E1;border-radius:12px;padding:10px 12px;font:inherit;font-size:14px;color:#0F172A;background:#fff;box-sizing:border-box}
.ss-text{min-height:118px;line-height:1.5;resize:vertical}
.ss-text:focus,.ss-in:focus{outline:none;border-color:#4F46E5;box-shadow:0 0 0 3px rgba(79,70,229,.14)}
.ss-text.ss-loading{background:linear-gradient(90deg,#F1F5F9 0%,#E0E7FF 50%,#F1F5F9 100%);background-size:200% 100%;animation:ssShimmer 1.2s linear infinite}
@keyframes ssShimmer{to{background-position:-200% 0}}
.ss-text-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
.ss-src{font-size:11.5px;color:#94A3B8}.ss-src.err{color:#B91C1C}
.ss-regen{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:#4F46E5;font-weight:700;font-size:12px;font-family:inherit;cursor:pointer;padding:4px}
.ss-regen .material-symbols-outlined{font-size:16px}
.ss-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0 4px;padding:4px;background:#F1F5F9;border-radius:14px}
.ss-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:none;border-radius:10px;padding:9px 8px;font-weight:700;font-size:13px;font-family:inherit;color:#475569;cursor:pointer}
.ss-tabs button.on{background:#fff;color:#0F172A;box-shadow:0 1px 3px rgba(15,23,42,.12)}
.ss-tabs .material-symbols-outlined{font-size:18px}
.ss-ig-ico{display:inline-block;width:17px;height:17px;border-radius:5px;background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%);position:relative;flex-shrink:0}
.ss-ig-ico:after{content:"";position:absolute;inset:4px;border:2px solid #fff;border-radius:50%}
.ss-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#334155;margin-top:10px;cursor:pointer}
.ss-check input{width:16px;height:16px;accent-color:#4F46E5}
.ss-act{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.ss-act .material-symbols-outlined{font-size:17px}
.ss-ig-btn{background:linear-gradient(90deg,#F58529,#DD2A7B 45%,#8134AF 75%,#515BD4)!important;color:#fff!important;border:0!important}
.ss-msg{font-size:12.5px;font-weight:600;color:#64748B}.ss-msg.ok{color:#16A34A}.ss-msg.err{color:#B91C1C}
.ss-ig-prev{white-space:pre-wrap;font-size:13px;line-height:1.5;color:#334155;background:#fff;border:1px dashed #CBD5E1;border-radius:12px;padding:10px 12px;max-height:220px;overflow:auto;margin-top:10px}
.ss-hint{font-size:11.5px;color:#94A3B8;margin:8px 0 0}
.ss-locked{display:flex;align-items:center;gap:10px}
.ss-locked>.material-symbols-outlined{color:#F97316}
.ss-locked div{flex:1}.ss-locked b{display:block;font-size:14px;color:#0F172A}.ss-locked small{display:block;font-size:12px;color:#64748B}
.ss-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#0F172A;color:#fff;font-weight:700;font-size:14px;padding:11px 18px;border-radius:12px;box-shadow:0 14px 34px -12px rgba(15,23,42,.5);z-index:9999;animation:ssIn .25s ease-out}
.ss-toast.out{opacity:0;transition:opacity .35s}
@keyframes ssIn{from{opacity:0;transform:translate(-50%,10px)}}
.sx-sheet-send .ss-panel{margin-top:12px}
.sx-sheet{max-height:92vh;overflow:auto}
.smtp-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.smtp-grid label{display:block;font-size:.75rem;font-weight:600;color:rgba(19,27,46,.7)}
.smtp-grid .form-control{margin-top:.25rem;width:100%;height:40px;padding:0 .75rem;border:1px solid #E2E8F0;border-radius:.5rem;font-size:.85rem;background:#fff}
.smtp-state{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#B45309;background:#FEF3C7;border-radius:99px;padding:.15rem .5rem}
.smtp-state:empty{display:none}.smtp-state.ok{color:#15803D;background:#DCFCE7}
.snaff-qr.qr-pending .qr-hint{max-width:240px;margin:0 auto;opacity:.9}
@media(max-width:560px){.smtp-grid{grid-template-columns:1fr}.ss-tabs{grid-template-columns:1fr}}

/* ── SNA-8 (v535): GEO before/after sandbox ── */
.sx-th-sandbox{background:linear-gradient(115deg,#042F2E 0%,#134E4A 45%,#0D9488 100%);--th-kick:#99F6E4;--th-glow:rgba(94,234,212,.32)}
.sb-hero-vis{display:flex;align-items:center;gap:12px;justify-content:center}
.sb-hero-vis>div{width:120px;border-radius:16px;padding:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);display:grid;gap:7px}
.sb-hero-vis b{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#CCFBF1}
.sb-hero-vis i{display:block;height:8px;border-radius:99px;background:rgba(255,255,255,.25)}
.sb-hero-vis i.s{width:60%;background:rgba(248,113,113,.7)}.sb-hero-vis i.g{background:#34D399}.sb-hero-vis i.v{width:75%;background:#A78BFA}
.sb-hero-vis em{font-style:normal;font-weight:800;font-size:22px;color:#fff}
.sb-hero-vis .material-symbols-outlined{color:#5EEAD4;font-size:28px}
.sb-form-row{display:flex;gap:8px;margin-top:6px}
.sb-form-row input{flex:1;min-width:0;height:46px;border:1px solid #CBD5E1;border-radius:12px;padding:0 14px;font-size:15px}
.sb-form-row input:focus{outline:none;border-color:#0D9488;box-shadow:0 0 0 3px rgba(13,148,136,.15)}
.sb-form-row .sx-btn{white-space:nowrap}
.sb-note{display:flex;gap:6px;align-items:flex-start;font-size:12px;color:#64748B;margin:10px 0 0}
.sb-note .material-symbols-outlined{font-size:16px;color:#0D9488}
.sb-score{display:grid;grid-template-columns:auto auto auto 1fr;align-items:center;gap:18px;padding:18px 20px;border-radius:22px!important;margin-bottom:14px}
.sb-sc{display:flex;align-items:center;gap:10px}
.sb-sc-ring{position:relative;width:74px;height:74px}.sb-ring{width:74px;height:74px}
.sb-sc-ring b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;color:#0F172A}
.sb-sc span{display:block;font-weight:800;color:#0F172A;font-size:14px}.sb-sc small{display:block;font-size:11.5px;color:#94A3B8;max-width:150px}
.sb-sc-arrow{display:flex;flex-direction:column;align-items:center;color:#94A3B8}
.sb-sc-arrow em{font-style:normal;font-weight:800;font-size:13px;color:#64748B}.sb-sc-arrow em.up{color:#16A34A}
.sb-gains{display:grid;gap:5px;max-height:150px;overflow:auto;padding-left:14px;border-left:1px solid #E2E8F0}
.sb-gain{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;font-size:12.5px;color:#334155}
.sb-gain i{width:10px;height:10px;border-radius:3px;background:#10B981}.sb-gain i.k-schema{background:#8B5CF6}.sb-gain i.k-meta{background:#0EA5E9}.sb-gain i.k-llms{background:#0D9488}.sb-gain i.k-text{background:#F59E0B}
.sb-gain b{color:#16A34A;font-size:12px}
.sb-muted{font-size:12.5px;color:#94A3B8;margin:0}
.sb-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:6px 0 10px}
.sb-view,.sb-side{display:inline-flex;background:#F1F5F9;border-radius:12px;padding:3px}
.sb-view button,.sb-side button{display:inline-flex;align-items:center;gap:5px;border:0;background:none;border-radius:9px;padding:7px 11px;font-weight:700;font-size:12.5px;font-family:inherit;color:#475569;cursor:pointer}
.sb-view button.on,.sb-side button.on{background:#fff;color:#0F172A;box-shadow:0 1px 3px rgba(15,23,42,.12)}
.sb-view .material-symbols-outlined{font-size:17px}
.sb-legend{display:flex;gap:10px;flex-wrap:wrap;margin-left:auto;font-size:11.5px;color:#64748B}
.sb-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:4px;vertical-align:-1px}
.sb-legend .add{background:#10B981}.sb-legend .sch{background:#8B5CF6}.sb-legend .opt{background:#F59E0B}.sb-legend .mis{background:#EF4444}
.sb-cmp{display:grid;gap:12px}
.sb-cmp.sb-split{grid-template-columns:1fr 1fr}
.sb-cmp.sb-single{grid-template-columns:1fr}
.sb-cmp.sb-single[data-side="after"] .sb-pane.before,.sb-cmp.sb-single[data-side="before"] .sb-pane.after{display:none}
.sb-pane{margin:0;border:1px solid #E2E8F0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 18px 40px -30px rgba(15,23,42,.35)}
.sb-pane figcaption{display:flex;align-items:center;gap:7px;padding:9px 14px;font-size:12.5px;font-weight:700;color:#334155;background:#F8FAFC;border-bottom:1px solid #E2E8F0}
.sb-pane .dot{width:9px;height:9px;border-radius:50%}.sb-pane .dot.r{background:#EF4444}.sb-pane .dot.g{background:#10B981}
.sb-frame{position:relative;overflow:hidden;height:680px;background:#F1F5F9}
.sb-frame iframe{position:absolute;top:0;left:0;display:block;border:0;background:#fff;transform-origin:0 0}
.sb-frame[data-dev="mobile"] iframe{box-shadow:0 0 0 1px #E2E8F0,0 20px 40px -24px rgba(15,23,42,.4)}
.sb-chips{display:flex;flex-wrap:wrap;gap:5px;padding:8px 12px;border-bottom:1px solid #E2E8F0;background:#fff}
.sb-chip{font-size:11px;font-weight:700;border-radius:99px;padding:3px 8px;background:#F1F5F9;color:#475569}
.sb-chip.mis{background:#FEF2F2;color:#B91C1C}.sb-chip.sch{background:#F5F3FF;color:#6D28D9}.sb-chip.add{background:#ECFDF5;color:#047857}
.sb-dev{display:inline-flex;background:#F1F5F9;border-radius:12px;padding:3px}
.sb-dev button{display:inline-flex;align-items:center;gap:5px;border:0;background:none;border-radius:9px;padding:7px 11px;font-weight:700;font-size:12px;font-family:inherit;color:#475569;cursor:pointer}
.sb-dev button.on{background:#fff;color:#0F172A;box-shadow:0 1px 3px rgba(15,23,42,.12)}
.sb-dev .material-symbols-outlined{font-size:17px}
.sb-js-note{font-size:11.5px;color:#94A3B8;margin:8px 2px 0}
.sb-fix{margin-top:16px;padding:18px 20px;border-radius:22px!important}
.sb-fix-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sb-files{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 10px}
.sb-files button{display:inline-flex;align-items:center;gap:5px;border:1px solid #E2E8F0;background:#fff;border-radius:99px;padding:6px 12px;font-weight:700;font-size:12.5px;font-family:inherit;color:#475569;cursor:pointer}
.sb-files button.on{border-color:#0D9488;background:#F0FDFA;color:#0F766E}
.sb-files .material-symbols-outlined{font-size:16px}
.sb-code{border-radius:16px;overflow:hidden;border:1px solid #1E293B;background:#0F172A}
.sb-code-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 8px 14px;background:#111C33;color:#CBD5E1;font-size:12.5px;flex-wrap:wrap}
.sb-code-bar>span{display:inline-flex;gap:6px}
.sb-code-bar .sx-btn-ghost{background:rgba(255,255,255,.08)!important;color:#E2E8F0!important;border-color:rgba(255,255,255,.15)!important}
.sb-code pre{margin:0;padding:14px 16px;max-height:420px;overflow:auto;font:12.5px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;color:#E2E8F0;white-space:pre-wrap;word-break:break-word}
.sb-plan-link{margin:0 0 10px}
/* v550: change plan (what to change, where, before → after, code) */
.sb-plan{padding:18px 20px;border-radius:22px!important;margin-bottom:14px}
.sb-plan-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.sb-plan-tot{font-size:26px;font-weight:800;color:#16A34A;letter-spacing:-.02em;white-space:nowrap;line-height:1}.sb-plan-tot small{display:block;font-size:11px;font-weight:700;color:#94A3B8;letter-spacing:0;text-align:right;margin-top:3px}
.sb-pc{border:1px solid #E2E8F0;border-left:4px solid var(--pc);border-radius:14px;background:#fff;margin-top:8px;overflow:hidden}
.sb-pc.warn{background:#FEF2F2;border-color:#FECACA;border-left-color:#DC2626}
.sb-pc summary{display:flex;align-items:center;gap:9px;padding:11px 14px;cursor:pointer;list-style:none;font-size:14px;color:#0F172A}
.sb-pc summary::-webkit-details-marker{display:none}
.sb-pc summary b{flex:1;min-width:0;font-weight:800}
.sb-pc summary .material-symbols-outlined{font-size:19px;color:var(--pc)}
.sb-pc summary em{font-style:normal;font-weight:800;font-size:12px;color:#16A34A;background:#F0FDF4;border-radius:99px;padding:3px 9px;white-space:nowrap}
.sb-pc summary em.w{color:#B91C1C;background:#FEE2E2}
.sb-pc .sb-pc-x{color:#94A3B8!important;transition:transform .2s}.sb-pc[open] .sb-pc-x{transform:rotate(180deg)}
.sb-pc-n{width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:var(--pc);color:#fff;font-size:11.5px;font-weight:800;display:flex;align-items:center;justify-content:center}
.sb-pc-b{padding:0 14px 14px 45px}
.sb-pc-why{font-size:13px;color:#334155;line-height:1.55;margin:0 0 8px}
.sb-pc-where{display:flex;gap:6px;align-items:flex-start;font-size:12.5px;color:#475569;background:#F8FAFC;border-radius:10px;padding:8px 10px;margin:0 0 10px;line-height:1.5}
.sb-pc-where .material-symbols-outlined{font-size:16px;color:var(--pc)}.sb-pc-where b{color:#0F172A}
.sb-pr{display:grid;grid-template-columns:120px minmax(0,1fr) 20px minmax(0,1fr);gap:8px;align-items:stretch;margin-top:6px}
.sb-pr-h{margin-top:0}.sb-pr-h span{font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#94A3B8}
.sb-pr .k{font-size:12px;font-weight:700;color:#475569;padding-top:7px}
.sb-pr .ar{font-size:16px;color:#CBD5E1;align-self:center}
.sb-pr .v{font-size:12.5px;line-height:1.5;border-radius:10px;padding:7px 10px;word-break:break-word;color:#0F172A}
.sb-pr .v.b{background:#FEF2F2;border:1px solid #FEE2E2}.sb-pr .v.a{background:#ECFDF5;border:1px solid #D1FAE5}
.sb-pr .v i{color:#B91C1C;font-style:normal;font-weight:700}.sb-pr .v.a i{color:#94A3B8}
.sb-pr .v small{color:#94A3B8;font-size:10.5px;white-space:nowrap}
.sb-pr .v ul{margin:0;padding-left:16px}.sb-pr .v li{margin:1px 0}
.sb-pc-note{font-size:12px;color:#64748B;margin:8px 0 0}
.sb-pc-code{margin-top:10px;border-radius:12px;overflow:hidden;border:1px solid #1E293B;background:#0F172A}
.sb-pc-cb{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 6px 12px;background:#111C33;color:#CBD5E1;font-size:12px;flex-wrap:wrap}
.sb-pc-cb>span:last-child{display:inline-flex;gap:6px}
.sb-pc-cb .sx-btn-ghost{background:rgba(255,255,255,.08)!important;color:#E2E8F0!important;border-color:rgba(255,255,255,.15)!important}
.sb-pc-code pre{margin:0;padding:10px 12px;max-height:240px;overflow:auto;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;color:#E2E8F0;white-space:pre-wrap;word-break:break-word}
.sb-man{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.sb-man li{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:#334155;border:1px solid #F1F5F9;border-radius:9px;padding:6px 10px}
.sb-man small{display:block;font-size:11px;color:#94A3B8}.sb-man b{color:#16A34A;font-size:12px;white-space:nowrap}
@media(max-width:640px){.sb-pc-b{padding-left:14px}.sb-pr{grid-template-columns:1fr}.sb-pr .ar{transform:rotate(90deg);justify-self:center}.sb-pr .k{padding-top:2px}.sb-pr-h{display:none}.sb-plan-h{flex-direction:column}}
@media(max-width:860px){.sb-score{grid-template-columns:auto auto auto}.sb-gains{grid-column:1/-1;border-left:0;padding-left:0;border-top:1px solid #E2E8F0;padding-top:10px}}
@media(max-width:760px){.sb-cmp.sb-split{grid-template-columns:1fr}.sb-legend{margin-left:0}.sb-form-row{flex-direction:column}.sb-score{grid-template-columns:1fr auto 1fr;gap:10px}.sb-sc{flex-direction:column;text-align:center}}

/* ── v536: benchmark page — picker next to "Run a new benchmark", selected benchmark below ── */
.bm-pick-list{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;max-height:340px;overflow-y:auto;overflow-x:hidden;padding:3px}
.bm-pick{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid #E2E8F0;background:#fff;border-radius:14px;padding:10px 12px;cursor:pointer;font-family:inherit;transition:border-color .15s,box-shadow .15s,background .15s}
.bm-pick:hover{border-color:#FCD34D;background:#FFFDF5}
.bm-pick.on{border-color:#F59E0B;background:linear-gradient(135deg,#FFFBEB,#fff);box-shadow:0 0 0 3px rgba(245,158,11,.16)}
.bm-pick.paused{opacity:.65}
.bm-pick-txt{flex:1 1 auto;min-width:0;overflow:hidden}
.bm-pick-txt b{display:block;font-size:13.5px;color:#0F172A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bm-pick-txt small{display:block;font-size:11.5px;color:#94A3B8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bm-pick-sc{text-align:right;flex-shrink:0}.bm-pick-sc b{display:block;font-size:16px;font-weight:800}.bm-pick-sc small{font-size:11px;color:#94A3B8}
.bm-pick-empty{font-size:13px;color:#94A3B8;padding:14px;text-align:center;border:1px dashed #E2E8F0;border-radius:14px}
.bm-results{margin-top:18px}
.bm-detail{padding:18px 20px!important;border-radius:22px!important;margin-bottom:16px;border:1px solid #FDE68A!important}
.bm-detail-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.bm-detail-k{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#B45309}
.bm-detail h2{font-size:20px;font-weight:800;color:#0F172A;margin:2px 0}
.bm-detail-h small{font-size:12.5px;color:#64748B}
.bm-detail-sc{text-align:right}.bm-detail-sc b{display:block;font-size:28px;font-weight:800;color:#0F172A;line-height:1}.bm-detail-sc small{font-size:12px;color:#94A3B8}
.bm-detail-act{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;margin-top:.8rem}
.bm-detail-run{font-size:12px;color:#94A3B8;margin:.6rem 0 0}
/* v541: e-mail preview overlay */
.ss-prev-ov{position:fixed;inset:0;z-index:10000;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.ss-prev-box{width:min(680px,100%);height:min(88vh,980px);background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 80px -20px rgba(15,23,42,.6)}
.ss-prev-h{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid #E2E8F0;font-size:14px;color:#0F172A}
.ss-prev-h b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-prev-h button{border:0;background:#F1F5F9;border-radius:10px;width:34px;height:34px;font-size:22px;line-height:1;cursor:pointer;color:#334155}
.ss-prev-box iframe{flex:1;width:100%;border:0;background:#f4f5fb}
/* v542: home hero — rotating AI engine + "Be the answer for AI" tagline */
.sx-hero-engine{display:inline-block;color:var(--sx-ink);animation:sxEngineIn .6s cubic-bezier(.2,.8,.2,1) both}
@keyframes sxEngineIn{from{opacity:0;transform:translateY(.25em)}to{opacity:1;transform:none}}
.sx-hero-tagline{display:block;margin-top:.45em;font-size:max(1.2rem,.42em);line-height:1.15;letter-spacing:-.02em;font-weight:800;background:linear-gradient(90deg,#2563EB,#7C3AED);-webkit-background-clip:text;background-clip:text;color:transparent}
body:has(#analyzeState[style*="block"]) .sx-hero-tagline{display:none}
@media (prefers-reduced-motion:reduce){.sx-hero-engine{animation:none}}
/* v546: home "New in snaff" visuals */
.sx-new-vis{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;min-height:150px}
.sx-nv-pane{width:150px;border:1px solid #E2E8F0;background:#fff;border-radius:14px;padding:12px;display:grid;gap:6px;box-shadow:0 12px 30px -22px rgba(15,23,42,.4)}
.sx-nv-pane b{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#64748B}
.sx-nv-pane i{display:block;height:7px;border-radius:99px;background:#E2E8F0}.sx-nv-pane i.s{width:60%}.sx-nv-pane i.g{background:#FCD34D;width:70%}
.sx-nv-pane span{font-size:10.5px;font-weight:800;border-radius:7px;padding:4px 6px}
.sx-nv-pane .miss{background:#FEF2F2;color:#B91C1C;border:1px dashed #EF4444}.sx-nv-pane .add{background:#ECFDF5;color:#047857;border:1px solid #10B981}.sx-nv-pane .sch{background:#F5F3FF;color:#6D28D9;border:1px dashed #8B5CF6}
.sx-nv-pane em{font-style:normal;font-weight:800;font-size:20px;color:#0F172A}.sx-nv-pane.after em{color:#0D9488}
.sx-nv-arrow{color:#0D9488;font-size:26px}
.sx-nv-link{width:100%;max-width:320px;text-align:center;font-weight:800;font-size:14px;color:#4F46E5;background:#fff;border:1px solid #C7D2FE;border-radius:99px;padding:10px 14px}
.sx-nv-row{display:flex;gap:8px;justify-content:center;width:100%}
.sx-nv-chip{font-size:12.5px;font-weight:800;color:#fff;border-radius:10px;padding:8px 14px}
.sx-nv-chip.mail{background:linear-gradient(135deg,#4F46E5,#0F172A)}.sx-nv-chip.ig{background:linear-gradient(90deg,#F58529,#DD2A7B 50%,#8134AF)}.sx-nv-chip.qr{background:#0F172A}
/* v546: plan badge on feature cards (same look as in the feature explorer) */
.feature-card .fx-plan{display:inline-flex;align-items:center;align-self:flex-start;margin-top:.9rem;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:99px;padding:.3rem .7rem}
