﻿/* ==============================
   PÁGINA MAPA GEORREFERENCIADO
   ============================== */


/* Oculta o FAB quando a sidebar estiver aberta (mobile) */
body.mg-sidebar-open .mg-filter-fab {
    opacity: 0 !important;
    pointer-events: none !important;
}
body.mapa-page .rb-main {
    background: transparent;
    max-width: 100%;
    margin: 0; padding: 0;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* ================== WRAPPER ================== */

.mg-page {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 28px 0;
    gap: 16px;
}

.mg-intro { max-width: 100%; }

.mg-intro h2 {
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0 0 8px;
}

.mg-intro p {
    font-size: 0.875rem;
    color: #1a3070;
    line-height: 1.65;
    margin: 0;
}

/* ================== LAYOUT SIDEBAR + MAPA ================== */

.mg-layout {
    display: flex;
    gap: 0;
    flex: 1;
    min-height: 560px;
    border-radius: 12px;
    /* overflow: hidden removido — permite que popups do mapa
       escapem para cima sem serem cortados pelo container */
    box-shadow: 0 4px 24px rgba(16,29,79,.16);
    margin-bottom: 28px;
}

/* ================== SIDEBAR DE FILTROS ================== */

.mg-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--color-primary-dark);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-radius: 12px 0 0 12px;
}

.mg-sidebar-header {
    padding: 14px 18px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.mg-sidebar-header h3 {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .10em;
    text-transform: uppercase;
    margin: 0;
}

.mg-filters {
    padding: 14px 14px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mg-filter-label {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255,255,255,0.60);
    text-transform: uppercase;
    letter-spacing: .07em;
}

.mg-select-wrap { position: relative; }

.mg-select-wrap select {
    width: 100%;
    padding: 11px 28px 11px 10px;
    min-height: 44px;
    font-size: 0.75rem;
    color: #e0ecef;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.mg-select-wrap select:focus-visible {
    outline: 2px solid rgba(255,255,255,0.70);
    outline-offset: 2px;
    border-color: rgba(255,255,255,0.40);
    background: rgba(255,255,255,0.13);
}

.mg-select-wrap select option { background: var(--color-primary-dark); color: #e0ecef; }

.mg-select-wrap::after {
    content: '';
    position: absolute;
    right: 9px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255,255,255,0.50);
    pointer-events: none;
}

/* Município search */
.mg-mun-wrap {
    position: relative;
}

/* Autocomplete de município */
.mg-mun-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    border: 1px solid rgba(255,255,255,.22);
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 200;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.20) transparent;
    display: none;
}
.mg-mun-suggestions::-webkit-scrollbar { width: 4px; }
.mg-mun-suggestions::-webkit-scrollbar-thumb { background: rgba(255,255,255,.20); border-radius: 4px; }

.mg-mun-suggestion-item {
    padding: 10px 10px;
    font-size: 0.75rem;
    color: #e0ecef;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .12s;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 40px;
}
.mg-mun-suggestion-item:last-child { border-bottom: none; }
.mg-mun-suggestion-item:hover,
.mg-mun-suggestion-item.mg-sug-active { background: rgba(255,255,255,.12); }

.mg-mun-suggestion-uf {
    font-size: 0.625rem;
    color: rgba(255,255,255,.50);
    white-space: nowrap;
    flex-shrink: 0;
}

.mg-mun-input {
    width: 100%;
    padding: 11px 28px 11px 10px;
    min-height: 44px;
    font-size: 0.75rem;
    color: #e0ecef;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    font-family: inherit;
    box-sizing: border-box;
}

.mg-mun-input:focus-visible {
    outline: 2px solid rgba(255,255,255,0.70);
    outline-offset: 2px;
    border-color: rgba(255,255,255,0.40);
    background: rgba(255,255,255,0.13);
}

.mg-mun-input::placeholder { color: rgba(255,255,255,0.35); }

