/* ── ChargeDefinitionSection — global (component-level CSS) ── */

.finance-card {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #d8e4f2;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

body.dark .finance-card {
    border-color: #2c4d68;
    background: linear-gradient(180deg, #16212c 0%, #1c2a36 100%);
}

.finance-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.finance-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #53708e;
}

body.dark .finance-eyebrow {
    color: #8fb0cd;
}

.finance-card h4 {
    margin: 0;
    color: #17324d;
    font-size: 1.1rem;
}

body.dark .finance-card h4 {
    color: #d9ebff;
}

.finance-description {
    margin: 0.45rem 0 0;
    color: #47627d;
    max-width: 48rem;
}

body.dark .finance-description {
    color: #a5bfd6;
}

.placeholder-note {
    margin: 1rem 0 0;
    color: #7a8f9e;
    font-size: 0.88rem;
    font-style: italic;
}

body.dark .placeholder-note {
    color: #6d8899;
}

.loading {
    margin: 1rem 0 0;
    color: #53708e;
    font-size: 0.88rem;
}

body.dark .loading {
    color: #8fb0cd;
}

.error {
    margin: 1rem 0 0;
    color: #c0392b;
    font-size: 0.88rem;
}

body.dark .error {
    color: #e74c3c;
}

.table-wrapper {
    margin-top: 1rem;
    overflow-x: auto;
}

.definitions-table {
    font-size: 0.88rem;
}

.definitions-table .mud-table-container {
    overflow: visible;
}

.definitions-th,
.definitions-td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e9f1;
}

body.dark .definitions-th,
body.dark .definitions-td {
    border-bottom-color: #2c4d68;
}

.definitions-th {
    font-weight: 700;
    color: #3a5a7a;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.dark .definitions-th {
    color: #8fb0cd;
}

.definitions-td {
    color: #2c3e50;
}

body.dark .definitions-td {
    color: #c8dce8;
}

.definitions-table .mud-table-body .mud-table-row:hover {
    background: rgba(0, 74, 173, 0.04);
}

body.dark .definitions-table .mud-table-body .mud-table-row:hover {
    background: rgba(25, 118, 210, 0.08);
}

.col-numeric {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.effective-date {
    font-size: 0.84rem;
}

.effective-end {
    font-size: 0.84rem;
    color: #7a8f9e;
}

body.dark .effective-end {
    color: #6d8899;
}

.badge-active {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #16713e;
    background: #d4edda;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.dark .badge-active {
    color: #7dcea0;
    background: rgba(39, 174, 96, 0.15);
}

.btn-action {
    white-space: nowrap;
}

@media (max-width: 720px) {
    .finance-card-header {
        flex-direction: column;
    }
}
