/* Map occupies the available screen, with compact floating controls. */
#mapPage{padding:0}#mapShell{border-radius:0;border-left:0;border-right:0;margin:0;min-height:calc(100dvh - 162px)}.maptop{padding:10px;background:transparent;pointer-events:none}.maptop>*{pointer-events:auto}.maptop .searchbox{background:var(--surface);box-shadow:0 4px 16px #0001}.maptop .chips{gap:6px;margin-top:8px}.maptop .chips button{font-size:11px;padding:8px 10px;min-height:36px}.mapcontrols{right:10px;top:125px}.map-compass{top:124px;left:10px;width:30px;height:40px;border:0;box-shadow:none}.mapfoot{left:10px;right:10px;bottom:10px}#overview{width:70px!important;height:40px!important;opacity:.8}.mapfoot .map-help-actions button{padding:6px 8px;min-height:32px}#mapShell .mapcontrols .iconbtn{width:36px;height:36px}.company-insights{padding:18px;background:var(--surface-secondary);border-radius:18px;margin:0 0 24px}.insight-heading{display:flex;gap:9px;align-items:center}.insight-heading .icon{color:var(--blue);width:18px;height:18px}.insight-heading h3{font-size:21px;margin:0}.insight-sector{font-size:13px;color:var(--muted);margin:6px 0 20px}.company-insights h4{font-size:13px;font-weight:600;margin:14px 0 9px}.insight-areas{display:flex;flex-wrap:wrap;gap:6px}.insight-areas span{background:var(--surface);padding:7px 9px;border-radius:8px;font-size:12px}.company-insights .caption{font-size:11px;margin:10px 0;color:var(--muted);line-height:1.4}.insight-question{margin:18px 0;padding-top:4px;border-top:1px solid var(--line)}.insight-question p{font-size:14px;line-height:1.5}.company-insights .wide{font-size:13px;margin-top:14px}#companyDialog .sheethead{padding-bottom:12px}#companyDialog .sheetbody{padding-top:18px}#companyDialog #employerLinks{display:grid;gap:8px}#companyDialog #employerLinks a{font-size:14px;padding:13px}#fieldTags{gap:6px}#fieldTags span{font-size:12px;padding:6px 8px}#researchAttribution{font-size:12px;line-height:1.5;margin-top:12px}:root[data-theme=dark] .company-insights{background:#21162f}:root[data-theme=dark] .insight-areas span{background:#30223f;color:#d8cde8}
#directoryPage.is-discover .directory-search,#directoryPage.is-discover .company-focus,#directoryPage.is-discover>.credit,#directoryPage.is-discover>.listmeta,#directoryPage.is-discover #majorCaveat{display:none!important}
#directoryPage.is-discover #discoverFeed{height:calc(100dvh - 240px);min-height:360px;margin-top:12px;scroll-padding-top:0}
#directoryPage.is-discover .discover-card{min-height:100%;height:auto;box-sizing:border-box}
.aura-note{margin:0 0 18px}
.agenda-now-marker{position:sticky;top:var(--schedule-control-height,0px);bottom:0;z-index:4;display:flex;align-items:center;gap:9px;width:100%;padding:10px 0;color:var(--blue);background:var(--bg);border:0;font-size:13px;font-weight:600;text-align:left;white-space:nowrap}
.now-point{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}.now-rule{height:1px;background:currentColor;opacity:.65;flex:1}
.company-speakers{margin:24px 0;padding-top:22px;border-top:1px solid var(--line)}
.company-speakers h3{margin:0 0 8px}.speaker-session-link{display:block;text-align:left;padding:8px 0;min-height:36px;font-size:13px}.company-speakers .speaker-card{align-items:center}
.agenda-now-marker{bottom:calc(76px + env(safe-area-inset-bottom));box-shadow:0 4px 12px color-mix(in srgb,var(--bg) 80%,transparent)}
.speaker-sessions{border:0;padding:0;margin-top:7px}.speaker-sessions summary{font-size:13px;color:var(--blue);min-height:36px;padding:8px 0}.speaker-sessions .speaker-session-link{width:100%;border-bottom:1px solid var(--line);padding:10px 0;line-height:1.4}.speaker-sessions small{display:block;margin-top:5px;color:var(--muted)}

/* Keep map chrome inside the actual visible area, above the bottom tabs. */
#mapShell,#mapShell.fullscreen{height:var(--map-available-height,calc(100dvh - 190px));min-height:0}
#mapShell #map{top:var(--map-toolbar-height,120px)!important;bottom:calc(68px + var(--peek-space,0px))}
#mapShell .mapfoot,#mapShell:has(#peek:not([hidden])) .mapfoot{bottom:calc(10px + var(--peek-space,0px));left:10px;right:10px}
#mapShell.fullscreen .mapfoot{bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--peek-space,0px))}
#mapShell.fullscreen #map{bottom:calc(68px + var(--peek-space,0px) + env(safe-area-inset-bottom))}
#mapShell .mapcontrols{top:calc(var(--map-toolbar-height,120px) + 10px);max-height:calc(100% - var(--map-toolbar-height,120px) - 80px - var(--peek-space,0px));overflow-y:auto;scrollbar-width:none}
#mapShell .map-compass{top:calc(var(--map-toolbar-height,120px) + 10px)}
#mapLocation{font-size:11px;line-height:14px;color:var(--muted);white-space:nowrap}
#peek>button[data-company]{min-width:0}#peek strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#peek{gap:10px;padding:12px}
#peek #savePeek,#peek .quick-visit{flex:0 0 44px!important;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface-secondary);display:grid;place-items:center}
#peek #savePeek[aria-pressed=true]{color:var(--blue);background:var(--selected)}#savePeek[aria-pressed=true] .icon{fill:currentColor}
.front-entrance-pin{position:absolute;transform:translate(-50%,0);display:flex;align-items:center;gap:5px;font-size:12px;font-weight:500;white-space:nowrap;color:var(--ink);background:var(--surface);padding:6px 9px;border-radius:9px;box-shadow:0 1px 4px #0002;pointer-events:none}
.front-entrance-pin .icon{width:16px;height:16px;color:var(--blue)}
@media(min-width:768px){#mapShell:has(#peek:not([hidden])) .mapfoot{left:410px}#mapShell #map{bottom:68px}}

/* A small grip makes the selected booth card's downward gesture discoverable. */
#mapShell #peek{touch-action:none;padding-top:22px;user-select:none;-webkit-user-select:none}
#peek::before{content:'';position:absolute;top:8px;left:calc(50% - 16px);width:32px;height:4px;border-radius:4px;background:var(--muted);opacity:.4;pointer-events:none}
#peek.peek-dragging{cursor:grabbing;will-change:transform}
