/* Floor map + booth picker */
.wrap.wide { width: calc(100% - 32px); }
.map-view { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; background:
  radial-gradient(circle at 1px 1px, #d9dbe1 1px, transparent 0) 0 0 / 22px 22px, #f7f7f9; cursor: grab; }
.map-view.panning { cursor: grabbing; }
.map-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.map-stage img { position: absolute; inset: 0; pointer-events: none; }
.map-svg { position: absolute; inset: 0; overflow: visible; }
.map-zoom { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 2; }
.map-zoom button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 700 20px/1 var(--body); cursor: pointer; box-shadow: var(--shadow); color: var(--ink); }
.booth { cursor: pointer; }
.booth rect { fill: rgba(5,58,133,.12); stroke: var(--blue); stroke-width: calc(2px / var(--zoom, 1)); transition: fill .12s; }
.booth text { font-family: var(--body); font-weight: 800; text-anchor: middle; fill: #053a85; pointer-events: none; }
.booth text.sub { font-weight: 700; fill: #053a85; opacity: .85; }
.booth.endcap rect { fill: rgba(199,147,7,.2); stroke: var(--gold); }
.booth.endcap text { fill: #6a4d00; }
.booth.premium rect { fill: rgba(67,8,127,.12); stroke: var(--purple); }
.booth.premium text { fill: #43087f; }
.booth.open:hover rect { fill: rgba(5,58,133,.24); }
.booth.endcap.open:hover rect { fill: rgba(199,147,7,.36); }
.booth.premium.open:hover rect { fill: rgba(67,8,127,.24); }
.booth.held rect { fill: url(#hatch) #e9e9ee; fill: #e6e7ec; stroke: #a3a7b3; stroke-dasharray: 6 4; }
.booth.held text, .booth.sold text { fill: #6b7385; }
.booth.sold rect, .booth.blocked rect { fill: #cfd2da; stroke: #9aa0ad; }
.booth.blocked { cursor: not-allowed; }
.booth.held, .booth.sold { cursor: not-allowed; }
.booth.selected rect { fill: var(--red); stroke: var(--red-ink); stroke-width: calc(3px / var(--zoom, 1)); }
.booth.selected text { fill: #fff; }
.booth.flash rect { animation: flash .6s 2; }
@keyframes flash { 50% { fill: #fde8ea; stroke: var(--red); } }

.picker-page { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.picker { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 400px; min-height: 0; }
.map-wrap { position: relative; min-height: 0; display: flex; flex-direction: column; }
.map-host { flex: 1; min-height: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 10px 16px; list-style: none; background: #fff; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 16px; height: 12px; border-radius: 3px; border: 1.5px solid; display: inline-block; }
.lg.open-standard { background: rgba(5,58,133,.14); border-color: var(--blue); }
.lg.open-endcap { background: rgba(199,147,7,.24); border-color: var(--gold); }
.lg.open-premium { background: rgba(67,8,127,.14); border-color: var(--purple); }
.lg.selected { background: var(--red); border-color: var(--red-ink); }
.lg.held { background: #e6e7ec; border-color: #a3a7b3; border-style: dashed; }
.lg.sold { background: #cfd2da; border-color: #9aa0ad; }

.panel { background: #fff; border-left: 1px solid var(--line); padding: 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.panel h1 { font: italic 900 26px/1.02 var(--display); font-stretch: 125%; text-transform: uppercase; margin: 0; }
.panel .meta { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.panel h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 0; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.picks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.picks .tag { min-width: 46px; height: 32px; border-radius: 8px; display: grid; place-items: center; font: 800 14px/1 var(--body); color: #fff; background: var(--red); padding: 0 6px; }
.picks .info { flex: 1; line-height: 1.3; }
.picks .info b { display: block; font-size: 15px; }
.picks .info span { font-size: 13px; color: var(--muted); }
.picks .amt { font-weight: 800; }
.picks .x { border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; padding: 4px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 800; font-size: 18px; }
.total .big { font-size: 28px; }
.hint { background: var(--surface-2); border-radius: 12px; padding: 14px; font-size: 14.5px; color: var(--ink-2); }
.hint b { color: var(--ink); }
.panel form { display: grid; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trap { position: absolute; left: -9999px; }
.sticky-cta { position: sticky; bottom: -22px; background: #fff; padding: 12px 0 0; margin-top: auto; }
.sticky-cta .btn { width: 100%; }

@media (max-width: 900px) {
  .picker { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .panel { border-left: 0; border-top: 1px solid var(--line); max-height: 46dvh; padding: 16px; box-shadow: 0 -12px 30px rgba(11,18,32,.08); }
  .panel.form-open { max-height: 78dvh; }
  .legend { font-size: 12px; padding: 8px 12px; }
  .grid2 { grid-template-columns: 1fr; }
}
.booth.selected rect, .booth.selected.open:hover rect, .booth.selected.endcap.open:hover rect, .booth.selected.premium.open:hover rect { fill: var(--red); stroke: var(--red-ink); }

.ev-head { display: flex; gap: 14px; align-items: center; }
.ev-head .ev-logo { width: 84px; height: 64px; object-fit: contain; flex: none; }
@media (max-width: 900px) { .ev-head .ev-logo { width: 56px; height: 44px; } }
