/* EVBOOST shared Location Sheet */
/* Підключається один раз і використовується і на мапі, і в планувальнику. */

:root {
    --evb-sheet-text: #111827;
    --evb-sheet-muted: #6b7280;
    --evb-sheet-bg: #f8fafc;
    --evb-sheet-card: #ffffff;
    --evb-sheet-line: #e5e7eb;
    --evb-sheet-yellow: #facc15;
    --evb-sheet-yellow-dark: #eab308;
    --evb-sheet-green: #37c900;
    --evb-sheet-blue: #1d4ed8;
    --evb-sheet-gray: #9ca3af;
    --evb-sheet-shadow: 0 18px 50px rgba(15, 23, 42, .18);
    --evb-location-sheet-desktop-width: 420px;
}

/* Root */

#evbLocationSheetRoot {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#evbLocationSheetRoot.is-open {
    pointer-events: auto;
}

#evbLocationSheetRoot,
#evbLocationSheetRoot * {
    box-sizing: border-box;
}

/* Desktop map mounting */

@media (min-width: 769px) {
    #mapShell {
        position: relative;
    }

    #mapShell #evbLocationSheetRoot {
        position: absolute;
        inset: 0;
        z-index: 120;
        pointer-events: none;
    }

    #mapShell #evbLocationSheetRoot.is-open {
        pointer-events: none;
    }

    #mapShell #evbLocationSheetRoot .evb-location-sheet {
        pointer-events: auto;
    }

    body.evb-location-sheet-open-desktop-map {
        overflow: auto;
        height: auto;
        position: static;
    }
}

/* Backdrop */

.evb-location-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

#evbLocationSheetRoot.is-open .evb-location-sheet-backdrop {
    opacity: 1;
}

@media (min-width: 769px) {
    #mapShell .evb-location-sheet-backdrop {
        display: none;
    }
}

/* Sheet */

.evb-location-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--evb-sheet-bg);
    color: var(--evb-sheet-text);
    border-radius: 0;
    box-shadow: var(--evb-sheet-shadow);
    transform: translateY(0);
    pointer-events: auto;
}

@media (min-width: 769px) {
    #mapShell .evb-location-sheet,
    #evbLocationSheetRoot[data-context="map"] .evb-location-sheet {
        position: absolute;
        left: 24px;
        top: 124px;
        right: auto;
        bottom: 16px;
        width: var(--evb-location-sheet-desktop-width);
        height: auto;
        max-height: none;
        border-radius: 18px;
        box-shadow: var(--evb-sheet-shadow);
    }

    #evbLocationSheetRoot:not([data-context="map"]) .evb-location-sheet {
        left: 50%;
        top: auto;
        right: auto;
        bottom: 24px;
        width: min(620px, calc(100vw - 32px));
        height: min(86dvh, 820px);
        border-radius: 24px;
        transform: translateX(-50%);
    }

    #evbLocationSheetRoot[data-context="planner"] .evb-location-sheet,
    #evbLocationSheetRoot[data-context="range"] .evb-location-sheet {
        width: var(--evb-location-sheet-desktop-width);
        max-width: calc(100vw - 32px);
    }
}

/* Scroll content */

.evb-location-scroll {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 12px 168px;
    background: var(--evb-sheet-bg);
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 24, 39, .22) transparent;
}

.evb-location-scroll::-webkit-scrollbar {
    width: 6px;
}

.evb-location-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(17, 24, 39, .22);
}

@media (min-width: 769px) {
    #mapShell .evb-location-scroll,
    #evbLocationSheetRoot[data-context="map"] .evb-location-scroll {
        padding: 8px 10px 12px;
    }

    #evbLocationSheetRoot:not([data-context="map"]) .evb-location-scroll {
        padding: 12px 14px 120px;
    }
}

/* Photo */

.evb-location-photo {
    position: relative;
    width: 100%;
    height: 176px;
    min-height: 176px;
    margin: 0 0 12px;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background: #e5e7eb center / cover no-repeat;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .10);
    cursor: default;
}

.evb-location-photo-clickable {
    cursor: pointer;
}

.evb-location-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0) 42%, rgba(0,0,0,.28));
    pointer-events: none;
}

