:root{color-scheme:light dark;--paper:#f3f5ef;--card:#fffefa;--ink:#173a35;--mute:#47615a;--control:#edf1e9;--accent:#18594f;--on:#fff;--edge:#d4e1d5;--pad:16px;--rad:28px;--gap:8px;--field:48px;--f-rad:16px;font-family:Roboto,"Noto Sans",Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;padding:env(safe-area-inset-top) max(0px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(0px,env(safe-area-inset-left))}
header,main{max-width:1320px;margin:auto}header{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.brand{display:flex;align-items:center;gap:12px}.brand>svg{width:40px;height:40px}h1,h2,p{margin:0}h1{font:600 30px/1 Georgia,"Noto Serif",serif;letter-spacing:-1.5px}.subtitle{font-size:12px;line-height:18px;color:var(--mute);letter-spacing:.02em}button,input,select{font:inherit;color:inherit}button,summary,select{cursor:pointer}button{border:0;background:var(--control);border-radius:var(--f-rad);min-height:var(--field);padding:0 16px;font-weight:600}button:disabled,input:disabled{cursor:default;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,#map:focus-visible{outline:3px solid #db8625;outline-offset:2px}button:active:not(:disabled){filter:brightness(.94)}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}.home{display:flex;gap:8px;align-items:center;font-size:14px;white-space:nowrap}
main{padding:0 8px 32px;display:grid;gap:12px;align-items:start}.atlas,.card{background:var(--card);border-radius:var(--rad);min-width:0}.atlas{padding:8px;overflow:hidden}.panel{display:grid;gap:12px}.card{padding:var(--pad)}h2{font-size:20px;line-height:26px;letter-spacing:-.6px;margin-bottom:12px}h2,label,button,summary{font-family:inherit}.ask h2{font-family:Georgia,"Noto Serif",serif;font-size:28px;line-height:32px;font-weight:500;margin-bottom:12px}label{display:block;color:var(--mute);font-size:13px;line-height:18px;font-weight:600}.askrow,.selectgrid,.shortcuts{display:flex;gap:var(--gap)}.askrow{margin-top:6px}.selectgrid>label{min-width:0;flex:1}input,select{border:0;width:100%;min-width:0;height:var(--field);background:var(--control);border-radius:var(--f-rad);padding:0 12px;font-weight:400;line-height:1.3;font-family:inherit;font-size:16px}select{margin-top:6px}input::placeholder{color:var(--mute)}#send{width:var(--field);flex:none;display:grid;place-items:center;background:var(--accent);color:var(--on);padding:0}.shortcuts{margin-top:12px;flex-wrap:wrap}.shortcuts button{min-height:44px;font-size:14px}.about summary{font-weight:600;line-height:24px;min-height:44px;align-content:center}.about p,.about a{font-size:14px;line-height:1.5;margin:12px 0 0}.about a{display:inline-block;color:var(--accent)}#notice:not(:empty),#result:not(:empty){margin-top:12px;font-size:14px;line-height:1.45;color:var(--mute)}#result h3{font-size:17px;line-height:23px;margin:0;color:var(--ink)}#result p{margin-top:8px}#result ol{margin:12px 0 0;padding-left:22px}#result li+li{margin-top:6px}
#map{position:relative;isolation:isolate;height:clamp(280px,40svh,385px);border-radius:calc(var(--rad) - 8px);overflow:hidden;background:radial-gradient(at 70% 0%,#b4dcd4,transparent 70%),linear-gradient(125deg,#a6d3ca,#d0e7dc);touch-action:none;cursor:grab}#map:active{cursor:grabbing}#scene{display:block}.north{position:absolute;z-index:2}.north{left:12px;top:12px;color:#214d47;background:#f9ffefdd;border-radius:20px;height:40px;width:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;line-height:10px;font-weight:700;pointer-events:none}.zoom{display:flex;gap:8px}.zoom button{font-family:Arial,sans-serif;background:var(--control);color:var(--ink);border-radius:14px;font-size:22px;width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center}.mapfoot{padding:8px 8px 6px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:16px;color:var(--mute)}.legend{display:flex;align-items:center;gap:6px}.roadkey{width:18px;height:4px;border-radius:4px;background:#247663}.ringkey{width:10px;height:10px;border:2px solid #4c7564;border-radius:50%;margin-left:6px}.place{cursor:pointer}.place text{font:600 12px/1 Roboto,"Noto Sans",sans-serif;fill:#193e35}.place rect{fill:#fbfff4;stroke:#8eafa0;stroke-width:.8}.place.selected text{fill:#fff}.place.selected rect{fill:#205d4f;stroke:#fff}.place.homepin rect{fill:#fff3cf;stroke:#b3985c}.place.homepin text{fill:#533f13}
@media(min-width:1024px){:root{--pad:24px;--rad:32px}header{padding:24px 32px}h1{font-size:38px}.brand>svg{width:48px;height:48px}main{padding:0 24px 40px;grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr);gap:16px}#map{height:clamp(520px,67vh,740px)}.mapfoot{padding:16px 16px 8px}.ask h2{font-size:32px;line-height:38px}.card{padding:24px}}
@media(max-width:355px){header{padding:12px}.brand{gap:8px}.home{padding:0 10px}.home svg{display:none}.selectgrid{flex-direction:column}}
@media(prefers-color-scheme:dark){:root{--paper:#142522;--card:#20342f;--ink:#eff4e9;--mute:#b6c9bf;--control:#30473e;--accent:#afe0c7;--on:#15352b;--edge:#456154}#map{background:linear-gradient(130deg,#82b7b2,#adcec1)}}

.selectgrid{display:grid;gap:8px}.selectgrid>label{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:8px}.selectgrid select{margin:0}
@media(max-width:355px){.selectgrid>label{grid-template-columns:52px minmax(0,1fr)}}

#map-note:not(:empty){font-size:14px;line-height:1.45;color:var(--ink);padding:8px 8px 10px}#map-note:empty{display:none}
@media(min-width:1024px){#map-note:not(:empty){padding:8px 16px 16px}}

.mapkey{display:grid;gap:2px}.mapkey>span{font-size:11px}.zoom button{flex:none}@media(max-width:355px){.zoom{gap:4px}.mapfoot{padding-inline:4px}.legend{gap:4px}}
.north{pointer-events:auto;width:44px;height:44px;min-height:44px;padding:0}.north svg{width:16px;height:20px;stroke:none}.geo{margin:0 8px;padding:4px 0 0;color:var(--mute);font-size:14px;line-height:1.45}.geo summary{min-height:44px;align-content:center;font-weight:600;color:var(--ink)}.geo p{margin:0 0 12px}.geo button{min-height:44px}.geo a{display:inline-block;color:var(--accent);margin-top:8px}.geo a[hidden]{display:none}#geo-result:not(:empty){padding-top:8px}.geo[open]{padding-bottom:12px}@media(min-width:1024px){.geo{margin:0 16px}}@media(max-width:365px){.mapfoot{flex-wrap:wrap}.legend{font-size:11px}}

.legend>span{display:flex;gap:6px;align-items:center}.legend i{display:block;margin:0}.legend{gap:12px}@media(max-width:600px){.legend{display:grid;gap:3px}.mapfoot{flex-wrap:nowrap}.north{border-radius:16px}}

.entry{display:block;max-width:496px;margin:clamp(32px,12vh,120px) auto 0;padding:0 8px}
.entry h1{margin-bottom:24px}.entry h2{margin-bottom:8px}.entry p{font-size:16px;line-height:1.5}
.entry form{margin:24px 0 0}.entry label{margin-bottom:8px}.entry button{width:100%;background:var(--accent);color:var(--on);margin-top:12px}
.entry details{margin-top:16px}.entry summary{min-height:44px;align-content:center;color:var(--mute)}
#access-status:not(:empty){margin-top:12px}.entry details p{font-size:14px;color:var(--mute)}
#thread:not(:empty){display:flex;flex-direction:column;gap:16px;max-height:min(32svh,300px);overflow-y:auto;overscroll-behavior:contain;margin-bottom:16px;padding-right:4px}
#thread p{font-size:15px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
#thread .guest{align-self:flex-end;margin-left:32px;padding:8px 12px;background:var(--control);border-radius:20px}
#thread .answer{margin-right:24px}.signout{justify-self:start;background:transparent;color:var(--mute)}

#thread.scrolled{mask-image:linear-gradient(to bottom,transparent,#000 14px)}
.north{font-size:13px;font-variant-numeric:tabular-nums}
