/* WebSnipr - public styles.
   Theme tokens live on :root. --accent is overridden from Admin > Settings. */
:root {
  --bg: #ffffff;
  --tint: #f2f4f7;
  --panel: #ffffff;
  --ink: #16202e;
  --ink-2: #47566a;
  --muted: #6b788a;
  --rule: #cbd3dc;
  --rule-soft: #dfe5eb;
  --accent: #3346e0;
  --accent-ink: #ffffff;
  --v-none: #1f7a4d;
  --v-partial: #b86e00;
  --v-full: #b3204f;
  --v-none-bg: #e3f2ea;
  --v-partial-bg: #fbefdc;
  --v-full-bg: #f8e1e8;
  --radius-lg: 14px;
  --serp-link: #1a0dab;
  --radius-sm: 6px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11161d; --tint: #0c1016; --panel: #19212b; --ink: #e8edf3; --ink-2: #b4c0ce; --muted: #8592a3;
    --rule: #2e3a48; --rule-soft: #242e3a; --accent-text: color-mix(in srgb, var(--accent) 55%, #fff); --serp-link: #99c3ff;
    --v-none: #4cc18a; --v-partial: #f0a43a; --v-full: #f06a92;
    --v-none-bg: #173126; --v-partial-bg: #3a2a12; --v-full-bg: #3d1a26;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11161d; --tint: #0c1016; --panel: #19212b; --ink: #e8edf3; --ink-2: #b4c0ce; --muted: #8592a3;
  --rule: #2e3a48; --rule-soft: #242e3a; --accent-text: color-mix(in srgb, var(--accent) 55%, #fff); --serp-link: #99c3ff;
  --v-none: #4cc18a; --v-partial: #f0a43a; --v-full: #f06a92;
  --v-none-bg: #173126; --v-partial-bg: #3a2a12; --v-full-bg: #3d1a26;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--font-body);
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: 940px; margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header / footer */
.site-head { padding: 22px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px var(--font-display); }
.brand img { height: 32px; width: auto; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.site-nav { display: flex; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
@media (max-width: 480px) { .site-nav .nav-how { display: none; } }
.site-nav a:hover { color: var(--ink); }
.site-nav { align-items: center; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; flex: none;
  border: 1px solid var(--rule); border-radius: 50%; background: var(--panel); color: var(--ink-2); cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.site-foot { margin-top: 80px; padding: 28px 0 40px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Hero */
.hero { padding: 48px 0 28px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; max-width: 15ch; }
.hero p.lead { color: var(--ink-2); font-size: 19px; max-width: 60ch; margin: 18px 0 30px; }

.scan-form { display: flex; gap: 0; background: var(--panel); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 6px; max-width: 760px; }
.scan-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.scan-form input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: 20px var(--font-body); padding: 14px 14px; outline: none;
}
.scan-form input::placeholder { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 0 22px; min-height: 48px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 700 16px var(--font-body); text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--rule); min-height: 40px; padding: 0 14px; font-weight: 600; font-size: 15px; }
.btn-quiet:hover { border-color: var(--ink-2); filter: none; }
.form-error { color: var(--v-full); font-weight: 700; margin-top: 12px; }

/* Progress */
.progress { margin: 26px 0 0; padding: 0; list-style: none; max-width: 760px; }
.progress li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--muted); font-size: 16px; }
.progress li .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule); flex: none; }
.progress li.active { color: var(--ink); }
.progress li.active .dot { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.progress li.done { color: var(--ink-2); }
.progress li.done .dot { background: var(--accent); border-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Report */
.report { margin-top: 36px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.report-sec { padding: 28px 32px; border-top: 1px solid var(--rule-soft); }
.report-sec:first-child { border-top: 0; }
.report-sec > h2 { font-size: 21px; margin-bottom: 16px; }
.site-line { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; word-break: break-all; }
.site-line img { width: 18px; height: 18px; border-radius: 3px; }
.site-title { font: 600 15px var(--font-body); color: var(--muted); margin-top: 2px; }

.verdict { margin-top: 18px; }
.verdict h1 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 800; color: var(--vc); }
.verdict .headline { font-size: 19px; color: var(--ink); margin: 10px 0 0; max-width: 62ch; }
.verdict .desc { color: var(--ink-2); margin: 6px 0 0; max-width: 62ch; }

/* The spectrum strip: Human -> Partial -> AI with marker at score */
.spectrum { margin: 62px 0 8px; } /* room above the bar for the score label */
.spectrum-bar { position: relative; height: 18px; border-radius: 9px; display: flex; overflow: hidden; }
.spectrum-bar span { height: 100%; }
.spectrum-bar .z-none { background: var(--v-none); }
.spectrum-bar .z-partial { background: var(--v-partial); }
.spectrum-bar .z-full { background: var(--v-full); }
.spectrum-track { position: relative; }
.spectrum-marker {
  position: absolute; top: -10px; width: 4px; height: 38px; margin-left: -2px; border-radius: 2px;
  background: var(--ink); box-shadow: 0 0 0 3px var(--panel);
  transition: left 900ms cubic-bezier(.2,.8,.2,1);
}
.spectrum-score {
  position: absolute; top: -46px; transform: translateX(-50%); white-space: nowrap;
  font: 800 22px/1.2 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums;
  transition: left 900ms cubic-bezier(.2,.8,.2,1);
}
/* near the ends, line the label up with the marker instead of centring it (no overflow) */
.spectrum-score.at-start { transform: none; }
.spectrum-score.at-end { transform: translateX(-100%); }
.spectrum-labels { display: flex; margin-top: 10px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
/* each label is centred under its own section of the bar */
.spectrum-labels span { flex: none; text-align: center; padding: 0 4px; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .spectrum-marker, .spectrum-score { transition: none; } }

.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.facts div { min-width: 120px; }
.parts { display: flex; flex-wrap: wrap; gap: 6px; }
.part { background: var(--vbg); color: var(--vc); padding: 1px 10px; border-radius: 99px; font-weight: 700; font-size: 14px; }

/* Category bars */
.cats { display: grid; gap: 16px; }
.cat { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 14px; }
.cat-name { font-weight: 700; }
.cat-sum { grid-column: 2 / 4; color: var(--muted); font-size: 14px; margin-top: -10px; }
.meter { height: 8px; background: var(--rule-soft); border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--mc); }
.cat-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Findings */
.findings { list-style: none; margin: 0; padding: 0; }
.finding { padding: 14px 0 14px 18px; border-left: 4px solid var(--fc); margin-bottom: 10px; }
.finding.ai { --fc: var(--v-full); }
.finding.human { --fc: var(--v-none); }
.finding.info { --fc: var(--rule); }
.finding h3 { font: 700 16px var(--font-body); }
.finding .f-meta { color: var(--muted); font-size: 13px; margin-left: 6px; font-weight: 400; }
.finding p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.finding code {
  display: block; margin-top: 6px; padding: 6px 10px; font-size: 13px; background: var(--tint);
  border-radius: var(--radius-sm); color: var(--ink-2); overflow-x: auto; white-space: pre-wrap; word-break: break-all;
}
.f-group-title { font: 700 15px var(--font-body); color: var(--ink-2); margin: 22px 0 10px; }
.f-group-title:first-child { margin-top: 0; }
.empty-note { color: var(--muted); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--rule); border-radius: 99px; padding: 3px 12px; font-size: 14px; color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; margin: 0; }
.stats dt { color: var(--muted); font-size: 14px; }
.stats dd { margin: 0; font: 700 22px var(--font-display); font-variant-numeric: tabular-nums; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Share section */
.share-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.report-sec .share-head h2 { margin: 0; }
.share-tools { display: flex; gap: 4px; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 0; border-radius: 8px;
  background: none; color: var(--ink-2); font: 600 14px var(--font-body); text-decoration: none; cursor: pointer;
}
.tool-btn:hover { background: var(--tint); color: var(--ink); }
.copy-field {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--tint);
}
.copy-field:focus-within { border-color: var(--accent); }
.copy-icon { display: grid; color: var(--muted); flex: none; }
.copy-field input {
  flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); outline: none;
  font: 15px var(--font-body); text-overflow: ellipsis;
}
.copy-field .btn { min-height: 40px; padding: 0 16px; font-size: 15px; flex: none; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 99px; background: var(--panel); color: var(--ink);
  font: 600 14px var(--font-body); text-decoration: none; cursor: pointer;
}
.share-btn svg { color: var(--muted); }
.share-btn:hover { border-color: var(--ink-2); background: var(--tint); }
.share-native { display: none; border-color: var(--accent); color: var(--accent); }
.share-native svg { color: currentColor; }
.can-share .share-native { display: inline-flex; }
.embed { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule-soft); }
.embed-head { display: block; }
.embed-head h3 { font: 700 16px var(--font-body); }
.embed-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.embed-box { margin-top: 14px; border: 1px solid var(--rule-soft); border-radius: 12px; overflow: hidden; background: var(--panel); }
.badge-pick { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--rule-soft); overflow-x: auto; scrollbar-width: none; }
.badge-pick::-webkit-scrollbar { display: none; }
.bp-opt { position: relative; flex: none; }
.bp-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bp-opt span { display: block; padding: 6px 12px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.bp-opt:hover span { color: var(--ink); }
.bp-opt input:checked + span { background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-soft); }
.bp-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.embed-preview { display: flex; align-items: center; justify-content: center; height: 132px; padding: 16px; background: var(--tint); background-image: radial-gradient(var(--rule-soft) 1px, transparent 1px); background-size: 14px 14px; }
.embed-preview img { display: block; max-width: 100%; height: auto; }
.embed-box .embed-code { margin: 0; border: 0; border-top: 1px solid var(--rule-soft); border-radius: 0; background: var(--panel); }
.embed-code { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px 12px 12px 14px; border-radius: 10px; background: var(--tint); border: 1px solid var(--rule-soft); }
.embed-code code { flex: 1; min-width: 0; font: 12.5px/1.6 ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); word-break: break-all; }
.btn-copy-code { flex: none; min-height: 34px; font-size: 13px; background: var(--panel); }
.disclaimer { color: var(--ink-2); font-size: 15px; max-width: 70ch; }
.cached-note { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.ad-slot { margin: 28px 0; text-align: center; }

/* Section header with a count or control on the right */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.report-sec .sec-head h2 { margin: 0; font-size: 21px; }
.sec-count { color: var(--muted); font-size: 14px; }
.mini-h { font: 700 14.5px var(--font-body); color: var(--ink-2); margin: 26px 0 10px; }
.mini-count { color: var(--muted); font-weight: 400; margin-left: 4px; }

/* Website snapshot */
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--rule); border-radius: 999px; background: var(--tint); align-self: center; }
.seg-btn { border: 0; background: none; color: var(--ink-2); font: 600 14px var(--font-body); padding: 5px 14px; border-radius: 999px; cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.browser { margin: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--tint); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--panel); border-bottom: 1px solid var(--rule-soft); font-size: 14px; color: var(--ink-2); }
.browser-bar .lock { color: var(--v-none); flex: none; }
.browser-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-open { display: inline-flex; align-items: center; gap: 3px; flex: none; color: var(--accent-text, var(--accent)); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.browser-open:hover { text-decoration: underline; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.snap-img { position: absolute; inset: 0; display: block; }
.snap-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .3s; }
.snap-img[data-state="loaded"] img { opacity: 1; }
.snap-status { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; color: var(--muted); font-size: 15px; }
.snap-img[data-state="loading"] .snap-loading, .snap-img[data-state="failed"] .snap-failed { display: flex; }
.snap-img[data-state="failed"] { cursor: default; pointer-events: none; }
.snap-spin { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--rule); border-top-color: var(--accent); animation: spin .9s linear infinite; }
.snap-live { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; }
.snap-live iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(var(--s, 1)); background: #fff; }
.snap-note { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) { .snap-spin { animation-duration: 2.4s; } .snap-img img { transition: none; } }

