/* V6 — warm paper controls, open space, and a full-width exhibition. */
:root {
  color-scheme: light;
  --header-height: 64px;
  --ui-paper: #fbfaf5;
  --ui-float: #fbfaf5f5;
  --ui-soft: #f0efe7;
  --ui-ink: #31372e;
  --ui-muted: #777c6f;
  --ui-line: #dcded1;
  --ui-accent: #4e6242;
  --ui-on-accent: #fffef7;
  --ui-shadow: 0 6px 25px #323e2810, 0 1px 3px #323e2808;
  --ink: var(--ui-ink);
  --muted: var(--ui-muted);
  --line: var(--ui-line);
  --paper: var(--ui-paper);
}

body, body:has(#landing:not([hidden])) { background: var(--ui-paper); color: var(--ui-ink); }
body.night-ui {
  color-scheme: dark;
  --ui-paper: #282a24;
  --ui-float: #282a24f5;
  --ui-soft: #35382e;
  --ui-ink: #f1efe5;
  --ui-muted: #b3b6a6;
  --ui-line: #505346;
  --ui-accent: #c4d2a5;
  --ui-on-accent: #272f22;
  --ui-shadow: 0 6px 25px #12150f26, 0 1px 3px #12150f18;
}
[hidden] { display: none !important; }
button, a { touch-action: manipulation; }
button:hover { filter: none; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ui-accent);
  outline-offset: 4px;
}

