/* PositionNAV custom styling. Files in assets/ are auto-loaded by Dash. */

.agg-subtotal {
    background-color: #EDEBF5 !important;
    font-weight: 600;
}

.agg-grandtotal {
    background-color: #D8D3EC !important;
    font-weight: 700;
}

/* Position Details column chooser popover */
.pos-cols-panel { min-width: 300px; }
.pos-cols-grid .ag-header { display: none; }
.pos-cols-grid .ag-root-wrapper { border: 1px solid #e0e0e0; }

body {
    background-color: #FAFAFC;
}

/* --- Fund NAV Summary (Summary2.png) --- */
.sv-panel {
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.sv-panel-titlebar {
    background-color: #4A3F83 !important;
    color: #fff !important;
    font-weight: 700;
    padding: 6px 14px;
}
.sv-panel-body { padding: 10px 4px; overflow-x: auto; }
.summary-view {
    border-collapse: collapse;
    font-size: 0.85rem;
    width: 100%;
}
.summary-view th, .summary-view td { padding: 2px 14px; border-bottom: 1px solid #eee; }
.summary-view th:not(:last-child), .summary-view td:not(:last-child) { border-right: 1px solid #eee; }
.summary-view .sv-label { text-align: left; font-weight: 600; white-space: nowrap; }
.summary-view .sv-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-view thead th { background: #F8F9FA; }
.summary-view .sv-date { text-align: center; font-weight: 700; border-bottom: 2px solid #999; }
.summary-view .sv-spacer { height: 10px; }
.summary-view tr.sv-nav { border-top: 1px solid #ddd; }
.summary-view tr.sv-normal:hover, .summary-view tr.sv-nav:hover { background: #F4F3F9; }

