/* The funds overview's embedded charts — on top of /notes/dashboard/dashboard.css.
   Holdings age is ordered, so its bands are the site's sequential blue ramp
   (site.css --chart-seq-*, the literals its values), freshest darkest, evenly
   spaced over steps 2-6 (step 1 reads as empty on the white panel). The band
   past the publication window is a state (holdings no longer publish), the
   palette's second colour. No filing is the "other" gray. Contrast below 3:1
   is relieved by the legend, the row totals and the table view. */
:root {
  --age-1: var(--chart-seq-6, #00345A);
  --age-2: var(--chart-seq-5, #005388);
  --age-3: var(--chart-seq-3, #6FA6D2);
  --age-4: var(--chart-seq-2, #A9CBE6);
  --age-out: var(--chart-2, #C4561F);
  --age-none: var(--chart-other, #A7AFB7);
}
#chart-fill .hb-hit { grid-template-columns: minmax(0, 58%) minmax(0, 1fr); }
@media (max-width: 760px) {
  #chart-fill .hb-hit { grid-template-columns: minmax(0, 55%) minmax(0, 1fr); }
}

/* Layout: the as-of line and chart subtitles hold the 14px phone floor; the
   wide chart's subtitle holds a reading measure; the two half panels share a
   row height; a long field label wraps on a phone rather than ending in an
   ellipsis. */
.dash .asof { font-size: 13px; line-height: 1.5; }
.dash .panel.wide .sub { max-width: 76ch; }
.panels { align-items: stretch; }
@media (max-width: 760px) {
  .dash .asof, .dash .panel .sub { font-size: 14px; }
  #chart-fill .hb-label { white-space: normal; overflow-wrap: anywhere; }
}
