﻿/* ==============================
   PÁGINA AVALIAÇÃO PAINEL MULTINÍVEL
   ============================== */

body.avaliacao-painel-page {
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}


body.avaliacao-painel-page .rb-main {
    background: transparent;
    border-radius: 0;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* ── Wrapper (layout only) ── */
.ap-wrapper {
    max-width: 1080px;
    margin: 32px auto 40px;
    padding: 0 20px;
}

/* ── .ap-card, .ap-card-header → definidos em components.css ── */

/* ══════════════════════════════
   TAB BAR
   ══════════════════════════════ */

.ap-panel-label {
    font-size: 0.59375rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.48);
    padding: 15px 18px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,.10);
    margin-right: 6px;
}

.ap-tabs { flex: 1; }

.ap-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: stretch;
    gap: 2px;
}

.ap-tabs li {
    display: flex;
    align-items: stretch;
    margin-top: 5px;
}

.ap-tabs button {
    border: none;
    background: transparent;
    padding: 12px 16px;
    border-radius: 9px 9px 0 0;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78125rem;
    font-weight: 500;
    color: rgba(255,255,255,.60);
    cursor: pointer;
    transition: background .18s, color .18s;
    position: relative;
    white-space: nowrap;
    font-family: inherit;
}

.ap-tabs button:hover {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
}

.ap-tabs li.active button {
    background: rgba(255,255,255,.96);
    color: var(--color-primary-dark);
    font-weight: 600;
    box-shadow: 0 -3px 12px rgba(0,0,0,.12);
}

.ap-tabs li.active button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,.96);
}

.ap-tab-icon-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

.ap-tabs li.active .ap-tab-icon-img {
    filter: none;
    opacity: 1;
}

/* ══════════════════════════════
   CORPO PRINCIPAL
   ══════════════════════════════ */

.ap-main {
    padding: 28px 32px 24px;
}

/* ── Descrição ── */
.ap-desc { margin-bottom: 22px; }

.ap-eixo-title {
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #101d4f;
    margin: 0 0 8px;
}

.ap-eixo-sub {
    font-size: 0.8125rem;
    color: #334488;
    line-height: 1.65;
    margin: 0;
}

.ap-eixo-sub strong { font-weight: 600; color: #101d4f; }

/* ── Filtros ── */
.ap-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.ap-filter-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ap-filter-label {
    font-size: 0.59375rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* ══════════════════════════════
   COMBOBOX CUSTOMIZADO
   ══════════════════════════════ */

.ap-combo-wrap {
    position: relative;
}

.ap-combo-input {
    width: 100%;
    background: rgba(255,255,255,.85);
    border: 1.5px solid rgba(16,29,79,.22);
    border-radius: 10px;
    padding: 11px 72px 11px 14px;
    font-family: inherit;
    font-size: 0.84375rem;
    font-weight: 500;
    color: #101d4f;
    transition: border-color .18s, box-shadow .18s;
    outline: none;
    box-shadow: 0 2px 8px rgba(16,29,79,.08);
    box-sizing: border-box;
    cursor: text;
}

.ap-combo-input::placeholder { color: #9aabb8; font-weight: 400; }

.ap-combo-input:hover {
    border-color: rgba(16,29,79,.42);
    box-shadow: 0 3px 12px rgba(16,29,79,.14);
}

.ap-combo-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16,29,79,.18);
}

.ap-combo-wrap[data-open="true"] .ap-combo-input {
    border-color: var(--color-primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 0 0 3px rgba(16,29,79,.18);
}

/* Botões dentro do input */
.ap-combo-clear,
.ap-combo-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background .15s, color .15s;
    color: #7a8a9a;
}

.ap-combo-clear {
    right: 36px;
    width: 24px;
    height: 24px;
}

.ap-combo-clear:hover { background: rgba(220,50,50,.10); color: #c0392b; }

.ap-combo-toggle {
    right: 10px;
    width: 26px;
    height: 26px;
    color: var(--color-primary);
    transition: transform .2s, color .15s;
}

.ap-combo-toggle:hover { color: var(--color-primary-dark); }

.ap-combo-wrap[data-open="true"] .ap-combo-toggle {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown */
.ap-combo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--color-primary);
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 8px 24px rgba(30,60,90,.14);
    max-height: 220px;
    overflow-y: auto;
    z-index: 200;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(16,29,79,.3) transparent;
}

.ap-combo-dropdown::-webkit-scrollbar { width: 6px; }
.ap-combo-dropdown::-webkit-scrollbar-thumb {
    background: rgba(16,29,79,.25);
    border-radius: 3px;
}

.ap-combo-item {
    padding: 9px 14px;
    font-size: 0.84375rem;
    color: #101d4f;
    cursor: pointer;
    transition: background .12s;
    line-height: 1.4;
}

.ap-combo-item:hover,
.ap-combo-item.ap-combo-active {
    background: rgba(16,29,79,.09);
    color: var(--color-primary-dark);
}

.ap-combo-item mark {
    background: none;
    color: var(--color-primary);
    font-weight: 700;
}

.ap-combo-empty {
    padding: 12px 14px;
    font-size: 0.8125rem;
    color: #9aabb8;
    font-style: italic;
    cursor: default;
}

/* ── Mantém o <select> legado caso usado em outro lugar ── */
.ap-select-wrap { position: relative; }

.ap-select-wrap select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,.85);
    border: 1.5px solid rgba(16,29,79,.22);
    border-radius: 10px;
    padding: 11px 40px 11px 14px;
    font-family: inherit;
    font-size: 0.84375rem;
    font-weight: 500;
    color: #101d4f;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s;
    outline: none;
    box-shadow: 0 2px 8px rgba(16,29,79,.08);
}

