*{box-sizing:border-box}html,body,#root{background:#f5fbff;width:100%;height:100%;margin:0;font-family:Cairo,Tahoma,Arial,sans-serif;overflow:hidden}.app-shell{background:#eef6fb;flex-direction:row-reverse;width:100%;height:100%;display:flex;overflow:hidden}.app-body{flex-direction:column;flex:1;min-width:0;height:100%;display:flex;overflow:hidden}.app-main{flex:1;min-width:0;padding:20px 28px;overflow-y:auto}.app-main-lesson{flex-direction:column;padding:16px 28px;display:flex;overflow:hidden}.app-sidebar{color:#fff;background:linear-gradient(#0d3b66,#0a2c4d);flex-direction:column;flex:0 0 250px;gap:8px;padding:22px 18px;display:flex;overflow-y:auto}.sidebar-brand{text-align:center;flex-direction:column;align-items:center;gap:10px;margin-bottom:18px;display:flex}.sidebar-logo{border-radius:16px;width:64px;height:64px;box-shadow:0 4px 12px #0000002e}.sidebar-brand-name{color:#fff;font-size:16px;font-weight:800;line-height:1.5}.sidebar-nav{flex-direction:column;gap:8px;display:flex}.sidebar-nav-item{color:#ffffffd1;cursor:pointer;text-align:right;background:0 0;border:none;border-radius:14px;align-items:center;gap:12px;height:56px;padding:0 16px;font-family:inherit;font-size:16px;font-weight:700;transition:background .15s;display:flex}.sidebar-nav-item:hover{background:#ffffff14}.sidebar-nav-item-active{color:#fff;background:#1f6fb2}.sidebar-nav-icon{flex:none;font-size:22px}.sidebar-motivation{text-align:center;background:#ffffff14;border-radius:16px;margin-top:auto;padding:16px 12px}.sidebar-motivation-title{margin-top:4px;font-size:15px;font-weight:800}.sidebar-motivation-text{color:#ffffffbf;margin-top:2px;font-size:12px}.app-header{border-bottom:1px solid #0878b814;flex:none;height:76px;position:relative;overflow:hidden}.app-header-scenery{width:100%;height:100%;display:block;position:absolute;inset:0}.app-header-content{z-index:1;justify-content:space-between;align-items:center;height:100%;padding:0 28px;display:flex;position:relative}.app-header-user{align-items:center;gap:12px;display:flex}.app-header-avatar{background:linear-gradient(#e8f4fc,#d3ebfa);border-radius:50%;place-items:center;width:46px;height:46px;display:grid}.app-header-greeting{color:#123a55;font-size:16px;font-weight:800}.app-header-points{color:#e0a100;margin-top:2px;font-size:14px;font-weight:700}.app-header-tagline{color:#5a7a89;align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.secondary-btn{color:#0878b8;cursor:pointer;background:#fff;border:2px solid #0878b840;border-radius:14px;padding:11px 24px;font-family:inherit;font-size:16px;font-weight:700}.secondary-btn:disabled{opacity:.4;cursor:not-allowed}.reset-btn{color:#fff;cursor:pointer;background:linear-gradient(#0b93d1,#0578b8);border:none;border-radius:14px;margin:12px auto;padding:12px 40px;font-size:20px;font-weight:700;display:block;box-shadow:0 10px 24px #0578b840}.reset-btn:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.exercise-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin:14px 0;display:flex}.feedback-banner{text-align:center;color:#126b8f;background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b81f;border-radius:14px;max-width:640px;margin:0 auto 14px;padding:14px 18px;font-size:18px;font-weight:700}.feedback-banner-correct{color:#0d7a4d;background:linear-gradient(#f2fbf6,#e6f8ee);border-color:#10965a59}.feedback-banner-incorrect{color:#b8382f;background:linear-gradient(#fdf3f2,#fbe9e7);border-color:#c83c3c4d}.desktop-layout{display:block}.mobile-layout{display:none}.abacus-page{max-width:1100px;margin:0 auto}.labels{text-align:center;color:#0878b8;gap:10px;margin-bottom:8px;font-size:18px;font-weight:700;display:grid}.abacus{background:linear-gradient(#263238,#0d1b22);border-radius:24px;padding:14px;box-shadow:0 10px 30px #004b7838}.inner{background:radial-gradient(circle,#fff 0%,#edf7fc 70%);border:8px solid #17313f;border-radius:18px;height:420px;display:grid;position:relative;overflow:hidden}.divider{z-index:10;background:linear-gradient(#23404f,#0b202b);height:18px;position:absolute;top:100px;left:0;right:0;box-shadow:0 5px 10px #0004}.col{position:relative}.rod{z-index:1;background:linear-gradient(90deg,#9c6b22,#ffd07a,#8d5a16);width:10px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.bead{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;z-index:5;border:none;border-radius:50%;width:74px;height:40px;transition:top .18s;position:absolute;left:50%;transform:translate(-50%);box-shadow:inset 0 7px 8px #ffffff73,inset 0 -8px 10px #00000038,0 8px 14px #00000038}.upper{background:radial-gradient(circle at 50% 28%,#34b5e8,#0584c7 60%,#025b89);top:24px}.upper-on{top:54px}.lower-zone{position:absolute;top:160px;left:0;right:0}.lower{background:radial-gradient(circle at 50% 28%,#fff,#e9f3f8 60%,#b9d0db)}.lower:first-child{background:radial-gradient(circle at 50% 28%,#ffb3c1,#ff6b81 60%,#e8536b);top:0}.lower:nth-child(2){background:radial-gradient(circle at 50% 28%,#ffe08a,#ffc233 60%,#e8a317);top:52px}.lower:nth-child(3){background:radial-gradient(circle at 50% 28%,#b2f2bb,#51cf66 60%,#2f9e44);top:104px}.lower:nth-child(4){background:radial-gradient(circle at 50% 28%,#d0bfff,#9775fa 60%,#7048e8);top:156px}.lower:first-child.lower-on{top:-28px}.lower:nth-child(2).lower-on{top:24px}.lower:nth-child(3).lower-on{top:76px}.lower:nth-child(4).lower-on{top:128px}.column-value{color:#0878b8;z-index:20;background:#fff;border:2px solid #a9dff5;border-radius:10px;place-items:center;width:52px;height:42px;font-size:24px;font-weight:700;display:grid;position:absolute;bottom:10px;left:50%;transform:translate(-50%);box-shadow:0 4px 10px #0001}.bottom-area{background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b81a;border-radius:18px;align-items:center;gap:20px;margin-top:14px;padding:16px 24px;display:flex;box-shadow:0 6px 18px #004b780f}.current-card{border-inline-end:2px solid #0878b81f;flex:none;padding-inline-end:20px}.history-card{flex:1;min-width:0}.current-card h2,.history-card h2{color:#5a7a89;margin:0 0 4px;font-size:13px;font-weight:700}.current-number{color:#126b8f;text-align:center;font-size:34px;font-weight:700}.history-text{word-break:break-word;color:#263238;font-size:17px;line-height:1.5}.history-text strong{color:#126b8f}.abacus-clear-btn{flex:none;margin:0;padding:10px 20px;font-size:14px}@media screen and (width<=1024px){.desktop-layout{display:none}.mobile-layout{display:block}.labels{grid-template-columns:repeat(4,1fr);font-size:14px}.bead{width:58px;height:34px}.upper{top:24px}.upper-on{top:52px}.lower-zone{top:150px}.lower:first-child{top:0}.lower:nth-child(2){top:42px}.lower:nth-child(3){top:84px}.lower:nth-child(4){top:126px}.lower:first-child.lower-on{top:-22px}.lower:nth-child(2).lower-on{top:20px}.lower:nth-child(3).lower-on{top:62px}.lower:nth-child(4).lower-on{top:104px}.column-value{width:42px;height:34px;font-size:18px}.bottom-area{flex-wrap:wrap;justify-content:center}.current-card{text-align:center;border-inline-end:none;flex:100%;padding-inline-end:0}.current-number{font-size:36px}.history-text{text-align:center}}@media screen and (width>=1025px){.desktop-layout{display:block}.mobile-layout{display:none}.labels{grid-template-columns:repeat(7,1fr)}}.lesson-progress-bar{background:#fff;border-radius:20px;flex-flow:row-reverse wrap;align-items:center;gap:18px;margin-bottom:14px;padding:14px 22px;display:flex;box-shadow:0 4px 16px #004b780f}.lesson-progress-toggle-icon{color:#a9c3cf;cursor:pointer;background:0 0;border:none;flex:none;padding:4px;font-size:16px;line-height:1}.lesson-progress-bar-collapsed{color:#0878b8;cursor:pointer;justify-content:space-between;width:100%;font-family:inherit;font-size:14px;font-weight:700}.lesson-progress-selectors{flex-flow:row-reverse wrap;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.lesson-progress-select{color:#0878b8;background:#f7fbff;border:2px solid #0878b82e;border-radius:12px;max-width:260px;padding:9px 14px;font-family:inherit;font-size:15px;font-weight:700}.lesson-progress-chevron{color:#a9c3cf;font-size:18px;font-weight:700}.lesson-progress-divider{background:#0878b81a;align-self:stretch;width:2px}.progress-dots-wrap{flex-direction:column;align-items:center;gap:2px;display:flex}.progress-dots{gap:6px;display:flex}.progress-dot{background:#dfeaf2;border-radius:50%;width:12px;height:12px}.progress-dot-filled{background:#22c55e}.progress-dots-count{color:#123a55;font-size:16px;font-weight:800;line-height:1.25}.progress-dots-label{color:#5a7a89;font-size:12px;line-height:1.25}@media screen and (width<=900px){.lesson-progress-bar{gap:10px;padding:10px 14px}.lesson-progress-select{max-width:150px;padding:7px 10px;font-size:13px}.lesson-progress-divider{display:none}}.lesson-wrap{flex-direction:column;width:100%;max-width:1100px;height:100%;margin:0 auto;display:flex}.lesson-fixed-top{flex:none}.lesson-scroll-area{flex:1;min-height:0;overflow-y:auto}.week-info-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-bottom:10px;display:flex}.week-header-intro{text-align:center;color:#41575f;max-width:640px;margin:0;font-size:15px;line-height:1.6}.edit-lesson-btn{padding:7px 16px;font-size:13px}.video-section{max-width:480px;margin:0 auto 16px}.video-embed-frame{aspect-ratio:16/9;background:#0d1b22;border-radius:16px;width:100%;position:relative;overflow:hidden;box-shadow:0 8px 24px #004b7826}.video-embed-frame iframe,.video-embed-frame video{border:none;width:100%;height:100%;position:absolute;inset:0}.video-placeholder{text-align:center;color:#6b7c85;background:linear-gradient(#ffffffe6,#f0f9ffd9);border:2px dashed #0878b840;border-radius:16px;padding:20px 18px;font-size:15px;font-weight:700}.training-card{color:#263238;background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b81f;border-radius:18px;margin-bottom:14px;padding:20px;font-size:15px;line-height:1.7;box-shadow:0 8px 24px #004b7814}.training-card p{margin:8px 0}.lesson-card-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.lesson-card-header h3{color:#0878b8;margin:0;font-size:19px}.examples-grid{flex-flow:wrap;gap:12px;margin-bottom:14px;display:flex}.examples-grid .example-row{flex:1;min-width:240px}.example-row{background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b81f;border-radius:14px;padding:12px 16px}.example-equation{color:#263238;margin-bottom:8px;font-size:18px}.example-equation strong{color:#126b8f}.example-glyphs{flex-wrap:wrap;gap:14px;display:flex}.example-glyphs-center{justify-content:center}.page-nav-buttons{flex-direction:row-reverse;justify-content:space-between;align-items:center;margin-top:16px;padding-top:8px;display:flex}@media screen and (width<=900px){.training-card{padding:14px;font-size:14px}.page-nav-buttons{flex-wrap:wrap;gap:10px}}.digit-glyph{flex-direction:column;align-items:center;gap:4px;display:inline-flex}.digit-glyph-frame{transform-origin:top;background:linear-gradient(#263238,#0d1b22);border-radius:10px;margin-bottom:-67px;padding:6px;transform:scale(.6);box-shadow:0 4px 12px #004b7838}.digit-glyph-inner{background:radial-gradient(circle,#fff 0%,#edf7fc 70%);border:3px solid #17313f;border-radius:8px;width:60px;height:168px;position:relative;overflow:hidden}.digit-glyph-divider{z-index:10;background:linear-gradient(#23404f,#0b202b);height:7px;position:absolute;top:40px;left:0;right:0;box-shadow:0 2px 4px #0004}.digit-glyph-rod{z-index:1;background:linear-gradient(90deg,#9c6b22,#ffd07a,#8d5a16);width:4px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.digit-glyph-bead{z-index:5;border-radius:50%;width:30px;height:16px;transition:top .18s;position:absolute;left:50%;transform:translate(-50%);box-shadow:inset 0 3px 4px #ffffff73,inset 0 -3px 4px #00000038,0 3px 6px #00000038}.digit-glyph-upper{background:radial-gradient(circle at 50% 28%,#34b5e8,#0584c7 60%,#025b89);top:10px}.digit-glyph-upper-on{top:22px}.digit-glyph-lower-zone{position:absolute;top:64px;left:0;right:0}.digit-glyph-lower{background:radial-gradient(circle at 50% 28%,#fff,#e9f3f8 60%,#b9d0db)}.digit-glyph-lower-1{background:radial-gradient(circle at 50% 28%,#ffb3c1,#ff6b81 60%,#e8536b);top:0}.digit-glyph-lower-2{background:radial-gradient(circle at 50% 28%,#ffe08a,#ffc233 60%,#e8a317);top:21px}.digit-glyph-lower-3{background:radial-gradient(circle at 50% 28%,#b2f2bb,#51cf66 60%,#2f9e44);top:42px}.digit-glyph-lower-4{background:radial-gradient(circle at 50% 28%,#d0bfff,#9775fa 60%,#7048e8);top:63px}.digit-glyph-lower-1.digit-glyph-lower-on{top:-11px}.digit-glyph-lower-2.digit-glyph-lower-on{top:10px}.digit-glyph-lower-3.digit-glyph-lower-on{top:31px}.digit-glyph-lower-4.digit-glyph-lower-on{top:52px}.digit-glyph-value{color:#0878b8;font-size:15px;font-weight:700}.digit-glyph-label{color:#5a7a89;font-size:11px}.intro-diagram{background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b81f;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:24px;margin-bottom:14px;padding:20px;display:flex;box-shadow:0 8px 24px #004b7814}.intro-legend{flex-direction:column;gap:10px;max-width:420px;display:flex}.intro-legend-item{color:#263238;align-items:flex-start;gap:10px;font-size:14px;line-height:1.55;display:flex}.intro-legend-swatch{border-radius:50%;flex:none;width:18px;height:18px;margin-top:2px;box-shadow:0 2px 6px #00000026}.intro-legend-upper{background:radial-gradient(circle at 50% 28%,#34b5e8,#0584c7 60%,#025b89)}.intro-legend-lower{background:radial-gradient(circle at 50% 28%,#fff,#e9f3f8 60%,#b9d0db);border:1px solid #b9d0db}.intro-legend-divider{background:linear-gradient(#23404f,#0b202b);border-radius:4px}@media screen and (width<=480px){.intro-diagram{flex-direction:column}.intro-legend{max-width:100%}}.exercise-wrap{max-width:760px;margin:0 auto}.exercise-prompt-card{text-align:center;background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b81f;border-radius:16px;margin-bottom:14px;padding:16px;box-shadow:0 8px 24px #004b7814}.exercise-prompt-card h3{color:#0878b8;margin:0 0 6px;font-size:17px}.exercise-number{color:#263238;font-size:26px;font-weight:700;line-height:1.4}.abacus-narrow .abacus{max-width:480px;margin:0 auto}.stage-progress{color:#5a7a89;margin-bottom:8px;font-size:13px}.choice-grid{flex-wrap:wrap;justify-content:center;gap:12px;margin:14px 0;display:flex}.choice-btn{color:#0878b8;cursor:pointer;background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b833;border-radius:14px;width:56px;height:56px;font-family:inherit;font-size:22px;font-weight:700;box-shadow:0 6px 16px #004b7814}.choice-btn-correct{color:#0d7a4d;background:linear-gradient(#e6f8ee,#d4f2e2);border-color:#10965a80}.choice-btn-incorrect{color:#b8382f;background:linear-gradient(#fbe9e7,#f8d9d5);border-color:#c83c3c66}.digit-target{color:#126b8f;font-size:46px;font-weight:700;line-height:1.15}.lesson-edit-form{background:linear-gradient(#fffffffa,#f0f9fff5);border:2px solid #0878b81f;border-radius:18px;max-width:760px;margin:0 auto;padding:20px;box-shadow:0 8px 24px #004b7814}.form-field{text-align:right;margin-bottom:16px}.form-field label{color:#0878b8;margin-bottom:8px;font-weight:700;display:block}.form-field input[type=text]{box-sizing:border-box;border:2px solid #0878b833;border-radius:10px;width:100%;padding:10px 12px;font-family:inherit;font-size:16px}.paragraph-row{align-items:flex-start;gap:8px;margin-bottom:10px;display:flex}.paragraph-row textarea{box-sizing:border-box;resize:vertical;border:2px solid #0878b833;border-radius:10px;flex:1;padding:10px 12px;font-family:inherit;font-size:15px}.paragraph-remove-btn{color:#b8382f;cursor:pointer;white-space:nowrap;background:#c83c3c1a;border:none;border-radius:10px;padding:8px 12px;font-family:inherit}.paragraph-remove-btn:disabled{opacity:.4;cursor:not-allowed}.add-paragraph-btn{color:#0878b8;cursor:pointer;background:0 0;border:2px dashed #0878b84d;border-radius:10px;padding:8px 16px;font-family:inherit;font-weight:700}.home-screen{max-width:820px;margin:0 auto}.home-hero-card{text-align:center;background:linear-gradient(135deg,#e6f4ff,#fff);border:2px solid #0878b81f;border-radius:22px;padding:32px;box-shadow:0 10px 30px #004b7814}.home-hero-card h2{color:#0878b8;margin:0 0 10px;font-size:24px}.home-hero-sub{color:#41575f;margin:0 0 18px;font-size:16px;line-height:1.7}.home-quick-links{gap:16px;margin-top:20px;display:flex}.home-quick-card{text-align:center;cursor:pointer;color:#123a55;background:#fff;border:2px solid #0878b81f;border-radius:18px;flex:1;padding:22px;font-family:inherit;font-size:16px;font-weight:700;box-shadow:0 6px 18px #004b780f}.home-quick-icon{margin-bottom:8px;font-size:30px}@media screen and (width<=600px){.home-quick-links{flex-direction:column}}.progress-screen{max-width:820px;margin:0 auto}.progress-summary-row{gap:16px;margin-bottom:20px;display:flex}.progress-summary-card{text-align:center;background:#fff;border:2px solid #0878b81f;border-radius:18px;flex:1;padding:20px;box-shadow:0 6px 18px #004b780f}.progress-summary-number{color:#0878b8;font-size:30px;font-weight:800}.progress-summary-label{color:#5a7a89;margin-top:4px;font-size:14px}.progress-level-list{flex-direction:column;gap:12px;display:flex}.progress-level-row{background:#fff;border:2px solid #0878b81a;border-radius:14px;align-items:center;gap:14px;padding:14px 18px;display:flex}.progress-level-title{color:#123a55;flex:0 0 260px;font-size:14px;font-weight:700}.progress-level-bar-track{background:#e9f3f8;border-radius:6px;flex:1;height:10px;overflow:hidden}.progress-level-bar-fill{background:linear-gradient(90deg,#34b5e8,#0578b8);border-radius:6px;height:100%}.progress-level-count{color:#5a7a89;flex:none;font-size:13px;font-weight:700}@media screen and (width<=700px){.progress-summary-row{flex-direction:column}.progress-level-row{flex-wrap:wrap}.progress-level-title{flex:100%}}.settings-screen{flex-direction:column;gap:16px;max-width:700px;margin:0 auto;display:flex}.settings-card{background:#fff;border:2px solid #0878b81f;border-radius:18px;padding:22px;box-shadow:0 6px 18px #004b780f}.settings-card h3{color:#0878b8;margin:0 0 6px;font-size:18px}.settings-card p{color:#5a7a89;margin:0 0 4px;font-size:14px;line-height:1.6}.settings-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.settings-toggle{color:#5a7a89;cursor:pointer;background:#f2f8fc;border:2px solid #0878b840;border-radius:999px;flex:none;padding:10px 22px;font-family:inherit;font-size:14px;font-weight:700}.settings-toggle-on{color:#fff;background:linear-gradient(#22c55e,#16a34a);border-color:#0000}@keyframes rotate-hint{0%,to{transform:rotate(0)}50%{transform:rotate(90deg)}}@media screen and (width<=1024px) and (orientation:portrait){.app-shell{display:flex}.rotate-overlay{z-index:9999;text-align:center;color:#fff;background:linear-gradient(#0d3b66,#0a2c4d);flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;display:none;position:fixed;inset:0}.rotate-overlay-icon{width:56px;height:56px;animation:1.6s ease-in-out infinite rotate-hint}.rotate-overlay-text{font-size:19px;font-weight:800}.rotate-overlay-sub{color:#ffffffbf;max-width:280px;font-size:14px}}@media screen and (width<=1024px) and (orientation:landscape){.app-header{height:56px}.app-body[data-screen=free] .app-header,.app-body[data-screen=levels] .app-header{display:none}.app-header-content{padding:0 16px}.app-header-avatar{width:36px;height:36px}.app-header-greeting{font-size:14px}.app-header-points,.app-header-tagline{font-size:12px}.app-main,.app-main-lesson{padding:10px 14px}.app-sidebar{flex-basis:190px;gap:6px;padding:14px 12px}.sidebar-logo{width:48px;height:48px}.sidebar-brand-name{font-size:13px}.sidebar-nav-item{height:42px;font-size:14px}.sidebar-nav-icon{font-size:18px}.sidebar-motivation{padding:10px 8px}.sidebar-motivation svg{width:56px;height:56px}.sidebar-motivation-title{font-size:13px}.sidebar-motivation-text{font-size:11px}.lesson-progress-bar{gap:10px;padding:8px 14px}.lesson-progress-bar-collapsed{padding:6px 14px;font-size:12px}.lesson-progress-select{max-width:130px;padding:6px 10px;font-size:12px;line-height:1.25}.lesson-progress-divider{display:none}.video-section{margin-bottom:8px}.video-embed-frame{width:min(100%,35.5556vh)}.training-card{margin-bottom:2px;padding:4px 12px;font-size:12px;line-height:1.2}.training-card p{margin:1px 0}.lesson-card-header h3{font-size:15px}.examples-grid{gap:6px;margin-bottom:2px}.example-row{border-radius:10px;padding:3px 10px}.example-equation{margin-bottom:4px;font-size:14px;line-height:1.25}.digit-glyph-frame{transform-origin:top;margin-bottom:-130px;transform:scale(.3)}.digit-glyph-value{font-size:12px;line-height:1.2}.digit-glyph-label{font-size:10px;line-height:1.2}.intro-diagram{gap:14px;margin-bottom:8px;padding:10px 16px}.intro-legend{gap:5px}.intro-legend-item{font-size:12px;line-height:1.35}.intro-legend-swatch{width:14px;height:14px}.exercise-prompt-card{margin-bottom:2px;padding:5px 14px}.exercise-prompt-card h3{margin:0 0 2px;font-size:14px;line-height:1.25}.stage-progress{line-height:1.25}.exercise-number{font-size:20px;line-height:1.25}.digit-target{font-size:26px;line-height:1.2}.abacus-narrow{max-height:150px;overflow:hidden}.abacus-narrow .abacus{transform-origin:top;max-width:280px;margin:0 auto -298px;transform:scale(.335)}.abacus-narrow .bottom-area{display:none}.abacus-narrow .labels{margin-bottom:2px;font-size:12px}.stage-progress{margin-bottom:2px;font-size:11px}.choice-grid{gap:10px;margin:8px 0}.choice-btn{width:44px;height:44px;font-size:18px}.digit-target{font-size:26px}.exercise-wrap .exercise-actions{margin:4px 0 0}.exercise-wrap .reset-btn,.exercise-wrap .secondary-btn{margin:0;padding:5px 16px;font-size:12px;line-height:1.25}.exercise-wrap .feedback-banner{margin:0 auto 6px;padding:6px 14px;font-size:13px}.page-nav-buttons{margin-top:8px;padding-top:4px}.page-nav-buttons .secondary-btn,.page-nav-buttons .reset-btn{margin:0;padding:6px 20px;font-size:14px}.mobile-layout .labels{margin-bottom:4px;font-size:12px}.mobile-layout .abacus{transform-origin:top;max-width:480px;margin:0 auto;transform:scale(1)}.mobile-layout .labels{margin-bottom:2px}.mobile-layout .bottom-area{flex-wrap:nowrap;justify-content:flex-start;gap:10px;margin-top:4px;padding:6px 14px}.mobile-layout .current-card{text-align:center;border-inline-end:2px solid #0878b81f;flex:none;padding-inline-end:10px}.mobile-layout .current-card h2,.mobile-layout .history-card h2{margin:0 0 2px;font-size:10px}.mobile-layout .current-number{font-size:20px}.mobile-layout .history-text{text-align:right;font-size:12px}.mobile-layout .abacus-clear-btn{padding:6px 14px;font-size:11px}.progress-level-row{padding:8px 16px}.progress-level-title{white-space:nowrap;text-overflow:ellipsis;flex-basis:170px;font-size:13px;overflow:hidden}}@media screen and (width<=1024px) and (height<=500px) and (orientation:landscape){.app-sidebar{flex-basis:64px;gap:10px;padding:10px 8px}.sidebar-logo{width:36px;height:36px}.sidebar-brand-name{display:none}.sidebar-nav-item{justify-content:center;height:36px;padding:0}.sidebar-nav-item span:last-child{display:none}.sidebar-nav-icon{font-size:17px}.sidebar-motivation{display:none}.home-hero-card{padding:14px 18px}.home-hero-card h2{margin:0 0 4px;font-size:16px}.home-hero-sub{margin:0 0 8px;font-size:12px;line-height:1.4}.home-hero-card .reset-btn{padding:8px 20px;font-size:13px}.home-quick-links{gap:10px;margin-top:8px}.home-quick-card{padding:10px;font-size:12px}.home-quick-icon{margin-bottom:2px;font-size:18px}.progress-summary-row{gap:8px;margin-bottom:5px}.progress-summary-card{padding:5px}.progress-summary-number{font-size:16px}.progress-summary-label{margin-top:1px;font-size:9px}.progress-level-list{gap:3px}.progress-level-row{border-radius:10px;gap:8px;padding:4px 10px}.progress-level-title{white-space:nowrap;text-overflow:ellipsis;flex-basis:120px;font-size:11px;overflow:hidden}.progress-level-bar-track{height:6px}.progress-level-count{font-size:11px}.settings-screen{gap:8px}.settings-card{padding:10px 14px}.settings-card h3{margin:0 0 2px;font-size:13px}.settings-card p{margin:0 0 2px;font-size:11px;line-height:1.3}.settings-row{gap:8px}.settings-toggle{padding:5px 14px;font-size:11px}.settings-card .secondary-btn{padding:6px 14px;font-size:11px}.settings-card .exercise-actions{gap:8px;margin-top:4px}.lesson-progress-bar{gap:8px;margin-bottom:6px;padding:5px 12px}.lesson-progress-bar-collapsed{padding:4px 12px;font-size:11px}.lesson-progress-select{max-width:105px;padding:4px 8px;font-size:11px;line-height:1.2}.lesson-progress-chevron{font-size:13px}.progress-dots-wrap{gap:0}.progress-dots{gap:3px}.progress-dot{width:7px;height:7px}.progress-dots-count{font-size:11px}.progress-dots-label{font-size:8px}.week-info-row{gap:6px;margin-bottom:2px}.week-header-intro{-webkit-line-clamp:1;-webkit-box-orient:vertical;max-width:460px;font-size:10px;line-height:1.2;display:-webkit-box;overflow:hidden}.edit-lesson-btn{padding:2px 8px;font-size:9px}.video-section{margin:0 auto 4px}.video-placeholder{padding:6px 12px;font-size:10px}.video-embed-frame{width:min(100%,23.1111vh)}.training-card{margin-bottom:1px;padding:2px 10px;font-size:9px;line-height:1.1}.training-card p{margin:0}.lesson-card-header{margin-bottom:2px}.lesson-card-header h3{font-size:12px}.intro-diagram{gap:10px;margin-bottom:4px;padding:6px 12px}.digit-glyph{gap:1px}.digit-glyph-frame{transform-origin:top;margin-bottom:-151px;transform:scale(.16)}.digit-glyph-value{font-size:11px;line-height:1.15}.digit-glyph-label{display:none}.intro-legend{gap:3px}.intro-legend-item{font-size:9px;line-height:1.15}.intro-legend-swatch{width:10px;height:10px}.page-nav-buttons{margin-top:0;padding-top:0}.page-nav-buttons .secondary-btn,.page-nav-buttons .reset-btn{margin:0;padding:3px 16px;font-size:12px;line-height:1.3}.examples-grid{display:none}.exercise-prompt-card{margin-bottom:0;padding:2px 12px}.exercise-prompt-card h3{margin:0 0 1px;font-size:12px;line-height:1.2}.stage-progress{margin-bottom:0;font-size:9px;line-height:1.2}.example-glyphs{gap:6px}.choice-grid{gap:8px;margin:2px 0}.choice-btn{width:32px;height:32px;font-size:14px}.digit-target{font-size:20px;line-height:1.2}.exercise-wrap .exercise-actions{margin:2px 0 0}.exercise-wrap .reset-btn,.exercise-wrap .secondary-btn{margin:0;padding:4px 16px;font-size:11px;line-height:1.3}.exercise-wrap .feedback-banner{margin:0 auto 3px;padding:3px 12px;font-size:11px;line-height:1.2}.example-equation{line-height:1.2}.abacus-narrow{max-height:113px;overflow:hidden}.abacus-narrow .abacus{transform-origin:top;max-width:270px;margin:0 auto -347px;transform:scale(.225)}.abacus-narrow .labels{margin-bottom:0;font-size:10px;line-height:1.15}.digit-target{font-size:16px}.exercise-number{font-size:15px;line-height:1.2}.exercise-actions{gap:6px;margin:0}.exercise-wrap .exercise-actions .reset-btn,.exercise-wrap .exercise-actions .secondary-btn{padding:3px 10px;font-size:10px}.mobile-layout .abacus{transform-origin:top;max-width:420px;margin:0 auto -202px;transform:scale(.55)}}.rotate-overlay{display:none!important}html,body,#root{overscroll-behavior:none;width:100%;min-width:0;max-width:100%;height:100dvh;min-height:100%;overflow:hidden}button,input,select{-webkit-tap-highlight-color:transparent}.app-shell{min-height:100dvh}.app-main{-webkit-overflow-scrolling:touch;min-height:0}.app-shell-free .app-sidebar,.app-shell-free .app-header{display:none}.app-shell-free .app-body,.app-shell-free .app-main{width:100%;height:100dvh;padding:0;overflow:hidden}.free-practice-screen{width:100%;min-width:0;height:100dvh;min-height:0;padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));background:#eef6fb;flex-direction:column;display:flex;position:relative;overflow:hidden}.free-practice-toolbar{z-index:100;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:4px 8px 8px;display:flex;position:relative}.free-practice-title{color:#123a55;align-items:center;gap:8px;font-size:18px;font-weight:800;display:flex}.free-practice-title-icon{font-size:25px}.free-practice-abacus{flex:1;justify-content:center;align-items:center;width:100%;min-height:0;padding:0 4px 6px;display:flex;overflow:auto}.free-practice-abacus .desktop-layout,.free-practice-abacus .mobile-layout{width:100%;max-width:none}.free-practice-abacus .abacus-page{width:100%;max-width:none;margin:0 auto}.free-practice-abacus .abacus,.free-practice-abacus .inner{width:100%}.screen-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex;position:relative}.screen-control-btn{color:#0878b8;cursor:pointer;touch-action:manipulation;background:#fffffff5;border:1px solid #0878b82e;border-radius:12px;min-height:42px;padding:8px 13px;font-family:inherit;font-size:13px;font-weight:800;box-shadow:0 4px 12px #004b781a}.screen-control-btn span:first-child{margin-inline-end:5px;font-size:18px}.screen-control-btn:active{transform:scale(.97)}.screen-control-message{top:calc(100% + 8px);color:#fff;background:#123a55;border-radius:10px;width:max-content;max-width:min(86vw,360px);padding:9px 13px;font-size:12px;font-weight:700;line-height:1.5;position:absolute;inset-inline-end:0;box-shadow:0 8px 20px #0000002e}@media screen and (width>=1025px){.free-practice-abacus{padding:0 12px 10px}.free-practice-abacus .inner{height:min(68vh,680px)}.free-practice-abacus .abacus{padding:18px}.free-practice-abacus .bead{width:clamp(58px,5.5vw,88px);height:clamp(34px,3vw,48px)}.free-practice-abacus .lower-zone{top:clamp(130px,17vh,190px)}.free-practice-abacus .lower:nth-child(2){top:clamp(42px,6vh,60px)}.free-practice-abacus .lower:nth-child(3){top:clamp(84px,12vh,120px)}.free-practice-abacus .lower:nth-child(4){top:clamp(126px,18vh,180px)}}@media screen and (width<=1024px){.free-practice-screen{padding-top:max(5px, env(safe-area-inset-top))}.free-practice-toolbar{min-height:48px;padding:2px 4px 6px}.free-practice-title{font-size:15px}.free-practice-title-icon{font-size:21px}.screen-control-btn{min-height:40px;padding:7px 10px;font-size:12px}.free-practice-abacus{padding:0 2px 4px}.free-practice-abacus .abacus-page{max-width:100%}}@media screen and (width<=600px){.free-practice-title{font-size:14px}.screen-controls{gap:5px}.screen-control-btn{width:42px;min-width:40px;padding:6px 5px;font-size:0}.screen-control-btn span:first-child{margin:0;font-size:19px}.free-practice-abacus .labels{font-size:clamp(10px,3vw,14px)}.free-practice-abacus .inner{height:clamp(280px,55vh,520px)}.free-practice-abacus .bead{width:clamp(42px,12vw,62px);height:clamp(26px,7vw,36px)}.free-practice-abacus .upper{top:clamp(16px,4vh,26px)}.free-practice-abacus .upper-on{top:clamp(38px,7vh,52px)}.free-practice-abacus .lower-zone{top:clamp(100px,18vh,150px)}.free-practice-abacus .lower:first-child{top:0}.free-practice-abacus .lower:nth-child(2){top:clamp(34px,6vh,44px)}.free-practice-abacus .lower:nth-child(3){top:clamp(68px,12vh,88px)}.free-practice-abacus .lower:nth-child(4){top:clamp(102px,18vh,132px)}.free-practice-abacus .lower:first-child.lower-on{top:clamp(-18px,-4vh,-10px)}.free-practice-abacus .lower:nth-child(2).lower-on{top:clamp(16px,3vh,22px)}.free-practice-abacus .lower:nth-child(3).lower-on{top:clamp(50px,9vh,66px)}.free-practice-abacus .lower:nth-child(4).lower-on{top:clamp(84px,15vh,110px)}.free-practice-abacus .column-value{width:clamp(30px,9vw,42px);height:clamp(26px,7vw,34px);font-size:clamp(14px,4vw,18px)}.free-practice-abacus .bottom-area{gap:8px;margin-top:6px;padding:8px 10px}.free-practice-abacus .current-number{font-size:clamp(22px,7vw,32px)}.free-practice-abacus .history-text{font-size:clamp(11px,3vw,14px)}.free-practice-abacus .abacus-clear-btn{padding:7px 10px;font-size:11px}}@media screen and (orientation:landscape) and (height<=520px){.free-practice-toolbar{min-height:40px;padding:2px 4px}.free-practice-title{font-size:12px}.free-practice-title-icon{font-size:16px}.screen-control-btn{min-height:34px;padding:5px 8px}.free-practice-abacus .labels{margin-bottom:2px;font-size:10px}.free-practice-abacus .inner{height:calc(100dvh - 92px);max-height:430px}.free-practice-abacus .abacus{padding:8px}.free-practice-abacus .bead{width:clamp(38px,7vw,56px);height:clamp(24px,5vw,32px)}.free-practice-abacus .lower-zone{top:90px}.free-practice-abacus .lower:nth-child(2){top:28px}.free-practice-abacus .lower:nth-child(3){top:56px}.free-practice-abacus .lower:nth-child(4){top:84px}.free-practice-abacus .lower:first-child.lower-on{top:-14px}.free-practice-abacus .lower:nth-child(2).lower-on{top:14px}.free-practice-abacus .lower:nth-child(3).lower-on{top:42px}.free-practice-abacus .lower:nth-child(4).lower-on{top:70px}.free-practice-abacus .bottom-area{margin-top:2px;padding:4px 8px}.free-practice-abacus .current-card h2,.free-practice-abacus .history-card h2{font-size:9px}.free-practice-abacus .current-number{font-size:18px}.free-practice-abacus .history-text{font-size:10px}.free-practice-abacus .abacus-clear-btn{padding:4px 8px;font-size:10px}}@media screen and (width<=1024px) and (orientation:landscape){.free-practice-abacus .desktop-layout{display:block}.free-practice-abacus .mobile-layout{display:none}.free-practice-abacus .abacus-page{width:100%;max-width:1100px}}.free-practice-back-btn{color:#0878b8;cursor:pointer;touch-action:manipulation;background:#fff;border:1px solid #0878b82e;border-radius:12px;flex:none;min-height:42px;padding:8px 14px;font-family:inherit;font-size:13px;font-weight:800;box-shadow:0 4px 12px #004b781a}.free-practice-back-btn span:first-child{margin-inline-end:5px;font-size:20px}.free-practice-back-btn:active{transform:scale(.97)}@media screen and (width<=600px){.free-practice-toolbar{gap:6px}.free-practice-back-btn{width:42px;min-height:40px;padding:6px 5px;font-size:0}.free-practice-back-btn span:first-child{margin:0;font-size:20px}}@media screen and (width<=700px) and (orientation:portrait){.app-shell{flex-direction:row-reverse}.app-sidebar{flex:0 0 68px;gap:8px;width:68px;min-width:68px;padding:10px 6px;overflow:hidden}.sidebar-brand{gap:0;margin-bottom:8px}.sidebar-logo{border-radius:12px;width:44px;height:44px}.sidebar-brand-name{display:none}.sidebar-nav{gap:8px;width:100%}.sidebar-nav-item{border-radius:12px;justify-content:center;gap:0;width:100%;height:48px;padding:0}.sidebar-nav-item span:last-child{display:none}.sidebar-nav-icon{font-size:21px}.sidebar-motivation{display:none}.app-body{width:calc(100% - 68px);min-width:0}.app-header{height:62px}.app-header-content{padding:0 10px}.app-header-tagline{display:none}.app-header-user{gap:7px}.app-header-avatar{width:36px;height:36px}.app-header-greeting{font-size:12px}.app-header-points{font-size:11px}.app-main{padding:10px 8px;overflow-y:auto}.app-main-lesson{padding:8px}.home-hero-card{width:100%;max-width:100%}.home-quick-links{width:100%}.home-quick-card{min-width:0}.progress-summary-row{width:100%}}@media screen and (width<=420px) and (orientation:portrait){.app-sidebar{flex-basis:62px;width:62px;min-width:62px;padding-inline:5px}.sidebar-logo{width:40px;height:40px}.sidebar-nav-item{height:46px}.sidebar-nav-icon{font-size:20px}.app-body{width:calc(100% - 62px)}.app-header{height:58px}.app-header-content{padding-inline:7px}.app-header-avatar{width:32px;height:32px}.app-header-greeting{font-size:11px}.app-header-points{font-size:10px}.app-main{padding:8px 6px}}.sidebar-menu-button{z-index:1200;cursor:pointer;background:#fff;border:1px solid #0878b82e;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:46px;height:46px;padding:0;display:flex;position:fixed;top:16px;right:16px;box-shadow:0 5px 16px #00375a29}.sidebar-menu-button span{background:#0878b8;border-radius:3px;width:22px;height:3px;display:block}.sidebar-menu-button:active{transform:scale(.96)}.sidebar-backdrop{z-index:1090;cursor:pointer;background:#00000052;border:0;position:fixed;inset:0}.app-sidebar{z-index:1100;visibility:hidden;flex:none;width:280px;min-width:280px;transition:transform .22s,visibility 0s linear .22s;position:fixed;top:0;bottom:0;right:0;transform:translate(105%);box-shadow:-8px 0 24px #0000002e}.app-sidebar.app-sidebar-open{visibility:visible;transition:transform .22s;transform:translate(0)}.sidebar-mobile-close{justify-content:flex-start;margin:-8px -4px 2px;display:flex}.sidebar-mobile-close button{color:#fff;cursor:pointer;background:#ffffff1a;border:0;border-radius:10px;width:40px;height:40px;font-size:28px;line-height:1}.sidebar-mobile-close button:active{transform:scale(.95)}.app-body{width:100%}@media screen and (width<=600px){.sidebar-menu-button{border-radius:11px;width:42px;height:42px;top:10px;right:10px}.sidebar-menu-button span{width:20px;height:2.5px}.app-sidebar{width:min(290px,82vw);min-width:0;padding:16px 14px}.free-practice-abacus .divider{top:clamp(64px,11vh,82px)}}@media screen and (width<=1024px) and (orientation:landscape){.free-practice-abacus .divider{height:12px;top:68px}}@media screen and (width>=1025px){.free-practice-abacus .divider{top:clamp(82px,10vh,112px)}}.auth-screen{color:#123a55;background:radial-gradient(circle at 12% 14%,#ffffffe6 0 7%,#0000 23%),radial-gradient(circle at 88% 18%,#d2effde6 0 8%,#0000 26%),linear-gradient(145deg,#eaf8ff 0%,#f7fcff 48%,#dff2fc 100%);justify-content:center;align-items:center;width:100%;height:100%;min-height:100dvh;padding:24px;display:flex;position:relative;overflow:hidden}.auth-screen:before,.auth-screen:after{content:"";pointer-events:none;filter:blur(1px);border-radius:50%;position:absolute}.auth-screen:before{background:#a8def452;width:420px;height:420px;bottom:-190px;left:-180px}.auth-screen:after{background:#ffdb772e;width:360px;height:360px;top:-160px;right:-160px}.auth-card{z-index:3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe8;border:1px solid #74bee259;border-radius:30px;width:min(100%,460px);max-height:calc(100dvh - 32px);padding:22px 24px 18px;position:relative;overflow-y:auto;box-shadow:0 24px 70px #1c68912e,0 4px 18px #14567814}.auth-brand{text-align:center;margin-bottom:16px}.auth-logo{filter:drop-shadow(0 8px 10px #2379a329);border-radius:20px;margin:0 auto 8px;display:block}.auth-brand h1{color:#0878b8;margin:0;font-size:27px;font-weight:900;line-height:1.2}.auth-brand>div{color:#4ba1cf;margin-top:2px;font-size:21px;font-weight:800}.auth-brand p{color:#718f9f;margin:7px 0 0;font-size:12px;font-weight:700}.auth-panel{background:#ffffffd1;border:1px solid #5bb3de47;border-radius:24px;padding:14px}.auth-tabs{direction:rtl;background:#eaf6fc;border-radius:15px;gap:5px;margin-bottom:14px;padding:4px;display:flex}.auth-tab{color:#7895a5;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;min-height:43px;font-family:inherit;font-size:14px;font-weight:800;transition:all .18s}.auth-tab-active{color:#fff;background:linear-gradient(135deg,#4ca8d6,#2d8fc4);box-shadow:0 6px 15px #2d8fc433}.auth-heading{align-items:center;gap:10px;margin:2px 3px 14px;display:flex}.auth-heading-icon{background:#eef9ff;border-radius:13px;flex:none;place-items:center;width:40px;height:40px;font-size:20px;display:grid}.auth-heading h2{color:#176b98;margin:0;font-size:18px;font-weight:900}.auth-heading p{color:#7b939f;margin:2px 0 0;font-size:11px;line-height:1.5}.auth-form{flex-direction:column;gap:11px;display:flex}.auth-field{margin:0;display:block}.auth-field>span{color:#527487;margin:0 4px 5px;font-size:12px;font-weight:800;display:block}.auth-input-wrap{background:#fff;border:1.5px solid #b9dff2;border-radius:14px;align-items:center;min-height:49px;transition:border-color .18s,box-shadow .18s;display:flex;position:relative}.auth-input-wrap:focus-within{border-color:#55a9d4;box-shadow:0 0 0 4px #55a9d41c}.auth-input-icon{text-align:center;color:#54758a;flex:none;width:42px;font-size:17px}.auth-input-wrap input{color:#23485e;background:0 0;border:0;outline:0;flex:1;min-width:0;height:47px;padding:0 10px;font-family:inherit;font-size:14px;font-weight:600}.auth-input-wrap input::placeholder{color:#b0c1cb}.auth-password-toggle{color:#63899d;cursor:pointer;background:#f1f8fc;border:0;border-radius:10px;flex:none;width:38px;height:38px;margin-inline:4px;font-size:17px}.auth-form-hint{color:#6c8b9a;justify-content:space-between;gap:8px;padding:0 4px;font-size:10px;font-weight:700;display:flex}.auth-form-hint span:last-child{color:#3492c4}.auth-message{border-radius:11px;margin:0;padding:9px 11px;font-size:11px;line-height:1.55}.auth-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#46a5d4,#2688bd);border:0;border-radius:15px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:50px;margin-top:2px;font-family:inherit;font-size:16px;font-weight:900;transition:transform .15s,box-shadow .15s,opacity .15s;display:flex;box-shadow:0 9px 20px #2688bd3b}.auth-submit:hover{transform:translateY(-1px);box-shadow:0 11px 23px #2688bd45}.auth-submit:active{transform:translateY(0)scale(.99)}.auth-submit:disabled{opacity:.65;cursor:not-allowed;transform:none}.auth-submit-arrow{font-size:20px}.auth-switch{color:#7994a2;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin-top:13px;font-size:11px;font-weight:700;display:flex}.auth-switch button{color:#2589bd;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:11px;font-weight:900}.auth-motto{color:#2688bd;justify-content:center;align-items:center;gap:8px;margin-top:15px;font-size:13px;display:flex}.auth-motto span{color:#f0bd36;font-size:15px}.auth-bottom-decoration{z-index:1;pointer-events:none;opacity:.68;justify-content:space-between;align-items:flex-end;padding:0 7%;font-size:72px;display:flex;position:absolute;bottom:-7px;left:0;right:0}.auth-book-stack,.auth-abacus-decoration{filter:drop-shadow(0 7px 8px #22688b1f)}.auth-cloud{z-index:0;background:#ffffff8a;border-radius:50%;position:absolute;box-shadow:70px 8px #ffffff80,135px -4px #fff6}.auth-cloud-one{width:95px;height:55px;top:10%;left:5%}.auth-cloud-two{width:115px;height:62px;bottom:13%;right:7%}.auth-star{z-index:1;color:#f2c44c;opacity:.85;font-size:27px;position:absolute}.auth-star-one{top:11%;left:22%}.auth-star-two{font-size:20px;top:17%;right:16%}@media screen and (width<=600px){.auth-screen{align-items:center;padding:12px}.auth-card{border-radius:24px;width:100%;max-height:calc(100dvh - 24px);padding:17px 13px 14px}.auth-brand{margin-bottom:11px}.auth-logo{border-radius:16px;margin-bottom:6px;width:64px!important;height:64px!important}.auth-brand h1{font-size:22px}.auth-brand>div{font-size:17px}.auth-brand p{margin-top:5px;font-size:10px}.auth-panel{border-radius:19px;padding:11px}.auth-tabs{margin-bottom:11px}.auth-tab{min-height:39px;font-size:12px}.auth-heading{margin-bottom:10px}.auth-heading h2{font-size:15px}.auth-heading p{font-size:10px}.auth-heading-icon{width:35px;height:35px;font-size:17px}.auth-form{gap:9px}.auth-field>span{margin-bottom:4px;font-size:11px}.auth-input-wrap{border-radius:12px;min-height:46px}.auth-input-wrap input{height:44px;font-size:13px}.auth-input-icon{width:37px;font-size:15px}.auth-password-toggle{width:34px;height:34px;font-size:15px}.auth-form-hint{font-size:9px}.auth-submit{border-radius:13px;min-height:46px;font-size:14px}.auth-switch{margin-top:10px;font-size:10px}.auth-switch button{font-size:10px}.auth-motto{margin-top:10px;font-size:11px}.auth-bottom-decoration{padding:0 3%;font-size:48px;bottom:-2px}.auth-star-one{top:8%;left:8%}.auth-star-two{top:12%;right:9%}}@media screen and (height<=700px){.auth-card{padding-top:13px;padding-bottom:10px}.auth-brand{margin-bottom:8px}.auth-logo{width:58px!important;height:58px!important}.auth-brand h1{font-size:22px}.auth-brand>div{font-size:17px}.auth-panel{padding:10px}.auth-heading{margin-bottom:8px}.auth-form{gap:7px}.auth-input-wrap{min-height:43px}.auth-input-wrap input{height:41px}.auth-submit{min-height:44px}.auth-motto{margin-top:8px}}.free-practice-screen{gap:10px}.free-practice-toolbar{z-index:200;background:#ffffffeb;border:1px solid #0878b81a;border-radius:22px;min-height:76px;padding:10px 14px;position:relative;box-shadow:0 8px 24px #004b7814}.free-practice-abacus{z-index:1;align-items:flex-start;padding-top:0;position:relative}.free-practice-abacus .abacus-page{padding-top:0}.free-practice-abacus .abacus{margin-top:0}@media screen and (width<=1024px){.free-practice-screen{gap:8px}.free-practice-toolbar{border-radius:18px;min-height:62px;padding:7px 10px}}@media screen and (orientation:landscape) and (height<=520px){.free-practice-screen{padding-top:max(6px, env(safe-area-inset-top));gap:6px}.free-practice-toolbar{border-radius:16px;height:52px;min-height:52px;padding:5px 8px}.free-practice-abacus{min-height:0;padding-top:0}.free-practice-abacus .inner{height:calc(100dvh - 122px);max-height:410px}.free-practice-abacus .upper{top:14px}.free-practice-abacus .upper-on{top:38px}.free-practice-abacus .divider{top:62px}.free-practice-abacus .lower-zone{top:88px}}.free-practice-abacus .labels{z-index:30;color:#0b6f9f;align-items:center;gap:0;width:100%;min-height:34px;margin:0 0 8px;padding:0 10px;font-weight:900;position:relative}.free-practice-abacus .labels span{white-space:normal;overflow-wrap:anywhere;background:#ffffffb8;border-inline-start:1px solid #0878b81a;min-width:0;padding:5px 3px;font-size:clamp(10px,1.15vw,15px);line-height:1.25}.free-practice-abacus .labels span:first-child{border-inline-start:0}@media screen and (orientation:landscape) and (height<=520px){.free-practice-abacus .labels{min-height:28px;margin-bottom:4px;padding:0 6px}.free-practice-abacus .labels span{padding:3px 1px;font-size:clamp(8px,1.2vw,11px);line-height:1.1}}@media screen and (orientation:landscape) and (height<=700px){.free-practice-toolbar{display:none!important}.free-practice-screen{padding-top:max(6px, env(safe-area-inset-top));gap:0}.free-practice-abacus{flex:1;height:100%;padding-top:0}.free-practice-abacus .inner{height:calc(100dvh - 86px);max-height:none}}.free-practice-abacus .lower-zone{top:clamp(170px,22vh,220px)}@media screen and (width<=600px){.free-practice-abacus .lower-zone{top:clamp(125px,22vh,175px)}}@media screen and (orientation:landscape) and (height<=700px){.free-practice-abacus .lower-zone{top:clamp(112px,27vh,150px)}.free-practice-abacus .lower:nth-child(2){top:32px}.free-practice-abacus .lower:nth-child(3){top:64px}.free-practice-abacus .lower:nth-child(4){top:96px}.free-practice-abacus .lower:first-child.lower-on{top:-16px}.free-practice-abacus .lower:nth-child(2).lower-on{top:16px}.free-practice-abacus .lower:nth-child(3).lower-on{top:48px}.free-practice-abacus .lower:nth-child(4).lower-on{top:80px}}.free-practice-landscape-exit{display:none}@media screen and (orientation:landscape) and (height<=700px){.free-practice-landscape-exit{top:max(8px, env(safe-area-inset-top));left:max(8px, env(safe-area-inset-left));z-index:500;color:#0878b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;opacity:.82;touch-action:manipulation;background:#ffffffe0;border:1px solid #0878b82e;border-radius:12px;place-items:center;width:38px;height:38px;padding:0;font-family:inherit;font-size:23px;font-weight:900;line-height:1;display:grid;position:fixed;box-shadow:0 5px 14px #004b7824}.free-practice-landscape-exit:active{opacity:1;transform:scale(.94)}}.free-practice-floating-controls{display:none}.app-body[data-screen=free]~.sidebar-menu-button,.app-shell-free .sidebar-menu-button{display:none!important}@media screen and (orientation:landscape) and (height<=700px){.free-practice-floating-controls{top:max(8px, env(safe-area-inset-top));left:max(8px, env(safe-area-inset-left));z-index:520;align-items:center;gap:6px;display:flex;position:fixed}.free-practice-floating-controls .free-practice-landscape-exit{display:grid;position:static}.free-practice-floating-controls .screen-controls{align-items:center;gap:6px;display:flex}.free-practice-floating-controls .screen-control-btn{color:#0878b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:.78;background:#ffffffc7;border:1px solid #0878b82e;border-radius:12px;place-items:center;width:38px;min-width:38px;height:38px;padding:0;display:grid;box-shadow:0 5px 14px #004b781f}.free-practice-floating-controls .screen-control-btn>span:first-child{font-size:20px;line-height:1}.free-practice-floating-controls .screen-control-btn>span:last-child{display:none}.free-practice-floating-controls .screen-control-message{max-width:min(300px,70vw);font-size:11px;position:fixed;top:54px;left:8px}.free-practice-floating-controls .free-practice-landscape-exit{opacity:.78;background:#ffffffc7}.free-practice-toolbar{display:none!important}.free-practice-floating-controls{top:max(10px, env(safe-area-inset-top));left:max(10px, env(safe-area-inset-left));gap:7px}.free-practice-floating-controls .screen-control-btn:nth-of-type(2){display:none!important}.free-practice-floating-controls .free-practice-landscape-exit,.free-practice-floating-controls .screen-control-btn:first-of-type{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);opacity:.68;color:#0878b8;background:#ffffff9e;border:1px solid #0878b824;border-radius:50%;width:34px;min-width:34px;height:34px;box-shadow:0 3px 10px #004b781a}.free-practice-floating-controls .free-practice-landscape-exit{font-size:22px}.free-practice-floating-controls .screen-control-btn:first-of-type>span:first-child{font-size:19px}.free-practice-floating-controls .free-practice-landscape-exit:active,.free-practice-floating-controls .screen-control-btn:first-of-type:active{opacity:1}}.lesson-start-abacus-btn{color:#fff;cursor:pointer;touch-action:manipulation;background:linear-gradient(135deg,#0878b8,#16a1c8);border:0;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:min(100%,520px);min-height:54px;margin:12px auto 4px;padding:10px 18px;font-family:inherit;font-size:16px;font-weight:900;display:flex;box-shadow:0 8px 20px #0878b833}.lesson-start-abacus-btn:hover{transform:translateY(-1px)}.lesson-start-abacus-btn:active{transform:scale(.98)}.lesson-start-abacus-icon{font-size:22px}.lesson-start-abacus-arrow{font-size:20px}@media (width<=600px){.lesson-start-abacus-btn{border-radius:14px;min-height:50px;margin-top:9px;font-size:14px}}.info-screen{max-width:900px;margin:0 auto;padding:24px 16px 40px}.info-card{text-align:right;background:#fff;border-radius:22px;padding:28px;box-shadow:0 10px 30px #184a5e14}.info-card h1{color:#147fa8;margin:0 0 18px;font-size:28px}.info-card p{color:#35515d;margin:0 0 14px;font-size:15px;line-height:2}.ad-placeholder{color:#7a98a5;text-align:center;background:#f8fcfe;border:1px dashed #b9d6e1;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;max-width:728px;min-height:90px;margin:24px auto 0;padding:12px;display:flex}.ad-placeholder small{font-size:11px}@media (width<=600px){.info-screen{padding:16px 10px 30px}.info-card{border-radius:18px;padding:20px 16px}.info-card h1{font-size:23px}.info-card p{font-size:14px}.ad-placeholder{min-height:72px}}.academy-landing{color:#173f5d;background:#f6fbff;min-height:100vh;font-family:Cairo,Arial,sans-serif;overflow-x:hidden}.academy-landing *{box-sizing:border-box}.landing-nav{justify-content:space-between;align-items:center;max-width:1200px;margin:auto;padding:22px 28px;display:flex}.landing-brand{color:#14648d;align-items:center;gap:12px;font-size:17px;font-weight:800;line-height:1.35;text-decoration:none;display:flex}.landing-brand>span:first-child{font-size:36px}.landing-brand small{color:#4a9ec3;font-size:13px}.academy-landing button{cursor:pointer;font-family:inherit}.landing-login{color:#1379ac;background:#fff;border:1px solid #9bd2ec;border-radius:15px;padding:10px 22px;font-weight:800}.landing-hero{grid-template-columns:1.05fr .95fr;align-items:center;gap:55px;max-width:1200px;min-height:570px;margin:auto;padding:65px 28px 80px;display:grid}.landing-pill{color:#1683b5;background:#e3f5ff;border-radius:30px;padding:8px 17px;font-size:14px;font-weight:800;display:inline-block}.landing-hero h1{color:#173f5d;margin:22px 0;font-size:clamp(35px,4.4vw,64px);font-weight:800;line-height:1.35}.landing-hero h1 span{color:#2a9cc9}.landing-hero-copy>p{color:#56768b;max-width:590px;font-size:18px;line-height:2}.landing-actions{flex-wrap:wrap;align-items:center;gap:13px;margin:28px 0 12px;display:flex}.landing-primary{color:#fff;background:linear-gradient(120deg,#2199c8,#1177b1);border:0;border-radius:16px;padding:15px 28px;font-size:16px;font-weight:800;box-shadow:0 9px 22px #1b96c733}.landing-secondary{color:#177ea9;background:#fff;border:1px solid #c5e6f6;border-radius:16px;padding:13px 23px;font-weight:800;text-decoration:none}.landing-hero-copy .landing-note{color:#7895a7;font-size:12px}.landing-hero-art{background:radial-gradient(circle at 30% 20%,#fff 0,#e5f8ff 60%,#d1effa 100%);border-radius:38% 62% 44% 56%;flex-direction:column;justify-content:center;align-items:center;min-height:420px;padding:40px;display:flex;position:relative}.landing-abacus{background:#165879;border:14px solid #165879;border-radius:18px;justify-content:space-around;gap:17px;width:min(100%,350px);height:245px;display:flex;transform:rotate(-5deg);box-shadow:12px 20px #b5e6f4}.landing-abacus-rod{background:#8bd2e8;flex-direction:column;justify-content:space-evenly;align-items:center;width:16px;height:100%;display:flex;position:relative}.landing-abacus-rod i,.landing-abacus-rod b{background:#ffbf5d;border-radius:45%;width:42px;height:23px;display:block;box-shadow:inset 0 -5px #e69d34}.landing-abacus-rod:nth-child(2n) i,.landing-abacus-rod:nth-child(2n) b{background:#ff8197;box-shadow:inset 0 -5px #e55f79}.landing-abacus-rod i{margin-bottom:20px}.landing-art-caption{color:#267fa7;margin-top:32px;font-weight:800}.landing-star{color:#ffc65d;font-size:40px;position:absolute}.landing-star-one{top:40px;right:35px}.landing-star-two{bottom:65px;left:30px}.landing-section{text-align:center;background:#fff;padding:75px 28px 100px}.landing-eyebrow{color:#229bc6;font-weight:800}.landing-section h2,.landing-journey h2{margin:12px 0;font-size:clamp(26px,3vw,38px)}.landing-section-intro{color:#678397}.landing-feature-grid{grid-template-columns:repeat(3,1fr);gap:22px;max-width:1120px;margin:42px auto 0;display:grid}.landing-feature{background:#f4faff;border:1px solid #e1f0f8;border-radius:24px;padding:32px 25px}.landing-feature-icon{font-size:45px}.landing-feature h3{color:#175d82;margin:12px 0}.landing-feature p{color:#668297;line-height:1.9}.landing-journey{background:#e5f6ff;border-radius:28px;justify-content:space-between;align-items:center;gap:30px;max-width:1100px;margin:65px auto;padding:42px;display:flex}.landing-journey p{color:#5d7e93;max-width:650px;line-height:1.9}.landing-footer{color:#6e91a6;border-top:1px solid #d9edf8;flex-wrap:wrap;justify-content:space-between;gap:15px;padding:28px max(28px,50vw - 575px);font-size:13px;display:flex}@media (width<=760px){.landing-nav{padding:16px}.landing-hero{text-align:center;grid-template-columns:1fr;gap:15px;padding:35px 20px 60px}.landing-hero-copy>p{font-size:16px}.landing-actions{justify-content:center}.landing-hero-art{min-height:300px;padding:35px}.landing-abacus{border-width:10px;gap:10px;width:250px;height:170px}.landing-abacus-rod i,.landing-abacus-rod b{width:30px;height:16px}.landing-feature-grid{grid-template-columns:1fr}.landing-journey{text-align:center;flex-direction:column;margin:30px 16px;padding:30px 22px}.landing-footer{text-align:center;justify-content:center}.landing-brand{font-size:13px}.landing-brand small{font-size:11px}}