/* Technologies */
.tech-summary { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; padding: 0; }
.tech-summary li { padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-size: 14px; }
.tech-summary b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tech-summary .ts-ai b { color: var(--v-full); }
.tech-summary .ts-assist b { color: var(--v-partial); }
.tech-group h3 { font: 700 14.5px var(--font-body); color: var(--ink-2); margin: 22px 0 10px; }
.tech-group h3 span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.tech-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tech { border: 1px solid var(--rule-soft); border-radius: 10px; padding: 12px 14px; background: var(--panel); min-width: 0; }
.tech.k-ai_builder { border-color: color-mix(in srgb, var(--v-full) 35%, var(--rule-soft)); background: color-mix(in srgb, var(--v-full-bg) 45%, var(--panel)); }
.tech.k-ai_assisted { border-color: color-mix(in srgb, var(--v-partial) 30%, var(--rule-soft)); }
.tech-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tech-name { font-weight: 700; font-size: 15.5px; }
.tech-ver { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--tint); border: 1px solid var(--rule-soft); padding: 0 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.tech-tag { font-size: 12.5px; font-weight: 700; padding: 1px 9px; border-radius: 999px; }
.tag-ai { color: var(--v-full); background: var(--v-full-bg); }
.tag-assist { color: var(--v-partial); background: var(--v-partial-bg); }
.tech-where { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.tech-ev { margin-top: 6px; font-size: 13.5px; }
.tech-ev summary { cursor: pointer; color: var(--accent-text, var(--accent)); font-weight: 600; width: max-content; }
.tech-ev code, .kv-mono dd { font: 12.5px/1.55 ui-monospace, Menlo, Consolas, monospace; }
.tech-ev code { display: block; margin-top: 6px; padding: 6px 10px; background: var(--tint); border-radius: var(--radius-sm); color: var(--ink-2); white-space: pre-wrap; word-break: break-all; }

/* Meta data */
.previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.previews .mini-h { margin-top: 0; }
.serp { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--rule-soft); border-radius: 10px; background: var(--panel); }
.serp-crumb { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-title { font: 19px/1.3 Arial, var(--font-body); color: var(--serp-link); }
.serp-desc { font: 14px/1.5 Arial, var(--font-body); color: var(--ink-2); }
.og-card { display: grid; border: 1px solid var(--rule-soft); border-radius: 10px; overflow: hidden; background: var(--panel); }
.og-card img, .og-noimg { display: block; width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; background: var(--tint); }
.og-noimg { display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.og-text { display: grid; gap: 2px; padding: 10px 14px 12px; border-top: 1px solid var(--rule-soft); }
.og-host { font-size: 12.5px; color: var(--muted); }
.og-title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.og-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.checks { list-style: none; margin: 10px 0 0; padding: 0; }
.checks li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule-soft); font-size: 14px; color: var(--ink-2); }
.checks li:last-child { border-bottom: 0; }
.checks b { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-align: right; }
.checks b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.c-ok b { color: var(--v-none); }
.c-warn b { color: var(--v-partial); }
.c-bad b { color: var(--v-full); }
.kv { margin: 0; }
.kv > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 9px 0; border-top: 1px solid var(--rule-soft); }
.kv > div:first-child { border-top: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.kv-mono dt { font: 12.5px/1.55 ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); }
.kv dd a { color: var(--accent-text, var(--accent)); }
.kv .none { color: var(--muted); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--rule); vertical-align: -2px; margin-right: 6px; }
.tagline { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chip { border: 1px solid var(--rule); border-radius: 99px; padding: 0 9px; font-size: 13px; color: var(--ink-2); }
.icons-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.icons-row img { display: block; width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.more { margin-top: 12px; border: 1px solid var(--rule-soft); border-radius: 10px; }
.more > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: 14.5px; }
.more > summary span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.more > .kv { padding: 0 14px 6px; }
.more > .kv > div:first-child { border-top: 1px solid var(--rule-soft); }

/* HTTP */
.http-stats dd small { font: 600 14px var(--font-body); color: var(--muted); }
.http-stats .small-dd { font-size: 17px; overflow-wrap: anywhere; }
.tls { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; border-radius: 10px; background: var(--v-none-bg); font-size: 14.5px; }
.tls svg { color: var(--v-none); flex: none; }
.tls-off { background: var(--v-full-bg); }
.tls-off svg { color: var(--v-full); }
.redirects { list-style: none; margin: 0; padding: 0; }
.redirects li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; font-size: 14px; }
.rd-code { flex: none; font-weight: 700; font-size: 12.5px; padding: 1px 7px; border-radius: 6px; color: var(--v-partial); background: var(--v-partial-bg); font-variant-numeric: tabular-nums; }
.rd-code.rd-final { color: var(--v-none); background: var(--v-none-bg); }
.rd-url { color: var(--ink-2); overflow-wrap: anywhere; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.sec-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; }
.sec-icon { grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.is-ok .sec-icon { color: var(--v-none); background: var(--v-none-bg); }
.is-miss .sec-icon { color: var(--v-full); background: var(--v-full-bg); }
.sec-name { font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; }
.sec-desc { color: var(--muted); font-size: 13.5px; }
.is-miss .sec-name { color: var(--ink-2); }

/* API docs */
.api-hero { padding-bottom: 8px; }
.docs { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; margin-top: 28px; align-items: start; }
.docs-nav { position: sticky; top: 24px; display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid var(--rule); }
.docs-nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.docs-nav a:hover { color: var(--ink); }
.docs-body { min-width: 0; }
.doc-sec { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--rule-soft); scroll-margin-top: 20px; }
.doc-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-sec h2 { font-size: 24px; margin: 0 0 10px; }
.doc-sec > p { color: var(--ink-2); margin: 0 0 16px; max-width: 68ch; }
.doc-sec code, .doc-table code { font: 13.5px ui-monospace, Menlo, Consolas, monospace; background: var(--tint); border: 1px solid var(--rule-soft); padding: 1px 6px; border-radius: 5px; }
.doc-h3 { font: 700 16px var(--font-body); margin: 26px 0 10px; }

