.venue-picker__header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 20px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.venue-picker__intro { min-width: 0; }
.venue-picker__instructions { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #5b6576; }
.venue-picker__instructions p { max-width: 34rem; margin: 0; line-height: 1.5; }
.venue-picker__expand { align-self: start; }
.venue-surface { position: relative; background: radial-gradient(ellipse at center, #fff 25%, #edf0f3 100%); border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden; }
.venue-map { display: block; width: 100%; height: 360px; cursor: grab; touch-action: none; user-select: none; }
.venue-map.is-panning { cursor: grabbing; }
.venue-stage rect { fill: #28313f; }
.venue-stage .venue-stage-edge { fill: #d75018; }
.venue-stage text { fill: white; font-size: 17px; letter-spacing: 2px; }
.venue-area { cursor: pointer; outline: none; }
.venue-section-shape { fill: var(--area-color); stroke: #fff; stroke-width: 4px; transition: filter .15s; }
.venue-section-detail { fill: none; stroke: #1e293b; stroke-opacity: .16; stroke-width: 2px; pointer-events: none; }
.venue-section-label-bg { fill: #fff; fill-opacity: .93; pointer-events: none; }
.venue-area text { fill: #273244; font-size: 16px; font-weight: 600; pointer-events: none; }
.venue-area:hover .venue-section-shape, .venue-area:focus .venue-section-shape { filter: brightness(1.12); stroke: #334155; }
.venue-area[aria-pressed="true"] .venue-section-shape { stroke: #172033; stroke-width: 6px; }
.venue-area--unavailable { cursor: not-allowed; }
.venue-area--unavailable .venue-section-shape { fill: #cbd5e1; }
.venue-table { cursor: pointer; outline: none; }
.venue-table circle, .venue-table rect { transition: fill .15s, stroke .15s, filter .15s; }
.venue-table-top { fill: #fff; stroke: #334155; stroke-width: 1.5px; filter: drop-shadow(0 1px 1.5px rgba(15, 23, 42, .35)); }
.venue-table text { fill: #172033; font-size: 10px; font-weight: 700; pointer-events: none; }
.venue-table:hover .venue-table-top, .venue-table:focus .venue-table-top { fill: #dbeafe; stroke: #1d4ed8; stroke-width: 2.5px; }
.venue-table--selected .venue-table-top { fill: #bbf7d0; stroke: #15803d; stroke-width: 2.5px; }
.venue-table--unavailable { cursor: not-allowed; }
.venue-table--unavailable .venue-table-top { fill: #94a3b8; stroke: #64748b; filter: none; }
.venue-table--unavailable text { fill: #475569; }
.venue-table--reserved .venue-table-top { fill: #fcd34d; stroke: #92400e; stroke-width: 2px; stroke-dasharray: 3 2; }
.venue-table--reserved text { fill: #78350f; }
.venue-table:focus-visible .venue-table-top { stroke-width: 3px; }
.venue-reservation-hint { grid-column: 1 / -1; justify-self: end; display: flex; align-items: center; gap: 8px; color: #78350f; }
.venue-reservation-hint span { width: 14px; height: 14px; flex-shrink: 0; border: 1px dashed #92400e; border-radius: 4px; background: #fcd34d; }
.venue-sold-out-badge { opacity: 0; pointer-events: none; transition: opacity .15s; }
.venue-sold-out-badge rect { fill: #172033; stroke: #fff; stroke-width: 2px; }
.venue-sold-out-badge circle, .venue-sold-out-badge path { fill: none; stroke: #fff; stroke-width: 2px; stroke-linecap: round; }
.venue-sold-out-badge text { fill: #fff; font-size: 12px; font-weight: 700; }
.venue-area--unavailable:hover .venue-sold-out-badge { opacity: 1; }
.venue-toolbar { position: absolute; z-index: 2; top: 12px; right: 12px; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 4px 18px #17203318; overflow: hidden; }
.venue-toolbar button { border: 0; border-bottom: 1px solid #f1f5f9; background: white; width: 40px; height: 38px; font-size: 22px; color: #334155; }
.venue-toolbar button:disabled { opacity: .4; }
.venue-toolbar output { padding: 5px 0; text-align: center; font-size: 10px; }
.venue-pan-hint { position: absolute; bottom: 8px; left: 10px; margin: 0; padding: 4px 8px; border-radius: 12px; background: #ffffffdd; font-size: 10px; pointer-events: none; color: #475569; }
.venue-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.venue-legend-item, .venue-legend-all { position: relative; display: inline-flex; gap: 6px; align-items: center; padding: 4px 8px; border: 1px solid #e2e8f0; border-radius: 16px; font-size: 12px; background: white; color: #334155; }
.venue-legend-item span { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.venue-legend-item[aria-pressed="true"], .venue-legend-all[aria-pressed="true"] { border-color: #172033; background: #f1f5f9; }
.venue-legend-item:disabled { opacity: .5; }
.venue-legend-item:disabled:hover::after { position: absolute; z-index: 4; content: "⊘ " attr(data-sold-out-label); margin-top: 42px; padding: 5px 8px; border-radius: 6px; background: #172033; color: #fff; font-size: 11px; white-space: nowrap; }
.venue-ticket-card[hidden] { display: none !important; }
.venue-ticket-card--unavailable { position: relative; opacity: .65; }
.venue-ticket-card--unavailable:hover::after { position: absolute; z-index: 4; top: 8px; right: 8px; content: "⊘ " attr(data-sold-out-label); padding: 5px 8px; border-radius: 6px; background: #172033; color: #fff; font-size: 11px; font-weight: 600; }
.venue-ticket-card--active { outline: 2px solid #d75018; outline-offset: 2px; }
.venue-ticket-summary { padding: 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; }
.venue-ticket-summary ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.venue-selected-ticket { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--ticket-color) 35%, white); border-left: 4px solid var(--ticket-color); border-radius: 9px; background: color-mix(in srgb, var(--ticket-color) 10%, white); color: #273244; }
.venue-selected-ticket__marker { width: 13px; height: 13px; flex: 0 0 13px; border: 2px solid white; border-radius: 4px; background: var(--ticket-color); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ticket-color) 45%, #334155); }
.venue-selected-ticket__text { min-width: 0; line-height: 1.35; }
.venue-selected-ticket__tables { display: block; margin-top: 2px; color: #5b6576; font-size: .92em; overflow-wrap: anywhere; }
#venue-map-dialog { width: min(1100px, 95vw); max-height: 95dvh; border: 0; border-radius: 18px; padding: 18px; }
#venue-map-dialog::backdrop { background: #172033aa; }
#venue-map-dialog .venue-map { height: min(70dvh, 700px); }
.venue-price-tooltip { position: absolute; z-index: 3; max-width: calc(100% - 16px); padding: 8px 12px; border-radius: 8px; background: #172033; color: #fff; box-shadow: 0 4px 16px #17203330; font-size: 13px; pointer-events: none; }
.venue-price-tooltip[hidden] { display: none; }
#venue-ticket-dialog, #venue-table-dialog, #venue-conflict-dialog { width: min(520px, 95vw); max-height: 90dvh; padding: 20px; border: 0; border-radius: 16px; }
#venue-ticket-dialog::backdrop, #venue-table-dialog::backdrop, #venue-conflict-dialog::backdrop { background: #172033aa; }
#venue-conflict-dialog { width: min(460px, calc(100vw - 32px)); padding: 28px; color: #273244; box-shadow: 0 24px 80px #17203340; text-align: center; }
.venue-conflict-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: #fff3d6; color: #92400e; font-size: 26px; }
#venue-conflict-title { margin: 0 0 16px; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
#venue-conflict-message { margin: 0 0 10px; padding: 12px 16px; border: 1px solid #fde68a; border-radius: 10px; background: #fffbeb; color: #78350f; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.venue-conflict-help { margin: 0 0 24px; color: #5b6576; font-size: .95rem; line-height: 1.6; }
.venue-conflict-action { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 16px; border-radius: 10px; background: #273244; color: #fff; font-weight: 600; }
.venue-conflict-action:hover, .venue-conflict-action:focus-visible { background: #172033; color: #fff; }
.venue-conflict-action:focus-visible { outline: 3px solid #d75018; outline-offset: 3px; }
#ticket-box { scroll-margin-top: 100px; outline: none; }
.venue-button-loader { display: inline-block; animation: venue-button-spin 1s linear infinite; }
.venue-button-loader[hidden], [data-loading-status][hidden] { display: none; }
.custom-button[data-loading="true"] { cursor: wait; opacity: .75; }
@keyframes venue-button-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .venue-button-loader { animation: none; } }
#ticket-box, #ticket-box * { border: 0 !important; box-shadow: none !important; }
#ticket-box .venue-table-top { filter: none; }
#ticket-box .custom-button.venue-button-secondary { background: #fff4ed; }
#ticket-box .custom-button.venue-button-secondary:hover { background: var(--color-brand); }
#ticket-box .custom-button.venue-pending-checkouts { background: #f1f5f9; }
#ticket-box .custom-button.venue-pending-checkouts:hover { background: #273244; }
#ticket-box .form-control:focus-visible, #ticket-box .venue-legend button:focus-visible, #ticket-box .venue-toolbar button:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.venue-checkout-actions .custom-button, #venue-pending-dialog .custom-button, .custom-button.venue-button { top: auto; left: auto; margin-top: 0; }
.venue-checkout-actions .custom-button:focus-visible, #venue-pending-dialog .custom-button:focus-visible, .custom-button.venue-button:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.venue-checkout-actions .custom-button:disabled, .custom-button.venue-button:disabled { background: #f2f2f2; border-color: #e0e0e0; color: #999; opacity: .65; cursor: not-allowed; }
.custom-button.venue-button[hidden] { display: none; }
.venue-pending-checkouts { position: relative; }
.custom-button.venue-button-secondary { background: #fff; border-color: var(--color-brand); color: var(--color-brand); }
.custom-button.venue-button-secondary:hover { background: var(--color-brand); color: #fff; }
.custom-button.venue-button-close { background: #f1f5f9; border-color: #e2e8f0; color: #475569; }
.custom-button.venue-button-close:hover { background: #e2e8f0; border-color: #cbd5e1; color: #172033; }
.custom-button.venue-button.venue-button-close:focus-visible, #venue-pending-dialog .custom-button.venue-button-close:focus-visible { outline-color: #475569; }
.custom-button.venue-pending-checkouts { background: #fff; border-color: #273244; color: #273244; }
.custom-button.venue-pending-checkouts:hover { background: #273244; border-color: #273244; color: #fff; }
.venue-checkout-actions .custom-button.venue-pending-checkouts:focus-visible { outline-color: #273244; }
.custom-button.venue-button-danger { background: #fff; border-color: #b42318; color: #b42318; }
.custom-button.venue-button-danger:hover { background: #b42318; border-color: #b42318; color: #fff; }
#venue-pending-dialog .custom-button.venue-button-danger:focus-visible { outline-color: #b42318; }
.venue-pending-checkouts__badge { position: absolute; top: -9px; right: -9px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: #273244; color: #fff; font-size: 12px; line-height: 1; font-weight: 700; }
#venue-pending-dialog { width: min(720px, calc(100vw - 32px)); max-height: 90dvh; padding: 24px; border: 0; border-radius: 16px; color: #273244; box-shadow: 0 24px 80px #17203340; }
#venue-pending-dialog::backdrop { background: #172033aa; }
#venue-ticket-dialog .venue-ticket-card { outline: none; box-shadow: none !important; }
.venue-table-selection { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 16px 12px 24px; }
.venue-table-selection > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.venue-table-selection__quantity { width: 122px; flex-shrink: 0; }
.venue-table-selection__quantity .form-control { width: 58px; min-width: 0; flex: 1; }
@media (max-width: 575px) {
    .venue-picker__header { gap: 10px 12px; }
    .venue-picker__instructions { flex-direction: column; gap: 6px; }
    .venue-picker__instructions p { max-width: none; }
    .venue-map { height: 290px; }
    .venue-toolbar { top: 8px; right: 8px; }
}
