  .sub { max-width:1040px; }
  .view-tab { --ledger-view-tab-min-width:150px; padding:8px 14px; font-family:inherit; font-size:12px; font-weight:600; line-height:1.2; }
  .metric { padding:12px 13px; }
  .metric-value { margin-top:3px; font-size:23px; }
  .metric.attention .metric-value { color:var(--signal); }
  .metric.risk .metric-value { color:var(--risk); }
  .metric-note { margin-top:4px; overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
  .risk-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr); gap:14px; align-items:start; margin-top:15px; }
  .attention-list { display:grid; }
  .attention-row { display:grid; grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr) repeat(3,92px); gap:10px; align-items:center; min-height:58px; padding:9px 11px; border-bottom:1px solid var(--row); border-left:3px solid var(--signal); }
  .attention-row:last-child { border-bottom:0; }
  .attention-coin { min-width:0; }
  .attention-coin strong { display:block; overflow:hidden; color:var(--text); font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
  .attention-coin span, .attention-context { color:var(--muted); font-size:10px; }
  .attention-context { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .attention-stat { color:var(--muted); font-size:9px; text-align:right; }
  .attention-stat strong { display:block; color:var(--text); font-size:13px; }
  .attention-stat.current strong { color:var(--signal); }
  .concentration { padding:12px; }
  .supply-row { display:grid; grid-template-columns:62px minmax(0,1fr) 64px; gap:8px; align-items:center; min-height:31px; }
  .supply-symbol { color:var(--text); font-weight:700; }
  .supply-track { height:8px; background:#252c36; overflow:hidden; }
  .supply-fill { display:block; height:100%; background:var(--accent); }
  .supply-share { color:var(--muted); font-size:10px; text-align:right; }
  .concentration-note { margin-top:10px; padding-top:9px; border-top:1px solid var(--line); color:var(--muted); font-size:10px; }
  .concentration-emphasis { color:var(--text); }
  .table-section { margin-top:18px; }
  .toolbar { --ledger-toolbar-columns:minmax(190px,1.55fr) repeat(3,minmax(120px,.7fr)) auto auto; }
  .chain-toolbar { --ledger-toolbar-columns:minmax(190px,1.5fr) minmax(140px,.7fr) auto; }
  .reset-button, .inspect-button, .close-button, .more-button { min-height:32px; padding:6px 10px; font-family:inherit; font-size:10px; font-weight:600; line-height:1.2; }
  .coin-col { width:190px; }
  .type-col { width:78px; }
  .money-col { width:94px; text-align:right; }
  .metric-col { width:94px; text-align:right; }
  .worst-col { width:126px; text-align:right; }
  .days-col { width:76px; text-align:right; }
  .age-col { width:54px; text-align:right; }
  .status-col { width:102px; }
  .chain-col { width:150px; }
  .dominant-col { width:130px; }
  .action-col { width:78px; text-align:right; }
  .coin-name, .coin-secondary { display:block; overflow:hidden; color:inherit; font-size:inherit; font-weight:var(--weight-normal); text-overflow:ellipsis; white-space:nowrap; }
  body.ledger-page .data-table tbody > tr > :first-child .coin-name { color:var(--text); font-size:inherit; font-weight:var(--weight-bold); }
  .coin-symbol { color:var(--muted); font-size:inherit; font-weight:var(--weight-normal); }
  .coin-meta { display:block; margin-top:2px; overflow:hidden; color:var(--muted); font-size:inherit; font-weight:var(--weight-normal); text-overflow:ellipsis; white-space:nowrap; }
  .muted-number { color:var(--muted); font-size:inherit; font-weight:var(--weight-normal); text-align:right; white-space:nowrap; }
  body.ledger-page .data-table .positive { color:var(--positive); }
  body.ledger-page .data-table .negative { color:var(--risk); }
  body.ledger-page .data-table .neutral { color:var(--muted); }
  .accruing-value { color:var(--accent); font-weight:var(--weight-normal); }
  .risk-cell { display:flex; align-items:center; justify-content:flex-end; gap:6px; }
  .risk-track { width:42px; height:6px; background:#252c36; overflow:hidden; }
  .risk-fill { display:block; width:var(--w); height:100%; background:var(--tone,var(--accent)); }
  .risk-value { min-width:22px; color:inherit; font-size:inherit; font-weight:var(--weight-normal); text-align:right; }
  body.ledger-page .status.status-watch, body.ledger-page .status.status-unavailable { border-color:var(--warning-border); background:var(--warning-bg); color:#ffd45c; }
  body.ledger-page .status.status-depegged, body.ledger-page .status.status-dead { border-color:var(--negative-border); background:var(--negative-bg); color:#ff8485; }
  body.ledger-page .status.status-holding { border-color:var(--positive-border); background:var(--positive-bg); color:#67d47b; }
  body.ledger-page .status.status-accruing { border-color:var(--accent-border); background:var(--accent-bg); color:#7dbfff; }
  body.ledger-page .status.status-wound-down { color:var(--muted); }
  body.ledger-page .data-table .inspect-button { font-size:inherit; font-weight:var(--weight-normal); }
  .lens-note { margin-top:12px; padding:9px 11px; border-left:3px solid var(--signal); background:var(--ledger); color:var(--muted); font-size:10px; }
  .lens-note strong { color:var(--text); }
  .flow-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:15px; }
  .flow-list { display:grid; }
  .flow-row { display:grid; grid-template-columns:minmax(0,1fr) 95px 78px; gap:8px; align-items:center; min-height:38px; padding:7px 11px; border-bottom:1px solid var(--row); }
  .flow-row:last-child { border-bottom:0; }
  .flow-row strong { color:var(--text); }
  .flow-value, .flow-percent { text-align:right; white-space:nowrap; }
  .chain-detail { margin-top:16px; border:1px solid var(--signal); background:var(--ledger); }
  .detail-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border-bottom:1px solid var(--line); }
  .detail-head h2 { margin:0; color:var(--text); font-size:15px; }
  .detail-head p { margin:2px 0 0; color:var(--muted); font-size:10px; }
  .detail-metrics { display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--line); }
  .detail-metric { padding:9px 11px; border-right:1px solid var(--line); }
  .detail-metric:last-child { border-right:0; }
  .detail-metric span { display:block; color:var(--muted); font-size:9px; text-transform:uppercase; }
  .detail-metric strong { display:block; margin-top:2px; color:var(--text); font-size:15px; }
  .detail-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 10px; border-bottom:1px solid var(--line); }
  .detail-toolbar input { max-width:300px; }
  .detail-summary { color:var(--muted); font-size:10px; }
  @media (max-width:980px) {
    .risk-grid { grid-template-columns:1fr; }
  }
  @media (max-width:680px) {
    .attention-row { grid-template-columns:minmax(100px,.7fr) minmax(0,1fr) 80px; }
    .attention-stat:nth-last-child(-n+2) { display:none; }
    .flow-grid { grid-template-columns:1fr; }
    .detail-metrics { grid-template-columns:1fr 1fr; }
    .detail-metric:nth-child(even) { border-right:0; }
    .view-tab { flex:1; }
  }