.mg-mun-clear {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: rgba(255,255,255,0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: color var(--transition-fast);
}

.mg-mun-clear:hover { color: #fff; }

/* Toggle — Exibir sem financiamento */
.mg-toggle-row {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    padding: 10px 2px;
    min-height: 44px;
}

.mg-toggle-switch {
    position: relative;
    flex-shrink: 0;
}

.mg-toggle-switch input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}

.mg-toggle-track {
    display: block;
    width: 32px;
    height: 17px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    position: relative;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.mg-toggle-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 11px; height: 11px;
    background: rgba(255,255,255,0.55);
    border-radius: 50%;
    transition: transform var(--transition-base), background var(--transition-base);
}

.mg-toggle-switch input:checked + .mg-toggle-track {
    background: #F4511E;
    border-color: #F4511E;
}

.mg-toggle-switch input:checked + .mg-toggle-track .mg-toggle-thumb {
    transform: translateX(15px);
    background: #fff;
}

.mg-toggle-text {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255,255,255,0.60);
    text-transform: uppercase;
    letter-spacing: .07em;
}

.mg-toggle-row:hover .mg-toggle-text { color: rgba(255,255,255,0.85); }

/* Botões da sidebar */
.mg-sidebar-actions {
    padding: 10px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.mg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: background var(--transition-fast), opacity var(--transition-fast);
}

.mg-btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.mg-btn-primary:hover { background: #264584; }

.mg-btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.25);
}
.mg-btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; }

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

.mg-map-area {
    flex: 1;
    position: relative;
    min-width: 0;
    border-radius: 0 12px 12px 0;
}

#mg-map {
    width: 100%;
    height: 100%;
    min-height: 560px;
    position: relative;
    z-index: 1; /* cria contexto de empilhamento para isolar os z-indexes internos do Leaflet */
}

/* Loader do mapa */
.mg-map-loader {
    position: absolute;
    inset: 0;
    background: rgba(232,242,246,0.90);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1100;
    font-size: 0.875rem;
    color: var(--color-primary);
    font-family: 'Roboto', sans-serif;
}

.mg-map-loader.hidden { display: none; }

/* Painel de totais */
.mg-stats-panel {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 20px;
    z-index: 1000; /* acima do contexto isolado do Leaflet */
    box-shadow: 0 2px 12px rgba(16,29,79,.20), 0 0 0 1px rgba(16,29,79,0.08);
    text-align: left;
    min-width: 230px;
    pointer-events: none;
}

.mg-stats-valor {
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.mg-stats-label {
    font-size: 0.6875rem;
    color: #264584;
    letter-spacing: .02em;
    margin-top: 4px;
}

.mg-stats-municipios {
    font-size: 0.75rem;
    font-weight: 600;
    color: #264584;
    margin-top: 3px;
}

/* Legenda */
.mg-legend {
    position: absolute;
    bottom: 28px;
    right: 14px;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(16,29,79,0.15);
    border-radius: 8px;
    padding: 10px 14px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(16,29,79,.12);
    pointer-events: none;
}

.mg-legend-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 7px;
}

.mg-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    color: #1a3070;
    margin-bottom: 4px;
}

.mg-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mg-legend-size {
    margin-top: 8px;
    border-top: 1px solid rgba(16,29,79,0.10);
    padding-top: 7px;
}

.mg-legend-size-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.mg-legend-size-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.mg-legend-circle {
    border-radius: 50%;
    background: rgba(38,69,132,0.30);
    border: 1px solid rgba(38,69,132,0.55);
    display: inline-block;
    flex-shrink: 0;
}

.mg-legend-size-label {
    font-size: 0.625rem;
    color: #1a3070;
    letter-spacing: .01em;
    white-space: nowrap;
    text-align: center;
}

/* ── Leaflet popup shell overrides ── */
#mg-map .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(16,29,79,.28), 0 0 0 1px rgba(16,29,79,.08);
}
#mg-map .leaflet-popup-content {
    margin: 0;
    width: auto !important;
    min-width: 0;
}
#mg-map .leaflet-popup-tip-container { margin-top: -1px; }

/* ── Popup card ── */
.mg-popup {
    font-family: 'Roboto', sans-serif;
    min-width: 290px;
    max-width: 320px;
}

.mg-popup-header {
    background: var(--color-primary-dark);
    padding: 12px 14px 10px;
}

.mg-popup-header h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 7px;
    line-height: 1.3;
}

.mg-popup-uf {
    font-weight: 400;
    opacity: .75;
    font-size: 0.8125rem;
}

.mg-popup-status-tag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 1px solid;
    white-space: nowrap;
}

.mg-popup-status-yes {
    background: rgba(38,69,132,.12);
    color: #264584;
    border-color: rgba(38,69,132,.40);
}

.mg-popup-status-no {
    background: rgba(244,81,30,.12);
    color: #bf360c;
    border-color: rgba(244,81,30,.40);
}

