/* Homepage and embedded detector. Generated by scripts/build_frontend_bundles.py. */

/* ---------- P0 commercial homepage ---------- */
.home-page-shell {
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.home-hero {
  max-width: 920px;
  padding: 34px 0 20px;
}
.home-eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}
.home-hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
}
.home-lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.home-actions .btn {
  width: auto;
  min-width: 176px;
}
.home-actions .btn-primary {
  width: auto;
}
.home-trust-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}
.home-trust-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--bg-soft);
}
.home-trust-metrics dt {
  color: var(--muted);
  font-size: 13px;
}
.home-trust-metrics dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}
.home-integrity-note {
  margin-top: 18px;
}
.section-heading {
  margin: 0 0 18px;
}
.section-heading h2 {
  margin: 0;
  font-size: 28px;
}
.section-heading p:last-child {
  max-width: 860px;
  margin: 8px 0 0;
  color: var(--muted);
}
.home-banner-ads {
  margin: 16px 0 22px;
}
.home-banner-ad-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.home-banner-ad-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  box-shadow: none;
  color: var(--text);
  scroll-snap-align: start;
}
.home-banner-ad-card:hover {
  border-color: var(--green);
  box-shadow: none;
  text-decoration: none;
}
.home-banner-ad-card:focus-visible {
  outline: 3px solid rgb(16 185 129 / 35%);
  outline-offset: 2px;
}
.home-banner-ad-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-banner-ad-vacant {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  justify-items: center;
  gap: 3px;
  padding: 12px 44px 12px 12px;
  background: var(--bg-soft);
  text-align: center;
}
.home-banner-ad-vacant strong {
  font-size: 26px;
  line-height: 1.05;
  font-weight: 700;
  white-space: nowrap;
}
.home-banner-ad-vacant span {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.home-banner-ad-vacant small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.home-banner-ad-label {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 999px;
  background: rgb(15 23 42 / 72%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
}
.home-protocols,
.home-boards,
.home-faq,
.home-operator-cta {
  margin-top: 36px;
}
.home-protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-protocol-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg);
  box-shadow: none;
}
.home-protocol-card:hover {
  border-color: var(--green);
  text-decoration: none;
}
.home-protocol-card strong {
  font-size: 18px;
}
.home-protocol-card span:last-child {
  color: var(--muted);
  font-size: 14px;
}
.model-board-list {
  display: grid;
  gap: 18px;
}
.model-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: none;
  overflow: hidden;
}
.model-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.model-board-kicker {
  margin: 0 0 3px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}
.model-board h2 {
  margin: 0;
  font-size: 20px;
}
.model-board-all {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.model-board-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.model-board-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}
.model-board-table th,
.model-board-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}
.model-board-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.model-board-section-row td {
  background: var(--bg-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.model-board-section-row span {
  margin-left: 8px;
  color: var(--muted);
  font-weight: 700;
}
.model-board-table tr:last-child td {
  border-bottom: 0;
}
.model-score {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}
.model-score-ok,
.model-score-good { background: var(--green); }
.model-score-warn { background: var(--amber); }
.model-score-fail { background: var(--red); }
.model-domain {
  display: block;
  color: var(--text);
  font-weight: 800;
}
.model-domain-host {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.model-cert {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.model-samples {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.model-board-empty {
  padding: 18px 20px;
}
.model-board-empty p {
  margin: 0 0 8px;
  color: var(--muted);
}
.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-faq-grid article,
.home-operator-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--bg);
  box-shadow: none;
}
.home-faq-grid h3,
.home-operator-cta h2 {
  margin: 0 0 8px;
}
.home-faq-grid p,
.home-operator-cta p {
  margin: 0;
  color: var(--muted);
}
.home-operator-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

@media (max-width: 1024px) and (min-width: 761px) {
  .home-banner-ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-page-shell {
    width: 100%;
    left: auto;
    transform: none;
  }
  .home-hero {
    padding-top: 28px;
  }
  .home-hero h1 {
    font-size: 38px;
  }
  .home-lede {
    font-size: 16px;
  }
  .home-trust-metrics,
  .home-protocol-grid,
  .home-faq-grid {
    grid-template-columns: 1fr;
  }
  .home-banner-ads {
    margin-right: -16px;
  }
  .home-banner-ad-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 360px);
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 16px 8px 0;
    scroll-padding-inline: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .home-banner-ad-grid::-webkit-scrollbar {
    display: none;
  }
  .model-board-head,
  .home-operator-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .model-board-table th,
  .model-board-table td {
    padding: 12px 10px;
  }
}

.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 + GitHub 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 h2 {
  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, #0E756B); }
.footer-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}
.owner-qq-chat-link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.owner-qq-chat-link:hover {
  color: var(--green-dark);
}
.business-hero .button-row {
  margin-top: 18px;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.business-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  box-shadow: none;
  padding: 20px;
}
.business-card h2 {
  margin: 4px 0 10px;
  font-size: 19px;
}
.business-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.business-flow {
  display: grid;
  gap: 16px;
}
.business-flow div {
  border-left: 3px solid var(--green);
  padding-left: 14px;
}
.business-flow strong {
  color: var(--text);
}
.business-flow p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.business-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background: #f0fdf4;
  box-shadow: none;
}
.business-contact-card h2 {
  margin: 4px 0 8px;
  font-size: 22px;
}
.business-contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.business-qq-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}
.business-qq-link:hover {
  background: var(--green-dark);
  color: #fff;
}
.business-qq-link span {
  font-size: 13px;
  opacity: 0.9;
}
.business-qq-link strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", Consolas, monospace;
  font-size: 22px;
}
.business-qq-link em {
  font-style: normal;
  font-size: 12.5px;
  opacity: 0.88;
}
.github-star-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: #f8fffb;
  box-shadow: none;
}
.github-star-cta strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 5px;
}
.github-star-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.github-star-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.github-star-button:hover {
  border-color: rgba(16, 185, 129, 0.42);
  color: var(--green-dark);
  background: #f0fdf4;
}
.footer-star-note a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copyright {
  text-align: center;
  margin: 8px 0 0;
  padding: 0 24px;
}
.footer-copyright-github {
  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-github:hover {
  opacity: 1;
  text-decoration: none;
}
.footer-copyright-github 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 + GitHub btn span both columns */
  }
}

