/* Match full-screen map focus without changing other record lists. */
[data-r2-map-focus-pane] .r2-stack-map-row-focused{box-shadow:inset 3px 0 var(--bs-primary);background-color:rgba(var(--bs-primary-rgb),.07)!important}

/* Map drawers are portalled above the modal, with their own compact header. */
[data-r2-map-drawer]{--bs-offcanvas-zindex:2060;z-index:2060!important;top:0!important;bottom:0!important;height:100dvh;max-height:100dvh;background:var(--bs-body-bg,#fff);color:var(--bs-body-color,#172033)}
[data-r2-map-drawer]>.offcanvas-header{flex:0 0 auto;min-height:52px;padding:.85rem 1rem;border-bottom:1px solid var(--bs-border-color,#dee2e6);background:var(--bs-body-bg,#fff);color:var(--bs-body-color,#172033)}
[data-r2-map-drawer]>.offcanvas-header .offcanvas-title{margin:0;color:inherit;font-size:1rem;font-weight:700}
[data-r2-map-drawer]>.offcanvas-body{min-height:0;overflow:auto;padding:.75rem 1rem}
[data-r2-map-drawer] .r2-map-list-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.5rem;margin-bottom:.65rem}
[data-r2-map-drawer] .r2-map-list-controls>input{grid-column:1 / 3;min-width:0}
[data-r2-map-drawer] .r2-map-list-controls>select{width:4.5rem;min-width:0}
[data-r2-map-drawer] .r2-map-list-controls>span{text-align:center}
body.r2-map-drawer-open>.offcanvas-backdrop{z-index:2059!important}
html[data-theme="dark"] [data-r2-map-drawer]>.offcanvas-header .btn-close{filter:invert(1) grayscale(1) brightness(2)}
