html,body,#root{height:100%;margin:0}*{box-sizing:border-box;margin:0;padding:0}body{color:#1a1a1a;background:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px}.app-shell{height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #e0e0e0;width:300px;min-width:300px;padding:16px;overflow-y:auto}.main-area{background:#fafafa;flex:1;padding:24px;overflow-y:auto}.project-settings h3,.layout-mode-selector h3{text-transform:uppercase;letter-spacing:.5px;color:#666;border-bottom:1px solid #eee;margin-bottom:12px;padding-bottom:8px;font-size:13px;font-weight:600}.project-settings h4{color:#888;margin-top:16px;margin-bottom:8px;font-size:12px;font-weight:600}.project-settings{margin-bottom:24px}.form-group{margin-bottom:10px}.form-group label{color:#555;margin-bottom:3px;font-size:12px;font-weight:500;display:block}.form-group input,.form-group select{color:#1a1a1a;background:#fff;border:1px solid #d0d0d0;border-radius:4px;width:100%;padding:6px 8px;font-size:13px}.form-group input:focus,.form-group select:focus{border-color:#4a90d9;outline:none;box-shadow:0 0 0 2px #4a90d933}.form-group input[type=number]{font-variant-numeric:tabular-nums}.mode-buttons{gap:4px;display:flex}.mode-button{color:#555;cursor:pointer;background:#fff;border:1px solid #d0d0d0;border-radius:4px;flex:1;padding:8px 4px;font-size:12px;font-weight:500;transition:all .15s}.mode-button:hover{background:#f0f0f0;border-color:#bbb}.mode-button.active{color:#fff;background:#4a90d9;border-color:#4a90d9}.grid-editor{margin-top:16px}.grid-editor h3{text-transform:uppercase;letter-spacing:.5px;color:#666;border-bottom:1px solid #eee;margin-bottom:12px;padding-bottom:8px;font-size:13px;font-weight:600}.grid-editor h4{color:#888;margin-top:14px;margin-bottom:6px;font-size:12px;font-weight:600}.dimension-row{align-items:flex-end;gap:4px;margin-bottom:6px;display:flex}.dimension-input{flex:1;margin-bottom:0}.remove-button{color:#999;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-bottom:0;font-size:16px;display:flex}.remove-button:hover:not(:disabled){color:#c44;background:#fee;border-color:#e88}.remove-button:disabled{opacity:.3;cursor:not-allowed}.add-button{color:#888;cursor:pointer;background:0 0;border:1px dashed #ccc;border-radius:4px;width:100%;margin-top:4px;padding:6px;font-size:12px}.add-button:hover{color:#4a90d9;background:#f5f5ff;border-color:#4a90d9}.lane-section{background:#f9f9f9;border:1px solid #eee;border-radius:4px;margin-top:12px;padding:10px}.lane-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.lane-header h4{color:#666;margin:0;font-size:12px;font-weight:600}.cell-list{border-left:2px solid #e0e0e0;margin-top:6px;padding-left:8px}.validation-error{color:#b91c1c;background:#fef2f2;border:1px solid #fca5a5;border-radius:4px;margin-bottom:12px;padding:8px 10px;font-size:12px}.overhead-preview{justify-content:center;align-items:center;height:100%;display:flex}.preview-svg{width:100%;max-width:100%;height:100%;max-height:100%}.preview-message{color:#999;font-size:14px}.preview-error{color:#b91c1c;background:#fef2f2;border:1px solid #fca5a5;border-radius:6px;padding:16px 20px;font-size:14px}.floor-settings,.finger-joint-settings{margin-top:16px}.floor-settings h3,.finger-joint-settings h3{text-transform:uppercase;letter-spacing:.5px;color:#666;border-bottom:1px solid #eee;margin-bottom:12px;padding-bottom:8px;font-size:13px;font-weight:600}.checkbox-group label{color:#444;cursor:pointer;align-items:center;gap:6px;font-size:13px;display:flex}.checkbox-group input[type=checkbox]{accent-color:#4a90d9;width:16px;height:16px}.freeform-editor h3{text-transform:uppercase;letter-spacing:.5px;color:#666;border-bottom:1px solid #eee;margin-bottom:12px;padding-bottom:8px;font-size:13px;font-weight:600}.freeform-canvas-container{background:#fff;border:1px solid #e0e0e0;border-radius:4px;margin:8px 0}.freeform-canvas{width:100%;display:block}.compartment-properties{background:#f5f8ff;border:1px solid #d0d8e8;border-radius:4px;margin-top:12px;padding:10px}.compartment-properties h4{color:#4a90d9;margin:0 0 8px;font-size:12px;font-weight:600}.remove-button-wide{color:#c44;cursor:pointer;background:#fee;border:1px solid #e88;border-radius:4px;width:100%;margin-top:8px;padding:6px;font-size:12px}.remove-button-wide:hover{background:#fdd;border-color:#c44}.export-panel{margin-top:16px}.export-panel h3{text-transform:uppercase;letter-spacing:.5px;color:#666;border-bottom:1px solid #eee;margin-bottom:12px;padding-bottom:8px;font-size:13px;font-weight:600}.button-row{gap:6px;margin-bottom:8px;display:flex}.secondary-button{color:#555;cursor:pointer;background:#fff;border:1px solid #d0d0d0;border-radius:4px;flex:1;padding:7px 8px;font-size:12px;font-weight:500;transition:all .15s}.secondary-button:hover{background:#f0f0f0;border-color:#bbb}.auto-save-note{color:#aaa;margin:0 0 16px;font-size:11px;font-style:italic}.export-button{color:#fff;cursor:pointer;background:#4a90d9;border:none;border-radius:4px;width:100%;margin-top:12px;padding:10px;font-size:14px;font-weight:600;transition:background .15s}.export-button:hover:not(:disabled){background:#3a7bc8}.export-button:disabled{opacity:.6;cursor:not-allowed}.preview-tabs{border-bottom:1px solid #e0e0e0;gap:0;margin-bottom:16px;display:flex}.preview-tab{color:#888;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 20px;font-size:13px;font-weight:500;transition:all .15s}.preview-tab:hover{color:#555}.preview-tab.active{color:#4a90d9;border-bottom-color:#4a90d9}.preview-content{flex:1;min-height:0}.part-preview{justify-content:center;align-items:center;height:100%;display:flex}.main-area{flex-direction:column;display:flex}
