/* House quick-look (quicklook.js; docs/preplans/quicklook/SPEC.md) */
.ql { margin: 10px 0 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 10px; }
.ql-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.ql-title { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.ql-f { padding: 6px 0; border-top: 1px solid rgba(255,255,255,.06); }
.ql-t { font-size: 14px; line-height: 1.35; }
.ql-s { font-size: 12px; opacity: .65; }
.ql-n { font-size: 12px; opacity: .8; font-style: italic; margin-top: 2px; }
.ql-map { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 420px; margin: 4px 0 6px; border-radius: 8px; overflow: hidden; background: #1a1d23; cursor: pointer; touch-action: pan-y; }
/* Item A (Donald, 2026-09-30): the image + overlay pinch-zoom/pan together as
   one transformed wrapper, so the footprints/pin stay locked to the aerial. */
.ql-zoomwrap { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.ql-zoomwrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.ql-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ql-b { pointer-events: fill; }
.ql-b.carport { pointer-events: stroke; }
.ql-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; opacity: .7; }
/* Map controls in the Apple Maps manner: small frosted round buttons; the
   credits are an (i) that opens a one-line caption above it. */
.ql-cap { position: absolute; left: 8px; right: 40px; bottom: 8px; z-index: 3; padding: 5px 8px; border-radius: 8px; font: 500 12px/1.35 system-ui, sans-serif;
  background: rgba(20,22,27,.82); color: #e6e8ec; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ql-cap[hidden] { display: none; }
.ql-fit, .ql-info { position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; color: #fff;
  background: rgba(20,22,27,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ql-fit { top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 12px; }
.ql-fit[hidden] { display: none; }
.ql-info { right: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%; font: italic 700 12px Georgia, serif; opacity: .85; }
/* the (i) stays small on the photo; its tap area is 44px */
.ql-info::before { content: ''; position: absolute; inset: -11px; }
/* Constant-size labels and the call's pin, placed by labelsHtml (never scaled with the photo). */
.ql-labs { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.ql-lab { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; white-space: nowrap;
  color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.95), 0 0 6px rgba(0,0,0,.6); line-height: 1.1; }
.ql-lab b { font: 650 12px/1.15 -apple-system, system-ui, sans-serif; letter-spacing: .01em; }
.ql-lab small { font: 500 12px/1.2 -apple-system, system-ui, sans-serif; opacity: .92; }
.ql-lab.hit { padding: 3px 8px; border-radius: 999px; background: #ff9f0a; color: #1d1203; text-shadow: none; box-shadow: 0 1px 5px rgba(0,0,0,.45); }
.ql-lab.hit b { font-size: 13px; font-weight: 750; }
.ql-pin2 { position: absolute; width: 0; height: 0; }
.ql-pin2 i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #ff3b30; border: 2.5px solid #fff;
  box-sizing: border-box; box-shadow: 0 1px 5px rgba(0,0,0,.55); }
.ql-pill { position: absolute; left: 0; bottom: 13px; transform: translateX(-50%); padding: 4px 9px; border-radius: 999px; background: #d0302a; color: #fff;
  font: 700 13px/1.2 -apple-system, system-ui, sans-serif; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.ql-pill::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #d0302a; }
/* the pill moved to a side with room (labelsHtml): its tail points back at the pin */
.ql-pill.r, .ql-pill.l { bottom: auto; top: -13px; transform: none; }
.ql-pill.r { left: 12px; }
.ql-pill.l { left: auto; right: 12px; }
.ql-pill.b { bottom: auto; top: 13px; }
.ql-pill.r::after, .ql-pill.l::after { bottom: auto; top: 50%; margin: -5px 0 0; border: 5px solid transparent; }
.ql-pill.r::after { left: -5px; border-left: 0; border-right-color: #ff3b30; }
.ql-pill.l::after { left: auto; right: -5px; border-right: 0; border-left-color: #ff3b30; }
.ql-pill.b::after { bottom: auto; top: -5px; border: 5px solid transparent; border-top: 0; border-bottom-color: #ff3b30; }
.ql-bubble { position: absolute; z-index: 4; transform: translate(-50%, -110%); max-width: 72%; padding: 6px 10px; border-radius: 10px; background: rgba(20,22,27,.9);
  color: #eef1f5; font: 600 12px/1.35 -apple-system, system-ui, sans-serif; text-align: center; pointer-events: none; box-shadow: 0 2px 10px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* --ql-zoom is set by attachZoom: the CSS scale() on .ql-zoomwrap also scales
   SVG strokes (non-scaling-stroke ignores ancestor CSS transforms), so every
   stroke divides by it to stay hairline at any zoom. */
/* Donald, 2026-09-30: same treatment as the preplans map - the parcel is
   supplemental (thin, muted grey-blue, dashed); the building outline is the
   star of the show (amber), the matched building highlighted brighter. */
/* Donald, 2026-10-09 ("way nicer looking, think Apple/Google Maps"): every
   building a hairline white outline with a soft fill, the call's building
   the one amber shape with a glow, the photo dimmed around it; the parcel a
   faint dashed line. Small structures (minor) appear only once zoomed in. */
.ql-dim { fill: rgba(0,0,0,.26); }
.ql-p { fill: none; stroke: rgba(255,255,255,.6); stroke-width: calc(1px / var(--ql-zoom, 1)); stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.ql-b { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.85); stroke-width: calc(1px / var(--ql-zoom, 1)); stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ql-b.hit { fill: rgba(255,159,10,.30); stroke: #ff9f0a; stroke-width: calc(2px / var(--ql-zoom, 1)); }
.ql-glow { fill: none; stroke: rgba(255,159,10,.38); stroke-width: calc(6px / var(--ql-zoom, 1)); stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.ql-b.minor { display: none; }
.ql-close .ql-b.minor { display: inline; fill: none; stroke: rgba(255,255,255,.5); stroke-dasharray: 3 3; }
.ql-go { width: 100%; min-height: 44px; margin: 0 0 6px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: inherit; font-weight: 600; }
.ql-go.ql-sp:disabled { opacity: .6; }
.ql-row { display: flex; gap: 8px; }
.ql-row .ql-go { flex: 1; }
.ql-own { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); }
.ql-h2 { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.ql-own a { color: inherit; font-weight: 700; }
/* The Map tab reuses the card's label layer over the Leaflet panes. */
.ql-mlabs { z-index: 650; }
.ql-mcard { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1000; padding: 10px 88px 10px 12px; border-radius: 12px; background: rgba(20,22,27,.96);
  color: #eef1f5; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 2px 12px rgba(0,0,0,.4); }
.ql-mcard .ql-info { top: 15px; right: 59px; bottom: auto; }
.ql-mcred { margin-top: 4px; }
.ql-mcred[hidden] { display: none; }
.ql-mt { font-weight: 700; font-size: 14px; }
.ql-mx { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 22px; }