.mg-popup-count-badge {
    font-size: 0.625rem;
    font-weight: 500;
    color: rgba(255,255,255,.60);
    letter-spacing: .02em;
}

.mg-popup-body {
    padding: 10px 0 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.mg-popup-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    color: #1a3070;
    padding: 0 14px 8px;
}

.mg-popup-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: .75;
}

.mg-popup-lbl {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    min-width: 52px;
    flex-shrink: 0;
}

.mg-popup-val {
    font-size: 0.75rem;
    color: #1a3070;
    flex: 1;
    line-height: 1.35;
}

/* ── Programs list ── */
.mg-popup-progs {
    border-top: 1px solid rgba(16,29,79,.08);
    padding: 4px 0 6px;
}

.mg-popup-progs--scroll {
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(38,69,132,.25) transparent;
}

.mg-popup-progs--scroll::-webkit-scrollbar { width: 4px; }
.mg-popup-progs--scroll::-webkit-scrollbar-thumb {
    background: rgba(38,69,132,.25);
    border-radius: 4px;
}

.mg-popup-prog-item {
    padding: 8px 14px 6px;
}

.mg-popup-prog-item--sep {
    border-top: 1px solid rgba(16,29,79,.07);
}

.mg-popup-prog-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.4;
    margin-bottom: 5px;
}

.mg-popup-prog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.mg-popup-prog-valor {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    white-space: nowrap;
    margin-left: auto;
}

.mg-popup-exec-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mg-popup-prog-track {
    flex: 1;
    height: 4px;
    background: rgba(16,29,79,.10);
    border-radius: 3px;
    overflow: hidden;
    min-width: 80px;
}

.mg-popup-prog-fill {
    display: block;
    height: 100%;
    background: #264584;
    border-radius: 3px;
}

.mg-popup-pct {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    min-width: 28px;
    text-align: right;
}

/* ── FAB de filtros (visível apenas no mobile) ── */
.mg-filter-fab {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary-dark);
    border: none;
    color: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 18px rgba(0,0,0,.32);
    transition: transform var(--transition-base), background var(--transition-base);
}
.mg-filter-fab:hover  { background: var(--color-primary); transform: scale(1.08); }
.mg-filter-fab:active { transform: scale(0.93); }
.mg-filter-fab { transition: transform var(--transition-base), background var(--transition-base), opacity var(--transition-base); }

/* Badge de filtros ativos no botão Limpar */
.mg-filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: rgba(255,255,255,.90);
    color: #101d4f;
    font-size: 0.625rem;
    font-weight: 800;
    border-radius: 999px;
    line-height: 1;
    margin-left: 2px;
    flex-shrink: 0;
}

/* ── Botão fechar sidebar (visível apenas no mobile) ── */
.mg-sidebar-close {
    display: none;
    background: none;
    border: none;
    color: rgba(255,255,255,.65);
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), background var(--transition-fast);
    flex-shrink: 0;
}
.mg-sidebar-close:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ── Backdrop do painel mobile ── */
.mg-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 2099;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s;
}
.mg-sidebar-backdrop.mg-open {
    opacity: 1;
    pointer-events: auto;
}

/* ================== RESPONSIVO ================== */

@media (max-width: 900px) {
    /* Intro some: mapa ocupa a tela inteira (Google Maps / IFEM pattern) */
    .mg-intro { display: none; }
    .mg-page { padding: 0; gap: 0; }
    .mg-layout { flex-direction: column; min-height: 0; gap: 0; margin-bottom: 0; border-radius: 0; box-shadow: none;
        height: calc(100vh - 68px);
        height: calc(100svh - 68px);
        flex-shrink: 0;
    }

    /* Sidebar → bottom sheet fixo fora do fluxo */
    .mg-sidebar {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        width: 100%;
        max-height: 78vh;
        overflow-y: auto;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        z-index: 2100;
        transform: translateY(calc(100% + 4px));
        transition: transform .32s cubic-bezier(.32,0,.68,0);
        box-shadow: 0 -8px 40px rgba(0,0,0,.28);
        -webkit-overflow-scrolling: touch;
    }
    .mg-sidebar::before {
        content: '';
        display: block;
        width: 36px; height: 4px;
        background: rgba(255,255,255,.30);
        border-radius: 2px;
        margin: 10px auto 0;
    }
    .mg-sidebar.mg-open {
        transform: translateY(0);
        transition-timing-function: cubic-bezier(.22,1,.36,1);
    }

    .mg-sidebar-backdrop { display: block; }
    .mg-sidebar-close    { display: flex; }
    .mg-filter-fab       { display: flex; }

    /* Cabeçalho da sidebar: título + botão fechar */
    .mg-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        background: var(--color-primary-dark);
        z-index: 1;
        padding: 12px 16px 10px;
    }
    .mg-sidebar-header h3 { display: flex; align-items: center; gap: 7px; }

    /* Map area preenche o mg-layout que já tem height calculado */
    .mg-map-area {
        border-radius: 0;
        height: 100%;
        flex-shrink: 0;
    }
    /* Leaflet preenche o container com position:absolute */
    #mg-map {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        border-radius: 12px;
    }

    /* Stats, legenda e FAB sobre o mapa (dentro de mg-map-area) */
    .mg-stats-panel { z-index: 1000; min-width: 180px; }
    .mg-legend      { z-index: 1000; }
}

