.nv-tela {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    background: rgba(6, 11, 20, .28);
    animation: nv-fundo .28s ease;
}
.nv-tela[hidden] { display: none !important; }
.nv-card {
    width: min(560px, 100%);
    max-height: min(78vh, 720px);
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #1e293b;
    border-radius: 18px;
    border: 1px solid rgba(11, 28, 53, .08);
    box-shadow: 0 22px 50px rgba(6, 11, 20, .22);
    overflow: hidden;
    animation: nv-sobe .32s ease;
}
.nv-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 18px 8px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--azul-marca, #0b1c35) 8%, #fff), #fff);
}
.nv-head h2 { margin: 0; font-family: Montserrat, Inter, sans-serif; font-size: 1.25rem; color: var(--azul-marca, #0b1c35); }
.nv-head p { margin: 4px 0 0; color: #64748b; font-size: .92rem; }
.nv-x {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}
.nv-lista { overflow: auto; padding: 8px 16px 4px; display: flex; flex-direction: column; gap: 8px; }
.nv-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
.nv-ico {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--azul-sutil, #2b5c92) 14%, #fff);
    color: var(--azul-marca, #0b1c35);
}
.nv-item small { display: block; color: #64748b; letter-spacing: .04em; text-transform: uppercase; font-size: .68rem; }
.nv-item b { display: block; margin: 2px 0; color: #0f172a; }
.nv-item p { margin: 0; color: #334155; font-size: .92rem; }
.nv-ben { margin-top: 4px !important; color: #0f766e !important; }
.nv-det { margin-top: 6px !important; color: #475569 !important; }
.nv-foot {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 12px 16px 16px;
    border-top: 1px solid #e2e8f0;
}
.nv-check { display: flex; gap: 8px; align-items: center; color: #334155; font-size: .9rem; margin-right: auto; }
.nv-pri, .nv-sec {
    border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer;
}
.nv-pri { border: 0; background: var(--azul-marca, #0b1c35); color: #fff; }
.nv-sec { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; }
@keyframes nv-sobe {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes nv-fundo { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
    .nv-tela { align-items: stretch; padding: 10px; }
    .nv-card { max-height: 100%; }
    .nv-foot { flex-direction: column; align-items: stretch; }
    .nv-check { margin-right: 0; }
}

.nv-admin { max-width: 920px; margin: 0 auto; padding: 18px 16px 32px; }
.nv-admin h1 { margin: 0 0 4px; font-size: 1.4rem; color: var(--azul-marca, #0b1c35); }
.nv-admin .nv-lead { margin: 0 0 14px; color: #64748b; }
.nv-form, .nv-hist {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px; margin-bottom: 14px;
}
.nv-form label, .nv-item-form label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: #475569; margin-bottom: 8px; }
.nv-form input, .nv-form textarea, .nv-form select,
.nv-item-form input, .nv-item-form textarea, .nv-item-form select {
    border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 10px; font: inherit; color: #0f172a;
}
.nv-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nv-item-form { border-top: 1px dashed #e2e8f0; padding-top: 8px; margin-top: 8px; }
.nv-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.nv-hist article { border-bottom: 1px solid #e2e8f0; padding: 8px 0; }
.nv-hist article:last-child { border-bottom: 0; }
.nv-tag { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: .75rem; background: #e2e8f0; }
.nv-tag.pub { background: #d1fae5; color: #065f46; }
.nv-aviso { background: #fff7ed; color: #9a3412; border-radius: 10px; padding: 10px 12px; }
@media (max-width: 720px) { .nv-grade { grid-template-columns: 1fr; } }
