:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#20262b;background:#e7eaec}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}*{box-sizing:border-box}button,input{font:inherit}.cad-app{width:100%;height:100%;display:flex;flex-direction:column;background:#e7eaec}.top-toolbar{flex:0 0 52px;min-width:0;display:flex;align-items:center;gap:8px;padding:0 12px;color:#eef1f2;background:#242a2f;border-bottom:1px solid #15191c}.top-toolbar .MuiDivider-root{border-color:#4a5156;margin:9px 4px}.top-toolbar .MuiIconButton-root,.top-toolbar .MuiButton-text{color:#e7ebed}.top-toolbar .MuiIconButton-root:hover,.top-toolbar .MuiButton-text:hover{background:#363e44}.top-toolbar .MuiButton-contained{color:#fff;background:#317454}.top-toolbar .MuiButton-contained:hover{background:#286245}.project-button{min-width:200px;max-width:320px;display:flex;align-items:center;gap:9px;padding:3px 6px;color:inherit;text-align:left;background:transparent;border:1px solid transparent;border-radius:3px;cursor:pointer}.project-button:hover{background:#2f363c;border-color:#4a5156}.project-caret{flex:0 0 auto;margin-left:auto;color:#abb3b8}.project-button:hover strong{text-decoration:underline;text-underline-offset:3px}.project-button>span{min-width:0;display:grid}.project-button strong,.project-button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-button strong{font-size:13px;line-height:1.2}.project-button small{margin-top:2px;color:#abb3b8;font-size:10px}.sbi-mark{flex:0 0 auto;height:32px;width:auto;max-width:160px;object-fit:contain;font-size:11px;font-weight:900}.unit-tool{min-width:34px;height:26px;display:grid;place-items:center;margin:0 2px;color:#d7dcdf;border:1px solid #535b61;border-radius:2px;font-size:11px;font-weight:700}.cad-workspace{min-height:0;flex:1;display:grid;grid-template-columns:272px minmax(0,1fr) 272px;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.build-panel{grid-column:1;grid-row:1 / 3;min-height:0;display:flex;flex-direction:column;background:#f5f6f7;border-right:1px solid #c7cdd1;overflow:hidden}.panel-title{padding:12px 14px 9px;color:#687279;font-size:10px;font-weight:800;letter-spacing:.08em}.build-steps{gap:1px;padding:0 8px 9px;border-bottom:1px solid #d3d8db}.build-step{width:100%;min-height:34px;display:flex;align-items:center;gap:9px;padding:5px 8px;color:#555f66;text-align:left;background:transparent;border:0;border-left:2px solid transparent;cursor:pointer}.build-step:hover{color:#20262b;background:#e9ecee}.build-step.active{color:#152f42;background:#e1e9ee;border-left-color:#2e6f98;font-weight:700}.build-step span{width:19px;height:19px;display:grid;place-items:center;color:#fff;background:#8b949a;border-radius:50%;font-size:10px;font-weight:700}.build-step.active span{background:#2e6f98}.build-controls{min-height:0;display:flex;flex:1;flex-direction:column;gap:14px;padding:13px 14px;overflow-y:auto}.build-controls>h2{margin-bottom:1px}.build-actions{padding:9px;background:#eef0f1;border-top:1px solid #cbd0d4}.field-group-label{margin:2px 0 -3px!important;color:#667078;font-size:10px!important;font-weight:800!important;letter-spacing:.04em;text-transform:uppercase}.advanced-controls{border-top:1px solid #d5dade}.advanced-controls summary{padding:9px 1px 0;color:#49545b;font-size:12px;font-weight:700;cursor:pointer}.additional-sheet{display:grid;gap:8px;padding:8px;background:#eef0f2;border:1px solid #d3d8db}.build-panel .MuiFormControlLabel-root,.inspector-panel .MuiFormControlLabel-root{margin-left:-6px}.build-panel .MuiFormControlLabel-label,.inspector-panel .MuiFormControlLabel-label{font-size:12px}.cad-canvas{position:relative;grid-column:2;grid-row:1;min-width:0;min-height:0;background:#fff;overflow:hidden}.cad-canvas.empty{display:grid;place-items:center;color:#a12626;font-size:13px}.cad-transform,.cad-transform-content{width:100%!important;height:100%!important}.cad-transform-content{display:flex;align-items:center;justify-content:center}.cabinet-drawing{width:auto;height:88%;max-width:88%;display:block;overflow:visible}.cabinet-panel{fill:#d6dade;stroke:#23292d;stroke-width:2.2;vector-effect:non-scaling-stroke;pointer-events:none}.cabinet-outline{fill:none;stroke:#161b1e;stroke-width:2.4;vector-effect:non-scaling-stroke;pointer-events:none}.cabinet-region{cursor:pointer;outline:none}.cabinet-region rect{fill:#3278a300;stroke:transparent;stroke-width:3;vector-effect:non-scaling-stroke;transition:fill .1s ease}.cabinet-region text{fill:transparent;font-size:27px;font-weight:700;text-anchor:middle;dominant-baseline:middle;pointer-events:none}.cabinet-region:hover rect,.cabinet-region:focus rect{fill:#3278a314;stroke:#4f8fb5}.cabinet-region.selected rect{fill:#2377ab2e;stroke:#1676ae}.cabinet-region.selected text{fill:#15567c}.dimension-line line{stroke:#68737a;stroke-width:1;vector-effect:non-scaling-stroke}.dimension-line text,.depth-label{fill:#4c575e;font-family:Consolas,Courier New,monospace;font-size:24px;text-anchor:middle}.dimension-line.width-dimension text{paint-order:stroke;stroke:#fff;stroke-width:12px}.depth-label{font-size:22px}.canvas-scale{position:absolute;right:10px;bottom:8px;padding:2px 6px;color:#5d676d;background:#ffffffd9;border:1px solid #cdd2d5}.inspector-panel{grid-column:3;grid-row:1 / 3;min-width:0;display:flex;flex-direction:column;gap:13px;padding:0 13px 14px;background:#f5f6f7;border-left:1px solid #c7cdd1;overflow-y:auto}.property-grid{display:grid;grid-template-columns:1fr auto;gap:7px 10px;padding:10px;background:#fff;border:1px solid #d4d9dc;font-size:12px}.property-grid span{color:#69737a}.property-grid strong{font-family:Consolas,Courier New,monospace;font-weight:600}.bottom-panel{grid-column:2;grid-row:2;height:41px;min-width:0;background:#f7f8f8;border-top:1px solid #bdc4c8;transition:height .13s ease;overflow:hidden}.bottom-panel.open{height:272px}.bottom-panel-bar{height:40px;display:flex;align-items:center;justify-content:space-between;padding-right:6px;background:#eef0f1;border-bottom:1px solid #d1d6d9}.bottom-panel-bar .MuiTabs-root,.bottom-panel-bar .MuiTab-root{min-height:40px}.bottom-panel-bar .MuiTab-root{min-width:102px;padding:0 15px;font-size:11px}.bottom-panel-content{height:231px;padding:8px 10px;overflow:auto}.parts-panel-layout{min-width:760px;height:100%;display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px}.parts-table-wrap{overflow:auto;border:1px solid #d5dadd}.bottom-panel .MuiTableCell-root{padding:4px 9px;font-size:11px;line-height:1.35}.bottom-panel .MuiTableHead-root .MuiTableCell-root{font-weight:800;background:#eef0f1}.parts-summary,.boards-summary{display:grid;align-content:start;gap:1px}.summary-value{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 8px;background:#fff;border-bottom:1px solid #d9dddf}.summary-value span{color:#667078;font-size:10px}.summary-value strong{font-size:12px;white-space:nowrap}.boards-panel-layout{min-width:700px;height:100%;display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px}.board-strip{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden}.board-miniature{flex:0 0 300px;padding:7px;background:#fff;border:1px solid #cfd4d7}.board-miniature-title{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px;font-size:10px}.board-miniature-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-miniature svg{width:100%;height:145px;display:block}.sheet-outline{fill:#e7e3da;stroke:#424a4f;stroke-width:4}.sheet-margin{fill:none;stroke:#858d91;stroke-width:2;stroke-dasharray:12 8}.nested-part{fill:#aebfca;stroke:#34434c;stroke-width:3}.problems-list{display:grid;gap:5px}.problem-row{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;padding:7px 9px;background:#fff;border-left:3px solid #c58027;font-size:11px}.problem-row.error{border-left-color:#b33b3b}.problem-row span{color:#6b747a;font-weight:800;text-transform:uppercase}.mono{font-family:Consolas,Courier New,monospace}@media(max-width:1050px){.cad-workspace,.cad-workspace.has-inspector{grid-template-columns:238px minmax(0,1fr)}.inspector-panel{position:absolute;z-index:5;top:52px;right:0;bottom:0;width:260px;box-shadow:-3px 0 10px #0000001f}}.start-header{display:flex;flex-direction:column;align-items:center;gap:4px;margin:4px -24px;padding:16px 0;background:#242a2f}.start-header img{height:42px}.start-header .MuiTypography-root{color:#abb3b8;letter-spacing:.06em;text-transform:uppercase}.save-state{padding-left:2px;color:#8b9399;font-size:10px;white-space:nowrap}.save-state.dirty{color:#d8b371}.toolbar-summary{display:flex;align-items:center;gap:12px;margin-right:4px;padding:3px 10px;background:#1c2226;border:1px solid #3b434a;border-radius:3px;color:#c8d0d5;font-size:11px;cursor:pointer}.toolbar-summary strong{color:#fff;font-size:13px}.start-recents{display:grid;gap:4px}.start-recents button{display:flex;align-items:center;gap:8px;padding:6px 8px;color:inherit;text-align:left;background:#eef0f1;border:1px solid #d6dadd;border-radius:3px;cursor:pointer}.start-recents button:hover{border-color:#2e6f98}.start-recents span{display:grid}.start-recents small{color:#6d767c;font-size:10px}.print-sheet{display:none}@media print{html,body,#root{height:auto;overflow:visible;background:#fff}.cad-app{display:none!important}.print-sheet{display:block;padding:0 4mm;color:#000;font-size:10pt}.print-sheet header{display:flex;align-items:center;justify-content:space-between;padding-bottom:6px;border-bottom:2px solid #000}.print-sheet header img{height:46px;padding:6px 10px;background:#242a2f}.print-sheet h1{margin:0;font-size:15pt;text-align:right}.print-sheet header p{margin:2px 0 0;text-align:right}.print-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 16px;margin:10px 0 14px}.print-meta dt{color:#555;font-size:8pt;text-transform:uppercase}.print-meta dd{margin:0;font-weight:700}.print-drawing{display:flex;justify-content:center;margin:0 0 10px;padding:6px 0;border-bottom:1px solid #bbb;break-inside:avoid}.print-drawing .cabinet-drawing{width:auto;height:auto;max-width:100%;max-height:125mm}.print-drawing .cabinet-region text{font-size:58px}.print-drawing .dimension-line text,.print-drawing .depth-label{font-size:52px}.print-drawing .cabinet-region rect{fill:none;stroke:#999;stroke-width:1}.print-drawing .cabinet-region text{fill:#333}.print-sheet table{width:100%;border-collapse:collapse}.print-sheet th,.print-sheet td{padding:4px 6px;border-bottom:1px solid #bbb;text-align:right}.print-sheet th:first-child,.print-sheet td:first-child{text-align:left}.print-sheet thead th{border-bottom:1.5px solid #000;font-size:8pt;text-transform:uppercase}.print-sheet tfoot td{border-top:1.5px solid #000;border-bottom:0;font-weight:700}.print-sheet tr{break-inside:avoid}.print-summary{margin-top:12px;font-weight:700}.print-sheet footer{margin-top:18px;padding-top:6px;border-top:1px solid #bbb;color:#555;font-size:8pt}}
