:root{color-scheme:light;--orange:#f56600;--orange-ink:#ae4100;--orange-soft:#fff0e3;--teal:#08745d;--teal-soft:#e8f3ec;--ink:#20372d;--muted:#66756c;--line:#dfe7df;--bg:#f5f7f2;--white:#fff;--red:#a72e31;--red-soft:#fff1f0;--radius:20px;--shadow:0 8px 32px #20372d07;--sidebar:232px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;min-width:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.6;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit}button,input,select,textarea,a,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--teal)}a{color:var(--teal);text-underline-offset:4px}a,button{transition:background .15s,color .15s,border-color .15s,box-shadow .15s}button{border:0}a{text-decoration:none}a:hover{text-decoration:none}h1,h2,h3,p,dl,dd,ul{margin:0}h1,h2,h3{line-height:1.22;letter-spacing:-.035em;overflow-wrap:anywhere}h1{font-size:clamp(27px,3.4vw,38px);font-weight:750}h2{font-size:21px;font-weight:700}h3{font-size:16px;font-weight:650;letter-spacing:-.02em}p{color:var(--muted)}small{font-size:12px}svg{flex-shrink:0;vertical-align:middle}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}img,svg{max-width:100%}[hidden]{display:none!important}fieldset{min-width:0;border:0;padding:0;margin:0}legend{padding:0}code{font:inherit;font-family:ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}button,.btn,input,select,textarea{max-width:100%}.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:150;left:12px;top:-100px;padding:12px 18px;background:var(--white);border:2px solid var(--teal);border-radius:10px;color:var(--ink)}.skip-link:focus{top:12px}.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:24px;font-weight:750;letter-spacing:-1px;white-space:nowrap}.brand b{color:var(--orange-ink)}.logo-mark{display:grid;place-items:center;width:37px;height:40px;flex:none;border-radius:12px 12px 12px 4px;background:var(--orange);color:white;font-size:26px;line-height:1;font-weight:800}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:12px;background:var(--ink);color:white;font-weight:650;font-size:14px;line-height:1.45;text-align:center;white-space:normal}.btn:hover{background:#324e40}.btn.primary{background:var(--orange-ink);color:white}.btn.primary:hover{background:#8c3500}.btn.outline{background:white;border-color:var(--line);color:var(--ink)}.btn.outline:hover{background:var(--bg);border-color:#b6c9bc}.btn.text{background:transparent;color:var(--muted);padding:8px 4px}.btn.text:hover{color:var(--teal);background:var(--teal-soft)}.btn.small{min-height:44px;padding:10px 14px;font-size:13px}.btn.full{width:100%}.btn.danger{color:var(--red);background:var(--red-soft);border-color:#efcecb}.btn.text.danger{background:transparent}.btn.danger:hover{background:#ffe5e1}.btn .icon{width:18px;height:18px}.text-link{display:inline-flex;align-items:center;gap:5px;min-height:44px;font-size:13px;font-weight:650;color:var(--teal);text-decoration:none}.text-link:hover{color:var(--orange-ink)}.text-link .icon{width:16px;height:16px}.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 11px;font-size:11px;line-height:1.35;font-weight:650;border-radius:100px;background:var(--teal-soft);color:var(--teal)}.pill .icon{width:14px;height:14px}.pill.gray{background:#eff2ed;color:var(--muted)}.eyebrow,.step-label{font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--teal)}.muted{color:var(--muted)}.fine{font-size:12px;color:var(--muted)}.card{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:white;padding:25px;box-shadow:var(--shadow)}.between,.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.page-heading{margin-bottom:26px}.page-heading h1{margin:7px 0 9px}.page-heading>p:not(.eyebrow){max-width:660px;font-size:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.section-heading .eyebrow{display:block;margin-bottom:7px}.section-heading h2{font-size:19px}.input{display:block;width:100%;min-width:0;min-height:48px;border:1px solid #cdd9cf;background:#fff;color:var(--ink);padding:11px 13px;border-radius:11px;font-size:16px;line-height:1.5;transition:border .15s,box-shadow .15s}.input:hover{border-color:#9db5a4}.input:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 3px #08745d16}.input::placeholder{color:#859087}.field{display:grid;gap:8px;margin:0 0 22px;font-size:13px;color:var(--ink);font-weight:650}.field-note{font-size:12px;color:var(--muted);font-weight:400}.form-group{margin-bottom:24px}.form-group legend{margin-bottom:10px;font-size:13px;font-weight:650}.form-footnote{font-size:12px;text-align:center;margin-top:16px}.progress-track{height:7px;border-radius:8px;background:#eaf0e7;overflow:hidden}.progress-track>span{display:block;height:100%;border-radius:inherit;background:var(--teal);transition:width .2s}.avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#dbe9dd;color:#33543e;font-size:14px;font-weight:700}.avatar.large{width:56px;height:56px;font-size:22px}.empty{padding:42px 24px;text-align:center;display:grid;justify-items:center;gap:12px}.empty h2{font-size:23px}.empty p{max-width:430px;font-size:14px}.empty .btn{margin-top:8px}.empty.compact{padding:22px 12px 12px;box-shadow:none}.empty-icon,.section-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--teal-soft);border-radius:15px;color:var(--teal)}.empty-icon .icon{width:25px;height:25px}.empty-text{font-size:13px;padding:12px 0}.inline-error{display:flex;align-items:flex-start;gap:8px;background:var(--red-soft);color:var(--red);padding:12px 14px;border-radius:10px;font-size:13px;margin-top:16px}.inline-error .icon{width:18px;height:18px;margin-top:2px}.spinner{width:17px;height:17px;display:inline-block;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}body[aria-busy=true] .nav-item{cursor:progress}
/* Desktop navigation and shared app frame. */
.app-shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;padding:31px 18px 18px;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);overflow-y:auto;z-index:25}.sidebar>.brand{margin:0 13px 42px}.sidebar-label{font-size:9px;letter-spacing:1.6px;font-weight:750;color:#8c968d;margin:0 14px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{min-height:48px;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;color:var(--muted);font-size:13px;font-weight:550;text-decoration:none}.nav-item .icon{width:20px;height:20px}.nav-item:hover{background:#f4f7f0;color:var(--teal)}.nav-item.active{background:var(--orange-soft);color:var(--orange-ink);font-weight:700}.sidebar-bottom{margin-top:auto;padding-top:28px}.sidebar-membership{border:1px solid var(--line);border-radius:14px;padding:14px 12px;margin-bottom:18px}.sidebar-membership p{font-size:11px;margin-top:9px}.sidebar-membership a{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;font-weight:700;margin-top:9px;min-height:30px}.sidebar-membership .icon{width:14px;height:14px}.profile-link{display:flex;align-items:center;gap:10px;padding:13px 8px 0;border-top:1px solid var(--line);margin-top:13px;color:var(--ink)}.profile-link>span:nth-child(2){min-width:0}.profile-link b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.profile-link small{display:block;color:var(--muted);font-size:10px;margin-top:1px}.profile-link>.icon{margin-left:auto;width:16px;height:16px}.profile-link.active .avatar{background:var(--orange-soft);color:var(--orange-ink)}.main-area{min-width:0;display:flex;flex-direction:column}.app-topbar{position:sticky;top:0;z-index:20;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 36px;border-bottom:1px solid var(--line);background:#fbfcf9f5;backdrop-filter:blur(14px)}.topbar-title{min-width:0;font-size:13px;font-weight:600;color:#7a877c}.topbar-actions{display:flex;align-items:center;gap:14px}.language-select{min-height:44px;display:flex;align-items:center;gap:7px;padding:0 8px;color:var(--muted)}.language-select>.icon{width:17px;height:17px}.language-select select{background:transparent;border:0;color:var(--ink);font-size:13px;font-weight:600;padding:10px 4px;min-height:44px;max-width:110px}.plan-shortcut{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;min-height:44px;border:1px solid var(--line);border-radius:10px;color:var(--orange-ink);font-size:12px;font-weight:650;background:white}.plan-shortcut .icon{width:17px;height:17px}.app-content{width:100%;max-width:1390px;padding:34px 36px 40px;margin-inline:auto;flex:1;min-width:0}.app-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#8c968e;padding:15px 36px 24px}.app-footer a{color:var(--muted)}.mobile-nav,.mobile-brand{display:none}
/* Home. */
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:24px}.dashboard-main,.dashboard-aside{min-width:0;display:grid;align-content:start;gap:22px}.continue-card{display:flex;position:relative;min-width:0;overflow:hidden;border-radius:22px;background:#164e3e;color:white;padding:32px}.continue-copy{position:relative;z-index:1;max-width:75%}.continue-kicker{font-size:10px;letter-spacing:1.2px;font-weight:650;color:#c9e3cd}.continue-card h2{font-size:clamp(24px,2.5vw,32px);max-width:400px;margin:14px 0 10px}.continue-card p{color:#d1e3d6;font-size:13px;max-width:350px;margin-bottom:22px}.continue-card .btn{background:white;color:#215541;border:0;min-height:45px}.continue-card .btn:hover{background:#edf5e8}.continue-meta{display:flex;align-items:center;gap:18px;font-size:10px;margin-top:20px;color:#c9decd}.continue-meta>span{display:flex;align-items:center;gap:5px}.continue-meta .icon{width:13px;height:13px}.continue-art{position:absolute;width:190px;height:190px;right:-4px;top:30px;display:grid;place-items:center}.continue-emoji{display:grid;place-items:center;width:103px;height:115px;background:#e9f4d7;border-radius:24px;box-shadow:0 12px 0 #0d3d2e30;transform:rotate(12deg);font-size:62px;z-index:1}.art-ring{position:absolute;width:176px;height:176px;border:1px solid #9dbb882b;border-radius:50%}.art-dot{position:absolute;background:#e7edb9;border-radius:50%;width:12px;height:12px}.art-dot.one{top:14px;right:37px}.art-dot.two{bottom:9px;left:10px;width:7px;height:7px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat-card{min-width:0;display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:15px;background:white;padding:17px 14px}.stat-card>div{min-width:0}.stat-icon{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:11px;background:#edf2fc;color:#5476ae}.stat-icon.orange{background:var(--orange-soft);color:var(--orange-ink)}.stat-icon.teal{background:var(--teal-soft);color:var(--teal)}.stat-icon .icon{width:20px;height:20px}.stat-card strong{display:block;font-size:23px;line-height:1.2;letter-spacing:-1px}.stat-card strong small{font-size:12px;letter-spacing:0;font-weight:550}.stat-card div>span{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.4}.daily-card{text-align:center;padding:22px 19px}.daily-card .between h2{font-size:15px}.daily-card .pill{font-size:9px;padding:5px 8px}.goal-circle{width:152px;height:152px;display:grid;place-items:center;margin:26px auto 17px;border-radius:50%;background:conic-gradient(var(--orange) var(--goal),#edf0e5 0);padding:9px;transform:rotate(-85deg)}.goal-circle>div{display:grid;place-content:center;width:100%;height:100%;border-radius:50%;background:white;transform:rotate(85deg)}.goal-circle strong{font-size:29px;line-height:1.3;letter-spacing:-1px}.goal-circle small{font-size:13px;letter-spacing:0;color:var(--muted);font-weight:500}.goal-circle span{font-size:10px;color:var(--muted);margin-top:4px}.daily-card>p{font-size:10px}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:23px}.week-day{display:grid;justify-items:center;gap:8px;font-size:10px;color:#8a958a}.week-day>b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:10px;font-weight:550}.week-day.today>b{border:1px solid #d4dcca;color:var(--ink)}.week-day.done>b{background:var(--orange-soft);color:var(--orange-ink)}.week-day .icon{width:13px;height:13px}.practice-card{padding:24px;border-radius:var(--radius);background:#eef3e8;border:1px solid #dee7d8}.practice-card-icon{display:grid;place-items:center;width:40px;height:40px;background:white;border-radius:13px;color:var(--teal);margin-bottom:18px}.practice-card h2{font-size:21px;margin-bottom:9px}.practice-card p{font-size:12px;margin-bottom:20px}.practice-card .btn{font-size:11px;padding:11px 13px;min-height:44px;width:100%;justify-content:space-between}.lessons-preview .btn:not(.small){margin-top:15px}.resume-card{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid #ccdcca;background:#eef5eb;border-radius:14px;margin-bottom:24px;min-width:0}.resume-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;background:#dcebd8;color:var(--teal);border-radius:10px}.resume-card>div{flex:1;min-width:0}.resume-card b{font-size:12px}.resume-card p{font-size:11px;overflow-wrap:anywhere}.resume-card .btn{flex:none}.resume-card .btn.text{font-size:11px;color:var(--muted)}
/* Lessons and curriculum. */
.lesson-row{min-width:0;display:flex;align-items:center;gap:14px;padding:18px 0;border-top:1px solid #edf0e9}.lesson-row:first-child{border-top:0}.lesson-emoji{display:grid;place-items:center;flex:none;width:43px;height:43px;font-size:24px;border-radius:13px;background:#f2f5ec}.lesson-info{flex:1;min-width:0}.lesson-info h3{font-size:13px;line-height:1.45;letter-spacing:-.01em}.lesson-info p{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px;margin-top:4px}.lesson-row .btn{flex:none;min-width:88px}.lesson-lock{display:flex;align-items:center;gap:6px;color:#8b958b;font-size:10px;max-width:135px;line-height:1.5}.lesson-lock .icon{width:14px;height:14px}.lesson-row.completed .lesson-emoji{background:var(--teal-soft)}.course-overview{display:flex;align-items:center;gap:18px;margin-bottom:26px;padding:23px 25px}.course-symbol{font-size:33px;flex:none;width:57px;height:57px;display:grid;place-items:center;background:#f3f6ee;border-radius:16px}.course-overview>div{flex:1;min-width:0}.course-overview h2{font-size:20px}.course-overview p{font-size:11px;margin:6px 0 14px}.course-overview .progress-track{max-width:450px}.stage-list{display:grid;gap:14px}.stage{border:1px solid var(--line);border-radius:16px;background:white;min-width:0;overflow:hidden}.stage>summary{display:flex;align-items:center;gap:16px;padding:21px 23px;cursor:pointer;list-style:none}.stage>summary::-webkit-details-marker,details>summary::-webkit-details-marker{display:none}.stage-number{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--teal-soft);color:var(--teal);font-size:13px;font-weight:700}.stage-title{display:grid;gap:4px;flex:1;min-width:0}.stage-title b{font-size:15px}.stage-title small{font-size:11px;color:var(--muted)}.stage-status{font-size:10px;color:var(--muted);white-space:nowrap}.stage-status.done{color:var(--teal)}.stage-status.done .icon{width:18px;height:18px}.stage>summary>.icon{width:17px;height:17px;transition:transform .15s;color:#829080}.stage[open]>summary>.icon{transform:rotate(90deg)}.stage-content{padding:0 24px 5px;border-top:1px solid #edf0e8}.stage-empty{padding:20px 0;font-size:12px}
/* Onboarding, lessons and results. */
.simple-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:27px}.onboarding,.result-shell{min-height:100dvh;background:#f9faf7}.onboard-content{width:min(510px,calc(100% - 40px));margin:26px auto 60px}.onboard-content h1{margin:13px 0 12px;font-size:34px}.onboard-content>p{font-size:14px;margin-bottom:30px}.onboard-content form{margin-top:26px}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.language-option{position:relative;display:flex;align-items:center;gap:10px;min-width:0;min-height:75px;text-align:left;padding:15px 17px;border:1px solid var(--line);background:white;color:var(--ink);border-radius:13px}.language-option .flag{font-size:29px}.language-option b{font-size:14px}.language-option.selected{background:#fff8f1;border:2px solid var(--orange-ink);padding:14px 16px}.selection-mark{margin-left:auto;color:var(--orange-ink)}.selection-mark .icon{width:17px;height:17px}.choice-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.chip{min-height:47px;border:1px solid var(--line);background:white;color:var(--muted);border-radius:11px;font-size:12px;font-weight:600;padding:10px 8px}.chip.active{border-color:var(--teal);color:var(--teal);background:var(--teal-soft)}.lesson-shell{min-height:100dvh;background:var(--bg)}.lesson-header{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 35px;background:white;border-bottom:1px solid var(--line)}.lesson-back{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:600;min-height:44px}.lesson-back .icon{width:18px;height:18px}.lesson-header-label{font-size:11px;color:var(--muted)}.lesson-progress{height:5px;background:#e7eee1}.lesson-progress>span{display:block;height:100%;background:var(--orange);transition:width .2s}.lesson-layout{width:min(1190px,calc(100% - 64px));margin:30px auto 60px;display:grid;grid-template-columns:340px minmax(0,1fr);gap:27px;align-items:start}.lesson-notes{min-width:0;border:1px solid var(--line);border-radius:16px;background:white;overflow:hidden}.lesson-notes>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:16px 22px;font-size:12px;border-bottom:1px solid var(--line)}.lesson-notes>summary>.icon:first-child{width:17px;height:17px;color:var(--teal)}.lesson-notes>summary>.icon:last-child{margin-left:auto;width:15px;height:15px}.lesson-notes[open]>summary>.icon:last-child{transform:rotate(90deg)}.notes-body{padding:24px}.notes-body h2{font-size:24px;margin:17px 0 14px}.notes-body>p{font-size:13px;white-space:pre-line}.notes-body h3{font-size:13px;margin:27px 0 12px}.vocabulary>div{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:11px 0;border-bottom:1px solid #eef1eb;font-size:12px}.vocabulary dt{font-weight:650}.vocabulary dd{text-align:right;color:var(--muted)}.example{display:grid;gap:6px;font-size:12px;margin-bottom:16px;background:#f5f8ef;padding:13px;border-radius:10px}.example span{color:var(--muted)}.example small{font-size:10px;color:var(--muted)}.notes-body>.btn{margin-top:10px;font-size:11px}.question-panel{min-width:0;background:white;padding:32px;border:1px solid var(--line);border-radius:18px;min-height:510px}.question-tag{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--orange-ink)}.question-panel h1{font-size:29px;margin:16px 0}.question-intro{font-size:13px;max-width:500px}.lesson-scene{padding:17px 20px;background:#f5f8ef;border-radius:12px;margin:25px 0}.lesson-scene .eyebrow{font-size:9px}.lesson-scene p{font-size:12px;margin-top:8px;white-space:pre-line}.dialogue-line{max-width:90%;margin-top:13px;padding:15px 18px;border:1px solid var(--line);border-radius:13px;background:white;font-size:13px}.dialogue-line.reply{background:var(--orange-soft);border:0;margin-left:auto}.dialogue-line b{display:block;font-weight:600}.dialogue-line span{display:block;font-size:11px;color:var(--muted);margin-top:6px}.question-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.question-heading .pill{font-size:10px}.question-panel .question-title{font-size:27px;margin:25px 0 27px;line-height:1.35}.answer-options{display:grid;gap:12px}.answer{display:flex;align-items:center;gap:13px;width:100%;text-align:left;min-height:65px;padding:14px 18px;border:1px solid #d7e0d7;border-radius:12px;background:white;color:var(--ink);font-size:14px;line-height:1.5}.answer>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}.answer:hover:not(:disabled){border-color:var(--teal);background:#f9fbf5}.answer.selected{border:2px solid var(--orange-ink);padding:13px 17px;background:#fff9f3}.answer:disabled{opacity:1;cursor:default}.answer-letter{display:grid;place-items:center;flex:none;width:29px;height:29px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:11px;font-weight:650}.answer.selected .answer-letter{border-color:#e1b191;color:var(--orange-ink);background:#fff0e1}.answer-mark{width:20px;flex:none}.answer-mark i{display:block;width:13px;height:13px;background:var(--orange-ink);border-radius:50%;margin:auto}.answer.correct{border:2px solid var(--teal);background:#f0f8ed;padding:13px 17px}.answer.correct .answer-letter,.answer.correct .answer-mark{color:var(--teal)}.answer.incorrect{border:2px solid #c15b55;background:#fff3f1;padding:13px 17px}.answer-feedback{display:flex;align-items:start;gap:12px;padding:18px;background:var(--teal-soft);border-radius:12px;margin-top:20px;color:var(--teal)}.answer-feedback>span{width:23px}.answer-feedback b{font-size:13px}.answer-feedback p{font-size:12px;margin-top:5px;color:#456650;white-space:pre-line}.answer-feedback.incorrect{background:var(--orange-soft);color:#96511b}.answer-feedback.incorrect p{color:#775940}.question-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:30px;padding-top:23px;border-top:1px solid var(--line)}.question-footer>span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px;max-width:45%}.question-footer>span .icon{width:14px;height:14px}.result-content{width:min(550px,calc(100% - 40px));text-align:center;margin:45px auto 70px;display:grid;justify-items:center}.result-icon{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:var(--teal-soft);color:var(--teal);margin-bottom:26px}.result-icon .icon{width:38px;height:38px;stroke-width:2}.result-icon.retry{background:var(--orange-soft);color:var(--orange-ink)}.result-content h1{font-size:37px;margin:13px 0}.result-content>p{font-size:14px;max-width:440px}.result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;margin:30px 0;padding:25px 10px;background:white;border:1px solid var(--line);border-radius:16px}.result-stats>div{border-right:1px solid var(--line)}.result-stats>div:last-child{border:0}.result-stats strong{display:block;font-size:28px;line-height:1.3;letter-spacing:-1px}.result-stats span{font-size:11px;color:var(--muted)}.result-content>.result-note{font-size:12px;margin:-10px 0 25px}.result-actions{display:grid;gap:12px;width:100%;max-width:350px}
/* Practice. */
.practice-settings{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.setting-button{display:flex;align-items:center;gap:8px;min-height:45px;padding:10px 17px;border:1px solid var(--line);border-radius:100px;background:white;color:var(--muted);font-size:12px;font-weight:600}.setting-button>span{font-size:18px}.setting-button.active{background:var(--teal-soft);border-color:#8dbca5;color:var(--teal)}.chat-panel{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;height:clamp(440px,64dvh,690px);min-height:0}.chat-header{display:flex;align-items:center;gap:11px;padding:17px 22px;border-bottom:1px solid var(--line)}.chat-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;background:var(--teal-soft);color:var(--teal);border-radius:12px}.chat-header>div{min-width:0}.chat-header h2{font-size:14px}.chat-header p{font-size:11px;margin-top:4px}.chat-header>.btn{margin-left:auto;font-size:11px;padding:8px}.chat-header>.btn .icon{width:15px;height:15px}.chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:25px;display:flex;flex-direction:column;gap:21px;scroll-padding:15px}.chat-entry{display:grid;justify-items:start;gap:6px}.chat-entry.user{justify-items:end}.chat-author{font-size:9px;font-weight:700;color:#8b958b;text-transform:uppercase;letter-spacing:1px}.chat-bubble{max-width:min(520px,90%);padding:15px 18px;background:#f1f5ec;border-radius:3px 15px 15px;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.chat-entry.user .chat-bubble{background:var(--orange-soft);border-radius:15px 3px 15px 15px}.chat-form{padding:16px 20px;display:flex;align-items:flex-end;gap:10px;background:#fbfcf9;border-top:1px solid var(--line)}.chat-form .input{max-height:120px;min-height:47px;resize:none;line-height:1.5;padding:11px 14px}.chat-form .btn{min-height:47px;flex:none;padding:12px 18px}.chat-form .btn .icon{width:18px;height:18px}.suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.suggestions>span{font-size:10px;color:var(--muted);margin-right:2px}.suggestions>button{display:flex;gap:8px;align-items:center;min-height:44px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--teal);font-size:11px;max-width:100%;padding:10px 13px;text-align:left;line-height:1.5}.suggestions>button .icon{width:14px;height:14px}.typing{display:flex;gap:5px;padding:17px}.typing i{width:6px;height:6px;background:#779581;border-radius:50%;animation:pulse 1s ease-in-out infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes pulse{50%{opacity:.3;transform:translateY(-3px)}}.chat-retry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border-radius:10px;background:var(--red-soft);font-size:12px}.chat-retry p{color:var(--red)}.chat-retry .btn{flex:none}
/* Progress. */
.progress-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}.progress-stats .card{padding:22px}.progress-stats .card>span{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.progress-stats .icon{width:18px;height:18px;color:var(--teal)}.progress-stats strong{display:block;font-size:35px;line-height:1.2;margin-top:17px;letter-spacing:-1px}.progress-stats strong small{font-size:14px;letter-spacing:0;color:var(--muted);font-weight:500}.track-progress{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.track-progress .card h2{font-size:17px}.track-progress .progress-track{margin:22px 0 10px}.track-progress p{font-size:11px}.completion-section .section-heading{margin-bottom:10px}.completed-row{display:grid;grid-template-columns:30px minmax(0,1fr) 55px auto;align-items:center;gap:15px;padding:18px 0;border-top:1px solid var(--line)}.completed-row:first-child{border-top:0}.completed-check{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--teal-soft);color:var(--teal)}.completed-check .icon{width:15px;height:15px}.completed-row h3{font-size:13px}.completed-row p{font-size:10px;margin-top:5px}.completed-row strong{font-size:14px;color:var(--teal);text-align:right}.completed-row .btn{font-size:11px}
/* Membership, checkout and receipts. */
.membership-active{display:flex;align-items:center;gap:12px;margin-bottom:22px;background:var(--teal-soft);padding:17px 20px;border-radius:14px}.membership-active>.icon{color:var(--teal);width:23px;height:23px}.membership-active>div{min-width:0;flex:1}.membership-active b{font-size:13px}.membership-active p{font-size:11px;margin-top:4px}.membership-active .text-link{font-size:11px}.demo-banner{display:flex;align-items:flex-start;gap:9px;margin-bottom:22px;font-size:11px;color:#82603d;background:#fff3e7;padding:12px 15px;border:1px solid #f4dfc7;border-radius:10px}.demo-banner>.icon{width:16px;height:16px;margin-top:1px}.membership-controls{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:22px 0}.payment-method{width:250px;margin:0}.membership-controls>.btn{font-size:11px}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch;margin:23px 0 28px}.plan{position:relative;display:flex;flex-direction:column;padding:26px 23px}.plan.featured{border:2px solid var(--orange-ink);padding:25px 22px;background:#fffcf7}.popular-label{position:absolute;top:-13px;left:19px;border-radius:100px;padding:5px 12px;background:var(--orange-ink);color:white;font-size:9px;letter-spacing:.2px;font-weight:700}.plan-icon{display:grid;place-items:center;width:37px;height:37px;color:var(--orange-ink);background:var(--orange-soft);border-radius:12px;margin-bottom:17px}.plan h2{font-size:21px;margin-bottom:17px}.plan-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;color:var(--ink);font-size:clamp(24px,2.6vw,34px);font-weight:750;line-height:1.3;letter-spacing:-1.4px}.plan-price>span{font-size:13px;font-weight:500;letter-spacing:0;color:var(--muted)}.plan-period{font-size:10px;margin-top:7px}.plan ul{list-style:none;padding:21px 0 0;margin:22px 0 25px;border-top:1px solid var(--line);display:grid;align-content:start;gap:13px;flex:1}.plan li{display:flex;align-items:start;gap:8px;font-size:11px;line-height:1.65}.plan li .icon{width:15px;height:15px;color:var(--teal);margin-top:2px}.plan .btn{font-size:12px;padding-inline:10px}.payment-panel{padding:25px;border:1px solid #e7d2b7;border-radius:18px;background:#fffaf2;margin:26px 0;scroll-margin-top:95px}.payment-panel.success{border-color:#bbd5bc;background:#f0f7ec}.payment-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.payment-heading>span{display:grid;place-items:center;width:43px;height:43px;flex:none;border-radius:50%;background:#fff0db;color:var(--orange-ink)}.success .payment-heading>span{color:var(--teal);background:#dcebd5}.payment-heading>div{flex:1;min-width:0}.payment-heading h2{font-size:19px}.payment-heading p{font-size:11px;margin-top:4px}.payment-heading>strong{font-size:19px;letter-spacing:-.6px;white-space:nowrap}.payment-panel>p{font-size:12px;margin:10px 0 18px}.payment-panel>.btn{margin:4px 10px 5px 0}.payment-panel .demo-notice{font-size:10px;color:#80613f}.demo-tools,.payment-reference{padding-top:12px;margin-top:12px;border-top:1px solid #dddfd2}.demo-tools>summary,.payment-reference>summary{font-size:10px;color:var(--muted);cursor:pointer;min-height:35px}.demo-tools .btn{margin-top:8px}.payment-reference code{font-size:10px;display:block;margin:6px 0;line-height:1.7}.payment-history{margin-top:28px}.payment-history .section-heading{margin-bottom:5px}.payment-history .section-heading h2{font-size:18px}.payment-row{display:grid;grid-template-columns:33px minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:18px 0;border-top:1px solid #edf0e9}.payment-row:first-child{border-top:0}.payment-row-icon{width:31px;height:31px;display:grid;place-items:center;background:#f0f3eb;border-radius:50%;color:var(--teal)}.payment-row-icon .icon{width:15px;height:15px}.payment-row h3{font-size:12px;display:flex;align-items:center;gap:8px}.payment-row p{font-size:10px;margin-top:4px}.receipt-demo{font-size:8px;color:#8d7449;background:#fff1dc;padding:2px 5px;border-radius:4px;font-weight:500}.status-pill{font-size:9px;background:#f1f3ed;border-radius:20px;padding:5px 9px;color:var(--muted)}.status-pill.success{color:var(--teal);background:var(--teal-soft)}.payment-row .btn{font-size:10px;padding:9px 11px}.payment-row .btn .icon{width:13px;height:13px}.admin-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:11px;margin-top:12px;color:var(--muted)}.admin-link>.icon{width:13px;height:13px}
/* Profile, family and help. */
.account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.profile-card{padding:27px}.profile-card-heading{display:flex;align-items:center;gap:14px;padding-bottom:25px;margin-bottom:25px;border-bottom:1px solid var(--line)}.profile-card-heading h2{font-size:20px}.profile-card-heading p{font-size:12px;margin-top:5px}.account-secondary{display:grid;gap:22px;min-width:0}.membership-card{padding:25px}.membership-card .section-icon{margin-bottom:17px;width:39px;height:39px;background:var(--orange-soft);color:var(--orange-ink)}.membership-card h2{font-size:21px}.membership-card p{font-size:12px;margin:9px 0 21px}.membership-card .btn{font-size:12px}.study-tools h2{font-size:18px}.study-tools>p{font-size:12px;margin:9px 0 17px}.study-tools .btn.outline{font-size:12px}.study-tools .btn.text{font-size:11px;margin-top:5px}.family-section h2{font-size:18px}.section-symbol{font-size:30px}.family-section>p{font-size:12px;margin-bottom:17px}.family-section .eyebrow{font-size:9px}.family-section form{margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.family-section .field{font-size:12px}.family-section .btn{font-size:12px}.invitation-result:empty{display:none}.invitation-result{padding:15px;background:var(--teal-soft);margin-top:17px;border-radius:11px;font-size:12px}.invitation-result p{font-size:11px;margin-top:6px}.invitation-result code{display:block;margin:11px 0;line-height:1.8;font-size:11px;word-break:break-all}.invitation-result small{color:var(--muted);font-size:10px}.family-list{padding:0;margin-top:17px;list-style:none}.family-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:11px}.family-list small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.family-list .btn{font-size:10px}.account-links{display:grid;padding:10px 19px}.account-links a,.account-links>.btn{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:51px;color:var(--muted);font-size:12px;font-weight:500;padding:12px 4px;border-bottom:1px solid #edf0e8;border-radius:0}.account-links>.btn.danger{color:var(--red);border:0}.account-links a>.icon:last-child{margin-left:auto;width:15px;height:15px}.account-links .icon{width:18px;height:18px}.help-grid{display:grid;gap:13px;max-width:850px}.help-item{padding:0;box-shadow:none}.help-item>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px;min-height:64px;cursor:pointer;list-style:none;font-size:14px;font-weight:600}.help-item>summary>.icon{width:17px;height:17px;color:var(--muted);transition:transform .15s}.help-item[open]>summary>.icon{transform:rotate(90deg)}.help-item>p{padding:0 23px 23px;font-size:13px;max-width:720px}.help-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:36px 0 10px;max-width:850px;padding-top:25px;border-top:1px solid var(--line)}.help-bottom h2{font-size:20px}
/* Landing and shared overlays. */
.landing{background:#fbfcf8;min-height:100dvh}.landing-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:26px;padding-bottom:26px}.landing-nav nav{display:flex;align-items:center;gap:30px}.landing-text-link{font-size:12px;color:var(--muted);font-weight:600}.hero{display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:85px;padding-top:58px;padding-bottom:80px;min-height:540px}.hero-copy h1{font-size:clamp(38px,5.3vw,64px);line-height:1.09;margin:23px 0 24px;letter-spacing:-3.3px}.hero-copy h1 em{font-style:normal;color:var(--teal)}.hero-copy>p{font-size:16px;max-width:400px;line-height:1.75}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:29px}.hero-actions .btn{min-height:50px;font-size:13px}.hero-copy>.hero-free{display:flex;align-items:center;gap:7px;margin-top:20px;font-size:11px}.hero-free .icon{width:15px;height:15px;color:var(--teal)}.hero-visual{position:relative;min-width:0;padding-bottom:25px}.hero-lesson{background:white;padding:28px;border:1px solid #dbe5d8;border-radius:22px;box-shadow:0 24px 75px #254e2820;transform:rotate(2deg)}.hero-lesson .pill{font-size:9px;letter-spacing:.4px}.lesson-hero-icon{font-size:30px}.hero-lesson h2{font-size:25px;margin:21px 0}.hero-dialogue{display:grid;gap:13px}.hero-dialogue p{font-size:14px;padding:17px 18px;background:#f1f5ec;border-radius:13px;color:var(--ink);max-width:95%}.hero-dialogue p:nth-child(2){margin-left:auto;background:var(--orange-soft)}.hero-dialogue span{display:block;font-size:10px;color:var(--muted);margin-top:7px}.hero-card-foot{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted);margin-top:26px}.hero-card-foot>.icon,.hero-card-foot span>.icon{width:13px;height:13px}.hero-card-foot>span{display:flex;gap:5px;align-items:center;margin-left:auto}.hero-small-card{position:absolute;bottom:0;left:24px;display:flex;align-items:center;gap:12px;background:#184c3b;color:white;padding:17px 22px;border-radius:13px;transform:rotate(-2deg);box-shadow:0 10px 35px #1a40241c}.hero-small-card>.icon{width:24px;height:24px}.hero-small-card b{display:block;font-size:12px}.hero-small-card small{display:block;font-size:10px;color:#d0e1ce;margin-top:3px}.landing-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px;padding:40px 0 55px;border-top:1px solid var(--line)}.landing-features article>.icon{color:var(--teal);width:24px;height:24px;margin-bottom:14px}.landing-features h2{font-size:18px;margin-bottom:10px}.landing-features p{font-size:12px;max-width:280px}.landing-footer{display:flex;justify-content:space-between;gap:20px;padding:26px 0;font-size:10px;border-top:1px solid var(--line);color:var(--muted)}.landing-footer a{color:var(--muted)}.public-page{min-height:100dvh;background:var(--bg)}.public-content{padding-block:35px 65px}.loading,.connection-error{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:30px;text-align:center}.connection-error h1{font-size:30px}.connection-error p{font-size:14px;max-width:420px}.connection-error .btn{margin-top:5px}#toast{position:fixed;left:50%;bottom:26px;z-index:130;transform:translate(-50%,20px);display:flex;align-items:center;gap:11px;width:max-content;max-width:min(560px,calc(100% - 32px));padding:13px 13px 13px 17px;border:1px solid #395143;border-radius:13px;background:#213e30;color:white;box-shadow:0 12px 35px #173a2630;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:12px;line-height:1.6}#toast>.icon{width:18px;height:18px}#toast>span{min-width:0;overflow-wrap:anywhere}#toast>button{display:grid;place-items:center;flex:none;background:none;color:#dce8d8;width:36px;height:36px;border-radius:8px;padding:8px}#toast>button .icon{width:16px;height:16px}#toast.visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}#toast[data-type=error]{background:#713f33;border-color:#936252}dialog{width:min(430px,calc(100% - 36px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:20px;padding:28px;background:white;color:var(--ink);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#1a2e26a6;backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin-bottom:13px}dialog p{font-size:14px;line-height:1.7}dialog form{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}dialog .btn{font-size:12px}
/* Price administration uses the same responsive controls. */
.admin-page{min-height:100dvh}.admin-wrap{width:min(1080px,calc(100% - 48px));margin-inline:auto;padding:30px 0 55px}.admin-wrap>.page-heading{margin-top:30px}.admin-unlock{max-width:510px}.admin-unlock h2{font-size:19px;margin-bottom:13px}.admin-unlock p{font-size:12px;margin-bottom:20px}.admin-status{display:flex;align-items:center;gap:8px;border-radius:10px;font-size:12px;padding:12px 15px;margin:20px 0;background:var(--teal-soft);color:var(--teal)}.admin-status:empty{display:none}.admin-status.error{color:var(--red);background:var(--red-soft)}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:23px 0}.admin-toolbar p{font-size:12px;max-width:570px}.admin-plan{padding:24px}.admin-plan h2{margin:15px 0 22px}.admin-plan .field{font-size:12px}.admin-plan .check-field{display:flex;align-items:start;gap:9px;font-size:12px;min-height:50px;line-height:1.7;margin:17px 0}.check-field>input{width:18px;height:18px;flex:none;margin:3px 0;accent-color:var(--teal)}.admin-plan .btn{font-size:12px}.admin-bottom{margin-top:27px}.admin-reload{margin-top:3px}
/* Tablet: compact rail, readable cards and side-by-side content where it fits. */
@media(max-width:1250px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.app-content{padding:30px 28px}.app-topbar{padding-inline:28px}.continue-card{padding:27px}.continue-art{width:150px;height:170px;right:-20px}.continue-emoji{width:85px;height:100px;font-size:50px}.art-ring{width:145px;height:145px}.continue-copy{max-width:78%}.stat-card{padding:16px 11px;gap:8px}.stat-icon{width:31px;height:31px}.stat-card strong{font-size:21px}.stat-card div>span{font-size:9px}.plan{padding:23px 18px}.plan.featured{padding:22px 17px}.hero{gap:55px}}
@media(max-width:1099px) and (min-width:768px){:root{--sidebar:84px}.sidebar{padding:27px 13px 18px;align-items:center}.sidebar>.brand{margin:0 0 35px}.sidebar>.brand>span:last-child{display:none}.sidebar-label,.sidebar-membership{display:none}.sidebar nav{width:100%;gap:9px}.sidebar .nav-item{justify-content:center;padding:12px;min-height:49px}.sidebar .nav-item>span{display:none}.sidebar .nav-item .icon{width:23px;height:23px}.sidebar-bottom{width:100%;padding-top:24px}.profile-link{justify-content:center;padding:17px 0 0;margin-top:14px}.profile-link>span:nth-child(2),.profile-link>.icon{display:none}.app-topbar{min-height:74px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 250px;gap:19px}.app-content{padding:29px 26px}.continue-card h2{font-size:27px}.continue-art{opacity:.8;right:-36px}.continue-copy{max-width:84%}.stat-card{display:block;padding:15px 13px}.stat-card .stat-icon{margin-bottom:10px}.stat-card div>span{font-size:10px}.pricing-grid{gap:12px}.plan h2{font-size:19px}.plan-price{font-size:27px}.plan ul{gap:11px}.plan .btn{font-size:11px}.lesson-layout{grid-template-columns:290px minmax(0,1fr);gap:20px;width:calc(100% - 44px)}.question-panel{padding:25px}.notes-body{padding:22px}.question-panel .question-title{font-size:24px}.lesson-header{padding-inline:24px}}
@media(max-width:950px){.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{grid-template-columns:1fr 1fr;gap:19px}.daily-card{padding:21px}.daily-card .goal-circle{margin-top:20px;margin-bottom:12px;width:134px;height:134px}.daily-card .week-days{margin-top:16px}.practice-card{display:flex;flex-direction:column;justify-content:center;padding:25px}.practice-card h2{font-size:25px}.practice-card p{margin-top:5px}.practice-card .btn{margin-top:8px}.continue-art{width:180px;height:180px;right:20px;top:28px;opacity:1}.continue-copy{max-width:70%}.stat-card{display:flex;padding:19px 18px;gap:12px}.stat-card .stat-icon{margin:0;width:36px;height:36px}.stat-card div>span{font-size:10px}.account-layout{grid-template-columns:1fr 1fr;gap:20px}.pricing-grid{grid-template-columns:1fr 1fr}.plan:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.plan:last-child .plan-icon,.plan:last-child h2,.plan:last-child .plan-price,.plan:last-child .plan-period{grid-column:1}.plan:last-child ul{grid-column:2;grid-row:1/5;margin:0;padding:0;border:0;align-self:center}.plan:last-child .btn{grid-column:1/-1;margin-top:20px}.admin-plan:last-child{grid-column:auto;display:block}.admin-pricing-grid{grid-template-columns:1fr 1fr}.hero{gap:35px;padding-top:50px;padding-bottom:60px}.hero-copy h1{font-size:49px;letter-spacing:-2.5px}.hero-lesson{padding:22px}.hero-dialogue p{font-size:12px}.hero-lesson h2{font-size:23px}.hero-copy>p{font-size:14px}.hero-actions .btn{font-size:11px;padding-inline:15px}.hero-small-card{left:10px;padding:15px 18px}.hero-card-foot{flex-wrap:wrap}.hero-card-foot>span{margin-left:0}.landing-features{gap:25px}}
@media(max-width:1049px){.lesson-layout{grid-template-columns:1fr;max-width:760px;width:calc(100% - 44px);gap:18px;margin-top:24px}.lesson-notes{order:0}.notes-body{padding:25px}.notes-body h2{font-size:24px}.lesson-notes>summary{min-height:52px}.question-panel{order:1;min-height:470px;padding:29px}.question-footer{scroll-margin-bottom:20px}.lesson-header{padding-inline:24px}}
/* Phones: bottom navigation, safe areas, single-column tasks and 44px+ controls. */
@media(max-width:767px){html{scroll-padding-top:82px}.app-shell{display:block;min-height:100dvh}.sidebar{display:none}.mobile-brand{display:block}.desktop-title{display:none}.app-topbar{min-height:72px;padding:12px 18px;padding-top:calc(12px + env(safe-area-inset-top,0px));gap:10px}.app-topbar .brand{font-size:21px;gap:7px}.app-topbar .logo-mark{width:31px;height:34px;font-size:23px;border-radius:9px 9px 9px 3px}.topbar-actions{gap:6px}.language-select{padding:0 2px;gap:3px}.language-select>.icon{width:15px;height:15px}.language-select select{font-size:12px;width:80px;padding-right:0}.plan-shortcut{font-size:11px;padding:9px;gap:5px;border:0;background:var(--orange-soft)}.plan-shortcut .icon{width:16px;height:16px}.app-content{padding:27px 20px 32px;max-width:720px}.main-area{min-height:100dvh;padding-bottom:calc(69px + env(safe-area-inset-bottom,0px))}.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:50;border-top:1px solid var(--line);background:#fffffff7;backdrop-filter:blur(16px);padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px))}.mobile-nav .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:6px 2px;min-width:0;min-height:52px;border-radius:10px;font-size:9px;font-weight:550;line-height:1.2;color:#849084}.mobile-nav .nav-item .icon{width:21px;height:21px;stroke-width:1.8}.mobile-nav .nav-item.active{color:var(--orange-ink);background:var(--orange-soft);font-weight:700}.app-footer{font-size:9px;padding:5px 20px 23px;max-width:720px;width:100%;margin-inline:auto}.page-heading{margin-bottom:23px}.page-heading h1{font-size:29px;margin:7px 0 10px}.page-heading>p:not(.eyebrow){font-size:12px;line-height:1.7;max-width:420px}.eyebrow,.step-label{font-size:9px;letter-spacing:1.6px}.dashboard-main{gap:18px}.dashboard-grid{gap:18px}.continue-card{padding:25px;border-radius:19px;min-height:245px}.continue-card h2{font-size:28px;max-width:320px}.continue-card p{font-size:12px;max-width:300px}.continue-kicker{font-size:9px}.continue-meta{margin-top:18px;font-size:10px}.continue-art{width:155px;height:170px;right:1px;top:25px}.continue-emoji{width:87px;height:100px;font-size:51px}.art-ring{width:150px;height:150px}.continue-copy{max-width:72%}.stat-grid{gap:10px}.stat-card{display:block;padding:15px 14px;border-radius:13px}.stat-card .stat-icon{width:31px;height:31px;margin-bottom:12px}.stat-card strong{font-size:23px}.stat-card strong small{font-size:11px}.stat-card div>span{font-size:9px;line-height:1.5;max-width:75px}.card{padding:21px;border-radius:17px}.lessons-preview .section-heading{margin-bottom:12px}.section-heading h2{font-size:18px}.section-heading .text-link{font-size:11px}.dashboard-aside{gap:15px}.daily-card{padding:19px 15px}.daily-card .between{gap:5px;flex-wrap:wrap;justify-content:center}.daily-card .between h2{font-size:13px}.daily-card .pill{font-size:8px}.daily-card .goal-circle{width:125px;height:125px;margin:20px auto 12px;padding:8px}.goal-circle strong{font-size:25px}.goal-circle small{font-size:11px}.daily-card>p{font-size:9px}.week-days{gap:1px}.week-day>b{width:22px;height:22px;font-size:9px}.week-day{font-size:9px;gap:7px}.practice-card{padding:20px}.practice-card h2{font-size:22px}.practice-card p{font-size:11px;line-height:1.7}.practice-card .btn{font-size:10px;line-height:1.6;padding:10px}.practice-card .btn .icon{width:14px;height:14px}.resume-card{padding:14px;gap:10px;flex-wrap:wrap}.resume-card>div{flex-basis:calc(100% - 48px)}.resume-card>.btn{margin-left:46px;min-height:44px}.resume-card>.btn.text{margin-left:0}.resume-card p{font-size:10px}.course-overview{padding:20px;gap:13px}.course-symbol{width:46px;height:46px;font-size:28px;border-radius:13px}.course-overview h2{font-size:18px}.course-overview p{font-size:10px;margin:5px 0 11px}.course-overview>.pill{display:none}.stage>summary{gap:12px;padding:18px}.stage-number{width:35px;height:35px;font-size:11px;border-radius:10px}.stage-title b{font-size:13px}.stage-title small{font-size:10px}.stage-status{font-size:9px}.stage-content{padding:0 18px 3px}.lesson-row{gap:12px;padding:17px 0;flex-wrap:wrap}.lesson-emoji{width:37px;height:39px;border-radius:10px;font-size:22px}.lesson-info{flex-basis:calc(100% - 55px)}.lesson-info h3{font-size:13px}.lesson-info p{font-size:10px}.lesson-row>.btn,.lesson-row>.lesson-lock{margin-left:49px}.lesson-row>.btn{min-width:110px;font-size:11px;min-height:44px}.lesson-lock{max-width:none;min-height:34px;font-size:10px}.course-overview .progress-track{height:6px}.stage-list{gap:12px}.account-layout{grid-template-columns:1fr;gap:20px}.profile-card{padding:24px 21px}.profile-card-heading{padding-bottom:22px;margin-bottom:23px}.account-secondary{gap:18px}.field{font-size:12px}.input{font-size:16px;min-height:49px}.membership-card p{font-size:12px}.progress-stats{gap:10px;margin-bottom:16px}.progress-stats .card{padding:18px 13px}.progress-stats .card>span{display:grid;gap:10px;font-size:9px;line-height:1.6;min-height:45px}.progress-stats strong{font-size:29px;margin-top:13px}.progress-stats strong small{display:block;font-size:11px;margin-top:4px}.progress-stats .icon{width:20px;height:20px}.track-progress{gap:14px;margin-bottom:20px}.track-progress .card{padding:19px 15px}.track-progress .card h2{font-size:14px}.track-progress .card .between{gap:5px;align-items:start;flex-wrap:wrap}.track-progress .pill{font-size:9px;padding:4px 7px}.track-progress p{font-size:9px}.completed-row{grid-template-columns:27px minmax(0,1fr) 48px;gap:11px;padding:17px 0}.completed-row .btn{grid-column:2/4;justify-self:start;margin-top:0;min-height:44px;font-size:11px}.completed-row h3{font-size:12px}.completed-row p{font-size:9px}.completed-row strong{font-size:13px}.completion-section .section-heading{align-items:start;flex-wrap:wrap;gap:5px}.completion-section .section-heading .btn{font-size:10px;min-height:40px}.practice-settings{gap:7px;margin-bottom:17px}.setting-button{padding:9px 12px;font-size:10px;min-height:44px;gap:6px}.setting-button>span{font-size:17px}.chat-panel{border-radius:16px;height:clamp(360px,calc(100dvh - 270px),650px)}.chat-header{padding:14px 15px;gap:9px}.chat-avatar{width:32px;height:32px;border-radius:10px}.chat-avatar .icon{width:18px;height:18px}.chat-header h2{font-size:12px}.chat-header p{font-size:9px}.chat-header>.btn{font-size:9px;min-height:44px;gap:5px;padding:6px}.chat-header>.btn .icon{width:13px;height:13px}.chat-messages{padding:18px 15px;gap:18px}.chat-bubble{font-size:13px;padding:13px 15px;max-width:95%}.chat-author{font-size:8px}.chat-form{padding:12px;gap:8px}.chat-form .btn{padding:12px 14px;min-height:48px}.chat-form .btn>span:not(.spinner){display:none}.chat-form textarea.input{font-size:16px;min-height:48px;padding:11px 12px}.suggestions{gap:7px;margin-top:14px}.suggestions>span{width:100%;font-size:9px}.suggestions>button{font-size:10px;min-height:44px;padding:10px 12px}.chat-retry{display:block;padding:12px}.chat-retry .btn{margin-top:9px;font-size:10px}.membership-active{padding:16px;gap:10px;flex-wrap:wrap}.membership-active>div{flex:1}.membership-active .text-link{margin-left:32px;min-height:35px}.membership-active b{font-size:12px}.membership-active p{font-size:10px}.demo-banner{font-size:10px;line-height:1.7;padding:11px 13px}.membership-controls{margin:18px 0 26px;gap:12px;align-items:end}.payment-method{max-width:220px;width:65%;font-size:11px;gap:7px}.membership-controls>.btn{font-size:10px;padding:8px 4px;gap:5px}.membership-controls .btn .icon{width:14px;height:14px}.pricing-grid{grid-template-columns:1fr;gap:24px;margin:23px 0}.plan,.plan:last-child{display:flex;grid-column:auto;padding:24px}.plan.featured{padding:23px}.plan h2{font-size:23px;margin-bottom:14px}.plan-price{font-size:37px}.plan-price>span{font-size:15px}.plan-period{font-size:11px}.plan ul,.plan:last-child ul{display:grid;grid-template-columns:1fr 1fr;gap:12px 17px;margin:21px 0 23px;padding-top:20px;border-top:1px solid var(--line);align-self:stretch}.plan li{font-size:11px}.plan:last-child .btn{margin:0}.plan .btn{font-size:13px;min-height:48px}.popular-label{font-size:9px}.plan-icon{margin-bottom:15px}.payment-panel{padding:20px;margin:23px 0;border-radius:16px}.payment-heading{gap:10px;flex-wrap:wrap;align-items:start}.payment-heading>span{width:35px;height:35px}.payment-heading>span>.icon{width:19px;height:19px}.payment-heading h2{font-size:17px}.payment-heading p{font-size:10px}.payment-heading>strong{font-size:21px;flex-basis:100%;margin-left:45px}.payment-panel>p{font-size:12px;line-height:1.8}.payment-panel>.btn{width:100%;margin:5px 0;font-size:12px}.payment-panel .demo-notice{font-size:10px}.payment-history{margin-top:24px}.payment-history .section-heading .fine{font-size:9px}.payment-row{grid-template-columns:28px minmax(0,1fr) auto;gap:10px;padding:17px 0}.payment-row>.btn{grid-column:2/4;justify-self:start;margin-top:2px;font-size:10px;min-height:44px}.payment-row-icon{width:27px;height:27px}.payment-row h3{font-size:12px}.payment-row p{font-size:10px}.status-pill{font-size:8px;padding:5px 7px}.admin-link{font-size:10px}.help-item>summary{padding:18px;font-size:13px;min-height:63px}.help-item>p{padding:0 18px 20px;font-size:12px;line-height:1.8}.help-bottom{align-items:start;flex-direction:column;gap:16px}.help-bottom h2{font-size:21px}.help-bottom>.btn{font-size:12px}#toast{bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 24px);font-size:11px;padding:11px 10px 11px 14px}#toast>button{width:36px;height:36px}dialog{padding:24px}dialog form{flex-wrap:wrap}dialog .btn{flex:1;min-height:46px}.wrap{width:calc(100% - 40px)}.landing-nav{padding-block:20px}.landing-nav .brand{font-size:22px}.landing-nav .logo-mark{width:33px;height:36px;font-size:24px}.landing-nav nav{gap:13px}.landing-nav .landing-text-link{display:none}.landing-nav .btn{font-size:11px;padding:10px 13px;min-height:44px}.hero{display:grid;grid-template-columns:1fr;gap:45px;min-height:0;padding-top:32px;padding-bottom:48px;max-width:540px}.hero-copy h1{font-size:clamp(40px,8vw,58px);letter-spacing:-2.5px;margin:22px 0}.hero-copy>p{font-size:15px;max-width:350px}.hero-actions{gap:10px;margin-top:25px}.hero-actions .btn{font-size:12px;padding-inline:17px;min-height:48px}.hero-copy>.hero-free{font-size:10px;margin-top:18px}.hero-visual{padding:0 5px 30px}.hero-lesson{padding:23px;transform:rotate(1deg)}.hero-lesson h2{font-size:25px;margin:21px 0}.hero-dialogue p{font-size:13px;padding:15px}.hero-dialogue span{font-size:10px}.hero-small-card{left:20px;bottom:0;padding:15px 20px}.hero-card-foot{font-size:9px;gap:5px;flex-wrap:nowrap}.hero-card-foot>span{margin-left:auto}.landing-features{grid-template-columns:1fr;gap:25px;padding:30px 0 40px;max-width:540px}.landing-features article{position:relative;padding-left:47px}.landing-features article>.icon{position:absolute;left:0;top:0;width:25px;height:25px}.landing-features h2{font-size:18px}.landing-features p{font-size:12px;max-width:350px}.landing-footer{font-size:9px;padding-block:22px;flex-wrap:wrap;gap:12px}.simple-header{padding-block:21px}.simple-header .brand{font-size:22px}.simple-header .text-link{font-size:11px}.onboard-content{margin-top:25px;margin-bottom:45px;max-width:480px}.onboard-content h1{font-size:31px;line-height:1.25;margin-top:13px}.onboard-content>p{font-size:13px;margin-bottom:25px}.onboard-content .field{font-size:12px}.language-option{padding:14px 13px;gap:8px;min-height:75px}.language-option.selected{padding:13px 12px}.language-option .flag{font-size:26px}.language-option b{font-size:13px}.selection-mark .icon{width:15px;height:15px}.chip{font-size:11px}.onboard-content .form-footnote{font-size:11px}.public-content{padding-top:25px;padding-bottom:45px}.lesson-header{padding:13px 18px;min-height:69px;gap:10px;padding-top:calc(13px + env(safe-area-inset-top,0px))}.lesson-header .brand{font-size:21px;gap:7px}.lesson-header .brand .logo-mark{width:31px;height:34px;font-size:23px}.lesson-back{font-size:10px;gap:5px}.lesson-back .icon{width:16px;height:16px}.lesson-header-label{display:none}.lesson-layout{width:calc(100% - 32px);margin-top:20px;margin-bottom:35px;gap:16px}.lesson-notes>summary{min-height:49px;padding:13px 17px;font-size:12px}.notes-body{padding:22px 20px}.notes-body h2{font-size:24px}.notes-body>p{font-size:13px}.vocabulary>div{font-size:12px}.example{font-size:12px}.example small{font-size:10px}.question-panel{padding:24px 20px;border-radius:16px;min-height:0}.question-panel h1{font-size:26px;line-height:1.3}.question-intro{font-size:13px;line-height:1.8}.lesson-scene{padding:15px 17px;margin:22px 0}.question-panel .question-title{font-size:24px;margin:24px 0;line-height:1.4}.question-tag{font-size:9px;letter-spacing:1.1px}.question-heading .pill{font-size:9px;padding:5px 8px}.answer-options{gap:10px}.answer{padding:14px;gap:11px;font-size:13px;min-height:65px}.answer.selected,.answer.correct,.answer.incorrect{padding:13px}.answer-letter{width:27px;height:27px;font-size:10px}.answer-feedback{padding:15px 14px;gap:10px;margin-top:18px}.answer-feedback b{font-size:12px}.answer-feedback p{font-size:12px;line-height:1.8}.question-footer{flex-direction:column;align-items:stretch;gap:15px;margin-top:25px;padding-top:20px}.question-footer>span{max-width:none;justify-content:center;text-align:center;font-size:10px;order:1}.question-footer .btn{min-height:49px;font-size:13px;order:0}.result-content{margin-top:35px;margin-bottom:45px}.result-content h1{font-size:33px}.result-content>p{font-size:13px;line-height:1.8}.result-stats{gap:12px;padding:22px 9px;margin:27px 0}.result-stats strong{font-size:27px}.result-stats span{font-size:10px}.result-content>.result-note{font-size:11px}.result-shell .simple-header>.pill{font-size:9px}.admin-wrap{width:calc(100% - 36px);padding-block:23px 45px}.admin-wrap>.page-heading{margin-top:27px}.admin-unlock{padding:23px 20px}.admin-toolbar{align-items:start;gap:14px}.admin-toolbar p{font-size:10px}.admin-toolbar .btn{font-size:10px;flex:none}.admin-pricing-grid{grid-template-columns:1fr}.admin-plan{padding:23px}.admin-plan .field{font-size:12px}.admin-plan .check-field{font-size:12px}.admin-status{font-size:11px}.admin-bottom{font-size:12px}}
@media(max-width:390px){.app-topbar{padding-inline:13px}.app-topbar .brand{font-size:18px;gap:6px}.app-topbar .logo-mark{width:29px;height:32px;font-size:22px}.language-select select{font-size:11px;width:73px}.language-select>.icon{display:none}.plan-shortcut{font-size:10px;padding:9px 7px}.plan-shortcut .icon{width:15px;height:15px}.app-content{padding-inline:16px}.continue-card{padding:22px}.continue-card h2{font-size:25px;max-width:210px}.continue-card p{font-size:11px;max-width:205px}.continue-copy{max-width:77%}.continue-art{right:-30px;top:38px;opacity:.72;width:135px}.continue-emoji{width:75px;height:87px;font-size:43px}.art-ring{width:125px;height:125px}.stat-card{padding:14px 11px}.stat-card strong{font-size:21px}.stat-card div>span{font-size:9px}.dashboard-aside{grid-template-columns:1fr}.daily-card{padding:23px}.daily-card .between{justify-content:space-between}.daily-card .between h2{font-size:16px}.daily-card .goal-circle{width:140px;height:140px}.daily-card>p{font-size:11px}.week-days{max-width:260px;margin-inline:auto}.week-day{font-size:10px}.week-day>b{width:26px;height:26px}.practice-card{padding:24px}.practice-card h2 br{display:none}.practice-card h2{font-size:24px}.practice-card p{font-size:12px}.practice-card .btn{font-size:12px}.course-overview{padding:18px;gap:10px}.course-overview h2{font-size:16px}.stage>summary{padding:17px 15px;gap:10px}.stage-title b{font-size:12px}.stage-status{font-size:8px}.stage-title small{font-size:9px}.stage-number{width:31px;height:33px;font-size:10px}.card{padding:19px}.plan{padding:23px}.plan.featured{padding:22px}.plan ul,.plan:last-child ul{grid-template-columns:1fr}.plan li{font-size:12px}.chat-header{padding-inline:12px;gap:7px}.chat-header>.btn{font-size:0;padding:8px}.chat-header>.btn .icon{font-size:initial;width:18px;height:18px}.chat-header h2{font-size:12px}.setting-button{padding-inline:10px;gap:5px;font-size:9px}.setting-button>span{font-size:16px}.hero-actions{flex-direction:column;align-items:stretch;max-width:330px}.hero-actions .btn{font-size:13px}.hero-copy h1{font-size:43px}.hero-lesson{padding:20px}.hero-card-foot{font-size:8px}.hero-lesson h2{font-size:23px}.simple-header .brand{font-size:21px}.result-shell .simple-header>.pill{max-width:115px;text-align:center;font-size:8px}.language-options{gap:10px}.language-option{padding:14px 10px;gap:7px}.language-option.selected{padding:13px 9px}.language-option .flag{font-size:23px}.language-option b{font-size:12px}.selection-mark .icon{width:14px;height:14px}.chip{font-size:10px}.onboard-content h1{font-size:29px}.lesson-header .brand{font-size:20px}.question-panel{padding:23px 18px}.question-panel .question-title{font-size:22px}.answer{font-size:12px}.answer-letter{width:25px;height:25px}.answer-mark{width:16px}.result-stats{gap:7px;padding:20px 7px}.result-stats strong{font-size:24px}.result-stats span{font-size:9px}.account-links{padding:9px 17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* Keep programmatic page focus quiet while retaining clear keyboard control focus. */
#main:focus{outline:none}
body[aria-busy="true"] #app a{cursor:wait}
/* Keep labels visible on the tablet rail. */
@media(min-width:768px) and (max-width:1099px){.sidebar .nav-item{flex-direction:column;gap:5px;padding:10px 2px;min-height:63px}.sidebar .nav-item>span{display:block;font-size:10px;line-height:1.2;text-align:center}}
/* Readable learning content on compact screens. */
@media(max-width:767px){.page-heading>p:not(.eyebrow){font-size:14px}.continue-card p,.practice-card p{font-size:13px}.lesson-info p{font-size:12px}.notes-body>p,.example b,.example span,.vocabulary dt,.vocabulary dd{font-size:14px}.question-intro,.lesson-scene p,.dialogue-line,.answer,.answer-feedback p{font-size:15px}.question-footer>span{font-size:12px}.chat-bubble{font-size:15px}.chat-header h2{font-size:14px}.setting-button{font-size:12px}.suggestions button{font-size:12px}.plan li{font-size:14px}.demo-banner{font-size:13px}.payment-panel>p{font-size:14px}.payment-row h3{font-size:14px}.payment-row p{font-size:12px}.profile-card .field{font-size:14px}.help-item summary{font-size:15px}.help-item p{font-size:14px}.mobile-nav .nav-item>span{font-size:10px}}

@media(min-width:768px) and (max-width:1099px){.sidebar .profile-link{flex-direction:column;gap:6px}.sidebar .profile-link::after{content:"Profile";font-size:10px;line-height:1.2}}

/* Allow unusually large database prices to wrap within their cards. */
.plan-price{display:block;overflow-wrap:anywhere}.plan-price>span{margin-right:6px}
@media(max-width:767px){.payment-heading>strong{margin-left:0;padding-left:45px;white-space:normal;overflow-wrap:anywhere}}
