@charset "UTF-8";

:root {
  --ink: #173335;
  --ink-soft: #657777;
  --muted: #8b9997;
  --accent: #0d665b;
  --accent-dark: #064d44;
  --accent-pale: #e6eeE8;
  --paper: #fafbf7;
  --line: #e3e8e1;
  --stage: #e7ebe6;
  --white: #fff;
  --shadow: 0 5px 20px #1c363810;
  font-family: Inter, "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}

* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { -webkit-appearance: none; appearance: none; border: 0; background: transparent; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #5aa492; outline-offset: 4px; }
button:disabled { opacity: .45; cursor: wait; }
button, a { transition: background .18s, color .18s, box-shadow .18s, transform .18s; }
button:active:not(:disabled) { transform: translateY(1px); }
button[hidden], [hidden] { display: none !important; }
.icon { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
button svg { pointer-events: none; }

#app { display: grid; grid-template-columns: 344px minmax(0, 1fr); grid-template-rows: 86px minmax(0, 1fr); height: 100vh; height: 100dvh; min-height: 550px; }
.app-header { grid-column: 1 / -1; display: flex; align-items: center; min-width: 0; gap: 32px; padding: 0 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); gap: 11px; min-width: 288px; }
.brand-mark { display: grid; place-items: center; color: white; width: 43px; height: 43px; border-radius: 12px 12px 12px 3px; background: var(--accent); }
.brand-word { font-size: 26px; line-height: 1; font-weight: 750; letter-spacing: -1.4px; }
.brand-word > span { font-weight: 380; }
.brand-word small { display: block; font-size: 8px; font-weight: 650; letter-spacing: 1.65px; margin: 7px 0 0 1px; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-link { display: flex; gap: 9px; align-items: center; font-weight: 550; color: var(--ink-soft); padding: 10px 14px; border-radius: 9px; white-space: nowrap; font-size: 13px; }
.nav-link .icon { width: 17px; height: 17px; }
.nav-link:hover { color: var(--ink); background: #edf1eb; }
.nav-link.active { color: var(--accent); background: #e8eee8; }
.buy-nav-link { text-decoration:none; }
.mobile-buy-link { display:none; }
.header-actions { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.help-button { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 12px; font-weight: 520; color: var(--ink-soft); }
.help-button:hover { color: var(--accent); }
.help-button .icon { width: 17px; height: 17px; }
.language-toggle { display: flex; padding: 3px; gap: 1px; background: #edf0e9; border-radius: 8px; }
.language-toggle button { padding: 7px 9px; border-radius: 5px; font-size: 11px; letter-spacing: .3px; font-weight: 650; color: var(--ink-soft); }
.language-toggle button.active { background: white; box-shadow: 0 1px 4px #17333512; color: var(--ink); }

.sidebar { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: #d0d8d0 transparent; }
.sidebar-main { padding: 24px 26px 18px 28px; }
.eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 1.65px; line-height: 1.5; color: var(--accent); display: flex; align-items: center; gap: 7px; }
.tiny-dot { width: 5px; height: 5px; border-radius: 50%; background: #83a798; }
h1 { font-size: 37px; line-height: 1.17; font-weight: 570; letter-spacing: -1.7px; white-space: pre-line; margin-top: 15px; max-width: 300px; }
.intro { font-size: 12px; color: var(--ink-soft); line-height: 1.75; max-width: 270px; margin: 14px 0 27px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 650; letter-spacing: .1px; }
.select-wrap, .search-wrap { display: flex; align-items: center; height: 49px; border: 1px solid #dce3d9; border-radius: 9px; background: #fff; padding: 0 13px; transition: border-color .2s, box-shadow .2s; }
.select-wrap:focus-within, .search-wrap:focus-within { border-color: #729d8f; box-shadow: 0 0 0 3px #e2ece6; }
.select-wrap > .icon, .search-wrap > .icon { width: 18px; height: 18px; color: #6a827b; }
.select-wrap select { border: 0; padding: 0 10px; background: transparent; color: var(--ink); width: 100%; height: 100%; outline: none; appearance: none; cursor: pointer; font-size: 12px; font-weight: 520; }
.select-arrow { width: 14px !important; height: 14px !important; pointer-events: none; }
.search-wrap input { padding: 0 10px; border: 0; width: 100%; min-width: 0; outline: none; height: 100%; color: var(--ink); background: transparent; font-size: 13px; }
.search-wrap input::placeholder { color: #9aa79f; font-size: 12px; }
kbd { display: inline-grid; place-items: center; width: 21px; height: 23px; border: 1px solid #e9ede7; border-radius: 4px; color: #a5afa8; font-size: 11px; flex-shrink: 0; }
.field-hint { color: #82908a; font-size: 9.5px; line-height: 1.5; margin-top: 7px; }
.button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; border-radius: 9px; font-weight: 620; font-size: 12px; padding: 12px 17px; }
.button-primary { background: var(--accent); color: white; box-shadow: 0 4px 8px #0d665b0c; }
.button-primary:hover:not(:disabled) { background: var(--accent-dark); box-shadow: 0 5px 13px #0d665b25; }
.button-primary .icon { width: 18px; height: 18px; }
.find-button { justify-content: space-between; margin-top: 20px; }
.quick-examples { display: flex; gap: 7px; flex-wrap: wrap; font-size: 9px; align-items: center; margin: 12px 0 23px; color: #89958e; }
.quick-examples button { font-size: 9px; padding: 3px 6px; border: 1px solid #dde5da; border-radius: 4px; color: #5f7c70; letter-spacing: .2px; }
.quick-examples button:hover { background: var(--accent-pale); color: var(--accent); }
.search-field { position: relative; }
.entrance-field { grid-column: 1 / -1; }
.entrance-field .select-wrap select { font-size: 11px; min-width: 0; text-overflow: ellipsis; }
.level-badge { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; padding: 5px; border-radius: 9px; border: 1px solid #fff; background: #ffffffed; box-shadow: 0 5px 22px #193d321a; white-space: nowrap; color: var(--level-color); }
.level-badge b { display: grid; place-items: center; min-width: 29px; height: 29px; border-radius: 6px; background: var(--level-color); color: white; font-size: 13px; }
.is-section .level-badge { padding: 0; border-radius: 3px; }
.is-section .level-badge b { min-width: 15px; height: 11px; border-radius: 2px; font-size: 8px; }
.level-badge:hover { background: white; box-shadow: 0 6px 24px #193d3230; }
.entrance-pin { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 4px; background: white; border: 1px solid #8dafa3; color: #176b55; border-radius: 6px; padding: 4px 7px; box-shadow: 0 2px 9px #12352c22; }
.entrance-pin span { font-size: 15px; line-height: 1; }
.entrance-pin b { font-size: 9px; letter-spacing: .3px; }
.entrance-pin:hover, .entrance-pin.active { background: #0d665b; color: white; border-color: #0d665b; }
.entrance-pin.floor-entry { border-radius: 16px; padding: 5px 8px; border-color: #4a9178; }
.entrance-pin.floor-entry span { font-size: 13px; }
.entrance-pin.building-entry { height: 22px; min-height: 0; padding: 3px 5px; gap: 3px; border-radius: 4px; border-color: #176b55; white-space: nowrap; }
.entrance-pin.building-entry svg { width: 12px; height: 12px; flex: 0 0 12px; }
.entrance-pin.building-entry b { font-size: 8px; line-height: 12px; letter-spacing: 0; }
.entrance-pin.building-entry::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; background: inherit; border-right: 1px solid #176b55; border-bottom: 1px solid #176b55; transform: translateX(-50%) rotate(45deg); }
/* The camera positions these anchors every frame; easing their transforms
   would make them trail behind the parking geometry. */
.level-badge, .entrance-pin { transition: background .18s, color .18s, box-shadow .18s; will-change: transform; }
.is-expanded .viewer-status { display: none; }
.is-expanded .map-caption p { max-width: 285px; line-height: 1.5; }
.suggestions { position: static; inset: auto; grid-column: 1 / -1; width: 100%; background: white; padding: 5px; border: 1px solid #dce4d9; border-radius: 9px; box-shadow: 0 3px 12px #1837350b; max-height: 190px; overflow: auto; margin-top: 2px; }
.suggestion { display: flex; width: 100%; padding: 10px 8px; gap: 10px; align-items: center; text-align: left; border-radius: 6px; }
.suggestion > .icon { color: #87a398; width: 17px; height: 17px; }
.suggestion > .icon:last-child { margin-left: auto; }
.suggestion:hover, .suggestion[aria-selected="true"] { background: #edf4ee; }
.suggestion-copy { display: grid; gap: 3px; }
.suggestion strong { font-size: 11px; letter-spacing: .5px; }
.suggestion small { font-size: 9px; color: var(--ink-soft); }
.suggestion-empty { padding: 15px 10px; font-size: 11px; line-height: 1.6; color: var(--ink-soft); }
.welcome-card { border-top: 1px solid var(--line); padding-top: 24px; }
.welcome-symbol { display: grid; place-items: center; width: 32px; height: 32px; background: #eaf0e8; border-radius: 8px; margin-bottom: 12px; color: #4d7c65; }
.welcome-symbol .icon { width: 21px; height: 21px; }
.welcome-card h2 { font-size: 14px; font-weight: 620; letter-spacing: -.25px; margin-bottom: 7px; }
.welcome-card > p { color: #7e8d83; font-size: 10.5px; line-height: 1.7; max-width: 258px; }
.how-steps { list-style: none; margin: 21px 0 0; padding: 0; display: grid; gap: 15px; }
.how-steps li { display: flex; gap: 11px; }
.how-steps li > span { color: #85a294; border: 1px solid #dee7dc; border-radius: 50%; flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; font-size: 8px; font-weight: 650; }
.how-steps strong { display: block; font-size: 10px; font-weight: 600; }
.how-steps small { display: block; color: #87938b; font-size: 9px; margin-top: 4px; line-height: 1.5; }
.sidebar-footer { margin-top: auto; padding: 19px 28px 19px; }
.parking-stats { display: flex; gap: 23px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.parking-stats > div { display: grid; gap: 5px; }
.parking-stats strong { font-size: 20px; line-height: 1; font-weight: 570; letter-spacing: -.7px; }
.parking-stats span:not(.stats-divider) { font-size: 8.5px; color: #869189; }
.stats-divider { width: 1px; height: 31px; background: var(--line); }
.source-note { display: flex; align-items: center; gap: 6px; margin-top: 22px; color: #98a19a; font-size: 8.5px; }
.source-note .icon { width: 12px; height: 12px; }

.selection-card { display: flex; align-items: center; padding: 11px; border: 1px solid #dbe6d9; border-radius: 10px; background: #edf2e9; margin-bottom: 17px; gap: 11px; }
.selection-symbol { display: grid; place-items: center; width: 39px; height: 44px; background: #fff; border: 1px solid #d7e1d3; border-radius: 7px; color: var(--accent); font-size: 23px; font-weight: 550; }
.selection-card > div:nth-child(2) { display: grid; gap: 3px; }
.micro { font-size: 8px; color: #889784; }
.selection-card strong { font-size: 15px; letter-spacing: .5px; }
.selection-detail { font-size: 9px; color: #668071; }
.selection-card > button { margin-left: auto; }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; color: #7a8c80; }
.icon-button .icon { width: 17px; height: 17px; }
.icon-button:hover { background: #dfe8db; color: var(--accent); }
.route-card { border-top: 1px solid var(--line); padding-top: 22px; }
.route-card .eyebrow { font-size: 8px; }
.route-preview-button { margin-top: 9px; min-height: 40px; width: 100%; border: 1px solid #d5dfd2; color: #527361; background: transparent; font-size: 11px; }
.route-preview-button small { margin-left: auto; font-size: 10px; letter-spacing: .6px; }
.route-preview-button.active, .route-preview-button:hover { border-color: #87aa95; background: #e4eee1; color: var(--accent); }
.route-stops { margin: 18px 0 20px; position: relative; display: grid; gap: 22px; }
.route-stop { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.4; position: relative; z-index: 1; }
.route-stop strong { font-size: 13px; font-weight: 620; letter-spacing: .5px; }
.stop-start { border: 1.5px solid #839c8b; background: var(--paper); width: 10px; height: 10px; border-radius: 50%; margin-left: 1px; }
.stop-end { border: 3px solid var(--accent); background: #daf0e2; width: 12px; height: 12px; border-radius: 4px; }
.stop-connector { position: absolute; border-left: 1px dashed #b7c9bb; height: 29px; left: 5px; top: 13px; }
.route-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 15px 0; border-top: 1px solid #e4eade; border-bottom: 1px solid #e4eade; gap: 8px; }
.route-metrics > div { display: grid; gap: 7px; }
.route-metrics span { color: #849380; font-size: 8px; }
.route-metrics strong { font-size: 17px; font-weight: 570; letter-spacing: -.4px; }
.route-check { display: flex; gap: 6px; align-items: flex-start; margin: 15px 0 17px; font-size: 9px; line-height: 1.5; color: #718773; }
.route-check .icon { width: 13px; height: 13px; color: #669278; }
.shared-notice { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; line-height: 1.7; color: #867341; padding: 10px; background: #f5f0e1; border-radius: 7px; margin-bottom: 15px; }
.shared-notice .icon { width: 16px; height: 16px; margin-top: 1px; }

.stage { grid-column: 2; grid-row: 2; position: relative; min-width: 0; overflow: hidden; background: var(--stage); border-radius: 15px; margin: 0 18px 18px 0; }
#viewer { position: absolute; inset: 0; outline: none; }
#viewer canvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
.space-pin { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #ddbe71; border-radius: 6px; background: #fff8e4; color: #80621f; font-size: 10px; font-weight: 700; letter-spacing: .45px; white-space: nowrap; box-shadow: 0 3px 12px #4c3d161a; }
.space-pin::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; border-radius: 2px; background: #d8a535; }
.space-pin::after { content: ''; position: absolute; left: calc(50% - 4px); bottom: -5px; width: 8px; height: 8px; background: #fff8e4; border-right: 1px solid #ddbe71; border-bottom: 1px solid #ddbe71; transform: rotate(45deg); }
.viewer-failure { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(340px, calc(100% - 60px)); background: #fafbf7e8; border: 1px solid #fff; border-radius: 13px; padding: 25px; color: #738275; font-size: 12px; line-height: 1.8; text-align: center; box-shadow: var(--shadow); }
.stage-ui { position: absolute; inset: 0; pointer-events: none; }
.stage-ui button, .stage-ui .floor-control, .drive-hud, .arrival-card { pointer-events: auto; }
.stage-top { position: absolute; left: 28px; right: 24px; top: 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.map-caption .eyebrow { font-size: 8px; letter-spacing: 1.5px; color: #819388; }
.map-caption h2 { font-size: 22px; margin: 8px 0 7px; font-weight: 540; letter-spacing: -.8px; }
.map-caption p { font-size: 10px; color: #7e9084; }
.floor-control { display: grid; justify-items: end; gap: 8px; }
.control-label { display: inline-flex; align-items: center; gap: 5px; font-size: 8.5px; color: #73897a; }
.control-label .icon { width: 12px; height: 12px; }
.floor-selector { display: flex; gap: 4px; border-radius: 9px; padding: 4px; background: #f9fbf7ed; box-shadow: 0 2px 12px #1e382908; border: 1px solid #fff8; }
.floor-selector button { min-width: 35px; height: 33px; display: grid; place-items: center; border-radius: 6px; font-size: 11px; font-weight: 580; color: #748478; padding: 0 10px; }
.floor-selector button:hover { color: var(--accent); background: #e8eee4; }
.floor-selector button.active { color: white; background: var(--accent); box-shadow: 0 2px 5px #0d665b1a; }
.viewer-status { display: flex; align-items: center; gap: 7px; position: absolute; top: 126px; left: 28px; font-size: 9px; font-weight: 550; color: #728777; background: #f5f8f088; padding: 7px 10px; border: 1px solid #f9faf58f; border-radius: 5px; }
.status-dot { display: inline-block; width: 4px; height: 4px; background: #7d9e87; border-radius: 50%; }
.view-controls { position: absolute; display: grid; justify-items: end; gap: 12px; right: 24px; bottom: 80px; }
.view-toggle { display: flex; flex-direction: column; background: #fcfdf9ed; border: 1px solid #fff8; padding: 4px; border-radius: 9px; box-shadow: var(--shadow); gap: 3px; }
.view-toggle button { display: flex; align-items: center; gap: 7px; padding: 10px 9px; border-radius: 6px; font-size: 9px; font-weight: 560; color: #7a897b; }
.view-toggle .icon { width: 15px; height: 15px; }
.view-toggle button:hover { background: #edf2e8; }
.view-toggle button.active { background: #e5ece0; color: #2f5c40; }
.zoom-controls { display: grid; gap: 1px; background: #fcfdf9ed; padding: 4px; border: 1px solid #fff8; border-radius: 9px; box-shadow: var(--shadow); }
.zoom-controls button { width: 33px; height: 32px; display: grid; place-items: center; color: #6b816f; border-radius: 6px; }
.zoom-controls button .icon { width: 17px; height: 17px; }
.zoom-controls button:hover { background: #e5ece0; color: var(--accent); }
.zoom-controls > span { height: 1px; background: #e5eadd; margin: 3px 5px; }
.map-legend { position: absolute; display: flex; align-items: center; gap: 18px; bottom: 26px; left: 28px; border-radius: 6px; color: #788b7a; font-size: 8px; font-weight: 510; }
.map-legend > span { display: flex; align-items: center; gap: 6px; }
.legend-space { width: 10px; height: 10px; border-radius: 2px; border: 1.5px solid #dfad48; background: #e7c66d; }
.legend-route { width: 14px; height: 3px; border-radius: 2px; background: #26856e; }
.legend-entry { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid #496760; }
.orbit-hints { display: flex; align-items: center; gap: 11px; position: absolute; bottom: 26px; right: 24px; font-size: 8px; color: #8a998b; }
.orbit-hints > span { display: flex; align-items: center; gap: 5px; }
.orbit-hints .icon { width: 12px; height: 12px; }
.orbit-hints > i { display: block; width: 2px; height: 2px; border-radius: 50%; background: #a1b09d; }
.touch-hint { display: none; }

.drive-hud { position: absolute; width: min(430px, calc(100% - 50px)); left: 50%; transform: translateX(-50%); bottom: 37px; background: #fff; border: 1px solid #fff8; box-shadow: 0 16px 50px #15352c22; border-radius: 15px; overflow: hidden; }
.drive-instruction { display: flex; gap: 14px; align-items: center; padding: 21px 18px 19px; }
.instruction-icon { display: grid; place-items: center; height: 53px; width: 53px; border-radius: 12px; color: white; background: var(--accent); flex-shrink: 0; }
.instruction-icon .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.drive-instruction > div:nth-child(2) { flex: 1; min-width: 0; }
.drive-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 7px; letter-spacing: 1px; font-weight: 650; color: #84978a; }
.drive-floor { font-size: 7px; letter-spacing: .1px; color: #5b7d68; border-left: 1px solid #dce8dd; padding-left: 8px; }
.drive-instruction strong { display: block; font-size: 15px; line-height: 1.35; font-weight: 620; letter-spacing: -.3px; }
#drive-remaining { display: block; color: #809484; font-size: 10px; margin-top: 7px; }
.overview-button { align-self: flex-start; width: 24px; height: 24px; margin: -6px -4px 0 0; flex-shrink: 0; }
.overview-button .icon { width: 14px; height: 14px; }
.drive-track { height: 3px; background: #ebf0e7; }
.drive-track > div { height: 100%; width: 0; background: #54a38a; transition: width .15s linear; }
.playback-controls { display: flex; align-items: center; padding: 10px 17px; gap: 9px; background: #fbfcf8; }
.playback-main { display: grid; place-items: center; width: 31px; height: 31px; background: #e7eee1; color: #326647; border-radius: 50%; }
.playback-main:hover { background: #d8e5d2; }
.playback-main .icon { width: 14px; height: 14px; }
.playback-controls > .icon-button { width: 25px; height: 28px; }
.playback-controls > .icon-button .icon { width: 14px; height: 14px; }
#playback-status { font-size: 9px; color: #8b9787; padding-left: 2px; }
.speed-toggle { display: flex; margin-left: auto; gap: 2px; background: #edf1e7; border-radius: 6px; padding: 3px; }
.speed-toggle button { padding: 5px 7px; font-size: 9px; border-radius: 4px; color: #8a9580; }
.speed-toggle button.active { background: white; box-shadow: 0 1px 5px #203a230b; color: #496344; font-weight: 650; }
.is-driving .view-controls, .is-driving .map-legend, .is-driving .orbit-hints, .is-driving .touch-hint, .is-driving .floor-control { display: none; }
.is-driving .map-caption h2, .is-driving .map-caption p { display: none; }
.is-driving .viewer-status { top: 51px; }
.arrival-card { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; width: min(390px, calc(100% - 44px)); background: white; padding: 23px; border-radius: 15px; box-shadow: 0 12px 50px #183d3120; }
.arrival-check { display: grid; place-items: center; height: 48px; width: 48px; border-radius: 50%; background: #e5efe0; color: #4d8a5c; }
.arrival-check .icon { width: 24px; height: 24px; }
.arrival-card h2 { font-size: 22px; letter-spacing: -.6px; font-weight: 550; margin-top: 3px; }
.arrival-card p { font-size: 11px; color: #88967f; margin-top: 5px; }
.arrival-card .button { margin-top: 4px; justify-content: space-between; }

.loading-screen { position: fixed; z-index: 80; left: 344px; right: 18px; top: 86px; bottom: 18px; border-radius: 15px; background: #e7ebe6; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity .35s; padding: 30px; }
.loading-screen.is-complete { opacity: 0; pointer-events: none; }
.loading-screen > .eyebrow { margin-top: 23px; font-size: 9px; color: #6b917e; letter-spacing: 2px; }
.loading-screen h2 { font-size: 28px; letter-spacing: -1px; font-weight: 500; margin-top: 12px; text-align: center; }
.loading-screen p { font-size: 11px; color: #839589; margin-top: 12px; text-align: center; line-height: 1.8; }
.loader-visual { width: 84px; height: 87px; position: relative; margin-bottom: 12px; }
.loader-visual > div { position: absolute; border: 1px solid #72a58b; width: 58px; height: 58px; border-radius: 7px; transform: rotateX(55deg) rotateZ(45deg); left: 13px; background: #dde9dfb3; }
.loader-visual > div:nth-child(1) { top: 31px; opacity: .35; }
.loader-visual > div:nth-child(2) { top: 20px; opacity: .5; }
.loader-visual > div:nth-child(3) { top: 9px; opacity: .7; }
.loader-visual > div:nth-child(4) { top: -2px; background: #d1e3d5; opacity: .9; animation: layer-float 2s ease-in-out infinite alternate; }
.loader-visual > span { position: absolute; left: 32px; top: 14px; font-size: 29px; font-weight: 500; color: #3e765c; transform: rotateX(40deg) rotateZ(-4deg); animation: letter-float 2s ease-in-out infinite alternate; }
@keyframes layer-float { from { translate: 0 0; } to { translate: 0 -6px; } }
@keyframes letter-float { from { translate: 0 0; } to { translate: 0 -6px; } }
.loading-track { width: min(250px, 90%); height: 3px; background: #d6e0d5; border-radius: 2px; overflow: hidden; margin-top: 26px; }
.loading-track > span { display: block; height: 100%; background: #4d8b6d; width: 0; transition: width .3s; }
.loading-detail { width: min(250px, 90%); display: flex; justify-content: space-between; gap: 12px; color: #8c9c8e; font-size: 8px; margin-top: 10px; line-height: 1.5; }
.error-toast { position: fixed; z-index: 110; right: 32px; top: 99px; background: #fffdf6; border: 1px solid #e7dfc9; border-radius: 12px; padding: 17px; display: flex; align-items: flex-start; gap: 11px; box-shadow: 0 12px 40px #24351920; width: min(400px, calc(100vw - 32px)); }
.error-toast > .icon { color: #a08c4d; margin-top: 1px; width: 19px; height: 19px; }
.error-toast > div { flex: 1; }
.error-toast strong { font-size: 12px; font-weight: 600; }
.error-toast p { font-size: 11px; color: #8b886f; line-height: 1.65; margin-top: 6px; overflow-wrap: anywhere; }
.error-toast > button { width: 25px; height: 25px; flex-shrink: 0; margin: -4px -5px 0 0; }
.help-dialog { border: 1px solid #fff; border-radius: 18px; background: var(--paper); color: var(--ink); max-width: 510px; width: calc(100vw - 32px); max-height: calc(100dvh - 40px); padding: 37px; box-shadow: 0 20px 100px #113c3029; }
.help-dialog::backdrop { background: #143b3370; backdrop-filter: blur(5px); }
.modal-close { position: absolute; right: 16px; top: 16px; }
.help-dialog h2 { margin-top: 15px; font-size: 29px; letter-spacing: -1px; font-weight: 540; line-height: 1.2; }
.help-intro { color: var(--ink-soft); font-size: 12px; line-height: 1.8; margin-top: 13px; margin-bottom: 24px; }
.help-section { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 23px; }
.help-section > .icon { color: #4f8a68; width: 21px; height: 21px; margin-top: 2px; }
.help-section h3 { font-size: 12px; font-weight: 620; margin-bottom: 6px; }
.help-section p { font-size: 11px; line-height: 1.8; color: #81907e; }
.help-note { font-size: 10px; line-height: 1.8; color: #8a967f; border-top: 1px solid #e1e8db; padding-top: 18px; margin-bottom: 22px; }

@media (min-width: 1550px) {
  #app { grid-template-columns: 365px minmax(0, 1fr); }
  .sidebar-main { padding-left: 34px; padding-right: 32px; padding-top: 30px; }
  .brand { min-width: 309px; }
  .sidebar-footer { padding-left: 34px; padding-right: 32px; }
  .loading-screen { left: 365px; }
  h1 { font-size: 40px; }
  .intro { margin-bottom: 31px; }
  .welcome-card { padding-top: 29px; }
  .how-steps { gap: 20px; }
}

@media (max-width: 1150px) {
  #app { grid-template-columns: 314px minmax(0, 1fr); }
  .app-header { gap: 15px; padding-left: 24px; padding-right: 23px; }
  .brand { min-width: 268px; }
  .header-actions { gap: 20px; }
  .help-button span { display: none; }
  .nav-link { padding: 9px 11px; font-size: 11px; }
  .sidebar-main { padding-left: 24px; padding-right: 23px; }
  .sidebar-footer { padding-left: 24px; padding-right: 23px; }
  h1 { font-size: 34px; }
  .loading-screen { left: 314px; }
  .stage-top { left: 21px; right: 18px; }
  .map-caption h2 { font-size: 20px; }
  .map-caption p { font-size: 9px; }
  .floor-selector { gap: 1px; }
  .floor-selector button { min-width: 31px; padding: 0 8px; }
  .viewer-status { left: 21px; }
  .orbit-hints { display: none; }
  .map-legend { left: 21px; }
  .view-controls { right: 18px; }
}

@media (max-height: 850px) and (min-width: 761px) {
  #app { grid-template-rows: 75px minmax(0, 1fr); }
  .loading-screen { top: 75px; }
  .sidebar-main { padding-top: 15px; padding-bottom: 10px; }
  h1 { font-size: 33px; margin-top: 10px; }
  .intro { margin-top: 10px; margin-bottom: 20px; font-size: 11px; }
  .field { margin-bottom: 13px; }
  .select-wrap, .search-wrap { height: 45px; }
  .find-button { margin-top: 17px; }
  .quick-examples { margin-bottom: 18px; }
  .welcome-card { padding-top: 18px; }
  .welcome-symbol { display: none; }
  .how-steps { gap: 11px; margin-top: 15px; }
  .how-steps small { display: none; }
  .how-steps li { align-items: center; }
  .parking-stats { padding-top: 16px; }
  .sidebar-footer { padding-top: 7px; }
  .source-note { margin-top: 17px; }
  .suggestions { inset: auto; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 10px 8px; }
  .nav-link .icon { display: none; }
  .header-actions { gap: 14px; }
  .app-header { gap: 5px; }
  .brand { min-width: 278px; }
  .map-caption h2 { max-width: 160px; font-size: 19px; }
  .map-caption p { display: none; }
  .stage-top { display: block; }
  .floor-control { justify-items: start; margin-top: 21px; }
  .control-label { display: none; }
  .viewer-status { display: none; }
}

@media (max-width: 760px) {
  body { overflow: auto; }
  #app { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 67px minmax(330px, 49dvh) auto; height: auto; min-height: 100dvh; }
  .app-header { grid-row: 1; gap: 10px; padding: 0 19px; }
  .brand { min-width: 0; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px 9px 9px 3px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand-word { font-size: 23px; letter-spacing: -1.3px; }
  .brand-word small { display: none; }
  .main-nav { display: none; }
  .mobile-buy-link { display:flex; min-height:44px; align-items:center; gap:9px; padding:9px 12px; margin:0 0 15px; border:1px solid #d2dfcf; border-radius:9px; background:#eaf1e4; color:#376e55; text-decoration:none; font-size:12px; font-weight:600; }
  .mobile-buy-link .icon:last-child { margin-left:auto; }
  .header-actions { gap: 16px; }
  .help-button { padding: 0; }
  .help-button span { display: none; }
  .language-toggle button { padding: 6px 7px; font-size: 10px; }
  .sidebar { grid-row: 3; grid-column: 1; overflow: visible; background: var(--paper); border-radius: 20px 20px 0 0; z-index: 3; position: relative; margin-top: -17px; }
  .sidebar::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 31px; height: 3px; background: #dce2d8; border-radius: 2px; }
  .sidebar-main { padding: 28px 23px 15px; }
  .sidebar-main > .eyebrow { font-size: 8px; }
  h1 { font-size: 28px; letter-spacing: -1px; max-width: none; white-space: normal; margin-top: 8px; }
  .intro { margin: 9px 0 19px; font-size: 11px; max-width: none; }
  #destination-form { display: grid; grid-template-columns: 1fr 1.35fr; column-gap: 12px; }
  .entrance-field { margin-bottom: 13px !important; }
  .entrance-field .select-wrap select { font-size: 11px; }
  .level-badge { gap: 0; padding: 4px; border-radius: 7px; }
  .level-badge b { min-width: 25px; height: 25px; font-size: 11px; }
  .field label { font-size: 10px; }
  .field { margin-bottom: 0; }
  .select-wrap, .search-wrap { height: 45px; padding: 0 10px; }
  .select-wrap select { font-size: 10px; padding: 0 7px; }
  .select-wrap .icon { width: 15px; height: 15px; }
  .search-wrap input { font-size: 12px; padding: 0 8px; }
  .search-wrap input::placeholder { font-size: 10px; }
  .search-wrap > .icon { width: 15px; height: 15px; }
  .field-hint { display: none; }
  kbd { display: none; }
  .find-button { grid-column: 1 / -1; margin-top: 13px; min-height: 43px; }
  .quick-examples { margin-top: 10px; margin-bottom: 19px; }
  .suggestions { inset: auto; margin-top: 11px; max-height: 190px; }
  .welcome-card { padding-top: 20px; }
  .welcome-symbol { display: none; }
  .welcome-card h2 { font-size: 13px; }
  .welcome-card > p { font-size: 10px; max-width: none; }
  .how-steps { display: flex; gap: 11px; margin-top: 17px; }
  .how-steps li { flex: 1; flex-direction: column; gap: 8px; }
  .how-steps strong { font-size: 9px; line-height: 1.5; }
  .how-steps small { display: none; }
  .sidebar-footer { padding: 6px 23px 25px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .parking-stats { border-top: 0; gap: 17px; padding-top: 11px; }
  .parking-stats strong { font-size: 16px; }
  .parking-stats span:not(.stats-divider) { font-size: 7px; }
  .stats-divider { height: 24px; }
  .source-note { font-size: 7px; margin-top: 10px; max-width: 100px; line-height: 1.5; }
  .source-note .icon { width: 11px; height: 11px; }
  .stage { grid-row: 2; grid-column: 1; margin: 0; border-radius: 0; }
  .stage-top { left: 20px; right: 17px; top: 17px; flex-wrap: wrap; gap: 10px; }
  .map-caption .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .map-caption h2 { font-size: 16px; margin: 6px 0 0; letter-spacing: -.5px; }
  .map-caption p { display: none; }
  .floor-control { gap: 0; margin-left: auto; }
  .control-label { display: none; }
  .floor-selector { padding: 3px; gap: 1px; }
  .floor-selector button { min-width: 29px; height: 28px; padding: 0 7px; font-size: 10px; }
  .viewer-status { top: 102px; left: 20px; padding: 5px 7px; font-size: 8px; }
  .view-controls { bottom: 42px; right: 17px; gap: 8px; }
  .view-toggle { padding: 3px; border-radius: 7px; }
  .view-toggle button { padding: 8px; gap: 5px; }
  .view-toggle button span { display: none; }
  .view-toggle .icon { width: 15px; height: 15px; }
  .zoom-controls { padding: 3px; border-radius: 7px; }
  .zoom-controls button { width: 30px; height: 28px; }
  .zoom-controls button .icon { width: 15px; height: 15px; }
  .map-legend { display: none; }
  .orbit-hints { display: none; }
  .touch-hint { display: block; position: absolute; bottom: 32px; left: 20px; font-size: 7px; color: #96a18f; }
  .loading-screen { left: 0; right: 0; top: 67px; bottom: auto; height: max(330px, 49dvh); border-radius: 0; padding-bottom: 40px; }
  .loading-screen h2 { font-size: 24px; }
  .loading-screen p { max-width: 230px; font-size: 10px; margin-top: 8px; }
  .loading-screen > .eyebrow { margin-top: 8px; font-size: 8px; }
  .loader-visual { scale: .75; margin-bottom: -10px; }
  .loading-track { margin-top: 17px; }
  .error-toast { top: 80px; right: 16px; }
  .selection-card { margin-top: 5px; }
  .route-card { padding-top: 18px; }
  .route-stops { margin: 14px 0 17px; }
  .route-metrics { padding: 13px 0; }
  .route-check { margin: 12px 0; }
  .is-driving #app { grid-template-rows: 67px calc(100dvh - 67px) auto; }
  .is-driving .sidebar { display: none; }
  .is-driving .stage { margin-bottom: 0; }
  .is-driving .viewer-status { top: 43px; }
  .drive-hud { bottom: max(24px, env(safe-area-inset-bottom)); width: calc(100% - 32px); border-radius: 13px; }
  .drive-instruction { gap: 12px; padding: 17px 15px; }
  .drive-instruction strong { font-size: 14px; }
  .instruction-icon { width: 47px; height: 47px; }
  .instruction-icon .icon { width: 26px; height: 26px; }
  .playback-controls { padding: 10px 15px; }
  .arrival-card { bottom: 25px; width: calc(100% - 32px); }
  .help-dialog { padding: 29px 25px; }
  .help-dialog h2 { font-size: 26px; }
}

@media (max-width: 385px) {
  .stage-top { left: 16px; right: 13px; }
  .map-caption h2 { font-size: 14px; }
  .map-caption .eyebrow { font-size: 6px; }
  .floor-selector button { min-width: 26px; padding: 0 6px; }
  .sidebar-main { padding-left: 19px; padding-right: 19px; }
  h1 { font-size: 25px; }
  .sidebar-footer { padding-left: 19px; padding-right: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.stellos-logo { display: block; width: clamp(84px, 12vw, 142px); height: auto; }
