html{background:#e1f1e8}body{background:radial-gradient(ellipse at 0% 14%,#98d6b58c 0,transparent 47%),radial-gradient(ellipse at 100% 38%,#c3e6d97d 0,transparent 48%),radial-gradient(ellipse at 12% 84%,#f1d5ba66 0,transparent 48%),linear-gradient(145deg,#edf8f0,#dae9e1);background-attachment:fixed;color:#173c2a}html[data-theme=dark] body{background:radial-gradient(ellipse at 0% 15%,#216b5270 0,transparent 47%),radial-gradient(ellipse at 100% 40%,#2e596370 0,transparent 48%),radial-gradient(ellipse at 25% 85%,#53593b44 0,transparent 48%),linear-gradient(145deg,#102c25,#102124);color:#e8f8ef}.site-head{background:#ffffff45!important;backdrop-filter:blur(28px) saturate(140%);border-bottom:1px solid #ffffff9c!important}.header-control{background:#ffffff59!important;border:1px solid #ffffffd1!important;box-shadow:inset 0 1px 0 #fff,0 5px 15px #294b3210;border-radius:16px;color:#28583c}.global-progress{background:#eefcf270!important;backdrop-filter:blur(25px);border-bottom:1px solid #ffffffb5!important}.home-hero,.page-top,.home-progress,.node,.category-card,.progress,.word-card,.insight-category,.readiness-panel,.recommendation,.group-picker,.course-summary,.review-box,.quiz-layout,.letter-box{background:linear-gradient(135deg,#fffffff0,#ffffff68)!important;border:1px solid #ffffffeb!important;box-shadow:0 12px 30px #1d503317,inset 0 1px 0 #fff!important;backdrop-filter:blur(24px) saturate(150%);border-radius:28px!important}.home-hero,.page-top{padding:27px 24px!important}.page-top h1,.home-hero h1{font-size:38px;line-height:1.2;letter-spacing:-1px}.page-top p,.home-hero p{font-size:13px;line-height:1.8}.hero-image,.words-top img{border-radius:21px!important;border:1px solid #ffffffd9;box-shadow:0 8px 25px #214c3213}.home-progress{padding:17px}.home-progress .progress{box-shadow:none!important;background:transparent!important;border:0!important;padding:0}.word-card{overflow:hidden}.word-image-button{background:transparent!important;padding:10px 10px 0}.word-image-button img{border-radius:20px}.word-body{padding-top:17px}.audio-play,.chip,.button.outline,.option-listen,.close-lesson{background:linear-gradient(145deg,#ffffffe8,#e8fff268)!important;border:1px solid #ffffffee!important;box-shadow:0 4px 12px #315b3412,inset 0 1px 0 #fff;border-radius:18px!important;color:#28583c!important}.button{border-radius:18px!important}.picture-answer{background:linear-gradient(145deg,#ffffffde,#ffffff63)!important;border:1px solid #fff!important;box-shadow:0 8px 20px #1f49320c,inset 0 1px 0 #fff;border-radius:20px!important}.picture-question img{border:7px solid #ffffff80!important;box-shadow:0 15px 30px #1d4d3620;border-radius:28px}.quiz-layout{padding:25px 17px!important}.picture-layout .lesson-title{font-size:26px!important}.global-progress-bar{background:#2a805b20}.bar{background:#2a805b14}.form-preview,.forms-preview .ar{background:#ffffff4a;border:1px solid #fff;border-radius:12px}.site-foot{background:#ffffff24;border-top:1px solid #ffffff70!important}
html[data-theme=dark] .site-head{background:#102c244a!important;border-color:#ecfff330!important}html[data-theme=dark] .global-progress{background:#173a3160!important;border-color:#d6ffea26!important}html[data-theme=dark] .header-control{background:#e5fff30b!important;border-color:#d9ffed30!important;box-shadow:inset 0 1px 0 #e5fff31f,0 5px 15px #0001;color:#c5e8d6}html[data-theme=dark] .home-hero,html[data-theme=dark] .page-top,html[data-theme=dark] .home-progress,html[data-theme=dark] .node,html[data-theme=dark] .category-card,html[data-theme=dark] .progress,html[data-theme=dark] .word-card,html[data-theme=dark] .insight-category,html[data-theme=dark] .readiness-panel,html[data-theme=dark] .recommendation,html[data-theme=dark] .group-picker,html[data-theme=dark] .course-summary,html[data-theme=dark] .review-box,html[data-theme=dark] .quiz-layout,html[data-theme=dark] .letter-box{background:linear-gradient(135deg,#d9ffed17,#b0eddf05)!important;border-color:#e7fff332!important;box-shadow:0 15px 35px #0002,inset 0 1px 0 #effff322!important}html[data-theme=dark] .home-progress .progress{background:transparent!important;border:0!important;box-shadow:none!important}html[data-theme=dark] .audio-play,html[data-theme=dark] .chip,html[data-theme=dark] .button.outline,html[data-theme=dark] .option-listen,html[data-theme=dark] .close-lesson,html[data-theme=dark] .picture-answer{background:linear-gradient(145deg,#e5fff31b,#ecfff305)!important;border-color:#e6fff347!important;box-shadow:inset 0 1px 0 #ffffff1f,0 7px 15px #0001;color:#dbf8e7!important}html[data-theme=dark] .picture-question img{border-color:#e6fff31f!important}html[data-theme=dark] .hero-image,html[data-theme=dark] .words-top img{border-color:#d9ffed30}html[data-theme=dark] .form-preview,html[data-theme=dark] .forms-preview .ar{background:#d9ffed0c;border-color:#d9ffed2c}html[data-theme=dark] .site-foot{background:#0000000c;border-color:#ffffff15!important}
.sentence-card,.phrase-card,.metric,.review-word,.score-orb,.corner-empty,.corner-card,.reveal-stage,.order-area,.usage,.logic-notes,.encouragement,.trace-guide,.trace-actions,.forms-preview,.preview-intro,.shape-box{background:linear-gradient(135deg,#ffffffd9,#ffffff70);border:1px solid #ffffffdb;box-shadow:0 12px 30px #1d503312,inset 0 1px 0 #fff;backdrop-filter:blur(24px);border-radius:24px}dialog{background:#f7fff8f5;border:1px solid #fff;box-shadow:0 30px 80px #0b35282b;backdrop-filter:blur(25px);border-radius:26px}.chip.selected,.alphabet-tabs button[aria-selected=true]{background:#21734ee6!important;color:#fff!important;border-color:#a1d2b3!important}.picture-answer.correct{background:#c9efd8ed!important;border:2px solid #39824f!important}.picture-answer.wrong{background:#fff1d9ed!important;border:2px solid #ae822f!important}.picture-answer:focus-visible,.button:focus-visible{outline:3px solid #277a52;outline-offset:3px}.quiz-layout,.lesson-layout{margin-top:10px}.lesson-layout{padding:25px;border:1px solid #ffffffc4;border-radius:28px;background:#ffffff5c;backdrop-filter:blur(25px)}html[data-theme=dark] .sentence-card,html[data-theme=dark] .phrase-card,html[data-theme=dark] .metric,html[data-theme=dark] .review-word,html[data-theme=dark] .score-orb,html[data-theme=dark] .corner-empty,html[data-theme=dark] .corner-card,html[data-theme=dark] .reveal-stage,html[data-theme=dark] .order-area,html[data-theme=dark] .usage,html[data-theme=dark] .logic-notes,html[data-theme=dark] .encouragement,html[data-theme=dark] .trace-guide,html[data-theme=dark] .trace-actions,html[data-theme=dark] .forms-preview,html[data-theme=dark] .preview-intro,html[data-theme=dark] .shape-box,html[data-theme=dark] .lesson-layout{background:linear-gradient(135deg,#d9ffed14,#b0eddf04);border-color:#e7fff32c;box-shadow:0 15px 35px #0002,inset 0 1px 0 #effff31f}html[data-theme=dark] dialog{background:#16372bf5;border-color:#c5f4d945;color:#e8f8ef}html[data-theme=dark] .chip.selected{background:#3f9163d9!important;border-color:#92d4a9!important;color:#fff!important}html[data-theme=dark] .picture-answer.correct{background:#22583fed!important;border-color:#8ed1a3!important}html[data-theme=dark] .picture-answer.wrong{background:#5a4925ed!important;border-color:#d7b66b!important}@media(max-width:700px){.lesson-layout{padding:18px 12px}.page-top h1,.home-hero h1{font-size:38px}.quiz-layout{width:auto;max-width:100%}.picture-question{max-width:280px}}
#nav{max-width:810px}#nav a{flex:1;min-width:0;text-align:center}#nav .nav-label{display:flex;align-items:center;justify-content:center;min-height:2.6em;line-height:1.3;width:100%;font-size:10px}#nav a[href="#corner"] b{font-family:Arabic,serif}@media(max-width:700px){#nav{max-width:none;margin-inline:10px;padding:9px 3px;gap:0}#nav a{padding:6px 2px;flex:1 1 0;min-width:0}#nav .nav-label{font-size:8.5px;min-height:3.9em;line-height:1.3}#nav b{font-size:20px}}

#nav{overflow:hidden}
/* Floating reminders and short-lived feedback share the site's glass finish. */
#learnerNotice,#toast{background:linear-gradient(135deg,#f9fffbe6,#dcf4e8bf);border:1px solid #ffffffed;border-radius:25px;box-shadow:0 18px 60px #153c2a30,inset 0 1px 0 #fff,inset 0 -1px 0 #b9dbc570;backdrop-filter:blur(28px) saturate(160%);-webkit-backdrop-filter:blur(28px) saturate(160%);color:#173f2a}
#learnerNotice h2{color:#173f2a}#learnerNotice p{color:#365c46}.notice-close{display:grid;place-items:center;padding:0;background:linear-gradient(145deg,#ffffffc9,#e6f9ed80);border:1px solid #ffffffed;box-shadow:inset 0 1px 0 #fff,0 4px 12px #214c3210;color:#28583c}.notice-label,.notice-details{color:#276b46}.notice-bottom>span{color:#466f55}.notice-timer{background:#28704717}.notice-timer i{background:linear-gradient(90deg,#8bd0a6,#28754b);box-shadow:0 0 10px #74bd9699}
html[data-theme=dark] #learnerNotice,html[data-theme=dark] #toast{background:linear-gradient(135deg,#224f40eb,#14382ad9);border-color:#dcffec45;color:#edfff4;box-shadow:0 18px 60px #0006,inset 0 1px 0 #e3fff533,inset 0 -1px 0 #6da88b22}html[data-theme=dark] #learnerNotice h2{color:#edfff4}html[data-theme=dark] #learnerNotice p{color:#c8e5d4}html[data-theme=dark] .notice-close{background:linear-gradient(145deg,#d5ffe525,#c6ffe908);border-color:#e0fff342;box-shadow:inset 0 1px 0 #ffffff26;color:#ddfbe7}html[data-theme=dark] .notice-label,html[data-theme=dark] .notice-details{color:#a5e4bb}html[data-theme=dark] .notice-bottom>span{color:#b5d4c1}html[data-theme=dark] .notice-timer{background:#bfffd815}html[data-theme=dark] .notice-timer i{background:linear-gradient(90deg,#6ab989,#c2f5ce)}
@media(prefers-reduced-transparency:reduce){#learnerNotice,#toast{background:#f2faf5}html[data-theme=dark] #learnerNotice,html[data-theme=dark] #toast{background:#1b3e2f}}
