.binder-seat-editor {
  --seat-line: #cbd8d0;
  --seat-ink: #20372d;
  --seat-muted: #4d6157;
  --seat-focus: #265e49;
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.binder-seat-arrangements, .binder-seat-layout-controls, .binder-seat-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .55rem;
}
.binder-seat-arrangements > .binder-seat-field { flex: 1 1 11rem; }
.binder-seat-layout-controls > .binder-seat-field:first-child { flex: 3 1 12rem; }
.binder-seat-layout-controls > .binder-seat-field:nth-child(2) { flex: 2 1 8rem; }
.binder-seat-layout-controls > .binder-seat-field:nth-child(n + 3) { flex: 1 1 3.5rem; }
.binder-seat-field {
  display: grid;
  gap: .3rem;
  min-width: 0;
  color: var(--seat-ink);
  font-size: .89rem;
  font-weight: 650;
}
.binder-seat-field :is(input, select), .binder-seat-button {
  min-height: 2.75rem;
  border: 1px solid var(--seat-line);
  border-radius: .5rem;
  padding: .42rem .66rem;
  background: #fff;
  color: var(--seat-ink);
  font: inherit;
}
.binder-seat-field :is(input, select) { width: 100%; min-width: 0; font-weight: 450; }
.binder-seat-button { font-size: .86rem; font-weight: 650; cursor: pointer; }
.binder-seat-button:disabled { opacity: .53; cursor: default; }
.binder-seat-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10.5rem, .43fr); gap: .75rem; align-items: start; }
.binder-seat-chart, .binder-seat-inspector {
  min-width: 0;
  padding: .68rem;
  border: 1px solid var(--seat-line);
  border-radius: .7rem;
  background: #f8faf8;
}
.binder-seat-front {
  margin: 0 0 .58rem;
  padding: .45rem;
  border: 1px solid #d9e3dd;
  border-radius: .38rem;
  background: #eaf0eb;
  color: var(--seat-ink);
  text-align: center;
  font-size: .85rem;
  font-weight: 650;
}
.binder-seat-scroll { overflow-x: auto; padding: .2rem .2rem .42rem; }
.binder-seat-grid { display: grid; grid-template-columns: repeat(var(--seat-columns), minmax(4.5rem, 1fr)); gap: .36rem; }
.binder-seat-grid:is([data-layout="pairs"], [data-layout="groups"]) [data-column-aisle="true"] { margin-inline-start: .35rem; }
.binder-seat-grid[data-layout="groups"] [data-row-aisle="true"] { margin-block-start: .35rem; }
.binder-seat {
  display: grid;
  align-content: start;
  gap: .2rem;
  min-width: 0;
  min-height: 3.2rem;
  padding: .4rem;
  border: 1px solid #bbcbbf;
  border-radius: .42rem;
  background: #fff;
  color: var(--seat-ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.binder-seat[data-removed="true"] { border-style: dashed; background: transparent; }
.binder-seat[aria-pressed="true"] { border-color: var(--seat-focus); background: #e1eee5; box-shadow: inset 0 0 0 1px var(--seat-focus); }
.binder-seat-editor :is(button, input, select):focus-visible { outline: 2px solid var(--seat-focus); outline-offset: 2px; }
.binder-seat-label, .binder-seat-student { overflow-wrap: anywhere; }
.binder-seat-label { font-size: .7rem; color: var(--seat-muted); }
.binder-seat-student { font-size: .79rem; font-weight: 650; }
.binder-seat-inspector { display: grid; gap: .58rem; background: #fff; }
.binder-seat-inspector > .binder-seat-button { justify-self: start; }
.binder-seat-title { margin: 0; color: var(--seat-ink); font-size: 1rem; }
.binder-seat-hint { margin: 0; color: var(--seat-muted); font-size: .84rem; line-height: 1.45; }
@media (max-width: 720px) {
  .binder-seat-workspace { grid-template-columns: minmax(0, 1fr); }
}
