/* 对比与文章页共用样式，使用主站主题，不加载额外字体或框架。 */
.ac-page { --ac-soft: var(--card-bg); --ac-dim: var(--muted); }
.ac-page h1, .ac-page h2, .ac-page h3 { text-wrap: balance; }
.ac-page a { text-underline-offset: 4px; }
.ac-findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ac-findings > article { background: var(--paper-alt); padding: 24px; border-radius: 12px; min-width: 0; scroll-margin-top: 102px; }
.ac-verdict { display: block; color: var(--muted); font-size: 11px; margin-bottom: 13px; }
.ac-findings h3 { font-size: 19px; font-weight: 550; margin-bottom: 12px; }
.ac-findings p { font-size: 13px; color: var(--body-text); }
.ac-findings details { margin-top: 18px; font-size: 12px; }
.ac-findings summary, .ac-research-details > summary { cursor: pointer; color: var(--green); font-size: 13px; font-weight: 550; }
.ac-findings details p { margin-top: 14px; }
.ac-research-details { margin-top: 24px; padding: 20px 24px; background: var(--paper-alt); border-radius: 12px; }
.ac-research-details ul { padding-left: 20px; margin-top: 20px; font-size: 13px; color: var(--body-text); }
.ac-research-details li + li { margin-top: 13px; }
.ac-research-details .ac-table-scroll { margin-top: 22px; }
.ac-repo-table { min-width: 760px; }
.ac-repo-table tr > :first-child { width: 28%; }
.ac-repo-table tr > :nth-child(2) { width: 16%; }
.ac-repo-table tr > :last-child { width: 20%; }
.ac-repo-table caption { text-align: left; padding: 14px 17px; font-size: 11px; color: var(--muted); }
.ac-repo-table small { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; }
.ac-commit { font: 12px/1.5 ui-monospace, monospace; color: var(--green); }
.ac-benchmark-list { margin: 24px 0 0; display: grid; gap: 18px; }
.ac-benchmark-list dt { font-size: 14px; font-weight: 550; margin-bottom: 7px; }
.ac-benchmark-list dd { font-size: 13px; color: var(--body-text); margin: 0; }
.ac-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: var(--muted); font-size: 12px; }
.ac-breadcrumb a:hover { color: var(--green); }
.ac-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 72px; align-items: center; padding: 68px 0 64px; }
.ac-hero h1 { font-size: clamp(42px, 4.4vw, 64px); line-height: 1.22; letter-spacing: -2px; font-weight: 650; }
.ac-hero h1 span { color: var(--green); }
.ac-lead { color: var(--muted); font-size: 16px; margin-top: 25px; max-width: 540px; }
.ac-byline { color: var(--muted); font-size: 12px; margin-top: 25px; }
.ac-baseline { border: 1px solid var(--line); background: var(--ac-soft); padding: 32px; border-radius: 16px; }
.ac-baseline-top { display: flex; align-items: center; gap: 11px; font-size: 12px; color: var(--green); margin-bottom: 24px; }
.ac-baseline > strong { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.7px; }
.ac-baseline > strong > span { font-size: 17px; white-space: nowrap; }
.ac-baseline > p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.ac-baseline dl { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 14px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.ac-baseline dt { font-size: 12px; color: var(--muted); }
.ac-baseline dd { font-size: 13px; font-weight: 550; margin: 0; text-align: right; }
.ac-baseline dd:first-of-type { font: 500 24px/1.3 ui-monospace, monospace; }
.ac-baseline dd small { font: 11px/1.3 var(--font); color: var(--muted); }
.ac-baseline p.ac-baseline-note { line-height: 1.8; margin-bottom: 18px; }
.ac-baseline .text-link { font-size: 12px; }
.ac-jump { display: flex; flex-wrap: wrap; gap: 8px 26px; border-block: 1px solid var(--line); padding: 17px 0; font-size: 13px; color: var(--muted); }
.ac-jump a:hover { color: var(--green); }
.ac-section { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 102px; }
.ac-section-head { max-width: 760px; margin-bottom: 30px; }
.ac-section-head .eyebrow { margin-bottom: 13px; }
.ac-section-head h2, .ac-method h2 { font-size: clamp(28px, 2.7vw, 36px); }
.ac-section-head p { margin-top: 15px; color: var(--muted); font-size: 14px; }
.ac-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ac-fit-grid article { padding: 26px; background: var(--paper-alt); border-radius: 10px; }
.ac-index { display: block; color: var(--ac-dim); font: 11px/1.5 ui-monospace, monospace; letter-spacing: .08em; }
.ac-fit-grid h3, .ac-focus-grid h3 { font-size: 19px; font-weight: 550; margin: 17px 0 12px; line-height: 1.5; }
.ac-fit-grid p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.ac-fit-grid a, .ac-fit-grid article > span:not(.ac-index) { color: var(--green); font-size: 12px; }
.ac-fit-grid a:hover, .ac-product-body a:hover, .ac-sources a:hover { text-decoration: underline; }
.ac-focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ac-focus-grid article { border-top: 2px solid var(--line-strong); padding-top: 20px; }
.ac-focus-grid p { color: var(--muted); font-size: 13px; }
.ac-focus-grid small { display: block; color: var(--green); margin-top: 19px; font-size: 11px; }
.ac-note { font-size: 12px; color: var(--muted); margin-top: 24px; }
.ac-refs { display: inline-flex; flex-wrap: wrap; gap: 5px; font-size: 11px; vertical-align: baseline; }
.ac-refs a { color: var(--green); padding: 2px; text-decoration: underline; }
.ac-table-scroll { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--card-bg); }
.ac-table { width: 100%; min-width: 990px; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 12px; line-height: 1.85; }
.ac-table thead { background: var(--paper-alt); color: var(--muted); font-size: 11px; }
.ac-table th, .ac-table td { padding: 20px 17px; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.ac-table thead th { font-weight: 550; padding-block: 13px; }
.ac-table tr > :first-child { width: 18%; }
.ac-table tbody th { font-size: 14px; font-weight: 550; }
.ac-table tbody th > a:hover { color: var(--green); }
.ac-table tbody th small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 7px; }
.ac-table td { color: var(--body-text); }
.ac-table .ac-table-own { background: var(--green-soft); }
.ac-table tbody tr:last-child > * { border-bottom: 0; }
.ac-table .ac-refs { margin-top: 7px; }
.ac-product { border-bottom: 1px solid var(--line); scroll-margin-top: 102px; }
.ac-product:first-child { border-top: 1px solid var(--line); }
.ac-product summary { display: grid; grid-template-columns: 230px 1fr 20px; align-items: center; gap: 26px; cursor: pointer; padding: 22px 4px; list-style: none; }
.ac-product summary::-webkit-details-marker { display: none; }
.ac-product summary:hover strong { color: var(--green); }
.ac-product summary strong { font-size: 16px; font-weight: 550; }
.ac-product summary small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.ac-product-fit { color: var(--muted); font-size: 13px; }
.ac-expand { color: var(--green); font-size: 22px; font-weight: 300; text-align: center; }
.ac-product[open] .ac-expand { transform: rotate(45deg); }
.ac-product-body { margin: 0 0 25px 260px; padding: 24px; background: var(--paper-alt); border-radius: 10px; }
.ac-product-body dl { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px 18px; font-size: 13px; margin: 0; }
.ac-product-body dt { color: var(--muted); }
.ac-product-body dd { margin: 0; color: var(--body-text); }
.ac-evidence { font-size: 11px; color: var(--muted); margin-top: 22px; }
.ac-boundaries { margin-top: 58px; padding: 40px; background: var(--ac-soft); border: 1px solid var(--line); border-radius: 14px; }
.ac-boundaries .ac-section-head { margin-bottom: 22px; }
.ac-boundaries ul { padding-left: 20px; font-size: 13px; color: var(--body-text); }
.ac-boundaries li + li { margin-top: 9px; }
.ac-boundaries > p { font-size: 12px; color: var(--muted); margin-top: 25px; }
.ac-method { max-width: 820px; }
.ac-method ol { padding-left: 20px; font-size: 14px; margin: 24px 0 18px; color: var(--muted); }
.ac-method li + li { margin-top: 8px; }
.ac-method > p { font-size: 12px; color: var(--muted); }
.ac-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 46px; margin: 0; padding-left: 26px; font-size: 11px; }
.ac-sources li { padding-left: 4px; scroll-margin-top: 110px; }
.ac-sources li:target { background: var(--green-soft); outline: 6px solid var(--green-soft); border-radius: 3px; }
.ac-sources li > span { display: block; color: var(--muted); font-size: 10px; }
.ac-sources li > a { color: var(--green); }
.ac-page main > .ac-section:last-child { border-bottom: 0; }
.ac-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ac-article-hero { max-width: 820px; padding: 65px 0 44px; }
.ac-article-hero h1 { font-size: var(--page-heading-size); font-weight: 650; letter-spacing: -1.8px; line-height: 1.3; }
.ac-article-hero > p:not(.ac-disclosure) { margin-top: 20px; color: var(--muted); font-size: 17px; }
.ac-disclosure { font-size: 12px; color: var(--muted); padding-left: 15px; border-left: 2px solid var(--line-strong); margin-top: 28px; }
.ac-audit-details { padding: 18px; background: var(--paper-alt); border-radius: 10px; }
.ac-audit-details > summary { cursor: pointer; display: flex; justify-content: space-between; gap: 18px; }
.ac-audit-details > summary span { color: var(--muted); font-size: 12px; }
.ac-audit-table { min-width: 0; table-layout: fixed; margin-top: 22px; }
.ac-audit-table th:first-child { width: 25%; }
.ac-audit-table th:nth-child(2) { width: 9%; }
.ac-audit-table td { overflow-wrap: anywhere; }
.ac-audit-table td details { margin-top: 8px; color: var(--muted); font-size: 11px; }
.ac-article-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 64px; border-top: 1px solid var(--line); padding: 44px 0 60px; }
.ac-toc { min-width: 0; }
.ac-toc nav { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 14px; }
.ac-toc nav > span { font-size: 11px; color: var(--green); margin-bottom: 5px; }
.ac-toc a { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.ac-toc a:hover { color: var(--green); }
.ac-toc small { flex: none; color: var(--muted); font: 10px/1.6 ui-monospace, monospace; }
.ac-prose { min-width: 0; max-width: 780px; }
.ac-prose > section { scroll-margin-top: 110px; margin-bottom: 48px; }
.ac-prose h2 { font-size: 25px; margin: 10px 0 24px; line-height: 1.55; }
.ac-prose p { margin: 0 0 20px; line-height: 2; font-size: 15px; color: var(--body-text); overflow-wrap: break-word; }
.ac-prose .ac-evidence { font-size: 11px; color: var(--muted); }
.ac-article-cta { padding: 30px; background: var(--green-soft); border-radius: 12px; }
.ac-article-cta h2 { margin-top: 0; }
.ac-article-cta p { font-size: 13px; }
.ac-article-cta .actions { margin-top: 20px; }
@media (max-width: 1150px) {
  .ac-hero { gap: 32px; grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr); }
  .ac-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .ac-fit-grid { gap: 16px; }
  .ac-fit-grid article { padding: 21px; }
  .ac-article-layout { gap: 36px; grid-template-columns: 195px minmax(0, 1fr); }
  .ac-product-body { margin-left: 0; }
}
@media print {
  .ac-page .nav, .ac-page .footer, .ac-toc, .ac-jump, .ac-page .actions, .ac-breadcrumb { display: none; }
  .ac-page .wrap { width: 100%; }
  .ac-hero, .ac-article-layout { display: block; }
  .ac-baseline { margin-top: 25px; }
  .ac-table { min-width: 0; font-size: 9px; }
  .ac-table th, .ac-table td { padding: 8px; }
  .ac-table-scroll { overflow: visible; }
  .ac-prose { max-width: none; }
}
