/* Specialists map — Logozavr: fixed chrome, map fills viewport */

html:has(body.lg-page-map),
body.lg-page-map {
    height: 100%;
    max-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}

.lg-page-map {
    --lg-map-navy: var(--lg-blue, #0f2d52);
    --lg-map-emerald: var(--lg-emerald, #059669);
    --lg-map-bg: #e8f3ee;
    --lg-map-header-h: 96px;
    position: relative;
    height: 100dvh;
    max-height: 100dvh;
    background: var(--lg-map-bg);
}

.lg-map-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid rgba(15, 45, 82, .08);
    padding-top: env(safe-area-inset-top);
}
/* Native Android WebView already accounts for the status bar in newer builds. */
html.lg-native-app .lg-map-header {
    padding-top: 0 !important;
}

.lg-map-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 12px 0;
}

.lg-map-toolbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lg-map-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 6px 10px;
    min-height: 36px;
    border-radius: 12px;
    background: rgba(15, 45, 82, .04);
    border: 1px solid rgba(15, 45, 82, .08);
    color: var(--lg-map-navy);
}

.lg-map-search-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.lg-map-search-wrap .lg-map-search {
    margin: 0;
    max-width: none;
}

.lg-map-suggest {
    list-style: none;
    margin: 6px 0 0;
    padding: 6px;
    border: 1px solid rgba(15, 45, 82, .1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 45, 82, .14);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 30;
    max-height: min(42vh, 280px);
    overflow: auto;
}

.lg-map-suggest[hidden] {
    display: none !important;
}

.lg-map-suggest__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--lg-map-navy);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
}

.lg-map-suggest__item:hover,
.lg-map-suggest__item:focus-visible,
.lg-map-suggest__item.is-active {
    background: #f0faf6;
    outline: none;
}

.lg-map-suggest__item > i {
    color: var(--lg-map-emerald);
    width: 1.1em;
    text-align: center;
    flex-shrink: 0;
}

.lg-map-suggest__label {
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-map-suggest__meta {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--lg-muted, #64748b);
}

.lg-map-search i {
    color: var(--lg-map-emerald);
    font-size: 13px;
}

.lg-map-search input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    color: var(--lg-map-navy);
    min-width: 0;
}

.lg-map-header__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lg-map-back {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--lg-map-navy);
    background: rgba(15, 45, 82, .06);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.lg-map-back:hover,
.lg-map-back:focus-visible {
    background: rgba(5, 150, 105, .12);
    color: var(--lg-map-emerald);
    outline: none;
}

.lg-map-status {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    margin: 0 auto;
    max-width: 560px;
    width: auto;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(15, 45, 82, .78);
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 1001;
}

.lg-map-status.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lg-map-main {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.lg-map-canvas-wrap {
    position: absolute;
    top: var(--lg-map-header-h);
    left: 0;
    right: 0;
    bottom: 0;
}

.lg-map-canvas {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #dce8e3;
}

.lg-map-canvas.lg-map-place-mode {
    cursor: crosshair;
}

/* Locate FAB — right side, above editor / guest CTA */
.lg-map-locate {
    position: absolute;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(15, 45, 82, .1);
    border-radius: 14px;
    background: #fff;
    color: var(--lg-map-navy);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15, 45, 82, .16);
    -webkit-tap-highlight-color: transparent;
    transition: top .2s ease, bottom .2s ease, background .15s ease, color .15s ease, transform .15s ease;
}

.lg-map-locate:hover,
.lg-map-locate:focus-visible {
    background: rgba(5, 150, 105, .1);
    color: var(--lg-map-emerald);
    outline: none;
}

.lg-map-locate:active {
    transform: scale(.96);
}

.lg-map-locate.is-busy {
    opacity: .7;
    pointer-events: none;
}

.lg-map-locate.is-active {
    background: rgba(37, 99, 235, .12);
    color: #2563eb;
    border-color: rgba(37, 99, 235, .28);
}

/* Self location marker */
.lg-map-self {
    position: relative;
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.lg-map-self__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: #2563eb;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .45);
    z-index: 2;
}

.lg-map-self__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .28);
    animation: lg-map-self-pulse 1.6s ease-out infinite;
    z-index: 1;
}