.endpoint { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.verbs { display: flex; gap: 4px; flex: none; }
.verb { font: 700 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; padding: 4px 8px; border-radius: 6px; color: var(--v-none); background: var(--v-none-bg); }
.verb + .verb { color: var(--accent-text, var(--accent)); background: color-mix(in srgb, var(--accent) 12%, var(--panel)); }
.endpoint .endpoint-url { flex: 1; min-width: 0; background: none; border: 0; padding: 0; font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.endpoint-copy { flex: none; }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--tint); padding: 10px 16px; border-bottom: 1px solid var(--rule-soft); white-space: nowrap; }
.doc-table td { padding: 12px 16px; border-top: 1px solid var(--rule-soft); vertical-align: top; color: var(--ink-2); }
.doc-table tr:first-child td { border-top: 0; }
.doc-table td:first-child { white-space: nowrap; color: var(--ink); }
.doc-table td:nth-child(2) { white-space: nowrap; color: var(--muted); font-size: 13.5px; }
.req { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--v-full); }
.status { display: inline-block; min-width: 44px; text-align: center; font: 700 13px ui-monospace, Menlo, Consolas, monospace; padding: 2px 8px; border-radius: 6px; }
.status.s4 { color: var(--v-partial); background: var(--v-partial-bg); }
.status.s5 { color: var(--v-full); background: var(--v-full-bg); }
.doc-sec .table-wrap + .code-panel, .doc-sec .code-panel + .table-wrap { margin-top: 16px; }

