/* Interactive Galton board in the probabilistic forecasting article (public/js/galton/board.js). */
.galton {
  margin: 2rem 0; padding: 1.25rem; border-radius: 12px;
  background: var(--clean--canvas, #f7f6f0); border: 1px solid rgba(32, 80, 56, 0.2);
}
.galton button {
  font: inherit; font-size: 0.9rem; padding: 0.4rem 0.85rem; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--colors--green, #205038); background: #fff; color: var(--colors--green, #205038);
}
.galton button:hover { background: rgba(166, 216, 80, 0.25); }
.galton button:focus-visible, .galton select:focus-visible { outline: 2px solid var(--colors--green, #205038); outline-offset: 3px; }
.galton_toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: flex-end; justify-content: space-between; }
.galton_controls { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.galton_field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8rem; font-weight: 600; }
.galton_field select {
  font: inherit; font-size: 0.95rem; font-weight: 400; min-width: 12rem; padding: 0.4rem 2rem 0.4rem 0.6rem; border-radius: 6px;
  border: 1px solid rgba(32, 80, 56, 0.5); background: #fff; color: inherit;
}
.galton_canvas { display: block; width: 100%; margin: 1rem 0; }
.galton_sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.galton_count { margin: 0.25rem 0 0.5rem; font-size: 0.95rem; font-weight: 600; }
.galton_table { width: 100%; margin: 0.5rem 0 0; font-size: 0.9rem; }
.galton_table td:first-child { white-space: nowrap; }
.galton_table td:nth-child(2) { font-weight: 600; white-space: nowrap; }
.galton_dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.4rem; }
.galton:not(.is-ready) .galton_note { display: none; }
.galton_note { margin: 0.75rem 0 0; font-size: 0.85rem; opacity: 0.8; }
