.history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px 20px;border-bottom:1px solid #e8edf4}
.history-filter label{display:grid;gap:6px;color:#53627a;font-size:11px;font-weight:650}
.history-filter select,.history-filter input{height:36px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;padding:0 9px;color:#1f2f49}
.history-filter select{min-width:210px}
.history-filter button{height:36px;padding:0 15px}
.history-table{max-height:none;overflow-x:auto}
.history-table table{min-width:1020px;table-layout:fixed}
.history-table th:nth-child(1){width:155px}
.history-table th:nth-child(2){width:190px}
.history-table th:nth-child(3){width:310px}
.history-table th:nth-child(4){width:130px}
.history-table th:nth-child(5){width:145px}
.history-table th:nth-child(6){width:175px}
.history-table td{height:auto;min-height:50px;padding:12px 10px;white-space:normal;overflow-wrap:anywhere;vertical-align:top;line-height:1.45}
.history-table .history-detail{color:#53627a}
.history-footer{display:flex;justify-content:center;padding:14px}
.history-footer:has(button[hidden]){display:none}
.unrealized-panel{margin-bottom:14px}
.unrealized-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;padding:14px 20px 10px;background:#f8faff}
.unrealized-summary article{display:grid;gap:3px;padding:11px 13px;border:1px solid #dfe7f3;border-radius:7px;background:#fff}
.unrealized-summary span{font-size:9px;font-weight:750;letter-spacing:.08em;color:#64748b}
.unrealized-summary strong{font-size:21px;line-height:1.1;color:#1257c7}
.unrealized-summary small{font-size:10px;color:#718096}
.unrealized-breakdowns{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:4px 20px 14px;background:#f8faff;border-bottom:1px solid #e8edf4}
.unrealized-breakdowns section{min-width:0;padding:11px 13px;border:1px solid #dfe7f3;border-radius:7px;background:#fff}
.unrealized-breakdowns h3{margin:0 0 8px;font-size:12px;color:#1f2f49}
.unrealized-bars{display:grid;gap:6px}
.unrealized-bar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;min-height:28px;border:0;border-radius:5px;background:#f0f5fc;padding:6px 9px;overflow:hidden;text-align:left;color:#33445f;cursor:pointer}
.unrealized-bar::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--share);background:#dceaff}
.unrealized-bar>*{position:relative;z-index:1}
.unrealized-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.unrealized-bar strong{font-size:11px;color:#164fa9}
.unrealized-bar:hover{outline:1px solid #8eb4ef}
.unrealized-bars-empty{font-size:11px;color:#718096}
.unrealized-table{max-height:420px;overflow:auto}
.unrealized-table table{min-width:1810px;table-layout:fixed}
.unrealized-table th:nth-child(1){width:42px}
.unrealized-table th:nth-child(2){width:145px}
.unrealized-table th:nth-child(3){width:105px}
.unrealized-table th:nth-child(4){width:250px}
.unrealized-table th:nth-child(5){width:300px}
.unrealized-table th:nth-child(6){width:175px}
.unrealized-table th:nth-child(7){width:135px}
.unrealized-table th:nth-child(8),.unrealized-table th:nth-child(9){width:180px}
.unrealized-table th:nth-child(10){width:90px}
.unrealized-table th:nth-child(11){width:115px}
.unrealized-table th:nth-child(12){width:260px}
.unrealized-table td{height:auto;padding:10px;white-space:normal;vertical-align:top;line-height:1.4}
.unrealized-table tbody tr:hover{background:#f4f8ff}
.closure-review{display:inline-flex;padding:4px 8px;border-radius:10px;font-size:10px;font-weight:700;white-space:nowrap}
.closure-review.pending{background:#fff0cf;color:#875700}
.closure-review.reviewed{background:#e7f7eb;color:#27703a}
.unrealized-actions{display:flex;flex-wrap:wrap;gap:5px}
.unrealized-table tr.selected{background:#edf4ff}
.unrealized-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid #e8edf4;color:#53627a;font-size:12px}
.unrealized-pagination>span{margin-right:auto}
.unrealized-pagination label{display:flex;align-items:center;gap:8px}
.unrealized-pagination select{height:32px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;padding:0 8px;color:#1f2f49}
@media(max-width:900px){.unrealized-summary{grid-template-columns:1fr 1fr}.unrealized-breakdowns{grid-template-columns:1fr}}