@media (max-width: 480px) {
    .mg-intro { display: none; }
    .mg-page  { padding: 0; gap: 0; }
    /* Popup não pode ser mais largo que a tela em 320px */
    .mg-popup { min-width: 0; max-width: calc(100vw - 32px); }
    /* Mapa ocupa a tela inteira menos header (~46px) + nav (~44px) + buffer (6px) = 96px */
    .mg-map-area {
        height: calc(100vh - 76px);
        height: calc(100svh - 76px); /* svh: viewport height com chrome do browser visível */
        border-radius: 0;
        flex-shrink: 0;
    }
    #mg-map { border-radius: 0; }
    .mg-stats-panel { min-width: 150px; padding: 9px 12px; top: 10px; right: 10px; }
    .mg-stats-valor { font-size: 0.8125rem; }
    .mg-stats-label, .mg-stats-municipios { font-size: 0.625rem; }
    /* Legenda e FAB com margem extra do fundo para não serem cortados */
    .mg-legend { bottom: 20px; right: 8px; padding: 8px 10px; }
    .mg-filter-fab { bottom: 24px; }
    .mg-legend-title { font-size: 0.5625rem; }
    .mg-legend-item { font-size: 0.625rem; }
}

/* ================== CARD OVERLAY MOBILE ================== */

.mg-sheet,
.mg-sheet-backdrop { display: none; }

@media (max-width: 900px) {

    /* Popup Leaflet nativo desabilitado em mobile — usa card overlay */
    #mg-map .leaflet-popup { display: none !important; }

    /* Backdrop semitransparente */
    .mg-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10,20,60,.40);
        z-index: 1799;
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }
    .mg-sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }

    /* Card centralizado na tela */
    .mg-sheet {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.90);
        width: calc(100vw - 32px);
        max-width: 380px;
        max-height: 78vh;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 12px 48px rgba(16,29,79,.40), 0 0 0 1px rgba(16,29,79,.08);
        z-index: 1800;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease, transform .26s cubic-bezier(.34,1.30,.64,1);
    }
    .mg-sheet.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, -50%) scale(1);
    }

    /* Alça oculta (não usada no card centrado) */
    .mg-sheet-handle { display: none; }

    /* Botão fechar — canto superior direito sobre o header navy */
    .mg-sheet-close {
        position: absolute;
        top: 12px; right: 12px;
        background: rgba(255,255,255,.18);
        border: none;
        border-radius: 50%;
        width: 28px; height: 28px;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.8rem;
        color: rgba(255,255,255,.90);
        cursor: pointer;
        z-index: 2;
        transition: background .15s;
    }
    .mg-sheet-close:active { background: rgba(255,255,255,.32); }

    /* mg-popup ocupa toda a largura do card */
    .mg-sheet-body .mg-popup {
        min-width: 0;
        max-width: 100%;
        border-radius: 0;
    }
    .mg-sheet-body .mg-popup-header {
        border-radius: 14px 14px 0 0;
        padding-right: 48px;
    }
    .mg-sheet-body .mg-popup-body { padding-top: 6px; }
    .mg-sheet-body .mg-popup-row  { padding: 6px 16px 8px; }

    /* Badge de estágio e valor sempre na mesma linha */
    .mg-sheet-body .mg-popup-prog-meta { flex-wrap: nowrap; }
}