.code-panel { --cbg: #121a24; --cbar: #0d141c; --cink: #d6dee8; --cmute: #8796a8; border-radius: 12px; overflow: hidden; background: var(--cbg); border: 1px solid #1f2a37; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 6px 14px; background: var(--cbar); border-bottom: 1px solid #1f2a37; min-height: 42px; }
.code-label { color: var(--cmute); font-size: 13px; }
.code-tabs { display: flex; gap: 2px; overflow-x: auto; }
.code-tab { border: 0; background: none; color: var(--cmute); font: 600 13px var(--font-body); padding: 6px 10px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.code-tab:hover { color: var(--cink); }
.code-tab[aria-selected="true"] { color: #fff; background: #1f2a37; }
.code-copy { flex: none; border: 1px solid #2b3847; background: #182230; color: var(--cink); font: 600 12.5px var(--font-body); padding: 5px 11px; border-radius: 7px; cursor: pointer; }
.code-copy:hover { background: #22303f; }
.endpoint .code-copy { border-color: var(--rule); background: var(--tint); color: var(--ink); }
.code-panel pre { margin: 0; padding: 16px 18px; overflow: auto; color: var(--cink); font: 13.5px/1.65 ui-monospace, Menlo, Consolas, monospace; tab-size: 4; }
.code-panel pre code { font: inherit; background: none; border: 0; padding: 0; color: inherit; }
.code-tall { max-height: 520px; }
.j-key { color: #8fc1ff; }
.j-str { color: #a8e0b5; }
.j-num { color: #f5c27a; }
.j-lit { color: #e8a2f0; }

.limits { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.limits div { background: var(--panel); padding: 16px 18px; }
.limits dt { color: var(--muted); font-size: 13.5px; }
.limits dd { margin: 4px 0 0; font-weight: 700; font-size: 15.5px; }
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; gap: 20px; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; }
  .docs-nav a { padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 13.5px; }
  .limits { grid-template-columns: 1fr; }
  .endpoint { flex-wrap: wrap; }
  .endpoint .endpoint-url { flex-basis: 100%; order: 3; white-space: normal; overflow-wrap: anywhere; }
  .endpoint-copy { margin-left: auto; }
}

/* SEO audit */
.seo-score { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; padding: 18px 20px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--tint); }
.seo-score-main { min-width: 200px; flex: 1; }
.seo-num { font: 800 44px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.seo-of { margin-left: 4px; color: var(--muted); font-weight: 700; font-size: 18px; }
.seo-meter { display: block; margin-top: 12px; max-width: 320px; background: var(--rule-soft); }
.seo-tally { display: flex; gap: 28px; margin: 0; }
.seo-tally dt { color: var(--muted); font-size: 13.5px; }
.seo-tally dd { margin: 2px 0 0; font: 700 24px var(--font-display); font-variant-numeric: tabular-nums; }
.seo-tally .t-ok dd { color: var(--v-none); }
.seo-tally .t-warn dd { color: var(--v-partial); }
.seo-tally .t-fail dd { color: var(--v-full); }
.chk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.chk-in { padding: 4px 14px 14px; }
.chk { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-content: start; }
.chk-icon { grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.chk-ok .chk-icon { color: var(--v-none); background: var(--v-none-bg); }
.chk-warn .chk-icon { color: var(--v-partial); background: var(--v-partial-bg); }
.chk-fail .chk-icon { color: var(--v-full); background: var(--v-full-bg); }
.chk-label { font-weight: 700; font-size: 14.5px; }
.chk-detail { color: var(--ink-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.outline { list-style: none; margin: 0; padding: 4px 14px 12px; }
.outline li { padding: 4px 0 4px calc(var(--lvl) * 18px); font-size: 14.5px; color: var(--ink-2); }
.h-tag { display: inline-block; min-width: 28px; margin-right: 8px; font: 700 11.5px ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }

/* Links */
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.social-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.social-chip svg { color: var(--muted); }
.social-chip:hover { background: var(--tint); }
.doc-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.lk-table td:first-child a { color: var(--ink); font-weight: 600; text-decoration: none; }
.lk-table td:first-child a:hover { text-decoration: underline; }
.lk-table td:nth-child(2) { color: var(--ink); font-size: 14.5px; }
.lk-tag, .lk-follow { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.lk-tag { color: var(--ink-2); background: var(--tint); border: 1px solid var(--rule-soft); }
.lk-follow { color: var(--v-none); background: var(--v-none-bg); }
.lk-text { color: var(--ink-2); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-text .none { color: var(--muted); }
.table-in { margin: 0 14px 14px; }

.authority { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 40px; padding: 16px 20px; margin-bottom: 22px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--tint); }
.au-score { display: grid; min-width: 220px; flex: 1; }
.au-label { color: var(--muted); font-size: 13.5px; }
.au-num { font: 800 38px/1.1 var(--font-display); font-variant-numeric: tabular-nums; margin-top: 2px; }
.au-of { margin-left: 3px; font-size: 17px; font-weight: 700; color: var(--muted); }
.au-meter { margin-top: 10px; max-width: 300px; background: var(--rule-soft); }
.au-rank { display: grid; }
.au-rank-num { font: 700 24px/1.2 var(--font-display); font-variant-numeric: tabular-nums; margin-top: 2px; }
.au-note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 13.5px; }
.au-none { font: 700 20px/1.3 var(--font-display); margin-top: 4px; color: var(--ink-2); }
.admin-note { margin: 0 0 18px; padding: 10px 14px; border: 1px dashed var(--rule); border-radius: 10px; font-size: 13.5px; color: var(--ink-2); }
.admin-note span { color: var(--v-full); }
.admin-note a { color: var(--accent-text, var(--accent)); font-weight: 700; }
.fact-of { color: var(--muted); font-weight: 600; margin-left: 1px; }

/* Site files */
.file-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.file-card { border: 1px solid var(--rule-soft); border-radius: 10px; padding: 12px 14px; background: var(--panel); display: flex; flex-direction: column; min-width: 0; }
.file-card:not(.is-found) { background: transparent; border-style: dashed; border-color: var(--rule); }
.file-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.file-name { font: 700 13.5px ui-monospace, Menlo, Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; }
.file-state { flex: none; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: var(--muted); border: 1px solid var(--rule); }
.is-found .file-state { color: var(--v-none); background: var(--v-none-bg); border-color: transparent; }
.file-what { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.file-sum { margin: 6px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; flex: 1; }
.file-card:not(.is-found) .file-sum { color: var(--muted); }
.file-open { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent-text, var(--accent)); text-decoration: none; }
.file-open:hover { text-decoration: underline; }
.files-note { margin: -4px 0 10px; color: var(--muted); font-size: 13.5px; }
.ai-bots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); border-radius: 10px; overflow: hidden; }
.ai-bots li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; background: var(--panel); }
.bot-name { display: grid; font: 700 13.5px ui-monospace, Menlo, Consolas, monospace; min-width: 0; }
.bot-owner { font: 400 12.5px var(--font-body); color: var(--muted); }
.bot-state { flex: none; display: grid; justify-items: end; font-size: 12.5px; font-weight: 700; }
.bot-blocked .bot-state { color: var(--v-full); }
.bot-partial .bot-state { color: var(--v-partial); }
.bot-allowed .bot-state { color: var(--v-none); }
.bot-gen { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.file-pre { margin: 0; padding: 12px 14px 14px; max-height: 340px; overflow: auto; border-top: 1px solid var(--rule-soft); font: 12.5px/1.6 ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }

/* Breadcrumbs, FAQ, custom SEO content */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 8px; }
.crumbs a { color: var(--ink-2); }
.faq { margin: 0; }
.faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font: 700 18px var(--font-display); list-style-position: outside; }
.faq summary::marker { color: var(--muted); }
.faq p { margin: 8px 0 0; color: var(--ink-2); max-width: 70ch; }
.seo-content { color: var(--ink-2); max-width: 70ch; }
.seo-content h2, .seo-content h3 { color: var(--ink); margin: 26px 0 8px; }
.seo-content h2 { font-size: 24px; }
.seo-content h3 { font-size: 19px; }

/* Method + recent */
.section { margin-top: 72px; }
.section > h2 { font-size: 28px; margin-bottom: 20px; }
.section > .section-lead { margin: -8px 0 24px; color: var(--ink-2); max-width: 60ch; }

.method {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--rule-soft); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
}
.method li {
  background: var(--panel); padding: 26px 28px 28px;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-content: start;
}
.method-icon {
  grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent-text, var(--accent)); background: color-mix(in srgb, var(--accent) 14%, var(--panel));
}
.method h3 { font: 700 18px/1.3 var(--font-display); margin: 2px 0 0; }
.method p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

.scale-card { margin-top: 28px; padding: 24px 28px 8px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.scale-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.key-title { font: 700 18px var(--font-display); margin: 0; }
.scale-unit { color: var(--muted); font-size: 14px; }
.scale { margin: 18px 0 0; }
.scale-bar { display: flex; gap: 3px; height: 10px; }
.scale-bar span { background: var(--vc); }
.scale-bar span:first-child { border-radius: 5px 0 0 5px; }
.scale-bar span:last-child { border-radius: 0 5px 5px 0; }
.scale-ticks { position: relative; height: 26px; margin-top: 2px; }
.scale-ticks span {
  position: absolute; top: 0; transform: translateX(-50%); padding-top: 9px;
  font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.scale-ticks span::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 6px; background: var(--rule); }
.scale-ticks .at-start { transform: none; }
.scale-ticks .at-start::before { left: 0; }
.scale-ticks .at-end { transform: translateX(-100%); }
.scale-ticks .at-end::before { left: auto; right: 0; }
.score-key { list-style: none; margin: 14px -28px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-soft); }
.score-key li { padding: 18px 28px 22px; min-width: 0; }
.score-key li + li { border-left: 1px solid var(--rule-soft); }
.band-head { display: flex; align-items: center; gap: 0 8px; flex-wrap: wrap; }
.band-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--vc); flex: none; }
.band-head b { font: 700 16px var(--font-display); color: var(--ink); }
.band-range { flex-basis: 100%; margin: 2px 0 0 17px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.score-key p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

.recent-card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.recent-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 22px 24px 16px; }
.section .recent-head h2 { font-size: 22px; margin: 0; }
.recent-sub { color: var(--muted); font-size: 14px; }
.recent-cols, .recent a { display: grid; grid-template-columns: minmax(0, 1fr) 200px 130px 100px 20px; align-items: center; column-gap: 20px; padding: 0 24px; }
.recent-cols { padding-top: 9px; padding-bottom: 9px; background: var(--tint); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); font-size: 13px; color: var(--muted); }
.recent-cols span:nth-child(n+2) { text-align: center; }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li + li { border-top: 1px solid var(--rule-soft); }
.recent a { padding-top: 14px; padding-bottom: 14px; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.recent a:hover { background: var(--tint); }
.recent a:focus-visible { outline-offset: -3px; }
.r-site { display: flex; align-items: center; gap: 12px; min-width: 0; }
.r-mono {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--tint); border: 1px solid var(--rule-soft); color: var(--ink-2); font: 700 15px var(--font-display);
}
.r-mono { position: relative; overflow: hidden; }
.r-mono img { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; object-fit: contain; opacity: 0; }
/* the letter stays underneath until the icon has loaded */
.r-mono.has-icon { color: transparent; background: var(--panel); }
.r-mono.has-icon img { opacity: 1; }
.r-names { display: grid; min-width: 0; }
.r-host { font-weight: 700; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent a:hover .r-host { text-decoration: underline; text-underline-offset: 3px; }
.r-title { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-verdict {
  justify-self: center; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 13.5px; font-weight: 700; color: var(--vc); background: var(--vbg); padding: 4px 11px 4px 9px; border-radius: 999px;
}
.r-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vc); }
.r-score { display: flex; align-items: center; justify-content: center; gap: 10px; }
.r-meter { width: 64px; height: 6px; border-radius: 3px; background: var(--rule-soft); overflow: hidden; }
.r-meter i { display: block; height: 100%; border-radius: 3px; background: var(--vc); }
.r-pct { min-width: 38px; text-align: right; font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.r-time { color: var(--muted); font-size: 14px; text-align: center; white-space: nowrap; }
.r-open { color: var(--muted); display: grid; place-items: center; transition: transform .15s, color .15s; }
.recent a:hover .r-open { color: var(--ink); transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .recent a, .r-open { transition: none; } }

.notfound { padding: 80px 0; }
.notfound h1 { font-size: 40px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: 24px; }
  .scan-form { flex-wrap: wrap; }
  .spectrum-labels { font-size: 12px; line-height: 1.3; }
  .copy-field { padding-left: 12px; }
  .copy-field .btn { padding: 0 12px; }
  .embed-code { flex-direction: column; }
  .embed-preview { height: 120px; }
  .btn-copy-code { width: 100%; }
  .spectrum-labels span { white-space: normal; overflow-wrap: normal; }
  /* narrow sections: keep the end labels against the bar ends so words are not split */
  .spectrum-labels span:first-child { text-align: left; padding-left: 0; }
  .spectrum-labels span:last-child { text-align: right; padding-right: 0; }
  .scan-form input { flex-basis: 100%; padding: 12px; font-size: 18px; }
  .scan-form .btn { width: 100%; }
  .report-sec { padding: 22px 18px; }
  .cat { grid-template-columns: 1fr 44px; }
  .cat .meter { grid-column: 1 / 3; grid-row: 2; }
  .cat-sum { grid-column: 1 / 3; margin-top: -6px; }
  .method { grid-template-columns: 1fr; }
  .tech-list, .previews, .sec-list, .chk-list { grid-template-columns: 1fr; }
  .seo-tally { gap: 20px; }
  .lk-text { max-width: 140px; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .seg-btn { padding: 5px 11px; }
  .method li { padding: 22px 20px; }
  .scale-card { padding: 20px 18px 4px; }
  .score-key { grid-template-columns: 1fr; margin: 10px -18px 0; }
  .score-key li { padding: 16px 18px 18px; }
  .score-key li + li { border-left: 0; border-top: 1px solid var(--rule-soft); }
  .band-range { flex-basis: auto; margin: 0 0 0 auto; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--tint); border: 1px solid var(--rule-soft); padding: 1px 8px; border-radius: 6px; }
  .recent-head { padding: 18px 18px 14px; }
  .recent-cols { display: none; }
  .recent-head { border-bottom: 1px solid var(--rule-soft); }
  .recent a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; column-gap: 12px; padding: 14px 18px; }
  .r-site { grid-column: 1; grid-row: 1; }
  .r-open { grid-column: 2; grid-row: 1; }
  .r-verdict { grid-column: 1; grid-row: 2; margin-left: 46px; justify-self: start; }
  .r-score { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .r-meter { display: none; }
  .r-time { display: none; }
  .site-nav { gap: 14px; }
}

/* ---- 2.0: report actions and jump bar ---- */
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--rule-soft); }
.act-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 9px; background: var(--panel); color: var(--ink); font: 600 14.5px var(--font-body); text-decoration: none; }
.act-btn svg { color: var(--muted); }
.act-btn:hover { border-color: var(--ink-2); background: var(--tint); }
.jump { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.jump ul { list-style: none; margin: 0; padding: 8px 24px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; padding: 6px 11px; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.jump a:hover { color: var(--ink); background: var(--tint); }
.jump a.is-active { color: var(--ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--rule-soft); }
.jump + .report-sec { border-top: 0; }
.report-sec h2[id] { scroll-margin-top: 76px; }
.sec-score { display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.sec-score b { font: 700 22px var(--font-display); }
.sec-score > span { color: var(--muted); font-size: 14px; }
.sec-score .grade { align-self: center; margin-right: 4px; }

/* score ring and grade */
.ring { position: relative; display: inline-grid; place-items: center; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring-track { stroke: var(--rule-soft); }
.ring-val { stroke: var(--rc); stroke-linecap: round; }
.ring b { position: relative; font: 700 calc(var(--rs, 1) * 1em) var(--font-display); font-variant-numeric: tabular-nums; }
.grade { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; font: 700 13.5px var(--font-display); color: var(--gc); background: color-mix(in srgb, var(--gc) 13%, transparent); }

/* site health */
.health { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 20px 32px; align-items: center; }
.health-main { display: flex; align-items: center; gap: 18px; }
.health-main .ring b { font-size: 28px; }
.health-grade { margin: 0; font: 700 19px var(--font-display); }
.health-note { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.health-parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hp { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--rule-soft); border-radius: 10px; background: var(--tint); color: var(--ink); text-decoration: none; }
a.hp:hover { border-color: var(--rule); }
.hp-name { font-weight: 700; font-size: 14.5px; }
.hp-val { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.hp-val b { font: 700 18px var(--font-display); }
.hp .meter { grid-column: 1 / -1; height: 5px; }

/* why this score */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 8px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.why-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 12px 9px 9px; border: 1px solid var(--rule-soft); border-radius: 10px; }
.why-pts { display: grid; place-items: center; height: 30px; border-radius: 7px; font: 700 14px var(--font-display); font-variant-numeric: tabular-nums; }
.why-up .why-pts { color: var(--v-full); background: var(--v-full-bg); }
.why-down .why-pts { color: var(--v-none); background: var(--v-none-bg); }
.why-text { display: grid; min-width: 0; }
.why-text b { font-size: 14.5px; line-height: 1.35; }
.why-text span { color: var(--muted); font-size: 13px; }

/* security grade */
.grade-card { display: flex; align-items: center; gap: 22px; padding: 18px 20px; margin-bottom: 20px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--tint); }
.grade-big { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 14px; font: 800 34px var(--font-display); color: var(--gc); background: color-mix(in srgb, var(--gc) 14%, var(--panel)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 40%, transparent); }
.grade-card > div { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.grade-line { margin: 0; font: 700 17px var(--font-display); }

/* chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 3px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--rule-soft); font-size: 13.5px; color: var(--ink-2); }
.chips-in { padding: 4px 14px 14px; }

/* PageSpeed */
.psi { margin-top: 18px; padding: 4px 18px 16px; border: 1px solid var(--rule-soft); border-radius: 12px; }
.psi-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.psi-head .mini-h { margin: 14px 0 6px; }
.psi-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.psi:not([data-state="loading"]) .psi-status { display: none; }
.psi-status .snap-spin { width: 14px; height: 14px; border-width: 2px; }
.psi-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.psi-score { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; }
.psi-score .ring b { font-size: 20px; }
.psi-metrics { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 0; }
.psi-metrics dt { color: var(--muted); font-size: 13.5px; }
.psi-metrics abbr { text-decoration: none; font-size: 11.5px; font-weight: 700; opacity: .8; }
.psi-metrics dd { margin: 0; font: 700 20px var(--font-display); font-variant-numeric: tabular-nums; }
.m-ok dd, .m-ok b { color: var(--v-none); }
.m-warn dd, .m-warn b { color: var(--v-partial); }
.m-fail dd, .m-fail b { color: var(--v-full); }
.psi-sub { margin: 16px 0 8px; font: 700 13.5px var(--font-body); color: var(--ink-2); }
.psi-field { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.psi-field li { display: inline-flex; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--tint); font-size: 14px; }
.psi-field span { color: var(--ink-2); }
.admin-inline { color: var(--muted); font-size: 13px; }

/* privacy */
.priv-level { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: var(--lv-bg); margin-bottom: 18px; }
.priv-level b { font: 700 16.5px var(--font-display); color: var(--lv); }
.priv-level p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }
.priv-dot { width: 12px; height: 12px; margin-top: 6px; flex: none; border-radius: 50%; background: var(--lv); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lv) 22%, transparent); }
.lvl-low { --lv: var(--v-none); --lv-bg: var(--v-none-bg); }
.lvl-medium { --lv: var(--v-partial); --lv-bg: var(--v-partial-bg); }
.lvl-high { --lv: var(--v-full); --lv-bg: var(--v-full-bg); }
.trk-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-bottom: 8px; }
.trk-groups .mini-h { margin-top: 4px; }
.trk-group { margin-bottom: 14px; }
.trk-ads .chips li, .trk-recording .chips li { border-color: color-mix(in srgb, var(--v-full) 25%, var(--rule-soft)); }
.trk-private .chips li { border-color: color-mix(in srgb, var(--v-none) 30%, var(--rule-soft)); }
.priv-kv { margin-bottom: 16px; }

