/* Darkyydp Web Studio site template — base styles
   依存なし・システムフォントのみ。色は :root のトークンで管理する。 */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f4f5f7;
  --text: #1a1c1f;        /* on --bg: 17.1:1 */
  --muted: #4d5560;       /* on --bg: 7.5:1 */
  --border: #d5d9df;
  --link: #0a54c2;        /* on --bg: 6.9:1 */
  --link-hover: #073d8c;
  --accent: #0a54c2;
  --focus: #c2410c;       /* focus ring, 5.2:1 on --bg */
  --series-1: #2a78d6;    /* グラフ：累計投資額 */
  --series-2: #eb6834;    /* グラフ：運用益（2色の組は色覚多様性の検証済み） */
  --grid: #e6e8ec;
  --stripe: #f8f9fb;      /* 表の縞（--text との比 16.2:1、--muted 7.2:1） */
  --shadow: rgba(16, 24, 40, 0.06);
  --radius: 8px;
  --measure: 42em;        /* 本文1行の長さ（和文・中文で約42字） */
  --max: 72rem;
  --gutter: 16px;
  --font-sans: system-ui, -apple-system, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo,
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK JP", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --surface: #1c1f24;
    --text: #e7e9ec;      /* on --bg: 15.2:1 */
    --muted: #aab1bb;     /* on --bg: 8.5:1 */
    --border: #343a42;
    --link: #8ab4f8;      /* on --bg: 8.8:1 */
    --link-hover: #b3cdfb;
    --accent: #8ab4f8;
    --focus: #fdba74;
    --series-1: #3987e5;
    --series-2: #d95926;
    --grid: #2a2f36;
    --stripe: #181b20;    /* --text との比 14.2:1、--muted 8.0:1 */
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

