@font-face{font-family:'Noto Serif Bengali';src:url('/fonts/NotoSerifBengali-Regular.woff2') format('woff2'),url('/fonts/NotoSerifBengali-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Noto Serif Bengali';src:url('/fonts/NotoSerifBengali-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Noto Sans Bengali';src:url('/fonts/NotoSansBengali.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{--font-bn:'Noto Serif Bengali','Noto Sans Bengali','Nirmala UI',serif}
body{font-family:var(--font-bn);font-size:15px;font-weight:400;line-height:1.9;letter-spacing:normal}
button,input,select,textarea{font-family:var(--font-bn);line-height:1.9;letter-spacing:normal}
h1,h2,h3,h4,h5,h6{letter-spacing:normal;line-height:1.75;font-synthesis:none}
.brand small,.nav-caption,.eyebrow,.translation-label,.address,.word .pos-tags,.book-pages .word .pos-tags{letter-spacing:normal}
.address,.word .pos-tags,.book-pages .word .pos-tags,.legend b,.translation-credit,.saved-note{font-family:var(--font-bn)}
.word .meaning,.study-word>span:not(.arabic),.account-word-grid .meaning,.sample-word .meaning{line-height:1.95;letter-spacing:normal;font-weight:400}
.word .pos-tags,.book-pages .word .pos-tags{font-size:11px;line-height:1.9}
.translation-label,.translation-credit,.saved-note{font-size:12px;line-height:1.9}
.eyebrow,.brand small,.nav-caption{line-height:1.9}
input::placeholder,textarea::placeholder{font-family:var(--font-bn);letter-spacing:normal}
@media(max-width:600px){body{font-size:14px}.word .meaning,.account-word-grid .meaning,.sample-word .meaning{font-size:13px}}

/* Word details use the same Hafezi Quran family as the reading cells. */
#word-dialog .arabic,#word-dialog [lang="ar"],#account-word .arabic,#account-word [lang="ar"]{font-family:Quran,serif;font-style:normal;font-weight:400;font-synthesis:none;font-feature-settings:"rlig" 1,"calt" 1;direction:rtl;unicode-bidi:isolate;letter-spacing:normal}
#word-dialog .detail-head .arabic,#account-word .detail-head .arabic{font-size:43px;line-height:2.4;padding-block:8px}
#word-dialog .segment-title .arabic,#account-word .segment [lang="ar"]{font-size:28px;line-height:2.4}
#word-dialog .segment-root{flex-wrap:wrap;align-items:center;gap:12px 24px}
#word-dialog .segment-root [lang="ar"],#account-word .segment p [lang="ar"]{display:inline-block;font-size:26px;line-height:2.4;vertical-align:middle;margin-inline:5px}

.grammar-plain-terms{margin-block:18px;padding:14px;border:1px solid var(--line);border-radius:8px;line-height:1.9}.grammar-plain-terms summary{cursor:pointer;color:var(--green);font-weight:600}.grammar-plain-terms dt{font-weight:600;margin-top:14px}.grammar-plain-terms dd{margin:5px 0 0;font-size:13px;line-height:1.95;overflow-wrap:anywhere}
