.table-preview {
  margin: 0 0 1rem;
  padding: 0;
  min-inline-size: 0;
  border: 0;
}
.table-preview legend {
  padding: 0;
  font: 800 1.65rem/1.05 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
}
.table-preview .table-hint {
  font-size: .875rem;
}
.table-preview .table-hint { margin: 5px 0 0; }
.table-layout {
  display: grid;
  grid-template: 44px 44px 44px / repeat(4, minmax(0, 1fr));
  gap: 5px;
  width: min(100%, 21rem);
  align-items: center;
  justify-items: center;
  margin-block: 10px;
}
.table-surface {
  grid-area: 2 / 2 / 3 / 4;
  align-self: stretch;
  justify-self: stretch;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 100px;
  font: 800 .9rem/1 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.table-seat { position: relative; width: 44px; height: 44px; }
.table-seat input {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.table-seat span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px dashed currentColor;
  border-radius: 50%;
  font-weight: 800;
}
.table-seat.is-filled span { background: var(--seat-fill, var(--ink)); color: var(--seat-text, var(--paper)); border-style: solid; }
.table-seat input:hover + span { border-style: solid; }
.table-seat input:focus-visible + span { outline: 2px solid var(--seat-fill, var(--ink)); outline-offset: 3px; }
.seat-1 { grid-area: 2 / 1; }
.seat-2 { grid-area: 1 / 2; }
.seat-3 { grid-area: 1 / 3; }
.seat-4 { grid-area: 2 / 4; }
.seat-5 { grid-area: 3 / 3; }
.seat-6 { grid-area: 3 / 2; }
.table-preview .table-status { margin: 0; font-weight: 700; }

.tri-page-preview { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
