/* Parcel Search, draft (Robert, 2026-11-28): ZIP picker, the grid at the top, the big parcel map at the bottom. Reuses
   the estimator's search box (.tc-find), inputs (.tc-inputs) and tables (.tc-bill); layout only here. */
.ps-controls{margin-top:14px;padding-top:10px;border-top:2px solid var(--rule-strong)}
.ps-controls .tc-find{max-width:460px}
.ps-none{margin:8px 0;color:#a61b1b;font-weight:700;font-size:13px}
.ps-more{margin:6px 0;color:var(--muted);font-size:13px}
.ps-grid,.ps-map{margin-top:18px}
.ps-grid h2,.ps-map h2{margin:0 0 6px;color:var(--title-navy);font:700 20px var(--font-title)}
.ps-filters{margin-bottom:8px}
.ps-filters input[type=search]{width:240px}
.ps-grid table{font-size:13px}
.ps-grid tbody tr.hover{background:#ffe066}
.ps-map .ps-map-svg{display:block;width:100%;height:auto;border:1px solid var(--rule);background:#fff} /* the parcel drawing only, not the Duplex's maps */
.ps-zip{fill:#f7f9f7;stroke:var(--title-navy);stroke-width:2}
.ps-parcel{fill:#e6efe9;stroke:#1f5138;stroke-width:.4;cursor:pointer}
/* A parcel with no published outline: a dot at its roll location (2026-11-28). */
.ps-parcel.ps-dot{fill:#1f5138;stroke:#fff;stroke-width:1}
.ps-warn{color:var(--limits-red,#a61b1b)}
.ps-parcel.on-page{fill:#ffe066;stroke:#1b3a6b;stroke-width:1}
.ps-parcel.hover{fill:#f46d43;stroke:#1b3a6b;stroke-width:1.5}
.ps-notes{margin-top:24px}
/* Grid and map side by side (Robert, 2026-11-28: "you need to see both at once"); the map stays in view as the page
   scrolls; one column under 1100px. */
.ps-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:28px;align-items:start} /* map 20% bigger again, growing right (Robert, 2026-11-28; was 1.21fr, 1.1fr) */
.ps-pair .ps-grid,.ps-pair .ps-map{margin-top:0}
.ps-pair .ps-map-svg{width:100%}
/* All 20 rows show without an inner scroll bar; the map's height follows the grid's (2026-11-28: "add 5 rows ... and add
   the same amount of length to the map"). */
.ps-pair .ps-grid-box{max-height:none}
/* The Duplex in the map frame's top right (2026-11-28): a small copy of the town map with its state inset. */
.ps-map-frame{position:relative}
/* The pointer box over a parcel (2026-11-28). */
.ps-tip{position:absolute;z-index:5;width:240px;padding:7px 10px;background:#fff;border:1px solid var(--rule-strong);border-radius:6px;pointer-events:none;font:13px var(--font-body);color:var(--ink)}
.ps-tip b{display:block;color:var(--title-navy);margin-bottom:2px}
.ps-tip span{display:block}
.ps-duplex{position:absolute;top:8px;right:8px;width:290px;z-index:3;background:#fff;border:1px solid var(--rule)} /* one frame around the towns map (Robert, 2026-11-28: "i do need a frame around the towns map"), set in from the map's edge so it doesn't double the map frame */
/* One frame only (Robert, 2026-11-28: "lose the double frame on the county"): the town map's own border goes; the map
   frame's top and right edges serve, with a thin line on the inner two sides. Taller ("a little longer"). */
.ps-duplex .statbook-town-map .county-callout{max-width:290px;padding:5px 6px;border:0}
.ps-duplex .statbook-town-map .county-callout svg{height:240px;border:0} /* the parcel map's own svg border rule doesn't apply here */
.ps-duplex .callout-label{font-size:8px} /* town names on the towns map (Robert, 2026-11-28: "town maps should be labeled") */
.ps-duplex .tml{--tml-inset:78px;--tml-room:34px}
.ps-duplex .tml-inset-name{font-size:8px;top:2px}
.ps-duplex .county-callout strong{font-size:12px}
.ps-duplex div.callout-town{display:none} /* the picked town's population box; the town shapes (path.callout-town) stay */
.ps-pair .ps-grid td{vertical-align:top}
.ps-pair .ps-grid td.num,.ps-pair .ps-grid td:last-child{white-space:nowrap}
@media (max-width:1100px){.ps-pair{grid-template-columns:1fr}.ps-pair .ps-map{position:static}}
/* Lot map series, drilled down from the ZIP map (2026-11-28): the Parcel Finder's maps for the clicked parcel. */
.ps-parcel.picked{fill:#0b69c7;stroke:#1b3a6b;stroke-width:1.5}
.ps-lot{margin-top:24px;padding-top:10px;border-top:2px solid var(--rule-strong)}
.ps-lot-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.ps-lot-head h2{margin:0;color:var(--title-navy);font:700 20px var(--font-title)}
.ps-lot-head span{display:flex;align-items:center;gap:14px}
.ps-lot-body{grid-template-areas:"adjmap measure" "adjgrid adjgrid" !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;grid-template-rows:auto auto !important}
/* Print / PDF (2026-11-28): the page as shown, without the controls; grid and map one above the other. */
@media print{
  #site .topbar,.ps-controls,.ps-filters,.grid-pagination button,.page-icon-menu,.ps-map-head button,.ps-lot-head button,.tc-how,.beta-watermark{display:none!important}
  .ps-pair{grid-template-columns:1fr!important}
  .ps-pair .ps-map-svg{height:auto!important}
  .ps-grid-box{max-height:none!important;overflow:visible!important}
  .ps-grid tr,.ps-map,.ps-lot section{break-inside:avoid}
  .ps-tip{display:none!important}
}
/* Zoom to a parcel from its grid row (2026-11-28). */
.ps-map-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.ps-grid tbody tr{cursor:pointer}
.ps-grid tbody tr.zoomed{outline:2px solid #0b69c7;outline-offset:-2px}
