:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;color:#253544;background:#f4f6fa;--accent:#159e90;--line:#e3e9ee;--muted:#7d8997}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{border:1px solid #dce4eb;background:white;color:#344653;border-radius:8px;padding:9px 15px;cursor:pointer;transition:background .15s}button:hover{background:#edf7f5;border-color:#7fcabd}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #7bd3c9;outline-offset:2px}a{color:var(--accent);text-decoration:none}.primary{background:var(--accent);color:white;border-color:var(--accent)}.primary:hover{background:#107d72}.danger{color:#c84950}.quiet{border:0;background:transparent}.muted{color:var(--muted);font-size:13px;line-height:1.7}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.6px}h2{font-size:20px}h3{font-size:16px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.field{display:block;font-size:12px;color:#74828e;margin:15px 0}.field input:not([type=checkbox]),.field select,.field textarea{display:block;margin-top:7px;width:100%;border:1px solid #dce4eb;border-radius:7px;background:#fff;padding:10px;color:#243744;min-width:0}.field textarea{min-height:92px;resize:vertical}.field input[type=checkbox]{float:right;accent-color:var(--accent);width:17px;height:17px}.field input:focus,.field textarea:focus{outline:2px solid #8ddbcf;border-color:transparent}.field input[type=color]{height:40px;padding:3px}.loading{padding:40px}.brand{font-size:21px;font-weight:700;letter-spacing:-.8px}.brand b{color:#40dac2}.brand small{display:block;color:#7f999f;font-size:10px;letter-spacing:3px;margin-top:5px}.sidebar{width:216px;background:#122c34;color:#d7e3e6;position:fixed;inset:0 auto 0 0;padding:30px 20px;display:flex;flex-direction:column;z-index:3}.sidebar .brand{margin-bottom:46px}.sidebar nav{display:grid;gap:8px}.sidebar button{width:100%;text-align:left;background:transparent;border:0;color:#9fb5bc;padding:14px 18px}.sidebar button.active,.sidebar button:hover{background:#24464e;color:#78e2cf}.sidebar .foot{margin-top:auto;font-size:11px;color:#668891;line-height:1.8}.workspace{margin-left:216px}.topbar{height:80px;border-bottom:1px solid var(--line);background:#fff;padding:0 38px;display:flex;align-items:center;justify-content:space-between}.topbar .breadcrumb{font-size:13px;color:#8e9ca7}.avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e3f5f0;color:var(--accent);font-size:12px}.main{padding:32px 38px;max-width:1800px;margin:auto}.hero{background:#e7f4f0;border:1px solid #d7e8e1;border-radius:14px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;position:relative;overflow:hidden}.hero p{color:#68918a;margin:9px 0 0;font-size:13px}.hero .orb{font-size:56px;color:#a7d7c9;letter-spacing:-8px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0}.metric{padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px}.metric strong{display:block;font-size:28px;font-weight:600;margin-top:12px}.metric span{font-size:12px;color:#87939e}.toolbar{display:flex;align-items:center;gap:10px;margin:28px 0 20px;flex-wrap:wrap}.toolbar h2{margin:0 auto 0 0}.search{padding:10px 14px;border:1px solid var(--line);border-radius:8px;width:230px}.tabs{display:flex;gap:5px}.tabs button.active{color:var(--accent);background:#e4f3ef;border-color:#cce6df}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:22px}.project-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #153d4d03}.cover{height:176px;position:relative;background:#d8e4e6}.cover img{width:100%;height:100%;object-fit:cover}.badge{position:absolute;left:14px;top:14px;border-radius:5px;padding:5px 9px;color:white;background:#17342bc9;font-size:11px}.badge.draft{background:#273f55b8}.card-body{padding:20px}.card-body h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:10px}.card-body p{font-size:12px;color:#8e9aa4}.card-actions{display:flex;gap:6px;margin-top:17px;flex-wrap:wrap}.card-actions button{font-size:12px;padding:7px 10px}.empty{background:white;border:1px dashed #c6d7d9;padding:48px;text-align:center;border-radius:14px;color:#83949b}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}.asset-tile{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px;text-align:left;min-width:0}.asset-tile img{width:100%;height:110px;object-fit:cover;border-radius:6px}.asset-tile span,.asset-tile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:5px 0}.asset-tile small{color:var(--muted);font-size:11px}.media-icon{height:110px;display:grid;place-items:center;background:#e9f1f4;font-size:34px;color:#7b9aab}.panel{padding:25px;border:1px solid var(--line);background:white;border-radius:12px;margin-bottom:20px}.table{width:100%;border-collapse:collapse;font-size:13px}.table td,.table th{text-align:left;padding:15px;border-bottom:1px solid var(--line)}.chart{display:flex;align-items:flex-end;gap:7px;height:170px;padding-top:25px}.bar{flex:1;background:#a1d9cd;min-height:2px;position:relative;border-radius:4px 4px 0 0}.bar span{position:absolute;top:-22px;font-size:10px;left:4px;color:#557d77}.auth{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.auth-art{background:linear-gradient(180deg,#09282c42,#061b25ee),url('/assets/demo.jpg') center/cover;display:flex;flex-direction:column;justify-content:space-between;padding:60px;color:white}.auth-art h1{font-size:46px;line-height:1.35;max-width:450px}.auth-art p{color:#bbd7d8;line-height:1.9}.auth-form{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form form{width:340px;max-width:100%}.auth-form h1{font-size:28px}.auth-form .primary{width:100%;margin-top:20px;padding:13px}.error{color:#bb424b;font-size:13px;min-height:20px;margin-top:15px}dialog{width:min(670px,94vw);max-height:88dvh;border:1px solid #d8e4e5;border-radius:14px;padding:25px;background:white;color:#243744;box-shadow:0 30px 100px #001d3340}dialog::backdrop{background:#082b3c70;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dialog-head h2{margin:0}.picker{max-height:380px;overflow:auto;margin-top:20px}.media{max-width:100%;max-height:60vh}#toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);padding:13px 22px;border-radius:9px;background:#173b41;color:#fff;z-index:100;max-width:90vw;opacity:0;pointer-events:none;box-shadow:0 10px 35px #0002}#toast.visible{opacity:1}.editor{height:100dvh;display:flex;flex-direction:column;background:#17252d}.edit-top{height:66px;display:flex;gap:16px;align-items:center;padding:10px 20px;background:white;flex-shrink:0}.edit-top h3{margin:0;max-width:30vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-top .save-status{margin-left:auto;color:#809398;font-size:12px}.edit-body{display:grid;grid-template-columns:220px minmax(0,1fr) 320px;min-height:0;flex:1}.scene-panel{background:#f4f7f8;padding:16px;overflow:auto;border-right:1px solid var(--line)}.scene-panel h3{display:flex;justify-content:space-between}.scene-item{padding:8px;margin-bottom:9px;border:1px solid #d9e3e5;border-radius:8px;background:white;cursor:pointer}.scene-item.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.scene-item img{height:75px;width:100%;object-fit:cover;border-radius:4px}.scene-item span{display:block;font-size:12px;margin-top:6px}.scene-item small{font-size:10px;color:#7d9198}.stage{position:relative;min-height:0}.stage #editor-pano{width:100%;height:100%}.stage-tools{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:8px;white-space:nowrap;z-index:3}.stage-tools button{background:#132c39dd;color:white;border-color:#ffffff40}.stage-note{position:absolute;left:18px;top:16px;background:#142d3ed9;color:#c4e3e1;padding:10px 14px;border-radius:6px;font-size:11px;z-index:3;pointer-events:none}.properties{background:white;overflow:auto;padding:0 18px 22px;border-left:1px solid var(--line)}.prop-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;position:sticky;top:0;z-index:5;padding:12px 0;background:white;border-bottom:1px solid var(--line);margin-bottom:15px}.prop-tabs button{font-size:11px;padding:9px 5px}.prop-tabs .active{background:#e3f4ee;color:#137a6f;border-color:#b4dfd4}.properties h3{margin:20px 0 10px}.mini-row{display:flex;gap:8px}.mini-row>*{flex:1;min-width:0}.hotspot-row,.route-row{padding:12px;border:1px solid var(--line);border-radius:7px;margin:10px 0;font-size:12px}.hotspot-row .row,.route-row .row{margin-top:8px}.hotspot-row button,.route-row button{padding:5px 7px;font-size:11px}.map-editor{position:relative;min-height:150px;background:#edf3f3;border-radius:6px;cursor:crosshair}.map-editor img{display:block;width:100%}.map-editor b{position:absolute;transform:translate(-50%,-50%);background:var(--accent);color:white;padding:5px 8px;border-radius:50%;font-size:11px}.asset-control{padding:9px;border:1px solid var(--line);border-radius:8px;margin:12px 0}.asset-control img{width:100%;height:80px;object-fit:cover;border-radius:5px}.asset-control .row{margin-top:8px}.asset-control button{font-size:11px;padding:6px 9px}.asset-control small{font-size:11px;color:#8b9ca4}.editor-footer{padding:8px 20px;color:#a0b8c2;font-size:11px;background:#16313a}.hotspot-icon{width:36px;height:36px;border:2px solid #fff;background:#159e90dd;color:white;border-radius:50%;display:grid;place-items:center;font-size:18px;box-shadow:0 0 0 6px #ffffff25;cursor:pointer}.hotspot-label{position:absolute;white-space:nowrap;top:45px;left:50%;transform:translateX(-50%);font-size:12px;background:#142c3ad9;color:white;padding:5px 9px;border-radius:5px}.note{font-size:12px;line-height:1.7;color:#7e9098}.pnlm-about-msg{display:none}@media(max-width:1050px){.sidebar{width:180px;padding:24px 13px}.workspace{margin-left:180px}.main{padding:24px}.edit-body{grid-template-columns:165px minmax(0,1fr) 280px}.metrics{gap:10px}}@media(max-width:760px){.sidebar{position:relative;width:100%;padding:16px}.sidebar .brand{margin:0 0 14px}.sidebar nav{display:flex;overflow:auto;gap:4px}.sidebar button{white-space:nowrap;width:auto;padding:8px}.sidebar .foot{display:none}.workspace{margin-left:0}.topbar{height:60px;padding:0 20px}.main{padding:20px}.metrics{grid-template-columns:repeat(2,1fr)}.hero{padding:20px}.hero .orb{display:none}.auth{display:block}.auth-art{min-height:220px;padding:25px}.auth-art h1{font-size:28px;margin:30px 0 0}.auth-art p{display:none}.auth-form{padding:30px 24px}.edit-body{grid-template-columns:110px 1fr;grid-template-rows:55dvh auto;overflow:auto}.properties{grid-column:1/-1;overflow:visible}.scene-panel{padding:7px}.scene-item img{height:45px}.edit-top{height:auto;flex-wrap:wrap;padding:10px}.edit-top h3{max-width:45vw;font-size:13px}.edit-top button{font-size:11px;padding:7px}.edit-top .save-status{font-size:10px}.editor-footer{display:none}.stage-tools{bottom:10px;gap:4px}.stage-tools button{font-size:10px;padding:7px}.stage-note{font-size:10px;left:8px;right:8px}.table{font-size:11px}.table td,.table th{padding:8px}}
.stage.drop-active{outline:3px dashed var(--accent);outline-offset:-6px}.upload-list{max-height:40dvh;overflow:auto;background:#f3f8f7;border-radius:12px;padding:10px 14px;margin:12px 0}.upload-list p{margin:8px 0;overflow-wrap:anywhere}.stage-tools{max-width:calc(100% - 24px);flex-wrap:wrap}.stage-tools button{min-height:40px}
.hotspot-text{max-width:240px;min-width:60px;padding:10px 14px;border:1px solid #ffffff60;border-radius:10px;background:#102a37d9;color:white;font-size:14px;font-weight:500;line-height:1.6;white-space:pre-wrap;box-shadow:0 5px 24px #0003;cursor:pointer;backdrop-filter:blur(8px)}
@media(max-width:760px){.scene-panel .primary,.scene-panel>button{width:100%;padding:10px 5px;white-space:normal;font-size:11px;min-height:44px;margin-bottom:6px}.stage-tools{left:8px;right:8px;transform:none;max-width:none;justify-content:center;white-space:normal}.stage-tools button{min-height:44px;font-size:11px}.hotspot-text{max-width:180px;font-size:13px}}

.hotspot-annotation{width:1px;height:1px;background:none!important;border:0!important;cursor:pointer;z-index:2}.annotation-label{position:absolute;display:flex;flex-direction:column;align-items:center;gap:3px;left:0;bottom:0;width:max-content;max-width:260px;translate:-50% 0;transform-origin:50% 100%;color:var(--label-color,#fff);font-size:var(--label-size,18px);text-shadow:0 2px 4px #000,0 0 8px #000;line-height:1.35;pointer-events:auto}.annotation-label strong{font-weight:650;white-space:pre-wrap;overflow-wrap:anywhere}.annotation-label small{font-size:12px;font-weight:400}.annotation-road .annotation-label{flex-direction:row;background:#152e4080;border:1px solid #ffffff40;border-radius:24px;padding:8px 14px;gap:9px;min-height:44px}.annotation-arrow{font-size:1.25em}.annotation-building .annotation-label strong,.annotation-place .annotation-label strong{padding:7px 12px;background:#152e40d9;border:1px solid #ffffff60;border-radius:8px}.annotation-stem{height:34px;width:2px;background:var(--label-color);position:relative;box-shadow:0 1px 4px #0008}.annotation-stem:after{content:'';width:9px;height:9px;border-radius:50%;background:var(--label-color);position:absolute;bottom:0;left:-3.5px;box-shadow:0 0 0 4px #ffffff25}.hotspot-annotation:focus-visible .annotation-label{outline:3px solid #7bd3c9;outline-offset:3px}@media(max-width:760px){.annotation-label{max-width:190px}.annotation-label small{font-size:11px}}

.annotation-logo .annotation-label{max-width:240px}.annotation-logo img{display:block;height:auto;max-width:240px;max-height:200px;object-fit:contain;filter:drop-shadow(0 2px 4px #0005)}

[hidden]{display:none!important}
#editor-pano .pnlm-hotspot-base{touch-action:none;cursor:grab}#editor-pano .pnlm-hotspot-base:active{cursor:grabbing}

.annotation-road .annotation-label,.annotation-building .annotation-label strong,.annotation-place .annotation-label strong{background:transparent;border:0}
.annotation-text .annotation-label,.annotation-scene .annotation-label{padding:8px;min-height:44px}

/* Keep the scene navigator and inspector stable while editing large panoramas. */
.edit-top{height:72px;gap:10px;border-bottom:1px solid var(--line)}.edit-top h3{max-width:20vw}.edit-top button{font-size:12px;min-height:40px;border-radius:10px}.save-status{white-space:nowrap}.edit-body{grid-template-columns:248px minmax(0,1fr) 344px}
.scene-panel{padding:18px 14px;background:#f5f7f9;scrollbar-width:thin}.scene-actions{display:grid;gap:7px}.scene-actions button{width:100%;font-size:12px;min-height:40px}.scene-panel>.field{margin:14px 0}.scene-panel input{font-size:13px}
.editor-scene-list{display:grid;gap:8px}.editor-scene-list .scene-item{width:100%;margin:0;display:grid;grid-template-columns:68px minmax(0,1fr);column-gap:10px;text-align:left;padding:8px;border-radius:12px}.scene-item img{grid-row:1/3;height:56px}.scene-item span{margin:3px 0;font-weight:600;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-item small{font-size:10px;line-height:1.5;align-self:start}.scene-item.active{background:#e8f6f2}.scene-item:hover{background:#eff7f5}
.scene-stepper{position:absolute;top:14px;left:16px;right:16px;z-index:3;display:flex;align-items:center;gap:8px;pointer-events:none}.scene-stepper>*{pointer-events:auto}.scene-stepper button{background:#112936cc;color:white;border-color:#ffffff30;font-size:11px;padding:9px 11px;min-height:38px}.scene-stepper span{color:#fff;background:#112936aa;padding:9px 12px;border-radius:8px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;flex:1;text-align:center;pointer-events:none}
.stage-note{top:64px;max-width:calc(100% - 36px);padding:8px 12px;background:#11293688}.stage-tools{gap:6px;padding:8px;justify-content:center;background:#102530b8;backdrop-filter:blur(12px);border:1px solid #ffffff20;border-radius:16px}.stage-tools button{border:0;background:#ffffff10;font-size:11px;padding:9px 11px;border-radius:9px}.stage-tools button:hover{background:#ffffff25}.properties{scrollbar-width:thin}.properties .prop-tabs{grid-template-columns:repeat(3,1fr)}.properties input:focus,.properties textarea:focus{box-shadow:0 0 0 3px #159e9010}.properties>h3{margin-top:18px}
#editor-pano .selected-annotation .annotation-label{outline:2px solid #80e5d2;outline-offset:5px;border-radius:4px}
.editor-focus .edit-body{grid-template-columns:minmax(0,1fr)}.editor-focus .scene-panel,.editor-focus .properties{display:none}.editor-focus .stage-note{max-width:60%}
@media(max-width:1150px) and (min-width:761px){.edit-body{grid-template-columns:205px minmax(0,1fr) 300px}.edit-top{height:auto;min-height:72px;flex-wrap:wrap}.edit-top h3{max-width:160px}.stage-tools button{font-size:10px;padding:8px}.scene-stepper{gap:4px}.scene-stepper button{font-size:10px;padding:8px}}
@media(max-width:760px){.edit-body{grid-template-columns:140px minmax(0,1fr);grid-template-rows:60dvh auto}.editor-scene-list .scene-item{display:block;padding:6px}.scene-item img{height:54px}.scene-panel{padding:8px}.scene-panel h3{font-size:12px}.scene-panel>.field{font-size:11px}.scene-panel input{padding:8px}.scene-actions button{font-size:10px;padding:8px 5px}.scene-stepper{left:8px;right:8px;gap:4px}.scene-stepper button{font-size:10px;padding:7px;min-height:36px}.scene-stepper span{font-size:10px;padding:8px 5px}.stage-note{top:58px}.stage-tools{padding:5px;gap:4px}.stage-tools button{min-height:38px;font-size:10px;padding:8px}.editor-focus .edit-body{grid-template-rows:minmax(0,1fr)}.edit-top h3{max-width:35vw}.properties{padding:0 16px 24px}}
.stage-tools{width:calc(100% - 32px);max-width:900px}
@media(max-width:760px){.stage-tools{width:auto;max-width:none}}
