/* Additive stylesheet: load AFTER the corrected shared Refined Balance CSS.
   Does not replace the shared stylesheet or change grids/input widths. */
.ff-rb-dcf .ff-rb-chart-data {
    min-width: 0;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--ff-rb-border, #dfe8e5);
    color: var(--ff-rb-muted, #607579);
    font-size: 12px;
}
.ff-rb-dcf .ff-rb-chart-data > summary {
    width: fit-content;
    max-width: 100%;
    padding: 6px 2px;
    color: var(--ff-rb-accent, #236f70);
    font-weight: 500;
    line-height: 1.6;
    cursor: pointer;
    list-style-position: inside;
}
.ff-rb-dcf .ff-rb-chart-data > summary::marker {
    color: var(--ff-rb-accent, #236f70);
}
.ff-rb-dcf .ff-rb-chart-data > summary:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ff-rb-dcf .ff-rb-chart-data > summary:focus-visible,
.ff-rb-dcf .ff-rb-table-scroll:focus-visible {
    outline: 2px solid var(--ff-rb-focus, #946348);
    outline-offset: 3px;
}
.ff-rb-dcf .ff-rb-table-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}
.ff-rb-dcf .ff-rb-data-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--ff-rb-text, #203c40);
    font-size: 12px;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}
.ff-rb-dcf .ff-rb-data-table caption {
    padding: 0 0 12px;
    color: var(--ff-rb-muted, #607579);
    font-size: 11px;
    text-align: left;
    caption-side: top;
}
.ff-rb-dcf .ff-rb-data-table th,
.ff-rb-dcf .ff-rb-data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--ff-rb-border, #dfe8e5);
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
}
.ff-rb-dcf .ff-rb-data-table th:first-child {
    text-align: left;
    min-width: 145px;
    white-space: normal;
}
.ff-rb-dcf .ff-rb-data-table thead th {
    background: var(--ff-rb-panel, #fafbfc);
    font-weight: 600;
}
.ff-rb-dcf .ff-rb-data-table tbody th { font-weight: 500; }
.ff-rb-dcf .ff-rb-data-table tbody tr:hover {
    background: #f8faf9;
}
.ff-rb-dcf .ff-rb-data-table .ff-rb-data-unit {
    color: var(--ff-rb-muted, #607579);
    white-space: normal;
    min-width: 95px;
}
.ff-rb-dcf .ff-rb-cell-value { display: block; }
.ff-rb-dcf .ff-rb-data-missing { color: var(--ff-rb-muted, #607579); }
.ff-rb-dcf .ff-rb-data-note {
    margin: 12px 0 0;
    color: var(--ff-rb-muted, #607579);
    font-size: 11px;
    line-height: 1.7;
}
