/* v1.10.0: engineering part library & parametric hole controls. */
.hole-lab{
  margin:16px 0 15px;
  padding:13px 12px;
  background:linear-gradient(145deg,#102a36,#102131);
  border:1px solid #3b768a;
  border-radius:14px;
}
.hole-lab .section-heading{margin:0 0 8px}
.hole-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:12px 0 13px;
}
.hole-grid label{
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#bcddec;
  font-size:12px;
  min-width:0;
  line-height:1.35;
}
.hole-grid .hole-wide{grid-column:1/-1}
.hole-grid label[hidden]{display:none!important}
.hole-grid select,.hole-grid input{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:8px 9px;
  font-size:16px;
  color:#e4f5ff;
  background:#152f42;
  border:1px solid #49718c;
  border-radius:9px;
  font-variant-numeric:tabular-nums;
}
.hole-lab .boolean-buttons{display:flex;flex-wrap:wrap;gap:7px}
.hole-lab .boolean-buttons button{flex:1 1 105px;min-width:0}
.hole-lab .tool-warning{
  margin-top:10px;
  font-size:11px;
  line-height:1.5;
}
body.viewer-immersive .tool-sheet-scroll .hole-grid{min-width:0;width:100%}
@media(max-width:380px){
 .hole-grid{gap:8px}
 .hole-lab{padding:11px 9px}
 .hole-grid label{font-size:11px}
 .hole-grid select,.hole-grid input{padding:7px 6px}
}
