@font-face{font-family:"Material Symbols Rounded";src:url("./mebelo-symbols.woff2?v=21.0.0") format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#17263b;background:#edf1f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}.mb-app{--accent:#d8a46a;--navy:#132033;--muted:#8b97a8;--line:#e8edf2;--light:#f7f9fb;min-height:100dvh;color:#1c2939}.mb-app button{transition:background .15s,border-color .15s,transform .15s}.mb-app button:focus-visible,.mb-app input:focus-visible,.mb-app textarea:focus-visible{outline:3px solid #cfa36b99;outline-offset:2px}.mb-app svg{flex-shrink:0}.mb-workspace{margin-left:74px;min-height:100vh;display:flex;flex-direction:column}.mb-rail{position:fixed;left:0;top:0;bottom:0;width:74px;background:#172338;color:#b7c4d5;display:flex;flex-direction:column;align-items:center;z-index:20;padding:22px 0;gap:32px}.mb-logo{width:41px;height:41px;border-radius:12px;background:linear-gradient(140deg,#efc797,#c58c58);color:#172338;display:grid;place-items:center;font-family:Manrope,sans-serif;font-size:28px;font-weight:800;box-shadow:0 5px 14px #080e2050}.mb-rail-links{display:flex;flex-direction:column;gap:14px;width:100%;align-items:center}.mb-rail-links button{border:0;background:transparent;color:#8b9bb0;width:45px;height:46px;border-radius:11px;display:grid;place-items:center}.mb-rail-links button:hover{color:#fff;background:#ffffff16}.mb-rail-links button.active{color:#efc18c;background:#ffffff16;position:relative}.mb-rail-links button.active:before{content:'';position:absolute;left:-14px;top:12px;height:22px;width:3px;border-radius:0 3px 3px 0;background:#ebbe83}.mb-rail-bottom{margin-top:auto}.mb-avatar{width:35px;height:35px;border-radius:50%;border:1px solid #566579;background:#303c4d;color:#f4c99a;display:grid;place-items:center;font-size:13px;font-weight:800}.mb-header{height:72px;background:#fff;border-bottom:1px solid #e6ecf0;display:flex;align-items:center;justify-content:space-between;padding:0 26px;flex:0 0 auto;gap:10px}.mb-header-left,.mb-header-right{display:flex;align-items:center;gap:21px;min-width:0}.mb-header-right{gap:11px}.mb-brand{font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-1.3px;font-size:25px;white-space:nowrap;color:#16283b;display:flex;align-items:baseline;gap:1px}.mb-brand span{color:#c6915d}.mb-brand small{font-size:9px;letter-spacing:2px;margin-left:8px;color:#a2aebd;font-weight:800}.mb-header-divider{width:1px;height:23px;background:#e3e9ee}.mb-breadcrumb{font-size:13px;color:#93a0ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mb-breadcrumb span{padding:0 9px;color:#c0c8d0}.mb-breadcrumb strong{color:#485668;font-weight:600}.mb-header-icon{border:0;background:transparent;padding:9px 6px;display:flex;align-items:center;gap:7px;color:#607083;font-size:12px;font-weight:700}.mb-header-icon:hover{color:#152239}.mb-saved-state{display:flex;align-items:center;gap:5px;color:#81938b;font-size:11px;font-weight:700;white-space:nowrap;margin-right:6px}.mb-saved-state svg{color:#589781}.mb-save-btn,.mb-main-btn{border:1px solid #182b3f;background:#182b3f;color:#fff;border-radius:9px;padding:11px 16px;font-size:12px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-weight:800;white-space:nowrap}.mb-save-btn:hover,.mb-main-btn:hover{background:#304459;transform:translateY(-1px)}.mb-main{min-height:calc(100vh - 72px);flex:1;display:grid;grid-template-columns:334px minmax(320px,1fr) 335px;overflow:hidden}.mb-settings{min-width:0;background:#fff;display:flex;flex-direction:column;border-right:1px solid #e5ebf0;height:calc(100vh - 72px);max-height:calc(100vh - 72px)}.mb-settings-header{padding:29px 24px 22px}.mb-eyebrow{letter-spacing:1.35px;font-size:9px;color:#a4b0be;font-weight:800}.mb-settings-header h2{font:800 20px/1.35 Manrope,sans-serif;color:#1b2b3d;margin:11px 0 9px;letter-spacing:-.7px}.mb-settings-header p{margin:0;color:#8795a3;font-size:12px;line-height:1.65}.mb-settings-tabs,.mb-report-tabs{display:flex;padding:0 24px;border-bottom:1px solid #e9eef2;gap:22px}.mb-settings-tabs button,.mb-report-tabs button{border:0;border-bottom:2px solid transparent;padding:12px 0 13px;background:transparent;color:#97a2af;font-size:12px;font-weight:800}.mb-settings-tabs button.active,.mb-report-tabs button.active{color:#223a54;border-bottom-color:#cc9863}.mb-settings-content{padding:0 24px 20px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#dbe2e8 transparent}.mb-section{padding:23px 0;border-bottom:1px solid #edf1f3}.mb-section:last-child{border:0}.mb-section-title{font-size:10px;color:#8493a2;font-weight:800;letter-spacing:1.08px}.mb-section-head{display:flex;justify-content:space-between;align-items:center}.mb-tag{background:#f2f5f7;color:#9cabb8;font-size:10px;padding:5px 8px;border-radius:5px}.mb-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}.mb-template{min-height:94px;background:#fbfcfd;border:1px solid #e5eaf0;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:7px 2px;color:#7c8b9c}.mb-template svg{margin-bottom:3px}.mb-template strong{font-size:11px;color:#4f6071}.mb-template small{font-size:9px;color:#9aa7b5}.mb-template:hover,.mb-template.selected{border-color:#d8b084;background:#fdf8f2}.mb-template.selected svg,.mb-template.selected strong{color:#bb8854}.mb-control{margin-top:22px}.mb-control-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mb-control-head label{display:block;color:#405265;font-weight:800;font-size:12px}.mb-control-head small{display:block;color:#a0adb9;font-size:10px;margin-top:4px}.mb-num-wrap{height:34px;border:1px solid #e2e8ed;background:#f8fafb;display:flex;align-items:center;border-radius:7px;max-width:107px}.mb-num-wrap input{min-width:0;width:75px;padding-left:11px;text-align:right;border:0;background:transparent;color:#25394c;font-size:12px;font-weight:800;outline:none}.mb-num-wrap input::-webkit-outer-spin-button,.mb-num-wrap input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.mb-num-wrap input{appearance:textfield;-moz-appearance:textfield}.mb-num-wrap span{font-size:10px;color:#9eabb6;padding:0 7px}.mb-range{width:100%;margin:15px 0 0;height:4px;appearance:none;-webkit-appearance:none;border-radius:4px;background:#e6edf1;accent-color:#c99867;cursor:pointer}.mb-range::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#c99867;border:3px solid #fff;box-shadow:0 0 0 1px #c99867,0 2px 6px #25304530}.mb-range::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#c99867;border:3px solid #fff;box-shadow:0 0 0 1px #c99867}.mb-stepper{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:10px}.mb-stepper>div:first-child{min-width:0}.mb-stepper strong{display:block;font-size:12px;color:#445568}.mb-stepper small{font-size:10px;color:#a6b2bd;display:block;margin-top:3px}.mb-stepper-btns{display:flex;align-items:center;gap:12px}.mb-stepper-btns button{border:1px solid #e5ebef;width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#728293;background:#fff}.mb-stepper-btns button:hover:not(:disabled){border-color:#bb9369;color:#a7794c}.mb-stepper-btns strong{min-width:12px;text-align:center;font-size:13px}.mb-toggle-line{display:flex;align-items:center;justify-content:space-between;position:relative;padding:14px 0;cursor:pointer;gap:10px}.mb-toggle-line strong{display:block;color:#43566a;font-size:12px}.mb-toggle-line small{display:block;font-size:10px;color:#a6b2be;margin-top:4px}.mb-toggle-line input{position:absolute;opacity:0;right:0}.mb-switch{display:block;background:#dce3e9;border-radius:30px;width:36px;height:21px;transition:.2s;position:relative;flex-shrink:0}.mb-switch:before{content:'';position:absolute;width:15px;height:15px;border-radius:50%;background:white;left:3px;top:3px;box-shadow:0 1px 4px #0b203025;transition:.2s}.mb-toggle-line input:checked+.mb-switch{background:#b98957}.mb-toggle-line input:checked+.mb-switch:before{transform:translateX(15px)}.mb-settings-foot{padding:13px 24px;background:white;border-top:1px solid #ecf0f2}.mb-tip{display:flex;gap:10px;color:#9c8f79;background:#fbf7ef;border:1px solid #f5ecdd;border-radius:8px;padding:11px;font-size:10px;line-height:1.5}.mb-tip svg{margin-top:2px}.mb-material-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.mb-mat-card{position:relative;overflow:hidden;border:1px solid #e6ecf0;border-radius:9px;background:#fff;padding:7px;display:flex;flex-direction:column;gap:8px;align-items:stretch;text-align:left;color:#526272;font-size:11px;font-weight:700}.mb-mat-card.selected{border-color:#ca9b69;box-shadow:0 0 0 1px #ca9b6930}.mb-mat-swatch{height:58px;border-radius:5px;background:linear-gradient(130deg,var(--swatch-light),var(--swatch) 60%);border:1px solid #0000000c}.mb-mat-swatch.mb-grain{background:repeating-linear-gradient(87deg,transparent 0,transparent 7px,#51381d13 8px,transparent 9px,transparent 16px),linear-gradient(130deg,var(--swatch-light),var(--swatch) 60%)}.mb-mat-card>span:last-of-type{padding:2px 2px 4px}.mb-mat-card i{position:absolute;top:11px;right:12px;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;color:#fff;background:#b98756;font-style:normal}.mb-thickness{display:flex;gap:7px;margin-top:16px}.mb-thickness button{border:1px solid #e5eaef;background:#fff;border-radius:8px;padding:10px 0;flex:1;font-size:11px;font-weight:800;color:#627284}.mb-thickness button.selected{background:#f9f1e7;color:#ac7841;border-color:#d8b386}.mb-help{color:#93a2b1;font-size:11px;line-height:1.7}.mb-notes{resize:vertical;margin-top:12px;min-height:110px;width:100%;border-radius:9px;border:1px solid #e2e9ef;padding:10px 12px;color:#415267;background:#fafdff;font-size:12px}.mb-stage{position:relative;display:flex;flex-direction:column;min-width:0;min-height:520px;background:radial-gradient(ellipse at 50% 42%,#f5f7f9 0%,#eef2f5 55%,#e9eef2 100%);overflow:hidden}.mb-stage-top{padding:26px 30px 10px;display:flex;justify-content:space-between;align-items:flex-start;z-index:2;gap:20px}.mb-stage-kicker{font-size:10px;font-weight:800;letter-spacing:1.12px;color:#9ca9b6;display:flex;align-items:center;gap:8px}.mb-stage-kicker i{width:7px;height:7px;border-radius:50%;background:#79ab8c;box-shadow:0 0 0 3px #79ab8c1c}.mb-stage-title h2{font:800 22px/1.25 Manrope,sans-serif;letter-spacing:-.8px;margin:9px 0 6px;color:#273b50}.mb-stage-title p{font-size:11px;color:#a0abb6;margin:0}.mb-stage-controls{display:flex;align-items:center;gap:6px}.mb-stage-controls button{height:33px;width:33px;display:grid;place-items:center;background:#ffffffbd;color:#68798c;border:1px solid #e4eaf0;border-radius:8px;box-shadow:0 2px 6px #6470820e}.mb-stage-controls button:hover{background:#fff;color:#b98452}.mb-viewport{flex:1;position:relative;min-height:350px}.mb-grid-bg{position:absolute;inset:0;background-image:radial-gradient(#bcc7d24d 0.7px,transparent .7px);background-size:18px 18px;mask-image:radial-gradient(ellipse at center,#0006 10%,transparent 72%);pointer-events:none}.mb-canvas{position:absolute;inset:0;width:100%;height:100%;cursor:grab;touch-action:none;user-select:none}.mb-dims-float{position:absolute;top:28px;left:31px;z-index:2;display:flex;align-items:center;gap:12px;padding:9px 12px;background:#ffffffa8;backdrop-filter:blur(10px);border:1px solid #e6ebf0;border-radius:8px;box-shadow:0 6px 16px #61708408;pointer-events:none}.mb-dims-float div{display:flex;align-items:center;gap:5px}.mb-dims-float span{font-size:10px;color:#b2a087;font-weight:800}.mb-dims-float strong{font:800 11px Manrope,sans-serif;color:#586b7c}.mb-dims-float small{font-size:9px;color:#9aa9b4}.mb-orbit-hint{position:absolute;bottom:20px;right:24px;color:#8d9aa8;font-size:10px;font-weight:700;display:flex;align-items:center;gap:7px;pointer-events:none}.mb-stage-bottom{border-top:1px solid #e2e8ed;min-height:57px;display:flex;justify-content:space-between;align-items:center;z-index:2;gap:10px;padding:0 28px;background:#ffffff80;font-size:11px;color:#728194}.mb-stage-meta{display:flex;align-items:center;gap:8px;font-weight:700}.mb-color-dot{height:13px;width:13px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #dce1e5}.mb-dot{color:#c5cfd8}.mb-stage-badges{display:flex;gap:12px}.mb-stage-badges span{display:flex;align-items:center;gap:6px;color:#a0acb9;font-weight:700;font-size:10px}.mb-report{min-width:0;background:#fff;border-left:1px solid #e5ebf0;display:flex;flex-direction:column;height:calc(100vh - 72px);max-height:calc(100vh - 72px)}.mb-report-head{padding:30px 23px 22px;display:flex;justify-content:space-between;gap:5px;align-items:center}.mb-report-head h3{font:800 19px Manrope,sans-serif;letter-spacing:-.6px;margin:11px 0 0}.mb-status{display:flex;align-items:center;gap:6px;border-radius:5px;background:#f5f6f7;padding:6px 8px;color:#8b98a5;font-size:10px;font-weight:800}.mb-status i{width:6px;height:6px;background:#d5aa73;border-radius:50%}.mb-report-tabs{padding:0 23px}.mb-report-body{padding:22px 23px 20px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#dae3ea transparent}.mb-kpi-label{font-weight:800;letter-spacing:1.05px;font-size:10px;color:#95a2af}.mb-measure-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}.mb-measure-grid>div{border:1px solid #e7edf1;border-radius:9px;padding:12px 7px 9px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;background:#fcfdfe}.mb-measure-grid small{font-size:9px;font-weight:800;color:#adb8c3}.mb-measure-grid b{font:800 18px/1 Manrope,sans-serif;letter-spacing:-.6px;color:#2d4357}.mb-kpi-divider{margin-top:29px;padding-top:22px;border-top:1px solid #edf1f4}.mb-kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.mb-kpi{border:1px solid #e8edf2;background:#fdfefe;border-radius:9px;padding:14px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.mb-kpi-symbol{color:#b89670}.mb-kpi strong{font:800 17px/1.2 Manrope,sans-serif;color:#2a3e51}.mb-kpi small{font-size:10px;color:#9baaB8}.mb-spec{margin-top:25px}.mb-spec h4{font:800 13px Manrope,sans-serif;color:#415369;margin:0 0 12px}.mb-stat{border-bottom:1px solid #eef2f5;padding:12px 0;display:flex;justify-content:space-between;gap:8px;font-size:11px}.mb-stat span{color:#98a6b3}.mb-stat strong{color:#4c5f70;font-weight:800;text-align:right}.mb-caption{font-size:10px;color:#a1aeb9;line-height:1.6;margin-top:20px}.mb-report-foot{border-top:1px solid #edf0f3;background:white;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 20px}.mb-outline-btn{border:1px solid #dce4eb;background:#fff;color:#587084;border-radius:9px;padding:11px 13px;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:800;white-space:nowrap}.mb-outline-btn:hover{background:#f5f8fa}.mb-report-foot .mb-main-btn,.mb-report-foot .mb-outline-btn{padding:11px 6px;font-size:10px}.mb-cut-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.mb-cut-intro strong{font:800 18px Manrope,sans-serif;color:#334b62}.mb-cut-intro span{font-size:10px;color:#94a3b0}.mb-cutrow{border:1px solid #e6ecf0;border-radius:9px;padding:12px;margin-bottom:9px;background:#fdfefe}.mb-cutrow-name{display:flex;align-items:center;gap:8px}.mb-cutrow-name span{color:#adbac6;font-size:10px;font-weight:800}.mb-cutrow-name strong{font-size:11px;color:#42566a;flex:1}.mb-cutrow-name b{font-size:11px;color:#bf9164}.mb-cutrow-detail{padding:9px 0 3px 22px;font:800 15px Manrope,sans-serif;color:#334c63}.mb-cutrow-edge{color:#9dacb9;font-size:10px;padding-left:22px}.mb-toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,18px);opacity:0;pointer-events:none;z-index:60;color:#fff;background:#1c3043;border-radius:9px;padding:12px 18px;box-shadow:0 12px 24px #0f20332f;font-size:12px;font-weight:700;transition:.2s}.mb-toast.show{opacity:1;transform:translate(-50%,0)}.mb-overlay{position:fixed;inset:0;background:#0c1c2c7a;backdrop-filter:blur(3px);z-index:40;display:grid;place-items:center;padding:18px}.mb-modal{position:relative;max-width:500px;width:100%;max-height:min(85vh,750px);overflow:auto;background:white;border-radius:17px;padding:31px;box-shadow:0 35px 90px #07182e49}.mb-close{position:absolute;right:19px;top:19px;display:grid;place-items:center;height:34px;width:34px;border:1px solid #e5ebef;background:#fff;color:#7d8da0;border-radius:8px}.mb-modal-icon{background:#f7efe4;color:#b8854c;width:50px;height:50px;border-radius:13px;display:grid;place-items:center;margin-bottom:18px}.mb-modal h2{font:800 22px Manrope,sans-serif;letter-spacing:-.5px;margin:0 0 8px}.mb-modal>p{font-size:12px;color:#8b9baa;line-height:1.6;margin:0 0 24px}.mb-modal-label{display:block;font-size:12px;color:#5b6b7f;font-weight:800;margin-bottom:9px}.mb-modal-input{width:100%;border:1px solid #dce4ec;border-radius:9px;height:45px;padding:0 13px;font-size:13px;color:#33485c;background:#f9fafc}.mb-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.mb-project-list{max-height:380px;overflow:auto}.mb-project{border:1px solid #e9edf2;border-radius:9px;margin:8px 0;padding:11px;display:flex;align-items:center;gap:10px}.mb-project-mark{width:34px;height:36px;background:#f4f0ea;color:#b48a5d;border-radius:8px;display:grid;place-items:center}.mb-project>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.mb-project strong{font-size:12px;color:#40576b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mb-project small{font-size:10px;color:#a1afbb}.mb-project button{border:0;background:#f4f6f8;color:#76889a;border-radius:7px;height:30px;width:30px;display:grid;place-items:center}.mb-project button:hover{background:#e5ebef}.mb-empty{padding:26px;text-align:center;color:#a1aebb;font-size:13px;border:1px dashed #e4eaef;border-radius:8px}.mb-export-list{display:flex;flex-direction:column;gap:9px}.mb-export-list button{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #e5ebef;border-radius:10px;background:#fff;padding:14px;color:#b68b5d}.mb-export-list button:hover{border-color:#caab85;background:#fffbf6}.mb-export-list button span{display:flex;flex-direction:column;gap:4px;flex:1}.mb-export-list button strong{font-size:13px;color:#43596d}.mb-export-list button small{font-size:11px;color:#9eacb9}.mb-print-report{display:none}.mb-mobile-footer,.mb-mobile-menu{display:none}
@media(max-width:1440px){.mb-main{grid-template-columns:305px minmax(280px,1fr) 305px}.mb-settings-header,.mb-settings-content{padding-left:18px;padding-right:18px}.mb-settings-tabs{padding-left:18px;padding-right:18px}.mb-settings-foot{padding:12px 18px}.mb-report-body,.mb-report-head{padding-left:17px;padding-right:17px}.mb-report-tabs{padding-left:17px;padding-right:17px}.mb-header{padding:0 18px}.mb-stage-top{padding:23px 22px 10px}.mb-stage-bottom{padding:0 20px}.mb-stage-badges{display:none}}
@media(max-width:1200px){.mb-main{grid-template-columns:284px minmax(290px,1fr)}.mb-report{grid-column:1/-1;height:auto;max-height:none;border-top:1px solid #e5ebef;border-left:0;display:block}.mb-report-body{max-height:none;padding:20px 25px}.mb-report-foot{max-width:470px}.mb-measure-grid{max-width:480px}.mb-kpi-grid{grid-template-columns:repeat(4,1fr)}.mb-report-head{padding:24px}.mb-report-tabs{padding:0 24px}.mb-settings{height:calc(100vh - 72px);max-height:calc(100vh - 72px)}.mb-stage{min-height:calc(100vh - 72px)}.mb-viewport{min-height:430px}}
@media(max-width:800px){.mb-workspace{margin-left:0}.mb-rail{display:none}.mb-header{height:64px}.mb-brand{font-size:22px}.mb-header-left{gap:10px}.mb-header-divider,.mb-breadcrumb,.mb-saved-state,.mb-header-icon{display:none}.mb-mobile-menu{display:grid;place-items:center;width:32px;height:34px;border:0;background:transparent;color:#53667a}.mb-main{display:block;position:relative;min-height:0}.mb-stage{min-height:calc(100dvh - 118px);height:calc(100dvh - 118px)}.mb-settings{display:none;position:fixed;z-index:22;top:64px;bottom:54px;left:0;width:min(92vw,355px);height:auto;max-height:none;box-shadow:10px 0 40px #142b3b2e}.mb-main.mb-sidebar-open .mb-settings{display:flex}.mb-report{display:block;max-height:none}.mb-stage-title h2{font-size:19px}.mb-stage-top{padding:19px 18px}.mb-dims-float{left:17px;top:24px}.mb-viewport{min-height:0}.mb-mobile-footer{position:fixed;bottom:0;left:0;right:0;height:54px;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-top:1px solid #e9edf1;z-index:21}.mb-mobile-footer button{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;color:#516579;font-weight:800;font-size:11px}.mb-mobile-footer button+button{border-left:1px solid #eef1f4}.mb-report-foot{padding-bottom:25px}.mb-stage-bottom{padding:0 16px}.mb-header-right{gap:0}}
@media(max-width:480px){.mb-stage-kicker{font-size:9px}.mb-stage-title h2{font-size:17px}.mb-stage-title p{font-size:10px}.mb-stage-controls{gap:3px}.mb-stage-controls button{width:30px;height:30px}.mb-dims-float{gap:7px;padding:8px;top:16px;left:13px}.mb-dims-float strong{font-size:10px}.mb-report-body{padding:18px 16px}.mb-report-head{padding:22px 16px}.mb-report-tabs{padding:0 16px}.mb-kpi-grid{grid-template-columns:1fr 1fr}.mb-report-foot{padding:15px}.mb-modal{padding:24px}.mb-stage-bottom{font-size:10px}.mb-stage-badges{display:none}}
@media print{body,:root{background:#fff!important}.mb-app>.mb-rail,.mb-workspace,.mb-overlay,.mb-toast,.mb-import-file,.mb-mobile-footer{display:none!important}.mb-print-report{display:block!important;padding:16mm 11mm;color:#1b2938;font:11pt Arial,sans-serif}.mb-print-top{display:flex;justify-content:space-between;padding-bottom:16px;border-bottom:2px solid #1d3449;color:#6d7c8a;font-size:9pt}.mb-print-logo{font-weight:900;letter-spacing:2px;color:#1d3449}.mb-print-report h1{font-size:22pt;margin:25px 0 7px}.mb-print-report>p{font-size:9pt;color:#8e5d2d;font-weight:700}.mb-print-props{display:flex;gap:16px;flex-wrap:wrap;margin:22px 0;font-size:9pt;color:#536778}.mb-print-report table{width:100%;border-collapse:collapse;font-size:8pt}.mb-print-report th{background:#e8edf1;text-align:left;padding:9px 5px}.mb-print-report td{padding:10px 5px;border-bottom:1px solid #e6eaee}.mb-print-foot{margin-top:25px;font-size:10pt;line-height:1.6}.mb-print-foot p{font-size:8pt;color:#8c6650;margin-top:15px}}

/* v0.2 visual refinement: Material Symbols, warmer surfaces, clearer hierarchy. */
.mb-symbol.material-symbols-rounded{font-family:'Material Symbols Rounded'!important;font-style:normal;font-weight:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;font-variation-settings:'FILL' 0,'wght' 360,'GRAD' 0,'opsz' 24;flex-shrink:0;vertical-align:middle}
.mb-rail .active .mb-symbol{font-variation-settings:'FILL' 1,'wght' 450,'GRAD' 0,'opsz' 24}
:root{font-family:'DM Sans',Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.mb-app{--accent:#bd8a52;--navy:#192739;--muted:#8390a0;--line:#e8e9e8;--light:#f8f9f7;background:#f3f4f2}
.mb-rail{background:#1c2939;box-shadow:2px 0 18px #17283a0b}
.mb-logo{background:linear-gradient(145deg,#ebd0a9,#cf985c);box-shadow:none}
.mb-header{background:#ffffff;box-shadow:0 2px 16px #17283a08}
.mb-brand{letter-spacing:-1.1px}
.mb-main{grid-template-columns:326px minmax(340px,1fr) 324px}
.mb-settings{background:#fff}.mb-stage{background:radial-gradient(ellipse at 50% 34%,#f9faf9 0%,#f2f3f2 58%,#e9ebea 100%)}
.mb-report{background:#fff}.mb-viewport{min-height:280px}
.mb-stage-title h2{letter-spacing:-.8px}
.mb-stage-kicker{color:#a17850!important}.mb-stage-kicker i{background:#bc8e5e!important}
.mb-settings-header h2{letter-spacing:-.7px;line-height:1.2}
.mb-template,.mb-mat-card{border-color:#e9e9e8;border-radius:12px;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s}
.mb-template:hover,.mb-mat-card:hover{transform:translateY(-1px);border-color:#d3b28f}
.mb-template.selected,.mb-mat-card.selected{border-color:#c99966;box-shadow:0 0 0 2px #d4ad7d22}
.mb-settings-tabs{gap:13px}.mb-settings-tabs button{font-size:11px;white-space:nowrap}
.mb-stage-controls .mb-symbol,.mb-save-btn .mb-symbol,.mb-header-icon .mb-symbol{color:inherit}
.mb-stage-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.mb-modern-controls .mb-view-switch{display:flex;padding:3px;border:1px solid #e0e5e8;border-radius:10px;background:#fafbfb;margin-right:5px;gap:2px}
.mb-modern-controls .mb-view-switch button{border:0!important;background:transparent!important;border-radius:7px!important;width:32px!important;height:32px!important;min-width:32px!important;box-shadow:none!important}
.mb-modern-controls .mb-view-switch button.active{color:#9b683c!important;background:#f5e5d1!important;box-shadow:inset 0 0 0 1px #e0c09b66!important}
.mb-layout-link{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;width:100%;border:1px dashed #d9c0a4;border-radius:10px;padding:11px;background:#fffcf8;color:#815d39;font-size:11px;font-weight:800}
.mb-layout-link:hover{background:#fff7e9}
.mb-layout-guide h3{font-size:17px;margin:14px 0 6px;color:#253246;letter-spacing:-.5px}
.mb-layout-guide p{font-size:12px;color:#8995a4;line-height:1.6;margin:0 0 14px}
.mb-layout-diagram{display:flex;gap:5px;align-items:stretch;height:195px;padding:12px;background:linear-gradient(180deg,#f9f8f5,#f0ede9);border:1px solid #e9e3dc;border-radius:12px}
.mb-layout-bay{position:relative;flex:1;background:#d2b28f;border:6px solid #9d7553;border-radius:2px;display:flex;flex-direction:column-reverse;justify-content:space-evenly;gap:4px;min-width:0;box-shadow:inset 0 0 12px #4b342526}
.mb-layout-bay span{height:6px;background:#95704e;box-shadow:0 2px 2px #73523922}
.mb-layout-bay b{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);font-size:11px;background:#fdf9f1e8;color:#805735;padding:2px 5px;border-radius:4px;z-index:2}
.mb-layout-list{margin-top:14px;display:flex;flex-direction:column;gap:7px}
.mb-layout-line{display:flex;justify-content:space-between;align-items:center;border:1px solid #e7eaed;border-radius:10px;padding:11px 10px}
.mb-layout-line>div:first-child{display:flex;flex-direction:column;gap:3px}
.mb-layout-line strong{font-size:12px;color:#27374a}.mb-layout-line small{font-size:10px;color:#9aa5b1}
.mb-layout-total{display:flex;gap:8px;align-items:center;font-size:12px;margin-top:12px;padding:12px;border-radius:9px;background:#f8f5f0;color:#85613f}
.mb-manufacture-check{margin-top:20px;border-top:1px solid #e8ecf1;padding-top:18px}
.mb-manufacture-check h4{display:flex;align-items:center;gap:7px;font-size:12px;color:#253346;margin:0 0 9px}
.mb-manufacture-check p{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.5;color:#a56832;margin:8px 0}
.mb-manufacture-check p.mb-check-ok{color:#638575}
.mb-manufacture-check small{font-size:10px;line-height:1.5;color:#9ca7b5}
.mb-studio-version{letter-spacing:.1em;font-size:9px}
.mb-report-foot .mb-symbol,.mb-settings-foot .mb-symbol,.mb-tip .mb-symbol{flex-shrink:0}
.mb-tip .mb-symbol{margin-top:2px}
.mb-main-btn,.mb-save-btn{border-radius:10px}
@media(max-width:1440px){.mb-main{grid-template-columns:302px minmax(300px,1fr) 302px}.mb-modern-controls .mb-view-switch button{width:30px!important;height:30px!important}}
@media(max-width:1200px){.mb-main{grid-template-columns:290px minmax(300px,1fr)}.mb-report{display:none}}
@media(max-width:820px){.mb-main{display:flex;flex-direction:column}.mb-stage{min-height:540px}.mb-stage-top{flex-wrap:wrap}.mb-stage-controls{width:100%;justify-content:flex-start}.mb-modern-controls .mb-view-switch{margin-right:auto}}
@media(max-width:520px){.mb-stage{min-height:480px}.mb-stage-top{padding:14px 15px 4px}.mb-modern-controls .mb-view-switch button{width:30px!important;height:30px!important}.mb-stage-controls{gap:5px}}

/* Graceful icon fallback if Google Fonts is unavailable. Google Material Symbols is always the primary icon set. */
.mb-g-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none;min-width:0;min-height:0}
.mb-fallback-icon{display:none;flex:none}
.mb-no-material-icons .mb-g-icon .mb-symbol{display:none}
.mb-no-material-icons .mb-g-icon .mb-fallback-icon{display:inline-block}

/* 0.3: Three.js viewport and contextual per-column editor. */
.mb-viewport{isolation:isolate}
.mb-three-host{position:absolute;inset:0;z-index:1;pointer-events:none}
.mb-real-3d .mb-three-host{pointer-events:auto}
.mb-real-3d .mb-canvas{visibility:hidden}
.mb-three-host canvas{width:100%;height:100%}
.mb-dims-float,.mb-orbit-hint{z-index:3;pointer-events:none}
.mb-column-selection{position:absolute;z-index:4;left:50%;bottom:56px;transform:translateX(-50%);max-width:calc(100% - 24px);white-space:nowrap;display:flex;align-items:center;gap:13px;padding:9px 10px 9px 15px;border:1px solid #dce5ed;background:rgba(255,255,255,.96);box-shadow:0 16px 50px #1b28351c;border-radius:11px;font-size:12px;color:#53687a}
.mb-column-selection>span:first-child{display:flex;align-items:center;gap:6px}
.mb-column-selection .mb-g-icon{color:#b88452}
.mb-selection-actions{display:flex;align-items:center;gap:4px;padding-left:12px;border-left:1px solid #e7ebef}
.mb-selection-actions button{width:29px;height:29px;display:grid;place-items:center;border-radius:7px;border:1px solid #e3e9ef;background:#fff;color:#4b5d70}
.mb-selection-actions button:hover{background:#f5ebdf;border-color:#d8b88e}
@media(max-width:800px){.mb-column-selection{bottom:46px;padding:7px 8px 7px 10px;font-size:10px}.mb-selection-actions{gap:2px;padding-left:7px}.mb-selection-actions button{height:27px;width:27px}}

/* v0.4 · Individual fronts editor, tactile controls and compact studio polish. */
.mb-settings-tabs{gap:3px!important;justify-content:space-between}
.mb-settings-tabs button{padding:11px 5px!important;font-size:10.5px!important;letter-spacing:-.08px}
.mb-open-all-btn{width:auto!important;min-width:112px!important;padding:0 11px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:7px!important;border:1px solid #cba473!important;color:#875c2c!important;background:#fff5e8!important;border-radius:9px!important;font-weight:800;font-size:11px!important;white-space:nowrap}
.mb-open-all-btn:hover{background:#fcecd6!important;border-color:#b68245!important}
.mb-open-all-btn[disabled]{opacity:.48;cursor:not-allowed}
.mb-open-all-btn[aria-pressed="true"]{background:#273b4b!important;color:#fff!important;border-color:#273b4b!important}
.mb-front-editor h3{font-size:18px;letter-spacing:-.4px;margin:12px 0 6px;color:#223145}
.mb-front-editor>p{font-size:11.5px;line-height:1.65;margin:0 0 14px;color:#8391a1}
.mb-front-quick{display:flex;gap:7px;margin:14px 0}
.mb-front-quick button{display:inline-flex;gap:6px;align-items:center;justify-content:center;flex:1;border:1px solid #e4d7c5;border-radius:10px;background:#fffaf4;padding:10px 6px;color:#947046;font-size:10.5px;font-weight:750}
.mb-front-quick button:hover{background:#fff1de}
.mb-front-card{border:1px solid #e8e9e7;border-radius:13px;padding:13px 12px;margin:10px 0;background:linear-gradient(160deg,#fff,#fdfcfb)}
.mb-front-card-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:11px;border-bottom:1px solid #eef0ef}
.mb-front-card-head strong{font-size:12px;color:#283a4a;display:flex;align-items:center;gap:5px}
.mb-front-card-head>span{font-size:10px;font-weight:700;color:#94a0aa}
.mb-front-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
.mb-front-options button{min-height:36px;border:1px solid #e8ebed;border-radius:8px;color:#5d6d7b;background:#f9fafb;font-size:11px;font-weight:650}
.mb-front-options button:last-child{grid-column:1/-1}
.mb-front-options button:hover{border-color:#dcb88c;background:#fcf6ee}
.mb-front-options button.active{background:#f6e7d5;border-color:#c99353;color:#805326;box-shadow:inset 0 0 0 1px #c9935366}
.mb-front-sub{display:flex;align-items:center;justify-content:space-between;margin:12px 0 0;gap:10px}
.mb-front-sub label{font-size:11px;font-weight:700;color:#738494}
.mb-front-segment{display:flex;gap:3px;padding:3px;border:1px solid #e8eced;background:#f5f7f8;border-radius:9px}
.mb-front-segment button{font-size:10.5px;font-weight:700;border:0;border-radius:6px;padding:8px 10px;background:transparent;color:#71808c}
.mb-front-segment button.active{background:#fff;color:#95683a;box-shadow:0 1px 4px #17283a1c}
.mb-front-sub .mb-stepper-btns{margin:0}
.mb-stage-top{gap:12px}
.mb-stage-title{min-width:160px}
.mb-stage-title p{line-height:1.5}
.mb-viewport .mb-grid-bg{opacity:.62}
.mb-real-3d .mb-orbit-hint{background:rgba(255,255,255,.85);backdrop-filter:blur(6px);border:1px solid #e4e7e9;padding:7px 12px;border-radius:20px;color:#6d7d8b;box-shadow:0 3px 16px #25354b10}
@media(max-width:1400px){.mb-open-all-btn{min-width:103px!important;padding:0 8px!important}}
@media(max-width:800px){.mb-front-card{padding:12px}.mb-open-all-btn{min-width:107px!important}}
@media(max-width:480px){.mb-stage-controls .mb-open-all-btn{width:auto!important;min-width:106px!important;height:33px!important}.mb-settings-tabs button{font-size:10px!important}.mb-orbit-hint{font-size:9px}}

/* Mebelo Studio 1.0 — advanced cabinet layout workspace. */
.mb-templates{grid-template-columns:repeat(3,minmax(0,1fr))}
.mb-advanced-layout{padding-top:23px}
.mb-layout-presets{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 16px}
.mb-layout-presets button{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:750;color:#795b38;border:1px solid #eadbca;background:#fffaf3;border-radius:8px;padding:8px 9px}
.mb-layout-presets button:hover{background:#f7ecd9}
.mb-bay-scale{display:flex;gap:4px;height:61px;padding:6px;background:#f2f3f3;border:1px solid #e1e5e8;border-radius:11px;margin-bottom:8px}
.mb-bay-scale>div{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ba9975;border-radius:6px;background:linear-gradient(145deg,#e0c5a4,#cfa47e);color:#644524;font-size:12px;font-weight:800}
.mb-bay-scale small{font-size:10px;white-space:nowrap;font-weight:600}
.mb-hint-row{font-size:10px!important;line-height:1.5;color:#85909b;margin:0 0 14px!important}
.mb-hint-row strong{color:#58677a}
.mb-bay-card{border:1px solid #e1e7ea;border-radius:12px;background:#fff;margin:10px 0 14px;padding:13px 12px 12px;box-shadow:0 4px 14px rgba(33,43,54,.025)}
.mb-bay-card.has-rail{border-color:#d9c5a8;background:#fffdf8}
.mb-bay-title{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #edf0f1}
.mb-bay-title strong{display:flex;gap:5px;align-items:center;color:#2d3e50;font-size:12px}
.mb-bay-title small{font-size:10px;color:#9b9b99}
.mb-bay-width,.mb-bay-shelves{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.mb-bay-width label,.mb-bay-shelves label{font-size:11px;color:#657585;font-weight:700}
.mb-bay-width>div{display:flex;gap:3px;align-items:center;flex-shrink:0}
.mb-bay-width button{width:25px;height:27px;display:grid;place-items:center;padding:0;border:1px solid #e4e8eb;background:#f8f9fa;border-radius:6px;color:#5d7080}
.mb-bay-width input{width:49px;height:29px;padding:2px 0;border:1px solid #e0e6e9;border-radius:6px;background:#fff;text-align:center;color:#283c51;font-size:11px;font-weight:750;appearance:textfield;-moz-appearance:textfield}
.mb-bay-width input::-webkit-inner-spin-button{display:none}
.mb-bay-width>div>span{color:#a2acb6;font-size:10px}
.mb-shelf-line{display:grid;grid-template-columns:76px minmax(0,1fr) 55px;gap:6px;align-items:center;margin:9px 0}
.mb-shelf-line label{display:flex;align-items:center;gap:3px;color:#8a97a4;font-size:10px}
.mb-shelf-line input{width:100%;accent-color:#bb8a59;cursor:ns-resize}
.mb-shelf-line output{text-align:right;color:#536779;font-size:10px;font-weight:750}
.mb-bay-rail{display:flex;align-items:center;justify-content:space-between;border-top:1px dashed #e5e7e8;padding-top:12px;margin-top:11px;font-size:11px;font-weight:700;color:#566b7b;cursor:pointer}
.mb-bay-rail span{display:flex;align-items:center;gap:6px}
.mb-bay-rail input{width:17px;height:17px;accent-color:#be8c58;cursor:pointer}
.mb-drag-guide{display:flex;align-items:center;gap:8px;padding:12px;border-radius:9px;background:#eff5fa;color:#55758c;font-size:11px;line-height:1.5;margin-top:14px}
.mb-hardware-list{display:flex;flex-direction:column;gap:7px;border:1px solid #e5e8eb;border-radius:9px;padding:11px;margin-top:13px;font-size:11px;color:#65788a}
.mb-hardware-list strong{color:#314256}
.mb-undo{width:29px;height:34px;justify-content:center!important;padding:0!important;border-radius:7px!important}
.mb-undo:hover:not(:disabled){background:#f4f0e9}
@media(max-width:1420px){.mb-header-right{gap:6px}.mb-settings-tabs{padding:0 13px}.mb-settings-content{padding-left:16px;padding-right:16px}}
@media(max-width:600px){.mb-undo{display:none!important}.mb-templates{grid-template-columns:repeat(3,minmax(0,1fr))}.mb-bay-scale{height:56px}}

/* v1.5: calmer showroom viewport and clear rendering-engine diagnostics. */
.mb-stage{background:radial-gradient(ellipse at 50% 38%,#fafafa 0%,#f3f4f2 56%,#e7e9e6 100%)}
.mb-render-badge{display:inline-flex;align-items:center;gap:6px;color:#697a88;font-weight:800}
.mb-render-badge:before{content:'';width:6px;height:6px;background:#6d9a86;border-radius:50%;box-shadow:0 0 0 3px #6d9a861c}
.mb-three-host canvas{image-rendering:auto;outline:0}
.mb-viewport{overflow:hidden}
@media(max-width:640px){.mb-render-badge{font-size:9px}.mb-stage-badges{display:flex!important;gap:7px}}

/* v2.0: project library, independent front finishes, transparent workshop calculator. */
.mb-report-tabs{gap:10px;padding-left:14px;padding-right:14px}.mb-report-tabs button{font-size:11px;white-space:nowrap}
.mb-quote-panel{padding:14px 0 22px}
.mb-quote-notice{display:flex;align-items:start;gap:8px;font-size:11px;line-height:1.6;border:1px solid #eddec4;border-radius:10px;color:#856b48;background:#fdf8ee;padding:11px}
.mb-quote-fields{display:grid;gap:9px;margin:17px 0}
.mb-quote-fields label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#5d7083;font-weight:750}
.mb-quote-fields label>div{border:1px solid #e2e9ef;border-radius:8px;display:flex;align-items:center;background:#fff;padding-right:8px}
.mb-quote-fields input{width:74px;padding:8px 5px;border:0;text-align:right;outline:none;font-size:12px;font-weight:800;color:#263b4c;min-width:0;background:transparent}
.mb-quote-fields small{font-size:10px;color:#8ea0ae}
.mb-quote-lines{border-top:1px solid #e4e9ed;padding-top:13px;display:grid;gap:10px}
.mb-quote-lines>div{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;font-size:11px}
.mb-quote-lines span{color:#64758a}.mb-quote-lines strong{color:#273c4f;font-size:11px}.mb-quote-lines small{grid-column:1/-1;color:#9da9b2;font-size:10px}
.mb-quote-total{margin-top:18px;padding:17px 13px;display:flex;justify-content:space-between;gap:9px;background:#182a3c;color:#fff;border-radius:11px;align-items:center;flex-wrap:wrap}
.mb-quote-total span{font-size:10px;letter-spacing:.5px}.mb-quote-total strong{font-size:16px}
.mb-quote-export{border:1px solid #e3e8ed;background:#fff;border-radius:9px;padding:12px;width:100%;display:flex;justify-content:center;gap:8px;align-items:center;margin-top:12px;color:#394f65;font-weight:800;font-size:11px}
.mb-project-search{display:flex;align-items:center;gap:8px;padding:0 11px;background:#f6f8f9;border:1px solid #e2e9ee;border-radius:9px;margin-bottom:13px;height:42px;color:#8e9bab}
.mb-project-search input{width:100%;font-size:12px;outline:none;border:0;background:transparent;color:#304257}
.mb-project[hidden]{display:none!important}.mb-project-list{max-height:46vh;overflow-y:auto}.mb-project{flex-wrap:nowrap}
.mb-project button{width:28px;flex-shrink:0}.mb-modal:has(.mb-project-search){max-width:620px}
.mb-modal-actions-spread{flex-wrap:wrap;justify-content:flex-start}.mb-modal-actions-spread .mb-main-btn{margin-left:auto}
.mb-mat-card[data-front-material="same"] .mb-mat-swatch{background:repeating-linear-gradient(45deg,#edf1f3 0 7px,#dfe8ee 8px 14px)}
@media(max-width:480px){.mb-project{gap:5px;padding:8px}.mb-project button{height:28px;width:25px}.mb-project small{font-size:9px}.mb-modal-actions-spread .mb-main-btn{margin-left:0}}

.mb-rail-bottom{display:flex;flex-direction:column;gap:18px;align-items:center}
.mb-rail-cloud{border:0;background:#ffffff13;color:#e4c59f;border-radius:9px;display:grid;place-items:center;width:39px;height:39px}
.mb-cloud-title{font-size:12px;font-weight:800;color:#2f4154;margin:18px 0 9px}
.mb-cloud-actions{display:flex;gap:9px;flex-wrap:wrap}
.mb-auth-toggle{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 18px}
.mb-auth-toggle button{border:1px solid #e4e8eb;background:#f8f9fb;border-radius:9px;padding:10px;color:#708398;font-size:12px;font-weight:800}
.mb-auth-toggle button.active{border-color:#d2a678;background:#fff8ef;color:#955e2f}
.mb-modal:has(#mb-auth-email) .mb-modal-label{margin-top:13px}
.mb-modal:has(#mb-auth-email) .mb-modal-input{margin-bottom:6px}
@media(max-width:1080px){.mb-report-tabs{gap:8px}.mb-report-tabs button{font-size:10px}}

/* v2.5 workshop nesting */
.mb-report-tabs{gap:3px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
.mb-report-tabs button{font-size:10px;padding:10px 3px;min-width:0;white-space:nowrap}
.mb-sheets{padding:1px 0 20px}.mb-sheet-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}
.mb-sheet-inputs>label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#687b8e;font-weight:700}
.mb-sheet-inputs>label>div{display:flex;align-items:center;gap:5px;border:1px solid #e1e6e8;border-radius:9px;padding:4px 7px}
.mb-sheet-inputs input[type=number]{border:0;background:transparent;color:#263646;width:100%;min-width:0;outline:none;font-size:12px;font-weight:750;padding:4px 2px}
.mb-sheet-inputs small{font-size:10px;color:#a1abb5;font-weight:500}
.mb-sheet-inputs .mb-sheet-rotate{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;background:#f8f5ef;padding:9px;border-radius:8px}
.mb-sheet-inputs .mb-sheet-rotate input{accent-color:#ad804a}
.mb-sheet-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:14px 0}
.mb-sheet-totals>div{border:1px solid #e5e8e9;border-radius:9px;padding:11px 4px;text-align:center;display:flex;flex-direction:column;gap:3px}
.mb-sheet-totals strong{font-size:17px;color:#253647}.mb-sheet-totals span{font-size:9px;color:#8494a2}
.mb-sheet-group{border-top:1px solid #e9eced;margin-top:16px;padding-top:10px}
.mb-sheet-group h4{font-size:12px;line-height:1.3;display:flex;justify-content:space-between;gap:6px;color:#253647;margin:6px 0 11px}
.mb-sheet-group h4 small{font-size:10px;color:#8896a2;white-space:nowrap}
.mb-sheet-card{border:1px solid #e9e7e2;border-radius:10px;padding:8px;margin:10px 0;background:#fff}
.mb-sheet-card-title{display:flex;justify-content:space-between;font-size:10px;font-weight:750;color:#536377;margin-bottom:8px}
.mb-sheet-card-title span{color:#9faab3;font-weight:500}.mb-sheet-card svg{width:100%;display:block;border-radius:3px;max-height:220px}
.mb-sheet-warning{color:#aa6e36;background:#fcf5e9;padding:8px;border-radius:8px;font-size:11px;display:flex;gap:5px}
.mb-sheets .mb-quote-export{margin-top:16px;width:100%;}

/* Mebelo 4.0 — technical drawing workspace, consistent with the existing studio */
.mb-report-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
.mb-report-tabs button{font-size:9.5px;letter-spacing:-.12px}
.mb-technical-panel{padding:3px 0 20px;display:flex;flex-direction:column;gap:12px}
.mb-tech-info{display:flex;gap:8px;align-items:center;color:#77889a;font-size:10px;line-height:1.6}
.mb-tech-miniature{border:1px solid #dce5eb;background:#fff;border-radius:12px;padding:8px;width:100%;display:block;box-shadow:0 4px 12px #243b4e09}
.mb-tech-miniature:hover{border-color:#ceaa7c;box-shadow:0 4px 16px #243b4e12}
.mb-tech-miniature svg{width:100%;display:block;max-height:260px}
.mb-tech-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mb-tech-actions button{background:#fff;border:1px solid #dde6ed;color:#354b60;border-radius:9px;padding:10px 6px;font-size:11px;font-weight:800;display:flex;gap:6px;align-items:center;justify-content:center}
.mb-tech-actions button:hover{border-color:#bf9666;background:#fdf7ee}
.mb-tech-subhead{letter-spacing:1.25px;color:#8897a6;font-size:10px;font-weight:900;margin-top:15px}
.mb-tech-hardware{display:grid;border:1px solid #e7edf1;border-radius:10px;overflow:hidden;background:white}
.mb-tech-hardware>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 10px;border-bottom:1px solid #edf1f4;color:#677a8c;font-size:11px}
.mb-tech-hardware>div:last-child{border-bottom:0}
.mb-tech-hardware strong{color:#263a4d;font-size:10px;text-align:right;white-space:nowrap}
.mb-tech-checks{display:grid;gap:7px}
.mb-tech-check{display:flex;gap:10px;border:1px solid #e5eaed;background:#f9fafb;border-radius:10px;padding:11px 10px;color:#8c9eae}
.mb-tech-check.warning{background:#fff7ec;border-color:#f0ddc1;color:#bb8952}
.mb-tech-check.required{background:#f4f7f9;border-color:#dde5ed;color:#59738a}
.mb-tech-check>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.mb-tech-check strong{font-size:11px;color:#304557}
.mb-tech-check small{font-size:10px;line-height:1.5;color:#718598}
.mb-tech-modal-drawing{border:1px solid #e1e7ec;border-radius:12px;background:white;overflow:auto;padding:8px}
.mb-tech-modal-drawing svg{display:block;width:100%;height:auto}
.mb-modal:has(.mb-tech-modal){max-width:min(1120px,95vw);max-height:94dvh;padding:25px 28px}
.mb-tech-modal .mb-modal-icon{height:42px;width:42px;margin-bottom:10px}
.mb-tech-modal h2{font-size:21px}
.mb-tech-modal>p{font-size:12px;color:#7a8d9e;margin:0 0 13px}
.mb-tech-modal-note{font-size:11px;line-height:1.55;color:#8b785c;margin:12px 1px 0}
.mb-tech-modal .mb-modal-actions{margin-top:16px}
.mb-explode-btn{display:flex!important;gap:6px!important;padding:0 11px!important;width:auto!important;min-width:36px;white-space:nowrap;border:1px solid #dbe4eb!important;border-radius:9px!important;background:#fff!important;color:#52677a!important;font-size:11px!important;font-weight:800}
.mb-explode-btn.active{color:#98612f!important;background:#fdf0e2!important;border-color:#dabb98!important}
.mb-explode-btn .mb-symbol{font-size:17px}
.mb-print-drawings{margin:8px 0 16px;page-break-inside:avoid}
.mb-print-drawings svg{width:100%;height:auto;display:block;max-height:168mm}
@media(max-width:1440px){.mb-explode-btn{min-width:34px;padding:0 7px!important}.mb-explode-btn span{display:none}}
@media(max-width:600px){.mb-report-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.mb-report-tabs button{font-size:9px}.mb-modal:has(.mb-tech-modal){padding:18px 12px}.mb-tech-modal-drawing{padding:1px}}
@media print{.mb-print-drawings{break-inside:avoid;page-break-after:always}.mb-print-report{padding:8mm}.mb-print-report table{break-inside:auto}.mb-print-report tr{break-inside:avoid}}

/* Mebelo 5.0 — manufacturing workflow */
.mb-settings-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px!important;overflow:hidden}
.mb-settings-tabs button{min-width:0!important;flex:unset!important;padding:11px 2px!important;font-size:10px!important;white-space:nowrap}
.mb-fab-section{padding:6px 2px 22px;color:#2b3d4c}
.mb-fab-section h3{font-size:19px;font-weight:850;line-height:1.25;margin:8px 0}
.mb-fab-section>p{color:#7b8b99;font-size:11px;line-height:1.7;margin-bottom:14px}
.mb-fab-block{border:1px solid #e2e8ed;border-radius:13px;background:#fff;padding:14px 13px;margin:12px 0;box-shadow:0 2px 13px #182d4207}
.mb-fab-block h4{font-size:12px;font-weight:850;color:#314457;margin:0 0 13px}
.mb-fab-field{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:11px;font-weight:750;color:#4a5e70}
.mb-fab-field>select,.mb-fab-field>div{border:1px solid #dce3e9;border-radius:8px;background:#f9fbfc;padding:9px 10px;font-size:12px;font-weight:700;color:#31495c;min-width:0;width:100%}
.mb-fab-field>div{display:flex;align-items:center;gap:7px}.mb-fab-field input{border:0;background:transparent;width:100%;min-width:0;outline:0;font-weight:800;font-size:13px;color:#34495d}
.mb-fab-field small{font-size:10px;color:#97a4af;font-weight:500}.mb-fab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px}
.mb-fab-advisory{background:#faf5ed;border:1px solid #ecddc7;border-radius:9px;padding:11px;font-size:10px;line-height:1.65;color:#8c6c42;margin-top:10px}
.mb-fab-fit{border:1px solid #dbe6eb;border-radius:10px;background:#f3f8fa;padding:12px;display:flex;flex-direction:column;gap:6px}
.mb-fab-fit strong{font-size:12px;color:#2e5365}.mb-fab-fit small{font-size:10px;line-height:1.5;color:#648295}
.mb-fab-fit.tooLarge,.mb-fab-fit.tight{background:#fff2e5;border-color:#f0d4b7}.mb-fab-fit.tooLarge strong,.mb-fab-fit.tight strong{color:#a2612b}
.mb-fab-fit-list{display:grid;gap:3px;margin-top:10px}.mb-fab-fit-list>div{display:flex;align-items:center;gap:8px;padding:9px 2px;border-bottom:1px solid #edf0f2;font-size:11px;color:#738395}
.mb-fab-fit-list>div strong{margin-left:auto;color:#2b3d4c}.mb-fab-fit-list>div small{font-size:9px;color:#9baab5}
.mb-fab-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mb-fab-stats>div{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 2px;border:1px solid #e8edf0;border-radius:10px}
.mb-fab-stats strong{font-size:17px;color:#223b4f}.mb-fab-stats span{font-size:9px;color:#8f9da9;text-align:center}
.mb-fab-groups{margin-top:9px}.mb-fab-groups>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 2px;border-bottom:1px solid #e9edef;font-size:10px;color:#607487}
.mb-fab-groups strong{white-space:nowrap;color:#354c5c}.mb-fab-secondary{display:block;width:100%;padding:10px;border:1px solid #dce4ea;border-radius:8px;background:#f7f9fa;color:#466078;font-size:11px;font-weight:750;margin-top:9px}
.mb-module-presets{display:flex;gap:4px;flex-wrap:wrap;margin:8px 0 12px}
.mb-module-presets button{padding:8px;border:1px solid #e1e8ea;border-radius:7px;background:#f8fafb;color:#647789;font-size:10px;font-weight:750}
.mb-module-presets button:hover{background:#f5e7d4;color:#80572b;border-color:#d7b58a}
@media(max-width:600px){.mb-fab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-fab-block{padding:12px 9px}.mb-settings-tabs{overscroll-behavior-x:contain}}

/* Mebelo 6.0 — multi-cabinet assembly workspace */
.mb-assembly-toolbar{display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 15px;background:#fbfcfd;border-bottom:1px solid #e5eaed;position:relative;z-index:2}
.mb-assembly-toolbar>span{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;letter-spacing:.09em;color:#73869a}
.mb-assembly-toolbar>span strong{font-weight:850}
.mb-assembly-pills{display:flex;align-items:center;gap:5px;flex:1;overflow-x:auto;scrollbar-width:thin}
.mb-assembly-pills button{border:1px solid #dfe7ed;background:white;border-radius:8px;padding:6px 10px;display:flex;flex-direction:column;align-items:start;gap:3px;font:750 10px system-ui;color:#62778a;white-space:nowrap;min-width:84px}
.mb-assembly-pills button small{font-size:9px;color:#a0acb5;font-weight:500}
.mb-assembly-pills button.active{border-color:#d8ab73;background:#fbf2e4;color:#8d652d;box-shadow:0 1px 4px #c48c3e18}
.mb-assembly-add{border:1px solid #dfc9a8;background:#fffaf4;color:#916d3c;border-radius:9px;font-size:11px;font-weight:750;padding:10px;display:flex;align-items:center;gap:4px;white-space:nowrap}
.mb-assembly-add:disabled{opacity:.45}
.mb-assembly-panel{padding:15px 7px 26px}.mb-assembly-panel h3{font-size:21px;margin:5px 0 7px;font-weight:850;color:#2a3d51}
.mb-assembly-panel>p{color:#81929f;font-size:11px;line-height:1.75;margin:0 0 15px}
.mb-assembly-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:14px}
.mb-assembly-summary>div{display:flex;flex-direction:column;gap:7px;align-items:center;padding:13px 1px;background:#f7f9fa;border:1px solid #e7edef;border-radius:10px}
.mb-assembly-summary strong{font-size:18px;color:#2d4a60}.mb-assembly-summary small{font-size:9px;text-align:center;color:#8295a5}
.mb-assembly-gap{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;color:#526677;font-size:11px;font-weight:750;gap:8px}
.mb-assembly-gap span{display:flex;align-items:center;gap:6px;color:#8294a1}.mb-assembly-gap input{background:#fff;width:66px;padding:7px 5px;border:1px solid #dbe3e8;border-radius:7px;text-align:right;color:#314459}
.mb-assembly-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.mb-assembly-item{border:1px solid #dfe6ec;border-radius:11px;padding:12px 9px;background:#fff}
.mb-assembly-item.selected{border-color:#d2aa77;background:#fffaf3}
.mb-assembly-item-top{display:flex;align-items:center;justify-content:space-between;gap:4px}
.mb-assembly-choose{display:flex;align-items:center;gap:5px;background:none;color:#435c70;border:0;padding:4px;font-size:11px;min-width:0}
.mb-assembly-choose strong{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mb-assembly-choose i{font-style:normal;font-size:8px;background:#e7d6bb;color:#87602b;padding:4px;border-radius:5px}
.mb-assembly-item-top>div{display:flex;gap:1px}.mb-assembly-item-top>div button{display:grid;place-items:center;border:0;background:transparent;color:#8796a0;padding:5px;border-radius:6px}
.mb-assembly-item-top>div button:hover{background:#f1f4f7}.mb-assembly-item-top>div button:disabled{opacity:.28}
.mb-assembly-item p{font-size:10px!important;color:#8696a2!important;margin:8px 3px 0!important}
.mb-assembly-primary,.mb-assembly-secondary{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;width:100%;padding:12px;font:750 12px system-ui;cursor:pointer}
.mb-assembly-primary{background:#d2a25e;color:#202d3b;border:1px solid #d2a25e}.mb-assembly-secondary{margin-top:9px;color:#486073;border:1px solid #dfe6ec;background:#fff}
.mb-assembly-note{margin-top:15px!important;font-size:10px!important;color:#9c8b72!important;border-top:1px solid #e5e8ed;padding-top:13px}
@media(max-width:1160px){.mb-assembly-toolbar{gap:6px}.mb-assembly-toolbar>span strong{display:none}.mb-assembly-add{font-size:0}.mb-assembly-add .mb-g-icon{font-size:14px}}
@media(max-width:750px){.mb-assembly-toolbar{padding:6px 9px;min-height:50px}.mb-assembly-toolbar>span{display:none}.mb-assembly-pills button{min-width:72px;padding:6px}}

.mb-assembly-label{display:flex;flex-direction:column;gap:6px;color:#536879;font-size:11px;font-weight:750;margin:8px 0 14px}
.mb-assembly-label input{background:#fff;color:#344e61;border:1px solid #dce5eb;border-radius:8px;padding:10px;font-size:12px}
.mb-assembly-report-hint{padding:9px 14px;display:flex;align-items:center;gap:6px;border-bottom:1px solid #eee4d7;color:#93703e;background:#fcf7f0;font-size:10px;line-height:1.4}

/* v6.0.1: Mobile authentication must remain visible (sidebar and desktop header icons are hidden). */
.mb-mobile-account{display:none}
@media(max-width:800px){
  .mb-header-right .mb-save-btn{display:none}
  .mb-header-right .mb-mobile-account{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:7px 12px;border:1px solid #e2dfd7;border-radius:10px;background:#fff8ef;color:#805a36;font-size:12px;font-weight:800;white-space:nowrap;flex-shrink:0}
  .mb-header-right .mb-mobile-account:hover{background:#f9eddd;border-color:#cda978}
  .mb-header-right .mb-mobile-account .mb-symbol{font-size:20px;color:inherit}
  .mb-header-right{flex-shrink:0}
  .mb-header-left{min-width:0}
  .mb-brand small{display:none}
}
@media(max-width:355px){
  .mb-header{padding-left:10px;padding-right:10px}
  .mb-header-right .mb-mobile-account{padding:7px 9px;gap:4px}
  .mb-brand{font-size:20px}
}
@media print{.mb-mobile-account{display:none!important}}

/* Mebelo 7.0 — 2D architectural layout workspace */
.mb-plan-toggle{background:#fff;border:1px solid #d9e2e8;color:#526b7d;border-radius:10px;display:flex;align-items:center;gap:6px;font:750 11px system-ui;padding:10px 11px;white-space:nowrap;cursor:pointer}
.mb-plan-toggle.active{background:#e9f4f3;border-color:#78ada8;color:#1d6864}
.mb-plan-active{background:#eff2f3!important}
.mb-plan-active .mb-three-host,.mb-plan-active .mb-canvas,.mb-plan-active .mb-grid-bg,.mb-plan-active .mb-column-selection,.mb-plan-active .mb-dims-float{display:none!important}
.mb-room-plan{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;padding:28px 32px;gap:13px;min-height:0;align-items:center;justify-content:center;background:radial-gradient(circle at 40% 30%,#fff 0%,#f1f4f4 75%)}
.mb-plan-top,.mb-plan-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:920px;gap:12px;color:#687d89;font:650 11px system-ui}
.mb-plan-top span,.mb-plan-bottom span{display:flex;align-items:center;gap:5px}.mb-plan-top strong{color:#30475b}
.mb-room-svg{width:100%;max-width:920px;height:min(65vh,600px);max-height:100%;border:10px solid #edf0f0;border-radius:12px;box-shadow:0 18px 50px rgba(46,68,80,.12);background:#fbfaf8;touch-action:none;user-select:none}
.mb-plan-module{cursor:grab;outline:none;touch-action:none}.mb-plan-module rect:first-child{stroke:#657c85;stroke-width:7;filter:drop-shadow(8px 12px 8px #31455830)}
.mb-plan-module.is-active rect:first-child{stroke:#b77631;stroke-width:13}.mb-plan-module.is-dragging{cursor:grabbing;opacity:.85}.mb-plan-module.is-overlap rect:first-child{stroke:#be5a48}
.mb-plan-module text{pointer-events:none;user-select:none}
.mb-room-settings{padding:14px 7px 25px}.mb-room-settings h3{font-size:21px;font-weight:850;color:#2e4457;margin:6px 0}.mb-room-settings>p{font-size:11px;line-height:1.65;color:#8b98a4;margin:0 0 15px}
.mb-room-edit-fields{display:grid;gap:8px}.mb-room-edit-fields label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#f8fafb;border-radius:9px;font:700 11px system-ui;color:#526679}
.mb-room-edit-fields label>span{display:flex;align-items:center;gap:5px}.mb-room-edit-fields input,.mb-room-edit-fields select{width:91px;padding:8px 7px;border:1px solid #d9e2e7;border-radius:7px;text-align:right;color:#24465a;background:#fff;font:650 11px system-ui}
.mb-room-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.mb-room-actions button{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 8px;border:1px solid #dbe5eb;border-radius:9px;background:#fff;font:750 10px system-ui;color:#52677c;cursor:pointer}
.mb-room-actions button:first-child{background:#20394e;color:white;border-color:#20394e}
.mb-room-stats{display:flex;align-items:center;gap:7px;margin-bottom:9px;font:650 10px system-ui;color:#8294a0}.mb-room-stats span{border-radius:6px;background:#f2f5f7;padding:6px 8px}
.mb-room-module-list{display:flex;flex-direction:column;gap:6px}.mb-room-module-list button{display:flex;align-items:center;justify-content:space-between;gap:6px;background:white;border:1px solid #e1e7ec;border-radius:9px;padding:11px;cursor:pointer;text-align:left}
.mb-room-module-list button.active{background:#fff7ec;border-color:#d8b37e}.mb-room-module-list button span{display:flex;align-items:center;gap:6px;color:#415c6f;font:750 11px system-ui}.mb-room-module-list button small{font:500 10px system-ui;color:#8293a1}
.mb-room-ok,.mb-room-warnings{margin-top:14px;border-radius:9px;padding:12px;font:650 11px system-ui}.mb-room-ok{display:flex;gap:7px;background:#edf7f3;color:#397b66}.mb-room-warnings{background:#fff3ed;color:#9b5243}.mb-room-warnings p{display:flex;align-items:flex-start;gap:5px;line-height:1.5;margin:4px 0}
@media(max-width:1050px){.mb-room-plan{padding:18px}.mb-plan-toggle span{display:none}}
@media(max-width:700px){.mb-room-plan{padding:11px}.mb-room-svg{height:auto;max-height:70vh;min-height:220px;border-width:4px}.mb-plan-top,.mb-plan-bottom{font-size:9px}.mb-plan-top strong{font-size:10px}.mb-room-module-list button{flex-wrap:wrap}.mb-plan-toggle{padding:8px}}
/* V7 final toolbar / tab spacing, avoids crowding the 3D controls on desktops. */
.mb-stage-top{flex-wrap:wrap!important;gap:10px!important}
.mb-stage-top .mb-stage-title{flex:1 1 100%;max-width:none}
.mb-stage-top .mb-stage-controls{width:100%;justify-content:flex-start;gap:7px}
.mb-stage-controls .mb-plan-toggle{width:auto!important;min-width:95px!important;height:35px!important;flex:0 0 auto}
.mb-settings-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:700px){.mb-stage-controls .mb-plan-toggle{min-width:34px!important;width:34px!important}.mb-room-plan{padding:10px}}

/* v8.0 architectural room design */
.mb-plan-wall{fill:#637889;pointer-events:none}
.mb-plan-opening{cursor:ew-resize;touch-action:none;outline:none}
.mb-plan-opening.is-selected .mb-arch-hit{stroke:#d49a56;stroke-width:12}
.mb-arch-glass{fill:#bee6f4;stroke:#468ba8;stroke-width:9}
.mb-arch-door-leaf{stroke:#be8953;stroke-linecap:round}
.mb-arch-door-swing{fill:none;stroke:#bd9263;stroke-width:9;stroke-dasharray:22 12}
.mb-arch-label{font-size:42px;font-weight:850;fill:#4d6779;pointer-events:none}
.mb-plan-opening.is-dragging{opacity:.75}
.mb-architecture-panel{margin:14px 0;padding:14px;background:#fff;border:1px solid #e1e7ec;border-radius:13px}
.mb-arch-title{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px}
.mb-arch-title span{font-size:9px;color:#a47e4b;letter-spacing:.08em;font-weight:800}
.mb-arch-title h4{font-size:15px;color:#34485a;font-weight:850;margin:5px 0 0}
.mb-arch-title h4 small{color:#8b99a5;font-size:10px}
.mb-arch-swatch{background:#f6f1e7;border-radius:10px;color:#b58b53;padding:10px}
.mb-arch-add{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:11px}
.mb-arch-add button{border:1px solid #e0e7eb;background:#f8fafb;padding:11px 4px;border-radius:9px;font:750 11px system-ui;color:#455d6d;display:flex;justify-content:center;gap:6px;align-items:center;cursor:pointer}
.mb-arch-add button:hover{background:#f8efe2;border-color:#d3b68f}.mb-arch-add button:disabled{opacity:.35}
.mb-arch-empty{font:550 10px/1.5 system-ui;color:#8b9ba4;text-align:center;padding:8px}
.mb-arch-list{max-height:190px;overflow:auto;display:flex;flex-direction:column;gap:5px}
.mb-arch-list button{width:100%;padding:8px;border:1px solid #e7edf1;background:white;border-radius:9px;display:flex;align-items:center;gap:9px;text-align:left;color:#516679;cursor:pointer}
.mb-arch-list button.active{border-color:#d0a671;background:#fbf5ec;color:#91663b}
.mb-arch-list button>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.mb-arch-list strong{font-size:11px}.mb-arch-list small{font-size:10px;color:#8697a4}
.mb-arch-editor{margin-top:10px;border-top:1px solid #e9ecef;padding-top:10px;display:grid;gap:7px}
.mb-arch-selected{display:flex;justify-content:space-between;align-items:center;color:#3e5568;font-size:11px;margin-bottom:5px}
.mb-arch-selected button{border:0;background:#fff0ef;border-radius:7px;color:#b45e58;padding:6px;cursor:pointer}
.mb-arch-editor label{display:flex;align-items:center;justify-content:space-between;gap:6px;font:650 10px system-ui;color:#506878}
.mb-arch-editor label>span{display:flex;align-items:center;gap:4px}
.mb-arch-editor input,.mb-arch-editor select{width:103px;max-width:48%;min-width:0;border:1px solid #d8e3e9;border-radius:7px;background:#fff;padding:8px;text-align:right;font:650 11px system-ui;color:#284a5c}
.mb-arch-editor .mb-arch-nudge{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:4px}
.mb-arch-nudge button{background:#faf8f4;border:1px solid #eee2d4;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px;color:#805f3b;font:750 10px system-ui}
.mb-room-stats{flex-wrap:wrap}.mb-room-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.mb-room-plan .mb-plan-top{flex-wrap:wrap}
@media(max-width:700px){.mb-architecture-panel{padding:11px}.mb-room-plan .mb-plan-bottom{align-items:start}.mb-plan-opening .mb-arch-label{font-size:55px}.mb-room-actions button{font-size:9px}}

/* Mebelo v9.0: 3D interior controls and finishes */
.mb-room3d-toggle,.mb-room-mode-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid #d6dfe5;border-radius:11px;padding:9px 12px;color:#364657;font:700 12px inherit;cursor:pointer;white-space:nowrap;transition:background .16s,box-shadow .16s}
.mb-room3d-toggle{background:#2f4858;color:#fff;border-color:#2f4858}
.mb-room3d-toggle.active{background:#e8b97e;border-color:#d9aa6b;color:#273646}
.mb-room-mode-btn.active{background:#f6e8d3;border-color:#d6b48d;color:#564126}
.mb-interior-options{margin:15px 0;padding:16px;border:1px solid #e3ddd4;border-radius:16px;background:linear-gradient(140deg,#f6f3ed,#fffcf8)}
.mb-interior-options p{font-size:12px;color:#6a7580;margin:7px 0 14px;line-height:1.55}
.mb-interior-options label{font-weight:650;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}
.mb-interior-options select{border:1px solid #e0dfdc;background:white;border-radius:9px;padding:7px;font:inherit;min-width:138px;max-width:62%}
.mb-interior-primary{background:#233f52;color:#fff;border:0;border-radius:10px;padding:11px 14px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:750;cursor:pointer;margin-top:12px}
@media(max-width:900px){.mb-room-mode-btn span,.mb-room3d-toggle span{display:none}.mb-room-mode-btn,.mb-room3d-toggle{padding:8px}.mb-room-mode-btn .mb-g-icon,.mb-room3d-toggle .mb-g-icon{min-width:18px}}
/* V9 controls override legacy icon-only button sizing. */
.mb-stage-controls .mb-room3d-toggle,.mb-stage-controls .mb-room-mode-btn{display:inline-flex!important;width:auto!important;min-width:35px!important;height:35px!important;padding:7px 10px!important;flex:0 0 auto;gap:6px!important;font-family:inherit;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;box-shadow:0 2px 7px rgba(49,72,88,.07)!important}
.mb-stage-controls .mb-room3d-toggle{background:#243f50!important;color:#fff!important;border-color:#243f50!important}
.mb-stage-controls .mb-room3d-toggle.active{background:#e9c18a!important;color:#28394b!important;border-color:#d8aa73!important}
.mb-stage-controls .mb-room-mode-btn.active{background:#faedd9!important;color:#6d4c2c!important;border-color:#e2c396!important}
.mb-stage-top{flex-wrap:wrap;gap:10px}.mb-stage-top .mb-stage-title{flex:1 1 100%}.mb-stage-top .mb-stage-controls{display:flex;flex-wrap:wrap;width:100%;justify-content:flex-start;gap:6px}
.mb-stage-controls .mb-view-switch{margin-right:2px!important}
@media (max-width:800px){.mb-stage-controls .mb-room3d-toggle,.mb-stage-controls .mb-room-mode-btn{width:35px!important;padding:6px!important}.mb-stage-controls .mb-room3d-toggle span:not(.mb-g-icon),.mb-stage-controls .mb-room-mode-btn span:not(.mb-g-icon){display:none}}

.mb-room-rotate{display:flex;flex-direction:column;gap:8px;background:#f5f8f8;border:1px solid #e2e7ea;border-radius:12px;margin:10px 0 12px;padding:12px}.mb-room-rotate>span{font-size:11px;font-weight:800;color:#657689}.mb-room-rotate>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.mb-room-rotate button{border:1px solid #d9e1e5;background:#fff;color:#40546a;padding:7px;border-radius:9px;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800}.mb-room-rotate strong{font-size:14px;color:#374c61}

/* v9.1: cabinet height and wall-mount elevation workspace */
.mb-room-elevation{margin:14px 0 12px;border:1px solid #d9e5ed;background:linear-gradient(155deg,#fff 0%,#f6fafc 100%);border-radius:14px;padding:15px;box-shadow:0 7px 22px rgba(30,55,80,.045)}
.mb-room-elevation h4{font-size:15px;font-weight:850;margin:7px 0 4px;color:#253e53}
.mb-room-elevation>p{margin:4px 0 13px;color:#748696;font-size:11px;line-height:1.55}
.mb-elev-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font-size:11px;font-weight:750;color:#465d70}
.mb-elev-row span{display:flex;align-items:center;gap:5px;flex-shrink:0}
.mb-elev-row input{width:89px;min-width:0;border:1px solid #cfdde6;border-radius:9px;padding:8px;text-align:right;background:#fff;color:#203b51;font:700 12px system-ui}
.mb-elev-slider{width:100%;accent-color:#c79b5f;cursor:pointer;margin:14px 0 8px}
.mb-elev-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}
.mb-elev-actions button{display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid #d9e5e9;background:#fff;border-radius:8px;color:#466075;padding:9px 3px;cursor:pointer;font-size:10px;font-weight:750}
.mb-elev-actions button:nth-child(2){background:#223f55;color:#fff;border-color:#223f55}
.mb-elev-actions button:hover{border-color:#c79b5f}
.mb-elev-summary{margin-top:12px;padding:10px 11px;border-radius:9px;background:#eef3f5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;text-align:center}
.mb-elev-summary span{display:flex;flex-direction:column;gap:4px;font-size:9px;color:#738a99}
.mb-elev-summary b{font-size:12px;color:#27465d}
.mb-room-elevation .mb-elev-note{margin:10px 0 0;color:#7f8995;font-size:10px}
@media(max-width:700px){.mb-room-elevation{padding:12px}.mb-elev-summary{gap:3px}.mb-elev-actions button{font-size:9px}}

/* v9.2 floor, adjustable-leg and wall mounting */
.mb-support-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}
.mb-support-picker button{border:1px solid #d5e0e8;border-radius:9px;background:#fff;color:#4c6476;padding:10px 5px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:800;cursor:pointer}
.mb-support-picker button.selected{border-color:#b99365;background:#fff7eb;color:#7e5630;box-shadow:inset 0 0 0 1px #b99365}
.mb-leg-controls{background:#f7fafc;border:1px solid #dae5ea;border-radius:11px;padding:11px;margin:9px 0 13px}
.mb-leg-controls select{border:1px solid #d2dfe5;color:#294455;background:#fff;border-radius:8px;padding:8px;max-width:160px;font-weight:700;font-size:11px}
.mb-leg-export{background:#284559;color:#fff;border:0;border-radius:9px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;font-size:11px;font-weight:800;cursor:pointer}
.mb-elev-row input:focus,.mb-leg-controls select:focus{outline:2px solid #c6a273;outline-offset:1px}
@media(max-width:450px){.mb-support-picker button{font-size:10px;gap:3px;padding:9px 2px}.mb-support-picker .mb-icon{font-size:15px}}

/* v10 kitchen system: substantial configuration panel, responsive controls */
.mb-k10{padding:18px 0 22px;color:#344b5e}.mb-k10 h3{font-size:19px;letter-spacing:-.5px;margin:7px 0 9px}.mb-k10>p{font-size:11px;line-height:1.65;color:#788a9a;margin:0 0 15px}
.mb-k10-selected{display:flex;align-items:center;gap:9px;background:#f5f7f8;border:1px solid #e4eaf0;border-radius:10px;padding:12px;font-size:11px;margin:11px 0}.mb-k10-selected strong{color:#1e354a}
.mb-k10-presets{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0 16px}.mb-k10-presets button{background:#20374c;color:#fff;border:0;border-radius:10px;padding:10px 6px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:800;min-width:0}
.mb-k10-block{border:1px solid #dfe7ed;border-radius:13px;background:#fcfdfd;padding:14px 12px;margin-bottom:11px}.mb-k10-block h4{margin:0 0 12px;display:flex;align-items:center;gap:7px;font-size:12px;color:#263e52}.mb-k10-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:11px 0;font-size:11px;font-weight:650;color:#567083}.mb-k10-row>span:last-child{white-space:nowrap;display:flex;align-items:center;gap:4px}.mb-k10-row input{width:76px;text-align:right}.mb-k10-row input,.mb-k10-row select{background:#fff;border:1px solid #d6e0e7;border-radius:8px;padding:8px 6px;color:#27445b;max-width:146px;font-size:11px}.mb-k10-row select{max-width:154px}
.mb-k10-toggle{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;padding:6px 0 10px}.mb-k10-toggle span{display:flex;flex-direction:column;gap:4px;max-width:210px}.mb-k10-toggle small{font-size:10px;color:#8a9aa7;line-height:1.4}.mb-k10-toggle input{width:18px;height:18px;accent-color:#bf8a52;flex-shrink:0}
.mb-k10-total{background:#f1f5f8;border:1px solid #e0eaf0;padding:12px;border-radius:10px;display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px}.mb-k10-total strong{font-size:15px;color:#243d51;white-space:nowrap}
.mb-k10-export{width:100%;display:flex;justify-content:center;gap:8px;align-items:center;padding:12px;border:0;background:#c18e57;color:#172d40;border-radius:10px;font-size:11px;font-weight:850;margin:12px 0}
.mb-k10-warnings{padding:10px 12px;background:#fff4e7;border-radius:10px;font-size:10px;color:#966039;margin-bottom:13px}.mb-k10-warnings p{margin:5px 0;display:flex;gap:7px;align-items:start}.mb-k10-ok{padding:12px;color:#47846d;background:#edf7f0;border-radius:9px;font-size:11px;margin-bottom:12px;display:flex;align-items:center;gap:7px}
@media(max-width:1050px){.mb-k10-presets button{font-size:10px}.mb-k10-row input{max-width:70px}}

/* v11 complete kitchen planner */
.mb-k11 .mb-k11-hint{font-size:10px;line-height:1.5;color:#8796a3;margin:8px 0 0}
.mb-k11-top-plan{margin:12px 0 4px;padding:10px;border:1px solid #e3d4c2;border-radius:12px;background:#fbf9f6}
.mb-k11-plan-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px;color:#36495b;font-size:11px}
.mb-k11-plan-head span{font-size:10px;color:#7b8186;white-space:nowrap}
.mb-k11-top-svg{width:100%;height:auto;max-height:195px;border-radius:6px;display:block}
.mb-k11-top-plan>small{display:block;margin-top:8px;font-size:10px;color:#8791a1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.mb-k11-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:11px 0}
.mb-k11-stats span{padding:9px 4px;background:#f4f6f8;border:1px solid #e3e8ed;border-radius:9px;text-align:center;color:#607789;font-size:10px}
.mb-k11-stats b{font-size:15px;color:#2a4053;display:block}
.mb-k11-secondary{border:1px solid #cbd7e1;border-radius:10px;width:100%;background:#fff;color:#335063;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px;font-size:11px;font-weight:750;margin-bottom:15px}
@media (max-width:600px){.mb-k11 .mb-k10-row{font-size:11px}.mb-k11 .mb-k10-block{margin-bottom:10px}}

/* v11.1: cutout drag & in-context fabrication feedback */
.mb-k11-drag-handle{cursor:grab;outline:0;touch-action:none}.mb-k11-drag-handle:focus-visible rect{stroke:#214968;stroke-width:5}.mb-k11-drag-handle.is-dragging{cursor:grabbing}
.mb-k111-position{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px;margin:12px 0 8px;border:1px solid #e2e9ee;background:#f8fafb;border-radius:10px}
.mb-k111-position>div{flex:1 1 100%;display:flex;justify-content:space-between;gap:6px;color:#315167;font-size:11px}.mb-k111-position>div span{color:#7f91a0;font-size:10px}
.mb-k111-position button{flex:1;background:#fff;color:#486579;border:1px solid #d2dfe8;border-radius:8px;font-size:10px;font-weight:800;padding:9px 5px;cursor:pointer}
.mb-k111-position button:hover{background:#eef6fa;border-color:#9fb7c7}.mb-k111-cutout-errors,.mb-k111-appliance-review{background:#fff6ed;border:1px solid #f2e1c9;color:#83532f;padding:10px 12px;border-radius:10px;margin:9px 0;font-size:10px;line-height:1.5}
.mb-k111-cutout-errors p,.mb-k111-appliance-review p{margin:4px 0}.mb-k11-top-svg{cursor:default;overflow:hidden;user-select:none}

/* Mebelo Studio v13 — kitchen assembly, appliance niche and joint planner */
.mb-v13-preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 12px}
.mb-v13-preset-grid button{border:1px solid #dedad2;border-radius:10px;background:#fff;color:#263544;padding:10px 8px;text-align:left;display:flex;align-items:center;gap:8px;font:600 12px/1.3 inherit;cursor:pointer;min-height:44px;transition:background .2s,border-color .2s}
.mb-v13-preset-grid button:hover{border-color:#cca263;background:#fffaf2}
.mb-v13-fit{margin:10px 0;border:1px solid #e6d9bd;border-radius:11px;background:#fff8ed;padding:12px 13px;display:flex;flex-direction:column;gap:5px;color:#744e1d;font-size:12px}
.mb-v13-fit.is-ok{background:#ecf8ef;border-color:#a4d1ae;color:#255f3b}
.mb-v13-fit b{font-size:13px}.mb-v13-zone{border:1px solid #e2d9c8!important;background:linear-gradient(140deg,#faf8f4,#fff)!important}
.mb-v13-zone h4{color:#5e472b}
@media(max-width:550px){.mb-v13-preset-grid button{font-size:12px;min-height:45px;padding:9px 7px}.mb-v13-preset-grid{gap:6px}}

/* v14 Professional CAD — contextual edit and fabrication review */
.mb-cad-mode{white-space:nowrap;border-color:#c8ae83!important;background:#faf6ee!important;color:#765026!important;}
.mb-cad-mode.active{background:#213a4c!important;border-color:#213a4c!important;color:#fff!important;box-shadow:0 4px 16px rgba(20,45,61,.2)}
.mb-cad-inspector{border:1px solid #d9d3c5;border-radius:16px;margin:8px 9px 18px;padding:17px 14px;background:linear-gradient(145deg,#fffdf9,#f5f4ef);box-shadow:0 6px 22px rgba(32,40,42,.06)}
.mb-cad-inspector-head{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-bottom:14px}.mb-cad-inspector-head h3{font-size:17px;margin:6px 0}.mb-cad-inspector-head small{color:#717d83;font-size:11px}.mb-cad-inspector-head button{border:1px solid #dedacf;background:white;border-radius:10px;padding:6px;cursor:pointer}
.mb-cad-empty p,.mb-cad-audit p{color:#71808b;font-size:12px;line-height:1.65}.mb-cad-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mb-cad-fields label{color:#596773;font-size:11px;font-weight:600;display:flex;flex-direction:column;gap:6px}.mb-cad-fields input{width:100%;min-width:0;background:#fff;border:1px solid #d6dce0;border-radius:9px;padding:9px 8px;font-weight:700;color:#233746;font-size:13px;font-variant-numeric:tabular-nums}.mb-cad-fields input:focus{outline:2px solid #cca367;outline-offset:1px}.mb-cad-front-choice{margin-top:16px}.mb-cad-front-choice small{color:#5e6a73;font-weight:700}.mb-cad-front-choice>div{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.mb-cad-front-choice button{font-size:11px;border:1px solid #d8ddd9;background:#fff;border-radius:9px;padding:8px 9px;cursor:pointer}.mb-cad-front-choice button.active{background:#22374b;color:#fff;border-color:#22374b}.mb-cad-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.mb-cad-tools button,.mb-cad-export{display:inline-flex;align-items:center;gap:5px;padding:9px 12px;border:1px solid #d6dbdf;border-radius:9px;background:#fff;font-size:12px;font-weight:700;color:#283c4b;cursor:pointer}.mb-cad-tools button:hover,.mb-cad-export:hover{border-color:#c59a5d;background:#faf4ea}
.mb-cad-audit{padding:18px 16px}.mb-cad-audit h3{margin:8px 0;font-size:19px}.mb-cad-audit-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 10px}.mb-cad-audit-stats>div{border:1px solid #dedfe0;border-radius:12px;background:#fbfcfd;padding:14px 6px;text-align:center}.mb-cad-audit-stats strong{display:block;font-size:23px;color:#203847}.mb-cad-audit-stats span{font-size:11px;color:#73818c}.mb-cad-audit-counts{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 16px}.mb-cad-audit-counts span{padding:6px 8px;background:#f4f0e9;border-radius:7px;font-size:11px;font-weight:700}.mb-cad-audit-items{max-height:400px;overflow:auto}.mb-cad-audit-items article{padding:10px 12px;margin:8px 0;border-radius:10px;border-left:3px solid #d69a47;background:#fcf7ee}.mb-cad-audit-items article strong{font-size:12px;color:#32485a}.mb-cad-audit-items article p{margin:5px 0 0}.mb-cad-audit-items article.mb-cad-audit-error{border-left-color:#d34f4f;background:#fff0f0}.mb-cad-audit-items article.mb-cad-audit-info{border-left-color:#83a4b3;background:#f3f9fb}.mb-cad-export{margin:16px 0;background:#203d4f;color:#fff}.mb-cad-advisory{font-size:11px;line-height:1.55;color:#815c2a;background:#fbf5e9;border:1px solid #efdfc0;padding:12px;border-radius:10px}
.mb-settings-tabs{scrollbar-width:thin}.mb-settings-tabs button[data-tab="audit"]{min-width:65px}
@media (max-width:720px){.mb-cad-mode span:not(.mb-g-icon):not(.material-symbols-rounded):not(.mb-symbol){display:none}.mb-cad-inspector{margin:4px 5px 14px}.mb-cad-fields{gap:8px}.mb-cad-audit{padding:15px 11px}}

/* v15 — Consumer Studio. Default product journey is deliberately nontechnical.
   Every original professional control is still available in Advanced mode. */
.mb-mode-switch{display:inline-flex;align-items:center;gap:7px;border:1px solid #decbb6;background:#fffaf2;color:#6d4c32;min-height:35px;border-radius:11px;padding:6px 12px;font-size:12px;font-weight:800;white-space:nowrap}
.mb-mode-switch:hover{background:#f8eedf;border-color:#cba879}
.mb-consumer-mode{--accent:#c29162;background:#f3f2ef}
.mb-consumer-mode .mb-main{grid-template-columns:minmax(340px,385px) minmax(0,1fr)!important}
.mb-consumer-mode .mb-report{display:none!important}
.mb-consumer-mode .mb-settings{background:#fbfaf8;border-right:1px solid #e9e4de}
.mb-consumer-mode .mb-viewport{background:linear-gradient(135deg,#f8f7f3,#e9ece9)}
.mb-consumer-mode .mb-stage{background:linear-gradient(135deg,#f8f8f5,#eef0eb)}
.mb-consumer-mode .mb-header{border-bottom:1px solid #ece7e0}
.mb-consumer-intro{padding:27px 24px 13px;background:linear-gradient(130deg,#fffbf5,#fbfaf8 75%)}
.mb-consumer-eyebrow{font-size:10px;color:#b18a5c;font-weight:850;letter-spacing:1.2px}
.mb-consumer-intro h2{font-size:24px;line-height:1.15;letter-spacing:-1.15px;color:#24313e;margin:10px 0 8px;font-weight:850}
.mb-consumer-intro p{font-size:12px;color:#7e898f;line-height:1.55;margin:0}
.mb-consumer-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:12px 15px 14px;border-bottom:1px solid #eee8df;background:#fbfaf8}
.mb-consumer-steps button{display:flex;flex-direction:column;align-items:center;gap:6px;background:transparent;border:0;border-radius:10px;padding:8px 0 6px;color:#829099;font-size:10.5px;font-weight:750;min-width:0}
.mb-consumer-steps button .mb-consumer-step-num{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#ebe9e5;color:#879198;font-weight:900;font-size:11px}
.mb-consumer-steps button.active{color:#845b35;background:#f6ede2}
.mb-consumer-steps button.active .mb-consumer-step-num{background:#c5925e;color:white;box-shadow:0 4px 11px #b9874f33}
.mb-consumer-steps button:hover{color:#76502e;background:#f7f2ea}
.mb-consumer-mode .mb-consumer-content{padding:19px 21px 22px;scrollbar-width:thin;scrollbar-color:#e1d9ce transparent}
.mb-consumer-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.mb-consumer-step-icon{display:grid;place-items:center;width:45px;height:45px;background:#f4e8d8;border:1px solid #edd8bb;color:#986c3e;border-radius:14px;flex-shrink:0}
.mb-consumer-section-heading div{min-width:0}.mb-consumer-section-heading div>span{font-size:9px;letter-spacing:1px;font-weight:850;color:#b99a79}
.mb-consumer-section-heading h3{font-size:17px;letter-spacing:-.4px;color:#2a353e;margin:3px 0;font-weight:850;line-height:1.2}
.mb-consumer-note{font-size:12px;line-height:1.55;color:#77858e;margin:0 0 15px}
.mb-consumer-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mb-consumer-tile{position:relative;display:flex;flex-direction:column;gap:3px;text-align:left;min-width:0;padding:10px 10px 12px;border-radius:15px;background:white;border:1.5px solid #e9e5e0;color:#2c3944;box-shadow:0 5px 13px #2f394207;transition:transform .17s,box-shadow .17s,border-color .17s}
.mb-consumer-tile:hover{transform:translateY(-2px);border-color:#d3ac7a;box-shadow:0 12px 24px #735c4124}
.mb-consumer-tile.selected{border-color:#bc905f;box-shadow:0 0 0 3px #d8ad7922}
.mb-consumer-tile-title{display:flex;gap:5px;align-items:center;font-weight:850;font-size:13px}
.mb-consumer-tile small{font-size:11px;color:#94a0a5}
.mb-consumer-miniature{height:109px;width:100%;display:flex;justify-content:center;align-items:end;border-radius:10px;background:linear-gradient(135deg,#f1ede7,#e9ece9);overflow:hidden;margin-bottom:6px;padding-top:8px}
.mb-mini-cabinet{display:flex;position:relative;width:64%;height:87%;border:5px solid #b39a7e;border-bottom-width:7px;background:#d3baa0;box-shadow:12px 8px 10px #31302c1b;gap:3px}
.mb-mini-cabinet i{display:block;flex:1;background:linear-gradient(90deg,#f4ebdd,#e8ddcd);border:1px solid #c8b6a0;position:relative}
.mb-mini-cabinet i:after{content:'';position:absolute;width:2px;height:18px;top:40%;right:4px;background:#9f9a91;border-radius:2px}
.mb-mini-bookcase,.mb-mini-tv{background:linear-gradient(135deg,#f5f1e6,#e6eced)}
.mb-mini-bookcase .mb-mini-cabinet{width:72%;height:80%;gap:3px;background:#c29a6d}
.mb-mini-bookcase .mb-mini-cabinet i{background:repeating-linear-gradient(180deg,#eee1cb 0,#eee1cb 18px,#bb9069 19px,#bb9069 23px)}
.mb-mini-bookcase .mb-mini-cabinet i:after{display:none}
.mb-mini-console .mb-mini-cabinet{height:48%;width:78%}.mb-mini-console .mb-mini-cabinet:after{content:'';height:10px;width:4px;background:#655a4b;position:absolute;bottom:-17px;left:12px;box-shadow:76px 0 #655a4b}
.mb-mini-tv .mb-mini-cabinet{height:36%;width:89%;border-color:#9f8b74}.mb-mini-tv .mb-mini-cabinet:before{content:'';position:absolute;bottom:calc(100% + 22px);left:22%;width:56%;height:36px;border:4px solid #222d38;background:#313e47;border-radius:3px}
.mb-mini-kitchen .mb-mini-cabinet{height:56%;width:82%;border-top:8px solid #605d59;background:#f3ece4}.mb-mini-kitchen .mb-mini-cabinet:after{content:'';position:absolute;bottom:-14px;left:0;right:0;height:7px;background:#5c5e5f}
.mb-consumer-tip{display:flex;align-items:flex-start;gap:8px;margin-top:18px;padding:12px;background:#f6f1e9;border:1px solid #eee2d2;color:#806e5a;border-radius:12px;font-size:11.5px;line-height:1.5}
.mb-consumer-tip .mb-g-icon{margin-top:1px;color:#a27745}
.mb-consumer-simple-block{padding:14px 0 16px;border-bottom:1px solid #ebe7e1}
.mb-consumer-simple-block h4{margin:0 0 13px;font-size:13px;color:#35434e;letter-spacing:-.1px}
.mb-consumer-simple-block p{margin:0 0 10px}
.mb-consumer-dimension-cards .mb-control{margin-bottom:14px}
.mb-consumer-mode .mb-consumer-content .mb-control{border:1px solid #ebe5dc;background:#fff;border-radius:12px;padding:13px 12px;margin-bottom:12px}
.mb-consumer-quickactions{display:flex;gap:8px;margin-bottom:13px}
.mb-consumer-quickactions button,.mb-consumer-secondary-action{display:inline-flex;gap:6px;align-items:center;justify-content:center;flex:1;padding:10px 11px;background:#fff;border:1px solid #deded8;color:#586572;border-radius:10px;font-size:12px;font-weight:800}
.mb-consumer-frontrow{padding:12px 0;border-top:1px solid #eeeae4}
.mb-consumer-frontrow strong{display:block;font-size:12px;color:#39444e;margin-bottom:10px}
.mb-consumer-frontchoices{display:flex;flex-wrap:wrap;gap:5px}
.mb-consumer-frontchoices button{border-radius:8px;border:1px solid #e5e1da;background:white;color:#6e7b83;padding:8px 9px;font-size:11px;font-weight:750}
.mb-consumer-frontchoices button.active{background:#e9d9c3;color:#76502a;border-color:#c49962}
.mb-consumer-styles{display:grid;gap:8px;margin-bottom:14px}
.mb-consumer-style{display:flex;align-items:center;gap:11px;width:100%;border:1px solid #e9e3da;border-radius:13px;background:white;padding:10px 12px;text-align:left;color:#4f5963}
.mb-consumer-style:hover{border-color:#cda573;background:#fffbf5}
.mb-consumer-style-swatches{display:flex;gap:3px;flex-shrink:0}.mb-consumer-style-swatches i{width:27px;height:40px;border-radius:6px;border:1px solid #0001}
.mb-consumer-style span:nth-child(2){flex:1;min-width:0}.mb-consumer-style strong{font-size:12px;display:block;color:#34414a}.mb-consumer-style small{font-size:10.5px;color:#929aa1;display:block;margin-top:4px}
.mb-consumer-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.mb-consumer-swatches button{display:flex;flex-direction:column;align-items:center;gap:7px;background:white;border:1px solid #e9e5df;border-radius:11px;padding:9px 3px 10px;color:#607078;min-width:0}
.mb-consumer-swatches button.selected{border-color:#b68454;box-shadow:0 0 0 2px #caa57930}
.mb-consumer-swatches button>span{display:grid;place-items:center;width:43px;height:37px;border-radius:8px;border:1px solid #0001}
.mb-consumer-swatches button small{font-size:10px;text-align:center;line-height:1.2}
.mb-consumer-preview-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mb-consumer-preview-buttons button{display:flex;gap:8px;align-items:center;justify-content:center;min-height:65px;padding:10px;background:white;border:1px solid #dcccba;border-radius:13px;color:#684c33;font-weight:800;font-size:12px}
.mb-consumer-foot{margin-top:auto;flex:none;padding:13px 19px 15px;border-top:1px solid #ebe5dd;background:#fffdfa}
.mb-consumer-footrow{display:flex;gap:8px}.mb-consumer-footrow button{display:flex;gap:7px;align-items:center;justify-content:center;border-radius:11px;padding:11px 13px;font-size:12px;font-weight:850}
.mb-consumer-footrow .mb-consumer-back{background:#fff;border:1px solid #e5e0d8;color:#6f7d86;min-width:89px}
.mb-consumer-footrow .mb-consumer-next{background:#283f48;border:1px solid #283f48;color:white;flex:1}
.mb-consumer-foot>small{display:block;text-align:center;color:#a3a8aa;font-size:10px;margin-top:9px}
.mb-consumer-mode .mb-assembly-toolbar{border-color:#e5e3dc}
.mb-consumer-mode .mb-stage-controls .mb-cad-mode,.mb-consumer-mode .mb-stage-controls .mb-explode-btn,.mb-consumer-mode .mb-stage-controls [data-action="open-drawing"],.mb-consumer-mode .mb-stage-controls [data-action="zoom-in"],.mb-consumer-mode .mb-stage-controls [data-action="zoom-out"],.mb-consumer-mode .mb-stage-controls .mb-view-switch,.mb-consumer-mode .mb-stage-controls .mb-room-mode-btn{display:none!important}
.mb-consumer-mode .mb-stage-title p{max-width:530px;color:#7e8a90;font-size:12px}
.mb-consumer-mode .mb-stage-title h2{font-weight:850;letter-spacing:-.9px}
.mb-consumer-mode .mb-stage-top{padding-top:22px}
.mb-consumer-mode .mb-viewport .mb-orbit-hint{font-weight:700;background:rgba(255,255,255,.8);border-radius:100px;padding:8px 14px}
.mb-consumer-mode .mb-stage-meta{font-size:11px}
@media(min-width:801px){.mb-consumer-mode .mb-stage{min-height:calc(100vh - 72px)}.mb-consumer-mode .mb-viewport{min-height:400px}}
@media(max-width:1000px) and (min-width:801px){.mb-consumer-mode .mb-main{grid-template-columns:320px minmax(0,1fr)!important}.mb-consumer-intro{padding-left:18px;padding-right:18px}}
@media(max-width:800px){
 .mb-consumer-mode .mb-main{display:block!important}.mb-consumer-mode .mb-settings{display:none;position:fixed;z-index:22;top:64px;bottom:54px;left:0;width:min(95vw,385px);height:auto;max-height:none}
 .mb-consumer-mode .mb-main.mb-sidebar-open .mb-settings{display:flex}
 .mb-mode-switch{padding:6px 9px;font-size:11px;min-height:34px}
 .mb-consumer-mode .mb-stage{height:calc(100dvh - 118px);min-height:420px}
 .mb-consumer-mode .mb-assembly-toolbar{max-height:58px;overflow:hidden}
 .mb-consumer-mode .mb-mobile-footer{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mb-consumer-mode .mb-stage-top{gap:6px!important}
}
@media(max-width:420px){
 .mb-consumer-intro{padding:17px 17px 12px}.mb-consumer-intro h2{font-size:20px}
 .mb-consumer-steps{padding-left:9px;padding-right:9px;gap:1px}
 .mb-consumer-steps button{font-size:9.5px;padding:6px 1px}
 .mb-consumer-mode .mb-consumer-content{padding:14px 15px 20px}
 .mb-consumer-gallery{gap:8px}.mb-consumer-miniature{height:95px}
 .mb-mode-switch .mb-g-icon{display:none}
}
/* v15.2 Consumer details + DIY blueprint */
.mb-consumer-steps{grid-template-columns:repeat(6,minmax(0,1fr))}
.mb-consumer-steps button{font-size:10px}
.mb-consumer-supports{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 16px}
.mb-consumer-supports button{background:#f7f8f7;color:#506174;border:1px solid #e1e7e4;padding:10px 4px;border-radius:10px;font-size:11px;font-weight:750}
.mb-consumer-supports button.selected{color:#81572c;background:#fff3e3;border-color:#d8b58a}
.mb-consumer-detail-controls{display:grid;gap:11px;margin-top:11px}
.mb-consumer-detail-controls label{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#405266;font-weight:700;font-size:12px}
.mb-consumer-detail-controls label>span{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#74828d}
.mb-consumer-detail-controls input[type=number]{border:1px solid #d9e1e7;border-radius:7px;background:#fff;padding:9px 6px;text-align:right;color:#23384c;width:83px;font-size:12px}
.mb-consumer-detail-controls select{border:1px solid #d9e1e7;border-radius:8px;background:#fff;padding:10px;max-width:175px;color:#32475a;font-size:11px}
.mb-consumer-detail-controls label.mb-consumer-checkbox{padding:8px;background:#f9faf9;border-radius:8px}
.mb-consumer-warning{font-size:11px;line-height:1.6;color:#98663b;background:#fff3e6;padding:12px;border-radius:9px;border:1px solid #f1dfc9}
.mb-details-card .mb-consumer-quickactions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:15px}
.mb-details-card .mb-consumer-quickactions button{font-size:11px;display:flex;align-items:center;gap:6px;justify-content:center;line-height:1.4;min-height:44px}
.mb-consumer-diy-callout{display:flex;flex-direction:column;gap:12px;background:linear-gradient(120deg,#263947,#374b56);border-radius:14px;color:#fff;padding:18px;margin:17px 0}
.mb-consumer-diy-callout strong{display:flex;align-items:center;gap:8px;font-size:15px}
.mb-consumer-diy-callout p{color:#c7d0d6;font-size:11px;line-height:1.5;margin:7px 0 0}
.mb-consumer-diy-callout button{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;background:#dbb78b;color:#21313c;border:0;border-radius:9px;padding:12px;font-weight:850}
.mb-diy-header-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff7ed;border:1px solid #e9d6bf;color:#8e663e;font-size:12px;padding:9px 11px;border-radius:9px;font-weight:800;white-space:nowrap}
@media(max-width:1050px){.mb-diy-header-btn span{display:none}}
@media(max-width:800px){.mb-consumer-mode .mb-mobile-footer{grid-template-columns:repeat(4,minmax(0,1fr))}.mb-consumer-steps{gap:1px;padding:10px 6px}.mb-consumer-steps button{font-size:9px}.mb-consumer-steps button .mb-consumer-step-num{width:23px;height:23px}.mb-diy-header-btn{padding:7px}}
@media(max-width:360px){.mb-consumer-steps button{font-size:8px}.mb-consumer-supports button{font-size:10px}}

/* v15.2 DIY material mini-dashboard */
.mb-diy-material-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.mb-diy-material-stats>div{border-radius:12px;background:#f2f5f5;padding:12px 8px;min-width:0}
.mb-diy-material-stats strong{display:block;font-size:19px;white-space:nowrap;color:#243747}
.mb-diy-material-stats small{display:block;margin-top:4px;font-size:11px;color:#667782;line-height:1.3}
@media(max-width:400px){.mb-diy-material-stats strong{font-size:15px}.mb-diy-material-stats>div{padding:10px 6px}}

/* v16 — accessible consumer DIY board visualizations */
.mb-diy-purchased-stats{margin-top:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
.mb-diy-format{display:flex;flex-direction:column;gap:7px;margin:15px 0;font-size:13px;color:#6f7d86}
.mb-diy-format select{width:100%;min-width:0;padding:11px 12px;border:1px solid #d5dee3;border-radius:10px;background:white;color:#21313d;font:inherit}
.mb-diy-group-list{display:grid;gap:7px;margin:12px 0 14px}
.mb-diy-group-line{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 10px;background:#f3f5f6;border-radius:9px;font-size:12px}
.mb-diy-group-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mb-diy-group-line strong{white-space:nowrap}
.mb-diy-board-preview{border:1px solid #d9e0e4;border-radius:12px;padding:12px;background:white;margin:8px 0 14px}
.mb-diy-board-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:10px;font-size:12px}.mb-diy-board-title span{color:#71818d}
.mb-diy-board-preview svg{display:block;width:100%;max-height:225px;object-fit:contain;border-radius:5px}
.mb-diy-warning{font-size:12px;font-weight:700;background:#fff3ed;padding:10px;border-radius:9px;color:#a0442e;display:flex;gap:6px}
.mb-diy-material-card .mb-quote-export{width:100%;margin:12px 0 8px}
@media(max-width:600px){.mb-diy-board-preview svg{max-height:160px}.mb-diy-group-line{font-size:11px}}
/* Mebelo v17 — consumer DIY assembly walkthrough */
.mb-assembly-guide-card{border:1px solid #e5dfd2;background:linear-gradient(155deg,#fffdf8,#f5f7f3)!important;}
.mb-assembly-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mb-assembly-guide-head h4{margin:5px 0}
.mb-assembly-guide-head p{font-size:12px;color:#647583;line-height:1.55;margin:6px 0 8px}
.mb-assembly-guide-toggle,.mb-assembly-guide-buttons button{border:1px solid #c5b8a4;border-radius:9px;background:#fff;padding:10px 12px;color:#324352;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.mb-assembly-guide-toggle{background:#23394b;border-color:#23394b;color:#fff}
.mb-assembly-guide-body{padding:14px 0;border-top:1px solid #e5ded2;margin-top:14px}
.mb-assembly-guide-progress{display:flex;justify-content:space-between;color:#7b6550;font-weight:750;font-size:11px;margin-bottom:12px;gap:10px}
.mb-assembly-guide-image{background:#f1f4f2;border:1px solid #e0e9e7;border-radius:12px;padding:7px;overflow:hidden}
.mb-assembly-guide-image svg{width:100%;max-height:210px;display:block}
.mb-assembly-guide-body h4{font-size:18px;margin:16px 0 7px}
.mb-assembly-guide-body p{font-size:13px;line-height:1.65;color:#506371}
.mb-assembly-guide-detail{background:#eef3f0;border-radius:9px;padding:12px;color:#344b57;font-size:12px;font-weight:650;line-height:1.5}
.mb-assembly-guide-check{display:flex;gap:10px;align-items:center;font-size:12px;line-height:1.5;padding:13px 0;color:#354b59}
.mb-assembly-guide-check input{accent-color:#ba8c52;width:18px;height:18px;flex-shrink:0}
.mb-assembly-guide-buttons{display:flex;justify-content:space-between;gap:8px}
.mb-assembly-guide-buttons button{display:inline-flex;align-items:center;gap:5px}
.mb-assembly-guide-buttons button:disabled{opacity:.4;cursor:default}
.mb-assembly-guide-hardware{border-top:1px solid #e8e0d4;margin-top:13px;padding-top:10px;display:grid;gap:10px}
.mb-assembly-guide-hardware label{font-size:12px;font-weight:700;color:#354856;display:grid;gap:6px}
.mb-assembly-guide-hardware select{width:100%;background:#fff;border:1px solid #d8e0e3;border-radius:8px;padding:10px;font-size:13px;color:#304657;min-width:0}
.mb-assembly-guide-hardware p{color:#956c3e;font-size:11px;line-height:1.5;margin:0}
.mb-assembly-guide-hardware a{font-size:12px;color:#246d8d;text-decoration:underline}
@media(max-width:760px){.mb-assembly-guide-head{align-items:flex-start}.mb-assembly-guide-head h4{font-size:16px}.mb-assembly-guide-toggle{font-size:11px;padding:9px 11px}}

/* Consumer workspace */
.mb-consumer-mode {
  --ink:#23372e; --leaf:#254d3e; --muted-text:#58675e; --hairline:#dcded6;
  --paper:#fffefa; --stage:#f1f0e8; --accent:#436b55;
  font-family:"DM Sans",system-ui,sans-serif; color:var(--ink); background:var(--paper);
}
.mb-consumer-mode .mb-workspace {margin:0;min-height:100dvh}
.mb-consumer-mode button,.mb-studio-more summary {font-family:inherit;cursor:pointer}
.mb-consumer-mode button:disabled {cursor:default;opacity:.42}
.mb-consumer-mode :is(button,input,select,summary,a):focus-visible {outline:3px solid #327e66;outline-offset:2px}
.mb-studio-header {display:flex;align-items:center;justify-content:space-between;gap:12px;height:68px;flex:none;padding:0 clamp(16px,2.5vw,42px);background:var(--paper);border-bottom:1px solid var(--hairline);position:relative;z-index:25}
.mb-studio-brand,.mb-studio-header-actions,.mb-studio-header-actions>button,.mb-studio-menu button,.mb-studio-icon,.mb-door-control,.mb-studio-expand {display:inline-flex;align-items:center;justify-content:center}
.mb-studio-brand {gap:10px;flex:none;color:var(--leaf);white-space:nowrap}
.mb-studio-brand strong {font-size:30px;font-weight:800;line-height:1;letter-spacing:-2.4px}
.mb-studio-brand strong span {color:#a85e36}
.mb-studio-brand small {color:#54675b;font-size:15px;font-weight:500;margin:4px 0 0 1px}
.mb-brand-mark {width:19px;height:23px;border:2px solid currentColor;border-radius:2px;position:relative;transform:skewY(-9deg);background:linear-gradient(to right,transparent 45%,currentColor 45% 54%,transparent 54%)}
.mb-brand-mark:after {content:"";position:absolute;height:2px;background:currentColor;right:0;left:50%;top:45%}
.mb-studio-header-actions {gap:9px;min-width:0}
.mb-studio-header-actions>button,.mb-studio-more summary {height:40px;gap:7px;font-size:13px;line-height:1;font-weight:700;color:var(--ink);border:1px solid transparent;background:transparent;border-radius:8px;padding:0 12px}
.mb-studio-header-actions>button:hover,.mb-studio-more summary:hover {background:#eef1e9}
.mb-studio-header-actions .mb-studio-save {color:white;background:var(--leaf);border-color:var(--leaf);padding-inline:17px}
.mb-studio-header-actions .mb-studio-save:hover,.mb-consumer-mode .mb-consumer-next:hover {background:#163d30;color:#fff}
.mb-draft-status {font-size:12px;color:var(--muted-text);margin-inline-end:8px}
.mb-studio-more {position:relative}
.mb-studio-more summary {list-style:none;display:grid;place-items:center;width:40px;padding:0;cursor:pointer}
.mb-studio-more summary::-webkit-details-marker {display:none}
.mb-studio-menu {position:absolute;right:0;top:calc(100% + 8px);z-index:24;background:var(--paper);border:1px solid var(--hairline);border-radius:10px;width:220px;padding:5px;box-shadow:0 8px 25px #19352925}
.mb-studio-menu button {justify-content:flex-start;gap:10px;width:100%;padding:12px 9px;color:var(--ink);background:none;border:0;font-size:13px;font-weight:650;text-align:left;border-radius:5px}
.mb-studio-menu button:hover {background:#edf1e8}
.mb-consumer-mode .mb-main {flex:1;display:grid;grid-template-columns:clamp(340px,29vw,430px) minmax(0,1fr)!important;min-height:0;height:calc(100dvh - 68px);flex-basis:auto}
.mb-consumer-mode .mb-settings {position:static;display:flex;flex-direction:column;width:auto;box-shadow:none;border:0;border-right:1px solid var(--hairline);height:calc(100dvh - 68px);max-height:none;min-height:0;background:var(--paper)}
.mb-studio-steps {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:0 10px;flex:none;border-bottom:1px solid var(--hairline)}
.mb-studio-steps button {color:var(--muted-text);min-width:0;min-height:51px;border:0;background:transparent;position:relative;font-size:12px;font-weight:650;padding:4px}
.mb-studio-steps button:hover {color:var(--leaf);background:#f2f4ed}
.mb-studio-steps [aria-current=step] {color:var(--leaf);font-weight:800}
.mb-studio-steps [aria-current=step]:after {content:"";position:absolute;bottom:-1px;left:6px;right:6px;height:3px;background:var(--leaf);border-radius:3px 3px 0 0}
.mb-consumer-mode .mb-consumer-content {padding:clamp(20px,2.1vw,32px);min-height:0;min-width:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#cdd2c6 transparent}
.mb-step-heading {margin:0 0 21px}
.mb-step-heading p {font-size:12px;font-weight:650;color:#586656;margin:0 0 6px}
.mb-step-heading h2,.mb-project-title h1 {font-family:"PT Serif",Georgia,"Times New Roman",serif;font-weight:500;color:var(--ink);line-height:1.1;letter-spacing:-.036em;text-wrap:balance}
.mb-step-heading h2 {margin:0;font-size:clamp(27px,2.2vw,36px)}
.mb-step-heading h2:focus {outline:none}
.mb-model-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mb-model-card {display:flex;flex-direction:column;align-items:stretch;position:relative;min-width:0;text-align:left;padding:0;overflow:hidden;border-radius:10px;border:1px solid #d6d9cf;background:#fffefa;color:var(--ink)}
.mb-model-card:hover {border-color:#748b79}
.mb-model-card[aria-pressed=true] {box-shadow:0 0 0 1px var(--leaf);border-color:var(--leaf);background:#f0f4eb}
.mb-model-image {display:block;aspect-ratio:420/245;width:100%;flex:none;background-color:#e9e6dc;background-image:url("./mebelo-models.webp?v=21.0.0");background-size:1300% 100%;background-position:var(--model-position) center;background-repeat:no-repeat}
.mb-model-info {display:flex;flex-direction:column;gap:4px;padding:10px 10px 12px;min-width:0}
.mb-model-info strong {font-size:14px;line-height:1.2;font-weight:750;letter-spacing:-.02em}
.mb-model-info small {font-size:11px;line-height:1.25;color:var(--muted-text);font-variant-numeric:tabular-nums}
.mb-model-check {position:absolute;right:7px;top:7px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--leaf);color:#fff}
.mb-consumer-mode .mb-consumer-foot {background:var(--paper);padding:13px clamp(16px,2.1vw,32px) max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--hairline)}
.mb-consumer-mode .mb-consumer-footrow {gap:9px}
.mb-consumer-mode .mb-consumer-footrow button {min-height:44px;border-radius:8px;font-size:14px}
.mb-consumer-mode .mb-consumer-back {min-width:46px;border-color:var(--hairline);color:var(--ink)}
.mb-consumer-mode .mb-consumer-next {background:var(--leaf);border-color:var(--leaf);justify-content:space-between;padding-inline:17px}
.mb-unit-row,.mb-measure-head {display:flex;justify-content:space-between;align-items:center;gap:12px}
.mb-unit-row {margin:0 0 9px;color:var(--muted-text);font-size:13px}
.mb-unit-picker,.mb-scene-switch {display:inline-flex;align-items:center;padding:3px;gap:2px;border-radius:9px;border:1px solid #cfd4c9;background:#e9ece3}
.mb-unit-picker button,.mb-scene-switch button {background:transparent;border:1px solid transparent;color:#4d5d52;font-size:12px;font-weight:700;border-radius:6px;padding:6px 11px;min-height:32px;white-space:nowrap}
.mb-unit-picker [aria-pressed=true],.mb-scene-switch [aria-pressed=true] {background:#fffefa;border-color:#cbd0c5;box-shadow:0 1px 2px #1d342015;color:#244733}
.mb-studio-measure {padding:15px 0;border-bottom:1px solid var(--hairline)}
.mb-measure-head label,.mb-studio-block h4 {font-size:15px;font-weight:700;color:var(--ink)}
.mb-measure-entry {display:inline-flex;align-items:center;gap:6px;border:1px solid #adb9aa;padding:0 10px;background:white;border-radius:7px;height:40px}
.mb-measure-entry:focus-within {outline:2px solid #327e66}
.mb-measure-entry input {outline:0!important;border:0;color:var(--ink);font-family:inherit;font-size:16px;font-weight:650;background:transparent;width:5.2ch;text-align:right;appearance:textfield;-moz-appearance:textfield}
.mb-measure-entry input::-webkit-inner-spin-button {-webkit-appearance:none}
.mb-measure-entry span,.mb-measure-bounds {font-size:12px;color:var(--muted-text)}
.mb-measure-slider {width:100%;display:block;height:30px;margin:4px 0 0;accent-color:var(--leaf);cursor:pointer}
.mb-measure-bounds.mb-invalid {color:#933d24}
.mb-studio-block {padding:10px 0 18px;border-bottom:1px solid var(--hairline);margin:0 0 14px}
.mb-studio-block h4 {margin:0 0 12px}
.mb-studio-link {padding:12px 10px;display:flex;align-items:center;gap:8px;border:1px solid var(--hairline);border-radius:8px;color:var(--leaf);background:#f1f4ed;font-weight:700;font-size:13px;width:100%;text-align:start;margin:11px 0}
.mb-studio-link>:last-child {margin-left:auto}
.mb-consumer-mode :is(.mb-stepper,.mb-consumer-style,.mb-consumer-swatches button,.mb-consumer-frontchoices button,.mb-consumer-supports button,.mb-consumer-quickactions button,.mb-consumer-preview-buttons button) {color:var(--ink);border-color:var(--hairline);border-radius:8px}
.mb-consumer-mode .mb-stepper-btns button {width:37px;height:37px}
.mb-consumer-mode :is(.mb-consumer-frontchoices button,.mb-consumer-quickactions button,.mb-consumer-supports button) {font-size:12px;min-height:38px}
.mb-consumer-mode .mb-consumer-swatches button>span {position:relative}
.mb-consumer-mode .mb-consumer-swatches button>span>.mb-g-icon {background:#fff9;color:#25422f;border-radius:50%;padding:2px}
.mb-consumer-mode :is(.mb-consumer-style,.mb-consumer-frontchoices button,.mb-consumer-swatches button,.mb-consumer-supports button)[aria-pressed=true] {color:var(--leaf);border-color:#658271;background:#edf2e9;box-shadow:inset 0 0 0 1px #658271}
.mb-consumer-mode .mb-consumer-style strong {font-size:14px}.mb-consumer-mode .mb-consumer-style small {font-size:12px;color:var(--muted-text)}
.mb-consumer-mode .mb-consumer-swatches button small {font-size:11px;color:var(--muted-text)}
.mb-consumer-mode .mb-stage {min-width:0;min-height:0;height:calc(100dvh - 68px);display:flex;flex-direction:column;background:var(--stage)}
.mb-studio-stage-top {display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0;padding:24px clamp(20px,2.7vw,46px) 14px;min-width:0;z-index:2;flex:none}
.mb-project-title {min-width:0}
.mb-project-title h1 {margin:0;font-size:clamp(22px,2.2vw,36px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;text-wrap:nowrap}
.mb-scene-switch {flex:none;background:#e2e5db}
.mb-consumer-mode .mb-viewport {min-height:0;isolation:isolate;flex:1;background:radial-gradient(ellipse at 45% 28%,#fbfaf4 0,rgba(251,250,244,.2) 56%,transparent 80%),linear-gradient(180deg,#f1f0e8 0%,#eeeee4 70%,#e6e5d9 100%)}
.mb-consumer-mode .mb-grid-bg {display:none}
.mb-consumer-mode .mb-orbit-hint {color:#536257;right:auto;left:50%;bottom:10px;transform:translateX(-50%);border:0;background:#fffef8bf;border-radius:6px;font-size:11px;box-shadow:none;white-space:nowrap;padding:5px 9px}
.mb-consumer-mode .mb-plan-active .mb-orbit-hint {display:none}
.mb-studio-stage-foot {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--hairline);background:#f7f7ef;padding:14px clamp(16px,2.7vw,46px);flex:none;z-index:2}
.mb-studio-metrics,.mb-studio-tools,.mb-history-buttons {display:flex;align-items:center}
.mb-studio-metrics {gap:0}
.mb-studio-metrics>div {padding:0 17px;border-left:1px solid #ced3c7;display:flex;flex-direction:column;gap:2px}
.mb-studio-metrics>div:first-child {border:0;padding-left:0}
.mb-studio-metrics small {font-size:11px;color:#596659;font-weight:550}
.mb-studio-metrics strong {font-size:19px;color:var(--ink);line-height:1.15;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.mb-studio-metrics strong span {font-size:11px;font-weight:550}
.mb-studio-tools {gap:4px}
.mb-studio-icon,.mb-door-control,.mb-studio-expand {height:37px;min-width:36px;padding:5px 7px;gap:5px;color:var(--ink);border:1px solid transparent;border-radius:7px;background:transparent;font-size:12px;font-weight:700}
.mb-studio-icon:hover:enabled,.mb-door-control:hover:enabled,.mb-studio-expand:hover {background:#e3e9de}
.mb-history-buttons {border-right:1px solid var(--hairline);padding-right:5px}
.mb-door-control {border-color:#cbd3c5;background:#fffefa}
.mb-studio-expand {display:none}
.mb-consumer-mode .mb-assembly-toolbar {border:0;border-bottom:1px solid var(--hairline);background:var(--stage);min-height:auto;padding:5px clamp(16px,2.7vw,46px) 9px}
.mb-consumer-mode .mb-assembly-pills button.active {background:#e7eee2;color:var(--leaf);border-color:#8ca18b}
.mb-search-empty {font-size:13px;color:#566557}
.mb-app .mb-project[hidden],.mb-app [data-search-empty][hidden] {display:none}
.mb-print-host:empty {display:none}
@media(min-width:801px) and (max-width:1110px){
  .mb-consumer-mode .mb-main {display:grid;grid-template-columns:335px minmax(0,1fr)!important}
  .mb-studio-stage-top {flex-wrap:wrap;padding:17px 20px 10px;gap:8px}
  .mb-studio-stage-foot {padding:9px 14px;gap:6px}
  .mb-studio-metrics>div {padding:0 10px}
}
@media(max-width:800px){
  .mb-consumer-mode .mb-workspace {height:100dvh;min-height:0}
  .mb-studio-header {height:52px;padding:0 11px;gap:4px}
  .mb-studio-brand {gap:6px}.mb-studio-brand strong {font-size:24px}.mb-studio-brand small {display:none}
  .mb-brand-mark {width:15px;height:19px}
  .mb-studio-header-actions {gap:1px}
  .mb-studio-header-actions>button,.mb-studio-more summary {font-size:12px;height:40px;gap:4px;padding:0 7px}
  .mb-studio-header-actions .mb-studio-save {padding:0 9px}
  .mb-studio-more summary {width:34px}
  .mb-draft-status {display:none}
  .mb-consumer-mode .mb-main {display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(174px,35%) minmax(0,1fr);height:auto;flex:1;min-height:0;overflow:hidden}
  .mb-consumer-mode .mb-stage {grid-row:1;height:auto;min-height:0}
  .mb-consumer-mode .mb-settings,.mb-consumer-mode .mb-main.mb-sidebar-open .mb-settings {position:relative;inset:auto;z-index:2;grid-row:2;display:flex;width:100%;min-height:0;height:auto;border:0;border-top:1px solid #c6cdbf;box-shadow:none;border-radius:0}
  .mb-studio-stage-top {padding:6px 12px 2px;gap:6px}
  .mb-project-title h1 {font-family:inherit;font-size:14px;letter-spacing:-.025em;font-weight:700}
  .mb-scene-switch {padding:2px;gap:1px;border-radius:6px}
  .mb-scene-switch button {padding:2px 7px;font-size:10px;min-height:26px;border-radius:4px}
  .mb-consumer-mode .mb-orbit-hint,.mb-consumer-mode .mb-assembly-toolbar>span {display:none}
  .mb-studio-stage-foot {padding:4px 10px;gap:4px;flex-wrap:nowrap}
  .mb-studio-metrics {flex:1}
  .mb-studio-metrics>div {padding:0 8px;gap:1px}
  .mb-studio-metrics strong {font-size:13px}.mb-studio-metrics strong span,.mb-studio-metrics small {font-size:9px}
  .mb-studio-tools {gap:1px}.mb-history-buttons {padding:0;border:none}
  .mb-studio-icon,.mb-door-control,.mb-studio-expand {min-width:32px;height:34px;padding:3px 4px}
  .mb-studio-tools [data-action="reset-camera"],.mb-studio-tools [data-action="snapshot"] {display:none}
  .mb-door-control {border:0;background:transparent}.mb-door-control .mb-door-label {display:none}
  .mb-studio-expand {display:inline-flex;background:#e4eadf;gap:3px;font-size:11px}
  .mb-studio-expand span:not(.mb-g-icon,.mb-symbol) {padding-right:2px}
  .mb-studio-steps {padding:0 9px;gap:2px}.mb-studio-steps button {min-height:42px;font-size:12px}
  .mb-consumer-mode .mb-consumer-content {padding:14px 16px 17px}
  .mb-step-heading {margin:0 0 12px}.mb-step-heading p {font-size:10px;margin:0 0 3px}.mb-step-heading h2 {font-size:26px}
  .mb-model-grid {gap:8px}
  .mb-model-image {aspect-ratio:420/210;background-size:1300% 116.67%}
  .mb-model-info {padding:7px 9px 8px;gap:2px}.mb-model-info strong {font-size:13px}
  .mb-consumer-mode .mb-consumer-foot {padding:7px 12px max(7px,env(safe-area-inset-bottom))}
  .mb-consumer-mode .mb-assembly-toolbar {max-height:38px;min-height:30px;padding:0 8px}
  .mb-consumer-mode .mb-assembly-pills button {min-width:0;padding:3px 8px}
  .mb-consumer-mode .mb-assembly-pills small {display:none}
  .mb-consumer-mode .mb-room-plan {min-height:0;inset:0;display:flex;flex-direction:column;padding:3px 8px;gap:2px}
  .mb-consumer-mode .mb-room-svg {height:100%;width:100%;max-height:100%;min-height:0;flex:1;overflow:hidden;border-width:1px}
  .mb-consumer-mode .mb-plan-top,.mb-consumer-mode .mb-plan-bottom {display:none}
  .mb-consumer-mode.mb-preview-expanded .mb-main {grid-template-rows:minmax(0,1fr)}
  .mb-consumer-mode.mb-preview-expanded .mb-settings {display:none}
  .mb-preview-expanded .mb-studio-tools [data-action="reset-camera"],.mb-preview-expanded .mb-studio-tools [data-action="snapshot"] {display:inline-flex}
  .mb-preview-expanded .mb-studio-stage-foot {flex-wrap:wrap;padding-bottom:max(7px,env(safe-area-inset-bottom))}
  .mb-preview-expanded .mb-studio-stage-foot .mb-studio-tools {margin-left:auto}
  .mb-preview-expanded .mb-plan-bottom {display:flex}
}
@media(max-width:370px){
  .mb-studio-header-actions .mb-studio-account span:not(.mb-g-icon,.mb-symbol) {display:none}
  .mb-studio-metrics>div {padding:0 5px}
  .mb-studio-expand span:not(.mb-g-icon,.mb-symbol) {display:none}
  .mb-scene-switch button {padding-inline:5px}
}
@media(max-width:800px) and (max-height:510px) and (orientation:landscape){
  .mb-consumer-mode .mb-main {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)}
  .mb-consumer-mode .mb-settings {grid-row:1;grid-column:1;border-right:1px solid var(--hairline)}
  .mb-consumer-mode .mb-stage {grid-row:1;grid-column:2}
  .mb-studio-stage-top,.mb-studio-stage-foot {flex-wrap:wrap}
  .mb-preview-expanded .mb-stage {grid-column:1/-1}
}
@media print{
  .mb-print-host {display:block}
  .mb-app .mb-workspace {display:none!important}
}
.mb-control-explainer {margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--muted-text)}
.mb-studio-fit {display:flex;gap:9px;align-items:flex-start;background:#eaf0e4;color:#2a5038;padding:12px;border-radius:8px;margin-bottom:14px;font-size:12px;line-height:1.45}
.mb-studio-fit ul {margin:5px 0 0;padding-inline-start:17px}
.mb-fit-warning {color:#764722;background:#f7ebd9}
@media(max-width:550px){
  .mb-studio-header-actions .mb-studio-account>span:not(.mb-g-icon) {display:none}
  .mb-studio-header-actions .mb-studio-account {width:35px}
  .mb-model-image {aspect-ratio:420/245;background-size:1300% 100%}
}
@media(max-width:355px){.mb-brand-mark{display:none}}

.mb-section-count {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;color:var(--ink);font-size:13px}
.mb-consumer-mode .mb-section-count strong {display:inline;margin:0}
.mb-consumer-mode .mb-consumer-frontrow h4 {margin:0 0 10px;font-size:15px}
.mb-consumer-mode .mb-bay-rail {font-size:13px;color:var(--ink)}
.mb-consumer-mode .mb-section-count .mb-stepper-btns,.mb-consumer-mode .mb-bay-rail input {accent-color:var(--leaf)}
@media(max-width:370px){
  .mb-studio-header {padding-inline:8px}
  .mb-studio-header-actions .mb-studio-save>.mb-g-icon {display:none}
}


.mb-diy-download {display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:10px;background:#24553f;color:white;min-height:46px;width:100%;font-weight:700;cursor:pointer;margin:0 0 14px}
.mb-extra-hardware,.mb-guide-detail {border:1px solid var(--hairline,#d3dbd2);border-radius:12px;margin:12px 0;background:white;padding:12px 14px;color:#284333}
.mb-extra-hardware summary,.mb-guide-detail summary {cursor:pointer;font-weight:700;padding:5px 0;min-height:32px}
.mb-extra-hardware > label {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0;font-size:13px}
.mb-extra-hardware > label input {width:72px;min-height:36px;border:1px solid #a4b2a7;border-radius:6px;padding:4px 7px}
.mb-extra-hardware p,.mb-guide-detail p {font-size:13px;line-height:1.5}
.mb-modal [data-auth-feedback] {color:#883821;border-left:3px solid #bd6844;padding:8px 11px;background:#fff3ec;text-align:left}
.mb-consumer-settings .mb-studio-steps button {font-size:clamp(10px,1.1vw,12px);padding:2px}
@media(max-width:650px){.mb-consumer-settings .mb-studio-steps button{font-size:11px;min-height:43px}.mb-studio-steps{padding:0 4px}}

.mb-gallery-filter {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;color:#456150;font-size:13px}
.mb-gallery-filter select {border:1px solid #c6d1c7;border-radius:8px;padding:6px 9px;min-height:34px;font:inherit;color:#254d3e;background:#fff}

.mb-hardware-kit {list-style:none;margin:8px 0;padding:0}
.mb-hardware-kit li {display:flex;align-items:center;gap:7px;border-bottom:1px solid #d6dfd5;padding:5px 0;font-size:12px;color:#304d39}
.mb-hardware-kit svg {width:32px;height:24px;flex:none}
.mb-hardware-kit strong {margin-inline-start:auto;white-space:nowrap}

/* Front arrangement and access preview */
.mb-front-system{display:grid;gap:9px;padding:0 0 16px;border-bottom:1px solid #d4ddd5;margin-bottom:14px}
.mb-front-system h4{margin:0;color:#283e33;font-size:15px}
.mb-front-system [role=group],.mb-access-actions{display:flex;gap:6px;flex-wrap:wrap}
.mb-front-system button,.mb-drawer-access button{cursor:pointer;border:1px solid #b8c7bb;border-radius:7px;background:#fff;color:#264535;padding:7px 12px;font:inherit;font-size:13px;font-weight:600;min-height:36px}
.mb-front-system [role=group] button{display:inline-flex;gap:7px;align-items:center;justify-content:center;flex:1 1 auto}
.mb-front-system button[aria-pressed=true],.mb-drawer-access button[aria-pressed=true]{background:#e5eee6;border-color:#426951;color:#173e28}
.mb-front-system p,.mb-drawer-access p{margin:0;color:#485a4e;font-size:13px;line-height:1.45}
.mb-access-actions button,.mb-drawer-access button{min-height:32px;font-size:12px}
.mb-drawer-access{display:grid;justify-items:start;gap:7px;padding:8px 0}
.mb-drawer-access.is-blocked{padding:9px 11px;background:#fbf1df;border-left:3px solid #ae7731}
.mb-front-system button:focus-visible,.mb-drawer-access button:focus-visible{outline:2px solid #285c41;outline-offset:2px}
.mb-overlap{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px;font-size:13px}
.mb-overlap input{width:64px}
.mb-hardware-position{margin:14px 0;font-size:13px;color:#30493a}
.mb-hardware-position summary{cursor:pointer;font-weight:650;padding:8px 0}
.mb-hardware-position svg{display:block;width:100%;max-height:255px;background:#f3f5ef;border-radius:8px;margin:8px 0}
.mb-hardware-position ul{padding-left:18px;line-height:1.5}

/* Start, design and workshop share one material palette and identity. */
#mebelo-home[hidden],#mebelo-app[hidden],.mb-bay-overlay [hidden]{display:none!important}
#mebelo-home,.mb-advanced-mode{
  --ink:#20372b;--leaf:#274d3b;--paper:#fffefa;--hairline:#d9ded2;
  --soft:#f0f2e9;--muted-ink:#59675c;color:var(--ink);font-family:'DM Sans',Arial,sans-serif
}
#mebelo-home{min-height:100vh;background:#faf9f4;line-height:1.5}
#mebelo-home button,#mebelo-home a,.mb-work-header button,.mb-home-brand,.mb-studio-brand{font-family:inherit;color:inherit;text-decoration:none}
#mebelo-home button{background:none;border:0;cursor:pointer}
.mb-home-wrap{width:min(1328px,100%);padding-inline:clamp(20px,5vw,76px);margin:auto}
.mb-home-header{border-bottom:1px solid #dddfd3}
.mb-home-header>.mb-home-wrap,.mb-home-foot>.mb-home-wrap{display:flex;align-items:center;justify-content:space-between}
.mb-home-header>.mb-home-wrap{height:76px}
.mb-home-brand{display:inline-flex;align-items:center;gap:9px;font-style:normal;white-space:nowrap;color:#294f3a}
.mb-home-brand b{font-size:30px;line-height:1;letter-spacing:-1.9px;font-weight:800}
.mb-home-brand b>span{color:#7f9567}.mb-home-brand small{font-size:15px;letter-spacing:-.35px}
.mb-home-brand .mb-brand-mark{display:inline-block;width:20px;height:25px}
.mb-home-header nav,.mb-home-actions,.mb-home-section-head,.mb-home-section-head>a,.mb-home-foot a{display:flex;align-items:center}
.mb-home-header nav{gap:clamp(15px,2.7vw,40px)}
.mb-home-header nav>a,.mb-home-header nav>button{font-size:14px;font-weight:650;min-height:44px;display:inline-flex;align-items:center;padding:0}
.mb-home-header .mb-home-profile{justify-content:center;width:39px;height:39px;border:1px solid #c5cfc0;border-radius:50%;min-height:39px}
.mb-home-hero{display:grid;grid-template-columns:.89fr 1.11fr;overflow:hidden;border-radius:18px;background:#eaeadd;margin:clamp(19px,3vw,42px) 0 clamp(34px,4.7vw,69px)}
.mb-home-copy{align-self:center;padding:clamp(26px,4vw,65px);min-width:0}
.mb-home-copy h1{color:#273b2c;font:normal clamp(49px,5.05vw,81px)/1.045 Georgia,'Times New Roman',serif;letter-spacing:-.055em;margin:0}
.mb-home-copy h1 em{font-weight:400;color:#526a4e}
.mb-home-copy p{max-width:36ch;margin:22px 0 28px;color:#425344;font-size:clamp(15px,1.23vw,19px);line-height:1.55}
.mb-home-actions{gap:18px;flex-wrap:wrap}
#mebelo-home .mb-home-primary,.mb-work-save,.mb-work-download{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#294e39;color:white;border:0;border-radius:8px;padding:13px 18px;font-weight:700;font-size:14px;line-height:1.4;min-height:44px}
#mebelo-home .mb-home-primary:hover,.mb-work-save:hover,.mb-work-download:hover{background:#1c3d29}
.mb-home-actions>button{font-size:14px;font-weight:650;text-underline-offset:4px;text-decoration:underline;min-height:42px;padding:0}
.mb-home-current{display:block;margin-top:13px;color:#47594b;font-size:12px;overflow-wrap:anywhere}
.mb-home-photo{min-height:clamp(340px,33.5vw,480px);position:relative}
.mb-home-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% center}
.mb-home-section-head{justify-content:space-between;gap:14px;margin-bottom:18px}
.mb-home-section-head h2,.mb-home-dialog h2{font:normal clamp(30px,3vw,43px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.045em;margin:0;color:#2a3e2f;scroll-margin-top:20px}
.mb-home-section-head>a,.mb-home-foot a{gap:6px;font-size:14px;font-weight:650;min-height:40px}.mb-home-section-head>a>span{color:#667561}
.mb-home-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.8vw,25px)}
.mb-home-model{display:block;overflow:hidden}
.mb-home-model-image{display:block;width:100%;aspect-ratio:420/245;background:#e8e5db url("./mebelo-models.webp?v=21.0.0") var(--model-position) center/1300% 100% no-repeat;border-radius:10px}
.mb-home-model>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 1px 8px}
.mb-home-model b,.mb-home-project strong{display:block;font-weight:700;font-size:17px;letter-spacing:-.02em}
.mb-home-model small,.mb-home-project small{display:block;color:#58695a;font-size:13px;margin-top:2px}
.mb-home-model:hover b,.mb-home-section-head a:hover,.mb-home-header nav a:hover,.mb-home-header nav button:hover{text-decoration:underline;text-underline-offset:4px}
.mb-home-model .mb-g-icon{border:1px solid #d6dccf;border-radius:50%;width:32px;height:32px;display:inline-grid;place-items:center;flex:none}
.mb-home-projects{margin:34px 0 0;padding-top:26px;border-top:1px solid #daddd1}
.mb-home-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mb-home-project{display:flex;align-items:center;gap:12px;border:1px solid #d9dfd1;border-radius:10px;padding:8px 12px 8px 8px;background:#fffefa;min-width:0}
.mb-home-project .mb-home-model-image{width:74px;flex:none}.mb-home-project>span:nth-child(2){min-width:0;flex:1}
.mb-home-project strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mb-home-foot{margin-top:clamp(34px,5vw,80px);border-top:1px solid #d9ded2;color:#4a5d4d}
.mb-home-foot .mb-home-wrap{min-height:65px}.mb-home-foot strong{font-size:14px}
.mb-home-dialog{border:1px solid #cdd7c9;border-radius:15px;padding:26px;max-width:min(440px,calc(100% - 32px));color:#2d4232;background:#fffef8}
.mb-home-dialog h2{font-size:30px}.mb-home-dialog p{font-size:15px;line-height:1.5}.mb-home-dialog>div{display:flex;align-items:center;justify-content:flex-end;gap:15px}.mb-home-dialog::backdrop{background:#14281bc0}
#mebelo-home :focus-visible,.mb-advanced-mode :focus-visible,.mb-edit-bays:focus-visible,.mb-bay-picker button:focus-visible,.mb-bay-presets button:focus-visible{outline:3px solid #577b54;outline-offset:3px}
@media(max-width:800px){
 .mb-home-wrap{padding-inline:clamp(18px,4.5vw,35px)}.mb-home-header>.mb-home-wrap{height:64px}.mb-home-copy{padding:26px}.mb-home-photo{min-height:322px}
 .mb-home-actions{gap:5px 16px}.mb-home-model b{font-size:15px}.mb-home-model-grid{gap:15px}.mb-home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .mb-home-brand b{font-size:26px}.mb-home-brand small{font-size:13px}.mb-home-header nav{gap:14px}.mb-home-header nav>a,.mb-home-header nav>button{font-size:12px}
 .mb-home-hero{grid-template-columns:1fr;margin:16px 0 30px;border-radius:13px}
 .mb-home-copy{padding:clamp(22px,6.4vw,36px)}.mb-home-copy h1{font-size:clamp(45px,10.4vw,61px)}.mb-home-copy p{margin:13px 0 16px;font-size:15px}
 .mb-home-photo{min-height:0;height:clamp(156px,46.5vw,250px)}.mb-home-photo img{object-position:50% 54%}
 .mb-home-model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.mb-home-section-head{margin-bottom:12px}.mb-home-section-head h2{font-size:31px}
 .mb-home-model small{font-size:12px}.mb-home-project-grid{grid-template-columns:1fr}.mb-home-section-head>a{font-size:12px}
}
@media(max-width:365px){.mb-home-brand small,.mb-home-header nav>[data-home-scroll]{display:none}.mb-home-copy{padding:19px}.mb-home-actions>button{font-size:12px}.mb-home-model .mb-g-icon{display:none}}
.mb-bay-overlay{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.mb-bay-overlay i{position:absolute;inset:0}.mb-bay-overlay .selected i{background:#559e6523}
.mb-bay-overlay b{position:absolute;transform:translate(-50%,-50%);width:27px;height:27px;display:grid;place-items:center;border:1.5px solid #436b4c;border-radius:50%;color:#254730;background:#fffdf0;box-shadow:0 1px 5px #253c3135;font:700 13px system-ui}
.mb-bay-overlay .selected b{background:#28533b;color:white;border-color:white}
.mb-edit-bays{position:absolute;z-index:3;top:10px;left:12px;display:inline-flex;align-items:center;gap:6px;border:1px solid #b5c2ad;background:#fffef6;color:#294d36;border-radius:8px;padding:7px 11px;font-family:inherit;font-size:12px;font-weight:650;line-height:1.3;min-height:34px}
.mb-edit-bays[aria-pressed=true]{background:#284e3a;color:white;border-color:#284e3a}
.mb-bay-picker{margin:0 0 15px}.mb-bay-picker h4{margin:0 0 8px}.mb-bay-picker>div,.mb-bay-presets{display:flex;flex-wrap:wrap;gap:6px}
.mb-bay-picker button,.mb-bay-presets button{border:1px solid #bfcebc;border-radius:7px;background:#f7f8f1;color:#294933;padding:7px 10px;min-height:36px;font-size:13px}
.mb-bay-picker button[aria-pressed=true]{background:#2a503b;color:#fff}.mb-bay-picker .mb-bay-clear{border:0;background:none;text-decoration:underline;text-underline-offset:3px;padding:4px 0}
.mb-bay-presets{margin-bottom:12px}.mb-bay-presets>span{flex-basis:100%;font-size:12px;font-weight:700}.mb-cap-note{font-size:13px;color:#38563f;margin:7px 0 10px}
.mb-studio-brand{text-decoration:none!important}

.mb-advanced-mode{--accent:#436447;--navy:#254b35;--line:#d8dfd2;--light:#f5f6ef;--muted:#617367;background:#f1f3eb}
.mb-advanced-mode .mb-workspace{margin:0;min-width:0}
.mb-advanced-mode .mb-work-header{position:relative;z-index:26;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 clamp(14px,2.5vw,38px);height:64px;min-height:64px;background:#fffefa;border-bottom:1px solid var(--hairline);box-shadow:none}
.mb-work-header .mb-work-identity,.mb-work-actions,.mb-work-history{display:flex;align-items:center;gap:10px}.mb-work-header .mb-work-identity{gap:20px}
.mb-work-mode{border-left:1px solid #c7d0c1;padding-left:20px;font-size:13px;color:#4d644e}
.mb-work-actions button,.mb-work-actions summary{display:inline-flex;gap:6px;align-items:center;justify-content:center;border-radius:7px;padding:8px 11px;border:1px solid transparent;background:transparent;font-size:13px;font-weight:650;min-height:38px}
.mb-work-actions .mb-mode-switch{background:#edf2e7;border-color:#cad5c3;color:#30543a}
.mb-work-actions .mb-work-save,.mb-work-actions .mb-work-save:hover{color:white;background:#294e39}.mb-work-history{gap:0}
.mb-work-actions .mb-studio-menu button{justify-content:flex-start;text-align:left;width:100%}.mb-work-actions button:hover,.mb-work-actions summary:hover{background:#eef1e7}
.mb-advanced-mode .mb-main{grid-template-columns:clamp(255px,23vw,350px) minmax(0,1fr) clamp(260px,22vw,350px);gap:0;min-height:0;overflow:visible}
.mb-advanced-mode .mb-settings,.mb-advanced-mode .mb-report{display:flex;flex-direction:column;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);min-width:0;background:#fffefa;border-color:var(--hairline);box-shadow:none}
.mb-advanced-mode .mb-settings-header,.mb-advanced-mode .mb-report-head{padding:21px 18px 10px;margin:0;background:#fffefa;display:block}
.mb-advanced-mode .mb-settings-header h2,.mb-advanced-mode .mb-report-head h2{font:500 28px/1.15 Georgia,serif;letter-spacing:-.04em;color:#29452f;margin:0}
.mb-tool-select{display:flex;flex-direction:column;gap:5px}.mb-settings-header .mb-tool-select{margin-top:12px}
.mb-tool-select>span{font-size:12px;font-weight:650;color:#536354}.mb-tool-select select{display:block;width:100%;min-height:40px;font-family:inherit;font-size:14px;font-weight:650;color:#294c34;background:#f5f6ed;border:1px solid #ced8c7;border-radius:7px;padding:7px 10px}
.mb-advanced-mode .mb-report-select{padding:2px 18px 12px;border-bottom:1px solid var(--hairline)}
.mb-advanced-mode .mb-settings-content,.mb-advanced-mode .mb-report-body{overflow:auto;min-height:0;max-height:none;padding:10px 18px 20px;scrollbar-color:#bdcbbb transparent}
.mb-advanced-mode .mb-stage{height:calc(100dvh - 64px);min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#f5f5ec}
.mb-advanced-mode .mb-stage-top{display:block;padding:17px 20px 11px;border-bottom:1px solid var(--hairline);background:#f9f9f2}
.mb-advanced-mode .mb-stage-title h2{font:600 clamp(18px,1.7vw,26px)/1.25 'DM Sans',Arial,sans-serif;letter-spacing:-.045em;margin:0;color:#2d4431}
.mb-advanced-mode .mb-stage-title p{font-size:12px;color:#5e6e5d;margin:4px 0 9px}
.mb-advanced-mode .mb-modern-controls{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px}
.mb-advanced-mode .mb-modern-controls button{padding:5px 7px;background:#fffefa;color:#39523d;border:1px solid #d1dacb;border-radius:6px;min-width:30px;min-height:32px;font-size:11px;box-shadow:none}
.mb-advanced-mode .mb-modern-controls button.active,.mb-advanced-mode .mb-modern-controls button[aria-pressed=true]{background:#2b503a;border-color:#2b503a;color:white}
.mb-advanced-mode .mb-assembly-toolbar{background:#f5f6ee;border-color:#dce1d4;padding:6px 14px}.mb-advanced-mode .mb-assembly-pills .active{background:#e5ecdd;color:#2a4a33}
.mb-advanced-mode .mb-viewport{flex:1;min-height:120px;background:radial-gradient(ellipse at 50% 35%,#faf9f2,#e7eadd)}
.mb-advanced-mode .mb-grid-bg{opacity:.24}.mb-advanced-mode .mb-stage-bottom{background:#f8f9f1;border-color:#dce2d5;padding:9px 16px;min-height:40px}
.mb-advanced-mode .mb-dims-float{display:none}.mb-advanced-mode .mb-orbit-hint{border-radius:8px;max-width:94%;font-size:11px}
.mb-advanced-mode .mb-section-title,.mb-advanced-mode .mb-kpi-label{color:#596f59;letter-spacing:.06em;font-size:10px}
.mb-advanced-mode .mb-template.selected,.mb-advanced-mode .mb-choice.active{border-color:#7e9d7a;background:#eef3e8;color:#2b4e35}
.mb-advanced-mode .mb-kpi,.mb-advanced-mode .mb-measure-grid,.mb-advanced-mode .mb-cutrow{background:#f7f8f1;border:1px solid #dce2d4;box-shadow:none}
.mb-advanced-mode .mb-report-foot{margin:0;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 14px;background:#fffefa;border-top:1px solid var(--hairline)}
.mb-advanced-mode .mb-report-foot button{padding:8px 5px;font-size:11px;min-height:35px}.mb-advanced-mode .mb-report-foot .mb-work-download{grid-column:1/-1;font-size:13px;background:#2b503a;color:white}
.mb-advanced-panes{display:none}
@media(min-width:801px) and (max-width:1179px){
 .mb-advanced-mode .mb-main{display:grid;grid-template-columns:clamp(255px,31vw,330px) minmax(0,1fr);min-height:0}
 .mb-advanced-mode .mb-main>.mb-settings,.mb-advanced-mode .mb-main>.mb-report{grid-column:1;grid-row:1}
 .mb-advanced-mode .mb-main>.mb-stage{grid-column:2;grid-row:1}
 .mb-advanced-mode .mb-main:not([data-advanced-pane=report])>.mb-report,.mb-advanced-mode .mb-main[data-advanced-pane=report]>.mb-settings{display:none}
 .mb-advanced-mode .mb-main>.mb-stage,.mb-advanced-mode .mb-main>.mb-settings,.mb-advanced-mode .mb-main>.mb-report{height:calc(100dvh - 112px);max-height:calc(100dvh - 112px)}
}
@media(max-width:1179px){
 .mb-advanced-panes{display:flex;position:relative;z-index:12;height:48px;min-height:48px;border-top:1px solid var(--hairline);justify-content:center;gap:8px;background:#fffefa}
 .mb-advanced-panes button{border:0;background:none;display:flex;align-items:center;justify-content:center;gap:5px;color:#516653;min-width:95px;font-size:13px;font-weight:700}
 .mb-advanced-panes button[aria-pressed=true]{color:#22442d;box-shadow:inset 0 -3px #476f4c;background:#f1f4e9}
}
@media(max-width:800px){
 .mb-advanced-mode .mb-workspace{height:100dvh;min-height:0;padding:0;overflow:hidden}
 .mb-advanced-mode .mb-work-header{height:55px;min-height:55px;padding:0 12px}
 .mb-work-mode,.mb-work-history,.mb-work-actions .mb-work-projects{display:none}.mb-work-actions{gap:3px}
 .mb-work-actions .mb-mode-switch{display:inline-flex;padding:6px}.mb-work-actions .mb-mode-switch span:not(.mb-g-icon,.mb-symbol){font-size:11px}
 .mb-advanced-mode .mb-main{display:block;min-height:0;flex:1;overflow:hidden}
 .mb-advanced-mode .mb-main>.mb-settings,.mb-advanced-mode .mb-main>.mb-stage,.mb-advanced-mode .mb-main>.mb-report{position:relative;inset:auto;z-index:1;display:none;width:100%;height:100%;max-height:none;margin:0;border:0}
 .mb-advanced-mode .mb-main[data-advanced-pane=model]>.mb-stage,.mb-advanced-mode .mb-main[data-advanced-pane=edit]>.mb-settings,.mb-advanced-mode .mb-main[data-advanced-pane=report]>.mb-report{display:flex}
 .mb-advanced-mode .mb-stage-top{padding:10px 13px}.mb-advanced-mode .mb-stage-title h2{font-size:20px}
 .mb-advanced-mode .mb-report-body{flex:1}.mb-advanced-mode .mb-work-actions .mb-studio-more summary{width:30px;padding:4px}
 .mb-advanced-mode .mb-report-foot{grid-template-columns:1fr 1fr 1.3fr}.mb-advanced-mode .mb-report-foot .mb-work-download{grid-column:auto;font-size:11px}
}
@media(max-width:419px){.mb-advanced-mode .mb-home-brand small,.mb-advanced-mode .mb-home-brand .mb-brand-mark{display:none}.mb-work-actions button{font-size:12px}.mb-advanced-mode .mb-home-brand b{font-size:27px}}
.mb-bay-global{margin:12px 0;border-top:1px solid #d5dfd0;padding-top:10px}.mb-bay-global summary{font-size:13px;font-weight:650;cursor:pointer;padding:7px 0}
.mb-advanced-mode .mb-stage-top{overflow:visible;position:relative;z-index:7}
.mb-work-tools,.mb-work-scenes,.mb-work-angles{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.mb-work-scenes{background:#e8ecdf;border-radius:7px;padding:3px;gap:1px}
.mb-work-tools button,.mb-work-view-menu summary{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:35px;border:1px solid #cdd7c7;background:#fffefa;color:#2b4b36;border-radius:6px;padding:6px 9px;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer}
.mb-work-scenes button{background:transparent;border:0;min-height:30px}.mb-work-scenes button[aria-pressed=true]{background:#fffefa;box-shadow:0 1px 3px #25432a20}
.mb-work-tools>button[aria-pressed=true],.mb-work-angles [aria-pressed=true]{background:#2c533b;color:#fff}
.mb-work-view-menu{position:relative}.mb-work-view-menu summary{list-style:none}.mb-work-view-menu summary::-webkit-details-marker{display:none}
.mb-work-view-menu>div{position:absolute;inset:auto auto auto 0;top:calc(100% + 3px);z-index:10;display:grid;grid-template-columns:1fr 1fr;min-width:222px;max-height:55dvh;overflow:auto;background:#fffefa;border:1px solid #becdba;border-radius:9px;box-shadow:0 6px 16px #233d2422;padding:6px;gap:3px}
.mb-work-view-menu button{justify-content:flex-start;text-align:left;border-color:transparent}.mb-work-view-menu button:hover{background:#edf1e6}
.mb-work-angles{grid-column:1/-1}.mb-work-angles button{flex:1}.mb-work-model{display:flex;align-items:center;gap:12px;border-bottom:1px solid #dce3d6;padding:4px 0 15px}.mb-work-model>.mb-home-model-image{width:77px;border-radius:7px}.mb-work-model>.mb-tool-select{min-width:0;flex:1}
@media(min-width:1180px){.mb-work-view-menu>div{left:auto;right:0}}
@media(max-width:800px){.mb-work-view-menu>div{position:fixed;top:auto;left:12px;right:12px;margin-top:3px;min-width:0}}
@media(min-width:1180px){.mb-advanced-mode .mb-main>.mb-report{grid-column:auto;grid-row:auto}}
.mb-advanced-mode .mb-report-foot{grid-template-columns:repeat(2,minmax(0,1fr))}
.mb-advanced-mode .mb-report-foot button{min-width:0;width:100%;white-space:normal}
@media(min-width:801px) and (max-width:950px){.mb-work-mode{display:none}}
@media(max-width:365px){.mb-work-actions .mb-mode-switch>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}

.mb-buy-kit{padding:14px;margin-bottom:12px}.mb-buy-kit h3{margin:0 0 10px}.mb-buy-kit label{display:grid;gap:5px}.mb-buy-kit select{max-width:100%;min-height:40px;padding:6px}.mb-buy-kit summary{cursor:pointer;padding:10px 0;font-weight:650}.mb-build-tasks{padding-left:22px}.mb-build-tasks li{margin:7px 0}

.mb-shop-rows{padding:0;list-style:none}.mb-shop-rows li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #dbe1d5;padding:8px 0}.mb-shop-rows strong,.mb-shop-rows small{display:block}.mb-shop-rows small{color:#4b6251;margin-top:2px}.mb-shop-rows b{white-space:nowrap}.mb-buy-kit details summary,.mb-assembly-guide-hardware summary{cursor:pointer;padding:8px 0}.mb-assembly-guide-hardware:not([open])> :not(summary){display:none!important}

/* Keep the photograph visible beside the reading area, including narrow tablets. */
.mb-home-hero{position:relative;isolation:isolate;background:#28332a;border-radius:20px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);min-height:clamp(380px,39vw,570px)}
.mb-home-photo{position:absolute;inset:0;z-index:-2;min-height:0;height:100%}
.mb-home-photo img{object-position:65% 49%}
.mb-home-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#202c25 2%,rgba(32,44,37,.95) 26%,rgba(32,44,37,.68) 50%,transparent 74%)}
.mb-home-copy{padding:clamp(28px,4.6vw,74px);padding-right:0}
.mb-home-copy h1,.mb-home-copy p,.mb-home-copy .mb-home-current,.mb-home-actions>button{color:#fffaf1}
.mb-home-copy h1 em{color:#e1ceab}
.mb-home-copy .mb-home-primary{background:#f6ebd6;color:#293729}
.mb-home-process{margin:42px 0;padding:clamp(22px,3.4vw,50px);background:#eeeee5;border-radius:16px;color:#293b2c}
.mb-home-process h2{font:normal clamp(27px,3vw,42px)/1.1 Georgia,serif;margin:0 0 26px}
.mb-home-process ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.mb-home-process li{border-top:1px solid #aeb5a5;padding-top:14px}
.mb-home-process p{line-height:1.55;margin:7px 0 0}
.mb-drawer-choice{display:grid;gap:6px;font-weight:600}.mb-drawer-choice select{padding:9px}
@media(max-width:690px){.mb-home-hero{display:flex;flex-direction:column-reverse;min-height:0}.mb-home-photo{position:relative;height:clamp(165px,45vw,260px);z-index:0}.mb-home-photo:after{display:none}.mb-home-copy{align-self:stretch;padding:24px}.mb-home-copy p{max-width:44ch}.mb-home-process ol{grid-template-columns:1fr;gap:16px}.mb-home-process{margin:28px 0}.mb-home-actions>button{color:#fffaf1}}

#mebelo-home .mb-home-actions .mb-home-primary{background:#f6ebd6;color:#293729}
#mebelo-home .mb-home-actions .mb-home-primary:hover{background:white}
#mebelo-home .mb-home-actions button{color:#fffaf1;text-decoration:underline}

/* The homepage is a room-indexed furniture catalogue. */
#mebelo-home{background:#fffefa;color:#21231e}
#mebelo-home .mb-home-wrap{width:min(1512px,100%);padding-inline:clamp(20px,5vw,82px)}
#mebelo-home .mb-home-header{border-color:#d9d8d0}
#mebelo-home .mb-home-brand{color:#25241e}
.mb-gallery-intro{display:grid;grid-template-columns:1.45fr 1fr;align-items:center;gap:6%;padding:clamp(34px,4.3vw,68px) 0}
.mb-gallery-intro h1{font:650 clamp(42px,5.7vw,90px)/.99 'DM Sans',Arial,sans-serif;letter-spacing:-.064em;color:#23241f;margin:0}
.mb-gallery-intro h1 em{font:italic normal 1.05em/.98 Georgia,serif;letter-spacing:-.06em;color:#764327}
.mb-gallery-intro p{font-size:clamp(15px,1.15vw,18px);line-height:1.55;max-width:39ch;margin:0 0 16px}
#mebelo-home .mb-gallery-intro .mb-home-primary{background:#24251f;color:white;border-radius:3px;padding:12px 17px}
.mb-recent-title{display:block;margin-top:8px;color:#575950;overflow-wrap:anywhere}
.mb-picker{border-top:1px solid #c9c7bb;padding-top:22px}
.mb-picker-head,.mb-room-caption{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mb-picker-head h2,.mb-home-projects h2{font:650 clamp(22px,2vw,34px)/1.12 'DM Sans',Arial,sans-serif;letter-spacing:-.045em;margin:0}
.mb-picker-head a{display:inline-flex;align-items:center;min-height:40px;gap:6px;font-size:14px;font-weight:650}
.mb-room-filters{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 19px}
#mebelo-home .mb-room-filters button{padding:8px 14px;border:1px solid #d4d2c9;border-radius:24px;font-size:14px;min-height:40px;color:#3a3c35}
#mebelo-home .mb-room-filters button[aria-pressed=true]{background:#eee4d3;border-color:#aa8663;color:#412b18;font-weight:700}
.mb-room-grid{display:grid;grid-template-columns:1.16fr 1fr;gap:27px 20px}
.mb-room-card{display:block;min-width:0}
.mb-room-picture{height:clamp(205px,24vw,395px);overflow:hidden;background:#edeae1;border-radius:4px}
.mb-room-picture img,.mb-room-picture .mb-home-model-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.mb-room-picture .mb-home-model-image{aspect-ratio:auto}
.mb-room-caption{padding:12px 0 6px}
.mb-room-caption b{display:block;font-size:clamp(19px,1.75vw,28px);letter-spacing:-.045em}
.mb-room-caption small{display:block;color:#55584d;font-size:13px;margin-top:2px}
.mb-room-arrow{font-size:24px;line-height:32px;width:36px;text-align:center}
.mb-room-card:hover .mb-room-caption b{text-decoration:underline;text-underline-offset:4px}
#mebelo-home .mb-home-process{background:none;border:0;border-top:1px solid #cfcdc3;padding:26px 0;border-radius:0}
@media(max-width:680px){
.mb-gallery-intro{display:block;padding:29px 0 24px}.mb-gallery-intro h1{font-size:clamp(42px,9.8vw,66px)}.mb-gallery-intro p{margin:15px 0 12px;font-size:15px;max-width:44ch}
.mb-room-grid{grid-template-columns:1fr 1fr;gap:18px 10px}.mb-room-picture{height:clamp(134px,37vw,220px)}.mb-room-caption{align-items:flex-start;gap:2px}.mb-room-caption b{font-size:17px}.mb-room-caption small{font-size:11px}.mb-room-arrow{width:18px;font-size:18px;line-height:20px}
.mb-room-filters{gap:6px;margin:7px 0 14px}#mebelo-home .mb-room-filters button{font-size:12px;padding:7px 10px;min-height:36px}
}
.mb-look-compare{border-top:1px solid #d8ded7;margin:14px 0;padding:12px 0}
.mb-look-compare h4{margin:0}.mb-look-compare p,.mb-look-pair small{font-size:12px;line-height:1.5}
.mb-look-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.mb-look-pair figure{margin:0;min-width:0}.mb-look-pair svg{display:block;width:100%;background:#f2f1eb;border-radius:6px;margin:5px 0}
.mb-look-pair figcaption,.mb-look-pair b{font-size:12px;font-weight:650}.mb-look-pair small{display:block}

#mebelo-home{background:#fcfbf8;color:#242923}
.mb-product{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);margin:30px 0 36px;background:#e9ede5;overflow:hidden}
.mb-product-copy{padding:clamp(23px,4.8vw,76px);align-self:center}
.mb-product h1{font:500 clamp(40px,4.1vw,70px)/1.03 'DM Sans',Arial,sans-serif;letter-spacing:-.062em;margin:0;color:#202c29}
.mb-product h1 em{font:italic 1.06em/1 Georgia,serif;color:#334644}
.mb-product-copy p,.mb-manual p,.mb-questions p{font-size:clamp(15px,1.05vw,18px);line-height:1.55;max-width:40ch}
#mebelo-home .mb-product .mb-home-primary{background:#223b35;border-radius:2px;color:white;margin-top:9px}
.mb-resume{display:inline-block;margin:12px 10px;text-decoration:underline!important}
.mb-product-stage{margin:0;padding:12px 5%;min-height:330px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;background:#d3cec1;background-image:linear-gradient(#484f4110 1px,transparent 1px),linear-gradient(90deg,#484f4110 1px,transparent 1px);background-size:32px 32px}
.mb-product-stage>div{justify-self:end;background:#f9f8f1;padding:3px;display:flex}
#mebelo-home .mb-product-stage button{padding:7px 12px;font-size:12px;min-height:34px}
#mebelo-home .mb-product-stage button[aria-pressed=true]{background:#2f3833;color:white}
.mb-product-stage img{height:clamp(215px,19vw,315px);max-width:100%;width:auto;justify-self:center;align-self:center;object-fit:contain}
.mb-product-stage figcaption{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;border-top:1px solid #797e7180;padding:10px 0 4px}
.mb-room-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mb-room-picture{height:clamp(155px,15vw,230px)}.mb-room-arrow{display:none}
.mb-manual{display:grid;grid-template-columns:1fr .85fr;align-items:center;gap:25px;margin:50px 0 32px;padding:clamp(22px,4vw,60px);background:#ebe6dc}
.mb-manual img{display:block;max-width:100%;height:250px;margin:auto;box-shadow:1px 3px 12px #5c554c26}
.mb-manual h2,.mb-questions h2{font-size:clamp(22px,2vw,34px);line-height:1.12;letter-spacing:-.04em;margin:0 0 12px}
#mebelo-home .mb-manual a:first-of-type:not(:has(img)){text-decoration:underline;text-underline-offset:4px;font-weight:650}
.mb-questions{max-width:920px;margin:38px auto}.mb-questions details{border-top:1px solid #d1d4cc;padding:14px 0}.mb-questions summary{cursor:pointer;font-weight:650}.mb-questions p{max-width:64ch}
#mebelo-home [data-beta-export]{padding:8px;border:1px solid #ccc;margin-left:10px}
@media(min-width:1900px){#mebelo-home .mb-home-wrap{width:min(80vw,2050px)}.mb-product-stage img{height:355px}.mb-room-picture{height:260px}}
@media(max-width:780px){.mb-room-grid{grid-template-columns:1fr 1fr}.mb-product-copy{padding:22px}.mb-product-stage{min-height:285px}.mb-product h1{font-size:40px}}
@media(max-width:600px){.mb-product{display:flex;flex-direction:column;margin:16px 0 23px}.mb-product-copy{align-self:stretch}.mb-product-copy p{margin:8px 0}.mb-product-stage{min-height:0;padding:8px 15px}.mb-product-stage img{height:170px}.mb-product-stage figcaption{font-size:12px}.mb-product h1 br{display:none}.mb-product h1 br:after{content:' '}.mb-product h1 em:before{content:' '}.mb-room-picture{height:clamp(130px,36vw,195px)}.mb-manual{grid-template-columns:1fr;margin:28px 0}.mb-manual img{height:200px}}