/* A quiet header gives the exhibition the rest of the viewport. */
.header, body:has(#landing:not([hidden])) .header {
  height: var(--header-height);
  padding: 0 28px;
  background: var(--ui-float);
  border-bottom: 1px solid var(--ui-line);
  color: var(--ui-ink);
  gap: 22px;
}
.brand { gap: 10px; }
.brand strong { font-size: 17px; letter-spacing: .7px; }
.brand small { color: var(--ui-muted); font-size: 7px; letter-spacing: 2.7px; margin-top: 5px; }
.brand-mark { height: 35px; width: 29px; gap: 3px; }
.brand-mark i { height: 21px; width: 6px; border-color: #8b936c; }
.brand-mark i:nth-child(2) { height: 32px; width: 9px; }
.header-nav { gap: 29px; }
.header-nav button { color: var(--ui-muted); font-size: 11px; letter-spacing: .3px; }
.header-nav button:hover, .header-nav .nav-active,
body:has(#landing:not([hidden])) .header-nav [data-action=overview],
body:has(#experience:not([hidden])) .header-nav [data-action=home],
body.in-scene .header-nav [data-action=home] { color: var(--ui-accent); }
.nav-active:after { bottom: 14px; background: var(--ui-accent); height: 1px; }
.header-right { gap: 18px; }
.header-right .demo-badge { color: var(--ui-muted); font-size: 9px; letter-spacing: .3px; }
.header-right .demo-badge i, .live-dot { background: #8b936c; }
.contact-button { background: transparent; color: var(--ui-ink); border-color: var(--ui-line); padding: 10px 13px; font-size: 10px; border-radius: 5px; }
.contact-button:hover { background: var(--ui-soft); }

/* Keep the existing concept photograph, with a warm and readable introduction. */
.landing { background: #f4f2e9; color: var(--ui-ink); }
.landing-shade {
  background: linear-gradient(90deg, #f8f7eff5 0%, #f8f7efe6 17%, #f8f7efa6 33%, #f8f7ef30 52%, #f8f7ef00 71%),
    linear-gradient(0deg, #f7f5ecf2 0%, #f7f5ec80 13%, #f7f5ec00 37%);
}
.hero-eyebrow { color: #687058; }
.hero-eyebrow>span { background: #8c9675; }
.landing h1 { color: #303a2d; text-shadow: none; }
.hero-copy { color: #646d5b; }
.hero-primary { background: #465c3e; color: #fffef5; border-radius: 5px; box-shadow: 0 5px 16px #384d241a; }
.hero-primary:hover { background: #394d33; }
.hero-secondary { background: #faf9f1b8; color: #46543a; border-color: #aeb69a8c; border-radius: 5px; }
.hero-secondary:hover { background: #fffef8; }
.hero-mode-note { color: #717c63; }
.mode-dot { background: #8c9675; }
.hero-pin { background: #fbfaf3ed; border-color: #fffffff2; color: #3c4835; box-shadow: 0 4px 22px #3d452221; border-radius: 7px; }
.hero-pin:hover { background: #fffef8; }
.hero-pin-target { background: #eef0e3; border-color: #a6b38b6b; color: #667b50; }
.hero-pin small { color: #838b72; }
.hero-pin b i { color: #7b8d61; }
.landing-bottom { background: #fbfaf390; border-color: #cbd0bc8c; padding: 20px 22px 16px; border-radius: 0 0 6px 6px; }
.hero-place b, .hero-facts b { color: #3f4c35; }
.hero-place small, .hero-facts small { color: #748064; }
.place-line { border-color: #8f9e7377; }
.hero-original, .hero-original span { color: #5c6e49; }
.hero-original img { border-color: #eff0e3; }
.landing-disclaimer, .landing-disclaimer button { color: #707b64; }
.hero-facts { border-color: #cbd0bc8c; }

/* Experience: no persistent column, including below all old mobile breakpoints. */
body.in-scene { overflow: hidden; }
.experience {
  display: block;
  width: 100%;
  height: calc(100svh - var(--header-height));
  min-height: 0;
  overflow: hidden;
}
.experience .sidebar { display: none !important; }
.scene-shell {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: #eeede4;
  isolation: isolate;
  /* Projected labels can sit far outside the viewport. The stage must never
     become a scroll container when a keyboard or browser action focuses UI. */
  overflow: clip;
}
.pins { overflow: clip; }
.scene-shell.night { background: #252a23; }
.scene-shell:after, .scene-shell.night:after { box-shadow: none; }
body.in-scene .footer { display: none !important; }
.scene-loader { color: var(--ui-ink); background: var(--ui-paper); }
.scene-loader small { color: var(--ui-muted); }
.loader-orbit { border-color: var(--ui-line); border-top-color: var(--ui-accent); }

.scene-topbar {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  z-index: 20;
  pointer-events: none;
}
.scene-topbar>* { pointer-events: auto; }
.search-dock { position: relative; width: 360px; max-width: calc(100% - 192px); min-width: 0; }
.scene-search-field {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 15px;
  background: var(--ui-float);
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  box-shadow: var(--ui-shadow);
}
.scene-search-field:focus-within { border-color: var(--ui-accent); box-shadow: 0 0 0 2px #85956421; }
.scene-search-field>svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--ui-muted); }
.scene-search-field #booth-search-sidebar {
  width: 100%; min-width: 0; flex: 1;
  color: var(--ui-ink); background: transparent;
  border: 0; outline: 0; border-radius: 0;
  margin: 0; padding: 0; font-size: 12px;
  height: 100%; appearance: none;
}
.scene-search-field #booth-search-sidebar::placeholder { color: var(--ui-muted); opacity: 1; }
.scene-search-field input::-webkit-search-cancel-button { display: none; }
.scene-search-field kbd { font: 11px ui-monospace, monospace; color: var(--ui-muted); border: 1px solid var(--ui-line); border-radius: 3px; padding: 2px 5px; }
#search-clear { flex: 0 0 24px; width: 24px; height: 26px; padding: 0; font-size: 20px; color: var(--ui-muted); }
.search-panel {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: min(620px, calc(100svh - 172px));
  padding: 16px 10px 11px;
  color: var(--ui-ink);
  background: var(--ui-float);
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  box-shadow: 0 14px 45px #3740271c;
  overflow: hidden;
}
.search-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 10px; }
.search-panel-heading b { font-size: 12px; font-weight: 600; letter-spacing: .3px; }
#search-close { width: 26px; height: 26px; padding: 0; font-size: 20px; color: var(--ui-muted); border-radius: 4px; }
#search-close:hover, #search-clear:hover { color: var(--ui-ink); background: var(--ui-soft); }
.search-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 6px 12px; flex-shrink: 0; }
.search-categories::-webkit-scrollbar { display: none; }
.search-categories button { white-space: nowrap; font-size: 10px; line-height: 1.4; padding: 7px 10px; border: 1px solid var(--ui-line); border-radius: 5px; color: var(--ui-muted); }
.search-categories button:hover { color: var(--ui-ink); background: var(--ui-soft); }
.search-categories button[aria-pressed=true] { color: var(--ui-on-accent); background: var(--ui-accent); border-color: var(--ui-accent); }
.search-result-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--ui-muted); padding: 0 7px 8px; font-size: 9px; line-height: 1.5; }
.search-panel .zone-list { display: flex; flex-direction: column; min-height: 0; gap: 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ui-line) transparent; }
.search-panel .zone-row { display: flex; min-height: 58px; padding: 10px 9px; gap: 10px; border: 1px solid transparent; border-radius: 6px; flex-shrink: 0; background: transparent; color: var(--ui-ink); }
.search-panel .zone-row:hover, .search-panel .zone-row.active { background: var(--ui-soft); border-color: var(--ui-line); }
.search-panel .zone-number { width: 34px; flex-shrink: 0; color: var(--ui-muted); font: 10px ui-monospace, SFMono-Regular, monospace; letter-spacing: .2px; }
.search-panel .zone-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--zone-color, var(--ui-accent)); }
.zone-row-copy { flex: 1; min-width: 0; }
.search-panel .zone-row b { display: block; color: var(--ui-ink); font-size: 11px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.search-panel .zone-row small { display: block; color: var(--ui-muted); font-size: 9px; margin-top: 3px; }
.search-panel .zone-row .zone-arrow { color: var(--ui-muted) !important; font-size: 12px !important; flex-shrink: 0; }
.search-panel .empty { padding: 30px 12px; color: var(--ui-muted); line-height: 1.8; }
.search-footnote { flex-shrink: 0; border-top: 1px solid var(--ui-line); padding: 10px 7px 0; margin: 10px 0 0; color: var(--ui-muted); font-size: 8px; line-height: 1.6; }

.scene-quick-actions { display: flex; gap: 8px; align-items: center; }
.day-night-switch, .scene-quick-actions #toggle-labels {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; margin: 0; padding: 0 12px;
  color: var(--ui-ink); background: var(--ui-float);
  border: 1px solid var(--ui-line); border-radius: 7px;
  font-size: 10px; white-space: nowrap; box-shadow: var(--ui-shadow);
}
.day-night-switch>span:first-child { font-size: 16px; line-height: 1; }
.day-night-switch:hover, .scene-quick-actions #toggle-labels:hover { background: var(--ui-soft); }
.scene-quick-actions #toggle-labels[aria-pressed=true] { color: var(--ui-on-accent); background: var(--ui-accent); border-color: var(--ui-accent); }
.scene-tools {
  top: 50%; right: 24px; transform: translateY(-50%);
  padding: 5px; gap: 3px; border-radius: 9px;
  color: var(--ui-ink); background: var(--ui-float);
  border-color: var(--ui-line); box-shadow: var(--ui-shadow); z-index: 7;
}
.scene-tools button { width: 32px; height: 33px; border-radius: 5px; color: var(--ui-ink); font-size: 19px; }
.scene-tools button:hover { background: var(--ui-soft); }
.scene-tools>span { background: var(--ui-line); }
.scene-shell.walking .scene-tools { top: 50%; }
.scene-bottom { bottom: 23px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 40px); z-index: 10; }
.view-switch { padding: 5px; gap: 3px; background: var(--ui-float); border-color: var(--ui-line); border-radius: 9px; box-shadow: var(--ui-shadow); backdrop-filter: none; }
.scene-bottom .view-switch button { padding: 12px 16px; font-size: 11px; color: var(--ui-muted); border-radius: 5px; }
.view-switch button:hover { background: var(--ui-soft); color: var(--ui-ink); }
.scene-bottom .view-switch .selected { background: var(--ui-accent); color: var(--ui-on-accent); }
.view-switch button span { font-size: 14px; }
.tour-launch { display: flex; align-items: center; gap: 9px; height: 49px; padding: 0 17px; border: 1px solid var(--ui-line); border-radius: 9px; background: var(--ui-float); box-shadow: var(--ui-shadow); color: var(--ui-ink); font-size: 11px; white-space: nowrap; }
.tour-launch:hover { background: var(--ui-soft); }
.tour-launch .play-icon { color: var(--ui-accent); width: 20px; height: 20px; border-color: var(--ui-line); background: transparent; font-size: 8px; }
.gesture-hint { display: none; }
.compass, .scene-shell.night .compass { color: var(--ui-ink); bottom: 27px; right: 35px; gap: 5px; }
.compass>span { font-size: 8px; }
.compass i { font-size: 22px; }
.scene-shell.walking .compass { bottom: 27px; }
.scene-disclaimer, .scene-shell:not(.night) .scene-disclaimer, .scene-shell.night .scene-disclaimer { display: block; left: 24px; bottom: 23px; margin: 0; max-width: 210px; font-size: 8px; color: var(--ui-muted); text-shadow: 0 1px 4px var(--ui-paper); line-height: 1.8; }
.scene-disclaimer button { display: block; font-size: 8px; padding: 0; color: inherit; }
.walk-nav { left: 24px; bottom: 93px; padding: 10px; color: var(--ui-ink); background: var(--ui-float); border-color: var(--ui-line); box-shadow: var(--ui-shadow); border-radius: 9px; }
.walk-nav>span { color: var(--ui-muted); font-size: 8px; letter-spacing: 1.5px; }
.walk-nav button { color: var(--ui-ink); background: var(--ui-soft); border-color: var(--ui-line); }
.walk-nav button:active { color: var(--ui-on-accent); background: var(--ui-accent); }
.walk-nav small { color: var(--ui-muted); }
.pin { background: var(--ui-float); color: var(--ui-ink); border-color: var(--ui-line); box-shadow: 0 2px 8px #303c2518; }
.pin.active, .pin:hover { background: var(--ui-accent); color: var(--ui-on-accent); border-color: var(--ui-accent); }
.pin:after { background: var(--ui-accent); }
.pin[data-zone=stage] { background: #8b7855e8; color: #fffdf3; border-color: #f0e8ce; }

/* Details and tours can be open together without covering the controls. */
.detail-panel { left: auto; right: 24px; top: 90px; bottom: 90px; width: 350px; min-height: 0; padding: 24px; border-color: var(--ui-line); border-radius: 11px; background: var(--ui-float); color: var(--ui-ink); box-shadow: 0 14px 45px #303c251f; backdrop-filter: none; z-index: 12; scrollbar-width: thin; scrollbar-color: var(--ui-line) transparent; overscroll-behavior: contain; }
.detail-top { position: sticky; top: -24px; padding: 10px 0; margin-top: -10px; z-index: 2; background: var(--ui-paper); }
.detail-code { font-size: 30px; }
.close-button { background: var(--ui-paper); color: var(--ui-muted); border-color: var(--ui-line); width: 31px; height: 31px; flex-shrink: 0; }
.close-button:hover { background: var(--ui-soft); color: var(--ui-ink); }
.detail-panel h2 { font-size: 25px; color: var(--ui-ink); }
.detail-panel .eyebrow, .detail-copy, .detail-note, .company-caption { color: var(--ui-muted); }
.detail-tag { color: var(--ui-accent); }
.detail-copy { font-size: 12px; line-height: 1.9; }
.detail-note { font-size: 10px; line-height: 1.8; }
.feature-list li, .detail-panel .product-list li { color: var(--ui-ink); border-color: var(--ui-line); font-size: 11px; }
.booth-products span, .booth-tags span { background: var(--ui-soft); color: var(--ui-muted); border-color: var(--ui-line); border-radius: 4px; }
.detail-subtitle { color: var(--ui-ink); }
.detail-actions { position: sticky; bottom: -24px; margin-bottom: -8px; padding: 14px 0 8px; background: var(--ui-paper); }
.primary, .detail-actions .primary { background: var(--ui-accent); color: var(--ui-on-accent); border-radius: 5px; }
.secondary { background: transparent; color: var(--ui-ink); border-color: var(--ui-line); border-radius: 5px; }
.secondary:hover { background: var(--ui-soft); }
.text-action { color: var(--ui-accent); }
.tour-bar { left: 24px; right: auto; top: 83px; transform: none; max-width: calc(100% - 424px); gap: 11px; padding: 10px 12px; background: var(--ui-float); color: var(--ui-ink); border: 1px solid var(--ui-line); border-radius: 8px; box-shadow: var(--ui-shadow); z-index: 13; }
.tour-kicker { color: var(--ui-muted); font-size: 9px; }
.tour-bar b { overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.tour-bar button { flex-shrink: 0; color: var(--ui-ink); background: var(--ui-soft); border-radius: 4px; font-size: 10px; }

/* Shared paper palette also covers the enterprise directory and forms. */
dialog { background: var(--ui-paper); color: var(--ui-ink); border-color: var(--ui-line); border-radius: 12px; box-shadow: 0 22px 100px #242d2033; }
dialog::backdrop { background: #262c2360; backdrop-filter: blur(5px); }
.modal-top .eyebrow, .modal-description, .result-meta, .photo-caption,
.about-item p, .form-notice, .saved-state p, .saved-state dt { color: var(--ui-muted); }
.modal-title, .about-item h3, .saved-state h3, .saved-state dd { color: var(--ui-ink); }
.search-input, select, .business-form input, .business-form textarea, .business-form select { color: var(--ui-ink); background: var(--ui-paper); border-color: var(--ui-line); border-radius: 5px; }
.business-form label { color: var(--ui-muted); }
.business-form input::placeholder, .business-form textarea::placeholder, .search-input::placeholder { color: var(--ui-muted); }
.business-form input[type=checkbox] { accent-color: var(--ui-accent); }
.exhibitor-card { background: var(--ui-soft); color: var(--ui-ink); border-color: var(--ui-line); border-radius: 7px; }
.exhibitor-card:hover { border-color: var(--ui-accent); }
.exhibitor-card h3 { color: var(--ui-ink); }
.exhibitor-card p, .empty { color: var(--ui-muted); }
body.night-ui .detail-code, body.night-ui .exhibitor-card .card-code { color: var(--ui-accent); }
.about-item { border-color: var(--ui-line); }
.about-item>span { color: var(--ui-accent); }
.source-note { color: var(--ui-muted); background: var(--ui-soft); border-radius: 7px; }
.source-note a { color: var(--ui-accent); }
#toast { background: var(--ui-accent); color: var(--ui-on-accent); border-radius: 7px; bottom: 90px; }

@media (max-width: 1100px) {
  .header, body:has(#landing:not([hidden])) .header { padding: 0 22px; gap: 16px; }
  .header-nav { gap: 21px; }
  .header-right .demo-badge { display: none; }
  .scene-disclaimer { max-width: 180px; }
  .scene-bottom .view-switch button { padding: 12px 14px !important; }
  .detail-panel { width: 330px; }
  .tour-bar { max-width: calc(100% - 400px); }
}

@media (max-width: 900px) {
  .header-nav { display: flex; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 6px; letter-spacing: 2px; }
  .header-nav { gap: 18px; }
  .header-nav button { font-size: 10px; }
  .contact-button { font-size: 9px; padding: 9px 10px; }
  .contact-button span { display: none; }
  .search-dock { width: 330px; }
  .detail-panel { left: auto; top: 90px; right: 24px; bottom: 90px; width: 320px; padding: 22px; }
  .detail-top { top: -22px; }
  .detail-actions { bottom: -22px; }
  .scene-bottom .view-switch button { padding: 12px 13px !important; font-size: 10px; }
  .view-switch button span { display: inline; }
  .tour-bar { max-width: calc(100% - 388px); }
  .tour-kicker { display: none; }
  .scene-disclaimer, .scene-shell:not(.night) .scene-disclaimer, .scene-shell.night .scene-disclaimer { bottom: 85px; max-width: 170px; }
  .walk-nav { bottom: 118px; }
}

@media (max-width: 700px) {
  :root { --header-height: 60px; }
  .header, body:has(#landing:not([hidden])) .header { padding: 0 16px; gap: 12px; }
  .header-nav { display: none; }
  .brand strong { font-size: 15px; letter-spacing: .3px; }
  .brand small { font-size: 6px; letter-spacing: 1.9px; }
  .brand-mark { width: 25px; }
  .header-right { gap: 0; }
  .contact-button { font-size: 9px; padding: 9px 11px; }
  .scene-topbar { top: 12px; left: 12px; right: 12px; gap: 7px; }
  .search-dock { width: auto; flex: 1; max-width: none; }
  .scene-search-field { height: 42px; gap: 7px; padding: 0 9px 0 12px; border-radius: 7px; }
  .scene-search-field>svg { width: 15px; height: 15px; flex-basis: 15px; }
  .scene-search-field #booth-search-sidebar { font-size: 11px; }
  .scene-search-field kbd { display: none; }
  .search-panel { position: fixed; top: calc(var(--header-height) + 63px); left: 12px; right: 12px; width: auto; max-height: calc(100svh - var(--header-height) - 156px); padding-top: 12px; }
  .scene-quick-actions { gap: 6px; }
  .day-night-switch, .scene-quick-actions #toggle-labels { min-height: 42px; padding: 0 10px; font-size: 9px; border-radius: 7px; }
  .day-night-switch { width: 40px; padding: 0; }
  .day-night-switch>span:last-child { display: none; }
  .scene-quick-actions #toggle-labels { max-width: 76px; }
  .scene-tools { right: 12px; padding: 4px; border-radius: 8px; }
  .scene-tools button { width: 29px; height: 31px; font-size: 18px; }
  .scene-bottom { bottom: max(16px, env(safe-area-inset-bottom)); gap: 7px; max-width: calc(100% - 24px); width: max-content; }
  .view-switch { padding: 4px; gap: 2px; border-radius: 8px; }
  .scene-bottom .view-switch button { padding: 12px 10px !important; font-size: 10px; }
  .view-switch button span { display: none; }
  .tour-launch { height: 44px; gap: 6px; padding: 0 12px; font-size: 10px; border-radius: 8px; }
  .tour-launch .play-icon { width: 17px; height: 17px; font-size: 7px; }
  .compass, .scene-shell.night .compass, .scene-shell.walking .compass { right: 23px; bottom: 82px; gap: 3px; }
  .scene-disclaimer, .scene-shell:not(.night) .scene-disclaimer, .scene-shell.night .scene-disclaimer { display: block; left: 13px; bottom: 76px; max-width: 220px; font-size: 7px; line-height: 1.7; }
  .scene-disclaimer button { display: inline; margin-left: 6px; font-size: 7px; }
  .walk-nav { left: 12px; bottom: 112px; padding: 8px; }
  .walk-nav>span { font-size: 7px; margin-bottom: 2px; }
  .walk-nav small { display: none; }
  .walk-nav button { width: 31px; height: 28px; }
  .detail-panel { left: 12px; right: 12px; top: auto; bottom: 77px; width: auto; max-height: min(49svh, calc(100% - 155px)); padding: 18px; border-radius: 11px; }
  .detail-top { top: -18px; padding-top: 10px; }
  .detail-panel h2 { font-size: 22px; }
  .detail-code { font-size: 27px; }
  .detail-panel .eyebrow { margin-top: 7px; }
  .detail-copy { font-size: 11px; margin: 12px 0; }
  .detail-note { font-size: 9px; }
  .detail-actions { bottom: -18px; padding: 12px 0 8px; }
  .tour-bar { left: 12px; right: 12px; top: 65px; max-width: none; gap: 8px; padding: 9px 10px; }
  .tour-bar b { flex: 1; font-size: 10px; }
  .tour-bar button { font-size: 9px; padding: 6px 8px; }
  .scene-shell:has(.detail-panel:not([hidden])) .scene-disclaimer,
  .scene-shell:has(.detail-panel:not([hidden])) .walk-nav { visibility: hidden; }
  dialog { padding: 22px; max-height: 88svh; }
  .modal-title { font-size: 27px; }
}

@media (max-width: 640px) {
  .landing { min-height: 790px; height: 100svh; padding-top: 84px; }
  .landing-image { top: 310px; }
  .landing-shade { background: linear-gradient(0deg, #f7f5ec 0%, #f7f5ec00 44%, #f7f5ec00 57%, #f7f5ec 72%); }
  .landing-intro { margin: 5px 23px 0; }
  .landing h1 { font-size: 32px; }
  .hero-copy { color: #6c755f; }
  .hero-secondary { border: 0; padding: 0; background: transparent; }
  .landing-bottom { top: auto; bottom: 71px; left: 23px; right: 23px; padding: 15px 0 0; background: transparent; gap: 18px; }
  .hero-facts { padding-top: 16px; border-color: #cbd0bc8c; }
  .hero-facts b { font-size: 25px; }
  .hero-pin-stage { top: 432px; }
  .hero-pin-booths { top: 370px; }
  .landing-disclaimer { bottom: 21px; }
}

@media (max-width: 380px) {
  .header, body:has(#landing:not([hidden])) .header { padding: 0 12px; }
  .brand strong { font-size: 14px; }
  .brand-mark { width: 23px; }
  .contact-button { padding: 8px 9px; }
  .scene-search-field #booth-search-sidebar { font-size: 10px; }
  .scene-quick-actions #toggle-labels { padding: 0 8px; }
  .scene-bottom { gap: 5px; }
  .scene-bottom .view-switch button { padding: 12px 8px !important; font-size: 9px; }
  .tour-launch { padding: 0 10px; font-size: 9px; }
}

@media (max-height: 600px) and (min-width: 701px) {
  .detail-panel { top: 79px; bottom: 78px; padding: 18px; }
  .detail-top { top: -18px; }
  .detail-actions { bottom: -18px; }
  .scene-topbar { top: 14px; }
  .tour-bar { top: 74px; }
  .scene-bottom { bottom: 15px; }
  .scene-disclaimer, .scene-shell:not(.night) .scene-disclaimer, .scene-shell.night .scene-disclaimer { bottom: 17px; }
  .walk-nav { bottom: 78px; }
}
