:root {
  color-scheme: dark;
  font-family: Aptos, "Segoe UI", sans-serif;
  color: #edf4e9;
  background: #111d1d;
  --surface: #1b2c29;
  --line: #36504a;
  --muted: #b4c5bc;
  --mint: #d4edba;
  --amber: #f0bc6b;
  --metal: #79e1bf;
  --coral: #ff9b88;
}
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; }
a { color:inherit; }
button { font:inherit; cursor:pointer; }
button, a { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,canvas:focus-visible { outline:2px solid var(--amber); outline-offset:3px; }
button:disabled { cursor:default; opacity:.45; }
p,h1,h2,dl,dd { margin:0; }
[hidden] { display:none !important; }
#tour-app { max-width:1920px; margin:auto; }
#tour-app:fullscreen { background:#111d1d; overflow:auto; }
.standalone { display:flex; align-items:center; justify-content:space-between; gap:13px; padding:16px clamp(14px,3vw,37px); border-bottom:1px solid var(--line); }
.standalone a { text-decoration:none; font-size:13px; font-weight:700; }
.logo { display:flex; align-items:center; gap:13px; }
.logo strong { font-size:28px; line-height:1; letter-spacing:-.075em; }
.logo strong span { color:var(--amber); }
.logo small { color:var(--muted); font-size:9px; letter-spacing:.14em; }
.embedded .standalone { display:none; }
.tour-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(275px,310px); }
.viewport { position:relative; overflow:hidden; width:100%; min-height:558px; background:radial-gradient(ellipse at 42% 48%,#314943,#182729 65%); }
#tour-app:fullscreen .viewport { min-height:max(558px, calc(100vh - 205px)); }
.scene-preview { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#22352a; pointer-events:none; }
.viewport[data-night=true] .scene-preview { filter:brightness(.69) saturate(.90) hue-rotate(15deg); }
#view { position:absolute; width:100%; height:100%; inset:0; display:block; cursor:grab; touch-action:none; visibility:hidden; }
.viewport[data-scene=live] #view { visibility:visible; }
.viewport:not([data-scene=live]) .markers { visibility:hidden; }
#view:active { cursor:grabbing; }
#view:focus-visible { outline-offset:-4px; }
.loading,.static-link { z-index:3; position:absolute; bottom:10px; left:16px; color:#e8f2eb; background:#122421ec; border:1px solid #56756d77; border-radius:5px; font-size:10px; font-weight:700; padding:5px 7px; }
.loading { pointer-events:none; }
.viewport:not([data-scene=live]) .canvas-hint { display:none; }
body[data-capture] .loading { display:none; }
.scene-top,.scene-bottom { position:absolute; left:16px; right:16px; display:flex; justify-content:space-between; gap:10px; pointer-events:none; z-index:3; }
.scene-top { top:16px; align-items:start; }
.scene-top>div:first-child { display:grid; gap:5px; padding:9px 11px; background:#122421e6; border:1px solid #56756d77; border-radius:8px; }
.scene-top strong { font-size:14px; }
.eyebrow { display:flex; align-items:center; gap:6px; font-size:10px; letter-spacing:.13em; font-weight:750; color:#d9e9db; }
.eyebrow i { width:7px; height:7px; border-radius:50%; background:#a1dca7; box-shadow:0 0 9px #92d8a8a0; }
.scene-controls,.camera-tools { display:flex; flex-wrap:wrap; gap:3px; padding:4px; background:#122421ec; border:1px solid #56756db0; border-radius:8px; pointer-events:auto; }
.scene-controls button,.camera-tools button,.mode-bar button,.steppers button { color:inherit; background:none; border:1px solid transparent; border-radius:5px; padding:7px 9px; white-space:nowrap; font-size:12px; font-weight:650; }
.scene-controls button[aria-pressed=true],.mode-bar button[aria-pressed=true] { color:#172c21; background:var(--mint); }
.scene-controls button:hover:not([aria-pressed=true]),.camera-tools button:hover,.mode-bar button:hover:not([aria-pressed=true]),.steppers button:hover:enabled { background:#36504a; }
.scene-bottom { align-items:end; bottom:32px; }
.legend { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:8px 9px; background:#122421ed; border:1px solid #56756d77; border-radius:8px; font-size:10px; font-weight:650; color:#e8efe3; }
.legend span { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.legend i { width:12px; height:3px; border-radius:5px; }
.amber { background:var(--amber); }.mint { background:var(--metal); }.coral { background:var(--coral); }
.camera-tools button { padding:4px 8px; min-width:29px; font-size:18px; }
.canvas-hint { position:absolute; z-index:2; bottom:10px; left:17px; color:#d2dfd4; font-size:10px; letter-spacing:.025em; pointer-events:none; text-shadow:0 1px 2px #000; }
.markers { position:absolute; inset:0; pointer-events:none; z-index:2; }
.marker { position:absolute; pointer-events:auto; transform:translate(-50%,-100%); display:flex; align-items:center; gap:5px; background:#162823ed; border:1px solid #8fb8a8; border-radius:18px; color:white; font-size:10px; font-weight:750; padding:4px 7px 4px 4px; box-shadow:0 2px 12px #0815139c; white-space:nowrap; }
.marker::after { content:""; width:1px; height:6px; background:#e6eeda; position:absolute; top:100%; left:50%; }
.marker b { background:#d4edba; color:#183426; display:grid; place-items:center; width:19px; height:19px; border-radius:50%; font-size:9px; }
.marker[aria-pressed=true] { background:#f1c078; border-color:#ffe5b6; color:#1e3026; z-index:4; }
.marker[aria-pressed=true] b { color:#f6f3e7; background:#243c31; }
body[data-capture] .markers,body[data-capture] .scene-top,body[data-capture] .scene-bottom,body[data-capture] .canvas-hint { visibility:hidden; }
.stop-panel { border-left:1px solid var(--line); background:linear-gradient(170deg,#223731,#192823); display:flex; flex-direction:column; min-width:0; }
.mode-bar { display:flex; gap:2px; padding:12px 10px; border-bottom:1px solid var(--line); }
.mode-bar button { flex:auto; font-size:11px; padding:7px 5px; }
.stop-content { padding:20px 17px 14px; }
.stop-kicker { color:#b6d9b0; }
.stop-content h1 { font-size:30px; letter-spacing:-.055em; line-height:1.02; margin:8px 0 10px; }
.description { color:var(--muted); font-size:13px; line-height:1.55; }
.stop-details { display:grid; gap:0; margin-top:14px; }
.stop-detail { border-top:1px solid var(--line); padding:9px 0; }
.stop-detail dt { font-size:11px; color:#d9efcb; font-weight:750; margin-bottom:4px; }
.stop-detail dd { font-size:12px; line-height:1.42; color:#d0dad3; }
.record-link { display:inline-block; margin-top:8px; color:#e4eeb6; text-underline-offset:3px; font-size:12px; font-weight:700; }
.tour-control { margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:5px; padding:12px; border-top:1px solid var(--line); }
#play { color:#1b3326; background:var(--mint); border:0; padding:9px 8px; border-radius:6px; font-size:11px; font-weight:750; }
#play:hover { background:#e9f9db; }
.steppers { display:flex; gap:2px; }
.steppers button { border-color:#4c665c; padding:5px 7px; }
.stop-navigation { display:grid; grid-template-columns:4fr 6fr; gap:14px; padding:12px 16px; border-top:1px solid var(--line); background:#1a2a27; }
.stop-navigation h2 { color:#c4d5c9; font-size:11px; margin:0 0 7px; }
.stops { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:4px; }
.stops button { padding:7px 5px; min-width:0; text-align:left; display:grid; gap:3px; color:#ecf2e7; border:1px solid #3b554d; border-radius:5px; background:#1e312b; line-height:1.2; font-size:11px; }
.stops button b { display:block; color:#b2cbb5; font-size:10px; }
.stops button:hover,.stops button[aria-pressed=true] { background:#375845; border-color:#84ab8e; }
.stops button[aria-pressed=true] b { color:#ffe3ad; }
.tour-footer { display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:10px 16px; color:var(--muted); background:#172522; border-top:1px solid var(--line); font-size:10px; line-height:1.4; }
.tour-footer a { white-space:nowrap; text-underline-offset:2px; }
@media(max-width:900px) {
  .tour-layout { grid-template-columns:minmax(0,1fr) minmax(235px,267px); }
  .mode-bar button { font-size:10px; }
  .scene-top,.scene-bottom { left:9px; right:9px; }
  .stop-content { padding-inline:13px; }
  .stop-content h1 { font-size:26px; }
  .stop-navigation { grid-template-columns:1fr; gap:10px; }
  .viewport { min-height:520px; }
}
@media(max-width:690px) {
  .tour-layout { display:block; }
  .viewport { min-height:0; height:clamp(405px,92vw,530px); }
  .stop-panel { border-top:1px solid var(--line); border-left:0; }
  .scene-top { top:9px; flex-wrap:wrap; }
  .scene-top strong { font-size:12px; }
  .scene-top>div:first-child { padding:6px 7px; }
  .scene-top .eyebrow { font-size:8px; }
  .scene-controls button { font-size:10px; padding:5px 6px; }
  .scene-bottom { flex-wrap:wrap; }
  .legend { font-size:9px; gap:5px 8px; }
  .camera-tools { margin-left:auto; }
  .marker span { display:none; }
  .marker { padding:3px; }
  .stop-navigation { padding-inline:9px; }
  .stops { grid-auto-flow:row; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .tour-footer { padding-inline:9px; }
}
body[data-capture] .standalone,body[data-capture] .stop-panel,body[data-capture] .stop-navigation,body[data-capture] .tour-footer { display:none; }
body[data-capture] .tour-layout { display:block; }
body[data-capture] .viewport { width:100%; height:100vh; min-height:0; }
