/* Contact information remains ordinary HTML; the optical frame never covers tiles or credits. */
.smm-map{--smm-height:430px;--smm-mobile-height:350px;--smm-marker:#5aa8de;position:relative;display:block;min-width:0;color:#e6f0f7;font-family:inherit;font-size:14px;line-height:1.5;background:#0c2035;border:1px solid #bfdeee40;border-radius:26px;box-shadow:inset 0 1px 0 #effaff66,0 18px 42px #0208142b;isolation:isolate;overflow:hidden}
.smm-map *{box-sizing:border-box}.smm-map [hidden]{display:none!important}
.smm-map .smm-surface{position:relative;height:var(--smm-height);min-height:240px;background:#d8e4e8;isolation:isolate}
.smm-map .smm-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1;background:#d8e4e8;outline-offset:-3px}
.smm-map .smm-loading{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:13px;pointer-events:none;color:#224763;background:linear-gradient(135deg,#e2edf0,#c1d3dd);font-size:14px}
.smm-map .smm-loading-mark{display:block;width:13px;height:13px;border:2px solid #5388ac;border-radius:50%;box-shadow:0 0 0 7px #b7d3e488}
.smm-map .smm-loading-mark:after{content:'';display:block;width:3px;height:3px;border-radius:50%;background:#5388ac;margin:3px}
.smm-map .smm-details{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 25px 24px;background:linear-gradient(126deg,#c9e4ef12,#93b6cd04 60%),#10273b;border-top:1px solid #d5ecf535;box-shadow:inset 0 1px 0 #f1faff16}
.smm-map .smm-address{min-width:0}.smm-map .smm-address strong{display:block;font-weight:550;font-size:17px;color:#eff8ff;letter-spacing:-.02em}.smm-map .smm-address p{margin:4px 0 0;color:#c7dbe9;font-size:13px;line-height:1.6}.smm-map .smm-address p.smm-note{color:#a5bfd0;font-size:12px}.smm-map .smm-phone{display:inline-block;color:#e1f1fc;font-size:14px;text-decoration:none;margin-top:9px}.smm-map .smm-hours{display:block;color:#9fb9cc;font-size:11px;margin-top:3px}
.smm-map .smm-links{display:flex;flex-direction:column;align-items:flex-start;gap:11px;flex:0 0 auto;max-width:240px}
.smm-map.smm-map-compact .smm-details{padding:17px 20px}.smm-map.smm-map-compact .smm-links{width:100%;max-width:none;flex-direction:row;justify-content:space-between;align-items:center;gap:18px}
.smm-map .smm-route{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:47px;padding:12px 15px;border:1px solid #c6e2f25c;border-radius:12px;background:linear-gradient(125deg,#b8def02b,#74a5cb0d),#23445d;color:#f0f8ff;text-decoration:none;font-size:13px;line-height:1.4;box-shadow:inset 0 1px 0 #f7fdff73,inset 0 -1px 0 #92b7cf34;transition:background-color .2s,border-color .2s}
.smm-map .smm-route:hover{background-color:#2e5471;border-color:#d8eeff9c}.smm-map .smm-route svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;flex:0 0 auto}.smm-map .smm-yandex{font-size:11px;color:#abc8dc;line-height:1.5;text-underline-offset:4px;text-decoration-color:#b4d1e04d}.smm-map a:focus-visible,.smm-map button:focus-visible{outline:2px solid #b2e4ff;outline-offset:3px}
/* These controls deliberately own their geometry even inside themes which style every button. */
.smm-map .smm-surface button.smm-activate,.smm-map .smm-surface button.smm-retry{appearance:none;font-family:inherit;letter-spacing:0;font-weight:500;line-height:1.4;min-height:46px;margin:0;border:1px solid #bad8e77a;border-radius:12px;padding:12px 16px;color:#eff8ff;background:#15354eed;box-shadow:inset 0 1px 0 #effaff66,0 5px 14px #00122020!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;cursor:pointer;transform:none!important;transition:background-color .2s,border-color .2s;isolation:isolate;overflow:hidden}
.smm-map .smm-surface button.smm-activate:before,.smm-map .smm-surface button.smm-activate:after,.smm-map .smm-surface button.smm-retry:before,.smm-map .smm-surface button.smm-retry:after{content:none!important}
.smm-map .smm-surface button.smm-activate{position:absolute!important;left:14px;right:auto;top:14px;bottom:auto;z-index:850;max-width:calc(100% - 90px);font-size:12px}
.smm-map .smm-surface button.smm-activate:hover,.smm-map .smm-surface button.smm-retry:hover{background:#214964;border-color:#dfedffa1}
.smm-map .smm-failure{position:absolute;inset:0;z-index:900;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:25px;text-align:center;color:#dbeaf5;background:radial-gradient(ellipse at 50% 10%,#23587d44,transparent 75%),#0d253a}
.smm-map .smm-failure strong{font-size:20px;font-weight:500;letter-spacing:-.02em}.smm-map .smm-failure p{font-size:13px;margin:0;color:#afc6d6}.smm-map .smm-surface button.smm-retry{position:relative!important;font-size:13px;margin-top:7px}
.smm-map .leaflet-container{font-family:inherit;font-size:13px;line-height:1.5;z-index:1}.smm-map .leaflet-pane{z-index:400}.smm-map .leaflet-tile-pane{z-index:200}.smm-map .leaflet-shadow-pane{z-index:500}.smm-map .leaflet-marker-pane{z-index:600}.smm-map .leaflet-tooltip-pane{z-index:650}.smm-map .leaflet-popup-pane{z-index:700}.smm-map .leaflet-top,.smm-map .leaflet-bottom{z-index:800}
.smm-map .leaflet-control-zoom{border:1px solid #a8bfca80;border-radius:13px;overflow:hidden;box-shadow:0 5px 20px #112c3e30;margin:14px 14px 0 0}.smm-map .leaflet-control-zoom a{display:block;width:44px;height:44px;line-height:44px;font-size:26px;font-family:Arial,sans-serif;background:#f6fafc;color:#21425a;text-decoration:none;border:0;box-shadow:inset 0 1px 0 #fff;letter-spacing:0}.smm-map .leaflet-control-zoom a:first-child{border-bottom:1px solid #a3bdca66}.smm-map .leaflet-control-zoom a:hover{background:#e3eef5}.smm-map .leaflet-control-zoom a.leaflet-disabled{color:#8ba1ad;background:#edf3f6}
.smm-map .leaflet-control-attribution{display:block;max-width:calc(100% - 8px);margin:0!important;padding:4px 7px!important;line-height:1.4!important;font-size:10px!important;background:#f5f9f5ed!important;color:#283e4b!important;box-shadow:none!important;text-align:right;white-space:normal}.smm-map .leaflet-control-attribution a{color:#244c65!important;text-decoration:underline;text-underline-offset:2px}.smm-map .leaflet-control-attribution a:hover{color:#102f45!important}
.smm-map .smm-marker{background:none;border:0}.smm-map .smm-pin{position:relative;display:flex;width:44px;height:44px;align-items:center;justify-content:center;border:2px solid #f0f9ff;border-radius:50% 50% 50% 7px;transform:rotate(-45deg);background:linear-gradient(145deg,#cce9fa,var(--smm-marker) 56%,#2d668f);box-shadow:0 4px 8px #173b516b,inset 0 1px 0 #fff8}
.smm-map .smm-pin-core{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;transform:rotate(45deg);background:#163d56;color:#effaff;font-weight:700;font-size:17px;line-height:1;box-shadow:inset 0 1px 2px #041f304f}.smm-map .smm-pin img{display:block;object-fit:contain;width:29px;height:29px;max-width:none;transform:rotate(45deg);border-radius:50%;background:#fff}.smm-map .smm-pin-entrance{width:34px;height:34px;background:#dceef8;border-color:#346f96}.smm-map .smm-pin-entrance .smm-pin-core{width:22px;height:22px;font-size:18px;background:#2b5f82}
.smm-map .leaflet-popup-content-wrapper{border:1px solid #c5dce98c;border-radius:18px;background:#102c43f7;color:#e4f2fa;box-shadow:inset 0 1px 0 #f8fcff5e,0 12px 30px #00122540}.smm-map .leaflet-popup-tip{background:#102c43;border:1px solid #bad2e34d;box-shadow:none}.smm-map .leaflet-popup-content{margin:22px 25px 23px 22px;min-width:160px;max-width:270px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.smm-map .leaflet-popup-close-button{right:5px;top:5px;width:30px!important;height:30px!important;line-height:30px!important;font-size:23px!important;color:#d6ebf8!important;box-shadow:none;background:none;border:0}.smm-map .smm-popup h3{font-size:18px;line-height:1.3;margin:0 0 10px;color:#f0f9ff;letter-spacing:-.02em;font-weight:550}.smm-map .smm-popup p{font-size:13px;margin:4px 0;color:#c7dbe8;line-height:1.6}.smm-map .smm-popup .smm-popup-note,.smm-map .smm-popup .smm-popup-hours{font-size:12px;color:#a9c2d4}.smm-map .smm-popup a.smm-popup-phone{display:inline-block;margin:10px 0 4px;color:#d8efff;font-size:15px;text-decoration:none}.smm-map .smm-popup a.smm-popup-route{display:block;min-height:44px;margin-top:17px;padding:11px 12px;text-align:center;border:1px solid #c2ddec66;border-radius:10px;background:#28516b;color:#eff9ff;text-decoration:none;font-size:13px;box-shadow:inset 0 1px 0 #fff5}
.smm-map .smm-status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.smm-map{border-radius:23px}.smm-map .smm-surface{height:var(--smm-mobile-height);min-height:260px}.smm-map .smm-details{align-items:flex-start;flex-direction:column;gap:19px;padding:22px}.smm-map .smm-links{max-width:none;width:100%;gap:12px}.smm-map .smm-route{min-height:48px;width:100%;padding:13px 16px}.smm-map .smm-address strong{font-size:18px}.smm-map .smm-address p{font-size:13px}.smm-map .smm-yandex{font-size:12px}.smm-map .leaflet-popup-content{margin:20px 25px 21px 20px;max-width:calc(100vw - 112px)}.smm-map .smm-popup h3{font-size:17px}.smm-map .leaflet-control-attribution{font-size:9px!important;max-width:100%}.smm-map[data-smm-interaction=page-scroll] .smm-canvas{touch-action:pan-y!important}.smm-map[data-smm-interaction=active] .smm-canvas{touch-action:none!important}}
@media(prefers-reduced-motion:reduce){.smm-map *{scroll-behavior:auto;transition:none!important}}
@media(max-width:760px){.smm-map.smm-map-compact .smm-details{padding:17px}.smm-map.smm-map-compact .smm-links{flex-direction:column;align-items:flex-start;gap:12px}}
/* Leave room for both touch controls and the mandatory credit inside a 350px canvas. */
@media(max-width:760px){.smm-map .leaflet-popup-content{margin:16px 21px 17px 16px}.smm-map .smm-popup h3{margin-bottom:8px}.smm-map .smm-popup p{font-size:12px;line-height:1.5}.smm-map .smm-popup .smm-popup-hours{display:none}.smm-map .smm-popup a.smm-popup-route{margin-top:11px}}
/* Only oversized cards scroll. A contained scroll keeps the route reachable,
 * and does not pass wheel/touch movement to the map or surrounding page. */
.smm-map .leaflet-popup-content.leaflet-popup-scrolled{overscroll-behavior:contain;touch-action:pan-y!important;scrollbar-width:thin;scrollbar-color:#86afc8 #183b52;outline-offset:2px}
.smm-map[data-smm-popup-scroll=true] .smm-canvas{touch-action:pan-y!important}
