:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5f6b7c;
  --line: #d9e1ec;
  --surface: #ffffff;
  --wash: #f5f7fb;
  --accent: #116a8c;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--wash); line-height: 1.55; }
a { color: var(--accent); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(20px, 5vw, 64px); background: var(--surface); border-bottom: 1px solid var(--line); }
.brand-link img { display: block; width: min(220px, 48vw); height: auto; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 64px; }
.hero { margin-bottom: 34px; }
.eyebrow, .breadcrumb { margin: 0 0 10px; color: var(--muted); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
h1 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: 0; }
h2 { margin: 34px 0 14px; font-size: 1.5rem; }
h3 { margin: 26px 0 12px; font-size: 1.25rem; }
h4 { margin: 24px 0 10px; font-size: 1.05rem; }
p { max-width: 850px; }
.article, .content-section { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 4vw, 42px); }
.article-content table, .mapping-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.94rem; }
th, td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
th { background: #eef3f8; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
code { background: #eef3f8; border-radius: 4px; padding: 0.1em 0.3em; }
pre { overflow: auto; padding: 16px; background: #111827; color: #f8fafc; border-radius: 8px; }
.topic-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.topic-card { display: flex; min-height: 128px; flex-direction: column; gap: 9px; padding: 16px; color: inherit; text-decoration: none; background: #fbfcfe; border: 1px solid var(--line); border-radius: 8px; }
.topic-card span { font-weight: 800; }
.topic-card small { color: var(--muted); }
.topic-card:hover { border-color: var(--accent); }
.related { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.wide-figure { margin: 22px 0 0; }
.wide-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.wide-figure figcaption { margin-top: 12px; color: var(--muted); }
.admin-help-figure { margin: 22px 0; }
.admin-help-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-help-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  main { width: min(100% - 28px, 1120px); padding-top: 28px; }
  .article, .content-section { padding: 18px; }
  th, td { padding: 8px; }
}
