.mt .mt-body { flex: 1; min-height: 0; position: relative; margin-top: 2px; }
.mt .mt-pane { position: absolute; inset: 0; display: flex; gap: 2px; }
.mt .mt-pane[hidden] { display: none; }
.mt .mt-lc { flex: none; width: 300px; display: flex; flex-direction: column; min-height: 0; }
.mt .mt-lc > .mt-left { flex: 1 1 0; background: var(--face); box-shadow: none; padding: 0; }
.mt .sc.mt-in { background: var(--face); padding: 4px 4px 0 6px; }
.mt .mt-in .grp { margin: 0 0 8px; }
.mt .mt-in .rows { grid-template-columns: max-content minmax(60px, 1fr) minmax(24px, max-content); }
.mt .mt-in .rows select {
  width: 100%; min-width: 0; height: 20px; padding: 0 2px; border: 0; outline: 0; background: #fff; box-shadow: var(--sunk); font: inherit;
}
.mt .mt-in .rows input[type=checkbox] { width: auto; height: auto; margin: 0; box-shadow: none; justify-self: start; }
.mt .mt-in input.bad { outline: 1px solid #f00; }
.mt .mt-in input:disabled, .mt .mt-in select:disabled { background: var(--face); color: var(--shadow); }
.mt .mt-in .grp.off .rows > span { color: var(--shadow); }
.mt .mt-btns { flex: none; display: flex; gap: 6px; padding: 6px 4px; }

.mt .mt-rc { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.mt .mt-schem { flex: none; height: 128px; overflow: auto; background: #fff; padding: 2px; }
.mt .mt-schem svg { display: block; margin: 0 auto; }
.mt .mt-plots { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.mt .mt-pl { flex: 1 1 0; min-height: 60px; position: relative; margin-top: 2px; }
.mt .mt-pl[hidden] { display: none; }
.mt .mt-pl > .mt-ch { position: absolute; inset: 0; }
.mt .mt-read { flex: none; min-height: 18px; padding: 2px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: var(--face); }
.mt .mt-calc { flex: 0 0 190px; margin-top: 2px; }

.mt .mt-solved { padding-top: 2px; }
.mt .mt-t { width: 100%; border-collapse: collapse; }
.mt .mt-t th { padding: 0 4px; font-weight: normal; text-align: left; background: var(--face); box-shadow: var(--button); white-space: nowrap; position: sticky; top: 0; }
.mt .mt-t td { height: 18px; padding: 0 4px; white-space: nowrap; }
.mt .mt-t .mt-r { text-align: right; }
.mt .mt-t input {
  width: 100%; min-width: 0; height: 18px; padding: 0 3px; border: 0; outline: 0; background: #fff; box-shadow: var(--sunk); font: inherit;
  cursor: text; -webkit-user-select: text; user-select: text;
}
.mt .mt-t input:disabled { background: var(--face); color: var(--shadow); }
.mt .mt-t input.bad { outline: 1px solid #f00; }

.mt .mt-bars { position: absolute; inset: 2px; overflow: auto; padding: 6px 8px; }
.mt .mt-bt { padding-bottom: 6px; font-weight: bold; }
.mt .mt-br { display: grid; grid-template-columns: 130px 1fr 150px; align-items: center; gap: 8px; height: 20px; }
.mt .mt-bl { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt .mt-bw { display: block; height: 12px; background: #fff; box-shadow: var(--sunk); }
.mt .mt-bw i { display: block; height: 100%; background: var(--sel); }
.mt .mt-bv { white-space: nowrap; }

.mt .status span { overflow: hidden; white-space: nowrap; min-width: 0; }
.mt .status span:nth-child(1) { flex: 3 1 0; }
.mt .status span:nth-child(2) { flex: 2 1 0; }
.mt .status span:nth-child(3) { flex: 3 1 0; }
@media (max-width: 700px) {
  .mt .mt-pane { flex-direction: column; }
  .mt .mt-lc { width: auto; flex: 1 1 50%; }
}
.mt .mt-calc .sc.mt-in { background: #fff; padding: 0; }
