:root{--bg:#f6f3ec;--surface:#fff;--surface-2:#f0ebe1;--text:#1e1b16;--muted:#5e574b;--border:#ddd5c6;--accent:#e2b65c;--accent-text:#1a1509;--accent-ink:#855a0c;--accent-soft:#e2b65c38;--live:#2f9c80;--live-text:#fff;--error:#9b1c1c;--focus:#1d4ed8;--radius:14px;--radius-lg:20px;--gap:clamp(.75rem, 1.6vw, 1rem);--header-height:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#12110f;--surface:#1c1a17;--surface-2:#25221e;--text:#f3eee6;--muted:#b0a799;--border:#34302a;--accent-ink:#e2b65c;--accent-soft:#e2b65c2e;--live:#5fd0b0;--live-text:#0e2a22;--error:#ff9b9b;--focus:#f0cd85}}*,:before,:after{box-sizing:border-box}body{margin:0}body,#root{flex-direction:column;min-height:100vh;display:flex}#root{flex:1}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}a{color:var(--accent-ink)}.skip-link{left:var(--gap);background:var(--accent);color:var(--accent-text);border-radius:var(--radius);z-index:10;padding:.5rem 1rem;position:absolute;top:-100px}.skip-link:focus{top:var(--gap)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--muted);margin:0}.small{font-size:.85rem}.error{color:var(--error)}.error p{margin:0 0 .5rem}.app-header{min-height:var(--header-height);padding:.5rem calc(var(--gap) * 1.5);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:.25rem 1.5rem;display:flex}.brand{letter-spacing:-.01em;align-items:center;gap:.6rem;margin:0;font-size:1.25rem;font-weight:700;display:inline-flex}.brand .icon{color:var(--accent-ink)}.header-route{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin:0;font-size:.95rem;display:inline-flex}.header-route strong{color:var(--text);font-weight:600}.layout{gap:var(--gap);padding:var(--gap);grid-template-columns:minmax(0,1fr);display:grid}.layout:focus{outline:none}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:calc(var(--gap) * 1.25);flex-direction:column;gap:.85rem;min-width:0;display:flex}.panel h2{letter-spacing:-.01em;margin:0;font-size:1.15rem}@media (width<=1023px){.map-view{flex:none;height:55vh;min-height:18rem}}.side-column{gap:var(--gap);flex-direction:column;min-width:0;display:flex}.stage{flex-direction:column;flex:1;gap:.75rem;min-height:0;display:flex;position:relative}@media (width>=1024px){body,#root{height:100dvh;min-height:0}.layout{flex:1;grid-template-columns:minmax(0,1fr) clamp(340px,30vw,440px);min-height:0}.route-panel{min-height:0;padding:0;overflow:hidden}.side-column{min-height:0}.route-card{flex:none}.chat-panel{flex:1;min-height:0;overflow-y:auto}.map-view{border-radius:var(--radius-lg);flex:1;min-height:20rem}}button{font:inherit;border:1px solid var(--accent);background:var(--accent);min-width:44px;min-height:44px;color:var(--accent-text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:600;display:inline-flex}button.secondary{border-color:var(--border);color:var(--text);background:0 0;font-weight:500}button.secondary:hover:not(:disabled){background:var(--surface-2)}button.primary:hover:not(:disabled){filter:brightness(1.06)}button:disabled{cursor:not-allowed;opacity:.55}.icon{flex:none}.chat-heading{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.chat-intro{color:var(--muted);margin:0}.mode-badge{background:var(--surface-2);border:1px solid var(--border);border-radius:999px;padding:.2rem .65rem;font-size:.8rem;font-weight:600}.mode-live{border-color:var(--live);color:var(--text)}.profile-toggle{border:0;gap:.5rem;min-width:0;margin:0;padding:0;display:grid}.profile-toggle legend{margin-bottom:.5rem;padding:0;font-weight:600}.profile-option{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);align-items:center;gap:.75rem;min-height:44px;padding:.75rem 1rem;display:flex;position:relative}.profile-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.profile-option:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.profile-option input{z-index:1;width:1.25rem;height:1.25rem;accent-color:var(--accent-ink);flex:none;order:2;margin:0;position:relative}.profile-option label{cursor:pointer;flex:1;align-items:center;gap:.85rem;display:flex}.profile-option label:after{content:"";position:absolute;inset:0}.profile-icon{background:var(--surface-2);width:2.5rem;height:2.5rem;color:var(--muted);border-radius:12px;flex:none;place-items:center;display:grid}.profile-option:has(input:checked) .profile-icon{background:var(--accent);color:var(--accent-text)}.profile-text{flex-direction:column;min-width:0;display:flex}.profile-hint{color:var(--muted);font-size:.9rem}.profile-toggle.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-toggle.is-compact legend{color:var(--muted);font-size:.85rem}.profile-toggle.is-compact .profile-option{padding:.5rem .75rem}.profile-toggle.is-compact .profile-icon{border-radius:10px;width:2rem;height:2rem}.profile-toggle.is-compact .profile-hint{display:none}@media (width<=599px){.profile-toggle.is-compact .profile-icon{display:none}}.profile-toggle.is-compact strong{font-size:.9rem;line-height:1.25}.talk-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.talk-row>button{border-radius:var(--radius);flex:12rem;min-height:52px;font-size:1.05rem}.hold-to-talk{background:var(--accent);touch-action:none;-webkit-user-select:none;user-select:none}.hold-to-talk.is-recording{background:var(--live);border-color:var(--live);color:var(--live-text);box-shadow:0 0 0 6px color-mix(in srgb, var(--live) 22%, transparent)}.voice-status:empty{display:none}.voice-status{font-size:.9rem}.captions{flex-direction:column;flex:1;gap:.75rem;min-height:8rem;max-height:60vh;padding:.25rem .25rem .25rem 0;display:flex;overflow-y:auto}@media (width>=1024px){.captions{min-height:6rem;max-height:none}}.caption{margin:0;line-height:1.5}.caption-speaker{font-weight:600}.caption-guide .caption-speaker{letter-spacing:.06em;text-transform:uppercase;color:var(--accent-ink);font-size:.75rem;display:block}.caption-traveller{background:var(--surface-2);border-radius:16px 16px 4px;align-self:flex-end;max-width:85%;padding:.55rem .9rem}.caption-traveller .caption-speaker{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.caption-app{color:var(--muted);text-align:center;align-items:center;gap:.75rem;font-size:.85rem;display:flex}.caption-app:before,.caption-app:after{content:"";background:var(--border);flex:1;height:1px}.message-form{gap:.5rem;display:flex}.message-form input{min-width:0;min-height:44px;font:inherit;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg);color:var(--text);flex:1;padding:0 .9rem}.message-form button{border-radius:var(--radius)}.chat-panel.is-active .captions{order:1}.chat-panel.is-active .talk-row{order:2}.chat-panel.is-active .voice-status{order:3}.chat-panel.is-active .message-form{order:4}.start-view{inset:var(--header-height) 0 0;z-index:5;background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);place-items:center;padding:clamp(1rem,4vw,3rem);display:grid;position:fixed;overflow-y:auto}.start-dialog{flex-wrap:wrap;align-items:center;gap:clamp(1.5rem,5vw,4rem);width:min(72rem,100%);display:flex}.start-hero{flex-direction:column;flex:22rem;gap:1rem;min-width:0;display:flex}.eyebrow{letter-spacing:.1em;text-transform:uppercase;color:var(--accent-ink);margin:0;font-size:.8rem;font-weight:600}.start-hero h2{letter-spacing:-.02em;margin:0;font-size:clamp(2rem,4.2vw,3.6rem);line-height:1.05}.start-lede{max-width:34rem;color:var(--muted);margin:0;font-size:1.1rem}.start-choice{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);flex-direction:column;flex:24rem;gap:.75rem;min-width:0;padding:clamp(1rem,2.5vw,1.75rem);display:flex}.start-choice .profile-toggle legend{font-size:1.15rem}.start-talk{border-radius:var(--radius);min-height:56px;margin-top:.25rem;font-size:1.05rem}.start-choice .secondary{border-radius:var(--radius)}.start-note{text-align:center}.walk-progress-text{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.walk-controls{flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;display:flex}.walk-transport,.walk-extras{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.control-group{align-items:center;gap:.5rem;display:inline-flex}.control-label{color:var(--muted);font-size:.85rem}.segmented{background:var(--surface-2);border-radius:999px;flex-wrap:wrap;gap:2px;padding:3px;display:inline-flex}.segmented button{min-height:38px;color:var(--muted);background:0 0;border:0;padding:.25rem .8rem;font-size:.9rem;font-weight:500}@media (pointer:coarse){.segmented button{min-height:44px}}.segmented button:hover:not(:disabled){color:var(--text)}.segmented button[aria-pressed=true]{background:var(--text);color:var(--bg)}.icon-button{width:44px;padding:0}.sound-credits{color:var(--muted)}.walk-hint{flex-basis:100%;font-size:.9rem}@media (width<=599px){.walk-controls{align-items:stretch}.control-group{flex-direction:column;align-items:stretch;width:100%}.segmented{border-radius:16px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.segmented-time{grid-template-columns:repeat(2,minmax(0,1fr))}.segmented button{border-radius:12px}.header-route{font-size:.85rem}}@media (width>=1024px){.stage .walk-controls{--text:#f3eee6;--muted:#c9c1b5;--bg:#12110f;--surface-2:#2a2620;--border:#3d382f;z-index:2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);width:max-content;max-width:calc(100% - 1.5rem);color:var(--text);background:#12110fe6;border:1px solid #ffffff14;border-radius:28px;justify-content:center;gap:.5rem .75rem;padding:6px;position:absolute;bottom:3.5rem;left:50%;transform:translate(-50%)}.stage .walk-controls .control-label,.stage .walk-controls .walk-hint,.stage .walk-controls .btn-text{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.stage .walk-controls .play-button:has(.btn-text){width:44px;padding:0}.stage .walk-controls .walk-extras{padding-right:.5rem}}.route-card-head{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.route-progress{appearance:none;background:var(--surface-2);width:100%;height:6px;accent-color:var(--accent);border:0;border-radius:6px;overflow:hidden}.route-progress::-webkit-progress-bar{background:var(--surface-2)}.route-progress::-webkit-progress-value{background:var(--accent);border-radius:6px}.route-progress::-moz-progress-bar{background:var(--accent);border-radius:6px}.stops{counter-reset:stop;flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.stop{counter-increment:stop;align-items:flex-start;gap:.85rem;padding-bottom:.55rem;display:flex;position:relative}.stop:before{content:counter(stop);z-index:1;border:2px solid var(--border);background:var(--surface);width:1.75rem;height:1.75rem;color:var(--muted);border-radius:999px;flex:none;place-items:center;font-size:.8rem;font-weight:600;display:grid;position:relative}.stop:not(:last-child):after{content:"";background:var(--border);width:2px;position:absolute;top:1.85rem;bottom:.05rem;left:calc(.875rem - 1px)}.stop-title{padding-top:.2rem;line-height:1.35}.stop-title:after{color:var(--muted);margin-left:.5rem;font-size:.8rem;font-weight:400}.stop-done{color:var(--muted)}.stop-done:before{content:"✓";background:var(--accent-soft);color:var(--accent-ink);border-color:#0000}.stop-done:not(:last-child):after{background:color-mix(in srgb, var(--accent) 55%, var(--border))}.stop-done .stop-title:after{content:"Passed"}.stop-next:before{border-color:var(--accent);color:var(--accent-ink)}.stop-next .stop-title:after{content:"Up next";color:var(--accent-ink)}.stop-current .stop-title{font-weight:600}.stop-current:before{border-color:var(--accent);background:var(--accent);color:var(--accent-text);box-shadow:0 0 0 4px var(--accent-soft)}.stop-current .stop-title:after{content:"You are here";color:var(--accent-ink);font-weight:400}.map-view{border-radius:var(--radius);background:#0e1113;flex:1;min-height:24rem;position:relative;overflow:hidden}.map-canvas{position:absolute;inset:0}.map-loading{padding:var(--gap);pointer-events:none;background:#0e11138c;place-items:center;display:grid;position:absolute;inset:0}.map-loading p{border-radius:var(--radius);color:#f3eee6;background:#12110fe0;border:1px solid #ffffff14;max-width:26rem;margin:0;padding:1rem 1.25rem;line-height:1.5}.map-overlay{border-radius:var(--radius);color:#f3eee6;background:#12110fd9;margin:0;padding:.6rem .85rem;position:absolute;inset:.75rem .75rem auto}.map-overlay.error{color:#ffb4a8}.map-caption{border-radius:var(--radius);color:#f3eee6;pointer-events:none;z-index:1;background:#12110fdb;border:1px solid #ffffff14;max-width:46rem;margin:0 auto;padding:.85rem 1.1rem;font-size:clamp(.95rem,1.4vw,1.2rem);line-height:1.45;position:absolute;bottom:3.5rem;left:.75rem;right:3.5rem}@media (width>=1024px){.map-caption{bottom:8rem}}@media (width<=599px){.map-caption{padding:.6rem .8rem}.map-caption-text{-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.map-top{gap:.35rem;top:.5rem;left:.5rem;right:.5rem}.walk-progress{padding:.45rem .7rem;font-size:.85rem}.street-level-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.75rem;overflow:hidden}}.map-caption-speaker{letter-spacing:.08em;text-transform:uppercase;color:#e2b65c;margin-bottom:.2rem;font-size:.75rem;font-weight:600;display:block}.street-level{pointer-events:none;position:absolute;inset:0 0 1.75rem}.street-level-surfaces,.street-level-surfaces>.street-level-surface{position:absolute;inset:0}.street-level-surface{opacity:0;visibility:hidden;transition:opacity .8s,visibility 0s linear .8s}.street-level[data-showing=mapillary] .street-level-mapillary,.street-level[data-showing=google] .street-level-google{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .8s,visibility}.map-top{z-index:1;pointer-events:none;flex-direction:column;align-items:flex-start;gap:.5rem;display:flex;position:absolute;top:.75rem;left:.75rem;right:.75rem}.walk-progress{border-radius:var(--radius);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#f3eee6;background:#12110fd9;border:1px solid #ffffff14;max-width:min(28rem,100%);padding:.65rem .95rem}.street-level-label{color:#f3eee6;background:#12110fd1;border-radius:999px;max-width:min(28rem,100%);margin:0;padding:.4rem .75rem;font-size:.9rem}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
