/* 3-5: reuse 2-4 styles; adapt the precinct renderer's existing hooks only. */
body[data-area-ward-review] [data-simple-map-ready] .ward-full-map{visibility:visible;opacity:1;pointer-events:auto;transition-delay:0s}
body[data-area-ward-review] [data-simple-map-ready] .ward-explorer-map{opacity:0;pointer-events:none}
body[data-area-ward-review] [data-simple-map-ready] .ward-map-stage:not(.is-full-map) .leaflet-tile-pane{opacity:0}
body[data-area-ward-review] [data-simple-map-ready] .leaflet-tile-pane{transition:opacity 340ms ease}
@media(prefers-reduced-motion:reduce){body[data-area-ward-review] [data-simple-map-ready] .leaflet-tile-pane{transition:none}}
body[data-area-ward-review] .ward-explorer-toolbar{max-width:none;width:100%;box-sizing:border-box}
body[data-area-ward-review] .precinct-explorer-section>.office-atlas-callout{width:100%;box-sizing:border-box;margin:30px 0 0;border:1px solid #d3dfe1}
body[data-area-ward-review] .ward-explorer-layout{gap:24px;align-items:stretch}
body[data-area-ward-review] .ward-map-window{height:620px;grid-template-rows:72px minmax(0,1fr)72px}
body[data-area-ward-review] .ward-preview-card,body[data-area-ward-review] .ward-preview-card[data-map-preview-stable]{position:relative;top:auto;height:620px!important;box-sizing:border-box;grid-template-rows:72px 150px minmax(0,1fr)108px 72px!important}
body[data-area-ward-review] .ward-preview-card::before{position:absolute;top:0;left:0;right:0;height:5px;background:var(--ptp-gold)!important}
body[data-area-ward-review] .ward-map-footer{height:72px;min-height:72px;box-sizing:border-box;padding:12px 16px}
body[data-area-ward-review] [data-ward-link]{height:48px!important;min-height:48px!important}
body[data-area-ward-review] .ward-preview-facts{margin:0;gap:0;border:1px solid #d3dfe1;padding:0}
body[data-area-ward-review] .ward-preview-facts>div{border:1px solid #d3dfe1;padding:8px 12px;min-width:0}
body[data-area-ward-review] .ward-mini-map{height:150px;padding:13px;box-sizing:border-box;background:#edf2f1;border-bottom:1px solid #d3dfe1}
body[data-area-ward-review] .ward-mini-map svg{width:100%;height:100%}
body[data-area-ward-review] .ward-mini-map path{fill:#f2ce83!important}
body[data-area-ward-review] .ward-map-shape{fill:var(--ptp-map-other,#bfd7d1);stroke:#fffdf7;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:none}
body[data-area-ward-review] .ward-map-link.is-selected .ward-map-shape{fill:#876019;stroke:#082f49;stroke-width:2.5px;filter:none}
body[data-area-ward-review] .ward-map-link:is(:hover,:focus):not(.is-selected) .ward-map-shape{fill:#cbbbe0;stroke:#082f49;stroke-width:2.5px;filter:none}
body[data-area-ward-review] .ward-city-outline{stroke:#617787;stroke-width:1.5px}
body[data-area-ward-review] .ward-highlight-outline{stroke:#082f49;stroke-width:2.5px}
body[data-area-ward-review] .ward-map-legend .is-selected-ward{background:#876019}
body[data-area-ward-review] .ward-map-legend .is-other-ward{background:var(--ptp-map-other,#bfd7d1)}
body[data-area-ward-review] [data-ward-explorer-count]{display:none!important}
body[data-area-ward-review] .place-picker-control{align-items:start;grid-template-columns:minmax(0,1fr) max-content}
body[data-area-place-review][data-area-ward-review] .place-picker-open{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:max-content;min-width:224px;padding:8px 14px;white-space:nowrap;flex:none}
@media(max-width:850px){body[data-area-ward-review] .ward-explorer-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){body[data-area-ward-review] .ward-explorer-toolbar{grid-template-columns:minmax(0,1fr)}body[data-area-ward-review] .place-picker-control{grid-template-columns:minmax(0,1fr)}body[data-area-place-review][data-area-ward-review] .place-picker-open{width:100%;min-width:0}}
/* Standard view tabs and the precinct directory share the existing toolbar. */
body[data-area-ward-review] .precinct-view-tabs button{width:80px;min-width:80px;flex:0 0 80px;box-sizing:border-box}
body[data-area-ward-review] .ward-explorer-toolbar>.place-picker-control{flex:1;min-width:280px}
body[data-area-ward-review] .ward-explorer-toolbar>label{flex:none}
body[data-area-ward-review] .precinct-list{display:grid;gap:12px}
body[data-area-ward-review] .precinct-list-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,1fr) max-content;align-items:center;gap:20px;padding:16px;border:1px solid #d3dfe1;background:white}
body[data-area-ward-review] .precinct-list-select{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:16px;min-width:0;border:1px solid #aabcbf;border-radius:4px;padding:8px;background:#f4f6f5;color:#082f49;text-align:left;cursor:pointer}
body[data-area-ward-review] .precinct-list-select strong{font:800 17px/1.3 system-ui}
body[data-area-ward-review] .precinct-list-select[aria-pressed=true]{background:#fff5dc;border-color:#b48725}
body[data-area-ward-review] .precinct-list-select:hover{background:#eaf3f0;border-color:#16766f}
body[data-area-ward-review] .precinct-list-select svg{width:140px;height:100px;filter:var(--area-outline-mark-shadow)}
body[data-area-ward-review] .precinct-list-select path{stroke:#082f49;stroke-width:1.2px;vector-effect:non-scaling-stroke;stroke-linejoin:round}
body[data-area-ward-review] .precinct-thumbnail-context{fill:#d8e5e2}
body[data-area-ward-review] .precinct-thumbnail-precinct{fill:#f2ce83}
body[data-area-ward-review] .precinct-list-row dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0}
body[data-area-ward-review] .precinct-list-row dl>div{padding:12px;border:1px solid #d3dfe1;min-width:0}
body[data-area-ward-review] .precinct-list-row dt{color:#526a75;font:700 11px/1.4 system-ui}
body[data-area-ward-review] .precinct-list-row dd{margin:5px 0 0;color:#082f49;font:750 13px/1.4 system-ui}
body[data-area-ward-review] .precinct-list-open{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 14px;box-sizing:border-box;border:1px solid #0e5a54;border-radius:4px;background:#16766f;color:white!important;box-shadow:0 3px 0 #0a4945;font:800 14px/1.25 system-ui;text-decoration:none;white-space:nowrap;transition:var(--review-control-transition)}
body[data-area-ward-review] .precinct-list-open .ptp-inline-page-mark{--ptp-inline-page-mark-color:currentColor;font-size:8px;line-height:1;width:16px;height:16px;transform:scale(1.25)}
body[data-area-ward-review] .precinct-list-open:hover:not([aria-disabled=true]){background:#105f59;transform:var(--review-control-hover);box-shadow:0 4px 0 #0a4945}
body[data-area-ward-review] .precinct-list-open:active:not([aria-disabled=true]){transform:var(--review-control-press);box-shadow:0 2px 0 #0a4945}
body[data-area-ward-review] :is(.precinct-list-select,.precinct-list-open):focus-visible{outline:3px solid #c69c43;outline-offset:3px}
body[data-area-ward-review] .precinct-list-open[aria-disabled=true]{background:#e6eaea;color:#768589!important;border-color:#c6cecf;box-shadow:none;cursor:default}
@media(max-width:1000px){body[data-area-ward-review] .precinct-list-row{grid-template-columns:minmax(0,1fr)}body[data-area-ward-review] .precinct-list-open{justify-self:start}}
@media(max-width:850px){body[data-area-ward-review] .ward-explorer-toolbar>.place-picker-control{flex-basis:100%;min-width:0}}
@media(max-width:500px){body[data-area-ward-review] .precinct-list-open{width:100%}body[data-area-ward-review] .precinct-list-select{grid-template-columns:110px minmax(0,1fr)}body[data-area-ward-review] .precinct-list-select svg{width:110px}}
