/* Bone CAD — interface polish (2026-11-01). Loaded last; small, safe overrides only. */
html[lang=ar] body,html[dir=rtl] body{font-family:"Cairo","Tajawal","Noto Kufi Arabic","Segoe UI","Noto Sans Arabic",Tahoma,sans-serif}
/* phones: the tool rail is 56 px wide but the tool list was ~80 px and spilled off-screen */
@media (max-width:700px){
 #leftToolSidebar #tools{width:100%;max-width:100%;left:auto;right:auto;margin:0}
 #leftToolSidebar .tool{width:100%;min-width:0;padding-inline:2px}
 #leftToolSidebar .tool span{font-size:9.5px;line-height:1.15;white-space:normal;text-align:center;overflow-wrap:anywhere;max-width:100%}
}
/* clearer keyboard focus everywhere */
button:focus-visible,select:focus-visible,input:focus-visible,[role=button]:focus-visible{outline:2px solid #2dd4bf;outline-offset:2px}
