/* testai base style — light, hvoy.ai-adjacent. No external deps. */

:root {
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --green: #10b981;
  --green-dark: #059669;
  --green-soft: #d1fae5;
  --red: #ef4444;
  --amber: #f59e0b;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
               Arial, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC",
               sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono",
               Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
/* Inner wrapper aligns nav content with the page container's max-width
   (960px) so on wide monitors the nav doesn't drift to the screen edges
   while the body stays centered. */
.site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 18px; color: var(--text);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }

/* Desktop / tablet: nav inline next to brand, left-grouped (NOT pushed to
   the right). Standard SaaS navbar layout — feels balanced because the
   eye reads brand → nav → empty space, not brand → wide gap → nav. */
.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0;
  position: relative;
}
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
/* Subtle underline on hover/focus — feels more "tappable" than bare text */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }

/* legacy external button in nav — pill-shaped chip with the official mark + label.
 * Stronger visual weight than text links so it reads as "primary external
 * action" without needing a real CTA button (which would compete with
 * the page's actual CTA). Underline animation suppressed since the chip
 * has its own border. */
.nav-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: var(--text) !important;
  margin-left: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-external:hover {
  background: var(--bg-soft);
  text-decoration: none;
}
.nav-external svg {
  flex-shrink: 0;
}
.nav-external::after { display: none !important; }  /* suppress nav underline */

/* Hamburger button — hidden on desktop, shown on mobile. */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Animate to an "X" when open — gives a clear close affordance. */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  flex: 1;
  width: 100%;
}

