.rns-mapv {
    --rns-mapv-primary: #24a7ff;
    --rns-mapv-primary-dark: #008be3;
    --rns-mapv-primary-light: #e0f2fe;
    --rns-mapv-primary-glow: rgba(36, 167, 255, 0.25);
    --rns-mapv-success: #10b981;
    --rns-mapv-success-light: #dcfce7;
    --rns-mapv-warning: #f59e0b;
    --rns-mapv-warning-light: #fef3c7;
    --rns-mapv-dark: #0f172a;
    --rns-mapv-dark-surface: #1e293b;
    --rns-mapv-text: #1e293b;
    --rns-mapv-text-muted: #64748b;
    --rns-mapv-card-bg: #ffffff;
    --rns-mapv-border: #e2e8f0;
    --rns-mapv-border-hover: #cbd5e1;
    --rns-mapv-radius-xl: 20px;
    --rns-mapv-radius-lg: 16px;
    --rns-mapv-radius-md: 10px;
    --rns-mapv-radius-sm: 6px;
    --rns-mapv-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --rns-mapv-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
    --rns-mapv-shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    --rns-mapv-shadow-glow: 0 8px 24px rgba(36, 167, 255, 0.2);
    --rns-mapv-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Корень блока (стили body и обёртки из standalone-версии) */
.rns-mapv {
    max-width: 1280px;
    margin: 0 auto 30px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--rns-mapv-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Scoped reset — только внутри корня блока */
.rns-mapv *,
.rns-mapv *::before,
.rns-mapv *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Top Header */
.rns-mapv-page-header {
    text-align: center;
    margin-bottom: 24px;
}

.rns-mapv-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    border: 1px solid #bfdbfe;
}

.rns-mapv-page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--rns-mapv-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.rns-mapv-page-subtitle {
    font-size: 15px;
    color: var(--rns-mapv-text-muted);
    margin-bottom: 4px;
}

/* Work Segment Bar in HUD (Variant 2) */
.rns-mapv-work-seg-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rns-mapv-work-seg {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 2px;
    border-radius: 8px;
    display: inline-flex;
    gap: 2px;
}

.rns-mapv-work-seg .rns-mapv-seg-btn {
    font-size: 11.5px;
    height: 26px;
    padding: 0 8px;
}

/* Main Mockup Frame */
.rns-mapv-mockup-frame {
    background: var(--rns-mapv-card-bg);
    border-radius: var(--rns-mapv-radius-xl);
    border: 1px solid var(--rns-mapv-border);
    box-shadow: var(--rns-mapv-shadow-lg);
    padding: 32px 28px;
    position: relative;
    margin-bottom: 30px;
}

/* Mockup Header */
.rns-mapv-title-area {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.rns-mapv-title-left {
    flex: 1;
    min-width: 280px;
}

.rns-mapv-h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--rns-mapv-dark);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.rns-mapv-desc {
    font-size: 13.5px;
    color: var(--rns-mapv-text-muted);
    margin: 0;
    line-height: 1.45;
}

.rns-mapv-title-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Year Pills Buttons (Табы по годам) */
.rns-mapv-year-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.rns-mapv-pill-btn {
    border: 1px solid var(--rns-mapv-border);
    background: #ffffff;
    color: var(--rns-mapv-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--rns-mapv-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.rns-mapv-pill-btn:hover {
    background: #ffffff;
    border-color: var(--rns-mapv-primary);
    color: var(--rns-mapv-primary-dark);
    transform: translateY(-1px);
}

.rns-mapv-pill-btn.active {
    background: var(--rns-mapv-primary);
    color: #ffffff;
    border-color: var(--rns-mapv-primary);
    box-shadow: 0 4px 14px var(--rns-mapv-primary-glow);
}

.rns-mapv-pill-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    transition: var(--rns-mapv-transition);
}

.rns-mapv-pill-btn.active .rns-mapv-pill-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Quick District Chip Bar (Pro Feature) */
.rns-mapv-district-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: var(--rns-mapv-radius-md);
    border: 1px solid var(--rns-mapv-border);
}

.rns-mapv-district-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--rns-mapv-dark);
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rns-mapv-district-chip {
    border: 1px solid var(--rns-mapv-border);
    background: #ffffff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
    color: #475569;
    cursor: pointer;
    transition: var(--rns-mapv-transition);
}