@keyframes lg-map-self-pulse {
    0% {
        transform: scale(.55);
        opacity: .85;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lg-map-self__pulse {
        animation: none;
        opacity: .35;
    }
}


body.has-map-editor .lg-map-locate,
body.has-map-guest-cta .lg-map-locate {
    bottom: var(--lg-map-locate-bottom, 72px);
}

.lg-map-locate.is-editor-expanded {
    top: 12px;
    bottom: auto !important;
}

@media (min-width: 768px) {
    .lg-map-locate {
        right: 16px;
    }

    body.has-map-editor .lg-map-locate {
        right: 16px;
    }

    .lg-map-locate.is-editor-expanded {
        top: 16px;
    }
}


/* Transparent Leaflet div icon wrapper — tip anchors at lat/lng */
.lg-map-div-icon {
    background: transparent !important;
    border: none !important;
}

.lg-map-pin {
    position: relative;
    width: 36px;
    height: 44px;
    pointer-events: none;
}

.lg-map-pin__dot {
    position: absolute;
    left: 3px;
    top: 0;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--lg-map-navy);
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 45, 82, .28);
    transition: background .15s ease, transform .15s ease;
}

.lg-map-pin__face {
    position: absolute;
    top: 3px;
    left: 50%;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    z-index: 1;
}

.lg-map-pin__face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lg-map-pin.is-own .lg-map-pin__dot,
.lg-map-pin.is-selected .lg-map-pin__dot,
.lg-map-pin:hover .lg-map-pin__dot {
    background: var(--lg-map-emerald);
}

.lg-map-pin.is-selected {
    z-index: 2;
}

.lg-map-pin.is-selected .lg-map-pin__dot {
    transform: rotate(-45deg) scale(1.08);
}

.lg-map-pin.is-inactive .lg-map-pin__dot {
    background: #7a8699;
    opacity: .85;
}

/* Attribution / zoom controls hidden */
.lg-page-map .leaflet-control-attribution,
.leaflet-control-attribution,
.lg-page-map .leaflet-control-zoom {
    display: none !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 12px 28px rgba(15, 45, 82, .16);
    border: 1px solid rgba(15, 45, 82, .08);
    overflow: hidden;
    background: #fff;
}

.leaflet-popup-content {
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 280px !important;
    width: max-content !important;
    line-height: 1.3;
}

.lg-map-popup-wrap .leaflet-popup-content {
    width: max-content !important;
}

.leaflet-popup-tip-container {
    margin-top: -1px;
}

.leaflet-popup-tip {
    box-shadow: none;
    background: #fff;
    width: 12px;
    height: 12px;
}

.lg-page-map .leaflet-container a.leaflet-popup-close-button {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 8px;
    color: var(--lg-map-navy) !important;
    background: rgba(15, 45, 82, .06);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    transition: background .15s ease, color .15s ease;
}

.lg-page-map .leaflet-container a.leaflet-popup-close-button:hover,
.lg-page-map .leaflet-container a.leaflet-popup-close-button:focus {
    background: rgba(5, 150, 105, .12);
    color: var(--lg-map-emerald) !important;
}

.lg-map-popup {
    padding: 10px;
    color: var(--lg-map-navy);
    box-sizing: border-box;
}

.lg-map-popup__top {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding-right: 22px;
}

.lg-map-popup__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.lg-map-popup__avatar {
    display: block;
    width: 56px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(15, 45, 82, .06);
}

.lg-map-popup__avatar--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 45, 82, .35);
    font-size: 18px;
}

.lg-map-popup__rating {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: var(--lg-map-navy);
}

.lg-map-popup__rating i {
    color: #d4a017;
    font-size: 10px;
}

.lg-map-popup__info {
    min-width: 0;
    padding-top: 0;
}

.lg-map-popup__name {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--lg-map-navy);
}

.lg-map-popup__skill {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.3;
    color: rgba(15, 45, 82, .72);
}

.lg-map-popup__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 0;
    font-size: 11px;
    line-height: 1.25;
    color: rgba(15, 45, 82, .58);
}

.lg-map-popup__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lg-map-popup__meta-item i {
    color: var(--lg-map-emerald);
    font-size: 10px;
}

.lg-map-popup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 45, 82, .08);
}

.lg-map-popup__actions--single {
    grid-template-columns: 1fr;
}

.lg-map-popup__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, transform .1s ease;
}

