
/* Reader tools and accessible reference controls. */
[hidden] { display: none !important; }
.breadcrumbs { margin-top: 24px; font-size: .8rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 16px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.article-toc { border: 1px solid var(--line); padding: 24px; background: #f5f7f7; margin-bottom: 36px; }
.article-toc h2 { margin-top: 0; font-size: 1.3rem; }
.article-toc ol { padding-left: 22px; columns: 2; font-size: .9rem; }
.article-toc li { break-inside: avoid; margin-bottom: 10px; }
.article-toc a, .topic-data a { text-decoration: underline; text-underline-offset: .2em; }
.article-body section[id], [data-reference-row][id] { scroll-margin-top: 170px; }
.topic-faq, .topic-data { margin: 36px 0; padding: 24px; border-top: 3px solid var(--signal-dark); background: #f5f7f7; }
.topic-faq h2, .topic-data h2 { margin-top: 0; }
.topic-faq summary { cursor: pointer; font-weight: 700; }
.topic-data dt { font-weight: 800; margin-top: 18px; }
.topic-data dd { margin: 8px 0 18px; color: var(--muted); }
.reading-trail { padding-block: 36px; border-block: 1px solid var(--line); }
.reading-trail ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding-left: 22px; }
.reading-trail p { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.reading-trail .text-link { margin-right: 24px; }
.reference-context { display: block; }
.reference-context p { white-space: normal; line-height: 1.7; margin-block: 18px; }
.reference-context select { margin: 20px 12px; }
.comparison-form { display: flex; align-items: end; flex-wrap: wrap; gap: 20px; margin-block: 28px; }
.comparison-form label { display: grid; gap: 8px; flex: 1; min-width: 220px; }
select { font: inherit; max-width: 100%; min-height: 48px; padding: 10px; border: 1px solid #b7c3ca; background: #fff; color: var(--ink); }
.filter-reset { font: inherit; padding: 10px 16px; min-height: 44px; background: #fff; border: 1px solid #b7c3ca; cursor: pointer; }
.comparison caption { text-align: left; font-weight: 800; margin-bottom: 12px; }
.comparison p { max-width: 80ch; line-height: 1.7; }
.comparison table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; }
.comparison th, .comparison td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.comparison thead th { background: var(--ink); color: white; }
.comparison tbody tr:nth-child(even) { background: #f5f7f7; }
.comparison tbody th { width: 28%; }
.reference-section td a { width: auto; height: auto; min-height: 44px; padding: 6px 10px; white-space: normal; }
h1, h2, h3 { overflow-wrap: anywhere; }
.article-body, .article-header, .comparison { min-width: 0; }
.source-initials { font-size: .7rem; }
.article-source img { object-fit: contain; }
:focus-visible { outline: 3px solid #00687c; outline-offset: 4px; }
@media (max-width: 760px) { .reading-trail ol { grid-template-columns: 1fr; gap: 16px; } .article-toc ol { columns: 1; } .comparison-form { display: grid; } .comparison-form label { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 600px) {
 .article-header h1 { font-size: clamp(2rem,10vw,2.7rem); line-height: 1.04; letter-spacing: -.035em; hyphens: auto; }
 .page-hero h1 { font-size: clamp(2.3rem,10vw,3.5rem); line-height: 1.04; letter-spacing: -.035em; }
}
