:root{font-family:Inter,"Helvetica Neue",Arial,sans-serif;color:#252d30;background:#eae6dc;font-synthesis:none;--paper:#faf8f1;--ink:#252d30;--muted:#687071;--line:#c9c9bf;--accent:#672f43;--soft:#ece7df;--shadow:0 12px 40px #1c252318}
*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.45;cursor:wait}button:hover{background:#dedbd26e}button.active{background:var(--ink);color:#fff}a{color:var(--accent);text-underline-offset:3px}p{line-height:1.6}strong{font-weight:550}button,select{min-height:42px}#experience{height:100svh;min-height:560px;overflow:hidden;position:relative}#viewport{position:absolute;inset:0;background:linear-gradient(#e8e5dd,#f1eee7)}#viewport canvas{display:block;width:100%;height:100%;outline:none}.topbar{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:24px 30px;gap:24px;pointer-events:none;background:linear-gradient(#f4f1e9e8,transparent)}.topbar>*{pointer-events:auto}.identity{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;min-width:215px}.identity-mark{font-family:Georgia,serif;font-size:31px;border:1px solid #838c89;width:43px;height:46px;display:grid;place-items:center}.identity strong{font-size:22px;letter-spacing:-.6px}.identity small{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;margin-top:4px}.modes{display:flex;gap:3px;padding:4px;background:#faf8f0e8;border:1px solid #c9c9bf;border-radius:6px;box-shadow:0 3px 12px #2221}.modes button{padding:0 22px;border-radius:3px;font-size:13px}.quiet-button{font-size:12px;padding:0 12px;border-radius:3px}.quiet-button span{margin-left:10px}.topbar>.quiet-button{background:#f8f5ecdf;border:1px solid #d0cfc5}.view-caption{position:absolute;top:125px;left:32px;max-width:315px;pointer-events:none;text-shadow:0 1px 16px #fff;background:linear-gradient(100deg,#eeece49c,transparent);padding:0 14px 12px 0}.eyebrow{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.7px;color:var(--muted);font-weight:550}.view-caption h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.2px;font-size:39px;line-height:1.09;margin:13px 0 12px}.view-caption p{font-size:12px;max-width:260px;margin:0;color:#545e60}.scene-tools{position:absolute;right:25px;top:135px;display:flex;flex-direction:column;gap:7px}.scene-tools button{display:flex;align-items:center;gap:9px;min-width:98px;border:1px solid #d0cfc4;background:#faf8f1ed;border-radius:4px;padding:0 12px;font-size:11px;box-shadow:0 3px 12px #2221}.scene-tools button>span:first-child{font-size:20px}.scene-tools button[aria-pressed=true]{border-color:#8a6973;color:var(--accent)}.bottom-bar{position:absolute;inset:auto 0 0;padding:0 30px 20px;background:linear-gradient(transparent,#efede4f5);pointer-events:none}.bottom-bar nav{pointer-events:auto;display:flex;width:max-content;max-width:100%;overflow:auto;border:1px solid #c5c6bc;border-radius:4px;background:#faf8f1f5;box-shadow:var(--shadow)}.bottom-bar nav button{white-space:nowrap;padding:0 18px;font-size:11px;min-height:43px;border-right:1px solid #dcdbd2}.bottom-bar nav button:last-child{border-right:0}.model-caption{display:flex;align-items:center;gap:7px;margin-top:13px;font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#586161}.status-dot{width:5px;height:5px;border-radius:50%;background:#6d7d77}.gesture-hint{margin-left:auto;text-transform:none;letter-spacing:.2px;font-size:10px}.loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-width:280px;display:flex;align-items:center;flex-direction:column;gap:12px;padding:32px;background:#faf8f1ed;border:1px solid #d3d1c8;border-radius:5px;box-shadow:var(--shadow)}.loading strong{font-family:Georgia,serif;font-size:24px;font-weight:400}.loading>span:last-of-type{font-size:11px;color:var(--muted)}.loading progress{width:190px;height:3px;accent-color:var(--accent);margin-top:5px}.loading-orbit{width:27px;height:27px;border:1px solid #c8c4b8;border-top-color:var(--accent);border-radius:50%;animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading[hidden]{display:none}.place-label{position:absolute;transform:translate(-50%,-50%);background:#faf8f1e6;padding:5px 8px;border:1px solid #afb5b0;border-radius:2px;font-size:10px;font-weight:550;color:#3c4b4e;white-space:nowrap;pointer-events:none;box-shadow:0 2px 5px #2221}.place-label::before{content:"";position:absolute;width:1px;height:11px;background:#8e9793;left:50%;top:100%}.drawer{position:absolute;right:18px;top:94px;bottom:110px;width:370px;overflow:auto;background:#faf8f3fa;border:1px solid #c5c4bc;box-shadow:var(--shadow);border-radius:5px;padding:20px 24px 30px;z-index:5}.drawer[hidden]{display:none}.drawer-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.drawer-head button{font-size:27px;line-height:1;width:34px}.drawer h2{font-family:Georgia,serif;font-size:28px;font-weight:400;letter-spacing:-.6px;margin:15px 0}.drawer h3{font-size:13px;font-weight:600;margin:26px 0 8px}.drawer p,.drawer li{font-size:12px;line-height:1.65;color:#596466}.drawer p{margin:8px 0 15px}.drawer ul{padding-left:18px}.drawer .lead{font-size:14px;color:#384648}.drawer .note{padding:12px 0;border-top:1px solid #d6d5cc;border-bottom:1px solid #d6d5cc;font-size:11px;color:#69706b}.source-links{list-style:none;padding:0!important}.source-links li{padding:9px 0;border-bottom:1px solid #deddd5}.source-links small{display:block;font-size:10px;color:#7a807d}.drawer details{border-bottom:1px solid #d8d7ce;padding:12px 0;font-size:12px}.drawer summary{cursor:pointer;line-height:1.5}.field{display:grid;grid-template-columns:1fr 92px;align-items:center;gap:14px;font-size:12px;margin:12px 0}.field input,.field select{min-width:0;width:100%;border:1px solid #c6c7bd;background:#fffef8;color:var(--ink);border-radius:3px;padding:8px;font-size:12px;min-height:36px}.primary-button{display:block;width:100%;background:var(--accent);color:#fff;border-radius:3px;padding:10px;font-size:12px;margin-top:18px}.primary-button:hover{background:#7c3d53}.secondary-button{border:1px solid #babfb7;border-radius:3px;padding:8px 12px;font-size:11px}.flow-bar{position:absolute;left:30px;bottom:124px;display:flex;align-items:center;gap:18px;background:#faf8f1f2;border:1px solid #c9c9bf;box-shadow:var(--shadow);border-radius:5px;padding:9px 14px}.flow-bar[hidden]{display:none}.flow-bar .eyebrow{font-size:8px;letter-spacing:1.2px}.flow-bar strong{display:block;font-size:20px;font-variant-numeric:tabular-nums;margin-top:4px;font-weight:450}.flow-bar .play-button{background:var(--accent);color:#fff;width:40px;border-radius:50%;font-size:13px}.speed-label{display:flex;flex-direction:column;font-size:8px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.speed-label select{border:0;background:transparent;min-height:27px;padding:0;font-size:12px;color:var(--ink)}.flow-stat{border-left:1px solid #d7d6ce;padding-left:18px}.flow-stat strong{font-size:20px}.flow-stat span{font-size:9px;color:var(--muted)}.facts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #cecec3;margin:16px 0}.facts div{border-bottom:1px solid #deddd3;padding:12px 0}.facts strong{display:block;font-size:23px;font-weight:400;font-variant-numeric:tabular-nums}.facts span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.mini-table{border-collapse:collapse;width:100%;font-size:11px;margin:20px 0}.mini-table th,.mini-table td{padding:10px 3px;text-align:right;border-bottom:1px solid #d9d8d0;font-variant-numeric:tabular-nums}.mini-table th:first-child,.mini-table td:first-child{text-align:left}.mini-table th{font-weight:500;font-size:10px;color:#68716d}.mini-table td:last-child{color:var(--accent)}.chart{width:100%;height:auto;display:block}.chart text{font-size:10px;fill:#6d7571}.legend{display:flex;gap:18px;font-size:10px;color:#68716d}.legend i{display:inline-block;width:14px;height:2px;background:#6a7880;vertical-align:middle;margin-right:6px}.legend span:last-child i{background:var(--accent)}#toast{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:3px;font-size:12px;z-index:8;max-width:85vw;text-align:center}.has-drawer .scene-tools{right:410px}.has-drawer .view-caption{max-width:260px}.has-drawer .bottom-bar nav{max-width:calc(100% - 390px)}
@media(max-width:900px){.topbar{padding:17px 20px;gap:12px}.identity{min-width:150px}.identity strong{font-size:20px}.identity small{font-size:8px}.modes button{padding:0 14px}.topbar>.quiet-button{font-size:0;min-width:40px}.topbar>.quiet-button span{font-size:17px;margin:0}.view-caption{left:22px;top:114px;max-width:235px}.view-caption h1{font-size:31px}.view-caption p{max-width:210px;font-size:11px}.bottom-bar{padding:0 20px 17px}.bottom-bar nav button{padding:0 13px}.scene-tools{right:18px;top:116px}.scene-tools button{min-width:42px;padding:0 10px}.scene-tools button>span:last-child{display:none}.has-drawer .scene-tools{display:none}.drawer{width:340px;right:12px;padding:17px 21px}.has-drawer .bottom-bar nav{max-width:calc(100% - 355px)}.flow-bar{left:20px;gap:12px}.gesture-hint{display:none}}
@media(max-width:600px){#experience{min-height:530px}.topbar{padding:14px;flex-wrap:wrap;gap:10px}.identity{min-width:unset;flex:1}.identity-mark{height:36px;width:34px;font-size:25px}.identity strong{font-size:19px}.identity small{font-size:8px}.modes{order:3;position:absolute;top:76px;left:14px;padding:3px}.modes button{font-size:11px;min-height:34px;padding:0 17px}.topbar>.quiet-button{min-height:36px}.view-caption{left:16px;top:134px;max-width:230px}.view-caption h1{font-size:29px;letter-spacing:-.7px;margin:10px 0}.view-caption p{font-size:10px;max-width:185px}.view-caption .eyebrow{font-size:8px}.scene-tools{top:77px;right:14px;gap:5px}.scene-tools button{min-height:36px}.scene-tools button>span:first-child{font-size:17px}.bottom-bar{padding:0 14px 13px}.bottom-bar nav{width:100%;scrollbar-width:none}.bottom-bar nav button{padding:0 14px;font-size:10px;min-height:40px}.model-caption{font-size:7px;margin-top:10px}.drawer{top:70px;left:10px;right:10px;bottom:91px;width:auto;padding:13px 21px;z-index:6}.has-drawer .bottom-bar nav{max-width:100%}.has-drawer .view-caption{display:none}.flow-bar{left:14px;right:14px;bottom:96px;gap:12px;padding:8px 10px}.flow-bar .quiet-button{margin-left:auto;padding:0 4px;font-size:10px}.flow-bar .eyebrow{font-size:7px}.flow-bar strong{font-size:17px}.flow-stat{padding-left:10px}.flow-stat span{font-size:8px}.flow-bar .play-button{width:33px;min-height:33px}.flow-bar .speed-label{font-size:7px}.place-label{font-size:8px;padding:4px 5px}.loading{min-width:250px}.has-drawer .flow-bar{display:none}}
@media(prefers-reduced-motion:reduce){.loading-orbit{animation:none}}
/* Functional copy stays readable at each viewport. */
.identity small,.eyebrow,.scene-tools button,.bottom-bar nav button,.model-caption,.gesture-hint,.place-label,.drawer .note,.source-links small,.secondary-button,.flow-bar .eyebrow,.speed-label,.flow-stat span,.facts span,.mini-table,.mini-table th,.legend{font-size:12px}.eyebrow{letter-spacing:1px}.identity small{letter-spacing:.3px;text-transform:none}.model-caption{text-transform:none;letter-spacing:.1px}.view-caption p,.flow-bar .quiet-button{font-size:12px}.chart text{font-size:12px}.flow-bar .play-button{min-width:40px;min-height:40px}.flow-stat span{display:block;max-width:110px}.field{grid-template-columns:1fr 120px}.scale-switch{position:absolute;right:25px;bottom:122px;display:flex;padding:3px;border:1px solid #bbbfb6;border-radius:4px;background:#faf8f1ee;gap:3px}.scale-switch button{font-size:12px;padding:0 14px;border-radius:2px}.city-view{position:absolute;inset:0;background:#c8d9da}.city-view[hidden]{display:none}.city-view svg{width:100%;height:100%;padding:95px 10px 110px}.map-water{font:italic 350px Georgia,serif;fill:#5e7c80;letter-spacing:12px}.map-place{font:260px Arial,sans-serif;fill:#7a7c71;letter-spacing:40px}.map-label{font:240px Arial,sans-serif;fill:#333f40}.map-detail{font:190px Arial,sans-serif;fill:#626c68}.map-site{cursor:pointer}.map-site:focus{outline:none}.map-site:focus circle{stroke:#d7a054}.city-attribution{position:absolute;bottom:0;right:25px;max-width:380px;font-size:12px;color:#4e6062;text-align:right}.case-list{list-style:none!important;padding:0!important}.case-list button{text-align:left;width:100%;padding:10px 0;border-bottom:1px solid #d6d4ca;font-size:12px}.case-list small{display:block;font-size:12px;color:#687471;margin-top:5px}.event-list{padding-left:20px;font-size:12px}.event-list li{margin:12px 0}.event-time{font-variant-numeric:tabular-nums;color:#7a3f52}.flight-table{width:100%;border-collapse:collapse;font-size:12px}.flight-table td,.flight-table th{padding:10px 4px;border-bottom:1px solid #dad7cd;text-align:left;vertical-align:top}.flight-table small{font-size:11px;display:block;color:#67706d}.flight-table button{min-height:30px;padding:0;color:#71354e;text-align:left}.board-tabs{display:flex;gap:6px;margin:15px 0}.board-tabs button{font-size:12px;border:1px solid #c8c8bc;border-radius:3px;padding:0 10px}.case-focus{position:absolute;width:22px;height:22px;border:2px solid #7c2a4e;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%)}
@media(max-width:900px){.identity small,.view-caption p{font-size:12px}.identity{min-width:175px}.scale-switch{right:20px}}
@media(max-width:600px){.identity small{font-size:12px}.modes button,.view-caption .eyebrow,.bottom-bar nav button,.model-caption,.flow-bar .eyebrow,.flow-bar .speed-label,.flow-stat span,.place-label{font-size:12px}.modes button{min-height:40px;padding:0 15px}.view-caption{top:142px}.view-caption p{font-size:12px;max-width:220px}.model-caption{margin-top:9px}.flow-bar{bottom:142px;gap:10px;flex-wrap:wrap;padding:8px 10px}.flow-bar .flow-stat{margin-left:auto}.flow-bar .quiet-button{font-size:12px;min-height:30px}.flow-bar .eyebrow{max-width:80px;letter-spacing:0;text-transform:none}.flow-bar .speed-label{letter-spacing:0;text-transform:none}.scale-switch{right:14px;bottom:91px}.scale-switch button{min-height:36px}.city-view svg{padding:200px 0 180px}.city-attribution{font-size:12px;bottom:190px;right:15px;max-width:200px}.map-label{font-size:340px}.map-detail{font-size:290px}.has-drawer .scale-switch{display:none}.drawer{bottom:91px}.scene-tools{top:125px}}
.field-wide{grid-template-columns:1fr}.field-wide select{width:100%}.flow-bar{gap:12px}.flow-bar>.quiet-button{padding:0 7px}.scale-switch{bottom:206px}.has-drawer .scale-switch{right:410px}#view-nav[hidden]{display:none}#viewport[hidden]{display:none}
@media(max-width:900px){.flow-bar{max-width:calc(100vw - 40px);flex-wrap:wrap}.scale-switch{right:20px;bottom:214px}.has-drawer .scale-switch{display:none}}
@media(max-width:600px){.flow-bar{max-width:none;gap:8px;bottom:142px}.flow-bar>.quiet-button{margin-left:0;padding:0 6px}.scale-switch{right:14px;bottom:94px}.scene-tools{top:125px}.city-attribution{bottom:280px}.view-caption p{max-width:200px}.model-caption{max-width:250px}.flow-stat span{max-width:90px}}
.city-active .scene-tools,.city-active .gesture-hint{display:none}
.basemap-canvas{position:absolute;inset:0}.map-load-state{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:320px;background:#faf8f2;padding:20px;border:1px solid #b9bcb2;font-size:13px;box-shadow:var(--shadow)}.map-load-state[hidden]{display:none}.hotel-map-marker,.airport-map-marker{background:#fcfaf3;border:1px solid #795264;border-left:5px solid #783d52;padding:8px 11px;box-shadow:0 3px 10px #2332;color:#333f40;font-size:13px;text-align:left;min-height:42px;white-space:nowrap;border-radius:3px}.hotel-map-marker small{display:block;font-size:12px;color:#66716d;margin-top:4px}.airport-map-marker{border-color:#657b7e;font-size:12px}.vehicle-map-marker{width:12px;height:7px;border:1px solid white;display:block;background:#637778;box-shadow:0 0 0 1px #3e5555;border-radius:2px}.vehicle-map-marker.occupied{background:#783d52}.maplibregl-ctrl-top-right{top:96px;right:18px}.maplibregl-ctrl-bottom-right{bottom:0;right:0;max-width:70%;font-size:12px}.maplibregl-ctrl-attrib{background:#faf8f1e8!important}.map-scenario-note{position:absolute;bottom:45px;right:24px;max-width:360px;text-align:right;font-size:12px;color:#52625e;background:#faf8f1d9;padding:8px 10px;border-radius:3px}.city-active .model-caption{padding-bottom:22px}.has-drawer .maplibregl-ctrl-top-right{right:410px}@media(max-width:600px){.hotel-map-marker{font-size:12px;padding:5px 7px}.hotel-map-marker small{font-size:12px;max-width:135px;white-space:normal}.maplibregl-ctrl-top-right{top:75px;right:5px}.maplibregl-ctrl-bottom-right{max-width:100%;bottom:0}.maplibregl-ctrl-attrib{font-size:11px!important}.map-scenario-note{bottom:287px;right:14px;max-width:205px;font-size:12px}.city-active .model-caption{display:none}.has-drawer .maplibregl-ctrl-top-right{display:none}}
.checkpoint-stage{border-top:1px solid #d6d5cc;padding:4px 0 10px}.checkpoint-stage h3{margin:14px 0 6px}.checkpoint-stage p{font-size:12px;margin:5px 0}.lane-bars{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0}.lane-bars i{display:block;width:18px;height:8px;background:#d5d5cc;border:1px solid #b4bab1;border-radius:1px}.lane-bars i.open{background:#5b7b76;border-color:#5b7b76}.lane-bars i.setup{background:#bba16b;border-color:#bba16b}
/* Quiet contrast zones remain legible over every camera composition. */
.topbar{background:linear-gradient(#f4f1e9 0%,#f4f1e9ed 65%,#f4f1e900 100%)}
.view-caption{background:#f5f2e9e8;backdrop-filter:blur(8px);padding:14px 18px 16px;border-left:2px solid #8d8073;border-radius:0 3px 3px 0;text-shadow:none;max-width:305px}
.view-caption p{color:#485254}.view-caption .eyebrow{color:#555f60}
@media(max-width:600px){.view-caption{max-width:228px;padding:10px 12px;top:133px}.view-caption h1{font-size:27px;margin:8px 0}.view-caption p{font-size:12px;line-height:1.45}.view-caption .eyebrow{font-size:11px}.bottom-bar nav{scrollbar-width:thin;scroll-snap-type:x proximity}.bottom-bar nav button{scroll-snap-align:start}}
.field input[type=checkbox]{width:20px;height:20px;min-height:20px;justify-self:end;accent-color:var(--accent)}
.hotel-library-row strong{display:block;text-align:left;font-size:13px}.hotel-library-row small{display:block;text-align:left;line-height:1.45}.hotel-library-list{padding:0!important;list-style:none}.hotel-library-group h3{margin-top:24px}.hotel-library-facts th{text-align:left;font-weight:500;line-height:1.45}.hotel-library-facts td{text-align:right;line-height:1.45}
.drawer-playback{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;background:#faf8f3;border-bottom:1px solid #d2d1c7}.drawer-playback button{border:1px solid #b7bcb5;padding:0 12px;border-radius:3px}.drawer-playback strong{font-size:18px;font-variant-numeric:tabular-nums}.drawer-playback label{font-size:12px}.drawer-playback select{display:block;background:transparent;border:0;min-height:28px}

.map-scenario-note summary{cursor:pointer;pointer-events:auto;min-height:24px;line-height:24px}.map-scenario-note p{margin:6px 0;font-size:12px}.map-scenario-note[open]{max-width:300px}
@media(max-width:600px){.city-active .view-caption{top:128px;left:14px;max-width:245px;padding:8px 10px}.city-active .view-caption h1{font-size:25px;margin:4px 0}.city-active .view-caption p{display:none}.city-active .maplibregl-ctrl-top-right{top:185px;right:4px;display:flex;align-items:flex-start;flex-direction:row-reverse}.city-active .hotel-candidate-control{max-width:170px!important;padding:5px 8px!important}.city-active .candidate-status{display:none!important}.city-active .candidate-fit{font-size:12px!important}.city-active .map-scenario-note{bottom:30px;right:14px;max-width:180px;margin:0;padding:4px 9px}.city-active .map-scenario-note[open]{max-width:260px;padding:8px 10px}.city-active .map-scenario-note summary{font-size:12px}.city-active.has-drawer .maplibregl-ctrl-top-right,.city-active.has-drawer .map-scenario-note{display:none}}

@media(max-width:600px){.hotel-map-marker{max-width:145px;white-space:normal;line-height:1.25;font-size:12px}.hotel-map-marker small{max-width:135px;font-size:11px;line-height:1.25}.hotel-map-marker small+small{display:none}.airport-map-marker{max-width:130px;white-space:normal;font-size:12px;padding:5px 7px}}

#focus-details{pointer-events:auto;margin-top:8px;background:#faf8f1;font-size:12px;min-height:32px}#focus-details[hidden]{display:none}

#focus-follow{pointer-events:auto;margin-top:8px;margin-right:6px;background:#faf8f1;font-size:12px;min-height:32px}#focus-follow[hidden]{display:none}

.selected-city-case{display:block;width:20px;height:20px;border:3px solid #9e546e;border-radius:50%;background:#fff8;box-shadow:0 0 0 3px #fff9;pointer-events:none}

@media(max-width:600px){.city-active:has(#focus-details:not([hidden])) .maplibregl-ctrl-top-right,.city-active:has(#focus-follow:not([hidden])) .maplibregl-ctrl-top-right{top:245px}}

@media(max-width:600px){.bottom-bar:has(#view-nav:not([hidden]))::before{content:"Swipe through places ↔";display:block;margin-bottom:5px;font-size:12px;color:#485254}.city-active .bottom-bar::before{display:none}}

.queue-label{position:absolute;transform:translate(-50%,-100%);background:#faf8f1f5;border:1px solid #8a6973;border-radius:3px;padding:8px 10px;text-align:left;box-shadow:0 3px 14px #2222;font-size:12px;max-width:290px;z-index:2}.queue-label strong,.queue-label span{display:block}.queue-label span{font-size:11px;color:#596466;margin-top:3px;line-height:1.4}.queue-label[hidden]{display:none}.flow-stat{text-align:left}.queue-label::after{content:"";position:absolute;height:14px;width:1px;background:#8a6973;left:50%;top:100%}
@media(max-width:600px){.queue-label{font-size:11px;max-width:230px;padding:6px 8px}.queue-label span{font-size:10px}}

#focus-queue-counts{white-space:pre-line;margin-top:8px;color:#672f43;font-weight:550;font-size:12px}#focus-queue-counts[hidden]{display:none}

/* Keyboard inspection keeps the airport canvas as the focused surface. */
#viewport:focus-visible{outline:2px solid var(--accent,#672f43);outline-offset:-4px}
.camera-help{position:absolute;z-index:26;right:30px;top:390px;width:280px;max-height:calc(100dvh - 420px);overflow:auto;overscroll-behavior:contain;padding:18px;background:#faf8f2;color:#263035;box-shadow:0 8px 24px #1e262626;font-size:13px;line-height:1.5}
.camera-help strong{font-size:15px}.camera-help p{margin:9px 0 0}.camera-help dl{display:grid;grid-template-columns:90px 1fr;gap:5px 12px;margin:14px 0}.camera-help dt{font-weight:650}.camera-help dd{margin:0}
@media(max-width:599px){.camera-help{right:14px;top:290px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 400px);overflow:auto}}

.scene-tools button[hidden],.camera-help[hidden],#return-view[hidden]{display:none}
#return-view{pointer-events:auto;margin-top:8px;margin-right:6px;background:#faf8f1;min-height:32px;font-size:12px}

@media(max-width:600px){
 .flow-bar>.quiet-button{min-width:44px;min-height:44px}
 .scene-tools button,.scale-switch button,.modes button,.bottom-bar nav button{min-height:44px}
 .scene-tools button{min-width:44px}
 .flow-bar .play-button{min-width:44px;min-height:44px}
 .scale-switch{bottom:86px}
}

/* Inspection activity is independent from the authoritative run and playback. */
#flight-board-button{font-size:12px;min-width:88px;padding:0 12px;background:var(--paper);border:1px solid var(--line);border-radius:3px;white-space:nowrap;}
@media(max-width:900px) and (min-width:601px){.topbar{flex-wrap:wrap;}#flight-board-button{position:absolute;right:205px;top:24px;min-height:40px;font-size:12px;}.modes{margin-left:auto;margin-right:315px;}.identity{min-width:150px;}}
@media(max-width:600px){#flight-board-button{font-size:12px;min-width:84px;min-height:36px;padding:0 9px;margin-right:0;}.identity{min-width:0;}.identity small{font-size:10px;}.modes button{padding:0 12px;}.topbar{gap:8px;}}

/* Geography, representation and activity are separate controls of one run. */
.bottom-bar{padding-right:280px;z-index:3;pointer-events:none;}.bottom-bar>*{pointer-events:auto;}
.bottom-bar .destination-nav{display:inline-flex;max-width:none;width:auto;align-items:center;gap:12px;padding:0 12px;background:var(--paper);border:1px solid var(--line);border-radius:4px;overflow:visible;}
.destination-nav label{font-size:12px;color:var(--muted);white-space:nowrap;}.destination-nav select{max-width:250px;border:0;background:transparent;color:var(--ink);font-size:13px;}
.representation-switch{display:inline-flex;vertical-align:top;margin-left:8px;background:var(--paper);padding:3px;border:1px solid var(--line);border-radius:4px;gap:3px;}
.representation-switch[hidden]{display:none;}.representation-switch button{font-size:12px;padding:0 14px;border-radius:2px;min-height:36px;}
.map-active .view-caption,.map-active .scene-tools,.map-active .gesture-hint{display:none;}
.map-active{background:#e9e5db;--airport-map-top:104px;--airport-map-bottom:215px;}
.map-active .airport-map.is-expanded{z-index:2;}.map-active .scale-switch{bottom:160px;}
.map-active .flow-bar{z-index:3;}.has-drawer .bottom-bar .destination-nav{max-width:none;}
@media(max-width:1100px){.bottom-bar{padding-right:24px;}.bottom-bar .destination-nav select{max-width:235px;}}
@media(max-width:600px){
 .bottom-bar{padding:0 14px 12px;display:flex;flex-wrap:wrap;gap:7px;}.bottom-bar:has(#view-nav:not([hidden]))::before{display:none;}
 .bottom-bar .destination-nav{flex:1;min-width:0;padding:0 9px;gap:7px;}.destination-nav select{min-width:0;width:100%;max-width:none!important;font-size:12px;}
 .representation-switch{margin:0;}.representation-switch button{padding:0 9px;min-height:38px;font-size:12px;}
 .bottom-bar .model-caption{width:100%;max-width:100%;margin:0;font-size:10px;}.model-caption .status-dot{flex-shrink:0;}
 .map-active{--airport-map-top:128px;--airport-map-bottom:280px;}.map-active .scale-switch{bottom:90px;}
 .has-drawer .representation-switch,.has-drawer .destination-nav{visibility:hidden;}
}

.bottom-bar .scale-switch{position:static;display:inline-flex;vertical-align:top;margin-left:8px;gap:3px;padding:3px;}
.bottom-bar .scale-switch select{width:88px;font-size:12px;min-height:36px;border:0;background:transparent;color:var(--ink);padding:0 5px;}
.bottom-bar .scale-switch button{padding:0 8px;min-height:36px;}.map-active #labels{display:none;}
.map-active:not(.run-started){--airport-map-bottom:125px;}
@media(max-width:600px){
 .bottom-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;}
 .bottom-bar .destination-nav{grid-column:1/-1;}.bottom-bar .representation-switch{grid-column:1;display:flex;}.bottom-bar .representation-switch[hidden]{display:none;}
 .bottom-bar .representation-switch button{flex:1;padding:0 5px;}.bottom-bar .scale-switch{grid-column:2;margin:0;justify-content:space-between;}
 .bottom-bar .scale-switch select{width:84px;}.bottom-bar .scale-switch button{padding:0 6px;font-size:12px;}.bottom-bar .model-caption{grid-column:1/-1;}
 .has-drawer .bottom-bar .scale-switch{visibility:hidden;}.map-active:not(.run-started){--airport-map-bottom:140px;}
}
@media(min-width:601px){
 .bottom-bar{display:grid;grid-template-columns:minmax(180px,280px) max-content max-content;gap:8px;align-items:stretch;}
 .bottom-bar .representation-switch,.bottom-bar .scale-switch{display:flex;margin:0;width:auto;max-width:none;}
 .has-drawer .bottom-bar .representation-switch,.has-drawer .bottom-bar .scale-switch{max-width:none;}
 .bottom-bar .representation-switch[hidden]{display:none;}.bottom-bar .model-caption{grid-column:1/-1;}
 .bottom-bar .destination-nav{min-width:0;width:auto;}.bottom-bar .destination-nav select{min-width:0;width:100%;}
}

#execution-status{display:block;max-width:175px;font-size:10px;line-height:1.3;color:var(--muted);margin-top:4px}#execution-status[hidden]{display:none}

/* Place provenance belongs in its reading panel; the spatial caption stays bounded. */
.view-caption{max-height:calc(100svh - 350px);overflow:auto;overscroll-behavior:contain;pointer-events:auto;}
#place-notes{pointer-events:auto;margin-top:8px;margin-right:6px;background:#faf8f1;min-height:32px;font-size:12px;}
#place-notes[hidden]{display:none;}

/* Connected records extend the inherited reading panel; the airport remains primary. */
.inspection-context{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.inspection-context[hidden]{display:none}.inspection-context span{font-size:11px;line-height:1.5;color:var(--ink)}
.inspection-context button{flex:none}.subject-facts{font-size:12px;margin:20px 0}
.subject-facts>div{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);gap:16px;padding:9px 0;border-bottom:1px solid var(--line)}
.subject-facts dt{color:var(--ink);font-weight:500}.subject-facts dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.subject-link{display:inline;text-align:left;text-decoration:underline;text-underline-offset:3px;color:var(--accent);min-height:32px;padding:3px 5px;border-radius:3px;overflow-wrap:anywhere}
.subject-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.subject-actions button{flex:1;min-width:95px}
.subject-actions button:disabled{cursor:default;opacity:.65}.drawer .subject-unlocated{color:var(--ink);font-size:12px}
.subject-facts+.subject-actions{margin-top:20px}.drawer ::selection{background:var(--accent);color:var(--paper)}
.drawer input{caret-color:var(--accent)}.drawer{scrollbar-color:var(--muted) var(--paper);scrollbar-width:thin}
@media(max-width:600px){.subject-facts>div{grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:12px}.subject-link{min-height:40px}}

/* Journey uses the incumbent reading surface; its header owns the scroll gutter. */
.drawer[data-reading-surface="journey"]{display:flex;flex-direction:column;overflow:hidden;padding-block-start:0}
.drawer[data-reading-surface="journey"]>.drawer-head{flex:none;padding-block-start:20px}
.drawer[data-reading-surface="journey"]>.inspection-context{flex:none}
.drawer[data-reading-surface="journey"]>#drawer-content{flex:1;min-height:0;overflow:auto;padding-block-start:0;--journey-header-gutter:20px}
.drawer[data-reading-surface="journey"] .journey-panel :focus-visible{outline-offset:-2px}
.drawer[data-reading-surface="journey"][data-journey-layout="expanded"]{width:min(760px,calc(100vw - 48px))}
@media(max-width:600px){
 .drawer[data-reading-surface="journey"]>.drawer-head{padding-block-start:13px}
 .drawer[data-reading-surface="journey"]>#drawer-content{--journey-header-gutter:13px}
 .drawer[data-reading-surface="journey"][data-journey-layout="expanded"]{width:auto}
}

.campus-view-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}.campus-view-actions button{width:auto;flex:1}.field input[type="checkbox"]{width:auto;margin-right:8px}

/* Detached local preparation view. Its dock reserves scene and playback space. */
#preparation-hud{position:absolute;z-index:18;left:28px;bottom:232px;width:310px;overflow:auto;overscroll-behavior:contain;padding:16px;background:#faf8f2;color:#263436;border:1px solid #b6b9ac;border-radius:4px;font-size:12px;line-height:1.5;scrollbar-color:#8e9486 #e8e5da}
#preparation-hud[hidden]{display:none}#preparation-hud h2{font-size:20px;line-height:1.15;margin:0 0 8px;font-weight:650;letter-spacing:-.02em}#preparation-hud p{margin:8px 0}#preparation-map{width:100%;max-height:175px;display:block;margin:10px 0}#preparation-map [role=button]{cursor:pointer}#preparation-map [role=button]:focus{outline:2px solid #71354e}
.preparation-subjects,.preparation-actions{display:flex;gap:4px;flex-wrap:wrap}.preparation-subjects button{border:1px solid #b6b9ac;border-radius:3px;min-height:36px;min-width:36px;padding:4px 8px;font-size:12px}.preparation-actions{margin-top:8px}.preparation-actions button,#preparation-return{min-height:40px;border:1px solid #b6b9ac;border-radius:3px;padding:5px 8px;font-size:12px}.preparation-actions button:first-child{background:#71354e;color:#fff;border-color:#71354e}#preparation-return{display:block;margin:8px 0 12px;width:100%;text-align:left}#preparation-hud button:focus-visible{outline:2px solid #71354e;outline-offset:2px}#preparation-hud button:hover{background:#ece8dc;color:#263436}#preparation-hud button:disabled{opacity:.5;cursor:default}#preparation-hud details{margin-top:10px;border-top:1px solid #c6c8bc;padding-top:4px}#preparation-hud summary{cursor:pointer;min-height:36px;display:list-item;align-content:center}.preparation-inspector{border-top:1px solid #c6c8bc;margin-top:18px;padding-top:4px}.preparation-inspector h3{margin-top:12px}
.preparation-local-active .view-caption,.preparation-local-active .scene-tools,.preparation-local-active #camera-help{display:none}
#preparation-hud[data-expanded=true]{left:50%;transform:translateX(-50%);width:min(640px,calc(100vw - 56px))}#preparation-hud[data-expanded=true] #preparation-map{max-height:290px}
@media(max-width:600px){
 #preparation-hud{left:12px;right:12px;width:auto;padding:10px 12px}#preparation-hud h2{font-size:16px;line-height:1.2;margin-bottom:5px}#preparation-hud p{margin:5px 0}#preparation-hud:not([data-expanded=true]) #preparation-map{display:none}.has-drawer #preparation-hud{display:none}
 .preparation-subjects{flex-wrap:nowrap}.preparation-subjects button{min-width:44px;min-height:44px;padding:4px 6px;flex:1 0 auto;white-space:nowrap}.preparation-actions{flex-wrap:nowrap;margin-top:6px}.preparation-actions button{min-height:44px;padding:4px 6px;flex:1;white-space:nowrap}#preparation-hud details{margin-top:6px;padding-top:0}#preparation-hud summary{min-height:44px}#preparation-return{min-height:44px}
 #preparation-hud[data-expanded=true]{left:12px;right:12px;transform:none;width:auto}#preparation-hud[data-expanded=true] #preparation-map{max-height:210px}
 .preparation-local-active #flow-bar{left:12px;right:12px;bottom:86px;max-width:none;padding:8px 10px;gap:6px;display:grid;grid-template-columns:44px minmax(54px,1fr) 64px 46px 78px;align-items:center}
 .preparation-local-active #queue-summary,.preparation-local-active #cases-button,.preparation-local-active #flights-button{display:none}.preparation-local-active #flow-bar .quiet-button{padding:0;font-size:12px;min-height:44px}.preparation-local-active #flow-bar .eyebrow{font-size:12px}.preparation-local-active #flow-bar .speed-label{font-size:12px}.preparation-local-active #flow-bar .play-button{width:44px;height:44px}
 .preparation-local-active .bottom-bar{grid-template-columns:minmax(0,1fr)}.preparation-local-active .scale-switch{display:none}.preparation-local-active #representation-switch{left:12px;right:12px;width:auto;justify-content:center;bottom:24px}.preparation-local-active #representation-switch button{flex:1}.preparation-local-active .model-caption{max-width:none}
}

/* Staffing comparison stays within the existing study drawer. */
.drawer[data-staffing-comparison=true]{width:min(920px,calc(100vw - 40px))}.staffing-matrix-wrap{overflow-x:auto}.staffing-matrix{font-variant-numeric:tabular-nums}.staffing-matrix caption{text-align:left;margin:14px 0 8px;font-weight:600}.staffing-matrix th,.staffing-matrix td{font-size:12px;vertical-align:top;padding:10px 7px}.staffing-contrast-field{margin-top:24px}.staffing-person{border-bottom:1px solid #d1d0c5;padding:4px 0}.staffing-person[hidden]{display:none}.staffing-person>summary{min-height:44px;align-content:center;cursor:pointer;font-size:13px}.staffing-person p{font-size:12px}.staffing-person-table{table-layout:fixed;width:100%}.staffing-person-table td{overflow-wrap:anywhere;vertical-align:top;padding:10px 8px}.staffing-detached-label{margin-top:20px}.staffing-denominators,.staffing-unfinished{margin:16px 0}.staffing-denominators summary,.staffing-unfinished summary{min-height:44px;align-content:center;cursor:pointer}.staffing-matrix td,.staffing-person-table td{font-variant-numeric:tabular-nums}
@media(max-width:600px){.drawer[data-staffing-comparison=true]{width:auto}.staffing-matrix,.staffing-matrix tbody{display:block}.staffing-matrix caption{display:block;width:100%;margin-top:14px}.staffing-matrix thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.staffing-matrix tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #aeb5aa;padding:8px 0}.staffing-matrix td{display:block;border:0;padding:7px 4px;font-size:14px}.staffing-matrix td:before{content:attr(data-label);display:block;font-size:12px;color:#475553;line-height:1.35;margin-bottom:4px}.staffing-person-table{font-size:12px}.staffing-person-table td{font-size:12px;padding:8px 4px}.staffing-person>summary{font-size:13px}}

.drawer[data-resource-comparison=true] .resource-details>summary{min-height:44px;align-content:center;cursor:pointer}.drawer[data-resource-comparison=true] .staffing-person>summary{padding:8px 0;line-height:1.5}.drawer[data-resource-comparison=true] .resource-details h3{margin-top:24px}.drawer[data-resource-comparison=true] details>summary{cursor:pointer}.drawer[data-resource-comparison=true] .staffing-denominators p{overflow-wrap:anywhere}
.drawer[data-resource-comparison=true] .drawer-head{position:sticky;top:0;z-index:3;background:var(--paper);padding:4px 0;border-bottom:1px solid #d1d0c5}.drawer[data-resource-comparison=true] .drawer-head button{min-width:44px;min-height:44px}

.drawer[data-resource-comparison=true] .drawer-head::before{content:"";position:absolute;left:-24px;right:-24px;top:-24px;height:24px;background:var(--paper);pointer-events:none}

/* Three explicit representations; keep the labels legible on compact screens. */
@media(max-width:600px){.bottom-bar .representation-switch{grid-column:1/-1}.bottom-bar .representation-switch button{min-height:44px;white-space:nowrap}.bottom-bar .scale-switch{grid-column:1/-1}.bottom-bar .model-caption{overflow-wrap:anywhere}}

.staffing-labels{position:absolute;inset:0;pointer-events:none;z-index:2}.staffing-badge{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;max-width:190px;padding:5px 8px;min-height:44px;background:#faf8f1ed;border:1px solid currentColor;border-radius:3px;font-size:11px;text-align:left;pointer-events:auto}.staffing-badge[hidden],.staffing-labels[hidden]{display:none}.staffing-badge svg{flex-shrink:0}.staffing-service{margin-top:24px}.staffing-facts{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;font-size:12px}.staffing-facts dt,.staffing-facts dd{margin:0}.staffing-facts dd{text-align:right;font-variant-numeric:tabular-nums}.has-drawer .staffing-labels{visibility:hidden}#service-staffing-button{background:var(--paper);border:1px solid var(--line);min-height:44px}@media(max-width:600px){#service-staffing-button{font-size:11px;padding:0 8px}.staffing-badge{max-width:220px;font-size:10px}}


.airport-map-head [data-map="expand"],.airport-map-head [data-map="close"]{min-height:44px}.airport-map-head [data-map="close"]{min-width:44px;display:grid;place-items:center;flex-shrink:0}.airport-map-head [data-map="close"][hidden]{display:none}.airport-map.is-expanded .airport-map-head [data-map="expand"]{font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* Beat inherited airport-map header button sizing for explicit map exits. */
.airport-map.is-expanded .airport-map-head button[data-map="expand"],.airport-map.is-expanded .airport-map-head button[data-map="close"]{min-height:44px;height:44px}.airport-map.is-expanded .airport-map-head button[data-map="close"]{min-width:44px;width:44px}

.explore-activity-status{position:absolute;left:30px;bottom:120px;max-width:350px;font-size:11px;background:var(--paper);padding:7px 10px;border:1px solid var(--line);z-index:3}.explore-activity-status[hidden]{display:none}.has-drawer .explore-activity-status{visibility:hidden}@media(max-width:600px){.explore-activity-status{left:12px;bottom:195px;max-width:250px}}


/* Secondary view actions stay closed until requested; playback keeps its space. */
.view-options{position:absolute;right:25px;top:86px;z-index:5}
#view-options-button{min-height:44px;width:112px;padding:0 10px;border:1px solid var(--line);background:var(--paper);border-radius:3px;font-size:12px;white-space:nowrap}
.view-options-panel{position:absolute;right:0;top:50px;width:210px;max-height:calc(100svh - 310px);overflow:auto;padding:5px;background:var(--paper);border:1px solid var(--line);border-radius:4px;box-shadow:0 8px 24px #1e262626}
.view-options-panel button{display:block;width:100%;min-height:44px;text-align:left;padding:0 12px;font-size:12px;border-radius:2px}
#service-staffing-button{border:0;background:none}
.view-options[hidden],.view-options-panel[hidden],.view-options-panel button[hidden]{display:none}
.has-drawer .view-options{visibility:hidden}
.staffing-badge span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer .flow-legend-content p{font-size:12px}
.flow-legend-content ul{list-style:none;padding:0}
.flow-legend-content li{display:flex;align-items:center;gap:8px;margin:8px 0}
.flow-legend-content i{display:inline-block;width:11px;height:11px;flex-shrink:0;border-radius:50%}
.flow-legend-content i.is-selection{border:2px solid #bd8618;background:transparent}
.camera-key-content dl{display:grid;grid-template-columns:100px 1fr;gap:7px 12px;font-size:12px}
.camera-key-content dt{font-weight:550}.camera-key-content dd{margin:0}
@media(max-width:600px){.view-options{right:14px;top:76px}.staffing-badge{max-width:180px}}

.motion-toggle{position:absolute;right:25px;top:86px;z-index:5;min-height:44px;width:112px;padding:0 10px;border:1px solid var(--line);background:var(--paper);border-radius:3px;font-size:12px}.motion-toggle[hidden]{display:none}.motion-toggle[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.has-drawer .motion-toggle{visibility:hidden}.explore-mode .view-options{top:135px}.explore-mode .scene-tools{top:185px}@media(max-width:600px){.motion-toggle{right:14px;top:76px;width:104px}.explore-mode .view-options{top:125px}.explore-mode .scene-tools{top:175px}}

/* Compact Guided demo keeps its existing row; view actions begin below it. */
@media(max-width:600px){.view-options{top:125px}.scene-tools{top:175px}.motion-toggle{top:125px}.explore-mode .view-options{top:174px}.explore-mode .scene-tools{top:224px}}

/* Compact lighting preview; Motion and simulation remain independent. */
.environment-control{position:absolute;left:30px;bottom:122px;z-index:3;width:248px;padding:10px 12px 7px;background:var(--paper);border:1px solid var(--line);border-radius:3px;color:var(--ink);font-size:11px}
.environment-heading{display:flex;justify-content:space-between;gap:9px;align-items:baseline}.environment-heading>span{color:#53605e;font-size:10px}.environment-heading output{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}
.environment-preview input{width:100%;height:24px;display:block;margin:5px 0 0;accent-color:var(--accent);cursor:pointer}.environment-presets{display:flex;justify-content:space-between;gap:4px}.environment-presets button{min-height:30px;padding:0 7px;font-size:11px;border-radius:2px}.environment-presets button[aria-pressed=true]{background:#e8dce0;color:#642c43}.environment-presets button:hover{background:#e8e5db}.environment-control.is-linked{left:30px;right:auto;bottom:200px;width:auto;max-width:290px;padding:8px 11px}.environment-control.is-linked .environment-preview{display:none}.environment-control[hidden]{display:none}.has-drawer .environment-control{visibility:hidden}
@media(max-width:600px){.environment-control{left:14px;bottom:196px;width:222px;padding:8px 10px 5px}.environment-heading{gap:6px}.environment-heading>span{font-size:10px}.environment-heading output{font-size:11px}.environment-control.is-linked{left:14px;right:auto;bottom:284px;max-width:235px}.environment-presets button{min-height:32px;padding:0 5px}.environment-control input{height:28px}}

/* Bounded walking milestone uses the existing inspector surface. */
.walking-milestone-card{border-top:1px solid var(--line,#d8d2c8);margin-top:20px;padding-top:12px}.walking-milestone-card li{margin-block:7px}#walking-all-studies,#walking-current{margin-top:12px}

/* The new entry keeps its label when inherited quiet buttons collapse to icons. */
@media(max-width:900px){#walking-scenario-button{font-size:12px;min-width:64px;padding:0 8px;white-space:nowrap;flex-shrink:0}}
@media(max-width:360px){.topbar .identity>span:last-child{display:none}}
/* Walking playback clears every footer row, including wrapped captions. */
@media(max-width:600px){
 .walking-active #flow-bar{bottom:calc(var(--walking-footer-height,190px) + 12px);z-index:4;grid-template-columns:44px minmax(62px,1fr) 52px 70px;grid-template-areas:"play clock speed advance" "cases cases flights scenario";gap:8px;padding:8px 10px;align-items:center}
 .walking-active:not(.has-drawer) #flow-bar:not([hidden]){display:grid}
 .walking-active #play-button{grid-area:play}.walking-active #flow-bar>div{grid-area:clock}.walking-active #flow-bar .speed-label{grid-area:speed}
 .walking-active #advance-button{grid-area:advance}.walking-active #cases-button{grid-area:cases}.walking-active #flights-button{grid-area:flights}.walking-active #scenario-button{grid-area:scenario}
 .walking-active #queue-summary{display:none}.walking-active #flow-bar>.quiet-button{margin:0;padding:0 4px;min-height:44px;white-space:nowrap}
 .walking-active .environment-control.is-linked{bottom:calc(var(--walking-footer-height,190px) + 144px)}
 .walking-active .airport-map:not(.is-expanded){display:none}
 .walking-active .airport-map.is-expanded{bottom:var(--walking-map-bottom,334px);overflow:auto;overscroll-behavior:contain}
 .walking-active .airport-map.is-expanded .airport-map-main{min-height:160px}
 .walking-active .airport-map.is-expanded.is-list-open .airport-map-main{min-height:250px}
 .walking-active .airport-map.is-expanded .airport-map-footer{max-height:120px;overflow:auto;overscroll-behavior:contain}
}
/* Keep the located person visible above the mobile playback dock. Full context remains in Reopen details. */
@media(max-width:600px){
 .view-caption:has(#focus-details:not([hidden])){max-width:252px;}
 .view-caption:has(#focus-details:not([hidden])) #view-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:none;margin:6px 0;}
 .view-caption:has(#focus-details:not([hidden])) .secondary-button:not([hidden]){display:inline-block;margin:4px 3px 0 0;}
}

/* Preserve an inspectable scene area for the mosque's close views on phones. */
@media(max-width:600px){
 .mosque-view .airport-map:not(.is-expanded){display:none}
 .mosque-view .view-caption{top:142px;left:14px;max-width:255px;padding:10px 12px;max-height:min(250px,32svh);scrollbar-width:thin}
 .mosque-view .view-caption h1{font-size:27px;line-height:1.08;margin:7px 0}
 .mosque-view .view-caption p{font-size:11px;line-height:1.35}
 .mosque-view .view-caption .eyebrow{font-size:9px;letter-spacing:.7px}
 .identity small{max-width:94px;font-size:9px;letter-spacing:0;line-height:1.15}
}

/* Keep the connected assembly visible between the incumbent compact controls. */
@media(max-width:600px){
 .mosque-site-view .view-caption{max-width:239px;padding:8px 10px;max-height:118px}
 .mosque-site-view .view-caption h1{font-size:23px;line-height:1.08;margin:5px 0}
 .mosque-site-view .view-caption .eyebrow{display:none}
 .mosque-site-view .view-caption p{margin:5px 0 0;font-size:11px;line-height:1.35}
}
