:root {
  --ink: #122d36;
  --muted: #52656c;
  --line: #d8e2e5;
  --paper: #ffffff;
  --soft: #f3f7f8;
  --navy: #123a48;
  --teal: #0e5961;
  --blue: #176da0;
  --blue-dark: #0e527b;
  --orange: #b65319;
  --orange-soft: #fff4eb;
  --success: #146348;
  --shadow: 0 14px 35px rgba(18, 58, 72, .1);
  --radius: 14px;
  --content: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: .2em; }
a:hover { color: var(--orange); }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 44px; }
h1, h2, h3 { color: var(--navy); line-height: 1.38; letter-spacing: .01em; }
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin: 0; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 3rem 0 1rem; }
h3 { font-size: 1.12rem; margin: 2rem 0 .7rem; }
p, ul, ol { margin-top: 0; }
ul, ol { padding-left: 1.45rem; }
li + li { margin-top: .5rem; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; background: #fff; padding: .7rem 1rem; border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: var(--content); margin: 0 auto; min-height: 74px; padding: .7rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; flex: 0 0 auto; }
.brand strong { display: block; font-size: 1.1rem; letter-spacing: .04em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.25; }
.brand-mark { width: 34px; height: 34px; border: 3px solid var(--teal); border-radius: 9px; display: grid; place-items: center; position: relative; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; display: block; position: absolute; background: var(--orange); border-radius: 999px; }
.brand-mark::before { width: 18px; height: 3px; transform: rotate(-35deg); }
.brand-mark::after { width: 7px; height: 7px; right: 3px; top: 5px; }
.brand-mark span { width: 7px; height: 7px; left: 3px; bottom: 5px; }
.global-nav { display: flex; align-items: center; gap: .2rem; }
.global-nav > a { padding: .55rem .7rem; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 700; border-radius: 8px; }
.global-nav > a:hover { color: var(--blue-dark); background: var(--soft); }
.global-nav .nav-cta { color: #fff; background: var(--blue); margin-left: .3rem; padding-inline: 1rem; }
.global-nav .nav-cta:hover { color: #fff; background: var(--blue-dark); }
.menu-button { display: none; width: 46px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.menu-button > span[aria-hidden] { display: block; height: 2px; background: var(--navy); margin: 5px 0; }
.pr-strip { font-size: .78rem; line-height: 1.4; color: var(--muted); background: var(--soft); border-bottom: 1px solid var(--line); }
.pr-strip p { max-width: var(--content); margin: 0 auto; padding: .38rem 1.25rem; }

.breadcrumbs { max-width: var(--content); margin: 0 auto; padding: .85rem 1.25rem 0; font-size: .82rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; gap: .35rem; flex-wrap: wrap; padding: 0; margin: 0; }
.breadcrumbs li + li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #89979b; }
.breadcrumbs a { color: inherit; }

.hero { max-width: var(--content); margin: 0 auto; padding: clamp(2rem, 5vw, 4.6rem) 1.25rem 2.5rem; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .eyebrow, .eyebrow { color: var(--orange); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.hero h1 { max-width: 15em; }
.hero-line { display: block; }
.hero-phrase { display: inline-block; }
.hero-lead { color: var(--muted); font-size: 1.08rem; max-width: 45rem; margin: 1.2rem 0 1.5rem; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .72rem 1.1rem; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; line-height: 1.35; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.button.secondary { background: #fff; color: var(--blue-dark); }
.button.secondary:hover { background: var(--soft); }
.route-board { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 1rem; box-shadow: var(--shadow); }
.route-board img { display: block; width: 100%; border-radius: 12px; }

.section { padding: 3.5rem 1.25rem; }
.section.soft { background: var(--soft); }
.section-inner { max-width: var(--content); margin: 0 auto; }
.section-heading { max-width: 48rem; margin-bottom: 1.5rem; }
.section-heading h2 { margin: 0 0 .55rem; }
.section-heading p { color: var(--muted); }
.issue-grid, .category-grid, .tool-grid, .article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.issue-card, .category-card, .tool-card, .article-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.2rem; min-width: 0; }
.issue-card h3, .category-card h2, .category-card h3, .tool-card h2, .tool-card h3, .article-card h2, .article-card h3 { margin: 0 0 .45rem; font-size: 1.08rem; }
.issue-card p, .category-card p, .tool-card p, .article-card p { color: var(--muted); margin-bottom: .8rem; }
.card-link { font-weight: 800; }
.count-chip { display: inline-block; border-radius: 999px; background: #e7f2f5; color: var(--teal); font-weight: 800; font-size: .76rem; padding: .18rem .55rem; margin-bottom: .55rem; }
.decision-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; counter-reset: flow; }
.decision-flow > div { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 10px; padding: 1rem; }
.decision-flow > div::before { counter-increment: flow; content: counter(flow); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.decision-flow h3 { margin: 0 0 .35rem; font-size: 1rem; }
.decision-flow p { margin: 0; color: var(--muted); font-size: .92rem; }

.page-shell, .index-shell, .category-shell { max-width: var(--content); margin: 0 auto; padding: 1.4rem 1.25rem 4rem; }
.page-header, .index-header, .category-header { max-width: 780px; padding: 1.5rem 0 1rem; }
.page-header p, .index-header p, .category-header > p { color: var(--muted); font-size: 1.05rem; }
.page-content { max-width: 780px; }
.page-content section { border-top: 1px solid var(--line); }
.page-content section:first-child { border-top: 0; }

.article-shell { max-width: 960px; margin: 0 auto; padding: 1.4rem 1.25rem 5rem; }
.article-header { max-width: 42rem; margin: 0 auto; padding-top: 1rem; }
.article-lead { font-size: 1.1rem; line-height: 1.85; color: var(--muted); margin: 1.1rem 0 .6rem; }
.article-date { color: var(--muted); font-size: .8rem; }
.article-figure { max-width: 800px; margin: 2.2rem auto 0; }
.article-figure img { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); box-shadow: 0 10px 28px rgba(18,58,72,.08); }
.article-figure figcaption { font-size: .78rem; color: var(--muted); margin-top: .45rem; }
.article-content { max-width: 42rem; margin: 0 auto; font-size: 1.025rem; line-height: 1.95; }
.article-content p { margin-bottom: 1.25rem; letter-spacing: .012em; line-break: strict; text-wrap: pretty; }
.article-content > section:not(.answer-box):not(.check-section):not(.related-section) { margin: 2.5rem 0; padding: 0; border: 0; background: none; box-shadow: none; }
.article-content > section > h2 { scroll-margin-top: 7rem; }
.article-content > section:not(.answer-box):not(.check-section):not(.related-section) > h2 { padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.article-content li { line-height: 1.8; }
.article-content li::marker { color: var(--teal); font-weight: 800; }
.table-scroll { margin: 1.25rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.table-scroll caption { padding: .75rem .9rem; color: var(--muted); text-align: left; font-size: .88rem; }
.table-scroll th, .table-scroll td { padding: .8rem .9rem; border-right: 1px solid var(--line); border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll th { color: var(--navy); background: var(--soft); font-weight: 800; }
.table-scroll th:last-child, .table-scroll td:last-child { border-right: 0; }
.answer-box { margin: 2.5rem 0 2.1rem; padding: 1.35rem 1.45rem; border: 1px solid #a8cdd5; border-left: 7px solid var(--teal); border-radius: var(--radius); background: linear-gradient(135deg, #eaf6f8, #f7fbfc); box-shadow: 0 10px 28px rgba(18,58,72,.07); }
.answer-box h2 { font-size: 1.12rem; margin: 0 0 .55rem; }
.answer-box p { margin: 0; font-weight: 650; line-height: 1.9; }
.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li { position: relative; padding: .85rem .95rem .85rem 3rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.9); }
.step-list li + li { margin-top: .65rem; }
.step-list li::before { counter-increment: steps; content: counter(steps); position: absolute; left: .85rem; top: .78rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 800; }
.check-section { margin-top: 2.5rem; padding: 1.35rem 1.45rem; border: 1px solid #b9dcca; border-radius: var(--radius); background: #f2faf6; }
.check-section > h2 { margin: 0 0 1rem; }
.check-list { display: grid; gap: .55rem; list-style: none; padding: 0; margin-bottom: 0; }
.check-list li { position: relative; padding: .55rem .7rem .55rem 2.25rem; border: 1px solid #d7eadf; border-radius: 9px; background: #fff; }
.check-list li::before { content: "□"; position: absolute; left: .8rem; top: .5rem; color: var(--success); font-weight: 900; }
.accuracy-note { margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: #f6f7f7; border: 1px solid var(--line); border-left: 5px solid #89979b; }
.accuracy-note h2 { margin: 0 0 .6rem; font-size: 1.1rem; }
.accuracy-note p { margin: 0; font-size: .92rem; color: var(--muted); }
.related-section { margin-top: 2rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.related-section h2 { margin: 0 0 .8rem; }
.related-section ul { padding-left: 1.25rem; margin-bottom: 0; }
.affiliate-cta { margin: 2.6rem 0; padding: 1.4rem; background: #f0f7f9; color: var(--ink); border: 1px solid #b9d2d9; border-top: 3px solid var(--blue); border-radius: var(--radius); }
.affiliate-destination { display: inline-block; margin-bottom: .5rem; color: var(--muted); font-size: .8rem; }
.affiliate-cta h2 { margin: 0 0 .6rem; font-size: 1.2rem; color: var(--navy); }
.affiliate-cta p { margin-bottom: 1rem; color: var(--ink); }
.affiliate-cta .button { min-height: 48px; background: var(--blue); border-color: var(--blue); color: #fff; }
.affiliate-cta .button:hover { background: var(--blue-dark); }
.affiliate-button::after { content: " →"; }
.affiliate-cta small { display: block; margin-top: .8rem; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.hero-consult-link { margin: 1rem 0 0; }
.hero-affiliate-button { background: #0c7967; border-color: #0c7967; }

.filter-panel { margin: 1rem 0 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); display: grid; grid-template-columns: minmax(0,2fr) minmax(180px,1fr) auto; gap: .75rem; align-items: end; }
.field label, .tool-field label { display: block; font-weight: 800; margin-bottom: .25rem; font-size: .9rem; }
.field input, .field select, .tool-field input, .tool-field select, .tool-field textarea { width: 100%; min-height: 46px; padding: .65rem .7rem; border: 1px solid #aebfc4; border-radius: 8px; background: #fff; color: var(--ink); }
.tool-field textarea { min-height: 110px; resize: vertical; }
.filter-status { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.filter-clear { padding: .65rem .9rem; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-weight: 700; }
.article-item[hidden] { display: none !important; }
.empty-results { border: 1px dashed #aebfc4; border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--muted); }

.tool-shell { max-width: 900px; margin: 0 auto; padding: 1.4rem 1.25rem 4rem; }
.tool-header { max-width: 760px; }
.tool-header > p { color: var(--muted); }
.privacy-note { font-size: .88rem; color: var(--muted); border-left: 4px solid var(--orange); padding: .65rem .8rem; background: var(--orange-soft); }
.noscript-note { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid #d7a97f; border-radius: 8px; background: var(--orange-soft); color: var(--ink); }
.tool-form { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.tool-grid-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.tool-field.full { grid-column: 1 / -1; }
.choice-group { border: 0; padding: 0; margin: 0; }
.choice-group legend { font-weight: 800; margin-bottom: .4rem; }
.choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.choice { display: flex; align-items: flex-start; gap: .55rem; padding: .65rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.choice input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; flex: 0 0 auto; }
.tool-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.tool-actions button { padding: .7rem 1rem; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font-weight: 800; }
.tool-actions .reset-button, .tool-actions .copy-button { background: #fff; color: var(--blue-dark); }
.tool-result { margin-top: 1.5rem; padding: 1.25rem; border: 2px solid #9cc5ce; border-radius: var(--radius); background: #fff; }
.tool-result:focus { outline: 3px solid rgba(23,109,160,.25); }
.tool-result h2 { margin: 0 0 .7rem; font-size: 1.25rem; }
.result-text { white-space: pre-wrap; }
.result-links { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.result-links-title { margin: 0 0 .35rem; color: var(--navy); font-weight: 800; }
.result-links ul { margin: 0; padding-left: 1.35rem; }
.result-links li + li { margin-top: .25rem; }
.result-links a { font-weight: 700; }
.form-error { color: #9d2b26; font-weight: 700; margin-top: .75rem; }
.tool-field [aria-invalid="true"] { border-color: #9d2b26; box-shadow: 0 0 0 2px rgba(157,43,38,.12); }

.site-footer { background: var(--navy); color: #dbe8eb; padding: 2.7rem 1.25rem 1.2rem; }
.footer-inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.footer-brand { color: #fff; font-weight: 900; font-size: 1.15rem; text-decoration: none; }
.footer-inner p { max-width: 34rem; color: #c3d7dc; font-size: .9rem; }
.footer-inner nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem 1rem; }
.footer-inner nav a { color: #eaf2f4; font-size: .88rem; }
.copyright { max-width: var(--content); margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18); color: #a9c3c9; font-size: .78rem; }
.mobile-affiliate { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .route-board { max-width: 620px; }
  .issue-grid, .category-grid, .tool-grid, .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .decision-flow { grid-template-columns: repeat(2,1fr); }
  .header-inner { flex-wrap: wrap; }
  .global-nav { display: grid; flex: 1 0 100%; width: 100%; padding: .7rem 0 0; border-top: 1px solid var(--line); }
  .js .header-inner { flex-wrap: nowrap; }
  .js .menu-button { display: block; }
  .js .global-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; width: auto; padding: .7rem 1rem 1rem; border-top: 0; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 20px rgba(18,58,72,.1); }
  .js .global-nav.is-open { display: grid; }
  .global-nav > a { padding: .7rem; }
  .global-nav .nav-cta { margin: .3rem 0 0; text-align: center; }
}

@media (max-width: 640px) {
  body { line-height: 1.78; }
  .header-inner { min-height: 64px; padding: .55rem 1rem; }
  .brand small { display: none; }
  .hero, .page-shell, .index-shell, .category-shell, .article-shell, .tool-shell { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-top: 2rem; gap: 1.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .section { padding: 2.8rem 1rem; }
  .issue-grid, .category-grid, .tool-grid, .article-grid, .decision-flow, .tool-grid-fields, .choices { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; }
  .article-figure { margin-top: 1.4rem; }
  .article-content { font-size: 1rem; line-height: 1.88; }
  .article-content p { letter-spacing: 0; }
  .article-content > section:not(.answer-box):not(.comparison-section):not(.check-section):not(.related-section):not(.affiliate-cta) { margin: 1.4rem 0; padding: 1.05rem 1rem 1.15rem; }
  .article-content > section:not(.answer-box):not(.comparison-section):not(.check-section):not(.related-section):not(.affiliate-cta) > h2 { margin-top: 0; }
  .answer-box, .check-section, .related-section, .accuracy-note { padding: 1.05rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { grid-template-columns: 1fr; }
  body.has-mobile-cta { padding-bottom: calc(6.25rem + env(safe-area-inset-bottom)); }
  .mobile-affiliate { display: block; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: .55rem max(.75rem, env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
  .mobile-affiliate .button { width: 100%; font-size: .92rem; }
  body.tool-input-active .mobile-affiliate { display: none; }
}

@media print {
  .site-header, .pr-strip, .breadcrumbs, .affiliate-cta, .mobile-affiliate, .tool-actions, .site-footer, .filter-panel { display: none !important; }
  body { color: #000; font-size: 11pt; line-height: 1.55; }
  main, .article-shell, .article-content, .page-shell, .page-content { max-width: none; padding: 0; margin: 0; }
  a { color: #000; text-decoration: none; }
  .article-figure { max-width: 150mm; }
  .article-content > section:not(.answer-box):not(.comparison-section):not(.check-section):not(.related-section):not(.affiliate-cta) { padding: 0; border: 0; background: transparent; box-shadow: none; break-inside: auto; }
  .article-content > section:not(.answer-box):not(.comparison-section):not(.check-section):not(.related-section):not(.affiliate-cta) > h2::after { display: none; }
  .answer-box, .check-section, .related-section, .accuracy-note { background: #fff; box-shadow: none; }
  .table-scroll { overflow: visible; }
  .table-scroll table { min-width: 0; font-size: 9pt; }
  h2 { break-after: avoid; }
  section, li { break-inside: avoid; }
}

/* Editorial release 1.1.0: prose first, meaningful sections, accessible tools. */
.article-figure { margin: 1.6rem 0 2.5rem; }
.article-figure img, .answer-box { box-shadow: none; }
.article-toc { margin: 1.1rem 0; padding: .75rem 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-toc summary { cursor: pointer; min-height: 32px; font-weight: 700; }
.article-toc ol { margin: .7rem 0; padding-left: 1.25rem; }
.article-toc a { display: inline-block; padding: .3rem 0; }
.audience-note { color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.audience-note summary { cursor: pointer; padding: .35rem 0; }
.audience-note p { margin: .5rem 0; }
.article-content .step-list li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-right: 0; }
.article-content .check-list li { border: 0; background: none; padding-left: 1.7rem; padding-right: 0; }
.check-list li::before { left: .1rem; }
.check-caption, .policy-link, .table-hint { font-size: .85rem; color: var(--muted); }
.reference-section ul { padding-left: 1.25rem; }
.reference-section small { display: block; margin-top: .25rem; color: var(--muted); line-height: 1.65; }
.reference-date { font-size: .83rem; color: var(--muted); }
.related-section li + li { margin-top: .7rem; }
.related-tool span { display: block; color: var(--muted); font-size: .78rem; }
.example-line { margin: .6rem 0 !important; padding-left: .8rem; border-left: 2px solid var(--line); overflow-wrap: anywhere; }
.form-guide { padding: .9rem; background: var(--soft); border-radius: 8px; font-size: .9rem; line-height: 1.7; }
.field-help { display: block; margin: .35rem 0 .8rem; color: var(--muted); line-height: 1.65; font-size: .83rem; }
.input-status { color: var(--muted); margin: .8rem 0; }
.table-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media(max-width:640px) {
 .article-content > section:not(.answer-box):not(.comparison-section):not(.check-section):not(.related-section):not(.affiliate-cta) { padding: 0; }
 .article-shell { padding-left: 1rem; padding-right: 1rem; }
 .answer-box { padding: 1rem; margin-top: 1.5rem; border-left-width: 4px; }
 .check-section, .related-section, .affiliate-cta { padding: 1rem; }
 .article-content { font-size: 1rem; }
 .article-header h1 { font-size: 1.7rem; line-height: 1.55; }
 .article-toc { padding: .7rem .5rem; }
 .article-content > section > h2 { font-size: 1.3rem; }
}
@media print {
 .article-toc, .audience-note, .policy-link { display: none; }
 .article-content > section, .article-figure { break-inside: auto; }
 .article-content .check-list li { break-inside: avoid; }
}

@media(max-width:640px) {
 body:not(.mobile-cta-ready) .mobile-affiliate { display: none; }
 body.tool-input-active .mobile-affiliate { display: none !important; }
}

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

.tool-result { scroll-margin-top: 7rem; }


/* R19: contextual illustrations, never a summary-card image. */
.content-figure { margin: 1.25rem auto 1.6rem; background: #fff; max-width: 100%; }
.content-figure--single { max-width: 480px; }
.content-figure picture { display: block; }
.content-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
.content-figure figcaption { margin-top: .65rem; color: var(--ink); font-size: .9rem; line-height: 1.8; }
.figure-example-note { display: block; margin-top: .3rem; font-size: .78rem; color: var(--muted); }
.figure-open { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .15rem; font-size: .85rem; text-underline-offset: .18em; }
@media (max-width:640px) { .content-figure--pair { max-width: 384px; } .content-figure { margin-top: 1rem; } }
@media print { .content-figure { break-inside: avoid; max-width: 160mm; } .content-figure--single { max-width: 100mm; } .figure-open { display: none; } }
