.history-page{--positive:#b2d7bc;--negative:#f4b6a7;--soft-panel:#14352b;--focus:#e2c58d}
.history-page [hidden]{display:none!important}
.history-page .shell{width:min(1200px,calc(100% - 80px));margin-inline:auto}
.history-page a,.history-page select,.history-page summary{touch-action:manipulation}
.history-page a:focus-visible,.history-page select:focus-visible,.history-page summary:focus-visible,.history-page .table-scroll:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
.history-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:116px;border-bottom:1px solid var(--line)}
.back-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:.875rem;color:var(--muted)}
.back-link:hover,.history-footer a:hover{color:var(--accent)}
.leader-context{margin-top:30px;padding:21px 26px;background:var(--soft-panel);border:1px solid var(--line);border-left:3px solid var(--accent)}
.leader-context strong{font:600 clamp(1.15rem,2vw,1.55rem)/1.4 var(--heading);letter-spacing:-.025em;color:var(--ink)}
.leader-context p{margin-top:4px;font-size:.95rem;color:var(--ink)}
.leader-context small{display:block;margin-top:7px;font-size:.75rem;color:var(--muted)}
.history-hero{display:grid;grid-template-columns:1.35fr 1fr;align-items:center;gap:80px;padding:76px 0 56px}
.history-hero .eyebrow{color:var(--accent);margin-bottom:20px}
.history-hero h1{font-size:clamp(3.1rem,5.8vw,5.5rem);line-height:1.06}
.history-name{color:var(--ink);font-size:1.1rem;margin-top:26px;font-weight:600}
.hero-summary{max-width:490px;margin-top:8px;font-size:1rem}
.history-hero .hero-actions{margin-top:28px;gap:16px}
.coverage-card{background:var(--panel);border:1px solid var(--line);border-top:2px solid var(--accent);padding:30px}
.coverage-card .eyebrow{font-size:.7rem;margin-bottom:18px;display:block}
.coverage-dates{font:500 clamp(1.4rem,2.1vw,1.9rem)/1.35 var(--heading);letter-spacing:-.035em;color:var(--ink)}
.coverage-dates time,.coverage-dates>span{display:block}
.coverage-dates>span{font:400 1.2rem/1.1 Georgia,serif;color:var(--accent);padding-block:5px}
.coverage-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
.coverage-meta span{font-size:.75rem;padding:4px 9px;border:1px solid var(--line);color:var(--muted);border-radius:2px}
.coverage-card .coverage-note{font-size:.875rem;margin-top:19px;line-height:1.7}
.snapshot-dates{font-size:.75rem;line-height:1.7;margin-top:14px;color:var(--muted)}
.coverage-card .text-link{margin-top:18px;font-size:.8rem}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);margin-bottom:40px}
.metric{min-width:0;padding:25px 22px;background:var(--panel);border-left:1px solid var(--line)}
.metric:first-child{border-left:0}
.metric-primary{background:var(--soft-panel)}
.metric-label{font-size:.8rem;font-weight:500;color:var(--muted)}
.metric strong{display:block;margin:12px 0 10px;font:600 clamp(1.55rem,2.5vw,2.45rem)/1.2 var(--heading);letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap}
.metric strong span{font-size:.68em}
.metric-primary strong{color:var(--accent)}
.metric>p:last-child{font-size:.78rem;line-height:1.7}
.chart-panel{padding:30px 32px 24px;border:1px solid var(--line);background:var(--panel)}
.panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.panel-heading .eyebrow{font-size:.7rem;color:var(--accent);margin-bottom:12px}
.panel-heading h2{font-size:clamp(1.7rem,3vw,2.55rem);letter-spacing:-.045em;line-height:1.2}
.panel-heading>p{font-size:.8rem}
.panel-heading>p strong{color:var(--ink)}
.chart-explanation{font-size:.85rem;margin-top:13px}
.chart-wrap{margin-top:25px}
.chart-wrap svg{display:block;width:100%;height:auto;overflow:visible}
.chart-wrap text{font:15px var(--font);fill:var(--muted)}
.chart-grid{stroke:var(--line);stroke-width:1}
.chart-line{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.chart-end{fill:var(--accent);stroke:var(--panel);stroke-width:2}
.chart-caption{display:flex;gap:16px;justify-content:space-between;align-items:center;padding-top:18px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}
.chart-caption>span{display:flex;align-items:center;gap:10px}
.chart-caption i{display:inline-block;width:24px;height:2px;background:var(--accent)}
.chart-caption a{display:inline-flex;align-items:center;min-height:44px;gap:9px;color:var(--ink);text-decoration:underline;text-underline-offset:5px}
.history-table-section{padding-top:64px;scroll-margin-top:24px}
.download-links{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.download-links a{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;border:1px solid var(--line);padding:8px 14px;font-size:.8rem;border-radius:3px;color:var(--ink);transition:background .16s,border-color .16s}
.download-links a:hover{background:var(--panel);border-color:var(--accent)}
.table-intro{margin:18px 0 22px;font-size:.9rem}
.table-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0 22px}
.table-controls>div{display:flex;gap:14px;align-items:center}
.table-controls label,.table-controls p{font-size:.85rem;color:var(--muted)}
.table-controls select{min-height:44px;min-width:195px;border:1px solid #708d7e;border-radius:3px;background:var(--panel);color:var(--ink);padding:8px 34px 8px 12px;font:inherit;cursor:pointer}
.scroll-hint{display:none;font-size:.75rem;margin-bottom:12px}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:3px;background:var(--panel)}
.history-page table{width:100%;border-collapse:collapse;font-size:.875rem;font-variant-numeric:tabular-nums}
.history-page thead{background:var(--soft-panel)}
.history-page th,.history-page td{padding:15px 22px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--line)}
.history-page th:first-child{width:25%;text-align:left}
.history-page thead th{font-weight:500;color:var(--muted);font-size:.75rem;letter-spacing:.02em}
.history-page tbody th{font-weight:400}
.history-page tbody tr:last-child th,.history-page tbody tr:last-child td{border-bottom:0}
.history-page tbody tr:hover{background:var(--soft-panel)}
.history-page .positive{color:var(--positive)}
.history-page .negative{color:var(--negative)}
.history-page .zero{color:var(--muted)}
.balance-note{display:block;font-size:.68rem;font-weight:400;color:var(--muted);margin-top:3px}
.table-footnote{font-size:.78rem;line-height:1.8;margin-top:17px;max-width:800px}
.source-section{display:grid;grid-template-columns:1.25fr 1fr;gap:72px;margin-top:64px;padding:58px 0 68px;border-top:1px solid var(--line);scroll-margin-top:24px}
.source-copy>.eyebrow{color:var(--accent);margin-bottom:18px}
.source-copy h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.1}
.source-copy>p:not(.eyebrow){margin-top:22px;font-size:.9rem;line-height:1.85}
.source-copy strong{font-weight:600;color:var(--ink)}
.source-copy code{font-size:.85em;overflow-wrap:anywhere}
.source-links{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:24px}
.source-links .text-link{font-size:.8rem;min-height:44px}
.reconciliation{align-self:start;background:var(--panel);border:1px solid var(--line);padding:30px}
.reconciliation>.eyebrow{color:var(--accent);font-size:.7rem;margin-bottom:16px}
.reconciliation h3{font-size:1.7rem}
.reconciliation dl{margin:26px 0 20px}
.reconciliation dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:12px 0}
.reconciliation dt{font-size:.8rem;color:var(--muted)}
.reconciliation dd{margin:0;font-size:.85rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.reconciliation .reconciled-total{border-top:1px solid var(--line);margin-top:9px;padding-top:18px}
.reconciled-total dd{color:var(--accent);font-weight:700}
.reconciliation>p,.reconciliation details p{font-size:.8rem;line-height:1.8}
.reconciliation details{margin-top:20px;border-top:1px solid var(--line);padding-top:8px}
.reconciliation summary{font-size:.8rem;padding:12px 0;min-height:44px;cursor:pointer;color:var(--ink)}
.reconciliation summary:hover{color:var(--accent)}
.adjustment-list{list-style:none;padding:0;margin:8px 0 18px;font-size:.8rem}
.adjustment-list li{display:flex;justify-content:space-between;gap:16px;padding-block:7px;color:var(--muted)}
.adjustment-list strong{font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink)}
.history-footer{display:grid;grid-template-columns:1fr auto;gap:22px 40px;padding:28px 0 34px;border-top:1px solid var(--line);font-size:.78rem;color:var(--muted)}
.history-footer>a{font-weight:600;color:var(--accent);min-height:44px;display:flex;align-items:center;gap:9px}
.history-footer>p{max-width:850px;grid-column:1/-1;font-size:.75rem;line-height:1.85}
.history-footer>span{grid-row:1;grid-column:2;align-self:center;font-size:.7rem}
@media(max-width:1050px){.history-page .shell{width:calc(100% - 56px)}.history-hero{gap:44px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric:nth-child(3){border-left:0}.metric:nth-child(n+3){border-top:1px solid var(--line)}.metric strong{font-size:2.4rem}.source-section{gap:36px}.reconciliation{padding:24px}.reconciliation dl>div{gap:12px}.reconciliation dt{font-size:.75rem}}
@media(max-width:720px){.history-page .shell{width:calc(100% - 40px)}.history-header{min-height:104px;gap:16px;flex-wrap:wrap;padding-block:18px}.history-header .ranch-brand-logo{width:46px;height:46px}.history-header .ranch-brand-title{font-size:16px}.history-header .ranch-brand-byline{font-size:10px}.history-header .back-link{font-size:.75rem}.history-hero{grid-template-columns:1fr;gap:32px;padding:42px 0 30px}.history-hero h1{font-size:clamp(2.8rem,10vw,4.1rem)}.history-name{margin-top:24px}.hero-summary{font-size:.94rem}.history-hero .hero-actions{align-items:flex-start}.coverage-card{padding:24px}.coverage-dates{font-size:1.4rem}.coverage-dates time{display:inline}.coverage-dates>span{display:inline;padding-inline:6px}.coverage-meta{margin-top:17px}.coverage-card .coverage-note{margin-top:14px}.metrics{margin-bottom:26px}.metric{padding:21px 16px}.metric strong{font-size:clamp(1.55rem,5.7vw,2.25rem)}.metric-label{font-size:.74rem}.metric>p:last-child{font-size:.73rem}.chart-panel{padding:24px 19px 18px}.panel-heading{align-items:flex-start;flex-direction:column;gap:16px}.panel-heading h2{font-size:1.85rem}.chart-explanation{font-size:.8rem}.chart-wrap{margin:22px -8px 0}.chart-wrap svg{min-height:190px}.chart-wrap text{font-size:19px}.chart-caption{align-items:flex-start;flex-direction:column;gap:5px;font-size:.75rem}.history-table-section{padding-top:44px}.download-links{gap:12px}.table-intro{font-size:.85rem}.table-controls{align-items:flex-start;flex-direction:column;gap:14px;padding-top:4px}.table-controls>div{width:100%;justify-content:space-between}.table-controls select{min-width:180px}.table-controls p{font-size:.8rem}.scroll-hint{display:block}.history-page table{min-width:590px;font-size:.8rem}.history-page th,.history-page td{padding:14px 16px}.history-page thead th{font-size:.7rem}.table-footnote{font-size:.75rem}.source-section{grid-template-columns:1fr;gap:34px;margin-top:44px;padding:42px 0}.source-copy>p:not(.eyebrow){font-size:.85rem;margin-top:19px}.source-copy h2{font-size:2.25rem}.reconciliation{padding:24px}.reconciliation dt{font-size:.8rem}.history-footer{display:flex;flex-direction:column;gap:17px;padding-block:22px 28px}.history-footer>p{font-size:.72rem}.history-footer>span{align-self:flex-start}.history-page .ranch-brand-title{white-space:normal}}
@media(max-width:420px){.history-header{gap:4px;padding-block:16px}.history-header .back-link{margin-left:58px;min-height:36px}.history-hero .button{width:100%;font-size:.82rem;padding-inline:17px;gap:16px}.coverage-dates time{display:block}.coverage-dates>span{display:block;padding:3px 0}.metric{padding:18px 13px}.metric strong{font-size:1.62rem}.metric-label{font-size:.71rem}.metric>p:last-child{font-size:.7rem}.chart-panel{padding-inline:15px}.chart-wrap svg{min-height:150px}.reconciliation dt{font-size:.74rem}.reconciliation dd{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.history-page *{scroll-behavior:auto;transition:none}}
@media screen and (max-width:600px){
  .history-page table{border-collapse:separate;border-spacing:0}
  .history-page th:first-child{position:sticky;left:0;box-shadow:1px 0 0 var(--line)}
  .history-page thead th:first-child{z-index:3;background:var(--soft-panel)}
  .history-page tbody th{z-index:2;background:var(--panel)}
  .history-page tbody tr:hover th{background:var(--soft-panel)}
}
@media print{.history-page{background:#fff;color:#000}.history-page p,.history-page th,.history-page td{color:#000!important}.history-header,.hero-actions,.download-links,.table-controls,.scroll-hint,.history-footer,.chart-panel{display:none!important}.history-page .shell{width:100%}.history-hero,.source-section{display:block;padding-block:20px}.coverage-card,.metric,.reconciliation,.table-scroll{background:#fff}.metrics{grid-template-columns:repeat(2,1fr)}.history-page .metric strong,.history-page h1 em{color:#000}.history-page table{font-size:9pt;min-width:0}.history-page tr[hidden]{display:table-row!important}.history-page th,.history-page td{padding:6px 8px}.history-page tr{break-inside:avoid}}
