/* Unified Arabic typography — Cairo, bundled offline */
:root{--ui-font:'Maarij Cairo','Segoe UI',Tahoma,sans-serif;--reading-size:21px}
body,button,input,textarea,select{font-family:var(--ui-font);font-synthesis:none}
body{font-size:16px;line-height:1.95}
h1,h2,h3,h4,h5,h6,.brand,.hero-copy h1,.book h3{font-family:var(--ui-font);letter-spacing:normal;font-weight:700}
.brand-symbol,.mark{font-family:var(--ui-font);font-weight:600}
.brand small,.eyebrow,.hero-kicker,.daily-card>span:first-child{letter-spacing:normal}
.summary-text,.explanation-text,.hadith-paragraphs p{font-family:var(--ui-font);font-size:var(--reading-size);line-height:2.05;font-weight:400;letter-spacing:normal}
.arabic,.hadith-witness blockquote{font-family:var(--ui-font);font-weight:400;line-height:2.1;text-align:right}
.hadith-witness blockquote{font-size:25px}
.understanding li{font-size:18px;line-height:2.05}
.deep-intro p,.deep-synthesis p{font-size:18px;line-height:2.05}
.text-connection p,.deep-benefit p,.teaching-example p,.reflection h3{font-size:17px;line-height:2.05}
.deep-glossary dt,.deep-glossary dd,.deep-question summary,.deep-question p{font-size:15px;line-height:2}
.subject-context>p{font-size:17px!important;line-height:2}
.passage-card p{font-size:18px;line-height:2.05}
.source-panel p,.source-panel small,.boundary-note,.scholarly-note p{font-size:13px;line-height:1.95}
.section-book-name,.study-jumps a,.unit-references,.deep-scope,.deep-toolbar,.deep-toolbar button{font-size:12px!important;line-height:1.9!important}
#nav a{font-size:13px}.button,.hero-copy .button{font-size:13px}.hero-secondary{font-size:12px}
.hero-copy>p{font-size:15px;line-height:2}.hero-kicker{font-size:11px}.hero-footnote{font-size:11px}
.book-label,.book-category,.book-meta{font-size:11px}.book-description{font-size:12px;line-height:1.9;color:var(--muted);min-height:46px}.book h3{font-size:21px;line-height:1.8}
.quick-strip b{font-size:13px}.quick-strip small{font-size:11px}.lesson-row h3{font-size:15px}.lesson-row small{font-size:12px}.lesson-row .button{font-size:12px}
.footer-brand b{font-size:12px}.footer-brand small{font-size:10px}.association b{font-size:11px}
@media(max-width:1000px){.hero-copy>p{font-size:13px}.hero-kicker{font-size:10px}.hero-footnote{font-size:10px}.hero-copy .button{font-size:12px}.hero-secondary{font-size:11px}.quick-strip small{font-size:10px}#nav a{font-size:12px}}
@media(max-width:650px){:root{--reading-size:19px}body{font-size:15px}.summary-text,.explanation-text,.hadith-paragraphs p{font-size:var(--reading-size);line-height:2.05}.understanding li,.deep-intro p,.deep-synthesis p,.passage-card p{font-size:17px}.text-connection p,.deep-benefit p,.teaching-example p,.deep-question summary,.deep-question p{font-size:16px}.deep-glossary dt,.deep-glossary dd{font-size:14px}.hadith-witness blockquote{font-size:22px;line-height:2.1}.subject-context>p{font-size:16px!important}.source-panel p,.source-panel small,.boundary-note{font-size:13px}.study-jumps a{font-size:11px!important;padding:8px 10px}.hero-copy>p{font-size:12px}.hero-kicker{font-size:9px}.hero-footnote{font-size:9px}.hero-copy .button{font-size:11px}.hero-secondary{font-size:10px}.book h3{font-size:19px}.book-description{font-size:11px;min-height:62px}.book-label,.book-meta,.book-category{font-size:9px}.quick-strip b{font-size:10px}.quick-strip small{font-size:8px}#nav a{font-size:9px}.lesson-row h3{font-size:14px}.lesson-row small{font-size:10px}.lesson-row .button{font-size:10px}.footer-brand small{font-size:8px}.footer-brand b{font-size:10px}}
@media(max-width:375px){.hero-copy .button{font-size:10px}.hero-copy>p{font-size:11px}.hero-kicker{font-size:8px}.hero-secondary{font-size:9px}.book h3{font-size:18px}.book-description{font-size:10px}.book-meta{font-size:8px}}

.moderate-guide{font-size:13px;color:var(--muted);margin:24px 0;line-height:2}.moderate-topic{padding:24px 0;border-top:1px solid var(--line)}.moderate-topic h4{font-size:21px;line-height:1.9;margin:7px 0 17px;font-weight:700}.moderate-topic p{font-size:20px;line-height:2.05;margin:0 0 15px}.moderate-topic>a{display:inline-block;font-size:12px;color:#7b9068;text-decoration:underline;text-underline-offset:3px;line-height:2;margin-top:5px}.dark .moderate-topic>a{color:#b8c99e}@media(max-width:650px){.moderate-topic h4{font-size:19px}.moderate-topic p{font-size:18px}.moderate-topic>a{font-size:11px}.moderate-guide{font-size:12px}}
.people-directory{margin:28px 0 35px}.people-directory>h3{font-size:24px;margin:8px 0 14px}.people-intro{font-size:17px;line-height:2;color:var(--muted)}.lineage-list{margin:22px 0;padding:17px 21px;background:var(--soft);border-radius:10px}.lineage-list summary{cursor:pointer;font-size:15px;font-weight:600}.lineage-list p{font-size:18px;line-height:2.1;margin:16px 0}.lineage-list a{font-size:12px;color:#82966c;text-decoration:underline}.people-group{padding:22px 0;border-top:1px solid var(--line)}.people-group-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.people-group-heading h4{font-size:19px;margin:0}.people-group-heading a{font-size:11px;color:#82966c;white-space:nowrap}.people-list{margin:0;display:grid;gap:8px}.people-list>div{padding:13px 16px;border:1px solid var(--line);border-radius:8px;background:var(--card)}.people-list dt{font-size:17px;font-weight:700}.people-list dd{font-size:15px;line-height:1.95;color:var(--muted);margin:3px 0 0}.people-note{font-size:12px;line-height:2;color:var(--muted);margin:14px 0 0}.dark .people-group-heading a,.dark .lineage-list a{color:#b8c99e}@media(max-width:650px){.people-directory>h3{font-size:22px}.people-intro{font-size:15px}.people-group-heading h4{font-size:17px}.people-list dt{font-size:16px}.people-list dd{font-size:14px}.lineage-list p{font-size:16px}.people-group-heading a{font-size:10px}}
/* Compact family directory */
.people-compact{margin:26px 0 30px}.people-directory-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.people-directory-head h3{font-size:21px;margin:3px 0 0}.people-hint{font-size:11px;color:var(--muted)}.people-accordions{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--card)}.people-category{border-bottom:1px solid var(--line)}.people-category:last-child{border-bottom:0}.people-category>summary{display:flex;align-items:center;gap:11px;cursor:pointer;padding:14px 18px;list-style:none;transition:background .2s}.people-category>summary::-webkit-details-marker{display:none}.people-category>summary:hover{background:var(--soft)}.people-category-title{font-size:14px;font-weight:600;line-height:1.8}.people-count{font-size:10px;background:var(--soft);color:var(--muted);border-radius:12px;padding:0 7px;min-width:23px;text-align:center}.people-chevron{margin-right:auto;font-size:19px;color:#8c9d79;transition:transform .2s}.people-category[open]>summary{background:var(--soft)}.people-category[open]>summary .people-chevron{transform:rotate(180deg)}.people-category-body{padding:4px 18px 12px}.people-inline-list{margin:0}.people-inline-list>div{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:9px;padding:9px 0;border-bottom:1px solid var(--line);line-height:1.85}.people-inline-list>div:last-child{border-bottom:0}.people-inline-list dt{font-size:14px;font-weight:600;display:inline}.people-inline-list dd{font-size:13px;color:var(--muted);margin:0;display:inline}.people-inline-list dd:before{content:'·';margin-left:9px;color:#a3b090}.people-category-footer{display:flex;align-items:baseline;gap:17px;flex-wrap:wrap;margin-top:8px;padding-top:8px;font-size:10px;color:var(--muted)}.people-category-footer>a{text-decoration:underline;text-underline-offset:3px;color:#82966c}.people-footnote{flex:1;min-width:80px}.people-footnote>summary{font-size:10px;cursor:pointer;color:var(--muted)}.people-footnote p{font-size:12px;line-height:1.9;margin:8px 0 0}.people-compact .lineage-list{margin:12px 0 0;padding:13px 18px;background:transparent;border:1px solid var(--line);border-radius:10px}.people-compact .lineage-list summary{font-size:13px;font-weight:500}.people-compact .lineage-list p{font-size:16px;line-height:2}.dark .people-category-footer>a{color:#b8c99e}@media(max-width:650px){.people-hint{font-size:10px}.people-directory-head h3{font-size:20px}.people-category>summary{padding:13px 14px;gap:8px}.people-category-title{font-size:13px}.people-category-body{padding:3px 14px 11px}.people-inline-list dt{font-size:13px}.people-inline-list dd{font-size:12px}.people-inline-list>div{padding:8px 0}.people-category-footer{gap:12px}}
