[hidden]{display:none!important}
:root{
  --blue:#1565f6;--blue-2:#0b4ed8;--blue-3:#073aa9;--sky:#eaf3ff;--sky-2:#f5f9ff;
  --ink:#10213d;--muted:#687791;--line:#e4eaf3;--white:#fff;--green:#16a56d;--orange:#f59d2a;
  --purple:#7657df;--red:#e35463;--shadow:0 18px 50px rgba(27,69,130,.12);--shadow-sm:0 8px 24px rgba(27,69,130,.09);
  --radius:24px;--radius-sm:16px;--sidebar:260px;--owner-sidebar:250px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6f9fd;color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;line-height:1.55;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(21,101,246,.25);outline-offset:2px}a{color:inherit;text-decoration:none}svg{display:block;width:100%;height:100%}h1,h2,h3,p{margin-top:0}.screen{display:none;min-height:100vh}.screen.is-active{display:block}.is-hidden{display:none!important}.container-wide{width:min(1220px,calc(100% - 48px));margin-inline:auto}.btn{border:0;border-radius:14px;padding:12px 20px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.2s ease;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(135deg,var(--blue),#2b7cff);color:#fff;box-shadow:0 10px 24px rgba(21,101,246,.24)}.btn-primary:hover{box-shadow:0 15px 30px rgba(21,101,246,.32)}.btn-soft{background:#edf4ff;color:#1558cc;border:1px solid #dbe8ff}.btn-white{background:#fff;color:var(--blue-2);box-shadow:0 10px 26px rgba(0,0,0,.12)}.btn-dark-outline{background:#fff;border:1px solid #cfd8e7;color:var(--ink)}.btn-danger-soft{background:#fff0f2;color:#c82d45;border:1px solid #ffdbe1}.btn-large{min-height:54px;padding-inline:25px;border-radius:16px}.btn-compact{padding:9px 15px;border-radius:12px}.btn-full{width:100%}.link-button,.text-action{border:0;background:none;color:var(--blue);font-weight:800;padding:4px}.brand-button{border:0;background:none;display:flex;align-items:center;gap:11px;padding:0;text-align:right;color:inherit}.brand-mark{width:48px;height:48px;display:grid;place-items:center;background:linear-gradient(145deg,#eef5ff,#fff);border-radius:15px;box-shadow:0 8px 22px rgba(12,79,194,.13);padding:6px}.brand-mark.small{width:38px;height:38px;border-radius:12px}.brand-copy{display:flex;flex-direction:column;line-height:1.2}.brand-copy strong{font-size:18px;letter-spacing:.1px}.brand-copy small{font-size:11px;color:#75829a;margin-top:4px}.card-kicker,.section-kicker,.form-kicker{font-size:12px;font-weight:900;letter-spacing:.4px;color:var(--blue);display:inline-block;margin-bottom:6px}.light{color:#dbe9ff!important}.section-heading.centered{text-align:center;max-width:730px;margin:0 auto 36px}.section-heading h2{font-size:clamp(29px,4vw,44px);line-height:1.18;margin-bottom:12px}.section-heading p{color:var(--muted);font-size:17px}.bar{height:8px;background:#edf1f7;border-radius:999px;overflow:hidden}.bar>span{height:100%;display:block;background:linear-gradient(90deg,var(--blue),#42a1ff);border-radius:999px}.toast{position:fixed;z-index:3000;left:50%;bottom:28px;transform:translate(-50%,25px);opacity:0;pointer-events:none;background:#12233e;color:#fff;border-radius:14px;padding:12px 18px;box-shadow:0 14px 38px rgba(12,28,55,.3);font-weight:700;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}

/* Landing */
.landing-screen{background:#fff}.public-header{height:82px;display:flex;align-items:center;justify-content:space-between;gap:25px;position:relative;z-index:10}.public-nav{display:flex;align-items:center;gap:30px;color:#53637c;font-weight:700}.public-nav a:hover,.public-nav button:hover{color:var(--blue)}.hero{min-height:660px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:55px;padding-block:50px 90px}.hero-copy{padding-inline-start:12px}.eyebrow{display:inline-flex;align-items:center;gap:9px;background:#edf5ff;color:#1559cf;padding:8px 13px;border-radius:999px;font-weight:800;font-size:13px}.pulse-dot{width:8px;height:8px;background:#24c785;border-radius:50%;box-shadow:0 0 0 5px rgba(36,199,133,.13);animation:pulse 1.8s infinite}.hero h1{font-size:clamp(47px,6vw,75px);line-height:1.05;letter-spacing:-1.8px;margin:20px 0 22px}.hero h1 span{color:var(--blue)}.hero-lead{font-size:18px;color:#63718a;max-width:660px;line-height:1.9}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:31px 0}.trust-row{display:flex;align-items:center;gap:19px;color:#75829a;font-size:13px}.trust-row b{color:var(--ink);font-size:17px}.trust-row i{height:22px;width:1px;background:#dbe1ea}.hero-visual{height:570px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,#dcecff 0,#eff6ff 39%,transparent 69%)}.orbit{position:absolute;border:1px dashed rgba(21,101,246,.2);border-radius:50%}.orbit-one{width:470px;height:470px;animation:spin 32s linear infinite}.orbit-two{width:360px;height:360px;animation:spin 24s linear infinite reverse}.phone-mockup{position:relative;z-index:2;width:292px;background:#fff;border:8px solid #11233f;border-radius:42px;padding:12px 15px 20px;box-shadow:0 35px 70px rgba(19,56,115,.25);transform:rotate(-2deg)}.phone-top{height:24px;display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:900}.phone-top b{width:72px;height:19px;border-radius:99px;background:#11233f}.phone-appbar{display:grid;grid-template-columns:30px 1fr 34px;align-items:center;gap:8px;margin:8px 0 12px}.phone-appbar button{border:0;background:#f0f4f9;border-radius:50%;width:27px;height:27px}.phone-appbar strong{font-size:10px}.mini-progress{height:6px;background:#e9eef5;border-radius:9px;overflow:hidden}.mini-progress span{height:100%;display:block;background:var(--blue);border-radius:9px}.mini-mascot-row{display:flex;align-items:center;gap:7px;margin-bottom:10px}.mini-mascot{width:36px;height:36px}.speech-tip{font-size:9px;background:#eff6ff;border-radius:10px;padding:8px;position:relative}.word-demo-card{border:1px solid #e6ecf5;border-radius:22px;text-align:center;padding:16px 14px;box-shadow:var(--shadow-sm)}.word-demo-card .word-emoji{width:58px;height:58px;margin:0 auto 6px;border-radius:18px;display:grid;place-items:center;font-size:32px;background:#edf6ff}.word-demo-card small{color:#8995a8;font-size:9px}.word-demo-card h2{font-size:37px;letter-spacing:2px;margin:2px 0 0}.word-demo-card p{font-weight:900;color:#53647e;margin-bottom:10px}.demo-audio{width:100%;background:linear-gradient(135deg,var(--blue),#3584fb);color:#fff;border:0;border-radius:12px;padding:10px;display:flex;justify-content:center;gap:8px}.repeat-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}.repeat-dots i{width:7px;height:7px;border-radius:50%;background:#d6deea}.repeat-dots i.active{background:var(--blue)}.mini-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.mini-choice-row button{border:1px solid #e2e8f1;background:#fff;border-radius:10px;padding:9px;font-size:9px;font-weight:800}.mini-choice-row button.selected{background:#eaf8f2;color:#16855e;border-color:#caecdf}.floating-badge{position:absolute;z-index:3;background:#fff;padding:11px 14px;border-radius:14px;box-shadow:0 14px 35px rgba(31,76,142,.17);font-size:12px;font-weight:800;display:flex;align-items:center;gap:8px}.floating-badge span{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#e8f8f2;color:#14936b}.badge-top{right:4%;top:23%}.badge-bottom{left:0;bottom:21%}.badge-bottom span{background:#edf2ff;color:var(--blue)}.section-block{padding-block:90px}.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.method-card{padding:28px 25px;border:1px solid var(--line);border-radius:22px;background:#fff;position:relative;transition:.25s;min-height:240px}.method-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.step-num{position:absolute;left:18px;top:16px;font-weight:900;color:#cbd5e4}.method-icon{width:55px;height:55px;border-radius:17px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-weight:900;font-size:20px;margin-bottom:22px}.method-card h3{font-size:19px;margin-bottom:9px}.method-card p{color:var(--muted);margin:0;line-height:1.8}.levels-preview-section{background:linear-gradient(135deg,#0750d6,#126afa 55%,#2187ff);color:#fff;overflow:hidden;position:relative}.levels-preview-section:after{content:"";position:absolute;width:430px;height:430px;border:90px solid rgba(255,255,255,.06);border-radius:50%;left:-150px;top:-190px}.levels-preview-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;min-height:560px;padding-block:80px;position:relative;z-index:1}.levels-copy h2{font-size:48px;line-height:1.18;margin:12px 0}.levels-copy p{color:#dbe8ff;line-height:1.9;max-width:540px}.levels-stack{display:flex;flex-direction:column;gap:13px;max-width:520px}.level-pill{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:14px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);padding:14px;border-radius:18px;backdrop-filter:blur(10px)}.level-pill>b{width:46px;height:46px;display:grid;place-items:center;background:rgba(255,255,255,.15);border-radius:14px}.level-pill span{display:flex;flex-direction:column}.level-pill small{color:#d7e6ff}.level-pill em{font-style:normal;font-weight:900}.level-pill.unlocked{background:#fff;color:var(--ink);box-shadow:0 18px 40px rgba(0,30,100,.25);transform:translateX(-18px)}.level-pill.unlocked small{color:var(--muted)}.level-pill.unlocked b{background:#e9f2ff;color:var(--blue)}.level-pill.ghost{opacity:.65}.cta-section{padding-block:80px}.cta-card{background:linear-gradient(135deg,#f0f6ff,#fff);border:1px solid #dfe9f8;border-radius:30px;padding:45px;display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:var(--shadow-sm)}.cta-card h2{font-size:34px;margin-bottom:8px}.cta-card p{margin:0;color:var(--muted)}.cta-actions{display:flex;gap:10px;flex-wrap:wrap}.public-footer{border-top:1px solid var(--line);min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#7c899d}.footer-brand{display:flex;align-items:center;gap:10px;color:var(--ink)}

/* Auth / pending */
.auth-screen.is-active{display:grid;grid-template-columns:minmax(420px,45%) 1fr;background:#fff}.auth-visual-panel{background:linear-gradient(145deg,#0743b8,#1268f7 60%,#35a2ff);color:#fff;padding:38px 55px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-visual-panel:before,.auth-visual-panel:after{content:"";position:absolute;border-radius:50%;border:70px solid rgba(255,255,255,.06)}.auth-visual-panel:before{width:370px;height:370px;right:-160px;bottom:-190px}.auth-visual-panel:after{width:220px;height:220px;left:-110px;top:20%}.light-brand{color:#fff;position:relative;z-index:1}.light-brand .brand-mark{background:#fff}.light-brand .brand-copy small{color:#dce9ff}.auth-visual-content{position:relative;z-index:1;max-width:510px}.auth-mascot{width:130px;height:130px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);border-radius:38px;padding:15px;margin-bottom:24px}.auth-visual-content h2{font-size:45px;line-height:1.22;margin-bottom:16px}.auth-visual-content p{color:#dbe8ff;font-size:17px;line-height:1.9}.auth-benefits{display:grid;gap:12px;margin-top:26px}.auth-benefits span{font-weight:800}.auth-quote{position:relative;z-index:1;padding:17px 20px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);border-radius:17px;font-size:13px;color:#e9f2ff}.auth-form-panel{display:grid;place-items:center;padding:50px;position:relative}.auth-form-wrap{width:min(450px,100%)}.auth-form-wrap h1{font-size:39px;margin:4px 0 7px}.auth-form-wrap>p{color:var(--muted)}.form-stack{display:grid;gap:16px;margin-top:25px}.form-stack label:not(.check-label),.settings-grid label{display:grid;gap:7px}.form-stack label>span,.settings-grid label>span{font-size:13px;font-weight:800;color:#4c5a70}.form-stack input,.settings-grid input,.settings-grid select,.filter-bar select{width:100%;height:52px;border:1px solid #dce4ef;border-radius:13px;padding:0 14px;background:#fff;color:var(--ink)}.form-stack input:focus,.settings-grid input:focus,.settings-grid select:focus{border-color:#8cb6ff;box-shadow:0 0 0 4px #eef5ff}.password-field{position:relative}.password-field input{padding-left:48px}.password-field button{position:absolute;left:7px;top:7px;width:38px;height:38px;border:0;background:#f0f4f9;border-radius:10px;color:#67748a}.form-row{display:flex;justify-content:space-between;align-items:center}.check-label{display:flex!important;align-items:flex-start;gap:9px;font-size:13px;color:#66758c}.check-label input{width:17px;height:17px;accent-color:var(--blue)}.check-label.policy{margin-top:2px}.auth-separator{display:flex;align-items:center;gap:13px;margin:20px 0;color:#9aa6b7}.auth-separator:before,.auth-separator:after{content:"";height:1px;background:#e3e8f0;flex:1}.switch-auth{text-align:center;margin-top:24px!important}.switch-auth button{border:0;background:none;color:var(--blue);font-weight:900}.mobile-back{display:none;position:absolute;right:18px;top:18px;border:0;width:42px;height:42px;border-radius:12px;background:#f0f5fb}.pending-screen.is-active{display:grid;place-items:center;background:radial-gradient(circle at 50% 15%,#e9f3ff,#f8fbff 55%,#f4f7fb);padding:35px}.pending-card{width:min(520px,100%);background:#fff;border-radius:28px;box-shadow:var(--shadow);padding:38px;text-align:center;position:relative}.pending-logo{width:55px;height:55px;position:absolute;right:25px;top:22px}.success-ring{width:92px;height:92px;border-radius:50%;background:#e8f9f2;display:grid;place-items:center;margin:0 auto 20px;box-shadow:inset 0 0 0 10px #f4fcf8}.success-ring span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#19af77;color:#fff;font-size:28px;font-weight:900}.pending-card h1{font-size:31px;margin-bottom:10px}.pending-card>p{color:var(--muted);line-height:1.8}.status-box{display:grid;grid-template-columns:auto 1fr auto;align-items:center;text-align:right;gap:12px;background:#f7f9fc;border:1px solid #e5eaf2;border-radius:16px;padding:15px;margin:23px 0}.status-dot{width:11px;height:11px;border-radius:50%;background:#f4a323;box-shadow:0 0 0 5px #fff3dc}.status-box div{display:flex;flex-direction:column}.status-box small{color:var(--muted)}.status-box>b{font-size:12px;color:#a4660d;background:#fff2d9;border-radius:99px;padding:6px 9px}.pending-actions{display:grid;gap:10px}.pending-note{display:block;color:#8c98aa;margin-top:18px;line-height:1.7}

/* Student shell */
.app-screen.is-active{display:flex;background:#f5f8fc}.app-sidebar{width:var(--sidebar);height:100vh;position:fixed;right:0;top:0;background:#fff;border-left:1px solid var(--line);padding:24px 18px;display:flex;flex-direction:column;z-index:50}.sidebar-brand{padding:0 8px 20px;border-bottom:1px solid #edf0f5;width:100%}.side-nav{display:grid;gap:7px;margin-top:23px}.side-nav button,.owner-nav button{border:0;background:transparent;border-radius:13px;padding:12px 14px;color:#607087;font-weight:800;display:flex;align-items:center;gap:12px;text-align:right;transition:.18s}.side-nav button>span{width:26px;font-size:20px;text-align:center}.side-nav button em,.owner-nav button em{font-style:normal;margin-right:auto;background:#e8f1ff;color:var(--blue);border-radius:99px;padding:2px 7px;font-size:11px}.side-nav button:hover,.side-nav button.active{background:#edf4ff;color:var(--blue)}.sidebar-goal{margin-top:auto;background:linear-gradient(145deg,#f0f6ff,#f9fbff);border:1px solid #dfe9f8;border-radius:18px;padding:15px}.goal-head{display:flex;justify-content:space-between;font-size:11px;font-weight:800}.goal-head b{color:var(--blue)}.goal-days{display:flex;justify-content:space-between;margin:13px 0 8px;direction:rtl}.goal-days i{width:27px;height:27px;display:grid;place-items:center;background:#fff;border:1px solid #dce4ee;border-radius:9px;font-style:normal;font-size:11px}.goal-days i.done{background:#1bb17a;color:#fff;border-color:#1bb17a}.sidebar-goal p{font-size:10px;color:#68768d;margin:0}.owner-switch{margin-top:13px;border:1px solid #e1e7f0;background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:10px;text-align:right}.owner-switch>span{width:34px;height:34px;display:grid;place-items:center;background:#f2f5f9;border-radius:10px}.owner-switch div{display:flex;flex-direction:column}.owner-switch small{color:#7f8b9e}.app-main-shell{width:calc(100% - var(--sidebar));margin-right:var(--sidebar);min-height:100vh}.app-topbar{height:90px;background:rgba(255,255,255,.92);backdrop-filter:blur(15px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:40}.topbar-title span,.owner-topbar span{font-size:11px;color:#8895a9;font-weight:800}.topbar-title h1,.owner-topbar h1{font-size:23px;margin:2px 0 0}.topbar-actions{display:flex;align-items:center;gap:12px}.icon-btn{width:43px;height:43px;border:1px solid #e1e7ef;background:#fff;border-radius:13px;position:relative;font-size:18px}.icon-btn i{position:absolute;right:-3px;top:-5px;background:#f15f72;color:#fff;border-radius:99px;min-width:17px;height:17px;display:grid;place-items:center;font-size:9px;font-style:normal}.user-chip{border:1px solid #e3e8f0;background:#fff;border-radius:14px;padding:6px 8px 6px 12px;display:flex;align-items:center;gap:8px;text-align:right}.user-chip>span,.profile-avatar{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#1c6efa,#0b4eca);color:#fff;display:grid;place-items:center;font-weight:900}.user-chip div{display:flex;flex-direction:column}.user-chip small{color:#8390a4;font-size:10px}.mobile-logo{display:none}.app-content{padding:28px 34px 60px}.app-view{display:none;animation:fadeUp .25s ease}.app-view.is-active{display:block}.welcome-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.75fr);gap:20px}.continue-card{background:linear-gradient(135deg,#0750d4,#1473ff 60%,#2c94ff);color:#fff;border-radius:26px;padding:29px;display:grid;grid-template-columns:1.45fr .7fr;min-height:300px;position:relative;overflow:hidden;box-shadow:0 20px 42px rgba(14,83,211,.22)}.continue-card:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;border:55px solid rgba(255,255,255,.07);left:-70px;bottom:-120px}.continue-copy{position:relative;z-index:2}.continue-copy h2{font-size:29px;margin:6px 0}.continue-copy p{color:#dce9ff;max-width:530px}.continue-progress{display:flex;align-items:center;gap:10px;margin:22px 0}.continue-progress>div{height:8px;background:rgba(255,255,255,.24);border-radius:99px;flex:1;max-width:380px;overflow:hidden}.continue-progress>div span{display:block;height:100%;background:#fff;border-radius:99px}.continue-progress b{font-size:12px}.continue-art{display:grid;place-items:center;position:relative;z-index:1}.big-mascot{width:150px;height:150px;filter:drop-shadow(0 18px 22px rgba(0,38,123,.25))}.bubble-one,.bubble-two{position:absolute;background:#fff;color:var(--blue);font-weight:900;font-size:12px;padding:7px 11px;border-radius:13px;box-shadow:0 8px 20px rgba(0,0,0,.12)}.bubble-one{top:22px;left:0}.bubble-two{bottom:22px;right:0}.review-due-card,.current-level-card,.daily-tip-card,.review-list-card,.review-calendar-card,.skill-cards article,.profile-summary,.profile-settings,.review-due-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm)}.review-due-card{padding:24px}.review-due-head{display:flex;align-items:center;gap:12px}.round-icon{width:45px;height:45px;background:#fff1df;color:#e58918;border-radius:14px;display:grid;place-items:center;font-size:22px}.review-due-head h3{margin:0;font-size:20px}.review-word-chips{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.review-word-chips span{background:#f0f5fb;border-radius:9px;padding:6px 9px;font-size:11px;font-weight:800;direction:ltr}.review-due-card p{font-size:13px;color:var(--muted)}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.stats-strip article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:center}.stats-strip article>em{grid-column:2;font-size:10px;color:#8b97a9;font-style:normal;margin-top:-7px}.stat-icon,.owner-stat-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-weight:900}.blue{background:#eaf2ff!important;color:#1561e7!important}.green{background:#e8f8f1!important;color:#149b6c!important}.orange{background:#fff2e1!important;color:#e48513!important}.purple{background:#f0ebff!important;color:#6f50d5!important}.stats-strip b{font-size:22px}.stats-strip small{display:block;color:#6f7d92}.home-lower-grid{display:grid;grid-template-columns:1.55fr .65fr;gap:20px}.current-level-card{padding:24px}.section-row{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.section-row h2,.section-row h3{margin-bottom:0}.lesson-path-mini{display:grid;gap:9px;margin-top:18px}.path-node{border:1px solid #e3e9f2;background:#fff;border-radius:15px;padding:11px 13px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;text-align:right}.path-node>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#edf4ff;color:var(--blue);font-weight:900}.path-node div{display:flex;flex-direction:column}.path-node small{color:var(--muted)}.path-node em{font-style:normal;font-weight:900;color:var(--blue)}.path-node.active{border-color:#bcd3ff;background:#f8fbff}.path-node.locked{opacity:.58}.daily-tip-card{padding:24px;text-align:center}.tip-mascot{width:88px;height:88px;margin:0 auto 12px}.daily-tip-card h3{font-size:22px;margin-bottom:8px}.daily-tip-card p{color:var(--muted);font-size:13px;line-height:1.85}.mobile-bottom-nav{display:none}
/* Student inner views */
.view-hero{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:20px}.view-hero h2{font-size:31px;margin:3px 0 8px}.view-hero p{color:var(--muted);margin:0}.total-progress{display:flex;align-items:center;gap:13px;min-width:245px}.total-progress>div:last-child{display:flex;flex-direction:column}.total-progress small{color:var(--muted)}.progress-ring{--p:42;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) calc(var(--p)*1%),#e8eef6 0);position:relative;flex:none}.progress-ring:after{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}.progress-ring span{position:relative;z-index:1;font-size:13px;font-weight:900}.levels-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.level-map-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:20px;display:grid;grid-template-columns:66px 1fr 42px;gap:15px;align-items:center;transition:.2s;min-height:175px}.level-map-card:not(.locked){cursor:pointer}.level-map-card:not(.locked):hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:#bdd3fb}.level-number{width:60px;height:70px;border-radius:18px;background:#f0f4f9;display:flex;flex-direction:column;align-items:center;justify-content:center}.level-number span{font-size:20px;font-weight:900}.level-number small{font-size:9px;color:var(--blue)}.level-details h3{font-size:20px;margin:3px 0 6px}.level-details p{color:var(--muted);font-size:12px;line-height:1.7;margin-bottom:10px}.level-category{font-size:10px;color:var(--blue);font-weight:900}.level-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#718098;margin-bottom:10px}.level-map-card>button{width:40px;height:40px;border:0;border-radius:12px;background:#edf4ff;color:var(--blue);font-weight:900}.level-map-card.level-current{border:2px solid #a9c9ff;background:linear-gradient(145deg,#f8fbff,#fff)}.level-map-card.level-current .level-number{background:linear-gradient(145deg,var(--blue),#3388ff);color:#fff}.level-map-card.locked{opacity:.68}.level-map-card.compact{grid-column:span 2;min-height:140px}.level-map-card.compact .level-number{width:75px}.back-row{border:0;background:none;color:#64748b;font-weight:800;padding:4px 0 13px}.level-detail-hero{background:linear-gradient(135deg,#074fcf,#1976fa);color:#fff;border-radius:26px;padding:30px;display:grid;grid-template-columns:90px 1fr 95px;gap:20px;align-items:center;box-shadow:0 20px 40px rgba(15,84,214,.2)}.level-big-num{font-size:48px;font-weight:900;opacity:.35}.level-detail-hero h2{font-size:32px;margin:3px 0}.level-detail-hero p{color:#dce9ff}.level-detail-meta{display:flex;gap:10px;flex-wrap:wrap}.level-detail-meta span{font-size:10px;background:rgba(255,255,255,.13);padding:6px 9px;border-radius:9px}.light-ring{background:conic-gradient(#fff calc(var(--p)*1%),rgba(255,255,255,.22) 0)}.light-ring:after{background:#176df0}.light-ring span{color:#fff}.lessons-list{display:grid;gap:12px;margin-top:20px}.lesson-list-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:17px 20px;display:grid;grid-template-columns:58px 1fr auto;gap:15px;align-items:center}.lesson-list-card.current{border-color:#a9c8ff;box-shadow:var(--shadow-sm);cursor:pointer}.lesson-state{position:relative}.lesson-state>span{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:#edf4ff;color:var(--blue);font-weight:900;font-size:18px}.lesson-state i{position:absolute;width:12px;height:12px;background:#20b87f;border:3px solid #fff;border-radius:50%;bottom:-2px;left:-2px}.lesson-list-main h3{margin:2px 0 4px}.lesson-list-main p{font-size:12px;color:var(--muted);margin-bottom:8px}.lesson-label{font-size:10px;font-weight:900;color:var(--blue)}.lesson-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.lesson-tags span{font-size:9px;background:#f1f4f8;padding:4px 7px;border-radius:7px;color:#718097}.lesson-action{display:flex;align-items:center;gap:10px}.lesson-action>span{font-weight:900;color:var(--blue)}.lesson-list-card.locked{opacity:.57}.lesson-list-card.locked .lesson-state>span{background:#f1f3f6;color:#8793a6}.review-hero{background:linear-gradient(135deg,#fff7e8,#fff);border:1px solid #fae2bb;border-radius:24px;padding:28px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}.review-hero h2{font-size:31px;margin:4px 0 8px}.review-hero p{color:var(--muted);max-width:650px}.review-count{width:120px;height:120px;border-radius:34px;background:#fff;box-shadow:0 12px 28px rgba(183,108,16,.12);display:grid;place-items:center;text-align:center}.review-count b{font-size:43px;color:#e88e1c;line-height:1}.review-count span{font-size:11px;color:#7d8999}.review-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:18px;margin-top:18px}.review-list-card,.review-calendar-card{padding:23px}.review-items{display:grid;gap:9px;margin:17px 0}.review-items>div{border:1px solid #e7ebf2;border-radius:13px;padding:11px 13px;display:grid;grid-template-columns:40px 1fr auto;gap:11px;align-items:center}.review-items>div>span{width:38px;height:38px;border-radius:11px;background:#eef4ff;display:grid;place-items:center;font-size:20px}.review-items strong{direction:ltr;display:block}.review-items small{color:var(--muted)}.review-items em{font-style:normal;color:#df8619;font-size:10px;background:#fff4e3;padding:4px 7px;border-radius:8px}.review-calendar-card h3{margin-bottom:5px}.week-bars{height:170px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin:24px 0 13px}.week-bars span{flex:1;background:#edf2f8;border-radius:8px 8px 3px 3px;height:var(--h,30%);position:relative}.week-bars span.today{background:linear-gradient(#4a9cff,var(--blue))}.week-bars span:after{content:attr(data-day);position:absolute;bottom:-25px;left:50%;transform:translateX(-50%);font-size:10px;color:#7c8a9e}.review-calendar-card>p{font-size:12px;color:var(--muted);margin-top:35px}.progress-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.activity-card,.skill-cards,.profile-layout>article{background:#fff;border:1px solid var(--line);border-radius:22px}.activity-card{padding:24px}.activity-chart{height:250px;display:flex;align-items:flex-end;gap:12px;padding-top:25px}.activity-chart .bar{height:var(--h);flex:1;background:#e7effb;border-radius:9px 9px 2px 2px;position:relative;overflow:visible}.activity-chart .bar.active{background:linear-gradient(#54a8ff,var(--blue))}.activity-chart .bar:after{content:attr(data-day);position:absolute;bottom:-25px;left:50%;transform:translateX(-50%);font-size:10px;color:#7d899c}.skill-cards{padding:24px;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.skill-cards article{box-shadow:none;padding:16px;border-radius:17px;display:flex;align-items:center;gap:12px}.skill-ring{--p:50;width:57px;height:57px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) calc(var(--p)*1%),#edf1f6 0);position:relative;flex:none}.skill-ring:after{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}.skill-ring b{position:relative;z-index:1;font-size:10px}.skill-cards h3{font-size:14px;margin:0}.skill-cards p{font-size:10px;color:var(--muted);margin:2px 0 0}.activity-feed{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}.activity-feed h3{margin-bottom:15px}.feed-item{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;border-top:1px solid #edf1f6;padding:12px 0}.feed-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#edf4ff;color:var(--blue)}.feed-item p{margin:0;font-size:13px}.feed-item small{color:var(--muted)}.profile-layout{display:grid;grid-template-columns:.65fr 1.35fr;gap:18px}.profile-summary{padding:28px;text-align:center}.profile-avatar{width:88px;height:88px;border-radius:26px;font-size:34px;margin:0 auto 15px}.profile-summary h2{margin-bottom:3px}.profile-summary p{color:var(--muted)}.profile-score{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.profile-score div{display:flex;flex-direction:column}.profile-score div+div{border-right:1px solid var(--line)}.profile-score b{font-size:22px}.profile-score span{font-size:10px;color:var(--muted)}.profile-settings{padding:25px}.settings-list{display:grid;gap:9px;margin-top:18px}.settings-list button{border:1px solid #e5eaf2;background:#fff;border-radius:14px;padding:13px;text-align:right;display:flex;align-items:center;justify-content:space-between}.settings-list button span{color:#7b899d}.settings-list .danger{color:#cc3f55;background:#fff7f8;border-color:#f7d9df}

/* Lesson */
.lesson-overlay{position:fixed;inset:0;background:#f7f9fc;z-index:1000;display:none;overflow:auto}.lesson-overlay.is-active{display:block}.lesson-header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:grid;grid-template-columns:55px 1fr 70px;align-items:center;gap:15px;padding:0 25px;position:sticky;top:0;z-index:15}.lesson-close{width:42px;height:42px;border:0;background:#f0f4f8;border-radius:13px;font-size:25px;color:#59687d}.lesson-header-center{text-align:center}.lesson-header-center>span{font-size:12px;font-weight:900}.lesson-progress-track{max-width:550px;height:7px;background:#edf1f6;border-radius:99px;margin:7px auto 0;overflow:hidden}.lesson-progress-track span{display:block;width:5.5%;height:100%;background:linear-gradient(90deg,var(--blue),#47a8ff);border-radius:99px;transition:.25s}.lesson-count{text-align:left;font-size:12px}.lesson-count b{color:var(--blue);font-size:16px}.lesson-stage-tabs{height:58px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:center;gap:6px;position:sticky;top:72px;z-index:14}.lesson-stage-tabs button{border:0;background:transparent;color:#8a96a8;padding:0 16px;font-size:11px;font-weight:900;position:relative}.lesson-stage-tabs button span{margin-right:4px}.lesson-stage-tabs button.active{color:var(--blue)}.lesson-stage-tabs button.active:after{content:"";position:absolute;right:12px;left:12px;bottom:0;height:3px;background:var(--blue);border-radius:3px 3px 0 0}.lesson-body{min-height:calc(100vh - 130px)}.lesson-stage{display:none;animation:fadeUp .2s ease}.lesson-stage.is-active{display:block}.lesson-words-stage{}.lesson-stage[data-stage-section="words"]{grid-template-columns:260px 1fr;min-height:calc(100vh - 130px)}.lesson-stage[data-stage-section="words"].is-active{display:grid}.word-list-panel{background:#fff;border-left:1px solid var(--line);padding:22px 17px;position:sticky;top:130px;height:calc(100vh - 130px);overflow:auto}.word-list-head{display:flex;justify-content:space-between;font-size:12px;font-weight:900;margin-bottom:13px}.word-list-head b{color:var(--blue)}.word-list{display:grid;gap:6px}.word-list button{border:1px solid transparent;background:#f7f9fc;border-radius:11px;padding:9px 10px;display:grid;grid-template-columns:29px 1fr auto;align-items:center;gap:8px;text-align:right;color:#55647a}.word-list button>span:first-child{width:27px;height:27px;border-radius:8px;background:#fff;display:grid;place-items:center;font-size:16px}.word-list button strong{direction:ltr;text-align:left;font-size:11px}.word-list button em{font-style:normal;font-size:11px}.word-list button.current{border-color:#a9c8ff;background:#edf5ff;color:var(--blue)}.word-list button.known em{color:var(--green)}.word-list button.review em{color:var(--orange)}.word-list-panel>p{font-size:10px;color:#8a97aa;line-height:1.7;margin-top:15px}.word-learning-area{width:min(700px,calc(100% - 35px));margin:0 auto;padding:30px 0 45px}.mascot-coach{display:flex;align-items:center;gap:12px;margin-bottom:14px}.coach-avatar{width:52px;height:52px;flex:none}.mascot-coach>div:last-child{background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px 14px;box-shadow:var(--shadow-sm)}.mascot-coach strong{font-size:12px}.mascot-coach p{font-size:10px;color:var(--muted);margin:2px 0 0}.learning-word-card{background:#fff;border:1px solid var(--line);border-radius:27px;padding:25px 30px;text-align:center;box-shadow:var(--shadow);position:relative}.word-image{width:88px;height:88px;margin:0 auto 10px;border-radius:26px;background:linear-gradient(145deg,#eaf4ff,#f8fbff);display:grid;place-items:center;font-size:50px}.word-index-label{font-size:10px;color:#8a97aa}.learning-word-card h1{font-size:55px;letter-spacing:2px;margin:2px 0 0}.learning-word-card>p{font-size:20px;font-weight:900;color:#52617a}.audio-actions{display:grid;grid-template-columns:1fr 55px;gap:10px;max-width:430px;margin:18px auto 13px}.play-main{border:0;background:linear-gradient(135deg,var(--blue),#3488ff);color:#fff;border-radius:16px;padding:11px;display:flex;align-items:center;justify-content:center;gap:11px;text-align:right}.play-main>div{display:flex;flex-direction:column}.play-main small{color:#dceaff;font-size:9px}.play-circle{width:37px;height:37px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center}.play-once{border:1px solid #dce6f5;background:#f2f7ff;color:var(--blue);border-radius:16px;font-weight:900}.repeat-indicator{display:flex;align-items:center;justify-content:center;max-width:390px;margin:0 auto 12px}.repeat-indicator span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#edf1f6;color:#8c98a9;font-size:9px;font-weight:900}.repeat-indicator span.active,.repeat-indicator span.done{background:var(--blue);color:#fff}.repeat-indicator i{height:2px;background:#e1e6ee;flex:1}.repeat-indicator i.done{background:#6fa7ff}.record-demo{border:0;background:none;color:#68768b;font-size:11px}.record-demo>span{color:#e55564}.record-demo.recording{color:#d63f52}.record-demo.recording>span{animation:pulse 1s infinite}.word-confidence{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:15px 0}.word-confidence button{border-radius:16px;padding:13px;display:flex;align-items:center;gap:11px;text-align:right;background:#fff}.word-confidence button>span{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;font-size:19px}.word-confidence button>div{display:flex;flex-direction:column}.word-confidence small{color:#7d899a;font-size:9px}.confidence-review{border:1px solid #f4d6aa;color:#b86d10}.confidence-review>span{background:#fff3df}.confidence-known{border:1px solid #bfe7d8;color:#12865f}.confidence-known>span{background:#e8f8f1}.confidence-review.selected{background:#fff8ed;border-color:#efad51}.confidence-known.selected{background:#effbf6;border-color:#55c99e}.lesson-nav-row{display:flex;align-items:center;justify-content:space-between}.round-nav{width:46px;height:46px;border:1px solid #dce3ed;background:#fff;border-radius:14px;color:#56657b;font-size:19px}.stage-centered{width:min(590px,calc(100% - 35px));margin:0 auto;padding:38px 0}.wide-stage{width:min(850px,calc(100% - 35px))}.stage-intro{display:flex;align-items:center;gap:13px;margin-bottom:19px}.stage-intro>div{flex:1}.stage-intro h2{font-size:27px;margin:0}.stage-intro p{color:var(--muted);font-size:12px;margin:4px 0}.stage-icon{width:58px;height:58px;border-radius:17px;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-size:20px;font-weight:900}.quiz-card{background:#fff;border:1px solid var(--line);border-radius:25px;padding:27px;box-shadow:var(--shadow)}.quiz-top{display:flex;align-items:center;gap:13px;font-size:11px;color:#748197}.quiz-top .bar{flex:1}.quiz-audio{width:100%;border:0;background:#edf5ff;color:var(--blue);border-radius:15px;padding:13px;display:flex;align-items:center;justify-content:center;gap:9px;margin:20px 0}.quiz-audio span{width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center}.quiz-card>h3{text-align:center;font-size:39px;letter-spacing:1px;margin:11px 0 18px}.quiz-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}.quiz-options button{border:1px solid #dfe5ee;background:#fff;border-radius:14px;padding:13px;font-weight:800;color:#526079}.quiz-options button:hover,.quiz-options button.selected{border-color:#76a7ff;background:#edf5ff;color:var(--blue)}.quiz-options button.correct{border-color:#65cba6;background:#ecfaf5;color:#13845f}.quiz-options button.wrong{border-color:#f09aaa;background:#fff0f2;color:#be3148}.quiz-feedback{min-height:28px;text-align:center;font-size:12px;font-weight:800}.quiz-feedback.good{color:var(--green)}.quiz-feedback.bad{color:var(--red)}.sentence-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:25px;display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:18px;box-shadow:var(--shadow)}.sentence-number{width:54px;height:54px;border-radius:17px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:20px;font-weight:900}.sentence-main span{font-size:9px;color:#8a97a9}.sentence-main h3{font-size:30px;margin:4px 0 2px}.sentence-main p{font-weight:800;color:#53627b;margin:0}.sentence-main p.hidden-translation{filter:blur(7px);user-select:none}.sentence-audio-controls{display:flex;gap:8px}.sentence-audio-controls button{border:0;border-radius:13px;padding:11px;background:#edf4ff;color:var(--blue);font-weight:900}.sentence-audio-controls button:first-child{background:var(--blue);color:#fff}.sentence-context{display:flex;align-items:center;gap:12px;background:#f5f8fc;border:1px solid #e5eaf2;border-radius:16px;padding:13px;margin:15px 0}.context-avatar{width:39px;height:39px;border-radius:12px;background:#dfeaff;color:var(--blue);display:grid;place-items:center;font-weight:900}.sentence-context small{color:#8995a7}.sentence-context p{margin:0;font-size:12px}.sentence-dots{display:flex;justify-content:center;gap:7px;margin:17px}.sentence-dots button{width:8px;height:8px;border:0;padding:0;border-radius:50%;background:#d3dbe6}.sentence-dots button.active{width:22px;background:var(--blue);border-radius:99px}.sentence-nav{margin-top:15px}.dialogue-layout{width:min(1000px,calc(100% - 40px));margin:0 auto;padding:38px 0;display:grid;grid-template-columns:.75fr 1.25fr;gap:28px;align-items:center}.dialogue-info h2{font-size:35px;margin:5px 0}.dialogue-info>p{color:var(--muted)}.dialogue-speed{display:grid;gap:9px;margin:22px 0}.dialogue-speed button{border:1px solid #dde5f0;background:#fff;border-radius:15px;padding:12px;display:flex;align-items:center;gap:11px;text-align:right}.dialogue-speed button>span{width:38px;height:38px;border-radius:12px;background:#edf4ff;color:var(--blue);display:grid;place-items:center}.dialogue-speed button div{display:flex;flex-direction:column}.dialogue-speed small{color:var(--muted)}.role-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.role-buttons>span{font-size:11px;color:#758399}.role-buttons button{border:1px solid #dce4ee;background:#fff;border-radius:10px;padding:7px 10px;font-size:11px}.role-buttons button.active{background:#edf4ff;color:var(--blue);border-color:#a9c7f9}.dialogue-phone{background:#fff;border:7px solid #14243c;border-radius:32px;overflow:hidden;box-shadow:0 30px 55px rgba(28,54,96,.2);max-width:500px;width:100%;margin:auto}.dialogue-phone-top{background:#f5f8fc;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;font-size:11px}.dialogue-phone-top>div{display:flex;align-items:center;gap:7px}.online-dot{width:8px;height:8px;background:#1cb77e;border-radius:50%}.dialogue-lines{padding:18px;display:flex;flex-direction:column;gap:10px;min-height:350px}.dialogue-lines button{border:0;max-width:77%;padding:10px 13px;border-radius:15px;text-align:left;direction:ltr}.dialogue-lines button[data-speaker="A"]{align-self:flex-start;background:#edf4ff;color:#164eaa;border-bottom-left-radius:4px}.dialogue-lines button[data-speaker="B"]{align-self:flex-end;background:#1565f6;color:#fff;border-bottom-right-radius:4px}.dialogue-lines button.active-line{box-shadow:0 0 0 3px rgba(21,101,246,.18)}.dialogue-lines button small{display:block;direction:rtl;text-align:right;opacity:.7;margin-top:3px}.dialogue-footer{border-top:1px solid #e8edf4;padding:11px 15px;display:flex;justify-content:space-between;color:#8a96a7;font-size:10px}.dialogue-footer button{border:0;background:#edf2f8;border-radius:9px;width:30px;height:30px}.complete-card{width:min(700px,calc(100% - 35px));margin:40px auto;background:#fff;border:1px solid var(--line);border-radius:30px;padding:38px;text-align:center;box-shadow:var(--shadow);position:relative;overflow:hidden}.complete-mascot{width:120px;height:120px;margin:0 auto 12px}.complete-card h1{font-size:34px;margin:3px 0 8px}.complete-card>p{color:var(--muted)}.complete-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:25px 0}.complete-stats div{background:#f5f8fc;border-radius:15px;padding:15px}.complete-stats b{display:block;font-size:25px;color:var(--blue)}.complete-stats span{font-size:10px;color:var(--muted)}.complete-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.confetti{position:absolute;width:12px;height:30px;border-radius:3px;transform:rotate(25deg)}.confetti.c1{background:#ffc84a;right:12%;top:12%}.confetti.c2{background:#4fd2a3;left:14%;top:18%;transform:rotate(-35deg)}.confetti.c3{background:#7d65e8;right:20%;bottom:19%;transform:rotate(65deg)}
/* Owner */
.owner-screen.is-active{display:flex;background:#f4f7fb}.owner-sidebar{width:var(--owner-sidebar);height:100vh;position:fixed;right:0;top:0;background:#10233f;color:#dce7f7;padding:24px 16px;display:flex;flex-direction:column;z-index:50}.owner-brand{color:#fff;padding:0 8px 20px;border-bottom:1px solid rgba(255,255,255,.1);width:100%}.owner-brand .brand-mark{background:#fff}.owner-brand .brand-copy small{color:#98abc4}.owner-nav{display:grid;gap:4px;margin-top:18px}.owner-nav>span{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#6f86a4;padding:15px 13px 4px;font-weight:900}.owner-nav button{color:#adbed3;padding:11px 12px}.owner-nav button i{font-style:normal;width:24px;text-align:center;font-size:17px}.owner-nav button:hover,.owner-nav button.active{background:rgba(255,255,255,.1);color:#fff}.owner-nav button em{background:#f4a13c;color:#fff}.owner-profile{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding:16px 6px 0;display:grid;grid-template-columns:39px 1fr 32px;align-items:center;gap:8px}.owner-profile>span{width:38px;height:38px;border-radius:12px;background:var(--blue);display:grid;place-items:center;font-weight:900}.owner-profile div{display:flex;flex-direction:column}.owner-profile small{color:#8096b1}.owner-profile button{border:0;background:rgba(255,255,255,.09);color:#fff;border-radius:9px;width:31px;height:31px}.owner-main{width:calc(100% - var(--owner-sidebar));margin-right:var(--owner-sidebar)}.owner-topbar{height:85px;background:#fff;border-bottom:1px solid var(--line);padding:0 30px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:30}.owner-top-actions{display:flex;gap:10px;align-items:center}.owner-content{padding:28px 30px 60px}.owner-view{display:none;animation:fadeUp .23s ease}.owner-view.is-active{display:block}.owner-welcome{background:linear-gradient(135deg,#f0f6ff,#fff);border:1px solid #dce8fa;border-radius:22px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.owner-welcome span{font-size:11px;color:var(--blue);font-weight:900}.owner-welcome h2{font-size:25px;margin:4px 0}.owner-welcome p{color:var(--muted);margin:0}.owner-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.owner-stat-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;display:flex;gap:12px;align-items:center}.owner-stat-icon{width:48px;height:48px}.owner-stat-grid span{display:block;font-size:11px;color:#6c7a8e}.owner-stat-grid b{font-size:25px}.owner-stat-grid small{display:block;font-size:9px;color:#8996a7}.up{color:#119166!important}.owner-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:18px}.pending-table-card,.activity-card,.content-health-card,.quick-actions-card,.full-table-card,.admin-level-card,.audio-table-card,.hard-words,.completion-funnel,.settings-grid>article{background:#fff;border:1px solid var(--line);border-radius:21px;padding:22px}.pending-table-card{grid-column:1}.responsive-table{overflow:auto}.responsive-table table{width:100%;border-collapse:collapse;min-width:650px}.responsive-table th{font-size:10px;color:#8491a4;text-align:right;padding:11px;border-bottom:1px solid #e6ebf2}.responsive-table td{padding:12px 11px;border-bottom:1px solid #edf1f5;font-size:12px}.student-cell{display:flex;align-items:center;gap:9px}.student-cell>span{width:35px;height:35px;border-radius:11px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.student-cell>div{display:flex;flex-direction:column}.student-cell small{color:#8a96a7}.status-badge{font-size:9px;font-weight:900;border-radius:99px;padding:5px 8px;display:inline-block;white-space:nowrap}.active-status{background:#e8f8f1;color:#12875f}.pending-status{background:#fff3df;color:#ad6813}.draft-status{background:#efeaff;color:#654bc7}.row-actions{display:flex;gap:6px}.approve-btn,.reject-btn,.dots-btn{border:0;border-radius:9px;padding:6px 9px;font-size:10px;font-weight:900}.approve-btn{background:#e7f8f1;color:#12865f}.reject-btn{background:#fff0f2;color:#bd3148}.dots-btn{background:#f1f4f8}.table-progress{display:flex;align-items:center;gap:8px}.table-progress>span{width:75px;height:6px;background:#edf1f6;border-radius:99px;overflow:hidden}.table-progress i{display:block;height:100%;background:var(--blue)}.table-progress b{font-size:10px}.pending-table-card .section-row{margin-bottom:8px}.small-badge{font-size:10px;background:#edf4ff;color:var(--blue);padding:6px 9px;border-radius:9px;font-weight:900}.activity-card{padding-bottom:12px}.activity-card .activity-chart{height:180px}.content-health-card{display:flex;align-items:center;gap:22px}.health-circle{--p:62;width:100px;height:100px;border-radius:50%;background:conic-gradient(var(--blue) calc(var(--p)*1%),#edf1f5 0);display:grid;place-items:center;position:relative}.health-circle:after{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}.health-circle b{z-index:1;font-size:21px}.health-items{flex:1;display:grid;gap:7px}.health-items div{display:flex;justify-content:space-between;font-size:11px;padding-bottom:6px;border-bottom:1px solid #edf1f5}.green-text{color:var(--green)}.warning-text{color:#d98318}.quick-actions-card h3{margin-bottom:13px}.quick-actions{display:grid;gap:9px}.quick-actions button{border:1px solid #e3e9f1;background:#fff;border-radius:13px;padding:10px;display:flex;align-items:center;gap:10px;text-align:right}.quick-actions button>span{width:37px;height:37px;border-radius:11px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.quick-actions button div{display:flex;flex-direction:column}.quick-actions small{color:var(--muted)}.owner-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.owner-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.owner-section-head h2{font-size:29px;margin:2px 0}.owner-section-head p{color:var(--muted);margin:0}.filter-bar{display:flex;gap:10px;margin-bottom:14px}.search-field{background:#fff;border:1px solid #dfe6f0;border-radius:13px;height:48px;padding:0 14px;display:flex;align-items:center;gap:8px;flex:1}.search-field input{border:0;outline:0;width:100%;background:transparent}.filter-bar select{height:48px;width:auto;min-width:150px}.full-table-card{padding:10px 18px}.content-toolbar{display:flex;justify-content:space-between;gap:15px;margin-bottom:15px}.content-tabs{display:flex;gap:5px;background:#eaf0f7;padding:5px;border-radius:13px}.content-tabs button{border:0;background:transparent;border-radius:9px;padding:8px 13px;color:#68768a;font-size:11px;font-weight:800}.content-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 4px 10px rgba(25,50,88,.08)}.admin-level-card{padding:0;overflow:hidden}.admin-level-head{padding:22px;display:grid;grid-template-columns:70px 1fr auto;gap:15px;align-items:center;background:linear-gradient(135deg,#f4f8ff,#fff)}.admin-level-number{width:62px;height:62px;border-radius:18px;background:linear-gradient(145deg,var(--blue),#3b8eff);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900}.admin-level-head h3{font-size:21px;margin:4px 0 2px}.admin-level-head p{color:var(--muted);font-size:11px;margin:0}.admin-level-actions{display:flex;gap:7px}.admin-level-actions button,.admin-lesson-row>button,.upload-small{border:1px solid #dce4ee;background:#fff;border-radius:9px;padding:7px 10px;font-size:10px;color:#516076}.admin-lessons{padding:12px 20px 20px}.admin-lesson-row{display:grid;grid-template-columns:25px 37px 1fr auto auto;gap:10px;align-items:center;padding:11px;border-bottom:1px solid #edf1f5}.admin-lesson-row> b{width:34px;height:34px;border-radius:10px;background:#edf4ff;color:var(--blue);display:grid;place-items:center}.admin-lesson-row div{display:flex;flex-direction:column}.admin-lesson-row small{color:var(--muted)}.drag{color:#a2adbc}.admin-lesson-row.muted{opacity:.65}.add-lesson-row{border:1px dashed #bfd0e7;background:#f8fbff;color:var(--blue);width:100%;border-radius:12px;padding:11px;margin-top:12px;font-weight:800}.empty-levels{margin-top:15px;border:1px dashed #cdd8e7;background:#f8fafc;border-radius:19px;padding:20px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:17px}.empty-levels>span{font-size:26px;font-weight:900;color:#9aabc1}.empty-levels h3{margin:0 0 2px}.empty-levels p{margin:0;color:var(--muted);font-size:11px}.audio-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:16px}.audio-summary article{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px;display:flex;align-items:center;gap:11px}.audio-summary article>span{width:42px;height:42px;border-radius:12px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.audio-summary div{display:flex;flex-direction:column}.audio-summary b{font-size:21px}.audio-summary small{color:var(--muted);font-size:9px}.audio-list{display:grid}.audio-row{display:grid;grid-template-columns:39px 1fr auto auto;align-items:center;gap:12px;border-top:1px solid #edf1f5;padding:11px 0}.audio-play-small{width:36px;height:36px;border:0;border-radius:11px;background:#edf4ff;color:var(--blue)}.audio-row div{display:flex;flex-direction:column}.audio-row small{color:var(--muted)}.file-placeholder{font-size:9px;background:#f2f4f7;color:#778497;padding:5px 8px;border-radius:8px}.report-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:16px}.report-cards article{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px}.report-cards span{font-size:10px;color:#6e7d92;display:block}.report-cards b{font-size:28px;display:block;margin:5px 0}.report-cards small{color:#8b97a8}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hard-word-row{display:grid;grid-template-columns:28px 75px 1fr 42px;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #edf1f5}.hard-word-row>b{width:26px;height:26px;border-radius:8px;background:#edf4ff;color:var(--blue);display:grid;place-items:center}.hard-word-row>span{font-weight:900}.hard-word-row>div{height:7px;background:#edf1f5;border-radius:99px;overflow:hidden}.hard-word-row i{display:block;height:100%;background:linear-gradient(90deg,#ffb44e,#ee7a2d)}.hard-word-row em{font-style:normal;font-size:10px}.completion-funnel>div{display:grid;gap:10px;margin-top:20px}.completion-funnel>div span{width:var(--w);max-width:100%;background:linear-gradient(90deg,#edf4ff,#dceaff);color:#245398;border-radius:10px;padding:9px 12px;font-size:11px;display:flex;justify-content:space-between}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-grid>article{display:grid;gap:14px}.settings-grid h3{margin-bottom:3px}.domain-field{display:flex;align-items:center;border:1px solid #dce4ef;border-radius:13px;overflow:hidden}.domain-field span{background:#f1f4f8;padding:14px 10px;color:#78869a}.domain-field input{border:0!important;border-radius:0!important}.color-setting{display:flex;align-items:center;justify-content:space-between}.color-setting>span{font-size:13px;font-weight:800;color:#4c5a70}.color-setting>div{display:flex;gap:7px}.color-dot{width:29px;height:29px;border-radius:50%;border:3px solid #fff;background:var(--c);box-shadow:0 0 0 1px #dfe5ee}.color-dot.selected{box-shadow:0 0 0 3px #a8c7ff}.toggle-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f5;padding-bottom:12px}.toggle-row div{display:flex;flex-direction:column}.toggle-row small{color:var(--muted)}.switch input{display:none}.switch span{display:block;width:46px;height:26px;background:#cfd7e2;border-radius:99px;position:relative;transition:.2s}.switch span:after{content:"";width:20px;height:20px;border-radius:50%;background:#fff;position:absolute;top:3px;left:3px;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.2s}.switch input:checked+span{background:var(--blue)}.switch input:checked+span:after{left:23px}

@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.65}}

/* responsive */
@media(max-width:1100px){
  .method-grid{grid-template-columns:repeat(2,1fr)}.hero{gap:20px}.hero h1{font-size:55px}.owner-stat-grid,.audio-summary,.report-cards{grid-template-columns:repeat(2,1fr)}.owner-grid,.owner-bottom-grid{grid-template-columns:1fr}.owner-grid .pending-table-card{grid-column:auto}.stats-strip{grid-template-columns:repeat(2,1fr)}.home-lower-grid{grid-template-columns:1fr}.progress-layout{grid-template-columns:1fr}.profile-layout{grid-template-columns:1fr}.skill-cards{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:900px){
  .public-nav{display:none}.hero{grid-template-columns:1fr;text-align:center;padding-top:40px}.hero-copy{padding:0}.hero-lead{margin-inline:auto}.hero-actions,.trust-row{justify-content:center}.hero-visual{height:540px}.levels-preview-layout{grid-template-columns:1fr;gap:35px}.levels-copy{text-align:center}.levels-copy p{margin-inline:auto}.levels-stack{margin:auto;width:100%}.level-pill.unlocked{transform:none}.cta-card{flex-direction:column;text-align:center}.auth-screen.is-active{grid-template-columns:1fr}.auth-visual-panel{display:none}.auth-form-panel{min-height:100vh;padding:70px 25px 35px}.mobile-back{display:block}.app-sidebar{display:none}.app-main-shell{width:100%;margin:0}.app-topbar{padding:0 20px;height:75px}.app-content{padding:20px 18px 90px}.mobile-logo{display:flex;border:0;background:none;align-items:center;gap:6px}.topbar-title{display:none}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:60;right:0;left:0;bottom:0;background:rgba(255,255,255,.96);border-top:1px solid var(--line);padding:7px 6px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(30,55,92,.08)}.mobile-bottom-nav button{border:0;background:none;color:#8190a4;display:flex;flex-direction:column;align-items:center;gap:2px;position:relative;font-size:20px}.mobile-bottom-nav small{font-size:9px}.mobile-bottom-nav button.active{color:var(--blue)}.mobile-bottom-nav i{position:absolute;top:-3px;right:25%;font-size:8px;background:#f15e72;color:#fff;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;font-style:normal}.owner-sidebar{width:78px;padding:18px 9px}.owner-brand .brand-copy,.owner-nav button:not(.active){font-size:0}.owner-brand{justify-content:center;padding:0 0 15px}.owner-brand .brand-mark{width:45px}.owner-nav>span{display:none}.owner-nav button{justify-content:center;padding:12px;margin-bottom:6px}.owner-nav button i{font-size:20px}.owner-nav button em{position:absolute;margin:0;transform:translate(19px,-15px);font-size:8px}.owner-profile div,.owner-profile button{display:none}.owner-profile{display:block;padding-inline:10px}.owner-profile>span{margin:auto}.owner-main{width:calc(100% - 78px);margin-right:78px}.owner-content{padding:20px 18px 50px}.owner-topbar{padding:0 20px}.dialogue-layout{grid-template-columns:1fr}.dialogue-info{text-align:center}.dialogue-speed{grid-template-columns:1fr 1fr}.role-buttons{justify-content:center}.lesson-stage[data-stage-section="words"]{grid-template-columns:1fr}.word-list-panel{display:none}.word-learning-area{padding-top:22px}.lesson-stage-tabs button{padding:0 10px}.lesson-stage-tabs button span{display:none}.review-grid{grid-template-columns:1fr}.levels-map{grid-template-columns:1fr}.level-map-card.compact{grid-column:auto}
}
@media(max-width:650px){
  .container-wide{width:min(100% - 28px,1220px)}.public-header{height:70px}.public-header .brand-copy small,.public-header>.btn{display:none}.brand-mark{width:42px;height:42px}.hero{min-height:auto;padding:40px 0 55px}.hero h1{font-size:43px;letter-spacing:-1px}.hero-lead{font-size:15px}.hero-actions{display:grid}.hero-actions .btn{width:100%}.trust-row{gap:10px;font-size:10px}.trust-row b{font-size:14px}.hero-visual{height:500px;margin-top:-15px}.phone-mockup{width:260px}.orbit-one{width:360px;height:360px}.orbit-two{width:300px;height:300px}.floating-badge{font-size:10px}.badge-top{right:-4px}.badge-bottom{left:-4px}.section-block{padding-block:60px}.method-grid{grid-template-columns:1fr}.levels-preview-layout{padding-block:60px}.levels-copy h2{font-size:35px}.cta-section{padding-block:55px}.cta-card{padding:28px 20px}.cta-card h2{font-size:27px}.cta-actions{display:grid;width:100%}.public-footer{flex-direction:column;justify-content:center;padding-block:25px;text-align:center}.pending-screen.is-active{padding:15px}.pending-card{padding:30px 20px}.status-box{grid-template-columns:auto 1fr}.status-box>b{grid-column:2;justify-self:start}.topbar-actions .user-chip div{display:none}.user-chip{padding:5px}.welcome-grid{grid-template-columns:1fr}.continue-card{grid-template-columns:1fr;min-height:360px}.continue-art{position:absolute;left:15px;bottom:5px;opacity:.35}.continue-copy{max-width:80%}.review-due-card{padding:19px}.stats-strip{grid-template-columns:1fr 1fr;gap:9px}.stats-strip article{padding:13px;grid-template-columns:auto 1fr}.stats-strip article>em{display:none}.stat-icon{width:36px;height:36px}.stats-strip b{font-size:18px}.stats-strip small{font-size:9px}.section-row{align-items:center}.current-level-card,.daily-tip-card{padding:19px}.view-hero{padding:21px;display:block}.view-hero h2{font-size:25px}.total-progress{margin-top:18px}.level-map-card{grid-template-columns:53px 1fr 35px;padding:14px;gap:10px}.level-number{width:51px;height:60px}.level-details h3{font-size:16px}.level-details p{display:none}.level-meta{gap:6px}.level-detail-hero{grid-template-columns:1fr;text-align:center;padding:23px}.level-big-num{display:none}.level-detail-hero .progress-ring{margin:auto}.level-detail-meta{justify-content:center}.lesson-list-card{grid-template-columns:48px 1fr;padding:14px}.lesson-action{grid-column:2}.lesson-state>span{width:43px;height:43px}.review-hero{grid-template-columns:1fr;text-align:center}.review-count{margin:auto}.review-items>div{grid-template-columns:36px 1fr}.review-items>div em{grid-column:2;justify-self:start}.skill-cards{grid-template-columns:1fr 1fr;padding:15px}.activity-card{padding:18px}.profile-layout{gap:12px}.lesson-header{padding:0 12px;grid-template-columns:45px 1fr 45px}.lesson-stage-tabs{gap:0}.lesson-stage-tabs button{flex:1}.word-learning-area{width:calc(100% - 20px)}.mascot-coach{display:none}.learning-word-card{padding:20px 15px}.word-image{width:75px;height:75px;font-size:42px}.learning-word-card h1{font-size:46px}.audio-actions{grid-template-columns:1fr 51px}.word-confidence{gap:8px}.word-confidence button{padding:9px}.word-confidence button>span{width:35px;height:35px}.stage-centered,.wide-stage{width:calc(100% - 20px);padding-top:25px}.stage-intro{align-items:flex-start}.stage-intro h2{font-size:22px}.stage-icon{width:50px;height:50px}.quiz-card{padding:19px 15px}.quiz-options{grid-template-columns:1fr}.sentence-card{grid-template-columns:45px 1fr;padding:17px 14px}.sentence-number{width:43px;height:43px}.sentence-main h3{font-size:23px}.sentence-audio-controls{grid-column:1/-1;justify-content:center}.sentence-audio-controls button:first-child{flex:1}.dialogue-layout{width:calc(100% - 20px);padding-top:24px}.dialogue-info h2{font-size:27px}.dialogue-phone{border-width:5px;border-radius:26px}.dialogue-lines{min-height:300px;padding:13px}.complete-card{width:calc(100% - 20px);padding:27px 16px}.complete-card h1{font-size:27px}.complete-stats{gap:6px}.complete-stats div{padding:12px 6px}.complete-stats b{font-size:20px}.owner-sidebar{display:none}.owner-main{width:100%;margin:0}.owner-topbar{height:74px}.owner-top-actions .btn{display:none}.owner-content{padding:18px 12px 40px}.owner-welcome{display:block;padding:20px}.owner-welcome .btn{margin-top:15px}.owner-stat-grid,.audio-summary,.report-cards{grid-template-columns:1fr 1fr;gap:9px}.owner-stat-grid article{padding:12px;gap:8px}.owner-stat-icon{width:40px;height:40px}.owner-stat-grid b{font-size:21px}.owner-section-head{display:block}.owner-section-head .btn,.owner-section-head select{margin-top:12px}.filter-bar{display:grid}.filter-bar select{width:100%}.content-toolbar{display:block}.content-tabs{overflow:auto;margin-bottom:9px}.admin-level-head{grid-template-columns:55px 1fr}.admin-level-number{width:52px;height:52px}.admin-level-actions{grid-column:1/-1}.admin-lesson-row{grid-template-columns:22px 33px 1fr}.admin-lesson-row .status-badge,.admin-lesson-row>button{grid-column:3;justify-self:start}.empty-levels{grid-template-columns:1fr;text-align:center}.audio-row{grid-template-columns:36px 1fr}.audio-row .file-placeholder,.audio-row .upload-small{grid-column:2;justify-self:start}.report-grid,.settings-grid{grid-template-columns:1fr}.hard-word-row{grid-template-columns:26px 60px 1fr 35px}.owner-topbar h1{font-size:19px}.owner-top-actions{gap:5px}
}
/* Owner readiness card correction */
.content-health-card{display:block}
.content-health-card>.section-row{margin-bottom:8px}
.content-health-card .health-circle{width:auto;height:auto;border-radius:0;background:none;display:flex;align-items:center;gap:16px;margin:16px 0;position:static}
.content-health-card .health-circle:after{display:none}
.content-health-card .health-circle .progress-ring{width:82px;height:82px;flex:none}
.content-health-card .health-circle p{margin:0;color:var(--muted);font-size:12px}
.content-health-card .health-items{margin-bottom:15px}
@media(max-width:650px){.content-health-card .health-circle{justify-content:center}.content-health-card>.section-row{align-items:flex-start}}
.landing-screen{overflow-x:hidden}

/* =========================================================
   المرحلة الثالثة: المحتوى الديناميكي والصوت والتسجيل
   ========================================================= */
.boot-screen{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:radial-gradient(circle at 50% 30%,#f4f9ff 0,#eef5ff 38%,#e7f0ff 100%);transition:opacity .25s ease,visibility .25s ease}.boot-screen.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.boot-card{width:min(360px,calc(100% - 32px));padding:32px 26px;border:1px solid rgba(30,92,210,.12);border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 24px 70px rgba(26,75,155,.16);display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}.boot-logo{width:70px;height:70px}.boot-logo svg{width:100%;height:100%}.boot-card strong{font-size:20px;color:#102348}.boot-card small{color:#677590}.boot-spinner{width:30px;height:30px;border:3px solid #d8e7ff;border-top-color:#1565ff;border-radius:50%;animation:phase3spin .75s linear infinite}@keyframes phase3spin{to{transform:rotate(360deg)}}
.api-status{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #dce8fa;border-radius:999px;background:#f8fbff;color:#48617f;white-space:nowrap}.api-status span{width:8px;height:8px;border-radius:50%;background:#24ad67;box-shadow:0 0 0 4px rgba(36,173,103,.12)}.api-status b{font-size:12px}.api-status small{font-size:11px;color:#20a05e}.api-status.is-offline span{background:#e48b25;box-shadow:0 0 0 4px rgba(228,139,37,.14)}.api-status.is-offline small{color:#c27117}.api-status.is-error span{background:#dc4d54;box-shadow:0 0 0 4px rgba(220,77,84,.13)}.api-status.is-error small{color:#c7363e}
.demo-credentials{display:grid;gap:5px;margin-top:11px;padding:11px 13px;border:1px dashed #cbdcf5;border-radius:13px;background:#f7faff;color:#62718b;font-size:11px;direction:ltr;text-align:left}.demo-credentials b{color:#1d365f}.auth-form-wrap #demo-owner-login{margin-top:9px}.form-error{display:none;padding:11px 13px;border-radius:12px;background:#fff2f2;color:#b62f38;border:1px solid #ffd2d5;font-size:13px;line-height:1.55}.form-error.show{display:block}.btn.is-loading{position:relative;color:transparent!important;pointer-events:none}.btn.is-loading:after{content:"";position:absolute;width:18px;height:18px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:phase3spin .65s linear infinite}.btn-soft.is-loading:after,.btn-dark-outline.is-loading:after{border-color:rgba(20,70,145,.2);border-top-color:#155dcc}
.pending-card .status-box.status-active{background:#effaf4;border-color:#cdeedc}.pending-card .status-box.status-active .status-dot{background:#24ad67}.pending-card .status-box.status-active>b{color:#17894f}.pending-card .status-box.status-blocked{background:#fff3f3;border-color:#f6d1d4}.pending-card .status-box.status-blocked .status-dot{background:#dc4d54}.pending-card .status-box.status-blocked>b{color:#bd333c}
.save-state{font-size:12px;color:#319b67;background:#eefaf4;padding:6px 10px;border-radius:999px}.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.profile-form-grid label{display:grid;gap:7px}.profile-form-grid label>span,.account-readonly>span{font-size:12px;font-weight:700;color:#6b7b94}.profile-form-grid input{width:100%;height:46px;border:1px solid #dce5f2;border-radius:13px;padding:0 13px;background:#fff;color:#132a4f;outline:none}.profile-form-grid input:focus{border-color:#397af1;box-shadow:0 0 0 3px rgba(30,101,238,.1)}.account-readonly{display:grid;gap:7px;padding:12px 14px;border:1px solid #e5ecf6;border-radius:13px;background:#f8fafd}.account-readonly b{font-size:14px;color:#1b3154}.account-readonly.wide{grid-column:1/-1}.profile-form-grid>button{justify-self:start}.password-change-grid{align-items:end}.password-change-grid>button{height:46px}.profile-avatar{display:grid;place-items:center;font-weight:900}
.filter-summary{margin-inline-start:auto;padding:8px 12px;color:#64738a;font-size:12px;background:#f4f7fb;border-radius:999px}.table-empty{padding:36px!important;text-align:center!important;color:#75839a}.student-row-action{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:34px;padding:0 11px;border:1px solid #dce6f4;border-radius:10px;background:#fff;color:#345172;font-weight:800}.student-row-action:hover{border-color:#8eb2ee;color:#155dcc}.owner-table-loading{opacity:.55;pointer-events:none}.activity-feed-items{display:grid}.activity-feed-items .feed-item:last-child{border-bottom:0}.activity-feed-items .feed-icon{flex:0 0 auto}
.modal-backdrop{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(10,24,49,.58);backdrop-filter:blur(6px)}.modal-backdrop.is-active{display:flex}.app-modal{display:none;width:min(760px,100%);max-height:min(880px,calc(100vh - 40px));overflow:auto;background:#fff;border-radius:24px;box-shadow:0 28px 100px rgba(4,20,49,.32);border:1px solid rgba(255,255,255,.55)}.app-modal.is-active{display:block}.app-modal>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e8eef7;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}.app-modal>header h2{margin:4px 0 0;color:#10274c;font-size:22px}.modal-close{width:38px;height:38px;border:0;border-radius:12px;background:#f1f5fb;color:#4d617e;font-size:25px;line-height:1}.student-modal-summary{display:flex;align-items:center;gap:13px;padding:20px 24px 4px}.student-modal-summary>span{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#eaf2ff;color:#155dcc;font-weight:900;font-size:19px}.student-modal-summary>div{display:grid;gap:3px;margin-inline-end:auto}.student-modal-summary strong{color:#16325a}.student-modal-summary small{color:#728199}.modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:20px 24px}.modal-form label{display:grid;gap:7px}.modal-form label>span,.modal-reset-form label>span{font-size:12px;font-weight:800;color:#64758f}.modal-form input,.modal-form select,.modal-form textarea,.modal-reset-form input{width:100%;border:1px solid #dce6f2;border-radius:12px;background:#fff;color:#183052;padding:0 12px;outline:none}.modal-form input,.modal-form select,.modal-reset-form input{height:44px}.modal-form textarea{padding-block:11px;resize:vertical}.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus,.modal-reset-form input:focus{border-color:#3d7bf0;box-shadow:0 0 0 3px rgba(30,101,238,.09)}.modal-form .wide{grid-column:1/-1}.modal-form>button{grid-column:1/-1;justify-self:end}.student-progress-box{grid-column:1/-1;padding:15px;border-radius:14px;background:#f6f9fd;border:1px solid #e3ebf6}.student-progress-box>div{display:flex;justify-content:space-between;color:#576b87;font-size:12px}.student-progress-box>span{display:block;height:8px;margin:9px 0;border-radius:999px;background:#e1e9f5;overflow:hidden}.student-progress-box i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1765f4,#47a8ff);transition:width .25s}.student-progress-box small{color:#8290a3}.modal-reset-form{display:flex;align-items:end;gap:12px;padding:0 24px 24px;border-top:1px solid #eef2f8;margin-top:2px;padding-top:18px}.modal-reset-form label{display:grid;gap:7px;flex:1}.offline-preview-notice{position:fixed;bottom:14px;left:50%;z-index:11000;transform:translateX(-50%);padding:9px 14px;border-radius:999px;background:#172d51;color:#fff;font-size:12px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.status-badge.expired-status{background:#f1eefb;color:#6a50a8}.status-badge.rejected-status{background:#fff0f1;color:#b93e49}.status-badge.suspended-status{background:#fff5e8;color:#ae6a17}.status-badge.pending-status{background:#fff5e8;color:#aa681b}.status-badge.active-status{background:#edf9f3;color:#258757}.row-actions .approve-btn:disabled,.row-actions .reject-btn:disabled{opacity:.45;pointer-events:none}.account-expiry-warning{color:#b56319!important}.account-expiry-danger{color:#bd3841!important}
.connection-error-card{width:min(560px,calc(100% - 32px));margin:80px auto;padding:28px;border-radius:24px;background:#fff;border:1px solid #eed9da;box-shadow:0 24px 70px rgba(80,30,35,.12);text-align:center}.connection-error-card h2{color:#9c2e36}.connection-error-card p{color:#6a7587;line-height:1.8}.connection-error-card code{display:block;margin:14px 0;padding:12px;border-radius:12px;background:#f5f7fb;direction:ltr;text-align:left;color:#263b5d}

@media(max-width:900px){.api-status b{display:none}.api-status{padding:8px}.profile-form-grid,.modal-form{grid-template-columns:1fr}.account-readonly.wide,.modal-form .wide,.modal-form>button,.student-progress-box{grid-column:auto}.modal-form>button{width:100%;justify-self:stretch}.app-modal{border-radius:20px}.modal-reset-form{flex-direction:column;align-items:stretch}.modal-reset-form button{width:100%}}
@media(max-width:620px){.boot-card{padding:26px 20px}.api-status{display:none}.profile-form-grid{gap:12px}.modal-backdrop{padding:0;align-items:flex-end}.app-modal{width:100%;max-height:92vh;border-radius:24px 24px 0 0}.app-modal>header{padding:18px}.student-modal-summary,.modal-form{padding-inline:18px}.modal-reset-form{padding-inline:18px}.demo-credentials{font-size:10px}.filter-summary{width:100%;text-align:center;margin:0}.save-state{display:none}}

/* =========================================================
   PHASE 3 — AUTHENTICATION, DYNAMIC LESSONS, AUDIO & CONTENT STUDIO
   ========================================================= */
.app-loading{position:fixed;inset:0;z-index:10000;display:grid;place-content:center;justify-items:center;gap:18px;background:linear-gradient(150deg,#f6faff,#eef5ff);transition:opacity .25s ease,visibility .25s ease}.app-loading.is-hidden{opacity:0;visibility:hidden}.loading-brand{display:flex;align-items:center;gap:12px;font-size:22px;color:#123b86}.loading-spinner{width:42px;height:42px;border:4px solid #dbe8ff;border-top-color:#1565ff;border-radius:50%;animation:phase3-spin .8s linear infinite}.app-loading p{margin:0;color:#5c6f91;font-weight:700}@keyframes phase3-spin{to{transform:rotate(360deg)}}
.form-message{padding:12px 14px;border-radius:14px;background:#fff0f1;border:1px solid #ffc9cd;color:#a82635;font-size:14px;font-weight:700;line-height:1.65}.form-message.success{background:#edf9f3;border-color:#bcebd2;color:#13734a}.form-message[hidden]{display:none}.demo-login-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.demo-credentials{display:block;text-align:center;margin-top:9px;color:#7f8da8}.auth-form-wrap label small{font-weight:500;color:#8491a8}
.status-box .pending-status,.status-box .suspended-status,.status-box .rejected-status,.status-box .expired-status{padding:7px 11px;border-radius:999px;font-size:12px}.suspended-status{background:#fff4df;color:#a25a00}.rejected-status{background:#fff0f1;color:#af2937}.expired-status{background:#f1efff;color:#5d47b8}.success-ring.status-suspended,.success-ring.status-rejected,.success-ring.status-expired{background:#fff2f2;color:#d54450}.success-ring.status-expired{background:#f2efff;color:#6552c9}
.system-live{display:flex;align-items:center;gap:10px;background:#effaf5;border:1px solid #c8ead9;border-radius:16px;padding:10px 14px}.system-live>i{width:10px;height:10px;border-radius:50%;background:#18a766;box-shadow:0 0 0 5px rgba(24,167,102,.12)}.system-live span{display:flex;flex-direction:column}.system-live strong{font-size:13px;color:#156842}.system-live small{font-size:11px;color:#6c8b7d}.api-status{display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:#effaf5;color:#176a45;font-size:12px}.api-status>span{width:8px;height:8px;border-radius:50%;background:#16a766}.api-status small{color:#638777}.table-loading,.table-empty{text-align:center!important;padding:34px!important;color:#7b899f!important}.manage-student-btn{border:0;background:#edf4ff;color:#1458cb;border-radius:10px;padding:8px 13px;font-weight:800;cursor:pointer}.manage-student-btn:hover{background:#dfeaff}.status-badge.suspended-status,.status-badge.rejected-status,.status-badge.expired-status{display:inline-flex;align-items:center;justify-content:center}.empty-review{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:12px!important;padding:20px!important}.empty-review>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eaf8f1;color:#16875a;font-size:20px}
.admin-modal{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center;padding:20px}.admin-modal.is-open{display:flex}.admin-modal-backdrop{position:absolute;inset:0;background:rgba(9,25,55,.58);backdrop-filter:blur(5px)}.admin-modal-card{position:relative;z-index:1;width:min(620px,100%);max-height:min(90vh,820px);overflow:auto;background:#fff;border-radius:26px;padding:30px;box-shadow:0 30px 100px rgba(4,20,55,.3)}.modal-close{position:absolute;top:18px;left:18px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5fb;color:#385276;font-size:24px;cursor:pointer}.admin-modal-card h2{margin:7px 0 8px;font-size:27px;color:#162c50}.admin-modal-card>p{margin:0 0 18px;color:#71809a}.student-modal-summary{display:flex;align-items:center;gap:13px;padding:16px;margin:18px 0;border-radius:18px;background:#f6f9fe}.student-modal-summary>span{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#dceaff;color:#1456c8;font-weight:900;font-size:19px}.student-modal-summary>div{display:flex;flex-direction:column;flex:1}.student-modal-summary strong{color:#17345e}.student-modal-summary small{color:#7888a2;margin-top:4px}.modal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.admin-modal-card label{display:flex;flex-direction:column;gap:7px;margin-top:14px}.admin-modal-card label>span{font-size:13px;color:#4c5e7a;font-weight:800}.admin-modal-card input,.admin-modal-card select,.admin-modal-card textarea{width:100%;border:1px solid #dbe3ef;border-radius:13px;padding:12px 13px;background:#fff;font:inherit;color:#233b60;outline:none}.admin-modal-card input:focus,.admin-modal-card select:focus,.admin-modal-card textarea:focus{border-color:#5b91ff;box-shadow:0 0 0 4px rgba(38,108,255,.1)}.modal-notes{margin-bottom:16px}.modal-actions{display:flex;gap:10px;flex-wrap:wrap}.modal-actions.main{padding-top:6px}.modal-status-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid #e9eef6}.modal-status-actions .btn{flex:1}.btn-danger-soft{border:1px solid #ffd0d4!important;background:#fff2f3!important;color:#b12e3b!important}.filter-bar .btn{white-space:nowrap}.owner-welcome{align-items:center}.pending-card .status-box b{white-space:nowrap}
@media(max-width:760px){.demo-login-grid,.modal-form-grid{grid-template-columns:1fr}.admin-modal{padding:10px}.admin-modal-card{padding:24px 18px;border-radius:22px}.modal-actions,.modal-status-actions{flex-direction:column}.modal-actions .btn,.modal-status-actions .btn{width:100%}.system-live{width:100%;margin-top:12px}.api-status{display:none}.filter-bar .btn{width:100%}}

/* Phase 3 content and audio additions */
.connection-pill{display:flex;align-items:center;gap:7px;width:max-content;margin:0 0 14px;padding:8px 12px;border:1px solid #dce7f6;border-radius:999px;background:#f5f8fd;color:#5c6e88;font-size:11px;font-weight:800;transition:.2s ease}.connection-pill i{width:8px;height:8px;border-radius:50%;background:#f3a21a;box-shadow:0 0 0 4px rgba(243,162,26,.12)}.connection-pill small{color:#8190a6;font-weight:700}.connection-pill.is-online{background:#effaf5;border-color:#ccecdc;color:#196c49}.connection-pill.is-online i{background:#19a96b;box-shadow:0 0 0 4px rgba(25,169,107,.12)}.connection-pill.is-online small{color:#5d8875}.connection-pill.is-error{background:#fff1f2;border-color:#ffd2d6;color:#a52e3a}.connection-pill.is-error i{background:#df5260;box-shadow:0 0 0 4px rgba(223,82,96,.12)}.connection-pill.is-error small{color:#a85d65}.owner-connection{margin:0}.password-card .settings-help{margin:-2px 0 14px;color:#71809a;font-size:13px}.compact-form{gap:12px}.compact-form label{margin:0}.compact-form .password-field input{height:48px}.profile-avatar{display:grid;place-items:center}.user-chip>span:first-child{display:grid;place-items:center}.toast.error{background:#a82f3c}.toast.success{background:#11714d}
@media(max-width:760px){.owner-connection{display:none}.connection-pill{margin-inline:auto}}

/* =========================================================
   المرحلة الثالثة: المحتوى الحقيقي، الصوت والتسجيل المحلي
   ========================================================= */
.word-meta-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.word-group-label{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#eef5ff;color:#1557c8;font-size:12px;font-weight:800;border:1px solid #d9e8ff}.sentence-record-btn{background:#fff4f5!important;color:#b4233c!important;border:1px solid #ffd7dd!important}.sentence-record-btn span{color:#e63852}.record-demo.has-recording,.sentence-record-btn.has-recording{background:#eafaf2!important;color:#087a4e!important;border-color:#bdebd6!important}.record-demo.has-recording span,.sentence-record-btn.has-recording span{color:#10a66c}

.checkpoint-overlay{position:fixed;inset:0;z-index:70;background:rgba(8,24,55,.62);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:24px}.checkpoint-overlay.is-open{display:flex}.checkpoint-card{width:min(520px,100%);background:#fff;border-radius:28px;padding:30px;box-shadow:0 32px 90px rgba(6,32,89,.3);text-align:center;position:relative}.checkpoint-icon{width:70px;height:70px;border-radius:24px;margin:-4px auto 16px;display:grid;place-items:center;font-size:34px;background:linear-gradient(135deg,#e8f3ff,#dbeaff);color:#1266e8}.checkpoint-card h2{margin:6px 0 8px;font-size:26px;color:#10254b}.checkpoint-card>p{margin:0 auto 20px;color:#6f7f99;max-width:390px;line-height:1.7}.checkpoint-progress{display:flex;align-items:center;gap:12px;margin:18px 0}.checkpoint-progress>span{font-size:12px;font-weight:800;color:#62738f;white-space:nowrap}.checkpoint-progress>div{height:8px;border-radius:20px;background:#e9eff8;overflow:hidden;flex:1}.checkpoint-progress i{display:block;height:100%;width:33%;background:linear-gradient(90deg,#136cff,#56a0ff);border-radius:inherit;transition:.25s}.checkpoint-audio{width:100%;border:0;border-radius:20px;background:#f4f8ff;padding:18px;display:flex;align-items:center;justify-content:center;gap:14px;color:#123f91;margin-bottom:16px}.checkpoint-audio span{width:40px;height:40px;border-radius:50%;background:#1565ff;color:#fff;display:grid;place-items:center}.checkpoint-audio strong{font-size:28px;letter-spacing:.03em}.checkpoint-options{margin-bottom:12px}.checkpoint-skip{margin-top:14px}

.recording-card{max-width:560px}.record-target{margin:18px 0;padding:22px;border-radius:22px;background:linear-gradient(145deg,#f2f7ff,#edf4ff);border:1px solid #dce9ff;text-align:center}.record-target small{display:block;color:#6c7b95;font-weight:700;margin-bottom:7px}.record-target strong{font-size:34px;color:#143f8e}.record-timer{height:70px;border-radius:20px;background:#f8fafc;border:1px solid #e3eaf4;display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0}.record-timer span{width:12px;height:12px;border-radius:50%;background:#aeb8c8}.record-timer.is-recording span{background:#e9344f;box-shadow:0 0 0 8px rgba(233,52,79,.12);animation:recordPulse 1.1s infinite}.record-timer b{font-size:24px;font-variant-numeric:tabular-nums;color:#1f365d}.record-controls,.record-saved-actions{display:flex;gap:10px}.record-controls>*{flex:1}.recording-card audio{width:100%;margin:16px 0;border-radius:12px}.record-privacy{margin-top:18px;border-radius:14px;padding:12px;background:#f5f8fc;color:#687791;font-size:12px;text-align:center}@keyframes recordPulse{50%{transform:scale(.8);opacity:.65}}

.owner-head-actions{display:flex;gap:10px;flex-wrap:wrap}.content-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.content-health-grid article{background:#fff;border:1px solid #e6edf7;border-radius:20px;padding:18px;box-shadow:0 10px 28px rgba(23,57,104,.05)}.content-health-grid span,.content-health-grid small{display:block;color:#7a879d}.content-health-grid b{display:block;font-size:25px;color:#173f82;margin:7px 0}.content-health-grid article.ready b{color:#098b5a}.content-health-grid article.warning b{color:#dc8615}.content-toolbar.real{margin-bottom:14px}.content-workspace{background:#fff;border:1px solid #e2eaf5;border-radius:24px;overflow:hidden;box-shadow:0 14px 36px rgba(25,55,95,.06)}.content-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #edf1f7}.content-workspace-head h3{margin:3px 0 0}.owner-content-panel{min-height:280px}.panel-loading{display:grid;place-items:center;min-height:220px;color:#71809a}.content-item-row{display:grid;grid-template-columns:52px minmax(180px,1.2fr) minmax(180px,1fr) minmax(130px,.7fr) auto;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid #edf1f7}.content-item-row:last-child{border-bottom:0}.content-item-row:hover{background:#fbfdff}.content-item-order{width:42px;height:42px;border-radius:14px;background:#eef5ff;color:#1763db;display:grid;place-items:center;font-weight:900}.content-item-main strong{display:block;font-size:18px;color:#183969}.content-item-main small,.content-item-translation small{display:block;margin-top:4px;color:#8793a6}.content-item-translation{color:#3d506c}.content-item-audio{display:flex;align-items:center;gap:8px}.audio-state{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;background:#edf9f4;color:#087b51}.audio-state.missing{background:#fff3e9;color:#ba6815}.content-row-actions{display:flex;gap:7px}.content-row-actions button,.audio-row-action{border:1px solid #dfe7f2;background:#fff;color:#48617f;border-radius:11px;padding:9px 11px;font-weight:700}.content-row-actions button:hover,.audio-row-action:hover{border-color:#b9d3ff;color:#145fda;background:#f5f9ff}.empty-content-panel{padding:54px 24px;text-align:center;color:#71809a}.empty-content-panel span{font-size:42px}.empty-content-panel h3{color:#24466f;margin:10px 0 4px}.validation-panel{padding:22px}.validation-hero{border-radius:22px;padding:22px;display:flex;gap:18px;align-items:center;background:linear-gradient(135deg,#edf7ff,#f6faff);border:1px solid #dcecff}.validation-hero.ready{background:linear-gradient(135deg,#eafbf4,#f5fffa);border-color:#cceede}.validation-score{width:76px;height:76px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;color:#1461d5;box-shadow:0 8px 20px rgba(22,78,158,.1)}.validation-hero.ready .validation-score{color:#078357}.validation-hero h3{margin:0 0 5px}.validation-hero p{margin:0;color:#6e7e96}.validation-list{display:grid;gap:10px;margin-top:18px}.validation-list article{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:15px;background:#f8fafc;border:1px solid #e8edf4}.validation-list article>span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#eaf2ff;color:#1461d5;font-weight:900}.validation-list article.warning>span{background:#fff1e4;color:#c66b11}.validation-list strong{display:block;color:#263f62}.validation-list small{display:block;color:#7e8ba0;margin-top:3px;line-height:1.5}.validation-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.validation-chips i{font-style:normal;padding:5px 8px;border-radius:9px;background:#fff;border:1px solid #e2e8f1;color:#536680;font-size:11px}

.audio-filter-tabs{display:flex;gap:5px;background:#f0f4fa;border-radius:13px;padding:4px}.audio-filter-tabs button{border:0;background:transparent;border-radius:10px;padding:8px 12px;color:#6b7890;font-weight:800}.audio-filter-tabs button.active{background:#fff;color:#145ed2;box-shadow:0 3px 10px rgba(26,65,121,.1)}.audio-list .audio-row{grid-template-columns:44px minmax(190px,1fr) minmax(130px,.55fr) auto}.audio-row .file-ready{color:#078357;font-weight:800}.audio-row .file-missing{color:#bd6b16;font-weight:800}.audio-row-actions{display:flex;gap:7px}.upload-small.real{background:#edf5ff;color:#135fd9;border-color:#d2e3ff}.remove-audio-small{background:#fff5f6;color:#b82c45;border:1px solid #ffd9df;border-radius:10px;padding:8px 10px}.audio-progress{width:100%;height:7px;border-radius:20px;background:#e8edf5;overflow:hidden;margin-top:6px}.audio-progress i{display:block;height:100%;background:#18a66d;border-radius:inherit}.validation-mini-list{display:grid;gap:9px}.validation-mini-list>div{padding:12px;border-radius:12px;background:#f7f9fc;color:#526580}.validation-mini-list strong{color:#223f68}

.content-editor-card{max-width:660px}.content-editor-card label.is-hidden{display:none}.content-editor-card .modal-actions{margin-top:8px}.audio-uploading{opacity:.55;pointer-events:none}.upload-progress-toast{position:fixed;inset:auto 22px 22px auto;z-index:120;background:#102d5c;color:#fff;padding:14px 18px;border-radius:14px;box-shadow:0 16px 40px rgba(5,27,68,.3)}

@media(max-width:1050px){.content-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-item-row{grid-template-columns:48px minmax(160px,1fr) minmax(150px,1fr) auto}.content-item-audio{display:none}}
@media(max-width:720px){.checkpoint-overlay{padding:12px}.checkpoint-card{border-radius:24px;padding:24px 18px}.checkpoint-card h2{font-size:22px}.content-health-grid{grid-template-columns:1fr 1fr;gap:9px}.content-health-grid article{padding:14px;border-radius:16px}.content-toolbar.real{align-items:stretch}.content-toolbar.real,.owner-section-head{flex-direction:column}.content-tabs{width:100%;overflow-x:auto;justify-content:flex-start}.content-tabs button{white-space:nowrap}.content-item-row{grid-template-columns:42px 1fr auto;padding:13px 14px;gap:10px}.content-item-translation{grid-column:2/4}.content-row-actions{grid-column:2/4;justify-content:flex-end}.content-workspace-head{padding:16px}.owner-head-actions{width:100%}.owner-head-actions>*{flex:1}.audio-filter-tabs{overflow-x:auto}.audio-list .audio-row{grid-template-columns:40px 1fr auto}.audio-row>span:nth-of-type(1){display:none}.audio-row-actions{grid-column:2/4;justify-content:flex-end}.record-controls,.record-saved-actions{flex-direction:column}.word-meta-row{gap:7px}.sentence-audio-controls{flex-wrap:wrap}.sentence-record-btn{width:100%}}

/* ===== Mihna English 4.0: multi-lesson level + sentence builder ===== */
.lesson-stage-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.lesson-stage-tabs button[data-lesson-stage="builder"]{color:#5f46c9}.lesson-stage-tabs button[data-lesson-stage="builder"].active{color:#fff;background:linear-gradient(135deg,#7058df,#4c7cf2)}
.word-insight-row{margin:14px auto 0;max-width:560px;display:flex;align-items:flex-start;justify-content:center;gap:10px;flex-wrap:wrap}.word-insight-row>span{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border-radius:999px;background:#eef4ff;color:#155ccf;border:1px solid #d8e6ff;font-size:12px;font-weight:900}.word-insight-row p{margin:0;max-width:420px;padding:7px 11px;border-radius:12px;background:#f8fafc;color:#536783;font-size:13px;line-height:1.65;text-align:right}.word-insight-row p:empty{display:none}
.builder-stage-wrap{width:min(860px,100%)}.builder-intro{align-items:center}.builder-score-pill{margin-inline-start:auto;border:1px solid #dcd7ff;background:#f3f0ff;color:#6149c9;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:900;white-space:nowrap}.sentence-builder-card{background:#fff;border:1px solid #e3e9f4;border-radius:28px;padding:26px;box-shadow:0 22px 55px rgba(27,61,113,.1);overflow:hidden}.builder-top{display:flex;align-items:center;gap:15px;color:#677792;font-size:12px;font-weight:800}.builder-top .bar{flex:1}.builder-prompt{margin:22px 0 17px;padding:20px 18px;border-radius:19px;background:linear-gradient(145deg,#eff6ff,#f8fbff);border:1px solid #dceaff;text-align:center}.builder-prompt small{display:block;color:#71809a;font-weight:800;margin-bottom:5px}.builder-prompt h3{margin:0;color:#173e7e;font-size:clamp(22px,4vw,31px)}.builder-answer-wrap>span{display:block;margin-bottom:7px;color:#6b7b94;font-size:12px;font-weight:900}.builder-answer-zone{min-height:76px;border:2px dashed #cbd8eb;border-radius:18px;background:#fbfdff;padding:13px;display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap;transition:.2s}.builder-answer-zone.is-correct{border-color:#70d2ad;background:#f0fcf7}.builder-answer-zone.is-wrong{border-color:#f09aa5;background:#fff7f8}.builder-answer-zone em{width:100%;text-align:center;color:#9aa6b7;font-style:normal;font-size:13px}.builder-answer-zone.compact{min-height:62px;margin:13px 0}.builder-token-bank{min-height:78px;margin:15px 0 12px;padding:12px;border-radius:17px;background:#f4f7fb;display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap}.builder-token-bank.compact{min-height:66px}.builder-token{min-width:58px;border:1px solid #cfdced;background:#fff;color:#17385f;border-radius:13px;padding:10px 13px;font-size:18px;font-weight:900;box-shadow:0 5px 12px rgba(27,61,113,.06);transition:.17s}.builder-token:hover{transform:translateY(-2px);border-color:#8fb7f5;color:#135fcf}.builder-token.selected{background:#eaf3ff;border-color:#94bdf9;color:#0e57c6;box-shadow:none}.builder-token:disabled{opacity:.35;transform:none;cursor:not-allowed}.builder-answer-zone .builder-token{background:#eaf3ff;border-color:#99bef6;color:#0e57c6}.builder-hint-box{margin:10px 0;border-radius:14px;background:#fff8e9;border:1px solid #ffe2a9;color:#8a5a0e;padding:11px 13px;font-size:13px;line-height:1.65}.builder-feedback{min-height:44px;margin:9px 0;border-radius:13px;padding:10px 12px;color:#61728d;font-size:13px;line-height:1.65}.builder-feedback.good{background:#ebfaf3;color:#087c50}.builder-feedback.bad{background:#fff0f2;color:#ae2d42}.builder-tool-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.builder-tool-row.compact{margin-top:8px}.builder-check{min-height:51px}.builder-success-actions{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:9px;margin-top:12px}.checkpoint-builder-panel{padding-top:3px}.checkpoint-builder-panel h3{font-size:24px;color:#183f7f;margin:5px 0 8px}
.complete-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.complete-stats>div:last-child b{color:#654dd1}
.owner-lesson-picker{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dfe7f3;border-radius:13px;padding:7px 10px;color:#65758e;font-size:11px;font-weight:800;min-width:210px}.owner-lesson-picker span{white-space:nowrap}.owner-lesson-picker select{border:0;background:#f2f6fc;color:#183d71;border-radius:9px;padding:7px 9px;font-weight:900;min-width:130px;outline:0}.word-metadata-fields,.builder-editor-fields{display:grid;gap:12px}.content-editor-card #builder-extra-fields,.content-editor-card #word-metadata-fields{margin-top:-2px}.content-editor-card #builder-extra-fields.is-hidden,.content-editor-card #word-metadata-fields.is-hidden{display:none}.content-item-main .content-category{display:inline-flex;margin-inline-start:6px;padding:2px 7px;border-radius:999px;background:#eef4ff;color:#165dcd;font-size:10px;font-weight:900}.content-item-translation code{display:block;direction:ltr;text-align:left;white-space:normal;color:#3b4f6b;background:#f5f7fb;border-radius:9px;padding:5px 7px;font-family:inherit}.validation-list article.danger>span{background:#ffe7ea;color:#bd2c42}.validation-scope{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.validation-scope i{font-style:normal;border-radius:999px;background:#edf4ff;color:#155ccc;padding:5px 9px;font-size:11px;font-weight:800}.lesson-list-card.completed .lesson-state span{background:#16a56d;color:#fff}.lesson-list-card.completed{border-color:#ccebdd}.lesson-list-card.unlocked:not(.current){cursor:pointer}.lesson-list-card.unlocked:not(.current):hover{border-color:#a9c8f8;transform:translateY(-2px)}.lesson-list-card.locked{cursor:not-allowed}.path-node.completed span{background:#16a56d;color:#fff}.path-node.unlocked{cursor:pointer}.path-node.locked{cursor:not-allowed}.owner-level-lesson-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#6f7f96;font-size:12px}.owner-level-lesson-summary span{padding:5px 8px;border-radius:9px;background:#f1f5fa}.builder-audio-state{color:#6249cc!important;background:#f2efff!important}.dashboard-level-progress{font-variant-numeric:tabular-nums}
@media(max-width:900px){.lesson-stage-tabs{grid-template-columns:repeat(3,1fr);height:auto;padding:6px;gap:4px}.lesson-stage-tabs button{min-height:46px}.complete-stats{grid-template-columns:1fr 1fr}.builder-success-actions{grid-template-columns:1fr 1fr}.builder-success-actions .btn-primary{grid-column:1/3}.owner-lesson-picker{min-width:0;flex:1}}
@media(max-width:720px){.sentence-builder-card{padding:18px 14px;border-radius:22px}.builder-intro{align-items:flex-start}.builder-score-pill{margin-inline-start:0}.builder-answer-zone{min-height:70px}.builder-token{font-size:16px;padding:9px 11px;min-width:50px}.builder-success-actions{grid-template-columns:1fr}.builder-success-actions .btn-primary{grid-column:auto}.complete-stats{gap:8px}.complete-stats>div{padding:12px 8px}.owner-lesson-picker{width:100%;justify-content:space-between}.owner-lesson-picker select{flex:1}.word-insight-row{align-items:stretch}.word-insight-row p{width:100%;text-align:center}.lesson-stage-tabs button span{font-size:10px}}
@media(max-width:460px){.lesson-stage-tabs{grid-template-columns:repeat(2,1fr)}.builder-tool-row .btn{flex:1;padding-inline:8px}.complete-stats{grid-template-columns:1fr 1fr}.builder-token-bank{padding:9px;gap:7px}.builder-token{min-width:44px;font-size:15px}.checkpoint-builder-panel h3{font-size:21px}}

/* v4.0.0 — إبقاء بوابة تسجيل الدخول ظاهرة للطالب على الهاتف */
@media(max-width:960px){
  .public-header .public-nav{display:flex;align-items:center;margin-inline-start:auto}
  .public-header .public-nav>a{display:none}
  .public-header .public-nav .link-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 15px;border:1px solid #dbe7f8;border-radius:12px;background:#fff;box-shadow:0 7px 20px rgba(31,76,142,.10)}
}


/* ================================================================
   v11.1.0 — English sentence builder direction safety
   The surrounding application is Arabic/RTL, but every English
   sentence-construction surface must lay out tokens left-to-right.
   ================================================================ */
.english-builder-flow,
.builder-answer-zone,
.exam-builder-answer {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate;
  writing-mode: horizontal-tb !important;
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: center;
  align-content: flex-start;
  min-width: 0;
}
.english-builder-bank,
.builder-token-bank,
.exam-builder-bank {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate;
  writing-mode: horizontal-tb !important;
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: center;
  align-content: flex-start;
  min-width: 0;
}
.builder-answer-zone > .builder-token,
.builder-token-bank > .builder-token,
.exam-builder-answer > button,
.exam-builder-bank > button {
  direction: ltr !important;
  unicode-bidi: isolate;
  writing-mode: horizontal-tb !important;
  flex: 0 0 auto;
  text-align: center;
}
.builder-answer-zone > em,
.exam-builder-answer > em {
  width: 100%;
  direction: rtl !important;
  text-align: center !important;
  unicode-bidi: isolate;
}
.builder-direction-note {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 6px 9px;
  border-radius: 10px;
  background: #eef5ff;
  color: #416284;
  font-size: 11px;
  font-weight: 800;
}
.builder-direction-note b {
  direction: ltr !important;
  unicode-bidi: isolate;
  color: #0e62d7;
  letter-spacing: .06em;
}
@media (max-width: 720px) {
  .builder-answer-zone,
  .exam-builder-answer,
  .builder-token-bank,
  .exam-builder-bank {
    justify-content: flex-start !important;
  }
}
