/* Mobile-first visual refresh. Progress and training data retain their original keys. */
:root{--ink:#173d3a;--muted:#667b78;--teal:#14796b;--dark:#113e3a;--paper:#f4f7f5;--line:#dde7e2;--radius:22px}
body{font-size:15px;line-height:1.95;background:var(--paper);text-rendering:optimizeLegibility}
button,input,select{touch-action:manipulation}button{font-weight:inherit}a,button{-webkit-tap-highlight-color:transparent}
.main{padding-top:32px;max-width:1280px}.topbar{background:#fff}.sidebar{background:#123d39}.brand small{font-size:11px}.nav button{font-size:13px;min-height:49px}.side-note{font-size:11px}.side-note strong{font-size:13px}.side-bottom button{font-size:12px}.brandmark{background:#d1e9bc}.nav button.active{background:#d1e9bc}
.btn{font-size:13px;min-height:48px;padding:11px 18px;border-radius:13px;line-height:1.65}.btn.small{min-height:42px;font-size:12px;padding:9px 14px}.btn.secondary{background:#eaf2ed;color:#295e51}.btn.outline{border-color:#bfd2c9;background:#fff}.btn.light{background:#d3ebbd}.text-link{font-size:12px;line-height:1.7;min-height:40px;display:inline-flex;align-items:center;justify-content:center}.quiet{font-size:12px;line-height:1.9}.pill,.badge{font-size:11px}.pill{padding:7px 12px}.notice{font-size:12px;line-height:1.95;padding:15px 17px}.notice strong{font-size:13px}.tip{font-size:12px;line-height:2}.eyebrow{font-size:11px}.pagehead h1{font-size:27px;letter-spacing:-.6px;line-height:1.6}.pagehead p{font-size:13px;line-height:1.9}.section-label{font-size:16px;font-weight:bold;margin:26px 0 12px}.section-label .quiet{font-weight:normal}.card{padding:24px;border-radius:22px;box-shadow:0 3px 12px #143d3403}.card-title h2,.card-title h3{font-size:16px}.card-title small{font-size:11px}.app-footer{font-size:11px;line-height:2;margin-top:28px;color:#6c8278}
.mobile-appbar,.bottom-tabs{display:none}.welcome-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 23px}.welcome-greeting{font-size:13px;color:#667d6e;margin:0 0 3px;display:flex;align-items:center;gap:7px}.greeting-dot{width:6px;height:6px;background:#85aa66;border-radius:50%}.welcome-row h1{font-size:29px;line-height:1.5;margin:0;letter-spacing:-.8px}.week-chip{font-size:12px;background:#e8f0e5;border:1px solid #dce7d6;color:#50714f;border-radius:30px;padding:8px 12px;white-space:nowrap}.week-chip b{font-family:Arial;font-size:15px}
.home-hero{padding:29px 32px;min-height:225px;grid-template-columns:1fr 245px;align-items:center;margin-bottom:16px;border:1px solid #214e47;background:linear-gradient(125deg,#1c5e50 0%,#123d39 68%)}.hero-kicker{font-size:11px;color:#bed5b7}.home-hero h2{font-size:29px;line-height:1.55;margin:9px 0 8px;letter-spacing:-.7px}.home-hero p{font-size:13px;color:#c5d8ce;margin:0 0 21px;max-width:100%;line-height:1.9}.hero-buttons .btn{min-height:49px}.goal-path{display:flex;align-items:center;justify-content:center;gap:22px;position:relative;z-index:1;border-right:1px solid #d4ebca25;padding:20px 18px 20px 0}.goal-path>div{display:flex;flex-direction:column;align-items:center}.goal-path strong{font:700 48px/1.2 Arial;letter-spacing:-2px;color:#fff}.goal-path span{font-size:11px;line-height:1.8;color:#b9d2c0;margin-top:7px}.goal-path .goal-end strong{color:#d3ebbd}.goal-path .goal-path-arrow{font:27px Arial;color:#81a994;margin-top:0}
.coach-discover{width:100%;border:1px solid #d4e5d8;display:flex;align-items:center;gap:15px;text-align:right;background:#edf5ec;border-radius:18px;padding:17px 19px;color:var(--ink)}.coach-discover:hover{background:#e7f2e5;border-color:#abcba8}.coach-discover-icon{height:45px;width:45px;border-radius:14px;background:#dcebd2;color:#528149;display:grid;place-items:center;flex-shrink:0}.coach-discover>span:nth-child(2){flex:1}.coach-discover strong{display:block;font-size:15px;line-height:1.8}.coach-discover small{display:block;font-size:12px;color:#698467;line-height:1.9}.coach-discover>.icon{width:19px;color:#6d9173}.new-label{display:block;font-size:10px;color:#5c8061;line-height:1.8;letter-spacing:.1px}.coach-discover .new-label{font-size:10px;margin-bottom:2px}
.stat-grid{gap:14px;margin-bottom:25px}.stat{padding:18px 20px;border-radius:18px;box-shadow:0 3px 12px #143d3403}.stat .label{font-size:12px;color:#5b7468;line-height:1.8}.stat strong{font:700 30px/1.4 Arial;margin-top:7px;white-space:nowrap}.stat strong>span{font:12px Arial;color:#779183;margin-left:3px}.stat small{font-size:10px;color:#7b8e83;line-height:1.8;display:block;margin-top:5px}.stat-icon{height:35px;width:35px;background:#edf3e8;border-radius:11px;display:grid;align-self:flex-start}
.today-card{border-color:#d6e3d7}.session-card{padding:17px;border-radius:17px;background:#f6f9f2;border-color:#dce6d4}.session-card h3{font-size:15px;line-height:1.9}.session-card p{font-size:12px;line-height:1.9}.step-box{font-size:19px;height:48px;min-width:48px}.session-meta{font-size:11px;gap:13px;line-height:1.8;margin-top:8px}.today-actions{display:flex;gap:10px;margin-top:17px}.today-actions .btn:first-child{flex:1}.quick{padding:20px 16px;border-radius:17px;min-height:140px}.quick strong{font-size:13px;line-height:1.8}.quick small{font-size:11px;line-height:1.8;margin-top:4px}.quick .icon{height:25px;width:25px;margin-bottom:13px}.skill-meta{font-size:13px;line-height:1.8;margin-bottom:8px}.skill-meta small{font-size:10px}.skill-row{margin-bottom:21px}.track{height:7px}.skill-footnote{margin:20px 0 0}.study-note{background:#eef4ea;border-color:#e0e8d9}.study-note h3{font-size:16px;margin:0 0 9px}.study-note p{font-size:13px;color:#617a5d;line-height:2;margin:0 0 14px}
.filters{gap:8px}.filter{font-size:12px;padding:9px 14px;min-height:43px;border-radius:12px}.lesson-card{border-radius:20px;padding:23px;gap:11px}.lesson-card h3{font-size:16px;line-height:1.8}.lesson-card p{font-size:12px;line-height:1.95}.lesson-card .small-label{font-size:11px}.lesson-bottom{font-size:11px;gap:14px;line-height:1.8}.lesson-number{font-size:13px}.rule{font-size:18px;line-height:2.1}.formula{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.example{font-size:22px;line-height:1.8}.source-link{font-size:11px;line-height:1.9;display:inline-flex;align-items:center;min-height:36px;overflow-wrap:anywhere}.lesson-actions{padding-bottom:10px}.lesson-actions .btn{flex:1}.method-lesson .how-button{margin-bottom:0}
.field label{font-size:13px}.field input,.field select{font-size:16px;min-height:50px;border-radius:12px}.field small{font-size:11px}.test-card{padding:24px;border-radius:22px}.test-card h3{font-size:19px}.test-card p{font-size:13px;line-height:2}.bank-options{gap:18px}.settings-form{gap:24px}.word-card{padding:20px 16px;min-height:190px;border-radius:20px;gap:14px}.word-card .word-hint{font-size:11px}.word-card .meaning{font-size:14px}.word-card .word-example{font-size:15px;line-height:1.8}.word-card .text-link{min-height:44px}.word-card strong{font-size:25px}.word-card button:first-child{display:block}.week h3{font-size:15px}.week summary p{font-size:12px}.week .weekgoal{font-size:11px;min-width:90px}.week summary{padding:22px;gap:15px}.day span{font-size:13px}.day small{font-size:11px}.day{padding:17px 0;gap:12px}.daycheck{height:29px;min-width:29px;font-size:12px}.source-card h3{font-size:15px}.source-card p{font-size:12px;line-height:1.95}.source-card .source-num{font-size:11px}.error-row{padding:20px 0}.error-row p{font-size:12px}.error-row .en{font-size:17px;line-height:1.7}.error-top .badge{font-size:10px}.history-list{font-size:12px;line-height:1.8}.empty{font-size:13px}.empty h3{font-size:17px}.result-review summary{font-size:12px;min-height:38px}.result-review p{font-size:13px;line-height:2}.result-review .en{font-size:18px;line-height:1.75}
.quiz-top{gap:12px;align-items:center;margin-bottom:17px}.quiz-top h1{font-size:18px;line-height:1.7}.quiz-top small{font-size:11px;line-height:1.9}.quiz-progress{height:6px}.question-panel,.context-panel{border-radius:23px;padding:27px}.q-meta{font-size:11px;line-height:1.7}.q-stem{font-size:22px;line-height:1.7;margin-bottom:22px;overflow-wrap:anywhere}.answer{font-size:18px;line-height:1.6;border-radius:14px;padding:15px;min-height:62px;gap:14px;color:#23443c;box-shadow:0 2px 3px #153d3202}.answer .letter{width:29px;min-width:29px;height:29px;font-size:13px;border-radius:9px}.answers{gap:11px}.answer.selected{background:#eef5e9;border-color:#83a66d}.answer.selected .letter{background:#628f57}.answer.correct{background:#e8f5ed;border-color:#69a77e}.answer.wrong{background:#fff1ed;border-color:#c89184}.flag-btn{font-size:11px;min-height:38px;line-height:1.6;padding:7px 10px}.how-button{display:flex;align-items:center;gap:12px;width:100%;background:#eef5ef;border:1px solid #d5e5d6;border-radius:14px;padding:14px;text-align:right;color:#3b6b48;margin:10px 0 20px}.how-button:hover{background:#e4f0e4;border-color:#adcaa6}.how-button>span{flex:1}.how-button strong{display:block;font-size:13px;line-height:1.9}.how-button small{display:block;font-size:11px;line-height:1.9;color:#72896c}.how-button>.icon{width:20px;height:20px}.exam-help-note{font-size:11px;color:#778d80;margin-bottom:15px}.context-title{font-size:21px}.passage-text{font-size:18px;line-height:1.9;max-height:550px}.context-disclosure summary{cursor:pointer;display:flex;align-items:center;gap:10px;color:#406b51;font-size:13px;min-height:44px;list-style:none}.context-disclosure summary::-webkit-details-marker{display:none}.context-disclosure summary>span{flex:1}.context-disclosure summary small{font-size:11px;color:#728b70}.context-disclosure[open]>summary{border-bottom:1px solid #e5ede1;padding-bottom:12px;margin-bottom:17px}.context-disclosure[open]>summary small{font-size:0}.context-disclosure[open]>summary small:after{content:'اضغط للطي';font-size:11px}.context-panel p.quiet{margin-bottom:0}
.feedback{background:#f1f7ee;padding:20px;border:1px solid #dcebd7;line-height:2}.feedback.wrong{background:#fdf5f0;border-color:#efdfd3}.feedback-verdict{display:flex;align-items:center;gap:9px;font-size:14px;color:#356c44}.feedback.wrong .feedback-verdict{color:#926642}.feedback .solution-heading{font-size:15px;margin:18px 0 15px}.solution-list{list-style:none;padding:0;margin:0}.solution-list li{display:flex;gap:12px;margin-bottom:16px}.solution-list li>span{font:700 12px Arial;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e1eddb;width:27px;height:27px;margin-top:3px;color:#54734b}.feedback.wrong .solution-list li>span{background:#f4e7da;color:#8b674b}.solution-list h4{font-size:13px;margin:0 0 4px;line-height:1.8}.solution-list p{font-size:13px;line-height:2;margin:0;overflow-wrap:anywhere}.solution-answer{font:700 18px/1.8 Arial!important;text-align:left;margin:7px 0!important;color:#315d3d}.q-controls{gap:12px}.q-controls .btn{min-height:49px}.q-grid button{width:37px;height:37px;font-size:12px}.audio-player{padding:19px}.audio-status{font-size:12px;line-height:1.9}.audio-wave{height:46px}.transcript summary{font-size:13px;min-height:44px;display:flex;align-items:center}.transcript .passage-text{font-size:17px}.chart-table{font-size:14px}.chart-box h3{font-size:17px}.chart-box details summary{min-height:40px;display:flex;align-items:center}
.sheet-open{overflow:hidden}.sheet-overlay{background:#0b2b296e;backdrop-filter:blur(5px);padding:24px}.learning-sheet,.menu-sheet{background:#fff;border:1px solid #ffffff5c;box-shadow:0 25px 100px #09262330;width:100%;max-width:650px;border-radius:26px;display:flex;flex-direction:column;max-height:min(92dvh,950px);overflow:hidden}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 26px;border-bottom:1px solid #e5ece4;background:#fff;flex-shrink:0}.sheet-header h2{font-size:20px;margin:2px 0 0;line-height:1.7;letter-spacing:-.4px}.sheet-header .new-label{font-size:11px}.close-sheet{width:43px;height:43px;min-width:43px;display:grid;place-items:center;border:1px solid #e1e9df;border-radius:50%;background:#f5f8f2;color:#567254;font:27px Arial}.sheet-body{padding:23px 26px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scroll-behavior:smooth}.coach-section-label{font-size:12px;color:#71846a;margin-bottom:14px}.method-steps{list-style:none;margin:0 0 24px;padding:0;counter-reset:step}.method-steps li{display:flex;align-items:flex-start;gap:13px;margin-bottom:16px}.method-steps li>span{border-radius:10px;background:#e8f2e2;color:#59814a;min-width:31px;height:31px;display:grid;place-items:center;font:700 13px Arial;margin-top:3px}.method-steps p{font-size:13px;line-height:2.1;margin:0;color:#41613e}.worked-example{background:#f8faf6;border:1px solid #dce7d7;border-radius:19px;padding:20px;margin-top:23px}.worked-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:19px}.worked-top>span{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:bold;color:#54764c}.worked-top .icon{width:19px;height:19px}.worked-top small{font-size:10px;color:#7f9076}.worked-context{background:#fff;border:1px solid #e7ece0;border-radius:12px;padding:16px;font:17px/1.9 Georgia,serif;text-align:left;margin-bottom:16px;white-space:pre-line;unicode-bidi:plaintext}.worked-question{font:19px/1.75 Arial;text-align:left;margin:0 0 18px;white-space:pre-line;unicode-bidi:plaintext}.example-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.example-option{border:1px solid #e0e7d9;background:#fff;display:flex;gap:9px;align-items:center;border-radius:10px;min-height:48px;padding:10px;font:15px/1.6 Arial;text-align:left;overflow-wrap:anywhere}.example-option>span{font:11px Arial;color:#7f9271;min-width:18px}.example-option.example-right{background:#e6f1df;border-color:#8eb47b;color:#35642d}.example-option .icon{height:17px;width:17px;margin-left:auto}.example-progress{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;margin:24px 0 15px;font-size:11px;color:#7a8b70}.example-progress>div{width:100%;display:flex;gap:5px;margin-top:10px}.example-progress i{height:4px;background:#e1e9da;border-radius:4px;flex:1}.example-progress i.done{background:#80a86c}.try-first{font-size:12px;color:#6c8160;line-height:2}.worked-step{display:flex;align-items:flex-start;gap:12px;margin:18px 0;scroll-margin:15px}.worked-step>span{font:12px Arial;color:#759061;margin-top:6px;min-width:17px}.worked-step h4{font-size:13px;line-height:1.8;margin:0 0 5px;color:#355c37}.worked-step p{font-size:13px;line-height:2.1;margin:0;color:#5d7554;unicode-bidi:plaintext}.coach-trap{background:#f6f0e3;border-right:3px solid #ceb178;padding:14px;border-radius:9px;margin-top:20px}.coach-trap strong{font-size:12px;color:#836b42}.coach-trap p{font-size:12px;line-height:2;color:#8c7856;margin:6px 0 0}.sheet-actions{padding:18px 26px;border-top:1px solid #e3ebe0;display:flex;flex-direction:column;align-items:center;gap:9px;background:#fff;flex-shrink:0}.sheet-actions .btn{width:100%;min-height:50px}.sheet-actions .quiet{font-size:11px}.more-menu{padding:10px 24px 25px;overflow:auto}.more-menu>button{width:100%;display:flex;align-items:center;gap:15px;min-height:86px;border-bottom:1px solid #edf1e9;background:#fff;color:#386448;text-align:right;padding:15px 0}.more-menu>button>span{flex:1}.more-menu strong{display:block;font-size:14px}.more-menu small{display:block;font-size:11px;color:#7b8d72;margin-top:3px}.more-menu>button:last-child{border-bottom:0}.more-menu>.icon{height:20px;width:20px}.modal{border-radius:24px;padding:28px}.modal h2{font-size:19px;line-height:1.7}.modal p{font-size:13px;line-height:2}.modal-actions .btn{flex:1}#toast{font-size:13px;line-height:1.8}
@media(max-width:1150px){.home-hero{grid-template-columns:1fr 190px;padding:27px}.home-hero h2{font-size:25px}.goal-path{gap:15px}.goal-path strong{font-size:42px}.stat{padding:17px 15px}.stat-icon{display:none}.main{padding:30px}.columns{gap:18px}.card{padding:22px}}
@media(max-width:850px){
 .shell{display:block}.sidebar{display:none}.topbar{display:none}.mobile-appbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fdfefbeF;backdrop-filter:blur(14px);border-bottom:1px solid #e1e9df;position:sticky;top:0;z-index:30;min-height:66px;padding:calc(12px + env(safe-area-inset-top,0px)) 21px 12px}.mobile-logo{display:flex;align-items:center;gap:9px;color:var(--ink);font:700 20px Arial;letter-spacing:1px;text-decoration:none}.mobile-logo:hover{text-decoration:none}.mobile-logomark{display:grid;place-items:center;letter-spacing:-1px;width:32px;height:32px;border-radius:11px;background:#d8e9cc;font:700 17px Arial;color:#315937}.logo-slash{color:#88a27c}.mobile-location{font-size:11px;color:#72876b;margin-right:auto}.avatar-button{width:35px;min-width:35px;height:35px;background:#eaf1e4;border:1px solid #dfe8d7;color:#5c7e4e;border-radius:50%;font-size:12px}
 .bottom-tabs{position:fixed;bottom:0;left:0;right:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid #e1e8df;box-shadow:0 -4px 25px #153e3404;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));gap:5px;min-height:74px}.bottom-tab{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:55px;padding:7px 4px;border-radius:14px;background:transparent;color:#8b9c83;font-size:10px;line-height:1.4}.bottom-tab .icon{width:22px;height:22px}.bottom-tab.active{background:#eaf3e4;color:#3d743b;font-weight:bold}.nav-badge{font:10px Arial;position:absolute;top:2px;left:calc(50% + 8px);background:#a66c43;color:#fff;border:2px solid #fff;min-width:17px;height:17px;border-radius:20px;display:grid;place-items:center}
 .main{padding:24px 23px calc(110px + env(safe-area-inset-bottom,0px))}.welcome-row h1{font-size:25px}.home-hero{grid-template-columns:1fr 175px;padding:25px;min-height:220px;border-radius:23px;gap:16px}.hero-copy h2{font-size:24px}.home-hero p{font-size:12px}.goal-path{gap:15px;padding-right:14px}.goal-path strong{font-size:41px}.goal-path span{font-size:10px}.coach-discover{margin-bottom:5px}.stat-icon{display:grid}.columns{grid-template-columns:1fr}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-layout.has-context{display:flex;flex-direction:column}.quiz-layout.has-context>.context-panel,.quiz-layout.has-context>.question-panel{width:100%;min-width:0}.passage-text{max-height:none;overflow:visible;padding:0}.context-panel{padding:15px 19px}.context-disclosure[open]{padding-bottom:7px}.context-title{font-size:20px}.context-disclosure[open] .passage-text{font-size:18px;line-height:1.95}.quiz-top{display:grid;grid-template-columns:1fr auto}.quiz-top>.timer{grid-column:1/-1;justify-self:start;font-size:16px;padding:7px 12px}.quiz-top h1{font-size:16px}.quiz-top .btn{font-size:12px}.q-stem{font-size:22px}.q-meta{font-size:11px}.question-panel{padding:22px 20px}.quiz-shell .q-controls{position:fixed;bottom:0;right:0;left:0;z-index:42;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #e0e8dc;padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));margin:0;display:grid;grid-template-columns:1fr 1.6fr;box-shadow:0 -4px 20px #173d3206}.q-controls .btn{font-size:13px;min-height:49px}.quiz-shell .q-controls .btn.secondary{background:#edf3e8}.quiz-shell .q-controls .btn.outline{background:#fff}.quiz-shell{padding-bottom:20px}.quiz-shell .question-panel{padding-bottom:24px}body[data-view=quiz] .bottom-tabs,body[data-view=quiz] .app-footer{display:none}body[data-view=quiz] .mobile-appbar{min-height:60px}.answer{min-height:61px}.how-button{padding:13px}.how-button strong{font-size:13px}.audio-status{font-size:12px}#toast{bottom:calc(92px + env(safe-area-inset-bottom,0px));left:18px;right:18px;max-width:none;text-align:center;font-size:12px}.result-score h2{font-size:18px}.result-review .card-title{flex-wrap:wrap}
}
@media(max-width:550px){
 .mobile-appbar{padding-right:18px;padding-left:18px}.mobile-logo{font-size:19px}.mobile-location{font-size:10px}.main{padding:23px 18px calc(100px + env(safe-area-inset-bottom,0px))}.welcome-row{margin-bottom:19px;align-items:flex-start;gap:10px}.welcome-row h1{font-size:22px;line-height:1.65}.welcome-greeting{font-size:12px;margin-bottom:4px}.week-chip{font-size:10px;padding:6px 10px;margin-top:5px}.week-chip b{font-size:13px}.home-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:23px;min-height:0}.home-hero h2{font-size:23px;margin:7px 0 8px;line-height:1.55}.hero-kicker{font-size:10px}.home-hero p{font-size:12px;margin:0 0 20px;line-height:1.95}.home-hero .hero-buttons{display:block}.hero-buttons .btn{font-size:13px;min-height:48px;width:100%}.goal-path{border-right:0;border-top:1px solid #d4ebca20;margin-top:20px;padding:17px 0 0;justify-content:space-between;gap:15px}.goal-path>div{flex-direction:row;gap:9px;align-items:center}.goal-path strong{font-size:31px;letter-spacing:-1px}.goal-path span{font-size:10px;margin-top:0;max-width:45px;line-height:1.8}.goal-path .goal-path-arrow{font-size:22px}.coach-discover{gap:12px;padding:15px 14px;border-radius:17px}.coach-discover-icon{height:38px;width:38px;border-radius:12px}.coach-discover-icon .icon{height:19px;width:19px}.coach-discover strong{font-size:12px;line-height:1.9}.coach-discover small{font-size:10px;line-height:1.9}.coach-discover>.icon{width:16px;height:16px}.coach-discover .new-label{font-size:9px}.section-label{font-size:14px;margin-top:24px;margin-bottom:12px}.section-label .text-link{font-size:11px;min-height:30px}.section-label .quiet{font-size:10px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:22px}.stat{padding:16px 14px;border-radius:17px;position:relative;min-height:128px;display:block}.stat-icon{display:none}.stat .label{font-size:11px}.stat strong{font-size:29px;margin-top:8px;line-height:1.3}.stat strong>span{font-size:11px}.stat small{font-size:9px;line-height:1.9;max-width:100%;margin-top:8px}.card{padding:20px 18px;border-radius:20px;margin-bottom:19px}.card-title{margin-bottom:17px}.card-title h2,.card-title h3{font-size:14px}.card-title small{font-size:10px}.pill{font-size:10px}.badge{font-size:10px}.session-card{padding:15px 13px;gap:12px}.session-card h3{font-size:13px}.session-card p{font-size:11px}.step-box{height:42px;min-width:42px;font-size:17px}.session-meta{font-size:10px;gap:10px;flex-wrap:wrap}.today-actions{gap:9px}.today-actions .btn{font-size:12px;padding:10px 13px}.quick-grid{gap:9px}.quick{padding:17px 11px;min-height:128px}.quick .icon{width:23px;height:23px;margin-bottom:11px}.quick strong{font-size:11px;line-height:1.9}.quick small{font-size:9px;line-height:2}.skill-meta{font-size:12px;gap:9px}.skill-meta small{font-size:9px}.skill-row{margin-bottom:21px}.skill-footnote{font-size:11px}.study-note h3{font-size:15px}.study-note p{font-size:12px}.notice{font-size:12px;line-height:2}.notice strong{font-size:13px}.quiet{font-size:11px;line-height:2}.resume{flex-direction:row;align-items:center;gap:12px}.resume>div{min-width:0}.resume span{font-size:10px}.resume .btn{flex-shrink:0;min-width:74px}.pagehead{gap:14px;flex-wrap:wrap;margin-bottom:21px}.pagehead h1{font-size:23px;line-height:1.7;margin-bottom:8px}.pagehead p{font-size:12px;line-height:2}.pagehead .eyebrow{font-size:10px;margin-bottom:7px}.pagehead>.btn{min-height:43px;font-size:11px;padding:9px 12px}.filters{flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:none;margin-bottom:16px}.filters::-webkit-scrollbar{display:none}.filter{flex-shrink:0;font-size:11px;min-height:42px;padding:9px 13px}.lesson-grid,.source-grid{grid-template-columns:1fr;gap:13px}.lesson-card{padding:21px;gap:10px}.lesson-card h3{font-size:16px}.lesson-card p{font-size:12px}.lesson-card .small-label{font-size:10px}.lesson-bottom{font-size:10px;margin-top:6px}.rule{font-size:17px!important;line-height:2.1}.formula{font-size:15px;line-height:1.95;padding:16px}.example{font-size:21px;line-height:1.85}.tip{font-size:12px}.lesson-actions{gap:10px}.lesson-actions .btn{font-size:12px}.source-link{font-size:10px;line-height:2;min-height:40px}.bank-options{grid-template-columns:1fr 1fr;gap:17px 12px}.bank-options .field:first-child{grid-column:1/-1}.field label{font-size:12px}.field input,.field select{font-size:16px;min-height:49px;padding:10px}.field small{font-size:11px}.footer-actions{gap:12px;align-items:center}.footer-actions>.btn{font-size:12px}.test-card h3{font-size:18px}.test-card p{font-size:12px;line-height:2}.test-num{font-size:36px}.settings-form{gap:23px}.word-grid{gap:11px}.word-card{padding:18px 12px;min-height:205px}.word-card strong{font-size:23px}.word-card .word-example{font-size:14px;line-height:1.8}.word-card .word-hint{font-size:10px}.word-card .meaning{font-size:13px}.word-card .text-link{font-size:11px}.week{border-radius:19px}.week summary{padding:18px 15px;gap:12px}.weeknum{height:37px;min-width:37px;width:37px;font-size:17px}.week h3{font-size:13px;line-height:1.9}.week summary p{font-size:10px;line-height:1.9}.week .weekgoal{font-size:9px;min-width:65px;max-width:80px;line-height:2}.week-days{padding:0 15px}.day{gap:10px;padding:15px 0}.day span{font-size:11px;line-height:2}.day small{font-size:10px;line-height:2}.daycheck{width:26px;min-width:26px;height:26px;font-size:11px}.day .btn{min-height:41px;font-size:10px;padding:8px 11px}.source-card{padding:22px}.source-card h3{font-size:14px}.source-card p{font-size:12px}.source-card .source-num{font-size:10px}.error-row .en{font-size:17px;line-height:1.75}.error-row>div:last-child{flex-wrap:wrap;gap:10px!important}.error-row p{font-size:11px}.history-list{font-size:11px}.empty{padding:28px 9px}.empty h3{font-size:16px}.empty p{font-size:12px}.app-footer{font-size:10px;line-height:2.1;padding:0 6px}.quiz-top h1{font-size:15px;line-height:1.9}.quiz-top small{font-size:10px;line-height:2}.quiz-top>.btn{min-height:42px;padding:9px 12px;font-size:11px}.quiz-top{margin-bottom:16px}.quiz-progress{margin-bottom:19px}.question-panel{padding:22px 17px;border-radius:21px}.q-meta{font-size:10px;margin-bottom:19px;gap:12px}.flag-btn{font-size:10px;min-height:37px;padding:7px 9px}.q-stem{font-size:21px;line-height:1.75;margin-bottom:19px;letter-spacing:0}.answer{font-size:18px;line-height:1.65;padding:14px 13px;gap:12px;min-height:61px}.answer .letter{width:28px;min-width:28px;height:28px;font-size:12px}.how-button{gap:10px;margin-bottom:20px;padding:13px}.how-button strong{font-size:12px;line-height:1.9}.how-button small{font-size:10px;line-height:1.9}.how-button>.icon{width:18px;height:18px}.exam-help-note{font-size:10px;line-height:2}.quiz-layout{gap:16px}.context-disclosure summary{font-size:12px}.context-disclosure summary small{font-size:10px}.context-disclosure[open]>summary small:after{font-size:10px}.context-panel{padding:12px 16px;border-radius:18px}.context-title{font-size:20px;line-height:1.7}.context-disclosure[open] .passage-text{font-size:18px;line-height:1.95}.context-panel p.quiet{font-size:10px}.chart-box{padding:13px;margin-top:12px}.chart-box h3{font-size:15px;line-height:1.7}.chart-table{font-size:13px}.chart-legend{font-size:11px}.audio-player{padding:18px 12px}.audio-buttons .btn{min-height:45px;font-size:11px;padding:9px 13px}.audio-status{font-size:11px;line-height:2}.audio-fallback{font-size:11px;line-height:2}.feedback{padding:19px 15px;margin-top:23px;scroll-margin-top:80px}.feedback-verdict{font-size:13px;gap:8px}.feedback .solution-heading{font-size:14px;margin-top:20px}.solution-list li{gap:10px;margin-bottom:20px}.solution-list li>span{height:26px;min-width:26px;width:26px;font-size:11px}.solution-list h4{font-size:12px}.solution-list p{font-size:12px;line-height:2.15}.solution-answer{font-size:18px!important}.q-grid{gap:8px}.q-grid button{width:35px;height:35px;font-size:12px}.quiz-shell .q-controls{padding-right:18px;padding-left:18px;gap:11px}.q-controls .btn{font-size:12px;min-height:49px}.result-review summary{font-size:11px;gap:9px}.result-review .en{font-size:18px;line-height:1.8}.result-review p{font-size:12px;line-height:2.1}.result-review details{padding:16px 14px}.result-score h2{font-size:17px;line-height:1.9;text-align:center}.result-score .quiet{text-align:center}.transcript summary{font-size:12px}
 .sheet-overlay{padding:0;align-items:flex-end}.learning-sheet,.menu-sheet{max-width:none;border-radius:25px 25px 0 0;border:0;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 16px);box-shadow:0 -15px 60px #0a2d2920}.learning-sheet{height:calc(94dvh - env(safe-area-inset-top,0px))}.sheet-header{padding:19px 21px 17px;gap:12px}.sheet-header h2{font-size:18px;line-height:1.7}.sheet-header .new-label{font-size:10px}.close-sheet{width:40px;min-width:40px;height:40px;font-size:26px}.sheet-body{padding:21px;scroll-padding-bottom:20px}.coach-section-label{font-size:11px;margin-bottom:14px}.method-steps{margin-bottom:20px}.method-steps li{gap:12px;margin-bottom:16px}.method-steps li>span{min-width:29px;height:29px;font-size:12px;border-radius:9px}.method-steps p{font-size:12px;line-height:2.15}.worked-example{padding:17px;border-radius:17px;margin-top:21px}.worked-top{margin-bottom:17px;flex-wrap:wrap;gap:7px}.worked-top>span{font-size:12px}.worked-top small{font-size:9px}.worked-context{font-size:16px;line-height:1.9;padding:14px}.worked-question{font-size:19px;line-height:1.8}.example-options{gap:8px;grid-template-columns:1fr 1fr}.example-option{font-size:15px;line-height:1.7;padding:11px 9px;gap:7px;min-height:51px}.example-option>span{min-width:12px;font-size:10px}.example-option .icon{min-width:15px;width:15px}.example-progress{font-size:10px;margin-top:22px}.try-first{font-size:11px;line-height:2.1}.worked-step{gap:10px;margin:20px 0}.worked-step h4{font-size:12px;line-height:1.9}.worked-step p{font-size:12px;line-height:2.15}.coach-trap{padding:13px}.coach-trap strong{font-size:11px}.coach-trap p{font-size:11px;line-height:2.1}.sheet-actions{padding:14px 21px calc(15px + env(safe-area-inset-bottom,0px));gap:8px}.sheet-actions .btn{font-size:13px;min-height:50px}.sheet-actions .quiet{font-size:10px}.more-menu{padding:6px 22px calc(25px + env(safe-area-inset-bottom,0px))}.more-menu>button{min-height:88px;gap:15px}.more-menu strong{font-size:14px;line-height:1.9}.more-menu small{font-size:11px;line-height:1.9}.modal-overlay:not(.sheet-overlay){padding:20px}.modal{padding:25px 22px;max-height:85dvh}.modal h2{font-size:18px;line-height:1.85}.modal p{font-size:12px;line-height:2.1}.modal-actions{gap:10px}.modal-actions .btn{min-height:46px;font-size:12px;padding:10px 13px}
}
@media(max-width:360px){.main{padding-right:14px;padding-left:14px}.welcome-row h1{font-size:20px}.home-hero{padding:21px}.home-hero h2{font-size:21px}.goal-path>div{gap:7px}.goal-path strong{font-size:29px}.goal-path span{font-size:9px}.coach-discover-icon{display:none}.coach-discover strong{font-size:12px}.pagehead h1{font-size:21px}.example-options{grid-template-columns:1fr}.sheet-body,.sheet-header{padding-right:18px;padding-left:18px}.q-stem{font-size:20px}.answer{font-size:17px}.quiz-top h1{font-size:14px}}
@media print{.mobile-appbar,.bottom-tabs,.coach-discover,.how-button{display:none!important}.main{padding-bottom:10px}.home-hero{print-color-adjust:exact}}