/* ============================== Trust Strip ==============================
 * Hub homepage section right below the hero capsule. The whole strip
 * exists because Veridrop's 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 + GitHub CTA at the bottom. */
.trust-strip {
  margin: 32px 0 40px;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.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, #0E756B);
  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;
}
/* GitHub-styled "primary" button — recognizable mono font + dark bg
 * matches what users expect on a GitHub-link CTA. Different from the
 * green primary CTA on detect pages so they don't compete visually. */
.btn-github {
  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-github: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; }
}
/* Homepage operator ranking risk console. Keep all layout and controls scoped so
   the independent ranking console cannot change public or other admin surfaces. */
.operator-ranking-admin-page .operator-ranking-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 126px;
  margin: 0 0 22px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.operator-ranking-admin-page .operator-ranking-hero h1 {
  margin: 5px 0 8px;
  font-size: 30px;
  line-height: 1.15;
}
.operator-ranking-admin-page .operator-ranking-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}
.operator-ranking-kicker,
.operator-ranking-section-label {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.operator-ranking-hero-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.operator-ranking-admin-page .operator-ranking-notice {
  margin: 0 0 22px;
}
.operator-ranking-admin-page .operator-ranking-notice p {
  margin: 0;
}
.operator-ranking-admin-page .operator-ranking-panel {
  margin: 0 0 22px;
  padding: 28px;
}
.operator-ranking-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.operator-ranking-panel-head .section-title {
  margin: 5px 0 7px;
}
.operator-ranking-panel-head .muted {
  max-width: 820px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.operator-ranking-duration,
.operator-ranking-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.operator-ranking-count {
  border-color: var(--line);
  background: var(--bg-soft);
  color: var(--muted);
}
.operator-ranking-guardrail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
}
.operator-ranking-guardrail > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #A85D00;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.operator-ranking-guardrail p {
  margin: 0;
  color: #78350f;
  font-size: 13px;
  line-height: 1.6;
}
.operator-ranking-form {
  display: grid;
  grid-template-columns: minmax(300px, 1.6fr) minmax(230px, .7fr);
  gap: 20px;
}
.operator-ranking-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.operator-ranking-field > span,
.operator-ranking-row-action label {
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}
.operator-ranking-field select,
.operator-ranking-field textarea,
.operator-ranking-row-action input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
.operator-ranking-field select {
  min-height: 48px;
  padding: 0 42px 0 14px;
}
.operator-ranking-field textarea {
  min-height: 118px;
  padding: 13px 14px;
  line-height: 1.55;
  resize: vertical;
}
.operator-ranking-field select:focus,
.operator-ranking-field textarea:focus,
.operator-ranking-row-action input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: none;
}
.operator-ranking-field select:disabled,
.operator-ranking-danger-button:disabled {
  opacity: .58;
  cursor: not-allowed;
}
.operator-ranking-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.operator-ranking-evidence,
.operator-ranking-submit {
  grid-column: 1 / -1;
}
.operator-ranking-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
}
.operator-ranking-submit > div {
  display: grid;
  gap: 3px;
}
.operator-ranking-submit strong {
  color: var(--text);
  font-size: 13px;
}
.operator-ranking-submit span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.operator-ranking-admin-page .operator-ranking-danger-button {
  width: auto;
  min-width: 172px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}