.site-footer {
  /* 横向 padding 移到内部 p 上,跟 .container (max-width 960 + padding 24)
     完全同步。border-top 仍占满屏宽保留分隔线视觉。文字居中显示
     (页脚约定俗成的对齐方式)。 */
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.site-footer p {
  /* 复刻 .container 的盒模型:外宽 960px、横向 24px 内 padding、border-box
     让 p 边线跟主体内容像素级对齐。文字在 960px 框内居中,
     长句超过 960px 自然换行(每行仍居中)。 */
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.site-footer p.muted.small {
  margin-top: 8px;
}

/* Footer multi-column layout — replaces the single centered paragraph
 * with a grid of {tagline + legacy external button | 项目 | 工具 | 资源}.
 * Designed for an SEO-friendly internal-link cluster footer (every
 * deep-link reachable from any page) without becoming a wall of text. */
.footer-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 24px 12px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  text-align: left;
  box-sizing: border-box;
}
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin: 6px 0; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
}
.footer-tagline {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
}
.footer-tagline strong { color: var(--green-dark, #047857); }
.footer-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-copyright {
  text-align: center;
  margin: 8px 0 0;
  padding: 0 24px;
}
.footer-copyright-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: inherit !important;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", monospace;
  text-decoration: none;
  vertical-align: middle;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.footer-copyright-link:hover {
  opacity: 1;
  text-decoration: none;
}
.footer-copyright-link svg {
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
  .footer-col-tagline {
    grid-column: 1 / -1;  /* tagline + external btn span both columns */
  }
}

/* ============================== Trust Strip ==============================
 * Hub homepage section right below the hero capsule. The whole strip
 * exists because TestAI.vip product premise is "hand us your API key" —
 * users won't do that without proof of trust. We give 3 cards of
 * concrete promises, each linking into the actual code that proves it.
 * Visual weight is intentionally heavy: subtle gradient bg + clear
 * heading anchor + external CTA at the bottom. */
.trust-strip {
  margin: 32px 0 40px;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(16, 185, 129, 0.04) 0%,
    rgba(16, 185, 129, 0.01) 60%,
    var(--bg) 100%);
}
.trust-strip-head {
  text-align: center;
  margin-bottom: 24px;
}
.trust-strip-head h2 {
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.trust-strip-head p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.trust-strip-head p strong { color: var(--text); }

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.trust-card {
  padding: 18px 18px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.trust-icon {
  font-size: 24px;
  margin-bottom: 8px;
  line-height: 1;
}
.trust-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.trust-card h3 em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 13.5px;
}
.trust-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.trust-card code {
  font-size: 11.5px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 3px;
}
.trust-link {
  font-size: 12.5px;
  color: var(--green-dark, #047857);
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
}
.trust-link:hover { text-decoration: underline; }

.trust-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
/* legacy external-styled "primary" button — recognizable mono font + dark bg
 * matches what users expect on a external-link CTA. Different from the
 * green primary CTA on detect pages so they don't compete visually. */
.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #1f2328;
  color: white;
  border: 1px solid #1f2328;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", monospace;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-external:hover {
  background: #34383d;
  border-color: #34383d;
  text-decoration: none;
  transform: translateY(-1px);
}
.trust-license-pill {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", monospace;
  color: var(--muted);
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
@media (max-width: 760px) {
  .trust-cards { grid-template-columns: 1fr; }
  .trust-strip { padding: 22px 18px 18px; }
  .trust-strip-head h2 { font-size: 19px; }
}

/* hero */
.hero { text-align: center; margin-bottom: 32px; }
.hero h1 {
  font-size: 36px; line-height: 1.2; margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hero-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* hub */
.hub-hero {
  /* 不设 max-width — 让首屏文字、协议卡片、why/how 各 section 共用 .container
     的 960px 全宽,左右边缘视觉对齐。text-wrap: balance 会在 960px 内自动
     算出每行接近相等的宽度,所以不会出现"一行特别长"的问题。 */
  margin: 8px 0 28px;
}
.hub-hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hub-hero p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.protocol-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--bg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.protocol-card-primary { border-color: rgba(16, 185, 129, 0.45); }
.protocol-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.protocol-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.protocol-card h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.protocol-card p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14px;
}
.protocol-action {
  margin-top: auto;
  width: 100%;
}
.tier-badge {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.tier-crypto {
  color: #047857;
  background: var(--green-soft);
}
.tier-behavioral {
  color: #92400e;
  background: #fef3c7;
}
.tier-protocol {
  color: #374151;
  background: #f3f4f6;
}
.hub-note {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
}
.hub-note h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.hub-note p {
  color: var(--muted);
  margin: 0 0 16px;
}

/* CJK + 英文混排:用 text-wrap: balance 让浏览器主动平衡每行宽度
   (Chrome 114+ / Firefox 121+ / Safari 17.5+),避免出现某行只到一半就换行
   的难看排版。仅对短文本(<= 6 行)生效,正好覆盖首页这些介绍段落。
   line-break: strict 防止 CJK 标点出现在错误位置;overflow-wrap 兜底防溢出。 */
/* balance 让短段落每行宽度均衡(适合三协议卡片、why 卡片这种多个并列、
   需要视觉对齐的场景,以及只有 1-2 行的页脚 / meta 文字)。
   .answer-capsule 之前也加了 balance,但它在不同页面长度差很多:首页 hero
   文字长 (>6 行) balance 自动失效→走贪心填满容器;排行榜 hero 只 2 行,
   balance 反而把两行都缩到一半宽。所以 capsule 一律用贪心换行,跟 hub-note /
   how-steps 一致 — 第一行填满容器,装不下才换行。 */
.hub-meta,
.protocol-card p,
.why-item p,
.site-footer p {
  overflow-wrap: break-word;
  text-wrap: balance;
  line-break: strict;
}
.answer-capsule,
.hub-note p,
.how-steps p {
  overflow-wrap: break-word;
  line-break: strict;
}

/* answer capsule + meta strip (SEO definition-first per SEO_AI_GEO_PLAN §3.2) */
.answer-capsule {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 14px;
}
.answer-capsule strong {
  color: var(--green-dark);
  font-weight: 600;
}
.hub-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.01em;
}
.hub-meta strong {
  color: var(--text);
  font-weight: 600;
}
/* 内联版 meta:跟在 .answer-capsule 末尾继续流动而不是另起一段。
   保持灰色 + 稍小字号的视觉差异,前面留一格空白做天然分隔。 */
.hub-meta-inline {
  color: var(--muted);
  font-size: 0.85em;
  letter-spacing: 0.01em;
  margin-left: 0.5em;
}
.hub-meta-inline strong { color: var(--text); font-weight: 600; }

/* "why testai" 5-card differentiator grid */
.why-testai { margin: 44px 0 8px; }
.why-testai h2 {
  font-size: 24px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.why-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.why-item h3 {
  font-size: 16px;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.why-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.why-item code {
  background: var(--bg-soft);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12.5px;
  color: var(--text);
}

/* "how it works" 3-step list */
.how-it-works { margin: 44px 0 8px; }
.how-it-works h2 {
  font-size: 24px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--bg);
}
.how-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.how-steps h3 {
  font-size: 16px;
  margin: 2px 0 6px;
  line-height: 1.35;
}
.how-steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.how-steps a { color: var(--green-dark); text-decoration: none; }
.how-steps a:hover { text-decoration: underline; }

/* ========== /leaderboard 红黑榜 ========== */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.lb-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  align-items: flex-start;
}
.lb-rank {
  font-size: 24px;
  text-align: center;
  padding-top: 4px;
}
.lb-rank-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.lb-main { min-width: 0; }
.lb-domain {
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  word-break: break-all;  /* 长域名能换行 */
}
.lb-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
  overflow-wrap: break-word;
}
.lb-badge-info {
  background: var(--bg-soft);
  color: var(--muted);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 12px;
}
.lb-protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.lb-proto-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 500;
}
.lb-proto-chip:hover { text-decoration: none; transform: translateY(-1px); transition: transform 0.1s; }
.lb-proto-name { font-weight: 600; }
.lb-proto-score { font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-proto-verdict { font-size: 11.5px; opacity: 0.85; }
.lb-proto-count { font-size: 11px; opacity: 0.7; }
.lb-proto-ok    { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.lb-proto-good  { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.lb-proto-warn  { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.lb-proto-fail  { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.lb-issues {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
.lb-issues code {
  background: var(--bg-soft);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11.5px;
  border: 1px solid var(--line);
}
.lb-score {
  text-align: center;
  min-width: 64px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg-soft);
}
.lb-score-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lb-score-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.lb-score-ok    { background: var(--green-soft); color: var(--green-dark); }
.lb-score-good  { background: #f0fdf4; color: #166534; }
.lb-score-warn  { background: #fffbeb; color: #92400e; }
.lb-score-fail  { background: #fef2f2; color: #991b1b; }

/* leaderboard list — domain link + detail entry */
.lb-domain a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.lb-domain a:hover {
  border-bottom-color: var(--muted);
  text-decoration: none;
}
.lb-detail-link {
  font-size: 12.5px;
  color: var(--green-dark, #047857);
  text-decoration: none;
  font-weight: 500;
}
.lb-detail-link:hover { text-decoration: underline; }

/* leaderboard detail page — per-domain SEO surface */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--muted); opacity: 0.5; }
.breadcrumb-current { color: var(--text); font-weight: 500; word-break: break-all; }

.lb-detail-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin: 24px 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.lb-detail-score {
  text-align: center;
  min-width: 110px;
  padding: 18px 20px;
  border-radius: 10px;
  background: var(--bg-soft);
}
.lb-detail-score-num {
  display: block;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lb-detail-score-label {
  display: block;
  font-size: 11px;
  color: inherit;
  opacity: 0.75;
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.lb-detail-protocols h2 {
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.lb-detail-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
}

.lb-detail-issues {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.lb-detail-issues h2 {
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.lb-issues-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lb-issues-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12.5px;
}
.lb-issues-list code {
  background: transparent;
  padding: 0;
  border: none;
  font-size: 12px;
  color: var(--text);
}
.lb-issues-count {
  color: var(--muted);
  font-size: 11.5px;
}

.lb-detail-history {
  margin: 28px 0;
}
.lb-detail-history h2 {
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.lb-history-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.lb-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.lb-history-table thead {
  background: var(--bg-soft);
}
.lb-history-table th,
.lb-history-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.lb-history-table th.num,
.lb-history-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.lb-history-table tbody tr:last-child td { border-bottom: none; }
.lb-history-table tbody tr:hover { background: var(--bg-soft); }
.lb-history-table code {
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
  border: 1px solid var(--line);
}
.lb-history-table thead tr code,
.lb-history-table tbody tr:hover code {
  background: var(--bg);
}
.lb-history-score {
  display: inline-block;
  min-width: 36px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
}
.lb-history-score-ok    { background: #ecfdf5; color: #065f46; }
.lb-history-score-good  { background: #f0fdf4; color: #166534; }
.lb-history-score-warn  { background: #fffbeb; color: #92400e; }
.lb-history-score-fail  { background: #fef2f2; color: #991b1b; }

/* Leaderboard section headers — separate Top 10 from全部列表. */
.lb-section-heading {
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.lb-section-heading h2 {
  font-size: 20px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.lb-section-heading p {
  margin: 0;
}

/* Pagination — server-rendered links so each page is a distinct URL
 * for SEO long-tail (?page=2 etc.). Designed mobile-first: chips
 * wrap onto multiple lines if needed instead of overflowing. */
.lb-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 28px 0;
  font-size: 14px;
}
.lb-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.lb-page-btn:hover {
  background: var(--bg-soft);
  text-decoration: none;
}
.lb-page-current {
  background: var(--green);
  color: white;
  border-color: var(--green);
  font-weight: 600;
}
.lb-page-current:hover {
  background: var(--green);  /* lock — current page isn't a link */
  color: white;
}
.lb-page-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.lb-page-ellipsis {
  align-self: flex-end;
  padding: 7px 4px;
  color: var(--muted);
}

/* ========== ztest-style mock rankings page ========== */
body.page-rankings {
  background: #f6f8f9;
}
body.page-rankings .rankings-main {
  max-width: 1200px;
  padding-top: 26px;
}
.zlb-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
}
.zlb-page-head h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  color: #17242b;
  text-wrap: balance;
}
.zlb-page-head p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #4f626c;
  font-size: 14px;
  line-height: 1.65;
}
.zlb-periods {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px;
  border: 1px solid #dce5e8;
  border-radius: 12px;
  background: #ffffff;
}
.zlb-period {
  border: 0;
  border-radius: 8px;
  padding: 7px 12px;
  background: transparent;
  color: #50646e;
  font-size: 13px;
  font-weight: 650;
}
.zlb-period.is-active {
  background: #17242b;
  color: #ffffff;
}
.zlb-period:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.zlb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
.zlb-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  border: 1px solid #dce5e8;
  border-radius: 12px;
  background: #ffffff;
  color: #1c2d35;
  padding: 10px 13px;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
.zlb-tab:hover {
  border-color: #afc2c8;
  background: #fbfcfc;
}
.zlb-tab.is-active {
  border-color: #189584;
  background: #f0fbf8;
}
.zlb-tab span:last-child {
  display: grid;
  gap: 1px;
}
.zlb-tab strong {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 750;
}
.zlb-tab small {
  color: #667985;
  font-size: 11px;
}
.zlb-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.zlb-model-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  flex-shrink: 0;
}
.zlb-model-icon::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: currentColor;
}
.zlb-model-icon-openai {
  background: #d8f3ee;
  color: #137f72;
}
.zlb-model-icon-claude {
  background: #f4e6dc;
  color: #d97757;
}
.zlb-model-icon-gemini {
  background: #f6e8c8;
  color: #c98512;
}
.zlb-model-icon-rose.zlb-model-icon-openai {
  background: #f3dce4;
  color: #bf4c62;
}
.zlb-model-icon-blue.zlb-model-icon-claude {
  background: #dfeefd;
  color: #2f6fa3;
}
.zlb-model-icon-openai::before {
  -webkit-mask: url('/static/brand-icons/openai.svg') center / contain no-repeat;
  mask: url('/static/brand-icons/openai.svg') center / contain no-repeat;
}
.zlb-model-icon-claude::before {
  -webkit-mask: url('/static/brand-icons/claude.svg') center / contain no-repeat;
  mask: url('/static/brand-icons/claude.svg') center / contain no-repeat;
}
.zlb-model-icon-gemini::before {
  -webkit-mask: url('/static/brand-icons/gemini.svg') center / contain no-repeat;
  mask: url('/static/brand-icons/gemini.svg') center / contain no-repeat;
}
.zlb-dot-teal { background: #189584; }
.zlb-dot-cyan { background: #188fa3; }
.zlb-dot-blue { background: #2f6fa3; }
.zlb-dot-amber { background: #c98512; }
.zlb-dot-rose { background: #bf4c62; }
.zlb-panel {
  border: 1px solid #dce5e8;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}
.zlb-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 16px;
  border-bottom: 1px solid #dce5e8;
}
.zlb-panel-head h2 {
  margin: 0;
  color: #17242b;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}
.zlb-data-time {
  margin-left: auto;
  color: #6f818a;
  font-size: 12px;
}
.zlb-count {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #6f818a;
  font-size: 11px;
}
.zlb-table-wrap {
  overflow-x: auto;
}
.zlb-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
.zlb-col-site { width: 24%; }
.zlb-col-group { width: 15%; }
.zlb-col-score { width: 9%; }
.zlb-col-uptime { width: 9%; }
.zlb-col-price { width: 11%; }
.zlb-col-latency { width: 9%; }
.zlb-col-days { width: 7%; }
.zlb-col-status { width: 12%; }
.zlb-col-detail { width: 8%; }
.zlb-table th {
  padding: 9px 14px;
  color: #5e727c;
  background: #f8fafb;
  border-bottom: 1px solid #dce5e8;
  text-align: left;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}
.zlb-table th:last-child,
.zlb-table td:last-child {
  text-align: center;
}
.zlb-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e9eff1;
  color: #17242b;
  vertical-align: middle;
}
.zlb-table tbody tr {
  transition: background-color 0.14s ease;
}
.zlb-table tbody tr:hover {
  background: #fbf7ef;
}
.zlb-table tbody tr:last-child td {
  border-bottom: 0;
}
.zlb-site-cell {
  min-width: 0;
}
.zlb-site-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.zlb-rank {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef4f5;
  color: #536973;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.zlb-site-name {
  overflow: hidden;
  color: #17242b;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zlb-site-name:hover {
  color: #0f766e;
  text-decoration: none;
}
.zlb-site-sub {
  margin-top: 3px;
  padding-left: 29px;
  color: #6f818a;
  font-size: 12px;
  white-space: nowrap;
}
.zlb-confidence {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 750;
}
.zlb-confidence-high {
  background: #e8f8f2;
  color: #087457;
}
.zlb-confidence-medium {
  background: #eef5ff;
  color: #255d92;
}
.zlb-confidence-low {
  background: #fff4dd;
  color: #8a5607;
}
.zlb-group {
  overflow: hidden;
  color: #364b55;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zlb-score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 56px;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.zlb-score strong {
  font-size: 11px;
  font-weight: 800;
}
.zlb-score em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}
.zlb-score-ok { background: #13906f; }
.zlb-score-good { background: #249162; }
.zlb-score-warn { background: #c98512; }
.zlb-score-bad { background: #c94343; }
.zlb-uptime,
.zlb-price,
.zlb-latency,
.zlb-days {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  white-space: nowrap;
}
.zlb-uptime {
  font-weight: 800;
}
.zlb-uptime-high { color: #087457; }
.zlb-uptime-mid { color: #9a6708; }
.zlb-uptime-low { color: #b42318; }
.zlb-price,
.zlb-days {
  color: #4a5f69;
}
.zlb-latency {
  color: #17242b;
  font-weight: 650;
}
.zlb-bars {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-width: 116px;
}
.zlb-bar {
  display: block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: #d7e0e3;
}
.zlb-bar-ok { background: #19a46f; }
.zlb-bar-warn { background: #e0a51a; }
.zlb-bar-bad { background: #d74b4b; }
.zlb-bar-none { background: #d7e0e3; }
.zlb-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  padding: 5px 9px;
  color: #2a3d46;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.zlb-detail:hover {
  border-color: #17242b;
  background: #f3f6f7;
  text-decoration: none;
}
.zlb-note {
  max-width: 860px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid #dce5e8;
  border-radius: 12px;
  background: #ffffff;
}
.zlb-note h2 {
  margin: 0 0 6px;
  color: #17242b;
  font-size: 16px;
  letter-spacing: 0;
}
.zlb-note p {
  margin: 0;
  color: #4f626c;
  font-size: 13.5px;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .zlb-page-head {
    flex-direction: column;
  }
  .zlb-periods {
    width: 100%;
    overflow-x: auto;
  }
  .zlb-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
  }
  .zlb-tab {
    min-width: 168px;
  }
}

@media (max-width: 720px) {
  body.page-rankings .rankings-main {
    padding-top: 20px;
  }
  .zlb-page-head h1 {
    font-size: 28px;
  }
  .zlb-page-head p {
    font-size: 13.5px;
  }
  .zlb-panel-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .zlb-data-time {
    margin-left: 0;
  }
  .zlb-table {
    min-width: 760px;
  }
  .zlb-col-site { width: 34%; }
  .zlb-col-group,
  .zlb-col-days,
  .zlb-col-status {
    display: none;
  }
  .zlb-table th:nth-child(2),
  .zlb-table td:nth-child(2),
  .zlb-table th:nth-child(7),
  .zlb-table td:nth-child(7),
  .zlb-table th:nth-child(8),
  .zlb-table td:nth-child(8) {
    display: none;
  }
  .zlb-site-sub {
    padding-left: 0;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .lb-detail-summary {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lb-detail-score { min-width: 0; }
  .lb-detail-score-num { font-size: 40px; }
}

/* coming soon */
.coming-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.coming-head h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 4px 0 10px;
  letter-spacing: -0.02em;
}
.coming-head .muted {
  max-width: 680px;
  margin: 0;
}
.coming-card {
  max-width: 680px;
}
.coming-notice {
  margin: 0 0 22px;
  color: var(--muted);
}
.wishlist-form .btn-primary {
  max-width: 220px;
}
.form-success {
  color: var(--green-dark);
  font-size: 14px;
  margin: 12px 0 0;
}

/* card */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.form-card { padding: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  background: var(--bg);
  font-family: inherit;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.field .hint { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field { margin-bottom: 18px; }

/* Opt-in checkbox row — for long-context probe and other paid extras. */
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.field-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.field-checkbox label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.5;
  flex: 1;
}
.field-checkbox label > strong { font-weight: 600; }
.field-checkbox .checkbox-hint {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
}
.field-checkbox .checkbox-hint strong { color: var(--text); font-weight: 600; }
.field-checkbox:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft, rgba(16, 185, 129, 0.06));
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}
.btn:hover { background: var(--bg-soft); }
.btn-primary {
  background: var(--green); color: white; border-color: var(--green);
  width: 100%; padding: 13px 22px; font-size: 16px;
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-ghost { background: var(--bg); }

.form-error {
  color: var(--red);
  font-size: 14px;
  margin: 12px 0 0;
}
/* Rich error card — used when /api/detect returns 422 model_not_alive.
   Renders the inline "switch to recommended" + "force submit" actions
   instead of just text. */
.form-error.form-error-rich {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 14px 16px;
  color: #991b1b;
}
.form-error-title { font-weight: 600; margin-bottom: 4px; }
.form-error-body { font-size: 13px; color: #7f1d1d; word-break: break-word; }
.form-error-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.form-error-actions .btn { font-size: 13px; padding: 7px 14px; }

/* features */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.feature h3 { font-size: 15px; margin: 0 0 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* running */
.running-card { text-align: center; padding: 56px 28px; }
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.running-report {
  width: min(100%, 1060px);
  margin: 0 auto;
}
.running-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 0 18px;
}
.running-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.running-title-line h1 {
  margin: 0;
  color: var(--ta-ink, var(--text));
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.run-state-pill,
.run-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef5f8;
  color: #60778a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.run-state-pill.is-running,
.run-state-pill.is-done,
.status-ok {
  background: #dcfce7;
  color: #059669;
}
.run-state-pill.is-error,
.status-fail {
  background: #fee2e2;
  color: #991b1b;
}
.status-warn {
  background: #eef5f8;
  color: #60778a;
}
.status-muted {
  background: #eef2f7;
  color: #708195;
}
.running-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  color: #688093;
  font-size: 15px;
}
.running-meta code,
.running-job-id code {
  color: #536b7d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}
.running-job-id {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #7a8fa2;
  font-size: 12px;
}
.run-progress-card,
.run-probe-card {
  border: 1px solid #dce8ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 52px rgba(15, 31, 52, .07);
}
.run-progress-card {
  padding: 22px 24px;
}
.run-progress-top,
.run-current-line,
.run-card-head,
.run-probe-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.run-progress-top {
  margin-bottom: 12px;
  color: #61778d;
}
.run-progress-top strong {
  color: #40566b;
  font-size: 16px;
}
.run-progress-top span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}
.run-progress-track {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f5;
}
.run-progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, .16) 38%,
      rgba(22, 163, 148, .24) 50%,
      rgba(255, 255, 255, .16) 62%,
      transparent 100%
    );
  transform: translateX(-100%);
  pointer-events: none;
}
.run-progress-track.is-live::after {
  opacity: 1;
  animation: run-track-sweep 1.55s ease-in-out infinite;
}
.run-progress-track i {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background:
    linear-gradient(90deg, #16a394 0%, #14b8a6 55%, #21c9b8 100%);
  transition: width .28s ease;
}
.run-progress-track i::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      transparent 28%,
      rgba(255, 255, 255, .42) 45%,
      transparent 62%,
      transparent 100%
    );
  transform: translateX(-120%);
  pointer-events: none;
}
.run-progress-track.is-live i::after {
  opacity: 1;
  animation: run-fill-shimmer 1.15s linear infinite;
}
@keyframes run-track-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes run-fill-shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.run-phase-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.run-phase {
  position: relative;
  border: 1px solid #e4edf4;
  border-radius: 999px;
  background: #f8fbfe;
  color: #73889c;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.run-phase.is-done {
  border-color: rgba(22, 163, 148, .24);
  background: #ecfdf5;
  color: #047857;
}
.run-phase.is-active {
  border-color: rgba(15, 92, 255, .25);
  background: #eaf2ff;
  color: var(--ta-blue, #0f5cff);
}
.run-phase.is-active::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: .55;
  transform: translateY(-50%);
  animation: run-phase-pulse 1.2s ease-in-out infinite;
}
@keyframes run-phase-pulse {
  0%, 100% { opacity: .35; transform: translateY(-50%) scale(.82); }
  50% { opacity: .85; transform: translateY(-50%) scale(1.12); }
}
.run-current-line {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #e4edf4;
  border-radius: 12px;
  background: #f8fbfe;
}
.run-current-line span {
  color: #7a8fa2;
  font-size: 13px;
}
.run-current-line strong {
  color: #23364a;
  font-size: 14px;
}
.run-current-line strong.is-live::after {
  content: "...";
  display: inline-block;
  overflow: hidden;
  width: 0;
  text-align: left;
  vertical-align: bottom;
  animation: run-current-dots 1.2s steps(4, end) infinite;
}
@keyframes run-current-dots {
  0% { width: 0; }
  100% { width: 1.25em; }
}
.run-probe-card {
  margin-top: 18px;
  overflow: hidden;
}
.run-card-head {
  padding: 18px 22px;
  border-bottom: 1px solid #e6edf5;
}
.run-card-head h2 {
  margin: 0;
  color: #152233;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.run-card-head p {
  margin: 4px 0 0;
  color: #71869a;
  font-size: 13px;
}
.run-card-head span {
  color: #708195;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.run-probe-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}
.run-probe-stats span {
  border-radius: 999px;
  background: #f1f5f9;
  color: #60778a;
  padding: 5px 9px;
  font-size: 12px;
}
.run-probe-stats .stat-running {
  background: #eaf2ff;
  color: var(--ta-blue, #0f5cff);
}
.run-probe-stats .stat-ok {
  background: #dcfce7;
  color: #047857;
}
.run-probe-stats .stat-risk {
  background: #fee2e2;
  color: #991b1b;
}
.run-probe-list {
  background: #fff;
}
.run-probe-empty {
  padding: 18px 22px;
  color: #708195;
  font-size: 14px;
}
.run-probe-row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) 92px 72px 84px;
  padding: 13px 22px;
  border-bottom: 1px solid #edf2f7;
}
.run-probe-row:last-child {
  border-bottom: 0;
}
.run-probe-code,
.run-probe-score,
.run-probe-time {
  color: #63798e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
}
.run-probe-name {
  min-width: 0;
  color: #203347;
  font-size: 15px;
  font-weight: 760;
}
.run-probe-error {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #991b1b;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .running-report-head {
    display: grid;
  }
  .running-job-id {
    justify-items: start;
  }
  .run-probe-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .run-phase-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .run-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .run-probe-stats {
    justify-content: flex-start;
  }
  .run-probe-score,
  .run-probe-time {
    grid-column: 2 / 3;
  }
  .run-probe-time::before {
    content: "耗时 ";
    color: #94a3b8;
  }
}
@media (prefers-reduced-motion: reduce) {
  .run-progress-track.is-live::after,
  .run-progress-track.is-live i::after,
  .run-phase.is-active::after,
  .run-current-line strong.is-live::after {
    animation: none;
  }
  .run-progress-track.is-live::after,
  .run-progress-track.is-live i::after {
    opacity: 0;
  }
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- result page ---------- */
.result-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 24px;
}
.result-head h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.02em; }
.result-head .muted { font-size: 14px; word-break: break-all; }
.result-actions { display: flex; gap: 8px; flex-shrink: 0; }

.result-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  align-items: center;
}
.result-left { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.score-ring {
  width: 220px; height: 220px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.score-ok      { background: var(--green); }
.score-ok-dim  { background: var(--green-dark); }
.score-warn    { background: var(--amber); }
.score-fail    { background: var(--red); }

.score-inner {
  width: calc(100% - 24px); height: calc(100% - 24px);
  background: var(--bg);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-num { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; }
.score-caption { color: var(--muted); font-size: 14px; margin-top: 4px; }
.attribution { margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.check-row:last-child { border-bottom: 0; }
.check-icon { display: flex; align-items: center; }
.check-label { font-size: 16px; }
.check-status {
  font-size: 14px; font-weight: 600;
}
.check-ok .check-status      { color: var(--green); }
.check-warn .check-status    { color: var(--amber); }
.check-fail .check-status    { color: var(--red); }
.check-muted .check-status   { color: var(--muted); }

/* metrics row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.metrics-row-5 { grid-template-columns: repeat(5, 1fr); }
.metric {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
}
.metric-warn { border-color: var(--red); border-width: 2px; }
.metric-label { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; }
.metric-value { font-size: 24px; font-weight: 700; margin-top: 6px; }

.alert-card {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.notes-card {
  background: #fffbeb;
  border-color: #fde68a;
}
.notes-card h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.note-item + .note-item {
  border-top: 1px solid #fde68a;
  margin-top: 14px;
  padding-top: 14px;
}
.note-item p {
  color: #92400e;
  margin: 6px 0 0;
}

.details-card summary {
  cursor: pointer; font-weight: 600; padding: 4px 0;
}
.def-list { display: grid; grid-template-columns: 200px 1fr; gap: 10px 18px; margin-top: 14px; }
.def-list dt { font-weight: 600; }
.def-list dd { margin: 0; color: var(--muted); }

/* combobox (custom dropdown — replaces native <datalist> for mobile reliability) */
.combo { position: relative; width: 100%; }
/* input doesn't auto-fill its block container; force 100% so the combo
   matches the width of the sibling <select> in .field-row. */
.combo > input { width: 100%; }
.combo-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 280px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  -webkit-overflow-scrolling: touch;
}
.combo-item {
  padding: 11px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", Consolas, monospace;
  color: var(--text);
  /* mobile: bigger tap target, easier to hit */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.combo-item:hover, .combo-item.active {
  background: var(--green-soft);
  color: var(--green-dark);
}
.combo-item:active {
  background: var(--green);
  color: white;
}
.combo-item[hidden] { display: none; }
/* When the input has a query, non-matching items dim instead of hide so the
   user can still see the relay's full model whitelist surfaced by /api/probe. */
.combo-item.no-match { opacity: 0.4; }
.combo-item.no-match:hover { opacity: 1; }

/* FAQ */
.faq { margin-top: 48px; }
.faq h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
}

/* FAQ header — title row + dual-mode toggle (通俗 / 开发者).
   Two answers per question (data-mode="layperson|developer"); CSS hides
   the inactive mode based on the parent .faq's data-mode attribute. JS
   in app.js flips the attribute and persists the choice in localStorage. */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
}
.faq-header h2 { margin: 0; }
.faq-mode-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
}
.faq-mode-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.faq-mode-btn:hover { color: var(--text); }
.faq-mode-active {
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Mode-specific answer visibility — by default both <p data-mode> are in
   DOM (so search engines see both); CSS hides whichever doesn't match
   the active mode. */
.faq[data-mode="layperson"] [data-mode="developer"] { display: none; }
.faq[data-mode="developer"] [data-mode="layperson"] { display: none; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 0;
  transition: box-shadow 0.15s;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-body {
  padding: 0 22px 22px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.faq-body p:first-child { margin-top: 0; }
.faq-body ul, .faq-body ol { padding-left: 22px; }
.faq-body li { margin-bottom: 6px; }
.faq-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
.faq-table th, .faq-table td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.faq-table th {
  background: var(--bg-soft);
  font-weight: 600;
}

/* Tablet (721px–960px): same desktop layout, just slightly tighter padding
   so on iPad portrait the brand+nav fit one row without crowding. */
@media (max-width: 960px) {
  .site-header-inner { padding: 14px 20px; gap: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
}

/* Mobile (≤720px): collapse nav into hamburger dropdown. */
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
  .protocol-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .answer-capsule { font-size: 16px; }
  .why-testai h2, .how-it-works h2 { font-size: 20px; }

  /* leaderboard 手机端:rank 列改小 + score 移到 main 下方,避免 3 列挤 */
  .lb-row {
    grid-template-columns: 32px 1fr;
    grid-template-areas:
      "rank main"
      ".    score";
    gap: 10px 12px;
  }
  .lb-rank { grid-area: rank; font-size: 18px; padding-top: 0; }
  .lb-rank-num { width: 28px; height: 28px; line-height: 28px; font-size: 12px; }
  .lb-main { grid-area: main; }
  .lb-score {
    grid-area: score;
    justify-self: start;
    min-width: 0;
    padding: 4px 10px;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
  }
  .lb-score-num { font-size: 20px; }
  .lb-score-label { margin-top: 0; }

  /* 手机端:步骤项从「左圆数字 + 右内容」改成「上数字 + 下内容」竖排,
     避免左边 32px 圆 + 16px gap 吃掉 48px 内容宽度。让描述文字填满整个
     步骤框,跟其他卡片视觉一致。 */
  .how-steps li {
    flex-direction: column;
    gap: 8px;
  }
  .field-row { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; padding: 24px; }
  .metrics-row, .metrics-row-5 { grid-template-columns: repeat(2, 1fr); }
  .def-list { grid-template-columns: 1fr; }
  .result-head { flex-direction: column; }
  .hero h1 { font-size: 28px; }
  .hub-hero h1, .coming-head h1 { font-size: 28px; }
  .coming-head { flex-direction: column; }

  /* Show hamburger; collapse nav into a dropdown panel positioned right
     under the header. */
  .nav-toggle { display: flex; }
  .site-header-inner { padding: 12px 16px; gap: 12px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    /* Hidden by default on mobile; toggled via aria-expanded on .nav-toggle */
    display: none;
  }
  /* When the toggle's aria-expanded is true, reveal the nav.
     Sibling selector relies on toggle being a direct sibling of nav. */
  .nav-toggle[aria-expanded="true"] ~ .site-nav {
    display: flex;
  }
  .site-nav a {
    padding: 14px 20px;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a:hover { background: var(--bg-soft); }
  /* Disable the underline animation in dropdown rows — it competes with
     the row-tap highlight and looks busy. */
  .site-nav a::after { display: none; }
  /* Mobile: external icon-only button sits as a normal-looking row, not a
     32px circle in the corner of a dropdown. */
  .site-nav .nav-external {
    width: auto;
    height: auto;
    border-radius: 0;
    margin-left: 0;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 20px;
  }
  .site-nav .nav-external::before {
    content: "\5916\90e8\94fe\63a5";
    font-size: 15px;
  }
  .site-nav .nav-external svg {
    order: -1;
  }
}

/* pre-submit /v1/models probe pill (web/static/app.js inserts it) */
.probe-pill {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.55;
}
.probe-pill .probe-headline { font-weight: 600; }
.probe-pill .probe-detail { margin-top: 4px; color: var(--muted); font-size: 12px; word-break: break-all; }
.probe-pill .probe-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.probe-pill .probe-action {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
}
.probe-ok      { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.probe-warn    { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.probe-fail    { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.probe-neutral { background: #f9fafb; border-color: #e5e7eb; color: #4b5563; }

/* =========== /faq page =========== */
.faq-hero {
  margin: 8px 0 24px;
}
.faq-hero h1 {
  font-size: 32px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.faq-hero-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 740px;
}

/* Two-column: sticky TOC | main content */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 16px;
}

.faq-toc {
  position: sticky;
  /* site-header is sticky at top: 0 with ~58px height; offset so TOC sits below */
  top: 78px;
  align-self: start;
  font-size: 14px;
}
.faq-toc-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.faq-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-toc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.faq-toc-list a {
  color: var(--text);
  padding: 7px 10px;
  border-radius: 6px;
  flex: 1;
  border-left: 2px solid transparent;
}
.faq-toc-list a:hover {
  background: var(--bg-soft);
  text-decoration: none;
  border-left-color: var(--green);
}
.faq-toc-count {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  padding-right: 6px;
}

/* Main column */
.faq-main { min-width: 0; }

.faq-category {
  scroll-margin-top: 76px;  /* offset for sticky header when jumping via TOC */
  margin-bottom: 48px;
}
.faq-category h2 {
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.faq-category-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.faq-entries {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-entry {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  scroll-margin-top: 76px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-entry[open] {
  border-color: var(--green);
  box-shadow: 0 1px 6px rgba(16, 185, 129, 0.08);
}
.faq-entry summary.faq-q {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.faq-entry summary.faq-q::-webkit-details-marker { display: none; }
/* Custom triangle on the right */
.faq-entry summary.faq-q::before {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  margin-right: 4px;
  transition: transform 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}
.faq-entry[open] summary.faq-q::before {
  transform: rotate(45deg);
  border-color: var(--green);
}
.faq-entry summary.faq-q:hover { background: var(--bg-soft); }
.faq-entry[open] summary.faq-q:hover { background: var(--bg); }

.faq-permalink {
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.faq-entry:hover .faq-permalink,
.faq-entry[open] .faq-permalink { opacity: 1; }

.faq-a {
  padding: 0 16px 16px 36px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.75;
}

.faq-no-answer {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.faq-no-answer h2 {
  font-size: 16px;
  margin: 0 0 8px;
}
.faq-no-answer p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}

/* "更多问题 → /faq#xxx" trailer on product pages — separates the picked
   highlight FAQ from the deep-link to the full /faq page. */
.faq-more {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.faq-more a { color: var(--green-dark); }

/* Tablet (≤960px): TOC narrows but still sticky */
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 180px 1fr; gap: 28px; }
  .faq-toc { font-size: 13px; }
}

/* Mobile (≤820px, 覆盖 iPhone 全系 + iPad 竖屏):TOC 改成多行换行的 chip 卡片
   (而不是隐性横滚,所有分类一次看全),所有正文允许任意位置断词防止溢出。 */
@media (max-width: 820px) {
  .faq-hero h1 { font-size: 26px; }
  .faq-hero-sub { font-size: 14px; }
  .faq-layout { grid-template-columns: 1fr; gap: 16px; }
  .faq-toc {
    position: static;
    top: auto;
    margin: 0 0 4px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-soft);
  }
  .faq-toc-title { display: none; }
  .faq-toc-list {
    flex-direction: row;
    flex-wrap: wrap;       /* 多行排版,所有分类一次看全 */
    gap: 8px;
  }
  .faq-toc-list li { flex-shrink: 0; }
  .faq-toc-list a {
    background: var(--bg);
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
    font-size: 13px;
  }
  .faq-toc-list a:hover { border-left-color: var(--line); }
  .faq-toc-count {
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 1px 6px;
    margin-left: 4px;
  }
  .faq-category h2 { font-size: 20px; }
  .faq-category-intro,
  .faq-q,
  .faq-a {
    overflow-wrap: anywhere;  /* 长英文/code 可在任意位置断行,不撑宽容器 */
  }
  .faq-a { padding: 0 14px 14px 32px; font-size: 14px; }
  /* 收紧 container 横向 padding,把 16px 让给正文 */
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ================= TestAI.vip homepage v1 ================= */
body.page-home {
  --ta-ink: #09111f;
  --ta-ink-2: #203049;
  --ta-muted: #647086;
  --ta-line: #dce5ee;
  --ta-bg: #f6f9fc;
  --ta-panel: #ffffff;
  --ta-blue: #0f5cff;
  --ta-cyan: #1fb6ff;
  --ta-green: #16a36b;
  --ta-warn: #b7791f;
  --ta-red: #d64545;
  background: var(--ta-bg);
}

body.page-home .site-header {
  border-bottom-color: rgba(15, 92, 255, 0.1);
  background: rgba(246, 249, 252, 0.88);
  backdrop-filter: blur(14px);
}
body.page-home .site-header-inner,
body.page-home .footer-grid,
body.page-home .site-footer p {
  max-width: 1180px;
}
body.page-home .brand svg circle,
body.page-home .brand svg path { stroke: var(--ta-blue); }
body.page-home .site-nav a::after { background: var(--ta-blue); }
body.page-home a { color: var(--ta-blue); }
body.page-home .home-main {
  max-width: none;
  padding: 0;
}

.ta-landing {
  margin: 0 calc(50% - 50vw);
  color: var(--ta-ink);
  overflow: hidden;
}
.ta-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}
.ta-hero {
  position: relative;
  min-height: 680px;
  padding: clamp(58px, 7vw, 96px) 0 70px;
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 182, 255, 0.2), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(15, 92, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #fafdff 0%, #eef6ff 100%);
}
.ta-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(9, 17, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 17, 31, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.ta-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.ta-kicker,
.ta-section-tag,
.ta-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ta-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.ta-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ta-green);
  box-shadow: 0 0 0 5px rgba(22, 163, 107, .14);
}
.ta-hero h1 {
  margin: 18px 0 20px;
  max-width: 780px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.ta-hero-sub {
  max-width: 660px;
  margin: 0;
  color: var(--ta-ink-2);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.68;
  text-wrap: pretty;
}
.ta-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.ta-primary-link,
.ta-secondary-link,
.ta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 760;
  text-decoration: none !important;
}
.ta-primary-link,
.ta-submit {
  border: 0;
  background: var(--ta-ink);
  color: #fff !important;
  cursor: pointer;
}
.ta-secondary-link {
  color: var(--ta-ink) !important;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15, 92, 255, .14);
}
.ta-detect-card {
  border: 1px solid rgba(15, 92, 255, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 18px 50px rgba(20, 58, 118, .12);
}
.ta-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.ta-card-head h2 {
  margin: 5px 0 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.ta-mode-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 107, .1);
  color: #0c7a4c;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.ta-field,
.ta-model-block {
  display: block;
  margin-top: 14px;
}
.ta-field span,
.ta-field-title {
  display: block;
  margin-bottom: 7px;
  color: var(--ta-ink-2);
  font-size: 13px;
  font-weight: 720;
}
.ta-field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--ta-line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ta-ink);
  background: #fbfdff;
  font: inherit;
  outline: none;
}
.ta-field input:focus {
  border-color: rgba(15, 92, 255, .6);
  box-shadow: 0 0 0 4px rgba(15, 92, 255, .08);
}
.ta-model-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ta-model-chip,
.ta-speed-row span,
.ta-speed-row strong,
.ta-speed-row button {
  border: 1px solid var(--ta-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ta-ink-2);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 700;
}
.ta-model-chip {
  cursor: pointer;
}
.ta-model-chip.is-active {
  border-color: rgba(15, 92, 255, .28);
  background: rgba(15, 92, 255, .1);
  color: var(--ta-blue);
}
.ta-speed-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.ta-speed-row strong,
.ta-speed-row button.is-active {
  border-color: rgba(15, 92, 255, .28);
  background: var(--ta-ink);
  color: #fff;
}
.ta-speed-row button {
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
}
.ta-speed-row button small {
  margin-left: 4px;
  opacity: .72;
  font-size: 11px;
}
.ta-submit {
  width: 100%;
  margin-top: 18px;
  font-size: 16px;
}
.ta-safe-note {
  margin: 12px 0 0;
  color: var(--ta-muted);
  font-size: 12px;
  line-height: 1.6;
}

.ta-rank-section {
  padding: 64px 0 48px;
  background: #fff;
}
.ta-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}
.ta-section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.ta-section-head a {
  font-weight: 760;
  text-decoration: none;
}
.ta-rank-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.ta-rank-tabs button {
  border: 1px solid var(--ta-line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: var(--ta-ink-2);
  font-weight: 720;
  white-space: nowrap;
}
.ta-rank-tabs button.is-active {
  background: var(--ta-ink);
  color: #fff;
  border-color: var(--ta-ink);
}
.ta-rank-table {
  overflow: hidden;
  border: 1px solid var(--ta-line);
  border-radius: 16px;
  background: #fff;
}
.ta-rank-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) .75fr .8fr minmax(160px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--ta-line);
}
.ta-rank-row:first-child { border-top: 0; }
.ta-rank-head {
  background: #f7fafc;
  color: var(--ta-muted);
  font-size: 13px;
  font-weight: 760;
}
.ta-rank-row strong { display: block; }
.ta-rank-row small {
  display: block;
  margin-top: 2px;
  color: var(--ta-muted);
}
.ta-score,
.ta-status {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 800;
}
.ta-score.good,
.ta-status.ok { background: rgba(22, 163, 107, .12); color: #0c7a4c; }
.ta-score.mid,
.ta-status.warn { background: rgba(183, 121, 31, .13); color: var(--ta-warn); }
.ta-score.risk,
.ta-status.bad { background: rgba(214, 69, 69, .12); color: var(--ta-red); }
.ta-rank-note {
  margin: 12px 0 0;
  color: var(--ta-muted);
  font-size: 13px;
}
.ta-proof-section {
  padding: 50px 0 72px;
  background: linear-gradient(180deg, #fff 0%, #f3f8ff 100%);
}
.ta-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ta-proof-grid article {
  padding: 24px;
  border: 1px solid rgba(15, 92, 255, .12);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
}
.ta-proof-grid span {
  color: var(--ta-blue);
  font-weight: 900;
}
.ta-proof-grid h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}
.ta-proof-grid p {
  margin: 0;
  color: var(--ta-muted);
}

@media (max-width: 860px) {
  .ta-hero-grid,
  .ta-proof-grid { grid-template-columns: 1fr; }
  .ta-hero { min-height: auto; }
  .ta-rank-row {
    grid-template-columns: 1fr 88px;
  }
  .ta-rank-row span:nth-child(3),
  .ta-rank-row span:nth-child(4),
  .ta-rank-row span:nth-child(5) { display: none; }
  .ta-section-head { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .ta-live-dot { box-shadow: none; }
}

/* ================= TestAI.vip homepage v2: compact, trust-first ================= */
.ta-landing-compact {
  background: #f7fafc;
}
.ta-hero-compact {
  min-height: auto;
  padding: 54px 0 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 182, 255, .14), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(15, 92, 255, .10), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
}
.ta-hero-compact .ta-hero-bg {
  background-size: 40px 40px;
  opacity: .72;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}
.ta-hero-copy-compact {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}
.ta-hero-copy-compact .ta-kicker {
  margin: 0 0 10px;
}
.ta-hero-copy-compact h1 {
  max-width: 900px;
  margin: 0 auto 12px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.ta-hero-copy-compact .ta-hero-sub {
  max-width: 760px;
  margin: 0 auto;
  color: #405169;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.72;
}
.ta-detect-card-wide {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto 8px;
  padding: 24px 24px 20px;
  border-radius: 14px;
  background: #fff;
  border-color: #d7e2ee;
  box-shadow: 0 8px 14px rgba(35, 55, 78, .08);
}
.ta-form-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.ta-form-title-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ta-form-title-block strong {
  color: #0f1a2a;
  font-size: 14px;
}
.ta-trust-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.ta-trust-mini span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef9f4;
  color: #0c6f48;
  font-size: 12px;
  font-weight: 760;
}
.ta-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.ta-detect-card-wide .ta-field,
.ta-detect-card-wide .ta-model-block {
  margin-top: 0;
}
.ta-detect-card-wide .ta-field span {
  color: #162235;
  font-size: 13px;
  font-weight: 760;
}
.ta-detect-card-wide .ta-field small {
  margin-left: 5px;
  color: #607286;
  font-size: 12px;
  font-weight: 560;
}
.ta-detect-card-wide .ta-field input {
  height: 42px;
  border-radius: 10px;
  background: #f9fbfd;
}
.ta-option-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.ta-option-row .ta-field-title {
  margin: 0;
  color: #162235;
}
.ta-detect-card-wide .ta-model-grid {
  gap: 8px;
}
.ta-detect-card-wide .ta-model-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}
.ta-model-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}
.ta-model-icon-openai {
  border: 1.7px solid #17202c;
  border-radius: 50%;
}
.ta-model-icon-openai::before,
.ta-model-icon-openai::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid #17202c;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(28deg);
}
.ta-model-icon-openai::after {
  inset: 5px;
  border-width: 1.2px;
  transform: rotate(150deg);
}
.ta-model-icon-anthropic::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, #f97316 0deg 10deg, transparent 10deg 24deg);
}
.ta-model-icon-anthropic::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f97316;
}
.ta-detect-card-wide .ta-model-chip.is-active {
  border-color: #14b8a6;
  background: #ecfffb;
  color: #087568;
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, .16);
}
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-openai,
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-openai::before,
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-openai::after {
  border-color: #087568;
}
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-openai::before,
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-openai::after {
  border-left-color: transparent;
  border-bottom-color: transparent;
}
.ta-run-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  grid-template-areas:
    "mode mode"
    "concurrency submit";
  align-items: center;
  gap: 12px 16px;
  margin-top: 16px;
}
.ta-run-row .ta-option-row {
  margin-top: 0;
}
.ta-mode-option {
  grid-area: mode;
}
.ta-concurrency-option {
  grid-area: concurrency;
}
.ta-mode-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ta-mode-row strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #cfe1ec;
  border-radius: 999px;
  background: #fff;
  color: #0f1a2a;
  white-space: nowrap;
}
.ta-mode-row strong span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #14b8a6;
}
.ta-mode-row small {
  color: #6a7c90;
  font-weight: 650;
}
.ta-mode-row em {
  color: #65758a;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}
.ta-detect-card-wide .ta-speed-row {
  margin-top: 0;
}
.ta-speed-control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ta-speed-control .ta-speed-row {
  flex: 0 0 auto;
}
.ta-detect-card-wide .ta-speed-row span,
.ta-detect-card-wide .ta-speed-row strong,
.ta-detect-card-wide .ta-speed-row button {
  padding: 7px 11px;
  font-size: 12px;
}
.ta-speed-hint {
  flex: 1 1 auto;
  min-width: 180px;
  margin: 0;
  color: #6f8398;
  font-size: 12px;
  line-height: 1.5;
  text-wrap: pretty;
}
.ta-detect-card-wide .ta-submit {
  grid-area: submit;
  min-height: 44px;
  width: 100%;
  margin-top: 0;
  border-radius: 999px;
  background: #142231;
  box-shadow: 0 8px 14px rgba(20, 34, 49, .18);
}
.ta-fable-context {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e3ebf2;
}
.ta-fable-context[hidden] {
  display: none;
}
.ta-fable-context > .ta-field-title {
  margin: 7px 0 0;
  color: #162235;
}
.ta-fable-context-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.ta-context-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 10px;
  border: 1px solid #d7e2ee;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.ta-context-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0f5cff;
}
.ta-context-toggle span,
.ta-context-toggle strong,
.ta-context-toggle small {
  display: block;
}
.ta-context-toggle strong {
  color: #162235;
  font-size: 12px;
}
.ta-context-toggle small {
  margin-top: 1px;
  color: #6a7c90;
  font-size: 10px;
}
.ta-fable-context-controls > p {
  flex: 1 1 220px;
  margin: 0;
  color: #6f8398;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .ta-fable-context {
    grid-template-columns: 1fr;
  }
  .ta-fable-context > .ta-field-title {
    margin-top: 0;
  }
  .ta-context-toggle {
    flex: 1 1 180px;
  }
  .ta-fable-context-controls > p {
    flex-basis: 100%;
  }
}
.ta-safety-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e3ebf2;
  color: #5c6f83;
  font-size: 12px;
}
.ta-safety-strip span {
  position: relative;
  padding-left: 16px;
}
.ta-safety-strip span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border: 1px solid #8da1b5;
  border-radius: 50%;
}
.ta-rank-section-compact {
  padding: 24px 0 30px;
  background: #fff;
}
.ta-section-head-compact {
  margin-bottom: 14px;
  align-items: center;
}
.ta-section-head-compact h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
}
.ta-section-head-compact p {
  margin: 6px 0 0;
  color: #5d6f82;
  font-size: 14px;
}
.ta-rank-section-compact .ta-rank-tabs {
  padding-bottom: 10px;
}
.ta-proof-section-compact {
  padding: 24px 0 42px;
  background: #f7fafc;
}
.ta-proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ta-proof-list article {
  padding: 18px;
  border: 1px solid #dce7f0;
  border-radius: 14px;
  background: #fff;
}
.ta-proof-list h3 {
  margin: 0 0 8px;
  color: #0f1a2a;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.ta-proof-list p {
  margin: 0;
  color: #5d6f82;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .ta-form-topline,
  .ta-input-grid,
  .ta-proof-list {
    grid-template-columns: 1fr;
  }
  .ta-form-topline {
    display: grid;
  }
  .ta-trust-mini {
    justify-content: flex-start;
  }
  .ta-run-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mode"
      "concurrency"
      "submit";
    align-items: stretch;
  }
  .ta-detect-card-wide .ta-submit {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ta-shell {
    width: min(100% - 24px, 1180px);
  }
  .ta-hero-compact {
    padding-top: 26px;
  }
  .ta-hero-copy-compact {
    text-align: left;
  }
  .ta-hero-copy-compact h1 {
    font-size: clamp(30px, 10vw, 42px);
  }
  .ta-detect-card-wide {
    padding: 18px;
  }
  .ta-option-row {
    grid-template-columns: 1fr;
  }
  .ta-mode-row {
    display: grid;
    gap: 8px;
  }
  .ta-speed-control {
    display: grid;
    gap: 8px;
  }
  .ta-speed-hint {
    min-width: 0;
  }
}


/* homepage v4: ztest-style provider icons + stable model row spacing */
.ta-detect-card-wide .ta-model-block {
  margin-top: 22px;
  padding-top: 2px;
  align-items: start;
}
.ta-detect-card-wide .ta-model-block .ta-field-title {
  padding-top: 7px;
}
.ta-detect-card-wide .ta-model-grid {
  row-gap: 9px;
}
.ta-detect-card-wide .ta-model-chip {
  gap: 7px;
  min-height: 35px;
  padding: 7px 13px 7px 10px;
}
.ta-model-icon,
.ta-model-icon-openai,
.ta-model-icon-anthropic {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
  border: 0;
  border-radius: 0;
  background: currentColor;
  background-color: currentColor;
  box-shadow: none;
}
.ta-model-icon::before,
.ta-model-icon::after,
.ta-model-icon-openai::before,
.ta-model-icon-openai::after,
.ta-model-icon-anthropic::before,
.ta-model-icon-anthropic::after {
  content: none;
  display: none;
}
.ta-model-icon-openai {
  color: #17202c;
  -webkit-mask: url('/static/brand-icons/openai.svg') center / contain no-repeat;
  mask: url('/static/brand-icons/openai.svg') center / contain no-repeat;
}
.ta-model-icon-anthropic {
  color: #d97757;
  -webkit-mask: url('/static/brand-icons/claude.svg') center / contain no-repeat;
  mask: url('/static/brand-icons/claude.svg') center / contain no-repeat;
}
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-openai {
  color: #087568;
  border: 0;
}
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-anthropic {
  color: #c75f3c;
}

@media (max-width: 640px) {
  .ta-detect-card-wide .ta-model-block {
    margin-top: 20px;
  }
  .ta-detect-card-wide .ta-model-block .ta-field-title {
    padding-top: 0;
  }
}


/* homepage v5: provider icons as real img elements, not CSS mask */
.ta-detect-card-wide .ta-model-chip .ta-model-icon-img {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
  vertical-align: -3px;
}
.ta-detect-card-wide .ta-model-chip {
  justify-content: flex-start;
}


/* homepage v6: inline SVG provider icons, no external image loading */
.ta-detect-card-wide .ta-model-chip .ta-model-icon-svg {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  object-fit: contain;
  vertical-align: -3px;
}
.ta-detect-card-wide .ta-model-chip .ta-model-icon-openai-svg {
  color: #17202c;
}
.ta-detect-card-wide .ta-model-chip .ta-model-icon-claude-svg {
  color: #d97757;
}
.ta-detect-card-wide .ta-model-chip .ta-model-icon-gemini-svg {
  color: #1a73e8;
}
.ta-detect-card-wide .ta-model-chip.is-active .ta-model-icon-openai-svg {
  color: #087568;
}
.ta-rank-remark {
  color: var(--ta-muted);
  font-size: 13px;
  line-height: 1.45;
}
.ta-rank-empty {
  border: 1px dashed #cbd7e2;
  background: #f7fafc;
  color: #5d6f82;
  padding: 24px;
  text-align: center;
  font-size: 14px;
}

.ta-model-choice {
  width: 100%;
  min-width: 0;
}
.ta-model-fallback {
  display: block;
  width: min(100%, 320px);
  min-height: 38px;
  border: 1px solid #d7e2ee;
  border-radius: 8px;
  background: #fff;
  color: #162235;
  padding: 6px 10px;
  font: inherit;
}
.ta-model-fallback[hidden],
.ta-model-enhancement[hidden] {
  display: none;
}
.ta-model-enhancement {
  width: 100%;
}
.ta-gpt56-variants {
  display: inline-flex;
  width: min(100%, 264px);
  box-sizing: border-box;
  gap: 2px;
  margin-top: 8px;
  padding: 3px;
  border: 1px solid #d7e2ee;
  border-radius: 8px;
  background: #f4f7fa;
}
.ta-gpt56-variants[hidden] {
  display: none;
}
.ta-gpt56-variant {
  flex: 1 1 0;
  min-width: 0;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #52677f;
  padding: 5px 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.ta-gpt56-variant:hover {
  color: #142231;
  background: #e7edf3;
}
.ta-gpt56-variant.is-active {
  background: #fff;
  color: #087568;
  box-shadow: 0 1px 3px rgba(20, 34, 49, .12);
}
.ta-model-chip:focus-visible,
.ta-gpt56-variant:focus-visible {
  outline: 2px solid #0f5cff;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .ta-gpt56-variants {
    width: 100%;
    max-width: 320px;
    margin-top: 6px;
  }
  .ta-gpt56-variant {
    min-height: 36px;
    padding-inline: 5px;
  }
}


/* homepage v7: remove hard white break between hero and leaderboard */
.ta-rank-section-compact {
  background:
    linear-gradient(180deg, #f5f9fd 0%, #f8fbfe 42%, #f7fafc 100%);
  padding: 36px 0 34px;
  border-top: 1px solid rgba(15, 92, 255, .06);
}
.ta-rank-section-compact .ta-section-head-compact,
.ta-rank-section-compact .ta-rank-tabs,
.ta-rank-section-compact .ta-rank-note {
  position: relative;
  z-index: 1;
}
.ta-rank-section-compact .ta-rank-table {
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 55, 92, .06);
}
.ta-proof-section-compact {
  background: #f7fafc;
}


/* homepage notice bar: static now, ready for dynamic hydration later */
.site-notice-bar {
  min-height: 30px;
  border-top: 1px solid rgba(37, 99, 139, .10);
  border-bottom: 1px solid rgba(37, 99, 139, .18);
  background: #eaf6fb;
  color: #22536a;
  font-size: 12px;
  line-height: 1.35;
}
.site-notice-inner {
  width: min(1180px, calc(100vw - 40px));
  min-height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-notice-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #28647d;
}
.site-notice-bar [data-notice-text] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-home .site-notice-bar {
  position: relative;
  z-index: 2;
}
@media (max-width: 640px) {
  .site-notice-inner {
    width: min(100% - 24px, 1180px);
  }
}


/* homepage final pass: copy, ranking actions, mobile density */
.ta-rank-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.ta-rank-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 92, 255, .07);
  color: #496178;
  font-size: 12px;
  font-weight: 700;
}
.ta-rank-actions a {
  font-weight: 800;
  white-space: nowrap;
}
.ta-detect-card-wide .ta-trust-mini span:last-child {
  background: #eef5ff;
  color: #1654b8;
}
.ta-rank-section-compact .ta-section-head-compact {
  gap: 20px;
}
@media (max-width: 980px) {
  .ta-rank-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .site-notice-bar {
    font-size: 11px;
  }
  .ta-hero-copy-compact h1 {
    line-height: 1.12;
  }
  .ta-detect-card-wide .ta-field small {
    display: block;
    margin: 3px 0 0;
  }
  .ta-detect-card-wide .ta-model-grid,
  .ta-rank-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .ta-detect-card-wide .ta-model-chip,
  .ta-rank-tabs button {
    flex: 0 0 auto;
  }
  .ta-run-row {
    gap: 12px;
  }
  .ta-safety-strip {
    gap: 8px;
  }
  .ta-rank-section-compact {
    padding-top: 28px;
  }
  .ta-rank-actions {
    gap: 8px;
  }
}


/* homepage final mobile fix: prevent hero title overflow */
@media (max-width: 640px) {
  .ta-hero-copy-compact h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.6vw, 34px);
    line-height: 1.14;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .ta-hero-copy-compact .ta-hero-sub {
    font-size: 15px;
    line-height: 1.65;
  }
}


/* global shell unification: use the homepage visual language on every page */
:root {
  --bg: #f7fafc;
  --bg-soft: #f2f7fb;
  --text: #0f1a2a;
  --muted: #5d6f82;
  --line: #d9e5ef;
  --green: #0f5cff;
  --green-dark: #0f5cff;
  --green-soft: #eaf2ff;
  --shell-blue: #0f5cff;
  --shell-ink: #0f1a2a;
  --shell-soft: #f6f9fc;
}
html,
body {
  background: #f7fafc;
}
body {
  color: var(--shell-ink);
}
a {
  color: var(--shell-blue);
}
.site-header {
  border-bottom: 1px solid rgba(15, 92, 255, .10);
  background: rgba(246, 249, 252, .92);
  backdrop-filter: blur(14px);
  box-shadow: none;
}
.site-header-inner {
  max-width: 1180px;
  min-height: 62px;
  padding: 14px 24px;
  gap: 28px;
}
.brand {
  color: var(--shell-blue);
  font-weight: 800;
}
.brand svg {
  color: var(--shell-blue);
}
.site-nav {
  gap: 22px;
}
.site-nav a {
  color: var(--shell-blue);
  font-weight: 650;
  opacity: .86;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--shell-blue);
  opacity: 1;
  text-decoration: none;
}
.site-nav a::after {
  background: var(--shell-blue);
  height: 2px;
}
.site-nav a.is-active::after {
  transform: scaleX(1);
}
.nav-toggle {
  border-color: rgba(15, 92, 255, .18);
  color: var(--shell-blue);
  background: rgba(255, 255, 255, .72);
}
.nav-toggle-bar {
  background: var(--shell-blue);
}
.site-notice-bar {
  border-top: 1px solid rgba(37, 99, 139, .10);
  border-bottom: 1px solid rgba(37, 99, 139, .18);
  background: #eaf6fb;
  color: #22536a;
}
.site-notice-inner,
.footer-grid,
.site-footer p,
body.page-home .site-header-inner,
body.page-home .footer-grid,
body.page-home .site-footer p {
  max-width: 1180px;
}
.container:not(.home-main):not(.rankings-main) {
  max-width: 1180px;
}
.site-footer {
  border-top-color: rgba(15, 92, 255, .10);
  background: #f7fafc;
}
.footer-grid {
  grid-template-columns: minmax(280px, 1.6fr) minmax(140px, .7fr) minmax(140px, .7fr);
}
.footer-col h4,
.footer-tagline strong {
  color: var(--shell-ink);
}
.footer-col a:hover {
  color: var(--shell-blue);
}
body.page-home .brand svg circle,
body.page-home .brand svg path {
  stroke: currentColor;
}
@media (max-width: 960px) {
  .site-header-inner {
    padding: 14px 20px;
    gap: 20px;
  }
  .site-nav {
    gap: 18px;
  }
}
@media (max-width: 720px) {
  .site-header-inner {
    min-height: 58px;
  }
  .site-nav {
    background: rgba(247, 250, 252, .98);
    border-bottom: 1px solid rgba(15, 92, 255, .10);
  }
  .site-nav a {
    color: var(--shell-blue);
  }
  .site-nav a.is-active {
    background: rgba(15, 92, 255, .06);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* global shell unification v2: stable TestAI.vip visual shell across all pages */
:root {
  --ta-page-bg: #f7fafc;
  --ta-surface: #ffffff;
  --ta-surface-soft: #f2f7fb;
  --ta-ink: #0f1a2a;
  --ta-ink-2: #405169;
  --ta-muted: #5d6f82;
  --ta-blue: #0f5cff;
  --ta-blue-soft: #eaf2ff;
  --ta-line: #d9e5ef;
  --ta-radius: 14px;
  --ta-shadow: 0 8px 22px rgba(20, 55, 92, .06);
  --bg: var(--ta-page-bg);
  --bg-soft: var(--ta-surface-soft);
  --text: var(--ta-ink);
  --muted: var(--ta-muted);
  --line: var(--ta-line);
  --green: var(--ta-blue);
  --green-dark: var(--ta-blue);
  --green-soft: var(--ta-blue-soft);
  --shadow: var(--ta-shadow);
}
html,
body {
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 182, 255, .12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(15, 92, 255, .08), transparent 30%),
    var(--ta-page-bg);
}
body {
  color: var(--ta-ink);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 92, 255, .10);
  background: rgba(247, 250, 252, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header-inner,
.site-notice-inner,
.footer-grid,
.site-footer p {
  width: min(1180px, calc(100vw - 40px));
  max-width: 1180px;
  padding-left: 0;
  padding-right: 0;
}
.site-header-inner {
  min-height: 62px;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 28px;
}
.brand {
  color: var(--ta-blue);
  font-weight: 820;
}
.brand svg {
  color: var(--ta-blue);
}
.site-nav {
  gap: 22px;
}
.site-nav a {
  color: var(--ta-blue);
  opacity: .86;
  font-weight: 680;
  letter-spacing: -.01em;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ta-blue);
  opacity: 1;
  text-decoration: none;
}
.site-nav a::after {
  height: 2px;
  background: var(--ta-blue);
}
.site-nav a.is-active::after {
  transform: scaleX(1);
}
.nav-toggle {
  border-color: rgba(15, 92, 255, .18);
  background: rgba(255, 255, 255, .76);
}
.nav-toggle-bar {
  background: var(--ta-blue);
}
.site-notice-bar {
  border-top: 1px solid rgba(37, 99, 139, .10);
  border-bottom: 1px solid rgba(37, 99, 139, .18);
  background: #eaf6fb;
  color: #22536a;
}
.site-notice-inner {
  min-height: 32px;
}
.container:not(.home-main):not(.rankings-main) {
  width: min(1180px, calc(100vw - 40px));
  max-width: 1180px;
  padding: 34px 0 70px;
}
.card,
.result-card,
.lb-row,
.lb-detail-summary,
.lb-detail-issues,
.lb-detail-history,
.faq-entry,
.faq-no-answer,
.faq-toc,
.zlb-panel,
.zlb-note,
.coming-card {
  background: rgba(255, 255, 255, .92);
  border-color: var(--ta-line);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}
.card {
  border-radius: var(--ta-radius);
}
.form-card {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.hero,
.hub-hero,
.faq-hero,
.coming-head,
.zlb-page-head {
  margin-top: 4px;
}
.hero h1,
.hub-hero h1,
.faq-hero h1,
.coming-head h1,
.zlb-page-head h1,
.result-head h1 {
  color: var(--ta-ink);
  font-weight: 820;
  letter-spacing: -0.03em;
}
.hero-sub,
.answer-capsule,
.faq-hero-sub,
.coming-head .muted,
.zlb-page-head p {
  color: var(--ta-muted);
}
.field input,
.field select {
  min-height: 44px;
  border-color: #cfe1ec;
  border-radius: 10px;
  background: #f9fbfd;
  color: var(--ta-ink);
}
.field input:focus,
.field select:focus {
  border-color: var(--ta-blue);
  box-shadow: 0 0 0 3px rgba(15, 92, 255, .13);
}
.field-checkbox {
  border-color: #dbe7f0;
  border-radius: 12px;
  background: #f8fbfd;
}
.field-checkbox:has(input:checked) {
  border-color: rgba(15, 92, 255, .35);
  background: var(--ta-blue-soft);
}
.btn {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 760;
  border-color: #cfe1ec;
  color: var(--ta-ink);
  background: #fff;
  transition: transform .14s ease, background-color .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.btn:hover {
  background: #f4f8fc;
  border-color: #b8ccdc;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: #142231;
  color: #fff;
  border-color: #142231;
  box-shadow: 0 8px 14px rgba(20, 34, 49, .18);
}
.btn-primary:hover {
  background: #0f1a2a;
  border-color: #0f1a2a;
}
.btn-ghost {
  color: var(--ta-blue);
  background: #fff;
}
.alert-card {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.probe-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.probe-neutral {
  background: #eef5ff;
  border-color: #cfe1ff;
  color: #1e4f9a;
}
.breadcrumb {
  margin-bottom: 22px;
  color: var(--ta-muted);
}
.breadcrumb a {
  color: var(--ta-blue);
}
.metrics-row .metric,
.metric {
  background: rgba(255,255,255,.86);
  border-color: var(--ta-line);
  border-radius: 14px;
}
.score-ok,
.score-ok-dim {
  background: var(--ta-blue);
}
.check-ok .check-status {
  color: var(--ta-blue);
}
.running-card {
  max-width: 760px;
  margin: 24px auto 0;
}
.spinner {
  border-top-color: var(--ta-blue);
}
.faq-layout {
  gap: 34px;
}
.faq-toc {
  padding: 16px;
  top: 104px;
}
.faq-toc-title {
  color: var(--ta-muted);
}
.faq-toc-list a:hover {
  background: var(--ta-blue-soft);
  border-left-color: var(--ta-blue);
}
.faq-entry[open] {
  border-color: rgba(15, 92, 255, .38);
  box-shadow: 0 8px 22px rgba(20, 55, 92, .07);
}
.faq-entry[open] summary.faq-q::before {
  border-color: var(--ta-blue);
}
.faq-a {
  color: var(--ta-ink-2);
}
body.page-rankings,
body.page-home {
  background: var(--ta-page-bg);
}
body.page-rankings .rankings-main,
body.page-home .home-main {
  width: min(1180px, calc(100vw - 40px));
}
.zlb-page-head h1,
.zlb-panel-head h2,
.zlb-note h2,
.zlb-table td,
.zlb-site-name {
  color: var(--ta-ink);
}
.zlb-tab,
.zlb-periods,
.zlb-panel,
.zlb-note {
  border-color: var(--ta-line);
}
.zlb-tab.is-active {
  border-color: rgba(15, 92, 255, .35);
  background: var(--ta-blue-soft);
}
.zlb-period.is-active {
  background: #142231;
}
.zlb-table tbody tr:hover {
  background: #f6faff;
}
.zlb-site-name:hover,
.zlb-detail:hover {
  color: var(--ta-blue);
}
.site-footer {
  margin-top: auto;
  border-top-color: rgba(15, 92, 255, .10);
  background: rgba(247, 250, 252, .92);
}
.footer-grid {
  grid-template-columns: minmax(260px, 1.6fr) minmax(130px, .7fr) minmax(130px, .7fr);
}
.footer-tagline,
.footer-col h4 {
  color: var(--ta-ink);
}
.footer-tagline strong,
.footer-col a:hover {
  color: var(--ta-blue);
}
@media (max-width: 960px) {
  .site-header-inner {
    width: min(100% - 32px, 1180px);
    gap: 18px;
  }
  .site-nav {
    gap: 16px;
  }
}
@media (max-width: 720px) {
  .site-header-inner,
  .site-notice-inner,
  .footer-grid,
  .site-footer p,
  .container:not(.home-main):not(.rankings-main),
  body.page-rankings .rankings-main,
  body.page-home .home-main {
    width: min(100% - 24px, 1180px);
  }
  .site-header-inner {
    min-height: 58px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-nav {
    left: -12px;
    right: -12px;
    background: rgba(247, 250, 252, .98);
    border-bottom-color: rgba(15, 92, 255, .10);
    box-shadow: 0 14px 30px rgba(20, 55, 92, .10);
  }
  .site-nav a {
    color: var(--ta-blue);
    border-bottom-color: rgba(15, 92, 255, .08);
  }
  .site-nav a:hover,
  .site-nav a.is-active {
    background: rgba(15, 92, 255, .06);
  }
  .container:not(.home-main):not(.rankings-main) {
    padding-top: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-toc {
    position: static;
  }
  .result-head {
    flex-direction: column;
  }
  .result-actions {
    flex-wrap: wrap;
  }
}


/* shell2 mobile stability pass: keep headings and menu inside viewport */
@media (max-width: 720px) {
  .nav-toggle {
    display: flex !important;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .brand {
    min-width: 0;
  }
  .hero {
    text-align: left;
  }
  .hero h1,
  .hub-hero h1,
  .faq-hero h1,
  .coming-head h1 {
    max-width: 100%;
    font-size: clamp(28px, 7.4vw, 32px);
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .hero-sub,
  .answer-capsule,
  .faq-hero-sub {
    max-width: 100% !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }
  .form-card,
  .card,
  .result-card,
  .running-card {
    padding-left: 18px;
    padding-right: 18px;
  }
  .field input,
  .field select,
  .combo-wrap,
  .combo-wrap input {
    width: 100%;
    min-width: 0;
  }
}


/* shell2 mobile nav hardening: keep hamburger visible on narrow screens */
@media (max-width: 720px) {
  .site-header-inner {
    position: relative;
    padding-right: 54px;
  }
  .nav-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}


/* shell2 mobile header width override: avoid off-canvas controls in Chrome/mobile */
@media (max-width: 720px) {
  .site-header-inner {
    width: auto !important;
    max-width: none !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  .site-notice-inner {
    width: auto !important;
    max-width: none !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
}


/* review polish: horizontal chip rows should swipe cleanly without heavy native bars */
.ta-detect-card-wide .ta-model-grid,
.ta-rank-tabs,
.zlb-tabs {
  scrollbar-width: none;
}
.ta-detect-card-wide .ta-model-grid::-webkit-scrollbar,
.ta-rank-tabs::-webkit-scrollbar,
.zlb-tabs::-webkit-scrollbar {
  display: none;
}
@media (max-width: 720px) {
  .zlb-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .zlb-tab {
    flex: 0 0 auto;
  }
}

/* ================= Claude detection page: trust-first product entry ================= */
.claude-hero {
  max-width: 900px;
  margin: 4px auto 22px;
  text-align: center;
}

.claude-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 12px;
  border: 1px solid rgba(15, 92, 255, .18);
  border-radius: 999px;
  background: rgba(15, 92, 255, .07);
  color: #0b4acc;
  font-size: 13px;
  font-weight: 760;
}

.claude-badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0f5cff;
  box-shadow: 0 0 0 4px rgba(15, 92, 255, .14);
}

.claude-hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.claude-hero-sub {
  max-width: 780px !important;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ta-muted) !important;
  font-size: 16px;
}

.claude-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.claude-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #dbe7f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #355066;
  font-size: 13px;
  font-weight: 680;
}

.claude-hero-points span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #15a36f;
}

.claude-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.claude-form-card {
  max-width: none;
  margin: 0;
  padding: 26px;
}

.claude-form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e3edf5;
}

.claude-form-head h2,
.claude-side-panel h2 {
  margin: 0;
  color: var(--ta-ink);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.claude-form-head p {
  margin: 6px 0 0;
  color: var(--ta-muted);
  font-size: 13px;
}

.claude-form-head > span {
  flex-shrink: 0;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ta-blue-soft);
  color: #0b4acc;
  font-size: 12px;
  font-weight: 760;
}

.claude-side-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.claude-trust-box,
.claude-report-box {
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  padding: 18px;
}

.claude-trust-box ul,
.claude-report-box ol {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}

.claude-trust-box li,
.claude-report-box li {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf3f8;
}

.claude-trust-box li:last-child,
.claude-report-box li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.claude-trust-box strong,
.claude-report-box span {
  color: var(--ta-ink);
  font-size: 14px;
  font-weight: 780;
}

.claude-trust-box span,
.claude-report-box strong {
  color: var(--ta-muted);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 520;
}

.claude-features {
  margin-top: 22px;
}

.claude-features .feature {
  min-height: 150px;
}

@media (max-width: 900px) {
  .claude-workspace {
    grid-template-columns: 1fr;
  }

  .claude-side-panel {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .claude-hero {
    text-align: left;
    margin-bottom: 18px;
  }

  .claude-hero h1 {
    font-size: 28px;
  }

  .claude-hero-points {
    justify-content: flex-start;
  }

  .claude-form-card {
    padding: 18px;
  }

  .claude-form-head {
    flex-direction: column;
    gap: 10px;
  }

  .claude-side-panel {
    grid-template-columns: 1fr;
  }

  .claude-trust-box,
  .claude-report-box {
    padding: 16px;
  }
}

/* Claude page compact pass: less copy, tighter rhythm */
.claude-workspace {
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, .45fr);
  gap: 16px;
}

.claude-form-card {
  padding: 22px;
}

.claude-form-head {
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.claude-form-head h2,
.claude-side-panel h2 {
  font-size: 17px;
}

.claude-form-head p,
.field .hint {
  font-size: 12px;
}

.claude-form-card .field {
  margin-bottom: 14px;
}

.claude-form-card .field-row .field {
  margin-bottom: 12px;
}

.claude-form-card .field input,
.claude-form-card .field select {
  min-height: 42px;
}

.claude-form-card .field-checkbox {
  padding: 10px 12px;
  margin-bottom: 12px;
}

.claude-form-card .checkbox-hint {
  font-size: 12px;
}

.claude-trust-box {
  padding: 16px;
}

.claude-trust-box ul {
  gap: 9px;
  margin-top: 12px;
}

.claude-trust-box li {
  padding-bottom: 9px;
}

.claude-features {
  gap: 12px;
}

.claude-features .feature {
  min-height: auto;
  padding: 18px;
}

.claude-features .feature p {
  margin-bottom: 0;
}

/* Claude page compact pass 2: remove side explanation card */
.claude-workspace {
  display: block;
  max-width: 860px;
  margin: 22px auto 0;
}

.claude-form-card {
  width: 100%;
}

.ta-home-error {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff1f2;
  color: #9f1239;
  font-size: 13px;
  font-weight: 650;
}
.ta-home-error.form-error-rich {
  padding: 14px 16px;
  color: #991b1b;
}
.ta-detect-card-wide .ta-model-chip .ta-model-icon-gemini-img {
  filter: saturate(1.05);
}
.probes-features {
  margin-bottom: 28px;
}
.probes-safe {
  padding-top: 8px;
}


.probe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: center;
  margin: 8px 0 18px;
  padding: 34px 42px;
  border: 1px solid #d7e6ef;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 12%, rgba(20,184,166,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(247,251,255,.95));
  box-shadow: 0 20px 70px rgba(15, 31, 52, .07);
}
.probe-hero h1 {
  max-width: 780px;
  margin: 8px 0 12px;
  color: #0f1a2a;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.probe-hero p:not(.ta-kicker) {
  max-width: 780px;
  margin: 0;
  color: #43576d;
  font-size: 16px;
  line-height: 1.8;
}
.probe-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.probe-hero-metrics div,
.probe-weight-cards article,
.probe-matrix article {
  border: 1px solid #dce8ef;
  background: #fff;
}
.probe-hero-metrics div {
  padding: 16px 14px;
  border-radius: 16px;
}
.probe-hero-metrics strong {
  display: block;
  color: #0f1a2a;
  font-size: 28px;
  line-height: 1;
}
.probe-hero-metrics span {
  display: block;
  margin-top: 7px;
  color: #64778b;
  font-size: 12px;
  font-weight: 750;
}
.probe-rule-panel,
.probe-weight-panel,
.probe-matrix-panel,
.probe-cap-panel,
.probe-report-panel {
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid #dce8ef;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 52px rgba(15,31,52,.06);
}
.probe-rule-panel h2,
.probe-panel-head h2,
.probe-report-panel h2 {
  margin: 0;
  color: #0f1a2a;
  font-size: 20px;
  letter-spacing: -.03em;
}
.probe-rule-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 24px 10px 28px;
}
.probe-rule-flow span {
  display: block;
  margin-bottom: 8px;
  color: #0f9f8c;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
}
.probe-rule-flow strong {
  display: block;
  margin-bottom: 6px;
  color: #172231;
  font-size: 17px;
}
.probe-rule-flow p,
.probe-weight-cards p,
.probe-matrix p,
.probe-cap-table p,
.probe-report-panel p {
  margin: 0;
  color: #607286;
  font-size: 13px;
  line-height: 1.65;
}
.probe-rule-panel pre {
  margin: 0 10px 4px;
  overflow-x: auto;
  color: #486072;
  font-size: 12px;
  line-height: 1.55;
  background: transparent;
}
.probe-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.probe-panel-head span {
  padding: 7px 12px;
  border-radius: 999px;
  background: #e8fbf7;
  color: #087568;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 850;
}
.probe-weight-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.probe-weight-cards article {
  min-height: 92px;
  padding: 14px;
  border-radius: 12px;
}
.probe-weight-cards article div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.probe-weight-cards b,
.probe-weight-cards em {
  color: #172231;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-style: normal;
  font-size: 13px;
  font-weight: 850;
}
.probe-weight-cards strong {
  display: block;
  margin-bottom: 4px;
  color: #172231;
  font-size: 14px;
}
.probe-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.probe-matrix article {
  padding: 16px;
  border-radius: 14px;
  background: #fbfdff;
}
.probe-matrix-title {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 10px;
  align-items: center;
  margin-bottom: 10px;
}
.probe-matrix-title img {
  grid-row: span 2;
  width: 28px;
  height: 28px;
}
.probe-matrix-title strong {
  color: #172231;
  font-size: 17px;
}
.probe-matrix-title em {
  color: #687b8e;
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
}
.probe-matrix ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.probe-matrix li {
  padding: 7px 9px;
  border-radius: 10px;
  background: #f2f7fa;
  color: #34485e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}
.probe-cap-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #dce8ef;
  border-radius: 14px;
}
.probe-cap-table > div {
  display: grid;
  grid-template-columns: 1.1fr .9fr 2fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #e7eef3;
  background: #fff;
}
.probe-cap-table > div:last-child { border-bottom: 0; }
.probe-cap-table .probe-cap-head {
  background: #f7fbfd;
  color: #607286;
  font-size: 12px;
  font-weight: 850;
}
.probe-cap-table span {
  color: #172231;
  font-weight: 760;
}
.probe-cap-table strong {
  color: #087568;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}
.probe-report-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}
.probe-report-panel p {
  max-width: 760px;
  margin-top: 8px;
}
.probe-report-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 300px;
}
.probe-report-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfffb;
  color: #087568;
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 980px) {
  .probe-hero { grid-template-columns: 1fr; }
  .probe-rule-flow,
  .probe-weight-cards,
  .probe-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .probe-report-panel { display: grid; }
  .probe-report-tags { justify-content: flex-start; min-width: 0; }
}
@media (max-width: 640px) {
  .probe-hero { padding: 26px 18px; }
  .probe-hero-metrics,
  .probe-rule-flow,
  .probe-weight-cards,
  .probe-matrix,
  .probe-cap-table > div { grid-template-columns: 1fr; }
  .probe-rule-panel,
  .probe-weight-panel,
  .probe-matrix-panel,
  .probe-cap-panel,
  .probe-report-panel { padding: 16px; }
  .probe-rule-flow { gap: 14px; margin: 18px 0; }
  .probe-rule-panel pre { margin: 0; }
}


.guide-hero {
  margin: 8px 0 24px;
  padding: 38px 42px;
  border: 1px solid #cfe0eb;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 18%, rgba(20,184,166,.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 20px 70px rgba(15, 31, 52, .07);
}
.guide-hero h1 {
  margin: 8px 0 12px;
  color: #0f1a2a;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.guide-hero p:not(.ta-kicker) {
  max-width: 760px;
  margin: 0;
  color: #43576d;
  font-size: 16px;
  line-height: 1.8;
}
.guide-check-panel,
.guide-risk-panel,
.guide-decision-panel {
  margin: 0 0 20px;
  padding: 22px;
  border: 1px solid #dce7f0;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 42px rgba(15,31,52,.045);
}
.guide-head span {
  color: #0f9f8c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.guide-head h2 {
  margin: 4px 0 16px;
  color: #0f1a2a;
  font-size: 24px;
  letter-spacing: -.03em;
}
.guide-head-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.guide-head-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #142231;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.guide-head-link:hover {
  color: #fff;
  text-decoration: none;
}
.guide-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.guide-check-grid article {
  min-height: 150px;
  padding: 16px;
  border: 1px solid #dce8ef;
  border-radius: 16px;
  background: #fbfdff;
}
.guide-check-grid b {
  color: #0f9f8c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .08em;
}
.guide-check-grid h3 {
  margin: 8px 0 8px;
  color: #172231;
  font-size: 17px;
  letter-spacing: -.02em;
}
.guide-check-grid p,
.guide-risk-list p,
.guide-decision-panel p {
  margin: 0;
  color: #5d6f82;
  font-size: 13px;
  line-height: 1.7;
}
.guide-check-grid em {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ecfffb;
  color: #087568;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.guide-risk-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.guide-risk-list div {
  padding: 15px;
  border: 1px solid #f1d6d6;
  border-radius: 16px;
  background: #fffafa;
}
.guide-risk-list strong {
  display: block;
  margin-bottom: 7px;
  color: #9f1239;
  font-size: 15px;
}
.guide-decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 42px;
}
.guide-decision-panel h2 {
  margin: 0 0 8px;
  color: #0f1a2a;
  font-size: 22px;
  letter-spacing: -.03em;
}
.guide-decision-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 360px;
}
.guide-decision-steps span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #f2f7fb;
  color: #34485e;
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 980px) {
  .guide-check-grid,
  .guide-risk-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-decision-panel {
    grid-template-columns: 1fr;
  }
  .guide-decision-steps {
    justify-content: flex-start;
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .guide-hero {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .guide-check-panel,
  .guide-risk-panel,
  .guide-decision-panel {
    padding: 16px;
  }
  .guide-head-row {
    display: block;
  }
  .guide-head-link {
    margin-bottom: 14px;
  }
  .guide-check-grid,
  .guide-risk-list {
    grid-template-columns: 1fr;
  }
}

/* footer v2: compact product footer inspired by ztest-style trust footer */
.site-footer {
  margin-top: auto;
  padding: 0;
  border-top: 1px solid #dce8ef;
  background:
    radial-gradient(circle at 16% 0%, rgba(20,184,166,.08), transparent 30%),
    linear-gradient(180deg, #f8fbfd 0%, #f3f8fb 100%);
  color: #52667b;
  text-align: left;
}
.footer-inner,
.footer-bottom {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  box-sizing: border-box;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 26px 0 18px;
}
.site-footer p {
  max-width: none;
  margin: 0;
  padding: 0;
}
.footer-tagline {
  margin: 0 0 6px !important;
  color: #0f1a2a;
  font-size: 14px;
  line-height: 1.5;
}
.footer-tagline strong {
  color: #0f5cff;
}
.footer-desc {
  max-width: 460px;
  margin: 0 !important;
  color: #607286;
  font-size: 13px;
  line-height: 1.65;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.footer-trust span {
  padding: 7px 11px;
  border: 1px solid #d6e8ee;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #315064;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  max-width: 390px;
}
.footer-links a {
  color: #405169;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:hover {
  color: #0f5cff;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 13px 0 18px;
  border-top: 1px solid rgba(15, 92, 255, .08);
  color: #708299;
  font-size: 12px;
}
.footer-bottom span + span::before {
  content: "·";
  margin-right: 10px;
  color: #9aabc0;
}
@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
  .footer-trust,
  .footer-links {
    justify-content: flex-start;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }
  .footer-inner {
    padding-top: 22px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.zlb-page-head-clean {
  padding: 34px 36px;
  border: 1px solid #d7e6ef;
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 10%, rgba(20,184,166,.14), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,251,255,.94));
  box-shadow: 0 20px 70px rgba(15, 31, 52, .07);
}
.lb-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 10px;
  min-width: 300px;
}
.lb-metric-grid div {
  padding: 14px 16px;
  border: 1px solid #dce8ef;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
}
.lb-metric-grid strong {
  display: block;
  color: #0f1a2a;
  font-size: 24px;
  line-height: 1;
}
.lb-metric-grid span {
  display: block;
  margin-top: 6px;
  color: #64778b;
  font-size: 12px;
  font-weight: 700;
}
.lb-guide-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 22px;
}
.lb-guide-strip span,
.lb-guide-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid #dce8ef;
  border-radius: 999px;
  background: #fff;
  color: #44586e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.lb-guide-strip a {
  border-color: rgba(20,184,166,.34);
  background: #ecfffb;
  color: #087568;
}
.lb-clean-heading {
  margin-top: 22px;
}
.lb-clean-list {
  gap: 10px;
}
.lb-clean-row {
  border-color: #dce8ef;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(15,31,52,.045);
}
.lb-row-compact {
  padding-top: 14px;
  padding-bottom: 14px;
}
.lb-empty-preview {
  margin-top: 20px;
  border-radius: 20px;
}
.lb-empty-preview .zlb-panel-head {
  padding: 16px 18px;
}
.lb-preview-table td:first-child strong,
.lb-preview-table td:first-child small {
  display: block;
}
.lb-preview-table td:first-child small {
  margin-top: 3px;
  color: #6a7d8f;
  font-size: 12px;
}
.lb-empty-copy {
  margin: 0;
  padding: 14px 18px 18px;
  color: #5d6f82;
  font-size: 13px;
  line-height: 1.7;
}
.lb-clean-note {
  max-width: none;
}
@media (max-width: 760px) {
  .zlb-page-head-clean {
    padding: 24px 18px;
  }
  .lb-metric-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, 1fr);
  }
  .lb-metric-grid div {
    padding: 12px 10px;
  }
  .lb-metric-grid strong {
    font-size: 20px;
  }
}


/* ---------- report page v2: real probe evidence ---------- */
body.page-report {
  background: var(--ta-page-bg, #f7fafc);
}
.report-main {
  width: min(1180px, calc(100vw - 40px));
  max-width: 1180px;
}
.report-breadcrumb {
  margin-bottom: 18px;
}
.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}
.report-title-block h1 {
  margin: 8px 0 6px;
  color: var(--ta-ink, #142231);
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.report-title-block p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  word-break: break-all;
}
.report-kicker,
.report-meta-pills,
.report-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.report-kicker {
  color: #35516d;
  font-size: 13px;
  font-weight: 700;
}
.report-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}
.report-meta-pills {
  margin-top: 12px;
}
.report-meta-pills span {
  border: 1px solid rgba(15, 92, 255, .12);
  border-radius: 999px;
  background: #fff;
  color: #35516d;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
.report-actions {
  justify-content: flex-end;
  flex-shrink: 0;
}
.report-top-card {
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}
.report-top-grid {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px 10px;
  margin-bottom: 14px;
}
.report-top-grid span {
  color: #667b95;
  font-size: 12px;
  font-weight: 800;
}
.report-top-grid strong {
  overflow: hidden;
  color: #22364d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-section-label {
  display: inline-flex;
  color: #5d7390;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.report-score-panel {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.15fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid rgba(15, 92, 255, .10);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}
.report-score-main {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 6px;
  align-content: start;
  border-radius: 14px;
  background: #f7fafc;
  padding: 16px 18px;
}
.report-score-main > .report-section-label {
  grid-column: 1;
  grid-row: 1;
}
.report-score-number {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 4px;
}
.report-score-number strong {
  color: var(--ta-ink, #142231);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 52px;
  line-height: .95;
  letter-spacing: -0.04em;
}
.report-score-number span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 20px;
  font-weight: 800;
}
.report-score-badge,
.probe-status {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}
.score-tone-excellent .report-score-badge { background: #bbf7d0; color: #065f46; }
.score-tone-ok .report-score-badge { background: #dcfce7; color: #166534; }
.score-tone-warn .report-score-badge { background: #fef3c7; color: #92400e; }
.score-tone-fail .report-score-badge { background: #fee2e2; color: #991b1b; }
.score-tone-excellent .report-score-number strong { color: #10b981; }
.score-tone-ok .report-score-number strong { color: #22c55e; }
.score-tone-warn .report-score-number strong { color: #d97706; }
.score-tone-fail .report-score-number strong { color: #dc2626; }
.report-score-badge {
  grid-column: 1;
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.report-score-badge span {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
}
.report-score-main p {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  max-width: 48ch;
  color: #43566f;
  font-size: 14px;
  line-height: 1.5;
}

.customer-decision-card {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin-top: 0;
  border: 1px solid rgba(15, 92, 255, .10);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  padding: 10px 12px;
}
.customer-decision-kicker {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eef6ff;
  color: #0f5cff;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 850;
}
.customer-decision-card h2 {
  margin: 6px 0 0;
  color: var(--ta-ink, #142231);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.customer-decision-card p {
  margin: 4px 0 0;
  max-width: none;
  color: #43566f;
  font-size: 14px;
  line-height: 1.45;
}
.customer-decision-action {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  padding: 8px 10px;
}
.customer-decision-action strong {
  color: #10243a;
  font-size: 14px;
}
.customer-decision-action span {
  color: #52677f;
  font-size: 12px;
  line-height: 1.35;
}
.decision-excellent .customer-decision-kicker,
.decision-ok .customer-decision-kicker { background: #dcfce7; color: #047857; }
.decision-warn .customer-decision-kicker { background: #fef3c7; color: #92400e; }
.decision-fail .customer-decision-kicker { background: #fee2e2; color: #991b1b; }

.plain-signal-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.plain-signal {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
.plain-signal > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}
.plain-signal strong,
.plain-signal em {
  display: block;
}
.plain-signal strong {
  color: #52677f;
  font-size: 11px;
}
.plain-signal em {
  margin-top: 2px;
  color: #172b41;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
.plain-signal small {
  display: block;
  margin-top: 2px;
  color: #6b7f96;
  font-size: 11px;
  line-height: 1.3;
}
.plain-signal.signal-excellent,
.plain-signal.signal-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.plain-signal.signal-excellent > span,
.plain-signal.signal-ok > span {
  background: #dcfce7;
  color: #047857;
}
.plain-signal.signal-warn {
  border-color: #fde68a;
  background: #fffbeb;
}
.plain-signal.signal-warn > span {
  background: #fef3c7;
  color: #92400e;
}
.plain-signal.signal-fail {
  border-color: #fecaca;
  background: #fff7f7;
}
.plain-signal.signal-fail > span {
  background: #fee2e2;
  color: #991b1b;
}
.plain-signal.signal-muted {
  border-color: #e6edf5;
  background: #f8fbff;
}
.plain-signal.signal-muted > span {
  background: #eef2f7;
  color: #64748b;
}
.report-radar-card {
  display: grid;
  grid-template-columns: 230px minmax(180px, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 14px;
  background: #f8fbff;
  padding: 16px;
}
.radar-copy {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.radar-copy strong {
  max-width: 52ch;
  color: #43566f;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.report-radar-svg {
  width: 100%;
  max-width: 230px;
  height: auto;
  overflow: visible;
}
.radar-ring {
  fill: none;
  stroke: #dce6f2;
  stroke-width: 1;
}
.radar-axis {
  stroke: #dce6f2;
  stroke-width: 1;
}
.radar-label {
  fill: #52677f;
  font-size: 10px;
  font-weight: 800;
}
.radar-area {
  fill: rgba(15, 92, 255, .18);
  stroke: var(--ta-blue, #0f5cff);
  stroke-linejoin: round;
  stroke-width: 2.5;
}
.radar-point {
  fill: #fff;
  stroke: var(--ta-blue, #0f5cff);
  stroke-width: 2;
}
.radar-point-excellent { stroke: #10b981; }
.radar-point-ok { stroke: var(--green); }
.radar-point-warn { stroke: var(--amber); }
.radar-point-fail { stroke: var(--red); }
.radar-point-muted { stroke: #94a3b8; }
.radar-legend {
  display: grid;
  gap: 9px;
}
.radar-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #fff;
  padding: 9px 11px;
}
.radar-legend-item span {
  color: #24364a;
  font-size: 13px;
  font-weight: 800;
}
.radar-legend-item strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}
.radar-legend-item.dimension-excellent strong { color: #047857; }
.radar-legend-item.dimension-ok strong { color: #047857; }
.radar-legend-item.dimension-warn strong { color: #b45309; }
.radar-legend-item.dimension-fail strong { color: #b91c1c; }
.radar-legend-item.dimension-muted strong { color: #64748b; }
.report-dimension-compact {
  display: grid;
  align-content: center;
  gap: 13px;
}
.dimension-line-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: #24364a;
  font-size: 13px;
  font-weight: 800;
}
.dimension-line-head strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.dimension-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}
.dimension-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #9fb1c6;
}
.dimension-excellent .dimension-bar i { background: #10b981; }
.dimension-ok .dimension-bar i { background: var(--green); }
.dimension-warn .dimension-bar i { background: var(--amber); }
.dimension-fail .dimension-bar i { background: var(--red); }
.report-verdict-card,
.report-info-card,
.report-alert,
.report-section {
  border: 1px solid rgba(15, 92, 255, .10);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 16px;
}
.report-verdict-card {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr);
  gap: 20px;
  padding: 22px 24px;
}
.report-verdict-card h2,
.report-section-head h2 {
  margin: 4px 0 0;
  color: var(--ta-ink, #142231);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.report-verdict-card p,
.report-section-head p,
.report-info-card p,
.report-alert p,
.metadata-note {
  margin: 8px 0 0;
  color: #52677f;
  font-size: 14px;
}
.decision-reason-list {
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  padding: 14px 16px;
}
.decision-reason-list > strong {
  display: block;
  margin-bottom: 8px;
  color: #172b41;
  font-size: 14px;
}
.report-verdict-card ul {
  margin: 0;
  padding-left: 18px;
  color: #31455d;
  font-size: 14px;
}
.report-verdict-card li + li {
  margin-top: 6px;
}
.verdict-excellent,
.verdict-ok { border-color: rgba(16, 185, 129, .24); background: #f0fdf4; }
.verdict-warn { border-color: rgba(245, 158, 11, .30); background: #fffbeb; }
.verdict-fail { border-color: rgba(239, 68, 68, .26); background: #fef2f2; }
.report-info-card,
.report-alert {
  padding: 16px 18px;
}
.report-info-card strong,
.report-alert strong {
  color: var(--ta-ink, #142231);
}
.report-alert-fail { border-color: #fecaca; background: #fef2f2; }
.report-alert-warn { border-color: #fde68a; background: #fffbeb; }
.report-section {
  padding: 22px 24px 24px;
}
.report-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.report-section-head.compact {
  margin-bottom: 12px;
}
.report-section-head p {
  max-width: 42ch;
  text-align: right;
}
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.dimension-card {
  border: 1px solid #e6edf5;
  border-radius: 14px;
  background: #f9fbfd;
  padding: 14px;
}
.dimension-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.dimension-card h3 {
  margin: 0;
  color: #22364d;
  font-size: 15px;
}
.dimension-card strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 18px;
}
.dimension-card.dimension-excellent strong { color: #047857; }
.dimension-card.dimension-ok strong { color: #047857; }
.dimension-card.dimension-warn strong { color: #b45309; }
.dimension-card.dimension-fail strong { color: #b91c1c; }
.dimension-card-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
  margin: -2px 0 12px;
}
.dimension-card-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #9fb1c6;
}
.dimension-excellent .dimension-card-meter i { background: #10b981; }
.dimension-ok .dimension-card-meter i { background: var(--green); }
.dimension-warn .dimension-card-meter i { background: var(--amber); }
.dimension-fail .dimension-card-meter i { background: var(--red); }
.dimension-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.probe-chip {
  border-radius: 999px;
  padding: 3px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}
.chip-excellent,
.chip-ok { background: #dcfce7; color: #166534; }
.chip-warn { background: #fef3c7; color: #92400e; }
.chip-fail { background: #fee2e2; color: #991b1b; }
.chip-muted { background: #eef2f7; color: #64748b; }
.report-note-list {
  display: grid;
  gap: 10px;
}
.report-note-list article {
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
  padding: 12px 14px;
}
.report-note-list strong {
  color: #78350f;
}
.report-note-list p {
  margin: 5px 0 0;
  color: #92400e;
  font-size: 13px;
}
.openai-focus-panel {
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 92, 255, .08), transparent 30%),
    #fff;
}
.openai-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.openai-focus-item {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  background: rgba(248, 251, 255, .86);
  padding: 14px;
}
.openai-focus-item > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.openai-focus-item strong {
  color: #16283d;
  font-size: 14px;
}
.openai-focus-item p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}
.openai-focus-item footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #718096;
  font-size: 12px;
}
.openai-focus-item footer em {
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
}
.openai-focus-item.focus-excellent,
.openai-focus-item.focus-ok { border-color: rgba(16, 185, 129, .22); }
.openai-focus-item.focus-warn { border-color: rgba(245, 158, 11, .28); background: #fffbeb; }
.openai-focus-item.focus-fail { border-color: rgba(239, 68, 68, .28); background: #fff7f7; }
.openai-focus-item.focus-muted { opacity: .78; }
.fable-focus-panel {
  border-left: 3px solid #0f5cff;
  background: #f8fbff;
}
.fable-focus-summary {
  display: grid;
  justify-items: end;
  gap: 7px;
  max-width: 520px;
}
.fable-focus-summary p {
  margin: 0;
  text-align: right;
}
.fable-state-badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}
.fable-state-badge.state-excellent,
.fable-state-badge.state-ok { background: #dcfce7; color: #166534; }
.fable-state-badge.state-warn { background: #fef3c7; color: #92400e; }
.fable-state-badge.state-fail { background: #fee2e2; color: #991b1b; }
.fable-focus-panel .openai-focus-item {
  min-height: 118px;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 4px 4px;
}
@media (max-width: 760px) {
  .fable-focus-summary {
    max-width: none;
    justify-items: start;
  }
  .fable-focus-summary p {
    text-align: left;
  }
}
.probe-list {
  overflow: hidden;
  border: 1px solid #e6edf5;
  border-radius: 14px;
}
.probe-list-head,
.probe-row {
  display: grid;
  grid-template-columns: 64px minmax(220px, 1fr) 92px 74px 84px 24px;
  gap: 12px;
  align-items: center;
}
.probe-list-head {
  background: #f7fafc;
  border-bottom: 1px solid #e6edf5;
  color: #667b95;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}
.probe-item {
  border-bottom: 1px solid #edf2f7;
}
.probe-item:last-child {
  border-bottom: 0;
}
.probe-item summary {
  list-style: none;
}
.probe-item summary::-webkit-details-marker {
  display: none;
}
.probe-row {
  cursor: pointer;
  padding: 13px 14px;
  transition: background-color .16s ease;
}
.probe-row:hover {
  background: #f8fbff;
}
.probe-row:focus-visible {
  outline: 2px solid rgba(15, 92, 255, .45);
  outline-offset: -2px;
}
.probe-item[open] .probe-row {
  background: #f7fafc;
}
.probe-code,
.probe-score,
.probe-time {
  color: #52677f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}
.probe-name {
  min-width: 0;
}
.probe-name strong {
  display: block;
  overflow: hidden;
  color: #1e334a;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.probe-name em {
  display: block;
  overflow: hidden;
  color: #72839a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-report .status-excellent,
.page-report .status-ok { background: #dcfce7; color: #166534; }
.page-report .status-warn { background: #fef3c7; color: #92400e; }
.page-report .status-fail { background: #fee2e2; color: #991b1b; }
.page-report .status-muted { background: #eef2f7; color: #64748b; }
.probe-caret {
  color: #7b8ca4;
  font-size: 18px;
  transition: transform .16s ease;
}
.probe-item[open] .probe-caret {
  transform: rotate(180deg);
}
.probe-detail {
  border-top: 1px solid #edf2f7;
  background: #fbfdff;
  padding: 16px;
}
.probe-diagnosis {
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}
.probe-diagnosis strong,
.probe-subsection h4 {
  color: #22364d;
}
.probe-diagnosis p {
  margin: 5px 0 0;
  color: #43566f;
  font-size: 14px;
}
.probe-explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.probe-explain-grid article {
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(15, 92, 255, .045), transparent 70%),
    #fff;
  padding: 12px;
}
.probe-explain-grid span {
  display: inline-flex;
  margin-bottom: 7px;
  color: #3d5874;
  font-size: 12px;
  font-weight: 900;
}
.probe-explain-grid p {
  margin: 0;
  color: #344962;
  font-size: 13px;
  line-height: 1.65;
}
.probe-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.probe-metric-card {
  min-width: 0;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #fff;
  padding: 10px 11px;
}
.probe-metric-card span {
  display: block;
  color: #667b95;
  font-size: 12px;
  font-weight: 800;
}
.probe-metric-card strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #172b41;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.probe-error,
.issue-item pre,
.evidence-grid pre,
.raw-json-details pre {
  overflow-x: auto;
  margin: 8px 0 0;
  border-radius: 10px;
  background: #0f172a;
  color: #e5edf7;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.probe-subsection {
  margin-top: 14px;
}
.probe-subsection h4 {
  margin: 0 0 8px;
  font-size: 13px;
}
.probe-case-list {
  display: grid;
  gap: 12px;
}
.probe-case {
  border: 1px solid #e0eaf5;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}
.probe-case header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.probe-case header strong {
  min-width: 0;
  color: #172b41;
  font-size: 15px;
}
.probe-case header span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef2f7;
  color: #52677f;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 900;
}
.probe-case.case-ok {
  border-color: #bbf7d0;
  background: #fbfffd;
}
.probe-case.case-ok header span {
  background: #dcfce7;
  color: #166534;
}
.probe-case.case-fail {
  border-color: #fecaca;
  background: #fffafa;
}
.probe-case.case-fail header span {
  background: #fee2e2;
  color: #991b1b;
}
.probe-case.case-warn {
  border-color: #fde68a;
  background: #fffcf3;
}
.probe-case.case-warn header span {
  background: #fef3c7;
  color: #92400e;
}
.case-prompt,
.case-compare > div,
.case-observation-grid > div {
  min-width: 0;
}
.case-prompt em,
.case-compare em,
.case-observation-grid em {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.case-prompt pre,
.case-compare pre,
.case-observation-grid pre {
  overflow-x: auto;
  margin: 0;
  border-radius: 12px;
  background: #eef6ff;
  color: #263b52;
  padding: 11px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.case-compare,
.case-observation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.case-observation-grid p,
.case-reason {
  margin: 0;
  border-radius: 12px;
  background: #f8fbff;
  color: #31455d;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.65;
}
.case-reason {
  margin-top: 12px;
}
.case-reason strong {
  color: #172b41;
}
.technical-details {
  margin-top: 14px;
  border: 1px dashed #d7e3f2;
  border-radius: 13px;
  background: #f8fbff;
  padding: 10px 12px;
}
.technical-details > summary {
  cursor: pointer;
  color: #35516d;
  font-size: 13px;
  font-weight: 900;
}
.technical-details[open] > summary {
  margin-bottom: 10px;
}
.issue-list,
.deduction-list,
.evidence-grid {
  display: grid;
  gap: 10px;
}
.deduction-item,
.issue-item,
.evidence-grid article,
.subcheck-card {
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
}
.deduction-item div,
.issue-item div,
.subcheck-card div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.deduction-item span,
.issue-item span,
.subcheck-card span {
  border-radius: 999px;
  background: #eef2f7;
  color: #52677f;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
}
.deduction-item strong {
  color: #22364d;
  font-size: 13px;
}
.deduction-item p {
  margin: 7px 0 0;
  color: #344962;
  font-size: 13px;
  line-height: 1.65;
}
.deduction-item em {
  display: block;
  margin-top: 6px;
  color: #667b95;
  font-size: 12px;
  font-style: normal;
}
.issue-item p,
.subcheck-card p {
  margin: 7px 0 0;
  color: #43566f;
  font-size: 13px;
}
.deduction-fail { border-color: #fecaca; background: #fff7f7; }
.deduction-fail span { background: #fee2e2; color: #991b1b; }
.deduction-warn { border-color: #fde68a; background: #fffbeb; }
.deduction-warn span { background: #fef3c7; color: #92400e; }
.deduction-muted { border-color: #e6edf5; background: #f8fbff; }
.deduction-muted span { background: #eef2f7; color: #64748b; }
.deduction-ok { border-color: #bbf7d0; background: #f0fdf4; }
.deduction-ok span { background: #dcfce7; color: #166534; }
.issue-fail { border-color: #fecaca; background: #fff7f7; }
.issue-warn { border-color: #fde68a; background: #fffbeb; }
.subcheck-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.subcheck-ok span { background: #dcfce7; color: #166534; }
.subcheck-fail span { background: #fee2e2; color: #991b1b; }
.evidence-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.evidence-grid strong {
  color: #22364d;
  font-size: 13px;
}
.probe-empty {
  margin: 14px 0 0;
  color: #667b95;
  font-size: 13px;
}
.raw-json-details {
  margin-top: 14px;
}
.raw-json-details summary {
  cursor: pointer;
  color: #35516d;
  font-size: 13px;
  font-weight: 800;
}
.report-metadata .metadata-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.report-metadata .metadata-grid div {
  min-width: 0;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #f9fbfd;
  padding: 10px 12px;
}
.report-metadata .metadata-grid span {
  display: block;
  color: #667b95;
  font-size: 12px;
  font-weight: 800;
}
.report-metadata .metadata-grid strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #22364d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .report-main { width: min(100% - 24px, 1180px); }
  .report-hero,
  .report-section-head,
  .report-verdict-card,
  .report-score-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .report-section-head p {
    text-align: left;
  }
  .report-actions {
    justify-content: flex-start;
  }
  .report-top-card {
    width: 100%;
    box-sizing: border-box;
  }
  .report-radar-card {
    grid-template-columns: 1fr;
  }
  .radar-copy {
    display: block;
  }
  .radar-copy strong {
    display: block;
    margin-top: 6px;
    text-align: left;
  }
  .report-radar-svg {
    margin: 0 auto;
  }
  .report-score-main {
    display: flex;
    flex-direction: column;
  }
  .report-score-main > .report-section-label,
  .report-score-number,
  .report-score-badge,
  .report-score-main > p,
  .customer-decision-card,
  .plain-signal-grid {
    grid-column: auto;
    grid-row: auto;
  }
  .customer-decision-card {
    margin-top: 12px;
  }
  .customer-decision-action {
    display: grid;
  }
  .plain-signal-grid {
    grid-template-columns: 1fr;
  }
  .dimension-grid,
  .report-metadata .metadata-grid,
  .probe-explain-grid,
  .probe-metric-grid,
  .evidence-grid,
  .subcheck-grid,
  .case-compare,
  .case-observation-grid {
    grid-template-columns: 1fr;
  }
  .probe-list-head {
    display: none;
  }
  .probe-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .probe-status,
  .probe-score,
  .probe-time {
    grid-column: 2 / 3;
  }
  .probe-status {
    margin-top: 4px;
  }
  .probe-score::before {
    content: "分数 ";
    color: #7b8ca4;
  }
  .probe-time::before {
    content: "耗时 ";
    color: #7b8ca4;
  }
  .probe-caret {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .probe-row,
  .probe-caret {
    transition: none;
  }
}

/* 报告页 v2：更紧凑的评分卡和探针展开层级，参考竞品的信息密度但不照抄。 */
.page-report .report-score-panel {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
  border-color: #dfeaf5;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 14px;
}

.page-report .report-score-main {
  grid-template-columns: 136px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 8px;
  border: 1px solid #e2edf8;
  border-radius: 12px;
  background: #f7fbff;
  padding: 12px 14px;
}

.page-report .report-score-main > .report-section-label {
  align-self: end;
  color: #60758d;
}

.page-report .report-score-number {
  margin: 0;
  gap: 6px;
}

.page-report .report-score-number strong {
  font-size: 50px;
  line-height: .92;
  letter-spacing: -0.035em;
}

.page-report .report-score-number span {
  font-size: 16px;
}

.page-report .report-score-badge {
  padding: 4px 9px;
  font-size: 12px;
}

.page-report .report-score-main > p {
  align-self: end;
  max-width: none;
  color: #3e536b;
  font-size: 13px;
  line-height: 1.42;
}

.page-report .customer-decision-card {
  border-color: #bfe9d2;
  border-radius: 12px;
  background: #eefbf4;
  padding: 9px 11px;
}

.page-report .decision-warn.customer-decision-card {
  border-color: #f6d78a;
  background: #fffbeb;
}

.page-report .decision-fail.customer-decision-card {
  border-color: #f4b9b9;
  background: #fff7f7;
}

.page-report .customer-decision-kicker {
  padding: 2px 7px;
  font-size: 11px;
}

.page-report .customer-decision-card h2 {
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.18;
}

.page-report .customer-decision-card p {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.38;
}

.page-report .customer-decision-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .64);
  padding: 6px 8px;
}

.page-report .customer-decision-action strong {
  font-size: 13px;
  white-space: nowrap;
}

.page-report .customer-decision-action span {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-report .plain-signal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.page-report .plain-signal {
  display: inline-grid;
  grid-template-columns: 18px minmax(0, auto);
  min-width: 0;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 8px 5px 6px;
}

.page-report .plain-signal > span {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.page-report .plain-signal strong {
  display: none;
}

.page-report .plain-signal em {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.page-report .plain-signal small {
  display: none;
}

.page-report .report-radar-card {
  grid-template-columns: 158px minmax(170px, 1fr);
  gap: 12px;
  border: 1px solid #e2edf8;
  border-radius: 12px;
  background: #f7fbff;
  padding: 10px;
}

.page-report .radar-copy {
  gap: 8px;
}

.page-report .radar-copy strong {
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
  white-space: normal;
}

.page-report .report-radar-svg {
  max-width: 158px;
}

.page-report .radar-label {
  font-size: 9px;
}

.page-report .radar-legend {
  align-content: center;
  gap: 5px;
}

.page-report .radar-legend-item {
  min-width: 0;
  border-color: #dfeaf5;
  border-radius: 8px;
  background: #fff;
  padding: 5px 8px;
}

.page-report .radar-legend-item span {
  color: #1f344b;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.page-report .radar-legend-item strong {
  flex: 0 0 auto;
  font-size: 12px;
  white-space: nowrap;
}

.page-report .report-verdict-card {
  grid-template-columns: minmax(260px, 1fr) minmax(280px, .9fr);
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px 18px;
}

.page-report .decision-reason-list {
  border: 1px solid rgba(15, 92, 255, .08);
  border-radius: 12px;
  background: #f8fbff;
  padding: 10px 12px;
}

.page-report .decision-reason-list ul {
  gap: 5px;
}

.page-report .probe-list {
  border-color: #dfeaf5;
  border-radius: 12px;
  background: #fff;
}

.page-report .probe-list-head,
.page-report .probe-row {
  grid-template-columns: 56px minmax(220px, 1fr) 86px 68px 76px 22px;
  gap: 10px;
}

.page-report .probe-list-head {
  padding: 8px 12px;
}

.page-report .probe-row {
  padding: 10px 12px;
}

.page-report .probe-item[open] {
  background: #fff;
}

.page-report .probe-item[open] .probe-row {
  background: #fff;
  border-bottom: 1px solid #dfeaf5;
}

.page-report .probe-name strong {
  font-size: 13px;
}

.page-report .probe-code,
.page-report .probe-score,
.page-report .probe-time {
  font-size: 12px;
}

.page-report .probe-status {
  padding: 3px 8px;
  font-size: 11px;
}

.page-report .probe-detail {
  border-top: 1px solid #e3eaf2;
  background: #f7f9fb;
  padding: 14px 18px 16px;
  box-shadow: inset 0 1px 0 rgba(15, 92, 255, .03);
}

.page-report .probe-diagnosis {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  border-color: #e3eaf2;
  border-radius: 12px;
  background: #ffffff;
  padding: 9px 12px;
}

.page-report .probe-diagnosis strong {
  font-size: 12px;
  white-space: nowrap;
}

.page-report .probe-diagnosis p {
  margin: 0;
  font-size: 13px;
  line-height: 1.42;
}

.page-report .probe-diagnosis .probe-error {
  grid-column: 1 / -1;
}

.page-report .probe-explain-grid {
  gap: 7px;
  margin-top: 8px;
}

.page-report .probe-explain-grid article {
  border-color: #e3eaf2;
  border-radius: 12px;
  background: #ffffff;
  padding: 9px 12px;
}

.page-report .probe-explain-grid span {
  margin-bottom: 4px;
  color: #1f344b;
  font-size: 11px;
}

.page-report .probe-explain-grid p {
  font-size: 12px;
  line-height: 1.45;
}

.page-report .probe-subsection {
  margin-top: 9px;
}

.page-report .probe-subsection h4 {
  margin-bottom: 6px;
  font-size: 12px;
}

.page-report .probe-case-list {
  gap: 8px;
}

.page-report .probe-case {
  border-color: #e3eaf2;
  border-radius: 11px;
  background: #fff;
  padding: 9px 10px;
}

.page-report .probe-case.case-ok,
.page-report .probe-case.case-warn,
.page-report .probe-case.case-fail {
  border-color: #e3eaf2;
  background: #fff;
}

.page-report .probe-case header {
  gap: 8px;
  margin-bottom: 7px;
}

.page-report .probe-case header strong {
  font-size: 13px;
}

.page-report .probe-case header span {
  padding: 2px 8px;
  font-size: 11px;
}

.page-report .case-prompt em,
.page-report .case-compare em,
.page-report .case-observation-grid em {
  margin-bottom: 4px;
  font-size: 11px;
}

.page-report .case-prompt pre,
.page-report .case-compare pre,
.page-report .case-observation-grid pre {
  max-height: 118px;
  border-radius: 9px;
  background: #f6f8fb;
  padding: 8px 9px;
  font-size: 12px;
  line-height: 1.42;
}

.page-report .case-prompt pre {
  max-height: 82px;
}

.page-report .case-compare,
.page-report .case-observation-grid {
  gap: 8px;
  margin-top: 8px;
}

.page-report .case-observation-grid p,
.page-report .case-reason {
  border-radius: 9px;
  background: #f6f8fb;
  padding: 8px 9px;
  font-size: 12px;
  line-height: 1.45;
}

.page-report .case-reason {
  margin-top: 8px;
}

.page-report .technical-details {
  margin-top: 9px;
  border-color: #e3eaf2;
  border-radius: 10px;
  background: #fafcff;
  padding: 8px 10px;
}

.page-report .technical-details > summary,
.page-report .raw-json-details summary {
  font-size: 12px;
}

.page-report .technical-details[open] > summary {
  margin-bottom: 7px;
}

.page-report .probe-metric-grid,
.page-report .subcheck-grid,
.page-report .evidence-grid {
  gap: 7px;
}

.page-report .probe-metric-card,
.page-report .deduction-item,
.page-report .issue-item,
.page-report .evidence-grid article,
.page-report .subcheck-card {
  border-radius: 10px;
  padding: 8px 9px;
}

.page-report .probe-error,
.page-report .issue-item pre,
.page-report .evidence-grid pre,
.page-report .raw-json-details pre {
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 11px;
  line-height: 1.42;
}

.page-report .raw-json-details,
.page-report .probe-empty {
  margin-top: 9px;
}

@media (max-width: 900px) {
  .page-report .report-score-panel,
  .page-report .report-verdict-card {
    grid-template-columns: 1fr;
  }

  .page-report .report-score-main {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .page-report .report-score-main > .report-section-label {
    grid-column: 1;
    grid-row: 1;
  }

  .page-report .report-score-number {
    grid-column: 1;
    grid-row: 2;
  }

  .page-report .report-score-badge {
    grid-column: 1;
    grid-row: 3;
  }

  .page-report .report-score-main > p {
    grid-column: 2;
    grid-row: 1;
  }

  .page-report .customer-decision-card {
    grid-column: 2;
    grid-row: 2 / span 2;
  }

  .page-report .customer-decision-card,
  .page-report .plain-signal-grid {
    min-width: 0;
  }

  .page-report .plain-signal-grid {
    grid-column: 1 / -1;
  }

  .page-report .customer-decision-action {
    display: grid;
    gap: 4px;
  }

  .page-report .customer-decision-action span {
    white-space: normal;
  }

  .page-report .report-radar-card {
    grid-template-columns: 158px minmax(170px, 1fr);
  }

  .page-report .probe-list-head {
    display: none;
  }

  .page-report .probe-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .page-report .probe-status,
  .page-report .probe-score,
  .page-report .probe-time {
    grid-column: 2 / 3;
  }

  .page-report .probe-caret {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
}

@media (max-width: 640px) {
  .page-report .report-score-main,
  .page-report .report-radar-card {
    display: flex;
    flex-direction: column;
  }

  .page-report .report-radar-svg {
    margin: 0 auto;
  }

  .page-report .radar-legend {
    grid-template-columns: 1fr;
  }

  .page-report .probe-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
}

/* ================= Model select: model intelligence ranking ================= */
body.page-model-select {
  background:
    radial-gradient(circle at 16% 0%, rgba(15, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f8fafc 100%);
}
body.page-model-select .container.model-select-main {
  max-width: 1120px;
  padding: 0 0 64px;
}
.ms-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: end;
  padding: 38px 0 26px;
}
.ms-hero h1 {
  max-width: 720px;
  margin: 8px 0 12px;
  color: #08111f;
  font-size: 58px;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}
.ms-hero p {
  max-width: 720px;
  margin: 0;
  color: #425466;
  font-size: 17px;
  line-height: 1.75;
}
.ms-hero-panel {
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15, 48, 87, .08);
}
.ms-hero-panel span,
.ms-hero-panel em {
  display: block;
  color: #60758a;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.ms-hero-panel strong {
  display: block;
  margin: 8px 0;
  color: #0f5cff;
  font-size: 46px;
  line-height: 1;
}
.ms-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid #dfe8f2;
  margin-bottom: 22px;
}
.ms-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  padding: 13px 4px 11px;
  margin-right: 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}
.ms-tabs button:hover,
.ms-tabs button:focus-visible {
  color: #0f172a;
}
.ms-tabs button:focus-visible {
  outline: 2px solid rgba(15, 92, 255, .35);
  outline-offset: 3px;
}
.ms-tabs button.is-active {
  border-bottom-color: #0f5cff;
  color: #0f172a;
}
.ms-board {
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}
.ms-board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #eef3f8;
}
.ms-board-head h2,
.ms-method h2 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.2;
}
.ms-board-head p {
  margin: 0;
  color: #5c7084;
}
.ms-board-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}
.ms-table-wrap {
  overflow-x: auto;
}
.ms-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.ms-table th {
  background: #f8fafc;
  color: #637083;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 900;
}
.ms-table td {
  border-top: 1px solid #eef3f8;
  color: #27364a;
  padding: 16px;
  vertical-align: middle;
}
.ms-table tr[hidden] {
  display: none;
}
.ms-rank {
  display: inline-flex;
  width: 36px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #0f5cff;
  font-weight: 950;
}
.ms-model-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ms-model-cell strong,
.ms-model-cell small {
  display: block;
}
.ms-model-cell strong {
  color: #0f172a;
  font-weight: 950;
}
.ms-model-cell small {
  margin-top: 3px;
  color: #6b7f92;
}
.ms-provider-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}
.ms-provider-mark::before {
  content: "A";
}
.ms-provider-mark::after {
  content: "A";
  margin-left: -2px;
}
.ms-provider-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.ms-provider-mark svg path:first-child {
  fill: none;
}
.ms-provider-mark b {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}
.ms-provider-anthropic::before,
.ms-provider-anthropic::after {
  content: none;
}
.ms-provider-anthropic .ms-anthropic-logo {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
}
.ms-provider-anthropic .ms-anthropic-logo::after {
  content: "A";
  margin-left: -4px;
}
.ms-provider-openai::before,
.ms-provider-openai::after,
.ms-provider-google::before,
.ms-provider-google::after,
.ms-provider-glm::before,
.ms-provider-glm::after,
.ms-provider-qwen::before,
.ms-provider-qwen::after,
.ms-provider-deepseek::before,
.ms-provider-deepseek::after,
.ms-provider-xai::before,
.ms-provider-xai::after,
.ms-provider-kimi::before,
.ms-provider-kimi::after {
  content: none;
}
.ms-provider-openai {
  color: #111827;
}
.ms-provider-google {
  color: #2563eb;
}
.ms-provider-google svg {
  fill: currentColor;
  stroke: none;
}
.ms-provider-glm {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-auto-rows: 5px;
  gap: 3px;
  align-content: center;
  justify-content: center;
}
.ms-provider-glm i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #2962ff;
  box-shadow: 0 0 0 1px rgba(41, 98, 255, .08);
}
.ms-provider-glm i:nth-child(1),
.ms-provider-glm i:nth-child(3),
.ms-provider-glm i:nth-child(7),
.ms-provider-glm i:nth-child(9) {
  opacity: .55;
}
.ms-provider-qwen b {
  background: #fff7ed;
  color: #c2410c;
}
.ms-provider-deepseek b {
  background: #eef2ff;
  color: #4338ca;
}
.ms-provider-xai b {
  background: #0f172a;
  color: #ffffff;
  font-size: 18px;
}
.ms-provider-kimi b {
  background: #fdf2f8;
  color: #be185d;
}
.ms-index {
  min-width: 120px;
}
.ms-index strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}
.ms-index span {
  display: block;
  height: 6px;
  max-width: 100%;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f5cff, #16a394);
}
.ms-tier,
.ms-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}
.ms-tier {
  width: 32px;
  height: 28px;
  background: #eaf2ff;
  color: #0f5cff;
}
.ms-tier-s {
  background: #fff7ed;
  color: #c2410c;
}
.ms-status {
  background: #f1f5f9;
  color: #52677c;
  padding: 6px 9px;
  font-size: 12px;
}
.ms-method {
  padding: 28px 0 48px;
}
.ms-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.ms-method article {
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}
.ms-method article strong {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
}
.ms-method h3 {
  margin: 12px 0 6px;
  color: #0f172a;
  font-size: 16px;
}
.ms-method p {
  margin: 0;
  color: #52677c;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .ms-hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
  .ms-hero h1 {
    font-size: 42px;
  }
  .ms-hero-panel {
    max-width: 260px;
  }
  .ms-board-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .ms-method-grid {
    grid-template-columns: 1fr;
  }
}
