/* One locally hosted Arabic/Latin family for all application chrome and study UI.
   Document-owned PDF text and annotation text retain their source font metrics. */
@font-face{font-family:BetoothUnified;src:url('../assets/fonts/Changa-Variable.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
:root{--ui-family:BetoothUnified,sans-serif;--display-family:var(--ui-family)}
html,body{font-family:var(--ui-family);font-size:16px;line-height:1.6}
/* Legacy route shorthands, localized overrides and portalled dialogs must not
   reintroduce a second UI family. Only the family is forced, not layout sizing. */
body :not(.textLayer,.textLayer *,.pdf-text-layer,.pdf-text-layer *,.note-annotation-layer,.note-annotation-layer *,.annotation-text-editor,.annotation-text-editor *){font-family:var(--ui-family)!important}
body :is(input,button,select,textarea,summary):not(.annotation-text-editor){font-family:var(--ui-family)!important}
body :is(button,.button-link,[role="tab"],summary){font-weight:600}
body :is(p,li,textarea):not(.annotation-text-editor){line-height:1.6}
body :is(small,.profile-handle,.eyebrow,.kicker,.dashboard-source-note,.store-meta,.community-author time,.beto-message-meta,.workspace-title-block small,.account-summary-identity small){font-size:13px!important;line-height:1.5}
body :is(.account-menu-row,.workspace-menu-action,.annotation-shapes-grid button,.notes-study-menu button,.pixel-tooltip,.pixel-validation){font-size:14px!important;line-height:1.5}
body :is(h1,h2,h3,h4){font-weight:700}
body :is(h2,h3,h4){line-height:1.35}
.app .home-description{font-size:clamp(14px,1.5cqw,18px);line-height:1.55}
.app .home-feature>span:not(.pixel-feature-icon):not(.feature-arrow){font-size:13px;line-height:1.5}
html[lang="ar"] body :not(.textLayer,.textLayer *,.pdf-text-layer,.pdf-text-layer *,.note-annotation-layer,.note-annotation-layer *,.annotation-text-editor,.annotation-text-editor *){letter-spacing:normal!important}
body input[type="file"]::file-selector-button{font-family:var(--ui-family)!important;font-weight:600}
body :is(input,textarea)::placeholder{font-family:var(--ui-family)!important}