.operator-ranking-records .operator-ranking-panel-head {
  margin-bottom: 0;
}
.operator-ranking-table-wrap {
  margin-top: 20px;
}
.operator-ranking-table td {
  vertical-align: middle;
}
.operator-ranking-object strong,
.operator-ranking-object code,
.operator-ranking-reason-cell strong,
.operator-ranking-reason-cell span,
.operator-ranking-reason-cell code,
.operator-ranking-time span,
.operator-ranking-time strong {
  display: block;
}
.operator-ranking-object strong {
  margin-bottom: 6px;
  font-size: 14px;
}
.operator-ranking-object code,
.operator-ranking-reason-cell code {
  color: var(--muted);
  font-size: 11px;
}
.operator-ranking-reason-cell {
  min-width: 240px;
  max-width: 380px;
}
.operator-ranking-reason-cell span {
  margin: 5px 0;
  color: #475569;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
}
.operator-ranking-time span,
.operator-ranking-time strong {
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}
.operator-ranking-time span {
  color: var(--muted);
}
.operator-ranking-actions {
  min-width: 350px !important;
}
.operator-ranking-row-action {
  display: grid;
  gap: 5px;
}
.operator-ranking-row-action + .operator-ranking-row-action {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.operator-ranking-row-action > div {
  display: flex;
  align-items: stretch;
  gap: 7px;
}
.operator-ranking-row-action input {
  min-width: 190px;
  height: 36px;
  padding: 0 10px;
  font-size: 12px;
}
.operator-ranking-row-action .btn {
  flex: 0 0 auto;
  min-height: 36px;
  font-weight: 900;
}
.operator-ranking-empty {
  margin: 20px 0 0;
}
.operator-ranking-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}
.operator-ranking-empty strong {
  color: var(--text);
}
.operator-ranking-admin-page .operator-ranking-hero-meta + .admin-sidebar,
.operator-ranking-admin-page .operator-ranking-hero > .admin-sidebar {
  flex: none;
}
@media (max-width: 900px) {
  .operator-ranking-admin-page .operator-ranking-hero,
  .operator-ranking-panel-head,
  .operator-ranking-submit {
    align-items: flex-start;
    flex-direction: column;
  }
  .operator-ranking-hero-meta {
    justify-items: start;
  }
  .operator-ranking-form {
    grid-template-columns: 1fr;
  }
  .operator-ranking-evidence,
  .operator-ranking-submit {
    grid-column: auto;
  }
  .operator-ranking-admin-page .operator-ranking-danger-button {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .operator-ranking-admin-page .operator-ranking-hero,
  .operator-ranking-admin-page .operator-ranking-panel {
    padding: 20px;
  }
  .operator-ranking-admin-page .operator-ranking-hero h1 {
    font-size: 26px;
  }
  .operator-ranking-actions {
    min-width: 290px !important;
  }
  .operator-ranking-row-action > div {
    display: grid;
  }
  .operator-ranking-row-action input {
    min-width: 0;
  }
}
.partner-dashboard-hero {
  flex-wrap: wrap;
}
.partner-dashboard-filter {
  flex: 1 1 100%;
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.partner-insight-strip {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 185, 129, .22);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  background: #fff;
}
.partner-insight-strip p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
.partner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}
.partner-kpi-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.partner-kpi-card span,
.partner-kpi-card em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}
.partner-kpi-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--text);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}
.partner-kpi-green {
  border-color: rgba(16, 185, 129, .32);
  background: var(--bg-soft);
}
.partner-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 18px;
  margin: 18px 0;
}
.partner-chart-layout {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.partner-chart-layout-funnel {
  grid-template-columns: minmax(320px, .9fr) minmax(260px, 1.1fr);
  align-items: center;
}
.partner-chart {
  width: 100%;
  min-width: 0;
  height: 280px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.partner-chart-large {
  height: 360px;
}
.partner-chart-compact {
  height: 220px;
  margin: 10px 0 14px;
}
.partner-chart-funnel {
  height: 270px;
}
.partner-clicks-chart-card,
.partner-clicks-table-card {
  margin-bottom: 18px;
}
.partner-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}
.partner-icon-button:hover {
  color: var(--green-dark);
  border-color: rgba(16, 185, 129, .36);
  background: var(--green-soft);
}
.partner-click-chart-shell {
  position: relative;
  min-height: 300px;
  border-radius: 8px;
  background: #f7fbf8;
  overflow: hidden;
}
.partner-click-chart-shell.is-empty {
  display: grid;
  place-items: center;
}
.partner-click-timeline-chart {
  width: 100%;
  height: 320px;
}
.partner-click-empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}
.partner-clicks-table-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.partner-clicks-table-head .muted {
  margin: 5px 0 0;
}
.partner-clicks-filter {
  width: 100%;
  align-items: end;
}
.partner-clicks-filter .partner-filter-control select {
  min-width: 160px;
}
.partner-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.partner-section-head p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.partner-funnel {
  display: grid;
  gap: 14px;
}
.partner-funnel-step {
  display: grid;
  grid-template-columns: minmax(112px, .28fr) minmax(0, 1fr) 64px;
  align-items: center;
  gap: 14px;
}
.partner-funnel-meta {
  min-width: 0;
}
.partner-funnel-meta span,
.partner-funnel-meta em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}
.partner-funnel-meta strong {
  display: block;
  margin: 4px 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.05;
}
.partner-funnel-track {
  height: 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}
