/* Custom overrides on top of Tabler */

/* Narrow page layout (navbar, header, content) */
.container-xl {
  max-width: 800px;
}

/* Calculator layer table: scroll after ~8 rows, keep the header visible */
.layer-scroll {
  max-height: 22rem;
  overflow-y: auto;
}
.layer-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--tblr-bg-surface, #fff);
}

/* Bootstrap/Tabler sets svg { vertical-align: middle }, which shifts Plotly's
   toolbar icons down so their bottom gets clipped. Restore the default. */
.js-plotly-plot .modebar-btn svg {
  vertical-align: baseline;
}