.rns-mapv-district-chip:hover {
    border-color: var(--rns-mapv-primary);
    color: var(--rns-mapv-primary-dark);
    background: #f0f9ff;
}

.rns-mapv-district-chip.active {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
    box-shadow: 0 2px 6px rgba(30, 41, 59, 0.2);
}

/* Secondary Category Filter */
.rns-mapv-type-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.rns-mapv-type-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rns-mapv-text-muted);
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    height: 36px;
}

.rns-mapv-type-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid var(--rns-mapv-border);
    background: #ffffff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    color: #475569;
    cursor: pointer;
    transition: var(--rns-mapv-transition);
    line-height: 1;
}

.rns-mapv-type-tag:hover {
    border-color: var(--rns-mapv-primary);
    color: var(--rns-mapv-primary-dark);
    background: #f8fafc;
}

.rns-mapv-type-tag.active {
    background: var(--rns-mapv-dark);
    color: #ffffff;
    border-color: var(--rns-mapv-dark);
}

/* Layout Containers */
/* aspect-ratio убран: панель «Сводка» уезжала за пределы рамки карты
   на тестовой странице сайта. Высоту контейнера держит .rns-mapv-map-wrapper (min-height). */
.rns-mapv-split-layout {
    display: block;
    position: relative;
    border: 1px solid var(--rns-mapv-border);
    border-radius: var(--rns-mapv-radius-lg);
    overflow: hidden;
    box-shadow: var(--rns-mapv-shadow-md);
    min-height: 650px;
}

.rns-mapv-full-layout {
    display: block;
    position: relative;
    border: 1px solid var(--rns-mapv-border);
    border-radius: var(--rns-mapv-radius-lg);
    overflow: hidden;
    box-shadow: var(--rns-mapv-shadow-md);
    min-height: 650px;
}

@media (max-width: 1024px) {

    #rns-mapv-sidebar,
    .rns-mapv-sidebar {
        display: none !important;
    }

    .rns-mapv-deck-actions,
    #rns-mapv-deck-btn {
        display: none !important;
    }
}

/* Map Controls Row (Category filter + Dashboard toggle switch) */
.rns-mapv-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.rns-mapv-dash-toggle-wrap {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
}

.rns-mapv-dash-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--rns-mapv-border);
    border-radius: 8px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rns-mapv-dark);
    cursor: pointer;
    user-select: none;
    transition: var(--rns-mapv-transition);
    box-shadow: var(--rns-mapv-shadow-sm);
    line-height: 1;
}

.rns-mapv-dash-toggle-btn:hover {
    border-color: var(--rns-mapv-primary);
    background: #f8fafc;
}

.rns-mapv-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    vertical-align: middle;
}

.rns-mapv-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.rns-mapv-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.25s ease;
    border-radius: 20px;
}

.rns-mapv-switch-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.25s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.rns-mapv-switch input:checked+.rns-mapv-switch-slider {
    background-color: #0284c7;
}

.rns-mapv-switch input:checked+.rns-mapv-switch-slider:before {
    transform: translateX(14px);
}

/* Capsule HUD Toggle Button */
.rns-mapv-deck-toggle-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    border: 1px solid #0f172a;
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    line-height: 1;
    height: 28px;
    box-sizing: border-box;
}

.rns-mapv-deck-toggle-btn svg {
    color: #38bdf8;
    stroke: #38bdf8;
}

.rns-mapv-deck-toggle-btn .rns-mapv-switch {
    pointer-events: none;
}

.rns-mapv-deck-toggle-btn .rns-mapv-switch-slider {
    background-color: #475569;
}

.rns-mapv-deck-toggle-btn .rns-mapv-switch input:checked+.rns-mapv-switch-slider {
    background-color: #0284c7;
}

.rns-mapv-deck-toggle-btn:hover {
    background: #1e293b;
    border-color: #334155;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.rns-mapv-deck-toggle-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.rns-mapv-deck-toggle-btn.active svg {
    color: #38bdf8;
    stroke: #38bdf8;
}

