:root{font-family:system-ui,-apple-system,sans-serif;color:#193e38;background:#f6f1e6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:900px;margin:auto;padding:24px 18px 70px}header{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:750}.mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#d9e8db;color:#266256}.page-title{font-size:clamp(2rem,7vw,3.4rem);margin:48px 0 8px;line-height:1.1}.intro{font-size:1.06rem;color:#536b62;line-height:1.5;margin-bottom:30px}.cards{display:grid;grid-template-columns:1fr;gap:16px}.child-card{display:block;width:100%;border:1px solid #dce0d4;border-radius:22px;background:#fffdf7;text-align:left;padding:22px;color:inherit;min-height:220px;box-shadow:0 5px 24px #224a380c;cursor:pointer}.child-card:hover{border-color:#87ac97}.child-card:focus-visible,.button:focus-visible,.text-button:focus-visible,input:focus-visible{outline:3px solid #256b58;outline-offset:3px}.card-heading{display:flex;align-items:center;gap:14px}.avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#e2ecdd;color:#255a48;font-weight:800}.name{font-size:1.2rem}.summary{margin-top:20px;display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:0 10px}.count{font-size:3.2rem;line-height:1;font-weight:800;color:#276452}.count-label{font-size:.98rem;font-weight:650}.homework{grid-column:1/-1;margin:18px 0 0;line-height:1.4;color:#43574e}.card-action{display:block;margin-top:18px;font-weight:700;color:#276452}.static-card{cursor:default;min-height:170px}.empty,.locked{background:#fffdf7;padding:20px;border-radius:16px;line-height:1.5}.locked{border-left:4px solid #86ad98}.button{border:0;border-radius:14px;background:#256653;color:#fff;font:inherit;font-weight:700;padding:15px 20px;min-height:48px;cursor:pointer;margin:12px 10px 0 0}.button:disabled{opacity:.5;cursor:not-allowed}.text-button{background:transparent;color:#225844;border:0;text-decoration:underline;font:inherit;font-weight:650;min-height:48px;padding:10px;cursor:pointer;margin-top:18px}footer{margin-top:32px}.login{max-width:410px;display:flex;flex-direction:column;gap:12px;background:#fffdf7;padding:24px;border-radius:20px}.login label{font-weight:700}.login input{font:inherit;border:1px solid #8ba99b;border-radius:12px;padding:14px;min-height:50px}.login .button{margin:4px 0 0}.error{color:#a3302b;min-height:1.4em;margin:0}.admin-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:30px}.current{font-weight:800;padding:14px}.admin-nav .button{margin:0}@media(min-width:650px){main{padding:36px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:980px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}:lang(ar){font-family:serif;direction:rtl;line-height:1.9}.homework-detail,.assignment-panel{background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:24px;margin-top:24px;line-height:1.5}.homework-detail h2,.assignment-panel h2{margin:0 0 12px;font-size:1.35rem}.homework-surah{display:block;font-size:1.6rem;color:#276452}.lock-state{font-weight:700;color:#43574e}.assignment-form{display:flex;flex-direction:column;gap:10px;max-width:480px}.assignment-form label{font-weight:700}.assignment-form select,.assignment-form input[type=date]{font:inherit;border:1px solid #8ba99b;border-radius:12px;padding:12px;min-height:50px;max-width:100%;background:#fff;color:#193e38}.assignment-preview{background:#f6f1e6;border-radius:12px;padding:16px;line-height:1.5;margin:8px 0}.replace-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.4}.replace-confirm input{width:22px;height:22px;flex:none}.replace-confirm[hidden]{display:none}.assignment-form .button{align-self:flex-start;margin:4px 0 0}.target-date{grid-column:1/-1;margin:6px 0 0;color:#43574e;line-height:1.4}.recitation-switcher{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0}.recitation-switcher .text-button{margin:0}.recitation-panel,.history-list{background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:24px;margin-top:20px}.recitation-panel h2,.history-list h2{margin:0 0 12px;font-size:1.35rem}.recitation-panel .summary{margin-top:8px}.recitation-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.recitation-actions .button{margin:0;min-width:150px}.recitation-actions .button:first-child{background:#256653}.recitation-actions .button:last-child{background:#e2ecdd;color:#193e38}.history-list ul{list-style:none;margin:0;padding:0}.history-list li{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #dce0d4}.history-list li span{color:#43574e}.notice{padding:16px;background:#d9e8db;border-radius:12px;line-height:1.4}.learn-surah{font-size:clamp(1.5rem,5vw,2rem);margin:22px 0 16px}.learn-opening,.learn-panel{background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:clamp(18px,4vw,30px);margin:18px 0}.learn-opening{background:#eaf2e9;text-align:center}.opening-label{display:block;color:#426657;font-size:.88rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.learn-arabic{font-family:Geeza Pro,Noto Naskh Arabic,serif;font-size:clamp(2rem,6vw,2.65rem);font-synthesis:none;line-height:2;overflow-wrap:anywhere;margin:18px 0}.learn-progress{font-weight:800;color:#276452;margin:0}.learn-transliteration{font-size:1.08rem;line-height:1.7;color:#374d43;overflow-wrap:anywhere}.learn-controls{display:flex;flex-wrap:wrap;gap:8px}.learn-controls .button{margin:0;flex:1 1 150px}.repeat-options{border:1px solid #bad0c0;border-radius:14px;margin:20px 0 8px;padding:14px;display:flex;gap:18px;flex-wrap:wrap}.repeat-options legend{font-weight:750;padding:0 6px}.repeat-options label{display:flex;align-items:center;gap:6px;min-height:40px;font-weight:650}.repeat-options input{width:20px;height:20px}.learn-audio-state{min-height:1.4em;color:#43574e}.learn-credit{border-top:1px solid #ccd8d0;color:#536b62;font-size:.85rem;line-height:1.5;margin-top:30px}.learn-credit a{color:#225844}.learn-credit p{margin:8px 0}.surah-progress{background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:clamp(18px,4vw,24px);margin-top:24px}.surah-progress h2{font-size:1.35rem;margin:0}.progress-summary{font-weight:750;color:#276452;margin:8px 0 18px}.progress-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px}.progress-group h3{font-size:1rem;margin:0 0 8px;color:#43574e}.progress-group ul{list-style:none;margin:0;padding:0}.progress-group li{display:flex;align-items:baseline;gap:7px;line-height:1.4;padding:3px 0}.progress-mark{display:inline-block;flex:none;width:1em;font-weight:800;color:#276452}:root{accent-color:#256653}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.button:hover:not(:disabled){background:#1d5343}.button:disabled{opacity:1;background:#e4e8e1;color:#5f7169;cursor:not-allowed;box-shadow:inset 0 0 0 1px #cfd6cc}.button-secondary{background:#fffdf7;color:#1f5646;box-shadow:inset 0 0 0 2px #256653}.button-secondary:hover:not(:disabled){background:#e2ecdd}.page-title{margin-top:36px}.card-heading,.summary,.homework,.target-date{display:flex}.summary{display:grid}.homework,.target-date{display:block}.homework strong{color:#1f5646}.homework-detail{border:2px solid #86ad98;background:#fffdf7;box-shadow:0 5px 24px #224a380f}.homework-heading{font-size:.95rem!important;text-transform:uppercase;letter-spacing:.05em;color:#426657}.homework-surah{font-size:clamp(1.9rem,8vw,2.4rem);line-height:1.15}.homework-target{font-size:1.08rem;font-weight:650;margin:8px 0 0}.homework-detail .button{margin:18px 0 4px;min-width:180px}.lock-state{font-size:.92rem;font-weight:600;margin:12px 0 0}.homework-none{font-size:1.08rem;margin:0}.count-tile{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 14px;background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:18px 24px;margin-top:16px}.count-tile .count{font-size:2.8rem}.count-tile .button{grid-column:1/-1;margin:8px 0 0;justify-self:start}.progress-summary{margin:8px 0 10px}.progress-bar{display:block;width:100%;height:10px;margin:0 0 18px;border:0;border-radius:99px;background:#e4e8e1;overflow:hidden;appearance:none}.progress-bar::-webkit-progress-bar{background:#e4e8e1;border-radius:99px}.progress-bar::-webkit-progress-value{background:#2f7a63;border-radius:99px}.progress-bar::-moz-progress-bar{background:#2f7a63;border-radius:99px}.progress-groups{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px 20px}.progress-group h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}.progress-group ul{display:flex;flex-wrap:wrap;gap:6px}.progress-group li.progress-chip{padding:5px 11px 5px 7px;border:1px solid #dce0d4;border-radius:99px;background:#f7f4ec;color:#43574e;font-size:.95rem;gap:5px;align-items:center}.progress-chip .progress-mark{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1.5px solid #a9bcb1;font-size:.72rem;line-height:1}.progress-chip.is-cleared{background:#e2ecdd;border-color:#9cc0a9;color:#1d4d3f;font-weight:650}.progress-chip.is-cleared .progress-mark{background:#2f7a63;border-color:#2f7a63;color:#fff}.learn-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.learn-controls .button{margin:0;min-height:52px}.learn-controls .learn-play{grid-column:1/-1;min-height:58px;font-size:1.1rem}.learn-full{display:block;width:100%;margin:6px 0 0;min-height:52px}.learn-panel .learn-progress{display:inline-block;background:#e2ecdd;border-radius:99px;padding:4px 12px;font-size:.95rem}.learn-arabic{text-align:right}.learn-transliteration{font-size:1.12rem;font-style:italic;color:#2f463c;margin:0 0 20px}.repeat-options{margin:18px 0 12px}.repeat-options label{min-height:44px;padding:0 4px;cursor:pointer}.learn-audio-state{margin:10px 0 0}.learn-credit a{display:inline-block;padding:6px 0}.recitation-switcher{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px}.switcher-count{text-align:center;font-weight:650}.recitation-actions .button{flex:1 1 150px}.history-list li strong{color:#1d4d3f}.learn-opening .learn-arabic{text-align:center}.learn-controls,.learn-full,.repeat-options{max-width:560px}@media(max-width:520px){.history-list li{flex-direction:column;gap:2px}}.page-title:has([lang=ar]){font-size:clamp(1.55rem,5vw,2.6rem)}.homework-heading [lang=ar]{font-size:1.15em}.homework-assigned{color:#536b62;margin:8px 0 0}.homework-target{margin-top:4px}.child-cta{display:block;font-size:.85rem;font-weight:600;margin-top:2px}.homework-detail .button{line-height:1.25}main{padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(70px,env(safe-area-inset-bottom))}[hidden]{display:none!important}.admin-nav{margin:20px 0 28px;gap:8px}.admin-nav a{text-decoration:none;text-align:center}.admin-nav a[aria-current]{background:#256653;color:#fff}.admin-nav .text-button{margin:0}.admin-identity{font-size:.9rem;margin-left:auto}.admin-nav a:focus-visible{outline:3px solid #256b58;outline-offset:3px}.homework-group{margin-top:28px}.homework-list{display:grid;gap:12px;max-height:480px;overflow-y:auto;padding:4px}.homework-card{background:#fffdf7;border:1px solid #dce0d4;border-radius:16px;padding:18px}.homework-card h3,.homework-card p{margin:0 0 8px}.profile-list{display:flex;flex-wrap:wrap;gap:8px}.profile-list .button{margin:0}.child-overview{display:grid;gap:16px}.child-overview .homework-detail,.child-overview .count-tile{margin:0}.child-overview .count-tile{align-content:start}.zero-state{grid-column:1/-1;line-height:1.5;margin:8px 0}.heading-caption{display:block;font-size:1rem;line-height:1.5}.surah-number{margin:20px 0 4px;color:#43574e;font-weight:700}.learn-surah{margin:0 0 6px}.surah-meaning{margin:0;color:#43574e}.ayah-card{border-left:5px solid #dce0d4;scroll-margin:150px 0}.ayah-card.is-current{border-color:#256653;background:#edf3e9;box-shadow:0 0 0 1px #256653}.ayah-card.is-playing{border-left-width:9px}.ayah-cue{display:block;min-height:1.4em;font-weight:750;color:#225844}.full-surah .learn-panel:not(.is-current){background:#fffdf7}.full-controls{position:sticky;top:0;z-index:1;background:#f6f1e6;padding:12px 0;border-bottom:1px solid #ccd8d0}.full-controls h3{margin:0}.full-controls .button{margin:8px 8px 0 0}.learn-audio-state{font-weight:700}.full-surah .learn-transliteration{margin-bottom:0}.recitation-panel>.button{background:#256653;color:#fff}@media(min-width:768px){.child-overview{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.homework-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.admin-nav a{flex:1 1 100px}.admin-identity{margin-left:0}.admin-nav .text-button{margin-left:auto}.recitation-panel{padding:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}header .child-signout{margin:0 0 0 auto;padding:8px 12px;min-height:44px;flex-shrink:0}header:has(.child-signout){gap:8px}.child-item-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.child-item-controls .button{padding:10px 5px;font-size:.9rem}.child-item-controls .learn-play{grid-column:1/-1}.full-controls .button{min-height:44px}.homework-list{max-height:32rem;overflow-y:auto}#learner-select{display:block;max-width:100%;min-height:48px;margin:12px 0 20px;font:inherit}details>summary{cursor:pointer;padding:12px 0}header{flex-wrap:wrap;justify-content:space-between;gap:8px 16px}.brand{display:block;flex:none;line-height:0}.brand-logo{display:block;width:200px;height:auto;max-height:72px;object-fit:contain;mix-blend-mode:multiply}.header-links{display:flex;align-items:center;justify-content:flex-end;gap:4px 14px;margin-left:auto;flex-wrap:wrap}.header-links a{display:inline-flex;align-items:center;min-height:44px;color:#43574e;font-size:.9rem;font-weight:500;text-decoration:underline;text-underline-offset:3px}.header-links a:focus-visible,.brand:focus-visible{outline:3px solid #256b58;outline-offset:3px}.profile-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-card,.pin-result{background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:22px;min-width:0}.profile-card h3,.pin-result h2{margin:0 0 14px}.profile-memorised{list-style:none;margin:0;padding:0;max-height:24rem;overflow-y:auto}.profile-memorised li{border-top:1px solid #dce0d4}.profile-memorised .text-button{margin:0;padding:10px 0;text-align:left;overflow-wrap:anywhere}.profile-homework-title{font-size:1.2rem;font-weight:700;overflow-wrap:anywhere}.pin-result{margin:18px 0}.issued-pin{font:700 1.5rem ui-monospace,monospace;letter-spacing:.06em}.pin-result .text-button,.pin-reset .text-button{margin:0}.pin-reset{margin-top:14px}.pin-reset p{margin:4px 10px;line-height:1.5}.profile-name{overflow-wrap:anywhere}@media(max-width:600px){.brand-logo{width:180px}.header-links{width:100%;gap:4px 18px}.profile-cards{grid-template-columns:1fr}}.profile-cards{align-items:start;margin-top:18px}.profile-card{box-shadow:0 5px 24px #224a380c}.profile-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px}.profile-memorised{overscroll-behavior:contain}.entry-header .header-links,.admin-header .header-links{width:auto;gap:4px 14px}.account-list{display:grid;gap:1rem;margin-block:1rem}.account-id{overflow-wrap:anywhere}.family-code,.learner-management,.inactive-learners{margin-top:20px;padding:20px;border:1px solid #dce0d4;border-radius:20px;background:#fffdf7}.family-code h2{margin:0 0 8px;font-size:1.2rem}.family-code strong{display:block;overflow-wrap:anywhere;font-size:1.3rem;color:#276452}.family-code p,.learner-management p{line-height:1.5}.signup-note{margin:0;color:#536b62;font-size:.92rem;line-height:1.5}.inactive-learner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid #dce0d4}.inactive-learner .text-button{margin:0}.help-panel{margin:-12px 0 20px;padding:0 20px;border:1px solid #dce0d4;border-radius:20px;background:#fffdf7;line-height:1.5}.help-panel>summary{font-weight:700;color:#225844;min-height:44px}.help-panel h2{margin:0 0 8px;font-size:1.2rem}.help-intro{margin:0 0 12px;font-weight:650}.help-steps{margin:0 0 20px;padding-left:1.4em}.help-steps li{margin:0 0 10px;overflow-wrap:anywhere}.help-steps p{margin:2px 0 0}.family-code+.help-panel{margin-top:20px}:root{--emerald-950:#0d342b;--emerald-800:#155846;--emerald-700:#1d6b54;--emerald-100:#dfeee7;--ivory:#faf7ef;--paper:#fffdf8;--gold:#b88a35;--ink:#183a32;--muted:#587067;--line:#d7e1da;--shadow:0 18px 50px rgba(15,61,48,.09);--radius:22px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--ivory)}body{min-width:320px;background:radial-gradient(circle at 12% -8%,rgba(184,138,53,.13),transparent 30rem),var(--ivory)}main{width:min(100%,1120px);max-width:none;padding-inline:clamp(18px,4vw,48px)}header{min-height:74px;padding-bottom:14px;border-bottom:1px solid rgba(21,88,70,.12)}.brand-logo{width:clamp(165px,22vw,220px)}.header-links a{min-width:44px;justify-content:center}.page-title{max-width:760px;letter-spacing:-.035em}.intro{max-width:720px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;background:var(--emerald-800);box-shadow:0 8px 18px #15584621;transition:background-color .16s ease,transform .16s ease,box-shadow .16s ease}.button:hover:not(:disabled){background:var(--emerald-950);transform:translateY(-1px);box-shadow:0 10px 22px #1558462e}.button-secondary{background:transparent;color:var(--emerald-800);box-shadow:inset 0 0 0 1.5px var(--emerald-700)}.button-secondary:hover:not(:disabled){background:var(--emerald-100);color:var(--emerald-950);box-shadow:inset 0 0 0 1.5px var(--emerald-700)}.child-card,.homework-detail,.assignment-panel,.recitation-panel,.history-list,.surah-progress,.profile-card,.pin-result,.family-code,.learner-management,.inactive-learners,.help-panel,.login{background:#fffdf8f5;border-color:var(--line);box-shadow:var(--shadow)}input,select{font-size:16px!important}.login input,.assignment-form select,.assignment-form input[type=date],#learner-select{border-color:#78978b;background:var(--paper)}.public-home{padding-bottom:90px}.home-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);align-items:center;gap:clamp(26px,5vw,72px);padding:clamp(42px,7vw,82px) 0 54px}.hero-copy{position:relative;z-index:1}.eyebrow{margin:0 0 12px;color:var(--emerald-700);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hero-title{max-width:700px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.8rem,7.2vw,5.8rem);font-weight:600;letter-spacing:-.055em;line-height:.97;color:var(--emerald-950)}.hero-intro{max-width:620px;margin:24px 0 8px;color:var(--muted);font-size:clamp(1.08rem,2vw,1.28rem);line-height:1.65}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.hero-actions .button{margin:0;min-width:170px}.hero-note{margin:16px 0 0;color:var(--muted);font-size:.9rem}.hero-visual{position:relative;display:grid;place-items:center;min-height:390px;border-radius:42% 42% 28% 28%;background:linear-gradient(155deg,#e8f2ea,#f3e5bd);overflow:hidden;isolation:isolate}.hero-visual:after{content:"";position:absolute;inset:auto 12% 7%;height:14%;border-radius:50%;background:#0d342b1f;filter:blur(20px);z-index:-1}.hero-visual img{display:block;width:min(84%,430px);margin-top:28px;height:auto;max-height:520px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 18px rgba(13,52,43,.12))}.home-section{padding:clamp(44px,7vw,76px) 0;border-top:1px solid rgba(21,88,70,.14)}.home-section>h2,.benefit-card h2{margin:0;color:var(--emerald-950);font-family:Georgia,Times New Roman,serif;font-size:clamp(1.8rem,4vw,3rem);font-weight:600;line-height:1.15}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}.feature-card,.benefit-card{padding:clamp(22px,3vw,32px);border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);box-shadow:0 12px 32px #0f3d300f}.feature-card h3{margin:18px 0 8px;font-size:1.15rem}.feature-card p,.benefit-card p:last-child{margin:0;color:var(--muted);line-height:1.65}.step-number{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--emerald-100);color:var(--emerald-800);font-weight:850}.home-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:30px}.benefit-card:first-child{background:var(--emerald-950);color:#fff}.benefit-card:first-child .eyebrow{color:#dfc17c}.benefit-card:first-child h2{color:#fff}.benefit-card:first-child p:last-child{color:#dbe7e2}.benefit-card h2{font-size:clamp(1.55rem,3vw,2.15rem);margin-bottom:12px}.library-form{max-width:820px}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;padding:0;margin:0 0 18px}.library-grid legend{width:100%;margin-bottom:12px;font-size:1.25rem;font-weight:800}.library-option{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--paper);cursor:pointer}.library-option:has(input:checked){border-color:var(--emerald-700);background:var(--emerald-100)}.library-option input{width:22px;height:22px;flex:none}.library-option span{display:flex;flex-direction:column;gap:2px}.library-option small{color:var(--muted)}.range-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.range-fields input{min-width:0;width:100%;min-height:50px;padding:12px;border:1px solid #78978b;border-radius:12px}.range-fields[hidden]{display:none}.profile-memorised li>span{display:block;padding:12px 0;line-height:1.5}.learner-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:720px;margin-bottom:22px;padding:10px 18px;border-radius:18px;background:linear-gradient(120deg,var(--emerald-100),#f3e5bd)}.learner-welcome .intro{margin:0}.learner-welcome img{width:96px;height:94px;object-fit:contain;flex:none}@media(max-width:760px){.home-hero{grid-template-columns:1fr;padding-top:34px}.hero-visual{grid-row:1;min-height:260px;max-height:370px}.hero-visual img{width:min(82%,360px)}.feature-grid,.home-benefits,.library-grid{grid-template-columns:1fr}}@media(max-width:480px){main{padding-inline:16px}.hero-title{font-size:clamp(2.65rem,15vw,4rem)}.hero-actions{display:grid}.hero-actions .button{width:100%;margin:0}.hero-visual{border-radius:30px;min-height:240px}.admin-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-nav a{min-width:0}.range-fields{grid-template-columns:1fr}.learner-welcome img{width:76px;height:75px}}@media(prefers-reduced-motion:reduce){.button{transition:none}.button:hover:not(:disabled){transform:none}}.checklist,.consent{background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:clamp(16px,4vw,24px);margin:16px 0}.checklist h2,.section-title{font-size:1.25rem;margin:0 0 12px}.section-title{margin:28px 0 12px}.checklist-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}.checklist-steps li{display:flex;gap:12px;align-items:flex-start}.checklist-steps .check{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:2px solid #a9bcb1;font-weight:800;color:#43574e}.checklist-steps li.is-done .check{background:#2f7a63;border-color:#2f7a63;color:#fff}.checklist-steps li.is-done{opacity:.7}.checklist-steps p{margin:2px 0 8px;color:#43574e;line-height:1.4}.checklist-steps .button{margin:0}.consent{display:flex;gap:12px;align-items:flex-start;line-height:1.5;max-width:520px;padding:16px}.consent input{width:24px;height:24px;flex:none;margin-top:2px}.pair-code{display:block;font-size:clamp(2.2rem,10vw,3.2rem);letter-spacing:.12em;color:#276452;margin:14px 0 4px;font-family:ui-monospace,Menlo,monospace}.consent a{color:#225844}.child-card .button{max-width:100%}@media(max-width:480px){.admin-nav{display:flex;flex-wrap:wrap;gap:6px}.admin-nav a{flex:0 0 auto;padding:10px 14px;min-height:42px;font-size:.95rem;margin:0}.child-card .button{width:100%}}.login-actions{display:grid;gap:12px;max-width:520px;margin:8px 0}.login-actions .button{width:100%;margin:0;text-align:center}.onboarding-links{display:flex;gap:20px;flex-wrap:wrap;margin:18px 0}.onboarding-links .text-button{margin:0;min-height:44px}.pin-toggle{display:block;margin:2px 0 10px;min-height:44px}.homework-columns{display:grid;gap:8px}@media(min-width:720px){.homework-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.homework-columns .homework-list{grid-template-columns:1fr}}.homework-group{margin-top:20px}.homework-list{max-height:26rem}#learner-select,.assignment-form select,.assignment-form input,.login input,.recitation-panel input{font:inherit;font-size:16px;min-height:48px;padding:10px 14px;border:1.5px solid #78978b;border-radius:12px;background:#fffdf7;color:#193e38;max-width:100%}#learner-select{display:block;width:100%;max-width:420px;margin:8px 0 20px}#learner-select:focus-visible,.assignment-form select:focus-visible,.assignment-form input:focus-visible{outline:3px solid #256653;outline-offset:2px}label{font-weight:700;display:block;margin:14px 0 6px}.consent label,.repeat-options label,.replace-confirm,label.consent{font-weight:400;display:flex}.range-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.range-fields label{margin-top:0}details.family-code>summary,main>details>summary{min-height:48px;padding:12px 14px;font-weight:700;color:#225844;border-radius:12px;cursor:pointer}main>details{background:#fffdf7;border:1px solid #dce0d4;border-radius:16px;margin:16px 0;padding:0 6px}main>details[open]{padding-bottom:12px}main>details>summary:focus-visible{outline:3px solid #256653;outline-offset:2px}.checklist button:disabled{opacity:.55;cursor:not-allowed}.pin-toggle{text-align:left}.sign-in-card{background:#fffdf7;border:1px solid #dce0d4;border-radius:20px;padding:clamp(16px,4vw,24px);margin:16px 0}.sign-in-card h2,.sign-in-card h3{margin:0 0 10px;font-size:1.25rem}.sign-in-steps{margin:0 0 12px;padding-left:22px;line-height:1.5}.sign-in-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:8px 0}.sign-in-row>span{color:#43574e;min-width:84px}.sign-in-card .pair-code{font-size:1.5rem;letter-spacing:.08em;font-family:ui-monospace,Menlo,monospace}.copy-wrap{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0}.pin-result .issued-pin{font-size:1.6rem;font-family:ui-monospace,Menlo,monospace;letter-spacing:.06em}.learner-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;margin:12px 0}.learner-pick{display:flex;flex-direction:column;gap:6px;flex:1 1 240px;min-width:0}.learner-bar>details{flex:1 1 220px;min-width:0;margin:0}.learner-bar>details[open]{flex-basis:100%}.copy-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:8px}.learner-settings .settings-part{padding:14px 0;border-top:1px solid #e6e9df}.learner-settings .settings-part:first-child{border-top:0;padding-top:0}.learner-settings h3{margin:0 0 6px;font-size:1.1rem}.celebration{position:fixed;inset:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;background:#1428208c;padding:16px;overflow-y:auto}.celebration-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}.celebration-card{position:relative;background:#fffdf7;border-radius:24px;padding:28px 22px 22px;margin:auto;max-width:440px;width:100%;text-align:center;box-shadow:0 12px 40px #00000040}.celebration-arabic{font-size:3rem;margin:0;color:#1f6b4f;line-height:1.3}.celebration-card h2{margin:4px 0 10px}.celebration-art{display:block;width:min(170px,48%);height:auto;margin:0 auto 4px}.celebration-list{list-style:none;padding:0;margin:12px 0 22px;font-weight:600;line-height:1.7}.celebration-card .button{width:100%}.learner-pick #learner-select{margin:0}.learner-bar{align-items:flex-end}.add-learner-toggle{flex:0 0 auto;min-height:48px;margin:0;font-weight:700}.add-learner-panel{margin:0 0 16px}.add-learner-panel[hidden]{display:none}.check-row{display:flex;align-items:flex-start;gap:10px;line-height:1.4;margin:12px 0}.check-row input[type=checkbox]{flex:0 0 auto;width:22px;height:22px;margin:1px 0 0}.learner-pick{max-width:360px}.learner-settings .text-button{padding-left:0;margin-left:0}.assignment-mode{border:1px solid #dce0d4;border-radius:14px;padding:10px 14px;margin:0 0 14px}.assignment-mode legend{font-weight:700;padding:0 6px}.assignment-mode .check-row{margin:8px 0}.assignment-mode input[type=radio]{flex:0 0 auto;width:22px;height:22px;margin:1px 0 0}.overdue-tag{display:inline-block;margin-top:6px;padding:3px 10px;border-radius:99px;background:#fbe9e5;color:#8a2c1b;font-weight:700;font-size:.9rem}.overdue-note{background:#fbe9e5;color:#8a2c1b}.keep-going{font-weight:600;color:#276452}.waiting-list{padding-left:22px;line-height:1.7}.waiting-list li{margin:6px 0}.surah-checklist{margin-top:12px}.surah-tiles{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:6px}.surah-tiles .tile{display:flex;align-items:center;justify-content:center;min-height:36px;border:1px solid #dce0d4;border-radius:10px;font-size:.85rem;color:#6b7c74;background:#fff}.surah-tiles .tile.is-done{background:#276452;border-color:#276452;color:#fff;font-weight:700}.memorised-date{color:#5b6d65}.current-schedule{margin:18px 0 6px}.current-schedule .assignment-form{display:grid;gap:8px;max-width:420px}.current-schedule h3{margin:16px 0 6px;font-size:1.1rem}.waiting-list{list-style-position:inside;padding-left:0}.waiting-list li{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px}.count-line{margin:-6px 0 12px;color:#43574e;font-weight:600}.recitation-panel .notice{margin:0 0 14px;background:#d9e8db;color:#1c4a37;font-weight:600}.queue-card h3{margin:0 0 10px;font-size:1.1rem}.queue-slots{list-style:none;margin:0;padding:0;display:grid;gap:10px}.queue-slot{border:1px solid #dce0d4;border-radius:14px;padding:12px 14px;background:#fffdf7}.queue-slot.is-current{border:2px solid #256653;background:#f3f8ef}.queue-slot.is-empty{border:1.5px dashed #9bb5a9;background:transparent}.slot-label{margin:0 0 4px;font-size:.85rem;font-weight:700;color:#43574e}.slot-title{margin:0 0 2px;font-size:1.1rem}.slot-dates{margin:0 0 4px}.slot-meta{margin:2px 0 8px;color:#43574e;font-size:.95rem;line-height:1.4}.slot-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.slot-row .text-button{margin:0}.queue-slot>.button,.queue-slot .form-actions .button{margin:4px 0}.queue-slot .date-change{margin-top:14px;padding-top:12px;border-top:1px solid #dce0d4}.slot-form .assignment-form{margin-top:8px;max-width:none}.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.form-actions .text-button{margin:0}.replace-holder{margin-top:6px}.queue-card>.text-button{display:inline-block;margin:12px 0 0}.queue-slot .error:empty{display:none}.queue-slot .error{margin:6px 0 0}.memorised-details{margin-top:18px;border-top:1px solid #dce0d4;padding-top:12px}.memorised-details summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}.memorised-rows{list-style:none;margin:6px 0 0;padding:0;max-height:360px;overflow-y:auto}.memorised-rows li{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;border-top:1px solid #eceee5}.memorised-rows .memorised-date{color:#43574e;white-space:nowrap}.text-button.flush-left{padding-left:0;margin-left:0}.range-hint{margin:2px 0 0;color:#43574e;font-weight:600}.range-hint:empty{display:none}.range-field{display:flex;flex-direction:column;gap:6px;min-width:0}.range-field label{font-weight:700}.field-error{color:#a3302b;font-weight:600;margin:0;line-height:1.35}.field-error:empty{display:none}input.is-invalid{border:2px solid #a3302b!important;background:#fff6f5}.assignment-preview.is-invalid{color:#a3302b;background:#fff1ef}.slot-edit{margin-top:12px;border-top:1px solid #dce0d4;padding-top:12px}.slot-edit>.button{margin:0}select.is-invalid{border:2px solid #a3302b!important;background:#fff6f5}.ayat-library{margin-top:28px}.ayat-group{margin-top:16px}.ayat-group h3{margin:0 0 8px;font-size:1.05rem}.ayat-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.ayat-item{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid #d6ddd2;border-radius:14px;background:#fffdf8}.ayat-item small{color:#5d6d64}.ayat-count{display:block;margin-top:2px}.assignment-form,.slot-form{min-width:0;max-width:100%}.assignment-form select{width:100%;max-width:100%;min-width:0;text-overflow:ellipsis}.assignment-form .range-hint{overflow-wrap:anywhere}.kind-toggle{display:inline-flex;border:1.5px solid #78978b;border-radius:14px;overflow:hidden;align-self:flex-start;margin-bottom:4px}.kind-option{font:inherit;font-weight:700;min-height:44px;min-width:96px;padding:8px 18px;border:0;background:#fffdf7;color:#2b5a4b;cursor:pointer}.kind-option+.kind-option{border-left:1.5px solid #78978b}.kind-option.is-selected{background:#2b5a4b;color:#fff}.kind-option:disabled{opacity:.45;cursor:not-allowed}.kind-option:focus-visible{outline:3px solid #c9a227;outline-offset:-3px}.library-card{display:flex;flex-direction:column;gap:8px;min-width:0}.library-card .library-option{flex:1}.library-card .listen-button{align-self:flex-start;min-height:40px;padding:6px 14px;margin:0}.listen-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:-2px}.listen-row small{color:#5d6d64}.ayat-library{border:0;padding:0;margin:28px 0 0}.ayat-library legend{font-size:1.35rem;font-weight:800;padding:0}.ayat-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.library-card{position:relative;display:block}.library-card .library-option{padding-right:104px;height:100%}.library-card .listen-button{position:absolute;right:12px;top:50%;transform:translateY(-50%);min-height:38px;padding:6px 12px;background:#fffdf7}.learn-meaning{margin:6px 0 0;color:#4b5d55;font-size:1rem;line-height:1.55;font-style:italic}.learn-meaning:empty{display:none}.learn-meaning{font-style:normal;font-size:.98rem;color:#3f5149;border-top:1px dashed #b9c7bf;padding-top:8px;margin-top:10px}.learn-lead{margin:4px 0 8px;padding:10px 12px;border-left:3px solid #c9d6ce;background:#fffdf7b3;border-radius:8px;color:#5d6d64}.learn-lead-label{display:block;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#6d7d74}.learn-lead-arabic{font-family:inherit;font-size:1.35rem;line-height:1.9;margin:4px 0;color:#53645b}.learn-lead-text{margin:2px 0;font-size:.9rem;line-height:1.45}.learn-lead-text:empty{display:none}.dua-note{margin-top:4px}.learn-lead-arabic{font-family:Geeza Pro,Noto Naskh Arabic,serif;font-synthesis:none;text-align:right;overflow-wrap:anywhere}
