@import "https://fonts.googleapis.com/css2?family=DM+Mono&family=Manrope:wght@400;500;600;700&display=swap";.measure-badge{z-index:5;pointer-events:none;color:#1749b5;white-space:nowrap;background:#fff;border:2px solid #3b6ff5;border-radius:8px;align-items:center;gap:7px;padding:6px 8px;font:600 10px DM Mono;display:flex;position:absolute;transform:translate(-50%,-100%);box-shadow:0 4px 14px #264b9a30}.measure-badge.editable{pointer-events:auto}.measure-badge label{align-items:center;gap:4px;display:flex}.measure-badge input{color:#1749b5;text-align:right;background:#eef3ff;border:0;border-bottom:1px solid #9db5f7;border-radius:4px;outline:0;width:62px;padding:3px 4px;font:600 11px DM Mono}.measure-badge input:read-only{background:0 0;border-color:#0000}.measure-badge small{color:#fff;background:#283144;border-radius:4px;padding:3px 6px;font:500 8px DM Mono;position:absolute;top:100%;left:50%;transform:translate(-50%,4px)}*{box-sizing:border-box}body{color:#242733;background:#fff;margin:0;font-family:Manrope,Arial,sans-serif}button{font:inherit;cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}main{grid-template-rows:60px 1fr;grid-template-columns:224px minmax(400px,1fr) 278px;height:100vh;display:grid;overflow:hidden}header{z-index:2;background:#fff;border-bottom:1px solid #e3e5e9;grid-column:1/4;justify-content:space-between;align-items:center;padding:0 18px;display:flex}.brand{letter-spacing:-.5px;font-size:18px;font-weight:700}.brand span{color:#5b6cff;margin-right:7px}.brand small{color:#858b97;background:#f0f1f4;border-radius:4px;margin-left:6px;padding:3px 5px;font:500 10px DM Mono}.file-actions{gap:6px;display:flex}.file-actions button{background:#fff;border:1px solid #e3e5e9;border-radius:7px;padding:7px 10px;font-size:12px}.file-actions button:last-child{color:#fff;background:#252a36;border-color:#252a36}.tools,.inspector{background:#fbfbfc;border-color:#e3e5e9;padding:17px 12px}.tools{border-right:1px solid #e3e5e9}.inspector{border-left:1px solid #e3e5e9}p{letter-spacing:.8px;color:#878d98;margin:4px 7px 10px;font:600 10px DM Mono}.tools button{text-align:left;color:#343846;background:0 0;border:0;border-radius:7px;align-items:center;gap:11px;width:100%;padding:9px 10px;font-size:13px;display:flex}hr{border:0;border-top:1px solid #e6e8eb;margin:15px 2px}.viewport{background:#f4f5f7;min-width:0;min-height:0;position:relative;overflow:hidden}.viewport canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.sketch-cursor canvas{cursor:crosshair}.view-cube{text-align:center;color:#686f7d;background:#fff;border:1px solid #d5d9e0;border-radius:9px;width:56px;height:56px;padding-top:8px;font:10px DM Mono;position:absolute;top:18px;right:19px;box-shadow:0 3px 10px #51576818}.view-cube b{color:#4755d5;margin-top:3px;font-size:16px;display:block}.hint{z-index:2;color:#727985;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);white-space:nowrap;background:#fffc;border-radius:6px;padding:7px 11px;font-size:11px;position:absolute;bottom:15px;left:50%;transform:translate(-50%)}.mode-pill{z-index:2;color:#313746;background:#ffffffd9;border-radius:6px;padding:6px 8px;font:600 10px DM Mono;position:absolute;top:12px;left:12px}.objects{flex-direction:column;gap:3px;display:flex}.objects button{text-align:left;color:#555c68;background:0 0;border:0;border-radius:6px;padding:8px;font-size:12px}.objects button span{color:#6877ee;margin-right:8px}.objects .active{color:#3644cf;background:#e9ebff;font-weight:600}.inspector h2{margin:4px 7px 15px;font-size:14px}.inspector label{color:#606773;grid-template-columns:1fr auto;gap:6px;margin:12px 7px;font-size:11px;display:grid}.inspector output{color:#333947;font-family:DM Mono}.inspector input{accent-color:#5869ed;grid-column:1/3;width:100%}.empty{color:#9298a3;margin:8px;font-size:12px}.sketch-note{color:#10886f;background:#e5faf4;border-radius:7px;margin:0 7px 13px;padding:8px;font-size:11px;line-height:1.6}@media (width<=800px){main{grid-template-rows:60px 1fr;grid-template-columns:56px minmax(0,1fr)}.inspector{display:none}header{grid-column:1/3}.tools button span{display:none}.tools{padding:17px 7px}.tools p{display:none}.tools button{justify-content:center;font-size:18px}.hint{font-size:9px}}.selection-toolbar{z-index:5;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#20252ee8;border-radius:8px;align-items:center;gap:4px;padding:5px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 5px 18px #1b24302e}.selection-toolbar>span{letter-spacing:.5px;color:#b8c0cc;margin:0 5px;font:600 9px DM Mono}.selection-toolbar button{color:#e8edf3;background:0 0;border:1px solid #0000;border-radius:5px;padding:5px 8px;font-size:10px}.selection-toolbar output{text-align:center;color:#6de5ff;min-width:24px;font:600 10px DM Mono}.selection-marquee{z-index:4;pointer-events:none;background:#00bfe827;border:1px solid #00aeda;position:absolute;box-shadow:inset 0 0 0 1px #ffffff2b}.selection-marquee.crossing{background:#2d76ff22;border-style:dashed;border-color:#2d76ff}.selection-marquee.contained{border-style:solid}.radial-menu{z-index:20;pointer-events:none;filter:drop-shadow(0 8px 18px #16213338);width:210px;height:210px;position:absolute;transform:translate(-50%,-50%)}.radial-center{pointer-events:auto;color:#fff;letter-spacing:.55px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#202733ed;border:2px solid #596476;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:72px;height:72px;font:700 9px DM Mono;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.radial-center button{color:#dce3ed;background:#303947;border:1px solid #717d90;border-radius:50%;width:21px;height:21px;padding:0;line-height:17px;position:absolute;top:-3px;right:-3px}.radial-action{pointer-events:auto;color:#f4f7fb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#262e3bea;border:1px solid #657084;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:70px;height:52px;padding:4px;display:flex;position:absolute;transform:translate(-50%,-50%)}.radial-action:hover{color:#74eaff;background:#153f4b;border-color:#00c9e8;transform:translate(-50%,-50%)scale(1.07)}.radial-action b{font-size:18px;line-height:18px}.radial-action span{white-space:nowrap;font:600 8px DM Mono}.radial-action.danger:hover{color:#ffabb0;background:#54232b;border-color:#ff5660}.operation-toolbar{z-index:6;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#20252eef;border-radius:8px;align-items:center;gap:4px;padding:5px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 5px 18px #1b243035}.operation-toolbar span{letter-spacing:.5px;color:#b8c0cc;margin:0 5px;font:600 9px DM Mono}.operation-toolbar button{color:#e8edf3;background:0 0;border:1px solid #0000;border-radius:5px;padding:5px 8px;font-size:10px}.history-list{flex-direction:column;gap:3px;max-height:180px;display:flex;overflow:auto}.history-list button{color:#69707c!important;padding:6px 9px!important;font-size:11px!important}.history-list button.active{font-weight:600;color:#4254d0!important;background:#edf1ff!important}.radial-action.active{color:#74eaff;background:#153f4b;border-color:#00c9e8;transform:translate(-50%,-50%)scale(1.07);box-shadow:0 0 0 2px #00c9e82b,0 0 18px #00c9e842}.tools button:hover,.tools .tool-active{color:#ad5700;background:#fff0dc}.objects button span{color:#ff9f1c}.objects .active{color:#a95200;background:#fff0dc}.inspector input{accent-color:#ff9f1c}.sketch-note{color:#a95200;background:#fff0dc}.selection-toolbar button:hover,.selection-toolbar button.active{color:#ffc06b;background:#49321b;border-color:#ff9f1c}.selection-toolbar output{color:#ffc06b}.selection-marquee{background:#ff9f1c27;border-color:#ff9f1c}.selection-marquee.crossing{background:#ff9f1c1c;border-color:#ff9f1c}.radial-action:hover,.radial-action.active{color:#ffc06b;background:#49321b;border-color:#ff9f1c}.radial-action.active{box-shadow:0 0 0 2px #ff9f1c2b,0 0 18px #ff9f1c42}.operation-toolbar button:hover,.operation-toolbar button.active{color:#ffc06b;background:#49321b;border-color:#ff9f1c}.history-list button.active{color:#a95200!important;background:#fff0dc!important}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] body{color:#e6e7ea;background:#191a1d}html[data-theme=dark] header{background:#202124;border-color:#36383d}html[data-theme=dark] .brand{color:#f2f2f3}html[data-theme=dark] .brand small{color:#a8abb1;background:#303238}html[data-theme=dark] .file-actions button{color:#d9dade;background:#292b30;border-color:#40434a}html[data-theme=dark] .file-actions button:hover{color:#ffc06b;border-color:#ff9f1c}html[data-theme=dark] .file-actions .save{color:#181818;background:#e98b10;border-color:#e98b10}html[data-theme=dark] .tools,html[data-theme=dark] .inspector{background:#222326;border-color:#383a40}html[data-theme=dark] p{color:#94979e}html[data-theme=dark] .tools button{color:#d2d4d8}html[data-theme=dark] .tools button:hover,html[data-theme=dark] .tools .tool-active{color:#ffc06b;background:#49321b}html[data-theme=dark] hr{border-color:#393b41}html[data-theme=dark] .viewport{background:#191a1d}html[data-theme=dark] .hint{color:#c4c7cc;background:#25272bd9;box-shadow:0 2px 12px #0006}html[data-theme=dark] .mode-pill{color:#e2e3e5;background:#25272bd9}html[data-theme=dark] .objects button{color:#c1c3c7}html[data-theme=dark] .objects .active{color:#ffc06b;background:#49321b}html[data-theme=dark] .inspector h2{color:#f1f1f2}html[data-theme=dark] .empty{color:#b2b5bb}html[data-theme=dark] .sketch-note{color:#ffc06b;background:#49321b}html[data-theme=dark] .history-list button{color:#b7bac0!important;background:0 0!important;border-color:#36383d!important}html[data-theme=dark] .history-list button.active{color:#ffc06b!important;background:#49321b!important}.measure-badge{color:#2b2d31;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#fffffff2;border:1px solid #ff9f1c;border-radius:11px;padding:7px 10px;transition:opacity .15s,box-shadow .15s;box-shadow:0 7px 24px #1b22352b,0 0 0 3px #ff9f1c18}.measure-badge:after{content:"";background:inherit;border-bottom:1px solid #ff9f1c;border-right:1px solid #ff9f1c;width:8px;height:8px;position:absolute;top:100%;left:50%;transform:translate(-50%,-4px)rotate(45deg)}.measure-badge.editable{pointer-events:none;box-shadow:0 8px 28px #1b223538,0 0 0 3px #ff9f1c2b}.measure-badge.editable input{pointer-events:auto;cursor:text}.measure-badge input{color:#9a4d00;background:#fff7eb;border:1px solid #ffc36f;border-radius:6px;width:68px;padding:4px 6px}.measure-badge small{z-index:1;background:#242832ef;border-radius:6px;padding:4px 7px;box-shadow:0 3px 12px #0004}.measure-badge label{font-weight:700}html[data-theme=dark] .measure-badge{color:#ffd08e;background:#24262bee;border-color:#ff9f1c;box-shadow:0 8px 26px #0009,0 0 0 3px #ff9f1c25}html[data-theme=dark] .measure-badge:after{border-color:#ff9f1c}html[data-theme=dark] .measure-badge input{color:#ffd08e;background:#332b22;border-color:#a96718}.brand{white-space:nowrap;align-items:center;gap:7px;display:flex}.brand small{margin-left:0}.project-title{width:150px;min-width:72px;color:inherit;background:0 0;border:1px solid #0000;border-radius:6px;outline:none;padding:5px 7px;font:600 12px Manrope,Arial,sans-serif}.project-title:hover{border-color:#d8dbe1}.project-title:focus{background:#fff;border-color:#6877ee;box-shadow:0 0 0 2px #6877ee20}html[data-theme=dark] .project-title:hover{border-color:#484b52}html[data-theme=dark] .project-title:focus{background:#292b30;border-color:#ff9f1c;box-shadow:0 0 0 2px #ff9f1c22}.transform-toolbar{z-index:8;color:#eef1f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#252b35ef;border-radius:10px;align-items:center;gap:5px;padding:6px 8px;display:flex;position:absolute;top:56px;left:50%;transform:translate(-50%);box-shadow:0 7px 22px #10141d45}.transform-toolbar span{letter-spacing:.7px;color:#aeb5c0;margin:0 5px 0 2px;font:700 9px DM Mono}.transform-toolbar button{color:#dfe3e9;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:4px;padding:6px 8px;font-size:12px;display:flex}.transform-toolbar button b{font-size:10px}.transform-toolbar button:hover,.transform-toolbar button.active{color:#ffc06b;background:#49321b;border-color:#ff9f1c}.transform-toolbar i{background:#505762;width:1px;height:20px;margin:0 2px}.direct-sketch-toolbar{z-index:8;color:#eef1f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#252b35ef;border-radius:10px;align-items:center;gap:5px;padding:6px 8px;display:flex;position:absolute;top:56px;left:50%;transform:translate(-50%);box-shadow:0 7px 22px #10141d45}.direct-sketch-toolbar span{letter-spacing:.7px;color:#aeb5c0;margin:0 5px 0 2px;font:700 9px DM Mono}.direct-sketch-toolbar button{color:#dfe3e9;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:4px;padding:6px 8px;font-size:12px;display:flex}.direct-sketch-toolbar button b{font-size:10px}.direct-sketch-toolbar button:hover,.direct-sketch-toolbar button.active{color:#72e6d3;background:#123f39;border-color:#21b995}.reference-prompt{z-index:9;color:#eef1f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:none;background:#252a33ee;border:1px solid #ff9f1c;border-radius:10px;grid-template-columns:auto auto;align-items:center;gap:3px 10px;padding:8px 12px;display:grid;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #0006,0 0 0 3px #ff9f1c20}.reference-prompt b{letter-spacing:.65px;font:700 10px DM Mono}.reference-prompt span{color:#ffc06b;font:800 12px DM Mono}.reference-prompt small{color:#bfc5ce;grid-column:1/3;font:500 9px DM Mono}.placement-badge{z-index:12;color:#2b2d31;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff4;border:1px solid #ff9f1c;border-radius:11px;flex-direction:column;gap:5px;width:210px;padding:9px 10px 10px;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 9px 30px #17203342,0 0 0 3px #ff9f1c1f}.placement-title{justify-content:space-between;align-items:baseline;margin-bottom:2px;display:flex}.placement-title b{letter-spacing:.55px;font:800 9px DM Mono}.placement-title small{color:#858b95;font:500 7px DM Mono}.placement-badge label{color:#555b65;grid-template-columns:1fr 72px 20px;align-items:center;gap:5px;margin:0;font:600 9px DM Mono;display:grid}.placement-badge input{color:#252a32;text-align:right;background:#fff;border:1px solid #d8dce3;border-radius:6px;outline:none;width:72px;padding:5px 6px;font:700 10px DM Mono}.placement-badge input:focus{background:#fff8ee;border-color:#ff9f1c;box-shadow:0 0 0 2px #ff9f1c25}.placement-badge em{color:#8a9098;font:600 8px DM Mono}.placement-badge .ref-one{color:#b65b00}.placement-badge .ref-two{color:#0087a6}.placement-help{text-align:center;color:#7d838d;margin-top:2px;font:500 7px DM Mono}.placement-badge:after{content:"";background:inherit;border-bottom:1px solid #ff9f1c;border-left:1px solid #ff9f1c;width:9px;height:9px;position:absolute;top:50%;right:100%;transform:translate(5px,-50%)rotate(45deg)}html[data-theme=dark] .placement-badge{color:#eef0f4;background:#24262bf2;border-color:#ff9f1c;box-shadow:0 10px 32px #000a,0 0 0 3px #ff9f1c20}html[data-theme=dark] .placement-title small,html[data-theme=dark] .placement-badge label,html[data-theme=dark] .placement-help{color:#b7bbc2}html[data-theme=dark] .placement-badge input{color:#f1f2f4;background:#303238;border-color:#4b4e55}html[data-theme=dark] .placement-badge input:focus{background:#332b22;border-color:#ff9f1c}html[data-theme=dark] .placement-badge .ref-one{color:#ffc06b}html[data-theme=dark] .placement-badge .ref-two{color:#68e6ff}.reference-ready{z-index:8;color:#dfe3e9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#252a33dc;border-radius:8px;align-items:center;gap:7px;padding:5px 7px;font:600 8px DM Mono;display:flex;position:absolute;top:14px;right:84px;box-shadow:0 5px 18px #0005}.reference-ready span{align-items:center;gap:3px;display:flex}.reference-ready span:first-child b{color:#ff9f1c}.reference-ready span:nth-child(2) b{color:#31d6ff}.reference-ready button{color:#dce1e7;background:#303640;border:1px solid #59606b;border-radius:5px;padding:3px 5px;font:600 8px DM Mono}.reference-ready button:hover{color:#ffc06b;border-color:#ff9f1c}.measure-badge.edge-command input{text-align:left;text-transform:uppercase;letter-spacing:.25px;width:112px}.measure-badge.edge-command input::placeholder{color:#ad7a45;opacity:.72;text-transform:none}html[data-theme=dark] .measure-badge.edge-command input::placeholder{color:#b98b59}.sketch-edit-badge{border-color:#31d6ff;width:224px;box-shadow:0 9px 30px #07151f66,0 0 0 3px #31d6ff20}.sketch-edit-badge .placement-title b{color:#8de8ff}.constraint-row{border-top:1px solid #ffffff18;grid-template-columns:1fr repeat(3,auto);align-items:center;gap:5px;margin-top:3px;padding-top:7px;display:grid}.constraint-row>span{color:#bfc5ce;font:700 9px DM Mono}.constraint-row button{color:#dce2e8;background:#303640;border:1px solid #56616f;border-radius:6px;min-width:34px;padding:5px 7px;font:700 9px DM Mono}.constraint-row button:hover,.constraint-row button.active{color:#8de8ff;background:#173c48;border-color:#31d6ff;box-shadow:0 0 0 2px #31d6ff1f}html[data-theme=dark] .sketch-edit-badge{border-color:#31d6ff;box-shadow:0 9px 30px #000a,0 0 0 3px #31d6ff1c}