/* Floating Filter Deck HUD on Map (Glassmorphism Transparency) */
.rns-mapv-floating-hud {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 350px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--rns-mapv-radius-md);
    padding: 6px 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.rns-mapv-floating-hud:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.15), 0 6px 12px -2px rgba(15, 23, 42, 0.06);
}

.rns-mapv-mockup-frame.rns-mapv-sidebar-hidden .rns-mapv-floating-hud {
    right: 8px;
}

/* High-contrast transparent styling for internal HUD elements */
.rns-mapv-floating-hud .rns-mapv-segmented-group {
    background: rgba(241, 245, 249, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rns-mapv-work-seg {
    background: rgba(241, 245, 249, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 2px;
    border-radius: 8px;
    display: inline-flex;
    gap: 2px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rns-mapv-floating-hud .rns-mapv-seg-btn {
    color: #475569;
    font-weight: 600;
}

.rns-mapv-floating-hud .rns-mapv-seg-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--rns-mapv-dark);
}

.rns-mapv-floating-hud .rns-mapv-seg-btn.active {
    background: #ffffff;
    color: var(--rns-mapv-dark);
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rns-mapv-floating-hud .rns-mapv-seg-badge {
    background: #e2e8f0;
    color: #475569;
}

.rns-mapv-floating-hud .rns-mapv-seg-btn.active .rns-mapv-seg-badge {
    background: #e0f2fe;
    color: #0284c7;
}

.rns-mapv-floating-hud .rns-mapv-chip-btn:not(.active) {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #475569;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rns-mapv-floating-hud .rns-mapv-chip-btn:not(.active):hover {
    background: rgba(248, 250, 252, 0.95);
    border-color: var(--rns-mapv-primary);
    color: var(--rns-mapv-primary-dark);
}

.rns-mapv-floating-hud .rns-mapv-reset-btn {
    background: rgba(255, 247, 237, 0.85);
    border: 1px solid rgba(254, 215, 170, 0.8);
    color: #ea580c;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rns-mapv-floating-hud .rns-mapv-reset-btn:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fca5a5;
}

.rns-mapv-floating-hud .rns-mapv-deck-toggle-btn {
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff;
}

.rns-mapv-floating-hud .rns-mapv-deck-toggle-btn:hover {
    background: #1e293b;
    border-color: #334155;
    color: #ffffff;
}

.rns-mapv-floating-hud .rns-mapv-deck-toggle-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.rns-mapv-floating-hud .rns-mapv-deck-row-top {
    border: none;
    padding: 0;
}

.rns-mapv-floating-hud .rns-mapv-deck-row-middle,
.rns-mapv-floating-hud .rns-mapv-deck-row-bottom {
    border-top: 1px solid rgba(241, 245, 249, 0.8) !important;
}

@media (max-width: 1024px) {
    .rns-mapv-floating-hud {
        right: 4px !important;
    }
}

@media (max-width: 768px) {
    .rns-mapv-floating-hud {
        top: 4px;
        left: 4px;
        right: 4px;
        padding: 5px 6px;
        gap: 5px;
    }
}

/* ================= SHARED COMPACT CONTROLS ================= */
.rns-mapv-segmented-group {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    gap: 2px;
    flex-wrap: nowrap;
    border: 1px solid #e2e8f0;
}

.rns-mapv-seg-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: #475569;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    user-select: none;
    height: 28px;
    box-sizing: border-box;
    white-space: nowrap;
}

.rns-mapv-seg-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

.rns-mapv-seg-btn.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.rns-mapv-seg-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #475569;
    font-variant-numeric: tabular-nums;
    transition: all 0.2s ease;
}

.rns-mapv-seg-btn.active .rns-mapv-seg-badge {
    background: #e0f2fe;
    color: #0284c7;
}

/* Category Chips */
.rns-mapv-chips-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.rns-mapv-chip-btn {
    appearance: none;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    height: 30px;
    padding: 0 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
}

.rns-mapv-chip-btn:hover {
    border-color: #38bdf8;
    color: #0284c7;
    background: #f8fafc;
    transform: translateY(-1px);
}

.rns-mapv-chip-btn.active {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #0284c7;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
    font-weight: 700;
}

.rns-mapv-chip-btn.active span {
    color: #ffffff !important;
}

.rns-mapv-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #64748b;
    transition: color 0.18s ease, transform 0.18s ease;
}

