/* =========================================================
   e-Serviços Amambai — Mapa individual por serviço
   Painel suspenso / ferramentas padrão nova.html
   Ícones padronizados com Lucide
   Popup profissional e responsivo
========================================================= */

:root {
    --ms-blue-950: #062b50;
    --ms-blue-900: #003f78;
    --ms-blue-800: #004b8d;
    --ms-blue-700: #005ca8;
    --ms-blue-600: #0873c4;
    --ms-blue-100: #eaf4ff;

    --ms-green-700: #16a34a;
    --ms-green-800: #15803d;
    --ms-green-100: #f0fdf4;

    --ms-orange-700: #b45309;
    --ms-orange-100: #fff7ed;

    --ms-bg: #edf4fb;
    --ms-card: #ffffff;
    --ms-text: #0f2747;
    --ms-muted: #5d7088;
    --ms-border: rgba(0, 92, 168, 0.18);

    --ms-shadow: 0 18px 46px rgba(6, 43, 80, 0.16);
    --ms-shadow-soft: 0 10px 28px rgba(6, 43, 80, 0.12);
}

/* =========================================================
   ÍCONES — PADRÃO LUCIDE
========================================================= */

.service-map-launch-card svg,
.service-map-open-btn svg,
.service-map-launch-card__back svg,
.service-map-floating-topbar svg,
.service-map-fullscreen-status svg,
.service-map-status-strip svg,
.service-map-tools-bottom svg,
.map-popup svg,
.service-map-marker svg,
.service-map-user-marker svg {
    display: block;
    flex: 0 0 auto;
    stroke-width: 2.35;
}

/* =========================================================
   PÁGINA DE ABERTURA
========================================================= */

