.laboratory-map-body { background: #edf3ef; overflow: hidden; }
.laboratory-map-body .site-main { height: calc(100vh - 74px); }
.laboratory-map { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; position: relative; }
.map-toolbar { align-items: center; display: grid; gap: 14px 22px; grid-template-columns: auto minmax(180px, 1fr) minmax(420px, 2fr); padding-bottom: 14px; padding-top: 14px; }
.map-back-link { align-items: center; color: var(--primary); display: inline-flex; font-size: 13px; font-weight: 700; gap: 6px; white-space: nowrap; }
.map-back-link:hover { color: var(--secondary); }
.map-back-link .material-symbols-outlined { font-size: 19px; }
.map-toolbar-copy h1 { color: var(--primary); font-size: 18px; margin: 0 0 3px; }
.map-toolbar-copy p { color: var(--muted); font-size: 12px; margin: 0; }
.map-filters { align-items: end; display: grid; gap: 8px; grid-template-columns: 1fr 1fr minmax(190px, 1.25fr) auto; }
.map-filters label { display: grid; gap: 4px; min-width: 0; }
.map-filters label > span:first-child { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.map-filters select, .map-search-input { background: #fff; border: 1px solid var(--surface-high); border-radius: 7px; color: var(--primary); font: inherit; font-size: 12px; height: 36px; min-width: 0; width: 100%; }
.map-filters select { outline: none; padding: 0 9px; }
.map-filters select:focus, .map-search-input:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 3px rgb(14 108 74 / 12%); }
.map-search-input { align-items: center; display: flex; gap: 6px; padding: 0 9px; }
.map-search-input .material-symbols-outlined { color: var(--secondary); font-size: 17px; }
.map-search-input input { border: 0; color: var(--primary); font: inherit; font-size: 12px; min-width: 0; outline: 0; width: 100%; }
.map-reset { background: transparent; border: 0; color: var(--secondary); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; height: 36px; padding: 0 4px; }
.map-reset:hover { color: var(--primary); text-decoration: underline; }
.map-content { min-height: 0; position: relative; }
.map-canvas { height: 100%; overflow: hidden; position: relative; width: 100%; }
.map-canvas .leaflet-tile { max-height: none !important; max-width: none !important; }
.leaflet-control-zoom a { color: var(--primary); }
.map-marker-icon { background: transparent; border: 0; }
.map-marker { align-items: center; background: var(--secondary); border: 2px solid #fff; border-radius: 13px 13px 13px 3px; box-shadow: 0 3px 10px rgb(9 51 38 / 36%); color: #fff; display: flex; height: 34px; justify-content: center; transform: rotate(-45deg); transition: background .18s, box-shadow .18s; width: 34px; }
.map-marker .material-symbols-outlined { font-size: 19px; transform: rotate(45deg); }
.map-marker.is-selected { background: #d97706; box-shadow: 0 0 0 4px rgb(245 158 11 / 24%), 0 4px 12px rgb(145 88 5 / 38%); }
.map-cluster-icon { background: transparent; border: 0; }
.map-cluster-icon span { align-items: center; background: var(--primary); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 3px 11px rgb(1 45 29 / 32%); color: #fff; display: flex; font-size: 12px; font-weight: 800; height: 40px; justify-content: center; width: 40px; }
.leaflet-control-layers { border: 1px solid var(--surface-high) !important; border-radius: 8px !important; box-shadow: 0 5px 18px rgb(1 45 29 / 14%) !important; font: 700 12px/1.3 Inter, sans-serif; }
.leaflet-control-layers-toggle { height: 36px !important; width: 36px !important; }
.leaflet-control-layers-expanded { color: var(--primary); padding: 10px 12px !important; }
.leaflet-control-layers-selector { accent-color: var(--secondary); }
.laboratory-detail-panel { background: #fff; border-left: 1px solid var(--surface-high); box-shadow: -8px 0 24px rgb(16 45 37 / 10%); height: 100%; overflow-y: auto; overscroll-behavior: contain; position: absolute; right: 0; top: 0; width: min(380px, 34vw); z-index: 500; }
.map-detail-empty { align-items: center; color: var(--muted); display: flex; flex-direction: column; padding: 76px 28px; text-align: center; }
.map-detail-empty .material-symbols-outlined { color: var(--secondary); font-size: 43px; }
.map-detail-empty h2 { color: var(--primary); font-size: 18px; margin: 15px 0 7px; }
.map-detail-empty p { font-size: 13px; line-height: 1.55; margin: 0; }
.map-detail-body { padding: 22px 20px 12px; }
.map-detail-heading { border-bottom: 1px solid var(--surface-high); padding-bottom: 17px; }
.map-detail-tag { color: var(--secondary); font-size: 10px; font-weight: 800; letter-spacing: .08em; margin: 0 0 8px; text-transform: uppercase; }
.map-detail-body h2 { color: var(--primary); font-size: 20px; line-height: 1.32; margin: 0 0 11px; }
.map-detail-tin { background: #edf7f1; border-radius: 99px; color: #17633e; display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: .02em; margin: 0; padding: 6px 10px; }
.map-detail-list { display: grid; gap: 10px; margin: 17px 0 0; }
.map-detail-item { align-items: flex-start; background: #f8faf9; border: 1px solid #edf1ef; border-radius: 10px; display: grid; gap: 10px; grid-template-columns: 28px 1fr; padding: 11px; }
.map-detail-item > .material-symbols-outlined { align-items: center; background: #e6f3eb; border-radius: 8px; color: var(--secondary); display: flex; font-size: 17px; height: 28px; justify-content: center; width: 28px; }
.map-detail-list dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; margin: 1px 0 4px; text-transform: uppercase; }
.map-detail-list dd { color: var(--text); font-size: 13px; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.map-detail-list a { color: var(--secondary); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.map-detail-photos { display: grid; gap: 12px; padding: 8px 20px 24px; }
.map-detail-photos h3 { color: var(--primary); font-size: 14px; margin: 0 0 1px; }
.map-detail-photo { background: #f8faf9; border: 1px solid #edf1ef; border-radius: 11px; margin: 0; overflow: hidden; }
.map-detail-photo img { display: block; height: 192px; object-fit: cover; width: 100%; }
.map-detail-photo.is-default-image { background: #edf7f1; }
.map-detail-photo.is-default-image img { object-fit: contain; padding: 16px; }
.map-detail-photo.is-default-avatar { background: #edf3ff; }
.map-detail-photo.is-default-avatar img { padding: 10px; }
.map-detail-photo figcaption { align-items: center; color: #50635a; display: flex; font-size: 12px; font-weight: 700; gap: 6px; padding: 9px 11px; }
.map-detail-photo figcaption .material-symbols-outlined { color: var(--secondary); font-size: 16px; }
.map-attribution { bottom: 8px; color: #53635d; font-size: 10px; left: 10px; margin: 0; pointer-events: none; position: absolute; z-index: 501; }
@media (max-width: 1120px) { .map-toolbar { grid-template-columns: auto 1fr; }.map-filters { grid-column: span 2; grid-template-columns: repeat(4, minmax(0, 1fr)); }.laboratory-detail-panel { width: min(340px, 42vw); } }
@media (max-width: 720px) { .laboratory-map-body { overflow: auto; }.laboratory-map-body .site-main { height: auto; min-height: calc(100vh - 74px); }.laboratory-map { min-height: calc(100vh - 74px); }.map-toolbar { grid-template-columns: 1fr; padding-bottom: 10px; padding-top: 11px; }.map-filters { grid-column: auto; grid-template-columns: 1fr 1fr; }.map-search { grid-column: span 2; }.map-reset { justify-self: start; }.map-content { height: calc(100vh - 298px); min-height: 440px; }.laboratory-detail-panel { bottom: 0; height: auto; max-height: 52%; top: auto; width: 100%; }.map-detail-empty { padding: 26px; }.map-detail-empty .material-symbols-outlined { font-size: 30px; }.map-attribution { display: none; } }
