/* ==========================================================================
   Convention Floor Plan — map styles (loads where [dsc_floorplan] is used)
   ========================================================================== */
.dsc-fp .vfp-main-container { background: var(--dsc-ink-2); border: 1px solid var(--dsc-line); border-radius: 6px; padding: 24px; margin: 0 auto; max-width: 1350px; }
.dsc-fp .vfp-header-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.dsc-fp .vfp-search-box { position: relative; flex: 1 1 300px; max-width: 400px; }
.dsc-fp .vfp-search-box .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #8C93A3; font-size: 14px; }
.dsc-fp .vfp-search-box input { box-sizing: border-box; width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--dsc-radius); padding: 12px 20px 12px 45px; color: #fff; font-family: var(--dsc-body); font-size: 13px; line-height: 1.4; outline: none; transition: border-color .2s ease, background-color .2s ease; }
.dsc-fp .vfp-search-box input::placeholder { color: #8C93A3; }
.dsc-fp .vfp-search-box input:focus { border-color: #fff; background: rgba(255, 255, 255, .1); }
.dsc-fp .vfp-pills-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dsc-fp .vfp-hint { display: none; font-size: 11px; color: #8C93A3; text-align: center; margin: 10px 0 0; letter-spacing: .3px; }
.dsc-fp .vfp-pill { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #D8DCE4; padding: 9px 15px; border-radius: var(--dsc-radius); font-family: var(--dsc-display); font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.dsc-fp .vfp-pill .pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.dsc-fp .dot-red { background: #E50000; } .dsc-fp .dot-blue { background: #3B82F6; } .dsc-fp .dot-white { background: #fff; border: 1px solid #333; }
.dsc-fp .vfp-pill:hover, .dsc-fp .vfp-pill:focus { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.dsc-fp .vfp-pill.active { background: var(--dsc-red); border-color: var(--dsc-red); color: #fff; }
.dsc-fp .vfp-pill.active .pill-dot { background: #fff; border-color: #fff; }
.dsc-fp .vfp-viewport { position: relative; width: 100%; height: 650px; background: #fff; border-radius: var(--dsc-radius); overflow: hidden; cursor: grab; user-select: none; touch-action: none; }
.dsc-fp .vfp-viewport:active { cursor: grabbing; }
.dsc-fp .vfp-pan-wrapper { position: absolute; top: 0; left: 0; width: 1660px; height: 960px; transform-origin: 0 0; will-change: transform; }
.dsc-fp #vfp-svg { display: block; width: 1660px; height: 960px; max-width: none; }
.dsc-fp .vfp-item { cursor: pointer; transition: filter .2s ease, stroke .2s ease, stroke-width .2s ease; }
.dsc-fp .vfp-item:hover { filter: brightness(1.12) drop-shadow(0 0 7px rgba(12, 15, 21, .55)); stroke: #0C0F15 !important; stroke-width: 3px !important; }
.dsc-fp .vfp-item.selected { filter: brightness(1.15) drop-shadow(0 0 12px #F7B500); stroke: #F7B500 !important; stroke-width: 4px !important; }
.dsc-fp .vfp-item.dimmed { opacity: .15 !important; }
.dsc-fp .vfp-exhibitor-label { pointer-events: none; font-family: 'Inter', sans-serif; font-weight: 600; fill: #000; }
.dsc-fp .vfp-hud-controls { position: absolute; right: 18px; top: 18px; z-index: 20; display: flex; flex-direction: column; gap: 8px; }
.dsc-fp .vfp-hud-controls button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: var(--dsc-radius); background: var(--dsc-ink); border: 1px solid var(--dsc-ink); color: #fff; font-size: 14px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.dsc-fp .vfp-hud-controls button:hover, .dsc-fp .vfp-hud-controls button:focus { background: var(--dsc-red); border-color: var(--dsc-red); color: #fff; }
.dsc-fp .vfp-drawer { position: absolute; top: 16px; left: 16px; bottom: 16px; width: min(330px, 84vw); display: flex; flex-direction: column; padding: 24px; background: rgba(12, 15, 21, .97); border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); z-index: 30; transform: translateX(-115%); transition: transform .35s cubic-bezier(.16, 1, .3, 1); color: #fff; }
.dsc-fp .vfp-drawer.active { transform: translateX(0); }
.dsc-fp .vfp-drawer-close { position: absolute; top: 14px; right: 14px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; background: var(--dsc-ink-3); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.dsc-fp .vfp-drawer-close:hover, .dsc-fp .vfp-drawer-close:focus { background: var(--dsc-red); border-color: var(--dsc-red); color: #fff; }
.dsc-fp .vfp-drawer-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--dsc-gold); margin-bottom: 8px; }
.dsc .dsc-fp .vfp-drawer-title, .dsc.dsc-fp .vfp-drawer-title { font-size: 24px; font-weight: 600; letter-spacing: .02em; line-height: 1.15; margin: 0 0 10px; }
.dsc-fp .vfp-drawer-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.dsc-fp .vfp-meta-tag { font-size: 13px; font-weight: 700; color: #fff; }
.dsc-fp .vfp-meta-tag i { color: var(--dsc-red); margin-right: 4px; }
.dsc-fp .vfp-meta-status { font-size: 12px; color: var(--dsc-muted-inv); }
.dsc-fp .vfp-meta-status i { color: var(--dsc-gold); margin-right: 4px; }
.dsc-fp .vfp-meta-status i.is-open { color: #fff; }
.dsc.dsc-fp .vfp-drawer-desc { flex-grow: 1; font-size: 13px; line-height: 1.6; color: #C6CBD6; }
.dsc-fp .vfp-drawer-logo { display: none; align-items: center; justify-content: center; background: #fff; border-radius: var(--dsc-radius); padding: 12px 40px 12px 12px; margin: 30px 0 16px; min-height: 86px; }
.dsc-fp .vfp-drawer-logo.active { display: flex; }
.dsc-fp .vfp-drawer-logo.dark-bg { background: #000; }
.dsc-fp .vfp-drawer-logo img { max-width: 100%; max-height: 70px; object-fit: contain; }
.dsc-fp .vfp-drawer-logo.full-bleed { background: transparent; padding: 0; min-height: 0; margin: 30px -24px 16px; }
.dsc-fp .vfp-drawer-logo.full-bleed img { width: 100%; max-height: none; max-width: none; height: auto; object-fit: cover; border-radius: 0; }
.dsc-fp .vfp-drawer-logo.center-fit { background: transparent; padding: 0; min-height: 0; margin: 30px 0 16px; }
.dsc-fp .vfp-drawer-logo.center-fit img { width: 100%; max-width: 100%; max-height: 150px; height: auto; object-fit: contain; }
.dsc-fp .vfp-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 20px; gap: 16px; }
.dsc-fp .vfp-legend { display: flex; flex-wrap: wrap; gap: 18px; }
.dsc-fp .leg-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dsc-muted-inv); }
.dsc-fp .leg-box { width: 14px; height: 14px; border-radius: 2px; }
.dsc-fp .leg-red { background: #E50000; border: 1px solid #000; }
.dsc-fp .leg-blue { background: #3B82F6; border: 1px solid #000; }
.dsc-fp .leg-white { background: #fff; border: 1px solid #000; }

@media (max-width: 1024px) {
  .dsc-fp .vfp-viewport { height: 560px; }
  .dsc-fp .vfp-drawer { width: min(310px, 60vw); }
}

@media (max-width: 900px) {
  .dsc-fp .vfp-main-container { padding: 18px; }
  .dsc-fp .vfp-viewport { height: 520px; }
  .dsc-fp .vfp-drawer { width: min(300px, 72vw); }
  .dsc-fp .vfp-pills-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .dsc-fp .vfp-search-box { flex: 0 1 auto; }
}

@media (max-width: 768px) {
  .dsc-fp .vfp-main-container { padding: 12px; }
  .dsc-fp .vfp-header-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  .dsc-fp .vfp-search-box { flex: 0 0 auto; max-width: 100%; width: 100%; }
  .dsc-fp .vfp-search-box input { padding: 11px 16px 11px 42px; }
  .dsc-fp .vfp-pills-row { gap: 7px; padding: 2px 0 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .dsc-fp .vfp-pills-row::-webkit-scrollbar { display: none; }
  .dsc-fp .vfp-pill { flex-shrink: 0; font-size: 13px; padding: 9px 13px; }
  .dsc-fp .vfp-viewport { height: min(62vh, 460px); min-height: 330px; }
  .dsc-fp .vfp-hint { display: block; }
  .dsc-fp .vfp-hud-controls { top: 10px; right: 10px; }
  .dsc-fp .vfp-drawer { top: 8px; left: 8px; right: 8px; bottom: 8px; width: auto; padding: 18px; overflow-y: auto; }
  .dsc-fp .vfp-drawer-close { top: 12px; right: 12px; width: 34px; height: 34px; }
  .dsc-fp .vfp-drawer-logo { margin-top: 26px; padding-right: 36px; min-height: 72px; }
  .dsc-fp .vfp-drawer-logo img { max-height: 58px; }
  .dsc-fp .vfp-drawer-logo.full-bleed { margin: 26px -18px 16px; }
  .dsc-fp .vfp-drawer-logo.full-bleed img { max-height: none; }
  .dsc.dsc-fp .vfp-drawer-title { font-size: 21px; }
  .dsc-fp .vfp-footer-row { flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-top: 14px; }
  .dsc-fp .vfp-legend { justify-content: center; gap: 10px 14px; }
}

@media (max-width: 560px) {
  .dsc-fp .vfp-main-container { padding: 10px; }
  .dsc-fp .vfp-viewport { height: min(58vh, 400px); min-height: 300px; }
  .dsc-fp .vfp-drawer { top: 6px; left: 6px; right: 6px; bottom: 6px; padding: 15px; }
  .dsc-fp .vfp-drawer-logo { margin-top: 24px; padding: 10px 34px 10px 10px; min-height: 62px; }
  .dsc-fp .vfp-drawer-logo img { max-height: 48px; }
  .dsc-fp .vfp-drawer-logo.full-bleed { margin: 24px -15px 16px; }
  .dsc-fp .vfp-drawer-logo.full-bleed img { max-height: none; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .dsc-fp .vfp-viewport { height: 78vh; min-height: 240px; }
  .dsc-fp .vfp-hint { display: none; }
}

/* ---------- companion app embed ([dsc_floorplan_app]) ---------- */
.dsc-app__frame { position: relative; width: 100%; max-width: 1350px; margin: 0 auto; height: var(--dsc-app-h, 760px); background: var(--dsc-ink-2); border: 1px solid var(--dsc-line); border-radius: 6px; overflow: hidden; }
.dsc-app__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.dsc-app__open { text-align: center; margin: 14px 0 0; font-size: 14px; }
.dsc-app__open a { color: var(--dsc-gold); text-decoration: none; font-weight: 600; }
.dsc-app__open a:hover, .dsc-app__open a:focus { color: #fff; }
@media (max-width: 768px) { .dsc-app__frame { height: min(var(--dsc-app-h, 760px), 82vh); } }

/* ---------- 1.2.0: drawer website link, custom legend / filter colours ---------- */
.dsc-fp .vfp-drawer-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--dsc-gold); text-decoration: none; }
.dsc-fp .vfp-drawer-link[hidden] { display: none; }
.dsc-fp .vfp-drawer-link:hover, .dsc-fp .vfp-drawer-link:focus { color: #fff; text-decoration: underline; }
.dsc-fp .leg-box { border: 1px solid #000; }
