:root{--bg:#f7f8fa;--paper:#fff;--ink:#293344;--muted:#85909c;--line:#edf0f3;--purple:#7461d9;--purple-dark:#5b47bd;--purple-light:#f0edfc;--green:#4a9c81;--radius:18px;--font:'DM Sans','Noto Sans Thai',sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);font-size:14px;line-height:1.65}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.45}h1{font-size:27px;font-weight:650;letter-spacing:-.5px}h2{font-size:19px;font-weight:650}h3{font-size:15px;font-weight:650}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b2a4f3;outline-offset:4px}button{transition:background .2s,transform .2s,box-shadow .2s}svg{flex-shrink:0}.icon{display:inline-block;vertical-align:middle}.muted{color:var(--muted)}.tiny{font-size:11px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--purple);display:block;margin-bottom:9px}.full{width:100%}.text-button{border:0;background:transparent;color:var(--purple);display:inline-flex;gap:7px;align-items:center;font-size:12px;padding:3px 0;font-weight:600}.text-button .icon{width:16px;height:16px}.text-button:hover{color:var(--purple-dark)}.icon-btn{display:inline-grid;place-items:center;padding:8px;border:0;background:transparent;border-radius:10px;color:#8e97a5}.icon-btn:hover{background:var(--purple-light);color:var(--purple)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 20px;min-height:45px;border-radius:10px;border:1px solid transparent;font-size:13px;font-weight:600;white-space:normal}.btn .icon{width:18px;height:18px}.primary{background:var(--purple);color:#fff;box-shadow:0 4px 10px #7261d916}.primary:hover{background:var(--purple-dark);transform:translateY(-1px)}.secondary{background:var(--purple-light);color:var(--purple)}.secondary:hover{background:#e6e0fa}.light{background:#fff;color:#6652c4;box-shadow:0 4px 12px #2e24651c}.light:hover{background:#f1edff}.white{background:white;color:var(--green)}.ghost{background:transparent;color:inherit;border-color:var(--line)}.ghost:hover{background:#ffffff70}.button-row{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0}.pill{display:inline-flex;align-items:center;padding:4px 9px;background:#f2f1f7;color:#887eb4;border-radius:6px;font-size:10px;font-weight:600;white-space:nowrap}.success-pill{background:#e9f6f0;color:#438c70}.notice{border:1px solid #e6e0f6;background:#f6f3ff;border-radius:12px;padding:16px 20px;color:#74688f;margin:20px 0;display:flex;align-items:center;gap:12px;font-size:12px}.notice .btn{margin-left:auto}.notice-small{background:#f8f7fc;padding:16px;border-radius:10px;font-size:12px;color:#82799a;margin:20px 0}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:fixed;top:-100px;left:20px;background:white;padding:10px 20px;z-index:99}.skip-link:focus{top:12px}.initial-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.initial-loading p{max-width:450px;text-align:center}.sidebar{width:238px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:31px 21px 18px;z-index:20}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:700;letter-spacing:-1px;line-height:1.1;margin:0 0 49px 8px}.brand-mark{width:42px;height:43px;display:inline-flex;align-items:center;justify-content:center;background:var(--purple);border-radius:14px;font-size:37px;line-height:1;color:white;font-weight:700;position:relative;letter-spacing:-3px;padding:0 5px 5px 0}.brand-mark span{font-size:15px;background:#d7edb8;color:#4e7140;border-radius:5px;position:absolute;right:-4px;top:-4px;padding:2px 5px;letter-spacing:0;transform:rotate(9deg)}.brand-light{font-weight:400;color:#7461b7}.brand small{display:block;font-size:7.4px;letter-spacing:2px;color:#949caa;font-weight:500;margin-top:8px}.nav-label{font-size:10px;letter-spacing:.7px;color:#a0a8b5;padding-left:16px;margin-bottom:14px}.nav-item{background:transparent;display:flex;align-items:center;width:100%;gap:13px;border:0;border-radius:10px;padding:14px 16px;font-size:13px;font-weight:500;color:#858e9c;margin-bottom:7px;text-align:left}.nav-item .icon{width:19px;height:19px}.nav-item.active{background:#efebfb;color:var(--purple);font-weight:600}.nav-item:hover{background:#f6f4fd;color:var(--purple)}.new-badge{font-size:7px;padding:2px 5px;background:#e6f4ee;color:#64a587;letter-spacing:.5px;border-radius:4px;margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar-note{background:#f7f8fb;position:relative;border-radius:12px;padding:40px 12px 19px;text-align:center;margin:40px 5px 23px}.note-art{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#eeeafa;color:#9682da;position:absolute;top:-21px;left:calc(50% - 23px);transform:rotate(-7deg)}.note-art .icon{width:29px;height:29px}.sidebar-note strong{font-size:11px}.sidebar-note p{font-size:10px;color:#9ca4af;line-height:1.9;margin-top:6px}.sidebar-bottom .nav-item{padding-top:9px;padding-bottom:9px;font-size:11px}.kkl-link{border-top:1px solid var(--line);margin-top:17px;padding:22px 10px 0;display:flex;align-items:center;gap:3px;font-size:8px;letter-spacing:1.2px;color:#929ba6}.kkl-link b{color:#786b9e}.kkl-link .icon{width:14px;margin-left:auto}.workspace{margin-left:238px;min-height:100vh}.topbar{height:81px;padding:0 39px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:21px}.breadcrumb{display:flex;align-items:center;gap:15px;color:#9aA2AE;font-size:11px}.breadcrumb span{color:#ccd0d7}.breadcrumb b{font-weight:500;color:#5b6573}.language{display:flex;gap:7px;align-items:center;color:#939ba6;font-size:10px}.language .icon{width:15px}.top-divider{height:24px;width:1px;background:var(--line)}.profile-button{display:flex;align-items:center;gap:10px;background:none;border:0;font-size:11px}.profile-button>.icon{width:13px;color:#a3abb7;margin-left:8px}.avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#f0e9df;color:#a98f72;font-weight:600}.avatar .icon{width:18px}.mobile-menu{display:none}main{padding:32px 39px 18px;max-width:1550px;margin:auto;min-height:calc(100vh - 160px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.page-heading>.eyebrow{margin-bottom:9px}.page-heading p{margin-top:8px;font-size:12px;color:#949ca8}.page-heading .eyebrow{font-size:8px;letter-spacing:2.1px;color:#9993ad;margin-bottom:7px}.wave{font-size:30px;color:#e0b35e;margin-left:7px;font-weight:400}.date-chip{display:flex;align-items:center;gap:6px;color:#959ca9;white-space:nowrap;font-size:10px;padding-top:25px}.date-chip .icon{width:13px;height:13px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:25px}.main-column,.right-column{min-width:0}.hero{border-radius:19px;background:linear-gradient(112deg,#8272e0,#7562d7 65%,#6c5bd0);color:white;position:relative;overflow:hidden;min-height:277px;display:flex}.hero-copy{position:relative;z-index:1;padding:30px 30px 22px}.hero-label{display:flex;align-items:center;gap:6px;color:#e1dbff;letter-spacing:1.7px;font-size:7px;font-weight:500;margin-bottom:14px}.hero-label>span{background:#cfe9b9;width:5px;height:5px;border-radius:50%}.hero h2{font-size:25px;line-height:1.5;font-weight:600;letter-spacing:-.5px}.hero p{font-size:11px;line-height:1.95;color:#e0dcf5;margin-top:9px}.hero .btn{font-size:11px;padding:10px 18px;min-height:39px;margin-top:20px;border-radius:8px}.hero .btn .icon{width:14px}.hero-foot{margin-top:13px;font-size:8px;color:#d8d1f8;display:flex;align-items:center;gap:5px}.hero-foot .icon{width:10px;height:10px}.hero-foot>span{margin:0 4px}.hero-art{position:absolute;width:49%;right:0;top:24px;height:235px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 27px}.stat-card{background:white;border:1px solid var(--line);border-radius:13px;padding:17px 17px;display:flex;align-items:center;gap:12px}.stat-icon{width:41px;height:41px;display:inline-grid;place-items:center;border-radius:12px;flex-shrink:0}.stat-icon .icon{width:21px;height:21px}.lilac{color:#9783df;background:#f1edfc}.peach{color:#e5a17a;background:#fff1e8}.mint{color:#74b397;background:#eaf7f0}.stat-card div>span{display:block;color:#989fad;font-size:9px}.stat-card strong{display:block;font-size:22px;font-weight:600;line-height:1.4;margin-top:2px}.stat-card strong small{font-size:10px;font-weight:400;color:#a0a7b2;margin-left:4px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-heading h2{font-size:16px}.section-heading h3{font-size:13px}.section-heading p{font-size:10px;color:#9ca3ae;margin-top:4px}.section-heading .text-button{font-size:10px;white-space:nowrap}.section-heading .text-button .icon{width:13px}.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.level-card{border:1px solid var(--line);border-radius:14px;padding:18px 17px 12px;background:white;text-align:left;min-width:0;--level:#a48edf;--level-bg:#f4efff}.level-card:hover{transform:translateY(-3px);box-shadow:0 7px 22px #3b315908;border-color:#dcd5f3}.level-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.level-symbol{width:42px;height:42px;border-radius:13px;background:var(--level-bg);color:var(--level);display:grid;place-items:center}.level-symbol .icon{width:22px;height:22px}.level-code{font-size:11px;font-weight:700;color:var(--level);padding:3px 9px;border-radius:6px;background:var(--level-bg)}.level-caption{color:#aab0ba;letter-spacing:1.2px;font-size:7px;font-weight:500;margin-bottom:3px}.level-card h3{font-size:14px;color:#566171}.level-card p{font-size:10px;color:#9da5b0;margin:3px 0 16px}.level-progress{height:4px;border-radius:5px;background:#f0eef7;overflow:hidden}.level-progress>span{display:block;height:100%;background:var(--level,var(--purple));border-radius:5px}.level-footer{display:flex;align-items:center;justify-content:space-between;margin-top:11px;color:#a3abb6;font-size:9px}.level-footer .icon{width:12px;height:12px}.green{--level:#7bac91;--level-bg:#edf6ef}.blue{--level:#85a6d2;--level-bg:#edf3fb}.orange{--level:#db9a72;--level-bg:#fff1e5}.pink{--level:#c685ad;--level-bg:#fff0f8}.indigo{--level:#787bb8;--level-bg:#efeffb}.continue-section{margin-top:25px}.continue-section .section-heading{margin-bottom:14px}.continue-card{display:flex;align-items:center;width:100%;gap:19px;border:1px solid var(--line);border-radius:14px;background:white;padding:17px;text-align:left}.continue-card:hover{border-color:#ddd6f4}.lesson-art{width:81px;height:80px;background:#faf1dd;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:29px;color:#be9a57;font-weight:600;position:relative;flex-shrink:0;letter-spacing:-1px}.lesson-art span{font-size:18px;position:absolute;right:11px;top:6px;color:#dac185}.continue-card .eyebrow{font-size:8px;margin-bottom:4px;letter-spacing:1px}.continue-card h3{font-size:14px}.continue-card p{font-size:11px;color:#9ca4b0;margin:2px 0 7px}.continue-card .tiny{font-size:9px}.continue-card .tiny>.icon{width:11px;height:11px;margin-right:4px}.dot{padding:0 8px}.round-arrow{width:30px;height:30px;background:var(--purple-light);border-radius:50%;display:grid;place-items:center;color:var(--purple);margin-left:auto;flex-shrink:0}.round-arrow .icon{width:14px}.right-column{display:flex;flex-direction:column;gap:20px}.goal-panel{padding:18px 20px 16px}.goal-panel .section-heading{margin-bottom:10px}.goal-panel .section-heading .icon-btn{padding:0}.goal-panel .section-heading .icon{color:#afa1de;width:17px}.goal-ring{width:159px;height:159px;border-radius:50%;background:conic-gradient(var(--purple) var(--progress),#f0ecfa 0);padding:9px;margin:8px auto 20px;transform:rotate(-.5deg)}.goal-ring>div{width:100%;height:100%;background:white;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}.goal-ring .icon{color:#b7a0e8;width:23px;height:23px;margin:3px 0 5px}.goal-ring strong{font-size:27px;font-weight:600;line-height:1.4}.goal-ring strong small{font-size:10px;color:#a4a8b3;font-weight:400}.goal-ring div>span{font-size:8px;color:#a8aeb8}.week-days{display:flex;justify-content:space-between;padding:0 1px}.day{font-size:9px;color:#a6adba;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px}.day b{width:24px;height:24px;font-size:9px;border-radius:50%;display:grid;place-items:center;font-weight:500;background:#f5f6f8;color:#b2b8c2}.day.done b{background:#ece8fa;color:#8c75d2}.day.today b{border:1.5px solid #ad99e1;color:#9478d0;background:white}.day .icon{width:12px;height:12px}.goal-note{font-size:9px;text-align:center;color:#a7aeb9;margin-top:16px}.phrase-panel{background:#edf6f2;border:1px solid #e4efe8;border-radius:16px;padding:19px 20px}.phrase-panel>.section-heading{margin-bottom:14px}.phrase-panel>.section-heading>span:first-child{display:flex;gap:5px;align-items:center;font-size:7px;letter-spacing:1.1px;color:#79a58e;white-space:nowrap}.phrase-panel .section-heading .icon{width:11px;height:11px}.phrase-panel .pill{font-size:8px;padding:2px 6px;background:#dfede5;color:#73a285}.phrase-panel h3{font-size:19px;color:#466653;font-weight:500;line-height:1.55}.phrase-panel p{font-size:9px;color:#84a18e;margin-top:7px}.phrase-actions{display:flex;gap:10px;margin-top:17px}.phrase-actions .btn{font-size:9px;padding:8px 10px;min-height:33px;border-radius:7px}.phrase-actions .btn .icon{width:13px;height:13px}.phrase-actions .ghost{color:#7b9c87;border:0;padding-left:4px}.certificate-teaser{padding:15px 10px 6px;text-align:center}.small-certificate{margin:auto auto 17px;width:88px;height:61px;background:#fffcf5;border:1px solid #e7daba;box-shadow:4px 4px 0 #f1eee9;transform:rotate(-6deg);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;outline:1px solid #f0e7d3;outline-offset:-5px}.small-certificate>.icon{position:absolute;bottom:-9px;right:7px;color:#d4bb87;fill:#f2e8d0;width:23px;height:23px}.small-certificate span{color:#b9a581;font-size:5px;letter-spacing:1px}.small-certificate i{width:39px;height:1px;background:#e7dcc6;margin-top:5px}.small-certificate i+i{width:25px}.certificate-teaser h3{font-size:12px;color:#858291}.certificate-teaser p{font-size:10px;color:#a7a5ac;margin-top:6px;line-height:1.9}.certificate-teaser .text-button{font-size:10px;margin-top:12px}.certificate-teaser .text-button .icon{width:12px}.bottom-note{font-size:9px;color:#b0b6c0;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:28px}.bottom-note .icon{width:12px;height:12px}.footer{max-width:1550px;margin:auto;padding:20px 39px 23px;display:flex;align-items:center;gap:18px;color:#a9b0ba;font-size:8px}.footer span:last-child{margin-left:auto;color:#b6bdc6}.footer .text-button{font-size:8px;color:#a4acb6;font-weight:400}
/* Course and learning screens */
.level-tabs{display:flex;gap:8px;margin-bottom:24px;background:#eeedf3;border-radius:13px;padding:6px;overflow-x:auto}.level-tabs button{flex:1;min-width:95px;display:flex;justify-content:center;align-items:center;gap:7px;padding:12px 8px;border:0;background:transparent;border-radius:9px;color:#a09aaa;font-size:15px;font-weight:700}.level-tabs button span{font-size:10px;font-weight:400}.level-tabs button.selected{background:white;color:var(--purple);box-shadow:0 3px 6px #34255306}.level-tabs .icon{width:12px;height:12px}.course-banner{display:flex;gap:23px;align-items:center;background:#efebfb;border:1px solid #e7e0f7;border-radius:var(--radius);padding:27px 30px}.course-level{width:78px;height:78px;background:white;border-radius:20px;display:grid;place-items:center;font-size:33px;color:var(--purple);font-weight:700;flex-shrink:0}.course-banner .eyebrow{font-size:9px;margin-bottom:4px}.course-banner h2{font-size:22px}.course-banner p{font-size:12px;color:#978aad;margin-top:6px}.course-progress{margin-left:auto;display:flex;flex-direction:column;align-items:center;min-width:70px}.course-progress strong{font-size:28px;color:var(--purple)}.course-progress span{font-size:10px;color:#a598b5}.course-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:25px;margin-top:25px}.lesson-list{display:flex;flex-direction:column;gap:13px}.lesson-row{border:1px solid var(--line);border-radius:14px;padding:21px;display:flex;align-items:center;gap:18px;background:white;text-align:left}.lesson-row:hover{border-color:#cfc4ee}.lesson-number{background:#f4f1fc;color:#9b88d4;width:46px;height:48px;border-radius:12px;font-weight:600;display:grid;place-items:center;font-size:18px;flex-shrink:0}.lesson-number.done{background:#edf6ef;color:#70a587}.lesson-type{font-size:9px;color:#a99ac0}.lesson-row h3{font-size:14px;margin:1px 0}.lesson-row p{font-size:11px;color:#a2aab5}.lesson-row>.icon{width:15px;color:#b8b4c3}.lesson-duration{display:flex;align-items:center;gap:5px;margin-left:auto;font-size:10px;white-space:nowrap;color:#aaa7b4}.lesson-duration .icon{width:13px;height:13px}.exam-row{background:#faf7ef;border-color:#f0e9db}.exam-row .lesson-number{background:#f4ecd7;color:#c6b075}.exam-row>.icon{margin-left:auto}.course-info{height:fit-content}.course-info h3{margin:17px 0 14px}.course-info ol,.practice-tip ol{padding-left:17px;color:#9495a3;font-size:12px;line-height:2.4}.back-link{margin-bottom:20px}.learning-steps{display:flex;justify-content:center;gap:0;margin:0 0 28px;border-bottom:1px solid #e9e5f0}.learning-steps>span{padding:12px 28px;color:#b8b2c5;font-size:13px;border-bottom:2px solid transparent}.learning-steps b{font-weight:500;margin-left:10px}.learning-steps .active{color:var(--purple);border-color:var(--purple)}.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px}.learning-content{padding:32px}.learning-content>h2{margin-bottom:20px}.explanation{line-height:2.2;font-size:14px;color:#6f7986;white-space:pre-line}.learning-content>h3{margin:29px 0 14px}.examples{display:flex;flex-direction:column;gap:12px}.example{background:#f7f5fc;border:1px solid #ede8f6;border-radius:12px;display:flex;align-items:center;justify-content:space-between;padding:18px;gap:15px}.example strong{font-weight:500;color:#68588f;font-size:16px}.example p{font-size:12px;color:#9d90b3;margin-top:5px}.example .icon-btn{color:#a08ac9;flex-shrink:0}.vocab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vocab-card{border:1px solid #eeeaf6;border-radius:11px;background:white;text-align:left;display:flex;justify-content:space-between;align-items:center;padding:15px;gap:10px}.vocab-card>span{display:flex;flex-direction:column;gap:3px}.vocab-card strong{font-weight:600;color:#635580}.vocab-card small{font-size:10px;color:#b5a9c2}.vocab-card span span{font-size:12px;color:#95919e}.vocab-card>.icon{width:16px;color:#a397be}.lesson-bottom{display:flex;justify-content:flex-end;margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.speaking-callout h3{margin-top:17px}.speaking-callout blockquote{margin:18px 0;color:#58745f;font-size:20px;line-height:1.7}.speaking-callout>p{font-size:12px;color:#919c94}.speaking-callout .btn{margin-top:12px}.quiz-form{max-width:780px;margin:0 auto}.quiz-topline{display:flex;justify-content:space-between;color:#9991a9;font-size:11px;margin:0 0 17px}.question-card{border:1px solid var(--line);background:white;border-radius:16px;padding:22px 27px 27px;margin:0 0 24px;min-width:0}.question-card legend{padding:0 8px;display:flex;align-items:center;gap:12px}.question-number{display:grid;place-items:center;background:#eeebfa;width:36px;height:36px;border-radius:11px;color:#a08cce;font-weight:700;font-size:13px}.question-prompt{font-size:16px;font-weight:500;white-space:pre-line;line-height:1.9;margin-bottom:19px}.answer-options{display:flex;flex-direction:column;gap:10px}.answer-option{display:flex;align-items:center;gap:12px;border:1px solid #ece9f2;padding:14px;border-radius:10px;cursor:pointer;font-size:13px;color:#777483;transition:all .15s}.answer-option:hover{background:#f9f7fd;border-color:#cfc3ea}.answer-option:has(input:checked){background:#f3effc;border-color:#ae98df;color:#6b5392}.answer-option input{accent-color:var(--purple);width:16px;height:16px;flex-shrink:0}.option-letter{width:24px;height:24px;border:1px solid #e8e2f2;border-radius:6px;background:#fcfbfe;display:grid;place-items:center;font-size:11px;color:#a69ab7;flex-shrink:0}.audio-button{background:#eff5f6;color:#6c969c;padding:9px 13px;margin-bottom:15px;min-height:36px;font-size:12px}.quiz-submit{display:flex;align-items:center;justify-content:space-between;gap:20px}.quiz-submit>.muted{font-size:10px}.quiz-submit .muted>.icon{width:14px;margin-right:3px}.result-page{max-width:790px;margin:12px auto;text-align:center}.result-symbol{width:95px;height:95px;margin:0 auto 23px;display:grid;place-items:center;background:#fff1dc;color:#c8a169;border-radius:27px;transform:rotate(-6deg)}.result-symbol.success{background:#e9f4ec;color:#77ad86}.result-symbol>.icon{width:51px;height:51px}.result-page h1{font-size:29px}.result-page>p{font-size:13px;color:#9992a5;margin-top:9px}.score-big{font-size:73px;color:var(--purple);font-weight:600;letter-spacing:-4px;margin-top:18px;line-height:1.4}.score-big small{font-size:22px;color:#bdb5cd;letter-spacing:-1px;font-weight:400}.feedback-list{text-align:left;margin-top:38px}.feedback-list h2{margin-bottom:20px;font-size:18px}.feedback-item{display:flex;gap:17px;background:white;border:1px solid var(--line);padding:20px;border-radius:12px;margin-bottom:12px}.feedback-icon{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#fbedeb;color:#c98f8f}.correct .feedback-icon{background:#e9f4ed;color:#80ab89}.feedback-icon .icon{width:15px}.feedback-item strong{font-size:13px}.feedback-item p{font-size:12px;color:#9991a5;margin-top:5px;line-height:1.9}.exam-intro-banner{background:#eeebf9;border-radius:15px;display:flex;align-items:center;gap:17px;padding:22px 25px;margin-bottom:24px}.exam-intro-banner .stat-icon{background:white}.exam-intro-banner h3{font-size:15px}.exam-intro-banner p{font-size:12px;margin-top:5px;color:#9b8fae}.exam-intro-banner>.pill{margin-left:auto;background:#e4ddf3;color:#9c86bb}.exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.exam-card{display:flex;flex-direction:column}.exam-level{font-size:28px;color:#9c88cf;font-weight:600}.exam-card h2{font-size:17px;margin-bottom:9px}.exam-card>p{font-size:12px;color:#a09aaa;line-height:1.9;flex:1;margin-bottom:23px}.exam-card .level-progress{margin-bottom:8px}.exam-card>.btn{margin-top:23px}.exam-header{display:flex;justify-content:space-between;align-items:center;max-width:780px;margin:0 auto 35px}.exam-timer{background:#eeebf9;padding:10px 18px;border-radius:12px;display:grid;grid-template-columns:auto auto;gap:0 8px;align-items:center;color:#9580c3}.exam-timer strong{font-size:22px;font-variant-numeric:tabular-nums}.exam-timer span{font-size:8px;grid-column:2}.exam-rules{display:flex;flex-direction:column;gap:13px;margin:24px 0;padding:20px;background:#f7f5fc;border-radius:12px;font-size:13px;color:#8b7b9e}.exam-rules>div{display:flex;align-items:center;gap:10px}.exam-rules .icon{width:18px}.history-panel{margin-top:25px}.history-table{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;margin-top:15px}th{font-size:11px;font-weight:500;color:#a79aad;background:#f9f7fc}th,td{padding:12px 15px;border-bottom:1px solid var(--line)}td{font-size:12px;color:#89828f}
/* Speaking studio */
.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px}.practice-studio{padding:25px 30px;text-align:center}.practice-studio>.section-heading .tiny{font-size:8px;letter-spacing:1px}.practice-studio>.section-heading .icon{width:13px}.waveform{height:85px;display:flex;align-items:center;justify-content:center;gap:4px;margin:29px 0 16px}.waveform i{display:block;height:var(--h);width:4px;background:#d8cbed;border-radius:6px}.waveform i:nth-child(3n){background:#b39ad6}.practice-studio>h2{font-size:28px;font-weight:500;color:#6e5a8c;max-width:560px;margin:auto;line-height:1.65}.phrase-translation{color:#a496ae;font-size:13px;line-height:1.9;margin-top:15px}.practice-divider{position:relative;border-top:1px solid #efebf5;margin:40px 0 36px}.practice-divider>span{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);padding:0 18px;background:white;color:#b5aabd;font-size:11px}.mic-actions{display:flex;align-items:center;flex-direction:column;gap:8px}.mic-button{background:var(--purple);color:white;border:8px solid #f1eafa;border-radius:50%;width:90px;height:90px;box-shadow:0 0 0 1px #e8dff5;margin-bottom:10px}.mic-button .icon{width:30px;height:30px}.mic-button:hover{background:var(--purple-dark);transform:scale(1.04)}.mic-button.recording{animation:pulse 1.5s ease infinite;background:#c87a8a}.mic-actions strong{font-size:13px;font-weight:500;color:#8b799c}.speech-status{color:#a99eb4;font-size:11px;margin:17px 0;min-height:20px}.speech-feedback{border:1px solid #e4eede;background:#f5f9f1;padding:20px;border-radius:12px;margin:20px 0;text-align:left;display:flex;flex-direction:column;gap:8px;color:#85a17e}.speech-feedback>.eyebrow{font-size:9px;color:#a0b399;margin:0}.speech-feedback>p{font-size:18px;color:#637f5c}.speech-feedback>strong{font-size:14px}.speech-feedback small{font-size:10px;color:#a6b69f}.record-section{margin:16px 0 25px}.record-section>.text-button{font-size:11px}.record-section audio{width:100%;max-width:350px;margin-top:17px;height:39px}.practice-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px}.practice-bottom .btn{font-size:11px;min-height:38px;padding:9px 15px}.practice-tip h3{margin:19px 0 10px}.practice-tip>p{font-size:13px;color:#a493a3;line-height:1.95}.practice-tip ol{margin-top:20px}.privacy-note{display:flex;gap:12px;margin-top:24px;padding:0 6px;color:#a9a1b1}.privacy-note>.icon{width:17px}.privacy-note strong{font-size:11px;font-weight:600}.privacy-note p{font-size:10px;line-height:2;margin-top:8px}
/* Certificates, profile and dialogs */
.certificate-empty{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px;padding:50px 55px 60px;border-radius:20px;background:#f2f0f7;margin-bottom:30px}.certificate-mock{position:relative;border:1px solid #ded2bc;background:#fffcf7;text-align:center;outline:1px solid #ece2cf;outline-offset:-11px;padding:34px 25px 42px;box-shadow:8px 11px 0 #e7e2e6;transform:rotate(-3deg)}.cert-brand{font-size:22px;color:#7c6a8f;font-weight:600;letter-spacing:-1px}.cert-brand>span{display:block;font-size:6px;letter-spacing:2px;color:#a79cae;margin-top:2px}.cert-line{height:1px;width:45px;background:#d4c1a2;margin:20px auto}.certificate-mock .eyebrow{font-size:7px;letter-spacing:1.5px;color:#baa680}.certificate-mock h2{font-size:23px;font-weight:500;color:#8e7d97;line-height:1.6;margin-top:15px}.mock-name{font-size:12px;letter-spacing:2px;color:#c6b2c8;padding:23px 0 14px;border-bottom:1px solid #efe6e8;margin-bottom:16px}.cert-level-pill{font-size:8px;letter-spacing:1px;border:1px solid #e5d4b5;padding:4px 8px;color:#bb9d73}.certificate-mock>.icon{position:absolute;bottom:16px;right:17px;color:#ccb178;fill:#f7efde;width:38px;height:38px}.sample-label{position:absolute;bottom:8px;left:17px;font-size:7px;color:#d2c7b8}.certificate-empty-copy h2{font-size:29px;color:#6e5c80;line-height:1.55}.certificate-empty-copy>p{font-size:12px;line-height:2;color:#ac9eb7;margin:15px 0 22px}.cert-benefit{display:flex;align-items:center;gap:8px;font-size:11px;color:#a594ae;margin:11px 0}.cert-benefit .icon{width:15px;color:#96b098}.certificate-empty-copy>.btn{margin-top:24px}.verify-form{display:flex;align-items:center;gap:20px;padding:23px 27px}.verify-form>div{margin-right:auto}.verify-form h3{font-size:14px;display:flex;align-items:center;gap:8px}.verify-form h3 .icon{width:18px;color:#a291b7}.verify-form p{font-size:11px;color:#a79aac;margin-top:6px}.verify-form>input{max-width:290px}.verify-form>.btn{flex-shrink:0}.certificate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:25px}.earned-certificate{position:relative;padding:33px;overflow:hidden;background:linear-gradient(120deg,#fffefb,#faf6fd)}.earned-certificate .eyebrow{font-size:8px;margin-bottom:17px}.earned-certificate h2{font-size:22px;color:#8a70a5;margin-bottom:14px}.earned-certificate p{margin:5px 0}.earned-certificate .btn{margin-top:22px}.certificate-ribbon{position:absolute;right:23px;top:25px;color:#dac597}.certificate-ribbon .icon{width:50px;height:50px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.settings-panel h2{font-size:18px;display:flex;align-items:center;gap:9px;margin-bottom:24px}.settings-panel h2 .icon{width:20px;color:#a18bb9}.settings-panel>p{font-size:12px;color:#a093ab;line-height:2;margin:18px 0}.settings-panel>h3{margin-top:30px}.logout{color:#bb879b;margin-top:30px;font-size:12px}.logout .icon{width:15px}label:has(>input:not([type=radio])),label:has(>select){display:block;font-size:12px;color:#92849f;margin:17px 0}input:not([type=radio]),select{display:block;width:100%;padding:12px 14px;color:#685879;background:#fcfbfe;border:1px solid #e8e1ef;border-radius:9px;outline:none;font-size:13px;margin-top:7px}input::placeholder{color:#c0b5cc;font-size:12px}input:focus,select:focus{border-color:#aa8bd2;box-shadow:0 0 0 3px #e9def85c}input[readonly]{background:#f4f2f7;color:#ada4b7}.form-error{font-size:12px;line-height:1.8;color:#b6707f;margin:14px 0;white-space:pre-line}.form-error:empty{display:none}.toast{position:fixed;z-index:99;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:13px 22px;background:#554168;color:#fff;border:1px solid #816a91;box-shadow:0 10px 30px #35244b26;border-radius:11px;font-size:12px;transition:opacity .2s,transform .2s;max-width:min(90vw,600px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #e8e0f0;border-radius:23px;padding:35px 36px;max-width:510px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 25px 90px #2d183d30;max-height:90vh;overflow:auto}dialog::backdrop{background:#29213d70;backdrop-filter:blur(5px)}dialog h2{font-size:23px;line-height:1.6;margin-bottom:10px}dialog>p{font-size:12px;line-height:2;color:#a190ad;margin:12px 0}dialog>.eyebrow{font-size:9px;margin-top:20px}dialog .tiny{font-size:10px}dialog .tiny .text-button{font-size:10px}.modal-close{position:absolute;right:13px;top:13px}.modal-close .icon{width:17px;height:17px}.modal-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#efe9fa;color:#a28ac8;margin-bottom:21px}.modal-symbol .icon{width:27px;height:27px}.auth-switch{display:flex;gap:7px;align-items:center;justify-content:center;color:#a79aaf;font-size:12px;margin:22px 0 15px}.auth-switch .text-button{font-size:12px}.help-list{font-size:13px;line-height:2.3;padding-left:20px;color:#a094a9}.help-list b{color:#7f6b90;font-weight:500}.certificate-modal{max-width:830px;width:calc(100% - 32px);padding:30px}.certificate-document{background:#fffcf7;border:2px solid #e4d3b8;outline:1px solid #ecdfc9;outline-offset:-10px;padding:38px 35px 27px;text-align:center;color:#877493}.certificate-document .cert-brand{font-size:30px}.certificate-document .cert-brand>span{font-size:8px}.certificate-document .eyebrow{color:#b7a078;letter-spacing:2.5px;font-size:9px;margin-top:24px}.certificate-document h2{font-size:22px;font-weight:500;margin:18px 0}.certificate-document>p{font-size:12px;color:#b5a4b9;margin:12px 0}.certificate-document h1{font-size:36px;color:#766080;margin:24px 0;overflow-wrap:anywhere}.certificate-document h3{font-weight:500;font-size:18px;margin-top:19px}.certificate-seal{display:flex;align-items:center;justify-content:center;gap:10px;color:#bda372;margin:22px 0}.certificate-seal .icon{width:42px;height:42px}.certificate-seal span{font-size:7px;letter-spacing:2px;text-align:left}.cert-details{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0;color:#baaac0;font-size:9px}.cert-details strong{display:block;font-size:12px;font-weight:500;color:#96809f;margin-top:5px}.verification-code{padding-top:17px;border-top:1px solid #eadfd4;font-size:8px;overflow-wrap:anywhere;color:#b9acb6;line-height:2}.certificate-document .cert-disclaimer{font-size:8px;line-height:1.8;margin-bottom:0;color:#c2b6c0}
@keyframes pulse{50%{box-shadow:0 0 0 10px #ecbad826}}
@media(min-width:1550px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px;gap:30px}.hero{min-height:308px}.hero-copy{padding:34px 36px}.hero h2{font-size:30px}.hero p{font-size:13px}.hero-art{height:265px}.hero-label{font-size:8px}.hero-foot{font-size:10px}.hero .btn{font-size:13px}.stat-card{padding:22px}.level-card{padding:22px}.level-card h3{font-size:16px}.level-card p{font-size:12px}.level-caption{font-size:8px}.level-top{margin-bottom:20px}.goal-panel{padding:23px}.goal-ring{margin-top:16px;margin-bottom:23px;width:176px;height:176px}.phrase-panel{padding:23px}.phrase-panel h3{font-size:23px}.phrase-panel p{font-size:11px}.certificate-teaser{padding-top:23px}.level-footer{font-size:11px}.continue-card{padding:22px}.continue-card h3{font-size:16px}.continue-card p{font-size:12px}}
@media(max-width:1250px){.sidebar{width:210px;padding:28px 15px 16px}.brand{font-size:20px;gap:8px;margin-left:5px}.brand-mark{width:38px;height:39px;font-size:32px}.nav-item{font-size:12px;padding:13px}.workspace{margin-left:210px}main{padding:29px 27px 15px}.topbar{padding:0 27px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 244px;gap:20px}.hero-copy{padding:25px 22px}.hero h2{font-size:23px}.hero-art{width:44%;right:-14px;top:32px}.hero-label{font-size:6px;letter-spacing:1.2px}.stat-card{padding:14px 11px;gap:9px}.stat-icon{width:35px;height:35px;border-radius:10px}.stat-icon .icon{width:18px}.stat-card strong{font-size:20px}.stats-grid{gap:10px}.level-grid{gap:10px}.level-card{padding:15px 13px 11px}.level-card h3{font-size:12px}.level-symbol{width:37px;height:37px}.goal-panel{padding:17px 15px}.phrase-panel{padding:17px 16px}.phrase-panel h3{font-size:18px}.phrase-panel>.section-heading{gap:5px}.phrase-panel>.section-heading>span:first-child{font-size:6.5px}.page-heading h1{font-size:24px}.date-chip{display:none}.course-layout,.learning-layout,.practice-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.level-tabs button span{display:none}.certificate-empty{gap:40px;padding:40px 32px}.verify-form{gap:12px}.verify-form input{max-width:205px}.footer{padding-left:27px;padding-right:27px}}
@media(max-width:1050px){.sidebar{width:190px;padding:28px 12px 16px}.brand{font-size:18px}.brand small{font-size:6px;letter-spacing:1.5px}.nav-item{font-size:11px;gap:9px}.new-badge{font-size:6px}.workspace{margin-left:190px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:5px}.certificate-teaser{display:none}.goal-panel{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px}.goal-panel>.section-heading{grid-column:1/-1}.goal-ring{margin:0 auto;grid-row:2/4;width:130px;height:130px}.goal-ring strong{font-size:23px}.goal-ring div>span{font-size:7px}.week-days{align-self:end;gap:4px;margin-bottom:5px;flex-wrap:wrap}.day{font-size:7px}.day b{width:18px;height:18px;font-size:7px}.goal-note{align-self:start;margin:9px 0;font-size:8px}.phrase-panel{padding:22px}.hero-art{width:44%;right:20px}.hero h2{font-size:26px}.hero p{font-size:12px}.hero-copy{padding:28px}.hero-label{font-size:7px}.hero{min-height:285px}.stat-card{padding:19px}.level-card{padding:20px}.level-card h3{font-size:15px}.level-card p{font-size:11px}.level-symbol{width:42px;height:42px}.exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-layout,.practice-layout,.course-layout{grid-template-columns:minmax(0,1fr)}.learning-layout>aside,.practice-layout>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.privacy-note{margin-top:0}.course-info{display:none}.speaking-callout{grid-column:1/-1}.speaking-callout .btn{width:auto;margin-right:12px}.speaking-callout blockquote{font-size:23px}.certificate-empty{gap:25px;padding:35px 27px}.certificate-empty-copy h2{font-size:24px}.certificate-mock h2{font-size:20px}.verify-form{flex-wrap:wrap}.verify-form>div{width:100%;margin-bottom:5px}.verify-form>input{max-width:none;flex:1;margin:0}.footer span:last-child{display:none}.topbar{height:72px}.settings-grid{grid-template-columns:1fr}.lesson-duration{font-size:11px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .25s;width:235px;box-shadow:10px 0 60px #42355620}.sidebar.open{transform:translateX(0)}.sidebar .brand{font-size:22px;margin:0 0 45px 7px}.sidebar .brand small{font-size:7px}.sidebar .nav-item{font-size:13px;padding:14px;gap:12px}.sidebar .new-badge{font-size:7px}.workspace{margin-left:0}.mobile-menu{display:inline-grid}.topbar{height:68px;padding:0 20px;position:sticky;top:0;z-index:10}.topbar-left{gap:7px}.breadcrumb{font-size:10px;gap:10px}.topbar-right{gap:10px}.top-divider,.language{display:none}.profile-button{gap:7px;font-size:10px}.profile-button>.icon{margin-left:0}.avatar{width:29px;height:29px}.topbar-left .icon-btn{padding:5px}main{padding:24px 20px 15px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:23px;line-height:1.6}.page-heading p{font-size:11px;line-height:1.9}.page-heading .eyebrow{font-size:6.5px;letter-spacing:1.7px}.wave{font-size:24px}.dashboard-grid{gap:18px}.hero{min-height:264px}.hero-copy{padding:24px}.hero h2{font-size:24px}.hero p{font-size:11px}.hero-art{width:42%;right:0;top:25px;height:213px}.hero-label{font-size:6px;letter-spacing:1px}.hero .btn{font-size:11px}.stats-grid{margin:17px 0 24px;gap:11px}.stat-card{padding:15px 12px;gap:10px}.stat-icon{width:35px;height:35px}.stat-card strong{font-size:20px}.stat-card div>span{font-size:8px}.stat-card strong small{font-size:9px}.level-grid{gap:12px}.level-card{padding:17px 14px 12px}.level-card h3{font-size:14px}.level-card p{font-size:10px}.level-symbol{width:35px;height:35px}.level-symbol .icon{width:19px}.level-top{margin-bottom:15px}.level-code{font-size:9px}.level-caption{font-size:6px;letter-spacing:1px}.level-footer{font-size:8px}.continue-card{gap:15px}.lesson-art{width:67px;height:68px;font-size:25px}.right-column{gap:15px}.goal-panel{display:block;padding:18px}.goal-panel>.section-heading h3{font-size:12px}.goal-ring{width:130px;height:130px;margin:13px auto 17px}.week-days{flex-wrap:nowrap}.goal-note{font-size:8px;margin-top:13px}.phrase-panel{padding:19px 17px;display:flex;flex-direction:column;justify-content:center}.phrase-panel>.section-heading{display:block;margin-bottom:14px}.phrase-panel .pill{display:none}.phrase-panel h3{font-size:19px;line-height:1.65}.phrase-panel p{font-size:10px;line-height:2}.phrase-actions{flex-wrap:wrap;gap:7px}.bottom-note{font-size:8px;line-height:1.9;margin-top:24px}.footer{padding:17px 20px;font-size:7px;justify-content:space-between}.level-tabs{gap:2px;padding:4px}.level-tabs button{min-width:55px;padding:10px 7px;font-size:13px;gap:4px}.level-tabs .icon{width:10px;height:10px}.course-banner{padding:20px;gap:15px}.course-level{width:57px;height:60px;border-radius:15px;font-size:25px}.course-banner h2{font-size:18px}.course-banner .eyebrow{font-size:7px}.course-banner p{font-size:10px}.course-progress{min-width:45px}.course-progress strong{font-size:22px}.course-progress span{font-size:8px}.notice{font-size:10px;line-height:1.9;padding:14px 16px;align-items:flex-start;gap:9px}.notice>.icon{width:16px;height:16px;margin-top:2px}.lesson-row{padding:18px;gap:13px}.lesson-number{width:39px;height:43px;font-size:16px}.lesson-row h3{font-size:13px}.lesson-row p{font-size:10px}.lesson-duration{font-size:9px}.learning-content{padding:24px}.learning-content h2{font-size:18px}.explanation{font-size:13px}.learning-steps>span{font-size:10px;padding:10px 14px}.learning-steps b{margin-left:5px}.learning-layout>aside,.practice-layout>aside{grid-template-columns:1fr}.example{padding:16px}.example strong{font-size:15px}.vocab-card{padding:13px}.vocab-card strong{font-size:13px}.vocab-card span span{font-size:11px}.quiz-topline{font-size:10px}.question-card{padding:18px 19px 23px}.question-prompt{font-size:15px}.answer-option{font-size:12px;padding:12px;gap:10px}.quiz-submit{align-items:flex-end}.quiz-submit>.muted{font-size:9px;max-width:45%}.exam-intro-banner{padding:18px;gap:12px}.exam-intro-banner h3{font-size:13px}.exam-intro-banner p{font-size:10px;line-height:1.9}.exam-intro-banner>.pill{display:none}.exam-grid{gap:15px}.exam-card{padding:21px}.exam-card h2{font-size:16px}.exam-card>p{font-size:11px}.exam-card>.btn{font-size:11px;padding:10px}.exam-header h1{font-size:24px}.exam-timer{padding:8px 13px}.exam-timer strong{font-size:19px}.result-page h1{font-size:24px}.result-page>p{font-size:11px}.result-symbol{width:79px;height:79px}.result-symbol>.icon{width:41px}.feedback-item{padding:16px;gap:13px}.feedback-item p{font-size:11px}.practice-studio{padding:23px}.practice-studio>h2{font-size:24px}.practice-studio>.section-heading .tiny{font-size:7px}.phrase-translation{font-size:12px}.waveform{margin-top:21px}.practice-bottom .btn{font-size:10px}.practice-tip{padding:22px}.privacy-note{padding:0 12px}.privacy-note p{font-size:11px}.certificate-empty{grid-template-columns:1fr;padding:35px 30px;gap:43px}.certificate-mock{max-width:360px;width:100%;margin:auto}.certificate-empty-copy{max-width:360px;width:100%;margin:auto}.certificate-empty-copy h2{font-size:25px}.certificate-empty-copy>p{font-size:12px}.certificate-grid{grid-template-columns:1fr}.verify-form{padding:20px}.verify-form .btn{font-size:11px;padding:11px 15px}.verify-form>input{min-width:0;font-size:12px}.settings-panel{padding:24px}dialog{padding:30px 25px}dialog h2{font-size:21px}.certificate-modal{padding:19px}.certificate-document{padding:30px 20px 23px}.certificate-document h1{font-size:27px}.certificate-document h2{font-size:18px}.certificate-document h3{font-size:15px}.cert-details{gap:10px}.cert-details strong{font-size:10px}.certificate-document .cert-brand{font-size:26px}.certificate-document .eyebrow{font-size:7px;letter-spacing:1.5px}}
@media(max-width:450px){main{padding:21px 15px 12px}.topbar{padding:0 12px}.breadcrumb{font-size:9px}.breadcrumb>span{display:none}.breadcrumb{gap:7px}.profile-button>span:not(.avatar){display:none}.page-heading h1{font-size:20px}.page-heading .eyebrow{font-size:5.8px;letter-spacing:1.3px}.hero{min-height:275px}.hero-copy{padding:22px 20px}.hero h2{font-size:22px}.hero-art{width:44%;height:176px;top:52px;right:-23px;opacity:.65}.hero-label{font-size:5px;letter-spacing:1px}.hero p{font-size:10px}.hero-foot{font-size:7px}.hero .btn{margin-top:19px}.stat-card{display:block;padding:12px 12px}.stat-icon{width:28px;height:28px;border-radius:8px;margin-bottom:8px}.stat-icon .icon{width:16px;height:16px}.stat-card div>span{font-size:8px}.stat-card strong{font-size:21px;margin-top:4px}.stat-card strong small{font-size:8px;margin-left:1px}.section-heading h2{font-size:15px}.section-heading p{font-size:9px}.section-heading .text-button{font-size:9px}.level-grid{gap:8px}.level-card{padding:13px 10px 10px}.level-symbol{width:28px;height:29px;border-radius:9px}.level-symbol .icon{width:16px;height:16px}.level-code{font-size:8px;padding:2px 5px}.level-caption{font-size:5px;letter-spacing:.6px}.level-card h3{font-size:11px}.level-card p{font-size:8px;margin-bottom:12px}.level-footer{font-size:7px}.level-footer .icon{width:10px;height:10px}.continue-card{padding:14px;gap:12px}.lesson-art{width:57px;height:64px;font-size:23px}.continue-card h3{font-size:12px}.continue-card p{font-size:10px}.continue-card .tiny{font-size:8px}.continue-card .eyebrow{font-size:7px}.round-arrow{width:25px;height:25px}.right-column{gap:11px}.goal-panel{padding:15px 12px}.goal-ring{width:123px;height:123px}.goal-panel .section-heading h3{font-size:11px}.goal-panel .section-heading .icon{width:14px}.week-days{gap:3px}.day b{width:17px;height:17px;font-size:6.5px}.goal-note{font-size:7px;line-height:1.9}.phrase-panel{padding:16px 13px}.phrase-panel h3{font-size:16px}.phrase-panel>.section-heading>span:first-child{font-size:5.3px;letter-spacing:.8px}.phrase-panel p{font-size:8px}.phrase-actions .btn{font-size:8px;padding:6px 8px;min-height:29px}.phrase-actions .btn .icon{width:11px;height:11px}.bottom-note{font-size:7px;gap:4px}.footer{padding:15px;font-size:6.5px;gap:7px}.footer .text-button{font-size:7px}.level-tabs button{min-width:48px;font-size:12px;padding:10px 5px}.level-tabs .icon{width:9px}.course-banner{padding:17px;gap:12px}.course-level{width:46px;height:51px;font-size:21px;border-radius:12px}.course-banner h2{font-size:16px}.course-banner p{font-size:9px}.course-progress{display:none}.lesson-row{padding:16px 13px;gap:10px}.lesson-duration{display:none}.lesson-row>.icon{margin-left:auto}.lesson-row p{font-size:9px}.lesson-row h3{font-size:12px}.lesson-type{font-size:8px}.lesson-number{width:32px;height:38px;font-size:14px}.learning-content{padding:20px}.learning-content>h2{font-size:17px}.vocab-grid{grid-template-columns:1fr}.learning-steps>span{padding:10px 10px;font-size:9px}.exam-grid{grid-template-columns:1fr}.exam-card h2{font-size:18px}.exam-card>p{font-size:12px}.exam-card>.btn{font-size:12px}.quiz-submit{flex-direction:column;align-items:stretch}.quiz-submit>.muted{max-width:100%}.practice-studio{padding:19px}.practice-studio>h2{font-size:22px}.practice-studio>.section-heading .tiny{font-size:6px}.practice-studio>.section-heading .icon{width:11px}.practice-studio .button-row .btn{font-size:11px;padding:10px 13px}.practice-bottom .btn{font-size:9px;padding:9px 10px}.practice-bottom .icon{width:13px}.verify-form{gap:10px}.verify-form>input{font-size:10px}.verify-form>.btn{font-size:10px;padding:10px}.certificate-empty{padding:32px 26px}.quiz-topline{font-size:9px}.exam-header h1{font-size:20px}.exam-header .eyebrow{font-size:7px}.exam-timer{padding:8px 10px}.exam-timer strong{font-size:17px}.question-prompt{font-size:14px}.answer-option{font-size:11px}.result-page h1{font-size:22px}.result-page>p{font-size:10px}.cert-details{grid-template-columns:1fr 1fr}.cert-details>div:last-child{grid-column:1/-1}.certificate-modal .button-row .btn{font-size:11px}.certificate-document h2{font-size:15px}.certificate-document>p{font-size:10px}.certificate-document h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Thai reading copy retains contrast against the soft, decorative surfaces. */
.muted,.page-heading p,.section-heading p,.stat-card div>span,.continue-card p,.lesson-row p,.level-card p,.level-footer,.goal-note{color:#727c8a}
.nav-item{color:#747d8c}.nav-item.active{color:#6650bf}.explanation{color:#596575}
.hero p{color:#f0ebff}.hero-foot{color:#eee8ff}.goal-ring div>span{color:#7d758b}.phrase-panel p{color:#557c65}
.privacy-note,.practice-tip>p,.settings-panel>p,.notice-small{color:#766783}.example p{color:#796889}.vocab-card span span{color:#787080}
.phrase-translation,.speech-status{color:#806d93}.certificate-empty-copy>p,.cert-benefit{color:#847090}
.lesson-row h3,.level-card h3{line-height:1.6}.question-prompt{color:#435064}.answer-option{color:#60566e}
@media print{@page{size:A4 landscape;margin:12mm}body{background:white!important}body>*:not(#modal){display:none!important}dialog#modal{display:block!important;position:static!important;max-width:none!important;width:100%!important;max-height:none!important;overflow:visible!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}.modal-close,.no-print{display:none!important}.certificate-document{break-inside:avoid;padding:25px 45px!important;min-height:170mm;-webkit-print-color-adjust:exact;print-color-adjust:exact}.certificate-document .cert-brand{font-size:30px}.certificate-document h1{font-size:37px}.certificate-document h2{font-size:24px}.certificate-document h3{font-size:19px}.cert-details{grid-template-columns:repeat(3,1fr)!important}.cert-details>div:last-child{grid-column:auto!important}.verification-code a{color:#8f8199;text-decoration:none}.certificate-document .cert-disclaimer{font-size:8px}.certificate-document .eyebrow{font-size:10px}}

/* A reading attempt records and checks words in the same session. */
.speech-live{padding:12px 16px;margin:10px 0;border-radius:10px;background:#f6f4fb;color:#655979;font-size:16px;overflow-wrap:anywhere}
.speech-live[hidden]{display:none}
.word-comparison{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:18px 0 12px}
.word-comparison .word{border-radius:7px;padding:4px 8px;font-size:15px;line-height:1.6;border:1px solid transparent}
.word.correct{color:#235d46;background:#e6f4ec;border-color:#bedcc9}
.word.missing{color:#765317;background:#fff4d9;border-color:#e8d39e;border-style:dashed}
.word.different{color:#983e4d;background:#fcebf0;border-color:#edc4ce}
.word-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:11px;color:#655b73}
.speech-feedback .speech-extras{font-size:13px;margin:14px 0 0;color:#765317}
.speech-feedback>p{font-size:14px;overflow-wrap:anywhere}
.speech-feedback>p[lang=en]{font-size:19px}
.speech-caution{font-size:12px!important;background:#fff4dc;color:#705219;padding:12px;border-radius:8px;margin:12px 0!important}
.speech-ungraded{background:#f5f4f8;color:#635770}
.recording-card{display:flex;flex-direction:column;align-items:stretch;gap:10px;background:#f7f6fb;border:1px solid #e9e4f3;border-radius:13px;padding:17px;margin-top:18px;text-align:left}
.recording-card>strong{display:flex;gap:8px;align-items:center;font-size:14px;color:#645684}
.recording-card audio{display:block;width:100%;min-width:0}
.speech-mode{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#766783;margin-top:18px}
.speech-mode .text-button{font-size:11px}
.mic-actions>.tiny{max-width:100%;font-size:12px;line-height:1.8;text-align:center}
.mic-button[disabled]{cursor:wait;opacity:.7}
@media(max-width:450px){.word-comparison .word{font-size:14px;padding:3px 7px}.word-legend{gap:8px;font-size:10px}.speech-feedback>p[lang=en]{font-size:17px}.mic-actions>.tiny{font-size:11px}.recording-card{padding:14px}}
@media(max-width:760px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}