.ap-select-wrap select:hover {
    border-color: rgba(16,29,79,.42);
    box-shadow: 0 3px 12px rgba(16,29,79,.14);
}

.ap-select-wrap select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16,29,79,.20);
}

.ap-select-wrap select:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.ap-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--color-primary);
    pointer-events: none;
}

/* ── Tabela ── */
.ap-table-area {
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(16,29,79,.16);
    min-height: 80px;
}

.ap-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px;
    font-size: 0.875rem;
    color: var(--color-primary);
}

.ap-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 48px 40px;
    text-align: center;
}

.ap-placeholder-icon {
    width: 44px;
    height: 44px;
    stroke: var(--color-primary);
    opacity: 0.30;
    flex-shrink: 0;
}

.ap-placeholder-text {
    font-size: 0.875rem;
    color: #5577aa;
    font-style: italic;
    line-height: 1.5;
    max-width: 340px;
}

.ap-placeholder--error .ap-placeholder-icon {
    stroke: #c44040;
    opacity: 0.55;
}

.ap-placeholder--error .ap-placeholder-text {
    color: #b03030;
    font-style: normal;
}

.ap-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.ap-table thead tr {
    background: #264584;
}

.ap-table th {
    padding: 13px 20px;
    text-align: left;
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.82);
}

.ap-th-nivel {
    text-align: center;
    width: 130px;
}

.ap-table tbody tr {
    background: rgba(255,255,255,.55);
    border-bottom: 1px solid rgba(16,29,79,.10);
    transition: background var(--transition-fast);
}

.ap-table tbody tr:nth-child(even) {
    background: rgba(240,248,252,.65);
}

.ap-table tbody tr:last-child { border-bottom: none; }

.ap-table tbody tr:hover { background: rgba(16,29,79,.06); }

.ap-table td {
    padding: 15px 20px;
    vertical-align: middle;
    line-height: 1.5;
}

.ap-table td:first-child {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #101d4f;
}

.ap-table td:nth-child(2) {
    font-size: 0.78125rem;
    color: #334488;
    font-weight: 400;
}

.ap-table td:last-child { text-align: center; }