/* accessibility examples */
.a11y-ex { padding: 0 14px 14px; }
.a11y-ex h4 { margin: 12px 0 6px; font-size: 13.5px; color: var(--ink-2); }
.a11y-ex code { display: block; margin-top: 6px; padding: 6px 10px; background: var(--tint); border-radius: var(--radius-sm); font: 12.5px/1.55 ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); white-space: pre-wrap; word-break: break-all; }

/* content */
.read-card { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.read-card .ring b { font-size: 22px; }
.read-label { display: block; color: var(--muted); font-size: 13.5px; }
.read-level { font: 700 19px var(--font-display); }
.read-card p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }
.stats small { font: 600 13px var(--font-body); color: var(--muted); }
.lc-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.lc-pill { padding: 4px 12px; border-radius: 999px; background: var(--tint); font-size: 14px; color: var(--ink-2); }
.lc-pill b { color: var(--ink); font-variant-numeric: tabular-nums; }
.lc-ok b { color: var(--v-none); }
.lc-bad { background: var(--v-full-bg); }
.lc-bad b { color: var(--v-full); }
.lc-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule-soft); border-radius: 10px; }
.lc-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--rule-soft); font-size: 14px; }
.lc-list li:first-child { border-top: 0; }
.lc-list a { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-code { justify-self: start; padding: 1px 8px; border-radius: 6px; background: var(--v-full-bg); color: var(--v-full); font: 700 12.5px ui-monospace, Menlo, Consolas, monospace; white-space: nowrap; }
.lc-where { color: var(--muted); font-size: 13px; }

/* domain and hosting */
.dom-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dom-card { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--tint); min-width: 0; }
.dc-label { color: var(--muted); font-size: 13.5px; }
.dc-big { font: 700 19px var(--font-display); overflow-wrap: anywhere; }
.dc-sub { color: var(--ink-2); font-size: 13.5px; overflow-wrap: anywhere; }
.dc-muted .dc-big { color: var(--ink-2); }
.kv .mono { font: 13px/1.55 ui-monospace, Menlo, Consolas, monospace; }
.tag-warn { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--v-partial-bg); color: var(--v-partial); font-size: 12.5px; font-weight: 700; }
.mail-chks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mail-chk { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1px solid var(--rule-soft); border-radius: 999px; font-weight: 700; font-size: 14px; }
.mail-chk .chk-icon { width: 20px; height: 20px; margin: 0; }
.mail-chk.is-ok .chk-icon { color: var(--v-none); background: var(--v-none-bg); }
.mail-chk.is-miss .chk-icon { color: var(--v-full); background: var(--v-full-bg); }

