/* Compact room questions; each card contains a complete question. */
.room-step-heading{font-size:21px;font-weight:500;line-height:1.45;letter-spacing:0;margin:28px 0 18px}
.room-step-heading span{font-weight:700;color:#2344b4;white-space:nowrap}
#screens>h1+.room-step-heading{margin-top:0}
.room-questions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 26px}
.room-question{min-width:0;border:1px solid #dce1ec;background:#fafbfe;padding:14px 12px;align-self:stretch}
.room-question h3{font-weight:650;font-size:16px;line-height:1.4;letter-spacing:0;margin:0 0 16px;min-height:44px}
.compact-count{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:8px 0}
.compact-count>label{font-size:14px;overflow-wrap:anywhere}
.room-question .counter{gap:3px;flex-shrink:0}
.room-question .counter button{width:28px;height:34px}
.room-question .counter input{width:40px!important;padding:6px 2px!important;border:1px solid #cbd2e0;background:#fff;height:34px;border-radius:0}
.counter input::-webkit-inner-spin-button,.counter input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.counter input{appearance:textfield;-moz-appearance:textfield}
.single-question .compact-count{flex-direction:column;gap:7px;margin:14px auto;text-align:center}
.room-question .help{font-size:13px;margin-bottom:0}
.inline-choices{padding:0;border:0;margin:14px 0 0;min-width:0;font-size:14px}
.inline-choices legend{margin-bottom:7px;line-height:1.4}
.inline-choices label{display:inline-flex;align-items:center;gap:7px;margin:3px 12px 3px 0;font-weight:500}
input[type=checkbox],input[type=radio]{accent-color:#2344b4;flex-shrink:0}
.inline-choices input{width:18px;height:18px;margin:0}
.motion-mount label,.alarm-pets label{display:flex;margin:6px 0;font-weight:400;cursor:pointer}
.motion-mount legend,.alarm-pets legend{font-weight:500}
.frame-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start;margin-top:14px}
.frame-copy{display:grid;gap:7px;min-width:0}
.frame-copy label{font-size:14px;font-weight:600}
.frame-copy input,.frame-copy textarea{font:inherit;font-size:16px;padding:9px 11px;border:1px solid #bcc6db;min-width:0;width:100%;background:#fff;color:#191c27;border-radius:0}
.frame-copy textarea{min-height:64px;max-height:180px;resize:vertical}
.frame-options{display:grid;gap:16px;min-width:0}
.frame-options fieldset{border:0;padding:0;margin:0;min-width:0}
.frame-options legend{font-size:14px;font-weight:600;margin-bottom:8px}
.segmented{display:flex;gap:6px}
.segmented button{flex:1;border:1px solid #bcc6db;color:#273456;background:#fff;padding:10px 6px;min-height:40px;font-size:14px;cursor:pointer}
.segmented button[aria-pressed=true]{background:#2344b4;border-color:#2344b4;color:#fff}
.visual-workbench{display:grid;grid-template-columns:minmax(155px,1fr) minmax(215px,1.35fr) minmax(155px,1fr);gap:16px;align-items:start;margin:22px 0}
.visual-workbench h4{font-size:17px;line-height:1.4;margin:0}
.sketch-group{padding:12px 0}
.sketch-heading{font-size:14px;line-height:1.4;gap:4px;margin-bottom:9px}
.sketch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.sketch-card{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;padding:9px 6px;line-height:1.35;position:relative}
.sketch-card img{user-select:none;-webkit-user-drag:none}
.sketch-art{height:78px;width:78px}
.sketch-art.half{width:39px}
.visual-workbench .sketch-art.half .blank-cover{height:88%;aspect-ratio:auto}
.reserved-box{display:flex;align-items:center;justify-content:center;width:88%;height:88%;margin:6%;border:1.5px dashed #7b879e;color:#586783;background:#f8faff;text-align:center;font:500 12px/1.3 system-ui}
.reserved-box>span{padding:4px;overflow-wrap:anywhere}
.sketch-label{font-size:14px;line-height:1.35}
.sketch-card:disabled{opacity:.5}
.assembly-stage{position:sticky;top:16px;background:#f5f7fc;border:1px solid #cbd4e7;padding:12px;min-width:0}
.assembly-header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.assembly-count{font-size:13px;color:#596374;white-space:nowrap}
.assembly-device-count{width:100%;font-size:13px;color:#2344b4;line-height:1.4}
.assembly-stage .frame-preview{margin:0 auto}
.assembly-stage .frame-preview:not(.vertical){max-width:100%}
.assembly-stage .frame-preview.vertical{width:calc(100% / var(--boxes));min-width:55px}
.assembly-stage .install-box{position:relative;overflow:visible;aspect-ratio:1;isolation:isolate;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.assembly-stage .module-art{height:auto;align-self:stretch;display:flex;align-items:center;position:relative;z-index:1}
.assembly-stage .module-art.full{width:100%}
.assembly-stage .module-art.half{width:50%}
.assembly-stage .module-art img{height:100%;width:100%;object-fit:fill}
.picked-status{min-height:0;margin:10px 0 0;font-size:14px;line-height:1.45;color:#2344b4;overflow-wrap:anywhere}
.frame-error:empty{display:none}
.frame-error{font-size:14px;line-height:1.4;margin:8px 0}
.frame-contents{margin-top:10px;font-size:14px;border-top:1px solid #dce1ec;padding-top:9px}
.frame-contents summary{cursor:pointer;color:#4b586c}
.frame-contents .box-legend{font-size:14px}
.frame-readonly .frame-preview{max-width:450px;margin:20px auto}
.frame-readonly .frame-preview.vertical{max-width:150px;width:calc(400px / var(--boxes))}
.free-halves p{margin:7px 0 12px}
.free-halves .btn{margin-bottom:6px}
.assembly-stage .drop-slot{display:none;pointer-events:none;position:absolute;top:0;bottom:0;width:50%;height:auto;background:#2344b418;border:2px dashed #2344b4;z-index:2}
.drop-slot.first{left:0}.drop-slot.second{right:0}
.assembly-stage .install-box.can-drop{border-color:#8098dc;box-shadow:0 0 0 1px #2344b433}
.assembly-stage .install-box.drop-ready{box-shadow:0 0 0 3px #2344b445}
.assembly-stage .install-box.drop-before .drop-slot.first,.assembly-stage .install-box.drop-after .drop-slot.second{display:block}
.assembly-stage .install-box.drop-full .drop-slot.first{display:block;width:100%}
.assembly-stage .install-box.drop-blocked{border-color:#ad3c28;background:#fff0eb}
.remove-art{z-index:3}
.touch-drag-ghost{position:fixed;pointer-events:none;z-index:999999;width:92px;height:92px;background:#fff;border:2px solid #2344b4;box-shadow:0 6px 20px #152b5733;opacity:.92;transform:translate(-50%,-65%)}
.touch-drag-ghost.half{width:48px}
.touch-drag-ghost img{width:100%;height:100%;object-fit:fill;display:block}
.module-dragging,.module-dragging body{overscroll-behavior:none;touch-action:none}
.mobile-catalog{display:none}
/* Conditional questionnaires share compact, readable controls. */
.questions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0;align-items:start}
/* Independent column flow avoids empty grid rows below taller alarm questions. */
.alarm-questions{column-count:2;column-gap:12px;margin:14px 0}
.alarm-questions>.question-card{break-inside:avoid;page-break-inside:avoid;margin:0 0 12px;display:inline-block;width:100%;vertical-align:top}
.question-card{min-width:0;min-inline-size:0;display:block;background:#fafbfe;border:1px solid #dce1ec;padding:17px;margin:0;line-height:1.5}
.question-card>label,.question-card>strong,.question-card>legend{font-size:16px;font-weight:600;line-height:1.4}
fieldset.question-card>legend{padding:0 5px;float:none;max-width:100%;overflow-wrap:anywhere}
.question-card>.counter{margin-top:14px}
.question-card .counter input{border:1px solid #bdc8de;border-radius:0;background:#fff;min-width:0;font-size:16px;height:38px}
.question-card .help{font-size:14px;margin-bottom:0}
.choice-list{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.choice-list label,.gate-choice{display:flex;align-items:center;gap:10px;font-size:16px;cursor:pointer}
.choice-list input,.gate-choice input{height:20px;width:20px;min-width:20px;margin:0}
.alarm-recommendation{font-size:14px;line-height:1.45;background:#eef2ff;border-left:3px solid #2344b4;padding:12px;margin-top:16px}
.alarm-recommendation p{margin:6px 0 0}
.gate-message{font-size:14px;line-height:1.55;border-left:3px solid #d6a52f;padding-left:12px;margin-bottom:0}
.wired-contacts>label{display:block;margin-top:15px}
.tips-list{display:grid;gap:30px;margin:32px 0}
.classic-intro h1{font-size:clamp(28px,3.5vw,40px);line-height:1.2}
.classic-intro>p:not(.lead){font-size:17px;line-height:1.6;color:#555c68}
.onboarding-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.equipment-skipped{margin:24px 0}.equipment-skipped p{margin:0 0 14px}
@media(max-width:600px){.actions:has(.onboarding-actions){flex-wrap:wrap}.onboarding-actions{width:100%}.onboarding-actions .btn{flex:1}}
.guide-tip{border-top:1px solid #dce1ec;padding-top:24px;min-width:0}
.guide-tip h2{font-size:28px;line-height:1.25;letter-spacing:-.02em;margin:0 0 18px}
.tip-content{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center}
.tip-illustration{width:220px;height:220px}
.tip-illustration img{width:100%;height:100%;object-fit:contain;display:block}
.guide-tip p{font-size:17px;font-weight:400;font-style:normal;line-height:1.65;margin:0 0 14px}
.guide-tip p:last-child{margin-bottom:0}
.keypad-fobs{margin:12px 0 4px 30px;padding-left:12px;border-left:2px solid #dce1ec}
.keypad-fobs .compact-count{align-items:flex-start;flex-direction:column;gap:7px;margin:12px 0}
.keypad-fobs .compact-count label{font-size:14px;line-height:1.4}
.keypad-fobs .counter{max-width:100%;gap:4px}
.keypad-fobs .counter input{width:48px}
.keypad-fobs .counter button{width:34px;height:38px}
.bluetooth-message{font-size:14px;line-height:1.5;border-left:3px solid #d6a52f;padding:10px 12px;margin:14px 0 0;background:#fff8e5}
.extra-question-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.extra-question-heading>label{font-size:16px;font-weight:600;line-height:1.4}
.extra-tooltip{position:relative;flex:none;display:inline-flex}
.extra-info{width:28px;height:28px;border:1px solid #9cabc9;color:#2344b4;background:#fff;font:600 16px/1 system-ui;cursor:help}
.extra-info:focus-visible{outline:2px solid #2344b4;outline-offset:3px}
.extra-description{display:none;position:absolute;right:0;bottom:calc(100% + 10px);z-index:30;width:min(300px,calc(100vw - 64px));padding:13px 15px;background:#1c2945;color:#fff;font-size:14px;font-weight:400;line-height:1.5;box-shadow:0 6px 18px #1c294533;pointer-events:none}
.extra-info:focus-visible+.extra-description,.extra-info[aria-expanded=true]+.extra-description{display:block}
@media(hover:hover){.question-card:hover .extra-description{display:block}}
.device-budget{border:1px solid #d6dfef;border-left:3px solid #2344b4;background:#f7f9fd;padding:12px 15px;margin:0 0 26px;font-size:14px;line-height:1.5}
.device-budget-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.device-budget-line>strong{font-size:18px;white-space:nowrap;color:#2344b4}
.device-budget-left{margin-left:auto;white-space:nowrap}
.device-budget details{margin-top:5px}.device-budget summary{cursor:pointer;font-size:14px;color:#516078}
.device-budget-details{margin-top:10px;max-width:540px}
.device-budget-details>div{display:flex;justify-content:space-between;gap:16px;padding:4px 0}
.device-budget details p{font-size:14px;margin:8px 0 0}
.device-budget.over-limit{border-color:#b7452d;background:#fff5f2}
.device-budget.over-limit .device-budget-line>strong{color:#a42e20}
.device-budget-error{color:#972c22;font-size:14px;margin:10px 0 0}
.device-limit-notice{position:fixed;right:20px;bottom:20px;z-index:100;display:flex;align-items:flex-start;gap:12px;width:400px;max-width:calc(100% - 24px);padding:16px;background:#fff5f2;border:1px solid #b7452d;box-shadow:0 8px 28px #1c244422;color:#7c271d;font-size:15px;line-height:1.5}
.device-limit-notice p{margin:0}.device-limit-notice button{flex:none;border:0;background:none;color:inherit;font-size:24px;padding:0;min-width:28px;cursor:pointer}
.relay-limit-hint{font-size:14px;line-height:1.5;padding:12px;border-left:3px solid #2344b4;background:#f5f7ff}
.property-message{font-size:16px;line-height:1.6}
.summaryline span,.summaryline strong{overflow-wrap:anywhere;min-width:0}
.summaryline strong{text-align:right}
.heat-choice input{accent-color:#2344b4}
@media(min-width:901px) and (max-width:1290px){.room-questions{grid-template-columns:repeat(2,minmax(0,1fr))}.sketch-grid{grid-template-columns:1fr}.visual-workbench{grid-template-columns:minmax(120px,1fr) minmax(175px,1.4fr) minmax(120px,1fr);gap:10px}.alarm-basics{grid-template-columns:1fr 1fr}}
@media(max-width:900px){
 .app{width:calc(100% - 24px);margin:12px auto;min-height:calc(100vh - 24px)}
 .sidebar{padding:16px;position:relative;top:0;height:auto}
 .sidebar .logo{width:120px;margin:0 0 10px}.sidebar .brandline{font-size:12px;letter-spacing:.08em;margin-bottom:12px}
 .sidebar .steps{display:flex;flex-direction:row;overflow-x:auto;gap:6px;padding:4px 0;scrollbar-width:thin}
 .sidebar .stepnav{flex:none;width:auto;white-space:nowrap;max-width:280px;font-size:14px;padding:8px}.sidebar .stepnav>span:last-child{white-space:normal}
 .main{padding:22px 16px 36px}
 .topbar{margin-bottom:22px;gap:12px;flex-wrap:wrap}.draft{font-size:12px;max-width:none}.kicker{font-size:12px;letter-spacing:.08em}
 h1{font-size:clamp(30px,6vw,42px);line-height:1.1}h2{font-size:22px;line-height:1.35}
 .room-step-heading{font-size:19px;line-height:1.45;margin:24px 0 16px}
 .lead{font-size:16px;margin-bottom:22px}
 .grid,.grid.three,.function-grid,.rooms,.summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .card{padding:17px 14px;min-height:104px}.card strong{padding-right:16px}.card small{font-size:14px}.function-card{min-height:145px}.function-icon{margin-bottom:14px}
 .room-questions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.room-question h3{min-height:0;font-size:16px}.room-question{padding:14px}
 .room-question .counter button{width:34px;height:38px}.room-question .counter input{height:38px;font-size:16px;width:45px!important}
 .roomhead{align-items:center}.mini-counter button{width:38px;height:38px}
 .frame-editor:has(.visual-workbench){padding:12px}.frame-settings{gap:14px;margin-top:10px}
 .visual-workbench{display:flex;flex-direction:column;gap:0;margin:18px 0 12px}
 .desktop-catalog{display:none!important}
 .visual-workbench .assembly-stage{position:sticky;top:0;z-index:20;width:100%;padding:10px;background:#f5f7fc;border-top:3px solid #2344b4;box-shadow:0 4px 10px #1b326514;flex:none}
 .assembly-header{margin-bottom:8px;gap:5px}.assembly-header h4{font-size:16px}.assembly-count{font-size:13px}
 .assembly-stage .frame-preview:not(.vertical){width:min(100%,calc(var(--boxes) * 122px));max-width:100%;padding:4px;gap:3px}
 .assembly-stage .frame-preview.vertical{width:calc(min(224px,28dvh) / var(--boxes));min-width:48px;max-width:130px;padding:3px;gap:2px}
 .assembly-stage .vertical .install-box{flex:none;width:100%}
 .assembly-stage .frame-preview .install-box{min-width:0;padding:2px;flex-shrink:1}
 .assembly-stage .empty-box-label{font-size:12px;line-height:1.2;overflow-wrap:anywhere}.assembly-stage .empty-box-label small{display:none}
 .assembly-stage .picked-status{font-size:13px;line-height:1.35;margin-top:7px;min-height:0;max-height:54px;overflow:auto}
 .assembly-stage .frame-contents{display:none}
 .assembly-stage .frame-error{font-size:13px;max-height:60px;overflow:auto}
 .mobile-catalog{display:block;width:100%;margin-top:10px;min-width:0}
 .mobile-drag-hint{font-size:13px;color:#5b6475;line-height:1.45;margin:4px 0 10px}
 .mobile-category{border:1px solid #d3daea;border-bottom:0}.mobile-category:last-child{border-bottom:1px solid #d3daea}
 .category-toggle{border:0;width:100%;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;font-size:16px;font-weight:600;text-align:left;min-height:46px;cursor:pointer;color:#1c2945}
 .category-toggle[aria-expanded=true]{background:#2344b4;color:#fff}
 .category-title{display:flex;flex:1;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;min-width:0;line-height:1.4}
 .category-title>span{overflow-wrap:anywhere}
 .category-quota{font-size:13px;font-weight:600;color:#2344b4;background:#eef2ff;padding:3px 7px;white-space:nowrap}
 .category-toggle[aria-expanded=true] .category-quota{background:#fff;color:#2344b4}
 .category-chevron{flex:none;margin-left:12px;font-size:20px;line-height:1}
 .category-toggle[aria-expanded=true] .category-chevron{transform:rotate(180deg)}
 .mobile-category-panel{display:flex;align-items:stretch;overflow-x:auto;overscroll-behavior-x:contain;gap:10px;padding:12px;background:#f5f7fc;scroll-snap-type:x proximity;scrollbar-width:thin;max-width:100%;min-width:0}
 .mobile-category-panel .sketch-card{flex:0 0 146px;max-width:146px;scroll-snap-align:start;gap:6px;min-height:210px;background:#fff;touch-action:pan-x pan-y}
 .mobile-category-panel .sketch-art{height:86px;width:86px;flex:none}.mobile-category-panel .sketch-art.half{width:43px}
 .mobile-category-panel .sketch-label{font-size:14px;line-height:1.35}
 .card-quota{font-size:13px;color:#2344b4;font-weight:600;margin-top:auto}
 .remove-art{width:26px;height:26px;top:-5px;right:-3px;line-height:22px}
 .frame-actions{gap:8px}.frame-actions .btn{font-size:14px;min-height:42px;padding:10px 12px}
 .free-halves{padding:12px!important}.free-halves strong,.free-halves p{font-size:14px!important}
 .questions-grid,.alarm-basics{grid-template-columns:repeat(2,minmax(0,1fr))}.question-card{padding:14px}
 .heat-choice{padding:14px;gap:10px}.heat-details{padding:0 12px 12px}.heat-details .grid{grid-template-columns:1fr}
 .field input,.field textarea,.field select{font-size:16px}.heat-answers{flex-wrap:wrap;gap:4px}
 .tips-list{gap:24px;margin:26px 0}.guide-tip h2{font-size:24px}.tip-content{gap:20px;grid-template-columns:160px minmax(0,1fr)}.tip-illustration{width:160px;height:160px}.guide-tip p{font-size:16px}
 .summary{grid-template-columns:1fr}.summarybox{padding:14px}.summaryline{gap:12px;font-size:14px}
 .saved-frame{padding:14px}.saved-frame>div{max-width:100%}.saved-frame strong{overflow-wrap:anywhere}
 .saved-room{padding:12px}.saved-room .frame-preview{max-width:100%}
 .actions{gap:10px;margin-top:24px;padding-top:18px;align-items:stretch}.actions .btn{padding:12px 14px;line-height:1.4;min-width:0}
}
@media(max-width:560px){
 .app{width:calc(100% - 16px);margin:8px auto}
 .main{padding:20px 12px 30px}
 .grid,.grid.three,.function-grid,.rooms,.questions-grid,.alarm-basics{grid-template-columns:1fr}
 .alarm-questions{column-count:1}
 .function-card{min-height:110px}.function-icon{margin-bottom:10px}.function-icon svg{width:28px;height:28px}
 .room-questions{grid-template-columns:1fr 1fr;gap:8px}.room-question{padding:12px 8px}
 .device-budget{padding:10px 12px;margin-bottom:20px}.device-budget-line>span:first-child{flex:1 0 100%}.device-budget-left{margin-left:auto}.device-limit-notice{right:12px;bottom:12px}
 .compact-count{flex-direction:column;align-items:center;gap:5px;margin:10px 0}.room-question h3{text-align:center;font-size:15px;line-height:1.4;min-height:42px;margin-bottom:8px}
 .room-question .counter{gap:3px}.room-question .counter button{width:32px;height:36px}.room-question .counter input{width:42px!important;height:36px}
 .room-question .help{font-size:13px;text-align:center}.inline-choices{font-size:14px}.inline-choices label{margin-right:8px}
 .frame-settings{grid-template-columns:1fr;gap:14px}.frame-options{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .segmented{gap:3px}.segmented button{font-size:14px;padding:10px 2px;min-width:0}.frame-options legend{font-size:13px;min-height:34px}
 .guide-tip h2{font-size:22px}.tip-content{display:block}.tip-illustration{float:left;width:128px;height:128px;margin:0 18px 12px 0}.tip-content:after{content:'';display:block;clear:both}
 .saved-frame .frame-actions{width:100%}.saved-frame .btn{flex:1;padding:9px 7px;font-size:14px}
 .heat-choice{font-size:16px}.heat-choice span,.heat-choice strong{min-width:0;overflow-wrap:anywhere}.heat-install .rec{padding:12px}
 .sidebar .brandline{font-size:12px;letter-spacing:.04em}.topbar .draft{font-size:12px}
 .frame-editor .note .btn{display:block;width:100%}
}
@media(max-height:600px) and (max-width:900px){.assembly-stage .frame-preview:not(.vertical){width:min(100%,calc(var(--boxes) * 86px))}.assembly-stage .frame-preview.vertical{width:calc(140px / var(--boxes));min-width:38px}.assembly-stage .picked-status{max-height:35px}.mobile-category-panel .sketch-art{height:64px}.mobile-category-panel .sketch-card{min-height:180px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* One shared drawing canvas: square full module, half-width module. */
.normalized-sketch{display:block;position:relative;overflow:hidden;width:92%;height:92%;margin:auto;flex-shrink:0;pointer-events:none}
.normalized-sketch img{position:absolute;display:block;max-width:none!important;object-fit:fill!important;pointer-events:none}
.module-art{display:flex;align-items:center;justify-content:center;align-self:stretch}
.touch-drag-ghost{display:flex;align-items:center;justify-content:center}
@media(max-height:600px) and (max-width:900px){.mobile-category-panel .sketch-art{width:64px}.mobile-category-panel .sketch-art.half{width:32px}}

.installation-choices{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.installation-choices .btn{white-space:normal}@media(max-width:600px){.actions:has(.installation-choices){flex-wrap:wrap}.installation-choices{width:100%;flex-direction:column}.installation-choices .btn{width:100%}}

/* Compact, direct assembly controls; the installation-box artwork stays unchanged. */
.frame-settings.compact-frame-settings{display:block}
.compact-frame-settings .frame-copy{grid-template-columns:1fr 1fr;gap:14px}
.compact-frame-settings .frame-copy label{display:block;margin-bottom:7px}
.compact-frame-settings .frame-copy textarea{min-height:42px;height:42px}
.assembly-controls{display:flex;align-items:center;gap:8px;margin:0 0 10px;flex-wrap:wrap}
.assembly-tool,.add-frame-box{font:inherit;color:#2344b4;background:#fff;border:1px solid #bcc6db;cursor:pointer;min-height:44px;min-width:44px;border-radius:7px;padding:6px 10px}
.assembly-tool span{font-size:22px;vertical-align:middle}
.box-limit{font-size:14px;color:#576175;margin-right:auto}
.assembly-grow{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.assembly-grow>.frame-preview:not(.vertical){flex:1;min-width:0}
.assembly-grow .add-frame-box{flex:none;border-style:dashed;font-size:26px;padding:0;width:44px;height:44px}
.assembly-grow.is-vertical{flex-direction:column}
.assembly-tool:hover:not(:disabled),.add-frame-box:hover{background:#edf2ff;border-color:#2344b4}
.assembly-tool:focus-visible,.add-frame-box:focus-visible{outline:3px solid #2344b4;outline-offset:2px}
@media(max-width:520px){.compact-frame-settings .frame-copy{grid-template-columns:1fr;gap:10px}}
