/* Prison Statbook (Robert, 2026-11-16). Statbook layout from statbook.css; the county prisons map in the NY Knick Map
   style (Site Defaults, Map styles); grid from water-systems.css. */
.ps-subtitle{margin:2px 0 0;color:var(--muted);font-size:14px}
.ps-story{max-width:810px;font-size:16px;letter-spacing:-.2px;line-height:1.55;color:var(--forest)}
.ps-county{margin-top:36px;max-width:1100px}
.ps-county-title{margin:0 0 8px;color:var(--grid-title,var(--forest));font-size:var(--grid-title-size,17px);font-variant:small-caps;font-weight:700}
.ps-map-frame{position:relative;border:2px solid #2e5c9e;background:#fff;max-width:900px}
.ps-map-frame svg{display:block;width:100%;height:auto}
.ps-map-download{position:absolute;top:6px;right:6px;z-index:1}
.ps-town{fill:#2e5c9e;stroke:#d4a83a;stroke-width:1}
.ps-town-labels text{font:700 11px var(--font-body);fill:var(--map-label-gold);stroke:none;text-anchor:middle;pointer-events:none}
.ps-facility-label{font:700 13px var(--font-body);fill:var(--map-label-gold);stroke:none}
.ps-key{position:absolute;top:8px;left:8px;z-index:1;display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--ink)}
.ps-key span{display:inline-flex;align-items:center;gap:5px}
.ps-grid{margin-top:16px;max-height:420px;overflow:auto}
.ps-grid td.num,.ps-grid th.num{text-align:right;font-variant-numeric:tabular-nums}
.ps-grid tr.picked{background:#ffe066;font-weight:700}
.ps-chart{max-width:780px;margin:10px 0}
.ps-chart-head{display:flex;justify-content:space-between;align-items:center}
.ps-chart-head h3{margin:0;color:var(--title-navy);font-size:17px}
.ps-chart svg{display:block;width:100%;height:auto}
.ps-grid-line{stroke:var(--rule);stroke-width:1}
.ps-axis{fill:var(--muted);font:11px var(--font-body)}
.ps-bar{fill:#2e5c9e}
.ps-bar.on{fill:#1b3a6b}
.ps-bar-label{fill:var(--ink);font:700 11px var(--font-body)}
.ps-grid-wrap{margin-top:16px;max-width:1100px}.ps-grid-wrap .ps-grid{margin-top:0}
.ps-key{border:1px solid #2e5c9e;padding:6px 10px;background:rgba(255,255,255,.95)}.ps-key-title{color:var(--forest);font-size:12px}
.ps-facility-label{font:700 12px var(--font-body)}
.ps-facility-label.current{font-size:14px}
.ps-facility-label.on{fill:#fff}
.ps-leader{stroke:#ffe066;stroke-width:.8}
.ps-fac{cursor:default}
/* Key symbols at their own size (the map's svg rule would stretch them). */
.ps-key svg{width:14px!important;height:14px!important;display:inline-block}
.ps-key span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
/* Facility names stand out from town names: white, larger; town names smaller and quieter. */
.ps-town-labels text{font-size:9.5px;opacity:.75}
.ps-facility-label{fill:#fff;stroke:none}
.ps-facility-label.current{fill:#ffe066}
.ps-facility-label.on{fill:#ffe066}
.ps-grid td:first-child{min-width:190px}
.callout-point{cursor:pointer}
/* Ranked crime curve (2026-11-16). */
.ps-chart-note{margin:2px 0;color:var(--blue);font-size:13px}
.ps-hint{margin:0 0 4px;color:var(--blue);font-weight:700;font-size:13px}
.ps-curve-area{fill:#2e5c9e;fill-opacity:.85}
.ps-curve-cum{stroke:#d9822b;stroke-width:2.2}
.ps-axis-cum{fill:#b4651a}
.ps-cross{stroke:#1b3a6b;stroke-width:1;stroke-dasharray:3 3}
.ps-dot{fill:#ffe066;stroke:#1b3a6b;stroke-width:1.5}
.ps-dot-cum{fill:#fff;stroke:#d9822b;stroke-width:2}
.ps-curve-readout{margin:2px 0 0;min-height:20px;font-size:14px;color:var(--ink)}
.ps-list-button{height:30px;padding:0 12px;font-size:12px}
