:root{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:#f1f0eb;background:#1b1e20;--accent:#e5b978;--muted:#94999a;--line:#3c3e3d}*{box-sizing:border-box}body{margin:0;overflow:hidden;height:100vh;height:100dvh}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #e5b978;outline-offset:2px}[hidden]{display:none!important}
.topbar{height:62px;background:#1d2021;display:flex;align-items:center;border-bottom:1px solid #363838;padding:0 24px;gap:39px;color:#eee}.brand{display:flex;align-items:center;gap:11px;min-width:232px}.brand-mark{height:30px;width:30px;position:relative;display:flex;align-items:flex-end;gap:3px;padding:5px 4px;border:1px solid #b9a380;transform:skewY(-8deg)}.brand-mark span{background:#e1bb82;width:4px;height:50%}.brand-mark span:nth-child(2){height:83%}.brand-mark span:nth-child(3){height:63%}.brand strong{display:block;font-size:13px;letter-spacing:.12em;font-weight:750}.brand strong span{color:var(--accent)}.brand small{display:block;color:#969999;font-size:8px;letter-spacing:.18em;margin-top:4px}.project-crumb{display:flex;gap:12px;align-items:center;color:#969999;font-size:10px;letter-spacing:.11em}.project-crumb strong{color:#e3e4df;font-weight:550;font-size:12px;letter-spacing:0}.project-crumb i{width:1px;height:14px;background:#565957}.project-crumb em{font-style:normal;color:#5d6260}.header-right{margin-left:auto;display:flex;align-items:center;gap:20px}.live,.version{font-size:9px;letter-spacing:.13em;color:#c1c4c0;white-space:nowrap}.live i,.panel-bottom i{display:inline-block;width:6px;height:6px;background:#a1c9a7;border-radius:50%;margin-right:6px}.version{border-left:1px solid #494c4a;padding-left:20px;color:#969b99}.version b{color:#ebd0a4}
.workspace{height:calc(100vh - 62px);height:calc(100dvh - 62px);position:relative}.viewport,#stage{position:absolute;inset:0}.viewport{background:#dce3e4;color:#303a39}#stage{bottom:40px;background:linear-gradient(165deg,#e5e8e5 0%,#d9e1e1 52%,#c6d2d2 100%)}canvas{display:block;width:100%;height:100%;touch-action:none}.viewport-label{position:absolute;top:26px;left:430px;display:flex;flex-direction:column;gap:5px;pointer-events:none;text-shadow:0 1px 3px #eff5f5}.viewport-label .label-index{font-size:9px;letter-spacing:.15em;font-weight:700;color:#6c7e7b}.label-index i{display:inline-block;width:15px;height:1px;background:#95a7a3;vertical-align:middle;margin:0 5px}.viewport-label strong{font-size:17px;color:#34423f;font-weight:650;letter-spacing:-.03em}.viewport-label small{color:#83928d;font-size:9px;letter-spacing:.12em;font-weight:600}.viewport-label small span{color:#b1beb9;margin:0 4px}.view-actions{position:absolute;bottom:24px;left:calc(50% + 155px);transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:5px;background:#262a2aee;border:1px solid #515654;border-radius:9px;box-shadow:0 8px 25px #28333240;white-space:nowrap}.view-actions button{border:0;background:transparent;color:#e3e5df;border-radius:5px;padding:9px 10px;font-size:11px;display:flex;align-items:center;gap:7px}.view-actions button:hover{background:#424643;color:#fff}.button-icon{font-size:15px;color:#e1be88;line-height:1}.view-actions .icon-button{font-size:19px;padding:5px 9px;color:#e6e8e2}.toolbar-separator{height:23px;width:1px;background:#535957;margin:0 4px}.compass{position:absolute;right:30px;bottom:29px;width:64px;height:64px;border:1px solid #aabbb6a0;border-radius:50%;color:#70847d;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#f4f7f340}.compass span{font-size:9px;font-weight:800;position:absolute;top:5px}.compass small{font-size:9px;font-weight:750;position:absolute;bottom:6px}.compass-cross{height:21px;width:21px;transform:rotate(45deg);border:1px solid #8ca29a}.compass-cross:after{content:'';display:block;height:1px;width:19px;background:#8ca29a;transform:rotate(-45deg);position:relative;top:9px}.view-footer{height:40px;position:absolute;bottom:0;left:0;right:0;background:#272b2b;color:#afb4b1;display:flex;align-items:center;padding:0 21px 0 356px;font-size:10px;border-top:1px solid #484c49}.guide{display:flex;gap:24px}.guide span{white-space:nowrap}.guide b{color:#e2e5df;font-weight:650;font-size:9px;letter-spacing:.06em;margin-left:4px}.guide kbd{font-family:inherit;color:#cda977;font-size:14px;margin-right:3px}.footer-status{margin-left:auto;color:#bdc8bd;font-size:10px;white-space:nowrap}
.control-panel{position:absolute;left:18px;top:18px;bottom:58px;width:310px;display:flex;flex-direction:column;background:#242827f7;color:#eceee8;border:1px solid #515553;border-radius:8px;box-shadow:0 12px 30px #1f29283d;overflow:hidden;z-index:3;transition:transform .22s ease,opacity .22s ease}.control-panel.collapsed{transform:translateX(-350px);opacity:0;pointer-events:none}.panel-heading{padding:23px 20px 18px;display:flex;justify-content:space-between;align-items:center}.eyebrow{display:block;font-size:9px;letter-spacing:.15em;font-weight:750;color:#ababa0}.eyebrow i{display:inline-block;width:12px;height:1px;background:#85775f;vertical-align:middle;margin:0 3px}.panel-heading h1{font-size:24px;font-weight:650;letter-spacing:-.05em;margin:9px 0 4px}.panel-heading p{font-size:11px;color:#a0a6a0;margin:0}.heading-symbol{font-size:27px;font-weight:200;color:#d6b57e;border:1px solid #62594d;border-radius:50%;height:41px;width:41px;display:grid;place-items:center}.panel-tabs{display:flex;border-bottom:1px solid #454a46;padding:0 20px;gap:24px}.panel-tabs button{border:0;background:none;color:#9b9f9a;padding:12px 0 11px;font-size:12px;font-weight:600;position:relative}.panel-tabs button[aria-selected=true]{color:#f1e8da}.panel-tabs button[aria-selected=true]:after{content:'';height:2px;background:#dfb276;position:absolute;left:0;right:0;bottom:-1px}.panel-content{padding:18px 19px 16px;overflow:auto;flex:1;scrollbar-color:#626965 transparent;scrollbar-width:thin}.summary{border:1px solid #454a46;border-radius:5px;display:flex;align-items:center;padding:13px 14px;margin-bottom:18px;gap:35px;background:#303531}.summary strong{font-size:16px;display:block;letter-spacing:-.03em}.summary div span{display:block;font-size:8px;letter-spacing:.12em;color:#999f98;margin-top:4px}.summary-mark{margin-left:auto;color:#b89b72;font-size:16px}.tool-panel{border:1px solid #454a46;border-radius:5px;background:#303531;padding:14px;margin-bottom:22px}.tool-title{display:flex;gap:10px;align-items:center}.tool-icon{display:grid;place-items:center;width:33px;height:33px;background:#444a43;color:#e4bd85;border-radius:5px;font-size:18px}.tool-title h2{font-size:12px;margin:0;font-weight:650}.tool-title p{font-size:9px;color:#989f98;margin:4px 0 0;letter-spacing:.035em}.control-label,.range-label{display:block;color:#d3d8d0;font-size:10px;font-weight:600;margin:16px 0 7px}.control-label span{float:right;font-size:9px;color:#929b93;font-weight:400}.tool-panel select{width:100%;height:36px;padding:0 9px;background:#242927;color:#edf0e9;border:1px solid #555d56;border-radius:4px;font-size:11px}.help-text{color:#a5ada4;font-size:10px;line-height:1.5;margin:9px 0 0}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.section-head h2{font-size:14px;font-weight:650;margin:6px 0 0}.text-button{background:none;border:0;color:#dfbd8c;font-size:10px;padding:4px}.systems{display:flex;flex-direction:column;gap:3px}.system{display:flex;align-items:center;gap:10px;padding:9px 8px;border:1px solid transparent;border-radius:4px;cursor:pointer;min-height:38px}.system:hover{background:#373c38;border-color:#4a504a}.system input{accent-color:#d6b079;width:14px;height:14px;margin:0;cursor:pointer}.swatch{width:9px;height:9px;border-radius:2px;flex:none}.sys-name{font-size:10px;font-weight:650;letter-spacing:.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sys-count{font-size:10px;color:#949b93;margin-left:auto}.side-note{font-size:10px;line-height:1.5;color:#939c93;border-top:1px solid #454a46;padding-top:15px;margin:14px 0 0}.panel-bottom{display:flex;align-items:center;justify-content:space-between;padding:13px 19px;border-top:1px solid #454a46;color:#9ca49b;font-size:8px;letter-spacing:.08em}.panel-bottom strong{font-size:8px;color:#cfbaa0;letter-spacing:.1em}.panel-bottom i{width:5px;height:5px}.panel-toggle{position:absolute;top:29px;left:340px;z-index:4;display:flex;gap:6px;align-items:center;color:#e6ebe4;background:#282d2bee;border:1px solid #5c635d;border-radius:5px;padding:9px 10px;font-size:10px;box-shadow:0 4px 12px #25342d33}.panel-toggle span{font-size:13px}.panel-toggle b{font-weight:600}.panel-toggle.is-collapsed{left:20px}
.section-panel{margin:0}.section-panel-title{display:flex;align-items:center;justify-content:space-between}.switch-label{display:flex;gap:5px;align-items:center;font-size:10px;color:#e2e7dc;cursor:pointer}.switch-label input{width:15px;height:15px;accent-color:#d9b27e}.section-intro{font-size:11px;color:#afb6ac;line-height:1.6;margin:18px 0}.range-label{display:flex;justify-content:space-between}.range-label output{font-size:10px;color:#e2c08c;font-variant-numeric:tabular-nums}.section-controls input[type=range]{width:100%;accent-color:#dab278;cursor:pointer}.flip-button{border:1px solid #626a60;color:#e9ece5;background:#3b443b;border-radius:4px;width:100%;padding:10px;margin-top:13px;font-size:11px}.flip-button span{color:#e6bf86;font-size:15px;margin-right:6px}.flip-button:hover:not(:disabled){background:#50594e}.section-controls.disabled{opacity:.43}.section-controls :disabled{cursor:not-allowed}.section-note{border-top:1px solid #50574e;margin-top:18px;padding-top:14px;display:flex;gap:9px}.section-note span{width:17px;height:17px;border:1px solid #918b74;color:#d6bf92;display:grid;place-items:center;border-radius:50%;font-size:10px;flex:none}.section-note p{color:#a9b2a8;font-size:10px;line-height:1.5;margin:0}
.loading,.error{position:absolute;left:calc(50% + 155px);top:48%;transform:translate(-50%,-50%);width:300px;background:#272d2bee;color:#f0f2ed;border:1px solid #67716a;border-radius:7px;box-shadow:0 14px 40px #26352b45;padding:19px;display:flex;align-items:center;gap:14px;z-index:5}.loading>div:last-child{flex:1}.loading strong,.loading span{display:block}.loading strong{font-size:12px}.loading span{color:#a8b4a9;font-size:10px;line-height:1.4;margin-top:4px}.spinner{width:26px;height:26px;border:2px solid #607066;border-top-color:#e0ba7e;border-radius:50%;animation:spin .8s linear infinite;flex:none}.bar{margin-top:10px;height:3px;background:#59645d;border-radius:3px}.bar span{height:3px;background:#e5b978;width:0;transition:width .2s;margin:0}.error{display:block;color:#f2c9b8;font-size:12px;line-height:1.5}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.brand{min-width:0}.project-crumb span,.project-crumb i,.project-crumb em{display:none}.view-actions{left:calc(50% + 110px)}.guide{gap:12px}.guide span{font-size:0}.guide b{font-size:9px}.viewport-label{left:430px}.view-footer{padding-left:342px}}
@media(max-width:700px){.topbar{height:56px;padding:0 13px;gap:12px}.brand small,.project-crumb,.version{display:none}.header-right{gap:0}.workspace{height:calc(100dvh - 56px)}.control-panel{left:10px;top:57px;bottom:52px;width:min(290px,calc(100vw - 50px))}.panel-toggle{left:12px;top:10px}.panel-toggle.is-collapsed{left:12px}.viewport-label{left:92px;top:15px}.viewport-label strong{font-size:13px}.viewport-label small{display:none}.view-actions{left:50%;bottom:14px;max-width:calc(100% - 20px)}.view-actions button{padding:8px}.view-actions button span:not(.button-icon){display:none}.view-actions .icon-button{padding:4px 8px}.view-footer{padding:0 10px}.guide{gap:12px}.footer-status{font-size:9px}.compass{right:12px;bottom:68px;width:50px;height:50px}.loading,.error{left:50%}}
.panel-tabs{gap:18px}.tab-count{font-size:8px;letter-spacing:.03em;color:#c9aa7b;background:#4a4438;border-radius:3px;padding:3px 4px;margin-left:3px}.clash-heading{display:flex;justify-content:space-between;align-items:end}.clash-heading h2,.detail-title h2{font-size:17px;letter-spacing:-.03em;margin:7px 0 0}.clash-heading a{color:#e5bf85;font-size:11px;text-decoration:none}.clash-heading a:hover{text-decoration:underline}.clash-intro,.clash-footnote{color:#aab2aa;font-size:10px;line-height:1.5;margin:10px 0 13px}.search-wrap{height:38px;border:1px solid #555d56;border-radius:4px;background:#1f2522;display:flex;align-items:center;gap:6px;padding:0 9px;color:#d9b982;font-size:20px}.search-wrap input{min-width:0;flex:1;background:none;border:0;outline:0;color:#f1f3ef;font-size:10px}.search-wrap:focus-within{outline:2px solid #e5b978;outline-offset:2px}.search-wrap input::placeholder{color:#929c92}.clash-summary{display:flex;justify-content:space-between;gap:7px;color:#a8afa7;font-size:9px;letter-spacing:.04em;margin:14px 0 8px}.clash-summary span:last-child{color:#d5b484;font-size:8px}.clash-results{display:flex;flex-direction:column;gap:5px}.clash-row{width:100%;text-align:left;border:1px solid #454c45;border-radius:5px;background:#303731;color:#eef0eb;padding:11px;display:flex;flex-direction:column;gap:7px}.clash-row:hover{background:#414940;border-color:#b09973}.clash-row-top{display:flex;justify-content:space-between;font-size:11px;color:#efcb93}.clash-row-count,.clash-row-level{font-size:9px;color:#a9b4aa}.clash-row-models{font-size:9px;color:#e3e9e0;display:flex;align-items:center;flex-wrap:wrap;gap:5px;line-height:1.4}.clash-row-models em{color:#89968b;font-style:normal}.clash-dot{display:inline-block;width:8px;height:8px;border-radius:2px;flex:none}.clash-more,.back-button{border:1px solid #596358;background:#353e36;color:#e9ebe4;border-radius:4px;padding:10px;width:100%;font-size:10px;margin-top:12px}.clash-more:hover,.back-button:hover{background:#4a5549}.clash-empty{color:#b4bbb0;font-size:11px;line-height:1.5;padding:12px 0}.back-button{width:auto;padding:7px 0;margin:0 0 16px;background:none;border:0;color:#e0bd88}.detail-title{display:flex;align-items:center;justify-content:space-between}.issue-status{border:1px solid #8a7053;color:#edc695;border-radius:3px;padding:5px 7px;font-size:9px;letter-spacing:.08em}.detail-models{display:flex;flex-wrap:wrap;gap:5px;margin:14px 0}.model-chip{display:flex;align-items:center;gap:6px;padding:6px;background:#3a423a;border-radius:3px;color:#e7ece4;font-size:9px;overflow-wrap:anywhere}.detail-image{display:block;width:100%;height:auto;border-radius:4px;background:#f4f5f4}.detail-image-note{color:#9ba69d;font-size:9px;line-height:1.5;margin:6px 0 0}.detail-meta{margin:15px 0;border-top:1px solid #485048;border-bottom:1px solid #485048;padding:10px 0;display:grid;gap:9px}.detail-meta span{font-size:8px;letter-spacing:.08em;color:#a4aea3}.detail-meta strong{display:block;margin-top:4px;color:#e4eae1;font-size:10px;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}.detail-label{display:flex;justify-content:space-between;color:#e5ebe1;font-size:11px;font-weight:600;margin:14px 0 7px}.detail-label span{color:#aab3a7;font-size:9px;font-weight:400}.detail-select{width:100%;height:36px;padding:0 8px;border:1px solid #586257;border-radius:4px;background:#202722;color:#f0f2ec;font-size:10px}.detail-elements{display:grid;gap:6px;margin-top:10px}.element-card{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #475048;border-radius:4px;background:#303731;font-size:10px;overflow-wrap:anywhere}.element-card strong{color:#e8c18c;font-size:10px}.element-card span{color:#e7ebe4;font-size:10px}.element-card .element-name,.element-card small{color:#abb4aa;font-size:9px;line-height:1.4}.distance-note{font-size:10px;color:#b8c0b7;margin:4px 0}.focus-button{border:0;border-radius:4px;background:#d9b27e;color:#202822;width:100%;padding:12px;font-size:11px;font-weight:750}.focus-button:hover{background:#efcb96}.clash-active{position:absolute;right:22px;top:20px;background:#2a2e2beF;color:#fff;border:1px solid #74544d;border-radius:5px;padding:9px 36px 9px 12px;box-shadow:0 4px 15px #26352b30}.clash-active span{display:block;font-size:8px;letter-spacing:.1em;color:#eda69e}.clash-active strong{display:block;font-size:11px;margin-top:4px}.clash-active button{position:absolute;right:7px;top:9px;background:none;border:0;color:#e9b9ad;font-size:18px;padding:0 3px}@media(max-width:700px){.clash-active{top:68px;right:10px}.panel-tabs{gap:16px}}
