/* =======================================================================
   Geoportal Shell — chasis visual del visor (PR1 rediseño Miriam)
   Scopeado a `.gp-shell` para no contaminar el resto del sitio
   (dashboard, layers, admin usan brown-theme.css/geobrown.css).
   ======================================================================= */

.gp-shell {
    --azul: #1a4fa0;
    --azul-dark: #0f3272;
    --azul-mid: #1d5cb5;
    --celeste: #2196f3;
    --celeste-light: #e3f2fd;
    --verde: #2e7d32;
    --verde-light: #e8f5e9;
    --dorado: #c8a84b;
    --rojo: #c62828;
    --gp-bg: #f4f6fb;
    --gp-bg-2: #eaecf4;
    --gp-sidebar: #0f2547;
    --gp-sidebar-mid: #162f5a;
    --gp-sidebar-light: #1d3a6e;
    --gp-text: #1a2744;
    --gp-text-2: #4a5878;
    --gp-text-muted: #8896b0;
    --gp-border: #dde3ef;
    --gp-shadow: 0 2px 16px rgba(26, 79, 160, 0.10);
    --gp-shadow-lg: 0 8px 40px rgba(26, 79, 160, 0.15);
    --gp-radius: 12px;
    --gp-radius-sm: 8px;
    --gp-sidebar-w: 320px;

    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: var(--gp-bg);
    color: var(--gp-text);
    font-family: 'Outfit', system-ui, sans-serif;
}

.gp-shell *,
.gp-shell *::before,
.gp-shell *::after {
    box-sizing: border-box;
}

/* ────────────────────────────────────────────────────────────────
   TOPBAR (56px, azul oscuro, sticky superior)
   ──────────────────────────────────────────────────────────────── */
.gp-shell .topbar {
    height: 64px;
    background: var(--azul-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 500;
    flex-shrink: 0;
}

.gp-shell .topbar-left { display: flex; align-items: center; gap: 0.75rem; }

/* Logo imagen */
.gp-shell .topbar-logo-img {
    height: 38px;
    width: auto;
    flex-shrink: 0;
    margin-right: 8px;
}

/* Brand institucional: 3 columnas (municipio | secretaría | sistema) */
.gp-shell .topbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
}
.gp-shell .topbar-municipio {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-right: 16px;
}
.gp-shell .topbar-municipio-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.gp-shell .topbar-municipio-name {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.gp-shell .topbar-brand-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
.gp-shell .topbar-secretaria {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding: 0 16px;
}
.gp-shell .topbar-secretaria-name {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.gp-shell .topbar-secretaria-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.6rem;
    font-weight: 400;
    max-width: 220px;
    line-height: 1.2;
}
.gp-shell .topbar-sistema {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-left: 16px;
}
.gp-shell .topbar-sistema-name {
    color: var(--celeste);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.gp-shell .topbar-sistema-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.6rem;
    font-weight: 400;
}

.gp-shell .topbar-logo { display: flex; align-items: center; gap: 10px; }
.gp-shell .topbar-icon { font-size: 1.5rem; }
.gp-shell .topbar-title { line-height: 1.2; }
.gp-shell .topbar-title strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 700; }
.gp-shell .topbar-title span { color: rgba(255, 255, 255, 0.55); font-size: 0.7rem; font-weight: 400; }
.gp-shell .topbar-divider { width: 1px; height: 28px; background: rgba(255, 255, 255, 0.15); }

.gp-shell .topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    cursor: text;
    transition: background 0.2s;
    min-width: 240px;
}
.gp-shell .topbar-search:hover { background: rgba(255, 255, 255, 0.15); }
.gp-shell .topbar-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    width: 100%;
}
.gp-shell .topbar-search input::placeholder { color: rgba(255, 255, 255, 0.45); }

