@import url('/tools/zt/eng/maths/workbench.css');

#weighted-rows { display: grid; gap: 8px; }
.weight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}
.weight-row .maths-field { align-self: start; }
.weight-row button { align-self: start; margin-top: 23px; }

@media (max-width: 700px) {
  .maths-tabs button { flex: 1 1 0; font-size: .8125rem; }
}

#tool:has(#panel-spread:not([hidden])) :is(.zt-ux-presets, .zt-example) { display: none; }
