.house-layers-readout{position:absolute;z-index:44;right:16px;top:84px;width:min(360px,calc(100% - 32px));height:auto;min-height:0;max-height:min(560px,calc(100% - 100px));display:flex;flex-direction:column;background:var(--ui-surface,#fff);color:var(--ui-text,#1d1d1f);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;font-size:14px}
.house-layers-readout[hidden]{display:none}.house-layers-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid var(--line);flex:0 0 auto}.house-layers-heading h3{font-size:15px;line-height:1.4;margin:0}.house-layers-heading>.quiet{min-width:44px;min-height:44px;font-size:13px;padding:6px;color:var(--muted)}.house-layers-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 12px 12px;scroll-padding:8px}.house-layers-counts{margin:8px 0;font-size:12px;line-height:1.4;color:var(--muted)}.house-layers-readout ul{list-style:none;margin:8px 0;padding:0}.house-layers-readout li{display:flex;align-items:center;gap:8px;padding:2px 0;border-bottom:1px solid var(--line)}.house-layers-address{flex:1;min-width:0;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--ui-text,#1d1d1f);font:inherit;min-height:44px;padding:7px 4px;overflow-wrap:anywhere}.house-layers-readout :is(summary,button,a){min-height:44px}.house-layers-readout summary{display:flex;align-items:center;cursor:pointer;font-weight:600}.house-layers-readout a{display:inline-flex;align-items:center;color:var(--blue);overflow-wrap:anywhere}.house-layers-source{margin-top:10px;padding-top:8px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.45}.house-layers-source p{margin:6px 0}.house-layers-note{font-size:12px;color:var(--muted);line-height:1.45}.house-layers-passport{border-top:1px solid var(--line);margin:10px 0}.house-layers-passport .house-layers-heading{padding:4px 0}.house-layers-passport dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--line);line-height:1.45}.house-layers-passport dt{min-width:0;color:var(--muted);overflow-wrap:anywhere}.house-layers-passport dd{min-width:0;margin:0;font-weight:600;overflow-wrap:anywhere}.house-layers-passport small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}.house-layers-passport dd a{font-weight:400;font-size:12px}.house-layers-legend{font-size:12px;line-height:1.45;color:var(--muted)}.house-layers-legend span{display:inline-block;width:9px;height:9px;border-radius:50%}.house-layers-known{background:#1767ba}.house-layers-unknown{background:#a0a8b0}
.house-layers-disclosure{flex:1;text-align:left;font:inherit;font-weight:600;background:transparent;border:0;padding:0}.house-layers-readout.is-summary .house-layers-heading{padding:2px 10px;border-bottom:0}.house-layers-readout.is-summary .house-layers-scroll{padding:0 12px 8px}.house-layers-readout.is-summary .house-layers-counts{margin:0}.house-layers-readout.is-summary .house-layers-scroll>:not(.house-layers-counts):not([role="status"]):not([role="alert"]){display:none}
.house-layers-legend{display:flex;flex-wrap:wrap;gap:5px 12px;margin:12px 0}.house-layers-legend strong{flex-basis:100%;font-weight:600}.house-layers-legend span{display:inline-flex;align-items:center;gap:5px;width:auto;height:auto;border-radius:0}.house-layers-legend i{width:9px;height:9px;display:inline-block;border-radius:50%;background:#1767ba}.house-layers-legend i[data-era="old"]{background:#8055b5}.house-layers-legend i[data-era="modern"]{background:#168076}.house-layers-legend i[data-era="new"]{background:#c16217}.house-layers-legend i[data-era="unknown"]{background:#7e8996}
.house-layer-marker{min-width:32px;min-height:32px;border:2px solid #fff;border-radius:50%;padding:3px;background:#1767ba;color:#fff;font-size:11px;font-weight:650;box-shadow:0 2px 7px #17223445;cursor:pointer}.house-layer-marker[data-era="old"]{background:#8055b5}.house-layer-marker[data-era="modern"]{background:#168076}.house-layer-marker[data-era="new"]{background:#c16217}.house-layer-marker[data-era="unknown"]{background:#7e8996}.house-layer-marker[data-era^="age-"]{color:#17212c}.house-layer-marker.selected{outline:3px solid #172234;outline-offset:2px}.house-layer-marker:focus-visible{outline:3px solid #0071e3;outline-offset:3px}.house-layer-marker.is-cell{border-radius:12px;min-width:40px;min-height:40px}
.session-loading :is(.map-layers-control,.house-layers-readout),.place-flow-open :is(.map-layers-control,.house-layers-readout),.collection-map-open :is(.map-layers-control,.house-layers-readout),.workspace:has(.map-layers-panel:not([hidden])) .house-layers-readout{visibility:hidden}
.workspace:has(.map-layers-toggle.has-active-layers) .area-caption{pointer-events:none}.workspace:has(.map-layers-toggle.has-active-layers) .area-caption button{pointer-events:auto}
@media(max-width:600px){.house-layers-readout{left:12px;right:12px;top:auto;bottom:max(12px,env(safe-area-inset-bottom));width:auto;height:auto;max-height:min(58dvh,calc(100% - 96px));border-radius:16px}.house-layers-scroll{padding-bottom:12px}.house-layers-passport dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.house-layers-readout li .quiet{padding:8px;white-space:nowrap}}

@media(max-width:600px){.ws-toolbar>.map-layers-control{position:static;flex:0 0 auto}.ws-toolbar>.map-layers-control .map-layers-toggle{width:44px;height:44px;min-width:44px;min-height:44px;padding:9px}}

.house-layers-passport dd>span{display:block;font-size:12px;font-weight:400;color:var(--muted);overflow-wrap:anywhere;margin-top:3px}.house-layers-passport h4{font-size:13px;margin:12px 0 6px}.house-layers-source li{overflow-wrap:anywhere}

.house-layers-citation-details{font-size:12px;font-weight:400;margin-top:2px}.house-layers-citation-details summary{font-weight:400}.house-layers-citation-details small{overflow-wrap:anywhere}
/* A draft Find form keeps the map clear without resetting history or prices. */
.workspace.house-find-tool-open .timeline{display:none}
.workspace.house-candidates-active .house-marker{visibility:hidden;pointer-events:none}
.workspace.house-candidates-active .timeline,.workspace.house-candidates-active .area-caption{visibility:hidden}
.workspace.house-candidates-active .map-toolbar>:not(.map-layers-control):not(.ws-toolbar),.workspace.house-candidates-active .map-toolbar>.ws-toolbar>:not(.map-layers-control){visibility:hidden}
.workspace.thematic-map-active:not(.house-candidates-active) .house-marker,.workspace.thematic-map-active:not(.house-candidates-active) .timeline,.workspace.thematic-map-active:not(.house-candidates-active) .area-caption{visibility:hidden}
.workspace.thematic-map-active:not(.house-candidates-active) .map-toolbar>:not(.map-layers-control):not(.ws-toolbar),.workspace.thematic-map-active:not(.house-candidates-active) .map-toolbar>.ws-toolbar>:not(.map-layers-control){visibility:hidden}

.house-layers-filter-confirm{padding:10px;margin:8px 0;border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:10px;background:var(--ui-field,#f5f5f7);color:var(--ui-text,#1d1d1f);line-height:1.45}.house-layers-filter-confirm p{margin:0 0 8px}.house-layers-filter-confirm>div{display:flex;flex-wrap:wrap;gap:8px}.house-layers-filter-confirm button{white-space:normal;text-align:left}.house-layers-context-address{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.house-layers-heading>.house-layers-context-back{flex:0 0 auto;font-size:13px;padding:8px}.house-layers-readout.is-environment-context{top:var(--map-layers-top,112px);bottom:auto}.house-layers-readout.is-environment-context .house-layers-scroll:not(:has(>[role="status"],>[role="alert"])){display:none}.house-layers-passport>[data-house-environment]{margin:8px 8px 8px 0}.house-layers-readout button:disabled{cursor:default;opacity:.55}
@media(max-width:600px){.workspace:has(:is(.environment-air-readout,.environment-roads-readout,.environment-layer-readout):not([hidden])) .house-layers-readout.is-summary:not(.is-environment-context):not(.is-query-summary){top:var(--map-layers-top,112px);bottom:auto;left:72px;right:12px;max-height:min(24dvh,calc(100% - var(--map-layers-top,112px) - 12px))}.workspace:has(:is(.environment-air-readout,.environment-roads-readout,.environment-layer-readout):not([hidden])) .house-layers-readout.is-summary:not(.is-environment-context):not(.is-query-summary) .house-layers-scroll:not(:has(>[role="status"],>[role="alert"])){display:none}}
.house-layers-query-summary{padding:8px 0 0;line-height:1.45;overflow-wrap:anywhere}.house-layers-query-summary>strong{font-size:15px}.house-layers-query-summary p{margin:4px 0;color:var(--muted);font-size:12px}.house-layers-disclosure{overflow-wrap:anywhere;line-height:1.4}

/* Results keep map room; full passports retain their own scrollable detail sheet. */
.house-layers-disclosure{min-width:0}.house-layers-heading>.house-layers-show-map{min-width:44px;max-width:124px;min-height:44px;flex:0 0 auto;font-size:12px;line-height:1.35;padding:8px;white-space:normal}
@media(max-width:600px){.house-layers-readout:not(.has-passport):not(.is-summary):not(.is-environment-context){max-height:min(42dvh,calc(100% - 120px))}.house-layers-readout.is-environment-context{top:calc(var(--map-layers-top,112px) + 56px);left:12px;right:72px;max-height:min(24dvh,calc(100% - var(--map-layers-top,112px) - 68px))}.house-layers-readout.is-environment-context .house-layers-context-address{display:block;-webkit-line-clamp:unset;overflow:visible}}

/* A successful query leaves the map visible; list and sources remain explicit. */
.house-layers-heading>.house-layers-show-list{flex:0 0 auto;min-width:84px;min-height:44px;padding:8px;font-size:13px;line-height:1.3;white-space:nowrap}
.house-layers-query-credit{display:none}
.house-layers-readout.is-query-summary .house-layers-scroll>.house-layers-legend{display:flex;font-size:10px;line-height:1.25;gap:3px 8px;margin:6px 0 0}
.house-layers-readout.is-query-summary .house-layers-scroll>.house-layers-map-status{display:block;font-size:12px;line-height:1.4;margin:4px 0}
.house-layers-readout.is-query-summary .house-layers-legend strong{flex-basis:auto}
.house-layers-readout.is-query-summary .house-layers-scroll>.house-layers-query-credit{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.4;color:var(--muted)}
.house-layers-query-credit>span{flex:1;min-width:0;overflow-wrap:anywhere}
.house-layers-query-credit>.quiet{flex:0 0 auto;min-height:44px;padding:6px;font-size:11px}
.house-layers-readout.is-query-summary .house-layers-scroll{padding-bottom:4px}

/* Count groups are presentation only; each trusted corpus remains in the list. */
.house-layer-marker.is-query-cluster{box-sizing:border-box;width:56px;min-width:56px;height:44px;min-height:44px;border-radius:12px;padding:2px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05}.house-layer-marker.is-query-cluster strong{font-size:16px}.house-layer-marker.is-query-cluster>span{font-size:10px;font-weight:500}.house-layers-marker-summary{display:block;font-size:12px;color:var(--muted)}.house-layers-marker-summary[hidden]{display:none}

.map-layers-city-age{border-top:1px solid #e7ebef;margin-top:14px;padding-top:10px}.map-layers-city-age .map-layers-option{margin:0}

/* Project view: one concise hierarchy, with legal credits a disclosure away. */
.house-layers-heading>.house-layers-exit{flex:0 0 auto;min-width:44px;min-height:44px;padding:6px;font-size:12px}
.house-layers-readout.is-project-view .house-layers-heading{gap:6px}
.house-layers-readout.is-project-view .house-layers-disclosure{font-size:14px}
.house-layers-readout.is-project-view .house-layers-marker-summary{display:none}
.house-layers-query-credit a{display:inline;min-height:0;color:inherit;text-decoration:underline;text-underline-offset:2px}
.house-layers-query-credit{font-size:11px;line-height:1.4;color:var(--muted)}
.house-layers-readout.is-project-view.is-query-summary .house-layers-query-credit{font-size:11px}
.house-layers-readout li.house-layers-project{display:block;padding:0;border:0}
.house-layers-project>details{border:0;border-top:1px solid var(--line);border-radius:0;margin:4px 0;overflow:visible}
.house-layers-project>details>summary{padding:6px 4px;justify-content:space-between;gap:10px;list-style:none;border-radius:8px}
.house-layers-project>details>summary>span{font-size:12px;font-weight:400;color:var(--muted);white-space:nowrap}
.house-layers-project>details>ul{margin:0;padding:0 4px}
.house-layers-address strong,.house-layers-address small{display:block}
.house-layers-address strong{font-weight:600;font-size:13px}
.house-layers-address small{font-size:12px;color:var(--muted);line-height:1.4}
.house-layers-postal-address{margin:6px 0;color:var(--muted);font-size:12px;line-height:1.45}
.house-layers-primary-year{font-size:18px;line-height:1.4;margin:10px 0 4px}
.house-layers-primary-year strong{font-weight:600}
.house-layers-commission-year,.house-layers-passport-brand{font-size:12px;color:var(--muted);margin:4px 0}
.house-layers-key-facts{font-size:13px;line-height:1.45;margin:8px 0;overflow-wrap:anywhere}

/* Small year pills keep the era palette; the transparent hit target stays44px. */
.house-query-marker-anchor{position:relative;width:0;height:0;pointer-events:none}
.house-query-marker-anchor>.house-layer-marker{position:absolute;left:0;top:0;transform:translate(-50%,-50%);pointer-events:auto}
.house-layer-marker,.house-layer-marker[data-era],.house-layer-marker.is-cell,.house-layer-marker.is-query-cluster{box-sizing:border-box;min-width:44px;min-height:44px;width:auto;height:44px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:transparent;box-shadow:none;color:#17212c;font:inherit}
.house-marker-badge{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:27px;padding:3px 7px;border:1px solid rgba(23,33,44,.2);border-radius:8px;background:#1767ba;box-shadow:0 1px 4px #17223430;font-size:12px;font-weight:650;line-height:18px;font-variant-numeric:tabular-nums;white-space:nowrap}
.house-marker-badge.is-count{flex-direction:column;min-width:42px;min-height:34px;padding:2px 7px;line-height:14px}
.house-marker-badge.is-count>strong{font-size:13px;line-height:15px;font-variant-numeric:tabular-nums}
.house-marker-badge.is-count>small{font-size:9px;font-weight:500;line-height:11px}
.house-layer-marker.is-house-label{height:auto;max-width:216px}
.house-marker-badge.is-label{display:flex;flex-direction:column;gap:1px;max-width:216px;min-height:34px;padding:4px 8px;white-space:normal;font-size:12px;line-height:14px}
.house-marker-label-primary{display:block;max-width:198px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.house-marker-label-secondary{display:block;max-width:198px;font-size:11px;line-height:13px;white-space:normal;overflow-wrap:anywhere}
.house-layer-marker.is-house-label.is-house-name{--house-name-width:min(216px,calc(100vw - 128px));width:var(--house-name-width);max-width:var(--house-name-width)}
.house-marker-badge.is-name{box-sizing:border-box;width:100%;max-width:100%}
.house-marker-badge.is-name>.house-marker-label-primary{max-width:calc(var(--house-name-width,216px) - 18px);white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.house-marker-badge.is-name.is-long-name{font-size:10px;line-height:11px}
.house-layer-marker.selected{outline:none}
.house-layer-marker.selected>.house-marker-badge{outline:2px solid var(--blue,#0071e3);outline-offset:1px}
.house-layer-marker:focus-visible{outline:2px solid var(--ui-focus,#0071e3);outline-offset:1px}
.house-layers-passport-actions{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}
.house-layers-passport-actions>button{min-width:0;min-height:44px;flex:1;padding:10px;font-size:13px;line-height:1.35;white-space:normal}
.house-layers-passport-details{margin:10px 0;font-size:12px}
.house-layers-passport-details>summary{color:var(--muted);font-weight:500}
.house-layers-passport-details dl{margin:0}
/* FAQ is optional and local: showing it never changes a layer or selection. */

.map-layers-help{padding:16px;min-height:0;overflow-y:auto;overscroll-behavior:contain;line-height:1.5;color:var(--ui-text,#1d1d1f)}
.map-layers-help h3{font-size:17px;line-height:1.35;margin:10px 0}
.map-layers-help>p:not(.map-layers-help-number){font-size:14px;color:var(--muted);max-width:44ch}
.map-layers-help-number{font-size:12px;color:var(--muted);margin:10px 0 0}
.map-layers-help-progress{display:flex;gap:6px}
.map-layers-help-progress>span{height:3px;flex:1;background:var(--line);border-radius:3px}
.map-layers-help-progress>span.is-current{background:var(--blue)}
.map-layers-help-actions{display:flex;gap:8px;margin-top:16px}
.map-layers-help-actions>button{min-height:44px;flex:1}
.map-layers-help>[data-layers-help-done]{min-height:44px;margin-top:8px;width:100%}


@media(max-width:600px){.house-layers-readout.is-project-view.is-query-summary .house-layers-heading{padding:2px 8px}.house-layers-readout.is-project-view .house-layers-heading>.house-layers-show-list{min-width:70px;padding:6px;font-size:12px}.house-layers-readout.is-project-view .house-layers-disclosure{font-size:13px}.map-layers-help{padding:16px}.map-layers-help-actions{margin-top:16px}}

.house-layers-readout>.house-layers-query-credit{display:flex;flex:0 0 auto;align-items:center;gap:6px;padding:0 12px;border-top:1px solid var(--line);color:var(--muted)}
.house-layers-readout>.house-layers-query-credit>span{font-size:11px;line-height:1.4}
.house-layers-readout.is-project-view>.house-layers-query-credit{padding:0 10px}

/* Semantic labels retain real member anchors; only the hit target has extent. */
.project-marker-anchor{position:relative;width:0;height:0;pointer-events:none}
.house-project-marker{position:absolute;left:0;top:0;transform:translate(-50%,-50%);pointer-events:auto;box-sizing:border-box;max-width:220px;min-width:88px;min-height:44px;padding:7px 12px;border:1px solid #cbd5df;border-radius:9px;background:#fff;color:#20242a;box-shadow:0 2px 7px #17223425;text-align:center;font:inherit;line-height:1.25;white-space:normal;cursor:pointer}
.house-project-marker strong{display:block;font-size:13px;font-weight:650}
.house-project-marker span{display:block;margin-top:2px;font-size:11px;color:#68717e}
.house-project-marker.selected{border-color:#1767ba;outline:2px solid #1767ba;outline-offset:1px}
.house-project-marker:focus-visible{outline:3px solid #0071e3;outline-offset:3px}
@media(max-width:600px){.house-project-marker{max-width:160px;padding:6px 10px}.house-project-marker strong{font-size:12px}}

.house-layers-heading>.house-layers-exit{max-width:90px;white-space:normal;line-height:1.25}
.map-layers-city-age{margin-top:0;padding-top:0;border-top:0}


.house-layers-source li{display:block}
.house-layers-source li small{display:block;margin-top:4px}

/* Compact passports keep result and pick lists explicit, without forcing them open. */
.house-layers-readout :is(.house-layers-results,.house-layers-selected)>summary{justify-content:space-between;gap:8px;list-style:none}
.house-layers-readout :is(.house-layers-results,.house-layers-selected)>summary::after{content:"⌄";flex:0 0 auto;color:var(--muted)}
.house-layers-readout :is(.house-layers-results,.house-layers-selected)[open]>summary::after{content:"⌃"}

/* Quiet results and passports share the application surface and interaction tokens. */
.house-layers-readout .house-layers-heading>[data-house-close]{font-size:22px;color:var(--muted)}
.house-layers-readout :is(button,summary,a):focus-visible,.map-layers-help :is(button,a):focus-visible{outline:2px solid var(--ui-focus,var(--blue));outline-offset:2px}
.house-layers-readout .quiet{color:var(--blue)}
.house-layers-readout .house-layers-exit{color:var(--muted)}
.house-layers-readout li:has(>[data-house-select][data-enable="false"]){background:var(--ui-selected,#eaf3ff);border-radius:8px;padding-inline:6px}
.house-layers-readout [data-house-select][data-enable="false"]{color:var(--blue);font-weight:600}
.house-layers-scroll>[role="status"],.house-layers-scroll>[role="alert"]{margin:8px 0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.house-layers-scroll>[role="alert"]{color:var(--ui-text,#1d1d1f)}
@media(hover:hover){.house-layers-address:hover,.house-layers-project>details>summary:hover,.house-layers-readout .quiet:hover{background:var(--ui-hover,#f0f0f3)}}

.house-layer-marker[data-era="standard"]>.house-marker-badge{color:#fff}