.gp-shell .topbar-search-wrap { position: relative; }
.gp-shell .search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    min-width: 320px;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow-lg);
    z-index: 600;
    display: none;
    padding: 4px;
}
.gp-shell .search-suggestions.show { display: block; }
.gp-shell .search-suggestion {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--gp-radius-sm);
    text-align: left;
    cursor: pointer;
    color: var(--gp-text);
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.3;
}
.gp-shell .search-suggestion:hover,
.gp-shell .search-suggestion.active {
    background: var(--celeste-light);
    color: var(--azul-dark);
}
.gp-shell .search-suggestion-main { font-weight: 600; }
.gp-shell .search-suggestion-sub { color: var(--gp-text-muted); font-size: 0.75rem; margin-top: 2px; }
.gp-shell .search-suggestion-empty {
    padding: 12px;
    color: var(--gp-text-muted);
    font-size: 0.82rem;
    text-align: center;
}

.gp-shell .topbar-right { display: flex; align-items: center; gap: 0.75rem; }

.gp-shell .user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px 12px 5px 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.gp-shell a.user-pill:hover {
    background: rgba(255, 255, 255, 0.2);
}
.gp-shell .user-pill-go {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    margin-left: 2px;
}
.gp-shell a.user-pill:hover .user-pill-go {
    color: #fff;
}
.gp-shell .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--celeste);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}
.gp-shell .user-pill-text { line-height: 1.2; }
.gp-shell .user-pill-text strong { display: block; color: #fff; font-size: 0.8rem; }
.gp-shell .user-pill-text span { color: rgba(255, 255, 255, 0.55); font-size: 0.68rem; text-transform: capitalize; }

.gp-shell .topbar-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.gp-shell .topbar-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.gp-shell .topbar-btn.danger {
    background: rgba(198, 40, 40, 0.3);
    border-color: rgba(198, 40, 40, 0.4);
}
.gp-shell .topbar-btn.danger:hover { background: rgba(198, 40, 40, 0.5); }

/* ────────────────────────────────────────────────────────────────
   MAIN AREA (sidebar + map)
   ──────────────────────────────────────────────────────────────── */
.gp-shell .main-area {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ────────────────────────────────────────────────────────────────
   SIDEBAR (320px, navy oscuro)
   ──────────────────────────────────────────────────────────────── */
.gp-shell .sidebar {
    width: var(--gp-sidebar-w);
    flex-shrink: 0;
    background: var(--gp-sidebar);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.2);
    z-index: 400;
}

.gp-shell .sidebar-nav {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.gp-shell .snav-btn {
    flex: 1;
    padding: 10px 6px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.gp-shell .snav-btn .sn-icon { font-size: 0.95rem; }
.gp-shell .snav-btn:hover { color: rgba(255, 255, 255, 0.75); }
.gp-shell .snav-btn.active {
    color: #fff;
    border-bottom-color: var(--celeste);
}

/* SIDEBAR PANELS */
.gp-shell .sidebar-panel {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}
.gp-shell .sidebar-panel.active { display: flex; }

.gp-shell .panel-header {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.gp-shell .panel-header h3 { color: #fff; font-size: 0.95rem; font-weight: 700; }
.gp-shell .panel-header p { color: rgba(255, 255, 255, 0.45); font-size: 0.75rem; margin-top: 2px; }

.gp-shell .panel-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0;
}
/* Todos los panels tienen padding, igual que miriam */
.gp-shell [data-panel-name="capas"] .panel-body { padding: 0.5rem 1rem; }
.gp-shell [data-panel-name="leyenda"] .panel-body,
.gp-shell [data-panel-name="basemap"] .panel-body,
.gp-shell [data-panel-name="cuenta"] .panel-body {
    padding: 1rem 1.25rem;
}
.gp-shell .panel-body::-webkit-scrollbar { width: 4px; }
.gp-shell .panel-body::-webkit-scrollbar-track { background: transparent; }
.gp-shell .panel-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.gp-shell .panel-empty-msg {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    padding: 1rem 0;
    text-align: center;
}

/* ── Panel INFO ── */
.gp-shell .info-panel-body { padding: 1.25rem; }
.gp-shell .info-section-title {
    font-size: 0.67rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: rgba(255,255,255,0.4);
    margin-bottom: 0.75rem; padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gp-shell .info-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.82rem;
}
.gp-shell .info-label { color: rgba(255,255,255,0.45); }
.gp-shell .info-value { color: #fff; font-weight: 500; text-align: right; }
.gp-shell .info-role-row {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; font-size: 0.8rem;
}
.gp-shell .info-role-badge {
    font-size: 0.65rem; font-weight: 700; padding: 3px 8px;
    border-radius: 999px; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.04em;
}
.gp-shell .info-role-badge.publico   { background: rgba(255,255,255,0.15); color: #fff; }
.gp-shell .info-role-badge.usuario   { background: rgba(33,150,243,0.25); color: #64b5f6; }
.gp-shell .info-role-badge.funcionario { background: rgba(46,125,50,0.3); color: #81c784; }
.gp-shell .info-role-badge.admin     { background: rgba(198,40,40,0.3); color: #ef9a9a; }
.gp-shell .info-role-desc { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

/* Buscador de capas (dentro del panel, sin header encima) */
.gp-shell .layer-search-wrap {
    padding: 12px 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.gp-shell .layer-search-wrap input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.gp-shell .layer-search-wrap input::placeholder { color: rgba(255, 255, 255, 0.35); }
.gp-shell .layer-search-wrap input:focus {
    border-color: rgba(33, 150, 243, 0.4);
    background: rgba(255, 255, 255, 0.09);
}

/* ────────────────────────────────────────────────────────────────
   LAYER ITEMS (catálogo capas)
   ──────────────────────────────────────────────────────────────── */
.gp-shell .layer-group { margin-bottom: 1.5rem; }
.gp-shell .layer-group-title {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gp-shell .layer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--gp-radius-sm);
    margin-bottom: 4px;
    cursor: pointer;
    transition: background 0.15s;
    border: 1px solid transparent;
}
.gp-shell .layer-item:hover { background: rgba(255, 255, 255, 0.06); }
.gp-shell .layer-item.active {
    background: rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.25);
}
.gp-shell .layer-item.locked { opacity: 0.4; cursor: not-allowed; }

.gp-shell .layer-toggle {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s;
}
.gp-shell .layer-toggle.on { background: var(--celeste); }
.gp-shell .layer-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.gp-shell .layer-toggle.on::after { transform: translateX(16px); }

.gp-shell .layer-icon { font-size: 1.1rem; flex-shrink: 0; }
.gp-shell .layer-info { flex: 1; min-width: 0; }
.gp-shell .layer-name {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gp-shell .layer-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-shell .layer-lock { color: rgba(255, 200, 0, 0.6); font-size: 0.85rem; }
.gp-shell .layer-dl {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.15s;
    padding: 4px;
}
.gp-shell .layer-dl:hover { color: #fff; }

.gp-shell .lock-msg {
    background: rgba(200, 168, 75, 0.12);
    border: 1px solid rgba(200, 168, 75, 0.25);
    border-radius: var(--gp-radius-sm);
    padding: 12px;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: rgba(200, 168, 75, 0.9);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* ────────────────────────────────────────────────────────────────
   LEGEND
   ──────────────────────────────────────────────────────────────── */
.gp-shell .legend-section { margin-bottom: 1.25rem; }
.gp-shell .legend-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.gp-shell .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.gp-shell .legend-swatch { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.gp-shell .legend-swatch.line { border-radius: 0; height: 3px; width: 18px; }
.gp-shell .legend-swatch.circle { border-radius: 50%; width: 10px; height: 10px; }
.gp-shell .legend-text { color: rgba(255, 255, 255, 0.65); font-size: 0.75rem; }

/* ────────────────────────────────────────────────────────────────
   MAP AREA
   ──────────────────────────────────────────────────────────────── */
.gp-shell .map-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.gp-shell .map-container > [data-map-target="container"] {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* INFO PANEL (arriba-derecha) */
.gp-shell .map-info-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 200;
    width: 280px;
    background: #fff;
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow-lg);
    display: none;
    overflow: hidden;
}
.gp-shell .map-info-panel.visible { display: block; }
.gp-shell .mip-header {
    background: var(--azul);
    color: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gp-shell .mip-header span { font-size: 0.88rem; font-weight: 700; }
.gp-shell .mip-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: 2px;
}
.gp-shell .mip-body { padding: 12px 14px; max-height: 280px; overflow-y: auto; }
.gp-shell .mip-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 0.82rem;
}
.gp-shell .mip-row dt { color: var(--gp-text-muted); flex-shrink: 0; margin-right: 8px; }
.gp-shell .mip-row dd { color: var(--gp-text); font-weight: 500; text-align: right; }

/* COORDS BAR (abajo) */
.gp-shell .coords-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(15, 37, 71, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
}
.gp-shell .coords-bar span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    margin-left: 12px;
    padding-left: 12px;
}

/* MAP TOOLS (arriba-izquierda) */
.gp-shell .map-tools {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.gp-shell .map-tool-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--gp-border);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--gp-shadow);
    transition: all 0.15s;
    color: var(--gp-text);
    font-family: inherit;
}
.gp-shell .map-tool-btn:hover {
    background: var(--azul);
    color: #fff;
    border-color: var(--azul);
}
.gp-shell .map-tool-btn.active {
    background: var(--azul);
    color: #fff;
    border-color: var(--azul);
}

/* LOADING */
.gp-shell .map-loading {
    position: absolute;
    inset: 0;
    z-index: 300;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.gp-shell .map-loading.show { display: flex; }
.gp-shell .spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--gp-border);
    border-top-color: var(--azul);
    animation: gp-spin 0.8s linear infinite;
}
.gp-shell .loading-label {
    color: var(--gp-text-2);
    font-size: 0.85rem;
    font-weight: 500;
}
@keyframes gp-spin { to { transform: rotate(360deg); } }

/* ────────────────────────────────────────────────────────────────
   NOTIFICATION (toast esquina inferior derecha)
   ──────────────────────────────────────────────────────────────── */
.gp-shell .notif {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.3s;
    min-width: 240px;
    border-left: 4px solid var(--azul);
    color: var(--gp-text);
}
.gp-shell .notif.show { transform: translateY(0); opacity: 1; }
.gp-shell .notif.success { border-left-color: var(--verde); }
.gp-shell .notif.error { border-left-color: var(--rojo); }
.gp-shell .notif-icon { font-size: 1.2rem; }

/* ────────────────────────────────────────────────────────────────
   SIDEBAR — overrides de contraste para componentes legacy (basemap, layer toggles)
   que viven en gb-* classes pero ahora se renderizan dentro de .gp-shell .sidebar
   ──────────────────────────────────────────────────────────────── */

/* Headers de descripción (panel-header p) más visibles */
.gp-shell .panel-header p { color: rgba(255, 255, 255, 0.65); }

/* Section titles dentro de panels (Mis capas, Compartidas, etc) */
.gp-shell .legend-title { color: rgba(255, 255, 255, 0.85); font-weight: 700; }

/* Basemap panel — provider headers (CARTO, STADIA, ESRI, ARGENMAP, OSM) */
.gp-shell .gb-basemap-provider {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
}
.gp-shell .gb-basemap-group { margin-bottom: 1.25rem; background: transparent; padding: 0; }
.gp-shell .gb-basemap-group:last-child { margin-bottom: 0; }

/* Basemap items — texto blanco legible, hover/active con acento celeste */
.gp-shell .gb-basemap-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 2px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--gp-radius-sm);
    color: rgba(255, 255, 255, 0.85);
    font-family: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.gp-shell .gb-basemap-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.gp-shell .gb-basemap-item.active {
    background: rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.25);
    color: var(--celeste);
    font-weight: 600;
}
.gp-shell .gb-basemap-radio {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    flex-shrink: 0;
    position: relative;
}
.gp-shell .gb-basemap-item.active .gb-basemap-radio {
    border-color: var(--celeste);
    background: var(--celeste);
    box-shadow: inset 0 0 0 3px var(--gp-sidebar);
}

/* ── LAYER ITEMS — copiado exacto de geoportal-miriam ── */
.gp-shell .layer-group { margin-bottom: 1.5rem; }
.gp-shell .layer-group-title {
    font-size: 0.67rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: rgba(255,255,255,0.3);
    margin-bottom: 0.5rem; padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Categorías colapsables — mismo look que layer-item de miriam */
.gp-shell .layer-group { margin-bottom: 4px; }
.gp-shell .layer-group-header {
    display: flex; align-items: center; gap: 10px;
    padding: 10px;
    border-radius: var(--gp-radius-sm);
    border: 1px solid transparent;
    background: rgba(255,255,255,0.04);
    cursor: pointer; user-select: none;
    transition: background 0.15s;
}
.gp-shell .layer-group-header:hover { background: rgba(255,255,255,0.08); }
.gp-shell .layer-group.open > .layer-group-header {
    background: rgba(33,150,243,0.10);
    border-color: rgba(33,150,243,0.2);
}
.gp-shell .layer-group-icon { font-size: 1.1rem; flex-shrink: 0; }
.gp-shell .layer-group-name {
    flex: 1;
    color: #fff;
    font-size: 0.82rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.gp-shell .layer-group-count {
    color: rgba(255,255,255,0.5); font-size: 0.78rem; font-weight: 600;
}
.gp-shell .layer-group-arrow {
    color: rgba(255,255,255,0.4); font-size: 0.7rem;
}
/* El body queda siempre montado: plegar una sección no la esconde entera, deja a
   la vista las capas prendidas para no perder de vista qué hay dibujado en el
   mapa. Desplegada se ven todas (prendidas y apagadas), como siempre.
   `.layer-item.active` la mantiene al día toggleLayer(), así que apagar una capa
   con la sección plegada la saca de la lista sola. */
.gp-shell .layer-group-body { display: block; padding: 4px 0 8px; }
.gp-shell .layer-group:not(.open) > .layer-group-body .layer-item:not(.active),
.gp-shell .layer-group:not(.open) > .layer-group-body .layer-subsection-header { display: none; }
/* Sin capas prendidas, la sección plegada no deja un hueco vacío. */
.gp-shell .layer-group:not(.open) > .layer-group-body:not(:has(.layer-item.active)) { padding: 0; }

.gp-shell .layer-subsection { margin-top: 6px; }
.gp-shell .layer-subsection-header {
    color: rgba(255,255,255,0.3); font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 6px 0 4px;
}

.gp-shell .layer-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px; border-radius: var(--gp-radius-sm);
    margin-bottom: 4px; cursor: pointer;
    transition: background 0.15s;
    border: 1px solid transparent;
}
.gp-shell .layer-item:hover { background: rgba(255,255,255,0.06); }
.gp-shell .layer-item.active { background: rgba(33,150,243,0.15); border-color: rgba(33,150,243,0.25); }

.gp-shell .layer-toggle {
    width: 36px; height: 20px; border-radius: 10px;
    background: rgba(255,255,255,0.15);
    position: relative; flex-shrink: 0;
    transition: background 0.2s;
}
.gp-shell .layer-toggle.on { background: var(--celeste); }
.gp-shell .layer-toggle::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; transition: transform 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.gp-shell .layer-toggle.on::after { transform: translateX(16px); }

.gp-shell .layer-icon { font-size: 1.1rem; flex-shrink: 0; }
.gp-shell .layer-info { flex: 1; min-width: 0; }
.gp-shell .layer-name { color: #fff; font-size: 0.82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-shell .layer-desc { color: rgba(255,255,255,0.4); font-size: 0.7rem; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-shell .layer-zoom-badge {
    background: rgba(200,168,75,0.15); color: var(--dorado);
    font-size: 0.65rem; padding: 1px 5px; border-radius: 4px; margin-left: 4px;
}

/* User panel sections renderizadas en sidebar */
.gp-shell .gb-user-panel-section { color: rgba(255, 255, 255, 0.85); }
.gp-shell .gb-user-panel-section-title { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.gp-shell .gb-user-panel-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: var(--gp-radius-sm);
    font-size: 0.82rem;
    transition: background 0.15s, color 0.15s;
}
.gp-shell .gb-user-panel-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* ============================================================================
   PR3 — Re-estilo de paneles flotantes (chasis miriam)
   Overrides scopeados a .gp-shell para no romper otras vistas que usen app.css
   ============================================================================ */

/* ---- Draw panel: contenedor flotante sobre el mapa --------------------- */
.gp-shell .gb-draw-panel {
    background: #fff;
    border: none;
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow-lg);
    width: 280px;
    z-index: 60;
    font-family: 'Outfit', sans-serif;
    color: var(--gp-text);
    /* Anclar arriba a la derecha del map area (al lado del map-info-panel),
       no centrado en el viewport — así no se recorta si crece de alto. */
    top: 88px;
    left: auto;
    right: 16px;
    transform: none;
    max-height: calc(100vh - 128px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.gp-shell .gb-draw-panel.collapsed {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-header {
    background: var(--azul);
    border-bottom: none;
    padding: 12px 14px;
    border-radius: var(--gp-radius) var(--gp-radius) 0 0;
    cursor: grab;
    user-select: none;
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-header:active {
    cursor: grabbing;
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-header h2 {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-header h2 i {
    color: #fff;
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-header .gb-map-btn {
    color: #fff;
    background: transparent;
    border: none;
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-header .gb-map-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.gp-shell .gb-draw-panel .gb-geoportal-panel-body {
    background: #fff;
    color: var(--gp-text);
    padding: 12px 14px;
}
.gp-shell .gb-draw-panel .gb-draw-tools {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ---- Botones de dibujo (Marcador / Polígono / Línea / Heatmap / Cluster) */
.gp-shell .gb-draw-btn-labeled {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: var(--gp-bg);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    color: var(--gp-text);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.gp-shell .gb-draw-btn-labeled:hover {
    background: var(--celeste-light);
    border-color: var(--celeste);
    color: var(--azul-dark);
}
.gp-shell .gb-draw-btn-labeled.active {
    background: var(--celeste);
    border-color: var(--celeste);
    color: #fff;
}
.gp-shell .gb-draw-btn-labeled.active i {
    color: #fff;
}
.gp-shell .gb-draw-btn-labeled i {
    width: 16px;
    text-align: center;
    color: var(--azul);
}
.gp-shell .gb-draw-btn-labeled.gb-draw-btn-cancel {
    background: #fde8e8;
    color: var(--rojo);
    border-color: rgba(198, 40, 40, 0.2);
}
.gp-shell .gb-draw-btn-labeled.gb-draw-btn-cancel i {
    color: var(--rojo);
}
.gp-shell .gb-draw-btn-labeled.gb-draw-btn-cancel:hover {
    background: var(--rojo);
    color: #fff;
    border-color: var(--rojo);
}
.gp-shell .gb-draw-btn-labeled.gb-draw-btn-cancel:hover i {
    color: #fff;
}
.gp-shell .gb-draw-btn-labeled.collapsed {
    display: none;
}

/* ---- Sub-secciones del draw panel (visualización, heatmap, cluster) ---- */
.gp-shell .gb-viz-section {
    border-top: 1px solid var(--gp-border);
    padding: 10px 0 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gp-shell .gb-viz-section.collapsed {
    display: none;
}
.gp-shell .gb-viz-section-title {
    color: var(--gp-text-2);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.gp-shell .gb-viz-section-title i {
    color: var(--celeste);
}
.gp-shell .gb-viz-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gp-text-2);
    font-size: 0.78rem;
}
.gp-shell .gb-viz-row label {
    color: var(--gp-text-2);
    flex: 0 0 65px;
    font-size: 0.78rem;
}
.gp-shell .gb-viz-row input[type="range"] {
    flex: 1;
    accent-color: var(--celeste);
}
.gp-shell .gb-viz-row .gb-viz-val {
    color: var(--celeste);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    min-width: 28px;
    text-align: right;
}

/* ---- Sharing modal (overlay + caja blanca centrada) -------------------- */
.gp-shell .gb-modal-overlay {
    background: rgba(10, 20, 45, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
}
.gp-shell .gb-modal {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    width: 480px;
    max-width: 90vw;
    max-height: 80vh;
    font-family: 'Outfit', sans-serif;
    color: var(--gp-text);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gp-shell .gb-modal-header {
    background: var(--azul);
    border-bottom: none;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.gp-shell .gb-modal-header h2 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gp-shell .gb-modal-header h2 i {
    color: #fff;
}
.gp-shell .gb-modal-header .gb-map-btn {
    color: #fff;
    background: transparent;
    border: none;
}
.gp-shell .gb-modal-header .gb-map-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.gp-shell .gb-modal-body {
    background: #fff;
    color: var(--gp-text);
    padding: 14px 18px;
    overflow-y: auto;
}
.gp-shell .gb-modal-section {
    margin-bottom: 14px;
    border-bottom: 1px solid var(--gp-border);
    padding-bottom: 14px;
}
.gp-shell .gb-modal-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.gp-shell .gb-modal-section.gb-modal-danger {
    border-bottom: none;
    padding-top: 6px;
    padding-bottom: 0;
}
.gp-shell .gb-modal-actions-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 0;
}
.gp-shell .gb-modal-actions-row .gb-draw-btn-labeled {
    flex: 1 1 200px;
}
.gp-shell .gb-modal-status {
    padding: 4px 0;
}
.gp-shell .gb-feature-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--gp-text);
    font-size: 0.85rem;
    transition: background 0.15s;
}
.gp-shell .gb-feature-list-item:hover {
    background: var(--celeste-light);
}
.gp-shell .gb-feature-list-item i {
    color: var(--azul);
}
.gp-shell .gb-share-results {
    background: #fff;
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    max-height: 160px;
    overflow-y: auto;
    margin-top: 4px;
    box-shadow: var(--gp-shadow);
}
.gp-shell .gb-share-results > div {
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--gp-text);
    cursor: pointer;
    transition: background 0.15s;
}
.gp-shell .gb-share-results > div:hover {
    background: var(--celeste-light);
}

/* ---- Icon picker / Color picker (popups absolutos) --------------------- */
.gp-shell .gb-picker-popup {
    background: #fff;
    border: none;
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow-lg);
    width: 320px;
    padding: 14px;
    font-family: 'Outfit', sans-serif;
    color: var(--gp-text);
    z-index: 65;
}
.gp-shell .gb-picker-header {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gp-border);
    margin-bottom: 0;
    color: var(--azul-dark);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gp-shell .gb-picker-header .gb-map-btn {
    color: var(--gp-text-2);
    background: transparent;
    border: none;
}
.gp-shell .gb-picker-header .gb-map-btn:hover {
    background: var(--gp-bg);
    color: var(--azul-dark);
}
.gp-shell .gb-picker-section {
    margin-top: 12px;
}
.gp-shell .gb-picker-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gp-text-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.gp-shell .gb-picker-input {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    background: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--gp-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gp-shell .gb-picker-input::placeholder {
    color: var(--gp-text-muted);
}
.gp-shell .gb-picker-input:focus {
    border-color: var(--celeste);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}
.gp-shell textarea.gb-picker-input {
    resize: vertical;
    min-height: 56px;
    font-family: inherit;
}
.gp-shell .gb-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-bottom: 0;
}
.gp-shell .gb-icon-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gp-border);
    border-radius: 6px;
    background: var(--gp-bg);
    color: var(--gp-text-2);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.gp-shell .gb-icon-btn:hover {
    background: var(--celeste-light);
    border-color: var(--celeste);
    color: var(--azul-dark);
}
.gp-shell .gb-icon-btn.active {
    background: var(--celeste);
    border-color: var(--celeste);
    color: #fff;
}
.gp-shell .gb-color-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.gp-shell .gb-color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s, border-color 0.15s;
}
.gp-shell .gb-color-swatch:hover {
    transform: scale(1.08);
}
.gp-shell .gb-color-swatch.active {
    border-color: var(--azul-dark);
    transform: scale(1.1);
}

/* Botón "Confirmar" (bootstrap btn-primary) dentro de los pickers */
.gp-shell .gb-picker-popup .btn.btn-primary {
    background: var(--azul);
    border-color: var(--azul);
    color: #fff;
    border-radius: var(--gp-radius-sm);
    padding: 10px 12px;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.88rem;
    margin-top: 10px;
    transition: background 0.15s, border-color 0.15s;
}
.gp-shell .gb-picker-popup .btn.btn-primary:hover,
.gp-shell .gb-picker-popup .btn.btn-primary:focus {
    background: var(--azul-mid);
    border-color: var(--azul-mid);
    color: #fff;
    box-shadow: none;
}
.gp-shell .gb-picker-popup input[type="range"] {
    width: 100%;
    accent-color: var(--celeste);
}

/* ---- Status badges del modal (re-tint dentro de .gp-shell) ------------- */
.gp-shell .gb-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ---- Cuenta: avatar + user panel cards en sidebar navy ----------------- */
.gp-shell .gb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}
.gp-shell .gb-user-panel-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gp-radius-sm);
    margin-bottom: 10px;
}
.gp-shell .gb-user-panel-card > div:nth-child(2) {
    flex: 1;
    color: #fff;
}
.gp-shell .gb-user-panel-section {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gp-shell .gb-user-panel-section:last-child {
    border-bottom: none;
}

/* Mis capas — header con botón "Nueva capa" (#28) */
.gp-shell .gb-miscapas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.gp-shell .gb-newlayer-btn {
    background: var(--brown-cyan, #00aaff);
    color: #06243a;
    border: none;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}
.gp-shell .gb-newlayer-btn:hover {
    background: #33bcff;
}

/* ────────────────────────────────────────────────────────────────
   MOBILE (≤768px) — sidebar como drawer off-canvas sobre el mapa
   El botón hamburguesa y el backdrop solo existen acá; en desktop
   quedan ocultos y el layout no cambia.
   ──────────────────────────────────────────────────────────────── */
.gp-shell .gp-menu-btn { display: none; }
.gp-shell .gp-drawer-backdrop { display: none; }

@media (max-width: 768px) {
    /* TOPBAR compacta: logo + búsqueda + sesión. Los bloques
       institucionales (secretaría / sistema) no entran en el ancho. */
    .gp-shell .topbar { padding: 0 0.6rem; gap: 0.5rem; }
    .gp-shell .topbar-secretaria,
    .gp-shell .topbar-sistema,
    .gp-shell .topbar-brand-divider,
    .gp-shell .topbar-divider { display: none; }
    .gp-shell .topbar-left { flex: 1; min-width: 0; gap: 0.5rem; }
    .gp-shell .topbar-search-wrap { flex: 1; min-width: 0; }
    .gp-shell .topbar-search { min-width: 0; padding: 6px 10px; }
    .gp-shell .user-pill-text { display: none; }

    .gp-shell .gp-menu-btn {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        background: transparent;
        border: none;
        border-radius: 8px;
        color: #fff;
        font-size: 1.15rem;
        cursor: pointer;
    }
    .gp-shell .gp-menu-btn:active { background: rgba(255, 255, 255, 0.12); }

    /* SIDEBAR → drawer: fuera de flujo, se desliza sobre el mapa */
    .gp-shell .main-area { position: relative; }
    .gp-shell .sidebar {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(85vw, 340px);
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        z-index: 450;
    }
    .gp-shell.drawer-open .sidebar { transform: none; }

    .gp-shell .gp-drawer-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 440;
        background: rgba(10, 20, 40, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }
    .gp-shell.drawer-open .gp-drawer-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    /* Targets táctiles (mínimo 44px) */
    .gp-shell .map-tool-btn { width: 44px; height: 44px; font-size: 1.15rem; }
    .gp-shell .snav-btn { padding: 12px 6px; font-size: 0.72rem; }

    /* Coords bar: solo coordenadas y zoom entran en el ancho */
    .gp-shell .coords-bar { font-size: 0.66rem; padding: 4px 10px; }
    .gp-shell .coords-bar span:nth-child(3) { display: none; }

    /* Info panel de features: a lo ancho de la pantalla */
    .gp-shell .map-info-panel { left: 12px; right: 12px; width: auto; }
}

/* Teléfonos angostos: el texto del municipio tampoco entra */
@media (max-width: 480px) {
    .gp-shell .topbar-municipio { display: none; }
    .gp-shell .topbar-logo-img { height: 34px; margin-right: 0; }
}
