/* Dashboard-specific layout. The shared site stylesheet provides tokens,
   typography, controls, callouts, takeaways, and the stat-table component. */

.dashboard section {
  margin-bottom: 3.5rem;
}

.dashboard section + section {
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
}

.dashboard figure {
  margin: 0 0 1rem;
}
.dashboard figcaption {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .35rem;
  font-weight: 500;
}

.plot {
  width: 100%;
  min-height: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.plot-tall  { min-height: 460px; }
.plot-short { min-height: 240px; }
.plot-box   { min-height: 320px; }

.plot-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}
.plot-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.plot-grid-2x2 {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.readout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1.1rem;
  margin: 1rem 0;
}
.readout .stat-table { margin: .35rem 0; }
.readout .stat-table + .stat-table { margin-top: 1rem; }

.dashboard code {
  font-family: var(--font-mono);
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: .9em;
}
