.treasury-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; padding:24px 0 10px; }
.treasury-meta { display:flex; flex-direction:column; gap:8px; flex:1; min-width:220px; }
.treasury-meta strong { font-size:16px; color:var(--ink); font-variant-numeric:tabular-nums; }
.treasury-meta .muted { font-size:12px; }
.treasury-refresh { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:38px; border:1px solid var(--line); border-radius:4px; background:var(--surface); color:var(--blue); white-space:nowrap; }
.treasury-refresh svg { width:16px; height:16px; }
.treasury-refresh-status { color:var(--muted); font-size:12px; }
.treasury-stamps { color:var(--muted); font-size:12px; line-height:1.8; padding:0 0 20px; overflow-wrap:anywhere; }
.treasury-cards { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:12px; }
.treasury-card { display:flex; flex-direction:column; gap:12px; padding:16px 14px; min-width:0; min-height:132px; background:var(--surface); border:1px solid var(--line); border-radius:6px; cursor:pointer; }
.treasury-card:hover { border-color:var(--muted); background:var(--surface); }
.treasury-card.selected { border-color:var(--line); box-shadow:inset 0 2px var(--blue); }
.treasury-card.treasury-card-key { background:var(--surface); border-color:var(--line); }
.treasury-card.treasury-card-key.selected { box-shadow:inset 0 2px var(--red); }
.treasury-card:focus-within { outline:2px solid var(--blue); outline-offset:2px; }
.treasury-card-head { display:flex; gap:6px; align-items:center; color:var(--muted); font-size:12px; white-space:nowrap; }
.treasury-card-head input { margin-left:auto; width:13px; height:13px; flex:0 0 13px; accent-color:var(--blue); }
.treasury-swatch { width:7px; height:7px; flex:0 0 7px; border-radius:50%; }
.treasury-yield { font-size:25px; font-weight:650; color:var(--ink); font-variant-numeric:tabular-nums; line-height:1.2; white-space:nowrap; }
.treasury-card-key .treasury-yield { color:var(--red); }
.treasury-change { font-size:12px; font-variant-numeric:tabular-nums; color:var(--muted); white-space:nowrap; }
.treasury-change.positive { color:var(--red); }.treasury-change.negative { color:var(--green); }
.treasury-comparison { color:var(--muted); font-size:12px; padding:15px 0 22px; line-height:1.8; }
.treasury-range { display:flex; gap:4px; width:fit-content; padding:3px; border:1px solid var(--line); border-radius:4px; margin-bottom:18px; }
.treasury-range button { min-height:32px; padding:4px 15px; border:0; background:transparent; color:var(--muted); font-size:12px; border-radius:2px; }
.treasury-range button[aria-pressed=true] { background:var(--surface-2); color:var(--blue); font-weight:650; }
.treasury-chart { height:350px; }
.treasury-chart-grid .treasury-chart { height:300px; }
.treasury-source { padding:18px 0 32px; font-size:12px; color:var(--muted); line-height:1.9; overflow-wrap:anywhere; }
.treasury-source a { color:var(--blue); }
@media(max-width:1200px) { .treasury-cards { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:740px) {
  .treasury-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .treasury-card { min-height:125px; padding:16px; }.treasury-yield { font-size:25px; }
  .treasury-toolbar { gap:12px; }.treasury-meta { flex-basis:100%; }
  .treasury-refresh-status { flex:1; }.treasury-refresh { min-height:40px; }
  .treasury-stamps { padding-top:5px; }.treasury-chart { height:310px; }
  .treasury-range button { padding:4px 13px; }
}
