/* Expo pages (floor plan, exhibitors, exhibitor area) — 2026-11-29. Own prefix xp- so nothing
   here can collide with brand.css (one flat file). Light theme, like the rest of the public site. */
.xp-page { padding-top: 8px; padding-bottom: 64px; }
.xp-head { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin: 6px 0 16px; }
.xp-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin: 0 0 4px; }
.xp-title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(24px, 4vw, 34px); line-height: 1.1; margin: 0; color: var(--ink); letter-spacing: -.02em; }
.xp-sub { color: var(--gray); margin: 6px 0 0; font-size: 15px; line-height: 1.55; max-width: 720px; }
.xp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.xp-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.xp-stat { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: 13px; color: var(--gray); }
.xp-stat b { display: block; font-size: 18px; color: var(--ink); line-height: 1.2; }
.xp-note { background: var(--tint); border: 1px solid #e6dcfb; color: #4c1d95; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 14px; }
.xp-note.is-warn { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }

/* hall tabs + toolbar */
.xp-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; margin: 0 0 10px; scrollbar-width: thin; }
.xp-tab { flex: none; border: 1px solid var(--border); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 600 14px/1 "Familjen Grotesk", sans-serif; cursor: pointer; }
.xp-tab small { color: var(--gray); font-weight: 500; margin-left: 4px; }
.xp-tab.is-on { background: var(--violet); border-color: var(--violet); color: #fff; }
.xp-tab.is-on small { color: #e9ddff; }
.xp-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; }
.xp-search { flex: 1 1 220px; min-width: 0; height: 40px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; font-size: 16px; background: #fff; }
.xp-zoom { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.xp-zoom button { width: 40px; height: 38px; border: 0; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.xp-zoom button + button { border-left: 1px solid var(--border); }
.xp-zoom button:hover { background: var(--tint); }
.xp-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--gray); margin: 0 0 10px; }
.xp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.xp-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid rgba(0,0,0,.12); }
.xp-types { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.xp-chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.xp-chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.xp-chip.is-off { opacity: .45; }

/* the map */
.xp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.xp-mapwrap { position: relative; background: #fbfaff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.xp-map { display: block; width: 100%; height: min(68vh, 640px); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.xp-map.is-drag { cursor: grabbing; }
.xp-map .st { cursor: pointer; }
.xp-map .st :is(rect, path) { stroke: #fff; stroke-width: .12; vector-effect: non-scaling-stroke; }
.xp-map .st text { pointer-events: none; font-family: "Familjen Grotesk", sans-serif; font-weight: 700; fill: #1f1640; }
.xp-map .st .co { font-weight: 600; fill: #374151; }
.xp-map .st.is-available :is(rect, path) { fill-opacity: .28; stroke: currentColor; stroke-width: 1.4; }
.xp-map .st.is-available:hover :is(rect, path) { fill-opacity: .5; }
.xp-map .st.is-held :is(rect, path) { fill: #fde68a; stroke: #f59e0b; stroke-width: 1.2; }
.xp-map .st.is-reserved :is(rect, path) { fill: #fed7aa; stroke: #ea580c; stroke-width: 1.2; }
.xp-map .st.is-sold :is(rect, path) { fill: #e5e7eb; stroke: #9ca3af; stroke-width: 1; }
.xp-map .st.is-blocked :is(rect, path) { fill: #d1d5db; stroke: #9ca3af; stroke-width: 1; }
.xp-map .st.is-blocked text { fill: #6b7280; }
.xp-map .ft :is(rect, path) { fill: #eef2f7; stroke: #cbd5e1; stroke-width: 1; vector-effect: non-scaling-stroke; }
.xp-map .ft text { fill: #64748b; font-weight: 600; pointer-events: none; font-family: "Familjen Grotesk", sans-serif; }
.xp-map .st.is-sel :is(rect, path) { fill: var(--violet); fill-opacity: .9; stroke: #4c1d95; stroke-width: 2.2; }
.xp-map .st.is-sel text { fill: #fff; }
.xp-map .st.is-focus :is(rect, path) { stroke: #111827; stroke-width: 2.6; }
.xp-map .st.is-dim { opacity: .25; }
.xp-map .hall-edge { fill: #fff; stroke: #d6d0e6; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.xp-map .grid { stroke: #eeeaf7; stroke-width: 1; vector-effect: non-scaling-stroke; }
.xp-hint { position: absolute; left: 10px; bottom: 10px; font-size: 12px; color: var(--gray); background: rgba(255,255,255,.9); padding: 4px 8px; border-radius: 8px; pointer-events: none; }
.xp-empty { padding: 48px 16px; text-align: center; color: var(--gray); }

/* side panel (bottom sheet on phones) */
.xp-side { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; position: sticky; top: 84px; }
.xp-side h3 { margin: 0 0 4px; font-size: 20px; font-family: "Bricolage Grotesque", sans-serif; }
.xp-side .xp-muted { color: var(--gray); font-size: 13.5px; }
.xp-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 12px 0; font-size: 14px; }
.xp-dl dt { color: var(--gray); }
.xp-dl dd { margin: 0; font-weight: 600; color: var(--ink); }
.xp-price { font-size: 22px; font-weight: 800; color: var(--ink); margin: 6px 0 10px; }
.xp-incl { font-size: 13.5px; color: #4b5563; line-height: 1.55; white-space: pre-line; background: var(--tint-bg); border-radius: 10px; padding: 8px 10px; margin: 0 0 12px; }
.xp-pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.xp-pill.available { background: #e7f6ee; color: #0b7a3b; }
.xp-pill.held, .xp-pill.reserved { background: #fff7ed; color: #b25e09; }
.xp-pill.sold, .xp-pill.blocked { background: #f3f4f6; color: #4b5563; }
.xp-selbar { position: sticky; bottom: 0; z-index: 30; margin-top: 12px; background: #16181d; color: #fff; border-radius: 14px; padding: 10px 12px 10px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(22,24,29,.25); }
.xp-selbar[hidden] { display: none; }
.xp-selbar .t { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; }
.xp-selbar .t b { font-size: 16px; }
.xp-selbar .t small { display: block; color: #c4b5fd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-selbar .btn { flex: none; }

/* packages + directory cards */
.xp-section { margin: 28px 0 0; }
.xp-section h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; margin: 0 0 12px; }
.xp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.xp-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.xp-card h3 { margin: 0; font-size: 16px; }
.xp-card .p { font-weight: 800; font-size: 17px; }
.xp-card .d { color: #4b5563; font-size: 13.5px; line-height: 1.5; white-space: pre-line; flex: 1; }
.xp-card .m { font-size: 12.5px; color: var(--gray); }
.xp-ex { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.xp-ex:hover { border-color: #d8c8fb; box-shadow: 0 6px 18px rgba(124,58,237,.08); }
.xp-ex-top { display: flex; gap: 12px; align-items: center; }
.xp-logo { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--border); background: #fff center/contain no-repeat; flex: none; display: grid; place-items: center; font-weight: 800; color: var(--violet); font-size: 18px; overflow: hidden; }
.xp-logo img { width: 100%; height: 100%; object-fit: contain; }
.xp-ex-name { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.xp-ex-stall { font-size: 12.5px; color: var(--violet); font-weight: 700; }
.xp-cat { display: inline-block; background: var(--tint); color: #5b21b6; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; }

/* forms in modals */
.xp-form .auth-field { margin-bottom: 12px; }
.xp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.xp-steps { display: flex; gap: 6px; margin: 0 0 14px; font-size: 12.5px; color: var(--gray); }
.xp-steps span { flex: 1; text-align: center; padding: 6px 4px; border-bottom: 3px solid var(--border); font-weight: 600; }
.xp-steps span.is-on { color: var(--violet); border-color: var(--violet); }
.xp-steps span.is-done { color: var(--ink); border-color: #c4b5fd; }
.xp-qty { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.xp-qty:last-child { border-bottom: 0; }
.xp-qty .n { flex: 1; min-width: 0; }
.xp-qty .n b { display: block; font-size: 14.5px; }
.xp-qty .n small { color: var(--gray); font-size: 12.5px; display: block; line-height: 1.4; }
.xp-qty input { width: 64px; height: 38px; text-align: center; border: 1px solid var(--border); border-radius: 8px; font-size: 16px; }
.xp-sum { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 12px; }
.xp-sum td { padding: 6px 0; border-bottom: 1px solid var(--border); }
.xp-sum td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.xp-sum tr.tot td { font-weight: 800; font-size: 16px; border-bottom: 0; }
.xp-terms { max-height: 160px; overflow: auto; background: var(--tint-bg); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.55; white-space: pre-line; margin: 0 0 10px; }
.xp-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.xp-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.xp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.xp-slots { display: flex; gap: 6px; flex-wrap: wrap; }
.xp-slot { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 7px 10px; font-size: 14px; cursor: pointer; }
.xp-slot.is-on { background: var(--violet); color: #fff; border-color: var(--violet); }

/* exhibitor area */
.xp-ptabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); margin: 0 0 16px; }
.xp-ptabs a { flex: none; padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--gray); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.xp-ptabs a.is-on { color: var(--violet); border-color: var(--violet); }
.xp-ptabs a .c { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 11px; line-height: 18px; text-align: center; margin-left: 4px; }
.xp-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 0 0 14px; }
.xp-box h2 { font-size: 17px; margin: 0 0 10px; }
.xp-box-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.xp-box-head h2 { margin: 0; }
.xp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.xp-table th { text-align: left; font-size: 12px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.xp-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.xp-table tr:last-child td { border-bottom: 0; }
.xp-badge { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.xp-badge:last-child { border-bottom: 0; }
.xp-badge img { width: 64px; height: 64px; flex: none; image-rendering: pixelated; }
.xp-badge .n { flex: 1; min-width: 0; }
.xp-badge .n b { display: block; }
.xp-badge .n small { color: var(--gray); }
.xp-meter { height: 8px; border-radius: 99px; background: #eee9f8; overflow: hidden; margin: 6px 0 2px; }
.xp-meter i { display: block; height: 100%; background: var(--violet); border-radius: 99px; }
.xp-cam { position: relative; background: #111; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; max-width: 420px; }
.xp-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-cam[data-state="off"] video { display: none; }
.xp-cam .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #c7c2d6; font-size: 14px; text-align: center; padding: 20px; }
.xp-cam[data-state="on"] .ph { display: none; }
.xp-verdict { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.xp-verdict.ok { background: #e7f6ee; color: #0b7a3b; }
.xp-verdict.bad { background: #fef2f2; color: #c02626; }
.xp-rate { display: inline-flex; gap: 4px; }
.xp-rate button { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12.5px; cursor: pointer; }
.xp-rate button.is-on[data-r="hot"] { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.xp-rate button.is-on[data-r="warm"] { background: #ffedd5; border-color: #fdba74; color: #c2410c; }
.xp-rate button.is-on[data-r="cold"] { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }
.xp-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #16181d; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 2000; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100vw - 32px); }
.xp-toast.is-bad { background: #b91c1c; }

@media (max-width: 960px) {
  .xp-layout { grid-template-columns: 1fr; }
  .xp-side { position: static; }
  .xp-map { height: 58vh; }
}
@media (max-width: 600px) {
  .xp-grid2 { grid-template-columns: 1fr; }
  .xp-table.is-stack thead { display: none; }
  .xp-table.is-stack tr { display: block; border-bottom: 1px solid var(--border); padding: 8px 0; }
  .xp-table.is-stack td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 3px 0; }
  .xp-table.is-stack td::before { content: attr(data-label); color: var(--gray); font-size: 13px; }
  .xp-selbar { border-radius: 0; }
}
.xp-side .btn-block, .btn.btn-block { width: 100%; justify-content: center; display: flex; }
.xp-selbar .btn-ghost, .xp-selbar #xpSelClear { background: transparent !important; color: #fff !important; border: 1px solid #4b5563 !important; }
/* .btn-outline in brand.css is for dark sections (white text); these pages are light. */
.xp-page .btn-outline, .ed-modal .xp-form .btn-outline { background: #fff; border: 1px solid #d8c8fb; color: var(--violet); }
.xp-page .btn-outline:hover { border-color: var(--violet); color: var(--violet-dark); }
/* Phones: the selection bar sits on the bottom of the screen, not inside the map column. */
@media (max-width: 960px) {
  .xp-selbar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 16px 16px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  body:has(.xp-selbar:not([hidden])) .site-footer, body:has(.xp-selbar:not([hidden])) footer { padding-bottom: 84px; }
}
.xp-badge .n small { display: block; line-height: 1.45; }
/* Event-page look (2026-11-30): the stall details live inside the "Book a stall" panel (desktop)
   or straight under the map (phones), so they lose their own card frame. */
.ed-panel .xp-side { background: transparent; border: 0; border-radius: 0; padding: 0; position: static; margin: 14px 0 6px; }
.ed-panel .xp-side.is-under-map { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); }
.ed-panel .xp-side h3 { font-size: 18px; }
.xp-page .ed-tk { margin-bottom: 0; }
.xp-page .ed-lede a { color: var(--violet); font-weight: 600; }
.xp-page #plan .xp-mapwrap { margin-top: 4px; }
.xp-page .ed-stats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.xp-page { padding-top: 0; }
/* Chrome's focus ring on a focused <g> is drawn in map units, so the zoom blew it up into a big
   black-and-white blob over the tapped stall (owner 2026-11-30: "the selection is weird").
   The map shows focus with its own outline instead (.is-focus, and :focus-visible for keyboards). */
.xp-map .st, .xp-map .st:focus, .xp-map .st:focus-visible, .xp-map:focus { outline: none; }
.xp-map .st:focus-visible :is(rect, path) { stroke: #111827; stroke-width: 2.6; }
/* Floor plan v2 (2026-12-01): walls, aisles, feature icons, exhibitor logos. */
.xp-map .wall { fill: #334155; }
.xp-map .aisle rect { fill: rgba(148, 163, 184, .1); stroke: #cbd5e1; stroke-width: 1; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.xp-map .aisle text { fill: #94a3b8; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; font-family: "Familjen Grotesk", sans-serif; }
.xp-map .ft .ico { color: #475569; pointer-events: none; }
.xp-map .st .logo { pointer-events: none; }
/* The plan on a real map (2026-12-01, js/expo-geo.js). */
.xp-view { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; margin: 0 0 10px; background: #fff; }
.xp-view button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: #4b5563; cursor: pointer; }
.xp-view button.is-on { background: var(--violet); color: #fff; }
.xp-geo { position: relative; height: min(68vh, 640px); }
.xp-geo[hidden] { display: none; }
.xp-geo-map { position: absolute; inset: 0; }
.xp-geo + .xp-map { display: none; }
.xp-geo[hidden] + .xp-map { display: block; }
.xp-geo-ov { position: absolute; transform-origin: 50% 50%; }
.xp-geo-ov { pointer-events: none; }
.xp-geo-ov .xp-map { width: 100% !important; height: 100% !important; display: block !important; pointer-events: none; touch-action: auto; overflow: visible; }
.xp-geo-ov .hall-edge { fill: rgba(255, 255, 255, .55); stroke: #fff; stroke-width: 2; }
.xp-geo-ov .grid { stroke: rgba(255, 255, 255, .25); }
.xp-geo-type { position: absolute; top: 12px; left: 12px; z-index: 3; border: 0; border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 13px; background: rgba(17, 24, 39, .78); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.xp-geo-bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: flex; gap: 4px; padding: 6px 8px; border-radius: 18px; background: rgba(17, 24, 39, .82); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.xp-geo-bar a, .xp-geo-bar button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; }
.xp-geo-bar a:hover, .xp-geo-bar button:hover { background: rgba(255, 255, 255, .12); }
.xp-geo-bar span { font-size: 17px; line-height: 1; }
@media (max-width: 700px) { .xp-geo { height: 62vh; } .xp-geo-bar a, .xp-geo-bar button { min-width: 54px; font-size: 11px; } }
/* Hover card (2026-12-01). */
.xp-tip { position: fixed; z-index: 60; pointer-events: none; background: #111827; color: #fff; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: 260px; }
.xp-tip span { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.14); margin-left: 4px; }
.xp-tip .st-available { background: #16a34a; } .xp-tip .st-sold { background: #6b7280; } .xp-tip .st-held, .xp-tip .st-reserved { background: #d97706; }
.xp-tip .co { font-weight: 700; color: #c4b5fd; } .xp-tip .pr { font-weight: 800; font-size: 14px; margin-top: 2px; }
/* 3D & tour (2026-12-01, js/expo-3d.js). */
.xp-mapwrap.is-3d > .xp-map, .xp-mapwrap.is-3d > .xp-hint, .xp-mapwrap.is-3d > .xp-geo { display: none !important; }
.xp3d { position: relative; height: min(72vh, 680px); background: #f1eff8; }
.xp3d[hidden] { display: none; }
.xp3d-cv, .xp3d-cv canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.xp3d-tools { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 3; pointer-events: none; }
.xp3d-tools > * { pointer-events: auto; }
.xp3d-seg { display: inline-flex; align-items: center; background: rgba(17, 24, 39, .8); border-radius: 12px; padding: 3px; backdrop-filter: blur(6px); }
.xp3d-seg span { color: #cbd5e1; font-size: 12px; font-weight: 700; padding: 0 6px 0 8px; }
.xp3d-seg button, .xp3d-b { border: 0; background: none; color: #fff; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 9px; cursor: pointer; }
.xp3d-seg button.is-on { background: #7c3aed; }
.xp3d-b { background: rgba(17, 24, 39, .8); border-radius: 12px; backdrop-filter: blur(6px); }
.xp3d-help { position: absolute; left: 10px; bottom: 10px; z-index: 3; font-size: 12px; color: #374151; background: rgba(255, 255, 255, .88); padding: 6px 10px; border-radius: 9px; max-width: calc(100% - 20px); }
.xp3d-card { position: absolute; right: 12px; bottom: 12px; z-index: 4; width: min(320px, calc(100% - 24px)); background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(17, 24, 39, .25); font-size: 14px; line-height: 1.5; }
.xp3d-card b { font-size: 17px; }
.xp3d-cn { font-size: 11.5px; font-weight: 700; color: #7c3aed; text-transform: uppercase; letter-spacing: .06em; }
.xp3d-co { font-weight: 700; color: #4c1d95; }
.xp3d-st { font-weight: 700; margin-top: 2px; } .xp3d-st.st-available { color: #15803d; } .xp3d-st.st-sold { color: #6b7280; } .xp3d-st.st-held, .xp3d-st.st-reserved { color: #b45309; }
.xp3d-cbtn { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.xp3d-cbtn button { border: 1px solid #ddd6fe; background: #f5f3ff; color: #4c1d95; font-weight: 700; font-size: 12.5px; border-radius: 9px; padding: 6px 10px; cursor: pointer; }
.xp3d-cbtn button:first-child { background: #7c3aed; color: #fff; border-color: #7c3aed; }
.xp3d-pad { position: absolute; right: 14px; bottom: 54px; z-index: 3; display: grid; grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 52px); gap: 6px; }
.xp3d-pad[hidden] { display: none; }
.xp3d-pad button { border: 0; border-radius: 14px; background: rgba(17, 24, 39, .78); color: #fff; font-size: 20px; touch-action: none; user-select: none; -webkit-user-select: none; }
.xp3d-pad [data-k="f"] { grid-column: 2; grid-row: 1; } .xp3d-pad [data-k="l"] { grid-column: 1; grid-row: 2; } .xp3d-pad [data-k="b"] { grid-column: 2; grid-row: 2; } .xp3d-pad [data-k="r"] { grid-column: 3; grid-row: 2; }
.xp3d-tip { position: absolute; z-index: 5; pointer-events: none; background: #111827; color: #fff; padding: 7px 10px; border-radius: 9px; font-size: 12.5px; line-height: 1.4; max-width: 240px; }
.xp3d-load { position: absolute; inset: 0; display: grid; place-items: center; color: #6b7280; font-weight: 600; z-index: 2; }
.xp3d-load[hidden] { display: none; }
@media (max-width: 700px) { .xp3d { height: 64vh; } .xp3d-seg button, .xp3d-b { padding: 6px 9px; font-size: 12px; } .xp3d-card { right: 8px; left: 8px; width: auto; bottom: 8px; } }
/* Find & show me the way, You are here (2026-12-01, js/expo-find.js). */
.xp-find { position: absolute; left: 0; top: calc(100% + 4px); z-index: 30; width: min(460px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px rgba(17, 24, 39, .16); padding: 6px; max-height: 360px; overflow: auto; }
.xp-find[hidden] { display: none; }
.xp-find button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.xp-find button:hover, .xp-find button.is-on { background: #f5f3ff; }
.xp-find b { display: block; font-size: 14px; color: #1f1640; } .xp-find span { font-size: 12.5px; color: #6b7280; }
.xp-find-none { padding: 10px; font-size: 13.5px; color: #6b7280; }
.xp-route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 12px; padding: 9px 12px; margin: 0 0 10px; font-size: 13.5px; color: #3b0764; }
.xp-route[hidden] { display: none; }
.xp-route .ic { font-size: 17px; } .xp-route > span:nth-child(2) { flex: 1; min-width: 180px; }
.xp-route .go { border: 0; background: #7c3aed; color: #fff; font-weight: 700; border-radius: 9px; padding: 7px 12px; cursor: pointer; font-size: 13px; }
.xp-route .x { border: 0; background: none; font-size: 16px; color: #6b7280; cursor: pointer; padding: 2px 6px; }
.xp-map .xp-rt-under { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .9; pointer-events: none; }
.xp-map .xp-rt { fill: none; stroke: #7c3aed; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 12; vector-effect: non-scaling-stroke; animation: xprt 1s linear infinite; pointer-events: none; }
@keyframes xprt { to { stroke-dashoffset: -14; } }
.xp-map .xp-rt-a { fill: #7c3aed; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.xp-map .xp-rt-b { fill: #16a34a; stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.xp-map .xp-here { pointer-events: none; }
.xp-map .xp-here .dot { fill: #2563eb; stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.xp-map .xp-here .pulse { fill: rgba(37, 99, 235, .22); transform-box: fill-box; transform-origin: center; animation: xphere 1.6s ease-out infinite; }
.xp-map .xp-here text { fill: #1d4ed8; font-weight: 800; font-family: "Familjen Grotesk", sans-serif; paint-order: stroke; stroke: #fff; stroke-width: .25; }
@keyframes xphere { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
/* Full-width floor plan, no sidebar (owner 2026-12-01) + full screen. */
.xp-page .xp-wide { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.xp-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 12px 16px; margin: 14px 0 16px; box-shadow: 0 6px 20px rgba(76, 29, 149, .05); }
.xp-strip .ed-tk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; background: none; border: 0; box-shadow: none; padding: 0; margin: 0; flex: 1; min-width: 260px; }
.xp-strip .ed-tk-top { background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: #fff; border-radius: 14px; padding: 10px 14px; display: flex; gap: 14px; align-items: center; margin: 0; }
.xp-strip .ed-tk-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; border: 0; }
.xp-strip .ed-tk-facts li { margin: 0; font-size: 13px; }
.xp-strip-links { display: flex; gap: 8px; flex-wrap: wrap; }
.xp-strip-links .ed-stall-btn { width: auto; margin: 0; padding: 8px 14px; font-size: 13.5px; }
.xp-wide #plan { margin-bottom: 16px; }
.xp-stage { position: relative; }
.xp-wide .xp-map, .xp-wide .xp3d, .xp-wide .xp-geo { height: min(78vh, 820px); }
.xp-side-float { position: absolute; top: 12px; right: 12px; z-index: 8; width: min(360px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(17, 24, 39, .22); border: 1px solid var(--border); }
.xp-side-float[hidden] { display: none; }
.xp-side-x { position: sticky; top: -6px; float: right; margin: -6px -8px 0 6px; border: 0; background: #f3f4f6; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; cursor: pointer; color: #374151; z-index: 2; }
.xp-fs { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 0 14px; height: 42px; font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.xp-below { display: grid; gap: 16px; margin-bottom: 30px; }
/* Full screen: the whole plan panel fills the screen; the stage takes what is left. */
#plan:fullscreen, #plan.is-full { display: flex; flex-direction: column; width: 100vw; height: 100vh; max-width: none; margin: 0; border-radius: 0; overflow: hidden; background: #fbfaff; padding: 12px 14px; box-sizing: border-box; }
#plan.is-full { position: fixed; inset: 0; z-index: 9999; }
#plan:fullscreen .ed-h, #plan.is-full .ed-h, #plan:fullscreen .xp-legend, #plan.is-full .xp-legend { display: none; }
#plan:fullscreen .xp-stage, #plan.is-full .xp-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; }
#plan:fullscreen .xp-mapwrap, #plan.is-full .xp-mapwrap { flex: 1; min-height: 0; }
#plan:fullscreen .xp-map, #plan.is-full .xp-map, #plan:fullscreen .xp3d, #plan.is-full .xp3d, #plan:fullscreen .xp-geo, #plan.is-full .xp-geo { height: 100% !important; }
body.xp-noscroll { overflow: hidden; }
@media (max-width: 760px) {
  .xp-strip { padding: 10px 12px; }
  .xp-strip-links .ed-stall-btn { padding: 7px 10px; font-size: 12.5px; }
  .xp-fs span { display: none; }
  .xp-wide .xp-map, .xp-wide .xp3d, .xp-wide .xp-geo { height: 68vh; }
  .xp-side-float { top: auto; bottom: 0; left: 0; right: 0; width: auto; max-height: 62%; border-radius: 18px 18px 0 0; }
}
/* The older in-panel rule (.ed-panel .xp-side: static, transparent) must not flatten the floating card. */
.ed-panel .xp-side.xp-side-float { position: absolute; top: 12px; right: 12px; margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
@media (max-width: 760px) { .ed-panel .xp-side.xp-side-float { top: auto; bottom: 0; left: 0; right: 0; border-radius: 18px 18px 0 0; } }
/* Phones: the card sits under the plan (an overlay covered most of a short plan). */
@media (max-width: 760px) { .ed-panel .xp-side.xp-side-float { position: static; width: auto; max-height: none; margin: 10px 0 0; border-radius: 16px; box-shadow: 0 8px 24px rgba(17, 24, 39, .1); } }
/* What is included, with pictures (2026-12-01). */
.xp-incl-h { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; margin: 4px 0 6px; }
.xp-incl2 { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.xp-incl2 li { display: flex; align-items: center; gap: 8px; background: #faf8ff; border: 1px solid #ede9fe; border-radius: 10px; padding: 6px 8px; font-size: 13px; color: #374151; line-height: 1.25; }
.xp-incl2 img { width: 30px; height: 30px; flex: none; object-fit: contain; }
.xp-map .pic { pointer-events: none; }
.xp-map .area-labels { pointer-events: none; }
