/* Parcel popup header: Owner / Parcel number (APN/PIN) / Acres (parcel-header.js) */
.ph-slot{margin:0 0 6px;font-size:12.5px}
.parcel-header dl{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;margin:0 0 4px;padding:6px 8px;border-radius:6px;background:rgba(127,127,127,.12)}
.parcel-header dt{font-weight:600;opacity:.8;white-space:nowrap}
.parcel-header dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.parcel-header dd.ph-missing{font-weight:400;font-style:italic;opacity:.75}
.parcel-header .ph-src{font-size:11px;opacity:.75}
.parcel-detail-list dt.ph-top,.parcel-detail-list dd.ph-top{font-weight:700}
.parcel-info-modal .parcel-detail-list dd.ph-top{color:#ffffff}

.parcel-header .ph-tax { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(127,127,127,.35); }
.parcel-header .ph-tax-h, .parcel-detail-list dt.ph-tax-h { font-weight: 700; margin-top: 4px; }
.parcel-header .ph-tax dl { margin: 2px 0; }

/* Plat book contacts (PLAT_IMPORT.md) */
.parcel-header .ph-plat { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(127,127,127,.35); }
.parcel-header .ph-plat-h { font-weight: 700; margin-bottom: 2px; }
.parcel-header .ph-plat-item { padding: 3px 0; }
.parcel-header .ph-plat-item + .ph-plat-item { border-top: 1px dashed rgba(127,127,127,.3); }
.parcel-header .ph-plat-name { font-weight: 600; overflow-wrap: anywhere; }
.parcel-header .ph-plat-addr { overflow-wrap: anywhere; }
.parcel-header .ph-plat-phone { display: inline-block; min-height: 28px; line-height: 28px; font-weight: 600; }
.parcel-header .ph-placeholder{margin:0 0 6px;padding:6px 8px;border-radius:6px;border-left:4px solid #B87333;background:rgba(184,115,51,.14);font-weight:700;line-height:1.3}
/* Phone: popup sits under the tapped parcel (parcel-header.js placePhone), scrolls, and collapses to one line. */
.maplibregl-popup.ph-phone .maplibregl-popup-content{max-height:40vh;overflow:auto;padding-top:26px}
.maplibregl-popup.ph-phone.ph-collapsed .maplibregl-popup-content{max-height:2.4em;overflow:hidden}
.maplibregl-popup.ph-phone.ph-collapsed .maplibregl-popup-content>:not(.ph-collapse):not(.maplibregl-popup-close-button){display:none}
.ph-collapse{position:absolute;top:4px;left:8px;border:0;background:none;color:#1F2A44;font:600 12px/1.6 system-ui,sans-serif;padding:0 4px;cursor:pointer}
.st-parcels-off #psChip{display:none!important}
/* phone landscape: the popup sits beside the parcel; cap it to the short map height */
.maplibregl-popup.ph-land{max-width:min(320px,44vw)!important}
.maplibregl-popup.ph-land .maplibregl-popup-content{max-height:calc(100dvh - var(--ga-top,44px) - 76px)}

/* collapsed phone card keeps a readable header line (2026-11-03) */
.maplibregl-popup.ph-phone.ph-collapsed .maplibregl-popup-content{min-width:170px}
.maplibregl-popup.ph-phone .ph-collapse{white-space:nowrap}
