/* ================================================================
   sitesecure.online — site.css
   One light, product-first stylesheet for index.html.

   Replaces style.css, v3/tokens.css, v3/animations.css, v3-bridge.css,
   rendered.css and glass.css. Those layered dark themes on top of each
   other and every restyle had to fight all of them; this file owns the
   whole page instead.

   CSP notes (style-src has no 'unsafe-inline'):
   - no inline style="" in markup; dynamic values arrive as data-* and
     are applied through the CSSOM by ui.js hydrateStyles().
   - elements start hidden with [data-hide]; scripts reveal them either
     by removing the attribute or by setting an inline display, which
     the rule in §1 respects.

   Contrast (WCAG AA, on #fff): ink 17.9:1 · ink-2 7.6:1 · ink-3 4.9:1 ·
   brand 5.4:1 · pass 5.5:1 · warn 5.0:1 · fail 4.8:1.
   ================================================================ */

/* ── 0. Tokens ─────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  --bg:        #ffffff;
  --bg-soft:   #f7f9fc;
  --bg-sunk:   #f2f4f7;
  --ink:       #0b1324;
  --ink-2:     #475467;
  --ink-3:     #667085;
  --line:      #e4e7ec;
  --line-2:    #d0d5dd;

  --brand:       #0e7490;
  --brand-hover: #155e75;
  --brand-2:     #06b6d4;
  --brand-soft:  #ecfeff;
  --brand-line:  #a5f3fc;
  --brand-ring:  0 0 0 4px rgba(14,116,144,.16);

  --pass: #047857;  --pass-bg: #ecfdf3;  --pass-line: #abefc6;
  --warn: #b54708;  --warn-bg: #fffaeb;  --warn-line: #fedf89;
  --fail: #d92d20;  --fail-bg: #fef3f2;  --fail-line: #fecdca;
  --info: #3538cd;  --info-bg: #eef4ff;

  --r-sm: 8px;  --r: 12px;  --r-lg: 16px;  --r-xl: 24px;
  --sh-1: 0 1px 2px rgba(16,24,40,.05);
  --sh-2: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
  --sh-3: 0 12px 32px -12px rgba(16,24,40,.18), 0 4px 8px -4px rgba(16,24,40,.06);
  --sh-4: 0 24px 64px -16px rgba(16,24,40,.24);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --nav-h: 64px;
  --wrap: 1180px;

  /* Legacy names still referenced from JS and SVG attributes */
  --jade: var(--pass);
  --t1: var(--ink); --t2: var(--ink-2); --t3: var(--ink-3); --t4: var(--ink-3);
  --cyan: var(--brand); --border: var(--line);
}

