#fed-chart .fed-controls,
#fed-chart .fed-controls > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#fed-chart .fed-controls {
  justify-content: space-between;
  gap: 12px;
}
#fed-chart button {
  font: 600 14px/1.35 var(--sans, system-ui);
  color: #3a5166;
  background: #f1f5f8;
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
}
#fed-chart button:hover { background: #dde7ee; }
#fed-chart button[aria-pressed="true"] { background: #152e48; color: white; }
#fed-chart :focus-visible { outline: 2px solid #087769; outline-offset: 2px; }
#fed-chart .fed-reading {
  margin: 14px 0 8px;
  text-align: right;
  font: 600 15px/1.5 var(--sans, system-ui);
  font-variant-numeric: tabular-nums;
  color: #087769;
}
#fed-chart canvas:not([hidden]) {
  display: block;
  width: 100%;
  height: clamp(245px, 33vw, 370px);
  touch-action: pan-y pinch-zoom;
  cursor: crosshair;
}
@media (max-width: 540px) {
  #fed-chart button { padding: 10px 8px; font-size: 13px; }
}
