/* v1.19.0: native CAD topology touch selection and oblique drilling. */
#cad-workspace-lab .cw-touch-buttons{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  margin:10px 0;
}
#cad-workspace-lab .cw-touch-buttons button{white-space:normal;min-height:48px}
#cad-workspace-lab #cw-edit-vector-controls[hidden],
#cad-workspace-lab #cw-edit-hole-controls[hidden]{display:none!important}
#cad-workspace-lab #cw-touch-selection{color:#a7dfef;line-height:1.6;overflow-wrap:anywhere}
#viewer .cw-touch-hint{
  position:absolute;left:10px;right:10px;top:55px;z-index:36;
  box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding:10px 11px;border:1px solid #78d5cd;border-radius:10px;
  background:#07303bf2;color:#e0ffff;box-shadow:0 4px 24px #0009;
  font-size:12px;line-height:1.45;pointer-events:auto;
}
#viewer .cw-touch-hint[hidden]{display:none!important}
#viewer .cw-touch-hint button{
  flex:none;min-height:44px;padding:7px 12px;border:1px solid #8cd7e6;
  border-radius:8px;background:#1d5060;color:#fff;font:inherit;font-weight:700;
}
#viewer.cw-topology-picking{outline:2px solid #57d3c8;outline-offset:-2px}
#cad-workspace-lab #cw-edit-axis-preview{min-height:48px;white-space:normal}
@media(max-width:540px){
 #cad-workspace-lab .cw-touch-buttons{grid-template-columns:1fr}
 #viewer .cw-touch-hint{top:48px;left:6px;right:6px;font-size:11px}
}
