@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#103e38;--lime:#d7eac3;--ink:#172d29;--muted:#75807d;--line:#e6ebe8;--bg:#f5f7f6;--orange:#eea46d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e4a46b;outline-offset:3px}button{color:inherit}aside{position:fixed;inset:0 auto 0 0;width:246px;background:white;border-right:1px solid var(--line);padding:38px 24px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px}.mark{width:43px;height:43px;border:1px solid #abc5b2;background:var(--green);color:var(--lime);display:grid;place-items:center;font-family:serif;font-size:30px;border-radius:14px}.wordmark{font-family:Manrope,sans-serif;letter-spacing:3px;font-size:22px;font-weight:800}.subbrand{font-size:10px;letter-spacing:1.7px;margin-top:3px}.nav{display:grid;gap:9px;margin-top:50px}.nav button{background:none;display:flex;align-items:center;gap:14px;text-align:left;padding:15px;border-radius:10px;font-size:15px;color:#6c7a75}.nav button.active{background:#edf4ee;color:var(--green);font-weight:700}.icon{width:21px;height:21px;display:inline-flex;flex-shrink:0}.aside-bottom{margin-top:auto}.cohort{border-top:1px solid var(--line);padding-top:25px;font-size:14px;line-height:1.6}.cohort small{color:var(--muted)}.avatar{display:grid;place-items:center;background:#e9d9c5;color:#705339;border-radius:50%;width:38px;height:38px;font-size:14px;font-weight:700}.user{display:flex;gap:12px;margin-top:24px;align-items:center}.user small{color:var(--muted)}main{margin-left:246px;padding:0 42px 40px;max-width:1600px}.topbar{height:94px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:14px;color:var(--muted)}.tools{display:flex;gap:16px;align-items:center}.tools button{padding:8px 12px;border:1px solid var(--line);background:white;border-radius:8px;font-size:14px}.tools .avatar{background:var(--green);color:white}.heading{display:flex;align-items:end;justify-content:space-between;margin:35px 0 25px;gap:12px}h1,h2,h3,p{margin:0}h1{font-family:Manrope,sans-serif;font-size:32px;letter-spacing:-1.2px;font-weight:800}.heading p{color:var(--muted);margin-top:9px;font-size:15px}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:700}.date{font-size:14px;color:var(--muted)}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.banner{padding:32px;border-radius:18px;background:var(--green);color:white;position:relative;overflow:hidden;min-height:239px}.banner .eyebrow{color:#bad2bb}.banner h2{font-family:Manrope,sans-serif;font-size:29px;line-height:1.25;max-width:390px;margin:18px 0 12px}.banner p{color:#bfd0c9;max-width:360px;line-height:1.6;font-size:14px}.banner button{margin-top:24px;background:var(--lime);padding:12px 18px;border-radius:9px;font-weight:700;font-size:14px}.banner .arabic{position:absolute;right:24px;top:45px;font-family:serif;font-size:74px;color:#bdd6bf;opacity:.28;writing-mode:vertical-rl}.section-title{display:flex;align-items:center;justify-content:space-between;margin:28px 0 17px}h2{font-size:19px;font-family:Manrope,sans-serif;font-weight:800}.text-button{background:none;color:#447866;font-size:14px;padding:6px 0}.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px}.course-art{height:118px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;padding:20px;margin-bottom:20px;overflow:hidden}.course-art.green{background:#e9f0e5;color:#3b6043}.course-art.orange{background:#f9e8d9;color:#985d34}.course-art.blue{background:#e5edf6;color:#38618a}.course-art .arabic{font-family:serif;font-size:60px}.course-art .eyebrow{max-width:70px;line-height:1.6;font-size:11px}.tag{display:inline-block;font-size:12px;background:#eef3ee;border-radius:5px;padding:5px 8px;color:#4f735f}.course h3{font-size:17px;margin:12px 0 7px}.course p{font-size:14px;color:var(--muted);line-height:1.5}.progress-label{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:20px 0 8px}.progress{height:5px;background:#edf1ee;border-radius:9px;overflow:hidden}.progress span{display:block;height:100%;background:#4e8061}.course .text-button{margin-top:14px;font-weight:700}.right .card{padding:23px}.right h2{font-size:17px}.goal{display:flex;align-items:center;gap:18px;margin:24px 0}.ring{--value:0;flex-shrink:0;width:83px;height:83px;border-radius:50%;background:conic-gradient(#568768 calc(var(--value)*1%),#edf1eb 0);padding:7px}.ring div{width:100%;height:100%;background:white;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:700}.goal p{font-size:14px;color:var(--muted);margin-top:5px}.check{display:flex;align-items:center;gap:10px;line-height:1.5;font-size:14px;margin:15px 0}.check input{accent-color:var(--green);width:18px;height:18px}.session{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.session time{font-size:12px;color:#8b6d52;font-weight:700}.session h3{font-size:15px;margin:9px 0 7px}.session p{font-size:13px;color:var(--muted);line-height:1.5}.schedule{margin-top:20px}.schedule button{width:100%;background:#f2f6f1;padding:11px;border-radius:8px;font-size:14px;margin-top:22px;color:#3f6951}.community-preview{display:flex;gap:13px;align-items:flex-start}.community-preview .avatar{background:#e4ecf3;color:#496c87}.community-preview h3{font-size:15px;margin:5px 0 6px}.community-preview p{font-size:13px;color:var(--muted)}.preview-footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin:18px 0 0 51px}.demo{font-size:12px;color:var(--muted);margin-top:25px;line-height:1.5}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.chips button{padding:10px 16px;border:1px solid var(--line);border-radius:22px;background:white;font-size:14px}.chips button.active{background:var(--green);color:white}.primary{padding:12px 20px;background:var(--green);color:white;border-radius:9px;font-weight:600;font-size:14px}.wide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post{margin-bottom:16px}.post h3{margin:15px 0 9px;font-size:18px}.post p{line-height:1.7;color:#62706a}.post-head{display:flex;align-items:center;gap:10px;font-size:14px}.post-meta{color:var(--muted);font-size:12px;margin-top:3px}.post-actions{display:flex;gap:16px;margin-top:20px}.post-actions button{background:#f3f6f3;padding:8px 12px;border-radius:7px;font-size:13px}.reading{max-width:820px}.reading .arabic{direction:rtl;font-family:'Traditional Arabic','Times New Roman',serif;font-size:39px;line-height:2.4;text-align:center;margin:25px 0;color:var(--green)}.reading p{line-height:1.8;color:#68756f}.reading hr{border:0;border-top:1px solid var(--line);margin:25px 0}.note{width:100%;min-height:120px;border:1px solid var(--line);border-radius:9px;padding:14px;resize:vertical;background:#fbfcfb}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stat{font-size:36px;font-weight:800;color:var(--green);margin:16px 0 7px}.profile-header{display:flex;align-items:center;gap:18px}.profile-header .avatar{width:65px;height:65px;font-size:22px}.profile-header p{font-size:14px;color:var(--muted);margin-top:7px}dialog{border:0;border-radius:18px;padding:30px;width:min(550px,calc(100% - 32px));color:var(--ink)}dialog::backdrop{background:#0c292a88}dialog h2{padding-right:30px;margin-bottom:20px}dialog p{line-height:1.7;color:#68756f;font-size:15px}dialog .close{position:absolute;right:18px;top:17px;background:#eef2ee;border-radius:50%;width:30px;height:30px}dialog label{display:grid;gap:8px;margin:16px 0;font-size:14px}dialog input,dialog textarea,dialog select{padding:12px;border:1px solid #dce5dc;border-radius:8px;width:100%}dialog textarea{min-height:120px}dialog .primary{margin-top:15px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#183e35;color:white;padding:12px 22px;border-radius:10px;z-index:30;display:none;font-size:14px}.lesson-list{list-style:none;padding:0;margin:20px 0}.lesson-list li{padding:15px 0;border-bottom:1px solid var(--line);font-size:15px}.mobile-brand{display:none}.empty{padding:30px;color:var(--muted)}@media(min-width:1500px){main{margin-right:auto}.dashboard{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:1100px){aside{width:215px;padding:30px 18px}main{margin-left:215px;padding:0 25px 35px}.dashboard{grid-template-columns:1fr}.right{display:grid;grid-template-columns:1fr 1fr;gap:20px}.schedule{margin:0}.wide-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){aside{inset:auto 0 0;width:100%;padding:0;background:white;border:0;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}aside>.brand,.aside-bottom{display:none}.nav{margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:0}.nav button{padding:12px 3px 10px;font-size:10px;gap:5px;flex-direction:column;border-radius:0}.nav button.active{background:white;color:var(--green)}.nav button.active .icon{background:#dfeadc;border-radius:5px}.nav .icon{width:22px;height:22px}main{margin:0;padding:0 20px 100px}.topbar{height:78px}.breadcrumb{display:none}.mobile-brand{display:flex}.mobile-brand .wordmark{font-size:18px}.mobile-brand .mark{width:35px;height:35px;font-size:24px}.mobile-brand .subbrand{font-size:8px}.tools{gap:8px}.tools .avatar{display:none}.tools button{font-size:12px}.heading{margin:27px 0 22px}h1{font-size:27px}.heading p{font-size:14px}.date{display:none}.banner{padding:25px;min-height:240px}.banner h2{font-size:25px;max-width:270px}.banner p{max-width:230px}.banner .arabic{right:14px;font-size:57px;top:57px}.course-grid{gap:12px}.card{padding:17px}.course-art{height:96px;padding:13px}.course-art .arabic{font-size:44px}.course-art .eyebrow{font-size:9px}.course h3{font-size:15px;line-height:1.5}.course p{font-size:12px}.right{grid-template-columns:1fr}.wide-grid,.profile-grid{grid-template-columns:1fr}.section-title h2{font-size:18px}.reading .arabic{font-size:32px}#toast{bottom:90px;width:max-content;max-width:90%}.heading .primary{padding:11px 14px;white-space:nowrap}.preview-footer{margin-left:0} .demo{margin-top:18px}}
/* Quran reading workspace */
.reading-tabs{margin-top:0}.sync-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;color:var(--muted);font-size:14px}.reading-alert{padding:15px 18px;background:#fff5e9;border:1px solid #eddbbf;border-radius:10px;margin-bottom:18px;font-size:14px;line-height:1.7}.reading-alert a{color:var(--green);font-weight:700}.reading-alert button{background:white;padding:8px 12px;border:1px solid #dcccae;border-radius:7px;margin-left:8px}.mushaf-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.mushaf-reader{padding:22px;min-width:0}.mushaf-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.mushaf-controls label{display:flex;align-items:center;gap:8px;font-size:14px}.mushaf-controls input{width:74px}.mushaf-controls input,.mushaf-controls select{padding:9px 10px;border:1px solid #d8e2da;border-radius:7px;background:white;color:var(--ink)}.secondary{border:1px solid #d8e2da;background:#f5f8f4;border-radius:8px;padding:11px 14px;font-size:14px}.page-caption{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin:24px 0 14px;color:#576b61}.mushaf-scroll{width:100%;overflow:auto;background:white;max-height:none;touch-action:pan-x pan-y;scrollbar-width:thin}.mushaf-scroll img{display:block;max-width:none;height:auto;margin:0 auto;min-width:100%;object-fit:contain;filter:none;opacity:1}.page-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.source-note{font-size:12px;line-height:1.8;color:var(--muted);margin-top:22px}.source-note a{color:#487457}.reading-side{position:sticky;top:24px}.reading-timer{font-family:Manrope,sans-serif;font-size:50px;font-weight:800;letter-spacing:-2px;margin-top:24px;line-height:1.2;font-variant-numeric:tabular-nums}.timer-label{color:var(--muted);font-size:14px;margin:8px 0 22px}.timer-button,.full{width:100%;margin-top:12px}.reading-session-meta{display:grid;gap:8px;margin-top:24px;border-top:1px solid var(--line);padding-top:18px;font-size:14px;color:#65756c}.manual-card{max-width:780px;padding:28px}.form-intro{line-height:1.7;color:var(--muted);margin:12px 0 24px;font-size:15px}.manual-card label, #manual-reading-form label{display:grid;gap:9px;font-size:14px;margin-bottom:18px;min-width:0}.manual-card input,.manual-card select,#manual-reading-form input,#manual-reading-form select{width:100%;background:white;border:1px solid #d7e2d7;border-radius:8px;padding:12px;min-width:0;color:var(--ink)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.record-preview{background:#edf5e9;color:#45674b;padding:14px;border-radius:9px;font-size:14px;margin:8px 0 18px;line-height:1.6}.form-error{color:#a23632;font-size:14px;line-height:1.7;margin-bottom:12px;min-height:0}.reading-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.reading-stat-grid .card{padding:23px 20px;display:flex;flex-direction:column;gap:12px}.reading-stat-grid span{font-size:14px;color:#617367}.reading-stat-grid b{font-size:36px;line-height:1.2;letter-spacing:-1px;color:var(--green);font-family:Manrope,sans-serif}.reading-stat-grid em{font-size:16px;font-style:normal;color:var(--muted);letter-spacing:0}.reading-stat-grid small{font-size:12px;color:var(--muted);line-height:1.6}.reading-summary-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.reading-bars{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}.reading-day{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.reading-day b{font-size:14px;color:#477457}.bar-track{height:110px;background:#edf3eb;width:24px;border-radius:6px;display:flex;align-items:end;overflow:hidden}.bar-track div{width:100%;min-height:0;background:#568568;border-radius:6px}.source-total{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:14px;line-height:1.6;padding:18px 0;border-bottom:1px solid var(--line)}.source-total span{color:var(--muted)}.history-row{display:flex;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}.history-row:last-child{border-bottom:0}.history-row>div:first-child{flex:1}.history-row b{font-size:15px}.history-row p{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.6}.history-numbers{display:flex;flex-direction:column;gap:6px;min-width:100px}.history-numbers span{font-size:12px;color:var(--muted)}.history-actions{display:flex;gap:7px}.history-actions button{padding:8px 10px;background:#f0f5ee;border-radius:6px;font-size:12px}.history-actions button:last-child{color:#985343}.profile-reading{margin-bottom:25px}.profile-reading .section-title{margin-top:0}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}@media(max-width:1150px){.reading-stat-grid{grid-template-columns:repeat(2,1fr)}.mushaf-layout{grid-template-columns:minmax(0,1fr) 260px}}@media(max-width:900px){.mushaf-layout{display:flex;flex-direction:column}.reading-side{position:static;width:100%;order:-1}.reading-side>.card:last-child{display:none}.reading-side>.card:first-child{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;padding:20px}.reading-side .eyebrow,.reading-side .reading-timer,.reading-side .timer-label{grid-column:1}.reading-side .reading-timer{margin-top:10px;font-size:39px}.reading-side .timer-button{grid-column:2;grid-row:1/3;align-self:center;margin:0}.reading-side [data-read=mark]{grid-column:2;grid-row:3/4;margin:0}.reading-side [data-read=finish]{grid-column:1/3}.reading-side .reading-session-meta{grid-column:1/3;display:flex;justify-content:space-between;margin-top:15px;padding-top:15px}.reading-side .demo{grid-column:1/3;font-size:12px;margin-top:12px}.mushaf-reader{width:100%}.reading-summary-grid{grid-template-columns:1fr}}@media(max-width:700px){.mushaf-reader{padding:12px}.mushaf-layout{gap:15px}.mushaf-controls{gap:8px}.mushaf-controls label{font-size:12px;gap:5px}.mushaf-controls input{width:62px}.mushaf-controls input,.mushaf-controls select{padding:8px 6px;font-size:13px}.mushaf-controls .secondary{padding:9px 10px;font-size:12px}.zoom-control{margin-left:auto}.page-caption{font-size:12px;margin:20px 0 14px}.source-note{font-size:12px}.reading-side>.card:first-child{column-gap:12px;padding:17px}.reading-side .timer-button,.reading-side [data-read=mark]{padding:11px 10px;font-size:12px}.reading-side .eyebrow{font-size:10px;letter-spacing:1px}.reading-side .timer-label{font-size:12px;margin:8px 0 0}.reading-side .reading-session-meta{font-size:12px}.reading-stat-grid{gap:12px}.reading-stat-grid .card{padding:17px 15px;gap:9px}.reading-stat-grid b{font-size:32px}.reading-stat-grid span{font-size:13px}.reading-stat-grid small{font-size:12px}.manual-card{padding:20px}.form-grid{grid-template-columns:1fr;gap:0}.history-row{display:grid;grid-template-columns:1fr auto;gap:12px}.history-actions{grid-column:1/3}.history-row b{font-size:14px}.history-numbers{min-width:80px}.reading-bars{gap:8px}.reading-tabs{gap:7px}.reading-tabs button{font-size:13px;padding:9px 12px}.sync-row{font-size:12px}.reading-summary-grid>.card{padding:20px}.source-total{font-size:13px}}
@font-face{font-family:AmiriQuran;src:url('/fonts/AmiriQuran.ttf') format('truetype');font-display:swap}
.practice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.practice-status{font-size:15px;line-height:1.7;margin:18px 0}.practice-progress{font-size:15px;color:var(--green);font-weight:600;margin:4px 0 10px}.practice-hint{font-size:14px;color:var(--muted);line-height:1.7;margin:0 0 10px}.practice-profile{margin-bottom:22px}.practice-profile>p{margin-top:16px;font-size:16px;line-height:1.7}.practice-levels{border:0;padding:0;margin:20px 0}.practice-levels legend{font-size:14px;font-weight:600;margin-bottom:5px}.practice-levels .practice-level{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:10px;padding:15px;margin:10px 0;cursor:pointer}.practice-level:has(input:checked){border-color:var(--green);background:#edf5e9}.practice-level input,.practice-custom input{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.practice-level span{display:flex;flex:1;justify-content:space-between;gap:12px;align-items:center;font-size:16px}.practice-level small{font-size:14px;color:var(--muted)}dialog .practice-custom{display:flex;align-items:center;gap:12px;line-height:1.7;font-size:15px}#daily-practice-card .check:has(input:disabled){color:var(--ink)}@media(max-width:600px){.practice-level span{flex-wrap:wrap}.practice-levels .practice-level{padding:14px}.practice-heading h2{font-size:18px}}
.forum-title-arabic{font-family:AmiriQuran,'Traditional Arabic',serif;font-size:1.6rem;font-weight:400;font-synthesis:none;line-height:2.3;white-space:pre-wrap;unicode-bidi:isolate}.forum-title-question{unicode-bidi:isolate}.forum-title-reference{font-size:.95rem;font-weight:500;color:var(--muted);unicode-bidi:isolate;display:inline-block}.post-title{line-height:1.9;overflow-wrap:anywhere}.forum-title-preview{padding:16px 18px;background:#f3f8f1;border:1px solid var(--line);border-radius:10px;font-size:1.1rem;font-weight:600;line-height:1.9}.forum-quote-source{font-size:.8rem!important;color:var(--muted)!important;line-height:1.7;margin:8px 0 16px}#dialog h2:has(.forum-title-arabic){line-height:1.9}#dialog .forum-title-preview{max-height:40dvh;overflow:auto}
.quran-selection-actions{position:static;background:#f0f7ef;border:1px solid #b7ccb9;border-radius:12px;padding:18px;margin:18px 0;box-shadow:0 4px 16px #173d3510;font-size:16px}.quran-selection-actions p{margin:9px 0 14px;line-height:1.6;font-size:14px;overflow-wrap:anywhere}.quran-selection-actions>div{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.verse-header{flex-wrap:wrap}.verse-select{display:flex;align-items:center;gap:9px;margin-right:auto;font-size:14px}.verse-select input{width:20px;height:20px;accent-color:var(--green)}.verse-header button{font-size:14px!important;min-height:40px}.quran-word button{font-size:14px!important;min-height:36px}.mushaf-forum-link{margin-top:20px}.mushaf-forum-link button{width:100%;font-size:14px}.forum-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.forum-topline .chips{margin:0 0 20px}.post-title{background:none;text-align:left;padding:0;font:inherit;font-weight:inherit;color:inherit}.forum-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px!important;line-height:1.8}.forum-quote{margin:18px 0;padding:18px;border-left:3px solid #678c70;background:#f3f8f1;border-radius:0 10px 10px 0;overflow-wrap:anywhere}.quote-heading{font-size:14px;font-weight:700;color:var(--green);margin-bottom:16px}.quote-part b{font-size:14px;font-weight:600;color:var(--muted)}.forum-quote .quote-part p{font-family:AmiriQuran,'Traditional Arabic',serif;font-size:28px!important;line-height:2.3!important;color:var(--ink);white-space:pre-wrap;margin:8px 0 18px;font-weight:400;font-synthesis:none}.forum-quote small{font-size:12px;color:var(--muted)}.forum-reply{margin-top:14px}.forum-reply b{font-size:14px}#dialog{max-height:calc(100dvh - 32px);overflow:auto}#dialog .forum-quote{max-height:40dvh;overflow:auto}#dialog .forum-body{margin-bottom:20px}#dialog .form-error{color:#a23632}#dialog .form-error a{color:var(--green);text-decoration:underline}#dialog .forum-reply p{margin:10px 0 0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #80a479;outline-offset:3px}
@media(max-width:600px){.quran-selection-actions{top:6px;padding:14px}.quran-selection-actions>div{gap:8px}.quran-selection-actions button{font-size:14px;padding:10px 12px}.forum-quote{padding:14px}.forum-quote .quote-part p{font-size:26px!important}.verse-header{gap:8px}.verse-header button{padding:8px}.post-actions{flex-wrap:wrap}.post-actions button{font-size:14px}}
.quran-text-tools{display:flex;gap:14px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--line)}
.quran-text-tools label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted);flex:1;min-width:160px}
.quran-text-tools select{font:inherit;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--white,#fff);color:var(--ink)}
.quran-text-intro{padding:20px 0;line-height:1.7;font-size:14px}.quran-text-intro p{color:var(--muted);margin:10px 0}.quran-text-intro small{display:block;color:var(--muted);margin-top:8px}
.quran-source-line{display:flex;flex-direction:column;gap:5px;padding:14px 18px;background:var(--green-light,#eaf3ed);border-radius:12px;font-size:14px;margin-bottom:16px}.quran-source-line span{color:var(--muted);font-size:12px}
.quran-verse{padding:22px 18px;border:1px solid var(--line);border-radius:14px;margin:16px 0;background:var(--white,#fff)}
.verse-header{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}.verse-header button,.quran-word button{border:1px solid var(--line);padding:7px 10px;font:inherit;border-radius:8px;background:transparent;color:var(--green);cursor:pointer}.verse-header button:disabled,.quran-word button:disabled{opacity:.4;cursor:wait}
.quran-arabic{font-family:AmiriQuran,'Traditional Arabic',serif;font-size:var(--quran-size,34px);line-height:2.3;text-align:right;user-select:text;white-space:pre-wrap;padding:10px 0;margin:10px 0;font-weight:400;font-synthesis:none;overflow-wrap:normal}
.verse-meal{line-height:1.85;margin:12px 0;white-space:pre-wrap;font-size:15px;user-select:text}.footnote{border:0;background:transparent;padding:1px 3px;color:var(--green);cursor:pointer;text-decoration:underline}
.quran-word-grid{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.quran-word{min-width:100px;flex:1;max-width:190px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:12px;font-size:13px}.quran-word .word-arabic{font-family:AmiriQuran,'Traditional Arabic',serif;font-size:30px;line-height:2}.quran-word button{font-size:11px}
.quran-verse.highlighted,.quran-word.highlighted{background:#fff8d8;border-color:#d2b861}.quran-text-reader .reading-alert{font-size:13px;line-height:1.7;margin-bottom:16px}
.quran-text-reader{min-height:300px}.quran-policy{font-size:14px;line-height:1.8}.quran-policy ul{padding-left:20px}.quran-policy a{color:var(--green);text-decoration:underline}
@media(max-width:600px){.quran-verse{padding:18px 12px}.quran-text-tools{gap:12px}.quran-arabic{line-height:2.4}.verse-header button{font-size:11px}.quran-word{max-width:calc(50% - 5px)}.quran-source-line{padding:12px}}
/* Daily vocabulary: root, word, then the unmodified verse and translation. */
.practice-word-link{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0 0 14px;padding:11px 14px;border:1px solid #dce5d6;border-radius:9px;background:#f1f5eb;color:#214a3c;font-weight:600}
.words-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px}.words-shared{font-size:12px;color:#617467;background:#edf3e8;border-radius:20px;padding:7px 12px}.daily-words{max-width:850px;margin:0 auto}.words-day{display:flex;align-items:center;justify-content:space-between;margin:8px 0 15px;color:#7c8177;font-size:13px}.words-day .eyebrow{color:#537157;letter-spacing:1.7px}.word-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:20px}.word-tabs button{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #e0e4d8;border-radius:12px;background:#fffdf8;padding:10px 8px;color:#6b7567;min-width:0}.word-tabs button.active{background:#214638;color:#fff;border-color:#214638;box-shadow:0 4px 14px #21463815}.word-tabs [lang=ar]{font-family:AmiriQuran,'Traditional Arabic',serif;font-size:27px;line-height:1.8}.word-tab-number{font-size:11px;opacity:.7}.word-card{background:#fffdf9;border:1px solid #e4e6da;border-radius:20px;box-shadow:0 12px 35px #243d2c06;overflow:hidden}.word-label{display:block;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#7b8373}.word-root{text-align:center;background:#f2f5e9;padding:24px 20px 15px;border-bottom:1px solid #e8ebde}.root-letters{display:flex;justify-content:center;gap:38px;font-family:AmiriQuran,'Traditional Arabic',serif;color:#214638;font-size:66px;line-height:1.8}.root-letters span{display:inline-block;min-width:45px}.word-definition{text-align:center;padding:27px 20px 26px}.word-definition h2{font-family:AmiriQuran,'Traditional Arabic',serif;font-size:55px;font-weight:400;line-height:1.9;color:#233f33;margin:0}.word-definition p{font-size:23px;color:#3f5648;margin:0}.word-example{margin:0 34px;padding-top:23px;border-top:1px solid #e8e9de}.word-example-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.word-example-header b{display:block;font-size:13px;color:#42574a;margin-top:7px}.word-another{display:flex;gap:12px;align-items:center;border:1px solid #dfe5d6;background:#fafcf5;border-radius:8px;padding:9px 12px;color:#44634c;font-size:12px}.word-another span{font-size:18px}.word-verse{font-family:AmiriQuran,'Traditional Arabic',serif;font-size:32px;line-height:2.35;text-align:right;color:#213d32;margin:23px 0 24px;overflow-wrap:anywhere}.word-translation{border-left:3px solid #cad7a9;background:#f7f8f1;border-radius:0 8px 8px 0;padding:17px 20px}.word-translation p{font-size:16px;line-height:1.9;color:#4b594d;margin:10px 0 14px;white-space:pre-wrap}.word-translation small{font-size:10px;color:#8a8e80}.word-navigation{display:flex;justify-content:space-between;align-items:center;padding:22px 34px;margin-top:25px;border-top:1px solid #e8e9de;background:#fcfcf7}.word-navigation button{border:0;background:transparent;color:#355341;font-size:12px}.word-navigation button:disabled{opacity:.35}.word-navigation>span{font-size:12px;color:#7d8778}.words-note{color:#8b9183;font-size:11px;line-height:1.8;max-width:700px;margin:17px auto 0;text-align:center}.words-status{padding:35px;text-align:center;color:#657563}.words-status button{margin-left:12px}.word-tabs button:focus-visible,.word-another:focus-visible,.word-navigation button:focus-visible,.practice-word-link:focus-visible{outline:3px solid #adbb83;outline-offset:3px}
@media(max-width:650px){.words-heading{align-items:flex-start;flex-direction:column;margin-bottom:20px}.words-shared{font-size:10px}.words-day{font-size:10px}.word-tabs{gap:5px}.word-tabs button{gap:3px;padding:6px 2px;flex-direction:column}.word-tabs [lang=ar]{font-size:22px}.root-letters{font-size:58px;gap:25px}.word-definition h2{font-size:48px}.word-definition p{font-size:20px}.word-root{padding:20px 12px 12px}.word-example{margin:0 19px}.word-example-header{align-items:flex-start;gap:8px}.word-another{font-size:10px;padding:8px;gap:6px}.word-verse{font-size:28px;line-height:2.3}.word-translation{padding:15px}.word-translation p{font-size:14px}.word-navigation{padding:18px}.word-navigation button{font-size:10px}.word-card{border-radius:15px}}

.word-purple{color:#7c3aed;font-weight:400;font-synthesis:none}.word-verse{white-space:pre-wrap}.word-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.word-stats>div{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;gap:8px}.word-stats span{font-size:14px;color:var(--muted)}.word-stats b{font-size:25px;color:var(--green)}.word-stats small{font-size:14px;color:#6c538e}.word-count-note{font-size:14px;line-height:1.7;color:#69786c;margin:14px 0 22px}.word-section-tabs,.word-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.word-section-tabs button,.word-filters button{font-size:14px;padding:11px 14px;background:white;border:1px solid var(--line);border-radius:9px}.word-section-tabs button[aria-pressed=true],.word-filters button[aria-pressed=true]{background:var(--green);color:white}.word-account{background:#fff5df;border:1px solid #eed8ab;border-radius:10px;padding:14px;margin:12px 0;font-size:14px;line-height:1.7}.word-account a{text-decoration:underline;color:var(--green)}.word-account button{background:white;padding:8px;border-radius:6px}.word-decisions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:0 20px 24px}.word-decisions button{padding:12px 18px;font-size:15px;border-radius:9px;border:1px solid #cdd9c8}.word-decisions button:not(.primary){background:#f3ecfc;color:#63328d}.word-decisions button[aria-pressed=true]{outline:3px solid #bca4da;outline-offset:2px}.word-decisions button:disabled{opacity:.5}.word-status-badge{display:inline-block;font-size:13px;color:#6e468d;background:#f1eafa;padding:5px 9px;border-radius:12px;margin-top:14px}.word-card-end{height:26px}.word-random-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.word-random-heading button{background:#eee7fa;color:#603899;padding:12px;border-radius:9px;font-size:14px}.word-saved-list{display:grid;gap:10px}.word-saved-list>button{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;background:white;border:1px solid var(--line);border-radius:12px;padding:16px;font-size:16px}.word-saved-list [lang=ar]{font-family:AmiriQuran,serif;font-size:30px;min-width:80px;text-align:center;line-height:2}.word-saved-list small{display:block;font-size:13px;margin-top:7px;color:#77519a}.word-saved-list>button>span:last-child{font-size:14px;color:var(--green)}.word-quiz p{line-height:1.8;margin:15px 0}.word-quiz-score{font-size:34px;font-weight:700;color:#7041a0}.word-match-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.word-match-grid>div{display:grid;gap:12px}.word-match-grid button{display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:90px;padding:14px;background:#f9fbf6;border:1px solid #dce6d9;border-radius:11px;font-size:16px}.word-match-grid button.selected{border:2px solid #7c3aed;background:#f4edff}.word-match-grid [lang=ar]{font-family:AmiriQuran,serif;font-size:30px;line-height:1.8}.word-match-grid small{font-size:13px;color:#7e698a}.word-match-grid button:disabled{opacity:.6}.word-quiz-results{display:grid;gap:10px;margin:20px 0}.word-quiz-results>div{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px;border:1px solid var(--line);border-radius:10px}.word-quiz-results .incorrect{background:#fff5e8}.word-quiz-results .correct{background:#eff7ed}.word-quiz-results [lang=ar]{font-family:AmiriQuran,serif;font-size:28px;font-weight:400}.word-quiz-results button{font-size:14px;padding:9px;border-radius:7px;background:#eee4ff;color:#63328d}.daily-words .word-label{font-size:12px}.daily-words .word-another,.daily-words .word-navigation button{font-size:14px}.daily-words .word-translation small{font-size:12px}
@media(max-width:650px){.word-stats{gap:7px}.word-stats>div{padding:12px 9px}.word-stats b{font-size:20px}.word-stats span{font-size:13px}.word-section-tabs button{flex:1 0 28%;padding:11px 8px}.word-match-grid{gap:8px}.word-match-grid button{padding:10px}.word-saved-list>button{gap:10px;padding:12px}.word-saved-list [lang=ar]{min-width:65px}.word-random-heading{flex-wrap:wrap}.word-decisions button{flex:1;min-width:135px}}

@media(max-width:700px){.nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.nav button{min-width:0;min-height:60px;padding:10px 1px;font-size:10px;line-height:1.3}.nav button span{white-space:nowrap}.nav .icon{width:20px;height:20px}}
.word-stat-label{display:flex;gap:5px;align-items:center;justify-content:space-between}.word-stat-help{background:transparent;padding:4px;min-width:28px;min-height:28px;font-size:15px;line-height:1;border-radius:50%;flex-shrink:0}.word-stat-help:hover{background:#ece5f7}.word-catalog-status{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0 20px}#dialog p+p{margin-top:14px}@media(max-width:650px){.word-stat-label{flex-wrap:wrap;justify-content:flex-start}.word-stat-help{padding:3px}}

.quran-arabic-page{direction:rtl;text-align:justify;padding:24px 8px;font-family:AmiriQuran,'Traditional Arabic',serif;font-size:var(--quran-size,34px);line-height:2.5;font-synthesis:none}.quran-arabic-page .quran-verse{display:inline;padding:0;border:0;border-radius:6px;margin:0;background:transparent}.quran-arabic-page .quran-verse.highlighted{background:#fff09b;box-decoration-break:clone;-webkit-box-decoration-break:clone}.quran-arabic-page .quran-arabic{display:inline;margin:0;padding:0;font-size:inherit;line-height:inherit;white-space:pre-wrap}.quran-verse-number{display:inline-block;background:transparent;border:1px solid #b8cbbd;border-radius:50%;font-family:AmiriQuran,serif;font-size:.55em;min-width:2em;min-height:2em;padding:0 .2em;vertical-align:middle;margin:0 .3em;color:var(--green)}.quran-verse-number[aria-pressed=true]{background:#ffed82;border-color:#b79d26}.quran-arabic-page .chapter-opening{display:block;text-align:center}.quran-highlight-hint{font-size:14px;color:var(--muted);margin:14px 0;line-height:1.7}

.mushaf-layout{display:block}.reading-info-option{display:flex;align-items:center;gap:12px}.reading-info-option input{width:20px;height:20px;accent-color:var(--green)}.reading-page-confirm{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}.reading-page-confirm .primary{margin-top:0}

@font-face{font-family:NotoNaskhArabic;src:url('/fonts/NotoNaskhArabic-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}.quran-text-reader .quran-arabic,.quran-arabic-page,.quran-arabic-page .quran-arabic{font-family:var(--quran-font,NotoNaskhArabic),AmiriQuran,serif}.quran-arabic-page{line-height:2.4}

.quran-passage-mark{color:inherit;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:.12em;padding:0}.highlight-directory{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.highlight-spectrum{display:flex;border-radius:9px;overflow:hidden;margin:12px 0;max-width:420px}.highlight-spectrum button{flex:1;min-height:36px;padding:6px;font-size:14px;color:var(--ink)}.highlight-palette{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:16px 0}.highlight-swatch{display:flex;flex-direction:column;align-items:center;gap:8px;background:transparent;padding:4px;min-width:0}.highlight-swatch>span{display:grid;place-items:center;background:var(--highlight-color);border:1px solid #a9b5ad;border-radius:50%;width:36px;height:36px;font-size:20px;color:var(--ink)}.highlight-swatch[aria-pressed=true]>span{outline:2px solid var(--green);outline-offset:3px}.highlight-swatch small{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.highlight-preview{font-family:NotoNaskhArabic,AmiriQuran,serif;font-size:28px;line-height:2.3;border-radius:10px;padding:15px;margin:20px 0}.highlight-page-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.highlight-page-list button{border:1px solid #a6b7ad;border-radius:8px;padding:10px 14px;font-size:16px;color:var(--ink)}.highlight-saved-items{margin-top:24px;max-height:40vh;overflow:auto}.highlight-saved-items>div{display:flex;justify-content:space-between;gap:14px;align-items:start;border-top:1px solid var(--line);padding:14px 0;font-size:14px}.highlight-saved-text{display:block;font-family:NotoNaskhArabic,AmiriQuran,serif;font-size:22px;line-height:2;margin-top:10px}.highlight-saved-items button{flex-shrink:0}#highlight-error,#highlight-directory-error{color:#943c45;margin-top:12px}@media(max-width:420px){.highlight-palette{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:14px}}

.quran-standard-scroll{max-width:100%;overflow-x:auto;direction:rtl;border:1px solid var(--line);border-radius:12px;background:white}.quran-standard-page{width:max-content;min-width:100%;padding:24px 18px;line-height:2.2}.quran-standard-page .quran-standard-line{white-space:nowrap;height:2.2em;min-width:18em;text-align:justify;text-align-last:justify}.quran-standard-page .quran-standard-line:empty{height:2.2em}.quran-standard-page .basmala{display:block;text-align:center;text-align-last:center}.quran-standard-page .quran-arabic{white-space:pre}.quran-standard-page .quran-verse{display:inline}
/* A separate, width-fitted book reader. */
body.book-open{background:var(--green)}body.book-open main{margin:0;padding:0;max-width:none}body.book-open #app>aside,body.book-open .topbar{display:none}.book-reader{max-width:760px;margin:0 auto;padding:0 18px 24px;min-height:100dvh;color:#352f24}.book-top{display:flex;align-items:center;justify-content:space-between;padding:18px 0 14px;gap:16px}.book-top>div{text-align:center}.book-top span{font-size:11px;letter-spacing:3px;color:#d7eac3;font-weight:700}.book-top h1{font-size:18px;letter-spacing:0;margin-top:4px;color:#fff8e8}.book-top button{font-size:16px;background:transparent;color:#fff8e8;min-height:44px;min-width:44px}.book-options{background:#faf6ec;border:1px solid #d6c7a8;border-radius:10px;padding:12px 14px;margin-bottom:14px}.book-options summary{font-size:15px;cursor:pointer}.book-option-links{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.book-option-links button{background:#e9dfca;padding:10px;border-radius:7px;font-size:14px}.book-options .sync-row{margin:14px 0 0;font-size:14px}.book-sheet{background:#fff8e8;border:1px solid #c3ad79;box-shadow:0 10px 32px #5d4b2720,2px 0 0 #f9f3e6,4px 0 0 #baa983;border-radius:3px;padding:14px 20px 20px;min-width:0}.book-page-top{display:flex;justify-content:space-between;align-items:center;color:#8a7346;font-size:14px;border-bottom:1px solid #d7c79c;padding:4px 4px 13px;gap:10px}.book-page-top b{font:24px NotoNaskhArabic,serif;color:#5e4b29}.book-reader .quran-text-reader{min-height:220px;position:relative;display:flex;flex-direction:column}.book-display-settings{order:2;border-top:1px solid #d7c79c;margin-top:16px;padding-top:12px}.book-display-settings summary{cursor:pointer;color:#766039;font-size:14px}.book-reader .quran-text-tools{border:0;padding-bottom:0;gap:10px}.book-reader .quran-text-tools label{min-width:145px;font-size:14px}.book-reader .quran-text-tools select{background:#fffcf5;border-color:#d4c49e}.book-reader .quran-standard-scroll{order:0;border:3px double #bba476;border-radius:0;background:transparent;position:relative;overflow:hidden;width:100%;margin-top:14px;min-height:150px}.book-reader .quran-standard-page{position:absolute;right:0;top:0;transform-origin:top right;background:transparent;padding:20px 28px;min-width:0;width:max-content;line-height:2.05;color:#2c281e}.book-reader .quran-standard-page .quran-standard-line{height:2.05em;min-width:17em;line-height:2.05;text-align-last:justify;white-space:nowrap}.book-reader .quran-verse-number{color:#8a7139;border-color:#baa574;background:#f5ecd4;margin:0 .25em;min-width:1.65em;min-height:1.65em}.book-reader .quran-standard-line .basmala{text-align:center;text-align-last:center}.book-reader .quran-arabic-page:not(.quran-standard-page){margin:14px 0;border:3px double #bba476;padding:20px 14px;overflow-wrap:anywhere;text-align:justify;color:#2c281e}.book-reader .quran-selection-actions{order:3;background:transparent;box-shadow:none;border:0;border-top:1px solid #d7c79c;border-radius:0;padding:12px 0 0;margin:14px 0 0}.book-reader .quran-selection-actions summary{color:#705c38;font-size:14px;cursor:pointer}.book-reader .quran-selection-actions p{font-size:14px}.book-reader .highlight-directory{order:4;margin-top:14px}.book-reader .quran-text-reader>.quran-verses{order:0}.book-reader .quran-source-line{order:1;background:#f5edd9;margin-top:12px}.book-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;padding:16px 8px 8px}.book-bottom button{background:#d7eac3;color:#103e38;font-size:16px;padding:12px 14px;border-radius:8px;min-height:46px}.book-bottom .book-page-index{background:transparent;color:#fff8e8;font-weight:700;font-size:21px}.book-page-index span{font-size:14px;font-weight:400;color:#d7eac3}.book-source{text-align:center;font-size:14px;margin-top:8px;color:#d7eac3}.book-source a{color:#d7eac3}.book-reader .quran-verses .quran-arabic{color:inherit}.book-reader .quran-verse:not(.quran-standard-page .quran-verse){background:#fffaf0;border-color:#d9cba9}.book-reader .source-note{display:none}.book-reader .quran-standard-page .quran-verse{background:transparent}
/* Account profile: cover, identity, study areas, and real activity. */
.profile-shell{max-width:1200px;margin:28px auto;display:grid;grid-template-columns:minmax(300px,390px) minmax(0,1fr);gap:26px;align-items:start}.profile-left,.profile-right{min-width:0}.profile-identity{border-radius:24px;background:white;overflow:hidden;border:1px solid var(--line);text-align:center;padding-bottom:24px}.profile-cover{height:165px;background:linear-gradient(125deg,#153c39 5%,#315e53 60%,#bc9567);position:relative;display:grid;place-items:center;overflow:hidden}.profile-cover>span{font:100px NotoNaskhArabic,serif;color:#ffffff38}.profile-cover>button{position:absolute;top:14px;left:14px;background:#ffffff21;color:white;border-radius:50%;width:36px;height:36px;font-size:28px}.profile-avatar{position:relative;margin:-58px auto 14px;width:112px;height:112px;background:#f2eee0;border:5px solid white;box-shadow:0 3px 14px #123c3820;display:grid;place-items:center;border-radius:50%;font:70px NotoNaskhArabic,serif;color:var(--green)}.profile-identity h1{font-size:25px;letter-spacing:-.5px;padding:0 18px;overflow-wrap:anywhere}.profile-verified-check{font-size:14px;background:#407dbe;color:white;border-radius:50%;padding:3px 6px;margin-left:8px;vertical-align:middle}.profile-handle{color:#748078;font-size:14px;margin:8px 18px 0;overflow-wrap:anywhere}.profile-bio{font-size:16px;line-height:1.7;margin:18px 26px 0;white-space:pre-wrap;overflow-wrap:anywhere}.profile-role-chips{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:18px 18px 0}.profile-role-chips:empty{display:none}.profile-role-chips>span{display:flex;align-items:center;gap:8px;background:#ede9fa;color:#473284;padding:8px 10px;font-size:14px;border-radius:9px}.profile-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 18px 18px;padding:18px 0;background:#fcf7ed;border-radius:16px}.profile-summary>div{display:flex;align-items:center;gap:8px;flex-direction:column;justify-content:center;min-width:0;padding:0 6px;border-right:1px solid #e8dfcf}.profile-summary>div:last-child{border:0}.profile-summary .icon{color:var(--green)}.profile-summary b{font-size:20px}.profile-summary span{font-size:14px;color:#767972}.profile-main-actions{display:flex;gap:10px;margin:0 18px}.profile-main-actions>button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;font-size:15px}.profile-panel{padding:22px;background:white;border:1px solid var(--line);border-radius:20px;margin-top:18px;min-width:0}.profile-panel h2{font-size:19px;letter-spacing:-.4px}.profile-panel-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.profile-panel-title .text-button{font-size:14px;white-space:nowrap}.profile-study-areas{display:grid;gap:17px}.profile-study-areas>div{display:grid;grid-template-columns:30px 68px minmax(32px,1fr) 60px;align-items:center;gap:10px}.study-area-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%}.study-area-icon .icon{width:19px;height:19px}.profile-study-areas b{font-size:14px;font-weight:500}.study-area-track{height:9px;border-radius:20px;background:#ebedee;overflow:hidden}.study-area-track i{display:block;height:100%;border-radius:20px}.profile-study-areas small{font-size:14px;color:#7e8580;text-align:right}.profile-caption{font-size:14px;color:#859088;margin-top:15px}.profile-badges{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;text-align:center}.profile-badges>div{display:flex;align-items:center;gap:9px;flex-direction:column;min-width:0}.badge-emblem{width:52px;height:60px;border:2px solid currentColor;border-radius:13px;display:grid;place-items:center;box-shadow:inset 0 0 0 3px white}.badge-emblem .icon{width:27px;height:27px}.profile-badges b{font-size:14px}.profile-badges small{font-size:14px;line-height:1.5;color:#8a918c}.badge-pending .badge-emblem{opacity:.55}.profile-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);padding:0 8px;overflow-x:auto;scrollbar-width:none}.profile-tabs button{background:none;white-space:nowrap;padding:14px 0;font-size:15px;color:#80877f;border-bottom:3px solid transparent}.profile-tabs button.active{color:var(--green);font-weight:700;border-color:var(--green)}.profile-learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-metric{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;min-width:0}.profile-metric>.icon{width:30px;height:30px;flex-shrink:0}.profile-metric>div{display:flex;flex-direction:column;gap:5px;min-width:0}.profile-metric b{font-size:21px;color:#1d2925;font-weight:700}.profile-metric span{font-size:14px;line-height:1.4;color:#65746c}.profile-contribution-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.profile-contribution-grid .profile-metric{flex-direction:column;text-align:center;gap:10px;padding:14px 8px}.tone-green{background:#edf7ee;color:#478451}.tone-blue{background:#eff6fe;color:#4385bc}.tone-orange{background:#fff6e8;color:#be862d}.tone-violet{background:#f2edfe;color:#7554ac}.study-area-track i.tone-green{background:#6fba80}.study-area-track i.tone-blue{background:#6ba1dd}.study-area-track i.tone-orange{background:#edaf56}.study-area-track i.tone-violet{background:#9d81d0}.profile-topics-title{font-size:15px;margin:20px 0 10px}.profile-topic-chips{display:flex;gap:8px;flex-wrap:wrap}.profile-topic-chips span{border:1px solid #d9e8db;border-radius:22px;background:#f1f7f0;padding:8px 13px;font-size:14px;color:#43684f}.profile-verified{display:grid;grid-template-columns:1fr 1fr;gap:20px}.verified-credential{display:flex;gap:12px;align-items:center;margin:10px 0}.verified-credential>.icon{color:#6e5597;width:30px;height:30px}.verified-credential span{display:grid;gap:5px}.verified-credential b{font-size:16px}.verified-credential small{font-size:14px;color:#818a84}.profile-facts{font-size:14px;color:#758079;display:grid;align-content:center;gap:13px;border-left:1px solid var(--line);padding-left:20px;line-height:1.5}.profile-empty{font-size:15px;color:#8a918d;line-height:1.7;margin:15px 0}.profile-activities{display:grid}.profile-activities>button{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;background:none;padding:17px 0;text-align:left;border-bottom:1px solid var(--line);align-items:center}.profile-activities>button:last-child{border:0;padding-bottom:0}.profile-activity-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#efebf9;color:#79619e}.profile-activities b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:500}.profile-activities small{display:block;margin-top:6px;color:#838b84;font-size:14px}.profile-activities p{font-size:15px;line-height:1.7;margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}.profile-activities time{font-size:14px;color:#8d948d}.profile-panel textarea{width:100%;min-height:200px;resize:vertical;border:1px solid var(--line);border-radius:10px;padding:16px;font-size:16px;line-height:1.8}.profile-panel>h2{margin-bottom:18px}.profile-avatar-choice{border:0;padding:0;display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.profile-avatar-choice legend{font-size:15px;margin-bottom:12px}.profile-avatar-choice label{margin:0!important}.profile-avatar-choice input{position:absolute;opacity:0;width:1px}.profile-avatar-choice span{display:grid;place-items:center;font:30px NotoNaskhArabic,serif;border:2px solid #e4eae2;border-radius:10px;width:43px;height:43px;background:#f5f7f1}.profile-avatar-choice input:checked+span{border-color:var(--green);background:#dfecdf}.profile-avatar-choice input:focus-visible+span{outline:3px solid #e4a46b}.profile-level-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}#profile-edit-form label{display:grid;gap:8px;margin:16px 0;font-size:15px}#profile-edit-form input,#profile-edit-form textarea,#profile-edit-form select,#profile-message-form textarea{padding:11px;border:1px solid var(--line);border-radius:9px;width:100%;font-size:16px;min-width:0}#profile-edit-form textarea,#profile-message-form textarea{min-height:110px;resize:vertical}.profile-form-error{font-size:14px;color:#a43c37;margin:12px 0;line-height:1.7}.letter-avatar{font:29px NotoNaskhArabic,serif}.profile-message{padding:16px 0;border-bottom:1px solid var(--line)}.profile-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.7;margin:10px 0}.forum-author{background:none;padding:0;color:var(--green);font-size:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){.profile-shell{grid-template-columns:1fr;gap:18px;max-width:600px}.profile-left .profile-identity{border-radius:22px}.profile-right{margin-bottom:20px}.profile-tabs{gap:23px}.profile-panel{padding:22px}.profile-study-areas>div{grid-template-columns:32px 78px 1fr 70px}}@media(max-width:700px){.book-reader{padding:0 10px 18px}.book-top{padding:12px 0}.book-sheet{padding:10px 10px 15px}.book-page-top{font-size:14px;padding:0 2px 8px}.book-page-top b{font-size:21px}.book-bottom{gap:8px;padding:10px 0 4px}.book-bottom button{font-size:15px;padding:10px}.book-reader .quran-text-tools label{min-width:120px}.book-reader .quran-text-tools select{font-size:14px}.profile-shell{margin:20px -8px}.profile-panel{padding:18px}.profile-contribution-grid{gap:7px}.profile-contribution-grid .profile-metric{padding:13px 5px}.profile-contribution-grid .profile-metric b{font-size:20px}.profile-activities>button{grid-template-columns:34px minmax(0,1fr);gap:10px}.profile-activities time{grid-column:2;font-size:14px}.profile-badges{gap:8px}.profile-verified{grid-template-columns:1fr}.profile-facts{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.profile-learning-grid .profile-metric{gap:9px;padding:14px 10px}.profile-learning-grid .profile-metric .icon{width:25px;height:25px}.profile-summary{margin:22px 14px 18px}.profile-identity h1{font-size:27px}.profile-badges small{font-size:14px}.profile-study-areas>div{grid-template-columns:30px 66px 1fr 64px;gap:9px}.profile-tabs{gap:18px;padding:0 10px}.profile-level-form{grid-template-columns:1fr}.profile-main-actions{margin:0 14px}}

.quran-chapter-title{display:block;border:1px solid #bca679;border-radius:50px;text-align:center;text-align-last:center;font-size:.75em;color:#806632;line-height:2.3;margin:0 18px}.book-reader .quran-standard-line:has(.quran-chapter-title){text-align-last:center}

.reply-reward-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;font-size:14px}.reply-reward-actions button{padding:10px 12px;min-height:44px}.reviewed-source{font-size:14px;line-height:1.7;margin-top:14px}.reviewed-source a{color:var(--green)}.source-review{margin-top:16px;font-size:14px}.source-review summary{cursor:pointer}.source-review-form{margin-top:12px}.source-review-form label{display:grid;gap:8px;margin:12px 0}.source-review-form input,.source-review-form textarea{width:100%;padding:10px;font-size:16px;border:1px solid var(--line);border-radius:8px}.reward-conditions section{padding:18px 0;border-bottom:1px solid var(--line)}.reward-conditions p{line-height:1.7;margin-top:10px;font-size:16px}

/* Research submissions and editorial reading surface */
.research-tabs{margin:20px 0}.research-callout{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;margin:20px 0 30px;background:var(--green);color:#fff;border-radius:20px}.research-callout h2{margin:0;font-size:1.5rem}.research-callout p{color:#e1eee8;margin:8px 0 0}.research-callout .primary{background:#fff;color:var(--green);flex-shrink:0}.research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.research-card h2{margin:16px 0}.research-title{font:inherit;font-weight:inherit;color:inherit;text-align:start;background:none;border:0;padding:0;cursor:pointer}.research-title:hover{text-decoration:underline}.research-card footer{display:flex;justify-content:space-between;gap:14px;border-top:1px solid #e4eae7;margin-top:24px;padding-top:18px;color:#66756e;font-size:.875rem}.research-tags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.research-mine{margin-top:36px}.research-mine>.card{margin:14px 0}.research-file{display:block;margin:16px 0;color:var(--green);overflow-wrap:anywhere}.research-submit-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}.research-process ol{padding-left:24px}.research-process li{margin-bottom:20px;line-height:1.7}.research-note{background:#f0f5f1;border-left:3px solid var(--green);padding:16px;line-height:1.7;white-space:pre-wrap}.research-form{display:flex;flex-direction:column;gap:16px}.research-form label{display:flex;flex-direction:column;gap:8px;color:#243d35;font-size:1rem;font-weight:600}.research-form input,.research-form textarea{width:100%;box-sizing:border-box;font:inherit;font-weight:400;border:1px solid #cedbd3;border-radius:12px;background:#fff;padding:13px;color:#17342b;min-width:0}.research-form textarea{resize:vertical;line-height:1.7}.research-form small{font-size:.875rem;line-height:1.6;color:#64736b}.research-form .research-consent{display:flex;flex-direction:row;align-items:start;font-weight:400;line-height:1.6}.research-consent input{width:20px;height:20px;flex-shrink:0;margin-top:4px}.research-form .primary{align-self:start}.research-article{max-width:860px;margin:20px auto;padding:clamp(22px,5vw,56px)}.research-article h1{font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.4;overflow-wrap:anywhere}.research-summary{font-size:1.125rem;line-height:1.8;border-bottom:1px solid #e1e9e4;padding-bottom:24px;margin-bottom:28px}.research-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.0625rem;line-height:1.95}.research-bibliography{border-top:1px solid #dce6df;margin-top:40px;padding-top:24px}.research-review-list{display:grid;gap:18px;margin:24px 0}.research-review-list summary{cursor:pointer;font-size:1.125rem;overflow-wrap:anywhere}.research-review-list summary span{display:block;font-size:.875rem;color:#6c7972;margin-top:8px}.research-review-form{margin-top:22px}.research-review-actions{display:flex;gap:12px;flex-wrap:wrap}.research-editors{margin-top:28px}.research-empty{padding:32px}.research-form input:focus,.research-form textarea:focus{outline:2px solid #24765f;outline-offset:2px}@media(max-width:760px){.research-callout{align-items:start;flex-direction:column;padding:22px}.research-grid,.research-submit-grid{grid-template-columns:1fr}.research-card footer{flex-wrap:wrap}.research-process{order:0}.research-tabs{flex-wrap:wrap}.research-article{padding:24px 18px}.research-form .primary{width:100%}}
.research-editor-link{display:flex;justify-content:flex-end;margin-top:18px}.research-upload-layout{max-width:900px;margin:0 auto;display:grid;gap:24px}.research-principles h2,.research-upload-card h2{margin-bottom:20px}.research-principles p{font-size:1rem;line-height:1.85;margin-top:18px}.research-upload-card .research-form{margin-top:20px}.research-upload-zone{border:1px dashed #638c7b;border-radius:14px;background:#f3f8f4;padding:22px}.research-upload-zone input{background:white}.research-upload-card #research-file-name{overflow-wrap:anywhere;font-size:1rem}@media(max-width:700px){.nav{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.nav button{flex:0 0 86px;min-height:68px;font-size:12px}.nav button span{white-space:normal}.research-upload-zone{padding:16px}}

/* Published studies retain the approved verse, translation and source layout. */
.research-body:has(.research-paragraph){white-space:normal;font-size:1rem;line-height:1.9}.research-body p{margin:0 0 1.5em}.research-arabic{font-family:NotoNaskhArabic,AmiriQuran,serif;font-size:2em;line-height:1.8;unicode-bidi:isolate}.research-verse{font-family:NotoNaskhArabic,AmiriQuran,serif;font-size:2em;line-height:1.9;text-align:right;margin-bottom:1em!important}.research-verse .research-arabic{font-size:1em}.research-meal{font-size:1em;line-height:1.9}.research-bibliography .research-body{white-space:normal;font-size:1rem}.research-bibliography a{color:var(--green);text-decoration:underline}.research-paragraph{overflow-wrap:anywhere}

.research-verse{background:#f0f5f1;border-radius:16px;padding:clamp(18px,4vw,28px);box-sizing:border-box}.research-quote{color:var(--green);font-family:NotoNaskhArabic,serif}.research-title-verse{margin:16px 0}.research-verse-tag{white-space:nowrap;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
