.voice-speech-modal{box-sizing:border-box;width:271px;height:138px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:8px;border:0;border-radius:16px;background:#222;color:#ddd;overflow:hidden;box-shadow:none;position:fixed;inset:0;margin:auto;font:12px/1.3 Arial,sans-serif;color-scheme:dark}.voice-speech-modal::backdrop{background:rgba(0,0,0,.15)}.voice-speech-modal header{display:flex;height:24px;align-items:center;justify-content:space-between}.voice-speech-modal header strong{font-size:12px;font-weight:600}.voice-speech-modal header button{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:9px;background:#3e3e3e;color:#ddd;padding:0}.voice-speech-wave{height:58px;display:flex;align-items:center;justify-content:center;gap:6px;color:#579bff}.voice-speech-wave i{display:block;width:4px;min-height:3px;border-radius:3px;background:currentColor;transition:height .1s linear}.voice-speech-wave[data-listening=true]:before{content:"";position:absolute;left:9px;top:42px;width:5px;height:5px;border-radius:50%;background:#579bff}.voice-speech-start{box-sizing:border-box;position:absolute;bottom:8px;left:8px;width:254px;max-width:calc(100% - 16px);height:32px;background:#3e3e3e;color:#579bff;border:0;border-radius:12px;font-size:14px;cursor:pointer}.voice-speech-start:disabled{cursor:wait}.voice-speech-feedback{position:absolute;top:79px;left:10px;right:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;text-align:center;line-height:12px;color:#b9cff0}.voice-speech-feedback.is-error{color:#ffb4b4}.voice-speech-modal button:focus-visible{outline:2px solid #579bff;outline-offset:1px}.crystal-studio .floor-plan-canvas.sketch-workspace.is-pencil-mode{background:#404040!important}.sketch-workspace.is-pencil-mode .floor-plan-svg-surface{--studio-text-primary:#26313b;--studio-text-secondary:#64748b;--studio-draft-wall:#26313b;--studio-draft-room:#eef2f0;--studio-draft-paper:#fff;--studio-draft-selected:#dbeafe}.sketch-workspace .casynus-viewport-toolbar.ref-top-toolbar{height:54px!important;min-height:54px!important;padding:0!important}.crystal-studio .sketch-workspace .casynus-viewport-toolbar.ref-top-toolbar .sketch-entry{width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important;padding:7px!important;background:transparent!important}.sketch-entry>span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:transparent}.sketch-entry:hover>span{background:var(--studio-bg-hover)}.sketch-entry.is-active>span{background:var(--studio-accent);color:var(--studio-on-accent)}.sketch-ui{position:absolute;top:76px;z-index:24;pointer-events:none;color:var(--studio-text-primary);font-size:11px;--sketch-panel:var(--studio-bg-panel,#161616);--sketch-hover:var(--studio-bg-hover,#282828)}.sketch-ui.is-pencil-studio{top:12px}.sketch-ui :is(button,input,select,summary){font:inherit;color:inherit;pointer-events:auto}.sketch-ui button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:28px;height:30px;padding:5px;border:0;border-radius:8px;background:transparent;cursor:pointer}.sketch-ui button:hover{background:var(--sketch-hover)}.sketch-ui button:disabled{opacity:.35;cursor:default}.sketch-ui :is(button,input,select):focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}.sketch-panel{position:absolute;pointer-events:auto;background:var(--sketch-panel);border:0;border-radius:12px;padding:10px;max-height:100%;overflow:auto}.sketch-panel header{display:flex;align-items:center;gap:4px;margin-bottom:8px;min-height:28px}.sketch-panel header strong{flex:1;font-weight:500;font-size:12px}.sketch-panel label{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0}.sketch-panel label output{margin-left:auto;color:var(--studio-text-secondary)}.sketch-panel :is(input:not([type=range]):not([type=checkbox]):not([type=color]),select){min-width:0;background:var(--studio-bg-input);border:0;border-radius:6px;padding:6px;width:100%}.sketch-panel input[type=range]{width:100%}.sketch-panel input[type=checkbox],.sketch-panel input[type=range]{accent-color:var(--studio-accent)}.sketch-top-left-bar{left:0;z-index:7}.sketch-top-left-bar,.sketch-top-toolbar{position:absolute;top:0;height:54px;min-height:54px;background:var(--sketch-panel);border-radius:14px;display:flex;align-items:center;padding:0;pointer-events:auto}.sketch-top-toolbar{left:50%;transform:translateX(-50%);max-width:calc(100% - 240px);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;z-index:6}.sketch-toolbar-divider{width:1px;height:26px;background:var(--sketch-hover);flex-shrink:0;margin:0 2px}.sketch-tool-frame{position:absolute;width:54px!important;min-width:54px;max-width:54px;background:var(--sketch-panel);border-radius:14px;pointer-events:auto;overflow-x:hidden;overflow-y:auto;max-height:100%;scrollbar-width:none;padding:0}.sketch-ui .sketch-tool{width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important;padding:7px!important;border-radius:0!important;background:transparent!important}.sketch-tool>span,.sketch-ui .sketch-tool{display:flex;align-items:center;justify-content:center;flex-shrink:0}.sketch-tool>span{width:40px;height:40px;border-radius:10px;color:var(--studio-text-secondary,#cbd5e1);transition:background .15s ease,color .15s ease,box-shadow .15s ease}.sketch-tool>span svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.65px;fill:none;shape-rendering:geometricPrecision;transition:stroke-width .15s ease,fill .15s ease,filter .15s ease}.sketch-tool:hover>span{background:var(--sketch-hover);color:var(--studio-text-primary,#fff)}.sketch-tool:hover>span svg{stroke-width:1.85px}.sketch-tool[aria-pressed=true]>span{background:var(--studio-accent);color:var(--studio-on-accent,#fff);box-shadow:0 2px 8px rgba(66,132,255,.4)}.sketch-tool[aria-pressed=true]>span svg{stroke-width:2.35px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}.sketch-tool[aria-pressed=true]>span svg.lucide-eraser,.sketch-tool[aria-pressed=true]>span svg.lucide-mouse-pointer2,.sketch-tool[aria-pressed=true]>span svg.lucide-paint-bucket,.sketch-tool[aria-pressed=true]>span svg.lucide-pencil,.sketch-tool[aria-pressed=true]>span svg.lucide-play,.sketch-tool[aria-pressed=true]>span svg.lucide-pointer,.sketch-tool[aria-pressed=true]>span svg.lucide-trash2{fill:currentColor}.sketch-right-dock{top:68px;right:0;z-index:5}.sketch-settings{top:68px;right:64px;width:214px;max-height:calc(100% - 134px);z-index:4}.sketch-action-row{display:flex;align-items:center;gap:4px;justify-content:space-between}.sketch-action-row label{margin:0}.sketch-selection-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.sketch-selection-controls small{flex:1}.sketch-color-preview{display:inline-block;width:21px;height:21px;border-radius:5px;flex-shrink:0;box-shadow:inset 0 0 0 1px #8886}.sketch-ui .sketch-cad-return{width:100%;margin-top:8px;background:var(--sketch-hover)}.sketch-color-panel{right:64px;top:68px;width:224px;max-height:calc(100% - 134px);z-index:6}.sketch-color-panel header{cursor:move;touch-action:none}.sketch-hue{position:relative;margin:4px auto 12px;width:184px;height:184px;border-radius:50%;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);touch-action:none;cursor:crosshair;display:grid;place-items:center}.sketch-hue:before{content:"";inset:18px;border-radius:50%;background:var(--sketch-panel)}.sketch-hue-thumb,.sketch-hue:before{position:absolute;pointer-events:none}.sketch-hue-thumb{top:calc(50% - 6px);left:calc(50% - 6px);height:12px;width:12px;border:2px solid #fff;border-radius:50%}.sketch-saturation{position:relative;width:108px;height:108px;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);touch-action:none}.sketch-saturation>span{position:absolute;transform:translate(-50%,-50%);width:9px;height:9px;border:1px solid #fff;border-radius:50%;pointer-events:none}.sketch-swatches{display:flex;flex-wrap:wrap;gap:8px}.sketch-ui .sketch-swatches button{width:27px;height:27px;min-width:27px;border-radius:50%}.sketch-layers{right:64px;top:68px;width:224px;max-height:calc(100% - 134px);z-index:5}.sketch-layer-row{display:flex;align-items:center;border-radius:7px}.sketch-layer-row>button:first-child{flex:1;min-width:0;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sketch-layer-row.is-active{background:var(--studio-accent-soft);color:var(--studio-accent)}.sketch-navigation{bottom:0;right:0;display:flex;align-items:center;gap:2px;padding:7px;max-width:100%;overflow:auto;border-radius:12px;height:54px}.sketch-navigation input[type=range]{width:85px;flex:0 0 85px}.sketch-navigation output{min-width:39px;text-align:center}.sketch-navigation button{height:40px;width:40px;min-width:40px;padding:10px}.sketch-project-strip{position:absolute;top:0;left:0;display:flex;align-items:center;gap:5px;pointer-events:auto;max-width:100%;background:var(--sketch-panel);border-radius:9px;padding:2px 6px}.sketch-project-strip>span{font-size:10px;white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis}.sketch-project-strip>details>summary{cursor:pointer;color:var(--studio-warning,#f6b84b)}.sketch-project-strip>details[open]{max-width:300px}.sketch-project-strip>details p{max-width:260px;white-space:normal}.sketch-project-menu{position:absolute;left:0;top:40px;width:240px;max-height:320px;overflow:auto;background:var(--sketch-panel);border-radius:10px;padding:6px;z-index:8;pointer-events:auto}.sketch-project-menu.is-top-menu{left:50%;top:62px;transform:translateX(-50%)}.sketch-project-status{display:block;padding:6px 8px;font-size:10px;color:var(--studio-text-secondary)}.sketch-project-menu button{display:block;width:100%;text-align:left;height:auto;min-height:32px}.sketch-export-dialog{top:62px;left:50%;transform:translateX(-50%);width:240px;z-index:9}.sketch-export-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sketch-export-grid button{background:var(--sketch-hover);height:34px;width:100%}.sketch-empty-state{position:absolute;inset:68px 0 0 0;display:grid;place-items:center;pointer-events:none}.sketch-empty-card{pointer-events:auto;background:var(--sketch-panel);border-radius:16px;padding:24px;width:min(380px,calc(100vw - 32px));text-align:center;display:flex;flex-direction:column;gap:10px}.sketch-empty-card strong{font-size:15px;font-weight:600}.sketch-empty-card p{margin:0;color:var(--studio-text-secondary);line-height:1.45}.sketch-empty-actions{display:flex;flex-direction:column;gap:8px;margin-top:6px}.sketch-ui .sketch-new-canvas-btn{height:40px;width:100%;border-radius:10px;background:var(--studio-accent);color:var(--studio-on-accent,#fff);font-weight:600;font-size:12px}.sketch-ui .sketch-new-canvas-btn:hover{background:var(--studio-accent-hover,#2a93ff)}.sketch-ui .sketch-open-project-btn{height:38px;width:100%;border-radius:10px;background:var(--sketch-hover);font-weight:500}.sketch-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);display:grid;place-items:center;pointer-events:auto;z-index:40}.sketch-canvas-dialog{position:relative;width:min(340px,calc(100vw - 24px));padding:16px;border-radius:16px}.sketch-preset-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:6px;margin:8px 0}.sketch-ui .sketch-preset-row button{height:34px;background:var(--studio-bg-input);border-radius:8px;font-weight:500}.sketch-ui .sketch-preset-row button.is-active{background:var(--studio-accent);color:var(--studio-on-accent,#fff)}.sketch-dimensions-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sketch-bg-picker{display:flex;align-items:center;gap:8px;width:100%}.sketch-bg-picker input[type=color]{width:38px;height:32px;border:0;border-radius:6px;background:transparent;padding:0;cursor:pointer;flex-shrink:0}.sketch-dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.sketch-ui .sketch-dialog-footer button{padding:0 14px;height:36px;border-radius:9px;background:var(--sketch-hover)}.sketch-ui .sketch-dialog-footer .sketch-create-canvas-btn{background:var(--studio-accent);color:var(--studio-on-accent,#fff);font-weight:600}.sketch-message{position:absolute;left:78px;bottom:12px;max-width:360px;padding:10px;background:var(--sketch-panel);border-radius:8px;pointer-events:auto;z-index:7}@media(max-width:700px){.sketch-ui.is-cad-studio{top:110px!important}.sketch-top-toolbar{top:62px;max-width:100%}.sketch-right-dock{top:126px}.sketch-color-panel,.sketch-layers,.sketch-settings{top:126px;right:60px;width:206px}.sketch-navigation{max-width:calc(100% - 66px);height:54px}.sketch-navigation input[type=range]{display:none}.sketch-navigation button{width:34px;min-width:34px;padding:8px}.sketch-project-strip>span{max-width:145px}}