:root{font-family:"Segoe UI",Arial,sans-serif;color:#20313a;background:#edf0ee;font-synthesis:none;--ink:#17363c;--muted:#677776;--line:#dce2dd;--accent:#d8ed75;--paper:#fafbf7}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{border:0;transition:background .15s,opacity .15s}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #6c992e;outline-offset:3px}header{height:76px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper)}.brand{display:flex;align-items:center;gap:13px;font-weight:750;letter-spacing:1.8px;font-size:14px}.mark{display:grid;place-items:center;background:var(--ink);color:var(--accent);width:36px;height:36px;border-radius:10px;font-size:25px;letter-spacing:0}.brand-sub{color:var(--muted);font-weight:400;letter-spacing:.8px;margin-left:8px}.badge{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.badge i{height:7px;width:7px;background:#90a83d;border-radius:50%}main{display:grid;grid-template-columns:310px minmax(0,1fr);max-width:1780px;margin:auto}aside{padding:29px 24px;background:var(--paper);border-right:1px solid var(--line)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.9px;color:var(--muted)}h1{font-size:29px;line-height:1.22;letter-spacing:-1.2px;font-weight:650;margin:15px 0}p{font-size:13px;line-height:1.6;color:var(--muted)}h2{font-size:16px;font-weight:650;margin:0 0 19px}.section-title{margin-bottom:30px}.settings{padding:22px 0;border-top:1px solid var(--line)}label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted);margin-bottom:14px}input,select{min-width:0;border:1px solid #d8dfd9;border-radius:6px;background:white;color:#233b3b;padding:9px 10px;width:100%;font-size:13px;height:37px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.text-button{background:none;color:#587b36;font-size:11px;line-height:1.5;text-align:left;padding:0;margin:0 0 20px}.primary{background:var(--ink);color:var(--accent);border-radius:7px;padding:13px 17px;font-weight:600;font-size:13px}.primary:hover:enabled{background:#285058}.primary span{float:right}.secondary{border:1px solid #cfd8cf;background:#f9fbf7;color:var(--ink);border-radius:7px;padding:10px 14px;font-size:12px}.secondary:hover:enabled{background:#e5ebdf}.run-area .primary{width:100%;text-align:left}.run-area .secondary{width:100%;margin-top:10px}.hint{font-size:11px;line-height:1.6}.workspace{padding:31px 30px 20px;min-width:0}.workspace-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.workspace-title h2{font-size:25px;letter-spacing:-.6px;margin:7px 0 0}.import-bar{background:#f9fbf7;border:1px dashed #b7c8b1;border-radius:9px;display:flex;align-items:center;gap:16px;padding:17px 19px}.file-button{display:inline-block;background:var(--accent);padding:12px 16px;font-size:12px;color:var(--ink);font-weight:650;border-radius:6px;cursor:pointer;white-space:nowrap;margin:0}.file-meta{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.file-meta strong{font-size:12px;overflow:hidden;text-overflow:ellipsis}.file-meta span{font-size:10px;color:var(--muted)}.compact{font-size:10px;margin:0;width:130px}.status{padding:13px 2px;font-size:12px;color:var(--muted);min-height:43px}.status.error{color:#a23925}.status.busy{color:#496e17}.card{background:var(--paper);border:1px solid var(--line);border-radius:9px;margin:0 0 18px;overflow:hidden}.card>summary{padding:16px 19px}.card>p{margin:0 19px 12px}summary{cursor:pointer;font-size:12px;font-weight:600}summary small{float:right;color:var(--muted);font-weight:400}.settings summary{margin-bottom:16px}.table-scroll{overflow-x:auto;padding:0 14px}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;white-space:nowrap}th{font-size:10px;color:var(--muted);font-weight:500;padding:9px 5px;border-bottom:1px solid var(--line)}td{padding:9px 5px;border-bottom:1px solid #e9eee6}tr:last-child td{border:0}td input,td select{font-size:11px;height:32px;padding:6px;min-width:65px}td input[type=color]{min-width:33px;width:35px;padding:2px}td input[type=number]{width:78px}td .angles{width:130px}td .operation-name{max-width:135px;overflow:hidden;text-overflow:ellipsis}.recognize-bar{padding:14px 19px;display:flex;gap:15px;align-items:flex-end;justify-content:space-between;border-top:1px solid var(--line);margin-top:8px}.recognize-bar label{margin:0;min-width:220px}.editor-top{padding:19px 22px;display:flex;justify-content:space-between;align-items:center}.metrics{display:flex;gap:35px}.metrics div{display:flex;flex-direction:column;gap:3px}.metrics strong{font-size:25px;font-weight:600;letter-spacing:-1px}.metrics span{font-size:10px;color:var(--muted)}.editor-top .compact{width:70px}.tools{display:flex;gap:7px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 13px;flex-wrap:wrap}.tools button{background:#edf1e9;border-radius:4px;font-size:11px;color:var(--ink);padding:7px 9px}.tools span#selection{margin-left:auto;color:var(--muted);font-size:10px}.divider{height:20px;border-left:1px solid var(--line);margin:0 4px}#canvas{display:block;width:100%;height:420px;background:#e8ede7;touch-action:none;user-select:none}.sheet-rect{fill:#fffffc;stroke:#bcc8ba;stroke-width:.3}.margin-rect{fill:none;stroke:#b8c5ad;stroke-width:.25;stroke-dasharray:2 2}.part-material{fill:#dce6cb;fill-rule:evenodd;stroke:#718960;stroke-width:.25;cursor:grab}.part-material.selected{fill:#e5efa8;stroke:#64821b;stroke-width:.8}.part-material.locked{fill:#c7d9d6;stroke:#34666a}.op-line{fill:none;stroke-width:.22;pointer-events:none;vector-effect:non-scaling-stroke}.editor-bottom{padding:14px 19px;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-bottom>span{font-size:10px;color:var(--muted)}.small{font-size:11px;padding:10px 13px}footer{font-size:10px;color:#7a8780;padding:6px 0;display:flex;justify-content:space-between;gap:15px}body.working #canvas{opacity:.65}body.working .file-button{pointer-events:none;opacity:.5}[hidden]{display:none!important}@media(min-width:1550px){#canvas{height:520px}.workspace{padding:35px 45px}}@media(max-width:1100px){main{grid-template-columns:270px minmax(0,1fr)}.workspace{padding:25px 18px}aside{padding:25px 18px}.file-meta span{display:none}.import-bar{flex-wrap:wrap}.metrics{gap:20px}.brand-sub{display:none}}@media(max-width:780px){header{padding:0 18px;height:65px}.badge{max-width:145px;font-size:10px}main{display:block}aside{border-right:0;border-bottom:1px solid var(--line)}.section-title h1 br{display:none}.section-title{margin-bottom:15px}.settings{padding:15px 0}.workspace{padding:24px 12px}#canvas{height:360px}.editor-bottom{flex-wrap:wrap}.tools span#selection{width:100%}footer{display:block}footer span{display:block;margin-top:5px}}

.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px}.laser-entry{font-size:12px;font-weight:600;color:var(--ink);text-decoration:none;padding:9px 12px;border:1px solid #cfd8cf;border-radius:6px;white-space:nowrap}.laser-entry:hover{background:#e5ebdf}.laser-entry:focus-visible{outline:3px solid #6c992e;outline-offset:3px}@media(max-width:780px){.header-actions{gap:8px;flex-wrap:wrap}.header-actions .badge{display:none}.laser-entry{font-size:11px;padding:8px}.brand{letter-spacing:1px;font-size:12px}}

/* Keep recognition outcomes visible instead of leaving an empty table. */
.status{position:sticky;top:8px;z-index:5;background:var(--paper);border-radius:6px;padding:12px;margin:6px 0}.status.error{background:#fff0eb;border:1px solid #dba18e}.recognition-feedback{margin:0 19px 16px!important;padding:12px 14px;border-radius:6px;border:1px solid #c4d6bc;background:#edf5e8;color:#36512d;font-size:12px!important;line-height:1.6}.recognition-feedback.error{border-color:#dba18e;background:#fff0eb;color:#923d28}.recognition-feedback.busy{border-color:#d7dcb6;background:#f3f5e5;color:#5c662b}

.source-header,.source-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 19px;font-size:12px}.source-header{border-bottom:1px solid var(--line)}.source-header span,.source-row small{color:var(--muted);font-size:11px}.source-row div{display:flex;gap:10px;align-items:center;min-width:0}.source-row strong{overflow:hidden;text-overflow:ellipsis}.source-row button{background:#edf1e9;border-radius:4px;padding:6px 10px;font-size:11px;color:var(--ink)}.source-row+.source-row{border-top:1px solid var(--line)}.quantity-input{border-color:#96b16f;background:#f4f9eb}

.workbench-body{padding:18px 22px}.workbench-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;align-items:end}.workbench-body button{margin:4px 6px 7px 0}.recovery-bar,.viewport-tools,.kit-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 18px}.recovery-bar{font-size:12px}.recovery-bar span{flex:1}.viewport-tools{border-bottom:1px solid var(--line)}.viewport-tools button{padding:7px 12px;background:#e8edde;border-radius:4px}.viewport-tools label{flex-direction:row;align-items:center;margin:0;gap:6px}.viewport-tools input[type=checkbox]{width:16px;height:16px}.viewport-tools input[type=number]{width:70px}.viewport-hint{padding:0 22px}.part-thumb{width:48px;height:48px;vertical-align:middle;flex-shrink:0}.part-name{min-width:120px;max-width:260px}#parts td:first-child{display:flex;align-items:center;gap:8px;min-width:250px}#parts input[type=checkbox]{width:17px;height:17px;flex-shrink:0}#parts td{vertical-align:middle}.grain-arrow{stroke:#376c82;stroke-width:1.1;vector-effect:non-scaling-stroke}.forbidden-zone{fill:#ed777766;stroke:#b44035;stroke-width:1;vector-effect:non-scaling-stroke;fill-rule:evenodd}.diagnostic-line,.sequence-highlight{stroke:#e54425!important;stroke-width:3px!important;vector-effect:non-scaling-stroke;fill:none}.zone-row,.variant-row,.issue{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:9px 0;font-size:12px;border-bottom:1px solid var(--line)}.issue{color:#9a432e;line-height:1.6}.kit-controls label{max-width:140px;margin:0}#productionReport table{width:100%;font-size:12px}#productionReport th,#productionReport td{padding:9px;text-align:left}#sequenceStep{padding:0}#sequenceLabel{font-size:12px}#canvas{touch-action:none}#variants:empty,#issues:empty,#zones:empty{display:none}@media(max-width:760px){.recovery-bar{align-items:stretch}.workbench-body{padding:12px}.zone-row,.variant-row{flex-direction:column;align-items:start}.viewport-tools{gap:8px}}

.stock-outline{fill:#fafbf7;stroke:#657e80;stroke-width:1;vector-effect:non-scaling-stroke}

.plm-item,.plm-new-piece{display:flex;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--line);font-size:12px}.plm-item input,.plm-new-piece input,.whole-sheet-setting input[type=checkbox],.acknowledge input{width:17px;height:17px;flex-shrink:0}.plm-item svg,.plm-new-piece svg{width:70px;height:60px;flex-shrink:0}.plm-item span{line-height:1.6}.whole-sheet-setting{padding:14px;background:#f0f5e4;margin:16px 0}.whole-sheet-setting label:first-child,.acknowledge{display:flex;flex-direction:row;align-items:center;gap:10px}#plmManage{font-size:12px;margin-left:12px}#plmCommitPreview{border:1px solid #bacb9e;padding:16px;border-radius:8px}#plmMessage{white-space:pre-line}

.gcode-settings{padding:16px 20px;border-top:1px solid var(--line)}.gcode-settings .fields{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.gcode-transfer-link{display:block;margin:10px 18px;font-size:12px;color:var(--ink)}

.guide-entry{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:12px 16px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:12px;font-weight:600;text-decoration:none}.guide-entry:hover{border-color:#547a64}.guide-entry:focus-visible{outline:2px solid #547a64;outline-offset:3px}

@media(max-width:780px){.import-bar .file-meta{flex:1 0 100%}}