.rns-mapv-chip-btn:hover .rns-mapv-chip-icon {
    color: #0284c7;
    transform: scale(1.08);
}

.rns-mapv-chip-btn.active .rns-mapv-chip-icon {
    color: #ffffff !important;
}

.rns-mapv-reset-btn {
    appearance: none;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #ea580c;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    height: 30px;
    padding: 0 10px;
    border-radius: 7px;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    box-shadow: var(--rns-mapv-shadow-sm);
    box-sizing: border-box;
    white-space: nowrap;
}

.rns-mapv-reset-btn:hover {
    background: #ffedd5;
    border-color: #fdba74;
    color: #c2410c;
    transform: translateY(-1px);
}

.rns-mapv-deck-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.rns-mapv-divider {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 4px;
    flex-shrink: 0;
}

/* ================= 2-ROW CLEAN CONTROL DECK ================= */
.rns-mapv-deck-2rows {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.2s ease;
}

.rns-mapv-deck-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rns-mapv-deck-row-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
}

.rns-mapv-deck-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
}

/* Active Category Style for All Containers (High Specificity & SVG paths) */
.rns-mapv-chip-btn.active,
.rns-mapv-chip-btn.active:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
    font-weight: 700 !important;
}

.rns-mapv-chip-btn.active span {
    color: #ffffff !important;
}

.rns-mapv-chip-btn.active .rns-mapv-chip-icon,
.rns-mapv-chip-btn.active svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.rns-mapv-chip-btn.active svg path,
.rns-mapv-chip-btn.active svg rect,
.rns-mapv-chip-btn.active svg line,
.rns-mapv-chip-btn.active svg circle {
    stroke: #ffffff !important;
}

.rns-mapv-sidebar-close {
    appearance: none;
    background: #f1f5f9;
    border: 1px solid var(--rns-mapv-border);
    color: #64748b;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--rns-mapv-transition);
    line-height: 1;
}

.rns-mapv-sidebar-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Sidebar Stats Card (Glassmorphism Overlay Transparency) */
.rns-mapv-sidebar {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: 330px;
    z-index: 95;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--rns-mapv-radius-md);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    overflow-y: auto;
    scrollbar-width: thin;
    max-height: calc(100% - 16px);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.rns-mapv-sidebar::-webkit-scrollbar {
    width: 4px;
}

.rns-mapv-sidebar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 4px;
}

.rns-mapv-mockup-frame.rns-mapv-sidebar-hidden .rns-mapv-sidebar {
    display: none !important;
}

/* Стили, бывшие inline-атрибутами в standalone-версии.
   OpenCart (HTML-модуль) вырезает style-атрибуты — держим их здесь. */
.rns-mapv-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid var(--rns-mapv-border);
    padding-bottom: 10px;
}

.rns-mapv-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--rns-mapv-dark);
}

.rns-mapv-sidebar-summary {
    font-size: 12px;
    color: var(--rns-mapv-text-muted);
}

#rns-mapv-active-filter-sublabel {
    font-size: 11px;
    color: #64748b;
}

.rns-mapv-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rns-mapv-text-muted);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rns-mapv-sidebar-label-hint {
    font-weight: 500;
    font-size: 10px;
    color: #0284c7;
}

.rns-mapv-cats-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rns-mapv-text-muted);
    margin-bottom: 8px;
}

.rns-mapv-service-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rns-mapv-service-head > span:last-child {
    display: inline-flex;
    align-items: center;
}

#rns-mapv-stat-rns { color: #0284c7; }
#rns-mapv-stat-rnv { color: #16a34a; }
#rns-mapv-stat-ago { color: #d97706; }

/* Стартовые значения; JS пересчитывает ширину из MAP_DATA при загрузке */
#rns-mapv-stat-rns-fill { width: 80%; background: #0284c7; }
#rns-mapv-stat-rnv-fill { width: 20%; background: #16a34a; }
#rns-mapv-stat-ago-fill { width: 5%; background: #d97706; }