:root:lang(en) { --measure: 68ch; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

:lang(en) body, body:lang(en) { line-height: 1.6; }

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--link); text-underline-offset: 0.2em; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3 { line-height: 1.3; margin: 1.6em 0 0.6em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin-top: 0; }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
code, pre { font-family: var(--font-mono); font-size: 0.92em; }

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 0.5rem; color: var(--bg); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.site-logo:hover { color: var(--text); }
.site-logo img { width: 28px; height: 28px; }

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
}
.nav-list, .lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a, .lang-list a {
  display: inline-block;
  padding: 0.35rem 0.1rem;
  min-height: 44px;
  line-height: calc(44px - 0.7rem);
}
.lang-list {
  gap: 0.25rem;
  font-size: 0.9rem;
}
.lang-list a {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
}
.lang-list a[aria-current="page"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* Main */
main { flex: 1 0 auto; padding: 2rem 0 3rem; }
main:focus { outline: none; }
.lead { font-size: 1.1rem; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  min-height: 44px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { color: var(--bg); filter: brightness(1.1); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}
.site-footer a { color: var(--link); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

/* ---- Simulator ---- */
.sim-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
}
@media (min-width: 56rem) {
  .sim-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}
.sim-panel {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}
.sim-panel h2 { margin-top: 0; }
.field { margin: 0 0 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.input-unit { display: flex; align-items: center; gap: 0.5rem; }
.input-unit span { color: var(--muted); white-space: nowrap; }
input[type="number"], select {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: 6px;
  min-height: 44px;
  padding: 0.4rem 0.6rem;
}
input[type="number"] { width: 100%; max-width: 14rem; text-align: right; font-variant-numeric: tabular-nums; }
select { width: 100%; }
input[aria-invalid="true"] { border-color: var(--focus); border-width: 2px; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 0.25rem 0 0; }
.field-error { color: var(--text); font-size: 0.9rem; font-weight: 600; margin: 0.25rem 0 0; }
.field-error::before { content: "! "; color: var(--focus); }
.advanced { margin: 0 0 1rem; }
.advanced summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--link); font-weight: 600; }
button.button { border: 0; font: inherit; font-weight: 600; cursor: pointer; }

#result-live.is-stale { opacity: 0.45; }
.result-caption { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.stat dt { color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.stat dd {
  margin: 0.25rem 0 0;
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat:first-child { grid-column: 1 / -1; }
.stat:first-child dd { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem); }
.notice-list { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.notice {
  border-left: 4px solid var(--focus);
  background: var(--bg);
  padding: 0.5rem 0.75rem;
  margin: 0 0 0.5rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
}

.chart-legend { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; padding: 0; margin: 0.75rem 0 0.5rem; font-size: 0.9rem; }
.chart-legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.key-principal { background: var(--series-1); }
.key-gain { background: var(--series-2); }
.chart-wrap { width: 100%; min-height: 260px; }
.chart-wrap svg { display: block; width: 100%; height: auto; }
.chart-wrap .grid { stroke: var(--grid); stroke-width: 1; }
.chart-wrap .axis-base { stroke: var(--muted); stroke-width: 1; }
.chart-wrap .tick { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chart-wrap .seg-principal { fill: var(--series-1); }
.chart-wrap .seg-gain { fill: var(--series-2); }
.chart-wrap .hit { fill: transparent; }
.chart-wrap .bar.is-active path { filter: brightness(1.15); }
.chart-tooltip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
}
.chart-tooltip p { margin: 0; }
.tip-title { color: var(--muted); }
.tip-row { display: flex; align-items: center; gap: 0.4rem; }
.tip-row strong { font-variant-numeric: tabular-nums; }
.tip-label { color: var(--muted); }
.tip-key { display: inline-block; width: 12px; height: 2px; }
.tip-key.key-principal, .tip-key.key-gain { height: 2px; border-radius: 0; }

.table-wrap { width: 100%; overflow-x: auto; margin: 0.75rem 0 1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.table-wrap:focus-visible { outline-offset: 2px; }
.sim-table, .rules-table { border-collapse: collapse; width: 100%; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.sim-table th, .sim-table td, .rules-table th, .rules-table td { padding: 0.45rem 0.75rem; border-bottom: 1px solid var(--border); }
.sim-table thead th { background: var(--surface); text-align: right; font-weight: 600; line-height: 1.4; min-width: 7.5rem; vertical-align: bottom; }
.sim-table thead th:first-child { text-align: left; min-width: 4.5rem; }
.sim-table td { text-align: right; white-space: nowrap; }
.sim-table tbody th { text-align: left; font-weight: 600; white-space: nowrap; }
.sim-table tbody tr:last-child > * { border-bottom: 0; }
.rules-table th { text-align: left; font-weight: 400; }
.rules-table td { text-align: right; white-space: nowrap; font-weight: 600; }
.rules-table tr:last-child > * { border-bottom: 0; }
/* ---- 「使い方」以降の読みもの（使い方・FAQ・制度の数字・前提・このサイトについて） ----
   各節をカードに区切り、本文の行の長さ（--measure）・行間・段落間をそろえる。文言は HTML のまま */
.doc-flow {
  display: grid;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
}
.doc-card {
  min-width: 0;
  padding: 1.25rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 1px 2px var(--shadow);
}
@media (min-width: 40.0625rem) {
  .doc-flow { gap: 1.75rem; }
  .doc-card { padding: 1.75rem 2rem 1.5rem; }
}
.doc-card > h2 {
  margin: 0 0 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--accent);
  line-height: 1.35;
}
.doc-card :is(p, li, .faq-answer) { max-width: var(--measure); }
.doc-card p { margin: 0 0 0.9em; }
.doc-card > :last-child, .faq-answer > :last-child { margin-bottom: 0; }
.prose h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; color: var(--text); }
.prose > h2 + h3 { margin-top: 0.25rem; }
.prose ul, .prose ol, .notes ol { padding-left: 1.5rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5rem; padding-left: 0.15rem; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.doc-card-about { background: var(--surface); }

/* FAQ：問ごとのアコーディオン（details/summary。h3 は summary の中で id を保つ。最初は閉じる） */
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-of-type { border-bottom: 1px solid var(--border); }
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.7rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0.35rem 0.25rem auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq-item[open] > summary::after { transform: translateY(0.2rem) rotate(-135deg); }
.faq-item > summary:hover { background: var(--surface); }
.faq-item > summary:hover h3 { color: var(--link); }
.faq-item > summary h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}
.faq-answer { padding: 0.25rem 0 1.1rem; }

/* 計算の前提：番号付きのまま、項目を線で区切り、各項目の太字（要点）を1行目に置く */
.notes > ol > li {
  max-width: var(--measure);
  margin: 0;
  padding: 0.8rem 0 0.8rem 0.25rem;
  border-top: 1px solid var(--border);
}
.notes > ol > li:last-child { border-bottom: 1px solid var(--border); }
.notes > ol > li::marker { color: var(--accent); font-weight: 700; }
.notes > ol > li > strong:first-child { display: block; margin-bottom: 0.2rem; line-height: 1.6; }
.notes > ol { margin: 0 0 1.25rem; }

/* 出典つきの制度の表（項目／原典表記／西暦・数値／出典／確認日）。パソコン幅は表のまま、縞模様と列幅で読む */
.rules-sources thead th { background: var(--surface); text-align: left; font-weight: 600; vertical-align: bottom; }
.rules-sources th, .rules-sources td { vertical-align: top; line-height: 1.55; padding: 0.65rem 0.75rem; }
.rules-sources td { text-align: left; white-space: normal; font-weight: 400; }
.rules-sources tbody th { min-width: 10rem; font-weight: 600; }
.rules-sources td:nth-child(2), .rules-sources td:nth-child(3) { min-width: 10rem; }
.rules-sources td:nth-child(4) { min-width: 10.5rem; }
.rules-sources td:last-child { white-space: nowrap; }
.rules-sources tbody tr:nth-child(even) > * { background: var(--stripe); }
.doc-card .table-wrap { margin: 1rem 0 1.25rem; }

/* スマホ〜タブレット縦（48rem＝768px 以下）：各行を縦積みのカードにして横スクロールをなくす。
   列名は td の data-label を ::before で出す（読み上げは main.js が付ける role で列見出しと結ぶので、
   ::before の文字は代替テキスト "" で読み上げから外す）。thead は見た目だけ隠す */
@media (max-width: 48rem) {
  .doc-card .table-wrap.table-stack-wrap { border: 0; border-radius: 0; overflow: visible; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack th, .table-stack td { display: block; width: auto; min-width: 0; }
  .table-stack thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .table-stack tbody tr {
    margin: 0 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
  }
  .table-stack tbody tr:nth-child(even) > * { background: transparent; }
  .table-stack tbody tr:last-child { margin-bottom: 0; }
  .table-stack tbody th {
    min-width: 0;
    padding: 0.6rem 0.85rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }
  .table-stack tbody tr > td { padding: 0.45rem 0.85rem; border-bottom: 1px solid var(--border); white-space: normal; }
  .table-stack tbody tr > td:last-child { border-bottom: 0; }
  .table-stack.rules-table tbody tr > :not(:last-child) { border-bottom: 1px solid var(--border); }
  .table-stack td::before {
    content: attr(data-label);
    content: attr(data-label) / "";
    display: block;
    margin-bottom: 0.1rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
  }
  /* 確認日は短いので列名と同じ行に置く */
  .table-stack td:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.75rem; }
  .table-stack td:last-child::before { display: inline; margin: 0; }
}

/* ---- 表示通貨の切り替え（試算結果の見出しの下。計算は円、表示だけ換算） ---- */
.fx { margin: 0 0 1rem; }
.fx-currency { border: 0; margin: 0; padding: 0; min-width: 0; }
.fx-currency legend { padding: 0; margin: 0 0 0.35rem; font-weight: 600; font-size: 0.95rem; }
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 3px;
  gap: 3px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.seg-item { position: relative; display: inline-flex; }
.seg-item input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.seg-item span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; min-width: 4.5rem; padding: 0 0.9rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  white-space: nowrap;
}
.seg-item input:hover + span { background: var(--surface); }
.seg-item input:checked + span { background: var(--text); color: var(--bg); }
.seg-item input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.fx-input-note { margin: 0.5rem 0 0; }
.fx-rate {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fx-rate > label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.fx-rate-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.fx-rate-row .input-unit { flex-wrap: nowrap; }
.fx-rate-row input[type="number"] { width: 7.5rem; min-width: 0; }
.fx-rate .hint { margin-top: 0.5rem; }
.button.button-secondary {
  background: transparent;
  color: var(--link);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}
.button.button-secondary:hover { color: var(--link-hover); background: var(--surface); filter: none; }
.button.button-small { min-height: 36px; padding: 0.3rem 0.8rem; font-size: 0.875rem; }
.fx-converted {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--bg);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- 「使い方」以降のページ内目次・FAQ の開閉ボタン ---- */
.doc-toc {
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}
.doc-toc-title { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.doc-toc ol {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0; padding: 0; list-style: none;
}
.doc-toc a {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0.25rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem; line-height: 1.35;
  text-decoration: none;
}
.doc-toc a:hover { border-color: var(--link); }
@media (min-width: 40.0625rem) { .doc-toc { padding: 1rem 1.5rem; } }
.faq-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: -0.25rem 0 1rem; }

/* スマホ：ヘッダーを詰めて h1 とリード文をファーストビューに入れる。
   3行（ロゴ／メニュー／言語）でも 96px 以下。タップ領域は高さ 28px（WCAG 2.5.8 の 24px 以上）。 */
@media (max-width: 40rem) {
  .site-header { line-height: 1.25; }
  .site-header .container {
    align-items: center;
    gap: 2px 1rem;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .site-logo { font-size: 1rem; gap: 0.4rem; min-height: 24px; }
  .site-logo img { width: 24px; height: 24px; }
  .header-nav { width: 100%; justify-content: space-between; gap: 2px 0.75rem; }
  .nav-list { gap: 0 0.75rem; font-size: 0.875rem; }
  .nav-list a, .lang-list a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    line-height: 1.25;
    padding-top: 0;
    padding-bottom: 0;
  }
  .nav-list a { padding-left: 0.2rem; padding-right: 0.2rem; }
  .lang-list { gap: 0.25rem; font-size: 0.8125rem; }
  .lang-list a { padding-left: 0.6rem; padding-right: 0.6rem; }
  main { padding-top: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header nav, .skip-link { display: none; }
  .doc-card { border: 0; box-shadow: none; padding: 0; }
  .faq-item > summary::after { display: none; }
  a { color: inherit; }
}
