.tool-clearance-controls{display:grid;gap:10px;box-sizing:border-box;width:100%;min-width:0;margin:12px 0 8px;padding:10px;border:1px solid #31526a;border-radius:5px;background:#102332}
.tool-clearance-controls[hidden]{display:none!important}
.tool-clearance-controls legend{padding:0 5px;color:#8bd4ff;font-size:11px}
.tool-clearance-controls label{margin:0!important;color:#b8d4e5;font-size:11px}
.tool-clearance-row{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:12px;align-items:center}
.tool-clearance-controls .tool-clearance-check{display:flex!important;gap:7px;align-items:center;line-height:1.4}
.tool-clearance-check input[type=checkbox]{flex:0 0 auto;margin:0;accent-color:#36aaf2}
.tool-clearance-diameter{display:grid!important;gap:4px;min-width:0}
.tool-clearance-controls .digit-stepper{width:92px;max-width:100%}
.tool-clearance-controls input[type=text]{box-sizing:border-box;height:30px;margin:0;padding:5px 7px;border:1px solid #3d6c89;border-radius:4px;background:#0c1925;color:#e5edf5;font:12px/18px Consolas,monospace}
.tool-clearance-controls .digit-stepper-arrows{margin:0;flex-basis:22px}
.tool-clearance-controls .digit-stepper-button{width:22px;min-height:15px;padding:0}
.tool-clearance-controls [data-tool-collision-status]{font-size:11px;line-height:1.4;color:#67d59c;text-align:left}
.tool-clearance-controls [data-tool-collision-status].collision{color:#ff7777}
.tool-clearance-controls [data-tool-collision-status][hidden]{display:none}
.tool-clearance-side{display:flex;gap:6px;align-items:center}
#profileActions .tool-clearance-side button{display:grid;place-items:center;flex:0 0 36px;width:36px;min-width:0;height:32px;min-height:32px;margin:0;padding:5px;border:1px solid #3d6c89;border-radius:4px;background:#17344b;color:#b8d4e5;cursor:pointer}
#profileActions .tool-clearance-side button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#profileActions .tool-clearance-side button[aria-pressed=true]{background:#36d09c;border-color:#36d09c;color:#082d24}
#profileActions .tool-clearance-side button:disabled{opacity:.4;cursor:default}
