/* TIX graphical hall tools and the shared seat map. */
.hall-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  gap: 14px;
}
.hall-map-pane, .hall-inspector, .hall-viewport, [data-graphic-view] { min-width: 0; }
.hall-inspector {
  background: #f6f5fa;
  border: 1px solid #e4e0ed;
  border-radius: 12px;
  padding: 10px;
}
.hall-inspector summary, .hall-batch summary, .hall-seat-list summary {
  cursor: pointer; font-weight: 700; padding: 8px 0;
}
.hall-buttons, .hall-tools, .hall-batch-controls, .hall-view-toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hall-tools { padding: 10px 0; }
.hall-tools > .hall-buttons:first-child { flex-basis: 100%; }
.hall-view-toolbar { justify-content: space-between; margin: 6px 0; }
.hall-tools .af-btn, .hall-view-toolbar .af-btn { min-height: 34px; }
.hall-buttons [aria-pressed=true] {
  border-color: var(--brand-primary, #4825bc); background: #e9e3ff; color: #321987;
}
.hall-field { display: flex; flex-direction: column; gap: 3px; font-size: .82rem; margin: 7px 0; }
.hall-field:has(input[type=checkbox]) { flex-direction: row-reverse; justify-content: flex-end; align-items: center; }
.hall-field > :is(input, select), .hall-floor select, .hall-tools :is(select, input) {
  padding: 5px 8px;
  border: 1px solid #d8d3e5;
  border-radius: 7px;
  background: white;
  font: inherit;
  min-width: 0;
}
.hall-batch input { width: 6em; }
.hall-batch-controls label { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; }
.hall-field:has(input[type=checkbox]) > input { flex: 0 0 auto; }
.hall-inspector .af-btn { margin: 4px 0; }
.hall-tier-fields { border-top: 1px solid #e4e0ed; padding: 8px 0; }
.hall-viewport {
  border: 1px solid #d8d3e5;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f5f4f9;
  background-image: radial-gradient(#d6d1e4 1px, transparent 1px);
  background-size: 20px 20px;
}
.hall-viewport svg {
  display: block;
  width: 100%;
  height: clamp(350px, 57vh, 660px);
  touch-action: none;
  user-select: none;
  overflow: hidden;
}
.hall-viewport svg:focus-visible { outline: 2px solid #7652cf; outline-offset: -2px; }
[data-graphic-view] .hall-viewport svg { height: clamp(320px, 53vh, 610px); }
.hall-sector .hall-svg-shape {
  fill: var(--hall-tint, #efeaff); fill-opacity: .75; stroke: #8073a5;
  stroke-width: 1.25; stroke-dasharray: 6 4;
}
.hall-svg-label { fill: #252139; font: 12px system-ui, sans-serif; pointer-events: none; }
.hall-centered { text-anchor: middle; }
.hall-group .hall-svg-shape { fill: var(--hall-tint, #e7e0f7); stroke: var(--hall-stroke, #7667a2); }
.hall-group-free .hall-svg-shape { stroke-width: 2; }
.hall-row-handle { fill: #eeebf5; stroke: #afa7c5; }
.hall-row-handle + .hall-svg-label { font-size: 8px; font-weight: 600; }
.hall-feature .hall-svg-shape { fill: #e6e5ed; stroke: #85819b; stroke-width: 1.5; }
.hall-feature-stage .hall-svg-shape { fill: #26203f; stroke: #26203f; }
.hall-feature-stage .hall-svg-label { fill: #fff; font-weight: 700; }
.hall-feature-entrance .hall-svg-shape { fill: #d8f6e5; stroke: #317c5d; }
.hall-feature-aisle .hall-svg-shape { fill: #fcfcff; stroke-dasharray: 4 3; }
.hall-feature-stairs .hall-svg-shape { fill: #e9edfa; stroke-dasharray: 2 2; }
.hall-feature-column .hall-svg-shape { fill: #c3bfcc; }
.hall-feature-technical .hall-svg-shape { fill: #eee6d1; stroke: #887654; }
.hall-seat-disc { fill: var(--hall-tint, #e9e1fd); stroke: var(--hall-stroke, #795abc); stroke-width: 1.25; }
.hall-seat-label { font-size: 9px; font-weight: 700; }
.hall-access-symbol { font-size: 7px; fill: #23204a; }
.hall-seat-held .hall-seat-disc { fill: #ffecac; stroke: #8a620e; }
.hall-seat-sold .hall-seat-disc { fill: #d7d6dd; stroke: #77727f; }
.hall-seat-blocked .hall-seat-disc { fill: #fff; stroke: #71697f; stroke-dasharray: 2 2; }
.hall-seat-blocked .hall-seat-label { text-decoration: line-through; fill: #4f4657; }
.hall-picked .hall-seat-disc { fill: #4a27bb; stroke: #32148b; }
.hall-picked .hall-svg-label { fill: white; }
.hall-selected > :is(.hall-seat-disc, .hall-svg-shape, .hall-row-handle),
.hall-map-seat:focus-visible .hall-seat-disc { stroke: #4825bc; stroke-width: 3; }
.hall-rotate { cursor: crosshair; }
.hall-rotate circle { fill: #fff; stroke: #4825bc; stroke-width: 2; }
.hall-rotate line { stroke: #4825bc; stroke-dasharray: 4 3; }
.hall-selection-box { fill: #daceff; fill-opacity: .5; stroke: #582eb3; stroke-dasharray: 5 3; pointer-events: none; }
.hall-editable [data-map-key] { cursor: move; }
.hall-placing { cursor: crosshair; }
.hall-panning, .hall-panning [data-map-key] { cursor: grab !important; }
[data-graphic-view] :is([role="checkbox"][aria-disabled=false], [role="button"]) { cursor: pointer; }
.hall-tier-0 { --hall-tint: #ebe2ff; --hall-stroke: #7251b5; }
.hall-tier-1 { --hall-tint: #fcdbef; --hall-stroke: #a73c79; }
.hall-tier-2 { --hall-tint: #d5ecfb; --hall-stroke: #347aa5; }
.hall-tier-3 { --hall-tint: #d3f4de; --hall-stroke: #338254; }
.hall-tier-4 { --hall-tint: #fce6cd; --hall-stroke: #a96127; }
.hall-tier-5 { --hall-tint: #d7f3ef; --hall-stroke: #258378; }
.hall-tier-6 { --hall-tint: #fbdbe0; --hall-stroke: #a94149; }
.hall-tier-7 { --hall-tint: #e4eaf6; --hall-stroke: #526994; }
.hall-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 15px; padding: 0; font-size: .82rem; }
.hall-color { display: inline-block; width: 12px; height: 12px; background: var(--hall-tint); border: 1px solid var(--hall-stroke); border-radius: 50%; }
.hall-legend :is(.hall-legend-held, .hall-legend-sold, .hall-legend-blocked) { padding: 1px 5px; border-radius: 4px; }
.hall-legend-held { background: #ffecac; }
.hall-legend-sold { background: #d7d6dd; }
.hall-legend-blocked { border: 1px dashed #71697f; }
.hall-seat-list { margin-top: 10px; }
@media (max-width: 900px) {
  .hall-workspace { grid-template-columns: minmax(0, 1fr); }
  .hall-viewport svg, [data-graphic-view] .hall-viewport svg { height: 390px; }
}
.hall-move-handle rect { fill: #fff; stroke: #4825bc; stroke-width: 2; }
.hall-move-handle { cursor: move; }
.hall-rotate line { pointer-events: none; }
