/* 识谱匠专题页。只服务新增落地页，不改首页样式。 */
:root {
  --ink: #14332a;
  --muted: #465e55;
  --paper: #faf9f5;
  --surface: #fff;
  --accent: #176b52;
  --accent-deep: #134635;
  --accent-soft: #e8f1ea;
  --line: #d4dfd6;
  --on-accent: #fff;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
a { color: var(--accent-deep); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 2; top: 8px; left: 12px; transform: translateY(-160%); padding: 9px 14px; background: var(--accent-deep); color: var(--on-accent); }
.skip-link:focus { transform: none; }
.shell { width: min(760px, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; width: min(1160px, calc(100% - var(--gutter) - var(--gutter))); padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font: 700 22px/1 "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; text-decoration: none; }
.brand img { display: block; width: 32px; height: 32px; }
.topics { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.topics a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.topics a[aria-current="page"] { color: var(--accent-deep); text-decoration: underline; }
.topics a:hover { color: var(--accent); text-decoration: underline; }
main { padding-block: 28px 48px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); }
h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 44px); line-height: 1.2; letter-spacing: -.03em; }
h2 { margin: 32px 0 8px; font-size: 22px; line-height: 1.35; }
p { margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 14px 0; cursor: pointer; font-weight: 650; }
.faq-answer { margin-top: 0; padding-bottom: 16px; color: var(--muted); }
.example { display: grid; gap: 16px; margin: 12px 0 8px; }
.example figure { margin: 0; }
.example picture { display: block; }
.example img { display: block; width: 100%; height: auto; background: var(--accent-soft); border-radius: 12px; }
.example figcaption { margin-top: 6px; color: var(--muted); text-align: center; }
.related { margin-top: 28px; padding-top: 8px; }
.related ul { margin: 8px 0 0; padding-left: 1.2em; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .shell { padding-block: 18px; }
@media (min-width: 760px) {
  .example { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .bar { align-items: flex-start; }
  .topics { width: 100%; }
}

table.compare { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
table.compare caption { caption-side: bottom; padding-top: 8px; color: var(--muted); font-size: 13px; text-align: left; }
table.compare th, table.compare td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
table.compare th { background: var(--accent-soft); font-weight: 650; }
table.compare tbody th { background: var(--surface); font-weight: 650; width: 7.5em; }
.note { color: var(--muted); font-size: 14px; }
.tips { margin: 8px 0 16px; padding-left: 1.2em; }
.tips li { margin: 0 0 8px; }
