/* Comfortable reading scale and visual grammar lessons. */
body{font-size:16px;line-height:1.6}.sidebar{width:256px;padding:32px 20px 0}.workspace{margin-left:256px}.brand{font-size:53px}.brand-caption{font-size:9px;letter-spacing:1.8px;margin-bottom:38px}.nav-label{font-size:10px;margin-left:12px}nav a{font-size:14px;height:53px;gap:12px}nav a svg{width:22px;height:22px}.nav-count{font-size:12px}.sidebar-note strong{font-size:14px}.sidebar-note p{font-size:13px}.sidebar-note .text-button{font-size:13px}.sidebar-bottom strong{font-size:12px}.sidebar-bottom small{font-size:11px}.sidebar-bottom .avatar{height:36px;width:36px;font-size:10px}.topbar{padding:0 36px}.breadcrumb{font-size:13px}.save-indicator{font-size:12px}.icon-button{width:34px;height:34px}.icon-button svg{width:22px;height:22px}main{max-width:1320px;padding:38px 36px 45px}.page-heading h1{font-size:42px;letter-spacing:-1.5px;margin-bottom:12px}.eyebrow{font-size:12px;letter-spacing:1.3px}.subtitle{font-size:16px}.date-tag{font-size:14px}.date-tag svg{width:18px;height:18px}.small-label{font-size:13px}.section-label{font-size:16px}.practice-layout{max-width:1080px;margin:auto}.level-bar{margin:0 0 20px;align-items:center}.level-pills{gap:8px}.level-pill{width:51px;height:43px;font-size:15px;border-radius:10px}.level-pill.active{box-shadow:0 3px 8px #191b1d20}.topic-picker{display:flex;align-items:center;gap:18px;margin:0 0 24px}.topic-picker>span{font-size:14px;font-weight:650;white-space:nowrap}.topic-picker select,select{max-width:100%;border:1px solid #dfe2e6;background:white;border-radius:10px;padding:12px 15px;color:#3e444b;min-height:48px;outline:none;font-size:15px}.topic-picker select{flex:1;width:0}select:focus{border-color:#8e949b;box-shadow:0 0 0 3px #191b1d08}.training-card{border-radius:22px;box-shadow:0 8px 35px #242e3904}.training-top{padding:23px 32px}.topic-name{font-size:16px;gap:12px}.topic-name .small-label{margin-left:8px;border:1px solid var(--line);padding:2px 7px;border-radius:5px;font-size:12px}.exercise-number{font-size:16px}.exercise-number b{font-size:20px}.progress-track{padding-top:24px;margin:0 32px;gap:7px}.progress-step{height:5px}.exercise-body{padding:30px 32px}.exercise-label{font-size:12px;letter-spacing:1.2px;gap:9px}.exercise-label svg{width:19px;height:19px}.question{font-size:34px;max-width:none;min-height:0;line-height:1.5;letter-spacing:-.8px;margin:19px 0 30px;font-weight:700;animation:question-arrive .35s ease both}.answer-label{font-size:15px;margin-bottom:12px}.hint-button{font-size:14px;gap:7px;padding:5px}.hint-button svg{width:18px;height:18px}.answer-wrap{position:relative;border:1.5px solid #dce0e5;border-radius:14px;transition:border-color .2s,box-shadow .2s;background:#fdfdfe}.answer-wrap:focus-within{border-color:#5c646e;box-shadow:0 0 0 4px #191b1d07}.answer-wrap textarea{border:0!important;box-shadow:none!important;border-radius:14px;font-size:21px;min-height:115px;padding:20px;line-height:1.7;background:transparent;resize:vertical}.answer-wrap.has-question textarea{padding-right:60px}.answer-wrap textarea::placeholder{font-size:18px;color:#a8afb7}.fixed-question{position:absolute;right:21px;top:20px;font-size:26px;line-height:1.5;color:#6b737c;font-weight:650;pointer-events:none;user-select:none}.answer-wrap:focus-within .fixed-question{color:var(--ink)}.answer-good{border-color:var(--green);background:#fbfefc}.answer-bad{border-color:#c98077;background:#fffdfc}.input-assists{display:flex;justify-content:space-between;color:#929aa3;font-size:12px;margin-top:9px}.assist-check{color:var(--green);margin-left:4px}.answer-actions{justify-content:flex-end;gap:22px;margin-top:26px}.primary-button{font-size:16px;min-height:53px;padding:14px 24px;border-radius:11px;gap:28px;transition:transform .15s,background .15s,box-shadow .15s}.primary-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #e4443d22}.primary-button.dark:hover{box-shadow:0 6px 16px #191b1d16}.primary-button:active{transform:translateY(0)}.primary-button .arrow{font-size:25px}.skip-button{padding:7px 0;color:#737c85;font-size:15px;background:none;text-align:left;margin-right:auto}.skip-button:hover{color:var(--red)}.skip-button>span{display:block;font-size:12px;margin-top:2px;color:#a0a5ad}.training-footer{padding:16px 32px;font-size:12px;align-items:center}.training-footer svg{width:16px;height:16px}.hint-box{font-size:16px;padding:17px 20px;line-height:1.8;margin-top:18px}.inline-lesson{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.inline-lesson summary{cursor:pointer;font-size:15px;font-weight:650;display:flex;align-items:center;gap:10px;list-style:none;color:#616b75}.inline-lesson summary::-webkit-details-marker{display:none}.inline-lesson summary>span{margin-left:auto;font-size:23px;font-weight:400}.inline-lesson[open] summary>span{transform:rotate(45deg)}.inline-lesson-body{padding:18px 0 0;animation:slide-up .2s ease both}.inline-lesson h3{font-size:20px;margin:0 0 9px}.inline-lesson p{font-size:16px;line-height:1.9;color:#6d7680;margin:8px 0 15px}.inline-lesson .inline-example{color:#263b2e;font-size:20px;font-weight:650}.mini-formula{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 0}.mini-formula span{background:#eff3f0;color:#47735c;padding:8px 12px;border-radius:7px;font-size:14px}.mini-formula b{color:#b5bec6;font-size:14px}.below-heading{margin-top:32px}.below-heading h2{font-size:20px;letter-spacing:-.4px}.back-link{font-size:14px;display:inline-block;color:#727e89;font-weight:550}.back-link:hover{color:var(--red)}.practice-topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:19px}.practice-topic{border:1px solid var(--line);background:white;border-radius:13px;padding:18px;display:flex;align-items:center;text-align:left;gap:15px;color:inherit;transition:transform .15s,border-color .15s}.practice-topic:hover{transform:translateY(-2px);border-color:#dc9891}.practice-topic strong{font-size:15px;font-weight:650;display:block}.practice-topic small{font-size:13px;color:#939aa3;display:block;margin-top:3px}.practice-topic>span:last-child{margin-left:auto;color:#aab0b7;font-size:21px}.topic-initial{display:grid;place-items:center;padding:4px 8px;min-width:47px;min-height:47px;max-width:80px;overflow:hidden;background:#f4f5f7;color:#8b949d;font-size:14px;font-weight:650;border-radius:10px}.practice-overview{display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px;margin-top:28px}.practice-overview .aside-card{margin:0;border-radius:16px;padding:21px}.aside-card h2{font-size:16px}.goal-header span{font-size:12px}.goal-ring{height:140px;margin-top:13px}.goal-ring svg{height:132px;width:132px}.ring-center strong{font-size:32px}.ring-center p{font-size:12px}.goal-note{font-size:13px}.week-day{font-size:10px}.day-circle{width:24px;height:24px;font-size:12px}.streak-card{align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:17px}.streak-icon svg{width:46px;height:46px;stroke-width:1.1}.streak-card strong{font-size:19px}.streak-card p{font-size:14px}.journal-empty strong{font-size:15px}.journal-empty p{font-size:14px}.journal-empty svg{width:31px;height:31px}.aside-link{font-size:14px}.teaser-row{font-size:14px}.teaser-row span:last-child{font-size:12px}.panel{padding:28px}.panel h2{font-size:20px}.inline-note{font-size:15px}.secondary-button{font-size:14px;padding:11px 17px;border-radius:9px}.text-button{font-size:14px}.filter-group button{font-size:14px;padding:11px 17px}.error-card h2{font-size:20px}.error-card{padding:27px}.error-card p{font-size:16px}.error-card .frequency{font-size:13px}.error-card .error-example{font-size:16px}.error-card .correct-example{font-size:19px}.error-card-bottom small{font-size:13px}.journal-breakdown{margin-top:20px}.journal-breakdown>summary{font-size:15px;cursor:pointer;color:#596978;font-weight:650}.error-card .detailed-feedback{border:0;padding:20px;margin-top:18px}.stat-box span{font-size:14px}.stat-box strong{font-size:38px}.stat-box small{font-size:13px}.history-row{font-size:14px;grid-template-columns:1fr 1fr 66px}.history-row strong{font-size:17px}.chart-column span{font-size:13px}.chart-column b{font-size:14px}.level-progress-row{font-size:15px;margin-top:12px}.level-progress-track{height:7px}.completion{padding:45px 28px}.completion h2{font-size:32px}.completion p{font-size:17px}.completion-score{font-size:60px}.completion-icon{height:80px;width:80px;font-size:40px;animation:success-pop .4s ease both}.completion .secondary-button{display:inline-flex;align-items:center}.completion-actions{gap:16px}footer{font-size:12px;padding-left:36px;padding-right:36px}dialog{max-width:600px;padding:39px}dialog h2{font-size:29px}dialog p,dialog li{font-size:16px}#toast{font-size:15px;max-width:calc(100% - 32px);width:max-content;text-align:center}
/* Feedback follows the learner's sentence, one phrase at a time. */
.detailed-feedback{margin-top:27px;background:#fbfdfb;border:1px solid #dce9df;border-radius:15px;padding:25px;animation:slide-up .3s ease both}.detailed-feedback.needs-work{background:#fffaf8;border-color:#eedbd5}.feedback-verdict{display:flex;gap:14px;align-items:flex-start}.verdict-icon{font-size:28px;line-height:1.3;animation:success-pop .35s ease both}.feedback-verdict h3{font-size:21px;margin:0 0 5px;letter-spacing:-.4px}.detailed-feedback .feedback-verdict p{font-size:15px;margin:0;color:#848a8f}.feedback-label{font-size:11px;letter-spacing:1.2px;color:#9b9fa5;font-weight:700}.your-answer,.correct-answer{margin-top:25px}.detailed-feedback .your-answer p,.detailed-feedback .correct-answer p{font-size:20px;font-weight:650;line-height:1.8;color:var(--ink);margin:7px 0;overflow-wrap:anywhere}.correct-answer{border-left:3px solid var(--green);padding-left:17px}.breakdown-heading{font-size:17px;margin:26px 0 20px}.detailed-feedback .breakdown-list{list-style:none;padding:0;margin:0;display:grid;gap:22px}.detailed-feedback .breakdown-item{margin:0;display:flex;align-items:flex-start;gap:12px;animation:slide-up .3s ease both}.breakdown-item:nth-child(2){animation-delay:.04s}.breakdown-item:nth-child(3){animation-delay:.08s}.breakdown-item:nth-child(4){animation-delay:.12s}.breakdown-item:nth-child(5){animation-delay:.16s}.breakdown-icon{font-size:20px;line-height:1.55;flex-shrink:0}.phrase-change{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.detailed-feedback code{font-family:Manrope,-apple-system,sans-serif;font-size:18px;letter-spacing:-.2px;font-weight:650;background:#eef0ef;border-radius:5px;padding:2px 7px;color:#1f3327;line-height:1.7}.detailed-feedback .wrong-phrase{background:#ffece7;color:#aa5149;text-decoration:line-through;text-decoration-color:#e29b92}.change-arrow{font-size:22px;color:#a1a7ac;line-height:1}.missing-label{color:#b66c62;font-size:12px}.detailed-feedback .breakdown-item p{font-size:16px;line-height:1.9;color:#646d76;margin:9px 0 0}.remember-box{margin-top:26px;padding:18px 21px;border-radius:11px;background:#f0f4ee}.remember-box>span{font-size:15px;font-weight:700;color:#4b6e54}.detailed-feedback .remember-box p{font-size:16px;margin:7px 0 0;line-height:1.85;color:#66756a}.feedback-score{margin:23px 0;display:flex;gap:20px;flex-wrap:wrap}.detailed-feedback .feedback-score p{font-size:16px;color:#3a4147;margin:0}.feedback-score strong{font-weight:650}.detailed-feedback .unrecognised-note{font-size:14px;color:#92877d;line-height:1.8;margin:18px 0}.detailed-feedback .secondary-button{margin-top:0}.is-bad .breakdown-icon{animation:small-shake .3s ease both}
/* Grammar map. */
.grammar-intro{border:1px solid #e2e8e1;border-radius:18px;background:#f0f5ef;display:flex;align-items:center;gap:35px;padding:26px 30px;margin:28px 0}.grammar-intro strong{font-size:16px;font-weight:650}.grammar-intro p{font-size:14px;color:#86927f;margin:6px 0 0}.grammar-art{display:flex;gap:6px;align-items:center;flex-shrink:0}.grammar-art>span{padding:10px 12px;background:white;border:1px solid #dfe8dd;border-radius:8px;font-size:17px;font-weight:650;box-shadow:0 3px 0 #dfe8dd;animation:token-arrive .5s ease both}.grammar-art>span:nth-child(2){animation-delay:.1s}.grammar-art>span:nth-child(3){animation-delay:.2s}.grammar-art .art-red{background:#ffe9e2;color:#c15a4c;border-color:#efcfc4;box-shadow:0 3px 0 #efcfc4}.grammar-art .art-green{background:#dcecdf;color:#477652;border-color:#c5dbc8;box-shadow:0 3px 0 #c5dbc8}.grammar-art i{color:#8aa383;font-size:24px;font-style:normal;margin:0 7px}.grammar-art b{font-size:14px;font-weight:600;color:#5e885f}.grammar-filters{display:flex;gap:12px;align-items:center;margin:28px 0 18px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid #dfe2e6;background:white;border-radius:10px;padding:0 14px;flex:1;min-width:0}.search-field svg{color:#8c959e;flex-shrink:0;width:19px;height:19px}.search-field input{border:0;background:none;outline:none;width:100%;padding:14px 0;font-size:15px}.search-field:focus-within{border-color:#7b838c;box-shadow:0 0 0 3px #191b1d08}.search-field input::placeholder{color:#a0a8b0}.grammar-filters select{font-size:14px;max-width:220px}.catalog-summary{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#949da5;margin-bottom:17px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.lesson-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:17px;padding:22px 21px 19px;transition:border-color .2s,transform .2s,box-shadow .2s;animation:slide-up .32s ease both;animation-delay:calc(var(--order)*.025s)}.lesson-card:hover{transform:translateY(-4px);border-color:#c79287;box-shadow:0 8px 25px #303b4d07}.lesson-card-top{display:flex;align-items:center;gap:9px;color:#a0a5ad;font-size:11px;line-height:1.4}.level-badge{display:inline-flex;align-items:center;justify-content:center;background:#f0f1f3;color:#69737e;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:750}.lesson-card-arrow{margin-left:auto;font-size:22px;color:#adb4bc}.lesson-english{font-size:14px;color:#a0877e;margin:20px 0 5px}.lesson-card h2{font-size:21px;line-height:1.45;letter-spacing:-.5px;margin:0 0 13px}.lesson-card p{color:#9198a0;font-size:14px;line-height:1.85;margin:0 0 22px;flex:1}.lesson-card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f1f3;padding-top:14px;gap:8px}.lesson-card-bottom>span{font-size:11px;color:#969da6}.tiny-progress{display:flex;gap:3px}.tiny-progress i{height:4px;width:14px;background:#edf0ee;border-radius:2px}.tiny-progress i.filled{background:var(--green)}.lesson-grid>.empty-state{grid-column:1/-1}.lesson-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0 28px}.lesson-heading .lesson-english{font-size:16px;margin-top:14px}.lesson-heading h1{font-size:39px;letter-spacing:-1.3px;line-height:1.3;margin:3px 0 0}.lesson-heading .primary-button{flex-shrink:0;font-size:14px}.section-kicker{font-size:11px;font-weight:750;letter-spacing:1.2px;color:#939da6;display:flex;gap:9px;align-items:center}.section-kicker svg{width:18px;height:18px;color:#c37d69}.easy-explanation{background:#fffdfb;border-color:#eee4dc}.easy-explanation>p{font-size:21px;line-height:1.9;color:#4e5962;margin:17px 0 3px;letter-spacing:-.3px}.formula-strip{display:flex;align-items:stretch;gap:12px;margin:23px 0 3px}.formula-chip{display:flex;flex-direction:column;justify-content:center;gap:9px;border-radius:12px;padding:18px 20px;flex:1;min-width:0;animation:token-arrive .4s ease both;animation-delay:calc(var(--order)*.1s)}.formula-chip small{font-size:10px;opacity:.5;font-weight:700}.formula-chip strong{font-size:18px;font-weight:650;line-height:1.7}.tone-0{background:#f0f1f4;color:#66717e}.tone-1{background:#ffede8;color:#bb6756}.tone-2{background:#eaf3e9;color:#608261}.formula-plus{display:grid;place-items:center;color:#b5bdc4;font-size:21px}.time-visual{position:relative;display:flex;justify-content:space-between;margin:39px 30px 29px;padding-bottom:30px}.time-line{position:absolute;top:13px;height:2px;width:100%;background:#dce3df}.time-line.duration::after{content:'';position:absolute;left:6%;right:45%;height:6px;background:repeating-linear-gradient(90deg,#9eb6a1 0 7px,transparent 7px 11px);border-radius:3px;top:-2px}.time-point{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:11px;z-index:1}.time-point>i{background:white;border:2px solid #dce3df;border-radius:50%;height:27px;width:27px;font-size:21px;font-style:normal;line-height:23px;color:var(--red)}.time-point.time-active>i{background:#fff3ee;border-color:#e5aea1;animation:success-pop .5s ease both}.time-point>span{font-size:12px;color:#a3a9b0}.time-point.time-active>span{color:#8c6258;font-weight:650}.time-caption{position:absolute;bottom:-17px;left:0;width:100%;font-size:12px;color:#9aa59c;text-align:center}.example-panel-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.example-panel h2{margin:9px 0 0;font-size:24px;letter-spacing:-.5px}.example-tabs{display:flex;gap:5px;flex-shrink:0}.example-tabs button{width:39px;height:36px;background:#f4f5f6;color:#a1a8af;border-radius:8px;font-size:14px}.example-tabs button.active{background:var(--ink);color:white}.sentence-pieces{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 17px}.sentence-piece{font-size:25px;line-height:1.65;font-weight:600;padding:8px 15px;border-radius:10px;border:1.5px solid transparent;animation:token-arrive .25s ease both;animation-delay:calc(var(--order)*.04s);transition:transform .15s,border-color .15s}.sentence-piece:hover{transform:translateY(-3px)}.sentence-piece.selected{border-color:currentColor;box-shadow:0 3px 0 #0000000a}.example-translation{font-size:17px;color:#969da5;margin:0 0 22px}.part-explanation{display:flex;align-items:flex-start;gap:12px;background:#fafbfc;border-radius:11px;padding:18px 20px;min-height:77px}.explanation-number{background:#e8ece8;color:#668069;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;font-size:12px;font-weight:700}.part-explanation p{font-size:16px;color:#75808b;line-height:1.8;margin:0}.example-panel .small-label{display:block;margin-top:13px;font-size:12px}.lesson-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.lesson-bottom-grid>.panel{min-width:0}.pitfall-example{display:flex;align-items:flex-start;gap:12px;margin-top:22px}.pitfall-example>span{font-size:20px;line-height:1.8}.pitfall-example p{font-size:19px;line-height:1.8;margin:0;font-weight:550}.bad-example p{color:#b0766b;text-decoration:line-through;text-decoration-color:#dab0a6}.good-example p{color:#548165}.pitfall-why{font-size:15px;color:#8d979f;line-height:1.9;padding-top:15px;margin-bottom:0}.mini-check h2{font-size:20px;margin-top:18px;line-height:1.6}.mini-option{display:flex;gap:13px;width:100%;align-items:flex-start;text-align:left;background:#fafbfc;border:1px solid #e5e8eb;border-radius:10px;padding:14px;margin:12px 0;font-size:16px;color:#7a8490;line-height:1.8}.mini-option>span:first-child{font-size:12px;color:#919ba5;min-width:19px;line-height:28px}.mini-option:hover{border-color:#aeb8c0}.mini-option:disabled{opacity:1;cursor:default}.mini-option.mini-correct{background:#f0f7ef;border-color:#bdd7be;color:#5c7c61}.mini-option.mini-wrong{background:#fff0eb;border-color:#ebc6bb;color:#b77c6a}.mini-feedback{font-size:15px;line-height:1.9;color:#77857d;animation:slide-up .25s ease both}.lesson-cta{background:var(--ink);color:white;border-radius:18px;padding:27px 30px;display:flex;align-items:center;gap:24px;margin-top:10px}.cta-spark{color:#e75b4d;font-size:51px;font-weight:400;line-height:1;flex-shrink:0}.lesson-cta h2{font-size:24px;letter-spacing:-.5px;margin:0 0 7px}.lesson-cta p{font-size:14px;line-height:1.8;color:#9ca5ab;margin:0}.lesson-cta .primary-button{margin-left:auto;flex-shrink:0;font-size:14px}
@keyframes slide-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes question-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes success-pop{0%{opacity:0;transform:scale(.65)}65%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:scale(1)}}@keyframes token-arrive{from{opacity:0;transform:translateY(10px) rotate(-1deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@keyframes small-shake{0%,100%{transform:translateX(0)}30%{transform:translateX(-3px)}65%{transform:translateX(2px)}}
@media(min-width:1550px){main{padding-top:45px}.question{font-size:38px}.answer-wrap textarea{font-size:23px;min-height:125px}.exercise-body{padding:36px 38px}.training-top{padding-left:38px;padding-right:38px}.progress-track{margin-left:38px;margin-right:38px}.page-heading h1{font-size:48px}.detailed-feedback .breakdown-item p{font-size:18px}.detailed-feedback code{font-size:20px}}
@media(max-width:1180px){.sidebar{width:222px;padding-left:15px;padding-right:15px}.workspace{margin-left:222px}nav a{font-size:13px;gap:10px;padding-left:10px;padding-right:10px}.sidebar-bottom small{font-size:10px}.sidebar-bottom strong{font-size:11px}.sidebar-note p{font-size:12px}main{padding-left:28px;padding-right:28px}.topbar{padding:0 28px}.page-heading h1{font-size:37px}.date-tag{display:none}.question{font-size:30px}.lesson-grid{grid-template-columns:1fr 1fr}.grammar-intro{flex-wrap:wrap;gap:22px}.grammar-filters{flex-wrap:wrap}.search-field{flex-basis:100%}.grammar-filters select{flex:1;max-width:none}.lesson-heading{flex-wrap:wrap}.lesson-heading h1{font-size:34px}.lesson-heading .primary-button{font-size:14px}.practice-overview{gap:11px}.practice-overview .aside-card{padding:17px}.goal-note,.journal-empty p{font-size:12px}.streak-card strong{font-size:16px}.streak-card p{font-size:13px}.aside-card h2{font-size:14px}.day-circle{height:21px;width:21px}.formula-chip{padding:16px}.formula-chip strong{font-size:16px}.sentence-piece{font-size:22px}.lesson-cta{gap:17px;flex-wrap:wrap}.lesson-cta .primary-button{margin-left:auto}.sidebar-note strong{font-size:13px}.lesson-bottom-grid{grid-template-columns:1fr}.lesson-bottom-grid>.panel{margin-bottom:0}.lesson-bottom-grid{margin-bottom:20px}.easy-explanation>p{font-size:20px}}
@media(max-width:900px) and (min-width:641px){.sidebar{width:200px;padding-left:12px;padding-right:12px}.workspace{margin-left:200px}.nav-label{font-size:9px}nav a{font-size:12px;gap:8px}nav a svg{width:19px;height:19px}.brand{font-size:49px}.brand-caption{font-size:8px;letter-spacing:1.2px}.sidebar-note{padding-left:8px;padding-right:8px}.sidebar-note strong{font-size:12px}.sidebar-note p{font-size:11px}.sidebar-bottom .avatar{display:none}.practice-topic-grid{grid-template-columns:1fr}.practice-overview{grid-template-columns:1fr 1fr}.practice-overview .goal-card{grid-row:span 2}.practice-overview .streak-card{flex-direction:row;justify-content:flex-start;text-align:left;gap:10px}.practice-overview .streak-card .streak-icon svg{width:30px;height:30px}.question{font-size:28px}.lesson-grid{gap:12px}.lesson-card{padding:19px 16px}.lesson-card h2{font-size:19px}.lesson-card p{font-size:13px}.lesson-card-bottom>span{font-size:10px}.lesson-card-top{font-size:10px}.grammar-intro strong{font-size:15px}.grammar-art b{font-size:13px}.grammar-art>span{font-size:15px}.formula-strip{gap:7px}.formula-chip{padding:14px 10px}.formula-chip strong{font-size:14px}.formula-plus{font-size:16px}.feedback-score{gap:12px}.detailed-feedback{padding:21px}}
@media(max-width:640px){.sidebar{position:relative;width:100%;padding:20px 16px 0}.workspace{margin-left:0}.brand{font-size:39px;letter-spacing:-3px;line-height:1}.brand-caption,.nav-label,.sidebar-note,.sidebar-bottom{display:none}nav{gap:3px;margin-top:19px;display:grid;grid-template-columns:repeat(4,1fr)}nav a{display:flex;flex-direction:column;height:64px;gap:3px;font-size:10px;padding:9px 2px 6px;line-height:1.4;position:relative;border-radius:9px 9px 0 0}nav a svg{width:21px;height:21px}.nav-count{position:absolute;top:5px;right:12px;font-size:9px;padding:1px 4px}.nav-arrow{display:none}.topbar{position:absolute;top:22px;right:16px;height:32px;padding:0;z-index:11;border:0;background:none}.topbar-right{gap:9px}.save-indicator{font-size:9px}.icon-button{width:28px;height:28px}.icon-button svg{width:20px;height:20px}.breadcrumb{display:none}main{padding:27px 17px 32px}.page-heading{margin-bottom:25px}.page-heading h1{font-size:32px;letter-spacing:-1px;line-height:1.3;margin:9px 0 13px}.eyebrow{font-size:10px;letter-spacing:.9px}.subtitle{font-size:14px;line-height:1.9}.level-bar{flex-wrap:nowrap;gap:10px;margin-bottom:18px}.section-label{font-size:14px}.level-pills{width:auto;gap:5px;justify-content:initial}.level-pill{font-size:12px;width:32px;height:35px;border-radius:8px;flex:none}.topic-picker{display:block;margin-bottom:20px}.topic-picker>span{display:block;margin-bottom:8px;font-size:13px}.topic-picker select{width:100%;font-size:14px;padding:11px;min-height:47px}.training-card{border-radius:17px}.training-top{padding:19px 20px;gap:8px}.topic-name{font-size:14px;gap:8px;line-height:1.5}.topic-dot{flex-shrink:0;width:6px;height:6px}.topic-name .small-label{display:none}.exercise-number{white-space:nowrap;font-size:13px}.exercise-number b{font-size:16px}.progress-track{margin:0 20px;gap:4px;padding-top:20px}.progress-step{height:4px}.exercise-body{padding:25px 20px}.exercise-label{font-size:10px;gap:7px}.exercise-label svg{width:16px;height:16px}.question{font-size:26px;line-height:1.6;letter-spacing:-.5px;margin:18px 0 27px}.answer-label{font-size:14px}.hint-button{font-size:13px}.answer-wrap textarea{font-size:18px;min-height:126px;padding:16px}.answer-wrap.has-question textarea{padding-right:41px}.answer-wrap textarea::placeholder{font-size:16px}.fixed-question{font-size:23px;right:15px;top:15px}.input-assists{font-size:11px}.answer-actions{flex-wrap:wrap;gap:16px;margin-top:24px}.primary-button{font-size:15px;padding:14px 20px;min-height:52px;width:100%}.skip-button{width:100%;text-align:center;order:2;font-size:14px;margin:0}.skip-button>span{font-size:11px;margin-top:3px}.training-footer{padding:14px 20px;font-size:11px}.training-footer span:last-child{display:none}.hint-box{font-size:14px;padding:14px}.inline-lesson{margin-top:24px;padding-top:17px}.inline-lesson summary{font-size:13px;gap:8px}.inline-lesson summary svg{width:19px;height:19px}.inline-lesson p{font-size:15px}.inline-lesson h3{font-size:18px}.mini-formula span{font-size:12px;padding:6px 9px}.below-heading{gap:15px;margin:28px 0 15px}.below-heading h2{font-size:18px;line-height:1.6}.back-link{font-size:13px}.practice-topic-grid{grid-template-columns:1fr;gap:10px}.practice-topic{padding:16px;gap:12px}.practice-topic strong{font-size:14px}.practice-topic small{font-size:12px}.topic-initial{min-width:43px;min-height:43px;font-size:13px}.practice-overview{grid-template-columns:1fr;gap:12px;margin-top:23px}.practice-overview .goal-card{grid-row:auto}.practice-overview .aside-card{padding:22px}.goal-header h2{font-size:17px}.goal-header span{font-size:13px}.goal-ring{height:150px}.goal-ring svg{height:145px;width:145px}.ring-center strong{font-size:34px}.goal-note{font-size:14px}.week-day{font-size:11px}.day-circle{height:27px;width:27px;font-size:13px}.streak-card{flex-direction:row;justify-content:flex-start;text-align:left;gap:17px}.streak-card strong{font-size:17px}.streak-card p{font-size:14px}.streak-icon svg{width:38px;height:38px}.journal-empty strong{font-size:16px}.journal-empty p{font-size:14px}.aside-card h2{font-size:17px}.aside-link{font-size:14px}.teaser-row{font-size:14px;flex-direction:row}.page-heading .date-tag{display:none}.panel{padding:23px 20px;border-radius:15px}.panel h2{font-size:20px}.detailed-feedback{padding:20px 15px;margin-top:24px;border-radius:12px}.feedback-verdict{gap:9px}.verdict-icon{font-size:23px}.feedback-verdict h3{font-size:19px;line-height:1.5}.detailed-feedback .feedback-verdict p{font-size:14px;line-height:1.8}.feedback-label{font-size:10px;letter-spacing:.9px}.detailed-feedback .your-answer p,.detailed-feedback .correct-answer p{font-size:17px;line-height:1.9}.correct-answer{padding-left:12px}.breakdown-heading{font-size:16px;margin-top:25px}.breakdown-icon{font-size:17px;line-height:1.9}.detailed-feedback .breakdown-item{gap:8px}.detailed-feedback .breakdown-list{gap:22px}.detailed-feedback code{font-size:16px;padding:2px 5px}.phrase-change{gap:6px}.change-arrow{font-size:18px}.detailed-feedback .breakdown-item p{font-size:15px;line-height:1.9}.remember-box{padding:15px}.remember-box>span{font-size:14px}.detailed-feedback .remember-box p{font-size:15px}.feedback-score{flex-direction:column;gap:9px}.detailed-feedback .feedback-score p{font-size:15px}.detailed-feedback .unrecognised-note{font-size:13px}.secondary-button{font-size:14px;padding:11px 14px}.error-card{padding:21px 18px}.error-card h2{font-size:18px}.error-card p{font-size:15px}.error-card .frequency{font-size:11px}.error-card .correct-example{font-size:17px}.error-card .error-example{font-size:15px;overflow-wrap:anywhere}.error-card-bottom{flex-wrap:wrap}.error-card-bottom small{font-size:12px}.error-card .detailed-feedback{padding:16px 10px}.journal-breakdown>summary{font-size:14px}.journal-toolbar{margin-top:22px;gap:14px}.filter-group button{font-size:12px;padding:10px 9px}.stat-box span{font-size:12px}.stat-box strong{font-size:34px}.stat-box small{font-size:12px}.history-row{font-size:12px;grid-template-columns:1fr 1fr 44px}.history-row strong{font-size:15px}.level-progress-row{font-size:14px}.small-label{font-size:12px}.chart-column span{font-size:12px}.chart-column b{font-size:13px}.inline-note{font-size:14px}.completion h2{font-size:27px}.completion p{font-size:16px}.completion-score{font-size:53px}.completion-actions{gap:13px}.completion-actions .secondary-button{justify-content:center;font-size:15px;min-height:49px}.empty-state h2{font-size:23px}.empty-state p{font-size:15px}.grammar-intro{display:flex;gap:22px;flex-direction:column;align-items:flex-start;padding:24px 20px;margin:23px 0}.grammar-intro strong{font-size:14px;line-height:1.8}.grammar-intro p{font-size:13px;line-height:1.85}.grammar-art{gap:5px;flex-wrap:wrap}.grammar-art>span{font-size:16px;padding:8px 10px}.grammar-art i{margin:0 3px;font-size:22px}.grammar-art b{font-size:12px}.grammar-filters{gap:10px;flex-wrap:wrap;margin-top:22px}.search-field{flex-basis:100%;padding:0 12px}.search-field input{font-size:14px;padding:14px 0}.grammar-filters select{flex:1;max-width:none;min-width:0;width:0;font-size:13px;padding:11px 8px}.catalog-summary{font-size:12px;margin-top:17px}.catalog-summary span:last-child{display:none}.lesson-grid{grid-template-columns:1fr;gap:13px}.lesson-card{padding:23px 21px}.lesson-card-top{font-size:12px}.lesson-card .lesson-english{font-size:14px;margin-top:16px}.lesson-card h2{font-size:23px;margin-bottom:11px}.lesson-card p{font-size:15px;line-height:1.85;margin-bottom:20px}.lesson-card-bottom>span{font-size:12px}.tiny-progress i{width:17px;height:5px}.lesson-heading{gap:21px;display:block;margin:22px 0}.lesson-heading .lesson-english{font-size:15px;margin-top:17px}.lesson-heading h1{font-size:31px;letter-spacing:-.8px;margin-bottom:21px}.lesson-heading .primary-button{font-size:15px}.easy-explanation>p{font-size:18px;line-height:1.95;letter-spacing:-.15px}.section-kicker{font-size:10px;letter-spacing:.8px;line-height:1.7}.formula-strip{gap:8px;flex-direction:column;margin-top:19px}.formula-chip{padding:14px 18px;gap:5px;flex-direction:row;align-items:flex-start;justify-content:flex-start}.formula-chip small{padding-top:5px;min-width:21px}.formula-chip strong{font-size:16px}.formula-plus{font-size:20px;height:16px}.time-visual{margin:29px 5px 25px}.time-caption{font-size:10px;bottom:-14px}.time-point>span{font-size:11px}.time-point>i{height:23px;width:23px;line-height:20px;font-size:19px}.time-line{top:11px}.example-panel-heading{align-items:center;gap:10px}.example-panel h2{font-size:21px;line-height:1.45}.example-panel .section-kicker{font-size:9px;letter-spacing:.5px}.example-tabs{gap:4px}.example-tabs button{width:29px;height:33px;font-size:12px}.sentence-pieces{gap:7px;margin-top:23px}.sentence-piece{font-size:22px;padding:7px 11px;line-height:1.7;border-radius:8px}.example-translation{font-size:16px;line-height:1.9;margin-bottom:19px}.part-explanation{padding:16px 13px;gap:9px}.part-explanation p{font-size:15px}.explanation-number{width:23px;height:23px;font-size:11px}.example-panel .small-label{font-size:12px;line-height:1.8}.lesson-bottom-grid{display:grid;grid-template-columns:1fr;gap:17px}.pitfall-example p{font-size:17px;line-height:1.9}.pitfall-example{gap:10px}.pitfall-example>span{font-size:18px}.pitfall-why{font-size:15px}.mini-check h2{font-size:20px;line-height:1.6}.mini-option{font-size:15px;padding:13px;gap:10px}.mini-feedback{font-size:15px}.lesson-cta{padding:25px 22px;gap:18px;flex-wrap:wrap}.cta-spark{font-size:43px}.lesson-cta>div{flex:1;min-width:180px}.lesson-cta h2{font-size:23px}.lesson-cta p{font-size:14px}.lesson-cta .primary-button{width:100%;font-size:15px;margin-top:3px}dialog{padding:32px 24px}dialog h2{font-size:26px}dialog p,dialog li{font-size:15px}footer{font-size:11px;padding:0 17px 24px}#toast{font-size:13px}}
@media(max-width:370px){.save-indicator{display:none}.level-bar{flex-wrap:wrap}.level-pills{width:100%;justify-content:space-between}.level-pill{flex:1}nav a{font-size:9px}.question{font-size:24px}.exercise-body{padding-left:17px;padding-right:17px}.grammar-art b{display:none}.page-heading h1{font-size:30px}.sentence-piece{font-size:20px}.grammar-filters select{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#answer-feedback,.training-card{scroll-margin-top:22px}
.session-scorebar{margin:0 0 20px;padding:17px 20px;border:1px solid #e0e9df;border-radius:12px;background:#f0f6ef;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px 18px}.session-scorebar>span{font-size:13px;color:#85917f}.session-scorebar>div{display:flex;gap:22px}.session-scorebar strong{font-size:14px;font-weight:600;color:#75816e}.session-scorebar b{font-size:17px;color:#4f7855;margin-left:7px}.session-scorebar>small{flex-basis:100%;font-size:12px;color:#8d9a87}.progress-step.unassessed{background:#c5cbd0}.answer-pending{border-color:#c4ccd2;background:#fcfcfd}.detailed-feedback.neutral-feedback{border-color:#dfe5e9;background:#fafcfd}.credited-feedback{border-color:#d4e6d7;background:#f7fcf6}.score-cards{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:24px 0}.score-card{border-radius:12px;padding:17px 19px;border:1px solid #e2e7e3;background:white;min-width:0}.score-card>span{display:block;color:#87938a;font-size:12px}.score-card strong{display:block;font-size:20px;line-height:1.6;margin:7px 0;font-weight:700;color:#4e6e55}.score-card small{font-size:12px;line-height:1.9;color:#929c93;display:block}.score-card.score-error{background:#fff5f1;border-color:#eddbd3}.score-error strong{color:#aa7163}.score-card.score-pending{background:#f7f9fa;border-color:#e1e6e9}.score-pending strong{color:#7d8891;font-size:17px}.score-pending>span,.score-pending small{color:#98a1a9}.self-credit-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin-top:25px}.self-credit-actions .text-button{color:#7e8993;font-size:13px}.alternative-label{font-size:11px;color:#9aa4ad}.is-alternative .breakdown-icon{color:#98a4ae;font-size:22px}.detailed-feedback .is-alternative code{color:#77838d;background:#edf1f3}.extra-issue{display:flex;gap:12px;align-items:flex-start;margin-top:22px}.extra-issue>span{font-size:20px}.extra-issue p{font-size:16px;line-height:1.9;color:#7d858b}.completion-metrics{display:flex;justify-content:center;gap:45px;margin:23px 0}.completion-metrics strong{display:block;font-size:25px;color:#64776b}.completion-metrics span{font-size:12px;color:#9ca59f}.completion .pending-score-note{font-size:14px;max-width:500px;margin:14px auto;color:#97a198;line-height:1.9}.completion .completion-meta{font-size:13px;margin-top:21px}.history-scores{display:flex;gap:18px;justify-content:flex-end}.history-scores>span{font-size:16px;white-space:nowrap}.history-scores small{display:block;font-size:10px;color:#9fa8a2;font-weight:500}.history-row{grid-template-columns:1fr 1fr 135px}
@media(max-width:900px){.session-scorebar{align-items:flex-start}.score-card strong{font-size:18px}.score-pending strong{font-size:15px}.history-row{grid-template-columns:1fr 1fr 119px}.history-scores{gap:12px}.history-scores small{font-size:9px}}
@media(max-width:640px){.session-scorebar{padding:15px 17px;gap:11px;margin-bottom:19px}.session-scorebar>span{font-size:12px}.session-scorebar>div{width:100%;justify-content:space-between;gap:14px}.session-scorebar strong{font-size:13px}.session-scorebar b{font-size:16px;margin-left:4px}.session-scorebar>small{font-size:11px;line-height:1.8}.score-cards{grid-template-columns:1fr;gap:11px;margin:21px 0}.score-card{padding:15px 16px}.score-card>span{font-size:12px}.score-card strong{font-size:19px}.score-card small{font-size:12px}.score-pending strong{font-size:17px}.self-credit-actions{gap:18px;margin-top:22px}.self-credit-actions .secondary-button{font-size:13px;line-height:1.8;text-align:left}.self-credit-actions .text-button{font-size:12px;text-align:left;line-height:1.8}.alternative-label{font-size:10px}.completion-metrics{gap:23px}.completion-metrics span{font-size:11px}.completion .pending-score-note{font-size:13px}.history-row{grid-template-columns:minmax(0,1fr) 94px;gap:8px}.history-row>small{grid-column:1;grid-row:2}.history-scores{grid-column:2;grid-row:1 / span 2;gap:10px}.history-scores>span{font-size:15px}.history-scores small{font-size:8px}.extra-issue p{font-size:15px}}

.score-card small{text-transform:none;letter-spacing:0}

.scoring-policy{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:-5px 0 23px;color:#96a196;font-size:13px}.scoring-policy strong{color:#68846b;font-weight:600}@media(max-width:640px){.scoring-policy{font-size:12px;line-height:1.9;margin-top:0}}

.detailed-feedback .meaning-accepted-note{background:#edf7e9;border-radius:10px;padding:16px 18px;color:#63805c;font-size:15px;line-height:1.9;margin:20px 0}

/* Answer feedback must not move the viewport through browser scroll anchoring. */
html{overflow-anchor:none;scrollbar-gutter:stable}

#app[data-view="practice"] .question{animation:none}

.progress-track.long-run{display:block;padding:0;margin-top:24px;height:5px;overflow:hidden;background:#e8ece9;border-radius:8px}.long-run-fill{display:block;height:100%;background:var(--green);border-radius:8px;transition:width .2s}.tiny-progress{min-width:45px}.lesson-cta p{max-width:580px}

@media(max-width:640px){.progress-track.long-run{margin-top:20px}}

.answer-wrap.answer-bad,.answer-wrap.answer-bad:focus-within{border:2px solid #e4443d;background:#fff3f1;box-shadow:0 0 0 4px #e4443d0b}.answer-wrap.answer-bad textarea{color:#a63029}.retry-warning{display:flex;align-items:flex-start;gap:15px;padding:22px 24px;border-radius:14px;margin:22px 0 0;border:1px solid #f0c7c0;background:#fff0ed;color:#a83a31}.retry-warning>span{width:28px;height:28px;border:2px solid currentColor;border-radius:50%;font-size:18px;line-height:24px;text-align:center;font-weight:750;flex-shrink:0}.retry-warning strong{display:block;font-size:21px;line-height:1.4}.retry-warning p{font-size:16px;line-height:1.7;margin:9px 0 0;color:#b5685f}.retry-warning.retry-uncertain{background:#f2f5f7;border-color:#dce3e8;color:#647482}.retry-uncertain p{color:#778690}.retry-warning .text-button{margin-top:15px;font-size:15px;text-align:left}.retry-warning[hidden]{display:none}@media(max-width:640px){.retry-warning{padding:18px 16px;gap:11px}.retry-warning strong{font-size:19px}.retry-warning p{font-size:15px}}

.answer-celebration{position:fixed;inset:0;width:100%;height:100%;z-index:100;pointer-events:none;user-select:none;contain:strict}@media(prefers-reduced-motion:reduce){.answer-celebration{display:none}}@media print{.answer-celebration{display:none!important}}