.rns-mapv-sidebar .rns-mapv-kpi-card {
    appearance: none;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--rns-mapv-radius-md);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--rns-mapv-shadow-sm);
    cursor: pointer;
    transition: var(--rns-mapv-transition);
    font-family: inherit;
}

.rns-mapv-kpi-card:hover {
    border-color: var(--rns-mapv-primary);
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.rns-mapv-kpi-card.active {
    border-color: var(--rns-mapv-primary);
    background: rgba(240, 249, 255, 0.9);
    box-shadow: 0 0 0 2px var(--rns-mapv-primary-light);
}

.rns-mapv-kpi-hint {
    font-size: 9px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: none;
    letter-spacing: normal;
}

.rns-mapv-kpi-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--rns-mapv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rns-mapv-kpi-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--rns-mapv-primary-dark);
}

/* Interactive Filter Cards in Sidebar (Pro) */
.rns-mapv-sidebar .rns-mapv-service-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--rns-mapv-radius-md);
    padding: 8px 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: var(--rns-mapv-transition);
    display: block;
    width: 100%;
    text-align: left;
}

.rns-mapv-service-item:hover {
    border-color: var(--rns-mapv-primary);
    transform: translateX(2px);
    box-shadow: var(--rns-mapv-shadow-sm);
}

.rns-mapv-service-item.active {
    border-color: var(--rns-mapv-primary);
    background: rgba(240, 249, 255, 0.9);
    box-shadow: 0 0 0 2px var(--rns-mapv-primary-light);
}

.rns-mapv-service-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--rns-mapv-dark);
}

.rns-mapv-service-bar {
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.rns-mapv-service-fill {
    height: 100%;
    background: var(--rns-mapv-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Category Chips inside sidebar */
.rns-mapv-sidebar .rns-mapv-cat-chip {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: var(--rns-mapv-transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 4px;
}

.rns-mapv-cat-chip:hover {
    border-color: var(--rns-mapv-primary);
    background: #f8fafc;
}

.rns-mapv-cat-chip.active {
    background: var(--rns-mapv-dark);
    color: #ffffff;
    border-color: var(--rns-mapv-dark);
}

/* Disabled filter items styling */
.rns-mapv-service-item:disabled,
.rns-mapv-service-item.disabled,
.rns-mapv-cat-chip:disabled,
.rns-mapv-cat-chip.disabled,
.rns-mapv-chip-btn:disabled,
.rns-mapv-chip-btn.disabled,
.rns-mapv-seg-btn:disabled,
.rns-mapv-seg-btn.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    transform: none !important;
}

.rns-mapv-service-item:disabled .rns-mapv-legend-dot,
.rns-mapv-service-item.disabled .rns-mapv-legend-dot,
.rns-mapv-service-item:disabled b,
.rns-mapv-service-item.disabled b,
.rns-mapv-cat-chip:disabled b,
.rns-mapv-cat-chip.disabled b,
.rns-mapv-chip-btn:disabled .rns-mapv-chip-icon,
.rns-mapv-chip-btn.disabled .rns-mapv-chip-icon {
    opacity: 0.4 !important;
    color: #94a3b8 !important;
}

.rns-mapv-service-item:disabled .rns-mapv-service-fill,
.rns-mapv-service-item.disabled .rns-mapv-service-fill {
    background: #cbd5e1 !important;
    width: 0% !important;
}

.rns-mapv-seg-btn:disabled .rns-mapv-seg-badge,
.rns-mapv-seg-btn.disabled .rns-mapv-seg-badge {
    background: #f1f5f9 !important;
    color: #cbd5e1 !important;
}

/* Reset Filter Button */
.rns-mapv-reset-filters-btn {
    background: none;
    border: 1px dashed #94a3b8;
    color: #475569;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--rns-mapv-transition);
    display: none;
    text-align: center;
}

.rns-mapv-reset-filters-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
}

/* Map Container */
.rns-mapv-map-wrapper {
    position: relative;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #e2e8f0;
    height: 100%;
    min-height: 650px;
    display: flex;
    flex-direction: column;
}

#rns-mapv-map {
    width: 100%;
    height: 100%;
    min-height: 650px;
    flex: 1 1 auto;
    display: block;
}

/* Legend Dot Colors */
.rns-mapv-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.rns-mapv-legend-dot.rns {
    background: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.rns-mapv-legend-dot.rnv {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.rns-mapv-legend-dot.ago {
    background: #d97706;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

/* Custom Rich Balloon Styling: B2B Engineering Passport (Variant A) */
.rns-mapv-balloon {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    padding: 2px 0;
    width: 295px;
    box-sizing: border-box;
}

.rns-mapv-bp-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    padding-right: 18px;
}

.rns-mapv-bp-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.rns-mapv-bp-location svg {
    flex-shrink: 0;
}

.rns-mapv-bp-date {
    white-space: nowrap;
    flex-shrink: 0;
}

.rns-mapv-bp-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.rns-mapv-bp-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin: 0;
}

.rns-mapv-bp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rns-mapv-bp-pill.rns {
    background: #e0f2fe;
    color: #0284c7;
}

.rns-mapv-bp-pill.rnv {
    background: #dcfce7;
    color: #15803d;
}

.rns-mapv-bp-pill.ago {
    background: #fef3c7;
    color: #b45309;
}

.rns-mapv-bp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.rns-mapv-bp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
}

.rns-mapv-bp-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
}

