.workspace{overflow:auto}
.control-section{padding:0}
.output-card h2{font-size:15px}
.workspace .mode-bar .mode-tabs button.selected{background:#fff;color:#246c4e}
.analysis-card[data-stale=true]{opacity:.5}
.control-section[hidden]{display:none}.hardware-card{flex:none;margin:0 0 18px;border:1px solid #dce4d7;border-radius:9px;background:#fff;color:#536b4c}.hardware-card>summary{padding:14px 16px;cursor:pointer;font-size:12px;font-weight:600}.hardware-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 12px}.hardware-intro p{font-size:10px;margin:0}.hardware-intro button{font-size:10px;padding:7px 10px}.hardware-card #hardware-table-wrap{overflow-x:auto;margin:0 16px}.hardware-card table{width:100%;border-collapse:collapse;font-size:10px;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.hardware-card th{font-weight:500;color:#71816a;background:#f3f6ee}.hardware-card th,.hardware-card td{padding:9px 7px;border-bottom:1px solid #e6ebdf}.hardware-card th:first-child,.hardware-card td:first-child{text-align:left}.hardware-card td:last-child{font-weight:700;color:#275d3d}.hardware-guide{display:flex;align-items:center;gap:18px;padding:12px 16px}.hardware-guide svg{width:200px;flex:none}.hardware-guide p{font-size:10px;line-height:1.8;margin:0}.hardware-guide span{color:#7a8872;font-size:9px}@media(max-width:1100px){.hardware-guide{flex-wrap:wrap;gap:6px}}
.diagnostics{border:1px solid #dce5d5;background:#f8fbf4;border-radius:9px;padding:13px;margin:16px 0}.diagnostics h3{font-size:12px;margin:0 0 6px}.diagnostics p{font-size:10px;line-height:1.7;margin:6px 0;color:#697663}.diagnostics[data-state=error]{border-color:#dfba8d;background:#fffbf4}.diagnostics[data-state=pending]{opacity:.7}.diagnostic-item{border-top:1px solid #eadac5;padding:12px 0 4px;margin-top:10px}.diagnostic-item>strong{font-size:11px;line-height:1.7;display:block;color:#864518}.diagnostic-fields{display:flex;flex-wrap:wrap;gap:4px;margin:9px 0}.diagnostic-fields button{font-size:10px;padding:5px 7px;text-align:left;color:#75502b;background:#fff}.diagnostic-item .suggestion{display:block;width:100%;margin-top:7px;font-size:10px;line-height:1.7;text-align:left;background:#eef5e7;border-color:#bbd0ae;color:#31592b}.diagnostic-item small{display:block;font-size:9px;line-height:1.7;margin-top:6px;color:#738064}.control[data-problem=true]{border-left:3px solid #c8863b;padding-left:7px}.control-section[data-problem=true]>summary{color:#a45b21}.control [aria-invalid=true]{border-color:#ca914e}.diagnostics #adjustment-undo{font-size:10px;line-height:1.7;border-top:1px solid #dce5d5;margin-top:12px;padding-top:10px}.diagnostics #adjustment-undo button{font-size:10px;padding:4px 8px}
.background-update #busy:not([hidden]){inset:auto 14px auto auto;top:62px;padding:10px 13px;border:1px solid #ccd9c6;border-radius:8px;background:#f7faf1ed;flex-direction:row;gap:9px;pointer-events:none;box-shadow:0 2px 10px #20351c12}.background-update #busy strong{font-size:11px}.background-update #busy span{display:none}.background-update #busy .spinner{width:16px;height:16px;flex:none}


.control-hint{margin:6px 18px 14px;font-size:11px;line-height:1.8;color:#62715f}.anatomy-note{font-size:11px;line-height:1.7;color:#5a6554;margin:6px 4px 12px}

#reference-comparison{margin:12px 0;padding:10px;background:white;border:1px solid #dce3d6;border-radius:10px;flex:none}#reference-comparison[hidden]{display:none}.reference-photo-frame{aspect-ratio:4.5;overflow:hidden}#reference-comparison[data-type="crank"] .reference-photo-frame{aspect-ratio:2.9}#comparison-photo{display:block;width:100%;height:100%;object-fit:cover}#reference-comparison figcaption{font-size:10px;color:#687463;margin-top:6px}.view-toolbar{flex-wrap:wrap}.workspace:has(#reference-comparison:not([hidden])) #viewport{height:clamp(260px,34vh,380px);min-height:260px}

#bulkhead-controls{margin:12px 0}#bulkhead-add{margin:8px 18px}.bulkhead-row{margin:10px 16px;padding:12px;border:1px solid #d7e1d1;border-radius:8px}.bulkhead-row strong{font-size:12px}.bulkhead-row .control{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin:10px 0}.bulkhead-row input{width:72px}.bulkhead-row button{font-size:10px}#canvas{touch-action:none}