@media (min-width: 769px) {
    #mapShell .evb-location-photo,
    #evbLocationSheetRoot[data-context="map"] .evb-location-photo {
        height: 164px;
        min-height: 164px;
    }
}

@media (max-width: 380px) {
    .evb-location-photo {
        height: 158px;
        min-height: 158px;
    }
}

.evb-location-photo-count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.evb-location-photo-fallback {
    background:
        radial-gradient(circle at 30% 20%, rgba(250,204,21,.24), transparent 34%),
        radial-gradient(circle at 78% 28%, rgba(21,128,61,.16), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #eef2f7 55%, #e5e7eb 100%);
}

.evb-location-photo-fallback::after {
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(15,23,42,.06));
}

.evb-location-photo-fallback-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    color: var(--evb-sheet-text);
}

.evb-location-photo-placeholder-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--evb-sheet-yellow);
    color: var(--evb-sheet-text);
    box-shadow: 0 10px 24px rgba(250,204,21,.24);
}

.evb-location-photo-placeholder-icon svg {
    width: 30px;
    height: 30px;
}

.evb-location-photo-fallback-inner strong {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -.015em;
}

.evb-location-photo-fallback-inner small {
    max-width: 260px;
    color: var(--evb-sheet-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* Close button */

.evb-location-close {
    position: absolute;
    top: calc(10px + env(safe-area-inset-top));
    right: 12px;
    z-index: 50;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: var(--evb-sheet-text);
    box-shadow: 0 8px 22px rgba(15,23,42,.16);
    cursor: pointer;
}

.evb-location-close svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 769px) {
    .evb-location-close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }
}

/* Header */

.evb-location-head-v3 {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin: 0 0 8px;
}

.evb-location-logo {
    width: 58px;
    height: 48px;
    min-width: 58px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.evb-location-logo img {
    width: 54px;
    height: 40px;
    max-width: 54px;
    max-height: 40px;
    object-fit: contain;
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.evb-location-logo span {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--evb-sheet-text);
    font-size: 30px;
    line-height: 1;
}

.evb-location-title-wrap {
    min-width: 0;
}

.evb-location-title-wrap h2,
.evb-location-title-wrap h2 *,
.evb-location-operator-link,
.evb-location-operator-link * {
    margin: 0;
    color: var(--evb-sheet-text);
    font-size: 18px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.012em;
    text-decoration: none;
}

@media (min-width: 521px) {
    .evb-location-title-wrap h2,
    .evb-location-title-wrap h2 *,
    .evb-location-operator-link,
    .evb-location-operator-link * {
        font-size: 20px;
    }
}

.evb-location-filter-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    color: var(--evb-sheet-text);
    text-decoration: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    line-height: 1.15;
    cursor: pointer;
}

.evb-location-filter-link:hover,
.evb-location-filter-link:focus {
    color: var(--evb-sheet-text);
    text-decoration: none;
    outline: none;
}

.evb-location-filter-link-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.evb-location-filter-link-arrow {
    width: 17px;
    height: 17px;
    min-width: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--evb-sheet-text);
    font-size: 13px;
    font-weight: 600;
    transform: translateY(-1px);
}

.evb-location-filter-link:hover .evb-location-filter-link-arrow {
    background: var(--evb-sheet-yellow);
}

/* Rating */

.evb-location-rating {
    width: 98px;
    min-width: 98px;
    max-width: 98px;
    height: 34px;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 8px;
    border: 1.5px solid var(--evb-sheet-line);
    border-radius: 999px;
    background: #fff;
    color: var(--evb-sheet-text);
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.evb-location-rating:hover,
.evb-location-rating:focus {
    border-color: #d1d5db;
    outline: none;
}

.evb-location-rating.has-user-rating,
.evb-location-rating.is-locked {
    cursor: default;
    pointer-events: none;
}

.evb-rating-stars-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    line-height: 1;
}

.evb-rating-star {
    width: 12px;
    height: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -2px;
    color: #d1d5db;
    font-size: 13px;
    line-height: 13px;
}

.evb-rating-star:first-child {
    margin-left: 0;
}

.evb-rating-star.is-on {
    color: var(--evb-sheet-yellow-dark);
}

/* Address and maker */