.rns-mapv-bp-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.rns-mapv-bp-val {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.rns-mapv-bp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0077b6 100%);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}

.rns-mapv-bp-cta:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

/* ================= CLUSTER BALLOON (аккордеон Яндекса) ================= */
/* Цвет заголовков в списке кластера: стандартный шаблон перекрывает цвета,
   поэтому задаём с !important на конкретных классах аккордеона.
   Селекторы версионно-независимые: у классов Яндекса префикс ymaps-2-1-XX-
   (XX = версия API, меняется при её обновлении), поэтому ловим их через [class*=…]
   вместо жёсткого .ymaps-2-1-79-… */
[class*="-b-cluster-tabs__menu-item-text"] {
    color: #0f172a !important;
    font-weight: 600 !important;
}

[class*="-b-cluster-tabs__menu-item"]:hover [class*="-b-cluster-tabs__menu-item-text"],
[class*="-b-cluster-tabs__menu-item_current_yes"] [class*="-b-cluster-tabs__menu-item-text"] {
    color: #0284c7 !important;
}

/* Скроллбары внутри балуна не показываем (скролл работает) */
[class*="-balloon__content"],
[class*="-balloon__layout"],
[class*="-b-cluster-tabs__menu"],
[class*="-b-cluster-tabs__section_type_content"],
[class*="-b-cluster-tabs__content-item"] {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

[class*="-balloon__content"]::-webkit-scrollbar,
[class*="-balloon__layout"]::-webkit-scrollbar,
[class*="-b-cluster-tabs__menu"]::-webkit-scrollbar,
[class*="-b-cluster-tabs__section_type_content"]::-webkit-scrollbar,
[class*="-b-cluster-tabs__content-item"]::-webkit-scrollbar {
    display: none !important;
}

/* ============================================================
   Штатная геометрия балуна Яндекса, которую ломал scoped reset
   (.rns-mapv *). CSS API инжектится в <head> раньше, чем этот
   файл подключается в теле страницы, поэтому его margin/padding
   специфичностью (0,1,0) проигрывали сбросу по порядку документа.
   Значения — из CSS API (build 2.1.79-19906405); селекторы
   версионно-независимые, #rns-mapv-map поднимает специфичность
   выше и сброса, и правил API.
   ============================================================ */

/* Кнопка закрытия: уходит из потока отрицательным отступом.
   Без него кнопка занимает 40px в потоке — пустая полоса сверху
   балуна. [class$=…] вместо [class*=…], чтобы не зацепить
   __close-button (подстрока «-balloon__close» входит в него) */
#rns-mapv-map [class$="-balloon__close"] {
    margin-bottom: -40px;
}

/* Внутренняя рамка бокса: 1px по периметру (пара к inset
   box-shadow на корне балуна) */
#rns-mapv-map [class*="-balloon__layout"] {
    margin: -1px;
    padding: 1px;
}

/* Содержимое балуна: базовые отступы API */
#rns-mapv-map [class*="-balloon__content"] {
    margin: 0;
    padding: 10px 12px;
}

