/* loss-viz.css — terminal-flat styling for the training-loss visualiser
   (assets/js/loss-viz.js).

   Scoped under .lv and built on the same custom properties as the rest of the
   terminal theme, so a theme switch recolours the module for free. Flat: no
   shadows, no gradients, radius 0. */

.lv {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--text);
}

.lv-canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  background: var(--bg);
  /* the module paints every pixel itself; keep the browser out of the way */
  touch-action: manipulation;
}
