:root{--blue:#315bea;--blue-dark:#2549c5;--navy:#172641;--muted:#5f6e85;--line:#e6eaf2;--bg:#f7f9fc;--green:#237a65;--radius:20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--navy);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #e5a630;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;letter-spacing:-1px;font-weight:750}h2{font-size:19px;letter-spacing:-.45px;line-height:1.4}h3{font-size:16px;letter-spacing:-.25px}p{color:var(--muted)}small{font-size:12px}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip-link{position:fixed;left:16px;top:-70px;z-index:20;background:white;padding:12px 20px;border:2px solid var(--blue);border-radius:10px}.skip-link:focus{top:10px}.boot{display:grid;place-content:center;text-align:center;min-height:90vh;gap:15px}.boot img{margin:auto}.sidebar{position:fixed;left:0;top:0;bottom:0;width:242px;padding:32px 20px 18px;background:#fff;border-right:1px solid var(--line);z-index:6;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);padding:0 12px}.brand strong{font-size:24px;letter-spacing:-1px}.brand img{width:37px;height:37px}.brand-tag{font-size:9px;text-transform:uppercase;letter-spacing:2px;font-weight:600;margin:7px 0 36px 62px;color:var(--muted)}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#65728a;margin:15px 15px 12px}.nav{display:grid;gap:5px}.nav a{color:#637087;display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:10px;font-size:13px;font-weight:550;min-height:45px}.nav a:hover{background:#f7f9fd}.nav a.active{color:var(--blue);background:#edf2ff;font-weight:650}.nav .badge{margin-left:auto;font-size:9px;padding:2px 5px;letter-spacing:.4px}.sidebar-spacer{flex:1;min-height:20px}.upgrade{border:1px solid #e3e9fa;border-radius:16px;background:#f3f6ff;padding:17px;margin:16px 6px}.upgrade .icon{color:var(--blue);width:24px;height:24px}.upgrade h3{margin:9px 0 5px;font-size:14px}.upgrade p{font-size:11px;line-height:1.7}.upgrade a{font-size:12px;font-weight:650;display:flex;align-items:center;justify-content:space-between;margin-top:13px}.sidebar-footer{border-top:1px solid var(--line);padding:16px 10px 0;font-size:11px;color:#65728a;display:flex;align-items:center;gap:8px}.sidebar-footer .publisher{font-weight:650;color:#65718a;letter-spacing:.5px}.shell{margin-left:242px}.topbar{height:82px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 40px;gap:16px}.breadcrumbs{display:flex;gap:14px;align-items:center;font-size:12px;color:#65728a}.breadcrumbs .current{color:#32415a;font-weight:550}.top-actions{display:flex;align-items:center;gap:19px}.language{font-size:12px;display:flex;align-items:center;gap:7px;font-weight:600}.language span:first-child{background:#f1f4fa;border-radius:5px;padding:2px 5px;font-size:10px;color:#5f6e86}.top-divider{height:25px;border-left:1px solid var(--line)}.icon-button{border:0;background:transparent;padding:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;min-width:40px;min-height:40px}.icon-button:hover{background:#f1f4fa}.avatar{height:36px;width:36px;border-radius:50%;background:#e8edff;border:3px solid #f7f9ff;color:var(--blue);display:grid;place-items:center;font-weight:700;font-size:12px}.mobile-menu{display:none}.main{padding:28px 40px 36px;max-width:1550px;margin:auto}.mode-bar{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:27px;gap:15px;color:#65728a}.mode-bar .status{display:flex;gap:8px;align-items:center;color:#5b6d83}.dot{width:6px;height:6px;border-radius:50%;background:#318e73;display:inline-block}.mode-bar button{border:0;background:none;color:var(--blue);font-size:11px;font-weight:650;padding:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{margin-top:7px;font-size:13px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10px;font-weight:750;color:var(--blue)}.pill,.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:6px;background:#eef2ff;color:#365bca;padding:4px 8px;font-size:10px;font-weight:650}.pill{border:1px solid #e4e9f3;background:white;color:#63728a;padding:7px 11px;font-size:11px;border-radius:8px}.pill .icon{width:15px;height:15px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(250px,1fr);gap:25px}.left-column,.right-column{display:flex;flex-direction:column;gap:26px}.hero{background:#eaf0ff;border-radius:21px;position:relative;overflow:hidden;min-height:283px;padding:30px 32px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;width:57%}.hero .eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:13px}.hero h2{font-size:31px;line-height:1.2;font-weight:750;letter-spacing:-1.1px;margin-bottom:12px}.hero h2 span{color:var(--blue)}.hero p{font-size:12px;line-height:1.7;max-width:250px;margin-bottom:22px;color:#637593}.hero-art{position:absolute;right:-6px;top:16px;width:48%;height:260px;object-fit:contain;pointer-events:none}.btn{border:0;border-radius:9px;padding:11px 17px;background:var(--blue);color:white;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;line-height:1.5;transition:background .15s,transform .15s}.btn:hover{background:var(--blue-dark);transform:translateY(-1px)}.btn .icon{width:16px;height:16px}.btn.secondary{background:white;color:#344461;border:1px solid #dfe5f0}.btn.secondary:hover{background:#f3f6fb}.btn.soft{background:#edf2ff;color:var(--blue)}.btn.ghost{background:none;color:var(--blue);padding:8px 0;min-height:36px}.btn.danger{background:#b8434c}.btn.full{width:100%}.text-link{font-size:11px;font-weight:600;display:flex;align-items:center;gap:5px}.text-link .icon{width:14px;height:14px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:10px}.section-title h2{font-size:17px}.section-sub{font-size:12px;color:var(--muted);margin-top:-10px;margin-bottom:18px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lesson-card{background:white;border:1px solid var(--line);border-radius:16px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;min-width:0;transition:border-color .2s,box-shadow .2s}.lesson-card:hover{border-color:#bdcdf5;box-shadow:0 6px 20px #152d6a06}.lesson-card-top{display:flex;justify-content:space-between;width:100%;align-items:center;margin-bottom:18px}.lesson-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#eff3ff;color:var(--blue)}.lesson-icon.green{background:#eaf5ef;color:#438269}.lesson-icon.amber{background:#fff4e1;color:#b38124}.lesson-icon.rose{background:#fceef0;color:#c47383}.lesson-icon .icon{width:24px;height:24px}.lesson-card .category{font-size:9px;text-transform:uppercase;letter-spacing:1.3px;color:#65728a;margin-bottom:5px;font-weight:650}.lesson-card h3{font-size:16px;margin-bottom:3px}.lesson-card p{font-size:11px}.lesson-card .card-bottom{border-top:1px solid #f0f2f7;padding-top:14px;margin-top:19px;width:100%;display:flex;align-items:center;justify-content:space-between}.meta{font-size:10px;display:flex;align-items:center;gap:5px;color:#65728a}.meta .icon{width:13px;height:13px}.round-arrow{height:29px;width:29px;border:0;background:#f0f4ff;color:var(--blue);display:grid;place-items:center;border-radius:50%}.round-arrow .icon{width:15px;height:15px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.panel-title{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-bottom:16px}.panel-title h2{font-size:14px}.panel-title .icon{width:18px;height:18px;color:#65728a}.goal-card{text-align:center;padding:22px 22px 18px}.goal-card .panel-title{text-align:left;margin-bottom:5px}.goal-ring{width:154px;height:154px;position:relative;margin:4px auto}.goal-ring svg{transform:rotate(-90deg);width:100%;height:100%}.ring-track{fill:none;stroke:#edf1f8;stroke-width:10}.ring-value{fill:none;stroke:var(--blue);stroke-width:10;stroke-linecap:round}.ring-label{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column}.ring-label strong{font-size:30px;font-weight:700;letter-spacing:-1px;line-height:1.2}.ring-label span{font-size:11px;color:#65728a;margin-top:4px}.goal-card p{font-size:11px;margin:0 auto 16px;max-width:200px}.week{display:flex;justify-content:space-between;gap:3px;border-top:1px solid #eff2f7;padding-top:16px}.day{font-size:9px;color:#65728a;display:flex;flex-direction:column;gap:7px;align-items:center}.day i{font-style:normal;display:grid;place-items:center;border-radius:50%;width:23px;height:23px;background:#f1f4f9;color:#65728a}.day.today i{background:#eaf0ff;color:var(--blue);border:1px solid #becdfa}.day.done i{background:#315bea;color:white}.coach-teaser{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;display:flex;gap:17px;align-items:center}.coach-orb{width:58px;height:58px;flex-shrink:0;background:#eef2ff;border:1px solid #e0e7ff;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:3px}.coach-orb span{display:block;width:4px;background:var(--blue);border-radius:3px;height:13px}.coach-orb span:nth-child(2){height:25px}.coach-orb span:nth-child(3){height:33px}.coach-orb span:nth-child(4){height:21px}.coach-orb span:nth-child(5){height:11px}.coach-teaser h3{font-size:14px;margin-bottom:4px}.coach-teaser p{font-size:11px}.coach-teaser .text-link{margin-left:auto;white-space:nowrap}.word-card{background:#fffdf7;border:1px solid #f0e9d8;min-height:190px}.word-card .eyebrow{color:#ae7d2d;font-size:9px}.word-card .word{font-size:24px;font-weight:700;letter-spacing:-.5px;margin:14px 0 3px}.word-card .phonetic{font-size:11px;color:#65728a}.word-card .translation{font-size:12px;color:#605b50;margin-top:12px}.word-card .quote{font-size:11px;font-style:italic;color:#65728a;margin-top:6px}.tip{display:flex;gap:10px;align-items:flex-start;padding:3px 9px}.tip .icon{color:#65728a;width:17px;height:17px;margin-top:2px}.tip p{font-size:11px;line-height:1.8}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.stat{padding:21px 23px;background:white;border:1px solid var(--line);border-radius:15px}.stat .label{font-size:11px;color:#65728a;display:flex;justify-content:space-between;align-items:center}.stat strong{font-size:26px;font-weight:700;display:block;letter-spacing:-.8px;margin:7px 0 2px}.stat small{font-size:10px;color:#65728a}.stat .icon{width:17px;height:17px;color:#8297c6}.footer{font-size:10px;color:#65728a;display:flex;justify-content:space-between;gap:16px;margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}.footer a{color:#65728a}.footer-links{display:flex;gap:18px}.bottom-nav{display:none}.level-tabs{display:flex;gap:9px;margin-bottom:25px;overflow-x:auto;padding:3px 0 8px}.level-tab{background:white;border:1px solid var(--line);border-radius:12px;padding:13px 18px;flex:1;text-align:left;min-width:107px}.level-tab strong{display:block;font-size:18px;margin-bottom:4px}.level-tab small{font-size:10px;white-space:nowrap;color:var(--muted)}.level-tab.selected{background:var(--blue);color:white;border-color:var(--blue)}.level-tab.selected small{color:#e0e8ff}.level-tab .icon{width:12px;height:12px;margin-left:6px}.notice{padding:14px 17px;border:1px solid #e4e9f5;background:#f0f4ff;border-radius:11px;font-size:12px;line-height:1.8;color:#576d99;display:flex;gap:11px;align-items:flex-start;margin-bottom:22px}.notice .icon{width:18px;height:18px;margin-top:2px}.notice.amber{background:#fffbf2;border-color:#f3e5c7;color:#8a702f}.notice.green{background:#edf7f2;border-color:#d8eade;color:#35755e}.empty-state{text-align:center;padding:65px 30px;background:#fff;border:1px dashed #dce3ef;border-radius:20px}.empty-state .lesson-icon{margin:0 auto 20px;width:62px;height:62px}.empty-state h2{margin-bottom:10px}.empty-state p{max-width:470px;margin:0 auto 20px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.back-link{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;margin-bottom:19px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px}.lesson-content{padding:32px}.lesson-content h2{margin:26px 0 14px}.lesson-content h2:first-child{margin-top:0}.lesson-content p{line-height:1.9;font-size:14px}.vocabulary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 25px}.vocab{padding:15px 18px;border:1px solid var(--line);border-radius:11px;display:flex;justify-content:space-between;align-items:center}.vocab strong{display:block;color:#3059ca;font-size:14px}.vocab span{font-size:11px;color:var(--muted)}.dialogue{background:#f8faff;border-radius:13px;padding:20px}.dialogue p{margin-bottom:12px;color:var(--navy);font-size:13px}.dialogue p:last-child{margin-bottom:0}.dialogue strong{display:inline-block;color:var(--blue);min-width:70px;font-size:11px}.quiz-question{border:0;padding:0;margin:28px 0}.quiz-question legend{font-size:14px;font-weight:650;margin-bottom:12px}.option{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:13px;margin:8px 0;cursor:pointer;font-size:13px}.option:has(input:checked){background:#f0f4ff;border-color:#8fa7f6}.option input{accent-color:var(--blue);width:16px;height:16px}.result-correct{border-color:#add8bd;background:#eef8f2}.feedback{font-size:12px;margin:8px 0;padding:10px;border-radius:8px;background:#f1f5fd}.lesson-side{align-self:start;position:sticky;top:24px}.lesson-side ol{padding-left:20px;margin:18px 0;color:var(--muted);font-size:12px;line-height:2.7}.score-result{padding:22px;background:#eef7f2;border:1px solid #cee6d7;border-radius:14px;margin-top:20px}.score-result h3{color:#246c52}.score-result p{margin:7px 0 16px;font-size:12px}.coach-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.chat-panel{display:flex;flex-direction:column;padding:0;overflow:hidden;min-height:550px}.chat-header{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line)}.chat-header .coach-orb{width:43px;height:43px;border-radius:13px}.chat-header h2{font-size:15px}.chat-header small{font-size:10px;color:var(--muted)}.chat-header .badge{margin-left:auto}.messages{padding:25px;flex:1;min-height:290px;max-height:500px;overflow:auto;display:flex;flex-direction:column;gap:18px}.message{max-width:87%;align-self:flex-start}.bubble{background:#f1f5fd;padding:15px 18px;border-radius:3px 16px 16px 16px;line-height:1.7;font-size:14px}.message.mine{align-self:flex-end}.message.mine .bubble{background:var(--blue);color:white;border-radius:16px 3px 16px 16px}.message-label{font-size:10px;color:#65728a;margin:6px 4px}.explanation{background:#fffcf4;border:1px solid #eee4ce;border-radius:11px;margin-top:10px;padding:12px 15px;color:#82704b;font-size:11px;line-height:1.8}.chat-form{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:17px 20px;background:#fff}.chat-form input{flex:1;min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fafbfd;font-size:12px}.chat-footnote{font-size:10px;text-align:center;color:#65728a;padding:0 15px 13px}.scenario{display:flex;gap:10px;align-items:center;width:100%;background:white;border:1px solid var(--line);border-radius:10px;padding:13px;text-align:left;margin-top:10px;font-size:12px}.scenario.selected{border-color:#9cb1f2;background:#f3f6ff;color:var(--blue)}.scenario .icon{width:18px;height:18px}.side-stack{display:flex;flex-direction:column;gap:20px}.side-stack h2{font-size:14px;margin-bottom:12px}.side-stack p{font-size:12px;line-height:1.8}.side-stack .btn{margin-top:13px}.progress-row{display:flex;gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.progress-row:last-child{border-bottom:0}.progress-row .grow{flex:1}.progress-row h3{font-size:14px}.progress-row p{font-size:11px;margin-top:4px}progress{appearance:none;display:block;width:100%;height:7px;border:0;background:#edf1f8;border-radius:7px;overflow:hidden;margin:10px 0}progress::-webkit-progress-bar{background:#edf1f8;border-radius:7px}progress::-webkit-progress-value{background:var(--blue);border-radius:7px}progress::-moz-progress-bar{background:var(--blue);border-radius:7px}.progress-row strong{font-size:12px;width:40px;text-align:right}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}.price-card{background:white;border:1px solid var(--line);border-radius:18px;padding:27px;position:relative}.price-card.featured{border:2px solid var(--blue);padding:26px}.price-card .recommended{position:absolute;top:-13px;left:22px;background:var(--blue);color:white;border-radius:20px;padding:4px 12px;font-size:9px;font-weight:700;letter-spacing:.6px}.price-card h2{font-size:20px}.price-card p{font-size:11px;margin:8px 0 22px}.price{font-size:31px;font-weight:750;letter-spacing:-1px}.price span{font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}.price-card ul{padding:0;list-style:none;margin:25px 0;min-height:145px}.price-card li{font-size:12px;padding:7px 0;display:flex;gap:9px;align-items:flex-start}.price-card li .icon{width:16px;height:16px;color:#3d8b70}.payment-methods{display:flex;gap:12px;flex-wrap:wrap;margin-top:17px}.payment-method{border:1px solid var(--line);background:white;padding:12px 18px;border-radius:10px;color:#67738a;font-size:12px}.faq{margin-top:28px}.faq details{background:white;border-bottom:1px solid var(--line);padding:18px}.faq summary{cursor:pointer;font-weight:600;font-size:13px}.faq p{font-size:12px;margin-top:12px}.settings-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.field{display:flex;flex-direction:column;gap:7px;margin:17px 0;font-size:12px;font-weight:600}.field input,.field select{padding:12px;border:1px solid #dce3ee;border-radius:9px;background:#fff;min-width:0;width:100%;color:var(--navy)}.field small{font-size:10px;font-weight:400;color:var(--muted)}.check-field{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.7;margin:15px 0;color:var(--muted)}.check-field input{accent-color:var(--blue);margin-top:4px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0}.switch-row p{font-size:11px}.switch-row input{accent-color:var(--blue);width:18px;height:18px}.form-error{color:#ac3c48;font-size:12px;margin:12px 0;min-height:18px}.settings-grid .panel h2{margin-bottom:12px}.settings-grid .panel p{font-size:12px}.admin-tabs{display:flex;gap:9px;margin-bottom:20px;flex-wrap:wrap}.admin-tabs .btn{font-size:11px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;font-size:10px;letter-spacing:.5px;color:#65728a;text-transform:uppercase;border-bottom:1px solid var(--line);padding:13px 12px}td{padding:17px 12px;border-bottom:1px solid #f0f3f8}.state-pill{padding:4px 8px;font-size:10px;border-radius:5px;background:#edf7f1;color:#38735b}.state-pill.pending{background:#fff5e0;color:#856222}.state-pill.failed{background:#fff0f1;color:#9c4651}.admin-chart{height:150px;display:flex;align-items:flex-end;gap:20px;padding:15px 10px;margin:10px 0 0}.chart-column{flex:1;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:10px;color:#65728a}.chart-bar{width:70%;max-width:50px;background:#d8e2ff;border-radius:5px 5px 0 0}.chart-bar.b1{height:40px}.chart-bar.b2{height:68px}.chart-bar.b3{height:55px}.chart-bar.b4{height:98px}.chart-bar.b5{height:83px}.chart-bar.b6{height:117px;background:var(--blue)}.video-placeholder{height:145px;background:#ecf1ff;border-radius:11px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;width:100%;position:relative;overflow:hidden}.video-placeholder .play{border-radius:50%;width:45px;height:45px;display:grid;place-items:center;background:white;color:var(--blue)}.video-placeholder.amber{background:#fff3df}.video-placeholder.green{background:#e7f3ef}.video-placeholder .badge{position:absolute;bottom:12px;right:12px;background:#ffffffdc}.video-card .btn{margin-top:15px}.offline{padding:40px 25px;text-align:center}.offline p{margin:15px auto;max-width:480px}.inline-list{padding-left:20px;color:var(--muted);font-size:12px;line-height:2}.certificate{background:#fffdf8;border:double 5px #d3b77f;padding:38px;text-align:center;margin:20px 0}.certificate h2{font-size:24px;margin:15px 0}.certificate .cert-name{font-size:26px;font-weight:700;color:var(--navy);margin:25px 0}.certificate p{font-size:12px}.certificate img{width:44px;height:44px}.certificate small{display:block;color:#8d805f;margin-top:20px}dialog{border:1px solid var(--line);border-radius:22px;max-width:480px;width:calc(100% - 32px);padding:30px;box-shadow:0 24px 100px #13234335;color:var(--navy);max-height:90vh;overflow:auto}dialog::backdrop{background:#14254566;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.modal-header h2{font-size:22px}.modal-header .icon-button{margin:-8px}.modal-sub{font-size:12px;line-height:1.9}.modal-brand{display:flex;justify-content:center;margin-bottom:22px}.modal-brand img{width:46px;height:46px}.auth-switch{text-align:center;font-size:12px;margin-top:18px}.auth-switch button{color:var(--blue);border:0;background:none;font-size:12px}.modal-separator{display:flex;align-items:center;gap:12px;color:#65728a;font-size:10px;margin:18px 0}.modal-separator:before,.modal-separator:after{content:"";flex:1;height:1px;background:var(--line)}.install-steps{padding-left:20px;color:var(--muted);font-size:13px;line-height:2}.recording-panel{text-align:center;padding:20px 0}.recording-panel .timer{font-size:32px;display:block;margin:20px 0}.recording-panel audio{width:100%;margin:15px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(100px);background:#182b49;color:white;padding:13px 22px;border-radius:12px;z-index:30;font-size:12px;box-shadow:0 8px 35px #182b4930;max-width:calc(100% - 30px);opacity:0;transition:.2s}#toast.visible{transform:translateX(-50%) translateY(0);opacity:1}.menu-scrim{display:none}.mt{margin-top:20px}.muted{color:var(--muted)}.small-text{font-size:12px;line-height:1.9}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.growth{color:var(--green)}.full-span{grid-column:1/-1}.hidden{display:none!important}
@media(min-width:1500px){.main{padding:35px 50px}.hero{min-height:310px}.hero h2{font-size:37px}.hero-art{width:47%;height:300px;top:4px}.hero-copy{width:55%}.hero p{max-width:300px;font-size:13px}.lesson-card{padding:24px}.goal-card{padding-top:25px}.goal-ring{width:176px;height:176px}}
@media(max-width:1180px){.sidebar{width:215px;padding:28px 13px 16px}.shell{margin-left:215px}.main{padding:25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 245px;gap:19px}.hero{padding:25px;min-height:285px}.hero h2{font-size:28px}.hero-art{right:-30px;width:49%}.hero-copy{width:66%}.hero p{max-width:200px}.coach-teaser{flex-wrap:wrap;gap:13px}.coach-teaser .text-link{margin-left:75px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-grid{gap:12px}.price-card{padding:20px}.price-card.featured{padding:19px}.coach-layout{grid-template-columns:minmax(0,1fr) 240px}.lesson-layout{grid-template-columns:minmax(0,1fr) 220px}.lesson-content{padding:23px}}
@media(max-width:960px){.dashboard-grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tip{grid-column:1/-1}.goal-ring{width:125px;height:125px}.hero-art{right:15px;width:43%;height:270px;top:8px}.hero-copy{width:60%}.hero h2{font-size:32px}.hero p{max-width:290px}.hero{min-height:280px}.coach-layout,.lesson-layout,.settings-grid{grid-template-columns:1fr}.lesson-side{position:static;order:-1}.lesson-side ol{display:none}.lesson-side .panel-title{margin-bottom:0}.side-stack{display:grid;grid-template-columns:1fr 1fr}.pricing-grid{grid-template-columns:1fr}.price-card ul{min-height:0}.price-card .btn{width:auto}.stats-strip{gap:12px}.stat{padding:17px}.stat strong{font-size:23px}.breadcrumbs{font-size:11px}.footer{flex-wrap:wrap}}
@media(max-width:700px){h1{font-size:25px}.sidebar{transform:translateX(-100%);width:250px;transition:transform .2s;padding:28px 20px;z-index:12}.sidebar.open{transform:translateX(0)}.menu-scrim.visible{display:block;position:fixed;inset:0;background:#182b4970;border:0;z-index:11}.shell{margin-left:0}.topbar{height:68px;padding:0 18px}.mobile-menu{display:flex}.breadcrumbs{display:none}.top-actions{gap:13px}.main{padding:19px 20px 95px}.mode-bar{font-size:9px;margin-bottom:24px;gap:10px}.mode-bar .status{gap:5px}.mode-bar button{font-size:10px}.mode-bar .mode-detail{display:none}.page-heading{margin-bottom:22px}.page-heading p{font-size:11px;max-width:260px}.page-heading .pill{font-size:9px;padding:6px 8px}.page-heading .pill .icon{display:none}.hero{padding:25px 23px;min-height:285px;border-radius:17px}.hero h2{font-size:29px}.hero-copy{width:66%}.hero-art{width:45%;right:-30px;top:25px;height:245px}.hero p{max-width:210px;font-size:11px}.hero .eyebrow{font-size:8px}.hero .btn{font-size:11px;padding:10px 13px}.dashboard-grid{gap:22px}.left-column{gap:24px}.lesson-grid{gap:12px}.lesson-card{padding:15px;border-radius:13px}.lesson-card h3{font-size:14px}.lesson-card p{font-size:10px}.lesson-icon{width:40px;height:40px;border-radius:11px}.lesson-card .category{font-size:8px;letter-spacing:1px}.lesson-card .badge{font-size:8px}.lesson-card .card-bottom{margin-top:16px;padding-top:12px}.lesson-card-top{margin-bottom:14px}.lesson-card .meta{font-size:9px}.section-title h2{font-size:16px}.text-link{font-size:10px}.stats-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}.stat{padding:14px 12px}.stat .label{font-size:9px;line-height:1.5}.stat .label .icon{display:none}.stat strong{font-size:22px;margin:8px 0 2px}.stat small{font-size:8px;line-height:1.4;display:block}.coach-teaser{padding:17px;gap:12px}.coach-teaser h3{font-size:13px}.coach-teaser p{font-size:10px}.coach-teaser .text-link{margin-left:0;width:100%;justify-content:flex-end}.coach-orb{width:48px;height:48px;border-radius:14px}.right-column{gap:13px;grid-template-columns:1fr 1fr}.panel{padding:18px}.goal-card .panel-title h2{font-size:12px}.goal-card{padding:17px 14px}.goal-ring{width:118px;height:118px}.goal-card p{font-size:10px}.goal-card .week{padding-top:12px;gap:1px}.day i{width:18px;height:18px;font-size:8px}.day{font-size:8px}.word-card{padding:20px 16px}.word-card .word{font-size:21px;margin-top:23px}.word-card .translation{font-size:11px}.word-card .quote{font-size:10px;line-height:1.8}.tip{padding:0 3px}.bottom-nav{display:flex;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;height:71px;padding:9px 8px max(8px,env(safe-area-inset-bottom));background:#fffffffa;border-top:1px solid var(--line);z-index:7}.bottom-nav a{color:#65728a;display:flex;flex-direction:column;gap:4px;align-items:center;font-size:9px;min-width:65px}.bottom-nav a.active{color:var(--blue);font-weight:700}.bottom-nav .icon{width:21px;height:21px}.footer{font-size:9px;margin-top:25px;gap:10px}.footer-links{gap:13px}.lesson-content{padding:20px}.vocabulary{grid-template-columns:1fr}.lesson-layout{gap:15px}.lesson-side{padding:15px 18px}.lesson-content p{font-size:13px}.quiz-question legend{font-size:13px}.option{font-size:12px}.dialogue{padding:15px}.dialogue strong{display:block}.chat-panel{min-height:470px}.messages{padding:18px;max-height:390px}.bubble{font-size:13px;padding:13px 15px}.message{max-width:95%}.chat-header{padding:16px}.chat-form{padding:13px;gap:6px}.chat-form .btn{padding:11px}.chat-form .send-label{display:none}.chat-form .icon-button{min-width:32px;padding:4px}.chat-header .badge{font-size:8px}.side-stack{grid-template-columns:1fr}.level-tab{min-width:97px;padding:12px 16px}.level-tab small{font-size:9px}.level-tabs{margin-bottom:15px}.notice{font-size:11px;padding:12px}.empty-state{padding:40px 20px}.empty-state p{font-size:12px}.price-card{padding:24px}.price-card.featured{padding:23px}.pricing-grid{gap:26px}.settings-grid{gap:15px}.admin-tabs{gap:6px}.admin-tabs .btn{font-size:10px;padding:9px 12px}.certificate{padding:23px 18px}.certificate h2{font-size:20px}dialog{padding:25px}.modal-header h2{font-size:20px}#toast{bottom:85px;width:max-content;max-width:calc(100% - 30px)}.progress-row{gap:11px}.progress-row h3{font-size:12px}.progress-row p{font-size:10px}}
@media(max-width:360px){.main{padding-left:14px;padding-right:14px}.hero-art{opacity:.55}.hero-copy{width:85%}.right-column{grid-template-columns:1fr}.page-heading{gap:8px}.page-heading .pill{display:none}.lesson-card .badge{padding:3px 5px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.bottom-nav,.mode-bar,.footer,.page-heading,.notice,.btn,.skip-link,#toast{display:none!important}.shell{margin:0}.main{padding:0}.certificate{margin:40px 0}body{background:white}.certificate p,.certificate small{color:#333}}
h1:focus,.main:focus{outline:none}.lesson-title{color:var(--navy)}.lesson-title:hover{color:var(--blue)}

.sidebar{overflow-y:auto}.word-card .quote{color:#786c55}.word-card .eyebrow{color:#8a631e}.hero p{color:#586b8d}.meta{color:#65728a}@media(max-width:700px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}

@media(max-width:700px){.hero-copy{width:80%}.hero h2{font-size:26px}.hero-art{right:-38px;top:45px;width:41%}}
.day i{color:#5f6e85}.day.done i{color:white}
.level-tab{min-width:125px}.level-tab small{white-space:normal;display:block;min-height:30px}@media(min-width:701px) and (max-width:1180px){.nav a{font-size:12px;gap:10px;padding-left:12px;padding-right:12px;white-space:nowrap}.nav .badge{font-size:8px;padding:2px 4px}}

/* Local tutor: accessible controls, no external assets. */
.tutor-controls{padding:20px;border-top:1px solid var(--border,#e5eaf2)}.tutor-form{display:grid;gap:12px;margin-top:16px}.tutor-form label{font-weight:600}.tutor-form textarea{font:inherit;width:100%;resize:vertical;min-height:84px;padding:12px;border:1px solid #bcc8db;border-radius:12px;box-sizing:border-box}.tutor-form textarea:focus-visible{outline:3px solid #5f8bff;outline-offset:2px}#tutor-messages{min-height:280px;max-height:450px;overflow-y:auto;overflow-wrap:anywhere}#tutor-status{min-height:2.5em}#tutor-quota{font-weight:600;color:#253f73}.tutor-controls .row{flex-wrap:wrap}.tutor-controls .check-field{margin-top:12px}@media(max-width:600px){.tutor-controls{padding:14px}.chat-header .badge{display:none}.tutor-controls .row .btn{flex:1}#tutor-messages{max-height:380px}}
