:root {
  --field-gold:#e5ca93;
  --field-deep:#173f34;
}
.workspace-hero {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;overflow:hidden;border-radius:clamp(1.15rem,4vw,2rem);background:var(--field-deep);color:#fff7e8;border:1px solid #335c49;margin:0 0 1.65rem;box-shadow:0 18px 44px #112c1e19}
.workspace-intro {padding:clamp(1.5rem,5vw,4.2rem);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.workspace-intro h1,.workspace-intro h2 {font:600 clamp(2.5rem,6.6vw,6.25rem)/.97 Georgia,serif;letter-spacing:-.055em;margin:0 0 1.15rem}
.workspace-intro h2 {font-size:clamp(2.4rem,4.6vw,4.2rem)}
.workspace-intro p {max-width:37ch;font-size:clamp(1rem,1.7vw,1.22rem);color:#f4ead6}
.workspace-intro .actions {display:flex;gap:.45rem;flex-wrap:wrap}
.workspace-intro .actions button {background:#fffaf118;color:#fff4db;border-color:#fffaf156}
.workspace-intro .actions button:hover {background:#fffaf12c;color:#fff}
.workspace-intro .actions .workspace-primary,.workspace-primary {background:var(--field-gold);border-color:#d6b77c;color:#1b3529;font-weight:720}
.workspace-primary:hover {background:#ecd6a7;color:#1b3529}
.workspace-hero picture {min-height:100%;display:block}
.workspace-hero img {display:block;width:100%;height:100%;object-fit:cover;min-height:16rem}
.workspace-hero.workspace-home picture {display:block;min-height:100%}
.workspace-home .workspace-intro {background:linear-gradient(125deg,#163d31,#204d3c)}
.workspace-filter,.workspace-plan,.workspace-profile {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:end}
.workspace-filter input,.workspace-filter select {display:block;width:100%;min-width:0}
.workspace-cards {grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr))}
.workspace-card {display:flex;flex-direction:column;align-items:start;gap:.5rem}
.workspace-card p {margin:0}.workspace-card button {margin-top:auto}
.workspace-symbol {width:2.55rem;height:2.55rem;color:var(--green);display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);border-radius:.68rem}
.workspace-symbol svg,.workspace-memory-card svg {width:1.55rem;height:1.55rem}
.workspace-archive {margin-top:1.6rem}
.workspace-archive summary, .workspace-profile summary {cursor:pointer;padding:.4rem 0}
.workspace-lesson {max-width:54rem;margin:0 auto 1.6rem}
.workspace-lesson>h2 {font-size:clamp(2rem,4vw,3.8rem);margin:.7rem 0}
.workspace-lesson>p {font-size:1.09rem;max-width:67ch}
.workspace-activity {background:var(--soft);padding:1rem 1.2rem;border-radius:.9rem;margin:1.1rem 0 1.5rem}
.workspace-activity h3 {margin-top:0}
.workspace-quiz fieldset {border:0;margin:0 0 .75rem;padding:0}
.workspace-quiz legend {font-weight:730;font-size:1.12rem;margin-bottom:.6rem}
.workspace-option {display:flex;align-items:center;gap:.55rem;border:1px solid var(--line);border-radius:.75rem;padding:.65rem .8rem;margin:.5rem 0;cursor:pointer}
.workspace-option:has(input:checked) {background:var(--soft);border-color:var(--green2)}
.workspace-option input {width:1.15rem;min-height:0;accent-color:var(--green2);margin:0}
.workspace-age-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.4rem}
.workspace-plan,.workspace-profile {grid-template-columns:minmax(0,1fr) minmax(0,.66fr);align-items:start;margin-bottom:1rem}
.workspace-plan .workspace-filter {margin-block:1rem;grid-template-columns:1fr 1fr}
.workspace-plan .workspace-filter button {grid-column:span 2;justify-self:start}
.workspace-plan-stat {background:var(--soft);padding:1.25rem;border-radius:.85rem}
.workspace-plan-stat strong {display:block;font:600 2.4rem/1 Georgia,serif;color:var(--green)}
.workspace-plan-stat progress,.workspace-profile progress {width:min(100%,18rem);display:block;margin:.5rem 0;accent-color:var(--green2)}
.workspace-memory {max-width:52rem;margin:0 auto 1.2rem}
.workspace-memory-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:.55rem;margin:1rem 0}
.workspace-memory-card {min-height:4rem;aspect-ratio:1.45;display:grid;place-items:center;background:var(--soft);color:var(--green2);margin:0}
.workspace-memory-card[aria-pressed=true] {transform:rotateY(0deg);background:var(--surface);border-color:var(--green2);animation:workspace-unfold .23s ease-out}
.workspace-memory-card[disabled] {opacity:.72}
.workspace-quran-goal {margin-bottom:1rem;display:grid;grid-template-columns:1fr auto;align-items:end;gap:1rem}
.workspace-quran-goal form {display:flex;flex-wrap:wrap;align-items:end;gap:.4rem}
.workspace-quran-goal input {display:block;width:7rem}
.workspace-quran-goal progress {accent-color:var(--green2);max-width:100%}
.workspace-quran-goal p {margin:.3rem 0}
.workspace-reading-days {display:flex;flex-wrap:wrap;gap:.35rem;font-size:.81rem;padding:0;list-style:none;margin:.4rem 0}
.workspace-reading-days li {padding:.25rem .4rem;background:var(--soft);border-radius:.4rem}
.reader-navigation {display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}
@keyframes workspace-unfold {from {transform:perspective(10rem) rotateY(-26deg);opacity:.66}to {transform:perspective(10rem) rotateY(0);opacity:1}}
@media(max-width:850px) {.workspace-age-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px) {
  .workspace-hero{grid-template-columns:1fr}.workspace-hero picture{min-height:0}.workspace-hero img{height:auto;max-height:17rem;object-position:center 45%}
  .workspace-home{margin-top:0}.workspace-home img{max-height:18rem}
  .workspace-filter,.workspace-plan,.workspace-profile,.workspace-quran-goal{grid-template-columns:1fr}
  .workspace-plan .workspace-filter{grid-template-columns:1fr 1fr}
}
@media(max-width:390px){.workspace-age-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.workspace-memory-card[aria-pressed=true]{animation:none}}

main>section>h2,.section-heading h2{color:var(--green);font-family:Georgia,serif}
main>section>.tile + .tile{margin-top:1rem}
#topics #topicCards,#stories #ageStoryList{margin-block:1rem}
#ageStoryDetail p:not([role]){max-width:65ch}
@media(min-width:851px) and (max-width:1110px){header nav{flex-wrap:wrap;row-gap:.1rem}}

/* Account and responsive navigation */
.account-shell{display:grid;gap:20px;max-width:900px;margin:20px auto}.account-profile{display:flex;align-items:center;gap:16px;padding:12px 0;overflow-wrap:anywhere}.account-avatar{width:60px;height:60px;flex:none;border-radius:20px;background:#123f32;color:#fff;display:grid;place-items:center;font-size:26px;font-weight:700}.account-profile p{margin:4px 0}.account-profile #identity{font-weight:700;font-size:19px}.account-subscription{box-shadow:none}.account-shell form{display:grid;gap:8px;max-width:520px}.account-shell form label{display:grid;gap:6px;margin:0}.account-shell form input{width:100%;min-width:0}.account-shell form button{min-height:44px}.account-shell>button{justify-self:start}.account-shell [role=status]:empty{display:none}.account-shell h3{margin:0 0 8px}header nav{min-width:0}@media(max-width:700px){header nav{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:5px 0;scrollbar-width:thin}header nav button{flex:none;white-space:nowrap;min-height:44px}.account-shell{gap:16px}.account-shell>button{justify-self:stretch}.account-profile #identity{font-size:16px}}

.home-dashboard{margin:24px 0;display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:center}.home-dashboard h3{font-size:clamp(22px,3vw,30px);letter-spacing:-.03em}.home-dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-dashboard-stats>div{border:1px solid #38785d44;border-radius:16px;padding:12px;min-width:0}.home-dashboard-stats strong{font-size:28px}.home-dashboard-stats p{font-size:12px;margin:4px 0;overflow-wrap:anywhere}@media(max-width:700px){.home-dashboard{grid-template-columns:1fr;gap:12px}.home-dashboard-stats>div{padding:10px}}

.family-section-heading{margin:32px 0 16px}.family-section-heading h2{margin:0;letter-spacing:-.03em}.family-section-heading p{margin:6px 0}.family-age-card{border-top:4px solid #38785d}.family-age-card[data-age="4-6"]{border-top-color:#c6a46a}.family-age-card[data-age="7-9"]{border-top-color:#6b9b83}.family-age-card[data-age="10-12"]{border-top-color:#7390ac}.family-age-card[data-age="13-16"]{border-top-color:#927b9c}.family-management{display:grid;gap:20px}.family-management form{display:grid;gap:10px;max-width:480px}.family-management form label{display:grid;gap:6px;margin:0}.family-management input:not([type=checkbox]),.family-management select{width:100%}.family-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.family-profile-grid label{display:flex;align-items:center;gap:8px;min-height:44px}.family-profile-grid input[type=checkbox]{width:20px;height:20px;accent-color:#38785d}.family-profile-grid .tile{min-width:0;overflow-wrap:anywhere}

.quran-heading,.prayer-heading{padding:24px 28px;border-radius:24px;background:linear-gradient(120deg,#123f32,#28634c);color:#fff;margin-bottom:20px}.quran-heading .section-kicker,.prayer-heading .section-kicker{color:#e2c99a}.quran-heading h2,.prayer-heading h2{font-size:clamp(28px,4vw,44px);margin:8px 0;letter-spacing:-.04em}.prayer-summary{margin:20px 0;padding:16px;border:1px solid #38785d55;border-radius:20px}.prayer-summary #prayerCountdown{font-size:clamp(20px,4vw,32px);font-weight:700;font-variant-numeric:tabular-nums;margin:0 0 12px}.prayer-times .prayer-next{outline:2px solid #38785d;border-radius:12px;background:#38785d18}.reader-grid .tile{min-width:0}.reader-navigation{position:sticky;top:0;z-index:2;padding:10px 0;background:inherit}.reader-panel .verseArabic{line-height:2.1;overflow-wrap:break-word}.reader-controls input[type=search]{width:100%}@media(max-width:600px){.quran-heading,.prayer-heading{padding:20px}.reader-navigation button{font-size:13px;padding:10px;min-height:44px}.prayer-summary{padding:12px}}

.home-dashboard-quick{grid-column:1/-1}

/* Premium visual system — responsive, theme-aware */
:root{--canvas:#f8f6f0;--surface:#fffefa;--line:#e1e6dd;--soft:#eaf1e9;--page-shadow:0 12px 40px #183e3010}
:root[data-theme=dark]{--canvas:#131e19;--surface:#1d2b24;--line:#405548;--soft:#263c2e;--page-shadow:none}
body{letter-spacing:-.012em}header{max-width:none;gap:12px;padding:12px max(20px,calc((100vw - 1320px)/2));min-height:72px}header .logo{font-size:19px;letter-spacing:.14em}header nav{gap:2px;justify-content:center;flex-wrap:wrap}header nav button{font-size:13px;padding:8px 10px;color:var(--green);border-radius:12px}header nav button[aria-current=page]{background:var(--soft);color:var(--green)}.theme-button{color:var(--green);font-size:12px}main{max-width:1280px;padding-top:32px}.tile{border-radius:24px;padding:24px;box-shadow:var(--page-shadow)}.tile h3{font-size:21px;letter-spacing:-.035em}.tile p{color:var(--muted)}button{border-radius:14px;font-weight:600}input,select,textarea,input:not([type=checkbox]){background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:12px}.workspace-home{min-height:420px;border-radius:32px;grid-template-columns:1fr 1fr}.workspace-home .workspace-intro{background:#123f32}.workspace-home h1{font-family:system-ui,sans-serif;font-size:clamp(38px,5vw,68px);font-weight:680;line-height:1.04}.workspace-home picture img{object-position:center}.workspace-shortcuts .tile{display:flex;flex-direction:column;align-items:flex-start;min-height:220px}.workspace-shortcuts .tile button{margin-top:auto}.workspace-shortcuts .tiles-icon{width:56px;height:56px;border-radius:18px}.section-heading h2,main>section>h2{font-family:system-ui,sans-serif;font-weight:680;letter-spacing:-.045em}.quran-heading h2,.prayer-heading h2{color:#fff}.quran-heading p,.prayer-heading p{color:#e1eee5}.quran-heading,.prayer-heading{padding:32px;border-radius:28px;background:#123f32}.account-shell{max-width:1000px}.family-age-card{border-radius:24px}.kids-banner{border-radius:28px;padding:24px}.kids-banner img{border-radius:20px}.reader-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.reader-grid .tile{padding:20px}.prayer-times div{border-radius:16px;padding:14px 6px}.prayer-times dd{font-size:clamp(17px,2vw,26px)}footer{color:var(--muted)}
@media(max-width:850px){header{display:flex;max-width:none;padding:12px 16px;min-height:60px}header nav{position:fixed;inset:auto 0 0;justify-content:flex-start;flex-wrap:nowrap;max-width:none;overflow-x:auto;margin:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--chrome);border-top:1px solid var(--line);scrollbar-width:none}header nav button{flex:none;min-height:44px;color:var(--green)}main{padding:18px 16px 110px}.tile{padding:18px;border-radius:20px}.workspace-home{min-height:0;border-radius:24px}.workspace-home .workspace-intro{padding:28px}.workspace-home h1{font-size:42px}.quran-heading,.prayer-heading{padding:24px}.workspace-shortcuts .tile{min-height:170px}}
@media(max-width:620px){.workspace-home{grid-template-columns:1fr}.workspace-home img{max-height:230px}.workspace-home .workspace-intro{padding:28px 24px}.workspace-home h1{font-size:38px}.workspace-shortcuts{grid-template-columns:1fr}.workspace-shortcuts .tile{min-height:0}.workspace-shortcuts .tile button{margin-top:8px}.prayer-times{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Icon-led navigation and editorial hero */
header nav button{display:inline-flex;align-items:center;gap:6px}header nav svg{width:18px;height:18px;flex:none}.workspace-home .brand-eyebrow{font-size:11px;letter-spacing:.18em;color:#e5ca93;font-weight:700;margin:0 0 20px}.workspace-home .workspace-intro{background:radial-gradient(ellipse at 0 100%,#28634c,#123f32 70%)}.workspace-home h1{max-width:12ch}.workspace-home .actions{margin-top:14px}.workspace-home .actions button{padding:12px 18px}.workspace-shortcuts .tile{border:1px solid var(--line)}@media(min-width:851px){header nav button{flex-direction:column;gap:3px;font-size:11px;padding:6px 8px}header nav svg{width:20px;height:20px}}@media(max-width:850px){header nav button{flex-direction:column;gap:4px;min-width:64px;font-size:11px;padding:6px 9px}header nav svg{width:23px;height:23px}}

/* Compact navigation and feature directory */
.nav-more{position:relative;flex:none}.nav-more summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;list-style:none;padding:6px 12px;min-height:44px;color:var(--green);font-size:11px;font-weight:600;border-radius:12px}.nav-more summary::-webkit-details-marker{display:none}.nav-more summary:hover,.nav-more[open] summary,.nav-more:has([aria-current=page]) summary{background:var(--soft)}.nav-more-panel{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 40px #0002;z-index:10}.nav-more-panel button{display:flex;flex-direction:row;width:100%;justify-content:flex-start;font-size:14px;text-align:left;gap:10px;padding:10px}.home-section-title{margin:36px 0 18px}.home-section-title h2{margin:4px 0;font-size:clamp(26px,4vw,36px)}.home-section-title p{margin:0}.home-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-feature{position:relative;overflow:hidden}.home-feature-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;color:var(--green);background:var(--soft);margin-bottom:14px}.home-feature-icon svg{width:28px;height:28px}.home-feature button span{display:inline;background:none;width:auto;height:auto;font-size:inherit;color:inherit}.home-feature h3{margin:0}.home-feature p{margin:8px 0 18px}.feature-quran,.feature-prayer{border-top:3px solid #38785d}.feature-family,.feature-learn{border-top:3px solid #c6a46a}.feature-games,.feature-stories{border-top:3px solid #7998a8}.home-family-banner{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:var(--surface);margin-top:24px}.home-family-banner>div{padding:clamp(24px,4vw,48px);align-self:center}.home-family-banner img{width:100%;height:100%;min-height:240px;object-fit:cover}.home-family-banner h2{font-size:clamp(28px,4vw,44px);margin:8px 0}.home-family-banner button{background:var(--soft);color:var(--green)}
@media(max-width:850px){header nav{overflow:visible;justify-content:space-between;gap:0;box-sizing:border-box}header nav>button,header nav>.nav-more{flex:1 1 0;min-width:0;margin:0}header nav>button{padding:5px 1px;font-size:10px}header nav>button span{white-space:nowrap}header nav>.nav-more summary{padding:5px 1px;min-height:44px;font-size:10px}.nav-more-panel{top:auto;bottom:calc(100% + 10px);right:0}.home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.home-family-banner{grid-template-columns:1fr}.home-family-banner img{min-height:0;max-height:240px}.home-feature-grid .tile{min-height:200px;padding:16px}.home-feature-grid h3{font-size:18px}.home-feature-grid p{font-size:14px}.home-feature-grid button{margin-top:auto}.home-feature-icon{width:44px;height:44px;border-radius:14px}}
@media(max-width:350px){.home-feature-grid{grid-template-columns:1fr}header nav>button,header nav>.nav-more summary{font-size:9px}}

/* Academy, children's space and account design */
#learn .workspace-hero{background:#123f32}#learn .workspace-intro h2,.workspace-family .workspace-intro h2{font-family:system-ui,sans-serif;font-weight:680;line-height:1.04}.workspace-family .workspace-intro{background:#204b3a}.workspace-age-grid>.tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:180px}.workspace-age-grid>.tile button{margin-top:auto}.workspace-age-grid>.tile:nth-child(1){background:color-mix(in srgb,var(--surface) 88%,#eac77b)}.workspace-age-grid>.tile:nth-child(2){background:color-mix(in srgb,var(--surface) 88%,#82bc9b)}.workspace-age-grid>.tile:nth-child(3){background:color-mix(in srgb,var(--surface) 88%,#8ab2d1)}.workspace-age-grid>.tile:nth-child(4){background:color-mix(in srgb,var(--surface) 88%,#b5a0ca)}.workspace-card{min-height:200px}.workspace-card .workspace-symbol{width:48px;height:48px;border-radius:16px}.workspace-filter{background:var(--surface);gap:18px}.workspace-filter label{font-size:14px;font-weight:600}.kids-section-hero,.story-section-hero{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;overflow:hidden;border-radius:28px;margin-bottom:24px;min-height:210px}.kids-section-hero{background:#204b3a;color:#fff}.kids-section-hero>div,.story-section-hero>div{padding:clamp(24px,4vw,48px)}.kids-section-hero .section-kicker{color:#e5ca93}.kids-section-hero h2,.story-section-hero h2{font-size:clamp(30px,5vw,48px);margin:8px 0}.kids-section-hero svg{width:100%;max-height:200px}.story-section-hero{background:var(--surface);border:1px solid var(--line)}.story-section-hero img{width:100%;height:100%;object-fit:cover;min-height:220px}.game-card,.workspace-memory{max-width:760px;margin:20px auto}.workspace-memory-card{border-radius:18px;min-height:65px}.game-options button{min-height:52px;padding:14px 18px}.plan-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.plan-preview{background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:20px}.plan-preview h4{font-size:22px;margin:6px 0 14px}.plan-preview p{margin:0}.plan-preview strong{font-size:26px;color:var(--green)}.plan-preview small{display:block;margin-top:8px}.account-shell #auth{max-width:100%;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:22px}.account-shell #auth button[value=register]{background:var(--green);color:var(--canvas)}.account-shell #auth input{min-height:52px}.account-shell #auth label{font-size:14px;font-weight:600}
@media(max-width:620px){.kids-section-hero,.story-section-hero{grid-template-columns:1fr;border-radius:22px}.kids-section-hero svg{max-height:150px}.story-section-hero img{max-height:200px;min-height:0}.plan-comparison{grid-template-columns:1fr}.account-shell #auth{padding:16px}.workspace-age-grid>.tile{min-height:150px}}

/* Prayer and reading surfaces */
.prayer-heading,.quran-heading{position:relative;overflow:hidden;isolation:isolate;min-height:160px;display:flex;flex-direction:column;justify-content:center}.section-ornament{position:absolute;width:clamp(100px,20vw,220px);height:auto;right:24px;top:50%;transform:translateY(-50%);opacity:.2;z-index:-1;pointer-events:none}.prayer-today{background:var(--surface);padding:clamp(20px,4vw,36px)}.prayer-today .prayer-summary{border:none;margin:0;padding:0}.prayer-today .prayer-times{margin-bottom:0}.prayer-times>div{border:1px solid var(--line);display:flex;flex-direction:column;justify-content:center;min-height:96px}.prayer-times .prayer-next{background:var(--soft);outline:2px solid var(--green2)}.prayer-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prayer-fields label{font-size:14px;font-weight:600}.prayer-fields select{display:block;width:100%}.prayer-settings details{border:1px solid var(--line);border-radius:16px;padding:12px 16px}.prayer-settings summary{cursor:pointer}.prayer-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.prayer-tools h3,.prayer-tools p{width:100%;margin:4px 0}.reader-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.surah-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.surah-row h3{margin:0;min-width:0;font-size:17px;overflow-wrap:anywhere}.surah-row .surah-arabic{background:none;width:auto;height:auto;display:block;font-family:"Geeza Pro","Noto Naskh Arabic",Tahoma,serif;color:var(--green);font-size:24px;max-width:100%;overflow-wrap:anywhere}.surah-row small{grid-column:1/-1}.surah-row button{grid-column:1/-1;text-align:left;margin:0;min-width:0;white-space:normal}.surah-row button[aria-pressed=true]{background:var(--green);color:var(--canvas)}.reader-panel{padding:clamp(20px,4vw,48px);max-width:900px}.reader-panel .verse-row{padding:28px 0}.reader-panel .verseArabic{font-size:var(--reading-size,34px);line-height:2.2;letter-spacing:normal}.reader-navigation{background:var(--surface);top:76px}.verse-number{display:inline-flex!important;width:auto!important;height:auto!important;padding:4px 12px;font-size:13px!important;border-radius:20px!important;background:var(--soft)!important;color:var(--green)!important}.reader-controls{padding:18px;border-radius:20px}.reader-panel .reader-controls{background:var(--soft);padding:16px;margin-bottom:16px}
@media(max-width:850px){.reader-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reader-navigation{top:64px}.prayer-fields{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.reader-grid{grid-template-columns:1fr}.prayer-fields{grid-template-columns:1fr}.prayer-times>div{min-height:78px}.reader-panel .verse-row{padding:18px 0}.reader-navigation{top:62px}.section-ornament{right:12px}.surah-row{padding:16px!important}.reader-panel{padding:16px}.prayer-tools button{max-width:100%}}
@media(prefers-reduced-motion:no-preference){.home-feature,.workspace-card,.surah-row{transition:box-shadow .2s ease,border-color .2s ease}.home-feature:hover,.workspace-card:hover,.surah-row:hover{border-color:var(--green2);box-shadow:0 12px 28px #123f3214}}

/* Guest introduction and FAQ, separate from personal dashboard */
.home-value,.home-faq{margin:56px 0}.home-value h2,.home-faq h2,.home-final-cta h2{font-size:clamp(28px,4vw,44px);margin:8px 0 24px}.home-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-value-grid article{border:1px solid var(--line);border-radius:24px;padding:24px;background:var(--surface)}.home-value-grid strong{font-size:32px;color:var(--green2);font-weight:500;letter-spacing:-.06em}.home-value-grid h3{margin:16px 0 8px;font-size:21px}.home-value-grid p{color:var(--muted);margin:0}.home-faq details{border-bottom:1px solid var(--line);padding:16px 0}.home-faq summary{font-weight:650;font-size:17px;cursor:pointer;min-height:44px;display:list-item;padding:8px 0}.home-faq details p{color:var(--muted);max-width:75ch;margin:12px 0}.home-final-cta{background:#123f32;color:#fff;border-radius:28px;padding:clamp(24px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:24px}.home-final-cta .section-kicker{color:#e5ca93}.home-final-cta h2{margin-bottom:12px}.home-final-cta button{flex:none;padding:14px 22px}.home-dashboard{margin-top:0}.home-prayer-times{display:grid;grid-template-columns:1fr 1fr;gap:6px}.home-prayer-times>div{background:var(--soft);border-radius:12px;padding:8px}.home-prayer-times dd{margin:0;font-size:18px;font-weight:650}.home-prayer-times dt{font-size:12px}.home-prayer-next{outline:2px solid var(--green2)}
@media(max-width:700px){.home-value-grid{grid-template-columns:1fr}.home-value,.home-faq{margin:32px 0}.home-final-cta{flex-direction:column;align-items:stretch}.home-final-cta button{align-self:flex-start}}

/* Architecture artwork and clear focus in the compact navigation. */
.workspace-home{grid-template-columns:1.04fr 1fr}.workspace-home picture{background:#e6d3ac}.workspace-home picture img{height:100%;object-fit:cover;object-position:50% 50%}.workspace-home .workspace-intro{background:radial-gradient(ellipse at 0 100%,#285d49,#123f32 75%)}.nav-more summary:focus-visible{outline:3px solid var(--green2);outline-offset:3px}.nav-more-panel{max-width:calc(100vw - 24px)}
@media(max-width:620px){.workspace-home{grid-template-columns:1fr}.workspace-home picture img{max-height:250px;object-position:center 55%}}

/* Hudi companion and age-specific visual identity */
.kids-guide{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr);align-items:center;gap:24px;padding:24px 32px;border:1px solid var(--line);border-radius:28px;background:var(--soft);margin:24px 0 36px}.kids-guide img{display:block;width:100%;height:auto;max-height:210px;object-fit:contain}.kids-guide h3{font-size:clamp(23px,3vw,34px);margin:6px 0 12px}.kids-guide p{max-width:60ch}.kids-guide button{background:var(--green);color:var(--canvas)}.family-age-card .workspace-symbol{width:60px;height:60px;border-radius:20px;margin-bottom:8px}.family-age-card .workspace-symbol svg{width:32px;height:32px}.family-age-card[data-age="4-6"] .workspace-symbol{background:#f4dfb6;color:#805420}.family-age-card[data-age="7-9"] .workspace-symbol{background:#d6e8d9;color:#285d49}.family-age-card[data-age="10-12"] .workspace-symbol{background:#dce7f1;color:#345a78}.family-age-card[data-age="13-16"] .workspace-symbol{background:#e8dfef;color:#70518b}.workspace-memory-card[aria-pressed=false]{background:var(--soft);border:1px solid var(--line)}.workspace-memory-card[aria-pressed=true]:disabled{outline:2px solid var(--green2);opacity:1}.workspace-memory-card[aria-pressed=true] svg{width:clamp(26px,5vw,44px);height:auto}.workspace-memory-card[aria-pressed=false] span{font-size:28px}
@media(max-width:620px){.kids-guide{grid-template-columns:1fr;padding:20px;gap:8px}.kids-guide img{max-height:160px}.kids-guide h3{font-size:25px}.workspace-memory-card{min-height:54px}.workspace-memory-grid{gap:6px}}

/* Course covers, reading cards and Arabic letter focus */
#workspaceList .workspace-card{padding:14px;gap:12px}.lesson-cover{position:relative;width:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:12px;min-height:112px;padding:16px;border-radius:16px;background:var(--soft);color:var(--green);overflow:hidden}.lesson-cover:after{content:"";position:absolute;width:135px;height:135px;right:-30px;top:-25px;border:1px solid currentColor;border-radius:35%;transform:rotate(45deg);opacity:.12;pointer-events:none}.lesson-cover .workspace-symbol{background:transparent;border-color:currentColor;color:inherit;width:42px;height:42px}.lesson-cover-label{width:auto!important;height:auto!important;background:none!important;font-size:12px!important;font-weight:650;color:inherit!important}.lesson-done{position:absolute;right:10px;bottom:10px;padding:4px 8px;background:var(--surface)!important;color:var(--green)!important;width:auto!important;height:auto!important;font-size:11px!important}.workspace-card[data-track=reading] .lesson-cover{background:#e2ece3;color:#285d49}.workspace-card[data-track=numbers] .lesson-cover{background:#f4e4c4;color:#795526}.workspace-card[data-track=memory] .lesson-cover{background:#e8dfef;color:#70518b}#workspaceList .workspace-card>p,#workspaceList .workspace-card>h3{margin:0 6px}#workspaceList .workspace-card>button{margin: auto 6px 6px}.story-cover{display:grid;place-items:center;width:100%;height:100px;border-radius:16px;background:var(--soft);color:var(--green)}.story-cover svg{width:52px;height:52px}.age-story-card[data-age="4-6"] .story-cover{background:#f4dfb6;color:#805420}.age-story-card[data-age="7-9"] .story-cover{background:#d6e8d9;color:#285d49}.age-story-card[data-age="10-12"] .story-cover{background:#dce7f1;color:#345a78}.age-story-card[data-age="13-16"] .story-cover{background:#e8dfef;color:#70518b}.age-story-card h4{font-size:19px;margin:6px 0}.alphabet-lesson{max-width:760px;margin:24px auto!important}.alphabet-focus{background:var(--soft);border:1px solid var(--line);border-radius:24px;min-height:160px;display:grid;place-items:center;padding:16px;margin:16px 0}.alphabet-focus #alphabetLarge{display:block;background:none;width:auto;height:auto;font-family:"Geeza Pro","Noto Naskh Arabic",Tahoma,serif;font-size:80px;color:var(--green);line-height:1.35}.alphabet-focus p{margin:6px 0;font-weight:600}#alphabet{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:16px}#alphabet button{font-family:"Geeza Pro","Noto Naskh Arabic",Tahoma,serif;font-size:27px;min-height:52px;margin:0;padding:4px}#alphabet button[aria-pressed=true]{background:var(--green);color:var(--canvas);outline:2px solid var(--green2);outline-offset:2px}@media(max-width:480px){#alphabet{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Consistent account, notification and family topic surfaces. */
.section-feature{position:relative;overflow:hidden;padding:clamp(24px,4vw,48px);border-radius:28px;background:#123f32;color:#fff;isolation:isolate}.section-feature:after{content:"";position:absolute;z-index:-1;right:5%;top:-90px;width:280px;height:280px;border:1px solid #e5ca9366;transform:rotate(45deg);border-radius:35%;box-shadow:0 0 0 24px #e5ca9310,0 0 0 48px #e5ca9309;pointer-events:none}.section-feature h2{color:#fff}.section-feature p{color:#e2eee5}.section-feature .section-kicker{color:#e5ca93}.family-topic-summary{grid-column:1/-1;background:var(--soft)}.family-topic-summary progress{height:10px;max-width:560px}.family-topic-card{min-height:220px}.family-topic-card .workspace-symbol{width:50px;height:50px;border-radius:16px}.family-step-list{padding:0;list-style:none;counter-reset:step;display:grid;gap:12px}.family-step-list li{counter-increment:step}.family-step-list label{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;margin:0;cursor:pointer}.family-step-list label:has(input:checked){background:var(--soft);border-color:var(--green2)}.family-step-list label:before{content:counter(step,decimal-leading-zero);color:var(--green);font-weight:650;font-size:13px}.family-step-list input{flex:none;width:20px;height:20px;margin:2px 0;accent-color:var(--green2)}#inbox{max-width:900px;margin:auto}#inbox .tile{margin:16px 0}#inbox [role=status]:empty{display:none}.inbox-feed #inboxItems>article,.inbox-feed #inboxItems>div{border:1px solid var(--line);border-radius:16px;padding:14px;margin:10px 0}.account-auth-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.account-auth-actions button{margin:0;min-height:48px}.account-settings-panel{border:1px solid var(--line);padding:20px;border-radius:20px}.account-shell #changePassword{max-width:100%}.account-profile:has(#identity:empty){display:none}.account-profile .account-avatar{border:1px solid #e5ca9355}.account-subscription>p:last-child{font-size:14px}.account-shell input[type=checkbox],#inbox input[type=checkbox]{accent-color:var(--green2)}@media(max-width:620px){.section-feature{border-radius:22px;padding:24px}.family-step-list label{padding:12px;gap:9px}.account-settings-panel{padding:16px}.family-topic-card{min-height:0}}

/* Text spans are text, not generic icon containers. */
.workspace-option{align-items:flex-start;line-height:1.55;min-height:44px}.workspace-option input{flex:0 0 1.15rem;margin-top:.2rem}.workspace-option span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:inherit;color:inherit;line-height:inherit}.workspace-memory-card[aria-pressed=false] span{display:grid;place-items:center;line-height:1;width:auto;height:auto;color:var(--green2)}#readerMediaNote{display:inline;font-size:inherit;color:inherit;line-height:inherit}.lesson-cover-label{max-width:100%;overflow-wrap:anywhere}.lesson-cover:has(.lesson-done){padding-bottom:44px}.lesson-done{white-space:nowrap}main:focus:not(:focus-visible){outline:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Original raster illustrations, scaled independently of text. */
.kids-guide picture{display:block;min-width:0}.kids-guide picture img{max-height:230px}.quran-heading{position:relative;overflow:hidden;isolation:isolate;min-height:180px;padding-right:42%}.quran-heading .quran-cover-art{position:absolute;right:0;top:0;width:40%;height:100%;object-fit:cover;z-index:-1;mask-image:linear-gradient(to right,transparent,#000 22%)}.quran-heading .section-ornament{display:none}.kids-section-hero .game-hudi{width:min(35%,190px);height:auto;object-fit:contain;filter:drop-shadow(0 10px 12px #0f2d2840)}.kids-section-hero .game-ornament{display:none}.hudi-pose{display:block;flex:none}.hudi-pose img{display:block;width:100%;height:auto;object-fit:contain}.workspace-activity .hudi-pose{float:right;width:112px;margin:0 0 8px 16px}.workspace-activity:after{content:"";display:block;clear:both}.story-cover{height:144px;overflow:hidden}.story-cover .hudi-pose{height:100%;width:144px}.story-cover img{height:100%}.home-family-banner img{object-fit:cover}.workspace-family picture img{object-fit:cover}
@media(max-width:620px){.quran-heading{padding-right:28%;min-height:160px}.quran-heading .quran-cover-art{width:30%;opacity:.65}.kids-section-hero .game-hudi{width:100px}.workspace-activity .hudi-pose{width:88px}.story-cover{height:112px}.story-cover .hudi-pose{width:112px}.kids-guide picture img{max-height:170px}}

/* Keep raster companions in the intended grid area on desktop and phones. */
.kids-section-hero .game-hudi{width:min(100%,220px);justify-self:center;align-self:center;margin:10px 0;max-height:210px}.game-intro{display:grid;grid-template-columns:minmax(0,1fr) clamp(85px,20%,150px);align-items:center;gap:12px}.game-intro picture,.game-intro img{display:block;width:100%;height:auto}.game-intro .section-kicker{margin:0}.game-intro h2{margin:6px 0 10px}.workspace-memory .game-intro{margin-bottom:20px}.hudi-pose img{animation:hudi-appear .24s ease-out}@keyframes hudi-appear{from{opacity:.6;transform:translateY(4px) scale(.97)}to{opacity:1;transform:none}}@media(max-width:620px){.kids-section-hero{grid-template-columns:minmax(0,1fr) minmax(85px,32%);min-height:180px}.kids-section-hero>div{padding:24px 0 24px 20px}.kids-section-hero .game-hudi{width:100%;max-height:155px;margin:0}.kids-section-hero h2{font-size:clamp(25px,6.5vw,36px)}.game-intro{gap:6px}.game-intro h2{font-size:25px}.quran-heading .quran-cover-art{mask-image:linear-gradient(to right,transparent,#000 38%)}}@media(prefers-reduced-motion:reduce){.hudi-pose img{animation:none}}

/* AHLUNUR identity and beginner routes. */
.logo,.landing-brand{letter-spacing:.08em}.home-start{margin:40px 0}.home-start h2{margin:4px 0 12px}.home-start-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.home-start-grid .tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.home-start-grid .tile p{flex:1;margin:0 0 8px}.start-number{display:inline-flex;align-items:center;justify-content:center;background:var(--soft);color:var(--green);font-size:16px;font-weight:750;width:44px;height:44px;border-radius:14px}.home-start-grid .tile h3{margin:6px 0}.home-start-grid button{max-width:100%;text-align:left}.home-dashboard-quick{align-items:stretch}.home-widget{display:flex;flex-direction:column;align-items:flex-start}.home-widget>button:last-child{margin-top:auto}@media(max-width:760px){.home-start-grid{grid-template-columns:1fr}.home-start{margin:24px 0}.logo{letter-spacing:.05em}}

.garden-progress{margin:12px 0 20px}.garden-progress p{font-size:14px;color:var(--muted);margin:0 0 8px}#gardenObjects{display:flex;flex-wrap:wrap;gap:12px;font-size:32px;margin:12px 0}#gardenObjects:empty{display:none}#gardenAnswers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#gardenAnswers button{min-height:56px;font-size:22px;text-align:center}#gardenFeedback{min-height:2em}#gardenQuestion{scroll-margin:100px}

/* Free introductory school; verified ritual instruction is not implied. */
.prayer-school{margin:24px 0;padding:clamp(18px,3vw,30px)}.school-intro{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;align-items:center;margin-bottom:20px}.school-intro img{width:100%;height:auto;max-height:190px;object-fit:contain;border-radius:20px}.school-intro h2{margin:6px 0 12px}.school-module{border:1px solid var(--line);border-radius:18px;padding:18px;background:var(--canvas);display:flex;flex-direction:column;align-items:flex-start}.school-module h3{margin:4px 0 8px}.school-module button{margin-top:auto}.school-lesson{background:var(--soft);border-radius:20px;padding:clamp(18px,3vw,28px)}.school-lesson h3{margin:18px 0 12px}.school-lesson #schoolTask{background:var(--surface);padding:16px;border-radius:14px}.school-lesson #schoolSource{display:inline-block;margin:8px 0 16px}.school-lesson .actions{margin-top:12px}@media(max-width:620px){.school-intro{grid-template-columns:1fr;gap:12px}.school-intro img{max-height:150px}.school-module{padding:16px}}

.quran-reference{display:grid;grid-template-columns:1fr minmax(180px,1fr);align-items:end;gap:12px}.quran-reference h3{margin:0 0 6px}.quran-reference p{margin:0}.quran-reference-input,.reader-verse-jump{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.quran-reference-input label,.reader-verse-jump label{flex:1;min-width:100px;margin:0}.reader-verse-jump{max-width:380px;margin:14px 0}.quran-reference [role=status]{grid-column:1/-1}.quran-reference [role=status]:empty{display:none}.verse-row:focus{outline:2px solid var(--green2);outline-offset:3px;scroll-margin-top:100px}@media(max-width:620px){.quran-reference{grid-template-columns:1fr}.quran-reference-input button{min-height:44px}}
