/* Lorson Ranch visual reading layer. Bars have a zero baseline; values are always visible. */
.plain-view{--ink:#18292c;--surface:#fff;--accent:#c05b22;background:#f4f2eb}
.visual-intro{max-width:none;width:100%;background:#101c1f;color:#f4f2eb;padding:48px max(28px,calc((100% - 1056px)/2)) 24px;border-bottom:5px solid #de8752}
.visual-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:55px;align-items:center;margin-bottom:36px}
.plain-view .visual-intro h1{font-size:clamp(42px,5.5vw,69px);line-height:1.08;letter-spacing:-.04em;max-width:15ch;margin:20px 0 26px}.visual-intro h1 em{font-style:normal;color:#ffad75}.plain-view .visual-intro .eyebrow{color:#9ed8d0;font-size:14px}.visual-intro .reader-lead{font-size:21px;line-height:1.7;color:#e4eae7}.visual-intro a.reader-start-link{color:#ffbe92}
.district-index{padding:28px;border:1px solid #58696a;background:linear-gradient(135deg,#19383c,#132528);box-shadow:10px 10px 0 #263639}.index-top span{font-size:19px;display:block}.index-top strong{display:block;font:600 34px/1.2 'Space Grotesk',sans-serif;margin-top:6px}.district-index p{font-size:17px;color:#d5e1de}.district-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:25px 0}.district-buttons a{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid #78928f;padding:12px;color:#fff;text-decoration:none;min-height:100px}.district-buttons a span{font-size:14px}.district-buttons a strong{font:600 34px/1 'Space Grotesk',sans-serif}.district-buttons a span:last-child{align-self:flex-end;color:#ffb787}.district-buttons a:hover,.district-buttons a[aria-current=true]{background:#2e5558;border-color:#ffb787}.district-index .index-note{font-size:16px;margin-bottom:0}
.visual-intro .view-switch{max-width:none}.visual-intro .reader-dates{color:#d6e3df;border-color:#689390;font-size:16px}.visual-intro #copy-status{color:#e8efec}.visual-intro .reading-tools{margin-bottom:0}
.plain-view .reader-start{padding-top:48px}.reader-district{border-top-color:#226f73}.section-heading{max-width:760px;margin-bottom:30px}.plain-view .section-heading h2{font-size:clamp(30px,3.4vw,43px);line-height:1.18;letter-spacing:-.025em}.section-heading p{font-size:19px}.visual-chart{margin:0;background:#fff;border:1px solid #b8c8c5;padding:30px;color:#18292c}.visual-chart [hidden]{display:none!important}.chart-toolbar{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid #c3d0cd;padding-bottom:22px;margin-bottom:26px}.chart-toolbar button{font:600 18px/1.4 Inter,sans-serif;padding:13px 20px;min-height:50px;border:1px solid #526f70;background:#fff;color:#173f43;border-radius:3px;cursor:pointer}.chart-toolbar button[aria-pressed=true]{background:#173f43;color:#fff;box-shadow:inset 0 -3px #eea16d}.chart-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.chart-title h3{font-size:42px;line-height:1.2;margin:0}.chart-title>p,.chart-scale{font-size:16px;color:#425c5d}.chart-scale{margin-top:22px}.visual-bars{list-style:none;margin:26px 0;padding:0!important;display:grid;gap:20px}.visual-bars li{padding:0;margin:0}.bar-label{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:7px;line-height:1.5;font-size:18px}.bar-label strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:18px}.bar-track{background:#e7eeeb;height:18px;border-left:1px solid #4f6b6c}.bar-track span{display:block;height:100%;background:#28777b}.visual-bars li:nth-child(even) .bar-track span{background:#446b7c}.visual-table{margin:24px 0;border-top:1px solid #c3cfcc;border-bottom:1px solid #c3cfcc}.visual-table summary{font-weight:600;font-size:18px;padding:14px 0;cursor:pointer;min-height:48px}.visual-table table{width:100%;font-size:16px;border-collapse:collapse;margin:10px 0 20px}.visual-table th,.visual-table td{padding:10px 8px;text-align:left;border-bottom:1px solid #cbd6d1}.visual-table th[scope=row]{font-weight:400}.visual-table caption{text-align:left;margin:12px 0;font-size:16px}.visual-source{margin-top:24px;padding:20px;background:#edf3ef;border-left:3px solid #527774;font-size:16px;line-height:1.65}.source-tag{font-weight:700;color:#234d50}.visual-source p{font-size:16px;margin:6px 0 12px}.visual-source a{font-size:16px;color:#175b61;text-underline-offset:4px}.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.comparison-grid h3{font-size:26px;line-height:1.25}.comparison-grid figcaption>p{font-size:17px}.comparison-grid .bar-label{font-size:16px}.comparison-grid .bar-label strong{font-size:17px}
.record-timeline{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0!important;margin:30px 0}.record-timeline li{border-top:4px solid #34767b;padding:26px;background:#e5eeea}.record-timeline li+li{border-top-color:#b66030;background:#f1e5d9}.record-timeline strong{font:600 48px/1.2 'Space Grotesk',sans-serif}.record-timeline h3{font-size:24px}.record-timeline a{font-size:17px}.record-timeline p{font-size:18px}
.reader-large .visual-chart p,.reader-large .visual-chart a,.reader-large .bar-label,.reader-large .bar-label strong,.reader-large .visual-table table,.reader-large .visual-table caption,.reader-large .record-timeline p{font-size:20px}
.records-view .project-hero-layout{border-left:4px solid #ce7d4b;padding-left:24px}.records-view .project-hero-layout h1{letter-spacing:-.035em}.records-view .view-switch{max-width:100%}.records-view .view-switch a span{font-size:16px}
@media(max-width:850px){.visual-hero{grid-template-columns:1fr;gap:28px}.visual-intro{padding:32px 24px 24px}.plain-view .visual-intro h1{font-size:52px;max-width:19ch}.visual-intro h1 br:last-child{display:none}.comparison-grid{grid-template-columns:1fr}.district-index{box-shadow:6px 6px 0 #263639}.visual-chart{padding:23px}.chart-title{align-items:flex-start;flex-direction:column;gap:0}.chart-title>p{margin-top:8px}}
@media(max-width:480px){.plain-view .visual-intro h1{font-size:42px}.district-index{padding:20px}.district-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.district-buttons a{padding:8px;min-height:91px}.district-buttons a span{font-size:16px}.bar-label{flex-wrap:wrap;gap:0 12px;font-size:17px}.bar-label strong{margin-left:auto;font-size:17px}.chart-toolbar button{flex:1 1 100%}.record-timeline{grid-template-columns:1fr}.visual-chart{padding:20px}.reader-large .district-buttons a span{font-size:18px}.comparison-grid .bar-label strong{font-size:17px}}
@media print{.visual-intro{background:white;color:black}.visual-intro h1 em,.visual-intro p{color:black!important}.district-index,.chart-toolbar{display:none}.visual-hero{display:block}.visual-chart,.record-timeline li{break-inside:avoid}.bar-track{print-color-adjust:exact}.bar-track span{print-color-adjust:exact}}
.plain-view .visual-intro h1{color:#f4f2eb}

.visual-intro>.view-switch{margin-top:0}.visual-intro>.reading-tools{margin-bottom:34px}.visual-jumps{display:flex;flex-wrap:wrap;gap:10px 24px;border-top:1px solid #5a7473;padding-top:15px}.visual-jumps a{color:#b8e5dd;min-height:44px;display:inline-flex;align-items:center;font-size:17px}.visual-intro .reader-dates{margin-bottom:0}
/* Reader review: keep units, qualifications and citation links legible. */
.browse-note{font-size:17px;line-height:1.7;max-width:70ch;border-left:3px solid #78918e;padding-left:15px;margin:18px 0}
.records-view .district-control{background:#173f43}.records-view .district-control p{font-size:17px;color:#e5efec}
.review-note,.sharing-checks{padding:24px;border:1px solid var(--border,#a7bdb7);background:var(--surface,#fff);margin:24px 0;line-height:1.7}.review-note p,.download-help{font-size:17px}.review-note a{font-size:17px}.chart-status{font-size:17px;color:#31595c;margin:0 0 15px}
.records-view .claim-link{position:static;display:inline-flex;align-items:center;min-height:44px;margin:0 0 12px;font-size:16px;color:var(--ink);text-decoration:underline}
.records-view .spending-plate .claim-link,.records-view .balance-panel .claim-link{color:inherit}
.records-view .district-stats dt,.records-view .penny-grid span,.records-view .penny-note,.records-view .feature-stats span,.records-view .overlap-summary span,.records-view .data-kind,.records-view .verified-line,.records-view .source-line,.records-view .evidence-controls span,.records-view .table-note{font-size:16px;line-height:1.6}
.records-view .district-stats dt{text-transform:none;letter-spacing:0}.records-view .calculation dd{overflow-wrap:anywhere}.records-view .section-heading{max-width:850px}
.reader-large .records-view .district-stats dt,.reader-large .records-view .penny-grid span,.reader-large .records-view .feature-stats span,.reader-large .records-view .source-line,.reader-large .records-view .data-kind,.reader-large .records-view .claim-link,.reader-large .visual-chart summary{font-size:20px}
.records-view [id]{scroll-margin-top:125px}.plain-view [id]{scroll-margin-top:24px}
@media(max-width:720px){.records-view .claim-link{display:inline-flex}.records-view .compact-data-table tbody td,.records-view .debt-district-table tbody td{font-size:17px}.records-view .compact-data-table tbody td::before,.records-view .debt-district-table tbody td::before{font-size:14px;letter-spacing:0;text-transform:none}.records-view .nav-menu summary{width:48px;min-height:48px}.records-view [id]{scroll-margin-top:90px}.visual-table table{table-layout:fixed}.visual-table th:first-child{width:60%}.visual-table th,.visual-table td{overflow-wrap:anywhere}.review-note,.sharing-checks{padding:20px}.reader-large .records-view .compact-data-table tbody td,.reader-large .records-view .debt-district-table tbody td{font-size:20px}}
html{scroll-behavior:auto;scroll-padding-top:0}.wide-table-help{display:none}
.records-view .table-note{white-space:normal;overflow-wrap:anywhere;display:block;max-width:35ch}.reader-large .records-view .chart-layout{grid-template-columns:1fr}.reader-large .records-view .chart-panel{max-width:760px}.records-view .mill-rate-table td{white-space:normal}.records-view .mill-rate-table .table-note{min-width:0}
@media(max-width:720px){
 .wide-table-help{display:block;position:sticky;left:0;font-size:16px!important;padding:12px;max-width:calc(100vw - 65px);line-height:1.6;margin:0}
 .records-view .provenance-table,.records-view .provenance-table tbody,.records-view .provenance-table tr{display:block;width:100%;min-width:0}
 .records-view .provenance-table caption{display:block;padding:12px;text-align:left}
 .records-view .provenance-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .records-view .provenance-table tbody tr{padding:18px;border-bottom:1px solid var(--border)}
 .records-view .provenance-table tbody th,.records-view .provenance-table tbody td{display:block;position:static!important;width:auto!important;min-width:0;border:0;padding:6px 0;white-space:normal;overflow-wrap:anywhere;font-size:18px}
 .records-view .provenance-table td:nth-child(2)::before{content:'Amount: ';font-weight:600}.records-view .provenance-table .calculation dl>div{grid-template-columns:1fr}
 .reader-large .records-view .provenance-table tbody th,.reader-large .records-view .provenance-table tbody td{font-size:20px}
}
.visual-table table{min-width:0}.visual-table td{white-space:normal}.reader-large .records-view .chart-itemized{height:520px}.reader-large .records-view .chart-mid{height:390px}

/* Static, source-derived bar lengths; compatible with the production CSP. */
.bar-track .reader-bar-1{width:0%}
.bar-track .reader-bar-2{width:47.22629904416801%}
.bar-track .reader-bar-3{width:13.050160092580409%}
.bar-track .reader-bar-4{width:19.490554706451952%}
.bar-track .reader-bar-5{width:13.65873120303923%}
.bar-track .reader-bar-6{width:6.574254953760404%}
.bar-track .reader-bar-7{width:53.78145798446536%}
.bar-track .reader-bar-8{width:29.564133835304098%}
.bar-track .reader-bar-9{width:2.5428947246886486%}
.bar-track .reader-bar-10{width:14.11151345554189%}
.bar-track .reader-bar-11{width:68.61335405065462%}
.bar-track .reader-bar-12{width:29.065910011849873%}
.bar-track .reader-bar-13{width:2.3207359374955097%}
.bar-track .reader-bar-14{width:85.21795335074215%}
.bar-track .reader-bar-15{width:13.592974657221363%}
.bar-track .reader-bar-16{width:1.1890719920364903%}
.bar-track .reader-bar-17{width:98.58323494687131%}
.bar-track .reader-bar-18{width:1.4167650531286895%}
.bar-track .reader-bar-19{width:92.29745862561349%}
.bar-track .reader-bar-20{width:7.702541374386504%}
.bar-track .reader-bar-21{width:98.62158647594278%}
.bar-track .reader-bar-22{width:1.378413524057217%}
.bar-track .reader-bar-23{width:61.929013296572755%}
.bar-track .reader-bar-24{width:20.251826206911048%}
.bar-track .reader-bar-25{width:6.685997496115443%}
.bar-track .reader-bar-26{width:3.5390177531242433%}
.bar-track .reader-bar-27{width:2.7593481302306566%}
.bar-track .reader-bar-28{width:1.970340288515137%}
.bar-track .reader-bar-29{width:1.9337158420613436%}
.bar-track .reader-bar-30{width:0.9307409864693746%}
.bar-track .reader-bar-31{width:18.89444142857143%}
.bar-track .reader-bar-32{width:22.56792857142857%}
.bar-track .reader-bar-33{width:37.53390857142857%}
.bar-track .reader-bar-34{width:89.08279857142857%}
.bar-track .reader-bar-35{width:10.9375%}
.bar-track .reader-bar-36{width:95.37125%}
.bar-track .reader-bar-37{width:95.40875%}
.bar-track .reader-bar-38{width:94.85625%}
.bar-track .reader-bar-39{width:3.4362500000000002%}
.bar-track .reader-bar-40{width:87.08500000000001%}
.bar-track .reader-bar-41{width:13.425%}

/* Keep charts available on phones, with readable multi-line labels and tables below. */
@media(max-width:440px){
 .records-view #money-in .chart-panel,.records-view #money-out .chart-panel,.records-view #tax-rates .chart-panel{display:block;margin-bottom:20px}
 .records-view .chart-itemized{height:600px}
 .reader-large .records-view .chart-itemized{height:700px}
 .records-view .chart-mid{height:390px}
}
/* The phone header wraps to two rows; linked headings must clear both. */
@media(max-width:400px){.records-view [id]{scroll-margin-top:140px}}
.reader-large .view-switch a span{font-size:20px}

.revenue-legend{list-style:none;margin:18px 0 0;padding:0;font-size:16px;line-height:1.6}
.revenue-legend li{display:flex;align-items:baseline;gap:10px;margin:12px 0}
.revenue-key{display:inline-block;width:14px;height:14px;flex:0 0 14px;background:var(--accent)}
.revenue-key-1{background:#71878a}.revenue-key-2{background:#a4afae}
.reader-large .revenue-legend{font-size:20px}

/* Keep the annual-records notice readable inside the dark hero. */
.plain-view .visual-intro>.review-note{background:#fff;color:#182126}
.plain-view .visual-intro>.review-note p,.plain-view .visual-intro>.review-note strong{color:#182126}
.plain-view .visual-intro>.review-note a{color:#125b63}
