/* Electrical Workbench — bending flow and technical illustrations */
#bendWizard { display:grid;gap:16px;max-width:1180px;margin:0 auto 22px }
#bendWizard [hidden] { display:none!important }
#bendWizard .card {min-width:0}
#bendWizard .bend-step-title {display:flex;align-items:center;gap:13px;margin-bottom:16px}
#bendWizard .bend-step-title h2 {font-size:18px;margin:0 0 5px;letter-spacing:-.02em}
#bendWizard .bend-step-title p {margin:0;color:var(--muted);font-size:12px;line-height:1.5}
#bendWizard .bend-step-bubble {flex:0 0 35px;width:35px;height:35px;border:1px solid #c39849;background:#322a1a;color:#f2d08b;border-radius:11px;display:grid;place-items:center;font-weight:800}
#bendWizard .bend-progress {margin-bottom:14px;padding:9px 12px;color:#e4c891;background:#2a261e;border:1px solid #51432a;border-radius:10px;letter-spacing:.08em;font-size:11px;font-weight:750}
#bendWizard .bend-choice-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:10px;margin:0}
#bendWizard .bend-choice {text-align:left;min-width:0!important;min-height:137px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;border-radius:13px;padding:12px 13px;background:#101820;border:1px solid #384452;transition:background .15s,border-color .15s,transform .15s}
#bendWizard .bend-choice:hover,#bendWizard .bend-choice:focus-visible {border-color:#e0b865;outline:0;transform:translateY(-1px)}
#bendWizard .bend-choice.selected {background:#302819;border-color:#e0b865;box-shadow:inset 0 0 0 1px #bc904a55}
#bendWizard .bend-choice .bend-choice-art {display:block;height:43px;color:#d8aa56}
#bendWizard .bend-choice .bend-choice-art svg {width:51px;height:47px;display:block}
#bendWizard .bend-choice .bend-choice-name {font-weight:800;color:var(--text);line-height:1.25}
#bendWizard .bend-choice small {font-size:11px;line-height:1.35;color:var(--muted);font-weight:450}
#bendWizard .bend-model-confirm {border-top:1px solid var(--line);padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
#bendWizard .bend-select-hint {font-size:12px;line-height:1.5;color:var(--muted);flex:1;min-width:180px}
#bendWizard #bendConfirm:disabled {cursor:not-allowed;opacity:.5}
#bendWizard .bend-guided-detail {display:grid;gap:16px}
#bendWizard .bend-result-grid {display:grid;grid-template-columns:minmax(280px,.83fr) minmax(0,1.6fr);gap:16px;align-items:start}
#bendWizard .bend-measurements {border-color:#66502c;background:linear-gradient(140deg,var(--panel),var(--panel2))}
#bendWizard .bend-measurements .field {max-width:470px}
#bendWizard .bend-result-grid > .card:first-child {position:relative}
#bendWizard .bend-visual-section {margin-bottom:17px;border:1px solid #344452;border-radius:12px;background:#111923;padding:12px}
#bendWizard .bend-visual-title {display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px;font-size:13px;color:#f4e3ba}
#bendWizard .bend-visual-title span {font-size:11px;color:#a8b8c4}
#bendWizard .bend-svg-wrap {overflow-x:auto;overscroll-behavior-x:contain;background:#101820;border-radius:10px}
#bendWizard .bend-drawing {display:block;width:100%;min-width:360px;height:auto;max-height:390px}
#bendWizard .bend-visual-section p {margin:10px 0 1px}
#bendWizard .bend-computed-plan {border-top:1px solid var(--line);padding-top:17px;display:grid;gap:9px}
#bendWizard .bend-computed-plan .result-number {font-size:26px}
#bendWizard .bend-computed-plan .chart {margin:7px 0 12px}
#bendWizard .bend-computed-plan .chart svg {min-width:360px}
#bendWizard .bend-guided-steps {padding-left:20px;line-height:1.65;font-size:13px;color:var(--text);margin:10px 0}
#bendWizard .bend-guided-steps li {padding-bottom:6px}
#bendWizard .bend-safety-note {font-size:12px;color:#e0c49c;background:#322a1e;padding:12px 14px;border-left:3px solid #e0b865;border-radius:8px;line-height:1.55}
#bendWizard .bend-doc-note {display:flex;flex-wrap:wrap;align-items:center;gap:9px 15px;padding:13px 0 3px;font-size:12px}
#bendWizard .bend-doc-note b {width:100%;color:#e9cc8c}
#bendWizard .bend-doc-note p {width:100%;margin:0;color:var(--muted);line-height:1.5}
#bendWizard .bend-doc-note a {text-decoration:underline;text-underline-offset:3px}
@media(max-width:1050px){#bendWizard .bend-result-grid{grid-template-columns:1fr}}
@media(max-width:550px){#bendWizard .bend-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bendWizard .bend-choice{min-height:128px;padding:11px}#bendWizard .bend-model-confirm .btn{width:100%}#bendWizard .bend-drawing{min-width:320px}}
@media(prefers-reduced-motion:reduce){#bendWizard .bend-choice{transition:none}}
