:root{color:#263a31;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--forest:#285445;--ink:#263a31;--muted:#637167;--edge:#dedfd3;background:#f6f4ee;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #4f7e65}a{color:inherit}[hidden]{display:none!important}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.topbar{background:#fbfaf5;border-bottom:1px solid #e0dfd5;justify-content:space-between;align-items:center;min-height:73px;padding:0 25px;display:flex}.brand{align-items:center;gap:13px;text-decoration:none;display:inline-flex}.brand-mark{color:#f7f4e4;background:#2e5746;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.brand-text{gap:3px;display:grid}.brand-text strong{letter-spacing:.075em;font-size:17px;line-height:1.12}.brand-text span{color:#66756b;letter-spacing:.09em;font-size:9.5px;font-weight:650}.top-actions{align-items:center;gap:13px;display:flex}.view-link{color:#416655;text-underline-offset:.2em;white-space:nowrap;font-size:12px}.prototype-status{white-space:nowrap;color:#587063;align-items:center;gap:7px;font-size:12px;display:flex}.prototype-status i{background:#668f72;border-radius:50%;width:6px;height:6px}.info-button{background:#f7f6ee;border:1px solid #deded3;border-radius:7px;align-items:center;gap:7px;padding:8px 12px;font-size:13px;display:flex}.info-button:hover,.icon-button:hover{background:#eaf0e7}.workspace{grid-template-columns:minmax(0,1fr) 328px;gap:16px;min-height:calc(100svh - 73px);padding:16px;display:grid}.stage{isolation:isolate;background-color:#e9eee1;background-image:linear-gradient(90deg,#c9d3c05e 1px,#0000 1px),linear-gradient(#c9d3c05e 1px,#0000 1px),radial-gradient(at 49% 41%,#f4f5eb 4%,#e7ede0 65%,#e4eade 100%);background-size:32px 32px,32px 32px,100% 100%;border:1px solid #d4dbca;border-radius:12px;min-height:max(650px,100svh - 105px);position:relative;overflow:hidden}.canvas-host{position:absolute;inset:0}.canvas-host canvas{touch-action:none;outline-offset:-3px;cursor:grab;width:100%;height:100%;display:block}.canvas-host canvas:active{cursor:grabbing}.map-heading{pointer-events:none;z-index:2;position:absolute;top:27px;left:30px}.location{letter-spacing:.055em;color:#426651;align-items:center;gap:6px;font-size:12px;font-weight:650;display:inline-flex}.map-heading h1{letter-spacing:.035em;margin:7px 0 6px;font-size:clamp(29px,3.15vw,45px);font-weight:750;line-height:1.2}.map-heading p{color:#56685b;letter-spacing:.05em;margin:0;font-size:13px}.map-controls{z-index:4;gap:10px;display:grid;position:absolute;top:24px;right:23px}.map-controls button{background:#fbfaf5;border:0;place-items:center;width:41px;height:39px;display:grid}.map-controls button:hover{background:#eaf0e5}.map-controls .compass{border:1px solid #d8dfd1;border-radius:8px;flex-direction:column;justify-content:center;gap:2px;height:54px;display:flex}.compass b{font-size:10px;line-height:12px}.compass-arrow{clip-path:polygon(50% 0,96% 96%,50% 71%,4% 96%);width:14px;height:19px;transform:rotate(var(--view-heading,45deg));background:#315f4c}.control-stack{border:1px solid #d8dfd1;border-radius:8px;overflow:hidden;box-shadow:0 3px 9px #45543c0e}.control-stack button+button{border-top:1px solid #e5e6dc}.map-labels{pointer-events:none;z-index:3;position:absolute;inset:0}.map-pin{pointer-events:auto;color:#345344;white-space:nowrap;background:#fdfcf3;border:1px solid #dce3d6;border-radius:5px;align-items:center;gap:6px;padding:5px 7px;font-size:11px;font-weight:650;line-height:1.16;display:flex;position:absolute;transform:translate(-50%,calc(-100% - 11px));box-shadow:0 2px 6px #394a3424}.map-pin:after{content:"";background:#6f8976;width:1px;height:12px;position:absolute;top:100%;left:50%}.map-pin.active,.map-pin:hover{color:#fffbed;z-index:1;background:#2b5c49;border-color:#2b5c49}.pin-node{background:#6a967b;border-radius:50%;width:5px;height:5px}.map-pin.active .pin-node{background:#daeabe}.stage-bottom{z-index:4;pointer-events:none;justify-content:space-between;align-items:center;gap:8px;display:flex;position:absolute;bottom:18px;left:19px;right:19px}.layer-buttons{pointer-events:auto;background:#fbfaf4;border:1px solid #d9dfd1;border-radius:8px;gap:2px;padding:3px;display:flex;box-shadow:0 3px 10px #45543c08}.layer-buttons button{color:#3e5447;background:0 0;border:0;border-radius:4px;align-items:center;gap:6px;padding:7px 9px;font-size:12px;display:flex}.layer-buttons button:hover{background:#eaf0e4}.layer-buttons button[aria-pressed=false]{opacity:.44}.layer-buttons i{border-radius:2px;width:8px;height:8px}.gesture-note{color:#54675a;white-space:nowrap;font-size:11px}.gesture-note span{align-items:center;gap:6px;display:inline-flex}.gesture-note .touch-gestures{display:none}.loading{z-index:5;color:#406a56;text-align:center;background:#edf1e9de;flex-direction:column;justify-content:center;align-items:center;gap:13px;padding:2rem;font-size:14px;display:flex;position:absolute;inset:0}.explorer{background:#fcfbf6;border:1px solid #e0e1d5;border-radius:12px;flex-direction:column;min-width:0;padding:18px 16px 12px;display:flex}.explorer-head,.building-list{padding:0 3px}.explorer-title{align-items:center;gap:9px;margin:3px 0 14px;display:flex}.explorer-title>span:first-child{color:#416a55;background:#e7ede2;border-radius:8px;place-items:center;width:33px;height:33px;display:grid}.explorer-title h2{margin:0;font-size:19px;font-weight:700}.entry-count{color:#617468;margin-inline-start:auto;font-size:12px}.search{color:#658171;background:#f6f6ef;border:1px solid #e0e1d5;border-radius:7px;align-items:center;gap:8px;padding:0 9px;display:flex}.search:focus-within{border-color:#7e9c88}.search input{color:#263a2d;background:0 0;border:0;outline:0;flex:1;min-width:0;padding:10px 0;font-size:13px}.search input::placeholder{color:#6c7c70}.building-list{gap:5px;max-height:min(390px,48vh);margin:16px 0;display:grid;overflow:auto}.building-filter{color:#587065;align-items:center;gap:6px;margin-top:12px;font-size:12px;display:flex}.building-filter select{color:#315345;font-size:inherit;background:#f6f8ef;border:1px solid #dce5d7;border-radius:5px;padding:4px}.building-filter span{margin-left:auto}.building-list button{text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;padding:8px 7px;display:flex}.building-list button:hover{background:#f0f3eb}.building-list button.chosen{background:#e8efe4;border-color:#cbdccb}.list-icon{color:#658775;background:#f0f2e9;border:1px solid #e4e9df;border-radius:7px;flex:none;place-items:center;width:33px;height:33px;display:grid}.chosen .list-icon{color:#f8f7e9;background:#376652;border-color:#376652}.list-label{flex:1;gap:3px;min-width:0;display:grid}.list-label strong{overflow-wrap:anywhere;font-size:13px;line-height:1.26}.list-label small{color:#65766a;font-size:11px}.building-list button>svg{color:#5f7c6b}.no-results{color:#68766a;font-size:13px}.building-detail{background:#eff3ea;border:1px solid #d6e0d1;border-radius:9px;padding:12px}.detail-top{align-items:center;gap:8px;display:flex}.detail-icon{color:#416d57;background:#dbe8da;border-radius:7px;flex:none;place-items:center;width:33px;height:33px;display:grid}.detail-kind{color:#5a7363;margin-bottom:1px;font-size:11px}.detail-top h3{margin:0;font-size:15px;line-height:1.3}.icon-button{color:#4c6e5c;background:#fafbf5;border:1px solid #d6e2d6;border-radius:5px;flex:none;place-items:center;width:29px;height:29px;display:grid}.source-button{margin-inline-start:auto}.heights{grid-template-columns:1fr 1.1fr;gap:8px;margin:13px 0 6px;display:grid}.heights dt{color:#66776b;font-size:11px}.heights dd{margin:3px 0 0;font-size:12px}.heights dd strong{margin-right:2px;font-size:21px;line-height:1}.grade{color:#3d6b52;background:#dae7d8;border-radius:4px;place-items:center;width:19px;height:19px;margin-right:4px;font-weight:750;display:inline-grid}.detail-provenance{color:#52685c;margin:7px 0;font-size:11px;line-height:1.5}.detail-end{border-top:1px solid #d7e0d3;justify-content:space-between;align-items:center;gap:7px;padding-top:7px;font-size:10.5px;line-height:1.4;display:flex}.detail-end code{color:#526d5c;overflow-wrap:anywhere}.detail-end button{white-space:nowrap;color:#325d4a;background:0 0;border:0;align-items:center;gap:1px;padding:3px 0;font-size:11px;font-weight:700;display:flex}.explorer-footer{color:#627367;align-items:center;gap:5px;margin-top:auto;padding:14px 3px 1px;font-size:11px;display:flex}.explorer-footer span{margin-inline-start:auto}.data-dialog{color:#263a31;background:#fbfaf3;border:1px solid #d2ddcf;border-radius:12px;width:min(470px,100% - 30px);padding:19px}.data-dialog::backdrop{background:#19362b73}.dialog-top{justify-content:space-between;align-items:center;display:flex}.dialog-top h2{margin:0;font-size:21px}.data-dialog p{font-size:14px;line-height:1.6}.gate-gallery{width:min(660px,100% - 30px);max-height:87vh}.gate-gallery img{border-radius:7px;width:100%;display:block}.gate-gallery h3{margin:1.15rem 0 .5rem;font-size:16px}@media (width<=440px){.prototype-status{display:none}}@media (width<=920px){.workspace{grid-template-columns:minmax(0,1fr) 288px}.gesture-note{display:none}.map-heading{left:20px}}@media (width<=750px){.topbar{min-height:59px;padding:0 13px}.brand{gap:7px}.brand-mark{border-radius:6px;width:33px;height:33px}.brand-mark svg{width:21px;height:21px}.brand-text strong{font-size:13px}.brand-text span{letter-spacing:.045em;font-size:6.8px}.top-actions{gap:7px}.info-button{gap:4px;padding:6px 7px;font-size:11px}.prototype-status{gap:4px;font-size:10px}.workspace{flex-direction:column;gap:9px;min-height:0;padding:8px;display:flex}.stage{border-radius:9px;min-height:max(405px,59svh)}.map-heading{top:14px;left:13px}.map-heading h1{margin:5px 0 4px;font-size:26px}.map-heading p{font-size:11px}.location{font-size:10px}.map-controls{gap:7px;top:12px;right:11px}.map-controls button{width:36px;height:34px}.map-controls .compass{height:46px}.stage-bottom{justify-content:start;gap:5px;display:grid;bottom:9px;left:9px;right:9px}.layer-buttons{justify-self:start}.layer-buttons button{padding:7px 8px;font-size:11px}.gesture-note{font-size:10px;display:block}.gesture-note .desktop-gestures{display:none}.gesture-note .touch-gestures{display:inline-flex}.map-pin{gap:3px;padding:4px 5px;font-size:9px;transform:translate(-50%,calc(-100% - 8px))}.map-pin:after{height:8px}.explorer{border-radius:9px;padding:11px}.explorer-head{padding:0}.explorer-title{gap:6px;margin:0 0 8px}.explorer-title h2{font-size:16px}.explorer-title>span:first-child{width:27px;height:27px}.building-detail{order:1;margin-top:9px}.building-list{order:2;margin:8px 0 0}.explorer-footer{order:3}}.photo-controls{gap:7px;margin:12px 0;display:grid}.photo-controls label{color:#496354;font-size:12px;font-weight:650}.photo-controls select{color:#294739;width:100%;font:inherit;background:#f3f7f1;border:1px solid #d5dfd2;border-radius:6px;padding:8px 10px}.photo-controls figure{background:#f3f7f1;border-radius:6px;margin:2px 0;overflow:hidden}.photo-controls figure img{object-fit:contain;background:#e9eee8;width:100%;max-height:150px;display:block}.photo-controls figcaption{color:#53685a;padding:8px 10px;font-size:11px;line-height:1.5}.photo-stage{background:#d9e4e6}.rename-form{gap:10px;display:grid}.rename-form input{width:100%;font:inherit;border:1px solid #a0aa9a;border-radius:7px;padding:10px 12px}.rename-form p{margin:0}.rename-form div{justify-content:flex-end;gap:8px;display:flex}.rename-form button{cursor:pointer;background:#f5f7f0;border:1px solid #a0aa9a;border-radius:7px;padding:8px 12px}.rename-form button[type=submit]{color:#fff;background:#295b49;border-color:#295b49}.map-attribution{z-index:2;background:#f8f8f1ea;border-radius:4px;padding:2px 5px;font-size:11px;position:absolute;bottom:2px;right:10px}.stage:has(.map-attribution) .stage-bottom{bottom:28px}