.evb-location-address-v3 {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 8px 0 7px;
    color: var(--evb-sheet-text);
}

.evb-location-address-v3 span {
    width: 22px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--evb-sheet-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
}

.evb-location-address-v3 b {
    color: var(--evb-sheet-text);
    font-size: 14px;
    line-height: 1.28;
    font-weight: 500;
    letter-spacing: -.01em;
}

.evb-location-maker-row,
.evb-location-maker-row *,
.evb-location-maker-label,
.evb-location-maker-link,
.evb-location-maker-link * {
    color: var(--evb-sheet-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.evb-location-maker-row {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin: 6px 0 12px 32px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.evb-location-maker-label {
    color: var(--evb-sheet-muted);
}

.evb-location-promo,
.evb-location-warning {
    margin: 10px 0 12px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.evb-location-promo {
    background: #fffbeb;
    color: #854d0e;
    border: 1px solid #fde68a;
}

.evb-location-warning {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Actions */

.evb-location-icon-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 9px 0 11px;
}

.evb-location-icon-action {
    position: relative;
    width: 100%;
    height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible;
    border: 1.5px solid var(--evb-sheet-line);
    border-radius: 13px;
    background: #fff;
    color: var(--evb-sheet-text);
    box-shadow: none;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.evb-location-icon-action:hover,
.evb-location-icon-action:focus,
.evb-location-icon-action:active {
    background: #fff;
    border-color: #d1d5db;
    color: var(--evb-sheet-text);
    box-shadow: none;
    transform: none;
    outline: none;
    text-decoration: none;
}

.evb-location-icon-action svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.evb-location-icon-action svg * {
    fill: none;
    stroke: currentColor;
    stroke-width: inherit;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.evb-location-fav-action.is-active {
    background: #fff;
    border-color: #fca5a5;
    color: #dc2626;
}

.evb-location-fav-action.is-active svg,
.evb-location-fav-action.is-active svg * {
    fill: currentColor;
    stroke: currentColor;
}

.evb-location-copy-action .evb-icon-default,
.evb-location-copy-action .evb-icon-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.evb-location-copy-action .evb-icon-success {
    display: none;
}

.evb-location-copy-action.is-copied {
    border-color: #86efac;
    color: #15803d;
}

.evb-location-copy-action.is-copied .evb-icon-default {
    display: none;
}

.evb-location-copy-action.is-copied .evb-icon-success {
    display: inline-flex;
}

.evb-location-icon-action em {
    position: absolute;
    top: 6px;
    right: 7px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--evb-sheet-yellow-dark);
    border-radius: 999px;
    background: var(--evb-sheet-yellow);
    color: var(--evb-sheet-text);
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    box-shadow: none;
}

.evb-location-operator-app-action.is-disabled {
    opacity: .32;
    cursor: not-allowed;
    color: #9ca3af;
    background: #fff;
    border-color: var(--evb-sheet-line);
    pointer-events: none;
}

.evb-action-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 50;
    transform: translateX(-50%) translateY(4px);
    padding: 7px 10px;
    border: 1px solid var(--evb-sheet-line);
    border-radius: 10px;
    background: #fff;
    color: var(--evb-sheet-text);
    box-shadow: 0 8px 20px rgba(15,23,42,.14);
    font-size: 11px;
    line-height: 1;
    font-weight: 850;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .14s ease;
}

.evb-action-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-right: 1px solid var(--evb-sheet-line);
    border-bottom: 1px solid var(--evb-sheet-line);
    transform: translate(-50%, -4px) rotate(45deg);
}

.evb-location-icon-action:hover .evb-action-tooltip,
.evb-location-icon-action:focus .evb-action-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Connectors */

.evb-location-connectors-v3 {
    margin: 12px 0 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.evb-app-connectors {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 12px;
    padding: 0;
    overflow: visible;
}


.evb-location-promo-placement {
    width: 100%;
    margin: 5px 0;
    padding: 0;
    flex: 0 0 auto;
}

.evb-location-promo-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background: #0b0b0b;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    line-height: 0;
}

.evb-location-promo-banner__link,
.evb-location-promo-banner__static {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: inherit;
    text-decoration: none;
    line-height: 0;
}

.evb-location-promo-banner__link {
    cursor: pointer;
}

.evb-location-promo-banner__link:focus-visible {
    outline: 3px solid rgba(250, 204, 21, .48);
    outline-offset: -3px;
}

.evb-location-promo-banner__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 0;
    user-select: none;
    -webkit-user-drag: none;
}

.evb-app-connector-card {
    position: relative;
    z-index: 1;
    height: 74px;
    min-height: 74px;
    display: grid;
    grid-template-columns: 52px 132px minmax(0, 1fr) 66px;
    align-items: stretch;
    overflow: visible;
    border: 1px solid var(--evb-sheet-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
}

.evb-app-connector-card:has(.evb-app-connector-info-wrap.is-open) {
    z-index: 50;
}

.evb-app-connector-num {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9px 0 0 9px;
    background: var(--evb-sheet-green);
    color: #fff;
    font-size: 22px;
    font-weight: 850;
    line-height: 1;
}

.evb-app-connector-card.is-charging .evb-app-connector-num,
.evb-app-connector-card.is-charging .evb-app-connector-status {
    background: var(--evb-sheet-blue);
}

.evb-app-connector-card.is-unavailable .evb-app-connector-num {
    background: var(--evb-sheet-gray);
}

.evb-app-connector-card.is-unavailable .evb-app-connector-status {
    background: #ef4444;
}

.evb-app-connector-card.is-unknown .evb-app-connector-num,
.evb-app-connector-card.is-unknown .evb-app-connector-status {
    background: #6b7280;
}

.evb-app-connector-left {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 4px 9px 12px;
}

.evb-app-connector-mid {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 9px 2px 9px 14px;
}

.evb-app-connector-icon-wrap {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 0 0;
}

.evb-app-connector-power {
    margin: 0;
    color: var(--evb-sheet-text);
    font-size: 19px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.evb-app-connector-price {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0 0;
    overflow: visible;
    color: var(--evb-sheet-text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.evb-app-connector-name {
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--evb-sheet-text);
    font-size: 17px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.evb-app-connector-status {
    height: 24px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 7px;
    background: var(--evb-sheet-green);
    color: #fff;
    font-size: 11.5px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.evb-app-connector-icon-circle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
}

.evb-real-connector-icon {
    display: inline-flex;
    background: currentColor;
    color: #111827;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.evb-app-connector-icon-circle .evb-location-real-connector-icon,
.evb-app-connector-icon-circle .evb-real-connector-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    color: #000;
    background: #000;
}

/* Connector icons */

.evb-icon-chademo {
    mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-chademo.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-chademo.svg");
}

.evb-icon-ccs1 {
    mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-ccs1.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-ccs1.svg");
}

.evb-icon-ccs2 {
    mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-ccs2.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-ccs2.svg");
}

.evb-icon-type1 {
    mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-type1.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-type1.svg");
}

.evb-icon-type2 {
    mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-type2.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-type2.svg");
}

.evb-icon-gbt {
    mask-image: url("/img/gbt-dc.png");
    -webkit-mask-image: url("/img/gbt-dc.png");
}

.evb-icon-nacs {
    mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-tesla.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg@7.4.47/svg/ev-plug-tesla.svg");
}

/* Parking tooltip */

.evb-app-connector-info-wrap {
    position: relative;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.evb-app-connector-price-info {
    width: 15px;
    height: 15px;
    min-width: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #9ca3af;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.evb-app-connector-parking-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    z-index: 100;
    width: max-content;
    max-width: 210px;
    padding: 8px 10px;
    border: 1px solid var(--evb-sheet-line);
    border-radius: 10px;
    background: #fff;
    color: var(--evb-sheet-text);
    box-shadow: 0 12px 26px rgba(15,23,42,.18);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
    transition: .14s ease;
}

.evb-app-connector-parking-tip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-right: 1px solid var(--evb-sheet-line);
    border-bottom: 1px solid var(--evb-sheet-line);
    transform: translate(-50%, -4px) rotate(45deg);
}

.evb-app-connector-info-wrap.is-open .evb-app-connector-parking-tip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 390px) {
    .evb-app-connector-card {
        grid-template-columns: 50px 124px minmax(0, 1fr) 60px;
        height: 72px;
        min-height: 72px;
    }

    .evb-app-connector-left {
        padding-left: 11px;
    }

    .evb-app-connector-mid {
        padding-left: 12px;
    }

    .evb-app-connector-power {
        font-size: 18px;
    }

    .evb-app-connector-price {
        font-size: 11px;
    }

    .evb-app-connector-name {
        font-size: 16px;
    }

    .evb-app-connector-status {
        font-size: 11px;
    }

    .evb-app-connector-icon-circle {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .evb-app-connector-icon-circle .evb-location-real-connector-icon,
    .evb-app-connector-icon-circle .evb-real-connector-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }

    .evb-app-connector-parking-tip {
        max-width: 165px;
        font-size: 10.5px;
    }
}

/* Empty */

.evb-location-empty {
    padding: 16px;
    border: 1px solid var(--evb-sheet-line);
    border-radius: 14px;
    background: #fff;
    color: var(--evb-sheet-muted);
    font-size: 14px;
    font-weight: 750;
    text-align: center;
}

/* CTA */

.evb-location-cta-v3 {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: 100vw;
    flex: 0 0 auto;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(17,24,39,.08);
    background: rgba(255,255,255,.96);
    box-shadow: 0 -14px 34px rgba(15,23,42,.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 769px) {
    #mapShell .evb-location-cta-v3,
    #evbLocationSheetRoot[data-context="map"] .evb-location-cta-v3,
    #evbLocationSheetRoot[data-context="planner"] .evb-location-cta-v3,
    #evbLocationSheetRoot[data-context="range"] .evb-location-cta-v3 {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
        border-radius: 0 0 18px 18px;
    }
}

.evb-location-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.evb-location-btn {
    height: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 8px;
    border-radius: 13px;
    font-size: 13.5px;
    line-height: 1;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.evb-location-btn:hover,
.evb-location-btn:focus {
    text-decoration: none;
    filter: none;
    transform: none;
    outline: none;
}

.evb-location-btn.is-secondary {
    border: 1.5px solid var(--evb-sheet-yellow-dark);
    background: #fff;
    color: var(--evb-sheet-text);
    box-shadow: none;
}

.evb-location-btn.is-secondary:hover,
.evb-location-btn.is-secondary:focus {
    border-color: #d4a907;
    background: #fff;
    color: var(--evb-sheet-text);
}

.evb-location-btn.evb-open-app-btn {
    border: 2px solid var(--evb-sheet-yellow-dark);
    background: var(--evb-sheet-yellow);
    color: var(--evb-sheet-text);
    box-shadow: none;
}

.evb-location-btn.evb-open-app-btn:hover,
.evb-location-btn.evb-open-app-btn:focus {
    border-color: #ca8a04;
    background: var(--evb-sheet-yellow);
    color: var(--evb-sheet-text);
}

.evb-navigation-btn-icon,
.evb-open-app-btn-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--evb-sheet-text);
}

.evb-navigation-btn-icon svg,
.evb-open-app-btn-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.evb-location-spacer {
    height: 12px;
    min-height: 12px;
}

/* Route picker, локально в карточці */

.evb-route-picker[hidden] {
    display: none;
}

.evb-route-picker {
    position: absolute;
    inset: 0;
    z-index: 120;
    pointer-events: auto;
}

.evb-route-picker-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: rgba(15, 23, 42, .35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.evb-route-picker-card {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 2;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .32);
}

.evb-route-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.evb-route-picker-head strong {
    display: block;
    color: var(--evb-sheet-text);
    font-size: 17px;
    line-height: 1;
    font-weight: 950;
}

.evb-route-picker-head small {
    display: block;
    margin-top: 5px;
    color: var(--evb-sheet-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
}

.evb-route-picker-head button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--evb-sheet-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.evb-route-picker-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.evb-route-picker-options a {
    height: 118px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    padding: 12px 8px 10px;
    border: 1.5px solid var(--evb-sheet-line);
    border-radius: 22px;
    background: #fff;
    color: var(--evb-sheet-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.evb-route-picker-options a:hover,
.evb-route-picker-options a:focus {
    border-color: #d1d5db;
    background: #fff;
    color: var(--evb-sheet-text);
    box-shadow: none;
    transform: none;
    outline: none;
    text-decoration: none;
}

.evb-route-picker-options a.is-operator {
    grid-column: 1 / -1;
    height: 70px;
    min-height: 70px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 14px;
}

.evb-route-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--evb-sheet-text);
}

.evb-route-icon img,
.evb-route-icon svg {
    width: 54px;
    height: 54px;
    max-width: 54px;
    max-height: 54px;
    display: block;
    object-fit: contain;
    margin: 0;
}

.evb-route-icon-waze svg {
    width: 60px;
    height: 60px;
}

.evb-route-icon-operator img {
    width: 46px;
    height: 46px;
    max-width: 46px;
    max-height: 46px;
}

.evb-route-picker-options span:not(.evb-route-icon) {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--evb-sheet-text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.05;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 390px) {
    .evb-route-picker-options {
        gap: 10px;
    }

    .evb-route-picker-options a {
        height: 106px;
        min-height: 106px;
        border-radius: 18px;
        padding: 10px 6px 9px;
        gap: 8px;
    }

    .evb-route-icon {
        width: 52px;
        height: 52px;
    }

    .evb-route-icon img,
    .evb-route-icon svg,
    .evb-route-icon-waze svg {
        width: 49px;
        height: 49px;
        max-width: 49px;
        max-height: 49px;
    }

    .evb-route-picker-options span:not(.evb-route-icon) {
        font-size: 12px;
    }
}

/* Comments view */

.evb-location-comments-view {
    position: absolute;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    background: var(--evb-sheet-bg);
}

.evb-location-comments-view[hidden] {
    display: none;
}

.evb-location-comments-head {
    height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    background: #fff;
    border-bottom: 1px solid rgba(17,24,39,.08);
}

.evb-location-comments-head button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--evb-sheet-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.evb-location-comments-head strong {
    display: block;
    color: var(--evb-sheet-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.evb-location-comments-head span {
    display: block;
    margin-top: 3px;
    color: var(--evb-sheet-muted);
    font-size: 12px;
    font-weight: 500;
}

.evb-location-comments-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 14px 18px;
}

.evb-location-comment-card,
.evb-location-comment-empty {
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 14px;
    background: #fff;
}

.evb-location-comment-author {
    color: var(--evb-sheet-text);
    font-size: 14px;
    font-weight: 700;
}

.evb-location-comment-date {
    margin-top: 2px;
    color: var(--evb-sheet-muted);
    font-size: 12px;
}

.evb-location-comment-text {
    margin-top: 8px;
    color: #374151;
    font-size: 14px;
    line-height: 1.35;
}

.evb-location-comment-empty {
    color: var(--evb-sheet-muted);
    font-size: 14px;
    font-weight: 650;
    text-align: center;
}

/* Photo gallery */

.evb-photo-gallery[hidden] {
    display: none;
}

.evb-photo-gallery {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    touch-action: pan-y;
}

.evb-photo-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .86);
}

.evb-photo-gallery-card {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 58px 10px 72px;
}

.evb-photo-gallery-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.evb-photo-gallery-back {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    left: 10px;
    z-index: 2147483602;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: var(--evb-sheet-text);
    box-shadow: 0 12px 28px rgba(15,23,42,.22);
    cursor: pointer;
}

.evb-photo-gallery-back svg {
    width: 25px;
    height: 25px;
}

.evb-photo-gallery-nav {
    position: fixed;
    top: 50%;
    z-index: 2147483601;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--evb-sheet-text);
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.evb-photo-gallery-nav.is-prev {
    left: 14px;
}

.evb-photo-gallery-nav.is-next {
    right: 14px;
}

.evb-photo-gallery-counter {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 2147483601;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--evb-sheet-text);
    font-size: 13px;
    font-weight: 900;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    body.evb-location-sheet-open {
        overflow: hidden;
        height: 100dvh;
        overscroll-behavior: none;
    }

    body.evb-location-sheet-open nav,
    body.evb-location-sheet-open header,
    body.evb-location-sheet-open .navbar,
    body.evb-location-sheet-open .navbar-collapse {
        display: none;
        visibility: hidden;
        pointer-events: none;
        z-index: 0;
    }

    body.evb-location-sheet-open .evb-map-overlay,
    body.evb-location-sheet-open .evb-mobile-map-controls,
    body.evb-location-sheet-open .evb-map-locations-counter,
    body.evb-location-sheet-open .evb-new-panel,
    body.evb-location-sheet-open .evb-map-shortcuts-column {
        display: none;
        visibility: hidden;
        pointer-events: none;
    }

    .evb-photo-gallery-nav {
        display: none;
    }
}

body.evb-photo-gallery-open #evbLocationSheetRoot .evb-location-close {
    display: none;
    visibility: hidden;
    pointer-events: none;
}
#evbRatingModal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483647!important;
    display:none!important;
}

#evbRatingModal.is-open{
    display:block!important;
}

