.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar{top:16px!important;width:max-content!important;max-width:calc(100% - 24px)!important;min-width:0!important;height:54px!important;min-height:54px!important;padding:0!important;gap:0!important;border:0!important;border-radius:14px!important;background:var(--studio-bg-panel,#161616)!important;box-shadow:none!important;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;pointer-events:auto;scrollbar-width:none}.scene-workbench.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar{top:0!important}.crystal-studio.interior-plan-restored .casynus-viewport-toolbar.ref-top-toolbar{top:12px!important}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn{width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important;padding:7px!important;flex-shrink:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn>span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;background:transparent;color:var(--studio-text-secondary,#cbd5e1);transition:background .15s ease,color .15s ease,box-shadow .15s ease}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn:not(.is-active):not([aria-pressed=true])>span{color:var(--studio-text-secondary,#cbd5e1)}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn>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,transform .15s ease}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn:hover:not(:disabled){background:transparent!important}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn:hover:not(:disabled)>span{background:var(--studio-bg-hover,#282828)!important;color:var(--studio-text-primary,#fff)!important}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn:hover:not(:disabled)>span svg{stroke-width:1.85px}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]{background:transparent!important;box-shadow:none!important}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span{background:var(--studio-accent,#4284ff)!important;color:var(--studio-on-accent,#fff)!important;box-shadow:0 2px 8px rgba(66,132,255,.4)!important}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg{stroke-width:2.35px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-armchair,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-door-open path,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-focus circle,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-home,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-house,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-layout-grid rect,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-mouse-pointer2,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-pencil,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-play,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-pointer,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-sofa,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-sparkles path,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-trash2,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn.is-active>span svg.lucide-tree-pine path,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-armchair,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-door-open path,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-focus circle,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-home,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-house,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-layout-grid rect,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-mouse-pointer2,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-pencil,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-play,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-pointer,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-sofa,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-sparkles path,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-trash2,.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-icon-btn[aria-pressed=true]>span svg.lucide-tree-pine path{fill:currentColor}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-export-btn{width:auto!important;height:54px!important;min-height:54px!important;padding:7px 4px!important;flex-shrink:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:0!important}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-export-btn>span{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 14px;border-radius:10px;background:var(--studio-accent,#4284ff);color:var(--studio-on-accent,#fff);font-size:12px;font-weight:600}.crystal-studio .casynus-viewport-toolbar.ref-top-toolbar .ref-toolbar-zoom-pill{width:120px;height:40px;padding:0 10px;flex-shrink:0;border:0;border-radius:10px;background:transparent;margin:7px 4px}.casynus-viewport-toolbar .ref-toolbar-zoom-pill option{background:var(--studio-bg-panel);color:var(--studio-text-primary)}.casynus-viewport-toolbar .ref-toolbar-divider{width:1px;height:26px;margin:0 2px;background:var(--studio-bg-hover,#282828);flex-shrink:0}.casynus-toolbar-export{width:min(320px,calc(100vw - 32px));padding:16px;border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-bg-panel);color:var(--studio-text-primary)}.casynus-toolbar-export::backdrop{background:#0007}.casynus-toolbar-export header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.casynus-toolbar-export button{display:block;padding:9px 12px;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer}.casynus-toolbar-export header button{width:auto}.casynus-toolbar-export button:hover{background:var(--studio-bg-hover)}.casynus-material-library{position:absolute;top:82px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:850px;max-width:calc(100% - 24px);min-width:0;height:90px;padding:12px;border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-bg-panel);color:var(--studio-text-primary);z-index:32;box-shadow:var(--studio-shadow-floating);pointer-events:auto}.scene-workbench .casynus-material-library{top:66px}.interior-plan-restored .casynus-material-library{top:78px}.cs-material-meta{flex:0 0 132px;min-width:0}.cs-material-meta>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:4px}.cs-material-meta strong{font-size:12px;white-space:nowrap}.cs-material-meta small{display:block;font-size:9px;color:var(--studio-accent);margin:2px 0 5px}.crystal-studio .casynus-material-library .cs-material-meta button{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:23px;height:23px;padding:3px;border:0;border-radius:5px;color:inherit;background:var(--studio-bg-elevated);cursor:pointer}.cs-material-filters{display:flex;gap:7px}.cs-material-assets{display:flex;align-items:center;gap:10px;min-width:0;flex:1;height:66px;overflow-x:auto;scrollbar-width:thin}.crystal-studio .casynus-material-library .cs-material-tile{position:relative;flex:0 0 64px;width:64px;height:64px;min-height:64px;overflow:hidden;padding:0;border:1px solid var(--studio-border);border-radius:9px;background-color:var(--studio-bg-elevated);background-size:cover;cursor:pointer}.crystal-studio .casynus-material-library .cs-material-tile[aria-pressed=true]{border:2px solid var(--studio-accent)}.cs-material-tile>span{position:absolute;bottom:0;left:0;right:0;padding:9px 3px 4px;background:linear-gradient(transparent,#000b);color:#fff;font-size:8px;line-height:1.2;text-align:center}.crystal-studio .casynus-material-library .cs-material-upload{display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;padding:0;border:1px solid var(--studio-border);border-radius:9px;background:var(--studio-bg-elevated);color:var(--studio-text-secondary);cursor:pointer}.cs-material-notice{position:absolute;top:calc(100% + 6px);left:0;max-width:100%;margin:0;padding:8px 12px;border:1px solid var(--studio-border);border-radius:8px;background:var(--studio-bg-panel);color:var(--studio-text-secondary);font-size:11px;text-decoration:none}@media(max-width:640px){.cs-material-meta{flex-basis:116px}.casynus-material-library{gap:8px;padding:10px}.crystal-studio .casynus-material-library .cs-material-upload{flex-basis:44px;width:44px}}@media(min-width:701px){.interior-plan-restored:not(.crystal-left-closed):not(.crystal-right-closed) .casynus-viewport-toolbar.ref-top-toolbar{max-width:calc(100% - 596px)!important;left:calc(50% - 6px)!important}.interior-plan-restored:not(.crystal-left-closed):not(.crystal-right-closed) .casynus-material-library{max-width:calc(100% - 596px);left:calc(50% - 6px)}}.cs-profile-menu,.cs-studio-settings-frame{pointer-events:auto;background:var(--studio-bg-panel,#161616);color:var(--studio-text-primary,#f3f4f6);border-radius:14px;padding:10px;z-index:95;font-size:12px;box-shadow:0 14px 36px rgba(0,0,0,.45)}.cs-profile-menu.is-top-left,.cs-studio-settings-frame.is-top-left{position:absolute;top:62px;left:0}.cs-profile-menu.is-top-right,.cs-studio-settings-frame.is-top-right{position:absolute;top:calc(100% + 8px);right:0}.cs-profile-menu.is-bottom-left,.cs-studio-settings-frame.is-bottom-left{position:fixed;bottom:68px;left:16px}.cs-profile-menu.is-bottom-right,.cs-studio-settings-frame.is-bottom-right{position:absolute;bottom:calc(100% + 8px);right:0}.cs-profile-menu{width:min(256px,calc(100vw - 24px))}.cs-profile-header{display:flex;align-items:center;gap:9px;padding:6px 8px 10px;border-bottom:1px solid var(--studio-bg-hover,#282828);margin-bottom:6px}.cs-profile-avatar{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:var(--studio-accent,#4284ff);color:var(--studio-on-accent,#fff);font-weight:600;font-size:13px}.cs-profile-identity{min-width:0;flex:1}.cs-profile-identity strong{font-size:12px;font-weight:600}.cs-profile-identity small,.cs-profile-identity strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cs-profile-badge,.cs-profile-identity small{font-size:10px;color:var(--studio-text-secondary,#9ca3af)}.cs-profile-badge{padding:2px 7px;border-radius:999px;background:var(--studio-bg-hover,#282828);font-weight:600}.cs-profile-items{display:flex;flex-direction:column;gap:2px}.crystal-studio .cs-profile-menu .cs-profile-item,.cs-profile-menu .cs-profile-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:100%!important;height:34px!important;min-height:34px!important;padding:0 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--studio-text-primary,#f3f4f6)!important;font-size:12px!important;font-weight:500;text-align:left;cursor:pointer}.crystal-studio .cs-profile-menu .cs-profile-item:hover,.cs-profile-menu .cs-profile-item:hover{background:var(--studio-bg-hover,#282828)!important}.crystal-studio .cs-profile-menu .cs-profile-item.is-upgrade em,.cs-profile-menu .cs-profile-item.is-upgrade em{margin-left:auto;padding:2px 7px;border-radius:6px;background:var(--studio-accent,#4284ff);color:var(--studio-on-accent,#fff);font-style:normal;font-size:10px;font-weight:600}.crystal-studio .cs-profile-menu .cs-profile-item.is-danger,.cs-profile-menu .cs-profile-item.is-danger{color:#f87171!important}.cs-profile-appearance{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:3px 6px 3px 10px;border-radius:9px}.cs-profile-appearance-label{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:500}.cs-profile-theme-pills{display:inline-flex;align-items:center;gap:3px;padding:2px;border-radius:8px;background:var(--studio-bg-hover,#282828)}.crystal-studio .cs-profile-theme-pills button,.cs-profile-theme-pills button{min-width:44px!important;height:24px!important;min-height:24px!important;padding:0 8px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--studio-text-secondary,#9ca3af)!important;font-size:11px!important;font-weight:500;cursor:pointer}.crystal-studio .cs-profile-theme-pills button.is-active,.cs-profile-theme-pills button.is-active{background:var(--studio-accent,#4284ff)!important;color:var(--studio-on-accent,#fff)!important}.cs-profile-divider{display:block;height:1px;margin:4px;background:var(--studio-bg-hover,#282828)}.cs-studio-settings-frame{width:min(336px,calc(100vw - 24px));max-height:calc(100dvh - 96px);overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:12px}.cs-studio-settings-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--studio-bg-hover,#282828)}.cs-studio-settings-title{display:flex;align-items:center;gap:9px;min-width:0}.cs-studio-settings-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:9px;background:var(--studio-accent,#4284ff);color:var(--studio-on-accent,#fff)}.cs-studio-settings-title strong{display:block;font-size:13px;font-weight:600}.cs-studio-settings-title small{display:block;font-size:10px;color:var(--studio-text-secondary,#9ca3af)}.crystal-studio .cs-studio-settings-close{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important}.crystal-studio .cs-studio-settings-close:hover{background:var(--studio-bg-hover,#282828)!important}.cs-studio-settings-section{display:flex;flex-direction:column;gap:7px;padding-bottom:8px;border-bottom:1px solid var(--studio-bg-hover,#282828)}.cs-studio-settings-section h3{margin:0;font-size:10px!important;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--studio-text-secondary,#9ca3af)}.cs-studio-settings-row{display:flex!important;flex-direction:column;align-items:stretch!important;gap:4px!important;margin:0!important;font-size:11px}.cs-studio-settings-grid select,.cs-studio-settings-row select{width:100%;height:30px;padding:0 8px;border:0!important;border-radius:7px;background:var(--studio-bg-hover,#282828)!important;color:var(--studio-text-primary)!important;font-size:11px!important}.cs-studio-settings-inline,.cs-studio-settings-toggle{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;min-height:26px;font-size:11px}.cs-studio-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cs-studio-settings-grid label{display:flex!important;flex-direction:column;align-items:stretch!important;gap:4px!important;margin:0!important;font-size:11px}.cs-studio-settings-status{padding:6px 8px;border-radius:7px;background:var(--studio-bg-hover,#282828);color:var(--studio-text-secondary,#9ca3af);font-size:10px}.cs-studio-settings-footer{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.crystal-studio .cs-studio-settings-footer button{flex:1;min-width:84px!important;height:32px!important;min-height:32px!important;padding:0 10px!important;border:0!important;border-radius:8px!important;background:var(--studio-bg-hover,#282828)!important;color:var(--studio-text-primary)!important;font-size:11px!important;font-weight:500}.crystal-studio .cs-studio-settings-footer button:hover{background:var(--studio-accent,#4284ff)!important;color:var(--studio-on-accent,#fff)!important}