/* JG25 development: two reading levels in the site's Waterfall theme. */
.jg-history .page-head h1 { font-size:clamp(36px,4.6vw,60px); font-weight:700; }
.jg-history h1 b { font-weight:inherit; }
.jg-history .page-head .lede { max-width:64ch; font-size:22px; line-height:1.5; }
.history-phase { max-width:var(--max); margin:0 auto; padding:48px var(--gutter); border-bottom:1px solid var(--line); scroll-margin-top:24px; }
.history-phase h2 { margin-bottom:26px; max-width:30ch; }
.history-copy { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; }
.history-copy > * { min-width:0; }
.history-copy h3 { font-size:20px; margin-bottom:14px; color:#9dcaff; }
.history-copy p,.history-lede,.story-copy { color:#becbde; line-height:1.65; }
.history-lede { max-width:80ch; font-size:20px; margin-bottom:28px; }
.story-copy { max-width:82ch; }
.history-note { max-width:95ch; margin:26px 0; padding:16px 20px; border-left:2px solid #4b8dcc; background:#101e33; font-size:16px; color:#becbde; line-height:1.65; }
.history-note strong { color:#e6edf6; }
.history-levels { display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:820px; margin:30px 0 24px; }
.history-levels a { display:block; border:1px solid #355a83; padding:18px 20px; border-radius:3px; text-decoration:none; }
.history-levels a[aria-current] { border-color:#8fcaff; background:#14243b; box-shadow:inset 3px 0 #8fcaff; }
.history-levels a:hover { background:#172b44; }
.history-levels span { display:block; color:#d7eaff; font-weight:700; }
.history-levels small { display:block; margin-top:4px; color:#becbde; font-size:14px; }
.jg-history .jump-links { display:flex; flex-wrap:wrap; gap:8px 22px; padding-top:6px; }
.jg-history .jump-links a { display:inline-flex; align-items:center; min-height:36px; }
.symbol-key { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; padding:0; margin:28px 0 12px; gap:12px; max-width:760px; }
.symbol-key li { border-top:2px solid #4da3ff; background:#111b2e; padding:16px; margin:0; }
.symbol-key strong { font:700 28px var(--mono); color:#d7eaff; display:block; }
.symbol-key span { display:block; font-size:14px; color:#becbde; margin-top:6px; }
.history-sources { margin:22px 0 0; font-size:15px; overflow-wrap:anywhere; }
.history-next { border-top:2px solid #4da3ff; background:#111b2e; padding:28px; margin-top:30px; }
.history-next h3 { font-size:24px; margin-bottom:14px; }
.history-next p { color:#becbde; max-width:78ch; }
.history-next .btn { margin-bottom:0; margin-top:8px; }
.history-evidence { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-bottom:28px; }
.history-evidence > div { border-top:1px solid #355a83; padding-top:18px; }
.history-evidence strong { font:700 20px var(--body); color:#9dcaff; }
.history-evidence p { margin:10px 0 0; color:#becbde; line-height:1.6; }
.history-figure { max-width:960px; margin:30px 0; padding:26px; background:#111b2e; border:1px solid #355a83; border-radius:4px; }
.history-figure figcaption h3 { font-size:22px; max-width:34ch; color:#e6edf6; }
.history-figure figcaption > p { font-size:14px; color:#becbde; margin:10px 0 22px; }
.history-bars { list-style:none; padding:0; margin:0; }
.history-bars li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px 16px; align-items:center; margin:0 0 16px; }
.bar-label { grid-column:1; font-size:16px; color:#d7eaff; line-height:1.4; }
.bar-track { grid-column:1/-1; grid-row:2; display:block; height:22px; background:#1b304b; border-left:1px solid #9fb9d8; }
.bar-track i { display:block; height:100%; background:#71b8ff; }
.bar-value { grid-column:2; grid-row:1; color:#e6edf6; font-size:16px; font-variant-numeric:tabular-nums; text-align:right; }
.bar-axis { display:flex; justify-content:space-between; color:#becbde; font:13px var(--mono); margin-top:6px; padding-top:9px; border-top:1px solid #355a83; }
.chart-note { font-size:14px; color:#becbde; line-height:1.65; margin:20px 0 0; max-width:90ch; }
.history-phase .technical-details { border-top:1px solid var(--line); margin:24px 0; }
.history-phase .technical-details summary { color:#b4d7ff; cursor:pointer; min-height:44px; padding:14px 0; }
.history-phase .technical-details p { max-width:82ch; color:#becbde; line-height:1.65; }
.history-scroll-hint { display:none; }
.history-table { margin:28px 0 20px; }
.history-table:focus-visible { outline:2px solid #8fcaff; outline-offset:4px; }
.history-phase .history-table table { font-size:16px; line-height:1.5; }
.history-phase .history-table caption { font-size:17px; padding:16px; color:#d7eaff; font-weight:700; }
.history-phase .history-table th,.history-phase .history-table td { white-space:normal; padding:12px 16px; color:#becbde; }
.history-phase .history-table thead th { background:#172e48; color:#e6edf6; font-weight:700; }
.history-phase .history-table tbody th { color:#d7eaff; text-align:left; font-weight:700; }
.history-phase .history-table tbody tr:nth-child(even) { background:#142238; }
.history-phase .history-table td { font-variant-numeric:tabular-nums; }
.history-reading { max-width:86ch; padding-left:22px; margin-top:28px; color:#becbde; }
.history-reading li { padding-bottom:12px; }
.history-glossary { max-width:82ch; }
.history-glossary dt { font-weight:700; color:#d7eaff; margin:18px 0 4px; }
.history-glossary dd { color:#becbde; margin:0; line-height:1.65; }
.history-anchor { display:block; scroll-margin-top:24px; }
@media(max-width:700px) {
 .history-copy,.history-evidence { grid-template-columns:1fr; gap:20px; }
 .history-phase { padding-top:34px; padding-bottom:34px; }
 .jg-history .page-head .lede { font-size:19px; }
 .history-levels { grid-template-columns:1fr; }
 .history-scroll-hint { display:block; color:#becbde; font-size:14px; line-height:1.6; max-width:46ch; margin-top:24px; margin-bottom:10px; }
 .history-scroll-hint + .history-table { margin-top:10px; }
 .history-levels a { padding:14px 16px; }
 .history-next { padding:22px; }
 .symbol-key { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .history-figure { padding:20px 16px; }
 .history-bars li { grid-template-columns:minmax(0,1fr) auto; gap:9px 12px; margin-bottom:22px; }
 .bar-label { grid-column:1; }
 .history-bars li .bar-value { grid-column:2; grid-row:1; align-self:start; font-size:15px; }
 .bar-track { grid-column:1/-1; grid-row:2; height:20px; }
 .history-phase .history-table table { min-width:640px; font-size:15px; }
 .history-phase .history-table th,.history-phase .history-table td { padding:10px 12px; }
 .history-sources a,.history-reading a { line-height:1.8; }
}
@media print {
 .history-levels,.jg-history .jump-links { display:none; }
 .history-phase { break-inside:auto; }
 .history-figure,.history-table tr,.history-next { break-inside:avoid; }
 .history-table { overflow:visible; }
 .history-phase .history-table table { min-width:0; }
}
