.nexum-alerta-multilinha {
    white-space: pre-line;
}

/* Histórico fiscal */

.fiscal-page .fiscal-topo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fiscal-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.fiscal-filtros .btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
}

.fiscal-filtros .btn.active {
    background: var(--kaju-section, #383a4a);
    border-color: var(--kaju-section, #383a4a);
    color: #fff;
}

.fiscal-card-tabela {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(23, 29, 47, 0.08);
    overflow: hidden;
}

.fiscal-card-tabela .table thead th {
    font-size: 0.75rem;
    white-space: nowrap;
}

.fiscal-tipo-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.fiscal-tipo-nfce { background: #dbeafe; color: #1e40af; }
.fiscal-tipo-nfe { background: #e0e7ff; color: #3730a3; }
.fiscal-tipo-nfse { background: #d1fae5; color: #065f46; }

.fiscal-chave-cell {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
}

.fiscal-detalhe-dl dt {
    font-size: 0.78rem;
    color: #636e8b;
    font-weight: 600;
}

.fiscal-detalhe-dl dd {
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
}

.fiscal-nfse-pdf-frame {
    display: block;
    width: 100%;
    min-height: 70vh;
    height: calc(100vh - 12rem);
    border: 1px solid #e2e6ef;
    border-radius: 0.5rem;
    background: #f8f9fc;
}
