/* 10分でわかる防犯カメラ比較
   配色は店先の写真から：扉の青、日差しの黄、漆喰の白 */
:root {
  --ink: #17203a;
  --sub: #56607a;
  --blue: #2440b3;
  --blue-d: #182c82;
  --sky: #e8edfb;
  --sun: #f7c869;
  --sun-soft: #fdf3d9;
  --leaf: #1f6f47;
  --warn: #a8322d;
  --bg: #f4f6fb;
  --line: #dde2ee;
  --line-2: #c3cbdd;
  --wrap: 1100px;
  --read: 720px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.9; overflow-wrap: anywhere; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 5px var(--ink); border-radius: 3px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; background: #fff; padding: 8px 14px; z-index: 300; border-radius: 6px; }
.skip:focus { top: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.45; font-weight: 700; text-wrap: balance; font-feature-settings: "palt"; letter-spacing: .02em; }
p { margin: 0 0 1.15em; }
.nb { display: inline-block; }
.num { font-variant-numeric: tabular-nums; }

/* ── ヘッダー ── */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16.5px; line-height: 1.2; }
.brand img { width: 34px; height: 34px; display: block; }
.brand b { color: var(--blue); font-size: 1.28em; letter-spacing: .01em; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.gnav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 700; }
.gnav a:hover { background: var(--sky); color: var(--blue-d); }
.gnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; }

/* ── ボタン ── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn-line { background: #fff; color: var(--blue); }
.btn-line:hover { background: var(--sky); color: var(--blue-d); border-color: var(--blue-d); }
.btn-sm { min-height: 38px; padding: 5px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── トップ：ヒーロー ── */
.hero { background: #fff; }
.route-band { background: var(--bg); padding-block: 36px 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-block: 56px 56px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.3; letter-spacing: .01em; }
.hero-lead { margin: 20px 0 28px; color: var(--sub); max-width: 30em; }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 30%; border-radius: 14px; }
.hero-meta { font-size: 13.5px; color: var(--sub); margin: 18px 0 0; }

