/* Shared Houzez sidebar controls; layout remains the owner-selected Agency v1 grid. */
.marion-service-search-template .marion-filter-sidebar,.marion-filter-sidebar .marion-service-search{min-width:0;width:100%}
.marion-filter-sidebar .marion-service-search{display:flex;flex-direction:column;border:0;border-radius:0;padding:0;margin:0;background:transparent}
.marion-filter-accordion,.marion-checkbox-dropdown{min-width:0;padding:10px 0;border-bottom:1px solid var(--houzez-border-color,#ddd)}
.marion-filter-accordion>summary,.marion-checkbox-dropdown>summary,.marion-p4-sidebar__group>summary{cursor:pointer;font-weight:600;padding:10px 0;overflow-wrap:anywhere}
.marion-checkbox-dropdown>label,.marion-checkbox-dropdown>div>label,.marion-filter-sidebar .marion-service-checkbox{display:flex;align-items:center;gap:8px;font-weight:400}
.marion-filter-sidebar input[type=checkbox],.marion-checkbox-dropdown input[type=checkbox]{width:18px;min-height:18px;height:18px;flex:none;accent-color:var(--houzez-primary-color,#00aeff)}
.marion-filter-sidebar select,.marion-filter-sidebar input,.marion-filter-sidebar fieldset{width:100%;max-width:100%;min-width:0}
.marion-facets-enhanced .marion-service-schema-selector,.marion-checkbox-source{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden}
.marion-facets-enhanced .marion-service-schema-selector{visibility:hidden}
.marion-service-search-template .marion-service-card{border:0;border-radius:0;background:transparent}
.marion-service-search-template .marion-service-card h2{font-size:inherit}
.marion-service-search-template .marion-service-card dl{display:block}
.marion-service-map-preview{height:230px;width:100%;min-width:0;background:#eee}
.marion-map-popup{width:min(1100px,96vw);max-width:96vw;max-height:94vh;padding:16px;border:0;border-radius:4px;overflow:auto}
.marion-map-popup::backdrop{background:rgba(0,0,0,.6)}
.marion-map-popup>[id=houzez-properties-map],.marion-map-popup>[data-marion-agency-map],.marion-map-popup>[data-marion-service-search-map]{width:100%!important;height:65vh!important;min-height:240px;position:relative!important;top:auto!important;left:auto!important}
.marion-map-popup h2{font-size:1.25rem;margin:0 0 12px}.marion-map-popup>button{margin-bottom:12px}
@media(max-width:767px){.marion-service-search-template .bt-sidebar-wrap{margin-top:24px}.marion-service-search-template .listing-wrap .container{padding:0}.marion-map-popup{padding:12px}.marion-map-popup>[id=houzez-properties-map],.marion-map-popup>[data-marion-agency-map],.marion-map-popup>[data-marion-service-search-map]{height:60vh!important}}

.marion-checkbox-source-label{display:none!important}

.marion-checkbox-dropdown label[hidden]{display:none!important}.marion-checkbox-dropdown [data-marion-choice-search]{width:100%;max-width:100%;margin:8px 0}.marion-catalogue-note{font-size:.85em;font-weight:400}.marion-service-drawer-trigger{display:none}
@media(max-width:767px){.marion-service-drawer-trigger{display:block}.marion-filter-sidebar:not(.is-open)>.marion-service-search{display:none}.marion-filter-sidebar.is-open>.marion-service-search{display:flex}}

/* These native managed selects inherit a 42px line box inside a 42px border box.
   Keep their text within the existing selected sidebar/drawer control height. */
select.form-control:is([data-marion-p4-source-name="marion_equipment_heating"],[data-marion-p4-source-name="marion_equipment_cooling"],[data-marion-p4-source-name="marion_equipment_hot_water"],[data-marion-p4-source-name="marion_office_exposure"],[data-marion-p4-source-name="marion_business_activity"],[data-marion-p4-source-name="marion_commercial_position"],[data-marion-p4-source-name="marion_corner_position"],[data-marion-p4-source-name="marion_smoke_extraction"],[data-marion-p4-source-name="marion_commercial_layout"]){line-height:1.4}
