:root{font-family:Segoe UI,Microsoft YaHei,sans-serif;color:#273347;background:#e9ecef;font-synthesis:none;--navy: #101a67;--muted: #5c6879;--line: #dce1e8;--panel: rgba(255, 255, 255, .95)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit;border:0;background:transparent;color:inherit;cursor:pointer;min-height:44px;padding:0 14px;border-radius:8px;font-size:13px;font-weight:500}button:hover{background:#eaf0f8;color:var(--navy)}button:focus-visible{outline:2px solid #4f6ce9;outline-offset:2px}button:disabled{cursor:wait;opacity:.6}#scene{display:block;width:100%;height:100%;outline:none;touch-action:none;cursor:grab;transition:opacity .14s}#scene:active{cursor:grabbing}#scene.view-changing{opacity:.2}.glass{background:var(--panel);border:1px solid rgba(255,255,255,.9);box-shadow:0 5px 24px #26374c16;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.topbar{position:absolute;inset:24px 24px auto;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{height:58px;display:flex;align-items:center;border-radius:12px;padding:9px 17px}.brand img{width:112px;height:38px;object-fit:contain}.tools{height:54px;display:flex;align-items:center;padding:4px;gap:2px;border-radius:12px}.tools button{white-space:nowrap}.scheme-panel{position:absolute;inset:auto auto 24px 24px;width:280px;padding:17px;border-radius:14px}.panel-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading h1{font-size:17px;line-height:1.4;margin:0;font-weight:650}.live-dot{height:7px;width:7px;border-radius:50%;background:var(--navy)}.dimensions{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;margin:7px 0 17px}.selection-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:8px}.selection-title>span{color:var(--muted)}.selection-title strong{font-size:13px;color:var(--navy)}.schemes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.schemes button{border:1px solid var(--line);min-height:42px;padding:0 2px;font-size:12px;background:#f7f8fa}.schemes button:hover{background:#eaf0f8}.schemes button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}.map-panel{position:absolute;inset:auto 24px 24px auto;width:352px;padding:10px 10px 0;border-radius:14px}.map-label{display:flex;justify-content:space-between;padding:0 7px;gap:8px;font-size:12px}.map-label span:first-child{color:var(--navy);font-weight:650}.map-label span+span{color:var(--muted);font-size:11px}#minimap{display:block;width:100%;height:auto}#map-marker,#map-base{pointer-events:none}.map-target{outline:none;cursor:pointer;touch-action:manipulation}.map-target rect{fill:transparent}.map-target text{pointer-events:none;font:650 6.4px Segoe UI,Microsoft YaHei,sans-serif;fill:#243553;text-anchor:middle;dominant-baseline:central}.map-target:is(:hover,:focus-visible) rect{fill:#c5d3ed;stroke:#2a4383;stroke-width:.8}.map-target:where([data-view=wall],[data-view=cases],[data-view=parts],[data-view=closed]) rect{fill:#aabde049}.map-target[data-view=entry] text{font-size:5.7px}.map-target:where([data-view=wall],[data-view=cases]) text{font-size:5.2px}.loading{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);padding:20px 26px;border-radius:12px;display:flex;align-items:center;gap:15px;font-size:14px;white-space:nowrap}.loading.hidden{display:none}.loading-ring{width:20px;height:20px;border:2px solid #d3d9e5;border-top-color:var(--navy);border-radius:50%;animation:spin 1s linear infinite}.toast{position:absolute;left:50%;top:82px;transform:translate(-50%);pointer-events:none;max-width:calc(100% - 32px);background:#fff;color:#24324c;border:1px solid #d8deea;box-shadow:0 6px 24px #24314c24;padding:12px 22px;border-radius:10px;font-size:13px;opacity:0;transition:opacity .18s;text-align:center;z-index:4}.toast.visible{opacity:1}.touch-pad{display:none;position:absolute;bottom:249px;left:24px;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);border-radius:12px;padding:4px;gap:2px;touch-action:none}.touch-pad button{padding:0;font-size:20px;border:1px solid var(--line)}.touch-pad button:first-child{grid-column:2}.touch-pad button:nth-child(2){grid-column:1;grid-row:2}.touch-pad button:nth-child(3){grid-column:2;grid-row:2}.touch-pad button:nth-child(4){grid-column:3;grid-row:2}@keyframes spin{to{transform:rotate(360deg)}}@media(pointer:coarse){.touch-pad{display:grid}.schemes button{min-height:44px}}@media(max-width:730px){.topbar{inset:12px 12px auto}.brand{height:48px;padding:6px 12px}.brand img{width:91px;height:32px}.tools{height:48px}.tools button{font-size:12px;padding:0 10px;min-height:40px}.scheme-panel{inset:auto 12px 12px;width:auto;padding:11px 12px}.panel-heading h1{font-size:14px}.dimensions{font-size:11px;margin:4px 0 8px}.selection-title{margin-bottom:5px}.selection-title strong{font-size:12px}.schemes{grid-template-columns:repeat(8,1fr);gap:4px}.schemes button{font-size:11px}.map-panel{inset:auto 12px 156px auto;width:min(320px,calc(100% - 24px))}.touch-pad{inset:70px 12px auto auto}.loading{white-space:normal;max-width:calc(100% - 36px)}}@media(max-width:730px)and (max-height:500px){.scheme-panel{inset:auto auto 10px 10px;width:min(44%,260px)}.schemes{grid-template-columns:repeat(4,1fr)}.panel-heading,.dimensions{display:none}.map-panel{inset:auto 10px 10px auto;width:min(49%,320px)}.touch-pad{inset:65px auto auto 10px}}@media(max-width:730px)and (min-height:501px)and (max-height:730px)and (orientation:portrait){.map-panel{width:min(244px,64vw)}.touch-pad{inset:64px 12px auto auto;grid-template-columns:repeat(4,44px);grid-template-rows:44px}.touch-pad button:nth-child(n){grid-row:1}.touch-pad button:nth-child(3){grid-column:3}.touch-pad button:last-child{grid-column:4}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