/* 読む時間に比例した幅の道のり（サイトの約束＝10分を形にしたもの） */
.route { padding: 0; }
.route h2 { font-size: 15px; color: var(--sub); margin-bottom: 12px; font-weight: 700; }
.route h2 b { color: var(--ink); font-size: 1.25em; }
.route ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.route li { flex: var(--m, 1) 1 0; min-width: 0; }
.route a { display: block; height: 100%; padding: 16px 18px 18px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--blue); border-radius: 4px 4px 12px 12px; text-decoration: none; color: var(--ink); }
.route li:nth-child(2) a { border-top-color: #4a67d6; }
.route li:nth-child(3) a { border-top-color: #7d94e6; }
.route li:nth-child(4) a { border-top-color: var(--sun); }
.route a:hover { border-color: var(--blue); background: var(--sky); }
.route .min { display: block; font-size: 13px; font-weight: 700; color: var(--blue); }
.route strong { display: block; font-size: 17px; line-height: 1.5; }
.route span.d { display: block; font-size: 13px; color: var(--sub); line-height: 1.65; margin-top: 4px; }

/* ── セクション ── */
.band { padding-block: 76px; }
.band-tint { background: var(--bg); }
.band-head { max-width: 46em; margin-bottom: 32px; }
.band-head h2 { font-size: clamp(25px, 2.8vw, 33px); }
.band-head p { margin: 14px 0 0; color: var(--sub); }

/* 配置図と番号つきの説明 */
.plan { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.plan figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.plan figure svg { display: block; width: 100%; }
.plan figcaption { font-size: 13px; color: var(--sub); margin-top: 10px; line-height: 1.7; }
.spots { list-style: none; margin: 0; padding: 0; counter-reset: spot; }
.spots li { counter-increment: spot; position: relative; padding: 0 0 22px 46px; }
.spots li::before { content: counter(spot); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; line-height: 1; }
.spots h3 { font-size: 17.5px; }
.spots p { font-size: 15px; color: var(--sub); margin: 4px 0 0; line-height: 1.8; }
.svg-text { font-family: var(--font); }

.shapes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 52px; }
.shapes article { border-top: 2px solid var(--ink); padding-top: 20px; }
.shapes h3 { font-size: 19px; }
.shapes p { font-size: 15px; margin: 8px 0 0; color: var(--sub); }
.shapes p b { color: var(--ink); }

/* ── 表 ── */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
caption { text-align: left; padding: 14px 20px; font-weight: 700; font-size: 14px; color: var(--sub); }
th, td { text-align: left; vertical-align: top; padding: 15px 20px; border-top: 1px solid var(--line); }
thead th { background: var(--sky); color: var(--blue-d); font-size: 13.5px; white-space: nowrap; }
tbody th { font-weight: 700; min-width: 10.5em; }
.use { display: block; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.model { font-size: 17px; }
td small, th small { display: block; font-size: 13px; color: var(--sub); font-weight: 400; }
.price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { font-size: 13.5px; color: var(--sub); margin: 14px 0 0; line-height: 1.8; }
.ext::after { content: "（外部サイト）"; font-size: .82em; color: var(--sub); }

/* 距離の早見（棒の長さが距離に比例） */
.reach { list-style: none; margin: 26px 0 0; padding: 0; max-width: 760px; }
.reach li { display: grid; grid-template-columns: 11em 1fr; gap: 14px; align-items: center; padding: 9px 0; font-size: 15px; }
.reach .bar { height: 14px; border-radius: 7px; background: var(--blue); width: calc(var(--d) / 32 * 100%); min-width: 8px; }
.reach li:last-child .bar { background: var(--sun); }
.reach .val { display: flex; align-items: center; gap: 12px; }
.reach b { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── ガイド一覧 ── */
.guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.guides li { border-top: 1px solid var(--line-2); }
.guides a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0 20px; text-decoration: none; color: var(--ink); }
.guides strong { font-size: 17px; line-height: 1.55; color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.guides a:hover strong { color: var(--blue-d); text-decoration-thickness: 2px; }
.guides .min { font-size: 12.5px; font-weight: 700; color: var(--sub); white-space: nowrap; padding-top: 4px; }
.guides .d { grid-column: 1 / -1; font-size: 14px; color: var(--sub); line-height: 1.7; }

/* ── FAQ ── */
.faq { max-width: var(--read); }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 6px; top: 16px; color: var(--blue); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; font-size: 15.5px; color: var(--sub); }

/* ── 下層ページ ── */
.page-head { background: var(--bg); padding-block: 22px 44px; }
.crumbs { font-size: 13px; color: var(--sub); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: var(--sub); }
.page-head-in { max-width: var(--read); margin-inline: auto; }
.page-head h1 { font-size: clamp(27px, 3.6vw, 38px); margin-top: 26px; }
.page-head .lede { color: var(--sub); margin: 16px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--sub); margin: 20px 0 0; }
.meta .mins { background: var(--ink); color: #fff; font-weight: 700; padding: 2px 12px; border-radius: 999px; }

.prose { max-width: var(--read); margin-inline: auto; padding-block: 44px 80px; }
.prose-wide { max-width: 900px; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px 12px; margin-bottom: 8px; }
.toc h2 { font-size: 14px; color: var(--sub); margin: 0 0 8px; padding: 0; border: 0; }
.toc ol { margin: 0; padding-left: 1.3em; font-size: 15px; line-height: 1.7; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose > h2 { font-size: clamp(22px, 2.4vw, 27px); margin: 56px 0 16px; }
.prose > h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--sun); margin-bottom: 14px; }
.prose h3 { font-size: 18px; margin: 30px 0 8px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose .table-wrap { margin: 22px 0; }
.callout { background: var(--sun-soft); border-radius: 12px; padding: 18px 22px; margin: 26px 0; font-size: 15.5px; }
.callout > *:last-child { margin-bottom: 0; }
.callout > strong:first-child { display: block; margin-bottom: 4px; }
.callout-warn { background: #fbecea; }
.callout-warn > strong:first-child { color: var(--warn); }
.sources { font-size: 14px; border-top: 1px solid var(--line-2); margin-top: 56px; padding-top: 20px; }
.sources h2 { font-size: 15px; margin: 0 0 8px; }
.sources ul { padding-left: 1.3em; margin: 0; }
.sources p { color: var(--sub); font-size: 13px; margin: 10px 0 0; }

.next { background: var(--bg); padding-block: 52px; }
.next h2 { font-size: 20px; margin-bottom: 18px; }
.next .guides li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-2); }

/* 手順（順序のある工程） */
.steps { list-style: none; margin: 24px 0; padding: 0 !important; counter-reset: st; }
.steps > li { counter-increment: st; position: relative; padding: 0 0 26px 58px; margin: 0; }
.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; display: grid; place-items: center; background: #fff; }
.steps > li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line-2); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 4px 0 6px; font-size: 18px; }
.steps p, .steps ul { font-size: 15.5px; color: var(--sub); margin-bottom: .6em; }

