:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#dbe4ef;background:#0e141e;font-synthesis:none;font-size:13px;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button{border:0;background:transparent;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #65debd;outline-offset:2px}svg{width:18px;height:18px;flex-shrink:0}[hidden]{display:none!important}#app{height:100dvh;min-height:460px;display:flex;flex-direction:column}header{height:72px;flex-shrink:0;display:flex;align-items:center;gap:24px;border-bottom:1px solid #27303e;padding:0 24px;background:#151d29}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-icon{width:34px;height:34px;background:#61dcba;color:#102a27;border-radius:9px;display:grid;place-items:center}.brand strong{font-size:21px;letter-spacing:2px}.brand-separator{height:18px;width:1px;background:#354050;margin:0 3px}.brand-sub{font-size:10px;color:#8b98aa;letter-spacing:1.8px}.header-file{flex:1;min-width:0;text-align:center;color:#91a0b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.primary{border-radius:7px;background:#61dcba;color:#112d28;display:flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px;font-weight:600}.primary:hover{background:#7ce9cb}.key{font-size:10px;opacity:.6;padding-left:10px}.large{padding:13px 24px;font-size:14px}main{display:flex;flex:1;min-height:0}aside{width:300px;flex-shrink:0;border-right:1px solid #27303e;background:#151d29;display:flex;flex-direction:column}.aside-heading{padding:25px 20px 20px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600}.badge{font-size:10px;color:#8a9bb1;background:#202b3b;padding:3px 7px;border-radius:4px}.search{margin:0 16px;height:38px;border:1px solid #303b4b;border-radius:6px;background:#101823;display:flex;align-items:center;gap:8px;padding:0 10px;color:#74859c}.search svg{width:15px}.search input{background:none;border:0;outline:none;color:#dce7f3;width:100%;min-width:0;font-size:12px}.search input::placeholder{color:#758298}.search kbd{border:1px solid #354051;border-radius:3px;font:11px monospace;padding:0 4px}.tabs{display:flex;padding:0 16px;margin-top:20px;border-bottom:1px solid #27303e;gap:24px}.tabs button{padding:0 3px 13px;font-size:12px;color:#8291a6;border-bottom:2px solid transparent}.tabs button[aria-selected=true]{color:#6fe0c0;border-color:#6fe0c0}.tree{flex:1;overflow:auto;padding:10px 0;scrollbar-width:thin;scrollbar-color:#364355 transparent}.tree-empty{text-align:center;margin-top:65px;color:#728197;font-size:12px;line-height:2}.row{display:flex;min-height:37px;padding-right:8px;align-items:center;position:relative}.row:hover{background:#1e2b3a}.row.active{background:#203c3c;color:#84e8cc}.row-label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;text-align:left;padding:9px 2px}.row-icon{display:flex;align-items:center;flex-shrink:0}.row-icon svg{width:14px;height:14px}.label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;flex:1;min-width:0}.row-detail{font-size:9px;color:#7b8ca3;max-width:54px;overflow:hidden;text-overflow:ellipsis}.expand{padding:4px 3px;display:flex;color:#8090a5;margin-left:-6px}.expand svg{width:11px;height:11px}.expand.expanded svg{transform:rotate(90deg)}.eye{padding:5px;display:flex;color:#7e91a9}.eye svg{width:14px;height:14px}.eye.muted{opacity:.25}.more{font-size:11px;color:#73cfb7;padding:12px 20px;width:100%;text-align:left}.aside-footer{padding:16px;display:flex;align-items:center;gap:9px;border-top:1px solid #27303e;color:#7e8ea4;font-size:10px}.aside-footer svg{width:14px;height:14px;color:#65ceaf}.workspace{flex:1;min-width:0;position:relative;overflow:hidden;background-color:#0e151f;background-image:radial-gradient(#36435475 .65px,transparent .65px);background-size:22px 22px}.canvas-heading{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:20px 24px;pointer-events:none;z-index:2}.crumb{display:flex;gap:9px;align-items:center;font-size:11px;color:#c0ccda}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#66dab6;flex-shrink:0}#drawing-state{color:#61738d;font-size:10px;border-left:1px solid #344153;padding-left:10px;margin-left:4px}select{pointer-events:auto;background:#182231;border:1px solid #354255;color:#aebcd0;border-radius:5px;padding:6px}canvas{width:100%;height:100%;display:block;cursor:grab;outline:none}canvas.dragging{cursor:grabbing}.welcome{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;padding-bottom:30px}.welcome button{pointer-events:auto}.welcome-art{position:relative;width:115px;height:105px;margin-bottom:28px;display:grid;place-items:center;background:radial-gradient(ellipse,#3e9b7e20,transparent 70%)}.welcome-art>svg{width:55px;height:55px;color:#69d7b7;stroke-width:1}.art-corner{position:absolute;width:14px;height:14px;border-color:#40586b;border-style:solid}.art-corner.a{top:0;left:0;border-width:1px 0 0 1px}.art-corner.b{top:0;right:0;border-width:1px 1px 0 0}.art-corner.c{bottom:0;left:0;border-width:0 0 1px 1px}.art-corner.d{bottom:0;right:0;border-width:0 1px 1px 0}.eyebrow{font-size:9px;letter-spacing:3px;color:#78a598}h1{font-size:26px;font-weight:500;letter-spacing:1px;margin:17px 0 10px}.welcome p{font-size:12px;color:#7f90a6;text-align:center;line-height:2;margin:0 0 28px}.sample{font-size:11px;color:#9eafbf;margin-top:17px}.sample:hover{color:#6bdfbb}.local-note{display:flex;align-items:center;gap:7px;margin-top:28px;color:#65788e;font-size:10px}.local-note .live-dot{width:4px;height:4px}.view-tools{position:absolute;right:22px;bottom:63px;background:#1b2533;border:1px solid #344052;display:flex;flex-direction:column;border-radius:8px;box-shadow:0 4px 20px #0002}.view-tools button{width:38px;height:39px;font-size:23px;display:grid;place-items:center;color:#bfcbda}.view-tools button:hover{color:#78dfc2;background:#2b3b48}.view-tools button:last-child{font-size:12px}.view-tools span{height:1px;background:#354052;margin:0 7px}.canvas-hint{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-size:10px;color:#60738c;white-space:nowrap}.canvas-hint span{margin:0 11px}.axis{position:absolute;bottom:24px;left:25px;width:35px;height:35px;color:#8797ad;font:9px monospace;pointer-events:none}.axis i{position:absolute;left:9px;bottom:5px;width:23px;height:24px;border-left:1px solid #6ad0af;border-bottom:1px solid #de7d85}.axis .y{position:absolute;left:6px;top:-9px;color:#6ad0af}.axis .x{position:absolute;right:-7px;bottom:1px;color:#de7d85}footer{height:32px;flex-shrink:0;background:#151d29;border-top:1px solid #283241;display:flex;align-items:center;justify-content:space-between;padding:0 17px;font-size:10px;color:#7b8da4}footer>span:first-child{display:flex;align-items:center;gap:7px}#status-dot{width:5px;height:5px;background:#69d6b4;border-radius:50%}#status-dot.warn{background:#f0bc6a}.loading{position:absolute;inset:0;background:#101925ee;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;z-index:6}.loading strong{font-weight:500}.loading>span:not(.spinner){color:#8093ad;font-size:11px}.loading button{border:1px solid #47566a;border-radius:5px;padding:7px 18px;font-size:12px}.spinner{width:28px;height:28px;border:2px solid #334c4c;border-top-color:#71e1bf;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.selection{position:absolute;left:22px;top:64px;display:flex;align-items:center;gap:9px;max-width:70%;background:#183830ed;border:1px solid #326451;color:#9debcf;padding:9px 12px;border-radius:6px;font-size:11px}.selection>svg{width:13px;height:13px}.selection span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection button{font-size:19px;padding-left:8px}.drop-mask{display:none;position:absolute;inset:12px;z-index:10;border:2px dashed #6bdfbb;background:#122b28ed;color:#94ecd0;align-items:center;justify-content:center;font-size:22px;border-radius:12px;pointer-events:none}.drop-mask.visible{display:flex}#toast{position:fixed;bottom:55px;left:50%;transform:translateX(-50%);max-width:650px;background:#3e3024;color:#f5dcbb;border:1px solid #8a6945;padding:14px 22px;border-radius:8px;z-index:30;box-shadow:0 6px 25px #0004;font-size:12px}@media(max-width:850px){aside{width:240px}.brand-sub,.brand-separator,.key{display:none}header{padding:0 16px;gap:12px}.header-file{font-size:11px}h1{font-size:21px}.canvas-hint{display:none}}@media(max-width:580px){aside{width:185px}.tabs{gap:17px}.aside-footer{font-size:9px}.header-file{display:none}header{justify-content:space-between}.workspace .welcome h1{font-size:16px}.welcome p{font-size:10px}.canvas-heading{padding:15px}.crumb #drawing-state{display:none}footer #stats{display:none}.welcome-art{width:80px;height:75px}.eyebrow{font-size:7px;letter-spacing:1px}.selection{left:10px;max-width:90%}} /* Soft blue theme */ :root{color:#304b65;background:#e8f2fb;color-scheme:light} header,aside,footer{background:#f4f9fe;border-color:#ccdfef} .brand-icon{background:#c2e3f9;color:#246d9b}.brand-separator{background:#c5daea}.brand-sub,.header-file{color:#5d7892} .primary{background:#bedff6;color:#204f73;border:1px solid #a1cbe8}.primary:hover{background:#acd5f1} .badge{color:#476d8e;background:#dfedf9}.search{background:#eaf3fc;border-color:#c6dced;color:#6687a4}.search input{color:#304e6b}.search input::placeholder{color:#6e89a1}.search kbd{border-color:#bfd4e5} .tabs{border-color:#ccdfef}.tabs button{color:#637f99}.tabs button[aria-selected=true]{color:#216eaa;border-color:#428ec3}.tree{scrollbar-color:#b4ccdf transparent}.tree-empty{color:#728ba2} .row:hover{background:#e4f0fb}.row.active{background:#d2e8f9;color:#1d6397}.row-detail,.expand,.eye{color:#607f9a}.more{color:#246fa6}.aside-footer{border-color:#ccdfef;color:#627e98}.aside-footer svg{color:#387caa} .workspace{background-color:#e8f2fb;background-image:radial-gradient(#87afd332 .65px,transparent .65px)}.crumb{color:#3e607d}.live-dot{background:#4e9bb8}#drawing-state{color:#6b87a0;border-color:#bed5e7} select{background:#f3f9ff;border-color:#bed5e7;color:#3e6280}.welcome-art{background:radial-gradient(ellipse,#a8d4f655,transparent 70%)}.welcome-art>svg{color:#5d9bc7}.art-corner{border-color:#94b8d5}.eyebrow{color:#6691af}.welcome p,.sample{color:#66829b}.sample:hover{color:#216eaa}.local-note{color:#6e8ba2} .view-tools{background:#f4f9fe;border-color:#c1d8eb;box-shadow:0 4px 20px #487c9e12}.view-tools button{color:#456c8b}.view-tools button:hover{color:#246a9d;background:#dceefa}.view-tools span{background:#c7dceb}.canvas-hint{color:#6d8aa2}.axis i{border-color:#478ba6 #478ba6 #ba6976}.axis .y{color:#397e99}.axis .x{color:#a95566} footer{color:#607f9c}#status-dot{background:#4d9b9b}#status-dot.warn{background:#a57626}.loading{background:#e8f2fbf5}.loading>span:not(.spinner){color:#66829b}.loading button{border-color:#a6c4db}.spinner{border-color:#c3daeb;border-top-color:#458bbc} .selection{background:#e0f0fcf5;border-color:#a6cbe5;color:#24699a}.drop-mask{background:#e0effbf2;border-color:#5c9dca;color:#2d729f}#toast{background:#fff4de;color:#765a2c;border-color:#dcc593;box-shadow:0 6px 25px #5c7d961c} button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#408ac0} .header-actions{display:flex;align-items:center;gap:10px}.recent-button{display:flex;align-items:center;gap:7px;border:1px solid #bcd4e7;border-radius:7px;padding:11px 13px;color:#456b89;background:#edf6fe;white-space:nowrap}.recent-button:hover{background:#dceefa}.recent-button svg{width:16px} .history-dialog{width:min(660px,calc(100vw - 32px));max-height:80dvh;padding:0;border:1px solid #b9d2e6;border-radius:14px;background:#f4f9fe;color:#304b65;box-shadow:0 16px 70px #315d8133}.history-dialog::backdrop{background:#456e944d;backdrop-filter:blur(3px)}.history-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #d2e3f0}.history-heading h2{font-size:17px;margin:0;font-weight:600}.history-heading button{font-size:24px;color:#6d89a0}.history-note{margin:16px 24px;color:#67829b;font-size:12px;line-height:1.8}.history-list{padding:0 14px;max-height:45dvh;overflow:auto}.history-row{display:flex;align-items:center;gap:8px;border-radius:7px;margin-bottom:5px}.history-row:hover{background:#e1effa}.history-open{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:12px 10px;text-align:left}.history-open>svg{color:#4387b7;width:24px;height:24px}.history-file{flex:1;min-width:0}.history-name{display:block;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.history-meta{display:block;color:#6d89a0;font-size:10px;margin-top:7px}.history-remove{color:#7590a5;font-size:11px;padding:10px}.history-remove:hover{color:#a65151}.history-empty{text-align:center;color:#7890a5;padding:30px 15px 45px}.history-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-top:1px solid #d2e3f0;color:#7290a7;font-size:11px}.history-footer button{color:#527b9b;padding:6px}.history-footer button:hover{color:#a65151} @media(max-width:580px){.recent-button{font-size:11px;padding:11px 9px}.recent-button svg{display:none}.header-actions{gap:6px}.primary{padding:11px}.history-note{font-size:11px}} /* Three-column workspace */ header{height:60px;padding:0 18px;gap:16px}.brand strong{font-size:19px}.brand-sub{letter-spacing:1px;font-size:10px}.brand-separator{display:none}.header-file{font-size:12px}.primary{padding:9px 13px}.panel-toggle{width:33px;height:33px;display:grid;place-items:center;font-size:18px;border-radius:6px;color:#517898}.panel-toggle:hover{background:#dcecf9}.panel-toggle[aria-expanded=false]{color:#92a8ba;background:#e6f0f8} aside.files-panel{width:240px;border-right:1px solid #ccdfef;border-left:0;background:#f0f6fc}.properties-panel{width:300px;border-left:1px solid #ccdfef;border-right:0;background:#f6faff}.panel-heading{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:13px}.properties-panel .aside-heading{padding:20px 18px 16px}.new-file{margin:0 12px 23px;display:flex;align-items:center;gap:9px;padding:11px 10px;border:1px solid #c4dced;border-radius:7px;background:#e5f1fb;font-size:12px;color:#3c698b}.new-file span{margin-left:auto}.new-file svg{width:16px}.new-file:hover{background:#d7eaf9}.files-section-title{padding:0 18px 12px;color:#718ba0;font-size:11px}.files-list{flex:1;min-height:0;overflow:auto}.files-list .history-list{padding:0 8px;max-height:none;overflow:visible}.files-list .history-row{gap:0;margin-bottom:5px;border-radius:7px;align-items:center}.files-list .history-row.current{background:#d5e9f8}.files-list .history-open{gap:8px;padding:12px 7px}.files-list .history-open>svg{width:16px;height:16px;flex-shrink:0}.files-list .history-name{font-size:11px}.files-list .history-meta{font-size:9px;line-height:1.6}.files-list .history-remove{font-size:10px;padding:8px 5px}.files-list .history-empty{font-size:11px;line-height:1.8;padding:25px 10px}.files-footer{border-top:1px solid #ccdfef;padding:15px 12px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#718ba0;gap:8px}.files-footer button{font-size:10px;color:#4e7798}.property-summary{padding:0 18px 16px;border-bottom:1px solid #d7e6f2;flex-shrink:0;margin-bottom:18px;max-height:245px;overflow:auto}.property-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;padding:6px 0;font-size:10px}.property-row>span:first-child{color:#7890a5}.property-row>span:last-child{color:#3d5f7c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-placeholder{font-size:11px;color:#839aac}.properties-panel .tabs{margin-top:17px}.properties-panel .tree-empty{margin-top:35px}.workspace{min-width:150px}#model-host{position:absolute;inset:0}#model-host canvas{width:100%;height:100%;cursor:grab}.welcome{z-index:1}.canvas-heading{z-index:2;padding:17px}.selection,.view-tools,.axis,.canvas-hint{z-index:2}.welcome p{max-width:390px;padding:0 20px}.canvas-hint{font-size:9px;bottom:20px}.selection{top:58px;left:17px}.view-tools{right:16px}.canvas-heading select{max-width:160px}.canvas-heading .crumb{font-size:10px;gap:6px}#drawing-state{font-size:9px;padding-left:7px;margin-left:0} @media(max-width:1100px){aside.files-panel{width:205px}.properties-panel{width:265px}.brand-sub{display:none}.key{display:none}.header-actions{gap:5px}.canvas-heading #drawing-state{display:none}.canvas-hint{display:none}} @media(max-width:760px){aside.files-panel{width:185px}.properties-panel{width:230px}.header-file{font-size:10px}.recent-button{display:none}.welcome h1{font-size:19px}.welcome p{font-size:11px}.welcome-art{width:75px;height:70px}.welcome-art>svg{width:40px}.eyebrow{font-size:8px;letter-spacing:1px}.canvas-heading select{max-width:105px}.workspace{min-width:120px}.property-row{grid-template-columns:58px minmax(0,1fr)}} .space-buttons{display:flex;gap:4px;padding:3px;background:#f2f8fe;border:1px solid #c4dced;border-radius:6px;pointer-events:auto}.space-buttons button{padding:5px 9px;border-radius:4px;color:#557b98;font-size:11px;white-space:nowrap}.space-buttons button[aria-pressed=true]{background:#d4e9f9;color:#176ca0;font-weight:600} .loading.model-loading{inset:58px auto auto 16px;max-width:calc(100% - 32px);background:#f4f9fef0;border:1px solid #c1d8eb;border-radius:7px;padding:10px 13px;display:flex;flex-direction:row;gap:12px;font-size:11px;box-shadow:0 3px 12px #487c9e12}.loading.model-loading .spinner,.loading.model-loading>span{display:none}.loading.model-loading strong{font-size:11px}.loading.model-loading button{padding:4px 8px;font-size:10px}