.service-map-launch-page {
    width: 100%;
    min-height: calc(100vh - 120px);
    padding: 72px 22px;
    box-sizing: border-box;

    display: grid;
    place-items: center;

    background:
        radial-gradient(circle at top left, rgba(8, 115, 196, 0.12), transparent 34%),
        linear-gradient(180deg, #f4f9ff 0%, #edf4fb 100%);
}

.service-map-launch-card {
    width: min(920px, 100%);
    padding: 30px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;

    border-radius: 30px;
    border: 1px solid rgba(191, 211, 234, 0.92);
    background:
        radial-gradient(circle at top right, rgba(15, 91, 181, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow:
        0 18px 42px rgba(7, 42, 83, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.service-map-launch-card__icon {
    width: 70px;
    height: 70px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    border-radius: 24px;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.30), transparent 34%),
        linear-gradient(135deg, var(--ms-blue-700), var(--ms-blue-900));
    box-shadow:
        0 14px 30px rgba(7, 42, 83, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.service-map-launch-card__icon svg {
    width: 34px;
    height: 34px;
    color: #ffffff;
    stroke: #ffffff;
}

.service-map-launch-card__content {
    min-width: 0;
}

.service-map-launch-card__content span {
    display: block;
    margin-bottom: 8px;

    color: var(--ms-blue-700);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-map-launch-card__content h1 {
    margin: 0 0 10px;

    color: var(--ms-blue-950);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 950;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.service-map-launch-card__content p {
    margin: 0;
    max-width: 640px;

    color: var(--ms-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.service-map-open-btn {
    min-height: 56px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #ffffff;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ms-blue-700), var(--ms-blue-900));
    box-shadow:
        0 16px 34px rgba(0, 92, 168, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    font-size: 0.96rem;
    font-weight: 950;
    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.service-map-open-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.service-map-open-btn svg {
    width: 19px;
    height: 19px;
    color: #ffffff;
    stroke: #ffffff;
}

.service-map-launch-card__back {
    grid-column: 2 / 4;

    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--ms-blue-800);
    font-weight: 900;
    text-decoration: none;
}

.service-map-launch-card__back svg {
    width: 18px;
    height: 18px;
    color: currentColor;
    stroke: currentColor;
}

/* =========================================================
   MAPA SUSPENSO
========================================================= */

html.service-map-opened,
body.service-map-opened {
    overflow: hidden !important;
}

.service-map-fullscreen-shell[hidden] {
    display: none !important;
}

.service-map-fullscreen-shell {
    position: fixed;
    inset: 0;
    z-index: 9999;

    width: 100vw;
    height: 100vh;
    height: 100dvh;

    padding: 28px;
    box-sizing: border-box;

    background:
        radial-gradient(circle at top left, rgba(8, 115, 196, 0.20), transparent 36%),
        linear-gradient(135deg, #102538 0%, #30455a 100%);

    overflow: hidden;
}

.service-map-stage {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 30px;
    background: #dbeaf5;
    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* =========================================================
   ÁREA DO MAPA
========================================================= */

.service-map-fullscreen-body {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background: #dbeaf5;
    overflow: hidden;
}

.service-map-leaflet {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    background: #dbeaf5;
    overflow: hidden;
}

.leaflet-container {
    width: 100% !important;
    height: 100% !important;

    font-family: "Inter", "Montserrat", system-ui, sans-serif;
    background: #dbeaf5;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas {
    max-width: none !important;
}

.leaflet-top.leaflet-left {
    top: 88px;
    left: 22px;
}

.leaflet-control-zoom {
    overflow: hidden;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: var(--ms-shadow-soft) !important;
}

.leaflet-control-zoom a {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;

    color: var(--ms-blue-950) !important;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 0 !important;
}

.leaflet-control-zoom a:hover {
    background: var(--ms-blue-100) !important;
}

.leaflet-control-attribution {
    max-width: calc(100vw - 24px);
    font-size: 10px !important;
    opacity: 0.82;
}

/* =========================================================
   TOPO FLUTUANTE
========================================================= */

.service-map-floating-topbar {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 800;

    max-width: min(760px, calc(100% - 36px));
    min-height: 58px;
    padding: 8px;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--ms-text);
    border-radius: 22px;
    border: 1px solid rgba(0, 92, 168, 0.16);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 14px 34px rgba(6, 43, 80, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.service-map-fullscreen-close {
    height: 46px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;

    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 950;
    white-space: nowrap;

    border-radius: 16px;
    border: 0;
    background: linear-gradient(135deg, var(--ms-blue-700), var(--ms-blue-900));
    box-shadow:
        0 10px 22px rgba(0, 92, 168, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.service-map-fullscreen-close svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
    stroke: #ffffff;
}

.service-map-fullscreen-title {
    min-width: 0;

    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-map-fullscreen-title__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    border-radius: 14px;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.30), transparent 34%),
        linear-gradient(135deg, var(--ms-blue-700), var(--ms-blue-900));
    box-shadow: 0 10px 20px rgba(6, 43, 80, 0.16);
}

.service-map-fullscreen-title__icon svg {
    width: 21px;
    height: 21px;
    color: #ffffff;
    stroke: #ffffff;
}

.service-map-fullscreen-title__text {
    min-width: 0;
}

.service-map-fullscreen-title strong {
    display: block;

    max-width: min(440px, 44vw);

    color: var(--ms-blue-950);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.12;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-map-fullscreen-title small {
    display: -webkit-box;
    max-width: min(440px, 44vw);
    margin-top: 3px;

    color: var(--ms-muted);
    font-size: 0.75rem;
    font-weight: 750;
    line-height: 1.25;

    overflow: hidden;
    text-overflow: ellipsis;

    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.service-map-fullscreen-status {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 800;

    min-height: 44px;
    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: var(--ms-blue-900);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;

    border-radius: 18px;
    border: 1px solid rgba(0, 92, 168, 0.16);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(6, 43, 80, 0.14);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.service-map-fullscreen-status svg {
    width: 17px;
    height: 17px;
    color: var(--ms-blue-700);
    stroke: var(--ms-blue-700);
}

/* =========================================================
   STATUS
========================================================= */

.service-map-status-strip {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 104px;
    z-index: 650;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;

    pointer-events: none;
}

.service-map-status-strip__item {
    min-height: 38px;
    max-width: min(560px, 100%);
    padding: 8px 14px;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--ms-text);
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.2;

    border: 1px solid rgba(0, 92, 168, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 26px rgba(6, 43, 80, 0.16);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    pointer-events: auto;
}

.service-map-status-strip__item svg {
    width: 18px;
    height: 18px;
    color: var(--ms-blue-700);
    stroke: var(--ms-blue-700);
    flex: 0 0 auto;
}

.service-map-status-strip__item--coords {
    flex: 0 0 auto;
    justify-content: center;
}

/* =========================================================
   FERRAMENTAS
========================================================= */

.service-map-tools-bottom {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 820;

    transform: translateX(-50%);

    width: auto;
    max-width: calc(100% - 36px);
    padding: 6px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;
    border: 1px solid rgba(0, 92, 168, 0.16);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 14px 34px rgba(6, 43, 80, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.service-map-tools-bottom__group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.service-map-tools-bottom__group::-webkit-scrollbar {
    height: 4px;
}

.service-map-tools-bottom__group::-webkit-scrollbar-track {
    background: transparent;
}

.service-map-tools-bottom__group::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 92, 168, 0.20);
}

.service-map-tool-btn {
    min-width: 150px;
    height: 56px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;

    border-radius: 16px;
    border: 1px solid #c9d9ea;
    background: #f8fbff;
    color: var(--ms-blue-800);

    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 6px 14px rgba(6, 43, 80, 0.06);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.service-map-tool-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(6, 43, 80, 0.10);
    border-color: #9fc0e2;
    background: #ffffff;
}

.service-map-tool-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: currentColor;
    stroke: currentColor;
}

.service-map-tool-btn.is-active,
.service-map-tool-btn.active {
    color: #ffffff;
    border-color: rgba(0, 92, 168, 0.28);
    background: linear-gradient(135deg, #005ca8 0%, #0b5db3 100%);
    box-shadow: 0 10px 22px rgba(0, 92, 168, 0.24);
}

.service-map-tool-btn.is-active svg,
.service-map-tool-btn.active svg {
    color: #ffffff;
    stroke: #ffffff;
}

#serviceGeolocateBtn.is-locating,
#serviceGeolocateBtn[aria-pressed="true"] {
    color: #ffffff !important;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow:
        0 10px 22px rgba(124, 58, 237, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
}

#serviceGeolocateBtn.is-locating svg,
#serviceGeolocateBtn[aria-pressed="true"] svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* =========================================================
   POPUPS / MARCADORES
========================================================= */

.leaflet-popup {
    margin-bottom: 20px !important;
}

.leaflet-popup-content-wrapper {
    width: auto !important;
    max-width: min(330px, calc(100vw - 48px)) !important;
    padding: 0 !important;

    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 22px 48px rgba(6, 43, 80, 0.28) !important;
}

.leaflet-popup-content {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    color: var(--ms-text);
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.45;
}

.leaflet-popup-tip {
    box-shadow: 0 12px 24px rgba(6, 43, 80, 0.12) !important;
}

.map-popup {
    width: min(318px, calc(100vw - 58px));
    max-width: 100%;
    max-height: min(58vh, 430px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 14px;
    background: #ffffff;
}

.map-popup::-webkit-scrollbar {
    width: 5px;
}

.map-popup::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 92, 168, 0.24);
}

.map-popup__top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2edf8;
}

.map-popup__service-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    border-radius: 15px;
    background: linear-gradient(135deg, #005ca8, #003f78);
    box-shadow: 0 10px 22px rgba(0, 92, 168, 0.22);
}

.map-popup__service-icon svg {
    width: 21px;
    height: 21px;
    color: #ffffff;
    stroke: #ffffff;
}

.map-popup__heading {
    min-width: 0;
    flex: 1;
}

.map-popup__heading span {
    display: block;
    margin-bottom: 4px;

    color: #0873c4;
    font-size: 0.70rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.map-popup__heading h3 {
    margin: 0;

    color: #062b50;
    font-size: 1.02rem;
    font-weight: 950;
    line-height: 1.18;

    word-break: break-word;
}

.map-popup__notice {
    margin-top: 10px;
    padding: 8px 10px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--ms-orange-700);
    font-size: 0.78rem;
    font-weight: 900;

    border-radius: 999px;
    background: var(--ms-orange-100);
    border: 1px solid #fed7aa;
}

.map-popup__notice svg {
    width: 16px;
    height: 16px;
    color: currentColor;
    stroke: currentColor;
}

.map-popup__info-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.map-popup__info {
    padding: 10px;

    display: flex;
    align-items: flex-start;
    gap: 9px;

    border-radius: 15px;
    border: 1px solid #e0edf8;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.map-popup__info > svg {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex: 0 0 17px;
    color: #005ca8;
    stroke: #005ca8;
}

.map-popup__info div {
    min-width: 0;
    flex: 1;
}

.map-popup__info small {
    display: block;
    margin-bottom: 2px;

    color: #5d7088;
    font-size: 0.66rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.map-popup__info strong {
    display: block;

    color: #0f2747;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.35;

    word-break: break-word;
}

.map-popup__info a {
    color: #005ca8;
    font-weight: 950;
    text-decoration: none;
}

.map-popup__info a:hover {
    text-decoration: underline;
}

.map-popup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.map-popup__btn {
    min-height: 42px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 14px;
    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 950;
    line-height: 1;

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        filter 0.16s ease;
}

.map-popup__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.map-popup__btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: currentColor;
    stroke: currentColor;
}

.map-popup__btn--whatsapp {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--ms-green-700), var(--ms-green-800));
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.22);
}

.map-popup__btn--route {
    color: #ffffff !important;
    background: linear-gradient(135deg, #005ca8, #003f78);
    box-shadow: 0 10px 20px rgba(0, 92, 168, 0.22);
}

.map-popup__btn--primary {
    grid-column: 1 / -1;
    color: #ffffff !important;
    background: linear-gradient(135deg, #005ca8, #003f78);
    box-shadow: 0 10px 20px rgba(0, 92, 168, 0.22);
}

.map-popup__reference {
    margin-top: 10px;
    padding-top: 8px;

    color: #5d7088;
    font-size: 0.70rem;
    line-height: 1.35;

    border-top: 1px dashed #d5e6f6;
}

.service-map-marker-wrapper,
.service-map-user-marker-wrapper {
    background: transparent !important;
    border: 0 !important;
}

.service-map-marker,
.service-map-user-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 14px rgba(6, 43, 80, 0.24);
}

.service-map-marker {
    width: 30px;
    height: 30px;
    border-radius: 11px;
}

.service-map-marker--small {
    width: 23px;
    height: 23px;
    border-radius: 8px;
}

.service-map-user-marker {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.service-map-marker svg,
.service-map-user-marker svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
    stroke: #ffffff;
}

.service-map-marker.is-selected {
    transform: scale(1.18);
    box-shadow:
        0 0 0 5px rgba(16, 185, 129, 0.28),
        0 0 0 10px rgba(16, 185, 129, 0.12),
        0 14px 30px rgba(4, 120, 87, 0.42);
}

/* =========================================================
   RESPONSIVO — TABLET / MOBILE
========================================================= */

@media (max-width: 860px) {
    .service-map-launch-page {
        padding: 48px 16px;
    }

    .service-map-launch-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }

    .service-map-launch-card__icon {
        margin: 0 auto;
    }

    .service-map-open-btn {
        width: 100%;
    }

    .service-map-launch-card__back {
        grid-column: auto;
        margin: 0 auto;
    }

    .service-map-fullscreen-shell {
        padding: 14px;
        background: linear-gradient(135deg, #12263c 0%, #3a4a5e 100%);
    }

    .service-map-stage {
        border-radius: 10px;
    }

    .service-map-floating-topbar {
        top: 10px;
        left: 10px;
        right: 10px;

        width: auto;
        max-width: none;
        min-height: 56px;
        padding: 7px;
        gap: 8px;
        border-radius: 18px;
    }

    .service-map-fullscreen-close {
        width: 84px;
        height: 44px;
        padding: 0 12px;

        gap: 6px;
        border-radius: 15px;

        font-size: 0.78rem;
    }

    .service-map-fullscreen-close svg {
        width: 17px;
        height: 17px;
    }

    .service-map-fullscreen-title {
        flex: 1;
        min-width: 0;
        gap: 8px;
    }

    .service-map-fullscreen-title__icon {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        border-radius: 13px;
    }

    .service-map-fullscreen-title__icon svg {
        width: 19px;
        height: 19px;
    }

    .service-map-fullscreen-title strong {
        max-width: 100%;
        font-size: 0.94rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .service-map-fullscreen-title small {
        max-width: 100%;
        font-size: 0.68rem;
        line-height: 1.18;
        white-space: normal;
    }

    .service-map-fullscreen-status {
        display: none;
    }

    .service-map-status-strip {
        left: 10px;
        right: 10px;
        bottom: 86px;

        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .service-map-status-strip__item {
        width: 100%;
        max-width: none;
        min-height: 34px;
        padding: 7px 11px;

        font-size: 0.72rem;
        border-radius: 13px;
    }

    .service-map-status-strip__item--coords {
        display: none;
    }

    .service-map-tools-bottom {
        left: 10px;
        right: 10px;
        bottom: 10px;

        width: auto;
        max-width: none;
        transform: none;

        padding: 6px;
        border-radius: 18px;
    }

    .service-map-tools-bottom__group {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        justify-content: stretch;
        gap: 6px;

        overflow: visible;
        padding-bottom: 0;
    }

    .service-map-tools-bottom__group::-webkit-scrollbar {
        display: none;
    }

    .service-map-tool-btn {
        width: 100%;
        min-width: 0;
        height: 56px;
        padding: 0 4px;

        flex-direction: column;
        gap: 4px;

        border-radius: 14px;
        font-size: 0.64rem;
        line-height: 1;
        scroll-snap-align: unset;
    }

    .service-map-tool-btn span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .service-map-tool-btn svg {
        width: 16px;
        height: 16px;
    }

    .leaflet-top.leaflet-left {
        top: 82px;
        left: 10px;
    }

    .leaflet-control-zoom {
        border-radius: 14px !important;
    }

    .leaflet-control-zoom a {
        width: 34px !important;
        height: 34px !important;
        line-height: 34px !important;
    }

    .leaflet-control-attribution {
        display: none;
    }

    .leaflet-popup {
        margin-bottom: 24px !important;
    }

    .leaflet-popup-content-wrapper {
        max-width: min(300px, calc(100vw - 44px)) !important;
        border-radius: 20px !important;
    }

    .map-popup {
        width: min(280px, calc(100vw - 54px));
        max-height: calc(100dvh - 250px);
        min-height: 0;
        padding: 12px;
    }

    .map-popup__top {
        gap: 8px;
        padding-bottom: 10px;
    }

    .map-popup__service-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 14px;
    }

    .map-popup__service-icon svg {
        width: 19px;
        height: 19px;
    }

    .map-popup__heading h3 {
        font-size: 0.94rem;
    }

    .map-popup__info {
        padding: 9px;
        border-radius: 13px;
    }

    .map-popup__info strong {
        font-size: 0.82rem;
    }

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

    .map-popup__btn {
        min-height: 40px;
        font-size: 0.80rem;
        border-radius: 13px;
    }
}

@media (max-width: 460px) {
    .service-map-fullscreen-shell {
        padding: 10px;
    }

    .service-map-stage {
        border-radius: 8px;
    }

    .service-map-floating-topbar {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 6px;
        border-radius: 18px;
    }

    .service-map-fullscreen-close {
        width: 78px;
        height: 42px;
        font-size: 0.74rem;
        border-radius: 14px;
    }

    .service-map-fullscreen-title {
        gap: 7px;
    }

    .service-map-fullscreen-title__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 12px;
    }

    .service-map-fullscreen-title__icon svg {
        width: 18px;
        height: 18px;
    }

    .service-map-fullscreen-title strong {
        font-size: 0.88rem;
    }

    .service-map-fullscreen-title small {
        font-size: 0.64rem;
    }

    .service-map-tools-bottom {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 6px;
        border-radius: 17px;
    }

    .service-map-tools-bottom__group {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
        overflow: visible;
        padding-bottom: 0;
    }

    .service-map-tool-btn {
        width: 100%;
        min-width: 0;
        height: 52px;
        padding: 0 3px;
        font-size: 0.58rem;
    }

    .service-map-tool-btn span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .service-map-tool-btn svg {
        width: 15px;
        height: 15px;
    }

    .service-map-status-strip {
        left: 8px;
        right: 8px;
        bottom: 82px;
    }

    .service-map-status-strip__item {
        font-size: 0.68rem;
    }

    .leaflet-top.leaflet-left {
        top: 76px;
        left: 8px;
    }

    .leaflet-popup {
        margin-bottom: 26px !important;
    }

    .leaflet-popup-content-wrapper {
        max-width: calc(100vw - 34px) !important;
    }

    .map-popup {
        width: calc(100vw - 48px);
        max-height: calc(100dvh - 245px);
        padding: 11px;
    }

    .map-popup__heading h3 {
        font-size: 0.90rem;
    }

    .map-popup__notice {
        font-size: 0.70rem;
        padding: 6px 8px;
    }

    .map-popup__reference {
        font-size: 0.68rem;
    }
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

.service-map-fullscreen-close:focus-visible,
.service-map-open-btn:focus-visible,
.service-map-tool-btn:focus-visible,
.map-popup__btn:focus-visible {
    outline: 3px solid rgba(0, 92, 168, 0.35);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   e-Serviços Amambai — Ajuste final mapa_servico
   Sem alterar mapa_servico_individual.js
   Versão: 20260509-satelite-fixo-tools-03
========================================================= */

.service-map-fullscreen-shell.is-open,
.service-map-fullscreen-shell:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}

.service-map-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-map-fullscreen-body,
.service-map-leaflet {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-map-tools-bottom {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
    transform: translateX(-50%);
    z-index: 1100;
    width: min(940px, calc(100vw - 48px));
    pointer-events: none;
}

.service-map-tools-bottom__group {
    pointer-events: auto;
}

.service-map-tool-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    transition:
        transform 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

/* Mapa/Satélite ativo */
.service-map-tool-btn.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #005ca8, #0873c4);
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow:
        0 14px 30px rgba(0, 92, 168, 0.34),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.service-map-tool-btn.is-active svg {
    stroke: #ffffff;
}

/* Localizar/Centro/Atualizar selecionado */
.service-map-tool-btn.is-tool-selected,
.service-map-tool-btn.is-locating {
    color: #ffffff;
    background: linear-gradient(135deg, #6d28d9, #7c3aed);
    border-color: rgba(255, 255, 255, 0.52);
    box-shadow:
        0 14px 32px rgba(124, 58, 237, 0.36),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.service-map-tool-btn.is-tool-selected svg,
.service-map-tool-btn.is-locating svg {
    stroke: #ffffff;
}

.service-map-tool-btn:active {
    transform: translateY(1px) scale(0.985);
}

/* Evita fundo estranho durante carregamento dos tiles */
.leaflet-container {
    background: #d8e6ef;
}

@media (max-width: 768px) {
    .service-map-floating-topbar {
        position: fixed;
        left: 12px;
        right: 12px;
        top: calc(env(safe-area-inset-top, 0px) + 10px);
        z-index: 1120;
        gap: 8px;
    }

    .service-map-fullscreen-close {
        min-width: 44px;
        height: 44px;
        padding: 0 12px;
        border-radius: 16px;
    }

    .service-map-fullscreen-close span {
        display: none;
    }

    .service-map-fullscreen-title {
        min-width: 0;
        flex: 1;
        padding: 8px 10px;
        border-radius: 18px;
    }

    .service-map-fullscreen-title__icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .service-map-fullscreen-title__text strong {
        font-size: 0.86rem;
        line-height: 1.12;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .service-map-fullscreen-title__text small {
        font-size: 0.68rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .service-map-fullscreen-status {
        position: fixed;
        top: calc(env(safe-area-inset-top, 0px) + 66px);
        right: 12px;
        max-width: calc(100vw - 24px);
        font-size: 0.72rem;
        z-index: 1110;
    }

    .service-map-status-strip {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 84px);
        max-width: none;
        display: flex;
        justify-content: center;
        z-index: 1110;
    }

    .service-map-status-strip__item {
        max-width: 100%;
        font-size: 0.72rem;
    }

    .service-map-status-strip__item--coords {
        display: none;
    }

    .service-map-tools-bottom {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
        transform: none;
        width: auto;
        max-width: none;
        display: flex;
        justify-content: center;
        z-index: 1130;
    }

    .service-map-tools-bottom__group {
        width: 100%;
        max-width: 520px;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
        padding: 8px;
        border-radius: 22px;
    }

    .service-map-tool-btn {
        width: 100%;
        min-width: 0;
        height: 54px;
        padding: 6px 4px;
        border-radius: 16px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-size: 0.65rem;
        line-height: 1;
    }

    .service-map-tool-btn svg {
        width: 18px;
        height: 18px;
    }

    .leaflet-control-zoom {
        margin-top: 132px !important;
        margin-left: 12px !important;
    }

    .leaflet-control-attribution {
        font-size: 9px;
        max-width: 72vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 420px) {
    .service-map-tools-bottom__group {
        gap: 5px;
        padding: 7px;
    }

    .service-map-tool-btn {
        height: 50px;
        font-size: 0.58rem;
        border-radius: 14px;
    }

    .service-map-tool-btn svg {
        width: 17px;
        height: 17px;
    }
}

/* =========================================================
   e-Serviços Amambai — Refinamento mobile mapa_servico
   Ajuste visual para telas pequenas
   Sem alterar mapa_servico_individual.js
   Versão: 20260509-mobile-refino-04
========================================================= */

@media (max-width: 768px) {
    html.service-map-opened,
    body.service-map-opened {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .service-map-fullscreen-shell.is-open,
    .service-map-fullscreen-shell:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 9999;
        width: 100vw;
        height: 100dvh;
        padding: 0;
        margin: 0;
        background: #062b50;
        overflow: hidden;
    }

    .service-map-stage {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
        overflow: hidden;
        background: #edf4fb;
        border: 0;
        box-shadow: none;
    }

    .service-map-fullscreen-body,
    .service-map-leaflet,
    #serviceSingleMap {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    /* Topo compacto */
    .service-map-floating-topbar {
        position: fixed;
        top: calc(env(safe-area-inset-top, 0px) + 8px);
        left: 8px;
        right: 8px;
        z-index: 1150;
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
        pointer-events: none;
    }

    .service-map-fullscreen-close,
    .service-map-fullscreen-title {
        pointer-events: auto;
    }

    .service-map-fullscreen-close {
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #005ca8;
        color: #ffffff;
        box-shadow: 0 10px 24px rgba(0, 63, 120, 0.28);
    }

    .service-map-fullscreen-close span {
        display: none;
    }

    .service-map-fullscreen-close svg {
        width: 20px;
        height: 20px;
        stroke: #ffffff;
    }

    .service-map-fullscreen-title {
        min-width: 0;
        height: 46px;
        padding: 5px 10px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 10px 24px rgba(0, 63, 120, 0.18);
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
    }

    .service-map-fullscreen-title__icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 13px;
    }

    .service-map-fullscreen-title__icon svg {
        width: 17px;
        height: 17px;
    }

    .service-map-fullscreen-title__text {
        min-width: 0;
    }

    .service-map-fullscreen-title__text strong {
        display: block;
        max-width: 100%;
        font-size: 0.84rem;
        line-height: 1.05;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .service-map-fullscreen-title__text small {
        display: block;
        max-width: 100%;
        margin-top: 2px;
        font-size: 0.66rem;
        line-height: 1.05;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Contador menor no mobile */
    .service-map-fullscreen-status {
        position: fixed;
        top: calc(env(safe-area-inset-top, 0px) + 62px);
        right: 8px;
        z-index: 1140;
        max-width: calc(100vw - 16px);
        min-height: 34px;
        padding: 7px 10px;
        border-radius: 15px;
        font-size: 0.72rem;
        line-height: 1;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 20px rgba(0, 63, 120, 0.16);
    }

    .service-map-fullscreen-status svg {
        width: 15px;
        height: 15px;
    }

    /* Zoom do Leaflet reposicionado */
    .leaflet-control-zoom {
        margin-top: 128px !important;
        margin-left: 12px !important;
        border: 0 !important;
        box-shadow: 0 8px 20px rgba(0, 63, 120, 0.16) !important;
    }

    .leaflet-control-zoom a {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        font-size: 1.25rem !important;
    }

    /* Status inferior compacto */
    .service-map-status-strip {
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 76px);
        z-index: 1140;
        max-width: none;
        display: flex;
        justify-content: center;
        pointer-events: none;
    }

    .service-map-status-strip__item {
        max-width: 100%;
        min-height: 30px;
        padding: 6px 10px;
        border-radius: 14px;
        font-size: 0.68rem;
        line-height: 1.1;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 8px 20px rgba(0, 63, 120, 0.14);
    }

    .service-map-status-strip__item svg {
        width: 14px;
        height: 14px;
    }

    .service-map-status-strip__item--coords {
        display: none;
    }

    /* Barra de ferramentas compacta e fixa */
    .service-map-tools-bottom {
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
        z-index: 1160;
        width: auto;
        max-width: none;
        transform: none;
        pointer-events: none;
    }

    .service-map-tools-bottom__group {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        padding: 7px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 30px rgba(0, 63, 120, 0.22);
        pointer-events: auto;
    }

    .service-map-tool-btn {
        width: 100%;
        min-width: 0;
        height: 52px;
        padding: 5px 3px;
        border-radius: 16px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-size: 0.62rem;
        line-height: 1;
        white-space: nowrap;
    }

    .service-map-tool-btn svg {
        width: 18px;
        height: 18px;
    }

    .service-map-tool-btn span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .service-map-tool-btn.is-active {
        color: #ffffff;
        background: linear-gradient(135deg, #005ca8, #0873c4);
        border-color: rgba(255, 255, 255, 0.48);
        box-shadow:
            0 10px 22px rgba(0, 92, 168, 0.30),
            inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    }

    .service-map-tool-btn.is-tool-selected,
    .service-map-tool-btn.is-locating {
        color: #ffffff;
        background: linear-gradient(135deg, #6d28d9, #7c3aed);
        border-color: rgba(255, 255, 255, 0.52);
        box-shadow:
            0 10px 24px rgba(124, 58, 237, 0.34),
            inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    }

    .service-map-tool-btn.is-active svg,
    .service-map-tool-btn.is-tool-selected svg,
    .service-map-tool-btn.is-locating svg {
        stroke: #ffffff;
    }

    /* Popup mais adequado no mobile */
    .leaflet-popup-content-wrapper {
        border-radius: 18px;
    }

    .leaflet-popup-content {
        width: min(300px, calc(100vw - 48px)) !important;
        max-width: calc(100vw - 48px) !important;
        margin: 10px 12px;
    }

    .map-popup {
        max-width: 100%;
    }

    .map-popup__top {
        gap: 8px;
    }

    .map-popup__heading h3 {
        font-size: 0.92rem;
        line-height: 1.12;
    }

    .map-popup__heading span {
        font-size: 0.68rem;
    }

    .map-popup__info {
        gap: 8px;
    }

    .map-popup__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .leaflet-control-attribution {
        max-width: 70vw;
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 420px) {
    .service-map-floating-topbar {
        left: 7px;
        right: 7px;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 7px;
    }

    .service-map-fullscreen-close {
        width: 44px;
        min-width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .service-map-fullscreen-title {
        height: 44px;
        border-radius: 16px;
    }

    .service-map-fullscreen-title__icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .service-map-fullscreen-title__text strong {
        font-size: 0.8rem;
    }

    .service-map-fullscreen-title__text small {
        font-size: 0.62rem;
    }

    .service-map-fullscreen-status {
        top: calc(env(safe-area-inset-top, 0px) + 58px);
        right: 7px;
        padding: 6px 9px;
        font-size: 0.68rem;
    }

    .service-map-status-strip {
        left: 7px;
        right: 7px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
    }

    .service-map-status-strip__item {
        min-height: 28px;
        padding: 5px 9px;
        font-size: 0.64rem;
    }

    .service-map-tools-bottom {
        left: 7px;
        right: 7px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 7px);
    }

    .service-map-tools-bottom__group {
        gap: 5px;
        padding: 6px;
        border-radius: 20px;
    }

    .service-map-tool-btn {
        height: 48px;
        padding: 4px 2px;
        border-radius: 14px;
        font-size: 0.56rem;
    }

    .service-map-tool-btn svg {
        width: 17px;
        height: 17px;
    }

    .leaflet-control-zoom {
        margin-top: 118px !important;
        margin-left: 10px !important;
    }

    .leaflet-control-zoom a {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
    }
}

@media (max-width: 360px) {
    .service-map-tool-btn span {
        display: none;
    }

    .service-map-tool-btn {
        height: 46px;
    }

    .service-map-tool-btn svg {
        width: 20px;
        height: 20px;
    }

    .service-map-status-strip {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 68px);
    }
}

/* =========================================================
   e-Serviços Amambai — Correção definitiva da legenda mobile
   Afasta a legenda da barra de ferramentas
   Versão: 20260509-legenda-gap-mobile-06
========================================================= */

@media (max-width: 768px) {
    .service-map-status-strip {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 108px) !important;
        z-index: 1145 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        max-width: none !important;
        pointer-events: none !important;
    }

    .service-map-status-strip__item {
        width: auto !important;
        max-width: calc(100vw - 28px) !important;
        min-height: 28px !important;
        padding: 6px 12px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        color: #003f78 !important;
        border: 1px solid rgba(0, 92, 168, 0.18) !important;
        box-shadow: 0 8px 18px rgba(0, 63, 120, 0.16) !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .service-map-status-strip__item svg {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        stroke-width: 2.5 !important;
    }

    .service-map-status-strip__item span {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .service-map-status-strip__item--coords {
        display: none !important;
    }

    .service-map-tools-bottom {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
        z-index: 1160 !important;
    }
}

@media (max-width: 420px) {
    .service-map-status-strip {
        left: 8px !important;
        right: 8px !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 104px) !important;
    }

    .service-map-status-strip__item {
        max-width: calc(100vw - 24px) !important;
        min-height: 26px !important;
        padding: 5px 10px !important;
        font-size: 0.64rem !important;
    }
}

@media (max-width: 360px) {
    .service-map-status-strip {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 96px) !important;
    }

    .service-map-status-strip__item {
        font-size: 0.6rem !important;
    }
}