.venue-explorer { background: #f0eee8; border-block: 1px solid var(--line); }
.venue-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-block: 26px; }
.venue-room-field { min-width: 0; flex: 0 1 350px; }
.venue-room-field label { display: block; color: var(--muted); text-transform: uppercase; font-size: 10px; margin-bottom: 8px; }
.venue-room-field select { width: 100%; min-height: 46px; padding: 10px 32px 10px 13px; border-radius: 5px; border: 1px solid rgba(20,33,42,.2); color: var(--ink); background: #fff; font-size: 12px; text-overflow: ellipsis; cursor: pointer; }
.venue-layouts { display: flex; align-items: stretch; gap: 3px; min-width: 0; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.65); }
.venue-layouts button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 4px; color: #53616b; background: transparent; font-size: 11px; cursor: pointer; white-space: nowrap; transition: color .2s, background .2s, box-shadow .2s; }
.venue-layouts svg { width: 16px; height: 16px; flex: none; }
.venue-layouts button:hover { color: var(--ink); background: var(--cream); }
.venue-layouts button[aria-pressed="true"] { color: var(--gold-light); background: var(--navy); box-shadow: 0 3px 8px rgba(9,23,34,.16); }
.venue-layouts button:disabled { opacity: .45; cursor: default; }
.venue-stage { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 700px; border-top: 1px solid rgba(20,33,42,.08); background: radial-gradient(ellipse at 50% 48%, #fbfaf7 0%, #f0eee8 72%); }
.venue-canvas { position: relative; min-width: 0; min-height: 0; width: 100%; overflow: hidden; touch-action: none; }
.venue-canvas canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; user-select: none; }
.venue-canvas canvas:active { cursor: grabbing; }
.venue-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; padding: 12px 20px; pointer-events: none; }
.venue-explorer[data-state="ready"] .venue-fallback { display: none; }
.venue-stage-labels { display: flex; justify-content: space-between; align-items: start; gap: 32px; padding-top: 28px; padding-bottom: 8px; }
.venue-stage-labels > div { min-width: 0; }
.venue-overline { color: var(--muted); text-transform: uppercase; font-size: 10px; }
.venue-stage-labels h3 { max-width: 500px; font-family: var(--serif); font-size: 32px; line-height: 1.2; font-weight: 500; margin: 6px 0; }
.venue-stage-labels p { margin: 0; color: #53616b; font-size: 12px; }
.venue-stage-labels .venue-partition-status { display: inline-block; max-width: 100%; margin-top: 12px; padding: 6px 10px; border: 1px solid rgba(152,121,68,.22); border-radius: 4px; color: #796139; background: rgba(255,255,255,.6); font-size: 10px; line-height: 1.5; }
.venue-metrics { display: flex; gap: 38px; padding-top: 8px; flex-shrink: 0; }
.venue-metrics div { display: flex; flex-direction: column; min-width: 84px; }
.venue-metrics strong { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.venue-metrics span { color: #53616b; font-size: 11px; margin-top: 6px; }
.venue-stage-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px 22px; }
.venue-interaction-hint { display: flex; align-items: center; gap: 9px; max-width: 350px; margin: 0; color: #53616b; font-size: 11px; }
.venue-interaction-hint svg { width: 15px; height: 15px; flex: none; color: #987944; }
.venue-explorer:not([data-state="ready"]) .venue-interaction-hint { visibility: hidden; }
.venue-camera-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.venue-top-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; cursor: pointer; font-size: 11px; transition: background .2s, border-color .2s; }
.venue-top-button svg { width: 17px; height: 17px; flex: none; }
.venue-top-button:hover { background: var(--cream); border-color: var(--gold); }
.venue-top-button[aria-pressed="true"] { color: var(--gold-light); background: var(--navy); border-color: var(--navy); }
.venue-room-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-block: 18px 24px; border-top: 1px solid var(--line); }
.venue-room-legend button { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 15px 16px; border: 1px solid rgba(20,33,42,.14); border-radius: 6px; color: var(--ink); background: rgba(255,255,255,.7); cursor: pointer; text-align: left; font-size: 12px; transition: border-color .2s, background .2s, color .2s; }
.venue-room-legend button > svg { width: 22px; height: 22px; flex: none; color: #987944; }
.venue-room-legend button > span:last-child { min-width: 0; line-height: 1.5; overflow-wrap: anywhere; }
.venue-room-legend small { display: block; margin-top: 2px; color: #53616b; font-size: 10px; }
.venue-room-number { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid rgba(152,121,68,.45); border-radius: 50%; color: #876832; font-family: var(--serif); font-size: 17px; }
.venue-room-legend button:hover { border-color: var(--gold); background: #fbfaf7; }
.venue-room-legend button[aria-pressed="true"] { color: var(--gold-light); background: var(--navy); border-color: var(--navy); }
.venue-room-legend button[aria-pressed="true"] small { color: #d0d8dc; }
.venue-room-legend button[aria-pressed="true"] > svg, .venue-room-legend button[aria-pressed="true"] .venue-room-number { color: var(--gold-light); border-color: rgba(224,200,146,.5); }
.venue-bottom-line { min-height: 100px; padding-block: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 36px; border-top: 1px solid var(--line); }
.venue-bottom-line > div { max-width: 800px; }
.venue-bottom-line p { font-size: 12px; color: #53616b; margin: 0; line-height: 1.8; }
.venue-bottom-line .venue-disclaimer { font-size: 10px; color: var(--muted); margin-top: 9px; }
.venue-bottom-line a { color: #876832; white-space: nowrap; }
.venue-explorer button:focus-visible, .venue-room-field select:focus-visible { outline: 2px solid #987944; outline-offset: 3px; }
.event-capacity td:has(button) { padding: 7px 8px; }
.capacity-room-button, .capacity-layout-button { border: 1px solid transparent; border-radius: 4px; color: inherit; background: transparent; font: inherit; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.capacity-room-button { display: block; width: 100%; min-height: 44px; padding: 8px 4px; text-align: left; line-height: 1.5; white-space: normal; }
.capacity-layout-button { min-width: 44px; min-height: 44px; padding: 8px 12px; font-variant-numeric: tabular-nums; }
.capacity-room-button:hover, .capacity-layout-button:hover { color: #fff; border-color: rgba(224,200,146,.55); background: rgba(224,200,146,.1); }
.capacity-room-button.is-selected, .capacity-room-button[aria-pressed="true"] { color: var(--gold-light); }
.capacity-layout-button.is-selected, .capacity-layout-button[aria-pressed="true"], .event-capacity td.is-selected .capacity-layout-button { color: var(--navy); border-color: var(--gold-light); background: var(--gold-light); }
.capacity-room-button:focus-visible, .capacity-layout-button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.event-hero-actions .btn svg { width: 17px; height: 17px; }
@media (max-width: 1200px) {
  .venue-toolbar { align-items: stretch; flex-direction: column; gap: 18px; }
  .venue-room-field { flex-basis: auto; max-width: 400px; }
  .venue-layouts { align-self: start; }
  .venue-room-legend button { gap: 9px; padding: 13px 10px; }
}
@media (max-width: 800px) {
  .venue-room-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue-layouts { width: 100%; flex-wrap: wrap; }
  .venue-layouts button { flex: 1 1 auto; }
}
@media (max-width: 700px) {
  .venue-toolbar { padding-block: 22px; }
  .venue-room-field { min-width: 0; max-width: none; }
  .venue-layouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .venue-layouts button { padding-inline: 7px; min-height: 44px; gap: 6px; font-size: 10px; }
  .venue-stage { height: 630px; }
  .venue-stage-labels { padding-top: 22px; padding-bottom: 12px; flex-wrap: wrap; gap: 15px; }
  .venue-stage-labels > div:first-child { flex: 1 1 200px; }
  .venue-stage-labels h3 { font-size: 27px; }
  .venue-overline { font-size: 9px; }
  .venue-metrics { gap: 28px; padding-top: 0; }
  .venue-metrics div { min-width: 70px; }
  .venue-metrics strong { font-size: 29px; }
  .venue-metrics span { font-size: 10px; max-width: 128px; margin-top: 2px; }
  .venue-stage-bottom { align-items: center; flex-direction: column-reverse; padding-block: 10px 20px; gap: 13px; }
  .venue-camera-controls { gap: 5px; }
  .venue-camera-controls .icon-button { width: 39px; height: 44px; }
  .venue-top-button { padding-inline: 10px; gap: 6px; font-size: 10px; }
  .venue-interaction-hint { font-size: 10px; text-align: center; gap: 6px; }
  .venue-room-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-block: 18px; }
  .venue-room-legend button { min-height: 65px; padding: 12px; gap: 10px; font-size: 11px; }
  .venue-room-legend button[data-room="1+2+3"], .venue-room-legend button:last-child { grid-column: 1 / -1; }
  .venue-room-legend button > svg { width: 20px; height: 20px; }
  .venue-room-number { width: 24px; height: 24px; font-size: 16px; }
  .venue-bottom-line { flex-direction: column; align-items: start; gap: 18px; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .venue-explorer button, .capacity-room-button, .capacity-layout-button { transition: none; }
}