/* social previews: neutral platform-like cards, not brand copies */
.previews-one { grid-template-columns: minmax(0, 560px); }
.sp-checks { margin-top: 16px; max-width: 420px; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sp { margin: 0; min-width: 0; }
.sp figcaption { margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.sp-card { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--panel); }
.sp-img { position: relative; aspect-ratio: 1.91 / 1; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.sp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-noimg::after { content: ""; width: 34px; height: 34px; border-radius: 8px; border: 2px dashed var(--rule); }
.sp-noimg .sp-overlay { display: none; }
.sp-x .sp-card { border-radius: 16px; }
.sp-overlay { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 2px 8px; border-radius: 5px; background: rgba(0, 0, 0, .66); color: #fff; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-from { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.sp-text { display: grid; gap: 2px; padding: 10px 12px 12px; border-top: 1px solid var(--rule-soft); }
.sp-fb .sp-text { background: var(--tint); }
.sp-text b { font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-text p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-domain { color: var(--muted); font-size: 12px; letter-spacing: .01em; }

/* history */
.hist-summary { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.hist-chart { position: relative; margin: 0 0 14px; height: 150px; border: 1px solid var(--rule-soft); border-radius: 10px; background: var(--tint); }
.hist-plot { position: absolute; left: 8px; right: 8px; top: 12px; bottom: 30px; }
.hist-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hist-chart .hl-full, .hist-chart .hl-partial { stroke-dasharray: 4 5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hl-full { stroke: color-mix(in srgb, var(--v-full) 55%, transparent); }
.hl-partial { stroke: color-mix(in srgb, var(--v-partial) 55%, transparent); }
.h-line { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linejoin: round; }
.h-dot { position: absolute; width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--panel); border: 2.5px solid var(--vc); }
.h-dot.is-current { width: 15px; height: 15px; background: var(--vc); box-shadow: 0 0 0 3px var(--panel), 0 0 0 4px var(--vc); }
.h-dot:hover { transform: translate(-50%, -50%) scale(1.25); }
.hist-axis { position: absolute; left: 12px; right: 12px; bottom: 6px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.hist-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule-soft); border-radius: 10px; max-height: 260px; overflow-y: auto; }
.hist-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 50px; gap: 14px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--rule-soft); font-size: 14px; }
.hist-list li:first-child { border-top: 0; }
.hist-list li.is-current { background: var(--tint); }
.hist-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hist-list a:hover { text-decoration: underline; }
.hist-v { color: var(--vc); font-weight: 700; font-size: 13.5px; }
.hist-s { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hist-this { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--rule-soft); color: var(--muted); font-size: 12px; font-weight: 600; }

@media (max-width: 720px) {
  .jump ul { padding: 8px 14px; }
  .health { grid-template-columns: 1fr; }
  .why, .trk-groups { grid-template-columns: 1fr; }
  .why-col + .why-col { margin-top: 6px; }
  .sp-grid { grid-template-columns: 1fr; max-width: 420px; }
  .grade-card { align-items: flex-start; }
  .lc-list li { grid-template-columns: auto minmax(0, 1fr); }
  .lc-where { grid-column: 2; margin-top: -8px; }
  .report-actions .act-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 460px) {
  .health-parts { grid-template-columns: 1fr; }
}

/* compare page */
.compare-page { margin-top: 28px; }
.compare-page > h1 { font-size: clamp(30px, 5vw, 42px); }
.compare-page > .lead { max-width: 640px; color: var(--ink-2); margin: 10px 0 26px; }
.compare-form { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: end; gap: 14px; padding: 22px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--panel); }
.cf-side { display: grid; gap: 6px; min-width: 0; }
.cf-side label { font-weight: 700; font-size: 14.5px; }
.cf-side input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg); color: var(--ink); font: 16px var(--font-body); }
.cf-side input:focus { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
.cf-fixed { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--rule-soft); border-radius: 10px; background: var(--tint); font-size: 15px; min-width: 0; }
.cf-fixed b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-fixed span { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.cf-fixed a { margin-left: auto; font-size: 13.5px; }
.cf-vs, .cmp-vs { align-self: center; color: var(--muted); font: 700 14px var(--font-display); }
.cf-vs { padding-top: 26px; }
.cf-go { height: 48px; }
.cf-go[disabled] { opacity: .75; cursor: progress; }
.cf-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.form-error { padding: 12px 16px; border-radius: 10px; background: var(--v-full-bg); color: var(--v-full); font-weight: 600; }
.cmp-heads { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; margin-bottom: 16px; }
.cmp-head { display: grid; justify-items: start; gap: 2px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--panel); border-top: 4px solid var(--vc); min-width: 0; }
.cmp-site { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.cmp-site b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-score { margin-top: 8px; font: 800 46px/1 var(--font-display); color: var(--vc); font-variant-numeric: tabular-nums; }
.cmp-score small { font-size: 22px; }
.cmp-verdict { font: 700 16px var(--font-display); color: var(--vc); }
.cmp-wins { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.cmp-link { font-size: 14px; font-weight: 600; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.cmp-table thead td, .cmp-table thead th { padding: 12px 16px; background: var(--tint); border-bottom: 1px solid var(--rule-soft); font-size: 13.5px; color: var(--muted); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-table thead td { width: 32%; }
.cmp-table tbody th { width: 32%; text-align: left; font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.cmp-table tbody th, .cmp-table tbody td { padding: 11px 16px; border-top: 1px solid var(--rule-soft); vertical-align: top; overflow-wrap: anywhere; }
.cmp-table td small { color: var(--muted); font-size: 12.5px; margin-left: 1px; }
.cmp-table td.is-better { background: color-mix(in srgb, var(--v-none-bg) 70%, transparent); box-shadow: inset 3px 0 0 var(--v-none); font-weight: 700; }
.cmp-group th { padding: 18px 16px 8px !important; border-top: 1px solid var(--rule-soft); font: 700 13px var(--font-body) !important; color: var(--ink) !important; background: var(--panel); }
.cmp-table tbody tr:first-child th { border-top: 0; }
.cmp-table .chips li { font-size: 13px; }
.cmp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
@media (max-width: 720px) {
  .compare-form { grid-template-columns: 1fr; padding: 16px; }
  .cf-vs { padding: 0; justify-self: center; }
  .cmp-heads { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cmp-vs { display: none; }
  .cmp-head { padding: 14px; }
  .cmp-score { font-size: 34px; }
  .cmp-table { font-size: 14px; }
  .cmp-table thead td, .cmp-table tbody th { width: 34%; }
  .cmp-table tbody th, .cmp-table tbody td { padding: 10px; }
}

/* API access request */
.api-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 26px 0 0; }
.cta-key { display: inline-flex; align-items: center; gap: 12px; padding: 9px 22px 9px 9px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 18px -8px color-mix(in srgb, var(--accent) 75%, transparent); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.cta-key:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -10px color-mix(in srgb, var(--accent) 85%, transparent); }
.cta-key:active { transform: translateY(0); }
.cta-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.18); }
.cta-txt { display: grid; line-height: 1.2; }
.cta-txt b { font: 700 16.5px var(--font-body); }
.cta-txt small { font-size: 13px; opacity: .82; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .cta-key { transition: none; } .cta-key:hover { transform: none; } }
@media (max-width: 480px) { .cta-key { flex: 1 1 100%; } }
.rq-form { display: grid; gap: 16px; margin-top: 18px; padding: 22px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--panel); }
.rq-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rq-field { display: grid; gap: 6px; min-width: 0; }
.rq-field > span { font-weight: 700; font-size: 14.5px; }
.rq-field small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.rq-field input, .rq-field select, .rq-field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg); color: var(--ink); font: 15.5px/1.45 var(--font-body); }
.rq-field textarea { resize: vertical; min-height: 104px; }
.rq-field input:focus, .rq-field select:focus, .rq-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
.rq-field [aria-invalid="true"] { border-color: var(--v-full); }
.rq-err { color: var(--v-full); font-size: 13.5px; font-weight: 600; }
.rq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rq-actions span { color: var(--muted); font-size: 13.5px; }
.rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq-done { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--v-none-bg); color: var(--v-none); }
.rq-done svg { flex: none; margin-top: 2px; }
.rq-done b { font: 700 17px var(--font-display); }
.rq-done p { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 720px) { .rq-row { grid-template-columns: 1fr; } .rq-form { padding: 16px; } }

@media print {
  body { background: #fff; color: #000; }
  .site-head, .site-foot, .hero, .actions, .share, .ad-slot, .section, .crumbs, .theme-toggle, .seg, .snap-live, .tech-ev summary, .jump, .report-actions, .psi[data-state="loading"] { display: none !important; }
  .snap-img[hidden] { display: block !important; }
  details.more > *:not(summary) { display: block; }
  .report { border: 0; margin: 0; }
  .spectrum-marker, .spectrum-score { transition: none; }
}