/* ── Badges de nível ── */
.ap-nivel-badge {
    display: inline-block;
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.ap-nivel-badge[data-nivel="Nível 5"],
.ap-nivel-badge[data-nivel="Level 5"] {
    background: rgba(26,74,53,.14);
    color: #ffffff;
    border: 1px solid rgba(26,74,53,.38);
}
.ap-nivel-badge[data-nivel="Nível 4"] {
    background: rgba(38,69,132,.22);
    color: #264584;
    border: 1px solid rgba(38,69,132,.45);
}
.ap-nivel-badge[data-nivel="Nível 3"] {
    background: rgba(232,197,58,.20);
    color: #7a6210;
    border: 1px solid rgba(232,197,58,.45);
}
.ap-nivel-badge[data-nivel="Nível 2"] {
    background: rgba(240,154,80,.20);
    color: #7a4012;
    border: 1px solid rgba(240,154,80,.45);
}
.ap-nivel-badge[data-nivel="Nível 1"] {
    background: rgba(224,107,107,.20);
    color: #7a1f1f;
    border: 1px solid rgba(224,107,107,.45);
}
.ap-nivel-badge[data-nivel="Nível 0"] {
    background: rgba(189,197,208,.22);
    color: #454e5c;
    border: 1px solid rgba(189,197,208,.45);
}

/* ── Parâmetro: label + descritivo ── */
.ap-param-label {
    display: block;
    font-size: 0.78125rem;
    color: #334488;
    font-weight: 400;
    line-height: 1.4;
}

.ap-param-desc {
    display: block;
    font-size: 0.6875rem;
    color: #6a7fa0;
    line-height: 1.5;
    margin-top: 3px;
    font-style: italic;
}

/* ── Célula de nível: badge + botão ── */
.ap-nivel-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Nível 5 — destaque via glow (sem alterar tamanho) */
.ap-nivel-badge--max {
    box-shadow: 0 0 0 2px rgba(26,74,53,.55), 0 2px 10px rgba(26,74,53,.30) !important;
}

/* Botão Ver níveis */
.ap-ver-niveis-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-primary);
    cursor: pointer;
    padding: 10px 8px;
    min-height: 40px;
    border-radius: 5px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.ap-ver-niveis-btn:hover {
    background: rgba(38,69,132,.09);
    color: #101d4f;
}

/* ── Rodapé com botão ── */
.ap-footer-actions {
    display: flex;
    justify-content: flex-end;
    padding: 20px 32px 26px;
}

/* ── .ap-ficha-btn → definido em components.css ── */

/* ══════════════════════════════
   MODAL FICHA TÉCNICA
   ══════════════════════════════ */

.ap-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1100; /* acima do rb-header-wrapper (1001) para nao ficar atras do header ao rolar a pagina */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ap-modal-box {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
    overflow: hidden;
}

.ap-modal-header {
    background: var(--gradient-btn-primary);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ap-modal-header h3 {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255,255,255,.82);
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0;
    flex: 1;
    min-width: 0;
}
.ap-modal-header h3 a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,.45);
}
.ap-modal-header h3 a:hover {
    text-decoration-color: rgba(255,255,255,.85);
}

.ap-pdf-header-btn {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.40);
    color: rgba(255,255,255,.90);
    border-radius: 6px;
    padding: 8px 12px;
    min-height: 2rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background var(--transition-fast);
    font-family: inherit;
    flex-shrink: 0;
}

.ap-pdf-header-btn:hover { background: rgba(255,255,255,.28); }

.ap-modal-header-sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.25);
    flex-shrink: 0;
}

.ap-modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.70);
    font-size: 1.375rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    min-width: 2rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.ap-modal-close:hover { color: #fff; }

.ap-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.ap-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(16,29,79,.14);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    background: #f8fbfc;
}

.ap-linha-tempo-btn {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    font-family: inherit;
}

.ap-linha-tempo-btn:hover { background: var(--color-primary); color: #fff; }

.ap-ficha-campo {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(16,29,79,.12);
}

.ap-ficha-campo:last-child { margin-bottom: 0; border-bottom: none; }

.ap-ficha-campo-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #070e2a;
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-bottom: 4px;
}

.ap-ficha-campo-valor {
    font-size: 0.84375rem;
    color: #334488;
    line-height: 1.6;
    white-space: pre-wrap;
}
.ap-ficha-campo-valor a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(16,29,79,.4);
}
.ap-ficha-campo-valor a:hover {
    color: #264584;
    text-decoration-color: #264584;
}

/* ══════════════════════════════
   RESPONSIVO
   ══════════════════════════════ */

@media (max-width: 900px) {
    .ap-wrapper { margin: 8px; padding: 0; }

    /* Tab bar: esconde label, abas rolam horizontalmente */
    .ap-panel-label { display: none; }
    .ap-card-header { padding: 0 6px; overflow-x: auto; overflow-y: visible; }
    .ap-tabs ul { flex-wrap: nowrap; gap: 2px; }
    .ap-tabs button { padding: 12px 12px; font-size: 0.71875rem; gap: 5px; white-space: nowrap; min-height: 44px; }

    /* Corpo */
    .ap-main { padding: 18px 14px 16px; }
    .ap-eixo-title { font-size: 1.0625rem; }
    .ap-eixo-sub { font-size: 0.78125rem; }

    /* Filtros empilhados */
    .ap-filters { grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }

    /* Tabela: scroll horizontal quando necessário */
    .ap-table-area { overflow: auto; -webkit-overflow-scrolling: touch; }
    .ap-table { min-width: 460px; }
    .ap-table th, .ap-table td { padding: 9px 10px; font-size: 0.78125rem; }

    /* Botão rodapé centralizado */
    .ap-footer-actions { padding: 12px 14px; justify-content: center; }
    .ap-ficha-btn { width: 100%; text-align: center; }

    /* Overlay inicia logo abaixo do header sticky — inset afasta de top:68px
       em vez de padding-top, evitando conflito de z-index e alinhamento */
    .ap-modal-overlay { inset: 68px 0 0; padding: 8px 12px 12px; align-items: flex-start; }
    .ap-modal-box { max-height: calc(100svh - 68px - 20px); border-radius: 12px; }
    .ap-modal-body { padding: 16px 14px; }
    .ap-modal-footer { padding: 10px 14px; }
}

