/* Small matching dimension lock controls: no separate geometry settings page. */
.lb-diameter-lock {min-width:0;display:flex;flex-direction:column;gap:4px;}
.lb-diameter-lock>label:first-child{display:flex;flex-direction:column;gap:5px;}
.lb-z-lock-label{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap;font-size:12px;font-weight:600;cursor:pointer;margin:2px 0;user-select:none;}
.lb-z-lock-label input{margin:0;accent-color:#9267ed;width:16px;height:16px;cursor:pointer;flex-shrink:0;}
.lb-z-lock-label:has(input:disabled){opacity:.55;cursor:not-allowed;}
.lb-stl-lock{padding:4px 6px;flex:0 0 auto;border-radius:6px;border:1px solid rgba(158,132,221,.38);}
.lb-lock-z-status{display:block;color:#c0a9fd;font-size:11px;line-height:1.5;}
.lb-lock-z-status[hidden]{display:none!important;}

/* Lip cross-section picker. Works identically in inspector and STL modal. */
.lb-lip-profiles{min-width:0;border:0;margin:4px 0 6px;padding:0;}
.lb-lip-profiles legend{padding:0 0 5px;font-size:12px;font-weight:600;color:var(--text-primary,#e0e0e0);}
.lb-lip-choices{display:flex;flex-wrap:wrap;gap:8px;}
/* Reuse LithoBulb's navy/cyan editor palette and selected-preset treatment. */
.lb-lip-choices button{display:flex;align-items:center;gap:5px;justify-content:center;min-width:85px;padding:5px 7px;border-radius:9px;border:1px solid #284459;background:#0c1927;color:var(--lb-text,#e9f3fa);cursor:pointer;font-size:11px;transition:background .15s ease,border-color .15s ease,color .15s ease;}
.lb-lip-choices button:hover:not(:disabled){background:#173346;border-color:var(--lb-cyan,#30dced);}
.lb-lip-choices button[aria-pressed="true"]{background:#123749;border-color:#37d7ec;color:#51e4f3;box-shadow:inset 0 0 0 1px #35cfe644;}
.lb-lip-choices button:disabled{opacity:.45;cursor:not-allowed;}
.lb-lip-choices svg{width:30px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;}
.lb-lip-choices button:focus-visible{outline:2px solid var(--lb-cyan,#30dced);outline-offset:2px;}