/* ── 1. Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
img, svg { display: inline-block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
pre, code { font-family: var(--mono); }
::selection { background: #cffafe; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* Hidden until a script reveals it (see header). */
[data-hide]:not([style*="display"]) { display: none !important; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 2. Buttons ───────────────────────────────────────────────── */
.btn, .cn-signup-btn, .stb-scan-btn, .auth-submit, .plan-cta, .dw-btn-primary,
.cta-primary, .promo-cta, .waitlist-submit, .waitlist-done, .limit-plan-btn-promo {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  box-shadow: var(--sh-1); transition: background .15s, box-shadow .15s, transform .15s;
}
.btn:hover, .cn-signup-btn:hover, .stb-scan-btn:hover, .auth-submit:hover, .plan-cta:hover,
.dw-btn-primary:hover, .cta-primary:hover, .promo-cta:hover, .waitlist-submit:hover, .waitlist-done:hover {
  background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; text-decoration: none;
}
.btn-ghost, .cn-login-btn, .dw-btn-ghost, .iar-btn, .iar-back, .cta-ghost, .plan-cta-ghost,
.modal-dismiss-btn, .history-rescan, .limit-close-btn, .limit-plan-btn-locked, .plan-cta-locked {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: 10px;
  background: #fff; color: var(--ink); border: 1px solid var(--line-2);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  box-shadow: var(--sh-1); transition: background .15s, border-color .15s;
}
.btn-ghost:hover, .cn-login-btn:hover, .dw-btn-ghost:hover, .iar-btn:hover, .iar-back:hover,
.cta-ghost:hover, .plan-cta-ghost:hover, .modal-dismiss-btn:hover, .history-rescan:hover,
.limit-close-btn:hover, .limit-plan-btn-locked:hover, .plan-cta-locked:hover {
  background: var(--bg-soft); border-color: #98a2b3; color: var(--ink); text-decoration: none;
}
button:disabled { opacity: .55; cursor: not-allowed; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }

.spin-ring, .spin-ring-sm {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
.spin-ring-sm { width: 13px; height: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 3. Inputs ────────────────────────────────────────────────── */
.auth-input, .waitlist-input, .comp-cat-select, .chat-input {
  width: 100%; height: 44px; padding: 0 14px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--sh-1);
  font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.auth-input::placeholder, .waitlist-input::placeholder, .chat-input::placeholder,
.stb-input::placeholder, .stb-comp-input::placeholder { color: #98a2b3; }
.auth-input:focus, .waitlist-input:focus, .comp-cat-select:focus, .chat-input:focus {
  outline: none; border-color: var(--brand); box-shadow: var(--brand-ring);
}

/* ── 4. Navigation ────────────────────────────────────────────── */
.cmd-nav {
  position: sticky; top: 0; z-index: 200; height: var(--nav-h);
  background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
}
.cmd-nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.cn-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.cn-brand:hover { color: var(--ink); text-decoration: none; }
.cn-brand img { width: 28px; height: 32px; }
.cn-brand b { color: var(--brand); font-weight: 700; }
.cn-links { display: flex; gap: 4px; }
.cn-links a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; padding: 8px 12px; border-radius: 8px; }
.cn-links a:hover { color: var(--ink); background: var(--bg-sunk); text-decoration: none; }
.cn-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-auth-area { display: flex; align-items: center; gap: 8px; }
.cn-login-btn, .cn-signup-btn { height: 38px; padding: 0 14px; font-size: 14px; }
.cn-login-btn { border-color: transparent; box-shadow: none; }

.cn-status {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 11px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 12.5px; font-weight: 500;
}
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: #98a2b3; }
.cn-status[data-state="ok"]       .status-pulse { background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,.18); }
.cn-status[data-state="degraded"] .status-pulse { background: #f79009; box-shadow: 0 0 0 3px rgba(247,144,9,.18); }
.cn-status[data-state="down"]     .status-pulse { background: #f04438; box-shadow: 0 0 0 3px rgba(240,68,56,.18); }

.cn-user-menu { position: relative; }
.cn-user-btn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.cn-user-btn:hover { background: var(--bg-soft); }
.cn-avatar, .dw-avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; font-weight: 700; font-size: 13px;
}
.cn-username { font-size: 14px; font-weight: 600; color: var(--ink); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 240px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); z-index: 300;
}
.nav-dropdown.open { display: block; }
.nav-dd-header { padding: 10px 10px 8px; }
.nav-dd-name { font-weight: 600; }
.nav-dd-email { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.nav-dd-role { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600; }
.nav-dd-divider { height: 1px; background: var(--line); margin: 4px 0; }
.nav-dd-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; text-align: left; }
.nav-dd-item:hover { background: var(--bg-sunk); }
.nav-dd-logout { color: var(--fail); }

/* ── 5. Signed-in welcome band ────────────────────────────────── */
.dash-welcome { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.dw-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 16px 0; }
.dw-hello { display: flex; align-items: center; gap: 12px; }
.dw-avatar { width: 40px; height: 40px; font-size: 15px; }
.dw-eyebrow { color: var(--ink-3); font-size: 12.5px; }
.dw-name { font-weight: 700; font-size: 16px; }
.dw-stats { display: flex; flex-wrap: wrap; gap: 28px; }
.dw-stat { display: flex; flex-direction: column; gap: 2px; min-width: 110px; }
.dw-stat-label { color: var(--ink-3); font-size: 12.5px; }
.dw-stat-value { font-weight: 650; font-size: 14.5px; }
.dw-stat-plan { color: var(--brand); text-transform: capitalize; }
.dw-quota-bar { height: 5px; margin-top: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.dw-quota-fill { height: 100%; width: 0; background: var(--brand); border-radius: 99px; }
.dw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.dw-btn { height: 38px; font-size: 14px; padding: 0 14px; }

/* ── 6. Landing (#hero wraps every marketing section) ─────────── */
.landing { display: flex; flex-direction: column; }

.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before {                 /* soft brand wash, top right */
  content: ''; position: absolute; inset: -30% -10% auto 40%; height: 720px; z-index: -1;
  background: radial-gradient(closest-side, rgba(6,182,212,.14), transparent),
              radial-gradient(closest-side at 70% 60%, rgba(14,116,144,.08), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
  color: var(--ink-2); font-size: 13px; font-weight: 500;
}
.eyebrow-tag { padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 650; font-size: 12px; }

.hero h1 {
  margin: 20px 0 16px; font-size: clamp(36px, 5vw, 56px); line-height: 1.06;
  font-weight: 800; letter-spacing: -.035em; color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { max-width: 540px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }

/* Scan box */
.scan-box { margin-top: 30px; max-width: 560px; }
.stb-input-row {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--sh-3);
  transition: border-color .15s, box-shadow .15s;
}
.stb-input-row:focus-within { border-color: var(--brand); box-shadow: var(--brand-ring), var(--sh-3); }
.stb-globe { color: var(--ink-3); display: flex; flex: 0 0 auto; }
.stb-input, .stb-comp-input {
  flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent;
  font-size: 16.5px; color: var(--ink);
}
.stb-scan-btn { height: 48px; padding: 0 22px; border-radius: 10px; font-size: 15.5px; }
.stb-btn-text, .stb-btn-loading { display: inline-flex; align-items: center; gap: 8px; }
.stb-error {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  background: var(--fail-bg); border: 1px solid var(--fail-line); color: #b42318; font-size: 14px;
}
.stb-comp-row { font-weight: 500; display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink-2); font-size: 14px; cursor: pointer; user-select: none; }
.stb-toggle-track { position: relative; width: 36px; height: 20px; border-radius: 99px; background: var(--line-2); transition: background .15s; flex: 0 0 auto; }
.stb-toggle-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); transition: transform .15s; }
.stb-toggle-track.active { background: var(--brand); }
.stb-toggle-track.active .stb-toggle-thumb { transform: translateX(16px); }
#compRowWrap { display: none; }
.stb-comp-url-row {
  display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 2px 6px 2px 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
}
.stb-comp-url-row:focus-within { border-color: var(--brand); box-shadow: var(--brand-ring); }
.stb-comp-input { height: 44px; font-size: 15px; }
.stb-vs-pill { padding: 3px 8px; border-radius: 6px; background: var(--bg-sunk); color: var(--ink-2); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }

.hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; color: var(--ink-2); font-size: 14px; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 7px; }
.hero-ticks svg { color: var(--pass); }

