.contabil-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.contabil-subnav-link {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0c2d57;
    font-size: 0.85rem;
    text-decoration: none;
}
.contabil-subnav-link:hover { border-color: #c9a646; }
.contabil-subnav-link.is-active {
    background: #0c2d57;
    color: #fff;
    border-color: #0c2d57;
}
.contabil-page-fluid { max-width: 1100px; }
.contabil-page-header { margin-bottom: 1rem; }
.contabil-emitente-form select { min-width: 240px; }
.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.form-input, .input, .input-sm {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.45rem 0.7rem;
}
.form-section-title { font-weight: 700; color: #0c2d57; margin-bottom: 0.5rem; }
.field-hint { font-size: 0.8rem; color: #64748b; }
.btn-primary, .btn-secondary, .btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 0.5rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.875rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary { background: #0c2d57; color: #fff; }
.btn-secondary, .btn-sm { background: #fff; color: #0c2d57; border-color: #cbd5e1; }
.emitente-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}
.form-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.4rem 0.5rem; border-bottom: 1px solid #e2e8f0; text-align: left; }