#evbRatingModal .evb-rating-modal-backdrop{
    position:absolute!important;
    inset:0!important;
    background:rgba(17,24,39,.38)!important;
    backdrop-filter:blur(4px)!important;
    -webkit-backdrop-filter:blur(4px)!important;
}

#evbRatingModal .evb-rating-modal-card{
    position:absolute!important;
    left:16px!important;
    right:16px!important;
    bottom:16px!important;
    max-width:420px!important;
    margin:0 auto!important;
    padding:22px 20px 24px!important;
    border-radius:28px!important;
    background:#fff!important;
    box-shadow:0 24px 70px rgba(17,24,39,.22)!important;
    text-align:center!important;
    z-index:1!important;
}

#evbRatingStars{
    display:flex!important;
    justify-content:center!important;
    gap:8px!important;
}

#evbRatingStars button{
    width:48px!important;
    height:48px!important;
    border:1px solid #fde68a!important;
    border-radius:16px!important;
    background:#fff!important;
    color:#d1d5db!important;
    font-size:29px!important;
    line-height:1!important;
    cursor:pointer!important;
}

#evbRatingStars button.is-active{
    color:#facc15!important;
    background:#fffbeb!important;
}
#evbRatingModal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483647!important;
    display:none!important;
}

#evbRatingModal.is-open{
    display:block!important;
}