/* Когда перед содержимым стоит кнопка закрытия, API отодвигает
   текст от крестика и обнуляет правый паддинг */
#rns-mapv-map [class$="-balloon__close"] + [class*="-balloon__content"] {
    margin-right: 30px;
    padding-right: 0;
}

/* Хвост-стрелка: прижимается к низу бокса отрицательным
   отступом — без него под балуном остаётся прозрачная полоса
   высотой 17px */
#rns-mapv-map [class*="-balloon__tail"] {
    margin-bottom: -17px;
}

/* Корень балуна: 1px под внутреннюю тень-рамку (класс корня —
   «…-balloon_layout_normal», у прочих элементов двойное
   подчёркивание, так что подстрока однозначна) */
#rns-mapv-map [class*="-balloon_layout_"] {
    padding: 1px;
}

/* Consultation Form Modal */
.rns-mapv-lead-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.rns-mapv-lead-dialog {
    background: #ffffff;
    border-radius: var(--rns-mapv-radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 28px;
    box-shadow: var(--rns-mapv-shadow-lg);
    position: relative;
}

.rns-mapv-lead-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--rns-mapv-dark);
    margin-bottom: 8px;
}

.rns-mapv-lead-desc {
    font-size: 13px;
    color: var(--rns-mapv-text-muted);
    margin-bottom: 20px;
}

.rns-mapv-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--rns-mapv-border);
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    line-height: 1;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--rns-mapv-transition);
}

.rns-mapv-modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.rns-mapv-form-group {
    margin-bottom: 14px;
}

.rns-mapv-form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--rns-mapv-dark);
    margin-bottom: 4px;
}

.rns-mapv-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--rns-mapv-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--rns-mapv-transition);
}

.rns-mapv-form-input:focus {
    border-color: var(--rns-mapv-primary);
    box-shadow: 0 0 0 3px var(--rns-mapv-primary-light);
}

.rns-mapv-form-submit {
    width: 100%;
    padding: 12px;
    background: var(--rns-mapv-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--rns-mapv-transition);
    margin-top: 10px;
}

.rns-mapv-form-submit:hover {
    background: var(--rns-mapv-primary-dark);
}

/* Pulse Animation */
.rns-mapv-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rns-mapv-primary);
    box-shadow: 0 0 0 3px rgba(36, 167, 255, 0.4);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(36, 167, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(36, 167, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(36, 167, 255, 0);
    }
}

@media (max-width: 640px) {
    .rns-mapv-page-title {
        font-size: 22px;
    }

    .rns-mapv-h2 {
        font-size: 20px;
    }

    #rns-mapv-map {
        height: 420px;
    }

}

/* Custom Zoom Buttons (RNS50 Brand Style) */
.rns-mapv-zoom-ctrl {
    position: absolute;
    top: 175px;
    left: 14px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rns-mapv-zoom-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rns-mapv-zoom-btn:hover {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.rns-mapv-zoom-btn:active {
    transform: scale(0.92);
}

.rns-mapv-zoom-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1px 4px;
}

/* ================= MOBILE FILTER BAR (ADAPTIVE DROPDOWNS) ================= */
.rns-mapv-mobile-bar {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.rns-mapv-mob-row {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.rns-mapv-mob-select {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.rns-mapv-mob-select:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.rns-mapv-mob-reset-btn {
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #ea580c;
    font-size: 12px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.rns-mapv-mob-reset-btn:hover {
    background: #ffedd5;
    border-color: #fdba74;
    color: #c2410c;
}

@media (max-width: 768px) {

    .rns-mapv-deck-row-top,
    .rns-mapv-deck-row-middle,
    .rns-mapv-deck-row-bottom {
        display: none !important;
    }

    .rns-mapv-mobile-bar {
        display: flex !important;
    }
}

@media (max-width: 640px) {
    .rns-mapv {
        padding: 0 6px 20px;
    }

    .rns-mapv-mockup-frame {
        padding: 14px 8px;
        border-radius: 16px;
    }

    .rns-mapv-floating-hud {
        top: 4px;
        left: 4px;
        right: 4px;
        padding: 5px;
    }
}