/* =====================================================================
   PHASE 26 — INK & COBALT (Step 1+2 · color consolidation + surfaces)
   Roadmap: UI_EXCELLENCE_ROADMAP.md · gate: ui-review-checklist.md
   Tokens live in tokens.css; this file only overrides per-component
   decoration that tokens cannot reach. One fenced block, revertible.
   ===================================================================== */

/* ---------- Step 2 · Focus card: warm radial wash → formal flat card.
   The peach/lavender radials were the loudest remaining decorative
   gradient on Home; the #1 attention card now reads like every other
   surface — hierarchy comes from the amber status pill, not a glow. */
.hero {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

/* ---------- Step 3 · Charts: shadcn-grade chrome ----------
   Legend swatches become quiet squares; the BarPair tooltip is the
   formal shadcn pattern: neutral surface, hairline border, elevation-2,
   mono numerals, no pointer events (it follows the hovered band). */
.chart-legend { gap: 14px; }
.chart-legend .sw {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.chart-legend .k {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}
.bpt {
  position: absolute;
  transform: translate(-50%, calc(-100% - 10px));
  background: var(--surface-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--elevation-2);
  padding: 7px 10px 6px;
  min-width: 118px;
  pointer-events: none;
  z-index: 5;
}
.bpt-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 5px;
}
.bpt-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--text-secondary);
  padding: 1.5px 0;
  letter-spacing: -0.01em;
}
.bpt-row b {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.bpt-sw {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* ==== END PHASE 26 — INK & COBALT ==== */