#evbRatingModal .evb-rating-modal-backdrop{
    position:absolute!important;
    inset:0!important;
    background:rgba(17,24,39,.42)!important;
    backdrop-filter:blur(4px)!important;
    -webkit-backdrop-filter:blur(4px)!important;
}

#evbRatingModal .evb-rating-modal-card{
    position:absolute!important;
    left:16px!important;
    right:16px!important;
    bottom:16px!important;
    max-width:420px!important;
    margin:0 auto!important;
    padding:22px 20px 24px!important;
    border-radius:28px!important;
    background:#fff!important;
    box-shadow:0 24px 70px rgba(17,24,39,.24)!important;
    text-align:center!important;
    z-index:1!important;
}

#evbRatingModal .evb-rating-modal-close{
    position:absolute!important;
    top:12px!important;
    right:14px!important;
    width:36px!important;
    height:36px!important;
    border:0!important;
    border-radius:999px!important;
    background:#f3f4f6!important;
    color:#111827!important;
    font-size:26px!important;
    line-height:1!important;
    cursor:pointer!important;
}

#evbRatingModal .evb-rating-modal-title{
    color:#111827!important;
    font-size:22px!important;
    font-weight:900!important;
    margin-bottom:6px!important;
}

#evbRatingModal .evb-rating-modal-subtitle{
    color:#6b7280!important;
    font-size:14px!important;
    font-weight:700!important;
    margin-bottom:18px!important;
}