.lg-map-popup__btn:active {
    transform: scale(.98);
}

.lg-map-popup__btn--profile {
    background: rgba(15, 45, 82, .07);
    color: var(--lg-map-navy) !important;
}

.lg-map-popup__btn--profile:hover,
.lg-map-popup__btn--profile:focus-visible {
    background: rgba(15, 45, 82, .12);
    color: var(--lg-map-navy) !important;
    outline: none;
}

.lg-map-popup__btn--wa {
    background: var(--lg-map-emerald);
    color: #fff !important;
}

.lg-map-popup__btn--wa i,
.lg-map-popup__btn--wa span {
    color: #fff !important;
}

.lg-map-popup__btn--wa:hover,
.lg-map-popup__btn--wa:focus-visible {
    background: var(--lg-emerald-hover, #047857);
    color: #fff !important;
    outline: none;
}

/* Editor panel — fixed to bottom */
.lg-map-editor {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 1100;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 45, 82, .1);
    box-shadow: 0 12px 36px rgba(15, 45, 82, .14);
    overflow: hidden;
}

@media (min-width: 768px) {
    .lg-map-editor {
        left: auto;
        right: 16px;
        margin: 0;
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}

.lg-map-editor__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid rgba(15, 45, 82, .06);
}

.lg-map-editor.is-collapsed .lg-map-editor__head {
    border-bottom: 0;
}

.lg-map-editor__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--lg-map-navy);
}

.lg-map-editor__toggle {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: rgba(15, 45, 82, .06);
    color: var(--lg-map-navy);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.lg-map-editor__toggle:hover,
.lg-map-editor__toggle:focus-visible {
    background: rgba(5, 150, 105, .12);
    outline: none;
}

.lg-map-editor.is-collapsed .lg-map-editor__toggle i {
    transform: rotate(-90deg);
}

.lg-map-editor.is-collapsed .lg-map-editor__body {
    display: none;
}

.lg-map-editor__body {
    padding: 12px;
    max-height: min(42vh, 360px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.lg-map-editor__hint {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(15, 45, 82, .7);
}

.lg-map-editor__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.lg-map-btn {
    min-height: 44px;
    font-size: 13px;
    padding-inline: 10px;
}

.lg-map-btn.is-active {
    border-color: var(--lg-map-emerald);
    color: var(--lg-map-emerald);
    background: rgba(5, 150, 105, .08);
}

.lg-map-editor__radius {
    margin-bottom: 12px;
}

.lg-map-editor__radius label {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--lg-map-navy);
}

.lg-map-editor__radius input[type="range"] {
    width: 100%;
    accent-color: var(--lg-map-emerald);
}

.lg-map-editor__list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lg-map-mine-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 45, 82, .08);
    background: rgba(15, 45, 82, .03);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.lg-map-mine-item:hover,
.lg-map-mine-item:focus-visible {
    border-color: rgba(5, 150, 105, .35);
    background: rgba(5, 150, 105, .05);
    outline: none;
}

.lg-map-mine-item.is-selected {
    border-color: var(--lg-map-emerald);
    background: rgba(5, 150, 105, .12);
    box-shadow: inset 3px 0 0 var(--lg-map-emerald);
    outline: none;
}

.lg-map-mine-item__meta {
    min-width: 0;
}

.lg-map-mine-item__title {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 650;
    color: var(--lg-map-navy);
}

.lg-map-mine-item__sub {
    margin: 0;
    font-size: 12px;
    color: rgba(15, 45, 82, .65);
}

.lg-map-mine-item__actions {
    display: flex;
    gap: 4px;
}

.lg-map-icon-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: var(--lg-map-navy);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.lg-map-icon-btn:hover,
.lg-map-icon-btn:focus-visible {
    background: rgba(5, 150, 105, .12);
    color: var(--lg-map-emerald);
    outline: none;
}

.lg-map-icon-btn--danger:hover,
.lg-map-icon-btn--danger:focus-visible {
    background: rgba(185, 28, 28, .1);
    color: #b91c1c;
}

.lg-map-editor__count {
    margin: 0 0 8px;
    font-size: 12px;
    color: rgba(15, 45, 82, .6);
}

.lg-map-editor__cabinet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    font-size: 13px;
    font-weight: 650;
    color: var(--lg-map-emerald);
    text-decoration: none;
}