/* 録画方式の流れ図 */
.flows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.flow { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.flow h3 { margin: 0 0 14px; font-size: 17px; }
.flow ol { list-style: none; margin: 0; padding: 0 !important; }
.flow li { margin: 0; background: var(--sky); border-radius: 8px; padding: 10px 14px; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.flow li small { display: block; font-weight: 400; font-size: 12.5px; color: var(--sub); }
.flow li + li { margin-top: 26px; position: relative; }
.flow li + li::before { content: ""; position: absolute; left: 50%; top: -19px; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateX(-50%) rotate(45deg); }
.flow li.store { background: var(--ink); color: #fff; }
.flow li.store small { color: #c8d0e6; }
.flow p { font-size: 14px; color: var(--sub); margin: 16px 0 0; }

/* 計算ツール */
.tool { border: 2px solid var(--ink); border-radius: 14px; margin: 26px 0; overflow: hidden; background: #fff; }
.tool-head { padding: 20px 24px 4px; }
.tool-head h2 { font-size: 19px; margin: 0; }
.tool-head p { font-size: 14px; color: var(--sub); margin: 6px 0 0; }
.tool fieldset { border: 0; margin: 0; padding: 18px 24px; min-width: 0; }
.tool fieldset + fieldset { border-top: 1px solid var(--line); }
.tool legend { float: left; width: 100%; font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 12px; }
.fields { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 5px; line-height: 1.5; }
.field small { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.55; margin-top: 4px; }
.field input, .field select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
.tool-out { background: var(--ink); color: #fff; padding: 22px 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.tool-out div > span { display: block; font-size: 13px; color: #c8d0e6; }
.tool-out div > strong { display: block; font-size: 27px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.tool-out div > small { font-size: 13px; color: #c8d0e6; font-variant-numeric: tabular-nums; }
.tool-out .verdict { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: var(--sun); font-weight: 700; font-size: 15.5px; }
.levels { grid-column: 1 / -1; list-style: none; margin: 0; padding: 14px 0 0 !important; border-top: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.levels li { margin: 0; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); font-size: 13px; line-height: 1.5; color: #c8d0e6; }
.levels li b { display: block; color: #fff; font-size: 14px; }
.levels li.on { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.levels li.on b { color: var(--ink); }

/* チェックリスト */
.check-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 20px; margin: 8px 0 0; }
.check-bar output { font-weight: 700; font-size: 20px; color: var(--sun); margin-left: 8px; }
.check-bar .btn { border-color: #fff; background: #fff; color: var(--ink); }
.check-bar .btn:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.check-bar .btn-ghost { background: transparent; color: #fff; }
.checks { list-style: none; margin: 12px 0 24px; padding: 0 !important; border: 1px solid var(--line); border-radius: 12px; }
.checks li { margin: 0; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.checks label { display: flex; align-items: flex-start; gap: 14px; padding: 15px 18px; cursor: pointer; font-size: 15.5px; line-height: 1.7; }
.checks label:hover { background: var(--bg); }
.checks input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--leaf); }
.checks input:checked + span { color: var(--sub); }
.checks small { display: block; font-size: 13px; color: var(--sub); }

/* コピーできる文例 */
.copybox { border: 1px solid var(--line-2); border-radius: 12px; margin: 22px 0; overflow: hidden; }
.copybox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 20px; background: var(--bg); font-size: 14px; font-weight: 700; }
.copybox pre { margin: 0; padding: 18px 20px; font-family: var(--font); font-size: 14.5px; line-height: 1.9; white-space: pre-wrap; max-height: 440px; overflow: auto; }

/* 用語集 */
.terms-index { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0; }
.terms-index a { display: block; padding: 4px 16px; border-radius: 999px; background: var(--sky); text-decoration: none; font-size: 14px; font-weight: 700; }
.terms dt { font-weight: 700; font-size: 17px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.terms dt span { font-weight: 400; font-size: 13px; color: var(--sub); margin-left: 10px; }
.terms dd { margin: 6px 0 0; font-size: 15.5px; color: var(--sub); }

/* ── フッター ── */
.site-foot { background: var(--ink); color: #c8d0e6; font-size: 14px; }
.site-foot .wrap { padding-block: 52px 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { font-size: 17px; font-weight: 700; color: #fff; }
.foot-brand b { color: var(--sun); font-size: 1.2em; }
.foot-grid p { margin: 10px 0 0; line-height: 1.8; max-width: 24em; }
.foot-grid h2 { font-size: 13.5px; color: #fff; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 7px; }
.site-foot a { color: #c8d0e6; text-decoration: none; }
.site-foot a:hover { color: var(--sun); text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,.16); margin-top: 36px; padding-top: 18px; font-size: 12.5px; color: #9aa5c2; line-height: 1.8; }
.foot-base p { margin: 0; }
.lost { padding-block: 88px; }
.lost h1 { font-size: clamp(26px, 3.4vw, 36px); }
.lost p { color: var(--sub); margin: 14px 0 26px; }

/* ── レスポンシブ ── */
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .js .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(23,32,58,.12); }
  .js .gnav.open { display: block; }
  .gnav ul { flex-direction: column; padding: 8px 20px 16px; gap: 0; }
  .gnav a { border-radius: 0; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav a[aria-current="page"] { background: none; color: var(--blue); }
  html:not(.js) .site-head .wrap { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .menu-btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 28px; }
  .plan { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .band { padding-block: 52px; }
  .route-band { padding-block: 28px 32px; }
  .route ol { flex-direction: column; }
  .route a { border-top-width: 1px; border-left: 6px solid var(--blue); border-radius: 4px 12px 12px 4px; }
  .route li:nth-child(2) a { border-top-color: var(--line); border-left-color: #4a67d6; }
  .route li:nth-child(3) a { border-top-color: var(--line); border-left-color: #7d94e6; }
  .route li:nth-child(4) a { border-top-color: var(--line); border-left-color: var(--sun); }
  .shapes, .guides, .flows, .fields, .fields-3, .tool-out { grid-template-columns: 1fr; }
  .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc ol { columns: 1; }
  .reach li { grid-template-columns: 1fr; gap: 4px; }
  .next .guides li:nth-last-child(2) { border-bottom: 0; }
  .tool-head, .tool fieldset, .tool-out { padding-inline: 18px; }
  .check-bar .btn-row { width: 100%; flex-wrap: nowrap; }
  .check-bar .btn { flex: 1; padding-inline: 8px; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .stack, .stack caption, .stack tbody, .stack tr, .stack th, .stack td { display: block; width: 100%; }
  .stack tr { padding: 18px 20px; border-top: 1px solid var(--line); }
  .stack th, .stack td { padding: 0; border: 0; }
  .stack tbody th { margin-bottom: 8px; }
  .stack td { margin-top: 10px; }
  .stack td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--blue); }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .btn-row > .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-head, .site-foot, .next, .toc, .menu-btn, .check-bar .btn-row { display: none !important; }
  body { font-size: 11pt; }
  .check-bar { background: none; color: #000; padding: 0; }
  .check-bar output { color: #000; }
}
