/* Population Density, draft (Robert, 2026-11-28; bands and the address side 2026-11-29). Reuses the estimator's search
   box (.tc-find), tables (.tc-bill) and the Parcel Finder's message styles; layout only here. */
.pd-controls{margin-top:14px;padding-top:10px;border-top:2px solid var(--rule-strong)}
.pd-controls .range-buttons{margin-bottom:8px}
.pd-controls .range-buttons button{min-height:32px;padding:4px 14px;font-size:12px;border-radius:6px}
.pd-controls .tc-find{max-width:none;flex:0 1 540px;margin:0}
/* One smart box and its Find button (Robert, 2026-11-29: the Address / ZIP Code switch removed). */
.pd-find-row{display:flex;gap:8px;align-items:flex-start;margin:8px 0 2px}
.pd-find-row .primary-button{height:36px}
.pd-looking{margin:6px 0;color:var(--muted);font-size:13px}
.pf-none{margin:8px 0;color:#a61b1b;font-weight:700;font-size:13px;max-width:760px}
.pf-place{margin:0 0 10px;color:var(--forest);font-weight:700}
.pf-notes{margin-top:24px}
.pd-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,640px);gap:12px 40px;align-items:start;margin-top:18px}
.pd-figures h2,.pd-map h2{margin:14px 0 4px;color:var(--title-navy);font:700 20px var(--font-title)}
.pd-figures h2:first-child,.pd-map h2:first-child{margin-top:0}
.pd-big{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:6px 0 10px}
.pd-big div{border-top:1px solid var(--rule);padding-top:6px}
.pd-big b{display:block;font:700 30px var(--font-title);color:var(--title-navy);font-variant-numeric:tabular-nums}
.pd-big b.tc-est{color:#a61b1b}
.pd-big span{font-size:13px;color:var(--muted)}
.pd-band-line{margin:4px 0 6px;font-size:14px;color:var(--forest)}
.pd-figures table{font-size:13px}
.pd-figures .tc-bill{overflow-x:auto}
.pd-figures tbody tr.picked{background:#ffe066;font-weight:700;cursor:default}
.tc-est{color:#a61b1b}
.pd-chip{white-space:nowrap}
.pd-chip i,.pd-key i{display:inline-block;width:14px;height:12px;margin-right:5px;vertical-align:-1px;border:1px solid var(--rule)}
.pd-chart-note{margin:0 0 4px;color:var(--blue);font-size:13px}
.pd-map svg{display:block;width:100%;height:auto;border:1px solid var(--rule);background:#fff}
.pd-zip{stroke:#fff;stroke-width:1.2;cursor:pointer}
.pd-zip.me{stroke:var(--title-navy);stroke-width:3;cursor:default}
.pd-zip-label{font:700 11px var(--font-body);fill:var(--title-navy);text-anchor:middle;pointer-events:none}
.pd-key{display:flex;flex-wrap:wrap;gap:6px 14px;margin:6px 0;font-size:12px;color:var(--ink)}
.pd-dot{stroke:none}
.pd-ring{fill:none;stroke:var(--title-navy);stroke-width:1.5}
.pd-center{fill:var(--title-navy);stroke:#fff;stroke-width:2}
@media (max-width:1100px){.pd-body{grid-template-columns:1fr}}
/* Wide grids scroll sideways on a phone instead of pushing the page wider. */
@media (max-width:700px){
  .pd-big{grid-template-columns:1fr 1fr}
  .pd-figures{overflow-x:auto}
  .pd-figures table{min-width:560px}
}
/* Print / PDF: the page as shown, without the switch buttons (the estimator's sheet hides the rest). */
@media print{
  .pd-controls .range-buttons,.pd-controls .tc-how{display:none!important}
  .pd-body{display:block}
  .pd-map,.pd-figures table{break-inside:avoid}
  .pd-map svg{max-width:520px}
}
.pd-figures tbody tr.pd-click{cursor:pointer}
.pd-figures td:first-child{white-space:nowrap}
.pd-ring-tag{fill:#fff}
/* The address map's ground (Robert, 2026-11-29): towns, county and state lines, water and interstates under the dots.
   Water and interstate colors as on the Population Change county map (public/landing-map.css). */
.pd-map path.pd-town{fill:#fff;stroke:#b8c2bb;stroke-width:.8}
.pd-map path.pd-other-state{fill:#e6e9e7;stroke:none}
.pd-map path.pd-county-line{fill:none;stroke:#6f7d74;stroke-width:1.8}
.pd-map path.pd-state-line{fill:none;stroke:#1b3a2c;stroke-width:2.6}
.pd-map path.map-lake{fill:#bcd7e8;stroke:#7fa8c4;stroke-width:.6}
.pd-map path.map-river{fill:none;stroke:#5f97c2;stroke-width:1.3}
.pd-map path.map-canal{fill:none;stroke:#2d6fa3;stroke-width:1.3;stroke-dasharray:4 2}
.pd-map path.map-interstate{fill:none;stroke:#b5473a;stroke-width:1.6;opacity:.85}
.pd-map text.pd-town-label{font-size:12px;text-anchor:middle;pointer-events:none}
.pd-map .pd-center-halo{fill:#fff;stroke:var(--title-navy);stroke-width:1}
.pd-map .pd-center{fill:#c0392b;stroke:#fff;stroke-width:2}
/* Roads under the dots (Robert, 2026-11-30): Census TIGER/Line 2024. Local streets thin light gray, secondary roads
   heavier, primary roads heaviest; interstates keep their red line on top. Pointing at a road names it. */
.pd-map path.pd-road{fill:none;stroke-linecap:round;stroke-linejoin:round}
.pd-map path.pd-road-4,.pd-map path.pd-road-6{stroke:#c9cfcb;stroke-width:.9}
.pd-map path.pd-road-2{stroke:#9aa39d;stroke-width:1.8}
.pd-map path.pd-road-1{stroke:#7d8781;stroke-width:2.4}
/* Which circles to show (Robert, 2026-11-30: "a checkbox control on the graph"). */
.pd-ring-picks{display:flex;flex-wrap:wrap;gap:4px 16px;margin:4px 0 6px;font-size:13px;color:var(--forest)}
.pd-ring-picks label{display:inline-flex;align-items:center;gap:5px;cursor:pointer}
@media print{.pd-ring-picks{display:none}}
/* Major road names along the road (2026-11-30). */
.pd-map text.pd-road-label{font:600 10px var(--font-body);fill:#3f4a44;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round;pointer-events:none}
/* Streams (2026-11-30): TIGER/Line linear water, thin blue under the roads. */
.pd-map path.pd-stream{fill:none;stroke:#8fb8d6;stroke-width:.9;stroke-linecap:round;stroke-linejoin:round}
/* A light line between the color key and the circle checkboxes (Robert, 2026-11-30). */
.pd-map .pd-ring-picks{margin-top:8px;padding-top:7px;border-top:1px solid var(--rule)}
