.income-page{max-width:var(--page-max);margin:auto;padding:34px 38px 70px;color:#183b2d}.income-hero{padding:0 0 20px;background:transparent;color:#183b2d;border-radius:0;border-bottom:2px solid var(--rule-strong)}.income-hero p,.income-map header p,.income-ranking header p,.income-table header p{margin:0;font-size:11px;font-weight:900;letter-spacing:.1em;color:#3d6b58}.income-hero h1{margin:5px 0 6px;color:var(--title-navy);font:700 36px var(--font-title)}.income-hero span{color:#4d6473}.income-controls{margin-top:16px;padding:14px 0;display:grid;grid-template-columns:1fr 1fr auto;gap:15px;align-items:end;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);background:transparent}.income-controls label{font-size:11px;font-weight:900;text-transform:uppercase}.income-controls select{display:block;width:100%;height:39px;margin:5px 0;padding:0 9px;border:1px solid var(--rule);border-radius:0;background:#fff}.income-controls small{display:block;font-size:11px;font-weight:400;text-transform:none;color:#65796d}.income-controls button{height:39px;padding:0 15px;border:1px solid #557564;border-radius:0;background:#fff;color:#174a35;font-weight:800}.income-tiles{margin-top:15px;display:flex;border-top:2px solid var(--rule-strong);border-bottom:1px solid var(--rule);background:transparent}.income-tiles article{flex:1;padding:15px 18px 15px 0;margin-right:18px;border-right:1px solid var(--rule)}.income-tiles article:last-child{border-right:0;margin-right:0}.income-tiles span,.income-tiles strong{display:block}.income-tiles span{font-size:11px;color:#62766a}.income-tiles strong{margin-top:5px;font:700 25px "IBM Plex Mono","Courier New",monospace;font-variant-numeric:tabular-nums}.income-workspace{height:720px;margin-top:18px;display:grid;grid-template-columns:1.4fr .6fr;gap:18px}.income-map,.income-ranking,.income-table{border:0;background:transparent;overflow:hidden}.income-map{display:flex;flex-direction:column}.income-map>header,.income-ranking>header,.income-table>header{padding:15px 0;border-bottom:1px solid var(--rule);background:transparent}.income-map>header{display:flex;justify-content:space-between}.income-map h2,.income-ranking h2,.income-table h2{margin:4px 0 0;color:var(--title-navy);font:700 21px var(--font-title)}.income-map .ha-map-wrap{flex:1;display:grid;place-items:center;overflow:hidden}.income-map footer{padding:10px 0;display:flex;justify-content:space-between;background:transparent;font-size:11px}.income-ranking{display:flex;flex-direction:column}.income-ranking ol{margin:0;padding:0;list-style:none;overflow-y:auto}.income-ranking li{padding:9px 4px;display:grid;grid-template-columns:25px 1fr auto;gap:8px;border-bottom:1px solid var(--rule);cursor:pointer}.income-ranking li.selected{background:#fff1a8;box-shadow:inset 5px 0 #d17800}.income-ranking li b{color:#758b7f}.income-table{margin-top:18px}.income-table table{width:100%;border-collapse:collapse}.income-table th,.income-table td{padding:11px 14px;border-bottom:1px solid var(--rule);text-align:right;font-variant-numeric:tabular-nums}.income-table thead th{border-bottom:2px solid var(--rule-strong)}.income-table th:first-child{text-align:left}.income-table>p{padding:15px 0;color:#65796d}.income-note{margin-top:18px;padding:18px 0;border:0;border-top:1px solid var(--rule);background:transparent}.income-note p{margin:6px 0 0}.income-back{display:inline-block;margin-top:15px;color:#0f6bab;font-weight:800}@media(max-width:900px){.income-page{padding:20px 15px}.income-controls,.income-tiles,.income-workspace{grid-template-columns:1fr}.income-tiles{flex-direction:column}.income-workspace{height:auto}.income-map{min-height:560px}.income-ranking{height:500px}}

/* County labels on the Median Household Income map one size smaller (Robert, 2026-10-11): 10.5px to 9.5px, selected 12.5px to 11.5px. */
.income-page .ha-ny-map text{font-size:11px}.income-page .ha-ny-map g.selected text{font-size:11.5px}
/* Map header right side: the ACS period and the download icon together (2026-10-11), the icon in the site's standard
   28px green square. */
.income-map-tools{display:flex;align-items:center;gap:10px}
.income-page .download-icon-button{position:static;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid var(--forest,#1f5138);border-radius:0;background:var(--forest,#1f5138);color:#fff;cursor:pointer}
.income-page .download-icon-button:hover{background:#123e2f}
/* Five-shade heat map (2026-10-11): dark labels on the two lightest shades; legend top left. */
.income-page .ha-ny-map g.light-shade text{fill:#1b3144}
.income-page .ha-quintile-legend div{padding:6px 8px;border:1px solid rgba(43,81,62,.25);background:rgba(255,255,255,.92);color:#1b3144;font:400 11px/1.5 var(--font-body)}
.income-page .ha-quintile-legend strong{display:block;margin-bottom:3px;color:#315641;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
.income-page .ha-quintile-legend span{display:flex;align-items:center;gap:6px}
.income-page .ha-quintile-legend i{display:inline-block;width:14px;height:10px;border:1px solid #566a60}
/* Clear selection lines up with the County and Region dropdowns (2026-10-11): lifted by the height of the notes under them. */
.income-page .income-controls button{margin-bottom:17px}
/* Labels: white on the two darkest greens, dark navy on the three lighter ones (Robert, 2026-10-11). */
/* (!important: housing-boundaries.css forces #111 on every label.) Selected counties turn pale yellow, so they keep dark labels. */
.income-page .ha-ny-map g.dark-shade:not(.selected) text,.income-page .ha-ny-map g.dark-shade:not(.selected) text tspan{fill:#fff!important}
/* Major-city names beside the dots (2026-10-11): small italic navy with a white halo so they read over any shade. */
.income-page .ha-ny-map text.ha-city-label{fill:#e2620c!important;font:italic 700 11px var(--font-body);text-anchor:start;dominant-baseline:middle;paint-order:stroke;stroke:#fff!important;stroke-width:2.5px;stroke-linejoin:round}
/* Map panel grows to fit the whole map (2026-10-11: the bottom counties were cut off). */
.income-page .income-workspace{height:auto}
.income-page .ha-map-wrap{display:block;flex:none;overflow:visible}
.income-page .income-workspace{align-items:start}
.income-page .income-ranking{height:auto;max-height:774px;min-height:0}
.income-page .income-ranking ol{flex:1;min-height:0;overflow-y:auto}
/* County Ranking: a Rank / County / Median income heading row, and rank numbers as dark as the names (2026-10-11). */
.income-ranking-columns{display:grid;grid-template-columns:40px 1fr auto;gap:8px;padding:6px 4px;border-bottom:2px solid var(--rule-strong,#1b3a2c);color:#315641;font:800 11px var(--font-body);letter-spacing:.05em;text-transform:uppercase}
.income-ranking-columns span:last-child{text-align:right}
.income-page .income-ranking li{grid-template-columns:40px 1fr auto}
.income-page .income-ranking li b{color:#1b3144;font-weight:700}
/* Rank in the middle (2026-10-11): County | Rank | Median income. */
.income-ranking-columns{grid-template-columns:1fr 50px auto}
.income-page .income-ranking li{grid-template-columns:1fr 50px auto}
.income-page .income-ranking li b,.income-ranking-columns span:nth-child(2){text-align:center}
/* Clear map beside the selected counties title (2026-10-11). */
.income-page .income-table header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.income-page .income-table header p{flex-basis:100%}
.income-clear-map{height:34px;padding:0 14px;border:1px solid #557564;border-radius:0;background:#fff;color:#174a35;font-weight:800;cursor:pointer}
.income-clear-map:disabled{opacity:.45;cursor:default}
/* Rank column toward the middle of the County Ranking (2026-10-11). */
.income-ranking-columns,.income-page .income-ranking li{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto}
.income-ranking-columns,.income-page .income-ranking li{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 90px}
.income-page .income-ranking li strong{text-align:right}
/* Totals row under the selected counties table (2026-10-11). */
.income-table tfoot th,.income-table tfoot td{border-top:2px solid var(--rule-strong,#1b3a2c);font-weight:800;color:#123e2f}
.income-table tfoot th small{display:block;margin-top:2px;color:var(--blue);font-size:11px;font-weight:400}
/* Rank column exactly centered in the County Ranking (2026-10-11): equal side columns. */
.income-ranking-columns,.income-page .income-ranking li{grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr)}
.income-ranking-columns span:last-child,.income-page .income-ranking li strong{text-align:right}
.income-ranking-columns{padding-right:18px}
/* The two grids share one look (Robert, 2026-10-11): the same column names, headings in Title Case at 14px bold, and
   plain (not bold) figures, in both the County Ranking and the selected counties table. */
.income-page .income-ranking-columns{font:700 14px var(--font-body);color:rgb(24,59,45);letter-spacing:normal;text-transform:none}
.income-page .income-ranking li span,.income-page .income-ranking li b,.income-page .income-ranking li strong,
.income-page .income-table tbody th,.income-page .income-table tbody td{font:400 14px var(--font-body);color:rgb(24,59,45)}
.income-page .income-table tfoot th,.income-page .income-table tfoot td{font-weight:700}
/* Dropdown text larger (Robert, 2026-10-11): 9px to 13px. */
.income-page .income-controls select{font-size:13px;font-weight:700}
/* Clear map lines up with the right edge of the map above (map and ranking split 1.4 : 0.6 with an 18px gap). */
@media (min-width:901px){.income-page .income-clear-map{margin-right:calc((100% - 18px) * .3 + 18px)}}
/* NYC and Long Island drawn in grey for context (2026-10-11). */
.income-page .ha-ny-map path.ha-context-county{fill:#dfe4e1!important;stroke:#a8b4ad;stroke-width:.8;pointer-events:none}
.income-page .ha-ny-map path.ha-context-county{fill:#111!important;stroke:#444}
.income-page .ha-ny-map path.ha-context-county{fill:#9aa29e!important;stroke:#7d8681}
/* Labels like the voting district (islands) maps (Robert, 2026-11-07: "look at the district map and mimic its
   labeling ... gold lettering, smaller font"): bright gold with a navy outline, 10px; city names gold italic. */
.income-page .ha-ny-map .ha-county-labels text,.income-page .ha-ny-map .ha-county-labels text .map-value-label{fill:var(--map-label-gold)!important;font:700 10px var(--font-body);stroke:none!important}
.income-page .ha-ny-map text.ha-city-label{fill:var(--map-label-gold)!important;font:italic 700 10px var(--font-body);stroke:none!important}

/* The all-counties income chart, moved here below the map (2026-11-19). */
.income-page .income-all-counties{margin-top:28px}
/* Labels the same size on screen as the Landing 7 map (Robert, 2026-11-19): this map is drawn at 800 wide and
   stretched about 1.35x, so 7.5px here shows like the landing map's labels. */
.income-page .ha-ny-map .ha-county-labels text,.income-page .ha-ny-map .ha-county-labels text .map-value-label,.income-page .ha-ny-map text.ha-city-label{font-size:7.5px}
/* Black labels on this map, over the original greens (Robert, 2026-11-19: "same greens, change the fonts on this map to black"). */
/* The Selected County Values download sits at the right, just above the header's rule (Robert, 2026-11-25). */
.income-table>header{position:relative}
.income-table>header>.download-control{position:absolute;right:0;bottom:12px}
/* Graph or Data on the income trend panel (Robert, 2026-11-25). */
.income-trend-view{display:flex;gap:8px;margin:0 0 14px}
.income-trend-data table{width:100%;border-collapse:collapse;font:400 13px Arial,sans-serif}
.income-trend-data th,.income-trend-data td{padding:8px 10px;border-bottom:1px solid var(--rule);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.income-trend-data thead th{border-bottom:2px solid var(--rule-strong);color:var(--title-navy)}
.income-trend-data th:first-child{text-align:left}
.income-trend-data tbody th{font-weight:400}
.income-trend-state th,.income-trend-state td{font-weight:700}
.income-trend-data .ha-moe{font-size:.85em;color:var(--muted)}
/* The Page button sits at the right of the title area, just above its rule and the region controls (Robert, 2026-11-25). */
#site .income-hero > .page-download-top{top:auto;bottom:12px;right:0}
