.r3d-stage-note:before{content:'Этап 8'}
.r3d-stage{background-image:linear-gradient(180deg,#ffffff0d 0,#ffffff22 43%,#263c2a0b 54%,#263c2a20 100%),var(--r3d-bg-image,radial-gradient(circle at 72% 14%,#fffdf1 0 3%,#fffdf100 18%),linear-gradient(180deg,#cfe2eb 0%,#eef3f1 38%,#dce5dc 48%,#c9d5c5 58%,#e3e8df 100%));background-size:cover;background-position:center}
.r3d-stage.has-background{background-image:linear-gradient(180deg,#ffffff2b,#25312b30),var(--r3d-bg-image)}
.r3d-brand-logo{position:absolute;z-index:3;left:22px;top:18px;display:block;max-width:130px;max-height:58px;object-fit:contain;filter:drop-shadow(0 2px 8px #0005)}
.r3d-brand-logo[hidden]{display:none}
.r3d-stage.has-logo .r3d-stage-note{top:86px}
.r3d-picker{margin:0}
.r3d-picker h3,.r3d-material h3{margin:0 0 9px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7b8881}
.r3d-shapes{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-height:244px;padding-right:2px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bdc9c3 transparent}
.r3d-shape{padding:7px 3px 6px;border-radius:8px;font-size:9px;color:#6e7a74}
.r3d-shape svg{display:block;width:32px;height:39px;margin:0 auto 4px;fill:#4d5954}
.r3d-shape b,.r3d-shape span{display:block}.r3d-shape span{display:-webkit-box;min-height:20px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.15}.r3d-shape em{display:inline-block;margin-top:3px;padding:2px 4px;border-radius:999px;background:#eee9ff;color:#6559b8;font-size:6px;font-style:normal;font-weight:750;text-transform:uppercase;letter-spacing:.35px}
.r3d-shape b{font-size:8px;letter-spacing:.5px;color:#87928d;margin-bottom:1px}
.r3d-shape.active{border-color:#28594d;background:#edf4ef;color:#28594d;font-weight:650}
.r3d-shape.active svg{fill:#244b40}
.r3d-shape.active b{color:#387264}
.r3d-materials{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.r3d-material-card{display:flex;gap:8px;align-items:center;padding:7px;text-align:left;border:1px solid #dfe5e1;border-radius:8px;min-width:0}
.r3d-material-card.active{border-color:#28594d;background:#edf4ef;box-shadow:0 0 0 1px #28594d}
.r3d-swatch{flex:0 0 34px;width:34px;height:34px;border-radius:6px;background-size:210%;background-position:center 42%;box-shadow:inset 0 0 0 1px #ffffff45}
.r3d-material-card b,.r3d-material-card small{display:block;overflow:hidden;text-overflow:ellipsis}
.r3d-material-card b{font-size:11px;white-space:nowrap}
.r3d-material-card small{font-size:9px;color:#849089;margin-top:1px}
.r3d-category-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;margin-bottom:8px}
.r3d-category-tabs button{padding:7px 4px;font-size:9px;white-space:nowrap}
.r3d-category-tabs button span{display:inline-block;margin-left:2px;color:#89958f}
.r3d-category-tabs button.active{background:#28594d;border-color:#28594d;color:white}
.r3d-category-tabs button.active span{color:#cde0d7}
.r3d-catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.r3d-catalog-tools label{position:relative;display:block;flex:1}.r3d-catalog-tools label span{position:absolute;left:9px;top:7px;color:#8c9792;font-size:12px}.r3d-catalog-tools input{box-sizing:border-box;width:100%;padding:8px 8px 8px 27px;border:1px solid #dbe3df;border-radius:8px;background:#fff;color:#26352e;font:500 9px/1.2 inherit}.r3d-catalog-tools input:focus{outline:2px solid #c8c2f4;border-color:#6a5fd6}.r3d-catalog-tools small{flex:0 0 auto;color:#849089;font-size:8px}.r3d-shape-empty{grid-column:1/-1;margin:4px 0;padding:18px 12px;border:1px dashed #ccd7d1;border-radius:9px;color:#7c8982;font-size:9px;line-height:1.45;text-align:center}
.r3d-size-title{margin-top:15px!important}
.r3d-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.r3d-presets button{padding:7px 3px;font-size:9px;line-height:1.2}
.r3d-presets small{display:block;margin-top:3px;color:#8b9690;font-size:8px}
.r3d-presets button.active{border-color:#28594d;background:#edf4ef;color:#28594d;box-shadow:inset 0 0 0 1px #28594d}
.r3d-dimension-note{grid-column:1/-1;margin:0;color:#88948e;font-size:9px;line-height:1.35}
.r3d-foundation{padding:0;border:0;margin:0}
.r3d-foundation>h3{margin:0 0 9px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7b8881}
.r3d-site-presets{margin-bottom:12px;padding:10px;border:1px solid #dbe3df;border-radius:10px;background:#f8faf9}.r3d-site-presets>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}.r3d-site-presets>div:first-child b{font-size:10px;color:#33473e}.r3d-site-presets>div:first-child small{font-size:7.5px;color:#7d8a83}.r3d-site-presets>div:nth-child(2){display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.r3d-site-card{display:grid;gap:2px;padding:7px 5px;text-align:left}.r3d-site-card b,.r3d-site-card span,.r3d-site-card small{display:block}.r3d-site-card b{font-size:8px}.r3d-site-card span{color:#294d41;font-size:10px;font-weight:750}.r3d-site-card small{color:#849089;font-size:6.5px;line-height:1.2}.r3d-site-card.active{border-color:#28594d;background:#e7f2ec;color:#28594d;box-shadow:inset 0 0 0 1px #28594d}.r3d-site-presets>p{margin:8px 0 0;color:#7d8983;font-size:7.5px;line-height:1.35}
.r3d-compatibility{display:flex;flex-direction:column;gap:2px;border-radius:9px;padding:9px 10px;margin-bottom:12px;font-size:10px}
.r3d-compatibility.valid{background:#edf6f0;color:#28594d}
.r3d-compatibility.invalid{background:#fff2ed;color:#9b4637}
.r3d-compatibility b{font-size:11px}
.r3d-compatibility span{opacity:.8;line-height:1.3}
.r3d-base-group+.r3d-base-group{margin-top:11px}
.r3d-base-group h4{margin:0 0 6px;color:#67736d;font-size:10px;font-weight:650}
.r3d-base-options{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.r3d-base-group:last-child .r3d-base-options{grid-template-columns:repeat(3,1fr)}
.r3d-base-group.r3d-optional-group .r3d-base-options{grid-template-columns:repeat(4,1fr)}
.r3d-base-card{padding:7px 3px;font-size:8px;line-height:1.2;min-width:0}
.r3d-base-card b,.r3d-base-card span,.r3d-base-card small{display:block;overflow:hidden;text-overflow:ellipsis}
.r3d-base-card b{color:#73817a;margin-bottom:2px}
.r3d-base-card span{white-space:nowrap}
.r3d-base-card small{margin-top:3px;color:#909a95;font-size:7px}
.r3d-base-card.active{border-color:#28594d;background:#edf4ef;box-shadow:inset 0 0 0 1px #28594d}
.r3d-base-card:disabled{opacity:.35;cursor:not-allowed;background:#f5f6f5}
.r3d-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.r3d-catalog-heading h4{margin:0}.r3d-catalog-heading span{color:#7d8883;font-size:8px;font-weight:650}
.r3d-base-group.r3d-optional-group .r3d-base-options.r3d-design-options,.r3d-base-group .r3d-base-options.r3d-support-options{grid-template-columns:repeat(2,minmax(0,1fr))}.r3d-design-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:7px;min-height:76px;padding:7px;text-align:left}.r3d-support-card{min-height:92px}.r3d-foundation-preview{display:grid!important;width:58px;height:48px;place-items:center;overflow:visible!important;border:1px solid #dce4df;border-radius:8px;background:linear-gradient(145deg,#f7faf8,#e9efeb)}.r3d-foundation-preview svg{width:54px;height:40px;overflow:visible}.r3d-foundation-preview g{fill:none;stroke:#52675c;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.r3d-foundation-preview .soft{stroke:#8ca095;stroke-width:3}.r3d-foundation-preview .fill{fill:#738b7f;stroke:#52675c;stroke-width:2}.r3d-support-preview .soft-fill{fill:#91a49a;stroke:#64796e;stroke-width:1.8}.r3d-support-preview .top-fill{fill:#b4c1bb;stroke:#64796e;stroke-width:1.8}.r3d-support-preview .hole{fill:#211d32;stroke:#fff;stroke-width:1}.r3d-foundation-copy{display:block!important;min-width:0;overflow:visible!important}.r3d-foundation-copy b,.r3d-foundation-copy em,.r3d-foundation-copy small,.r3d-foundation-copy i{display:block;overflow:hidden;text-overflow:ellipsis}.r3d-foundation-copy b{margin:0;color:#31483d;font-size:9px;line-height:1.3;white-space:normal}.r3d-foundation-copy em{margin-top:3px;color:#74827b;font-size:7px;font-style:normal;line-height:1.3;white-space:normal}.r3d-foundation-copy small{margin-top:4px;font-size:7px;white-space:nowrap}.r3d-foundation-copy i{margin-top:3px;color:#6256c9;font-size:7px;font-style:normal;white-space:nowrap}.r3d-design-card.active .r3d-foundation-preview{border-color:#6e62dc;background:#f0edff}.r3d-design-card.active .r3d-foundation-preview g{stroke:#5043bd}.r3d-design-card.active .r3d-foundation-preview .soft{stroke:#9088df}.r3d-design-card.active .r3d-foundation-preview .fill{fill:#7367db;stroke:#5043bd}.r3d-design-card.active .r3d-support-preview .soft-fill{fill:#968ce0;stroke:#5043bd}.r3d-design-card.active .r3d-support-preview .top-fill{fill:#b7b0ed;stroke:#5043bd}.r3d-foundation-empty{display:grid!important;width:58px;height:48px;place-items:center;border:1px dashed #ccd6d0;border-radius:8px;color:#8d9992;font-size:20px}
@media(max-width:520px){.r3d-site-presets>div:first-child{align-items:flex-start;flex-direction:column}.r3d-site-presets>div:nth-child(2){grid-template-columns:repeat(2,1fr)}.r3d-base-options{grid-template-columns:repeat(2,1fr)}.r3d-base-group:last-child .r3d-base-options{grid-template-columns:repeat(2,1fr)}}
.r3d-placement{padding:0;border:0;margin:0}
.r3d-placement>h3{margin:0 0 9px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7b8881}
.r3d-transform-empty{display:grid;gap:4px;padding:14px;border:1px dashed #b9c8c1;border-radius:10px;background:#f8faf9;color:#65736c}.r3d-transform-empty b{font-size:11px}.r3d-transform-empty span{font-size:9px;line-height:1.45}
.r3d-selected-object{display:flex;align-items:center;gap:9px;padding:10px;border-radius:10px;background:linear-gradient(135deg,#e7f5ed,#f8fbf9);border:1px solid #b9d8c8}.r3d-selected-object>div{min-width:0;flex:1}.r3d-selected-object b,.r3d-selected-object small{display:block}.r3d-selected-object b{font-size:12px;color:#234d40}.r3d-selected-object small{margin-top:2px;color:#6d7d75;font-size:9px}.r3d-selected-object em{padding:4px 6px;border-radius:99px;background:#2f765d;color:#fff;font-size:7px;font-style:normal;font-weight:750;text-transform:uppercase;letter-spacing:.4px}
.r3d-transform-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.r3d-transform-grid label{font-size:8px;color:#75827b;text-transform:uppercase;letter-spacing:.35px}.r3d-transform-input{position:relative;display:block;margin-top:4px}.r3d-transform-input input{width:100%;box-sizing:border-box;padding:9px 27px 9px 8px;border:1px solid #d8e1dc;border-radius:7px;background:#fff;color:#20332a;font-size:12px}.r3d-transform-input input:focus{outline:2px solid #acd4c0;border-color:#37745e}.r3d-transform-input i{position:absolute;right:8px;top:10px;color:#98a39d;font-size:8px;font-style:normal}
.r3d-transform-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}.r3d-transform-actions>button{padding:8px 5px;font-size:8px}.r3d-transform-actions .r3d-snap{background:#28594d;border-color:#28594d;color:#fff}.r3d-nudge{grid-row:span 2;display:grid;grid-template-columns:repeat(3,28px);grid-template-rows:repeat(2,28px);place-content:center;gap:3px;padding:4px;border-radius:9px;background:#f1f5f2}.r3d-nudge button{padding:0;font-size:13px}.r3d-nudge button:first-child{grid-column:2}.r3d-nudge button:nth-child(2){grid-column:1;grid-row:2}.r3d-nudge button:nth-child(3){grid-column:2;grid-row:2}.r3d-nudge button:nth-child(4){grid-column:3;grid-row:2}
.r3d-align-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}.r3d-align-actions button{padding:7px 4px;border-color:#d7d2fb;background:#f4f2ff;color:#5147b7;font-size:7px}.r3d-align-actions button:hover{border-color:#6559d9;background:#eae7ff}
.r3d-placement p{margin:7px 1px 0;color:#8b9690;font-size:9px;line-height:1.35}
.r3d-mounting-report{display:grid;gap:2px;margin:8px 0;padding:9px 10px;border:1px solid #d7e8dc;border-radius:10px;background:#f0f8f3}.r3d-mounting-report b{color:#28734a;font-size:10px}.r3d-mounting-report span{color:#658070;font-size:9px;line-height:1.35}.r3d-mounting-report.warning{border-color:#efd9ae;background:#fff8ea}.r3d-mounting-report.warning b{color:#9a6400}.r3d-mounting-report.warning span{color:#8d7650}
.r3d-link-toggle{display:flex;align-items:flex-start;gap:8px;margin:8px 0;padding:9px 10px;border:1px solid #dedaf5;border-radius:10px;background:#f7f5ff;cursor:pointer}.r3d-link-toggle input{margin:2px 0 0;accent-color:#6658e8}.r3d-link-toggle span{display:grid;gap:2px}.r3d-link-toggle b{color:#3f385f;font-size:10px}.r3d-link-toggle small{color:#79738f;font-size:8px;line-height:1.35}
.r3d-material-targets{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;margin-bottom:8px}
.r3d-material-targets button{padding:7px 4px;font-size:9px}
.r3d-material-targets button.active{background:#28594d;border-color:#28594d;color:white}
.r3d-selection{position:absolute;left:22px;bottom:62px;padding:7px 10px;border-radius:7px;background:#ffffffdc;border:1px solid #dce3df;color:#66736d;font-size:10px;backdrop-filter:blur(7px)}.r3d-selection b,.r3d-selection span{display:block}.r3d-selection span{margin-top:2px;font-size:8px;font-weight:500;opacity:.8}
.r3d-selection.active{background:#e7f2ebea;border-color:#9ebbad;color:#28594d;font-weight:650}
.r3d-snap-indicator{position:absolute;z-index:4;left:22px;top:116px;padding:6px 9px;border:1px solid #d7d2f1;border-radius:99px;background:#f8f7ffdf;color:#6b658d;font-size:8px;opacity:0;transform:translateY(-4px);transition:.16s ease;pointer-events:none;backdrop-filter:blur(7px)}.r3d-snap-indicator.active{opacity:1;transform:translateY(0);border-color:#aaa1f0;background:#eeeaffef;color:#5145bd;font-weight:700}
.r3d-object.selected{border-color:#4f806f;box-shadow:0 0 0 2px #dcece4}
.r3d-object.selected summary{background:#edf5f0;color:#28594d}
.r3d-stage canvas.dragging{cursor:grabbing}
@media(max-width:650px){.r3d-selection{left:15px;bottom:66px}.r3d-snap-indicator{left:12px;top:99px}}
.r3d-appearance{padding:0;border:0;margin:0}
.r3d-appearance>h3{margin:0 0 9px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7b8881}
.r3d-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.r3d-upload-grid input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.r3d-upload-button{display:block;padding:10px;border:1px dashed #9db2a8;border-radius:9px;background:#f8fbf9;cursor:pointer;text-align:center}
.r3d-upload-button:hover{border-color:#28594d;background:#edf5f0}
.r3d-upload-button b,.r3d-upload-button span{display:block}
.r3d-upload-button b{font-size:10px;color:#315d50}
.r3d-upload-button span{margin-top:3px;font-size:8px;color:#88938e}
.r3d-upload-actions{display:flex;gap:6px;margin:6px 0 13px}
.r3d-upload-actions button{flex:1;padding:5px;font-size:8px}
.r3d-appearance h4{margin:0 0 6px;font-size:10px;color:#67736d}
.r3d-ground-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.r3d-ground-options button{display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 3px;font-size:8px}
.r3d-ground-options button.active{border-color:#28594d;background:#edf4ef;box-shadow:inset 0 0 0 1px #28594d;color:#28594d}
.r3d-ground-note{margin:7px 0 0;padding:7px 8px;border-radius:7px;background:#f1f5f2;color:#75827b;font-size:8px;line-height:1.45}
.r3d-ground-swatch{width:17px;height:17px;border-radius:4px;box-shadow:inset 0 0 0 1px #0002}
.r3d-ground-swatch.concrete{background:radial-gradient(circle at 30% 30%,#aaa 0 1px,transparent 2px),#797e7a;background-size:6px 6px}
.r3d-ground-swatch.earth{background:radial-gradient(circle at 30% 40%,#8a6540 0 1px,transparent 2px),#5d4029;background-size:7px 7px}
.r3d-ground-swatch.grass{background:repeating-linear-gradient(105deg,#365d2b 0 2px,#719148 2px 3px,#496f34 3px 5px)}
.r3d-component-picker{margin:0 0 12px;padding:10px;border:1px solid #dce5e0;border-radius:10px;background:#f8faf8}.r3d-component-picker>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.r3d-component-picker b{font-size:10px;color:#304f44}.r3d-component-picker small{font-size:8px;color:#87928c}.r3d-component-picker>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.r3d-component-picker button{display:flex;align-items:center;gap:5px;padding:6px 9px;border-color:#d7e0db;background:#fff;color:#758078;font-size:9px}.r3d-component-picker button span{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#edf1ee;color:#748079;font-size:9px}.r3d-component-picker button.active{border-color:#3f715f;background:#edf5f0;color:#28594d}.r3d-component-picker button.active span{background:#3f715f;color:#fff}.r3d-material-empty{display:block;padding:8px;border:1px dashed #c5d1ca;border-radius:7px;color:#829088;font-size:9px;text-align:center}
@media(max-width:650px){.r3d-brand-logo{left:15px;top:15px;max-width:110px}.r3d-stage.has-logo .r3d-stage-note{top:78px}.r3d-base-group.r3d-optional-group .r3d-base-options{grid-template-columns:repeat(2,1fr)}}

.r3d-stage-inspector{position:absolute;z-index:5;right:20px;top:72px;width:min(330px,calc(100% - 40px));max-height:calc(100% - 164px);overflow:auto;border-radius:12px;background:#fffffff2;border:1px solid #d7e1dc;box-shadow:0 12px 32px #253a3026;backdrop-filter:blur(12px)}
.r3d-inspector-shell>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;cursor:pointer;color:#24483d}.r3d-inspector-shell>summary::-webkit-details-marker,.r3d-inspector-sections>details>summary::-webkit-details-marker{display:none}.r3d-inspector-shell>summary span,.r3d-inspector-shell>summary b,.r3d-inspector-shell>summary small{display:block}.r3d-inspector-shell>summary b{font-size:11px;text-transform:uppercase;letter-spacing:.7px}.r3d-inspector-shell>summary small{margin-top:2px;color:#75847d;font-size:9px}.r3d-inspector-shell>summary i{font-style:normal;color:#77867f;transition:transform .2s}.r3d-inspector-shell[open]>summary i{transform:rotate(180deg)}
.r3d-inspector-sections{padding:0 10px 10px;border-top:1px solid #e4eae7}.r3d-inspector-sections>details{border-bottom:1px solid #e7ece9}.r3d-inspector-sections>details:last-child{border-bottom:0}.r3d-inspector-sections>details>summary{padding:9px 2px;cursor:pointer;color:#58675f;font-size:10px;font-weight:700}.r3d-inspector-sections>details>div{padding:0 2px 10px}
.r3d-stage-inspector .r3d-selected-object{padding:8px}.r3d-stage-inspector .r3d-selected-object em{display:none}.r3d-stage-inspector .r3d-transform-input input{padding:7px 24px 7px 7px;font-size:11px}.r3d-stage-inspector .r3d-transform-input i{top:8px}.r3d-stage-inspector .r3d-transform-actions>button{padding:7px 4px}.r3d-stage-inspector .r3d-nudge{grid-template-columns:repeat(3,25px);grid-template-rows:repeat(2,25px)}.r3d-stage-inspector .r3d-placement p{display:none}
.r3d-inspector-empty{margin:0;padding:10px;border:1px dashed #b8c7c0;border-radius:8px;color:#76847d;font-size:10px;text-align:center}.r3d-quick-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.r3d-quick-fields label{color:#74817a;font-size:8px;text-transform:uppercase}.r3d-quick-fields label span{position:relative;display:block;margin-top:4px}.r3d-quick-fields input{box-sizing:border-box;width:100%;padding:8px 22px 8px 6px;border:1px solid #d8e1dc;border-radius:7px;color:#20332a;font-size:11px}.r3d-quick-fields i{position:absolute;right:6px;top:9px;color:#98a39d;font-size:7px;font-style:normal}.r3d-quick-material{display:block;color:#74817a;font-size:9px}.r3d-quick-material span{display:block;margin-bottom:5px}.r3d-quick-material select{box-sizing:border-box;width:100%;padding:9px;border:1px solid #d8e1dc;border-radius:8px;background:#fff;color:#20332a;font-size:11px}
@media(max-width:700px){.r3d-stage-inspector{left:15px;right:15px;top:auto;bottom:64px;width:auto;max-height:235px}.r3d-quick-fields{grid-template-columns:repeat(3,1fr)}}
.r3d-inscription h3{margin:0 0 9px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7b8881}
.r3d-inscription-toggle{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #d9e3de;border-radius:9px;background:#f7faf8;cursor:pointer}.r3d-inscription-toggle input{width:16px;height:16px;accent-color:#28594d}.r3d-inscription-toggle span,.r3d-inscription-toggle b,.r3d-inscription-toggle small{display:block}.r3d-inscription-toggle b{font-size:10px;color:#28493e}.r3d-inscription-toggle small{margin-top:2px;font-size:8px;color:#7c8982}
.r3d-inscription-fields{display:grid;gap:7px;margin-top:8px}.r3d-inscription-fields label{font-size:8px;color:#75827b;text-transform:uppercase;letter-spacing:.35px}.r3d-inscription-fields input,.r3d-inscription-fields textarea{box-sizing:border-box;width:100%;margin-top:4px;padding:9px;border:1px solid #d8e1dc;border-radius:7px;background:#fff;color:#20332a;font:11px/1.35 inherit;text-transform:none;letter-spacing:0;resize:vertical}.r3d-inscription-fields input:focus,.r3d-inscription-fields textarea:focus{outline:2px solid #acd4c0;border-color:#37745e}.r3d-inscription-fields .wide{grid-column:1/-1}.r3d-inscription-fields textarea{min-height:54px}
.r3d-portrait h3{margin:0 0 9px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7b8881}
.r3d-portrait-shapes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.r3d-portrait-shapes button{display:grid;justify-items:center;gap:5px;padding:8px 3px 6px;color:#6e7a74;font-size:8px}.r3d-portrait-shapes button.active{border-color:#28594d;background:#edf4ef;color:#28594d;box-shadow:inset 0 0 0 1px #28594d}.r3d-portrait-shapes i{display:block;width:24px;height:30px;border:2px solid currentColor;background:#dfe5e1}.r3d-portrait-shapes i.oval{border-radius:50%}.r3d-portrait-shapes i.rectangle{border-radius:2px}.r3d-portrait-shapes i.arch{border-radius:13px 13px 2px 2px}.r3d-portrait-shapes i.circle{width:27px;height:27px;border-radius:50%}
.r3d-portrait-upload{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:8px}.r3d-portrait-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.r3d-portrait-upload label{display:block;padding:8px 10px;border:1px dashed #9db2a8;border-radius:8px;background:#f8fbf9;cursor:pointer}.r3d-portrait-upload label b,.r3d-portrait-upload label span{display:block}.r3d-portrait-upload label b{font-size:9px;color:#315d50}.r3d-portrait-upload label span{margin-top:2px;font-size:8px;color:#88938e}.r3d-portrait-upload button{padding:6px 9px;font-size:8px}
.r3d-decoration-controls{display:grid;gap:8px;margin-top:10px;padding:10px;border:1px solid #dce5e0;border-radius:9px;background:#fafcfb}.r3d-decoration-controls label{display:grid;gap:5px}.r3d-decoration-controls label>span{display:flex;justify-content:space-between;color:#6f7f77;font-size:8px;text-transform:uppercase;letter-spacing:.3px}.r3d-decoration-controls output{color:#28594d;font-weight:700}.r3d-decoration-controls input[type=range]{width:100%;margin:0;accent-color:#28594d}
.r3d-inscription-style{display:grid;gap:6px;margin-top:10px}.r3d-inscription-style>span{color:#75827b;font-size:8px;text-transform:uppercase;letter-spacing:.35px}.r3d-font-options{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.r3d-font-options button{display:grid;justify-items:center;gap:2px;padding:7px 2px}.r3d-font-options button.active,.r3d-ink-options button.active,.r3d-align-options button.active{border-color:#28594d;background:#edf4ef;color:#28594d;box-shadow:inset 0 0 0 1px #28594d}.r3d-font-options i{color:#294d41;font-size:17px;font-style:normal;line-height:1}.r3d-font-options .strict i{font-family:Arial,Helvetica,sans-serif;font-weight:600}.r3d-font-options .classic i{font-family:Georgia,serif;font-weight:600}.r3d-font-options .soft i{font-family:Palatino Linotype,Book Antiqua,Palatino,serif;font-style:italic;font-weight:600}.r3d-font-options .script i{font-family:Brush Script MT,Segoe Script,cursive;font-style:italic}.r3d-font-options .condensed i{font-family:Arial Narrow,Helvetica,sans-serif;font-stretch:condensed;font-weight:700}.r3d-font-options small{font-size:6.5px}.r3d-ink-options{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.r3d-ink-options button{display:flex;align-items:center;justify-content:center;gap:4px;padding:7px 3px;font-size:7px}.r3d-ink-options i{width:10px;height:10px;border:1px solid #aeb9b4;border-radius:50%;background:linear-gradient(135deg,#f5efdd 50%,#383632 50%)}.r3d-ink-options i.light{background:#f5efdd}.r3d-ink-options i.gold{background:#d8b762}.r3d-ink-options i.dark{background:#383632}.r3d-custom-color{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border:1px solid #dce5e0;border-radius:8px;color:#65756d;font-size:8px}.r3d-custom-color input{width:46px;height:26px;padding:1px;border:0;border-radius:5px;background:transparent;cursor:pointer}.r3d-align-options{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.r3d-align-options button{padding:7px;font-size:10px}.r3d-decoration-actions{display:flex;gap:6px;margin-top:8px}.r3d-decoration-actions button{flex:1;padding:7px;font-size:8px}
.r3d-decoration-safety{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:0 0 9px;padding:8px 9px;border:1px solid #d8e5df;border-radius:9px;background:#f2f8f5;color:#28594d}.r3d-decoration-safety.warning{border-color:#e9c991;background:#fff8e9;color:#8a5a13}.r3d-decoration-safety>i{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#d7eee3;font:700 11px/1 inherit}.r3d-decoration-safety.warning>i{background:#f9dfae}.r3d-decoration-safety span,.r3d-decoration-safety b,.r3d-decoration-safety small{display:block}.r3d-decoration-safety b{font-size:9px}.r3d-decoration-safety small{margin-top:2px;font-size:7px;line-height:1.25}.r3d-decoration-safety button{padding:6px 7px;border-color:currentColor;font-size:7px;color:inherit;background:#fff}.r3d-technique-options{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.r3d-technique-options button{display:grid;gap:2px;min-height:46px;padding:7px 5px;text-align:left}.r3d-technique-options button.active{border-color:#28594d;background:#edf4ef;color:#28594d;box-shadow:inset 0 0 0 1px #28594d}.r3d-technique-options b{font-size:7.5px}.r3d-technique-options small{font-size:6.5px;line-height:1.2;color:#78857e}
.r3d-touch-guide{display:none}
.r3d-crop-controls{display:grid;gap:8px;margin-top:10px;padding:10px;border:1px solid #d7e1dc;border-radius:9px;background:#f4f8f6}.r3d-crop-controls>b{color:#315d50;font-size:8px;text-transform:uppercase;letter-spacing:.45px}.r3d-crop-controls label{display:grid;gap:5px}.r3d-crop-controls label>span{display:flex;justify-content:space-between;color:#6f7f77;font-size:8px}.r3d-crop-controls output{color:#28594d;font-weight:700}.r3d-crop-controls input[type=range]{width:100%;margin:0;accent-color:#28594d}.r3d-crop-controls button{justify-self:start;padding:6px 9px;font-size:8px}
.r3d-family-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #d7e3dd;border-radius:10px;background:linear-gradient(135deg,#f2f8f4,#fbfcfb)}.r3d-family-mode>div,.r3d-family-mode b,.r3d-family-mode small{display:block}.r3d-family-mode b{color:#274d40;font-size:10px}.r3d-family-mode small{margin-top:2px;color:#7b8982;font-size:8px;line-height:1.35}.r3d-family-mode button{flex:0 0 auto;padding:7px 9px;font-size:8px}.r3d-family-mode button.active{border-color:#28594d;background:#28594d;color:#fff}
.r3d-people-grid{display:grid;gap:9px;margin-top:9px}.r3d-person-card{min-width:0}.r3d-people-grid.family .r3d-person-card,.r3d-person-fields{padding:10px;border:1px solid #dce5e0;border-radius:10px;background:#fbfcfb}.r3d-person-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.r3d-person-title b{color:#315d50;font-size:9px}.r3d-person-title label{display:flex;align-items:center;gap:4px;color:#738078;font-size:8px}.r3d-person-title input{width:14px;height:14px;accent-color:#28594d}.r3d-person-fields+.r3d-person-fields{margin-top:9px}
.r3d-crop-details{margin-top:8px;border:1px solid #dce5e0;border-radius:9px;background:#fafcfb}.r3d-crop-details>summary{padding:8px 10px;cursor:pointer;color:#5f7168;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.35px}.r3d-crop-details .r3d-crop-controls{margin:0;border:0;border-top:1px solid #e2e9e5;border-radius:0 0 8px 8px}
.r3d-panel-head>div:first-child small{display:block;margin-top:3px;color:#7e8a84;font-size:9px}.r3d-project-actions{display:flex;align-items:center;gap:6px}.r3d-project-actions button,.r3d-project-actions label{box-sizing:border-box;padding:7px 10px;border:1px solid #cfd9d4;border-radius:7px;background:#fff;color:#3f5148;font:600 9px/1.2 inherit;cursor:pointer}.r3d-project-actions button:hover,.r3d-project-actions label:hover{border-color:#28594d;background:#edf5f0;color:#28594d}.r3d-project-actions #r3d-save-project{border-color:#28594d;background:#28594d;color:#fff}.r3d-project-actions input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-width:700px){.r3d-panel-head{align-items:flex-start;gap:10px}.r3d-project-actions{flex-wrap:wrap;justify-content:flex-end}.r3d-project-actions button,.r3d-project-actions label{padding:7px 8px}}
.r3d-spec-dialog{box-sizing:border-box;width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);padding:0;border:0;border-radius:14px;background:#fff;color:#203029;box-shadow:0 24px 80px #17241d55}.r3d-spec-dialog::backdrop{background:#17231dcc;backdrop-filter:blur(4px)}.r3d-spec-actions{position:sticky;z-index:2;top:0;display:flex;justify-content:flex-end;gap:7px;padding:12px 16px;border-bottom:1px solid #dce5e0;background:#ffffffed;backdrop-filter:blur(10px)}.r3d-spec-actions button{padding:8px 12px;font-size:10px}.r3d-spec-actions .primary{border-color:#28594d;background:#28594d;color:#fff}.r3d-spec-document{padding:34px 38px 38px}.r3d-spec-document>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:2px solid #28594d}.r3d-spec-document>header span{color:#28594d;font-size:11px;font-weight:800;letter-spacing:2px}.r3d-spec-document>header h2{margin:5px 0 0;font-size:25px}.r3d-spec-document>header small{color:#74817a;font-size:10px}.r3d-spec-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.r3d-spec-summary>div{padding:12px 14px;border-radius:9px;background:#f0f5f2}.r3d-spec-summary span,.r3d-spec-summary b{display:block}.r3d-spec-summary span{color:#7c8982;font-size:8px;text-transform:uppercase;letter-spacing:.5px}.r3d-spec-summary b{margin-top:4px;font-size:13px}.r3d-spec-document table{width:100%;border-collapse:collapse;font-size:10px}.r3d-spec-document th{padding:9px 8px;background:#28594d;color:#fff;text-align:left;font-size:8px;text-transform:uppercase;letter-spacing:.4px}.r3d-spec-document td{padding:10px 8px;border-bottom:1px solid #dce5e0;vertical-align:top}.r3d-spec-document tbody tr:nth-child(even){background:#f8faf9}.r3d-spec-finish{margin-top:24px}.r3d-spec-finish h3{margin:0 0 10px;font-size:13px}.r3d-spec-finish>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.r3d-spec-finish article{padding:12px 14px;border:1px solid #dce5e0;border-radius:9px}.r3d-spec-finish article span,.r3d-spec-finish article b,.r3d-spec-finish article small{display:block}.r3d-spec-finish article span{color:#77847d;font-size:8px;text-transform:uppercase}.r3d-spec-finish article b{margin-top:5px;font-size:12px}.r3d-spec-finish article small{margin-top:2px;color:#65736c;font-size:9px}.r3d-spec-finish article p{margin:8px 0 0;color:#475b51;font-size:9px}.r3d-spec-document>footer{margin-top:24px;padding-top:12px;border-top:1px solid #cfdad4;color:#7b8881;font-size:9px}
@media(max-width:700px){.r3d-spec-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.r3d-spec-document{padding:22px 16px}.r3d-spec-document>header{align-items:flex-start;flex-direction:column}.r3d-spec-summary{grid-template-columns:1fr}.r3d-spec-document{overflow-x:auto}.r3d-spec-document table{min-width:760px}.r3d-spec-finish>div{grid-template-columns:1fr}}
@media print{body>*{visibility:hidden!important}.r3d-spec-dialog,.r3d-spec-dialog *{visibility:visible!important}.r3d-spec-dialog{position:absolute!important;inset:0!important;width:100%!important;max-height:none!important;margin:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}.r3d-spec-actions{display:none!important}.r3d-spec-document{padding:12mm!important}.r3d-spec-document table{font-size:9pt!important}.r3d-spec-document th,.r3d-spec-document td{break-inside:avoid}.r3d-spec-document>footer{position:fixed;bottom:8mm}}

/* Kompozio Studio workspace */
.r3d-stage-note:before{content:'Studio'}.r3d-page{background:#edf1ee}.r3d-head{align-items:center;padding:16px 24px}.r3d-head h1{font-size:22px}.r3d-head p{font-size:11px}.r3d-layout{display:grid;grid-template-columns:minmax(0,1fr) 400px;height:calc(100vh - 202px);min-height:500px;max-height:820px;padding:10px;gap:10px;background:#dde4df}.r3d-stage{height:100%;border:1px solid #d1dad5;border-radius:16px;box-shadow:0 18px 48px #23352c14}.r3d-panel{display:block;box-sizing:border-box;height:100%;min-width:0;padding:0 16px 24px;overflow-x:hidden;overflow-y:auto;border:1px solid #d1dad5;border-radius:16px;background:#fbfcfb;box-shadow:0 18px 48px #23352c12;scrollbar-width:thin;scrollbar-color:#bdc9c3 transparent}.r3d-panel-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:0;padding:17px 0 13px;border-bottom:1px solid #e1e7e3}.r3d-studio-kicker{display:block;margin-bottom:4px;color:#6256d9;font-size:8px;font-weight:800;letter-spacing:1.5px}.r3d-panel-head h2{font-size:17px;letter-spacing:-.25px}.r3d-project-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px}.r3d-project-actions button,.r3d-project-actions label{display:grid;place-items:center;min-height:31px;padding:6px;text-align:center}.r3d-mobile-panel-close,.r3d-mobile-panel-toggle{display:none}.r3d-studio-tabs{position:sticky;z-index:8;top:0;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 -4px 17px;padding:10px 4px;background:#fbfcfbef;backdrop-filter:blur(12px)}.r3d-studio-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 5px;border-color:transparent;background:transparent;color:#76837c;font-size:8px}.r3d-studio-tabs button span{font-size:12px}.r3d-studio-tabs button.active{border-color:#cbc7f5;background:#eeecff;color:#4e43bd;box-shadow:0 4px 12px #5b4fd813}.r3d-panel [data-r3d-studio-panel]{display:none!important}.r3d-panel[data-active-tab=model] [data-r3d-studio-panel="model"],.r3d-panel[data-active-tab=personal] [data-r3d-studio-panel="personal"],.r3d-panel[data-active-tab=scene] [data-r3d-studio-panel="scene"]{display:block!important}.r3d-panel[data-active-tab=scene] #r3d-object-controls{display:grid!important;grid-template-columns:1fr;gap:8px}.r3d-panel [data-r3d-studio-panel]+[data-r3d-studio-panel]{margin-top:20px;padding-top:18px;border-top:1px solid #e3e9e5}.r3d-panel .r3d-materials{grid-template-columns:1fr 1fr}.r3d-studio-toolbar{position:absolute;z-index:12;right:auto;top:auto;bottom:18px;left:50%;display:flex;align-items:center;max-width:calc(100% - 32px);padding:6px;border:1px solid #d8e1dc;border-radius:13px;background:#ffffffeb;box-shadow:0 12px 38px #1e302734;backdrop-filter:blur(14px);transform:translateX(-50%);overflow-x:auto;scrollbar-width:none}.r3d-studio-toolbar::-webkit-scrollbar{display:none}.r3d-studio-toolbar button{flex:0 0 auto;padding:7px 9px;border-color:transparent;background:transparent;color:#45534c;font-size:9px}.r3d-studio-toolbar button:hover,.r3d-studio-toolbar button.active{border-color:#d6d0ff;background:#eeecff;color:#4e43bd}.r3d-studio-toolbar button:disabled{opacity:.55;cursor:not-allowed}.r3d-studio-toolbar .r3d-download{border-color:#28223d;background:#28223d;color:#fff}.r3d-toolbar-divider{flex:0 0 1px;width:1px;height:22px;margin:0 2px;background:#dce3df}.r3d-hint{top:19px;right:auto;bottom:auto;left:50%;padding:7px 10px;background:#26342eaf;font-size:9px;transform:translateX(-50%);backdrop-filter:blur(8px)}.r3d-selection{top:69px;bottom:auto}.r3d-scale{bottom:20px}.r3d-stage-inspector{top:68px;right:16px;width:min(310px,calc(100% - 32px));max-height:calc(100% - 154px)}.r3d-stage:fullscreen{width:100vw;height:100vh;border:0;border-radius:0}.r3d-stage:fullscreen .r3d-studio-toolbar{max-width:calc(100% - 32px)}.r3d-stage:fullscreen .r3d-stage-note:before{content:'Презентация'}.r3d-stage:fullscreen canvas{width:100%;height:100%}
@media(max-width:1100px) and (min-width:761px){.r3d-layout{grid-template-columns:minmax(0,1fr) 350px}.r3d-panel{padding-right:12px;padding-left:12px}.r3d-studio-toolbar{max-width:calc(100% - 24px)}.r3d-studio-toolbar #r3d-presentation{font-size:0}.r3d-studio-toolbar #r3d-presentation:first-letter{font-size:13px}}
@media(max-width:760px){.r3d-head{padding:13px 15px}.r3d-head p,.r3d-badge{display:none}.r3d-layout{display:block;height:auto;min-height:0;padding:0;background:#dfe5e1}.r3d-stage{height:calc(100svh - 138px);min-height:520px;border-width:1px 0 0;border-radius:0;box-shadow:none}.r3d-panel{position:fixed;z-index:60;right:8px;bottom:8px;left:8px;width:auto;height:auto;max-height:82svh;padding:0 15px 22px;border-radius:18px;box-shadow:0 26px 90px #101a15a8;transform:translateY(calc(100% + 24px));transition:transform .32s cubic-bezier(.2,.8,.2,1);pointer-events:none}.r3d-panel.mobile-open{transform:translateY(0);pointer-events:auto}.r3d-panel-head{position:sticky;z-index:9;top:0;margin:0 -15px;padding:15px 50px 12px 15px;border-radius:18px 18px 0 0;background:#fbfcfbf2;backdrop-filter:blur(14px)}.r3d-panel-head .r3d-project-actions{grid-template-columns:repeat(2,1fr)}.r3d-mobile-panel-close{position:absolute;right:14px;top:14px;display:grid;width:31px;height:31px;place-items:center;padding:0;border-radius:50%;font-size:20px}.r3d-mobile-panel-toggle{display:block!important;border-color:#5b4fd8!important;background:#5b4fd8!important;color:#fff!important}.r3d-studio-tabs{top:119px}.r3d-studio-toolbar{right:10px;bottom:11px;left:10px;max-width:none;padding:5px;transform:none}.r3d-studio-toolbar button{padding:7px 8px}.r3d-studio-toolbar #r3d-presentation{display:none}.r3d-toolbar-divider{height:20px}.r3d-stage-note{top:12px;left:12px;padding:7px 9px;font-size:9px}.r3d-hint{display:none}.r3d-selection{top:56px;left:12px}.r3d-stage-inspector{right:12px;bottom:67px;left:12px;top:auto;width:auto;max-height:210px}.r3d-brand-logo{left:12px;top:12px}.r3d-stage.has-logo .r3d-stage-note{top:72px}}
@media(max-width:760px){.r3d-studio-toolbar{justify-content:space-between;gap:1px;overflow:hidden}.r3d-studio-toolbar button{min-width:0;padding:7px 6px;font-size:8px}.r3d-studio-toolbar #r3d-undo,.r3d-studio-toolbar #r3d-redo,.r3d-studio-toolbar #r3d-redo+.r3d-toolbar-divider{display:none}.r3d-mobile-panel-toggle{margin-left:auto}}
.r3d-category-tabs{max-height:116px;padding-right:2px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bdc9c3 transparent}

/* Technical drawing overlay */
.r3d-measurement-overlay{position:absolute;z-index:10;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.r3d-measurement-overlay[hidden],.r3d-measurement-summary[hidden]{display:none}.r3d-measure-line line{stroke:#5d4ed6;stroke-width:1.35;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.r3d-measure-line circle{fill:#fff;stroke:#5d4ed6;stroke-width:1.2;vector-effect:non-scaling-stroke}.r3d-measure-line rect{fill:#28223de8;stroke:#ffffff66;stroke-width:.8;filter:url(#r3d-label-shadow)}.r3d-measure-line text{fill:#fff;font:700 10px/1 Arial,sans-serif;text-anchor:middle;letter-spacing:.1px}.r3d-measure-line.height line,.r3d-measure-line.height circle{stroke:#ce5d32}.r3d-measure-line.depth line,.r3d-measure-line.depth circle{stroke:#287c68}.r3d-measurement-summary{position:absolute;z-index:13;top:68px;left:18px;width:min(300px,calc(100% - 36px));max-height:calc(100% - 150px);overflow:auto;border:1px solid #cfd7d3;border-radius:13px;background:#ffffffeb;color:#24332c;box-shadow:0 15px 42px #1d30262b;backdrop-filter:blur(12px);pointer-events:auto}.r3d-measurement-summary header{position:sticky;top:0;padding:12px 13px 9px;border-bottom:1px solid #e2e7e4;background:#fffffff2}.r3d-measurement-summary header b,.r3d-measurement-summary header span{display:block}.r3d-measurement-summary header b{font-size:12px}.r3d-measurement-summary header span{margin-top:2px;color:#7b8781;font-size:9px}.r3d-measurement-summary>div{display:grid;gap:1px;padding:4px}.r3d-measurement-summary article{padding:8px 9px;border-radius:8px;background:#f5f7f6}.r3d-measurement-summary article b,.r3d-measurement-summary article span,.r3d-measurement-summary article small{display:block}.r3d-measurement-summary article b{font-size:10px}.r3d-measurement-summary article span{margin-top:3px;color:#4e5f57;font-size:9px}.r3d-measurement-summary article small{margin-top:2px;color:#7d8883;font-size:8px;line-height:1.35}.r3d-measurement-summary footer{padding:9px 13px;border-top:1px solid #e2e7e4;color:#8a6b36;font-size:8px}.r3d-stage.measurements-active canvas{filter:saturate(.72) brightness(1.04)}
@media(max-width:760px){.r3d-measurement-summary{top:94px;left:10px;width:min(245px,calc(100% - 20px));max-height:38%;}.r3d-measurement-summary article small{display:none}.r3d-measure-line text{font-size:8px}}

/* Mobile app shell: the scene stays fixed while controls scroll independently. */
@media (max-width:760px), (max-width:1024px) and (pointer:coarse){
  html.r3d-active,body.r3d-active{width:100%;height:100vh;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
  body.r3d-active{display:flex;flex-direction:column}
  body.r3d-active .topbar,body.r3d-active .demo-banner{flex:0 0 auto}
  body.r3d-active .demo-banner{overflow:hidden;padding:5px 12px;font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
  body.r3d-active #app{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;flex-direction:column}
  body.r3d-active .access-lock-note{flex:0 0 auto;width:calc(100% - 16px);margin:5px auto;padding:5px 8px;overflow:hidden;font-size:9px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
  body.r3d-active .r3d-page{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;flex-direction:column}
  body.r3d-active .r3d-head{flex:0 0 auto;padding:7px 13px}
  body.r3d-active .r3d-head h1{font-size:17px;line-height:1.15}
  body.r3d-active .r3d-layout{display:block;flex:1 1 auto;height:auto;min-height:0;overflow:hidden;padding:0}
  body.r3d-active .r3d-stage{width:100%;height:100%;min-height:0;max-height:none;overflow:hidden}
  body.r3d-active .r3d-stage canvas{touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none}
  body.r3d-active .r3d-touch-guide{position:absolute;left:50%;bottom:74px;z-index:8;display:block;max-width:calc(100% - 32px);padding:6px 10px;transform:translateX(-50%);border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(18,24,22,.64);color:#fff;font-size:9px;white-space:nowrap;backdrop-filter:blur(8px);pointer-events:none;animation:r3d-touch-guide 6s both}
  body.r3d-active .r3d-panel{bottom:max(8px,env(safe-area-inset-bottom));max-height:calc(100dvh - 20px - env(safe-area-inset-top));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  body.r3d-active .r3d-studio-toolbar{padding-bottom:max(5px,env(safe-area-inset-bottom))}
  body.r3d-active .site-footer{display:none}
}
@keyframes r3d-touch-guide{0%,70%{opacity:1}100%{opacity:0;visibility:hidden}}
@media (max-width:1024px) and (pointer:coarse) and (orientation:landscape){
  body.r3d-active .topbar{height:48px;min-height:48px;padding:0 10px;flex-wrap:nowrap;gap:8px}
  body.r3d-active .topbar>.brand{margin:0;font-size:19px}
  body.r3d-active .brandmark{width:30px;height:30px;border-radius:8px}
  body.r3d-active .brand small,body.r3d-active .profile span:not(.avatar),body.r3d-active .demo-banner,body.r3d-active .r3d-head{display:none}
  body.r3d-active .topbar nav{order:initial;flex:1 1 auto;width:auto;height:48px;padding:0;overflow-x:auto;overflow-y:hidden;border:0}
  body.r3d-active .topbar nav .nav{flex:0 0 auto;min-width:max-content;padding:0 9px;font-size:11px;white-space:nowrap}
  body.r3d-active .topbar>.profile{margin:0}
  body.r3d-active .avatar{width:31px;height:31px}
  body.r3d-active .access-lock-note{display:none}
  body.r3d-active .r3d-stage{border-top:0}
}

/* Viewport shell: brand credit stays inside the existing header and never
   participates in the constructor's vertical sizing. */
@media (min-width:761px){
  html.r3d-active,body.r3d-active{height:100vh;height:100dvh;min-height:0;overflow:hidden}
  body.r3d-active{display:flex;flex-direction:column}
  body.r3d-active .topbar{box-sizing:border-box;flex:0 0 60px;height:60px;min-height:60px;padding:0 18px;gap:14px;flex-wrap:nowrap}
  body.r3d-active .topbar>.brand{flex:0 0 auto;font-size:22px}
  body.r3d-active .topbar>.brand .brandmark{width:34px;height:34px;border-radius:10px}
  body.r3d-active .topbar>.brand small{display:none}
  body.r3d-active .topbar nav{flex:1 1 auto;min-width:0;height:60px;gap:2px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:none}
  body.r3d-active .topbar nav::-webkit-scrollbar{display:none}
  body.r3d-active .topbar nav .nav{flex:0 0 auto;min-width:max-content;padding:0 9px;font-size:12px;line-height:1;white-space:nowrap}
  body.r3d-active .topbar nav .nav.active:after{right:9px;left:9px}
  body.r3d-active .topbar .noonelab-credit{height:36px;margin-left:0;padding:3px}
  body.r3d-active .topbar .noonelab-credit-copy,body.r3d-active .topbar .noonelab-credit-arrow,body.r3d-active .topbar>.profile span:not(.avatar){display:none}
  body.r3d-active .topbar>.profile{flex:0 0 auto;margin-left:0;padding:5px}
  body.r3d-active .topbar .avatar{width:32px;height:32px}
  body.r3d-active #app{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;flex-direction:column}
  body.r3d-active .access-lock-note{flex:0 0 auto;min-height:32px;margin:4px auto 0;padding:4px 9px;font-size:10px;line-height:1.25}
  body.r3d-active .r3d-page{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;flex-direction:column}
  body.r3d-active .r3d-head{flex:0 0 auto;min-height:54px;padding:9px 22px}
  body.r3d-active .r3d-head h1{font-size:21px;line-height:1.1}
  body.r3d-active .r3d-head p{margin-top:3px;font-size:11px;line-height:1.2}
  body.r3d-active .r3d-badge{padding:6px 9px;font-size:10px;white-space:nowrap}
  body.r3d-active .r3d-layout{flex:1 1 auto;height:auto;min-height:0;max-height:none;overflow:hidden}
  body.r3d-active .r3d-stage,body.r3d-active .r3d-panel{height:100%;min-height:0;max-height:none}
}
@media (max-width:760px) and (orientation:portrait){
  body.r3d-active .topbar{box-sizing:border-box;height:96px;min-height:96px;max-height:96px;padding:7px 0 0;gap:5px 8px;align-content:start;flex-wrap:wrap;overflow:hidden}
  body.r3d-active .topbar>.brand{margin-left:10px}
  body.r3d-active .topbar>.profile{margin:0 10px 0 auto}
  body.r3d-active .topbar nav{flex:0 0 100%;width:100%;height:48px;padding:0 7px}
}
@media (max-width:380px) and (orientation:portrait){
  body.r3d-active .topbar>.brand{font-size:21px}
  body.r3d-active .brand small{display:none}
}

/* High-contrast controls remain legible over every scene and browser display. */
.r3d-studio-toolbar{width:max-content}
.r3d-studio-toolbar button{border:1px solid #d9d6e4;background:#f8f7fb;color:#302c42;font-weight:720;box-shadow:0 1px 2px #17152f0b}
.r3d-studio-toolbar button:hover:not(:disabled){border-color:#aaa3df;background:#f0edff;color:#3f35a8}
.r3d-studio-toolbar button.active{border-color:#6f62de;background:#6a5de0;color:#fff;box-shadow:0 5px 14px #5c50c934}
.r3d-studio-toolbar button:disabled{border-color:#dedbe6;background:#eeedf2;color:#7f7b8c;opacity:1;box-shadow:none}
.r3d-studio-toolbar #r3d-undo,.r3d-studio-toolbar #r3d-redo{min-width:34px;padding:4px 8px;font-size:17px;font-weight:800;line-height:1}
.r3d-toolbar-divider{background:#bcb8c9}
@media(max-width:760px){.r3d-studio-toolbar{width:auto}}

/* Readability pass: the constructor is a working tool, not a compact dashboard.
   Keep labels legible on notebooks and phones, and let dense controls scroll. */
.r3d-panel :where(button){font-size:12px!important;line-height:1.25}
.r3d-panel :where(input,select,textarea){font-size:13px!important;line-height:1.35}
.r3d-panel :where(h3,h4){font-size:13px!important;line-height:1.3}
.r3d-panel :where(label,p){font-size:12px!important;line-height:1.4}
.r3d-panel :where(small){font-size:11px!important;line-height:1.35}
.r3d-shapes{grid-template-columns:repeat(4,minmax(0,1fr));max-height:292px}
.r3d-shape{font-size:12px!important;line-height:1.25}
.r3d-shape b{font-size:11px!important}.r3d-shape em{font-size:10px!important}
.r3d-catalog-tools input{font-size:13px!important}.r3d-catalog-tools small{font-size:11px!important}
.r3d-site-presets>div:nth-child(2){grid-template-columns:repeat(2,minmax(0,1fr))}
.r3d-site-presets>div:first-child b,.r3d-site-card b{font-size:12px!important}
.r3d-site-presets>div:first-child small,.r3d-site-card small,.r3d-site-presets>p{font-size:11px!important}
.r3d-site-card span{font-size:13px!important}
.r3d-base-card{font-size:11px!important}.r3d-base-card small{font-size:10px!important}
.r3d-catalog-heading span,.r3d-foundation-copy small,.r3d-foundation-copy i{font-size:10px!important}
.r3d-foundation-copy b{font-size:12px!important}.r3d-foundation-copy em{font-size:11px!important}
.r3d-transform-grid label,.r3d-quick-fields label,.r3d-inscription-fields label,.r3d-decoration-controls label>span,.r3d-inscription-style>span{font-size:11px!important}
.r3d-transform-actions>button,.r3d-align-actions button{font-size:11px!important}
.r3d-selected-object small,.r3d-placement p,.r3d-mounting-report span,.r3d-link-toggle small{font-size:11px!important}
.r3d-selected-object em{font-size:10px!important}.r3d-mounting-report b,.r3d-link-toggle b{font-size:12px!important}
.r3d-selection{font-size:12px}.r3d-selection span{font-size:11px}.r3d-snap-indicator{font-size:10px}
.r3d-inspector-shell>summary b{font-size:12px}.r3d-inspector-shell>summary small{font-size:11px}.r3d-inspector-sections>details>summary{font-size:12px}
.r3d-inscription-toggle b,.r3d-portrait-upload label b,.r3d-upload-button b{font-size:12px!important}
.r3d-inscription-toggle small,.r3d-portrait-upload label span,.r3d-upload-button span,.r3d-ground-note{font-size:11px!important}
.r3d-font-options small,.r3d-ink-options button,.r3d-custom-color,.r3d-align-options button{font-size:10px!important}
.r3d-stage-note,.r3d-hint{font-size:11px}.r3d-studio-toolbar button{font-size:11px;min-height:34px}
.r3d-active .access-lock-note,.r3d-active .r3d-head p,.r3d-active .r3d-badge{font-size:12px!important}
@media(max-width:760px){
  .r3d-studio-toolbar{justify-content:flex-start!important;overflow-x:auto!important;scrollbar-width:none}
  .r3d-studio-toolbar button{font-size:11px!important;padding:8px 9px!important}
  .r3d-studio-toolbar .r3d-ai-visual:after{font-size:11px!important}
  .r3d-stage-note{font-size:10px}
}

/* Per-component production drawing */
.r3d-production-document{padding:30px 34px 34px;color:#25332d}.r3d-production-document>header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:2px solid #28594d}.r3d-production-document>header>div:last-child{text-align:right}.r3d-production-document>header span,.r3d-production-document>header small,.r3d-production-document>header b{display:block}.r3d-production-document>header span{color:#28594d;font-size:9px;font-weight:800;letter-spacing:1.5px}.r3d-production-document>header h2{margin:5px 0 0;font-size:24px}.r3d-production-document>header p{margin:5px 0 0;color:#6d7a74;font-size:10px}.r3d-production-document>header small{color:#7b8781;font-size:8px;text-transform:uppercase}.r3d-production-document>header b{margin-top:5px;font-size:14px}.r3d-production-document>nav{display:flex;gap:6px;margin:16px 0;overflow-x:auto;scrollbar-width:thin}.r3d-production-document>nav button{flex:0 0 auto;padding:7px 11px;border-color:#d4ddd8;background:#fff;color:#53635b;font-size:9px}.r3d-production-document>nav button.active{border-color:#28594d;background:#28594d;color:#fff}.r3d-production-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.r3d-production-meta>div{padding:10px 12px;border-radius:8px;background:#f1f5f3}.r3d-production-meta span,.r3d-production-meta b{display:block}.r3d-production-meta span{color:#7a8781;font-size:7px;text-transform:uppercase;letter-spacing:.5px}.r3d-production-meta b{margin-top:3px;font-size:10px}.r3d-production-views{display:grid;grid-template-columns:1fr 1fr;gap:10px}.r3d-production-svg{display:block;width:100%;height:auto;border:1px solid #dbe3df;border-radius:10px;background:#fbfcfb}.r3d-production-svg .production-grid>rect{fill:#fff;stroke:#d5ded9;stroke-width:1}.r3d-production-svg .production-grid>text{fill:#66766e;font:700 9px Arial,sans-serif;letter-spacing:1px}.r3d-production-svg .production-shape rect,.r3d-production-svg .production-shape polygon,.r3d-production-svg .production-shape path{fill:#e6ebe8;stroke:#263c32;stroke-width:1.4;vector-effect:non-scaling-stroke}.r3d-production-svg .production-hole circle{fill:#fff;stroke:#bf4c3f;stroke-width:1.4;vector-effect:non-scaling-stroke}.r3d-production-svg .production-hole text{fill:#a13d33;font:700 8px Arial,sans-serif}.r3d-production-svg .production-dimension line{stroke:#405c50;stroke-width:1;vector-effect:non-scaling-stroke}.r3d-production-svg .production-dimension text{fill:#2f493e;font:700 8px Arial,sans-serif;text-anchor:middle}.r3d-production-svg marker path{fill:#405c50}.r3d-production-svg .production-centerlines line{stroke:#71877d;stroke-width:.8;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.r3d-production-tables{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:14px;margin-top:16px}.r3d-production-tables>div{min-width:0}.r3d-production-tables h3{margin:0 0 7px;font-size:11px}.r3d-production-tables table{width:100%;border-collapse:collapse;font-size:9px}.r3d-production-tables th{padding:7px 6px;background:#28594d;color:#fff;text-align:left;font-size:7px;text-transform:uppercase}.r3d-production-tables td{padding:7px 6px;border-bottom:1px solid #dde5e1}.r3d-production-tables tbody tr:nth-child(even){background:#f6f8f7}.r3d-production-empty{min-height:52px;margin:0;padding:12px;border:1px dashed #cbd6d0;border-radius:8px;color:#75827c;font-size:9px}.r3d-production-document>footer{margin-top:18px;padding:11px 13px;border-left:3px solid #b8893e;background:#fbf7ed;color:#705c37;font-size:8px;line-height:1.45}.r3d-production-dialog .r3d-spec-actions{justify-content:space-between}
@media(max-width:700px){.r3d-production-document{padding:22px 14px}.r3d-production-document>header{align-items:flex-start;flex-direction:column;gap:9px}.r3d-production-document>header>div:last-child{text-align:left}.r3d-production-meta{grid-template-columns:repeat(2,1fr)}.r3d-production-views,.r3d-production-tables{grid-template-columns:1fr}.r3d-production-document>nav{margin-right:-4px;margin-left:-4px;padding:0 4px}.r3d-production-svg .production-grid>text{font-size:10px}.r3d-production-tables table{font-size:8px}}
@media print{.r3d-production-document{padding:10mm!important}.r3d-production-document>nav{display:none!important}.r3d-production-svg{max-height:112mm}.r3d-production-tables{break-inside:avoid}.r3d-production-document>footer{margin-top:6mm}}

/* Assembly and installation sheet */
.assembly-solids rect,.assembly-plan rect{stroke:#263c32;stroke-width:1.4;vector-effect:non-scaling-stroke}.assembly-solids .slab,.assembly-plan .slab{fill:#dce3df}.assembly-solids .pedestal,.assembly-plan .pedestal{fill:#c4d0ca}.assembly-solids .stele,.assembly-plan .stele{fill:#aebdb6}.assembly-pin line{stroke:#bd4b3f;stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke}.assembly-anchor line{stroke:#5d4ed6;stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke}.assembly-pin circle{fill:#fff;stroke:#bd4b3f;stroke-width:1.5}.assembly-pin text,.assembly-anchor text{fill:#9a3d34;font:700 8px Arial,sans-serif}.assembly-anchor text{fill:#5045b5}.assembly-callout text{fill:#53665c;font:700 8px Arial,sans-serif}.r3d-assembly-content{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:14px;margin-top:16px}.r3d-assembly-content>div{min-width:0}.r3d-assembly-content h3,.r3d-assembly-steps h3{margin:0 0 8px;font-size:11px}.r3d-hardware-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px}.r3d-hardware-fields label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;border:1px solid #dce4e0;border-radius:8px;background:#f8faf9}.r3d-hardware-fields label>span:first-child{color:#53655c;font-size:8px;line-height:1.25}.r3d-hardware-fields label>span:last-child{display:flex;align-items:center;gap:4px}.r3d-hardware-fields input{box-sizing:border-box;width:56px;padding:5px;border:1px solid #cbd7d1;border-radius:6px;background:#fff;color:#26382f;font:700 9px inherit;text-align:right}.r3d-hardware-fields i{color:#7a8781;font-size:8px;font-style:normal}.r3d-assembly-content table{width:100%;border-collapse:collapse;font-size:8px}.r3d-assembly-content th{padding:7px 6px;background:#28594d;color:#fff;text-align:left;font-size:7px;text-transform:uppercase}.r3d-assembly-content td{padding:8px 6px;border-bottom:1px solid #dde5e1}.r3d-assembly-steps{margin-top:16px;padding:14px;border:1px solid #dbe4df;border-radius:10px;background:#f8faf9}.r3d-assembly-steps ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:0;padding:0;counter-reset:assembly-step;list-style:none}.r3d-assembly-steps li{position:relative;min-height:26px;padding-left:33px;color:#4c5d55;font-size:8px;line-height:1.4;counter-increment:assembly-step}.r3d-assembly-steps li:before{position:absolute;left:0;top:0;display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#28594d;color:#fff;content:counter(assembly-step);font-size:8px;font-weight:800}
.r3d-hardware-apply{margin-top:8px;padding:8px 11px;border:1px solid #28594d;border-radius:7px;background:#28594d;color:#fff;font-size:8px;font-weight:800;cursor:pointer}.r3d-hardware-apply:hover{background:#1e463c}
.r3d-print-control{display:flex;align-items:center;gap:10px}.r3d-print-control>span{color:#68756f;font-size:9px;font-weight:700}.r3d-print-control button:disabled{border-color:#c95d52!important;background:#c95d52!important;color:#fff!important;cursor:not-allowed;opacity:1}.r3d-tech-audit{margin:0 0 12px;padding:13px;border:1px solid #cbdad3;border-radius:10px;background:#f5faf7}.r3d-tech-audit>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.r3d-tech-audit>header small,.r3d-tech-audit>header h3{display:block;margin:0}.r3d-tech-audit>header small{color:#66766e;font-size:7px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}.r3d-tech-audit>header h3{margin-top:3px;font-size:13px}.r3d-tech-audit>header>b{padding:5px 8px;border-radius:20px;background:#dcebe4;color:#28594d;font-size:8px}.r3d-tech-audit>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.r3d-tech-audit article{display:flex;gap:8px;min-width:0;padding:9px;border:1px solid #dce5e0;border-radius:8px;background:#fff}.r3d-tech-audit article>span{display:grid;flex:0 0 21px;width:21px;height:21px;place-items:center;border-radius:50%;background:#dcebe4;color:#28594d;font-size:10px;font-weight:900}.r3d-tech-audit article b{display:block;font-size:9px}.r3d-tech-audit article p,.r3d-tech-audit article ul{margin:3px 0 0;color:#66756e;font-size:8px;line-height:1.35}.r3d-tech-audit article ul{padding-left:13px}.r3d-tech-audit article.warning{border-color:#e9d49b;background:#fffaf0}.r3d-tech-audit article.warning>span{background:#f4e3af;color:#795b13}.r3d-tech-audit article.critical{border-color:#e2a19b;background:#fff5f4}.r3d-tech-audit article.critical>span{background:#d96155;color:#fff}.r3d-tech-audit.warning{border-color:#e2c36c;background:#fffaf0}.r3d-tech-audit.warning>header>b{background:#f4e3af;color:#795b13}.r3d-tech-audit.critical{border-color:#d96155;background:#fff5f4}.r3d-tech-audit.critical>header>b{background:#d96155;color:#fff}.r3d-tech-audit>p{margin:9px 0 0;color:#77837d;font-size:7px;line-height:1.4}
@media(max-width:700px){.r3d-assembly-content{grid-template-columns:1fr}.r3d-hardware-fields{grid-template-columns:1fr}.r3d-assembly-steps ol{grid-template-columns:1fr}}
@media(max-width:700px){.r3d-print-control{align-items:flex-end;flex-direction:column;gap:3px}.r3d-print-control>span{font-size:7px}.r3d-tech-audit>div{grid-template-columns:1fr}.r3d-tech-audit>header{align-items:flex-start}.r3d-tech-audit>header h3{font-size:12px}}
@media print{.r3d-assembly-content,.r3d-assembly-steps,.r3d-tech-audit{break-inside:avoid}.r3d-hardware-fields input{border:0;padding:0}}
