/* LAB map uses one accessible surface on mobile and desktop.
   11.09.2026 (stage "map"): z-index 1900 so open(focus) can sit above the details dialog (.sv-hotel-dialog 1800);
   selected / temporary / uncertain pills, photo popup, focus note. Every rule is scoped to .sv-lab-map-*.
   Filled buttons use --brand-accent-dark (#c25700): white on it is 4.5:1, white on #ff7300 is only 2.9:1. */
.sv-lab-map-dialog{position:fixed;inset:0;z-index:1900;background:#071325aa;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.sv-lab-map-box{display:flex;flex-direction:column;width:min(1240px,100%);height:min(850px,calc(100dvh - 40px));background:white;border-radius:16px;overflow:hidden;box-shadow:0 24px 80px #0005;color:#10213d;font:inherit;font-size:15px}
.sv-lab-map-box header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #dbe2ea}
.sv-lab-map-box h2{font-size:20px;margin:0 0 4px;line-height:1.3}
.sv-lab-map-count,.sv-lab-map-note{font-size:14px;line-height:1.4;margin:0;color:#64748b}
/* 17.09.2026 (D4): shown only when the Google map failed in this tab and Leaflet drew instead */
.sv-lab-map-provider{font-size:12px;line-height:1.4;margin:2px 0 0;color:#64748b}
.sv-lab-map-box button{min-width:44px;min-height:44px;font:inherit;font-size:15px;cursor:pointer;border-radius:10px}
.sv-lab-map-close{flex:0 0 44px;background:#f1f5f9;color:#10213d;border:0;font-size:26px!important}
.sv-lab-map-alert{margin:0;padding:10px 16px;background:#fff7ed;border-bottom:1px solid #fed7aa;color:#1a1a2e;font-size:14px;line-height:1.45;font-weight:600}
.sv-lab-map-alert[hidden]{display:none}
.sv-lab-map-canvas{flex:1;min-height:200px;background:#e2e8f0;isolation:isolate}
.sv-lab-map-box footer{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 16px}
.sv-lab-map-fit{background:#fff7ed;color:#9a4d00;border:1px solid #fed7aa;padding:8px 14px;font-weight:700!important}
.sv-lab-map-pin{border:0!important;background:none!important}
.sv-lab-map-pin:focus{outline:none}
.sv-lab-map-price{display:block;transform:translate(-50%,-50%);white-space:nowrap;background:#fff;color:#10213d;border:2px solid #ff7900;padding:7px 10px;border-radius:999px;font-size:14px;font-weight:800;box-shadow:0 2px 7px #0004}
.sv-lab-map-price{width:max-content;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.sv-lab-map-pin:focus-visible .sv-lab-map-price{outline:3px solid #2563eb;outline-offset:2px}
/* оддалечена локација (>50 km from the median; round 3: it was '?' as if uncertain): dashed border + small '>50 км' — the popup says why */
.sv-lab-map-price.is-uncertain{border-style:dashed}
.sv-lab-map-price.is-uncertain::after{content:">50 км";margin-left:6px;font-size:11px;font-weight:700;color:#9a4d00;white-space:nowrap}
/* temporary pill for a hotel the current filters hide */
.sv-lab-map-price.is-temp{border:2px dashed #1a1a2e;background:#f1f5f9;color:#1a1a2e}
.sv-lab-map-price.is-selected{background:var(--brand-accent-dark,#c25700);border-color:var(--brand-accent-dark,#c25700);color:#fff;transform:translate(-50%,-50%) scale(1.08);box-shadow:0 4px 14px #0006}
.sv-lab-map-price.is-selected::after{color:#fff}
.sv-lab-map-price.is-temp.is-selected{background:#1a1a2e;border:2px dashed #fff;color:#fff}
/* popup */
.sv-lab-map-popup{color:#1a1a2e;font-size:14px;width:min(236px,calc(100vw - 84px))}
.sv-lab-map-popup-name{display:block;font-size:16px;line-height:1.3;margin:0 0 2px}
.sv-lab-map-popup:not(.has-photo) .sv-lab-map-popup-name{padding-right:36px}
.sv-lab-map-popup p{margin:6px 0!important}
.sv-lab-map-popup-supplier{color:#475569}
.sv-lab-map-popup-price{font-weight:800;font-size:15px}
.sv-lab-map-photo{margin:0 0 10px;width:100%;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:#e2e8f0;display:flex;align-items:center;justify-content:center;color:#334155;font-size:13px;line-height:1.35;text-align:center;box-sizing:border-box}
.sv-lab-map-photo img{display:block;width:100%;height:100%;object-fit:cover}
.sv-lab-map-photo.is-broken{padding:8px}
.sv-lab-map-flag{padding:6px 8px;border-radius:8px;background:#f1f5f9;color:#1a1a2e;font-size:13px;line-height:1.4}
.sv-lab-map-flag.is-warn{background:#fff7ed;color:#7c2d12;border:1px solid #fed7aa}
.sv-lab-map-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sv-lab-map-actions button{flex:1 1 auto;padding:8px 12px;font-weight:700!important;line-height:1.25}
.sv-lab-map-popup .sv-lab-map-go{background:var(--brand-accent-dark,#c25700);border:0;color:#fff}
.sv-lab-map-popup .sv-lab-map-gallery{background:#fff;color:#9a4d00;border:1px solid var(--brand-accent-dark,#c25700)}
.sv-lab-map-popup .sv-lab-map-gallery:disabled{color:#64748b;border-color:#cbd5e1;cursor:default}
.sv-lab-map-box :focus-visible{outline:3px solid #2563eb;outline-offset:2px}
/* Leaflet's own CSS is appended later and wins ties (.leaflet-touch .leaflet-bar a = 30px): one class more here. */
.sv-lab-map-box .sv-lab-map-canvas .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}
.sv-lab-map-canvas .leaflet-popup-close-button{width:44px!important;height:44px!important;font-size:24px!important;line-height:42px!important;top:4px!important;right:4px!important;border-radius:50%;background:#ffffffeb!important;color:#1a1a2e!important;box-shadow:0 1px 4px #0003}
.sv-lab-map-canvas .leaflet-popup-content{margin:12px}
@media(max-width:640px){.sv-lab-map-dialog{padding:0}.sv-lab-map-box{width:100%;height:100dvh;border-radius:0}.sv-lab-map-box h2{font-size:18px}.sv-lab-map-box footer{flex-wrap:wrap}.sv-lab-map-fit{width:100%}.sv-lab-map-box header{padding:10px 12px}.sv-lab-map-alert{padding:8px 12px}}
/* 28.09.2026 (battle 20260928-03, V3): a merged pin is a price pin too — „од“ + the cheapest price + a „+N“ badge (mapsplit.js
   regroup(), greedy pixel merge; markercluster is gone). Same face as a single pill, so a zoomed-out map is prices, never dots. */
.sv-lab-map-cluster{border:0!important;background:none!important}
.sv-lab-map-cluster:focus{outline:none}
.sv-lab-map-price.sv-lab-map-group{gap:6px;padding:6px 6px 6px 12px;cursor:pointer}
.sv-lab-map-price.sv-lab-map-group small{font-size:11px;font-weight:700;color:#475569}
.sv-lab-map-price.sv-lab-map-group b{font:inherit}
.sv-lab-map-price.sv-lab-map-group i{font-style:normal;font-size:11px;font-weight:800;line-height:1;padding:5px 7px;border-radius:999px;background:#10213d;color:#fff}
.sv-lab-map-price.sv-lab-map-group.is-uncertain::after{content:none}
.sv-lab-map-cluster:focus-visible .sv-lab-map-price{outline:3px solid #2563eb;outline-offset:2px}
.sv-lab-map-cluster:hover .sv-lab-map-price{background:#10213d;border-color:#10213d;color:#fff}
.sv-lab-map-cluster:hover .sv-lab-map-price small{color:#cbd5e1}
.sv-lab-map-cluster:hover .sv-lab-map-price i{background:#fff;color:#10213d}
@media(prefers-reduced-motion:no-preference){.sv-lab-map-price{transition:background .12s ease,border-color .12s ease,color .12s ease}}

/* the chosen hotel: a card (never a Leaflet popup). Computer: inside the map, bottom-left; phone/tablet: below. */
.sv-lab-map-canvas{position:relative}
.sv-lab-map-card{position:absolute;z-index:1000;left:12px;bottom:28px;width:min(340px,calc(100% - 24px));max-height:calc(100% - 40px);overflow:auto;
  overscroll-behavior:contain;display:grid;grid-template-columns:minmax(0,1fr);background:#fff;color:#10213d;border-radius:12px;
  box-shadow:0 6px 24px #0f172a40;font-size:14px;line-height:1.4;cursor:default}
.sv-lab-map-card[hidden]{display:none}
.sv-lab-map-card-close{position:absolute;z-index:2;top:4px;right:4px;width:44px;height:44px;padding:0;border:0;border-radius:50%!important;
  background:#ffffffeb!important;color:#10213d;font-size:24px!important;line-height:1;box-shadow:0 1px 4px #0003}
.sv-lab-map-card-photo{height:140px;overflow:hidden;background:#e2e8f0;display:flex;align-items:center;justify-content:center;
  color:#334155;font-size:13px;text-align:center}
.sv-lab-map-card-photo img{display:block;width:100%;height:100%;object-fit:cover}
.sv-lab-map-card-photo.is-broken{padding:8px;box-sizing:border-box}
.sv-lab-map-card-body{padding:10px 12px 12px;min-width:0}
.sv-lab-map-card-name{margin:0;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.sv-lab-map-card-title{display:inline;min-height:44px!important;min-width:0!important;padding:0!important;border:0;background:none;color:#9a4d00;
  font:inherit;font-weight:800;text-align:left;cursor:pointer;border-radius:4px!important}
.sv-lab-map-card-title:hover{text-decoration:underline}
.sv-lab-map-card-meta{margin:2px 0 0;font-size:13px;color:#475569}
.sv-lab-map-card-price{margin:6px 0 0;font-size:19px;font-weight:800;line-height:1.25}
.sv-lab-map-card-price small{font-size:13px;font-weight:600;color:#475569}
.sv-lab-map-card-status{margin:2px 0 0;font-size:13px;font-weight:700;color:#166534}
.sv-lab-map-card .sv-lab-map-flag{margin:6px 0 0}
.sv-lab-map-card .sv-lab-map-actions{margin-top:10px}
.sv-lab-map-card .sv-lab-map-actions button{flex:1 1 auto;min-height:44px;padding:8px 12px;border-radius:10px;font-size:14px;font-weight:700!important}
.sv-lab-map-card .sv-lab-map-go{background:var(--brand-accent-dark,#c25700);border:1px solid var(--brand-accent-dark,#c25700);color:#fff}
.sv-lab-map-card .sv-lab-map-go:hover{background:#a84b00}
.sv-lab-map-card .sv-lab-map-route,.sv-lab-map-card .sv-lab-map-gallery,.sv-lab-map-card .sv-lab-map-clear{background:#fff;color:#10213d;border:1px solid #cbd5e1}
.sv-lab-map-card .sv-lab-map-gallery:disabled{color:#64748b;cursor:default}
.sv-lab-map-card:not(:has(.sv-lab-map-card-photo)) .sv-lab-map-card-name,.sv-lab-map-card.is-list .sv-lab-map-card-name{padding-right:44px}
/* a group that zooming cannot separate: its hotels, cheapest first */
.sv-lab-map-grouplist{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px;max-height:40vh;overflow:auto;overscroll-behavior:contain}
.sv-lab-map-groupitem{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px!important;padding:8px 10px;
  border:1px solid #e2e8f0;background:#fff;color:#10213d;text-align:left;font-size:14px!important}
.sv-lab-map-groupitem:hover{background:#f8fafc;border-color:#cbd5e1}
.sv-lab-map-groupitem span{min-width:0;overflow-wrap:anywhere;font-weight:700}
.sv-lab-map-groupitem b{white-space:nowrap;font-weight:800}
/* „Детали“ from the card: the details dialog (z 1800) must be above the map (z 1900) while it is open */
.sv-lab-map-dialog.is-under{z-index:1700}
.sv-lab-map-fit svg{display:none}

/* ── phone and tablet (<1024): the map is the whole screen, × top-left, the card at the bottom across the width ── */
@media(max-width:1023px){
 .sv-lab-map-dialog{padding:0}
 .sv-lab-map-box{position:relative;width:100%;height:100vh;height:100dvh;border-radius:0}
 .sv-lab-map-dialog .sv-lab-map-box>header{position:absolute;z-index:1100;top:10px;left:10px;padding:0;border:0;background:none;pointer-events:none;min-height:0}
 .sv-lab-map-dialog .sv-lab-map-box>header>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .sv-lab-map-box .sv-lab-map-close{pointer-events:auto;width:46px;height:46px;flex:0 0 46px;border-radius:50%!important;background:#fff;
   box-shadow:0 2px 8px #0f172a4d;display:flex;align-items:center;justify-content:center;padding:0}
 .sv-lab-map-alert{position:absolute;z-index:1090;top:10px;left:66px;right:10px;border:1px solid #fed7aa;border-radius:10px;box-shadow:0 2px 8px #0f172a33}
 .sv-lab-map-workspace,.sv-lab-map-workspace:has(.sv-lab-map-route-panel:not([open])){display:block;position:relative;flex:1 1 auto;min-height:0}
 .sv-lab-map-box .sv-lab-map-workspace .sv-lab-map-canvas{position:absolute;inset:0;min-height:0}
 .sv-lab-map-canvas .leaflet-top.leaflet-left{left:auto;right:0}
 /* the route panel: a chip under × while folded, a bottom sheet while open */
 .sv-lab-map-workspace .sv-lab-map-route-panel:not([open]){position:absolute;z-index:1050;top:66px;left:10px;max-width:calc(100% - 20px);max-height:none;
   box-sizing:border-box;padding:0 16px;border:0;border-radius:22px;background:#fff;box-shadow:0 2px 8px #0f172a4d;overflow:hidden}
 .sv-lab-map-workspace .sv-lab-map-route-panel:not([open]) summary{min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;list-style:none}
 .sv-lab-map-workspace .sv-lab-map-route-panel:not([open]) summary::-webkit-details-marker{display:none}
 /* FABLE V10D §2.5 (R4): the open sheet keeps at most half of the map, so the route can be fitted above it */
 .sv-lab-map-workspace .sv-lab-map-route-panel[open]{position:absolute;z-index:1050;left:0;right:0;bottom:0;max-height:50%;overflow:auto;overscroll-behavior:contain;
   box-sizing:border-box;padding:0 12px;border:0;border-radius:14px 14px 0 0;box-shadow:0 -6px 18px #0f172a33}
 .sv-lab-map-workspace .sv-lab-map-route-panel[open] summary{position:sticky;top:0;z-index:1;background:#f8fafc}
 .sv-lab-map-route-panel[open]~.sv-lab-map-canvas .sv-lab-map-card{display:none}
 .sv-lab-map-card{left:8px;right:8px;bottom:calc(22px + env(safe-area-inset-bottom));width:auto;max-height:56%;grid-template-columns:104px minmax(0,1fr)}
 .sv-lab-map-card-photo{aspect-ratio:auto;max-height:none;height:100%;min-height:112px}
 .sv-lab-map-card.is-list{grid-template-columns:minmax(0,1fr)}
 .sv-lab-map-card-name{padding-right:40px}
 .sv-lab-map-card .sv-lab-map-actions{gap:6px}
 .sv-lab-map-card .sv-lab-map-actions button{padding:8px 10px}
 /* „Сите видливи понуди“: a round button bottom-right, above the attribution and above the card */
 .sv-lab-map-dialog .sv-lab-map-box>footer{position:absolute;z-index:1040;right:10px;bottom:calc(30px + env(safe-area-inset-bottom));padding:0;border:0;background:none;pointer-events:none}
 .sv-lab-map-dialog.has-card .sv-lab-map-box>footer{bottom:calc(var(--svmap-card-h,180px) + 34px + env(safe-area-inset-bottom))}
 /* FABLE V10D §2.5: „Сите видливи понуди“ rides above the open sheet (≤ 50 %), never under it */
 .sv-lab-map-dialog .sv-lab-map-box:has(.sv-lab-map-route-panel[open])>footer{bottom:calc(50% + 12px)}
 .sv-lab-map-box .sv-lab-map-note{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .sv-lab-map-box .sv-lab-map-fit{pointer-events:auto;width:48px!important;height:48px;min-height:48px;padding:0;border-radius:50%!important;background:#fff;
   color:#10213d;border:1px solid #dbe2ea;box-shadow:0 2px 8px #0f172a4d;display:flex;align-items:center;justify-content:center}
 .sv-lab-map-box .sv-lab-map-fit svg{display:block}
 .sv-lab-map-box .sv-lab-map-fit span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 /* Google (googlemap.css, loaded later): the same floating × — one type selector more wins the tie */
 div.sv-lab-map-dialog.is-google section.sv-lab-map-box>header{min-height:0;padding:0}
 div.sv-lab-map-dialog.is-google section.sv-lab-map-box>footer{display:none}
}

/* 13.09.2026 — нивниот панел за мапа (`.sv-pane.sv-pane-map`, React) на LAB нема правила за висина
   (тие живеат во ЖИВИОТ mapsplit.css) и се цртеше како 0px Leaflet на дното на списокот — „mapata ne
   otvara". Копчето „Мапа" сега го отвора нашиот дијалог (mapsplit.js, capture-клик пред React); ако
   панелот сепак се појави (клик пред да се вчита нашиот JS), останува невидлив, не како половина мапа. */
.sv-pane.sv-pane-map{display:none!important}

/* Routes and real places share the hotel map. Secondary controls stay neutral. */
.sv-lab-map-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);flex:1;min-height:0;min-width:0;overflow:hidden}
.sv-lab-map-route-panel{padding:0 14px;min-width:0;max-height:none;overflow:auto;background:#f8fafc;border-right:1px solid #dbe2ea;color:#10213d}
.sv-lab-map-route-panel summary{cursor:pointer;min-height:48px;align-content:center;font-weight:700;font-size:14px;line-height:1.4;list-style-position:inside}
.sv-lab-map-explore-content{padding-bottom:12px;min-width:0}
.sv-lab-map-route-panel label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;min-width:0}
.sv-lab-map-route-panel input,.sv-lab-map-route-panel select{min-height:44px;width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:9px 10px;font:inherit;font-size:14px;color:#10213d}
.sv-lab-map-route-panel button{background:white;color:#10213d;border:1px solid #cbd5e1;padding:8px 10px;font-size:13px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.sv-lab-map-route-panel button:hover{background:#e2e8f0}
.sv-lab-map-route-panel button:disabled{color:#64748b;cursor:default;background:#f1f5f9}
.sv-lab-map-explore-tabs{display:flex;gap:6px;margin:12px 0}
.sv-lab-map-explore-tabs button{flex:1;min-width:0}
.sv-lab-map-explore-tabs button[aria-pressed=true]{background:#10213d;color:#fff;border-color:#10213d}
.sv-lab-map-route-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:end}
.sv-lab-map-route-fields:first-child{grid-template-columns:minmax(0,1fr) auto}
.sv-lab-map-route-fields .sv-lab-map-from-hotel{max-width:104px}
.sv-lab-map-route-target-row{display:flex;gap:6px;align-items:center;justify-content:space-between;font-size:13px;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}
.sv-lab-map-route-target-row strong{display:block}
.sv-lab-map-route-panel .sv-lab-map-route-submit{background:#2563eb;border-color:#2563eb;color:#fff}
.sv-lab-map-route-panel .sv-lab-map-route-submit:hover{background:#1d4ed8;border-color:#1d4ed8}
.sv-lab-map-route-panel .sv-lab-map-route-submit:disabled{background:#e2e8f0;border-color:#cbd5e1;color:#64748b}
.sv-lab-map-route-status,.sv-lab-map-poi-status{font-size:13px;line-height:1.45;color:#475569;margin:10px 0;overflow-wrap:anywhere}
.sv-lab-map-origin-results{display:grid;gap:4px;margin-top:4px}
.sv-lab-map-origin-choice{text-align:left;overflow-wrap:anywhere}
.sv-lab-map-route-result{background:#eff6ff;border:1px solid #bfdbfe;padding:12px;border-radius:8px;margin:10px 0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.sv-lab-map-route-result>strong{font-size:19px;display:block;color:#10213d}
.sv-lab-map-route-result p{margin:6px 0}
.sv-lab-map-route-result small{color:#475569;display:block}
/* К3: travel time on the line as Google shows it — a white bubble with blue text; its pane (590) is under the price pins, so it never hides one */
.sv-lab-map-route-eta{border:0!important;background:none!important}
.sv-lab-map-route-eta span{position:absolute;left:0;top:0;transform:translate(-50%,-50%);white-space:nowrap;background:#fff;color:#1a73e8;border:1px solid #c6dafc;
 border-radius:8px;padding:3px 8px;font-size:13px;font-weight:700;line-height:1.3;box-shadow:0 1px 4px rgba(16,33,61,.3)}
.sv-lab-map-route-panel .sv-lab-map-route-result .sv-lab-map-route-fit{display:block;width:100%;min-height:44px;margin-top:10px;border-radius:8px}
.sv-lab-map-route-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;color:#10213d;background:white;font-size:13px;font-weight:600;text-align:center;text-decoration:none;line-height:1.3}
.sv-lab-map-route-link:hover{background:#e2e8f0}
.sv-lab-map-route-link[aria-disabled=true]{color:#64748b;cursor:default}
.sv-lab-map-poi-search{width:100%;margin-top:8px}
.sv-lab-map-poi-list{list-style:none;padding:0;margin:8px 0;display:grid;gap:6px}
.sv-lab-map-poi-choice{display:flex;flex-direction:column;gap:4px;text-align:left;width:100%;min-width:0;overflow-wrap:anywhere}
.sv-lab-map-poi-choice span{font-size:12px;color:#64748b;font-weight:400}
.sv-lab-map-poi-source{display:flex;align-items:center;min-height:44px;color:#334155;font-size:13px}
.sv-lab-map-poi-pin{background:none!important;border:0!important}
.sv-lab-map-poi-dot{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#0f766e;color:white;border:3px solid white;border-radius:50%;box-shadow:0 2px 7px #0005;font-size:25px;box-sizing:border-box}
.sv-lab-map-source-note{font-size:11px;line-height:1.5;color:#64748b;margin:12px 0 0;overflow-wrap:anywhere}
.sv-lab-map-source-note a{color:#475569;text-decoration:underline}
.sv-lab-map-popup .sv-lab-map-route,.sv-lab-map-popup .sv-lab-map-gallery,.sv-lab-map-fit{background:#fff;color:#10213d;border:1px solid #cbd5e1}
.sv-lab-map-box header,.sv-lab-map-box footer{flex:0 0 auto}
.sv-lab-map-box .sv-lab-map-canvas{min-height:160px;min-width:0}
.sv-lab-map-route-panel [hidden]{display:none!important}
@media(min-width:761px){.sv-lab-map-route-panel:not([open]){width:auto}.sv-lab-map-workspace:has(.sv-lab-map-route-panel:not([open])){grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:760px){.sv-lab-map-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(160px,1fr)}.sv-lab-map-route-panel{max-height:44dvh;padding:0 12px;border-right:0;border-bottom:1px solid #dbe2ea}.sv-lab-map-route-panel input,.sv-lab-map-route-panel select{font-size:16px}.sv-lab-map-box footer{padding:6px 12px;gap:6px}.sv-lab-map-note{font-size:11px}.sv-lab-map-fit{font-size:13px!important;min-height:44px}}
@media(max-height:500px){.sv-lab-map-workspace{grid-template-columns:300px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.sv-lab-map-route-panel{max-height:none}.sv-lab-map-box .sv-lab-map-canvas{min-height:100px}.sv-lab-map-box footer{padding:4px 12px}.sv-lab-map-note{display:none}}

/* ── 28.09.2026 (V3) Google path (googlemap.js; googlemap.css is not ours and loads later: one class / type more here) ──
   a cluster leads with its price: „од 733 €“ + a „+N“ badge */
.sv-lab-map-box .svgm-pin .svgm-more{display:inline-block;margin-left:6px;padding:4px 6px;border-radius:999px;background:#fff;color:#10213d;
  font-style:normal;font-size:11px;font-weight:800;line-height:1}
.sv-lab-map-box .svgm-pin:not(.is-cluster) .svgm-more{background:#10213d;color:#fff}
/* tablet portrait (761–1023): the phone's sheet (peek · list · card · route) under a full-width map, like the Leaflet path */
@media (min-width:761px) and (max-width:1023px) and (min-height:501px){
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-workspace{display:flex;flex-direction:column}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-canvas{order:1;grid-column:auto;grid-row:auto}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-side{order:2;grid-column:auto;grid-row:auto;border-top:1px solid #dbe2ea;border-right:0;border-radius:14px 14px 0 0;
   box-shadow:0 -6px 18px #0f172a1f;background:#fff;height:auto!important;max-height:none!important}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-side[data-view=list]{max-height:58vh!important;max-height:58dvh!important}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-side[data-view=card]{max-height:52vh!important;max-height:52dvh!important}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-side[data-view=route]{flex:1 1 auto;min-height:0}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-side[data-view=route]~.svgm-canvas{flex:0 0 auto;height:24vh;height:24dvh;min-height:110px}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-bar{display:flex!important}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-side[data-view=card] .svgm-bar,div.sv-lab-map-dialog .sv-lab-map-box .svgm-side[data-view=route] .svgm-bar{display:none!important}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-list-view{padding-top:0}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-card-body{display:flex}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-photo{flex:0 0 120px;width:120px;height:90px;aspect-ratio:auto;margin:0}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-frame{min-height:200px}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-side[data-view=peek] .svgm-strip{display:flex;gap:8px;margin:0;padding:8px 12px 6px;list-style:none;overflow-x:auto;
   overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:12px;scrollbar-width:none}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-strip>li{flex:0 0 auto;scroll-snap-align:start}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-strip-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-width:110px;
   min-height:48px;box-sizing:border-box;margin:0;padding:5px 9px;border:1px solid #dbe2ea;border-radius:10px;background:#fff;color:#10213d;text-align:left;cursor:pointer;font-family:inherit}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-strip-item span{display:block;width:0;min-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;line-height:1.3;color:#475569}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-strip-item b{font-size:14px;font-weight:800;line-height:1.3;white-space:nowrap}
 div.sv-lab-map-dialog .sv-lab-map-box .svgm-strip-item[aria-current=true]{border-color:#ff7900;background:#fff7ed}
}

/* ═══ 29.09.2026 · В5 К2 — режими „Понуди + мапа · Понуди · Мапа“ и закачена мапа (mapsplit.js „РЕЖИМИ“) ═══
   Се пали само кога листата останува ≥ 560 px (mapsplit.js dockPlan) — телефон и таблет не се допираат. */
.sv-lab-map-modes{display:inline-flex;flex:0 0 auto;border:1px solid #dbe2ea;border-radius:10px;overflow:hidden;background:#fff}
.sv-lab-map-modes[hidden]{display:none}
.sv-lab-map-mode{min-height:44px;padding:0 14px;border:0;background:#fff;color:#10213d;font:inherit;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;white-space:nowrap}
.sv-lab-map-mode+.sv-lab-map-mode{border-left:1px solid #dbe2ea}
.sv-lab-map-mode:hover{background:#f8fafc}
.sv-lab-map-mode[aria-pressed="true"]{background:#fff3e8;color:#9a4d00;box-shadow:inset 0 0 0 2px #ff7900}
.sv-lab-map-mode:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}
.sv-lab-map-lowcta{display:none;position:absolute;left:16px;right:16px;bottom:16px;min-height:44px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:999px;
 background:#ff7900;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.sv-lab-map-lowcta:hover{background:#ec6f00}
.sv-lab-map-lowcta:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
/* v9 (FABLE v7/v8 мало): on ≥ 1024 the alert line already says it — the header line would say OpenStreetMap a second time */
@media(min-width:1024px){.sv-lab-map-box:has(.sv-lab-map-alert:not([hidden])) .sv-lab-map-provider{display:none}}
html[data-svmodes] .sv-results-bar .svf-map-btn,html[data-svmodes] .sv-results-bar [data-svmap-barbtn]{display:none!important}
.sv-lab-map-area{display:flex;align-items:center;gap:8px;min-height:40px;margin-top:2px;font-size:13px;line-height:1.35;color:#10213d;cursor:pointer}
.sv-lab-map-area input{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:#c25700;cursor:pointer}
html[data-svmap-area] .sv-hotel-card[data-svmap-out="1"]{display:none!important}
.sv-lab-map-pin.is-hover .sv-lab-map-price,.sv-lab-map-cluster.is-hover .sv-lab-map-price{background:#10213d;color:#fff;border-color:#10213d;transform:translate(-50%,-50%) scale(1.1);z-index:5}
.sv-lab-map-cluster.is-hover .sv-lab-map-price small{color:#cbd5e1}
.sv-hotel-card.sv-lab-map-echo{box-shadow:0 0 0 3px #ff7900!important;transition:box-shadow .2s}
@media(min-width:1024px){
 html[data-svmap="1"] .sv-rail-section,html[data-svmap="1"] [data-svmap-list]{padding-right:calc(var(--svmap-pad,0px) + 16px)!important;box-sizing:border-box}
 /* the sticky mini search (MuiPaper > .sv-mini, position:fixed, right:4px) ends before the map, its „Пребарување“ stays clickable (measured 29.09, 1440: button under the map) */
 /* v10 (found 30.09 by the own→native probe): only while STUCK (fixed). .sv-mini stays in the form after the first stick, so the rule
    also hit the hero form back at the page top — position:relative + right:673px moved it 673 px left, half under the filters */
 html[data-svmap="1"] .sv-searchform.sv-stuck:has(>.sv-mini){width:auto!important;right:calc(var(--svmap-w,420px) + 32px)!important}
 .sv-lab-map-dialog.is-dock{position:fixed;inset:auto;top:var(--svmap-top,var(--svf-top,96px));right:16px;bottom:16px;left:auto;width:var(--svmap-w,420px);
   padding:0;background:none;z-index:880;display:block}
 .sv-lab-map-dialog.is-dock .sv-lab-map-box{width:100%;height:100%;border-radius:14px;border:1px solid #dbe2ea;box-shadow:0 6px 24px #0f172a29}
 .sv-lab-map-dialog.is-dock .sv-lab-map-box>header{padding:8px 12px;align-items:flex-start}
 .sv-lab-map-dialog.is-dock .sv-lab-map-box h2{font-size:16px;margin:0 0 2px}
 .sv-lab-map-dialog.is-dock .sv-lab-map-count{font-size:13px}
 .sv-lab-map-dialog.is-dock .sv-lab-map-box>footer{padding:8px 12px}
 .sv-lab-map-dialog.is-dock .sv-lab-map-note{display:none}
 /* the route panel is a chip over the map (as on the phone), never a 330 px column in a ~450 px map */
 .sv-lab-map-dialog.is-dock .sv-lab-map-workspace{display:block;position:relative;flex:1 1 auto;min-height:0}
 .sv-lab-map-dialog.is-dock .sv-lab-map-workspace .sv-lab-map-canvas{position:absolute;inset:0;min-height:0}
 .sv-lab-map-dialog.is-dock .sv-lab-map-route-panel:not([open]){position:absolute;z-index:1050;top:10px;left:56px;max-width:calc(100% - 66px);box-sizing:border-box;
   padding:0 14px;border:0;border-radius:22px;background:#fff;box-shadow:0 2px 8px #0f172a4d;overflow:hidden}
 .sv-lab-map-dialog.is-dock .sv-lab-map-route-panel:not([open]) summary{min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;list-style:none}
 .sv-lab-map-dialog.is-dock .sv-lab-map-route-panel:not([open]) summary::-webkit-details-marker{display:none}
 .sv-lab-map-dialog.is-dock .sv-lab-map-route-panel[open]{position:absolute;z-index:1050;top:0;left:0;bottom:0;width:min(340px,86%);overflow:auto;overscroll-behavior:contain;
   box-sizing:border-box;box-shadow:6px 0 18px #0f172a33}
 .sv-lab-map-dialog.is-dock .sv-lab-map-route-panel[open] summary{position:sticky;top:0;z-index:1;background:#f8fafc}
 /* FABLE V10D §2.1 (dock zoom): with the panel open over the map's left side the +/− move to the right edge, as on the phone */
 .sv-lab-map-dialog.is-dock .sv-lab-map-workspace:has(.sv-lab-map-route-panel[open]) .sv-lab-map-canvas .leaflet-top.leaflet-left{left:auto;right:0}
 .sv-lab-map-dialog.is-dock .sv-lab-map-card{width:min(320px,calc(100% - 24px))}
 /* v5: too little height below the results (1366×768 at the top of the page) — the map waits until the visitor scrolls */
 /* v9 (FABLE v8): too low for a real map → the panel keeps its header and offers „Прикажи ја мапата“; the map area keeps its layout
    (visibility, not display) so the chrome measure in mapsplit.js does not flip; a sliver (is-none) is hidden whole */
 .sv-lab-map-dialog.is-dock.is-low .sv-lab-map-workspace,.sv-lab-map-dialog.is-dock.is-low .sv-lab-map-box>footer{visibility:hidden}
 .sv-lab-map-dialog.is-dock.is-low.is-none{visibility:hidden;pointer-events:none}
 .sv-lab-map-dialog.is-dock.is-low:not(.is-none) .sv-lab-map-lowcta{display:inline-flex}
}
/* v5 (FABLE v4 (4)): under 1024 px the alert line sits at the top of the map — it leaves the zoom buttons (top right) free */
@media(max-width:1023px){.sv-lab-map-box .sv-lab-map-alert{right:62px}
 /* v6 (FABLE v5 (3)): the folded route chip goes below a visible alert (its height comes from setAlert) */
 .sv-lab-map-box .sv-lab-map-alert:not([hidden])~.sv-lab-map-workspace .sv-lab-map-route-panel:not([open]){top:max(66px,calc(var(--svmap-alert-h,0px) + 18px))}}

/* v8 (Codex REVIEW-17): beside the docked map the list is 380–560 px and the stacked card was 439×453 — at 1440×700 the first offer
   showed only its photo, no name, no price. Beside the map the card is a compact ROW, as booking.com's list beside its map, in
   bookinglook's own row language: the photo left in a rounded frame, then name · place · room · availability, price and „Детали“ at the
   foot. The short description stays one click away in „Детали“ (the same dialog). Only while the map is docked; the phone keeps its card. */
@container svlist (max-width:559.98px){
 /* the row's display is NOT !important: every hide rule (filters [data-svf-hidden], duplicates [data-svf-duplicate] /
    [data-svf-name-duplicate], the area [data-svmap-out], [hidden], .svf-hidden) is display:none!important and so always wins — v8 listed
    them one by one and missed the duplicates (Codex REVIEW-20); the pager's parked card (data-sv-page-out, not display:none) is left alone */
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card:not([data-sv-page-out="1"]){display:flex;flex-direction:row!important;align-items:stretch!important;gap:12px!important;padding:10px!important}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card>.sv-rail-img{flex:0 0 clamp(112px,31%,156px)!important;width:clamp(112px,31%,156px)!important;height:auto!important;
   min-height:140px!important;max-height:none!important;align-self:stretch!important;contain:size;border-radius:10px!important;overflow:hidden!important}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card>.sv-rail-img img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card>.svgal-cc{border-radius:10px}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-noimg::after{font-size:10px;padding:2px 7px}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card>.sv-rail-body{flex:1 1 auto!important;min-width:0!important;padding:0!important;display:flex!important;flex-direction:column!important}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-head{gap:4px 6px;flex-wrap:wrap}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card button.sv-rail-name{font-size:16px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-stars{font-size:12px;line-height:12px;padding:3px 6px}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-meta,
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-room{font-size:13px;line-height:1.4;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-desc{display:none}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-request{font-size:13px;line-height:1.35;margin-top:4px}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-price{margin-top:auto!important;padding-top:8px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;
   align-items:center!important;column-gap:10px!important;row-gap:0!important}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-price::before{display:none!important}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-price>div{grid-column:1;font-size:18px!important;line-height:1.2!important;min-width:0}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-price>small{grid-column:1;font-size:12px;line-height:1.3}
 html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-price>button{grid-column:2;grid-row:1/span 2;width:auto!important;padding:8px 12px!important}
}
/* v9 (FABLE v8 Г7): THEIR rows (.sv-native-hotel-card, bookinglook's native summary: photo · .sv-native-body · price column) get the
   same compact row beside the map as ours — measured 30.09 with a 40-hotel native fixture: stacked they were ~330 px, a photo first */
@container svlist (max-width:559.98px){
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card:not([data-sv-page-out="1"]){display:flex;flex-direction:row!important;align-items:stretch!important;gap:12px!important;padding:10px!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>:first-child{flex:0 0 clamp(112px,31%,156px)!important;width:clamp(112px,31%,156px)!important;height:auto!important;
   min-height:140px!important;max-height:none!important;align-self:stretch!important;contain:size;object-fit:cover!important;border-radius:10px!important;overflow:hidden!important;aspect-ratio:auto!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body{flex:1 1 auto!important;min-width:0!important;padding:0!important;display:flex!important;flex-direction:column!important;position:relative!important;min-height:0!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body>:first-child{gap:4px 6px!important;flex-wrap:wrap!important;margin-bottom:0!important;align-items:center!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card .sv-native-name{font-size:16px!important;line-height:1.3!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body>:first-child>:last-child{transform:scale(.8);transform-origin:left center}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card .sv-native-location,
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card .sv-native-room{font-size:13px!important;line-height:1.4!important;margin:2px 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card .sv-native-location *{font-size:13px!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card .sv-native-description{display:none!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card .sv-native-availability{font-size:13px!important;line-height:1.35!important;margin:4px 0 0!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body>:last-child{position:static!important;width:auto!important;margin-top:auto!important;padding:8px 0 0!important;border:0!important;
   display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;column-gap:10px!important;row-gap:0!important;text-align:left!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body>:last-child::before{display:none!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body>:last-child>:not(button){grid-column:1;font-size:18px!important;line-height:1.2!important;min-width:0;margin:0!important}
 html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body>:last-child>button{grid-column:2;grid-row:1/span 2;width:auto!important;padding:8px 12px!important}
}
/* a mouse gets bookinglook's desktop density (as svrail.css ≥ 560); a finger keeps its 44 px targets (rule 22.04) */
@media(hover:hover) and (pointer:fine){
 @container svlist (max-width:559.98px){
  html[data-svmap="1"] .sv-hotel-card.sv-rail-card button.sv-rail-name{min-height:0!important}
  html[data-svmap="1"] .sv-hotel-card.sv-rail-card .sv-rail-price>button{min-height:36px!important}
  html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card .sv-native-name{min-height:0!important}
  html[data-svmap="1"] .sv-hotel-card.sv-native-hotel-card>.sv-native-body>:last-child>button{min-height:36px!important}
 }
}
/* v8 (Codex REVIEW-17): the controls above the docked list took 215 + 252 px at 1440×700 — modes and sorting on two rows, then eleven
   quick filters in five rows. Beside the map the quick filters are one row that scrolls sideways (as on the phone; every one of them is
   also in the filter rail on the left), and modes + sorting share a row (the „Подреди“ word stays for screen readers) */
@media(min-width:1024px){
 html[data-svmap="1"][data-svbar="d"] .svbar-chips{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:6px}
 html[data-svmap="1"][data-svbar="d"] .svbar-chip{flex:0 0 auto}
 html[data-svmap="1"] .sv-lab-map-mode{padding:0 8px;font-size:13px}
 /* modes + sorting stay ONE row down to the 380 px list (1280): the select gives way, never the row (measured 30.09: 255 + 8 + 153 = 416 px
    wrapped at 1366 and 1280 — a 151 px pinned bar left room for one offer name at 1366×657) */
 html[data-svmap="1"] .sv-results-bar>:last-child{flex:1 1 auto;flex-wrap:nowrap!important;min-width:0;max-width:100%}
 html[data-svmap="1"] .sv-results-bar .sv-lab-map-modes{flex:0 0 auto}
 html[data-svmap="1"] .sv-results-bar .sv-sort{flex:1 1 auto;min-width:0}
 html[data-svmap="1"] .sv-results-bar .sv-sort select{width:100%;min-width:0;padding:0 24px 0 9px;background-position:right 7px center}
 html[data-svmap="1"] .sv-results-bar .sv-sort>span:first-child{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 /* v9 (FABLE v8 средно): hiding the heading when the bar sticks made the list jump 64 px and „N понуди“ vanished — beside the map the
    heading is compact in BOTH states instead (no height change on stick, the count stays in view) */
 html[data-svmap="1"] .sv-results-bar>:first-child{margin:0!important;font-size:1.05rem!important;line-height:1.4!important}
 html[data-svmap="1"][data-sv-count-on] .sv-results-bar>:first-child::before{font-size:1.05rem!important;line-height:1.4!important}
}
/* the 380 px list (≈ 1280–1359 px windows): the longest sort label („Цена ↓ највисока“, 109 px) still fits beside the modes */
@media(min-width:1024px) and (max-width:1359px){
 html[data-svmap="1"] .sv-lab-map-mode{padding:0 7px;font-size:12px}
}

/* The count pseudo-element replaces this text; keep only one visible heading. */
html[data-svmap="1"][data-sv-count-on] .sv-results-bar>:first-child{font-size:0!important}