#evbRatingStars{
    display:flex!important;
    justify-content:center!important;
    gap:8px!important;
}

#evbRatingStars button{
    width:48px!important;
    height:48px!important;
    border:1px solid #fde68a!important;
    border-radius:16px!important;
    background:#fff!important;
    color:#d1d5db!important;
    font-size:29px!important;
    line-height:1!important;
    cursor:pointer!important;
}

#evbRatingStars button.is-active{
    color:#facc15!important;
    background:#fffbeb!important;
}

@media (min-width: 992px){
    /* Legacy sheet only. Do not override the shared v3 Location Sheet width. */
    .evb-location-sheet:not(.evb-location-sheet-v3){
        position:fixed;
        top:104px;
        max-height:calc(100vh - 120px);
        left:16px;
        bottom:16px;
        width:360px;
        max-width:360px;
        height:auto;
        margin:0;
        transform:none;
        border-radius:24px;
        overflow:hidden;
        z-index:1200;
    }

    .evb-location-sheet__content{
        display:flex;
        flex-direction:column;
        height:100%;
        min-height:0;
    }

    .evb-location-sheet__body{
        flex:1 1 auto;
        min-height:0;
        overflow:auto;
    }

    .evb-location-sheet__footer,
    .evb-location-sheet__nav{
        position:relative;
        left:auto;
        right:auto;
        bottom:auto;
        width:100%;
        margin:0;
        border-top:1px solid #e5e7eb;
        background:#fff;
        z-index:2;
    }
}
.evb-location-comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 12px;
}

