/* Bend instruction editor (go-live 98) - Bending tab of the quote editor */
.quote-bend-editor{container-type:inline-size;margin:10px 0;padding:10px 12px;border:1px solid var(--line,#2a3540);border-radius:8px;background:#0b1015}
.quote-bend-editor-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}
.quote-bend-editor-h b{font-size:12px;color:#e8eef3}
.quote-bend-editor-h span{font-size:10px;color:#9fb0bd}
.quote-bend-editor-all{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;font-size:10px;color:#9fb0bd}
.quote-bend-editor select,.quote-bend-editor input{height:24px!important;min-height:0!important;padding:0 6px!important;font-size:11px!important;margin:0!important}
.quote-bend-editor-all select{width:auto!important;min-width:64px}
.quote-bend-editor-table select{width:100%!important}
.quote-bend-editor-body{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(250px,1fr);gap:10px;align-items:start}
.quote-bend-editor-prev{border:1px solid var(--line,#2a3540);border-radius:6px;background:#05080b;padding:6px;min-height:150px;display:flex;align-items:center;justify-content:center}
.quote-bend-editor-svg-el{width:100%;height:auto;max-height:260px;display:block}
.quote-bend-editor-empty{font-size:11px;color:#7f8e9a}
.quote-bend-editor-tablewrap{max-height:260px;overflow:auto;border:1px solid var(--line,#2a3540);border-radius:6px}
.quote-bend-editor-table{width:100%;border-collapse:collapse;font-size:11px}
.quote-bend-editor-table th{position:sticky;top:0;background:#141c24;color:#9fb0bd;font-size:9px;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:5px 6px}
.quote-bend-editor-table td{padding:3px 6px;border-top:1px solid #1b2530;color:#dbe4ea}
.quote-bend-editor-table tr.on td{background:#17263a}
.quote-bend-editor-table select,.quote-bend-editor-table input{min-width:56px;box-sizing:border-box}
.quote-bend-editor-table input{max-width:78px}
.quote-bend-editor-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.quote-bend-editor-foot small{flex:1 1 260px;font-size:10px;line-height:1.35;color:#8a9aa7}
.quote-bend-editor-btns{display:flex;flex-wrap:wrap;gap:6px}


@container (max-width:700px){.quote-bend-editor-body{grid-template-columns:1fr}}

/* go-live 101: DXF notes + original DXF view */
.quote-bend-editor-dxf-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;padding:7px 9px;border:1px solid #2c3a48;border-radius:6px;background:#101923}
.quote-bend-editor-dxf-bar>div:first-child{flex:1 1 320px;min-width:0}
.quote-bend-editor-dxf-bar b{display:block;font-size:11px;color:#5ba0fb}
.quote-bend-editor-dxf-bar small{display:block;font-size:10px;line-height:1.35;color:#9fb0bd}
.quote-bend-editor-prevcol{min-width:0}
.quote-bend-editor-modes{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:5px}
.quote-bend-editor-modes .btn.on{border-color:var(--acc,#2f81f7)!important;color:#fff!important;background:#17263a!important}
.quote-bend-editor-modes .be-zoom{display:inline-flex;gap:4px;margin-left:auto}
.quote-bend-editor-modes .be-zoom[hidden]{display:none}
.quote-bend-editor-hint{display:block;margin-top:4px;font-size:10px;line-height:1.35;color:#8a9aa7}
.quote-bend-editor-dxf{touch-action:none;cursor:grab}
.quote-bend-editor-prev .quote-bend-editor-svg-el.quote-bend-editor-dxf{max-height:360px}
.quote-bend-editor-table .be-note{background:none;border:0;padding:0;color:#5ba0fb;font-size:10.5px;text-align:left;cursor:pointer;text-decoration:underline dotted;white-space:nowrap}
.quote-bend-editor-table .be-ok{font-size:9.5px;color:#3fb950;white-space:nowrap}
.quote-bend-editor-table .be-ed{font-size:9.5px;color:#297ff0;white-space:nowrap}
.quote-bend-editor-table .be-none{color:#5d6b77}
.quote-bend-editor-table .be-state{white-space:nowrap}