.partner-funnel-bar {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--bg-soft);
}
.partner-funnel-step b {
  color: var(--text);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}
.partner-period-panel {
  min-height: 100%;
}
.partner-period-list {
  display: grid;
  gap: 10px;
}
.partner-period-row {
  display: grid;
  grid-template-columns: minmax(54px, .75fr) minmax(44px, .5fr) minmax(48px, .5fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.partner-period-row:last-child {
  border-bottom: 0;
}
.partner-period-row span,
.partner-period-row em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.partner-period-row strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.partner-trend-chart-primary {
  min-height: 330px;
}
.partner-source-grid {
  align-items: start;
}
.partner-core-table td strong,
.partner-core-table td .muted {
  display: block;
}
.partner-core-table td strong {
  margin-bottom: 3px;
}
/* Independent operator-authorized homepage ranking. */
.operator-ranking-note { margin: 0; }
.operator-rank-table { min-width: 1400px; }
.operator-sponsor-table { min-width: 1160px; }
.operator-organic-table-wrap { border-top: 1px solid var(--line); }
.operator-rank-table small, .operator-status-details small { display: block; color: var(--muted); margin-top: .2rem; }
.operator-rank-table th:first-child,
.operator-rank-table td:first-child { width: 72px; }
.operator-rank-table th:nth-child(2),
.operator-rank-table td:nth-child(2) { min-width: 190px; }
.operator-rank-table th:nth-child(3),
.operator-rank-table td:nth-child(3) { min-width: 200px; }
.operator-rank-table th:nth-child(4),
.operator-rank-table td:nth-child(4),
.operator-rank-table th:nth-child(5),
.operator-rank-table td:nth-child(5) { min-width: 120px; }
.operator-rank-table th:nth-child(6),
.operator-rank-table td:nth-child(6) { min-width: 132px; }
.operator-rank-table th:nth-child(7),
.operator-rank-table td:nth-child(7) { min-width: 212px; }
.operator-promotion-cell {
  min-width: 200px;
  max-width: 280px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.operator-rank-table.operator-probed-rank-table {
  min-width: 1320px;
  table-layout: fixed;
}
.operator-rank-table.operator-probed-rank-table th,
.operator-rank-table.operator-probed-rank-table td {
  width: auto;
  min-width: 0;
}
.operator-probed-rank-table .operator-probed-rank-col { width: 64px; }
.operator-probed-rank-table .operator-probed-site-col { width: 270px; }
.operator-probed-rank-table .operator-probed-promotion-col { width: 300px; }
.operator-probed-rank-table .operator-probed-online-col { width: 100px; }
.operator-probed-rank-table .operator-probed-latency-col { width: 88px; }
.operator-probed-rank-table .operator-probed-time-col { width: 124px; }
.operator-probed-rank-table .operator-probed-runtime-col { width: 194px; }
.operator-probed-rank-table .operator-probed-detail-col,
.operator-probed-rank-table .operator-probed-website-col { width: 90px; }
.operator-rank-table.operator-probed-rank-table .operator-promotion-cell {
  min-width: 0;
  max-width: none;
}
.operator-probed-rank-table .operator-promotion-cell a {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.4;
}
.operator-probed-rank-table .model-domain,
.operator-probed-rank-table .model-domain-host {
  overflow-wrap: anywhere;
}
.operator-row-action { white-space: nowrap; }
.operator-latency-pending { color: var(--muted); font-size: 12px; white-space: nowrap; }
.operator-column-help { border-bottom: 1px dashed #94a3b8; cursor: help; }
.operator-probe-time-cell { white-space: nowrap; }
.operator-runtime-cell { white-space: nowrap; }
.operator-runtime-strip {
  display: inline-grid;
  grid-template-columns: repeat(12, 8px);
  align-items: center;
  gap: 5px 4px;
  min-height: 28px;
  padding: 7px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow: none;
  vertical-align: middle;
}
.operator-runtime-mark {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.operator-runtime-mark:hover { position: relative; z-index: 1; transform: scale(1.45); }
.operator-runtime-mark:last-child { box-shadow: none; }
.operator-runtime-available { background: #12A594; }
.operator-runtime-unavailable { background: #A85D00; }
@media (prefers-reduced-motion: reduce) {
  .operator-runtime-mark { transition: none; }
}
.operator-ad-rank { color: var(--green-dark); font-size: 12px; font-weight: 900; }
.operator-status { display: inline-flex; align-items: center; border-radius: 999px; padding: .2rem .6rem; background: #f1f5f9; color: #475569; white-space: nowrap; }
.operator-status-continuous { background: #dcfce7; color: #166534; }
.operator-status-early { background: #fef3c7; color: #92400e; }
.operator-rank-empty { color: var(--muted); }
.operator-status-details { border-top: 1px solid var(--line); }
.operator-status-details > summary { cursor: pointer; color: var(--muted); padding: 13px 20px; font-weight: 700; }
.operator-status-table { min-width: 620px; }
/* C: fixed mixed theme. System dark preference must not recolor data tables. */
body { background:var(--bg-soft); color:var(--text); font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Noto Sans SC",sans-serif; line-height:1.65; }
h1,h2,h3 { font-weight:650; letter-spacing:-.025em; }
a { color:var(--green-dark); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.container,.home-wide-page .container { width:min(1200px,calc(100% - 48px)); max-width:1200px; margin:0 auto; padding:32px 0 64px; }
.site-header { background:var(--dark-canvas); color:var(--dark-text); border-bottom:1px solid var(--dark-border); }
.site-header-inner,.home-wide-page .site-header-inner { width:min(1200px,calc(100% - 48px)); max-width:1200px; min-height:72px; margin:auto; padding:0; gap:32px; }
.brand { flex-shrink:0; }
.brand img { display:block; width:auto; height:34px; max-width:none; }
.site-nav { gap:20px; }
.site-nav a,.site-nav a:visited { color:var(--dark-muted); font-size:13px; white-space:nowrap; }
.site-nav a:hover { color:var(--dark-text); }
.nav-toggle { color:var(--dark-text); border-color:var(--dark-border); }
.nav-toggle-bar { background:var(--dark-text); }
.site-footer { margin:0; padding:56px max(24px,calc((100vw - 1200px)/2)) 24px; background:var(--dark-canvas); color:var(--dark-text); border-top:1px solid var(--dark-border); }
.site-footer .footer-grid { width:100%; max-width:1200px; margin:0 auto 32px; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; text-align:left; }
.site-footer h2 { color:var(--dark-text); font-size:14px; margin:0 0 16px; }
.site-footer p,.site-footer p.muted.small,.site-footer a,.site-footer .footer-desc { color:var(--dark-muted); font-size:13px; }
.site-footer ul { margin:0; padding:0; list-style:none; }
.site-footer li { margin:8px 0; }
.footer-logo { max-width:100%; height:34px; width:auto; }
.footer-copyright { border-top:1px solid var(--dark-border); padding-top:20px; max-width:1200px; margin:auto; text-align:left; }
.card,.feature,.home-protocol-card,.model-board,.metric-card,.content-card { border:1px solid var(--line); border-radius:12px; background:var(--bg); box-shadow:none; }
.btn,input,select,textarea { border-radius:10px; }
.btn-primary { background:var(--green-dark); color:#fff; border:1px solid var(--green-dark); }
.btn-primary:hover { background:#0B625A; }
.btn-ghost { background:transparent; border-color:var(--line); color:var(--green-dark); }
input,select,textarea { background:var(--bg); color:var(--text); border-color:var(--line); }
td,th,.metric-value,.model-score,.home-trust-metrics dd { font-variant-numeric:tabular-nums; }
table { background:var(--bg); }
tbody tr:nth-child(even) { background:var(--bg-soft); }
.table-scroll,.model-board-table-wrap { overflow-x:auto; max-width:100%; }
.table-scroll table { min-width:600px; width:100%; }
.chunduai-home .container { padding-top:0; }
.chunduai-home .home-page-shell { max-width:none; }
.chunduai-hero { position:relative; isolation:isolate; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; padding:56px 0 64px; margin:0 0 64px; text-align:left; border:0; border-radius:0; background:var(--dark-canvas); color:var(--dark-text); }
.chunduai-hero:before { content:""; position:absolute; z-index:-1; inset:0 calc((1200px - 100vw)/2); background:var(--dark-canvas); }
.chunduai-hero h1 { color:var(--dark-text); font-size:clamp(38px,4.2vw,58px); line-height:1.18; margin:20px 0 24px; letter-spacing:-.04em; }
.chunduai-hero .home-eyebrow { color:var(--green); letter-spacing:.1em; font-size:12px; }
.chunduai-hero .home-lede { color:var(--dark-muted); max-width:480px; font-size:17px; line-height:1.9; }
.hero-limits { color:var(--dark-muted); font-size:12px; max-width:450px; margin-top:24px; }
.hero-secondary { display:inline-block; color:var(--dark-text); font-size:14px; margin-top:24px; }
.home-trust-metrics { display:flex; gap:32px; margin:32px 0 0; border-top:1px solid var(--dark-border); padding-top:24px; }
.home-trust-metrics dt { color:var(--dark-muted); font-size:12px; }
.home-trust-metrics dd { color:var(--dark-text); font-size:24px; margin:4px 0 0; }
.home-detect-card { width:100%; max-width:none; margin:0; padding:24px; color:var(--text); text-align:left; }
.home-detect-card .field { margin-bottom:16px; }
.home-detect-card .field-row { gap:16px; }
.home-detect-card .hint { font-size:11px; line-height:1.6; color:var(--muted); }
.home-detect-card input,.home-detect-card select { min-height:44px; font-size:14px; }
.home-detect-card .btn-primary { width:100%; background:var(--green); color:var(--dark-canvas); border-color:var(--green); min-height:46px; }
.protocol-tabs { display:flex; gap:4px; background:var(--bg-soft); padding:4px; border-radius:10px; margin-bottom:20px; }
.protocol-tabs a { flex:1; text-align:center; padding:7px 12px; border-radius:7px; font-size:13px; color:var(--muted); }
.protocol-tabs a[aria-current] { color:var(--green-dark); background:var(--bg); border:1px solid var(--line); }
.home-evidence-intro,.home-method { margin:0 0 64px; }
.section-kicker { text-transform:uppercase; font-size:12px; letter-spacing:.12em; color:var(--green-dark); margin:0 0 12px; }
.home-evidence-intro h2,.home-method h2 { font-size:28px; margin:0 0 16px; }
.home-evidence-intro>p:not(.section-kicker),.section-heading p { color:var(--muted); max-width:800px; }
.home-protocol-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:24px 0; }
.home-protocol-card { padding:24px; display:flex; flex-direction:column; gap:8px; }
.home-protocol-card strong { color:var(--text); font-size:16px; }
.home-protocol-card span { color:var(--muted); font-size:13px; }
.home-boards { margin-bottom:64px; }
.model-board-empty { padding:32px; }
.model-board-head h2 { font-size:21px; }
.editorial-section { margin:24px 0 40px; padding:32px; border:1px solid var(--line); border-radius:12px; background:var(--bg); }
.editorial-section h2 { margin-top:0; }
.editorial-article,.editorial-sources { max-width:760px; overflow-wrap:anywhere; }
.editorial-article table,.editorial-sources table { display:block; overflow-x:auto; max-width:100%; }
.editorial-meta { display:flex; flex-wrap:wrap; gap:8px 24px; font-size:12px; color:var(--muted); padding-top:16px; border-top:1px solid var(--line); }
.editorial-status { display:inline-block; border-radius:999px; padding:3px 10px; font-size:12px; background:var(--bg-soft); color:var(--muted); }
.editorial-status.reviewed { background:var(--green-soft); color:var(--green-dark); }
.editorial-admin { max-width:900px; margin:auto; }
.editorial-admin textarea { width:100%; line-height:1.7; }
@media(max-width:1248px) { .chunduai-hero:before { inset:0 -24px; } }
@media(max-width:1100px) { .site-nav { gap:12px; } .site-header-inner { gap:16px; } .chunduai-hero { gap:32px; } }
@media(max-width:900px) {
  .site-header-inner,.home-wide-page .site-header-inner { min-height:60px; }
  .brand img { height:28px; }
  .site-nav { background:var(--dark-canvas); border-color:var(--dark-border); }
  .chunduai-hero { grid-template-columns:1fr; gap:32px; padding:40px 0; margin-bottom:40px; }
  .chunduai-hero h1 { font-size:44px; }
  .home-intro { max-width:650px; }
  .home-detect-card { max-width:650px; }
  .site-footer .footer-grid { grid-template-columns:1fr 1fr; }
  .home-protocol-grid { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .container,.home-wide-page .container { width:calc(100% - 32px); padding-bottom:40px; }
  .site-header-inner,.home-wide-page .site-header-inner { width:calc(100% - 32px); }
  .chunduai-hero:before { inset:0 -16px; }
  .chunduai-hero h1 { font-size:38px; }
  .chunduai-hero .home-lede { font-size:15px; }
  .home-trust-metrics { gap:24px; }
  .home-trust-metrics dd { font-size:21px; }
  .home-detect-card { padding:20px; }
  .home-detect-card .field-row { grid-template-columns:1fr; }
  .editorial-section { padding:20px; }
  .site-footer .footer-grid { gap:24px; }
  .site-footer .footer-grid>div:first-child { grid-column:1/-1; }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { animation:none !important; scroll-behavior:auto !important; transition:none !important; } }

/* Explicitly reset inherited commercial-home widths and summary-card styles. */
.chunduai-home .home-page-shell { width:100%; left:auto; transform:none; }
.chunduai-hero { max-width:none; width:100%; }
.chunduai-hero .home-trust-metrics div { border:0; padding:0; border-radius:0; background:transparent; }
.home-detect-card .field-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.home-detect-card .field-row .field,.home-detect-card .combo { min-width:0; width:100%; }
.home-detect-card .field-row select { min-width:0; width:100%; }
@media(max-width:600px) { .home-detect-card .field-row { grid-template-columns:1fr; } }
.editorial-meta div { display:flex; gap:8px; }
.editorial-meta dd { margin:0; }
/* 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; }

/* product update notice */
.product-update-notice {
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: var(--bg-soft);
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
}
.product-update-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.product-update-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: none;
}
.product-update-notice h2 {
  margin: 7px 0 6px;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.product-update-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.product-update-side {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-update-stat {
  min-width: 116px;
  padding: 11px 12px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}
.product-update-stat strong {
  display: block;
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.product-update-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.product-update-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: stretch;
}
.product-update-actions .btn-primary {
  width: auto;
  white-space: nowrap;
  padding: 10px 15px;
  font-size: 14px;
}
.product-update-link {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 760px) {
  .product-update-notice {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .product-update-side {
    align-items: stretch;
    flex-direction: column;
  }
  .product-update-stat {
    min-width: 0;
    text-align: left;
  }
  .product-update-actions .btn-primary {
    width: 100%;
  }
}
/* 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: none;
  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: none;
}
.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; }
/* 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: none;
  -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: none;
}

/* 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: none; }
.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: keep the desktop nav, just tighten it while there is still enough
   width. Below 1080px we switch to the hamburger to avoid cramped wrapping. */
@media (max-width: 1180px) {
  .site-header-inner { padding: 14px 20px; gap: 20px; }
  .site-nav { gap: 14px; }
  .site-nav a,
  .site-nav .nav-link { font-size: 13px; }
  .apply-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .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: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    display: none;
  }
  .nav-toggle[aria-expanded="true"] ~ .site-nav {
    display: flex;
  }
  .site-nav a,
  .site-nav .nav-link {
    padding: 14px 20px;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    width: 100%;
    text-align: left;
  }
  .site-nav a:hover,
  .site-nav .nav-link:hover { background: var(--bg-soft); }
  .site-nav a::after,
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-github {
    width: auto;
    height: auto;
    border-radius: 0;
    border-bottom: none;
    margin-left: 0;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 20px;
  }
  .site-nav .nav-github::before {
    content: "GitHub";
    font-size: 15px;
  }
  .site-nav .nav-github svg {
    order: -1;
  }
}

/* Small-screen content adjustments. The navigation itself collapses earlier
   at 1080px because the commercial nav labels are longer. */
@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-veridrop 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; }
  .leaderboard-banner-ad-grid {
    justify-content: start;
  }

  /* 手机端:步骤项从「左圆数字 + 右内容」改成「上数字 + 下内容」竖排,
     避免左边 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; }

  .apply-benefits {
    padding: 22px;
  }
  .apply-benefits-head,
  .apply-pricing-strip,
  .operator-cta-strip {
    flex-direction: column;
    align-items: stretch;
  }
  .apply-benefits-head h2 {
    font-size: 21px;
  }
  .apply-benefit-grid {
    grid-template-columns: 1fr;
  }
  .apply-benefits-cta,
  .operator-cta-btn {
    width: 100%;
  }
  .apply-pricing-actions {
    justify-content: flex-start;
  }
  .apply-pricing-strip a {
    white-space: normal;
  }
  .business-grid {
    grid-template-columns: 1fr;
  }
  .business-contact-card {
    flex-direction: column;
    align-items: stretch;
  }
  .business-qq-link {
    width: 100%;
    min-width: 0;
  }
  .github-star-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .github-star-button {
    width: 100%;
  }

  .replacement-recommendation { padding: 22px 18px; }
  .replacement-recommendation-head,
  .replacement-recommendation-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .replacement-recommendation-head { gap: 12px; }
  .replacement-sponsored-badge { align-self: flex-start; }
  .replacement-recommendation-body { gap: 20px; }
  .replacement-actions { width: 100%; }
  .replacement-actions .btn { width: 100%; }

  .community-modal { padding: 16px; }
  .community-modal-card {
    max-height: calc(100vh - 32px);
    padding: 18px 16px 20px;
  }
  .community-modal-card h2 {
    margin: 0 40px 4px;
    font-size: 18px;
  }
  .community-qr {
    max-height: min(72vh, 620px);
  }
}

/* pre-submit /v1/models probe pill (the public detect.js bundle 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: #F5F8F7; border-color: #DDE6E3; color: #4b5563; }
/* Claude detection page: keep the primary task on one calm reading axis. */
body.v1-shell .detect-page {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

body.v1-shell .detect-hero {
  max-width: none;
  margin: 16px 0 28px;
}

body.v1-shell .detect-hero .section-kicker,
body.v1-shell .detect-form-head .section-kicker,
body.v1-shell .detect-section-head .section-kicker {
  margin: 0 0 10px;
}

body.v1-shell .detect-hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
}

body.v1-shell .detect-hero .hero-sub {
  max-width: 760px;
}

body.v1-shell .detect-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  padding: 0;
  color: #3e5b58;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

body.v1-shell .detect-quick-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.v1-shell .detect-quick-facts li::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--v1-brand);
  content: "";
}

body.v1-shell .detect-form-card {
  max-width: none;
  margin-bottom: 24px;
  padding: 32px 34px 28px;
  border-color: #c9d9d5;
  box-shadow: 0 16px 38px rgba(19, 38, 59, .055);
}

body.v1-shell .detect-form-head {
  margin: -2px 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e3ece9;
}

body.v1-shell .detect-form-head h2,
body.v1-shell .detect-section-head h2 {
  margin: 0 0 8px;
  color: var(--v1-text);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

body.v1-shell .detect-form-head > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--v1-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.v1-shell .detect-form-card .field,
body.v1-shell .detect-form-card .field-row {
  margin-bottom: 22px;
}

body.v1-shell .detect-form-card .field-row {
  gap: 20px;
}

body.v1-shell .detect-form-card .field label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 26px;
  color: var(--v1-text);
  font-size: 15px;
}

body.v1-shell .field-order {
  display: inline-grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 999px;
  background: var(--v1-brand-soft);
  color: var(--v1-brand-strong);
  font-size: 12px;
  font-weight: 800;
}

body.v1-shell .detect-form-card input,
body.v1-shell .detect-form-card select {
  min-height: 52px;
  padding: 12px 15px;
  font-size: 16px;
}

body.v1-shell .detect-form-card input:focus,
body.v1-shell .detect-form-card select:focus {
  border-color: var(--v1-brand);
  box-shadow: 0 0 0 3px rgba(18, 165, 148, .14);
}

body.v1-shell .detect-form-card .hint {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

body.v1-shell .detect-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f2f8f6;
  color: #355e59;
}

body.v1-shell .detect-privacy-note > span {
  flex: 0 0 auto;
  color: var(--v1-brand-strong);
  font-weight: 800;
}

body.v1-shell .detect-submit {
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid #e3ece9;
  text-align: center;
}

body.v1-shell .detect-submit .btn-primary {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

body.v1-shell .detect-submit > p {
  margin: 10px 0 0;
  color: var(--v1-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

body.v1-shell .detect-submit .form-error {
  color: var(--v1-danger);
}

body.v1-shell .detect-update {
  margin-top: 24px;
}

body.v1-shell .detect-update .product-update-notice {
  margin-bottom: 0;
  padding: 18px 20px;
  border-left-width: 3px;
  background: #f4f8f7;
}

body.v1-shell .detect-update .product-update-notice h2 {
  font-size: 18px;
}

body.v1-shell .detect-update .product-update-notice p {
  font-size: 13.5px;
  line-height: 1.65;
}

body.v1-shell .detect-update .product-update-actions .btn-primary {
  background: var(--v1-surface);
  color: var(--v1-brand-strong);
}

body.v1-shell .detect-scope-note {
  max-width: none;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-color: #c9ded9;
  background: #f2f8f6;
  color: #355e59;
  font-size: 14px;
  line-height: 1.75;
}

body.v1-shell .detect-scope-note strong {
  color: var(--v1-brand-strong);
}

body.v1-shell .detect-before {
  margin: 48px 0 0;
}

body.v1-shell .detect-section-head {
  margin-bottom: 18px;
}

body.v1-shell .detect-before .features {
  margin: 0;
}

body.v1-shell .detect-before .feature {
  padding: 20px;
}

body.v1-shell .detect-before .feature h3 {
  font-size: 17px;
}

body.v1-shell .detect-before .feature p {
  font-size: 14px;
  line-height: 1.7;
}

body.v1-shell .detect-faq-link {
  margin: 18px 0 0;
  text-align: right;
}

body.v1-shell .detect-faq-link a {
  font-size: 14px;
  font-weight: 700;
}

body.v1-shell .detect-faq {
  margin-top: 48px;
}

body.v1-shell .detect-faq .detect-section-head > p:last-child {
  margin: 0;
  color: var(--v1-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.v1-shell .detect-faq .faq-item {
  border-color: var(--v1-line);
  background: var(--v1-surface);
}

body.v1-shell .detect-faq .faq-item summary {
  min-height: 60px;
  color: var(--v1-text);
  line-height: 1.55;
}

body.v1-shell .detect-faq .faq-body {
  color: var(--v1-muted);
  line-height: 1.75;
}

body.v1-shell .detect-faq .faq-more {
  border-top-color: var(--v1-line);
  color: var(--v1-muted);
  line-height: 1.7;
}

body.v1-shell .inline-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.v1-shell .inline-search-input {
  flex: 1 1 320px;
  min-width: 0;
  padding: 8px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.v1-shell .hub-nav {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

body.v1-shell .hub-nav li {
  padding: 12px 14px;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-sm);
  background: #f8fbfa;
  color: var(--v1-muted);
}