.evb-location-comment-textarea {
    width: 100%;
    min-height: 96px;
    padding: 13px 14px;
    border: 1px solid rgba(17,24,39,.10);
    border-radius: 16px;
    background: #fff;
    color: var(--evb-sheet-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    resize: none;
    outline: none;
}

.evb-location-comment-textarea:focus {
    border-color: #111827;
}

.evb-location-comment-submit {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.evb-location-comment-submit:disabled {
    opacity: .6;
    cursor: default;
}

.evb-location-comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.evb-location-comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 10px;
    padding: 12px;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 14px;
    background: #fff;
}

.evb-location-comment-form textarea {
    width: 100%;
    min-height: 94px;
    padding: 12px 13px;
    border: 1px solid rgba(17,24,39,.10);
    border-radius: 12px;
    background: #fff;
    color: var(--evb-sheet-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    resize: none;
    outline: none;
}

.evb-location-comment-form textarea:focus {
    border-color: #111827;
}

.evb-location-comment-form button {
    width: 100%;
    height: 44px;
    border: 1px solid #eab308;
    border-radius: 14px;
    background: #facc15;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(250, 204, 21, .22);
    transition: background .14s ease, border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}

.evb-location-comment-form button:hover {
    background: #fbbf24;
    border-color: #d97706;
    box-shadow: 0 10px 22px rgba(250, 204, 21, .28);
}

.evb-location-comment-form button:active {
    transform: translateY(1px);
}

.evb-location-comment-form button:disabled {
    opacity: .65;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.evb-location-comment-form button:disabled {
    opacity: .65;
    cursor: default;
}

.evb-location-comment-success,
.evb-location-comment-error {
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
}

.evb-location-comment-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.evb-location-comment-error {
    margin-top: 10px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}


/* Shared Location Sheet v3: keep the map panel width consistent.
 * A legacy 360px rule used to override this at >= 992px. */
@media (min-width: 769px) {
    #mapShell #evbLocationSheetRoot[data-context="map"] .evb-location-sheet.evb-location-sheet-v3,
    #mapShell #evbLocationSheetRoot .evb-location-sheet.evb-location-sheet-v3 {
        width: var(--evb-location-sheet-desktop-width, 420px);
        max-width: min(var(--evb-location-sheet-desktop-width, 420px), calc(100vw - 48px));
    }
}


/* Current shared Location Sheet v3 must not be collapsed by legacy 360px rules. */
@media (min-width: 769px) {
    #mapShell #evbLocationSheetRoot[data-context="map"] .evb-location-sheet.evb-location-sheet-v3,
    #mapShell #evbLocationSheetRoot .evb-location-sheet.evb-location-sheet-v3 {
        width: var(--evb-location-sheet-desktop-width, 420px) !important;
        max-width: min(var(--evb-location-sheet-desktop-width, 420px), calc(100vw - 48px)) !important;
    }
}


/* 20260902-map-gap-fixed-v9 */

/* Main Map only: neutralize legacy layout rules that can stretch the
 * connector wrapper and push the promo toward the bottom of the sheet.
 * Range/Planner already render correctly and are intentionally untouched. */
#evbLocationSheetRoot[data-context="map"] .evb-location-connectors.evb-location-connectors-v3 {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
}

#evbLocationSheetRoot[data-context="map"] .evb-location-connectors-v3 > .evb-app-connectors {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
}

#evbLocationSheetRoot[data-context="map"] .evb-location-promo-placement {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
    flex: 0 0 auto !important;
}