/* ══════════════════════════════
   MODAL NÍVEIS DO PARÂMETRO
   ══════════════════════════════ */

.ap-modal-niveis-box {
    max-width: 620px;
}

.ap-modal-niveis-title-text {
    flex: 1;
}

.ap-niveis-criterio-label {
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #101d4f;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid rgba(16,29,79,.10);
    letter-spacing: -.01em;
}

.ap-niveis-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-niveis-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(248,251,254,.70);
    border: 1.5px solid rgba(16,29,79,.06);
    transition: background .15s;
}

.ap-niveis-row--atual {
    background: rgba(38,69,132,.08);
    border-color: rgba(38,69,132,.28);
    box-shadow: inset 3px 0 0 rgba(38,69,132,.40), 0 2px 8px rgba(38,69,132,.08);
}

.ap-niveis-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    min-width: 64px;
}

.ap-niveis-badge {
    display: inline-block;
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    color: #fff;
    text-align: center;
}

.ap-niveis-atual-tag {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #264584;
    background: rgba(38,69,132,.14);
    border-radius: 4px;
    padding: 2px 6px;
}

.ap-niveis-desc {
    font-size: 0.8125rem;
    color: #4a5a7a;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    padding-top: 3px;
}

.ap-niveis-row--atual .ap-niveis-desc {
    color: #101d4f;
    font-weight: 600;
}

.ap-niveis-sem-dados {
    font-size: 0.875rem;
    color: #5577aa;
    font-style: italic;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 480px) {
    /* Abas: largura igual + ícone em cima + label abreviado (padrão iOS/Android) */
    .ap-card-header { overflow-x: visible; }
    .ap-tabs ul { overflow-x: visible; }
    .ap-tabs li {
        flex: 1;
        justify-content: center;
    }
    .ap-tabs button {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 8px 4px 7px;
        gap: 3px;
        white-space: normal;
    }
    .ap-tab-icon-img { width: 16px; height: 16px; }
    .ap-tabs li.active .ap-tab-icon-img { filter: none; opacity: 1; }
    .ap-tabs button span {
        font-size: 0;
        line-height: 0;
        display: block;
    }
    .ap-tabs button span::after {
        content: attr(data-short);
        font-size: 0.59375rem;
        font-weight: 600;
        letter-spacing: .02em;
        line-height: 1;
        white-space: nowrap;
    }

    /* Corpo ainda mais compacto */
    .ap-main { padding: 14px 12px 12px; }
    .ap-eixo-title { font-size: 0.9375rem; }
    .ap-desc { margin-bottom: 14px; }

    /* Tabela cabe na tela sem scroll horizontal */
    .ap-table-area { overflow: visible; }
    .ap-table { min-width: 0; width: 100%; table-layout: fixed; }
    .ap-table th, .ap-table td { padding: 8px 7px; font-size: 0.71875rem; }
    .ap-table td:first-child { font-size: 0.71875rem; }
    .ap-table td:nth-child(2) { font-size: 0.6875rem; }
    .ap-th-nivel { width: 76px; }
    .ap-nivel-badge { padding: 4px 6px; font-size: 0.625rem; white-space: nowrap; }

    /* Modal centralizado (não bottom-sheet — não cobre linhas da tabela) */
    .ap-modal-overlay { padding: 12px; align-items: center; }
    .ap-modal-box { border-radius: 12px; max-height: 85vh; }
    /* Badge nível 5: evita overflow da célula no mobile */
    .ap-nivel-cell { overflow: hidden; }
    .ap-nivel-badge--max { box-shadow: 0 0 0 1.5px rgba(26,74,53,.45) !important; }
}
