#ses-map-widget *{box-sizing:border-box}
#ses-map-widget{margin:0;color:#243746;background:white;font:16px "PT Sans",Arial,sans-serif}
#ses-map-widget{max-width:1200px;margin:24px auto;padding:0 16px}
#ses-map-widget h2{color:#2174b1;font-size:28px;margin:0}
#ses-map-widget h2:after{content:"";display:block;width:76px;height:3px;margin-top:9px;background:linear-gradient(90deg,#2174b1 78%,#d53b45 78%)}
#ses-map-widget p{line-height:1.45;margin:10px 0 14px}
#ses-map-widget .tabs{display:grid;grid-template-columns:1fr 1fr;background:#edf3f8;padding:4px;gap:4px;border-radius:8px}
#ses-map-widget button,#ses-map-widget select{font:inherit;cursor:pointer;color:#2174b1;background:white;border:1px solid #b9d0e1;border-radius:6px;min-height:40px;padding:8px 12px}
#ses-map-widget button[aria-pressed=true],#ses-map-widget button:hover{background:#2174b1;color:white}
#ses-map-widget .tabs button{border:0;background:transparent;font-weight:bold}
#ses-map-widget .tabs button[aria-pressed=true]{background:#2174b1;color:white}
#ses-map-widget button:focus-visible,#ses-map-widget select:focus-visible,#ses-map-widget a:focus-visible{outline:3px solid #d53b45;outline-offset:2px}
#ses-map-widget .layout{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(260px,1fr);gap:20px;margin-top:12px;align-items:stretch}
#ses-map-widget .map{position:relative;background:#f3f7fa;border-radius:8px;overflow:hidden;min-width:0;display:flex;flex-direction:column}
#ses-map-widget .tools{position:absolute;top:10px;left:10px;display:flex;gap:4px;z-index:1}
#ses-map-widget .tools button{min-height:34px;padding:4px 10px}
#ses-map-widget .map svg{width:100%;height:350px;display:block;touch-action:pan-y}
#ses-map-widget .legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;font-size:12px;color:#486477;padding:7px 8px 10px}
#ses-map-widget .legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:#2174b1;margin-right:5px}
#ses-map-widget .legend span+span:before{background:#d53b45}
#ses-map-widget .info{padding:10px 4px 10px 0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0}
#ses-map-widget .info label{font-size:14px;color:#536878}
#ses-map-widget .info select{width:100%;margin-top:6px}
#ses-map-widget .info h3{font-size:24px;color:#2174b1;margin:0;overflow-wrap:anywhere}
#ses-map-widget .info p{margin:7px 0;font-size:15px}
#ses-map-widget .check{color:#2174b1;font-weight:bold}
#ses-map-widget .contact{border-top:1px solid #d7e4ed;padding-top:12px}
#ses-map-widget .contact a{display:block;color:#2174b1;font-size:23px;font-weight:bold;text-decoration:none;margin:5px 0 10px}
#ses-map-widget .contact .call{background:#2174b1;color:white;border-radius:6px;text-align:center;font-size:16px;padding:10px}
#ses-map-widget .pin{cursor:pointer}
#ses-map-widget .pin .dot{fill:#2174b1;stroke:white;stroke-width:1.5}
#ses-map-widget .pin .halo{fill:#d53b45;opacity:0}
#ses-map-widget .pin.active .halo{opacity:.18}
#ses-map-widget .pin.active .dot{fill:#d53b45}
#ses-map-widget .pin:focus-visible .dot{stroke:#102f49;stroke-width:3}
#ses-map-widget .pin text{fill:#174e76;paint-order:stroke;stroke:#f3f7fa;stroke-width:3;stroke-linejoin:round;pointer-events:none;font-weight:600}
#ses-map-widget .pin.active text{fill:#b92e39;font-weight:bold}
#ses-map-widget .pin:hover text,#ses-map-widget .pin:focus-visible text{display:block!important}
#ses-map-widget small{display:block;margin-top:8px;color:#536878;line-height:1.4;font-size:12px}
@media(max-width:700px){#ses-map-widget .layout{grid-template-columns:1fr;gap:10px}
#ses-map-widget .info{display:contents}
#ses-map-widget .picker{grid-row:1}
#ses-map-widget .map{grid-row:2}
#ses-map-widget .details{grid-row:3}
#ses-map-widget .contact{grid-row:4}
#ses-map-widget .map svg{height:clamp(220px,65vw,340px)}
#ses-map-widget h2{font-size:24px}
#ses-map-widget .tabs button{font-size:14px;padding:8px 4px}}
@media(max-width:360px){#ses-map-widget{padding:0 8px}
#ses-map-widget .tabs button{font-size:12px}
#ses-map-widget .contact a{font-size:20px}}
#ses-map-widget .tabs button,#ses-map-widget .tools button,#ses-map-widget .contact .call{font-weight:700;border-radius:6px;transition:background-color .2s ease,color .2s ease,border-color .2s ease;box-shadow:none;transform:none}
#ses-map-widget .tabs button:not([aria-pressed=true]):hover,#ses-map-widget .tools button:hover{background:#edf5fb;color:#195e91;border-color:#2174b1}
#ses-map-widget .tabs button:not([aria-pressed=true]):active,#ses-map-widget .tools button:active{background:#dceaf5;color:#124c77}
#ses-map-widget .tabs button[aria-pressed=true]:hover,#ses-map-widget .contact .call:hover{background:#195e91;color:#fff}
#ses-map-widget .tabs button[aria-pressed=true]:active,#ses-map-widget .contact .call:active{background:#124c77;color:#fff}
#ses-map-widget .tools button{border-color:#2174b1;font-size:15px}
#ses-map-widget .contact .call{min-height:44px;padding:10px 20px;border:2px solid transparent;font-size:17px;line-height:1.2;display:flex;align-items:center;justify-content:center}
#ses-map-widget .contact .call:hover{border-color:#195e91}
#ses-map-widget .contact .call:active{border-color:#124c77}
#ses-map-widget button:focus-visible,#ses-map-widget select:focus-visible,#ses-map-widget a:focus-visible{outline:2px solid #195e91;outline-offset:3px}
#ses-map-widget .pin .dot,#ses-map-widget .pin .halo{transition:fill .2s ease,opacity .2s ease}
#ses-map-widget .pin:not(.active):hover .dot{fill:#195e91}
@media(prefers-reduced-motion:reduce){#ses-map-widget .tabs button,#ses-map-widget .tools button,#ses-map-widget .contact .call,#ses-map-widget .pin .dot,#ses-map-widget .pin .halo{transition:none}}
#ses-map-widget .pin.priority .dot{fill:#d53b45}
#ses-map-widget .pin.priority text{fill:#b92e39;font-weight:bold}
#ses-map-widget .pin.priority:not(.active):hover .dot{fill:#b92e39}
#ses-map-widget .pin:not(.priority).active .dot{fill:#2174b1}
#ses-map-widget .pin:not(.priority).active text{fill:#174e76}
#ses-map-widget .pin.active .halo{fill:#2174b1;opacity:.25}
#ses-map-widget .pin.priority.active .halo{fill:#d53b45}
#ses-map-widget .legend .selected-key:before{background:#2174b1;box-shadow:0 0 0 3px #c6dce9}
#ses-map-widget .pin.priority .dot{stroke-width:2}
#ses-map-widget {max-width:none;margin:0;padding:0;background:transparent;}
#ses-map-widget, #ses-map-widget * {box-sizing:border-box;}
#ses-map-widget h2:before,#ses-map-widget h3:before,#ses-map-widget h3:after {content:none!important;display:none!important;}
#ses-map-widget h2,#ses-map-widget h3 {padding:0!important;text-align:left;}
#ses-map-widget h2:after {position:static!important;height:3px!important;width:76px!important;}
#ses-map-widget button {float:none;position:static;}

#ses-map-widget .map svg.ses-map-zoomed{cursor:grab;touch-action:none;user-select:none}
#ses-map-widget .map svg.ses-map-dragging,#ses-map-widget .map svg.ses-map-dragging .pin{cursor:grabbing}

/* Continuous touch dragging when zoomed; normal page scroll otherwise. */
#ses-map-widget .map svg.ses-map-zoomed, #ses-map-widget .map svg.ses-map-zoomed * {touch-action:none!important;-webkit-user-select:none;user-select:none;}
/* SES MAP v1.2 — убираем браузерную рамку маркеров */

#ses-map-widget .pin:focus {
    outline: none !important;
}