/* arch-viz.css — terminal-flat styling for the abstract transformer
   visualiser (assets/js/arch-viz.js).

   Everything here is scoped under .av and uses 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. */

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

.av-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;
}

/* screen-reader status for the pinned query */
.av-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
