/* The map is a workspace: only the results pane scrolls. */
.sv-page-map { --sv-map-top: 0px; }
.sv-new-page.sv-page-map .sv-map-shell { position:fixed; inset:var(--sv-map-top) 0 0; display:flex; flex-direction:column; width:auto; max-width:none; margin:0; padding:0; background:#fff; z-index:100; color:#263f46; }
.sv-map-shell * { box-sizing:border-box; }
.sv-new-page.sv-page-map main.sv-map-shell { padding-bottom:0 !important; }
.sv-map-shell .sv-map-header { display:flex; align-items:center; flex:none; gap:24px; min-height:72px; padding:12px 24px; border-bottom:1px solid #e0e6e6; background:#fff; }
.sv-map-shell .sv-map-brand { display:block; width:158px; flex:none; }
.sv-map-shell .sv-map-brand img { display:block; width:100%; height:auto; }
.sv-map-shell .sv-map-header h1 { margin:0; font-size:20px; line-height:1.4; font-weight:700; }
.sv-map-shell .sv-map-header nav { margin-left:auto; font-size:14px; }
.sv-map-shell .sv-map-header nav a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.sv-map-shell .sv-map-filters { display:flex; flex:none; flex-wrap:wrap; align-items:end; gap:12px; margin:0; padding:12px 24px; border:0; border-bottom:1px solid #dce3e3; border-radius:0; background:#f6f8f8; }
.sv-map-shell .sv-map-filters label { display:flex; flex-direction:column; gap:4px; flex:0 1 210px; min-width:140px; margin:0; font-size:14px; }
.sv-map-shell .sv-map-filters select { height:42px; padding:6px 32px 6px 12px; font-size:16px; border-radius:4px; }
.sv-map-shell .sv-map-filters .button { min-height:42px; min-width:104px; padding:9px 20px; border-radius:4px; font-size:15px; white-space:nowrap; }
.sv-map-shell .sv-map-filters > a { display:inline-flex; align-items:center; min-height:42px; font-size:14px; text-decoration:underline; }
.sv-map-shell .sv-map-layout { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 410px; flex:1; min-height:0; gap:0; align-items:stretch; }
.sv-map-shell .sv-map-panel { position:relative; top:auto; min-width:0; min-height:0; overflow:hidden; background:#edf1f1; }
.sv-map-shell .sv-map-canvas { position:absolute; inset:0; width:100%; height:100%; min-height:0; border:0; border-radius:0; z-index:0; }
.sv-map-shell .sv-map-status { position:absolute; left:16px; top:16px; max-width:calc(100% - 32px); margin:0; padding:9px 12px; font-size:14px; line-height:1.6; background:rgba(255,255,255,.96); border:1px solid #dce3e3; border-radius:4px; pointer-events:none; box-shadow:0 2px 6px #203c4410; z-index:1; }
.sv-map-shell .sv-map-status.is-ready { clip:rect(0,0,0,0); clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; padding:0; border:0; }
.sv-map-shell .sv-map-reset { position:absolute; top:16px; left:16px; min-height:44px; padding:10px 14px; background:#fff; border:1px solid #bdcaca; border-radius:4px; color:#26464d; font:inherit; font-size:14px; box-shadow:0 2px 6px #203c441a; cursor:pointer; }
.sv-map-shell .sv-map-results-panel { display:flex; flex-direction:column; min-height:0; min-width:0; background:#fff; border-left:1px solid #d5dfdf; }
.sv-map-shell .sv-map-results-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:16px 20px; flex:none; border-bottom:1px solid #dce3e3; }
.sv-map-shell .sv-map-results-heading h2 { margin:0; font-size:16px; font-weight:500; }
.sv-map-shell .sv-map-results-heading strong { margin:0 5px; font-size:24px; font-weight:700; }
.sv-map-shell .sv-map-results-heading p { margin:0; font-size:14px; color:#5d6e72; }
.sv-map-shell .sv-map-results { display:block; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding:0 16px 16px; }
.sv-map-shell .sv-map-card { display:grid; grid-template-columns:120px minmax(0,1fr); gap:14px; padding:20px 12px; margin:0; border:0; border-bottom:1px solid #e0e6e6; border-radius:0; overflow:visible; background:#fff; }
.sv-map-shell .sv-map-card.is-selected { outline:0; background:#eef7f7; box-shadow:16px 0 #eef7f7,-16px 0 #eef7f7; }
.sv-map-shell .sv-map-card__photo { align-self:start; }
.sv-map-shell .sv-map-card__photo img { display:block; width:120px; height:100px; min-height:0; object-fit:cover; border-radius:3px; }
.sv-map-shell .sv-map-card__body { min-width:0; padding:0; }
.sv-map-shell .sv-map-card__body h2 { margin:5px 0 8px; font-size:17px; line-height:1.5; overflow-wrap:anywhere; }
.sv-map-shell .sv-map-card__body p { font-size:14px; line-height:1.6; margin:0 0 4px; }
.sv-map-shell .sv-map-locate { min-height:40px; padding:4px 10px 4px 6px; margin:4px 0 0; border:1px solid #afc4c7; border-radius:4px; background:white; color:#28525d; font-size:14px; }
.sv-map-shell [hidden] { display:none !important; }
.sv-map-shell a:focus-visible,.sv-map-shell button:focus-visible,.sv-map-shell select:focus-visible,.sv-map-shell [tabindex]:focus-visible { outline:3px solid #147e91; outline-offset:3px; }
.sv-map-google-pin { display:grid; place-items:center; width:36px; height:36px; background:#245d6a; border:2px solid #fff; border-radius:50% 50% 50% 3px; color:#fff; font:700 15px/1 sans-serif; box-shadow:0 2px 5px #213b4455; transform:rotate(-45deg); }
.sv-map-google-pin span { transform:rotate(45deg); }
.sv-map-google-pin.is-selected { background:#a94424; }
.sv-map-google-cluster { display:grid; place-items:center; width:48px; height:48px; background:#fff; border:3px solid #245d6a; border-radius:50%; color:#245d6a; font:700 14px/1 sans-serif; box-shadow:0 2px 5px #213b4433; }
.sv-map-shell .sv-map-popup { min-width:170px; max-width:230px; color:#263f46; font-family:inherit; }
.sv-map-shell .sv-map-popup img { width:100%; height:100px; object-fit:cover; border-radius:3px; }
.sv-map-shell .sv-map-popup strong { display:block; margin:8px 0; font-size:16px; line-height:1.5; }
.sv-map-shell .sv-map-popup > a { display:block; padding:8px 0; font-size:14px; text-decoration:underline; }
.sv-map-shell .sv-map-filter-toggle,.sv-map-shell .sv-map-view-toggle { display:none; }
@media (max-width:1000px) and (min-width:701px) {
  .sv-map-shell .sv-map-layout { grid-template-columns:minmax(0,1fr) 350px; }
  .sv-map-shell .sv-map-card { grid-template-columns:95px minmax(0,1fr); gap:12px; }
  .sv-map-shell .sv-map-card__photo img { width:95px; height:95px; }
  .sv-map-shell .sv-map-filters label { flex:1; min-width:120px; }
}
@media (max-width:700px) {
  .sv-map-shell .sv-map-header { display:grid; grid-template-columns:1fr auto; grid-template-areas:"brand nav" "title filter"; min-height:96px; padding:6px 12px 10px; gap:2px 12px; }
  .sv-map-shell .sv-map-brand { width:120px; grid-area:brand; }
  .sv-map-shell .sv-map-header h1 { font-size:16px; grid-area:title; }
  .sv-map-shell .sv-map-header nav { margin-left:0; grid-area:nav; text-align:right; }
  .sv-map-shell .sv-map-header nav a { font-size:14px; }
  .sv-map-shell .sv-map-filter-toggle { display:block; grid-area:filter; min-height:40px; padding:6px 12px; background:#fff; color:#28525d; border:1px solid #b4c8cc; border-radius:4px; font-size:14px; }
  .sv-map-shell.is-enhanced .sv-map-filters { display:none; }
  .sv-map-shell.is-enhanced.is-filter-open .sv-map-filters { display:flex; }
  .sv-map-shell .sv-map-filters { padding:12px; gap:8px; max-height:45dvh; overflow:auto; }
  .sv-map-shell .sv-map-filters label { flex:1 1 40%; min-width:110px; }
  .sv-map-shell .sv-map-layout { display:block; }
  .sv-map-shell .sv-map-panel { position:absolute; inset:0; }
  .sv-map-shell .sv-map-results-panel { position:absolute; inset:0; border-left:0; }
  .sv-map-shell.is-enhanced:not(.is-list-open) .sv-map-results-panel { display:none; }
  .sv-map-shell.is-enhanced.is-list-open .sv-map-panel { visibility:hidden; }
  .sv-map-shell .sv-map-results-heading { padding:12px 16px; }
  .sv-map-shell .sv-map-results { padding-bottom:76px; }
  .sv-map-shell .sv-map-view-toggle { display:block; position:absolute; bottom:max(24px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); white-space:nowrap; min-height:46px; padding:12px 20px; color:#fff; background:#245d6a; border:1px solid #fff; border-radius:24px; font-size:15px; font-weight:700; box-shadow:0 2px 8px #203c4433; z-index:2; }
  .sv-map-shell .sv-map-reset { top:12px; left:12px; font-size:14px; }
}
@media (max-width:360px) {
  .sv-map-shell .sv-map-header { gap:8px; }
  .sv-map-shell .sv-map-brand { width:90px; }
  .sv-map-shell .sv-map-header h1 { font-size:15px; }
  .sv-map-shell .sv-map-card { grid-template-columns:90px minmax(0,1fr); gap:12px; }
  .sv-map-shell .sv-map-card__photo img { width:90px; height:90px; }
}
