/* Compact RATES card primitives; scientific state/provenance stays in the model. */
#view-finstate .finstate-iv-panel #finstate-iv-vector .finstate-iv-vector-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr))!important; grid-auto-rows:1fr; gap:10px; align-items:stretch; }
#view-finstate #finstate-iv-vector .finstate-iv-vector-card { display:flex; align-items:center!important; min-width:0; border-radius:12px!important; background:rgba(7,15,27,.72)!important; border:1px solid rgba(126,153,196,.14)!important; }
#view-finstate #finstate-iv-vector .finstate-iv-letter-box { flex-shrink:0; width:36px; height:36px; font-size:1.2rem!important; }
#view-finstate #finstate-iv-vector .finstate-iv-s { letter-spacing:-.06em; }
#view-finstate #finstate-iv-vector .finstate-iv-name { overflow-wrap:anywhere; color:#eef3fa!important; }
#view-finstate #finstate-iv-vector .finstate-iv-bottomline { flex-wrap:wrap; }
@media(max-width:599px) {
  #view-finstate #finstate-iv-vector .finstate-iv-vector-card { min-height:78px!important; box-sizing:border-box; }
}
/* RATES panel/empty-state tokens replace the legacy FINSTATE dark override. */
#view-finstate .finstate-vinv-panel { background:linear-gradient(180deg,var(--iv-surface-raised),var(--iv-surface))!important; border-color:var(--iv-border)!important; color:var(--iv-text-primary)!important; }
#view-finstate .finstate-vinv-panel > .panel-title { color:var(--iv-text-secondary)!important; }
#view-finstate .finstate-vinv-panel > .panel-placeholder { background:transparent!important; color:var(--iv-chart-label)!important; border-color:var(--iv-border)!important; }
html[data-theme="light"] #view-finstate .finstate-vinv-panel > .panel-placeholder { background:var(--iv-panel-bg-soft)!important; color:var(--iv-text-primary)!important; }
