/* Wealth account summaries, contract detail and linked ledger. */
.wealth-summary{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:16px 0 12px;color:var(--secondary,#646a73);font-size:13px}.wealth-summary strong{font-size:18px;margin-right:5px;color:var(--text,#1f2329);font-variant-numeric:tabular-nums}.wealth-summary .wealth-scope-note{margin-left:auto;font-size:12px}
.wealth-filter{gap:12px}.wealth-filter input{flex:1;min-width:220px;max-width:420px}.wealth-filter select{font-size:14px;min-width:120px;height:34px}.wealth-filter>span{margin-left:auto}
.wealth-filter select:focus{border-color:var(--primary,#1677ff);box-shadow:0 0 0 2px #1677ff1a;outline:none}
.wealth-table{min-width:1040px}.wealth-table td,.wealth-table th{padding:6px 14px;height:42px}.wealth-table td:first-child{min-width:150px}.wealth-table td:nth-child(2){min-width:140px}.wealth-table th:nth-child(n+4){min-width:120px}.wealth-table th:last-child{min-width:70px}
.wealth-table td:last-child,.wealth-table th:last-child{position:sticky;right:0;background:#fff;box-shadow:-3px 0 5px #1f232909;z-index:1}.wealth-table th:last-child{background:#f5f7fa;z-index:2}.wealth-table .align-right{text-align:right;font-variant-numeric:tabular-nums}
.wealth-detail .kv{grid-template-columns:150px 1fr}.wealth-raw .trs-raw-row{grid-template-columns:150px 1fr}.wealth-raw .source-formula{white-space:pre-wrap;font-family:ui-monospace,Consolas,monospace;font-size:12px;background:#f5f7fa;padding:8px}
.wealth-ledger-note{font-size:13px;color:var(--secondary,#646a73);line-height:1.7}
.wealth-fees{width:100%;border-collapse:collapse;font-size:14px;margin:12px 0}.wealth-fees th,.wealth-fees td{padding:10px 12px;height:42px;border-bottom:1px solid var(--border,#dfe3e8);text-align:right;font-variant-numeric:tabular-nums}.wealth-fees th:first-child,.wealth-fees td:first-child{text-align:left}.wealth-fees th{font-size:13px;color:var(--text,#1f2329);font-weight:600;background:#f5f7fa}
.wealth-linked-row{padding:12px 0;border-bottom:1px solid #edf0f3;font-size:14px;line-height:1.65}.wealth-linked-row>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.wealth-linked-row p{margin:6px 0;color:var(--text,#1f2329)}.wealth-linked-row small{color:var(--secondary,#646a73);font-size:12px}
.wealth-link-state{font-size:13px;background:#f5f7fa;padding:12px;border-radius:6px;color:var(--secondary,#646a73);line-height:1.7}
.wealth-preview .trs-metrics{margin-top:16px}.wealth-preview .trs-metric{padding:12px}.wealth-preview .trs-metric>strong{font-size:22px}.wealth-preview-currency{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:13px}
@media(max-width:1000px){#wealth-page .page-heading{flex-wrap:wrap;gap:12px}.wealth-filter>span{flex-basis:100%;margin-left:0}.wealth-summary .wealth-scope-note{margin-left:0}}
@media(max-width:720px){#wealth-page .panel-heading{align-items:flex-start;flex-direction:column;gap:12px}.wealth-summary{gap:12px}.wealth-preview .trs-metrics{grid-template-columns:1fr 1fr}.wealth-preview .trs-metric>strong{font-size:20px}.wealth-detail .kv{grid-template-columns:120px 1fr}}
