:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--canvas);font-weight:400;font-size:14px;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink: #172c51;--muted: #728097;--accent: #2886f5;--accent-hover: #176dd5;--selection: #2886f5;--selection-wash: #2886f530;--line: #dfe4ec;--tile: #eef1f5;--canvas: #f4f6f9;--blue: #e4efff;--hover: #edf3fc;--grid-minor: #e3e8ef;--grid-major: #d5dce7;--panel-radius: 18px;--control-radius: 10px;--panel-shadow: 0 6px 28px #25385914;--chrome: #ffffffed;--rail-background: #fff;--cherry: #d93642;--violet: #8745df;--teal: #008f97}:root[data-theme=dopamine]{--dopamine-color-0:#d67c48;--dopamine-color-1:#4263ed;--dopamine-color-2:#f2575d;--dopamine-color-3:#b38a08;--dopamine-color-4:#168c79;--dopamine-color-5:#a44dcc;--ink: #182455;--muted: #657394;--accent: #de3845;--accent-hover: #c52634;--selection: #f2575d;--selection-wash: #ff757b30;--line: #e0e7fa;--tile: #f1f4fd;--canvas: #f7fbff;--blue: #ffedef;--hover: #f1edff;--grid-minor: #dfeefa;--grid-major: #cfe1f4;--panel-radius: 24px;--control-radius: 12px;--panel-shadow: 0 8px 32px #596bba12;--rail-background: #faf7ff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gallery-search input:focus-visible,.catalog-search input:focus-visible,.unit-input input:focus-visible{outline:none}.gallery-search:focus-within,.catalog-search:focus-within,.unit-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}button:hover:not(:disabled){background:var(--hover)}svg{flex-shrink:0}input{min-width:0}input[type=number]::-webkit-inner-spin-button{opacity:.4}input[type=range]{accent-color:#3d3e40;cursor:pointer}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px}button.active{color:var(--accent);background:var(--blue)}.editor{height:100dvh;overflow:hidden;position:relative}.viewport,.scene-3d{position:absolute;inset:0;width:100%;height:100%;touch-action:none;-webkit-user-select:none;user-select:none}svg.viewport{--canvas:#eff0f0;--grid-minor:#e2e6e6;--grid-major:#d1d9d8;--plan-wall:#4c4d4e;--plan-floor:#dedede;--plan-node:#818384;--plan-ink:#505050;--plan-opening:#e2eff3;--plan-glass:#b3d8e5;--plan-outline:#72828a;--selection:#4799f5;--selection-wash:#4b98ee33}.viewport.drawing{cursor:crosshair}.wall-hit{cursor:move}.drawing .wall-hit,.drawing [data-room]{cursor:crosshair}.node-hit{cursor:grab}.wall-resize-handle{cursor:grab;stroke:#fff}.wall-resize-handle:active{cursor:grabbing}.wall-resize-start{fill:#ff5a4f}.wall-resize-end{fill:#1267ef}.wall-thickness-handle{cursor:grab;fill:#fff;stroke:var(--selection)}.wall-thickness-handle:active{cursor:grabbing}.topbar{position:absolute;top:8px;left:8px;right:8px;height:49px;display:flex;gap:5px;pointer-events:none}.toolbar-box,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--control-radius);box-shadow:0 0 1px #00000014}.toolbar-box{display:flex;align-items:center;pointer-events:auto}.toolbar-box button{border-radius:var(--control-radius);height:40px;min-width:39px;padding:7px}.project-title{width:244px;padding:0 12px;gap:11px}.brand{color:var(--accent)}.project-title .project-name{border:0;background:transparent;font-size:16px;width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-icon{display:flex;color:var(--muted)}.saving{font-size:19px}.history-toolbar{padding:3px 5px;gap:1px}.history-toolbar svg{width:23px;height:23px;stroke-width:1.4}.separator{width:1px;height:26px;background:var(--line);margin:0 5px}.top-right{margin-left:auto;padding:3px 5px}.projects-button{font-size:15px;padding-inline:12px!important}.tool-rail{position:absolute;top:63px;left:8px;width:45px;flex-direction:column;padding:4px;gap:4px}.tool-rail button{width:35px;min-width:35px;height:36px;padding:5px}.tool-rail svg{stroke-width:1.4}.construction{position:absolute;top:63px;left:59px;width:274px;max-height:calc(100dvh - 108px);overflow:hidden;display:flex;flex-direction:column}.panel-heading{display:flex;align-items:center;gap:9px;height:41px;min-height:41px;border-bottom:1px solid var(--line);padding:0 12px;font-size:15px}.panel-heading>button{margin-left:auto;width:26px;height:29px;padding:0;color:var(--muted)}.panel-body{padding:10px 11px 16px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.section-title{display:flex;align-items:center;justify-content:space-between;font-size:14px;line-height:20px;margin-bottom:10px;gap:5px}.section-title>span{color:#aaa;height:16px}.underlay-tile{width:100%;height:126px;background:var(--tile);border-radius:var(--control-radius);padding:23px;gap:13px;text-align:left;position:relative}.underlay-tile>span{font-size:12px;line-height:16px;max-width:157px}.underlay-tile.loaded{overflow:hidden;isolation:isolate}.underlay-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28;z-index:-1}.underlay-tile.loaded span{font-size:14px;background:#ffffffdf;border-radius:var(--control-radius);padding:8px 10px;max-width:none}.construction-actions-title{margin-top:0}.underlay-title{margin-top:20px}.construction-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.construction-action-card{position:relative;display:flex;min-width:0}.construction-action-tile{width:100%;height:100%;min-width:0;min-height:94px;padding:12px 34px 12px 8px;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid var(--line);border-radius:var(--control-radius);background:#fff;text-align:left}.construction-action-tile:hover{border-color:var(--selection);background:var(--hover)}.construction-action-tile svg{color:var(--accent)}.construction-action-tile strong{font-size:12px}.construction-action-tile span{color:var(--muted);font-size:10px;line-height:14px}.construction-action-help{position:absolute;z-index:2;top:8px;right:8px}.modes-title{margin-top:20px;margin-bottom:11px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px}.mode-tile{height:122px;background:var(--tile);border:1px solid transparent;border-radius:var(--control-radius);flex-direction:column;gap:6px;position:relative;padding:14px 10px 22px}.mode-tile>svg{width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:1.15}.mode-tile>svg circle{fill:currentColor}.mode-tile span{font-size:12px}.chosen,.mode-tile.chosen,.shape-grid .chosen{border-color:var(--accent);color:var(--accent)}.mode-tile.chosen:hover{background:var(--blue)}.shapes-title{margin-top:20px}.shape-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.shape-grid button{height:55px;background:var(--tile);border-radius:var(--control-radius);border:1px solid transparent}.shape-grid svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-linejoin:miter}.view-toolbar{position:absolute;top:63px;right:8px;flex-direction:column;padding:4px;width:47px;gap:2px}.view-toolbar>button{width:37px;min-width:37px;height:38px;font-size:19px;padding:4px}.horizontal-separator{width:28px;height:1px;background:var(--line);margin:5px}.zoom-slider{writing-mode:vertical-lr;direction:rtl;height:100px;width:20px;margin:3px auto;accent-color:#373737}.inspector{position:absolute;right:63px;top:63px;width:295px;max-height:calc(100dvh - 109px);display:flex;flex-direction:column}.properties{display:flex;flex-direction:column;gap:14px;padding:14px}.properties label{display:flex;flex-direction:column;gap:7px;font-size:13px;position:relative}.properties input:not([type=range]):not([type=checkbox]),.properties select{height:35px;padding:7px 10px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--tile);width:100%}.unit-input{display:flex;align-items:center;border:1px solid var(--line);background:var(--tile);border-radius:var(--control-radius)}.properties .unit-input input{border:0!important;background:none!important;flex:1;width:0}.unit-input>span{color:var(--muted);padding-right:10px;font-size:12px}.wall-swatch{display:flex;gap:14px;align-items:center;padding-bottom:3px}.wall-thumbnail{width:66px;height:76px;flex:0 0 66px}.field-note{font-size:12px;line-height:17px;color:var(--muted);margin:0}.outline-button{border:1px solid #b8b8bc;min-height:34px;flex-shrink:0;border-radius:var(--control-radius);font-size:12px;padding:7px 9px;justify-content:center}.outline-button.danger{color:#7f4747;border-color:#e2d4d4}.primary-button{background:var(--accent);color:#fff;min-height:35px;border-radius:var(--control-radius);font-size:13px}.primary-button:hover:not(:disabled){background:var(--accent-hover)}.underlay-preview{width:100%;height:100px;object-fit:contain;background:var(--tile);border:1px solid #eee}.file-name{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:-8px}.value-end{position:absolute;right:0;color:var(--muted)}.calibration-fields{display:flex;flex-direction:column;gap:10px;padding:11px;background:#f0efff;border-radius:var(--control-radius)}.calibration-fields p{font-size:12px;line-height:18px;margin:0}.settings-panel{position:absolute;right:8px;top:63px;width:270px;z-index:5}.properties .check-label{flex-direction:row;align-items:center;gap:9px}.project-menu{position:absolute;top:63px;right:8px;padding:10px;width:246px;display:flex;flex-direction:column;gap:5px;z-index:5}.project-menu p{margin:4px 5px 9px;font-size:13px;color:var(--muted)}.project-menu button{justify-content:flex-start;padding:10px;font-size:13px;border-radius:var(--control-radius)}.project-menu>span{padding:8px 10px 3px;font-size:12px;color:var(--muted)}.live-dimension{position:absolute;background:#fffefb;border:1px solid #d9d9e1;box-shadow:0 2px 10px #27265312;display:flex;align-items:center;gap:5px;padding:8px 11px;border-radius:var(--control-radius);pointer-events:none;white-space:nowrap;font-size:17px}.live-dimension strong{font-weight:400}.live-dimension>span{font-size:12px;color:var(--muted)}.live-dimension small{font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:7px;margin-left:3px}.statusbar{position:absolute;bottom:0;left:0;right:0;height:31px;display:flex;align-items:center;padding:0 12px;gap:12px;background:#ffffffdf;border-top:1px solid #d9dcdc;color:var(--muted);font-size:11px;pointer-events:auto}.interaction-hint{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.statusbar button{padding:3px;color:var(--muted)}.statusbar button.on{color:var(--accent)}.plan-stats{white-space:nowrap}.hidden-input{display:none}.error-toast{position:absolute;bottom:45px;left:50%;transform:translate(-50%);max-width:min(90vw,600px);padding:12px 16px;background:#fff;border:1px solid #d4a7a7;border-radius:var(--control-radius);box-shadow:0 5px 20px #0002;display:flex;gap:14px;align-items:center;font-size:13px;line-height:20px;z-index:20}.error-toast button{padding:0}.measure-result{position:absolute;bottom:46px;left:50%;transform:translate(-50%);display:flex;gap:13px;align-items:center;padding:9px 12px;color:var(--accent)}.orbit-hint{position:absolute;bottom:45px;left:50%;transform:translate(-50%);background:#ffffffcf;border-radius:var(--control-radius);padding:7px 12px;font-size:12px;color:var(--muted);white-space:nowrap;pointer-events:none}.scene-error{position:absolute;top:40%;left:35%;max-width:400px;background:#fff;padding:20px;border:1px solid var(--line)}@media(min-width:1700px){.construction{width:288px}.underlay-tile{height:135px}.mode-tile{height:130px}.project-title{width:251px}.section-title{font-size:15px}}@media(max-width:1050px){.construction{width:240px}.mode-tile{height:105px}.underlay-tile{height:112px;padding:14px}.inspector{width:260px}.plan-stats{display:none}.projects-button{padding-inline:6px!important}}@media(max-width:700px){.construction{width:210px;left:50px}.tool-rail{left:5px;width:40px}.topbar{left:5px;right:5px;height:44px}.project-title{width:180px;padding:0 7px;gap:7px}.project-title .project-name{font-size:14px;width:118px}.project-title .brand{width:22px}.top-right .projects-button span,.top-right .separator{display:none}.toolbar-box button{min-width:30px}.history-toolbar{padding:2px}.history-toolbar .separator,.history-toolbar>button:last-child{display:none}.view-toolbar{right:5px;width:40px}.view-toolbar>button{min-width:30px;width:30px}.inspector{right:50px;width:250px;z-index:4}.mode-tile{height:94px}.section-title{font-size:12px}.panel-body{padding:9px}.underlay-tile{height:98px;padding:11px;gap:8px}.underlay-tile>span{font-size:11px}.shape-grid button{height:46px}.statusbar{font-size:10px}.orbit-hint{max-width:90%;white-space:normal;bottom:40px}.project-menu,.settings-panel{right:5px}}.property-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.property-section{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--line);padding-top:14px}.property-section>span{font-size:14px}.action-row{display:flex;align-items:center;gap:8px}.action-row .outline-button{flex:1;min-width:0}.action-row>span{margin-right:auto}.room-summary{display:flex;gap:12px;align-items:center}.room-summary>svg{width:66px;height:90px}.room-summary>div{flex:1;min-width:0}.room-area{font-size:12px;color:var(--muted);margin:10px 0 0;white-space:nowrap}.properties input[type=color]{width:90px!important;padding:2px!important;cursor:pointer}.settings-panel{right:63px;width:295px;max-height:calc(100dvh - 109px);display:flex;flex-direction:column}.settings-tiles{display:grid;grid-template-columns:1fr 1fr;gap:3px}.settings-tiles button{height:70px;background:var(--tile);border:1px solid transparent;border-radius:var(--control-radius);font-size:12px}.settings-tiles button.chosen{border-color:var(--accent)}.active-tab{background:transparent;color:var(--accent);border-radius:var(--control-radius);padding:4px 8px}.underlay-file-row{display:flex;gap:14px;align-items:center}.underlay-file-row .underlay-preview{width:78px;height:90px;background:#fff;border-radius:var(--control-radius)}.underlay-file-row>div{min-width:0;flex:1}.underlay-file-row small{font-size:11px;color:var(--muted)}.underlay-file-row .file-name{margin:0 0 8px}.underlay-file-row .action-row{margin-top:12px;justify-content:space-between}.upload-drop{width:100%;padding:30px 10px;display:flex;flex-direction:column;gap:14px;background:var(--tile);border:1px dashed #bbb;border-radius:var(--control-radius)}.upload-drop span{font-size:11px;color:var(--muted)}.rotation-presets{gap:4px}.rotation-presets .outline-button{padding:6px 3px}[data-room]{cursor:pointer}@media(max-width:700px){.settings-panel{right:50px;width:250px}}.room-area{display:flex;align-items:center;gap:12px}.room-area>span{display:inline-flex;align-items:center;gap:4px}.room-area svg{color:var(--muted)}.input-angle{color:var(--muted);font-size:12px;padding:5px 3px;min-width:23px}.project-gallery{min-height:100dvh;display:flex;background:var(--canvas)}.gallery-sidebar{width:240px;flex-shrink:0;background:#fff;padding:36px 24px}.gallery-brand{display:flex;align-items:center;gap:10px;font-size:23px;margin-bottom:40px}.gallery-brand svg{color:var(--accent)}.gallery-current{display:flex;align-items:center;gap:12px;color:var(--accent);font-size:16px}.gallery-content{padding:30px 26px;flex:1;min-width:0}.gallery-content>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.gallery-search{display:flex;align-items:center;gap:14px;color:var(--muted)}.gallery-search input{background:none;border:0;font-size:17px;max-width:100%}.project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px}.project-cards>button{border:1px solid var(--line);border-radius:var(--control-radius);min-height:235px;background:#fff;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;padding:0;gap:0}.project-cards .create-project{align-items:center;justify-content:center;gap:25px;font-size:16px}.create-project svg{color:var(--accent)}.project-card>svg{background:var(--canvas);width:100%;height:160px;padding:16px}.project-card>strong{padding:14px;text-align:left;font-weight:400;font-size:16px}.project-card>div{display:flex;justify-content:space-between;align-items:center;padding:0 14px 12px;color:var(--muted);font-size:11px}@media(max-width:800px){.gallery-sidebar{width:155px;padding:25px 15px}.gallery-brand{font-size:18px}.gallery-content>header>span{display:none}.gallery-content{padding:25px 15px}.project-cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}.viewport.moving,.viewport.moving .wall-hit,.viewport.moving .node-hit{cursor:move}.underlay-done{background:var(--accent);color:#fff;border-color:var(--accent)}.selection-move-hit{cursor:move}.node-hit.room-scale-hit{cursor:nwse-resize}.room-resize-hint{position:absolute;bottom:42px;left:50%;transform:translate(-50%);max-width:calc(100% - 32px);padding:9px 14px;border:1px solid #d3dcf0;border-radius:6px;background:#fff;color:#455574;font-size:12px;pointer-events:none;text-align:center}.mobile button{-webkit-tap-highlight-color:transparent}.mobile .topbar{top:max(8px,env(safe-area-inset-top));left:8px;right:8px;height:48px;gap:6px}.mobile .project-title{flex:1;width:auto;min-width:0;padding:0 8px;gap:7px}.mobile .project-title .project-name{flex:1;width:0;font-size:16px}.mobile .project-title .brand{width:24px}.mobile .project-title .save-icon{flex-shrink:0}.mobile .top-right{padding:1px;margin-left:0;flex-shrink:0}.mobile .top-right .separator,.mobile .projects-button span,.mobile .projects-button>svg:last-child{display:none}.mobile .toolbar-box button{min-width:44px;min-height:44px}.mobile .history-toolbar{position:absolute;top:56px;left:0;padding:1px}.mobile .history-toolbar .separator,.mobile .history-toolbar>button:last-child{display:none}.mobile-context{position:absolute;top:calc(max(8px,env(safe-area-inset-top)) + 56px);right:8px;left:110px;display:flex;justify-content:flex-end;gap:6px}.mobile-context>button{min-height:46px;padding:8px 12px;min-width:0;gap:8px}.mobile-context span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile .view-toolbar{top:calc(max(8px,env(safe-area-inset-top)) + 114px);right:8px;width:46px;padding:0;gap:0}.mobile .view-toolbar>button{width:44px;font-size:16px}.mobile .view-toolbar .zoom-slider,.mobile .view-toolbar .horizontal-separator,.mobile .view-toolbar button[aria-label=Увеличить],.mobile .view-toolbar button[aria-label=Уменьшить]{display:none}.mobile .tool-rail{top:auto;bottom:calc(48px + env(safe-area-inset-bottom));left:8px;right:8px;width:auto;padding:3px;gap:2px;flex-direction:row;border-radius:10px}.mobile .tool-rail{overflow-x:auto}.mobile .tool-rail button{flex:1;width:0;min-width:44px;height:56px;flex-direction:column;gap:3px;padding:4px;font-size:10px;border-radius:7px}.mobile .tool-rail button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile .statusbar{height:calc(40px + env(safe-area-inset-bottom));padding:3px 8px calc(3px + env(safe-area-inset-bottom));gap:6px;font-size:11px}.mobile .statusbar .interaction-hint{white-space:normal;line-height:14px}.mobile .statusbar .plan-stats{display:none}.mobile .statusbar button{min-width:40px;height:34px}.mobile .room-resize-hint{bottom:calc(118px + env(safe-area-inset-bottom));padding:6px 10px;font-size:11px}.mobile .orbit-hint{bottom:calc(118px + env(safe-area-inset-bottom));max-width:calc(100% - 24px);white-space:normal;text-align:center}.mobile .error-toast,.mobile .measure-result{bottom:calc(120px + env(safe-area-inset-bottom))}.mobile .mobile-sheet{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;padding:0;color:inherit;display:flex;flex-direction:column;overflow:hidden}.mobile .mobile-sheet:not([open]){display:none}.mobile-sheet::backdrop{background:#24252b55}.mobile .mobile-sheet .panel-heading{height:auto;min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 16px;flex-shrink:0;font-size:17px}.mobile .mobile-sheet .panel-heading>button{width:44px;height:44px;flex-shrink:0}.mobile .mobile-sheet .panel-body{flex:1;min-height:0;padding:16px 16px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}.mobile .mobile-sheet .properties{gap:18px}.mobile .mobile-sheet .properties label{font-size:14px}.mobile .mobile-sheet input:not([type=checkbox]):not([type=range]),.mobile .mobile-sheet select{font-size:16px;min-height:44px}.mobile .mobile-sheet button:not(.shape-grid button):not(.mode-tile){min-height:44px;min-width:44px}.mobile .mobile-sheet .input-angle{font-size:14px}.mobile .mobile-sheet input[type=range]{min-height:36px}.mobile .mobile-sheet .check-label{min-height:44px}.mobile .mobile-sheet .property-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.mobile .mobile-sheet .wall-swatch{min-height:64px}.mobile .mobile-sheet .wall-thumbnail{width:64px;height:64px;flex-basis:64px}.mobile .mobile-sheet .section-title{font-size:15px}.mobile .mobile-sheet .underlay-tile{height:112px}.mobile .mobile-sheet .underlay-tile>span{font-size:14px}.mobile .mobile-sheet .mode-tile{height:110px}.mobile .mobile-sheet .shape-grid{grid-template-columns:repeat(4,1fr)}.mobile .mobile-sheet .shape-grid button{height:64px}.mobile-measure{width:100%;margin:14px 0}.gallery-back{padding:10px 0;min-height:44px;margin-bottom:8px}@media(max-width:900px),(pointer:coarse)and (max-width:1100px){.project-gallery{flex-direction:column;min-height:100dvh}.gallery-sidebar{width:100%;padding:max(16px,env(safe-area-inset-top)) 16px 12px;display:flex;align-items:center;justify-content:space-between}.gallery-brand{margin:0;font-size:19px}.gallery-current{font-size:14px}.gallery-content{padding:12px 16px calc(24px + env(safe-area-inset-bottom))}.gallery-content>header{margin-bottom:18px}.gallery-content>header>span{display:none}.gallery-search{width:100%;gap:10px}.gallery-search input{flex:1;width:0;font-size:16px;min-height:44px}.project-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.project-cards .create-project{min-height:96px;flex-direction:row}.create-project svg{width:38px;height:38px}}.construction.object-catalog{width:var(--catalog-width,420px);height:calc(100dvh - 108px)}.object-catalog>.panel-body{display:flex;flex-direction:column;overflow:hidden;padding:8px 0 0;min-height:0;flex:1}.catalog-search-row{display:flex;gap:6px;margin:0 8px 8px;flex-shrink:0}.catalog-search-row .catalog-search{flex:1;min-width:0}.catalog-categories-toggle{width:30px;flex-shrink:0;padding:0;color:var(--muted);border:1px solid var(--line);border-radius:var(--control-radius)}.catalog-fold{position:absolute;left:calc(58px + var(--catalog-width,420px));top:74px;width:26px;height:38px;padding:0;border:1px solid var(--line);border-radius:0 5px 5px 0;background:#fff;color:var(--muted)}.catalog-fold.is-collapsed{left:59px}.library-tabs{display:flex;gap:4px;min-width:0;flex-wrap:wrap}.library-tabs button{padding:7px 9px;border-radius:var(--control-radius);font-size:14px;white-space:nowrap}.library-tabs [aria-selected=true]{background:var(--blue);color:var(--accent)}.catalog-library-tabs{padding:0 10px 10px}.catalog-layout{display:grid;grid-template-columns:148px minmax(0,1fr);min-height:0;flex:1;border-top:1px solid var(--line)}.object-catalog .catalog-layout.categories-hidden{grid-template-columns:minmax(0,1fr)}.catalog-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:var(--control-radius);padding:0 10px}.catalog-search input{min-width:0;width:100%;padding:7px 0;border:0;outline:none;background:transparent}.catalog-categories{overflow-y:scroll;min-width:0;border-right:1px solid var(--line);padding:5px;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#71829b #e8edf4}.catalog-categories::-webkit-scrollbar{-webkit-appearance:none;width:10px}.catalog-categories::-webkit-scrollbar-track{background:#e8edf4;border-radius:8px}.catalog-categories::-webkit-scrollbar-thumb{background:#71829b;border:1px solid #fff;border-radius:8px}.catalog-categories-scroll{position:relative;min-height:0;overflow:hidden}.catalog-categories-scroll>.catalog-categories{height:100%;scrollbar-width:none}.catalog-categories-scroll>.catalog-categories::-webkit-scrollbar{width:0}.catalog-scroll-thumb{position:absolute;z-index:2;top:0;right:2px;width:6px;border-radius:6px;background:#71829b;pointer-events:none}.catalog-tree-heading{padding:5px 4px 8px;font-size:12px;color:var(--muted)}.catalog-category{display:flex;align-items:center;border-radius:var(--control-radius);padding-left:calc(var(--depth) * 9px)}.catalog-category.active{background:var(--blue)}.catalog-category-name{flex:1;min-width:0;justify-content:flex-start;text-align:left;min-height:32px;font-size:12px;line-height:16px;padding:5px 2px;background:transparent}.catalog-category .catalog-category-name:hover{background:transparent}.catalog-expand{display:flex;align-items:center;justify-content:center;width:18px;min-width:18px;height:32px;padding:0;background:transparent}.catalog-results{overflow-y:auto;min-width:0;padding:8px;scrollbar-width:thin}.catalog-results-heading{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:12px}.catalog-results-heading strong{flex:1;min-width:0;font-weight:500}.catalog-results-heading span{color:var(--muted)}.catalog-help{display:flex;flex-shrink:0;cursor:help}.help-popover{position:relative;flex:none;color:var(--muted)}.help-popover summary{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border-radius:6px;cursor:pointer;list-style:none}.help-popover summary::-webkit-details-marker{display:none}.help-popover summary:hover,.help-popover[open] summary{color:var(--accent);background:var(--hover)}.help-popover summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.help-popover>p{position:absolute;z-index:30;top:calc(100% + 6px);right:-6px;width:240px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);box-shadow:var(--panel-shadow);font-size:11px;font-weight:400;line-height:1.45}.construction-action-card{overflow:visible}.construction-action-card>.construction-action-help{position:absolute;z-index:40;top:8px;right:8px;left:8px;pointer-events:none}.construction-action-card>.construction-action-help summary{margin-left:auto;pointer-events:auto}.construction-action-card>.construction-action-help>p{top:30px;pointer-events:auto}.construction-action-card:first-child>.construction-action-help>p{right:auto;left:0}.construction-action-card:last-child>.construction-action-help>p{right:0;left:auto}.catalog-results>.field-note{margin:10px 0}.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog-item{position:relative;min-width:0;display:flex}.catalog-item>.catalog-card{width:100%}.catalog-card-favorite{position:absolute;top:6px;right:6px;width:32px;height:32px;min-height:32px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:50%;background:var(--chrome);color:var(--muted)}.catalog-card-favorite:hover,.catalog-card-favorite[aria-pressed=true]{color:var(--accent)}.catalog-card-favorite:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.mobile .catalog-card-favorite{width:44px;height:44px}.catalog-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;border:1px solid var(--line);border-radius:var(--control-radius);overflow:hidden;background:#fff;padding:0 6px 7px;gap:3px;min-width:0}.catalog-card:hover{border-color:var(--selection);background:var(--hover)}.catalog-draggable{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.catalog-draggable:active,.viewport.catalog-dragging{cursor:grabbing}.catalog-card img{width:calc(100% + 12px);margin:0 -6px 3px;aspect-ratio:1.45;object-fit:contain;background:var(--tile)}.catalog-card small,.object-product small{color:var(--muted);font-size:12px}.catalog-card small{font-size:10px}.catalog-card .brand-slot{display:block;height:12px;line-height:12px}.catalog-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:16px;font-weight:500}.catalog-card span{color:var(--muted);font-size:10px}.object-product{display:flex;align-items:center;gap:12px}.object-product>img{width:88px;height:88px;object-fit:contain;background:var(--tile);border-radius:var(--control-radius)}.object-product>svg.structure-preview{width:88px;height:88px;flex:none}.object-product>div{display:flex;flex-direction:column;gap:7px;min-width:0}.object-product strong{font-size:15px;font-weight:500}.object-product a{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:12px;text-decoration:none}.object-actions{margin-top:12px}.object-actions button{min-width:0;padding:8px}.object-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.object-tilt-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.object-tilt-fields label{min-width:0;font-size:12px}.object-transform-tools{position:absolute;bottom:55px;transform:translate(-50%);z-index:2;display:flex;align-items:center;flex-direction:column;gap:6px}.object-transform-tools .panel{display:flex;padding:5px;gap:4px}.object-transform-tools button{width:44px;height:44px;padding:0;border-radius:var(--control-radius)}.object-transform-tools button.active{color:var(--accent);background:var(--blue)}.object-transform-tools output{background:#fff;border-radius:var(--control-radius);padding:4px 8px;font-size:12px;white-space:nowrap}.object-transform-hint{background:#ffffffe6;border-radius:var(--control-radius);padding:5px 8px;font-size:12px;color:#65707a;white-space:nowrap}.mobile .object-transform-tools{bottom:calc(115px + env(safe-area-inset-bottom))}.object-fields label{font-size:12px;min-width:0}.object-fields .unit-input input{padding-left:7px;padding-right:0;width:100%;min-width:0}.object-fields .unit-input>span{font-size:11px;padding:0 5px 0 0}.material-row{display:grid;grid-template-columns:minmax(0,1fr) 42px 68px;gap:8px}.material-row label{font-size:12px}.material-row input[type=color]{width:100%!important;height:36px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--tile);padding:3px}.plan-object{cursor:move}.object-placement-hint{position:absolute;left:50%;bottom:48px;transform:translate(-50%);background:#fff;padding:10px 14px;border:1px solid #d4dcf5;border-radius:var(--control-radius);display:flex;align-items:center;gap:12px;font-size:13px;color:#546381}.object-placement-hint button{flex-shrink:0}.model-loading{position:absolute;bottom:80px;left:50%;transform:translate(-50%);background:#ffffffe6;padding:8px 12px;border-radius:var(--control-radius);font-size:12px}.mobile .object-placement-hint{bottom:calc(118px + env(safe-area-inset-bottom));max-width:calc(100% - 24px);width:max-content;font-size:12px}.mobile .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile .mobile-sheet.object-catalog{width:100%;height:100dvh;max-height:none}.mobile .mobile-sheet.object-catalog .panel-body{padding:12px 0 0;overflow:hidden}.mobile .catalog-layout{grid-template-columns:minmax(138px,42%) minmax(0,1fr)}.mobile .catalog-categories{padding:4px}.mobile .catalog-category{padding-left:calc(var(--depth) * 8px)}.mobile .catalog-category-name{font-size:12px;min-height:44px}.mobile .catalog-expand{width:44px;min-width:44px}.mobile .catalog-categories-toggle{width:44px;min-height:44px}.mobile .object-catalog:not([data-department=furniture]) span.catalog-expand{display:none}.mobile .catalog-results{padding:8px}.mobile .object-catalog .catalog-grid{grid-template-columns:1fr}.mobile .object-catalog .categories-hidden .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile .catalog-card{min-height:0}.mobile .object-fields{gap:7px}.mobile .object-stats{display:none}.mobile .object-catalog .catalog-card img{max-height:200px}.object-quarter-turn{flex-shrink:0;padding:0 9px;align-self:stretch;border-left:1px solid var(--line);font-size:12px}.material-row label{min-width:0}.object-material .part-name{justify-content:flex-start;text-align:left;font-size:14px;padding:0;width:100%}.object-material .part-heading{display:flex;align-items:center;gap:8px}.object-material .material-pipette{flex:none;width:32px;height:32px}.scene-3d.material-picking canvas{cursor:crosshair}.object-material.active-part .part-name{color:var(--accent)}.object-material.active-part{border-left:2px solid var(--accent);padding-left:8px}.mixed-value{display:block;font-size:10px;color:var(--muted)}.mixed-color::-webkit-color-swatch{background:repeating-linear-gradient(135deg,#aaa 0 5px,#eee 5px 10px)!important}.part-texture{display:flex;flex-direction:column;gap:6px;font-size:12px}.texture-current{width:100%;height:36px;padding:2px;border:1px solid var(--line);border-radius:var(--control-radius);overflow:hidden;background:#fff}.texture-current img{display:block;width:100%;height:100%;object-fit:cover}.texture-current .texture-mixed{position:relative;display:flex;width:100%;height:100%}.texture-current .texture-mixed img{flex:1;min-width:0}.texture-current .texture-mixed span{position:absolute;inset:auto 0 0;background:#ffffffe0}.texture-current span:not(.no-texture){font-size:10px}.no-texture{display:block;width:100%;height:100%;background:linear-gradient(155deg,transparent 48%,#ef4444 49%,#ef4444 51%,transparent 52%)}textarea{font:inherit;color:inherit}button{transition:background-color .15s,border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}input[type=range]{accent-color:var(--accent)}.toolbar-box,.panel{border-radius:var(--panel-radius);box-shadow:var(--panel-shadow)}.topbar{inset:0 0 auto;height:76px;padding:12px 18px;align-items:center;gap:12px;background:var(--chrome);border-bottom:1px solid var(--line);z-index:16}.topbar .toolbar-box{background:transparent;border:0;box-shadow:none}.topbar .project-title{width:auto;max-width:390px;min-width:210px;padding:0;gap:8px}.project-title .project-name{width:155px;font-weight:650;font-size:17px;text-overflow:ellipsis}.project-area{width:70px;flex:none;color:var(--muted);font-size:12px;white-space:nowrap;text-align:right}.save-icon{padding:5px;border-radius:50%;background:var(--tile);color:var(--accent)}.topbar .history-toolbar{gap:3px;border-left:1px solid var(--line);border-radius:0;padding-left:12px}.toolbar-box button{border-radius:var(--control-radius)}.topbar .view-modes{display:flex;padding:4px;gap:3px;border:1px solid var(--line);border-radius:30px;background:var(--tile);margin-left:auto}.view-modes button{min-width:94px;height:40px;border-radius:24px;font-size:13px;font-weight:650;gap:7px}.view-modes button span{font-weight:450}.view-modes button.active,.view-modes button.active:hover{background:var(--accent);color:#fff;box-shadow:0 3px 10px #153f3320}.topbar .top-right{gap:8px;margin-left:auto;padding:0}.theme-toggle{min-height:40px;padding:8px;gap:10px;white-space:nowrap;font-size:12px;font-weight:600}.theme-toggle>svg{color:var(--accent)}.switch-track{display:inline-flex;align-items:center;width:38px;height:23px;padding:3px;border-radius:30px;background:#a8b5af;flex:none}.switch-track>span{width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #12283626;transition:transform .18s}[aria-checked=true] .switch-track,[aria-pressed=true] .switch-track{background:var(--accent)}[aria-checked=true] .switch-track>span,[aria-pressed=true] .switch-track>span{transform:translate(15px)}.tool-rail{top:76px;bottom:64px;left:0;width:112px;padding:6px 8px;gap:3px;background:var(--rail-background);overflow-y:auto;scrollbar-width:thin;border:0;border-radius:0;box-shadow:none}.editor:not(.mobile) .tool-rail button{width:96px;min-width:96px;min-height:36px;height:auto;flex:none;flex-direction:column;gap:5px;padding:10px 2px;font-size:10px;font-weight:500;color:var(--muted);border-radius:9px}.tool-rail button span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.editor:not(.mobile) .tool-rail svg{width:20px;height:20px;stroke-width:1.7;color:var(--accent)}.tool-rail button[aria-label=Перепланировка] span{font-size:10px}.tool-rail button.active,.tool-rail button.active:hover{background:var(--blue);color:var(--accent)}.construction{top:88px;left:124px;width:284px;max-height:calc(100dvh - 174px)}.global-search-panel{position:absolute;z-index:12;top:88px;left:124px;width:380px;max-height:calc(100dvh - 174px);overflow:hidden;background:var(--chrome);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.global-search-input{display:flex;align-items:center;gap:9px;padding:12px;border-bottom:1px solid var(--line)}.global-search-input input{flex:1;min-width:0;height:40px;border:0;outline:0;background:transparent;font-size:15px}.global-search-input button{width:34px;height:34px;padding:7px}.global-search-results{max-height:calc(100dvh - 245px);overflow-y:auto;padding:8px}.global-search-results>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:8px 10px;text-align:left;border-radius:9px}.global-search-results>button:hover{background:var(--blue);color:var(--accent)}.global-search-results strong{font-size:13px;font-weight:550}.global-search-results small{color:var(--muted);font-size:11px;white-space:nowrap}.global-search-results p{padding:18px 10px;color:var(--muted);font-size:13px}.inspector,.settings-panel{top:88px;right:16px;width:304px;max-height:calc(100dvh - 174px);overflow:hidden}.panel-heading{height:54px;min-height:54px;padding:0 16px;font-size:15px;font-weight:650;border-color:var(--line)}.panel-heading>button{width:30px;height:32px;flex-shrink:0;border-radius:8px}.panel-body{padding:16px}.properties{gap:17px;padding:18px}.properties label{color:var(--ink);font-size:13px}.properties input:not([type=range]):not([type=checkbox]),.properties select{height:39px;background:#fff;border-color:var(--line);border-radius:var(--control-radius)}.unit-input{background:#fff;border-color:var(--line);border-radius:var(--control-radius);overflow:hidden}.property-section{border-color:var(--line);padding-top:18px}.property-section>span{font-weight:600}.outline-button{border-color:var(--line);padding:9px 11px;min-height:38px;background:var(--tile)}.primary-button{min-height:40px;font-weight:600}.primary-button:hover:not(:disabled),.underlay-done:hover:not(:disabled){background:var(--accent-hover);color:#fff}.underlay-done{background:var(--accent);border-color:var(--accent)}.underlay-tile{height:112px;padding:16px;border:1px dashed var(--line);background:var(--tile)}.mode-grid,.shape-grid,.settings-tiles{gap:8px}.mode-tile{height:112px;border:1px solid var(--line)}.mode-tile.chosen{background:var(--blue)}.section-title{font-weight:550}.object-product{padding:12px;background:var(--tile);border-radius:14px;gap:10px}.object-product>img,.object-product>svg.structure-preview{width:78px;height:88px;border-radius:10px}.object-product strong{font-weight:650;line-height:1.4}.object-fields{gap:6px}.object-transform-tools{bottom:100px}.object-transform-tools .panel{border-radius:14px}.construction.object-catalog{height:calc(100dvh - 174px)}.catalog-search-row{margin:2px 16px 14px}.catalog-search{padding:0 12px;min-height:39px;border-color:var(--line);background:#fff}.catalog-search input{font-size:13px}.catalog-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(120px,.8fr) minmax(0,1fr);border:0}.object-catalog .catalog-layout.categories-hidden{grid-template-rows:minmax(0,1fr)}.catalog-categories{border-right:0;border-bottom:0;padding:0 16px 12px}.object-catalog .catalog-categories{padding-left:38px}.object-catalog .catalog-categories.no-branches{padding-left:16px}.catalog-tree-heading{display:none}.catalog-category-name{min-height:35px;font-size:14px;line-height:19px;padding:6px 3px}.object-catalog .catalog-category{position:relative;display:block;padding-left:calc(var(--depth) * 18px);transition:background-color .14s ease,color .14s ease}.object-catalog .catalog-category-name{display:flex;width:100%}.object-catalog .catalog-category .catalog-expand{position:absolute;top:50%;left:calc(var(--depth) * 18px - 25px);width:22px;min-width:22px;transform:translateY(-50%)}.object-catalog .catalog-category:hover,.object-catalog .catalog-category:focus-within{background:transparent;color:var(--accent)}.object-catalog .catalog-category:hover .catalog-expand,.object-catalog .catalog-category:focus-within .catalog-expand,.object-catalog .catalog-category .catalog-category-name:hover{background:transparent}.object-catalog .catalog-category.active{color:var(--accent);background:transparent}.catalog-category.active.branch{background:transparent;font-weight:650}.object-catalog .catalog-category.active.branch:hover,.object-catalog .catalog-category.active.branch:focus-within{background:transparent}.catalog-category{border-radius:8px}.catalog-results{padding:12px}.catalog-results-heading{margin-bottom:12px}.catalog-results-heading strong{font-weight:600}.catalog-results-heading>span:not(.catalog-help){padding:3px 7px;border-radius:12px;background:var(--tile);font-size:11px}.catalog-card{border-radius:12px;padding:0 8px 9px;gap:3px}.catalog-card img{display:block;flex:none;background:var(--preview-surface,var(--tile));width:calc(100% + 16px);margin:0 -8px 5px;aspect-ratio:1.3}.catalog-card strong{font-weight:600}.catalog-card:hover{background:var(--hover);border-color:var(--selection);box-shadow:0 3px 12px #1e423610}.catalog-fold.is-collapsed{left:124px;top:88px;width:44px;height:48px;border-color:var(--line);border-radius:12px;color:var(--accent);background:var(--blue);z-index:2}.library-tabs button{font-size:12px}.library-tabs [aria-selected=true]{font-weight:650}.canvas-caption{position:absolute;left:132px;right:24px;bottom:68px;display:flex;gap:14px;padding:5px 0;font-size:10px;color:var(--muted);pointer-events:none}.statusbar{height:64px;padding:0 22px;gap:22px;background:var(--chrome);border-color:var(--line);color:var(--ink);font-size:12px;z-index:14}.statusbar .footer-switch{min-height:40px;padding:4px;gap:10px;color:var(--ink)}.footer-switch>svg{color:var(--accent)}.footer-grid-step{display:flex;align-items:center;gap:12px;white-space:nowrap}.footer-grid-step select{border:1px solid var(--line);border-radius:10px;padding:9px;background:#fff}.statusbar .view-toolbar{position:static;flex-direction:row;display:flex;align-items:center;gap:0;width:auto;margin-left:auto;padding:0}.view-toolbar>button{min-width:40px;width:40px;height:38px;border:1px solid var(--line);border-radius:10px;color:var(--accent)}.zoom-value{min-width:57px;text-align:center;color:var(--ink);font-variant-numeric:tabular-nums}.statusbar .zoom-slider{writing-mode:horizontal-tb;direction:ltr;width:70px;height:24px;margin:0 14px;accent-color:var(--accent)}.view-toolbar>.fit-button{width:auto;padding:8px 12px;font-size:12px;gap:9px;margin-left:10px;color:var(--ink)}.object-placement-hint,.room-resize-hint,.orbit-hint,.measure-result,.error-toast{bottom:100px;border-radius:12px;box-shadow:var(--panel-shadow)}.model-loading{bottom:145px}.gallery-sidebar{background:var(--chrome);border-right:1px solid var(--line);display:flex;flex-direction:column}.gallery-sidebar .theme-toggle{margin-top:auto;flex-wrap:nowrap;justify-content:flex-start;gap:6px;padding-inline:0;font-size:11px}.gallery-sidebar .theme-label{white-space:normal;text-align:left}.gallery-current{padding:13px;background:var(--blue);border-radius:12px;font-weight:600}.gallery-content{padding:28px 40px}.gallery-intro{margin:30px 0}.gallery-intro>span{font-size:10px;color:var(--muted);font-weight:600;letter-spacing:.13em}.gallery-intro h1{font-size:36px;letter-spacing:-.04em;margin:10px 0;font-weight:650}.gallery-intro p{color:var(--muted);font-size:14px}.gallery-search{border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 14px}.gallery-search svg{width:18px}.gallery-search input{font-size:14px}.project-cards>button{border-color:var(--line);border-radius:var(--panel-radius);box-shadow:var(--panel-shadow)}.project-cards>button:hover{border-color:var(--selection)}.project-cards .create-project{background:#fff;border-style:dashed}.create-project svg{width:54px;height:54px}.project-card>strong{font-weight:650;padding:18px}.project-card>div{padding:0 18px 18px}[data-theme=dopamine] .topbar{background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2032%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%23ffd9dc%22/%3E%3Cstop%20offset%3D%220.167%22%20stop-color%3D%22%23ffebcc%22/%3E%3Cstop%20offset%3D%220.333%22%20stop-color%3D%22%23d1f5e4%22/%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%23e4ddff%22/%3E%3Cstop%20offset%3D%220.667%22%20stop-color%3D%22%23f7d9f8%22/%3E%3Cstop%20offset%3D%220.833%22%20stop-color%3D%22%23ffe7ce%22/%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%23e3efff%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill%3D%22url%28%23g%29%22%20fill-opacity%3D%22.75%22%20d%3D%22M0%200H1440V8C1280%200%201230%2038%201060%2023S810%206%20650%2022S480%2037%20320%2020S100%2014%200%2030Z%22/%3E%3C/svg%3E) top center / 100% 32px no-repeat,#ffffffed}[data-theme=dopamine] .statusbar{background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2032%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%23ffd9dc%22/%3E%3Cstop%20offset%3D%220.167%22%20stop-color%3D%22%23ffebcc%22/%3E%3Cstop%20offset%3D%220.333%22%20stop-color%3D%22%23d1f5e4%22/%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%23e4ddff%22/%3E%3Cstop%20offset%3D%220.667%22%20stop-color%3D%22%23f7d9f8%22/%3E%3Cstop%20offset%3D%220.833%22%20stop-color%3D%22%23ffe7ce%22/%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%23e3efff%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill%3D%22url%28%23g%29%22%20fill-opacity%3D%22.75%22%20d%3D%22M0%2032H1440V13C1280%2030%201200%205%201060%2015S860%2030%20710%2012S480%208%20320%2022S100%2015%200%2023Z%22/%3E%3C/svg%3E) bottom center / 100% 32px no-repeat,#ffffffed}[data-theme=dopamine] .theme-toggle>svg{color:var(--violet)}[data-theme=dopamine] .tool-rail button{--rail-accent:#6554ff;--rail-wash:#f1edff}[data-theme=dopamine] .tool-rail button:is([aria-label="Мои элементы"],[aria-label="Каталог мебели"],[aria-label="Каталог текстур"]){--rail-accent:#994aff;--rail-wash:#f4edff}[data-theme=dopamine] .tool-rail button[aria-label=Построение]{--rail-accent:#ff4e62;--rail-wash:#ffedf1}[data-theme=dopamine] .tool-rail button:is([aria-label="Конструктивные элементы"],[aria-label="Каталог декора"]){--rail-accent:#009a62;--rail-wash:#e8faf1}[data-theme=dopamine] .tool-rail button[aria-label="Каталог сантехники"]{--rail-accent:#009cf0;--rail-wash:#e8f6ff}[data-theme=dopamine] .tool-rail button:is([aria-label="Каталог техники и электрики"],[aria-label="Каталог освещения"]){--rail-accent:#ff7900;--rail-wash:#fff3e4}[data-theme=dopamine] .editor .tool-rail button svg{color:var(--rail-accent)}[data-theme=dopamine] .tool-rail button.active,[data-theme=dopamine] .tool-rail button:hover{background:var(--rail-wash);color:var(--rail-accent)}[data-theme=dopamine] .catalog-item:nth-child(6n+1){--preview-surface:#fff0e9}[data-theme=dopamine] .catalog-item:nth-child(6n+2){--preview-surface:#e6f0ff}[data-theme=dopamine] .catalog-item:nth-child(6n+3){--preview-surface:#ffeeee}[data-theme=dopamine] .catalog-item:nth-child(6n+4){--preview-surface:#fff6ce}[data-theme=dopamine] .catalog-item:nth-child(6n+5){--preview-surface:#e1f8f3}[data-theme=dopamine] .catalog-item:nth-child(6n){--preview-surface:#fbe7fb}[data-theme=dopamine] .mode-tile:nth-child(1){background:#eef1ff;color:#4263ed}[data-theme=dopamine] .mode-tile:nth-child(2){background:#fff3e4;color:#ff7900}[data-theme=dopamine] .mode-tile:nth-child(3){background:#e8faf1;color:#008e5c}[data-theme=dopamine] .object-product{background:linear-gradient(130deg,#e2f9f5,#effaf9)}[data-theme=dopamine] .save-icon{background:#d8f9ec;color:#168069}[data-theme=dopamine] .gallery-sidebar{background:linear-gradient(160deg,#f2e9ff,#fff 45%,#fff5dc)}[data-theme=dopamine] .project-card:nth-child(3n)>svg{background:#f6efff}[data-theme=dopamine] .project-card:nth-child(3n+1)>svg{background:#eaf8f4}[data-theme=dopamine] .footer-switch[aria-label=Привязки]>svg{color:#ff7900}[data-theme=dopamine] .footer-switch[aria-label=Привязки][aria-pressed=true] .switch-track{background:#009a62}[data-theme=dopamine] .construction-action-tile[aria-label="Расставить электроточки"] svg{color:#ff7900}[data-theme=dopamine] .settings-tiles button:nth-child(1){background:#fff0f3;color:#ee465a}[data-theme=dopamine] .settings-tiles button:nth-child(2){background:#f3efff;color:#8950e8}[data-theme=dopamine] .settings-tiles button:nth-child(3){background:#e8faf1;color:#008e5c}[data-theme=dopamine] .settings-tiles button.chosen{box-shadow:inset 0 0 0 1px currentColor}[data-theme=dopamine] .settings-panel .active-tab{background:transparent;color:#f07800}[data-theme=dopamine] .mode-tile.chosen{border-color:currentColor}@media(min-width:901px)and (max-width:1250px){.topbar{gap:6px;padding-inline:12px}.topbar .project-title{min-width:150px;padding:0 4px}.project-title .project-name{width:125px}.project-area,.topbar .theme-label,.topbar .projects-button span{display:none}.view-modes button{min-width:80px}.statusbar{gap:12px;padding-inline:12px}.statusbar .zoom-slider{width:50px;margin-inline:8px}.fit-button span{display:none}}@media(max-height:800px)and (min-width:901px){.mode-tile{height:96px}}.mobile .topbar{inset:0 0 auto;height:calc(68px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0;gap:5px}.mobile .topbar .project-title{min-width:0;max-width:none;padding:0 4px}.mobile .project-title .project-name{width:0;font-size:15px}.mobile .project-area,.mobile .theme-label,.mobile .theme-toggle .switch-track,.mobile .save-icon{display:none}.mobile .top-right{gap:8px}.mobile .top-right .separator{display:none}.mobile .top-right .theme-toggle{min-width:40px;padding:8px}.mobile .theme-toggle[aria-checked=true]{background:var(--blue)}.mobile .appearance-setting .theme-label{display:inline}.mobile .appearance-setting .switch-track{display:inline-flex}.mobile .appearance-setting .theme-toggle{background:transparent;width:100%;justify-content:space-between;padding:10px 0;font-size:12px}.mobile .history-toolbar{top:calc(76px + env(safe-area-inset-top));left:12px;border:1px solid var(--line);border-radius:14px;background:var(--chrome);padding:2px}.mobile .topbar .view-modes{position:absolute;top:calc(76px + env(safe-area-inset-top));right:12px;padding:3px;margin:0;background:var(--chrome);border-radius:16px}.mobile .view-modes button{min-width:52px;height:42px;font-size:14px;border-radius:12px}.mobile .view-modes button span{display:none}.mobile .mobile-context{top:calc(132px + env(safe-area-inset-top));right:12px;left:12px}.mobile .tool-rail{top:auto;bottom:calc(62px + env(safe-area-inset-bottom));background:var(--chrome);border:1px solid var(--line);left:8px;right:8px;width:auto;gap:4px;padding:4px;border-radius:18px}.mobile .tool-rail button{flex:0 0 58px;min-width:58px;width:58px;height:58px;min-height:58px;font-size:10px;padding:5px 2px}.mobile .statusbar{height:calc(54px + env(safe-area-inset-bottom));padding:4px 10px calc(4px + env(safe-area-inset-bottom));gap:10px}.mobile .control-label,.mobile .footer-grid-step,.mobile .fit-button span,.mobile .canvas-caption{display:none}.mobile .statusbar .footer-switch{min-width:0;gap:6px;padding:2px}.mobile .footer-switch .switch-track{width:30px;height:20px}.mobile .footer-switch .switch-track>span{width:14px;height:14px}.mobile .footer-switch[aria-checked=true] .switch-track>span,.mobile .footer-switch[aria-pressed=true] .switch-track>span{transform:translate(10px)}.mobile .statusbar .view-toolbar{flex-direction:row;margin-left:auto;gap:0}.mobile .view-toolbar>.fit-button{min-width:40px;min-height:40px;height:40px;width:40px;margin-left:4px;padding:8px}.mobile .view-toolbar .zoom-value{font-size:11px;min-width:42px}.mobile .mobile-sheet{border-radius:0}.mobile .catalog-layout{grid-template-columns:minmax(138px,42%) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.mobile .catalog-categories{border-right:1px solid var(--line);border-bottom:0}.mobile .object-catalog .catalog-categories{padding-left:40px;scrollbar-gutter:auto}.mobile .object-catalog .catalog-categories.no-branches{padding-left:16px}.mobile .object-catalog .catalog-category-name{padding:12px 0;line-height:20px;align-items:flex-start}.mobile .mobile-sheet.object-catalog .catalog-category .catalog-expand{top:0;left:calc(var(--depth) * 18px - 24px);width:16px;min-width:16px;height:44px;transform:none;align-items:flex-start;padding-top:14px}.mobile .object-catalog .catalog-scroll-thumb{display:none}.mobile .catalog-category-name{min-height:44px}.mobile .object-placement-hint,.mobile .room-resize-hint,.mobile .orbit-hint,.mobile .measure-result,.mobile .error-toast,.mobile .object-transform-tools{bottom:calc(138px + env(safe-area-inset-bottom))}@media(max-width:900px),(pointer:coarse)and (max-width:1100px){.gallery-sidebar{flex-direction:row;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--line)}.gallery-sidebar .theme-toggle{margin:0}.gallery-sidebar .theme-label{display:none}.gallery-current{padding:9px}.gallery-content{padding:16px}.gallery-intro{margin:18px 0 24px}.gallery-intro h1{font-size:30px}.gallery-search{padding:3px 12px}}@media(prefers-reduced-motion:reduce){button,.switch-track>span{transition:none}}.project-gallery .gallery-sidebar{position:fixed;inset:0 auto 0 0;z-index:2;width:240px;height:100dvh;overflow-y:auto}.project-gallery .gallery-content{margin-left:240px;min-height:100dvh}.project-gallery .gallery-current{width:100%;border-radius:12px;justify-content:flex-start}.project-gallery .gallery-current.active,.project-gallery .gallery-current:hover{background:var(--blue);color:var(--accent)}.gallery-folders{display:flex;flex-direction:column;gap:3px;margin-top:8px}.gallery-folders button{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:9px 12px;color:var(--muted);text-align:left;border-radius:9px}.gallery-folders button.active,.gallery-folders button:hover{background:var(--hover);color:var(--ink)}.gallery-folders button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-folders small{font-size:10px}.project-gallery .gallery-intro{margin:22px 0 20px}.project-gallery .gallery-intro h1{margin:0}.project-gallery .gallery-content>header{justify-content:flex-start;margin-bottom:28px}.project-gallery .gallery-search{width:min(420px,100%)}.project-gallery .gallery-search input{width:100%}.gallery-folder-heading{display:flex;align-items:center;gap:8px;margin:-12px 0 20px;color:var(--muted);font-size:13px}.gallery-folder-heading button{color:var(--accent);padding:3px 0}.gallery-folder-heading strong{color:var(--ink)}.project-gallery .project-cards{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:none;align-items:start}.gallery-create-actions,.create-folder-form,.folder-card,.project-card{position:relative;width:100%;min-width:0;height:280px;min-height:0;border:1px solid var(--line);border-radius:var(--panel-radius);background:#fff;box-shadow:var(--panel-shadow)}.gallery-create-actions{display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.gallery-create-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:12px;font-size:16px;border-radius:0}.gallery-create-actions>button+button{border-left:1px solid var(--line);background:#fff}.gallery-create-actions svg{color:var(--accent)}.create-folder-form{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:22px}.create-folder-form>svg{color:var(--accent)}.create-folder-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.create-folder-form input{width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;font-size:15px}.create-folder-form>div{display:flex;gap:8px;justify-content:flex-end}.create-folder-form button{padding:8px 10px}.folder-card{overflow:visible}.folder-open{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:24px;text-align:left;border-radius:var(--panel-radius)}.folder-open svg{color:var(--accent)}.folder-open strong{font-size:16px}.folder-open span{color:var(--muted);font-size:12px}.project-open{width:100%;height:100%;justify-content:flex-start;gap:0;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;padding:0;border-radius:var(--panel-radius)}.project-open>svg{background:var(--canvas);width:100%;height:160px;padding:16px}.project-open>strong{padding:18px 48px 10px 18px;text-align:left;font-size:16px;font-weight:650}.project-open>div{display:flex;justify-content:space-between;align-items:center;padding:0 18px 18px;color:var(--muted);font-size:11px}.project-favorite{position:absolute;top:12px;left:12px;color:#e9a400;filter:drop-shadow(0 1px 2px #fff)}.project-card>svg.project-favorite{width:18px;height:18px;padding:0;background:transparent}.project-gallery .project-menu{position:absolute;right:10px;top:169px;z-index:1;display:block;width:auto;padding:0}.project-menu summary{display:flex;align-items:center;justify-content:center;width:34px;height:34px;color:var(--muted);border-radius:8px;cursor:pointer;list-style:none}.project-menu summary::-webkit-details-marker{display:none}.project-menu summary:hover,.project-menu[open] summary{background:var(--hover);color:var(--ink)}.project-menu>div{position:absolute;top:38px;right:0;width:235px;display:flex;flex-direction:column;padding:6px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--panel-shadow)}.project-menu button,.project-menu label{display:flex;align-items:center;gap:8px;width:100%;padding:9px;min-height:36px;justify-content:flex-start;text-align:left;font-size:12px;border-radius:7px}.project-menu label{flex-wrap:wrap;cursor:default}.project-menu select{width:100%;margin-left:24px;padding:6px;border:1px solid var(--line);border-radius:7px;background:#fff}.project-menu .danger{color:#b42318}.project-menu button:hover{background:var(--hover)}.project-gallery .folder-menu{top:10px}.folder-menu>div{width:150px}@media(max-width:900px),(pointer:coarse)and (max-width:1100px){.project-gallery .gallery-sidebar{position:static;width:100%;height:auto;overflow:visible}.project-gallery .gallery-content{margin-left:0}.project-gallery .gallery-current{width:auto}.gallery-folders{flex-direction:row;order:3;width:100%;overflow-x:auto}.gallery-folders button{width:auto;min-width:max-content}.project-gallery .gallery-search{width:100%}.project-gallery .project-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));max-width:100%}.gallery-create-actions{min-height:150px}}@media(min-width:901px)and (max-width:1291px){.project-gallery .project-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}}.topbar .home-button{min-width:42px;padding:7px;color:var(--accent)}.topbar .project-picker-trigger{min-width:26px;width:26px;padding:4px;color:var(--accent)}.project-name-control{display:flex;align-items:center;gap:2px;min-width:0;padding:0 5px;border-radius:var(--control-radius)}.project-name-control:hover,.project-name-control:focus-within,.project-name-control.open{background:var(--hover)}.topbar .project-name-control .project-name{flex:0 1 auto;width:auto;min-width:1ch;max-width:190px;padding:4px 0}.topbar .project-name-control .project-picker-trigger{flex-shrink:0;background:transparent}.mobile .project-name-control{flex:0 1 auto}.save-status{display:flex;align-items:center;gap:6px;width:120px;flex:none;color:var(--muted);font-size:11px;white-space:nowrap}.save-status .save-icon{width:21px;height:21px;align-items:center;justify-content:center;background:transparent;padding:2px}.project-picker{position:fixed;inset:68px auto auto 65px;width:320px;max-width:calc(100vw - 24px);margin:0;padding:16px;border:1px solid var(--line);border-radius:var(--panel-radius);background:#fff;color:var(--ink);box-shadow:0 14px 45px #173c3826}.project-picker>strong{display:block;margin:0 0 12px}.project-picker-list{display:flex;flex-direction:column;gap:4px;max-height:min(420px,60dvh);overflow-y:auto;margin-top:10px}.project-picker-list button{justify-content:space-between;padding:12px;border-radius:10px;text-align:left;min-width:0;flex-shrink:0}.project-picker-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-picker-list [aria-current]{background:var(--blue);color:var(--accent)}.object-catalog>.panel-heading{border-bottom:0;height:54px}.object-catalog>.panel-heading>span{flex:1;min-width:0}.catalog-results-heading .catalog-categories-toggle{width:26px;min-width:26px;height:26px;border:0;background:transparent}.catalog-card.active{border-color:var(--selection);box-shadow:inset 0 0 0 1px var(--selection);background:var(--hover)}@media(min-width:901px)and (max-width:1250px){.save-label{display:none}.save-status{width:auto}.topbar .project-title{min-width:180px}}.mobile .topbar .project-title{min-width:0;gap:3px}.mobile .topbar .home-button{min-width:38px;width:38px;padding:5px}.mobile .topbar .project-picker-trigger{min-width:26px;width:26px;padding:3px}.mobile .save-status{gap:0}.mobile .save-status .save-icon{display:flex}.mobile .save-status .save-label{display:none}.mobile .project-picker{inset:68px auto auto 12px;width:calc(100vw - 24px)}.inspector,.settings-panel{width:288px;border-radius:14px;box-shadow:0 4px 18px #183d300a}.inspector .panel-heading,.settings-panel .panel-heading{height:46px;min-height:46px;padding:0 14px;font-size:14px}.inspector .panel-heading>span{margin-right:auto}.inspector .panel-heading>button{width:28px;min-width:28px;height:30px;padding:4px}.inspector .properties,.settings-panel .properties{gap:12px;padding:12px 14px}.inspector .properties label,.settings-panel .properties label{gap:5px;font-size:12px;min-width:0}.inspector .properties input:not([type=range]):not([type=checkbox]),.inspector .properties select,.settings-panel .properties input:not([type=range]):not([type=checkbox]),.settings-panel .properties select{height:34px;padding:5px 8px;border-radius:6px;background:#fff}.inspector .unit-input,.settings-panel .unit-input{border-radius:6px;background:#fff}.inspector .property-section,.settings-panel .property-section{padding-top:12px;gap:8px}.inspector .property-section>span,.inspector-section-title{font-size:13px;font-weight:600}.inspector .outline-button,.settings-panel .outline-button,.plain-action{min-height:30px;padding:5px 6px;border:0;background:transparent;box-shadow:none;border-radius:6px;gap:6px;font-size:12px}.inspector .outline-button:hover:not(:disabled),.plain-action:hover{background:var(--hover)}.inspector .danger,.inspector .outline-button.danger{color:#a12c32}.inspector .danger:hover{background:#faeeee;color:#842129}.inspector-overview{position:relative;min-width:0}.inspector-actions{position:absolute;top:-3px;right:-3px;display:flex;gap:0;z-index:1}.inspector-actions button{width:28px;min-width:28px;height:28px;padding:5px;border:0;border-radius:6px;background:transparent}.inspector-actions button:hover{background:var(--hover)}.inspector-actions [aria-pressed=true],.catalog-favorites-toggle[aria-pressed=true]{color:var(--accent)}.inspector-overview .object-product{padding:0;gap:10px;background:transparent;border-radius:0;align-items:flex-start}.inspector-overview .object-product>img,.inspector-overview .object-product>svg.structure-preview{width:46px;height:72px;flex:0 0 46px;background:transparent;border-radius:0;--preview-surface:transparent}.inspector-overview .object-product>div{flex:1;gap:4px}.inspector-overview .object-product small{height:27px;padding:3px 108px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.structure-inspector .object-product small{padding-right:80px}.inspector-overview .object-product strong{font-size:13px;font-weight:600;line-height:18px;overflow-wrap:anywhere}.inspector-overview .object-product a{font-size:11px}.selection-overview{min-height:26px}.inspector .properties input[type=color]{width:100%!important;height:32px;padding:3px!important;background:#fff;border:0}.inspector .properties input[type=color]::-webkit-color-swatch-wrapper{padding:0}.inspector .properties input[type=color]::-webkit-color-swatch{border:1px solid #00000020;border-radius:3px}.inspector input[type=range]{height:22px;margin:0}.inspector .check-label,.settings-panel .check-label{flex-direction:row;align-items:center;gap:7px}.inspector .property-section>label:has(>input[type=checkbox]){flex-direction:row;align-items:center}.inspector-notes{color:var(--muted);font-size:11px;line-height:16px}.inspector-notes summary{cursor:pointer;width:fit-content}.inspector-notes p,.inspector-notes ul{margin:7px 0 0}.inspector-section-title{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}.inspector-section-title small{font-size:11px;font-weight:400;color:var(--muted)}.inspector .object-material{border-top:0;padding-top:0;gap:5px}.inspector .object-material.active-part{border-left:0;padding-left:0}.inspector .part-heading{min-height:24px}.inspector .part-name{font-size:12px;font-weight:500;padding:3px 0}.inspector .object-material.active-part .part-name{color:var(--accent)}.inspector .material-row{grid-template-columns:minmax(0,1fr) 38px 52px;gap:7px;align-items:end}.inspector .material-row label,.inspector .part-texture{font-size:11px;gap:4px}.inspector .properties .material-row input[type=color],.inspector .properties .material-row .texture-current,.inspector .properties .architectural-texture .texture-current{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:3px}.inspector .properties select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231a3059' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.inspector .object-tilt-fields{margin-top:0}.inspector .wall-swatch{gap:10px;min-height:54px}.inspector .wall-thumbnail,.inspector .wall-swatch>.structure-preview{width:48px;height:54px;flex:0 0 48px;--preview-surface:transparent}.inspector .room-summary>svg{width:50px;height:62px;flex:none}.inspector .room-area{margin-top:6px}.inspector .underlay-preview{width:56px;height:62px;object-fit:contain}.settings-panel .settings-tiles button{border:0;height:52px;gap:4px;border-radius:6px}.catalog-results-heading .catalog-favorites-toggle{width:26px;min-width:26px;height:26px;padding:4px;border:0;background:transparent}.mobile .mobile-sheet.inspector,.mobile .mobile-sheet.settings-panel{width:100%;border-radius:0}.mobile .mobile-sheet .properties{gap:14px}.mobile .inspector .properties input:not([type=range]):not([type=checkbox]),.mobile .inspector .properties select,.mobile .settings-panel .properties input:not([type=range]):not([type=checkbox]),.mobile .settings-panel .properties select{min-height:40px;font-size:16px}.mobile .inspector-actions button{min-width:36px;width:36px;height:36px}.mobile .inspector-overview .object-product small{height:36px;padding-right:140px}.mobile .structure-inspector .object-product small{padding-right:104px}.mobile .inspector .wall-thumbnail{width:48px;height:54px;flex-basis:48px}.inspector .no-texture{background:none;display:grid;place-items:center;font-size:10px;color:var(--muted)}.structure-inspector .properties{gap:10px}.structure-inspector .property-section{padding-top:10px;gap:7px}.inspector .panel-heading{gap:4px}.inspector .panel-heading>button{margin-left:0}.inspector .panel-heading [aria-pressed=true]{color:var(--accent)}[data-theme=dopamine] svg.viewport{--selection:var(--play-accent);--selection-wash:color-mix(in srgb,var(--play-accent) 20%,transparent)}svg.viewport[data-play-color="0"]{--play-accent:var(--dopamine-color-0)}svg.viewport[data-play-color="1"]{--play-accent:var(--dopamine-color-1)}svg.viewport[data-play-color="2"]{--play-accent:var(--dopamine-color-2)}svg.viewport[data-play-color="3"]{--play-accent:var(--dopamine-color-3)}svg.viewport[data-play-color="4"]{--play-accent:var(--dopamine-color-4)}svg.viewport[data-play-color="5"]{--play-accent:var(--dopamine-color-5)}[data-theme=dopamine] .catalog-card:hover,[data-theme=dopamine] .catalog-card.active{--card-highlight:color-mix(in srgb,var(--preview-surface) 72%,var(--ink));border-color:var(--card-highlight);background:color-mix(in srgb,var(--preview-surface) 92%,var(--ink));box-shadow:inset 0 0 0 1px var(--card-highlight)}.mobile-gesture-panel{position:absolute;left:50%;right:auto;width:156px;transform:translate(-50%);bottom:calc(132px + env(safe-area-inset-bottom));padding:2px;background:var(--chrome);display:flex;flex-direction:column}.mobile-gesture-panel nav{display:flex;width:100%;gap:3px}.mobile-gesture-panel button{flex:1;min-width:0;min-height:40px;gap:5px;padding:4px;font-size:12px;border-radius:10px}.mobile-gesture-panel button:not(.active){background:transparent}.mobile-gesture-panel button.active{background:var(--blue);color:var(--accent)}.mobile-gesture-panel.finishing>nav{visibility:hidden}.mobile-gesture-panel .gesture-finish{position:absolute;inset:2px;height:auto}.mobile .mobile-context{flex-direction:column;align-items:flex-end;pointer-events:none}.mobile-context>*{pointer-events:auto}.mobile .mobile-context .properties-trigger{background:var(--blue);color:var(--accent);border-color:transparent}.mobile-quick-actions{position:absolute;top:calc(76px + env(safe-area-inset-top));left:calc(50% - 67px);width:72px;display:flex;justify-content:center;gap:2px;padding:3px;background:var(--chrome)}.mobile .mobile-quick-actions button{width:30px;min-width:30px;min-height:40px;padding:4px}.mobile-quick-actions .mobile-delete{color:#a12c32}@media(max-width:380px){.mobile .topbar:has(.mobile-quick-actions) .history-toolbar{width:66px;gap:0}.mobile .topbar:has(.mobile-quick-actions) .history-toolbar button{width:30px;min-width:30px;padding:3px}.mobile .topbar:has(.mobile-quick-actions) .view-modes{width:108px;gap:2px}.mobile .topbar:has(.mobile-quick-actions) .view-modes button{width:32px;min-width:32px;padding:3px}.mobile-quick-actions{left:calc(50% - 57px)}}.mobile .catalog-draggable{touch-action:pan-y}@media(max-height:500px){.mobile-gesture-panel{right:auto;max-width:calc(100% - 24px);bottom:calc(132px + env(safe-area-inset-bottom))}.mobile-gesture-panel>span{display:none}.mobile .mobile-context{left:auto;max-width:calc(100% - 24px)}}.mobile .room-resize-hint{bottom:calc(210px + env(safe-area-inset-bottom))}.topbar .view-modes{position:relative}.view-modes .camera-mode-icon{min-width:38px;width:38px;padding:5px}.camera-options{position:absolute;top:calc(100% + 12px);left:50%;transform:translate(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:12px 20px;width:max-content;max-width:calc(100vw - 28px);padding:12px 16px;background:transparent;border:0;border-radius:0;box-shadow:none}.camera-options label{display:flex;align-items:center;gap:9px;white-space:nowrap;color:var(--muted);font-size:12px}.camera-options input[type=range]{width:108px;accent-color:var(--accent)}:root:not([data-theme=dopamine]) .view-modes button.active{background:#e2e7ee;color:var(--ink);box-shadow:none}:root:not([data-theme=dopamine]) .view-modes .camera-mode-icon.active{background:var(--blue);color:var(--accent)}:root:not([data-theme=dopamine]) input[type=range]{accent-color:var(--accent)}:root:not([data-theme=dopamine]) [aria-checked=false] .switch-track,:root:not([data-theme=dopamine]) [aria-pressed=false] .switch-track{background:#a6adb9}.mobile .view-modes .camera-mode-icon{min-width:38px}.mobile .camera-options{position:fixed;left:12px;right:auto;top:calc(132px + env(safe-area-inset-top));transform:none;width:calc(100vw - 176px);max-width:200px;padding:10px;gap:10px;flex-direction:column;align-items:stretch;background:var(--chrome);border:1px solid var(--line);border-radius:12px}.mobile .camera-options label{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:12px}.mobile .camera-options input[type=range]{grid-column:1/-1;width:100%;margin:0}.mobile-camera-pad{position:absolute;top:calc(132px + env(safe-area-inset-top));right:12px;display:grid;grid-template:repeat(3,44px)/repeat(3,44px);gap:2px;padding:3px;background:var(--chrome)}.mobile-camera-pad button{width:44px;min-width:44px;height:44px;padding:8px;touch-action:none;-webkit-user-select:none;user-select:none}.mobile-camera-pad .up{grid-area:1/2}.mobile-camera-pad .left{grid-area:2/1}.mobile-camera-pad .right{grid-area:2/3}.mobile-camera-pad .down{grid-area:3/2}.mobile:has(.mobile-camera-pad) .mobile-context{top:calc(282px + env(safe-area-inset-top))}:root:not([data-theme=dopamine]) .tool-rail button:not(.active) svg{color:var(--ink)}.topbar .view-modes{background:#fff;border-radius:10px}.view-modes button,.mobile .view-modes button{border-radius:7px}.mobile .topbar .view-modes{background:#fff;border-radius:10px}input[type=range]{appearance:none;-webkit-appearance:none;height:22px;background:transparent;padding:0;border:0}input[type=range]::-webkit-slider-runnable-track{height:2px;background:var(--line);border-radius:2px}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:8px;height:8px;margin-top:-3px;border:0;border-radius:50%;background:var(--accent)}input[type=range]::-moz-range-track{height:2px;background:var(--line);border:0;border-radius:2px}input[type=range]::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:var(--accent)}.camera-options output{color:var(--ink);min-width:40px;font-variant-numeric:tabular-nums}.camera-options label{color:var(--ink);text-shadow:0 1px 1px #fff,0 -1px 1px #fff,1px 0 1px #fff,-1px 0 1px #fff}.camera-options input[type=range]::-webkit-slider-runnable-track{background:#71829b;box-shadow:0 0 0 .5px #fff}.camera-options input[type=range]::-moz-range-track{background:#71829b;box-shadow:0 0 0 .5px #fff}.camera-options input[type=range]::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff}.camera-options input[type=range]::-moz-range-thumb{box-shadow:0 0 0 1px #fff}.pdf-status{position:fixed;z-index:40;left:50%;bottom:78px;transform:translate(-50%);max-width:calc(100vw - 32px);padding:10px 16px;border:1px solid var(--border);border-radius:10px;background:var(--panel,#fff);color:var(--text);box-shadow:0 4px 20px #0002;font-size:13px;display:flex;align-items:center;gap:12px}.pdf-status button{border:0;background:none;color:inherit;padding:0 4px}.mobile .pdf-button-label{display:none}.project-drag-preview{position:fixed;top:0;left:0;z-index:9999;max-width:220px;padding:12px 18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--chrome);color:var(--ink);border:1px solid var(--accent);border-radius:12px;pointer-events:none}
