:root{--ink:#243c3b;--green:#315f55;--muted:#62716b;--line:#d8dfd9;--paper:#fafbf8;--gold:#ac7930}*{box-sizing:border-box}main{max-width:1180px;margin:auto;padding:42px 28px 70px;color:var(--ink)}h1,h2,h3{font-family:Literata,Georgia,serif;font-weight:500}h1{font-size:clamp(34px,5vw,54px);line-height:1.14;margin:16px 0}h2{font-size:30px;line-height:1.25;margin:10px 0}h3{font-size:23px;line-height:1.3;margin:0 0 8px}p{line-height:1.6}.intro{max-width:850px;margin-bottom:30px}.lede{font-size:18px;max-width:68ch}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green)}.eyebrow span{margin-left:12px;border:1px solid var(--line);padding:4px 8px;font-size:10px;white-space:nowrap}.selection{padding:22px 26px;border:1px solid var(--line);background:#eff3ef;border-radius:4px}.primary-controls{display:grid;grid-template-columns:1fr 1.3fr auto;align-items:end;gap:18px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;min-width:0}select,button{font:inherit;color:var(--ink);border:1px solid #9aaa9f;background:white;border-radius:3px;padding:11px 12px}select{width:100%;max-width:100%;min-width:0}button{cursor:pointer;font-size:13px;font-weight:600}button:hover{border-color:var(--green);background:#f1f5ee}button:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible,circle:focus-visible{outline:3px solid var(--gold);outline-offset:3px}#chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.chip{font-size:12px;border:1px solid #c8d5cb;padding:5px 10px;border-radius:20px;background:white}.chip.focus{background:var(--green);color:white;border-color:var(--green)}.selection-note,small{font-size:12px;color:var(--muted);font-weight:400;line-height:1.5}.selection-note{margin:14px 0 0}#peer-panel:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:20px}#peer-panel button{justify-self:start}.page-heading{margin:42px 0 24px;max-width:850px}.page-heading p:last-child{color:var(--muted)}.view-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}.segmented{display:inline-flex;background:white;border:1px solid var(--line);padding:4px;border-radius:4px}.segmented button{border:0;background:transparent;padding:10px 16px}.segmented button[aria-pressed=true]{background:var(--green);color:white}.period,#period:not([hidden]){display:flex;gap:14px}#period label{min-width:100px}.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.chart-card{padding:25px;border:1px solid var(--line);border-top:3px solid var(--green);background:#fff;border-radius:3px;min-width:0}.card-top{display:flex;justify-content:space-between;align-items:start;gap:15px}.measure-unit{color:var(--muted);font-size:12px;margin:0 0 18px}.card-top .tag{font-size:11px;white-space:nowrap;background:#f0f3ec;padding:5px 8px;color:#51645a}.focus-value{font:500 37px Literata,Georgia,serif;margin:10px 0 0;line-height:1.2}.focus-caption{font-size:12px;margin:6px 0 20px;color:var(--muted)}.card-actions{display:flex;gap:4px;margin:16px 0}.card-actions button{padding:6px 12px;font-size:12px;border:1px solid var(--line)}.card-actions button[aria-pressed=true]{background:#e8f0e9;border-color:var(--green)}.bar-row{display:grid;grid-template-columns:minmax(95px,1fr) 1.6fr 60px;gap:10px;align-items:center;font-size:12px;margin:12px 0;min-height:21px}.bar-label{overflow-wrap:anywhere}.bar-track{height:17px;background:#f2f4ee;position:relative}.bar-fill{position:absolute;height:17px;background:#a8bcb1}.bar-fill.focus{background:var(--green)}.zero{position:absolute;top:-3px;bottom:-3px;border-left:1px solid #829589}.bar-value{text-align:right;font-variant-numeric:tabular-nums}.axis-note{font-size:11px;color:var(--muted);text-align:right;margin:14px 0}.availability{font-size:12px;line-height:1.6;color:#765a2c;border-left:2px solid #c99c59;padding-left:12px;margin-top:18px;overflow-wrap:anywhere}.availability:empty{display:none}.source-details{font-size:12px;border-top:1px solid var(--line);margin-top:20px;padding-top:14px;overflow-wrap:anywhere}.source-details summary{cursor:pointer;color:var(--green);font-weight:600}.source-details p{color:var(--muted)}.source-details a,.reading-note a{color:var(--green)}.table-scroll{overflow:auto;max-height:520px}.chart-card table{font-size:12px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}caption{text-align:left;padding:8px 0 15px;color:var(--muted)}th,td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{font-weight:600;background:#f4f6f0}td:not(:first-child),th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}tr.focus td,.focus-col{background:#edf3ec;font-weight:600}.summary-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:48px 0 22px}.summary-heading>p{max-width:400px;color:var(--muted);font-size:13px}.summary-measure{min-width:195px}.summary-measure small{display:block;font-size:11px;margin-top:5px}#summary-table table{min-width:680px}.history-svg{width:100%;height:auto;display:block}.history-svg text{font:11px Arial,sans-serif;fill:#62716b}.history-svg .gridline{stroke:#e0e5df;stroke-width:1}.history-svg .baseline{stroke:#7a9185;stroke-width:1}.legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;margin-top:15px}.legend i{display:inline-block;width:14px;height:3px;vertical-align:middle;margin-right:5px}.reading-note{margin-top:46px;padding:26px 30px;background:#edf1eb;border-left:3px solid #a2b49e}.reading-note h2{font-size:22px}.reading-note p{font-size:13px;max-width:90ch}.reading-note a{font-size:13px}#load-status{font-size:13px;color:var(--muted)}[hidden]{display:none!important}.tep-pages .tep-nav-inner{flex-wrap:wrap}.tep-pages a{white-space:normal}
@media(max-width:750px){main{padding:28px 16px 50px}.primary-controls{grid-template-columns:1fr}.selection{padding:18px}.primary-controls button{justify-self:start}.chart-grid{grid-template-columns:1fr}.chart-card{padding:20px}.summary-heading{display:block}#peer-panel:not([hidden]){grid-template-columns:1fr}.page-heading{margin-top:30px}.bar-row{grid-template-columns:110px 1fr 55px}.reading-note{padding:20px}.eyebrow span{display:inline-block;margin-left:5px}.tep-pages .tep-nav-inner{gap:4px 12px}h2{font-size:27px}}

/* Keep the comparison layout independent of the established shell's generic heading spacing. */
main .intro{margin-bottom:20px}main .intro h1{font-size:clamp(32px,4vw,46px);margin:10px 0}main .intro .lede{font-size:16px;margin:10px 0;line-height:1.5}main .selection{padding:17px 22px}main .selection-note{margin-top:10px}main #chips{margin-top:12px}main .page-heading{padding:0;border:0;margin:28px 0 18px}main .page-heading .eyebrow{margin:0 0 8px}main .page-heading h2{margin:8px 0}main .page-heading p:last-child{margin:8px 0;line-height:1.5}main #load-status{margin:10px 0 16px;font-size:12px}main{padding-top:28px} .tep-pages .tep-nav-inner{max-width:1180px}
.chart-card.different-year{background:#fff7e8;border-color:#d8bd86;border-top-color:#ac7930}.different-year th{background:#f2e9d5}.fallback-banner{border-left:3px solid #ac7930;padding:10px 13px;margin:0 0 20px;background:#f6ecd7;font-size:13px}.fallback-banner strong{display:block;color:#71521e}.fallback-banner p{margin:5px 0 0;font-size:12px;color:#715f40}.fallback-button{display:block;margin-top:18px;border-color:#ac7930;color:#71521e;background:#fffaf0}.fallback-button:hover{background:#f6ecd7}
.snapshot-frame{height:auto;max-height:350px;overflow:auto;min-width:0}.snapshot-frame>.table-scroll{max-height:none}.history-toggle{display:block;margin-top:16px;background:#edf3ed;border-color:#9bad9e;color:#315f55}.history-toggle[aria-pressed=true]{background:#315f55;color:white}.history-toggle:disabled{opacity:.65;cursor:default}.chart-card .card-actions{flex-wrap:wrap}

/* Let each card fit its current view; neighbouring history cards must not stretch compact comparisons. */
.chart-grid{align-items:start}
