:root{--green:#126b58;--dark:#183e36;--mint:#e5f2eb;--paper:#f8faf6;--ink:#203f37;--muted:#728078;--orange:#ee9b43;--line:#e3e9e1;--shadow:0 4px 0 #e3e9df;--font:'Nunito',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:600 16px/1.5 var(--font)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #eca84d;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4,.brand{font-family:'Baloo 2',var(--font);line-height:1.18}h1{font-size:clamp(30px,3.1vw,44px);font-weight:800;letter-spacing:-.7px}h2{font-size:26px;font-weight:750}h3{font-size:21px}small{font-size:14px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:12px;font-weight:900}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:24px;padding:5px 11px;font-size:13px;font-weight:900}.pill.green{background:#dceee2;color:#276d51}.pill.orange{background:#fff0d6;color:#a7671d}.pill.white{background:#ffffff24;color:white}.btn{background:var(--green);border:1px solid var(--green);color:white;border-radius:13px;box-shadow:0 4px 0 #0b4d3d;padding:12px 24px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px}.btn:hover{filter:brightness(1.07);transform:translateY(-1px)}.btn:active{transform:translateY(3px);box-shadow:none}.btn.gold{background:#ffcb6a;border-color:#ffcb6a;color:#4a391d;box-shadow:0 4px 0 #dca347}.btn.secondary{background:white;color:var(--green);border:1px solid var(--line);box-shadow:0 3px 0 #e3e9df}.btn:disabled{opacity:.45;cursor:default;transform:none}.link-btn{font-size:14px;font-weight:900;color:var(--green);padding:8px}.card{background:white;border:1px solid var(--line);border-radius:22px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:34px 23px;z-index:20;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--green);font-size:25px;font-weight:800;line-height:.98}.brandmark{width:43px;height:46px;background:var(--green);border-radius:14px;color:#fff5d5;display:grid;place-items:center;font:900 34px sans-serif;position:relative}.brandmark:after{content:'';position:absolute;width:10px;height:10px;background:#ffc35e;border:2px solid white;border-radius:50%;right:-2px;top:-2px}.brand small{font:800 10px var(--font);letter-spacing:2px;display:block;margin-top:7px}.nav{display:grid;gap:9px;margin-top:49px}.nav button{display:flex;gap:14px;align-items:center;text-align:left;font-weight:800;color:#7b867f;padding:14px 17px;border:1px solid transparent;border-radius:13px;font-size:16px}.nav button.active{background:#eaf4ed;border-color:#d5e7d9;color:var(--green)}.nav svg{width:22px;height:22px;stroke-width:1.8}.side-bottom{margin-top:auto}.side-note{border-radius:18px;background:#fff7e9;padding:18px 15px;margin-bottom:20px}.side-note span{font-size:28px}.side-note h4{font-size:17px;margin:8px 0}.side-note p{font-size:13px;color:#8a7a60}.parent-link{padding:12px;display:flex;gap:12px;font-size:14px;color:#768279}.shell{margin-left:238px;max-width:1530px}.topbar{height:95px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);background:#ffffff88}.crumb{color:#7a867e;font-size:14px}.top-actions{display:flex;gap:23px;align-items:center}.stat{font-weight:900;display:flex;align-items:center;gap:7px}.stat.fire{color:#df8241}.stat.gem{color:#4395b0}.profile{border:1px solid var(--line);border-radius:30px;background:white;padding:5px 11px 5px 5px;display:flex;gap:10px;align-items:center;font-size:14px;font-weight:900}.avatar{background:#fce7c1;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-size:23px}.content{padding:33px 42px 60px}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.greeting h1{font-size:31px}.greeting p{color:var(--muted);font-size:15px;margin-top:5px}.date-pill{font-size:13px;border:1px solid var(--line);border-radius:20px;padding:7px 13px;color:#7a857c}.columns{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:28px}.hero{background:var(--green);color:white;border-radius:25px;min-height:264px;position:relative;overflow:hidden;display:flex;padding:29px 31px;align-items:center}.hero-copy{position:relative;z-index:2;width:64%}.hero .eyebrow{color:#a4d9bf;font-size:11px;margin:12px 0 9px}.hero h2{font-size:34px;line-height:1.12;max-width:350px}.hero p{font-size:14px;color:#d1e8db;margin:10px 0 21px;max-width:300px}.hero .btn{font-size:14px;min-height:44px;padding:10px 20px}.hero-art{position:absolute;right:8px;bottom:0;width:46%;height:100%;pointer-events:none}.hero-art svg{width:100%;height:100%}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:30px 0 16px}.section-heading p{font-size:14px;margin-top:5px;color:var(--muted)}.route-tabs{display:flex;gap:8px;padding:5px;background:#edf1e9;border-radius:12px;width:fit-content;margin:17px 0 22px}.route-tabs button{padding:8px 16px;border-radius:9px;font-size:14px;font-weight:800;color:#7a847b}.route-tabs button.selected{color:var(--green);background:white;box-shadow:0 2px 6px #213d3410}.world-header{background:#eaf2e7;border:1px solid #dfe8db;border-radius:14px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;margin:18px 0}.world-header h3{font-size:17px}.world-header p{font-size:13px;color:#768570}.world-header span{font-size:26px}.unit{display:flex;gap:15px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:17px;margin:0 0 13px;background:white;box-shadow:0 3px 0 #edf0e8}.unit.current{border:2px solid #9abc9f;box-shadow:0 4px 0 #dce7d7}.unit .tile{height:56px;min-width:56px;background:#f6ead5;border-radius:15px;display:grid;place-items:center;font-size:29px;border-bottom:3px solid #ead8b9}.unit:nth-child(3n) .tile{background:#e3eef7;border-color:#d1e1ef}.unit:nth-child(3n+1) .tile{background:#eee8f7;border-color:#e1d7ef}.unit-info{flex:1;min-width:0}.unit-info .eyebrow{font-size:10px;letter-spacing:1.3px;color:#9caa98;margin-bottom:3px}.unit-info h3{font-size:20px}.unit-info p{color:#7c887f;font-size:13px;margin-top:3px}.unit-end{font-size:14px;font-weight:900;color:#c1c9bd}.unit-end .play-circle{background:var(--green);color:white;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.unit-end svg{width:17px;height:17px}.progress{height:8px;background:#eaf0e5;border-radius:12px;overflow:hidden}.progress>i{height:100%;display:block;background:#8bb77a;border-radius:12px;transition:width .3s}.unit .progress{margin-top:10px;max-width:220px;height:5px}.rightcol{display:flex;flex-direction:column;gap:20px}.daily{padding:22px}.daily-head{display:flex;align-items:center;gap:9px;margin-bottom:13px}.daily-head h3{font-size:20px}.goal-ring{width:124px;height:124px;margin:22px auto 20px;border-radius:50%;background:conic-gradient(#eda34c var(--pct),#f0f2e9 0);padding:10px}.goal-ring>div{width:100%;height:100%;border-radius:50%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center}.goal-ring strong{font:800 31px 'Baloo 2',var(--font);line-height:1}.goal-ring small{font-size:12px;color:var(--muted)}.daily>p{text-align:center;font-size:13px;color:var(--muted)}.week{display:flex;justify-content:space-between;margin-top:21px}.day{font-size:11px;color:#8d998c;text-align:center}.day span{margin-top:7px;border:1px solid var(--line);border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.day.today span{border:2px solid #ebad58;color:#e2a54b;background:#fff9ee}.day.done span{background:#e7f3e8;color:var(--green)}.missions{padding:21px}.mission{display:flex;gap:11px;align-items:center;margin-top:20px}.mission .micon{font-size:23px;background:#f7f7ef;width:37px;height:40px;border-radius:11px;display:grid;place-items:center}.mission>div{flex:1}.mission strong{font-size:13px;font-weight:900}.mission .progress{height:5px;margin-top:7px}.mission small{font-size:11px;color:#9aa28f}.word-day{background:#fff4df;border:1px solid #f0e2c7;border-radius:20px;padding:22px;text-align:center}.word-day .eyebrow{color:#ab8c55;font-size:10px}.word-day .word-emoji{font-size:40px;margin:13px 0 5px}.word-day h3{font-size:27px}.word-day p{color:#9b8259;font-size:14px;margin-bottom:12px}.audio-btn{border:1px solid #e4dac5;border-radius:10px;background:#fffaf1;padding:7px 13px;color:#967645;font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:7px}.audio-btn svg{width:17px;height:17px}.family-tip{padding:19px;border:1px dashed #cbd9c4;border-radius:18px;display:flex;gap:12px;font-size:13px;color:#77856e}.family-tip strong{display:block;color:#607356;margin-bottom:4px}.family-tip>span{font-size:26px}.pagehead{margin-bottom:26px}.pagehead p{color:var(--muted);margin-top:8px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-card{padding:25px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;box-shadow:var(--shadow)}.feature-card .bigicon{font-size:44px}.feature-card p{font-size:14px;color:var(--muted);flex:1}.feature-card .btn{font-size:14px;padding:9px 17px}.searchbar{display:flex;gap:12px;margin:20px 0;flex-wrap:wrap}.searchbar input,.searchbar select,.field{padding:12px 15px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);min-width:0}.searchbar input{flex:1}.word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.word-card{padding:19px;position:relative}.word-card .emoji{font-size:32px}.word-card h3{margin-top:6px;font-size:24px}.arabic{font-family:Arial,sans-serif;direction:rtl;font-weight:500;font-size:24px}.word-card .arabic{color:#7b8d82;font-size:20px}.word-card p{font-size:14px;color:var(--muted);margin:3px 0 13px}.word-card .star{position:absolute;right:10px;top:10px;color:#ba9c68;font-size:23px}.letters{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.letter{padding:17px 5px;text-align:center}.letter .arabic{font-size:43px;color:var(--green)}.letter p{font-weight:900;font-size:14px}.letter small{color:var(--muted);font-size:12px}.notice{padding:16px 19px;background:#edf4e9;border-radius:14px;color:#657c58;font-size:14px;margin:18px 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:23px 0}.statbox{padding:20px}.statbox strong{font:800 32px 'Baloo 2',var(--font);display:block;color:var(--green)}.statbox small{color:var(--muted)}.settings-row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;gap:20px;border-bottom:1px solid var(--line)}.settings-row p{color:var(--muted);font-size:14px}.settings-row select,.settings-row input{max-width:180px}.check{width:23px;height:23px;accent-color:var(--green)}.badge-grid{display:flex;flex-wrap:wrap;gap:15px;margin:20px 0}.badge{width:135px;text-align:center;padding:18px 10px}.badge .emoji{font-size:37px;filter:grayscale(1);opacity:.35}.badge.earned .emoji{filter:none;opacity:1}.badge p{font-size:13px;font-weight:900;margin-top:8px}.badge small{font-size:11px;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:#173c34aa;z-index:100;display:flex;justify-content:center;align-items:center;padding:24px;backdrop-filter:blur(5px)}.modal{background:var(--paper);border-radius:25px;width:100%;max-width:700px;max-height:92dvh;overflow:auto;padding:30px;position:relative;box-shadow:0 20px 80px #163a3440}.modal.wide{max-width:880px}.close{position:absolute;top:17px;right:18px;font-size:25px;color:#8f9b90;width:37px;height:37px;z-index:2}.modal h2{padding-right:27px}.modal-sub{color:var(--muted);font-size:15px;margin:8px 0 20px}.profile-list{display:grid;gap:12px;margin-top:24px}.profile-choice{padding:17px;display:flex;align-items:center;gap:15px;background:white;text-align:left;border:2px solid var(--line);border-radius:16px}.profile-choice.active{border-color:var(--green)}.profile-choice .avatar{width:48px;height:48px;font-size:31px}.profile-choice strong{display:block}.profile-choice small{color:var(--muted)}.lesson-header{display:flex;align-items:center;gap:17px;margin:0 40px 26px 0}.lesson-header .progress{flex:1;height:12px}.lesson-header .progress i{background:#79ad69}.lesson-body{text-align:center;padding:5px 2px}.lesson-body .bigicon{font-size:75px;margin:16px 0}.lesson-body .arabic{font-size:35px;margin:8px 0}.lesson-body h2{font-size:31px;padding:0}.lesson-body .translation{color:var(--muted);margin-top:7px}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:27px 0}.option{border:2px solid var(--line);background:white;border-radius:15px;padding:18px 10px;font-weight:900;min-height:65px;box-shadow:0 3px 0 #e3e9df}.option:hover{border-color:#b8cfac}.option.selected{background:#e9f3e5;border-color:#83ac71}.option.correct{border-color:#69a969;background:#e1f2df}.option.wrong{border-color:#db9990;background:#fdebe7}.option .arabic{font-size:25px;margin:0}.feedback{padding:16px;background:#e0f0dc;border-radius:15px;margin:20px 0;text-align:left}.feedback.wrong{background:#fff0df}.feedback strong{font-size:19px;display:block}.lesson-foot{margin-top:25px;display:flex;justify-content:space-between;align-items:center;gap:13px}.lesson-foot small{color:var(--muted)}.token-row{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:20px;min-height:60px;padding:12px;border-radius:13px;border:1px dashed #bdcbb5;background:white}.token{background:white;border:1px solid #d9e4d1;border-bottom:3px solid #d9e4d1;padding:9px 14px;border-radius:10px;font-weight:900}.token.used{visibility:hidden}.flash{min-height:255px;border:2px solid #dce7d5;background:white;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;margin:20px 0;padding:25px}.flash h2{font-size:40px}.flash .bigicon{font-size:55px;margin:0 0 12px}.flash small{color:var(--muted);margin-top:15px}.review-actions{display:flex;gap:12px;justify-content:center}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:23px}.memory-card{min-height:95px;border-radius:14px;background:var(--green);color:#f7d586;border-bottom:4px solid #0b4d3d;font-size:24px;font-weight:900;padding:8px}.memory-card.face{background:white;border:2px solid #b6caa8;color:var(--green);font-size:16px}.memory-card.matched{background:#e3eddc;border:2px solid #d5e4ca;color:#739663;opacity:.65}.story-line{padding:17px;border:1px solid var(--line);border-radius:15px;background:white;margin:11px 0}.story-line small{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:1px;color:#86a079}.story-line .spoken{font-size:20px;font-weight:900;margin:3px 0}.story-line .meaning{color:var(--muted);font-size:14px;margin-top:8px}.story-line button{float:right}.story-line .arabic{font-size:22px;text-align:left}.study-guide{padding:23px;margin-bottom:18px}.study-guide p{font-size:14px;color:var(--muted);margin-top:8px}.lesson-choice{padding:17px;display:flex;align-items:center;gap:15px;text-align:left;background:white;border:1px solid var(--line);border-radius:15px;margin:12px 0;width:100%}.lesson-choice span:first-child{font-size:27px}.lesson-choice div{flex:1}.lesson-choice p{color:var(--muted);font-size:13px}.footer-note{text-align:center;font-size:12px;color:#9aa48f;margin-top:25px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:15px;background:#234a3c;color:white;box-shadow:0 5px 20px #213f3c30;z-index:200;max-width:90%;font-size:14px}.recording{color:#bd3c37!important;background:#ffe1dd!important}.mobilebrand{display:none}.hidden{display:none!important}.read-mode{font-size:1.08em}.read-mode .translation{font-size:19px}.read-mode .word-card p{font-size:16px}.empty{padding:40px;text-align:center;color:var(--muted)}.record-panel{margin:20px 0;padding:20px;background:white;border:1px solid var(--line);border-radius:15px}.flex{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.audio-note{font-size:11px;color:#8f9c88;margin-top:9px}.story-done{margin:18px 0}.parenttable{width:100%;border-collapse:collapse;font-size:14px}.parenttable th,.parenttable td{padding:13px 8px;text-align:left;border-bottom:1px solid var(--line)}.parenttable th{color:var(--muted);font-size:12px}.emoji-picker{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.emoji-picker button{font-size:28px;border:2px solid var(--line);border-radius:13px;background:white;padding:8px}.emoji-picker .selected{border-color:var(--green)}@media(min-width:1600px){.shell{margin:0 auto 0 238px}.content{padding-top:40px}.hero{min-height:285px}}@media(max-width:1200px){.sidebar{width:205px;padding:30px 16px}.shell{margin-left:205px}.topbar{padding:0 27px}.content{padding:27px}.columns{gap:20px;grid-template-columns:minmax(0,1fr) 255px}.hero{padding:25px}.hero h2{font-size:30px}.hero-art{right:-5px;width:45%}.hero-copy{width:70%}.brand{font-size:22px}.word-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:1000px){.columns{grid-template-columns:1fr}.rightcol{display:grid;grid-template-columns:1fr 1fr}.family-tip{grid-column:1/-1}.word-day{display:none}.hero{min-height:270px}.hero-art{width:40%;right:20px}.grid{grid-template-columns:repeat(2,1fr)}.letters{grid-template-columns:repeat(5,1fr)}}@media(max-width:700px){body{font-size:16px}.sidebar{inset:auto 0 0;width:100%;height:77px;padding:0 6px calc(env(safe-area-inset-bottom)/2);border-right:none;border-top:1px solid var(--line);z-index:50}.sidebar .brand,.side-bottom{display:none}.nav{display:flex;justify-content:space-around;margin:0;gap:0}.nav button{flex:1;display:flex;flex-direction:column;gap:3px;font-size:10px;padding:13px 3px;border:0;border-radius:0;max-width:80px}.nav button.active{background:transparent;color:var(--green)}.nav svg{width:23px;height:23px}.shell{margin:0}.topbar{height:78px;padding:0 19px}.crumb{display:none}.mobilebrand{display:flex;font-size:20px}.mobilebrand .brandmark{width:34px;height:37px;font-size:28px;border-radius:11px}.mobilebrand small{display:none}.top-actions{gap:12px}.top-actions .stat{font-size:14px}.top-actions .profile{padding:3px;border:0}.profile .profile-name{display:none}.content{padding:23px 19px 105px}.greeting{margin-bottom:20px}.greeting h1{font-size:27px}.greeting p{font-size:13px;max-width:240px}.date-pill{display:none}.columns{gap:21px}.hero{min-height:257px;padding:24px 22px;border-radius:21px}.hero h2{font-size:29px;max-width:210px}.hero p{font-size:13px;max-width:190px}.hero-copy{width:70%}.hero-art{width:47%;right:-9px}.hero .pill{font-size:10px;padding:4px 8px}.hero .eyebrow{font-size:10px}.hero .btn{font-size:13px;padding:10px 16px}.section-heading h2{font-size:24px}.section-heading{margin-top:27px}.section-heading .link-btn{font-size:12px;padding:4px}.rightcol{grid-template-columns:1fr}.daily{display:none}.missions{padding:20px}.unit{padding:15px 13px;gap:12px}.unit-info h3{font-size:19px}.unit-info p{font-size:12px}.unit .tile{min-width:49px;height:51px;font-size:26px}.unit-end small{display:none}.unit-end .play-circle{width:31px;height:31px}.world-header{padding:12px 14px}.world-header h3{font-size:16px}.grid,.grid.two{grid-template-columns:1fr}.feature-card{padding:22px;gap:10px}.feature-card .bigicon{font-size:38px}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.word-card{padding:14px}.word-card h3{font-size:21px}.word-card p{font-size:12px}.word-card .audio-btn{font-size:11px;padding:7px 9px}.searchbar select{width:100%}.letters{grid-template-columns:repeat(4,1fr);gap:9px}.letter{padding:12px 2px}.stats-grid{grid-template-columns:repeat(2,1fr)}.statbox{padding:17px}.modal-backdrop{padding:10px}.modal{padding:25px 19px;max-height:95dvh;border-radius:22px}.lesson-body h2{font-size:26px}.lesson-body .bigicon{font-size:62px}.options{gap:10px}.option{font-size:15px;padding:16px 8px}.lesson-foot .btn{padding:11px 18px}.memory-card{min-height:82px;font-size:21px}.memory-card.face{font-size:13px}.settings-row{align-items:flex-start}.settings-row .field{max-width:130px}.pagehead h1{font-size:31px}.parenttable{font-size:12px}.parenttable th,.parenttable td{padding:9px 5px}.audio-note{font-size:11px}.badge{width:calc(33% - 10px)}.token{font-size:14px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.route-tabs{flex-wrap:wrap}.route-tabs button{font-size:13px;padding:8px 12px}@media(max-width:700px){.route-tabs{gap:2px}.route-tabs button{font-size:11px;padding:8px 9px}}

.offline-chip{font-size:11px;color:#6d8c63;margin-left:12px;white-space:nowrap}#offline-status[data-ready="true"]{color:#126b58;font-weight:900}
