.ml-bench {
  --ml-line: #879195;
  display: grid;
  gap: 12px;
  min-width: 0;
  color: inherit;
}
.ml-bench :is(label, .ml-controls, .ml-form) { display: grid; gap: 5px; }
.ml-bench :is(.ml-controls, .ml-form) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 10px; align-items: end; }
.ml-bench :is(select, input, textarea, button) {
  border: 1px solid var(--ml-line);
  border-radius: 8px;
  padding: .55em .75em;
  min-width: 0;
  min-height: 40px;
  font: inherit;
}
.ml-bench :is(select, input, textarea) { width: 100%; background: Canvas; color: CanvasText; }
.ml-bench textarea { resize: vertical; min-height: 64px; }
.ml-bench button { color: #fff; background: #235957; cursor: pointer; font-weight: 650; }
.ml-bench button:disabled { opacity: .55; cursor: default; }
.ml-bench :focus-visible { outline: 3px solid #1f9fa7; outline-offset: 2px; }
.ml-stage { margin: 0; min-width: 0; border-radius: 14px; color: #203e40; background: #edf3ef; padding: clamp(8px, 2vw, 15px); border: 1px solid #b7c5bc; }
.ml-stage figcaption, .ml-bench .ml-hint { font-size: .9em; }
.ml-stage svg { width: 100%; display: block; }
.ml-scale-svg { min-height: 68px; }
.ml-stage .ml-detail-svg { width: min(100%, 290px); max-height: 155px; margin-inline: auto; }
.ml-bench details summary { cursor: pointer; }
.ml-bench .ml-feedback:empty { display: none; }
.ml-bench :is(.ml-feedback, .ml-log) { font-size: .93em; }
.ml-bench [hidden] { display: none !important; }
.ml-log { min-width: 0; }
.ml-log table { width: 100%; table-layout: auto; margin: 0 0 .6em; border-collapse: collapse; }
.ml-log caption { font-weight: 700; text-align: left; padding-bottom: 6px; }
.ml-log :is(th, td) { text-align: left; padding: .3em .24em; border-bottom: 1px solid var(--ml-line); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ml-log :is(th, td):not(:nth-child(2)) { text-align: right; }
