/* Assistant workspace. Geometry is rendered independently in designer-board.js. */
.draw-workspace{position:fixed;inset:0;z-index:110;display:grid;grid-template-columns:minmax(0,1fr) 350px;background:#f5f6f8;color:#243247;font:14px/1.5 "Segoe UI",Arial,sans-serif}
.draw-workspace[hidden],.draw-workspace [hidden]{display:none!important}
.draw-workspace *{box-sizing:border-box}
.draw-workspace button,.draw-workspace input,.draw-workspace select,.draw-workspace textarea{font:inherit}
.draw-workspace button{padding:11px 17px;border:1px solid #dbe1e9;border-radius:10px;background:#fff;color:#34445b;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.draw-workspace button:hover{background:#f0f5fd;border-color:#9cb7e4}
.draw-workspace button:focus-visible,.draw-workspace input:focus-visible,.draw-workspace textarea:focus-visible{outline:3px solid #9fc5ff;outline-offset:3px}
.draw-workspace button:disabled{opacity:.4;cursor:default}
.draw-workspace button.selected,.draw-workspace .primary{background:#285cbe;color:#fff;border-color:#285cbe;box-shadow:0 3px 7px #285cbe16}
.draw-main{overflow:auto;padding:30px 34px 20px;min-width:0}
.draw-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:650;color:#7a889b;margin-bottom:12px}
.draw-main h1{font-size:25px;letter-spacing:-.7px;font-weight:650;margin:0 0 6px;color:#1e3049}
.draw-main h2{font-size:14px;font-weight:450;color:#758398;margin:0}
.draw-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}
.draw-stepper{display:flex;align-items:center;gap:17px;white-space:nowrap;font-size:11px;color:#8894a5}
.draw-stepper span{display:flex;gap:7px;align-items:center}
.draw-stepper i{font-style:normal;display:grid;place-items:center;border:1px solid #d4dce7;border-radius:50%;width:24px;height:24px;background:#fff;font-size:11px}
.draw-stepper .current{color:#285cbe;font-weight:650}.draw-stepper .current i{background:#285cbe;border-color:#285cbe;color:#fff}.draw-stepper .complete{color:#516e91}
.draw-step-intro{font-size:13px;color:#6f7c8f;margin:0 0 17px}
.draw-actions,.draw-choices,.draw-tools{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.draw-choices{margin-top:32px}.draw-choices button{min-width:220px;max-width:360px;text-align:left;padding:24px}.draw-choices small{display:block;font-size:12px;margin-top:6px;opacity:.75}
.draw-workspace input,.draw-workspace select{padding:8px;border:1px solid #c7d2e1;border-radius:8px;background:#fff;color:#243246}
.draw-tools{background:#fff;border:1px solid #e2e7ee;border-radius:14px;padding:12px;align-items:center}
.draw-tools>label{display:flex;gap:8px;align-items:center;font-size:12px;color:#748095;margin-left:auto}.draw-tool-count{width:64px}
.board-card{background:#fff;border:1px solid #e0e5ed;border-radius:18px;box-shadow:0 6px 24px #273f6210;overflow:hidden}
.board-caption{height:45px;padding:0 21px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8491a2;border-bottom:1px solid #eef1f5;gap:15px}
.board-caption>span:first-child{color:#55667d;white-space:nowrap}.board-caption i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9aacc5;margin-right:6px}
.board-canvas{position:relative;min-width:340px;background:radial-gradient(ellipse at 50% 50%,#f7f9fc 0%,#fff 72%)}
.draw-board{display:block;width:100%;height:100%;overflow:visible;touch-action:pan-y}
.board-shadow{stroke:#e4eaf1;stroke-width:10;stroke-linecap:round;filter:blur(6px)}
.board-carcass{fill:#d0d9e5;stroke:#8798af;stroke-width:1}
.board-side{fill:#e6ebf2;stroke:#b8c5d6;stroke-width:1}.board-top{fill:#f0f3f8;stroke:#b8c5d6;stroke-width:1}
.board-cell{cursor:pointer;outline:none}.board-cell>rect{fill:#fff;stroke:#a4b2c6;stroke-width:1;transition:fill .15s,stroke .15s}
.board-cell:hover>rect{fill:#f5f8ff;stroke:#7d9fce}.board-cell.is-selected>rect,.board-cell:focus-visible>rect{fill:#edf4ff;stroke:#3d79d4;stroke-width:2}
.board-cell text{pointer-events:none;font-family:"Segoe UI",Arial,sans-serif;fill:#75859b}.board-cell text.board-cell-number{font-size:11px;font-weight:650;fill:#a0aec0}.board-cell.is-selected text.board-cell-number{fill:#3069ba}
.board-cell-size{font-size:12px;letter-spacing:.3px}.board-cell.is-selected text.board-cell-size{fill:#587aa7}
.board-filling{stroke:#a2b3cb;stroke-width:1.5;pointer-events:none}.board-door{stroke:#c3ccda;stroke-width:1;fill:none;pointer-events:none}
.board-cell .board-inner-drawer{fill:#dbe8f8;stroke:#819bbc;pointer-events:none}
.board-inner-drawer-pull{stroke:#6482a9;stroke-width:1.5;pointer-events:none}
.draw-sliding-board svg{display:block;width:100%;height:auto;max-height:470px;color:#48658c}
.draw-sliding-board text{fill:currentColor;font-size:14px}
.sliding-frame{fill:#8298b2;stroke:#56708e}
.sliding-leaf{stroke:#6983a2;stroke-width:2}
.sliding-leaf.board{fill:#dce7f5}
.sliding-leaf.mirror{fill:#cfe0ee}
.sliding-leaf.glass{fill:#e3f2f2}
.sliding-shine{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;opacity:.85}
.dressing-shapes{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px}
.dressing-shapes button{display:grid;justify-items:center;gap:5px;padding:12px}
.dressing-shapes button[aria-pressed="true"]{background:#eaf2ff;border-color:#3d79d4;color:#214b88;box-shadow:inset 0 0 0 1px #3d79d4}
.dressing-shapes small{font-size:12px}
.dressing-plan{display:block;width:100%;max-width:280px;height:auto}
.dressing-plan-walls{fill:none;stroke:#bcc9da;stroke-width:1.5}
.dressing-plan-part rect{stroke:#326ab7;stroke-width:1.75;fill:#dbeaff}
.dressing-plan-part text{fill:#214b88;font-size:12px;font-weight:650}
.dressing-plan-part.is-outline rect{fill:none;stroke:#8295ad;stroke-width:1}
.dressing-plan-part.is-outline text{fill:#657892;font-weight:400}
.dressing-overview{display:flex;align-items:center;gap:14px;padding:8px 12px;margin-bottom:14px;border:1px solid #e3e8ef;border-radius:12px;background:#fff}
.dressing-plan-wrap{position:relative;width:100%;max-width:280px}
.dressing-overview .dressing-plan-wrap{flex:0 0 min(168px,36%)}
.dressing-junctions .dressing-plan-wrap{flex-basis:min(240px,48%)}
.draw-workspace .dressing-corner{position:absolute;transform:translate(-50%,-50%);padding:0;width:27px;height:27px;display:grid;place-items:center;border:1px solid #5280bf;border-radius:50%;background:#fff;color:#255a9e;font-weight:700;line-height:1}
.draw-workspace .dressing-corner[aria-pressed="true"]{background:#285cbe;color:#fff}
.dressing-wall-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px;font-size:12px}
.dressing-wall-buttons button{padding:4px 8px}
.board-extension{fill:none;stroke:#d4dce7;stroke-width:1;pointer-events:none}.board-extension.is-section{stroke:#a9c5ee;stroke-dasharray:3 3}
.board-dimension{fill:none;stroke:#a9b6c8;stroke-width:1;pointer-events:none}.board-dimension.is-section{stroke:#5991dd}
.board-field{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:5px;z-index:2;font-size:10px;color:#8290a3;white-space:nowrap;letter-spacing:.1px}
.board-input{display:flex;align-items:center;background:#fff;border:1px solid #d6dfeb;border-radius:9px;box-shadow:0 2px 6px #2a46600a;padding:0 8px 0 4px;height:35px;color:#98a5b7}
.draw-workspace .board-input input{border:0!important;background:transparent!important;border-radius:6px;padding:4px 3px;width:65px;color:#35475e;text-align:center;font-size:14px;font-weight:600;outline-offset:1px;appearance:textfield;-moz-appearance:textfield}
.board-input input::-webkit-inner-spin-button,.board-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.board-input>span{font-size:10px}.board-field.is-section{color:#427ac5}.board-field.is-section .board-input{border-color:#9ebfe9;background:#f7faff;box-shadow:0 2px 7px #285cbe0b}.draw-workspace .board-field.is-section input{color:#285cbe}
.board-field.is-fixed .board-input{background:#f4f6f9;border-style:dashed;box-shadow:none}.board-field.is-fixed:after{content:"по общему габариту";position:absolute;top:100%;font-size:9px;color:#98a7bc}
.board-divider{touch-action:none;outline:none}.board-divider.vertical{cursor:col-resize}.board-divider.horizontal{cursor:row-resize}
.board-divider-hit{stroke:transparent;stroke-width:17;fill:none}.board-divider circle{fill:#fff;stroke:#a8b9cf;stroke-width:1;filter:drop-shadow(0 1px 2px #314f7320)}
.board-divider-grip{stroke:#839ab8;stroke-width:1;fill:none;pointer-events:none}.board-divider:hover circle,.board-divider:focus-visible circle{fill:#e7f1ff;stroke:#3976c9;stroke-width:2}
.dragging-divider{user-select:none}.dragging-divider .draw-board{touch-action:none}
.board-context{display:flex;align-items:center;gap:18px;padding:17px 20px;border-top:1px solid #e9edf4;background:#fcfdff;min-height:92px}
.board-selection{display:flex;align-items:center;gap:11px;min-width:155px}.board-selection>span{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;color:#3973c2;background:#eaf2ff;font-weight:650;font-size:12px}
.board-selection b{display:block;font-weight:600;font-size:12px;color:#3a506f}.board-selection small{display:block;color:#8c99ab;font-size:11px;margin-top:2px}
.board-split-actions{display:flex;gap:9px}.draw-workspace .board-split-actions button{display:flex;align-items:center;gap:9px;padding:10px 12px;font-size:12px;background:#fff}
.board-split-actions svg{width:29px;height:23px;fill:none;stroke:#5584c5;stroke-width:1.5}
.board-secondary{display:flex;margin-left:auto;gap:1px;flex-wrap:wrap;justify-content:flex-end}.draw-workspace .board-secondary button{padding:5px 8px;font-size:11px;border-color:transparent;background:transparent;color:#8695a8;box-shadow:none}
.draw-step-footer{align-items:center;justify-content:space-between;margin:18px 0 0}.draw-step-footer>span{color:#8a97a9;font-size:11px}.draw-step-footer .primary{padding:12px 22px}
.draw-status{color:#b34c4c;font-size:12px;min-height:0}.draw-status:empty{display:none}
.draw-chat{background:#fff;border-left:1px solid #e1e6ed;display:flex;flex-direction:column;min-height:0;padding:28px 20px 20px;gap:12px;box-shadow:-4px 0 25px #263f5b03}
.draw-chat h2{margin:0 0 3px;font-size:17px;letter-spacing:-.2px;font-weight:650;color:#2a3d57}.draw-chat h2:before{content:"✧";display:inline-grid;place-items:center;color:#447bc6;background:#edf3fd;border-radius:9px;width:30px;height:30px;margin-right:10px}
.draw-workspace .draw-chat>button{padding:8px 12px;font-size:11px;color:#7c8b9f;border-color:#e5eaf1;background:#fff}
.draw-manual-guide{display:grid;gap:6px}
.draw-manual-notice{margin:0 0 16px;padding:10px 14px;border-left:4px solid #a98a60;border-radius:8px;background:#f5efe4;color:#654b2d;font-size:18px;font-weight:650;line-height:1.35}
.draw-manual-guide .draw-manual-notice{margin:0}
.draw-experiment-label{display:inline-block;margin:0 12px 10px 0;padding:5px 10px;border-radius:6px;background:#fff2d6;color:#67430e;font-weight:650}
.draw-frame{width:100%;height:calc(100vh - 220px);min-height:360px;border:0;background:#fff;border-radius:16px;margin-top:12px}
.draw-design-sheet{margin-top:16px}
.draw-design-back{position:sticky;bottom:0;padding:10px 0;background:white}
.draw-design-sheet label{display:block;margin:8px 0}
.draw-design-sheet [data-room-choices]{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.draw-design-review{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.draw-design-review img{width:100%;align-self:start}
.draw-design-review textarea{width:100%}
.draw-design-review [data-check],.draw-design-review [data-validation]{white-space:pre-line}
.draw-workspace .draw-manual-guide button{padding:7px 10px;font-size:12px}
@media(max-width:620px){.draw-manual-guide{display:flex;align-items:center;justify-content:space-between;gap:8px}.draw-manual-guide button{flex-shrink:0}}
.draw-log{flex:1;overflow:auto;min-height:70px;padding-top:10px}.draw-bubble{white-space:pre-wrap;padding:14px 15px;border-radius:0 13px 13px 13px;background:#f3f6fa;margin:0 0 13px;overflow-wrap:anywhere;color:#5c6e86;font-size:12px;line-height:1.8}.draw-bubble.user{background:#eaf2ff;margin-left:25px;border-radius:13px 0 13px 13px;color:#3c659c}
.draw-chat form{display:flex;flex-direction:column;gap:9px;padding-top:8px;border-top:1px solid #eef1f6}.draw-chat textarea{resize:vertical;min-height:85px;border:1px solid #d9e2ee;border-radius:11px;padding:12px;color:#354962;background:#fbfcfe;font-size:12px}.draw-chat textarea::placeholder{color:#9aa7b8}.draw-chat form button{font-size:12px}
.draw-frame{width:100%;height:calc(100vh - 190px);border:0;background:#fff;border-radius:16px;margin-top:12px}
.draw-material{padding:24px;background:#fff;border:1px solid #e3e8ef;border-radius:16px;margin-bottom:14px}.draw-material h3{font-size:14px;font-weight:600;margin:0 0 15px}.draw-material .draw-tools{border:0;padding:0;margin:8px 0 15px}.draw-material .draw-tools button{font-size:12px}.draw-material select{max-width:100%;font-size:12px}.draw-material p{font-size:12px;color:#647792}.draw-swatch{display:inline-block;width:36px;height:36px;background-size:cover;border:1px solid #d2dce6;border-radius:8px;vertical-align:middle;margin-right:10px}
.draw-workspace.built{background:transparent;pointer-events:none}.draw-workspace.built .draw-main{display:none}.draw-workspace.built .draw-chat{grid-column:2;pointer-events:auto;box-shadow:-3px 0 14px #0001}
body.assistant-drawing #panel,body.assistant-drawing #panelToggle{visibility:hidden}
.draw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1600px){.draw-main{padding-left:50px;padding-right:50px}}
@media(max-width:1150px){.draw-workspace{grid-template-columns:minmax(0,1fr) 300px}.draw-main{padding:23px 22px 18px}.draw-page-heading{align-items:flex-start}.draw-stepper{gap:8px;font-size:0}.draw-stepper i{font-size:10px}.draw-chat{padding:23px 16px 16px}.board-context{flex-wrap:wrap;gap:12px}.board-selection{min-width:135px}.board-secondary{margin-left:0}.board-caption>span:last-child{font-size:10px}.draw-step-footer>span{display:none}}
@media(max-width:760px){.draw-workspace{grid-template-columns:minmax(0,1fr) 250px}.draw-main{padding:20px 12px}.draw-main h1{font-size:20px}.draw-stepper{display:none}.board-card{overflow-x:auto}.board-context{min-width:340px}.board-caption{min-width:340px;padding:0 12px}.board-caption>span:last-child{max-width:180px}.draw-chat{padding:20px 12px 12px}.board-split-actions{flex-wrap:wrap}.draw-tools{padding:8px}.draw-tools>label{margin-left:0}}
@media(max-width:620px){.draw-workspace{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 215px}.draw-chat{padding:10px 14px;border-top:1px solid #e0e6ef}.draw-chat h2,.draw-chat>button{display:none}.draw-log{padding-top:0;min-height:40px}.draw-bubble{padding:8px 12px;margin-bottom:6px;line-height:1.5}.draw-chat form{flex-direction:row;padding-top:0;border:0}.draw-chat textarea{min-height:45px;width:100%;resize:none;padding:9px}.draw-chat form button{padding:8px 12px}.draw-workspace.built .draw-chat{grid-column:1;grid-row:2}.draw-workspace.built .draw-chat>button{display:block}.draw-page-heading{margin-bottom:10px}.draw-eyebrow{font-size:9px}.draw-choices button{min-width:180px;width:100%;padding:18px}.draw-step-intro{font-size:12px}.board-secondary{margin-left:auto}}

/* Compact entry screens and explicit product selection. */
.draw-page-heading{flex-wrap:wrap}.draw-page-heading>div:first-child{flex:1;min-width:180px}
.draw-workspace button.draw-reset{padding:8px 11px;background:transparent;box-shadow:none;font-size:11px;color:#8190a4;white-space:nowrap}
.draw-main.is-onboarding{display:flex;flex-direction:column;justify-content:center;padding-top:30px;padding-bottom:30px}
.draw-main.is-onboarding>.draw-eyebrow,.draw-main.is-onboarding>.draw-page-heading,.draw-main.is-onboarding>.draw-onboarding,.draw-main.is-onboarding>.draw-manual-notice{width:100%;max-width:940px;margin-left:auto;margin-right:auto}
.draw-main.is-onboarding .draw-page-heading{margin-bottom:23px}.draw-main.is-onboarding h2{margin-top:5px}
.draw-onboarding{padding:25px;background:#fff;border:1px solid #e0e6ee;border-radius:19px;box-shadow:0 8px 30px #273f620a}
.draw-onboarding-intro{color:#738298;font-size:13px;margin:0 0 20px}
.draw-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.draw-workspace .draw-paths>button{display:flex;flex-direction:column;align-items:flex-start;padding:20px 23px;background:linear-gradient(155deg,#fcfdff,#f3f7fd);border-color:#dbe5f3;border-radius:13px;text-align:left;min-width:0}
.draw-workspace .draw-paths>button:not(:disabled):hover{background:#edf4ff;border-color:#8eafe0;box-shadow:0 4px 15px #4273b515}
.draw-path-art{display:block;width:100%;height:133px;margin:0 0 15px;align-self:center}.draw-path-art svg{width:100%;height:100%}
.draw-paths b{font-size:17px;font-weight:650;letter-spacing:-.3px;margin-bottom:8px;color:#304969}
.draw-paths button>span:not(.draw-path-art){color:#7b8da5;font-size:12px;line-height:1.8;max-width:280px}
.draw-paths small{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:22px;padding-top:13px;border-top:1px solid #dfe7f3;color:#7090ba;font-size:10px}
.draw-paths small i{font-style:normal;font-size:19px;color:#477cc0}
.draw-onboarding-note{display:flex;justify-content:space-between;gap:12px;margin-top:24px;color:#91a0b4;font-size:10px}
.draw-saved{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;background:#f4f7fb;border-radius:10px;margin-top:20px;font-size:11px;color:#7d8ea5}.draw-saved b{color:#567399;font-weight:550}.draw-workspace .draw-saved button{font-size:11px;padding:8px 12px;background:#fff}
.draw-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.draw-workspace .draw-products button{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;min-width:0;padding:14px 9px 16px;background:#fbfcfe;border:1px solid #e1e7ef;border-radius:12px;box-shadow:none;color:#8198b6}
.draw-products button>svg{display:block;width:92px;height:86px;margin-bottom:4px}
.draw-products b{font-weight:550;font-size:13px;color:#516b8d;line-height:1.5}
.draw-products small{font-size:9px;line-height:1.5;color:#9aa9bd;margin-top:5px;min-height:27px;max-width:145px}
.draw-workspace .draw-products button:disabled{opacity:.48;background:#f9fafc}
.draw-workspace .draw-products button:not(:disabled):hover{border-color:#a0bce3;background:#f3f7fe}
.draw-workspace .draw-products button.selected{border-color:#729fdd;background:#edf4ff;color:#5683bf;box-shadow:0 0 0 1px #a9c7ed40}
.draw-products button.selected b{color:#3565a2}.draw-products button.selected small{color:#6c8eb7}
.draw-product-check{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:19px;height:19px;background:#4e83cc;color:#fff;border-radius:50%;font-size:11px}
.draw-product-next{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px;margin-top:20px;border-top:1px solid #e8edf5;color:#8796ab;font-size:12px}
.draw-product-next b{color:#507098;font-weight:600}.draw-product-next>div{display:flex;gap:9px}.draw-product-next button{font-size:12px}.draw-product-next button.primary{padding-left:27px;padding-right:27px}
@media(max-width:1150px){.draw-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.draw-onboarding{padding:19px}.draw-products button>svg{width:70px;height:67px}.draw-products b{font-size:11px}.draw-products small{font-size:9px}.draw-paths{gap:10px}.draw-workspace .draw-paths>button{padding:16px}.draw-paths b{font-size:14px}.draw-path-art{height:104px}.draw-paths button>span:not(.draw-path-art){font-size:11px}.draw-onboarding-note{font-size:9px;gap:8px}}
@media(max-width:850px){.draw-main.is-onboarding{justify-content:flex-start}.draw-products{grid-template-columns:repeat(2,minmax(0,1fr))}.draw-products button>svg{height:64px}.draw-products small{min-height:0}.draw-paths{grid-template-columns:1fr}.draw-workspace .draw-paths>button{display:grid;grid-template-columns:80px 1fr;gap:4px 13px;align-items:center;padding:15px}.draw-path-art{height:80px;grid-row:1/4;margin:0}.draw-paths b{margin-bottom:0}.draw-paths small{grid-column:2;margin-top:4px;padding-top:7px}.draw-onboarding-note{flex-direction:column;gap:4px;margin-top:16px}.draw-product-next{align-items:stretch;flex-direction:column}.draw-product-next>div{justify-content:space-between}.draw-saved{flex-direction:column;align-items:flex-start}.draw-workspace button.draw-reset{font-size:10px;padding:7px 9px}}

.draw-workspace .draw-paths>button:disabled{cursor:default;opacity:.68}
.draw-table-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 14px}
.draw-table-board .board-card{min-width:0}
.draw-table-board svg{display:block;width:100%;height:auto;max-height:280px;color:#3f5e83}
.draw-table-board svg text{fill:currentColor;font-size:12px}
.draw-table-board .table-top{fill:#e9f0f9;stroke:#537298;stroke-width:1.4}
.draw-table-board .table-support{fill:#d9e7f7;stroke:#537298;stroke-width:1.3}
.draw-table-board .table-footprint{fill:#c7dcf3;stroke:#6481a2;stroke-dasharray:4 3}
.draw-table-board .table-dimension,.draw-table-board .table-front-detail{fill:none;stroke:currentColor;stroke-width:1}
.draw-table-board .table-front-label{font-size:11px}
.draw-table-board.table-top-only{grid-template-columns:minmax(0,1fr);max-width:620px}
.draw-table-settings>p{margin-top:0;font-size:14px}
.draw-table-fields,.draw-table-choices{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.draw-table-fields label,.draw-table-choices button{display:grid;gap:5px;text-align:left}
.draw-table-fields label{padding:10px 14px;background:#f5f8fc;border-radius:10px}
.draw-table-fields input{width:100px;padding:5px 8px;border:1px solid #c2d0e2;border-radius:6px}
.draw-table-fields small,.draw-table-choices small{font-size:12px}
.draw-table-choices button{flex:1 1 145px}
.draw-table-choices svg{width:96px;max-width:100%;height:54px;fill:none;stroke:currentColor;stroke-width:2}
.draw-table-pedestals{display:flex;flex-wrap:wrap;gap:12px}
.draw-table-pedestal{flex:1 1 240px;min-width:0;border:1px solid #dbe1e9;border-radius:10px}
.draw-table-pedestal legend{padding:0 5px;font-weight:600}
.draw-table-pedestal .draw-table-fields{margin-bottom:4px}
.table-shelf-detail.behind-door{stroke-dasharray:3 3}
@media(max-width:760px){.draw-table-board{grid-template-columns:1fr}}

/* Все переходы гардеробной доступны и на узком экране. */
.draw-dressing-nav{position:sticky;top:0;z-index:5;background:#fff;padding:10px 0;border-bottom:1px solid #d4dce7;margin-bottom:12px}
.draw-dressing-nav>div{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.draw-dressing-nav button{padding:8px 12px;border:1px solid #d4dce7;border-radius:7px;background:#fff;cursor:pointer}
.draw-dressing-nav button.selected{background:#e8f0ff;border-color:#285cbe}
.draw-dressing-nav button.primary{background:#285cbe;color:#fff}
.draw-stepper [data-act]{cursor:pointer}
.draw-dressing-nav+.draw-stepper{display:none}

/* Все три панели занимают одну ячейку: схема не сдвигается при смене этапа. */
.draw-stable-tools{display:grid}
.draw-stage-tools{grid-area:1/1;visibility:hidden;pointer-events:none}
.draw-stage-tools.current{visibility:visible;pointer-events:auto}

.draw-content-tools{align-items:stretch}
.draw-content-tool{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:6px;border:1px solid #d4dce7;border-radius:10px;background:#fff}
.draw-content-tool.selected{border-color:#285cbe;background:#edf3ff}
.draw-content-tool>button{border:0;background:transparent}
.draw-content-tool>label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;color:#607086}
.draw-content-tool select{max-width:165px}
.draw-content-tool .draw-tool-count{width:54px}

/* Переходы всех изделий собраны сверху; старые нижние дубли не показываются. */
.draw-free-steps .draw-actions{display:none}
