@font-face{font-family:Geist;src:url(/assets/1b5ebfb3a01a9734.woff2) format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:GeistMono;src:url(/assets/b7ac144b394cbd81.woff2) format('woff2');font-weight:100 900;font-display:swap}
:root{
 --forest:#172923;--forest-deep:#14241f;--sage:#b5c1ae;--gold:#e2bc78;--brass:#94724a;--paper:#f5f3ea;--ink:#20352c;--muted:#566255;--line:#d8dacb;
 --serif:Georgia,"Iowan Old Style","Times New Roman",serif;--mono:GeistMono,monospace;--head:64px;--mobile:0px;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--forest);color:var(--ink);font:16px/1.45 Geist,system-ui,sans-serif}
button,input,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{cursor:default}
a{color:inherit;text-underline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #d7a653;outline-offset:3px}
.skip,.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip:focus{clip-path:none;left:8px;top:6px;width:auto;height:auto;padding:.6rem;background:white;z-index:50}
i[data-icon]{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;font-style:normal}
i svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.mast{height:var(--head);display:flex;align-items:center;gap:30px;padding:0 clamp(16px,2.2vw,34px);border-bottom:1px solid #c8cec2;background:#f6f4eb;color:var(--ink)}
.identity{display:flex;align-items:center;gap:12px}.brand-mark{height:39px;width:39px;display:grid;place-items:center;background:#263d32;color:#e8cc91;border-radius:8px 8px 3px 3px}
.brand-mark svg{width:29px;height:29px;stroke-width:1.15}.identity strong{display:block;font:500 23px/.98 var(--serif);letter-spacing:-.9px}
.identity small{display:block;font:500 9px/1.4 var(--mono);letter-spacing:1.35px;text-transform:uppercase;margin-top:4px}
.mast-place{display:flex;align-items:center;gap:7px;color:#5c685d;font-size:13px;border-left:1px solid #cacdbf;padding-left:22px}.mast-place svg{width:15px;height:15px}.mast-place b{font-weight:400;color:#a6ad9b;margin:0 3px}
.mast-actions{margin-left:auto;display:flex;align-items:center;gap:14px}.mast-actions button,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;font-size:14px}.mast-actions .icon-btn{border-left:1px solid var(--line);padding-left:16px}
.mast-actions button:hover,.arrows button:hover{color:#8b612a}.mobilebar{display:none}
.workspace{height:calc(100vh - var(--head));height:calc(100dvh - var(--head) - var(--mobile));min-height:400px;display:grid;grid-template-columns:clamp(184px,16vw,247px) minmax(0,1fr) clamp(255px,21.5vw,350px)}
.rail,#info{min-height:0;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}
.rail{background:var(--forest-deep);color:#d9e0d3;scrollbar-color:#647365 #182a23;border-right:1px solid #516455;z-index:3}
.rail-body{padding:24px clamp(13px,1.4vw,24px) 26px}.rail-group+.rail-group{margin-top:22px;border-top:1px solid #4c6051;padding-top:19px}
.overline,.kicker,.bottomtitle strong,#mode-tag,#counter,.record-heading .overline{margin:0;font:520 11px/1.5 var(--mono);text-transform:uppercase;letter-spacing:.095em}
.rail .overline{color:#bdc9b9;margin-bottom:10px;font-size:10px}.rail button{transition:color .15s,background .15s,box-shadow .15s}
#modes,.resources{display:grid;gap:3px}.rail #modes button,.resources button{display:flex;align-items:center;gap:11px;text-align:left;min-height:40px;padding:7px 11px;border-radius:5px;font-size:14px}
#modes button:hover,.resources button:hover{background:#2a4034;color:white}#modes button[aria-pressed=true]{background:#354b3d;color:#fff4d9;box-shadow:inset 3px 0 #e3bf7d}
#modes button[aria-pressed=true] i{color:#efd491}#modes button i,.resources i{color:#adc0ac}.resources{gap:1px}.resources button{min-height:35px;padding:5px 2px}.resources svg{width:17px;height:17px}
#layer-sliders label,.switchline{display:flex;align-items:center;justify-content:space-between;font-size:14px}.layers output{color:#e0cca4;font:12px var(--mono)}
#layer-sliders input{appearance:none;display:block;cursor:pointer;height:4px;margin:10px 0 17px;width:100%;border-radius:4px;background:linear-gradient(to right,#d2b780 var(--v,18%),#455749 var(--v,18%))}
input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;background:#ebcf94;border-radius:50%;box-shadow:0 0 0 2px #23372c}
input[type=range]::-moz-range-thumb{width:13px;height:13px;background:#ebcf94;border:none;border-radius:50%}.switchline{position:relative;cursor:pointer}.switchline input{position:absolute;right:0;opacity:0}
.switch{width:31px;height:18px;border-radius:16px;background:#526151;border:1px solid #93a18d;display:flex;align-items:center;padding:2px}.switch:before{content:'';display:block;width:12px;height:12px;border-radius:50%;background:#d7dfcf}.switchline input:checked+.switch{background:#8eaa86;border-color:#9bb693}.switchline input:checked+.switch:before{transform:translateX(13px);background:white}.switchline input:focus-visible+.switch{outline:2px solid var(--gold)}
.light-options{display:grid;gap:7px}.light-options button,.walk-light button{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:42px;border-radius:5px;border:1px solid #6f846d;background:#263b30;color:#eaf0e3;font-size:14px;font-weight:560;padding:7px 11px}
.light-options [data-light=match],.walk-light [data-light=match]{border-color:#bd935a;background:#503d26;color:#ffe2b1}.light-options button[aria-pressed=true],.walk-light button[aria-pressed=true]{background:#dfeacc;border-color:#dfeacc;color:#233b26}
.light-options [data-light=match][aria-pressed=true],.walk-light [data-light=match][aria-pressed=true]{background:#f0c175;color:#412d14;border-color:#f9d99e}
.light-options button[aria-pressed=true]:after{content:'✓';margin-left:auto;font-size:14px}.light-options button:hover,.walk-light button:hover{box-shadow:0 0 0 1px currentColor}
.blackout{display:flex;gap:7px;align-items:center;margin-top:9px;color:#c6d0c1;font-size:13px;padding:4px}.blackout svg{width:16px;height:16px}.blackout[aria-pressed=true]{background:#07100b;color:white;box-shadow:0 0 0 1px #91a28c;border-radius:4px}
.visual{min-width:0;min-height:0;display:flex;flex-direction:column;background:#20332c}#stage{position:relative;flex:1;min-height:0;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 47% 53%,#415448 0%,#263a31 51%,#182e27 96%)}
#stage:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(#cdd5bc25 .7px,transparent .85px);background-size:16px 16px}
#scene{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}
.heading{pointer-events:none;position:absolute;top:clamp(20px,4.7vh,48px);left:clamp(18px,2.65vw,48px);color:#f1eddf;text-shadow:0 2px 10px #10251bd9}
.kicker{display:flex;align-items:center;gap:9px;color:#e4c287;font-size:10px;letter-spacing:.14em}.kicker span{height:1px;width:23px;background:#d6b686}
.heading h1{font:400 clamp(40px,4.2vw,78px)/1.06 var(--serif);letter-spacing:-.052em;margin:8px 0 4px}.heading p{color:#e1e5d6;font-size:14px;margin:0}.heading em{font-style:normal;margin:0 4px;color:#d1b47d}
#mode-tag{position:absolute;top:19px;right:19px;border:1px solid #8c9e8a77;background:#1d3028df;color:#dfebd6;border-radius:20px;display:flex;gap:6px;align-items:center;padding:5px 9px;font-size:9px;pointer-events:none}#mode-tag b{font-weight:450}#mode-tag>span{width:5px;height:5px;border-radius:100%;background:#c0ce9b}
.bottomtitle{position:absolute;left:clamp(16px,2vw,34px);bottom:20px;color:#e1e7d7;pointer-events:none;display:grid;gap:2px;text-shadow:0 1px 4px #12251b}.bottomtitle strong{font-size:10px;color:#ddc595}.bottomtitle>span{font-size:13px}
#scale,#north{position:absolute;display:grid;justify-items:center;color:#e1e7d5;font:11px var(--mono);bottom:15px}#scale{right:80px;gap:4px;pointer-events:none}#scale b{height:5px;border:1px solid #c4d2b8;border-top:0}
#north{right:20px;bottom:12px;width:40px;height:45px;background:#1c2e25aa;border:1px solid #b6c6ab55;border-radius:20px;align-content:center;gap:0}#north span{font-size:18px;line-height:1.1}
.viewbar{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:4px clamp(10px,1.5vw,24px);min-height:43px;background:#1b2c25;border-top:1px solid #abc2a73b;color:#c9d3c5}
.gesture,.tools{display:flex;gap:7px;align-items:center}.gesture{font-size:12px;line-height:1.3}.gesture i svg{width:16px;height:16px}.gesture em{font-style:normal;color:#91a08b}.tools{gap:1px}.tools button{display:grid;place-items:center;width:31px;height:30px;border-radius:4px}.tools button:hover{background:#374b3d}.tools>span{width:1px;height:15px;background:#536554;margin:0 4px}
#markers{position:absolute;inset:0;pointer-events:none;overflow:hidden}.map-mark{position:absolute;pointer-events:auto;white-space:nowrap;display:flex;align-items:center;gap:6px;background:#1b2b24ed;border:1px solid #a5b3988c;color:#ebf0df;border-radius:4px;padding:5px 8px;font:500 11px/1.05 Geist,sans-serif;box-shadow:0 2px 8px #14221a40}
.map-mark:before{content:'';width:4px;height:4px;background:#c3cca8;border-radius:100%}.map-mark.active{background:#423d28;border-color:#e7c784;color:#ffe4af}.map-mark.active:before{background:#edca84}
.leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.leaders line{stroke:#b5c3a8;stroke-width:.9}.leaders circle{fill:#c8d5b9}.leaders .active-line{stroke:#dfc388}.leaders .active-dot{fill:#f0cb85}
#loading{position:absolute;top:45%;left:8%;right:8%;text-align:center;background:#233d2f;color:white;padding:14px;border-radius:4px}
#info{background:var(--paper);border-left:1px solid #bcc3b4;padding:23px clamp(15px,1.55vw,27px) 18px;color:var(--ink);scrollbar-color:#a9af9f var(--paper);z-index:3}
.info-top,.info-foot,.arrows{display:flex;align-items:center;justify-content:space-between}.info-top .overline{color:var(--muted)}#counter{font-size:11px;color:#676e5c;letter-spacing:.04em}
.info-sections{display:flex;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:18px}.info-sections button{font-weight:550;font-size:14px;padding:3px 2px 8px;color:var(--muted);border-bottom:2px solid transparent}.info-sections button[aria-pressed=true]{border-color:#446348;color:#29472f}
.visit-photo{display:block;width:100%;height:auto;border-radius:4px;margin:0 0 18px}
#visit-title{margin:0 0 16px;font:400 clamp(24px,2vw,32px)/1.15 var(--serif);letter-spacing:-.025em;text-wrap:balance}
#visit p,.visit-details{font-size:15px;line-height:1.6;color:#404e41}
#visit p{margin:0 0 18px}.visit-details{margin:0;padding-left:19px}.visit-details li{padding-left:2px;margin-bottom:16px}.visit-details strong{color:var(--ink);font-weight:650}.visit-details a{color:#294f36;overflow-wrap:anywhere;text-decoration-thickness:1px}
#history-title{margin:0 0 12px;font:400 clamp(28px,2.4vw,40px)/1.08 var(--serif);letter-spacing:-.035em;text-wrap:balance}
#history p{margin:0 0 16px;font-size:15px;line-height:1.55;color:#404e41}.history-sources{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:6px;font-size:13px;color:#435c48}.history-sources span{font-weight:600}.history-sources a{width:fit-content}
.selectline{position:relative;margin:9px 0 17px}.selectline select{background:#eaece1;border:1px solid #c9cebd;color:var(--ink);width:100%;padding:8px 31px 8px 11px;border-radius:4px;font-size:14px;appearance:none;cursor:pointer}.selectline>span{position:absolute;right:11px;top:5px;pointer-events:none;font-size:18px;color:#657259}
.record-figure{margin:0 0 19px}.record-figure img{max-height:240px;width:100%;aspect-ratio:1.45;object-fit:cover;object-position:50% 52%;display:block;border-radius:4px;background:#ced1be}
.record-figure figcaption{display:grid;gap:1px;padding-top:6px;color:#526051;font-size:12px;line-height:1.4}.record-figure small{font-size:10px;color:#616b5c}.record-figure small a{text-decoration-color:#adb39f}
.record-heading .overline{display:block;color:#73764f;font-size:10px;letter-spacing:.08em}
#point-name{margin:5px 0 12px;font:400 clamp(27px,2.4vw,42px)/1.08 var(--serif);letter-spacing:-.045em}#point-desc{margin:0 0 15px;font-size:15px;line-height:1.54;color:#404e41}
.fact-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px;padding:11px 0;border-block:1px solid var(--line);margin-bottom:14px}
#record-fact{font:500 20px/1.3 var(--serif);letter-spacing:-.02em}#record-detail{font-size:12px;color:var(--muted)}.locate{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;border-radius:4px;background:#304e3c;color:#fff9e9;font-size:14px;font-weight:550}.locate:hover{background:#3e5e46}.locate svg{width:16px;height:16px}
#record-links{display:flex;align-items:flex-start;flex-wrap:wrap;gap:4px 13px;margin:12px 0;color:#53654f;font-size:13px}#record-links button,#record-links a{font:inherit;text-decoration:underline;text-underline-offset:3px;padding:2px 0}
.info-foot{border-top:1px solid var(--line);padding-top:12px;margin-top:18px;color:var(--muted);font-size:13px}.arrows{gap:5px}.arrows button,.dialog-header .icon-btn{width:32px;height:32px;display:grid;place-items:center;border:1px solid #bdc6b4;border-radius:4px;color:#3e523f}.arrows button{font:22px Georgia;line-height:1}
#walk-hud,#walk-controls{position:absolute;left:15px;display:flex;align-items:center;gap:8px;color:#f3f2df;z-index:2}
#walk-hud{top:15px;max-width:calc(100% - 30px);padding:8px 12px;background:#16251fec;border:1px solid #74826c;border-radius:5px;font-size:14px}
#walk-hud i{color:#dfc48b}#walk-hud i svg{width:16px;height:16px}#depth{border-left:1px solid #74836b;padding-left:8px;color:#e5cf9f;font:12px var(--mono)}
#walk-controls{bottom:13px;gap:7px}.walk-light{display:flex;gap:3px;background:#16251fe6;padding:3px;border:1px solid #687c62;border-radius:6px}.walk-light button{font-size:13px;min-height:33px;padding:5px 9px;gap:5px}.walk-light svg,#exit svg{width:15px;height:15px}#exit{display:flex;align-items:center;gap:5px;background:#16251fed;color:#e5ecda;border:1px solid #71836b;border-radius:4px;padding:6px 8px;font-size:13px}
body.walk .heading,body.walk #mode-tag,body.walk #north,body.walk #scale,body.walk .bottomtitle,body.walk .tools,body.walk #markers,body.walk .layers{display:none}body.walk #stage:before{display:none}body.walk #scene{cursor:crosshair}
#pad{position:absolute;right:10px;bottom:12px;display:grid;grid-template-columns:repeat(3,35px);gap:3px}#pad button{color:white;background:#26382cec;border:1px solid #95a18a;border-radius:4px;height:36px;touch-action:none}#pad button:first-child{grid-column:2}#pad button:nth-child(2){grid-column:1}
dialog{padding:0;width:min(640px,94vw);color:var(--ink);border:1px solid #c8c8b5;border-radius:9px;background:var(--paper);box-shadow:0 28px 100px #0a15118c;max-height:90dvh;overflow:auto}dialog::backdrop{background:#0b1812bd;backdrop-filter:blur(3px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:19px 22px 14px}.dialog-header .overline{color:#63715b;font-size:10px}.dialog-header h2{font:400 31px/1.1 var(--serif);margin:4px 0 0;letter-spacing:-1px}
#dialog-body{padding:17px 22px 21px;font-size:15px;line-height:1.55}#dialog-body h3{font-size:17px;margin:13px 0 5px}#dialog-body p{margin:0 0 12px}#dialog-body a{color:#3d6045}#dialog-body ul{padding-left:20px}
.notes-list,.room-list{display:grid;gap:5px}.notes-list button,.room-list button{border:1px solid #c7cebf;padding:8px 10px;border-radius:4px;text-align:left}.notes-list button{display:flex;gap:10px;align-items:center}.notes-list button span{flex:1}.notes-list small{display:block;color:var(--muted)}.room-list{grid-template-columns:1fr 1fr}.notes-list button:hover,.room-list button:hover{background:#e4e8db}
.keys{display:grid;grid-template-columns:auto 1fr;gap:8px 14px}.keys b,kbd{font:12px var(--mono);border:1px solid #ced3c2;background:#e7eadf;padding:4px 5px;border-radius:3px;align-self:start}
#dialog[data-kind=atlas]{width:min(1100px,96vw);height:90dvh;overflow:hidden}#dialog[data-kind=atlas][open]{display:flex;flex-direction:column}#dialog[data-kind=atlas] #dialog-body{padding:0;min-height:0;flex:1;display:flex}#atlas-frame{width:100%;height:100%;min-height:0;flex:1;border:0;background:var(--paper)}
#toast{position:fixed;bottom:14px;left:50%;transform:translate(-50%,9px);background:#13261df5;color:white;border:1px solid #86947e;padding:9px 13px;border-radius:5px;pointer-events:none;opacity:0;transition:.14s;z-index:8;text-align:center;font-size:13px;max-width:90vw}#toast.on{opacity:1;transform:translate(-50%,0)}
[hidden]{display:none!important}
@media(min-width:1500px){.rail-body,#info{padding-top:32px}.rail-group+.rail-group{margin-top:26px;padding-top:24px}#point-desc{font-size:16px}}
@media(max-height:760px) and (min-width:941px){:root{--head:56px}.rail-body,#info{padding-top:16px}.rail-group+.rail-group{margin-top:13px;padding-top:13px}.rail .overline{margin-bottom:7px}#modes button{min-height:34px}.resources button{min-height:30px}.light-options button{min-height:36px}.record-figure img{max-height:168px}.record-figure{margin-bottom:13px}.heading{top:23px}}
@media(max-width:1050px) and (min-width:941px){.workspace{grid-template-columns:166px minmax(0,1fr) 235px}.rail-body,#info{padding-left:12px;padding-right:12px}#modes button{padding-left:7px}.heading h1{font-size:39px}.gesture{font-size:11px}#mode-tag{top:auto;bottom:77px;right:11px}}
@media(max-width:940px){
 :root{--head:54px;--mobile:42px}.mast{padding:0 14px;gap:13px}.mast-place{padding-left:12px}.identity strong{font-size:20px}.brand-mark{height:34px;width:34px}.identity small{font-size:8px}
 .mobilebar{height:var(--mobile);display:flex;justify-content:space-between;align-items:center;padding:0 10px;background:#162b21;color:#e4ebd8;border-bottom:1px solid #566c59}.mobilebar button{font-size:14px;display:flex;align-items:center;gap:6px;min-height:34px;padding:3px 7px;border-radius:4px}.mobilebar button[aria-expanded=true]{background:#38503c;color:#ffe9b8}.mobilebar i svg{width:16px;height:16px}.mobilebar>span{font:12px var(--mono);color:#cbcfb9}
 .workspace{display:block;position:relative;min-height:280px}.visual{height:100%}.rail,#info{display:none;position:absolute;top:0;bottom:0;width:min(310px,88vw);box-shadow:0 14px 45px #0c170f80}.rail{left:0}#info{right:0}
 body[data-panel=menu] .rail,body[data-panel=info] #info{display:block}.rail-body,#info{padding:18px}.rail-group+.rail-group{margin-top:16px;padding-top:14px}
 .heading{top:20px;left:18px}.heading h1{font-size:clamp(40px,6vw,58px)}.bottomtitle{left:15px;bottom:13px}.record-figure img{max-height:200px}.mast-actions{gap:8px}.viewbar{min-height:38px}
}
@media(max-width:530px){.mast-place{display:none}#mode-tag{right:10px;top:12px;font-size:8px;padding:4px 7px}.kicker{font-size:9px;letter-spacing:.08em}.heading p{font-size:12px}.bottomtitle>span{font-size:11px}.gesture{font-size:10px}.tools button{width:25px}.gesture i{display:none}.map-mark{font-size:10px;padding:4px 6px}#walk-controls{left:8px;bottom:8px;gap:4px}.walk-light button{min-height:34px;padding:6px}.walk-light{gap:2px}#exit span{display:none}#exit{height:34px}#pad{right:6px;bottom:8px;grid-template-columns:repeat(3,31px);gap:2px}#pad button{height:32px}.dialog-header,#dialog-body{padding:13px}.mast-actions .icon-btn{padding-left:9px}}
@media(max-height:480px) and (max-width:940px){.heading h1{font-size:32px}.heading{top:10px}.heading p{display:none}.workspace{min-height:190px}.bottomtitle{bottom:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.sector{display:flex;align-items:center;gap:9px;text-align:left;color:#ecd29c;background:#23382b;border:1px solid #526751;border-radius:4px;width:100%;margin-top:10px;padding:8px;font-size:13px}.sector:hover,.sector:focus-visible{background:#344c38}.sector i svg{width:16px;height:16px}
.drawing{margin:.7rem 0;font-size:13px;color:#4e624d}.drawing summary{cursor:pointer}.drawing-wrap{margin-top:7px;border:1px solid #cbd2bd;border-radius:4px;overflow:hidden;background:#e8e8da}#plate{display:block;width:100%;height:auto}.drawing small{display:block;font:9px/1.55 var(--mono);text-transform:uppercase;letter-spacing:.05em;margin:3px 0 0}

/* A telephone uses one toolbar in landscape. Tablets and desktop windows keep
   their existing responsive layouts. */
.mobilebar .phone-only{display:none}
@media (orientation:portrait) and (any-pointer:coarse){html:not(.device-ready) :is(.mast,.mobilebar,.workspace){visibility:hidden}}
#rotate-phone{inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:max(24px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left));color:#f6f2e5;background:#172b23;text-align:center}
#rotate-phone[open]{display:grid;place-items:center}
#rotate-phone::backdrop{background:#172b23}
.rotate-content{max-width:22rem}.rotate-content>i{width:68px;height:68px;align-items:center;justify-content:center;background:#263e31;color:#e4c487;border:1px solid #64745c;border-radius:16px;margin-bottom:23px}.rotate-content>i svg{width:42px;height:42px;stroke-width:1.4}
.rotate-content .overline{color:#dcc292}.rotate-content h2{font:400 clamp(34px,8vw,46px)/1.12 var(--serif);margin:9px 0 14px;letter-spacing:-.035em}.rotate-content p:last-child{margin:0;color:#d6dfd0;line-height:1.55}
.phone body{height:100vh;height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.phone .mast{display:none}
.phone .mobilebar{display:flex;align-items:center;flex:0 0 44px;height:44px;gap:7px;justify-content:flex-start;padding:0 8px;background:#162b21;color:#edf1e4;border-bottom:1px solid #566c59;z-index:4}
.phone .mobilebar>span{font:18px var(--serif);margin-right:auto;color:#f1ecdf;white-space:nowrap}
.phone .mobilebar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;min-height:44px;padding:0 9px;font:550 13px/1.1 Geist,sans-serif;touch-action:manipulation}
.phone .mobilebar button[aria-expanded=true]{background:#38503c;color:#ffe9b8}
.phone .mobilebar svg{width:17px;height:17px}
.phone .mobilebar #full{border-left:1px solid #5c705c;border-radius:0;color:#f9dfae}
.phone .mobilebar #full[aria-pressed=true]{background:#3e513c;color:#fff3cf}
.phone .workspace{flex:1 1 0;height:auto;min-height:0;display:block;position:relative}
.phone .visual{height:100%;position:relative}
.phone .rail,.phone #info{display:none;position:absolute;top:0;bottom:0;width:min(340px,75%);z-index:5;box-shadow:0 14px 40px #0c170f80}
.phone .rail{left:0}.phone #info{right:0;padding:14px 18px}.phone .rail-body{padding:14px 18px}
.phone body[data-panel=menu] .rail,.phone body[data-panel=info] #info{display:block}
.phone .rail #modes button,.phone .rail .resources button,.phone .rail .light-options button,.phone .rail .sector,.phone .rail .blackout,.phone .arrows button,.phone .info-sections button{min-height:44px}
.phone .heading{top:9px;left:14px}.phone .heading h1{font-size:clamp(27px,7vh,39px);margin:3px 0}.phone .heading p{display:none}.phone .kicker{font-size:9px}
.phone #mode-tag{top:10px;bottom:auto;right:12px}.phone .bottomtitle{bottom:8px}
.phone .viewbar{min-height:44px;height:44px;padding:0 10px}.phone .gesture{font-size:12px}.phone .gesture i{display:none}.phone .tools button{width:44px;height:44px}
.phone body.walk .viewbar{display:none}
.phone #walk-hud{left:10px;top:9px;padding:5px 9px;max-width:44%;font-size:12px}
.phone #walk-controls{left:auto;right:10px;bottom:auto;top:8px;gap:5px}
.phone .walk-light button,.phone #exit{min-height:44px;min-width:44px;font-size:13px;padding:5px 9px}.phone #exit span{display:inline}
.phone #pad{left:10px;right:auto;bottom:9px;grid-template-columns:repeat(3,44px);gap:3px}.phone #pad button{height:44px;font-size:20px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.phone #dialog{width:min(680px,calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px));max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 12px)}
.phone #dialog .dialog-header{position:sticky;top:0;z-index:1;background:var(--paper);padding:5px 12px;min-height:46px}
.phone .dialog-header .overline{display:none}.phone .dialog-header h2{font-size:23px}.phone .dialog-header #close{min-width:44px;min-height:44px}
.phone #dialog[data-kind=atlas]{width:calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right) - 12px);height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 12px)}
.phone-expanded .mobilebar{position:absolute;left:env(safe-area-inset-left);right:env(safe-area-inset-right);top:env(safe-area-inset-top);background:#162b21ed}
.phone-expanded .rail,.phone-expanded #info{top:44px}
.phone-expanded .heading,.phone-expanded #mode-tag,.phone-expanded #walk-hud,.phone-expanded #walk-controls{margin-top:44px}
.phone-expanded .viewbar{position:absolute;right:6px;bottom:6px;background:#1b2c25ee;border:1px solid #697960;border-radius:5px}
.phone-expanded .viewbar .gesture{display:none}.phone-expanded #north,.phone-expanded #scale{bottom:58px}
.phone #toast{bottom:max(12px,env(safe-area-inset-bottom))}
@media(max-width:600px){.phone .mobilebar{gap:0}.phone .mobilebar>span{font-size:15px}.phone .mobilebar button{padding:0 6px}.phone #walk-controls{right:5px}.phone #walk-hud{left:5px;max-width:41%}}
@media(max-width:490px){.phone .mobilebar>span{display:none}.phone #toggle-info{margin-right:auto}}

.language-switch{display:flex;align-items:center;gap:6px;flex-shrink:0}
.language-switch a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid transparent;border-radius:5px;padding:5px;text-decoration:none;box-sizing:border-box}
.language-switch a:hover{background:#b9c7b540}.language-switch a[aria-current=true]{border-color:#94724a;background:#e2bc7825}
.language-switch svg{display:block;width:28px;height:19px;border-radius:2px;box-shadow:0 0 0 1px #17262230}
.phone .language-switch{gap:0}.phone .language-switch a{width:36px;height:44px}.phone .language-switch svg{width:26px;height:18px}
html[lang=en] .info-sections{gap:10px}

/* One visible language toggle and project link across desktop and phone layouts. */
.project-home{display:inline-flex;align-items:center;min-height:40px;color:inherit;font-size:13px;text-decoration:none;white-space:nowrap}
.project-home:hover{text-decoration:underline;text-underline-offset:4px}
.project-home:focus-visible,.language-switch a:focus-visible{outline:2px solid #94724a;outline-offset:2px}
.mobilebar .project-home,.mobilebar .language-switch{display:none}
.phone .mobilebar .project-home,.phone .mobilebar .language-switch{display:inline-flex}
.phone .project-home{font-size:12px;min-height:44px}
@media(max-width:530px){.mast-actions{gap:4px}.project-home{font-size:11px}.mast-actions #help span{display:none}}