/* Product preview (static mock of a real report) */
.preview { position: relative; }
.pv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-4); overflow: hidden;
}
.pv-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.pv-dots { display: flex; gap: 6px; }
.pv-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.pv-url { flex: 1; height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 7px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.pv-body { padding: 18px; display: grid; gap: 14px; }
.pv-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.pv-ring { position: relative; width: 104px; height: 104px; }
.pv-ring svg { width: 104px; height: 104px; transform: rotate(-90deg); }
.pv-ring circle { fill: none; stroke-width: 10; }
.pv-ring .t { stroke: var(--bg-sunk); }
.pv-ring .v { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 204 283;   /* 72% of 2πr (r=45) */ }
.pv-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.pv-ring-num strong { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pv-ring-num span { color: var(--ink-3); font-size: 11.5px; }
.pv-bars { display: grid; gap: 9px; }
.pv-bar { display: grid; grid-template-columns: 78px 1fr 30px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.pv-bar b { text-align: right; color: var(--ink); font-weight: 650; }
.pv-track { height: 6px; border-radius: 99px; background: var(--bg-sunk); overflow: hidden; }
.pv-track i { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.pv-w-92 { width: 92%; } .pv-w-64 { width: 64%; } .pv-w-81 { width: 81%; } .pv-w-50 { width: 50%; }
.pv-track i.warn { background: #f79009; } .pv-track i.fail { background: #f04438; }
.pv-list { display: grid; gap: 8px; }
.pv-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.pv-row span { flex: 1; font-weight: 550; }
.pv-row small { color: var(--ink-3); font-size: 12px; }
.pv-code {
  margin: 0; padding: 12px 14px; border-radius: 10px; background: #0b1324; color: #e2e8f0;
  font-size: 12px; line-height: 1.6; overflow: hidden; white-space: pre;
}
.pv-code .k { color: #67e8f9; } .pv-code .c { color: #94a3b8; }
.pv-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-3);
  font-size: 13px; font-weight: 600;
}
.pv-float small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; }
.pv-float-1 { left: -28px; bottom: 72px; }
.pv-float-2 { right: -18px; top: 58px; }
.pv-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.pv-ico.ok { background: var(--pass-bg); color: var(--pass); }
.pv-ico.br { background: var(--brand-soft); color: var(--brand); }

/* Status pills (used by preview and results) */
.pill { font-style: normal; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.pill-fail { background: var(--fail-bg); color: #b42318; }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-pass { background: var(--pass-bg); color: var(--pass); }

/* Coverage strip */
.coverage { border-block: 1px solid var(--line); background: var(--bg-soft); padding: 22px 0; }
.coverage .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; }
.coverage p { color: var(--ink-3); font-size: 13.5px; font-weight: 500; }
.coverage ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.coverage li { color: var(--ink-2); font-weight: 650; font-size: 15px; letter-spacing: -.01em; }

/* Section scaffolding */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.kicker { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { margin: 10px 0 12px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.section-head p { color: var(--ink-2); font-size: 17px; }

/* Features 3×2 */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature {
  padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--sh-3); transform: translateY(-2px); border-color: var(--line-2); }
.feature-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line); }
.feature h3 { margin: 18px 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.feature p { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.step-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.step h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 700; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.stat { text-align: center; }
.stat strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.stat span { color: var(--ink-3); font-size: 13.5px; }

/* Closing CTA */
.closing { padding: 72px 0 96px; }
.closing-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 44px; border-radius: var(--r-xl);
  background: radial-gradient(600px 240px at 90% 0%, rgba(6,182,212,.35), transparent), #0b1324; color: #fff;
}
.closing-card h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.closing-card p { color: #cbd5e1; margin-top: 6px; }
.closing-card .btn { background: #fff; color: var(--ink); border-color: #fff; }
.closing-card .btn:hover { background: #e0f7fa; color: var(--ink); border-color: #e0f7fa; }

/* ── 7. Scan progress ─────────────────────────────────────────── */
.scan-progress-section { padding: 72px 0; background: var(--bg-soft); min-height: 60vh; }
.sps-wrap { width: min(680px, 100% - 40px); margin: 0 auto; }
.sps-terminal-chrome { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.sps-chrome-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sps-chrome-dots { display: none; }
.sps-chrome-center { display: flex; align-items: center; gap: 8px; font-weight: 650; min-width: 0; }
.sps-chrome-center svg { color: var(--brand); flex: 0 0 auto; }
.sps-domain { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sps-pct-badge { margin-left: auto; padding: 3px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.sps-progress-track { height: 8px; border-radius: 99px; background: var(--bg-sunk); overflow: hidden; }
.sps-progress-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width .35s ease; }
.sps-status-line { display: flex; gap: 8px; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.sps-cursor { color: var(--brand); }
.sps-log {
  margin-top: 14px; max-height: 190px; overflow: auto; padding: 12px 14px;
  background: #0b1324; border-radius: 10px; color: #cbd5e1; font: 12px/1.7 var(--mono);
}
.log-line.log-ok { color: #86efac; }

/* ── 8. Results dashboard ─────────────────────────────────────── */
.intel-dashboard { padding: 28px 0 64px; background: var(--bg-soft); }
.id-wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }

.id-action-rail {
  position: sticky; top: calc(var(--nav-h) + 12px); z-index: 120;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 10px 12px; margin-bottom: 20px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.iar-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.iar-back, .iar-btn { height: 36px; padding: 0 12px; font-size: 13.5px; }
.iar-divider { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.iar-target { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-3); }
.iar-domain { font-weight: 700; font-size: 16px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iar-time { font-size: 12.5px; white-space: nowrap; }
.iar-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.iar-btn-report { background: var(--brand); color: #fff; border-color: var(--brand); }
.iar-btn-report:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }

.id-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.id-left-panel {
  position: sticky; top: calc(var(--nav-h) + 84px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden;
}
.id-score-block { padding: 22px 20px 18px; }
.id-pillar-block { padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.isb-label, .ipb-label { color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.isb-gauge-wrap { position: relative; width: 168px; height: 168px; margin: 14px auto 10px; }
.pie-svg { width: 100%; height: 100%; }
.pie-track { fill: none; stroke: var(--bg-sunk); stroke-width: 16; }
.pie-seg { fill: none; stroke-width: 16; transition: stroke-dasharray .9s cubic-bezier(.22,1,.36,1); }
.seg-pass { stroke: #12b76a; } .seg-warn { stroke: #f79009; } .seg-fail { stroke: #f04438; }
.isb-score-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.isb-score-num { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.isb-score-denom { color: var(--ink-3); font-size: 13px; }
.isb-grade-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.isb-grade-label { color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .07em; }
.grade-badge { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 10px; border-radius: 8px; font-weight: 800; font-size: 15px; background: var(--bg-sunk); color: var(--ink); }
.grade-badge[data-sm] { min-width: 32px; height: 24px; font-size: 12.5px; }
.grade-aplus, .grade-a { background: var(--pass-bg); color: var(--pass); }
.grade-b { background: var(--brand-soft); color: var(--brand); }
.grade-c { background: var(--warn-bg); color: var(--warn); }
.grade-d, .grade-f { background: var(--fail-bg); color: #b42318; }
.pie-legend { display: grid; gap: 6px; }
.pl-item { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.pl-item-left { display: flex; align-items: center; gap: 8px; }
.pl-dot { width: 8px; height: 8px; border-radius: 50%; }
.pl-dot-pass { background: #12b76a; } .pl-dot-warn { background: #f79009; } .pl-dot-fail { background: #f04438; }
.pl-count { font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-count-pass { color: var(--pass); } .pl-count-warn { color: var(--warn); } .pl-count-fail { color: var(--fail); }

#pillarBreakdown { display: grid; gap: 14px; margin-top: 14px; }
.pillar-header { display: flex; justify-content: space-between; align-items: baseline; }
.pillar-name { font-weight: 600; font-size: 14px; }
.pillar-score { font-weight: 750; font-variant-numeric: tabular-nums; }
.pillar-bar, .subcat-bar { height: 6px; margin-top: 7px; border-radius: 99px; background: var(--bg-sunk); overflow: hidden; }
.pillar-fill, .subcat-bar-fill { height: 100%; width: 0; border-radius: 99px; background: var(--brand); transition: width .6s ease; }
.pillar-fill-sec { background: #0e7490; } .pillar-fill-seo { background: #6172f3; }
.pillar-fill-perf { background: #f79009; } .pillar-fill-dns { background: #12b76a; }
.pillar-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.pillar-chip { padding: 1px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 650; }
.pc-fail { background: var(--fail-bg); color: #b42318; } .pc-warn { background: var(--warn-bg); color: var(--warn); } .pc-pass { background: var(--pass-bg); color: var(--pass); }

.id-cat-nav { display: grid; gap: 4px; margin-top: 18px; }
.dash-nav-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-align: left; }
.dash-nav-item:hover { background: var(--bg-sunk); color: var(--ink); }
.dash-nav-item.active { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.dash-nav-badge { margin-left: auto; min-width: 24px; padding: 1px 7px; border-radius: 99px; font-size: 12px; font-weight: 700; text-align: center; }
.dnb-fail { background: var(--fail-bg); color: #b42318; } .dnb-warn { background: var(--warn-bg); color: var(--warn); }
.dnb-pass { background: var(--pass-bg); color: var(--pass); } .dnb-none { background: var(--bg-sunk); color: var(--ink-3); }

.id-right-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.id-kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.kpi-icon-box { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.kpi-pass .kpi-icon-box { background: var(--pass-bg); color: var(--pass); }
.kpi-warn .kpi-icon-box { background: var(--warn-bg); color: var(--warn); }
.kpi-fail .kpi-icon-box { background: var(--fail-bg); color: var(--fail); }
.kpi-total .kpi-icon-box { background: var(--brand-soft); color: var(--brand); }
.kpi-value { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-label { color: var(--ink-3); font-size: 13px; }

.panel, .ai-panel, .issues-panel, .owasp-report, .comparison-section, .history-section {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 22px;
}
.comparison-section, .history-section { margin-top: 20px; }

/* AI brief */
.ai-hdr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ai-signal-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--info-bg); color: var(--info); font-size: 12.5px; font-weight: 700; }
.ai-provider-tag { color: var(--ink-3); font-size: 12.5px; }
.ai-risk-badge, .owasp-risk-badge { margin-left: auto; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--bg-sunk); color: var(--ink-2); }
.ai-risk-critical, .risk-critical, .ai-risk-high, .risk-high { background: var(--fail-bg); color: #b42318; }
.ai-risk-medium, .risk-medium { background: var(--warn-bg); color: var(--warn); }
.ai-risk-low, .risk-low { background: var(--pass-bg); color: var(--pass); }
.risk-info { background: var(--info-bg); color: var(--info); }
.ai-summary { margin-top: 12px; font-size: 15.5px; line-height: 1.7; max-width: 80ch; }
.ai-priorities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.ai-priority-item { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); }
.ai-rank { flex: 0 0 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; }
.ai-priority-action { font-weight: 650; font-size: 14.5px; }
.ai-priority-impact { color: var(--ink-2); font-size: 13.5px; margin-top: 3px; }
.ai-priority-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-effort, .ai-owasp-tag { padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 650; background: var(--bg-sunk); color: var(--ink-2); }
.effort-easy { background: var(--pass-bg); color: var(--pass); } .effort-medium { background: var(--warn-bg); color: var(--warn); } .effort-hard { background: var(--fail-bg); color: #b42318; }
.ai-footer-strip { display: grid; gap: 10px; margin-top: 14px; }
.ai-quickwin-box { padding: 12px 14px; border-radius: var(--r); background: var(--pass-bg); border: 1px solid var(--pass-line); color: var(--pass); }
.ai-footer-label { font-weight: 700; margin-left: 4px; }
.ai-quickwin-text { color: var(--ink); margin-top: 4px; }
.ai-correlation-item { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }

/* Folding sections */
.r-more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 4px; }
.r-more > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.r-more > summary::-webkit-details-marker { display: none; }
.r-more > summary::before { content: '▸'; color: var(--ink-3); transition: transform .15s; }
.r-more[open] > summary::before { transform: rotate(90deg); }
.r-more > summary:hover { color: var(--ink); }
.r-more > svg { display: none; }

/* Sub-category cards */
.subcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.subcat-grid:empty { display: none; }
.subcat-card { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.subcat-card:hover { border-color: var(--brand-line); box-shadow: var(--sh-2); }
.subcat-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.subcat-icon-label { display: flex; align-items: center; gap: 8px; min-width: 0; }
.subcat-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); flex: 0 0 auto; }
.subcat-title { font-weight: 600; font-size: 13.5px; }
.subcat-score { font-weight: 800; font-variant-numeric: tabular-nums; }
.subcat-score-good { color: var(--pass); } .subcat-score-ok { color: var(--warn); } .subcat-score-bad { color: var(--fail); }
.sbf-good { background: #12b76a; } .sbf-ok { background: #f79009; } .sbf-bad { background: #f04438; }
.subcat-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12px; }
.ss-fail { color: #b42318; } .ss-warn { color: var(--warn); } .ss-pass { color: var(--pass); }

/* Issues list */
.filter-bar { margin-bottom: 6px; }
.filter-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-sunk); }
.ftab { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 550; }
.ftab:hover { color: var(--ink); }
.ftab.active { background: #fff; color: var(--ink); box-shadow: var(--sh-2); }
.ftab-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-fail { background: #f04438; } .dot-warn { background: #f79009; } .dot-pass { background: #12b76a; }
.ftab-count { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 13px; }
.ftab-count:empty { display: none; }

.issue-group { margin-top: 18px; }
.group-header { display: flex; align-items: center; gap: 10px; padding: 4px 2px 10px; }
.group-icon { display: none; }
.group-title { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.group-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.gt-critical::before { background: #f04438; } .gt-warning::before { background: #f79009; } .gt-passed::before { background: #12b76a; }
.group-count { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.issue-group-passed > summary.group-header { cursor: pointer; list-style: none; }
.issue-group-passed > summary.group-header::-webkit-details-marker { display: none; }
.issue-group-passed > summary .group-count::after { content: ' · show'; color: var(--brand); }
.issue-group-passed[open] > summary .group-count::after { content: ' · hide'; }

.checks-list { display: grid; gap: 8px; }
.check-item { background: #fff; border: 1px solid var(--line); border-left-width: 3px; border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.check-item:hover { box-shadow: var(--sh-2); }
.ci-fail { border-left-color: #f04438; } .ci-warn { border-left-color: #f79009; } .ci-pass { border-left-color: #12b76a; }
.ci-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon name right" "icon value right"; column-gap: 12px; align-items: center; padding: 12px 14px; min-height: 56px; cursor: pointer; }
.ci-icon { grid-area: icon; font-size: 18px; }
.ci-name { grid-area: name; font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-value { grid-area: value; color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-right { grid-area: right; display: flex; align-items: center; gap: 8px; }
.ci-badge { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.cb-fail { background: var(--fail-bg); color: #b42318; } .cb-warn { background: var(--warn-bg); color: var(--warn); } .cb-pass { background: var(--pass-bg); color: var(--pass); }
.ci-impact { font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--ink-3); }
.impact-critical, .impact-high { color: #b42318; } .impact-medium { color: var(--warn); } .impact-low { color: var(--ink-3); }
.ci-expand { color: var(--ink-3); width: 16px; text-align: center; }
.ci-fix-panel { padding: 0 14px 14px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.fix-why { padding-top: 12px; color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.fix-code-wrap { position: relative; margin-top: 12px; border-radius: 10px; overflow: hidden; border: 1px solid #1e293b; }
.fix-code-label { padding: 8px 12px; background: #111a2e; color: #94a3b8; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; }
.fix-code-label .r-warn-text { color: #fcd34d; }
.fix-code { margin: 0; padding: 14px; background: #0b1324; color: #e2e8f0; font-size: 12.5px; line-height: 1.65; overflow-x: auto; white-space: pre; }
.fix-copy-btn { position: absolute; top: 5px; right: 6px; height: 26px; padding: 0 10px; border-radius: 6px; background: rgba(255,255,255,.1); color: #e2e8f0; font-size: 12px; font-weight: 600; }
.fix-copy-btn:hover { background: rgba(255,255,255,.18); }
.fix-copy-btn.copied { background: #065f46; color: #d1fae5; }

/* OWASP */
.owasp-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.owasp-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.owasp-title { font-weight: 700; font-size: 16.5px; }
.owasp-subtitle { color: var(--ink-3); font-size: 13px; }
.owasp-summary { margin-top: 12px; color: var(--ink-2); line-height: 1.65; max-width: 80ch; }
.owasp-section-label { display: flex; align-items: center; gap: 6px; margin: 20px 0 10px; color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.owasp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.owasp-item { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.oi-fail { border-color: var(--fail-line); background: var(--fail-bg); }
.oi-warn { border-color: var(--warn-line); background: var(--warn-bg); }
.oi-pass { border-color: var(--pass-line); background: var(--pass-bg); }
.oi-nt { background: var(--bg-soft); }
.owasp-item-code { color: var(--ink-3); font: 600 12px var(--mono); }
.owasp-item-name { margin-top: 2px; font-weight: 650; font-size: 14px; }
.owasp-item-status { margin-top: 8px; font-size: 12px; font-weight: 700; }
.ois-fail { color: #b42318; } .ois-warn { color: var(--warn); } .ois-pass { color: var(--pass); } .ois-nt { color: var(--ink-3); }
.owasp-item-score { position: absolute; top: 12px; right: 12px; font-weight: 800; font-size: 15px; }
.ois-max { color: var(--ink-3); font-size: 11px; font-weight: 500; }
.owasp-item-finding { margin-top: 6px; color: var(--ink-2); font-size: 12.5px; }
.cve-alert-banner { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--fail-bg); border: 1px solid var(--fail-line); color: #b42318; font-size: 14px; font-weight: 550; }
.tech-cve-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; padding-bottom: 6px; }
.tech-card { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.tech-card.has-cve { border-color: var(--fail-line); background: var(--fail-bg); }
.tech-name { font-weight: 650; font-size: 14px; }
.tech-version { color: var(--ink-3); font-size: 12.5px; }
.tech-cves { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cve-tag { padding: 1px 6px; border-radius: 5px; font: 600 11px var(--mono); background: var(--bg-sunk); }
.cve-critical, .cve-high { background: #fee4e2; color: #b42318; } .cve-medium { background: var(--warn-bg); color: var(--warn); }
.owasp-vector-item { display: flex; gap: 10px; padding: 8px 0; color: var(--ink-2); font-size: 14px; }
.owasp-vector-bullet { flex: 0 0 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-sunk); font-size: 12px; font-weight: 700; }
.owasp-cve-advisory, .owasp-compliance { padding: 4px 0 10px; color: var(--ink-2); }
.owasp-footer { display: flex; align-items: center; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }

/* Competitor comparison */
.comp-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.comp-title-row { display: flex; align-items: center; gap: 10px; }
.comp-badge { padding: 3px 9px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.comp-title { font-size: 16px; font-weight: 700; }
.comp-cat-filter { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--ink-3); font-size: 13px; }
.comp-cat-select { width: auto; height: 36px; padding: 0 10px; }
.comp-loading { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.comp-error { color: #b42318; }
.comp-scroll, .history-table-wrap { overflow-x: auto; }
.comp-table th, .comp-table td, .history-table th, .history-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.comp-table th, .history-table th { color: var(--ink-3); font-size: 12.5px; font-weight: 650; background: var(--bg-soft); }
.comp-cat-row td { background: var(--bg-sunk); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.comp-cell { text-align: center; font-weight: 700; }
.comp-cell-pass { color: var(--pass); } .comp-cell-warn { color: var(--warn); } .comp-cell-fail { color: var(--fail); } .comp-cell-na { color: var(--ink-3); }
.comp-col-yours { background: rgba(14,116,144,.04); }
.comp-score-val { font-size: 22px; font-weight: 800; }
.csv-good { color: var(--pass); } .csv-ok { color: var(--warn); } .csv-bad { color: var(--fail); }
.comp-score-grade, .r-comp-role { color: var(--ink-3); font-size: 12px; }

/* History */
.history-hdr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.history-hdr-left { display: flex; align-items: center; gap: 8px; color: var(--ink-3); }
.history-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.history-sub { color: var(--ink-3); font-size: 13px; }
.history-domain { font-weight: 600; }
.history-score { font-weight: 700; }
.hs-green { color: var(--pass); } .hs-yellow { color: var(--warn); } .hs-red { color: var(--fail); }
.history-empty { text-align: center; color: var(--ink-3); padding: 28px !important; }
.history-rescan { height: 32px; padding: 0 10px; font-size: 13px; }

/* Services CTA inside results */
.cta-section { margin-top: 20px; }
.cta-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 32px; border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(500px 220px at 100% 0%, rgba(6,182,212,.3), transparent), #0b1324;
}
.cta-eyebrow { color: #67e8f9; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; }
.cta-heading { margin: 8px 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.cta-body { color: #cbd5e1; line-height: 1.65; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cta-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta-primary:hover { background: #e0f7fa; color: var(--ink); border-color: #e0f7fa; }
.cta-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.cta-ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.cta-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cta-svc { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #e2e8f0; font-size: 13.5px; }
.cta-svc-icon { color: #67e8f9; display: flex; }

/* Small helpers from JS templates */
.r-outof { font-size: 14px; font-weight: 400; color: var(--ink-3); }
.r-outof-sm { font-size: 11px; font-weight: 500; color: var(--ink-3); }
.r-empty { text-align: center; padding: 40px; color: var(--ink-3); }
.r-warn-text, .r-warn-text2 { color: var(--warn); }
.r-fail-text { color: var(--fail); }
.r-noshrink { flex-shrink: 0; }
.r-overflow { overflow: visible; }
.r-center { text-align: center; }
.csm-pass { color: var(--pass); } .csm-warn { color: var(--warn); } .csm-fail { color: var(--fail); }

/* ── 9. Pricing ───────────────────────────────────────────────── */
.pricing-section { padding: 96px 0; border-top: 1px solid var(--line); }
.pricing-inner { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.pricing-header { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.pricing-eyebrow { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.pricing-title { margin: 10px 0 12px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.pricing-sub { color: var(--ink-2); font-size: 16.5px; }
.currency-toggle { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 10px; background: var(--bg-sunk); }
.cur-btn { height: 34px; padding: 0 14px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.cur-btn.cur-active { background: #fff; color: var(--ink); box-shadow: var(--sh-2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.plan-card-featured, .plan-card-promo { border: 2px solid var(--brand); box-shadow: var(--sh-3); padding: 27px; }
.plan-promo-badge, .plan-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 4px 12px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
}
.plan-tier-tag { color: var(--ink-3); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; }
.plan-price-block { min-height: 70px; }
.plan-price-original { color: var(--ink-3); font-size: 14px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; color: var(--ink); font-size: 18px; }
.plan-price strong { font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.price-period { color: var(--ink-3); font-size: 14px; }
.plan-name { display: none; }            /* the tier tag already names the plan */
.plan-desc { color: var(--ink-2); font-size: 14.5px; min-height: 44px; }
.plan-features { display: grid; gap: 10px; margin: 6px 0 10px; flex: 1; align-content: start; }
.pf-item { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.45; }
.pf-item::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--pass-bg) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.pf-warn { color: var(--ink-2); }
.pf-warn::before { background: var(--bg-sunk) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E"); }
.pf-soon { margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); font-size: 11.5px; font-weight: 650; }
.plan-cta, .plan-cta-ghost, .plan-cta-locked { width: 100%; height: 46px; margin-top: auto; }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 700px; margin: 28px auto 0; color: var(--ink-3); font-size: 13.5px; text-align: center; }
.pricing-note svg { flex: 0 0 auto; }

/* ── 10. Footer ───────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0; }
.sf-inner { width: min(var(--wrap), 100% - 40px); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.sf-brand { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.sf-brand .cn-brand { font-size: 16px; }
.sf-meta, .sf-copy { color: var(--ink-3); font-size: 13px; }
.sf-meta { flex-basis: 100%; order: 3; }
.sf-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sf-links a { color: var(--ink-2); font-size: 14px; }
.sf-dot { display: none; }
.sf-meta .sf-dot { display: inline; margin: 0 6px; }

/* ── 11. Modals & auth ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(15,23,42,.45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: fade-in .18s ease;
}
.modal-card {
  position: relative; width: min(420px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  padding: 32px 28px 26px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-4);
  animation: rise-in .22s cubic-bezier(.22,1,.36,1);
  scrollbar-width: thin;
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-close-btn { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--ink-3); }
.modal-close-btn:hover { background: var(--bg-sunk); color: var(--ink); }
.modal-hex-mark, .auth-logo-wrap, .promo-icon, .promo-success-icon, .limit-icon, .wl-success-icon { display: flex; justify-content: center; margin-bottom: 10px; }
.auth-logo-img { width: 44px; height: 50px; }
.promo-icon, .promo-success-icon, .limit-icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; align-items: center; background: var(--brand-soft); color: var(--brand); }
.limit-icon { background: var(--warn-bg); color: var(--warn); }
.promo-success-icon { background: var(--pass-bg); color: var(--pass); }
.modal-title, .auth-title, .promo-title, .waitlist-title, .limit-title, .wl-success-title { text-align: center; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.modal-body, .promo-subtitle, .waitlist-sub, .limit-body, .wl-success-body { margin-top: 8px; text-align: center; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.promo-eyebrow { text-align: center; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 6px; }
.modal-contacts { display: grid; gap: 8px; margin: 18px 0 14px; }
.modal-contact { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 550; }
.modal-contact:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.modal-dismiss-btn, .limit-close-btn { width: 100%; margin-top: 8px; }

.auth-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-hover); font-size: 14px; font-weight: 550; text-align: center; }
.auth-tabs { display: flex; gap: 4px; margin: 6px 0 20px; padding: 4px; border-radius: 12px; background: var(--bg-sunk); }
.auth-tab { flex: 1; height: 38px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.auth-tab.active { background: #fff; color: var(--ink); box-shadow: var(--sh-2); }
.auth-title { font-size: 18px; margin-bottom: 14px; }
.auth-field { display: grid; gap: 6px; margin-bottom: 14px; }
.auth-label, .waitlist-label { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.auth-label-hint, .wl-optional { color: var(--ink-3); font-weight: 400; }
.auth-input-wrap { position: relative; }
.auth-input.has-toggle { padding-right: 44px; }
.auth-pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-3); }
.auth-pw-toggle:hover { color: var(--ink); background: var(--bg-sunk); }
.auth-error, .waitlist-error, .promo-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--fail-bg); border: 1px solid var(--fail-line); color: #b42318; font-size: 13.5px; }
.auth-submit { width: 100%; height: 46px; margin-top: 4px; }
.auth-submit-text, .auth-submit-loading { display: inline-flex; align-items: center; gap: 8px; }
.auth-switch { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 14px; }
.auth-switch-link { color: var(--brand); font-weight: 600; }
.auth-switch-link:hover { text-decoration: underline; }
.google-btn-wrap { margin-bottom: 4px; }
.google-btn-container { display: flex; justify-content: center; }
.google-btn-container:empty { display: none; }
.google-sign-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }
.google-sign-btn:hover { background: var(--bg-soft); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--ink-3); font-size: 12.5px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.promo-features { display: grid; gap: 8px; margin: 18px 0; }
.promo-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.promo-features svg { color: var(--pass); }
.promo-cta { width: 100%; }
.promo-dismiss-link { display: block; margin: 10px auto 0; color: var(--ink-3); font-size: 14px; }
.promo-dismiss-link:hover { color: var(--ink); }

.limit-used-badge { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 99px; background: var(--warn-bg); color: var(--warn); font-size: 13px; font-weight: 600; }
.limit-usage-bar-wrap { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; }
.limit-usage-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--bg-sunk); overflow: hidden; }
.limit-usage-fill { height: 100%; width: 100%; background: #f79009; }
.limit-usage-label { color: var(--ink-3); font-size: 13px; }
.limit-upgrade-prompt { text-align: center; color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }
.limit-plan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.limit-plan-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: auto; padding: 12px 14px; text-align: left; white-space: normal; }
.lpb-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; opacity: .9; }
.lpb-name { font-weight: 700; font-size: 15px; }
.lpb-price, .lpb-scans { font-size: 12.5px; font-weight: 500; }

.waitlist-form { display: grid; gap: 8px; margin-top: 16px; }
.waitlist-input { margin-bottom: 6px; }
.waitlist-submit { width: 100%; margin-top: 4px; }
.waitlist-success { text-align: center; }
.waitlist-done { margin-top: 14px; }
.waitlist-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--ink-3); font-size: 12.5px; }

/* ── 12. Chat ─────────────────────────────────────────────────── */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; display: none;
  width: 54px; height: 54px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; box-shadow: var(--sh-3);
}
.chat-fab:hover { background: #1d2939; }
.chat-fab-badge { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #f04438; border: 2px solid #fff; }
.chat-panel {
  position: fixed; right: 22px; bottom: 88px; z-index: 900; display: none; flex-direction: column;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-4); overflow: hidden;
}
.chat-panel.open { display: flex; animation: rise-in .2s ease; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-header-left { display: flex; align-items: center; gap: 10px; }
.chat-ai-dot { width: 10px; height: 10px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,.18); }
.chat-header-title { font-weight: 700; font-size: 14.5px; }
.chat-header-sub { color: var(--ink-3); font-size: 12.5px; }
.chat-close-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-3); }
.chat-close-btn:hover { background: var(--bg-sunk); color: var(--ink); }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.chat-welcome { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.chat-welcome-icon { color: var(--brand); }
.chat-msg { display: flex; }
.chat-msg-user { justify-content: flex-end; }
.chat-bubble { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.55; background: #fff; border: 1px solid var(--line); overflow-wrap: anywhere; }
.chat-msg-user .chat-bubble { background: var(--brand); color: #fff; border-color: var(--brand); border-bottom-right-radius: 4px; }
.chat-msg-assistant .chat-bubble { border-bottom-left-radius: 4px; }
.chat-inline-code { padding: 1px 5px; border-radius: 5px; background: var(--bg-sunk); font-family: var(--mono); font-size: 12.5px; }
.chat-typing { display: flex; gap: 4px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.chat-quick-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; }
.chat-chip { padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 12.5px; }
.chat-chip:hover { border-color: var(--brand-line); color: var(--brand); }
.chat-input-row { display: flex; gap: 8px; padding: 12px 16px 16px; }
.chat-input { height: auto; min-height: 42px; padding: 10px 12px; resize: none; line-height: 1.4; }
.chat-send-btn { flex: 0 0 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.chat-send-btn:hover { background: var(--brand-hover); }

/* ── 13. Toasts ───────────────────────────────────────────────── */
.toast-container { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2000; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.sv-toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--sh-4); animation: rise-in .2s ease; }
.toast-success > span:first-child { color: #6ee7b7; }
.toast-error > span:first-child { color: #fca5a5; }
.toast-info > span:first-child { color: #67e8f9; }

/* ── 14. Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-sub, .scan-box { margin-inline: auto; }
  .hero-ticks { justify-content: center; }
  .preview { max-width: 560px; margin: 0 auto; width: 100%; }
  .id-grid { grid-template-columns: minmax(0, 1fr); }
  .id-left-panel { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .id-pillar-block { border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .cn-links { display: none; }
  .feature-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 28px; }
  .id-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --nav-h: 58px; }
  .wrap, .id-wrap, .pricing-inner, .sf-inner, .sps-wrap { width: calc(100% - 32px); }
  .cn-status .status-txt { display: none; }
  .cn-status { width: 30px; padding: 0; justify-content: center; }
  .cn-login-btn { display: none; }
  .cn-brand span { font-size: 17px; }
  .hero { padding: 40px 0 56px; }
  .hero-sub { font-size: 16.5px; }
  .stb-input-row { flex-wrap: wrap; padding: 6px; }
  .stb-globe { display: none; }
  .stb-input { flex-basis: 100%; padding: 0 10px; }
  .stb-scan-btn { width: 100%; }
  .pv-float { display: none; }
  .pv-head { grid-template-columns: 1fr; justify-items: center; }
  .pv-bars { width: 100%; }
  .section { padding: 64px 0; }
  .feature-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .closing-card { padding: 28px 24px; }
  .id-left-panel { grid-template-columns: minmax(0, 1fr); }
  .id-pillar-block { border-left: 0; border-top: 1px solid var(--line); }
  .id-action-rail { position: static; }
  .iar-divider { display: none; }
  .iar-left { flex-wrap: wrap; width: 100%; }
  .iar-target { order: -1; flex: 1 1 100%; flex-wrap: wrap; row-gap: 2px; }
  .iar-time { white-space: normal; flex-basis: 100%; }
  .iar-back { flex: 1 1 0; }
  .iar-actions { margin-left: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .filter-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .ftab { flex: 0 0 auto; padding: 0 12px; }
  .ci-main { grid-template-areas: "icon name name" "icon value right"; }
  .ci-impact { display: none; }
  .cta-inner { padding: 24px; }
  .cta-services { grid-template-columns: 1fr; }
  .limit-plan-row { grid-template-columns: 1fr; }
  .modal-card { padding: 28px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── 15. Print — a clean report, nothing interactive ──────────── */
@media print {
  .cmd-nav, .dash-welcome, .landing, .pricing-section, .site-footer, .chat-fab, .chat-panel,
  .modal-overlay, .id-action-rail, .cta-section, .history-section, .toast-container { display: none !important; }
  body, .intel-dashboard { background: #fff; }
  .id-grid { grid-template-columns: 1fr; }
  .id-left-panel { position: static; }
  .panel, .ai-panel, .issues-panel, .owasp-report, .kpi-card, .check-item, .id-left-panel { box-shadow: none; break-inside: avoid; }
  .r-more > *:not(summary), .issue-group-passed .checks-list { display: block !important; }
  .r-more > summary { display: none; }
}
