/* Scoped to fact guides: tables retain explicit labels on narrow screens. */
.fact-guide .fact-table { margin-bottom:24px; }
.fact-guide .fact-table caption { text-align:left; padding:14px 18px; font-size:14px; font-weight:600; color:var(--text-muted); background:var(--section-bg); }
.fact-guide .fact-table th,.fact-guide .fact-table td { overflow-wrap:anywhere; }
.fact-guide .fact-table tbody th { font-weight:600; }
.fact-guide .fact-sources { max-width:760px; margin-top:32px; border-top:1px solid var(--border); padding-top:16px; }
.fact-guide .fact-sources summary { cursor:pointer; min-height:44px; font-weight:600; color:var(--accent); padding-block:10px; }
.fact-guide .fact-sources li { margin:12px 0; overflow-wrap:anywhere; }
.fact-guide .fact-sources p { color:var(--text-muted); font-size:14px; }
.fact-guide h2[id] { scroll-margin-top:110px; }
@media(max-width:600px) {
 .fact-guide .fact-table table,.fact-guide .fact-table tbody { display:block; width:100%; }
 .fact-guide .fact-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .fact-guide .fact-table tr { display:block; border-bottom:1px solid var(--border); padding-bottom:8px; }
 .fact-guide .fact-table tr:last-child { border-bottom:0; }
 .fact-guide .fact-table tbody th { display:block; background:var(--section-bg); padding:12px 14px; font-size:16px; border-bottom:0; }
 .fact-guide .fact-table tbody td { display:block; padding:8px 14px; border:0; font-size:15px; }
 .fact-guide .fact-table tbody td::before { content:attr(data-label); display:block; color:var(--text-muted); font-size:12px; font-weight:600; margin-bottom:3px; }
 .fact-guide .section-head { align-items:flex-start; flex-direction:column; }
 .fact-guide .section { padding-block:48px; }
}
@media(max-width:600px) { .fact-guide .fact-table caption { display:block; width:100%; box-sizing:border-box; } }

@media(max-width:600px) { .fact-guide h2[id] { scroll-margin-top:150px; } }
