
.gic-fp{--gic-blue:#0b63ce;--gic-border:#e0e2e4;--gic-muted:#6f757b;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#15171a}
.gic-fp *{box-sizing:border-box}
.gic-fp__heading{margin:0 0 16px}
.gic-fp__heading h2{margin:0 0 6px;font-size:clamp(26px,3vw,40px);line-height:1.08;letter-spacing:-.03em}
.gic-fp__heading p{margin:0;color:var(--gic-muted);font-size:14px}
.gic-fp__layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:stretch}
.gic-fp__map-shell{background:#fff;border:1px solid var(--gic-border);border-radius:16px;overflow:hidden;box-shadow:0 8px 26px rgba(0,0,0,.05)}
.gic-fp__toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border-bottom:1px solid #eceeef}
.gic-fp__search-wrap{position:relative;width:100%;min-width:0}
.gic-fp__search{width:100%;height:46px;border:1px solid #d7dadd;background:#fff;border-radius:12px;padding:0 44px 0 14px;font-size:15px;outline:none}
.gic-fp__search:focus{border-color:var(--gic-blue);box-shadow:0 0 0 3px rgba(11,99,206,.12)}
.gic-fp__clear{position:absolute;right:8px;top:8px;width:30px;height:30px;border:0;border-radius:8px;background:#f1f3f5;cursor:pointer;font-size:18px}
.gic-fp__actions{display:grid;grid-template-columns:46px 46px auto;gap:8px}
.gic-fp__ctrl{height:46px;border:1px solid #d7dadd;background:#fff;border-radius:10px;padding:0 12px;cursor:pointer;font-size:15px}
.gic-fp__ctrl:hover{background:#f4f6f8}
.gic-fp__viewport{height:min(72vh,820px);overflow:auto;background:#ebedef;position:relative}
.gic-fp__canvas{position:relative;width:100%;min-width:900px;transition:width .18s ease}
.gic-fp__image{display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none}
.gic-fp__hotspot{position:absolute;border:0;padding:0;background:transparent;cursor:pointer;z-index:5;outline:1.5px solid transparent;outline-offset:-1px;transition:.13s ease}
.gic-fp__hotspot:hover,.gic-fp__hotspot.is-hovered{background:rgba(11,99,206,.22);outline-color:var(--gic-blue);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.gic-fp__hotspot.active{background:rgba(11,99,206,.46);outline:3px solid var(--gic-blue);z-index:7;box-shadow:0 0 0 3px rgba(255,255,255,.88),0 0 0 5px rgba(11,99,206,.24)}
.gic-fp__hotspot.search-match:not(.active){background:rgba(255,155,0,.32);outline-color:#d97706}
.gic-fp__schedule{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-top:1px solid #eceeef;background:#fff;font-size:14px}
.gic-fp__schedule span{color:var(--gic-muted)}
.gic-fp__schedule a{color:var(--gic-blue);font-weight:650;text-decoration:none}
.gic-fp__schedule a:hover{text-decoration:underline}
.gic-fp__panel{position:relative;min-height:100%;height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid var(--gic-border);border-radius:16px;padding:20px;box-shadow:0 8px 26px rgba(0,0,0,.04)}
.gic-fp__eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#8b9096;margin-bottom:8px;font-weight:700}
.gic-fp__details h3{font-size:22px;line-height:1.15;margin:0 0 8px;letter-spacing:-.02em}
.gic-fp__booth-pill{display:inline-flex;border-radius:999px;background:#eef5ff;color:var(--gic-blue);font-weight:700;padding:6px 9px;font-size:13px}
.gic-fp__company-link{display:inline-block;margin-top:12px;color:var(--gic-blue);font-weight:650;text-decoration:none}
.gic-fp__empty{color:#777d83;font-size:14px;line-height:1.5}
.gic-fp__deselect{width:100%;margin-top:14px;border:1px solid #d7dadd;background:#fff;border-radius:10px;padding:10px 12px;cursor:pointer}
.gic-fp__results{margin-top:16px;border-top:1px solid #eceeef;padding-top:13px;flex:1;overflow:auto}
.gic-fp__result{display:block;width:100%;text-align:left;border:0;background:none;padding:9px 6px;border-radius:8px;cursor:pointer}
.gic-fp__result:hover{background:#f5f7f9}
.gic-fp__result strong{font-size:13px;display:block}
.gic-fp__result span{font-size:12px;color:#7a8086}
.gic-fp__count{font-size:12px;color:#8a9096;margin-bottom:7px}
.gic-fp__tooltip{position:fixed;z-index:99999;pointer-events:none;background:#101418;color:#fff;padding:8px 10px;border-radius:8px;font-size:12px;line-height:1.35;box-shadow:0 8px 24px rgba(0,0,0,.2);max-width:260px;display:none}
.gic-fp__tooltip b{display:block;font-size:13px;margin-bottom:1px}
.gic-fp__drawer-close,.gic-fp__drawer-handle,.gic-fp__drawer-backdrop{display:none}
@media(max-width:900px){
  body.gic-fp-drawer-open{overflow:hidden}
  .gic-fp__layout{display:block}
  .gic-fp__map-shell{border-radius:12px}
  .gic-fp__toolbar{grid-template-columns:1fr;padding:10px}
  .gic-fp__search-wrap,.gic-fp__search{width:100%;max-width:none}
  .gic-fp__actions{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .gic-fp__ctrl{width:100%}
  .gic-fp__viewport{height:68vh;min-height:430px;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
  .gic-fp__canvas{min-width:760px}
  .gic-fp__schedule{flex-direction:column;align-items:flex-start;gap:4px;padding:14px 12px 16px}
  .gic-fp__panel{position:fixed;left:0;right:0;bottom:0;top:auto;width:100%;height:auto;max-height:78vh;min-height:0;z-index:100001;border-radius:20px 20px 0 0;border-left:0;border-right:0;border-bottom:0;padding:28px 16px 18px;transform:translateY(105%);transition:transform .28s ease;box-shadow:0 -18px 50px rgba(0,0,0,.18);overflow:auto;display:block}
  .gic-fp__panel.drawer-open{transform:translateY(0)}
  .gic-fp__results{max-height:34vh}
  .gic-fp__drawer-handle{display:block;position:absolute;top:9px;left:50%;transform:translateX(-50%);width:44px;height:5px;border-radius:999px;background:#d8dadd}
  .gic-fp__drawer-close{display:block;position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f3f5;font-size:22px;cursor:pointer}
  .gic-fp__drawer-backdrop{display:block;position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.24);opacity:0;pointer-events:none;transition:opacity .22s ease}
  body.gic-fp-drawer-open .gic-fp__drawer-backdrop{opacity:1;pointer-events:auto}
}
@media(max-width:560px){
  .gic-fp__viewport{height:66vh;min-height:410px}
  .gic-fp__canvas{min-width:700px}
  .gic-fp__search{font-size:16px}
}


/* v1.0.2: harden UI against theme/global button styles */
.gic-fp button,
.gic-fp input,
.gic-fp a {
  font-family: inherit;
}

.gic-fp button {
  -webkit-appearance: none !important;
  appearance: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
}

.gic-fp .gic-fp__clear,
.gic-fp .gic-fp__ctrl,
.gic-fp .gic-fp__deselect,
.gic-fp .gic-fp__result,
.gic-fp .gic-fp__drawer-close,
.gic-fp .gic-fp__hotspot {
  background-image: none !important;
}

.gic-fp .gic-fp__clear {
  background:#f1f3f5 !important;
  color:#15171a !important;
  border:0 !important;
  min-width:30px !important;
  width:30px !important;
  height:30px !important;
  padding:0 !important;
  margin:0 !important;
  line-height:30px !important;
  border-radius:8px !important;
  font-size:18px !important;
  font-weight:500 !important;
}

.gic-fp .gic-fp__ctrl {
  background:#fff !important;
  color:#15171a !important;
  border:1px solid #d7dadd !important;
  min-width:0 !important;
  height:46px !important;
  padding:0 12px !important;
  margin:0 !important;
  border-radius:10px !important;
  font-size:15px !important;
  font-weight:500 !important;
  line-height:44px !important;
}

.gic-fp .gic-fp__ctrl:hover {
  background:#f4f6f8 !important;
  color:#15171a !important;
}

.gic-fp .gic-fp__deselect {
  background:#fff !important;
  color:#30343a !important;
  border:1px solid #d7dadd !important;
  width:100% !important;
  min-height:42px !important;
  padding:10px 12px !important;
  margin:14px 0 0 !important;
  border-radius:10px !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.2 !important;
}

.gic-fp .gic-fp__deselect:hover {
  background:#f4f6f8 !important;
}

.gic-fp .gic-fp__result {
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  text-align:left !important;
  background:transparent !important;
  color:#15171a !important;
  border:0 !important;
  border-radius:8px !important;
  padding:10px 8px !important;
  margin:0 !important;
  line-height:1.3 !important;
}

.gic-fp .gic-fp__result + .gic-fp__result {
  margin-top:2px !important;
}

.gic-fp .gic-fp__result:hover {
  background:#f5f7f9 !important;
  color:#15171a !important;
}

.gic-fp .gic-fp__result strong {
  color:#15171a !important;
  font-size:13px !important;
  font-weight:650 !important;
  line-height:1.3 !important;
}

.gic-fp .gic-fp__result span {
  color:#7a8086 !important;
  font-size:12px !important;
  line-height:1.3 !important;
}

.gic-fp .gic-fp__drawer-close {
  display:none !important;
  background:#f1f3f5 !important;
  color:#15171a !important;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  min-width:34px !important;
  width:34px !important;
  height:34px !important;
  line-height:34px !important;
  border-radius:50% !important;
  font-size:22px !important;
}

.gic-fp .gic-fp__hotspot {
  background:transparent !important;
  border:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  line-height:1 !important;
}

.gic-fp .gic-fp__hotspot:hover,
.gic-fp .gic-fp__hotspot.is-hovered {
  background:rgba(11,99,206,.22) !important;
}

.gic-fp .gic-fp__hotspot.active {
  background:rgba(11,99,206,.46) !important;
}

.gic-fp .gic-fp__hotspot.search-match:not(.active) {
  background:rgba(255,155,0,.32) !important;
}

.gic-fp .gic-fp__search {
  -webkit-appearance:none !important;
  appearance:none !important;
  background:#fff !important;
  color:#15171a !important;
  border:1px solid #d7dadd !important;
  border-radius:12px !important;
  box-shadow:none !important;
  padding:0 44px 0 14px !important;
  margin:0 !important;
  height:46px !important;
  line-height:46px !important;
}

@media(max-width:900px){
  .gic-fp .gic-fp__drawer-close {
    display:block !important;
  }
  .gic-fp .gic-fp__actions {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
    width:100% !important;
  }
  .gic-fp .gic-fp__ctrl {
    width:100% !important;
  }
}


/* v1.0.3: keep exhibitor/booth details in its own scrollable column */
@media(min-width:901px){
  .gic-fp__layout{
    align-items:start;
  }

  .gic-fp__panel{
    height:min(72vh,820px);
    min-height:0;
    max-height:min(72vh,820px);
    overflow:hidden;
    position:sticky;
    top:20px;
  }

  .gic-fp__details{
    flex:0 0 auto;
  }

  .gic-fp__deselect{
    flex:0 0 auto;
  }

  .gic-fp__results{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:4px;
  }

  .gic-fp__results::-webkit-scrollbar{
    width:8px;
  }

  .gic-fp__results::-webkit-scrollbar-track{
    background:transparent;
  }

  .gic-fp__results::-webkit-scrollbar-thumb{
    background:#d9dde1;
    border-radius:999px;
  }

  .gic-fp__results::-webkit-scrollbar-thumb:hover{
    background:#c6cbd0;
  }
}


/* v1.0.4: restore booth click layer + make desktop panel exactly match map column height */
.gic-fp__canvas{
  position:relative !important;
}

.gic-fp__image{
  position:relative;
  z-index:1;
  pointer-events:none !important;
}

.gic-fp__hotspots{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:10 !important;
  pointer-events:none !important;
}

.gic-fp .gic-fp__hotspot{
  position:absolute !important;
  z-index:11 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}

@media(min-width:901px){
  .gic-fp__layout{
    align-items:stretch !important;
  }

  .gic-fp__map-shell{
    height:100%;
  }

  .gic-fp__panel{
    position:sticky !important;
    top:20px !important;
    height:100% !important;
    max-height:none !important;
    min-height:0 !important;
    overflow:hidden !important;
    align-self:stretch !important;
  }

  .gic-fp__results{
    flex:1 1 0 !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }
}


/* v1.0.5: selected booth focus treatment */
@keyframes gicFpSelectedGlow {
  0% {
    box-shadow:
      0 0 0 2px rgba(255,255,255,.95),
      0 0 0 4px rgba(11,99,206,.45),
      0 0 8px rgba(11,99,206,.35);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(255,255,255,.98),
      0 0 0 7px rgba(11,99,206,.28),
      0 0 22px rgba(11,99,206,.65);
  }
  100% {
    box-shadow:
      0 0 0 2px rgba(255,255,255,.95),
      0 0 0 4px rgba(11,99,206,.45),
      0 0 8px rgba(11,99,206,.35);
  }
}

.gic-fp .gic-fp__hotspot.active{
  background:rgba(11,99,206,.48) !important;
  outline:3px solid #0b63ce !important;
  outline-offset:-2px !important;
  animation:gicFpSelectedGlow 1.7s ease-in-out infinite !important;
  z-index:20 !important;
}

@media (prefers-reduced-motion: reduce){
  .gic-fp .gic-fp__hotspot.active{
    animation:none !important;
    box-shadow:
      0 0 0 3px rgba(255,255,255,.95),
      0 0 0 6px rgba(11,99,206,.35) !important;
  }
}


/* v1.0.6: search lives at top of exhibitor drawer/panel */
.gic-fp__toolbar{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
}

.gic-fp__panel-search{
  flex:0 0 auto;
  width:100%;
  margin:0 0 16px;
}

.gic-fp__panel-search .gic-fp__search{
  width:100% !important;
  max-width:none !important;
}

.gic-fp .gic-fp__deselect[hidden]{
  display:none !important;
}

@media(min-width:901px){
  .gic-fp__actions{
    width:auto !important;
  }
}

@media(max-width:900px){
  .gic-fp__toolbar{
    padding:10px !important;
  }

  .gic-fp__actions{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    width:100% !important;
  }

  .gic-fp__panel-search{
    margin-bottom:14px;
  }
}


/* v1.0.7: selected exhibitor view with X back to all exhibitors */
.gic-fp__panel{
  position:relative;
}

.gic-fp .gic-fp__panel-close{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  z-index:5 !important;
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:#f1f3f5 !important;
  color:#15171a !important;
  font-size:22px !important;
  font-weight:500 !important;
  line-height:34px !important;
  text-align:center !important;
  cursor:pointer !important;
  box-shadow:none !important;
}

.gic-fp .gic-fp__panel-close:hover{
  background:#e6e9ec !important;
}

.gic-fp .gic-fp__panel-close[hidden]{
  display:none !important;
}

.gic-fp__details h3{
  padding-right:42px;
}

/* old deselect control is no longer used */
.gic-fp__deselect{
  display:none !important;
}

@media(max-width:900px){
  .gic-fp .gic-fp__panel-close{
    top:14px !important;
    right:14px !important;
  }
}


/* v1.0.8: mobile viewport/drawer sizing + stronger zoom behavior */
@media(max-width:900px){
  .gic-fp__viewport{
    height:clamp(360px,56svh,600px) !important;
    min-height:0 !important;
    max-height:600px !important;
    overscroll-behavior:contain;
  }

  .gic-fp__panel{
    max-height:min(76svh,680px) !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
  }

  .gic-fp__canvas{
    min-width:720px;
  }
}

@media(max-width:560px){
  .gic-fp__viewport{
    height:clamp(340px,52svh,520px) !important;
    min-height:0 !important;
    max-height:520px !important;
  }

  .gic-fp__panel{
    max-height:min(78svh,620px) !important;
  }

  .gic-fp__canvas{
    min-width:680px;
  }
}


/* v1.0.9: cleaner mobile drawer — no dim overlay, no extra bottom gap */
@media(max-width:900px){
  .gic-fp__drawer-backdrop{
    display:none !important;
    opacity:0 !important;
    pointer-events:none !important;
    background:transparent !important;
  }

  body.gic-fp-drawer-open .gic-fp__drawer-backdrop{
    display:none !important;
    opacity:0 !important;
    pointer-events:none !important;
  }

  .gic-fp__panel{
    bottom:0 !important;
    margin:0 !important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .gic-fp{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
  }

  .gic-fp__layout,
  .gic-fp__map-shell{
    margin-bottom:0 !important;
  }
}


/* v1.0.10: persistent collapsed mobile exhibitor drawer */
.gic-fp__mobile-drawer-trigger{
  display:none;
}

@media(max-width:900px){

  .gic-fp__mobile-drawer-trigger{
    display:flex !important;
    position:fixed !important;
    left:12px !important;
    right:12px !important;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    z-index:100002 !important;
    width:calc(100% - 24px) !important;
    min-height:58px !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding:0 18px !important;
    margin:0 !important;
    border:1px solid #dfe3e7 !important;
    border-radius:18px !important;
    background:#fff !important;
    color:#15171a !important;
    box-shadow:0 8px 28px rgba(0,0,0,.16) !important;
    font-size:16px !important;
    font-weight:650 !important;
    line-height:1.2 !important;
    text-align:left !important;
    cursor:pointer !important;
  }

  .gic-fp__mobile-drawer-trigger.is-open{
    opacity:0 !important;
    pointer-events:none !important;
  }

  .gic-fp__mobile-drawer-label{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .gic-fp__mobile-drawer-arrow{
    flex:0 0 auto;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f2f4f6;
    font-size:18px;
  }

  .gic-fp__panel{
    bottom:0 !important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media(max-width:560px){

  .gic-fp__mobile-drawer-trigger{
    left:8px !important;
    right:8px !important;
    bottom:calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    width:calc(100% - 16px) !important;
    min-height:56px !important;
    border-radius:16px !important;
  }
}


/* v1.0.11: bottom search drawer is the default mobile state, without page padding */
@media(max-width:900px){
  .gic-fp{
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }

  .gic-fp__mobile-drawer-trigger{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    min-height:64px !important;
    border-radius:18px 18px 0 0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    padding:0 18px calc(env(safe-area-inset-bottom, 0px) + 2px) !important;
    box-shadow:0 -10px 28px rgba(0,0,0,.14) !important;
  }
}

@media(max-width:560px){
  .gic-fp__mobile-drawer-trigger{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    min-height:60px !important;
    border-radius:16px 16px 0 0 !important;
  }
}


/* v1.0.12: the mobile exhibitor panel itself is the persistent bottom drawer */
.gic-fp__drawer-peek{
  display:none;
}

@media(max-width:900px){
  .gic-fp{
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }

  .gic-fp__mobile-drawer-trigger{
    display:none !important;
  }

  .gic-fp__panel{
    display:block !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;
    width:100% !important;
    z-index:100001 !important;
    min-height:0 !important;
    max-height:min(78svh,680px) !important;
    padding:28px 16px calc(18px + env(safe-area-inset-bottom,0px)) !important;
    border-radius:20px 20px 0 0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    background:#fff !important;
    box-shadow:0 -12px 36px rgba(0,0,0,.16) !important;
    transition:transform .28s ease !important;
    overflow:hidden !important;
  }

  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 74px)) !important;
  }

  .gic-fp__panel.drawer-open{
    transform:translateY(0) !important;
    overflow-y:auto !important;
  }

  .gic-fp__drawer-peek{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    width:100% !important;
    height:44px !important;
    margin:-7px 0 12px !important;
    padding:0 2px !important;
    border:0 !important;
    background:transparent !important;
    color:#15171a !important;
    font-size:16px !important;
    font-weight:650 !important;
    line-height:1.2 !important;
    text-align:left !important;
    box-shadow:none !important;
    cursor:pointer !important;
  }
.gic-fp__panel.drawer-collapsed .gic-fp__panel-search,
  .gic-fp__panel.drawer-collapsed .gic-fp__details,
  .gic-fp__panel.drawer-collapsed .gic-fp__results,
  .gic-fp__panel.drawer-collapsed .gic-fp__panel-close{
    opacity:0 !important;
    pointer-events:none !important;
  }

  .gic-fp__panel.drawer-open .gic-fp__panel-search,
  .gic-fp__panel.drawer-open .gic-fp__details,
  .gic-fp__panel.drawer-open .gic-fp__results{
    opacity:1 !important;
    pointer-events:auto !important;
  }

  .gic-fp__drawer-backdrop{
    display:none !important;
  }
}

@media(max-width:560px){
  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 70px)) !important;
  }
}


/* v1.0.14: visible animated search field in collapsed mobile drawer */
@keyframes gicFpDrawerNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media(max-width:900px){
  .gic-fp__drawer-peek{
    gap:10px !important;
    margin:-7px 0 12px !important;
  }

  .gic-fp__panel.drawer-collapsed .gic-fp__drawer-peek{
    animation:gicFpDrawerNudge 2.6s ease-in-out infinite;
  }

  .gic-fp__drawer-peek-search{
    display:flex;
    align-items:center;
    gap:9px;
    flex:1 1 auto;
    min-width:0;
    height:44px;
    padding:0 13px;
    border:1px solid #d7dadd;
    border-radius:12px;
    background:#f8f9fa;
    color:#6f757b;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  }

  .gic-fp__drawer-peek-icon{
    flex:0 0 auto;
    font-size:19px;
    line-height:1;
    color:#6f757b;
  }

  .gic-fp__drawer-peek-text{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:15px;
    font-weight:500;
  }

  .gic-fp__drawer-peek-arrow{
    width:32px !important;
    height:32px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50% !important;
    background:#f2f4f6 !important;
    color:#15171a !important;
    flex:0 0 auto !important;
  }

  .gic-fp__panel.drawer-open .gic-fp__drawer-peek{
    animation:none !important;
  }

  .gic-fp__panel.drawer-open .gic-fp__drawer-peek-search{
    display:none !important;
  }

  .gic-fp__panel.drawer-open .gic-fp__drawer-peek{
    justify-content:flex-end !important;
    height:32px !important;
    margin:-5px 0 6px !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .gic-fp__panel.drawer-collapsed .gic-fp__drawer-peek{
    animation:none !important;
  }
}


/* v1.0.16: ensure collapsed mobile drawer visibly shows the search control */
@media(max-width:900px){
  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 96px)) !important;
  }

  .gic-fp__panel.drawer-collapsed .gic-fp__drawer-peek{
    display:flex !important;
    opacity:1 !important;
    pointer-events:auto !important;
    visibility:visible !important;
  }

  .gic-fp__panel.drawer-collapsed .gic-fp__drawer-peek-search{
    display:flex !important;
    opacity:1 !important;
    visibility:visible !important;
  }
}

@media(max-width:560px){
  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 92px)) !important;
  }
}


/* v1.0.17: stabilize desktop/mobile layout and bottom drawer */

/* Overall component should use the full width available from WordPress */
.gic-fp{
  width:100% !important;
  max-width:none !important;
}

/* DESKTOP */
@media(min-width:901px){
  .gic-fp__drawer-peek,
  .gic-fp__drawer-handle{
    display:none !important;
  }

  .gic-fp__layout{
    width:100% !important;
    max-width:none !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(300px,24%) !important;
    gap:16px !important;
    align-items:stretch !important;
  }

  .gic-fp__map-shell,
  .gic-fp__panel{
    height:min(78vh,900px) !important;
    min-height:640px !important;
    max-height:min(78vh,900px) !important;
  }

  .gic-fp__map-shell{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
  }

  .gic-fp__toolbar{
    flex:0 0 auto !important;
  }

  .gic-fp__viewport{
    flex:1 1 auto !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .gic-fp__schedule{
    flex:0 0 auto !important;
  }

  .gic-fp__panel{
    position:relative !important;
    top:auto !important;
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    transform:none !important;
  }

  .gic-fp__panel-search,
  .gic-fp__details{
    flex:0 0 auto !important;
  }

  .gic-fp__results{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
  }
}

/* MOBILE */
@media(max-width:900px){
  .gic-fp{
    width:100% !important;
    max-width:none !important;
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }

  .gic-fp__layout{
    display:block !important;
    width:100% !important;
  }

  /* keep the sheet fixed and completely stable */
  .gic-fp__panel{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;
    width:100% !important;
    min-height:0 !important;
    max-height:min(78svh,680px) !important;
    z-index:100001 !important;
    margin:0 !important;
    border-radius:20px 20px 0 0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    background:#fff !important;
    box-shadow:0 -12px 36px rgba(0,0,0,.16) !important;
    transition:transform .24s ease !important;
    animation:none !important;
    overflow:hidden !important;
    padding:24px 16px calc(16px + env(safe-area-inset-bottom,0px)) !important;
  }

  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 92px)) !important;
  }

  .gic-fp__panel.drawer-open{
    transform:translateY(0) !important;
    overflow-y:auto !important;
  }

  .gic-fp__drawer-handle{
    display:block !important;
    position:absolute !important;
    top:8px !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    width:42px !important;
    height:5px !important;
    border-radius:999px !important;
    background:#d6d9dd !important;
  }

  .gic-fp__drawer-peek{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    width:100% !important;
    height:52px !important;
    margin:0 0 12px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#15171a !important;
    box-shadow:none !important;
    animation:none !important;
    transform:none !important;
  }

  .gic-fp__drawer-peek-search{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    height:46px !important;
    padding:0 13px !important;
    border:1px solid #d7dadd !important;
    border-radius:12px !important;
    background:#fff !important;
    color:#6f757b !important;
  }

  .gic-fp__drawer-peek-arrow{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    border-radius:50% !important;
    background:#f2f4f6 !important;
    color:#15171a !important;
  }

  /* when expanded, don't show duplicate faux search row */
  .gic-fp__panel.drawer-open .gic-fp__drawer-peek-search{
    display:none !important;
  }

  .gic-fp__panel.drawer-open .gic-fp__drawer-peek{
    height:30px !important;
    margin:0 0 6px !important;
    justify-content:flex-end !important;
  }

  /* collapsed state only shows handle + faux search */
  .gic-fp__panel.drawer-collapsed .gic-fp__panel-search,
  .gic-fp__panel.drawer-collapsed .gic-fp__details,
  .gic-fp__panel.drawer-collapsed .gic-fp__results,
  .gic-fp__panel.drawer-collapsed .gic-fp__panel-close{
    opacity:0 !important;
    pointer-events:none !important;
    visibility:hidden !important;
  }

  .gic-fp__panel.drawer-collapsed .gic-fp__drawer-peek,
  .gic-fp__panel.drawer-collapsed .gic-fp__drawer-peek-search{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .gic-fp__drawer-backdrop{
    display:none !important;
  }
}

@media(max-width:560px){
  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 90px)) !important;
  }
}

/* remove any previous pulsing/nudging animation from the drawer */
.gic-fp__panel.drawer-collapsed .gic-fp__drawer-peek{
  animation:none !important;
}


/* v1.0.18: simplified collapsed mobile search drawer */
@media(max-width:900px){
  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 90px)) !important;
  }

  .gic-fp__drawer-peek{
    display:block !important;
    width:100% !important;
    height:50px !important;
    margin:0 0 10px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    animation:none !important;
  }

  .gic-fp__drawer-peek-search{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    height:48px !important;
    padding:0 14px !important;
    border:1px solid #d7dadd !important;
    border-radius:12px !important;
    background:#fff !important;
    color:#6f757b !important;
    box-shadow:none !important;
  }

  .gic-fp__drawer-peek-text{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:16px !important;
    font-weight:400 !important;
    line-height:1 !important;
    color:#6f757b !important;
  }

  .gic-fp__drawer-peek-icon,
  .gic-fp__drawer-peek-arrow{
    display:none !important;
  }

  .gic-fp__panel.drawer-open .gic-fp__drawer-peek{
    display:none !important;
  }
}

@media(max-width:560px){
  .gic-fp__panel.drawer-collapsed{
    transform:translateY(calc(100% - 88px)) !important;
  }
}


/* v1.0.19: remove legacy last-child bubble from collapsed mobile search */
@media(max-width:900px){
  .gic-fp__drawer-peek .gic-fp__drawer-peek-search,
  .gic-fp__drawer-peek .gic-fp__drawer-peek-text{
    border-radius:12px !important;
  }

  .gic-fp__drawer-peek .gic-fp__drawer-peek-text{
    width:auto !important;
    height:auto !important;
    display:block !important;
    flex:1 1 auto !important;
    background:transparent !important;
    border-radius:0 !important;
    padding:0 !important;
    margin:0 !important;
  }
}


/* v1.0.20: drag-to-pan floor plan */
.gic-fp__viewport{
  cursor:grab !important;
  overscroll-behavior:contain;
}

.gic-fp__viewport.is-panning{
  cursor:grabbing !important;
  user-select:none !important;
}

.gic-fp__canvas,
.gic-fp__image{
  -webkit-user-select:none !important;
  user-select:none !important;
  -webkit-user-drag:none !important;
}

@media(max-width:900px){
  .gic-fp__viewport{
    /* Pointer Events handles the drag while retaining taps on booths. */
    touch-action:none !important;
  }
}


/* v1.0.21: taller desktop map + exhibitor panel */
@media(min-width:901px){
  .gic-fp__map-shell,
  .gic-fp__panel{
    height:80vh !important;
    min-height:680px !important;
    max-height:80vh !important;
  }

  .gic-fp__viewport{
    flex:1 1 auto !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
  }
}