.lg-map-editor__cabinet:hover,
.lg-map-editor__cabinet:focus-visible {
    text-decoration: underline;
    outline: none;
}

.lg-map-guest-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 1100;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.lg-map-guest-cta .lg-btn {
    pointer-events: auto;
    min-height: 44px;
    box-shadow: 0 10px 28px rgba(15, 45, 82, .18);
}

@media (prefers-reduced-motion: reduce) {
    .lg-map-status,
    .lg-map-pin__dot,
    .lg-map-btn,
    .lg-map-mine-item,
    .lg-map-icon-btn,
    .lg-map-locate {
        transition: none;
    }
}

/* Help button + modal */
.lg-map-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lg-map-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(15, 45, 82, .06);
    color: var(--lg-map-navy);
    font-size: 18px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .15s ease, color .15s ease;
}

.lg-map-help-btn:hover,
.lg-map-help-btn:focus-visible {
    background: rgba(5, 150, 105, .12);
    color: var(--lg-map-emerald);
    outline: none;
}

.lg-map-help-btn:active {
    transform: scale(.96);
}

.lg-map-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.lg-map-modal[hidden]:not(.is-visible) {
    display: none;
}

.lg-map-modal.is-visible {
    display: flex;
}

.lg-map-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 45, 82, .45);
}

.lg-map-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    max-height: min(86dvh, 640px);
    margin: 0 0 env(safe-area-inset-bottom, 0);
    overflow: auto;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(15, 45, 82, .18);
}

.lg-map-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(15, 45, 82, .08);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.lg-map-modal__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--lg-map-navy);
    line-height: 1.3;
}

.lg-map-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(5, 150, 105, .12);
    color: var(--lg-map-emerald);
    flex-shrink: 0;
    font-size: 15px;
}

.lg-map-modal__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(15, 45, 82, .1);
    border-radius: 10px;
    background: rgba(15, 45, 82, .04);
    color: var(--lg-muted, #64748b);
    cursor: pointer;
    font-size: 15px;
    transition: background .15s ease, color .15s ease;
}

.lg-map-modal__close:hover,
.lg-map-modal__close:focus-visible {
    background: rgba(15, 45, 82, .08);
    color: var(--lg-map-navy);
    outline: none;
}

.lg-map-modal__body {
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px));
}

.lg-map-help__lead {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--lg-text, #1e293b);
}

.lg-map-help__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.lg-map-help__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 45, 82, .03);
    border: 1px solid rgba(15, 45, 82, .06);
}

.lg-map-help__list li > i {
    flex-shrink: 0;
    width: 20px;
    margin-top: 2px;
    text-align: center;
    color: var(--lg-map-emerald);
    font-size: 14px;
}

.lg-map-help__list li > span {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--lg-text, #1e293b);
}

@media (min-width: 640px) {
    .lg-map-modal {
        align-items: center;
        padding: 24px;
    }

    .lg-map-modal__panel {
        border-radius: 16px;
        margin: 0;
        box-shadow: 0 16px 48px rgba(15, 45, 82, .2);
    }
}

@media (max-width: 767px) {
    .lg-map-header__inner {
        padding-top: 0;
    }

    .lg-map-toolbar {
        padding-top: 4px;
    }
}

/* Android WebView already positions its content below the system status bar. */
html.lg-map-native-app .lg-map-header {
    padding-top: 0 !important;
}

html.lg-map-native-app .lg-map-header__inner,
html.lg-map-native-app .lg-map-toolbar,
html.lg-native-app .lg-map-header__inner,
html.lg-native-app .lg-map-toolbar {
    padding-top: 0 !important;
}

/* The Android app marks <html> as lg-native-app. Its WebView is already below
   the status bar, so strip every extra top inset from this map header. */
html.lg-native-app body.lg-page-map .lg-map-header,
html.lg-map-native-app body.lg-page-map .lg-map-header {
    top: 0 !important;
    padding-top: 0 !important;
}
html.lg-native-app body.lg-page-map .lg-map-header__inner,
html.lg-native-app body.lg-page-map .lg-map-toolbar,
html.lg-map-native-app body.lg-page-map .lg-map-header__inner,
html.lg-map-native-app body.lg-page-map .lg-map-toolbar {
    padding-top: 0 !important;
}
