/* Readable learning path. Keep this after the base stylesheet. */
:root{--ink:#263246;--muted:#566277;--purple:#6550c8;--purple-dark:#49359f;--green:#247151;--line:#dfe3ec;--purple-light:#f0ecfc}
body{font-size:16px;line-height:1.8}h1{font-size:30px}h2{font-size:23px}h3{font-size:18px}
button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #49359f;outline-offset:4px}
.btn,.text-button,.nav-item,.sidebar .nav-item,.sidebar-bottom .nav-item{font-size:16px;min-height:44px}.btn{padding:12px 20px}.icon-btn{min-width:44px;min-height:44px;color:#566277}
.tiny,.pill,.eyebrow,.nav-label,.brand small,.sidebar .brand small,.kkl-link,.breadcrumb,.profile-button,.language,.date-chip,.new-badge,.sidebar .new-badge{font-size:13px}
.muted,.nav-label,.breadcrumb,.language,.date-chip,.sidebar-note p,.sidebar-note strong,.kkl-link,.page-heading p,.section-heading p,.footer,.bottom-note{color:var(--muted)}
.sidebar{width:250px;padding:28px 18px 18px}.workspace{margin-left:250px}.brand{font-size:24px;margin-bottom:36px}.brand small,.sidebar .brand small{font-size:9px;letter-spacing:1.1px}.sidebar-note p,.sidebar-note strong{font-size:14px}.nav-item{color:#566277;padding:13px}.kkl-link{font-size:11px;letter-spacing:.4px}.new-badge{font-size:10px;color:#246448}
.topbar{padding:0 32px}.breadcrumb span{color:#637087}.breadcrumb b{color:#263246}.page-heading p{font-size:16px;max-width:850px;line-height:1.8}.page-heading .eyebrow{font-size:12px;color:#615284;letter-spacing:1.7px}.page-heading h1{font-size:30px;line-height:1.55}
main{padding:32px;max-width:1530px}.section-heading h2{font-size:23px}.section-heading h3{font-size:19px}.section-heading p{font-size:15px}.section-heading .text-button{font-size:15px}.footer,.bottom-note{font-size:12px;line-height:1.9}
.notice,.notice-small{font-size:15px;color:#504263;line-height:1.9}.pill{color:#5b467b;background:#f0edf7;font-size:13px;white-space:normal}.success-pill{background:#e5f5ed;color:#1e6549}.panel{border-color:var(--line)}
.learning-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:30px;padding:36px 40px;border-radius:24px;background:linear-gradient(115deg,#5340a8,#6f55cf);color:#fff;position:relative;overflow:hidden}
.learning-hero h2{font-size:31px;line-height:1.6;max-width:650px;margin:10px 0}.learning-hero p{font-size:17px;max-width:630px;color:#fff;line-height:1.9}.hero-kicker{font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:8px}.hero-kicker:before{content:'';width:8px;height:8px;border-radius:50%;background:#d4ebad}.learning-hero .btn{margin-top:22px;color:#49359f}.hero-small{display:flex;align-items:center;gap:7px;margin-top:14px;font-size:13px;color:#fff}.hero-small .icon{width:17px;height:17px}.hero-progress-visual{display:grid;justify-items:center;gap:13px}.large-progress-ring{width:190px;height:190px;border-radius:50%;padding:11px;background:conic-gradient(#d6edb1 var(--progress),#ffffff30 0)}.large-progress-ring>div{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#5e48b6;border-radius:50%;height:100%;line-height:1.2}.large-progress-ring span{font-size:12px;letter-spacing:3px}.large-progress-ring strong{font-size:49px;line-height:1.4}.large-progress-ring b{font-size:21px;color:#e0f3c8}.hero-progress-caption{font-size:14px;font-weight:500}
.overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0 28px}.overview-stats article{display:flex;align-items:center;gap:14px;padding:21px;background:#fff;border:1px solid var(--line);border-radius:16px}.overview-stats article>.icon{background:#f0ecfc;color:#6550c8;padding:11px;width:47px;height:47px;border-radius:14px}.overview-stats article:nth-child(2)>.icon{background:#edf6e6;color:#456c2d}.overview-stats article:nth-child(3)>.icon{background:#fff0e5;color:#a35126}.overview-stats article:nth-child(4)>.icon{background:#e9f1fc;color:#36649a}.overview-stats span{display:block;font-size:13px;color:#566277}.overview-stats strong{font-size:29px;line-height:1.3}.overview-stats small{font-size:14px;color:#566277;font-weight:500}
.journey-panel{padding:28px;margin-bottom:28px}.path-complete{background:#f0ecfc;padding:7px 13px;border-radius:20px;color:#5942b8;font-weight:600;font-size:14px;white-space:nowrap}.journey-map{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:25px}.journey-step{position:relative;padding:21px 12px 16px;background:#f8f9fc;border:1px solid #dfe3ec;border-radius:18px;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;color:#465267}.journey-step:hover{border-color:#8976db;box-shadow:0 5px 18px #5340a810}.journey-step.current{background:#f4f0ff;border:2px solid #7961d2;padding:20px 11px 15px;box-shadow:0 5px 18px #6550c813}.journey-step.complete{background:#f0f8ee;border-color:#b9d2b2}.journey-node{height:72px;width:72px;border-radius:23px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e8eaf0;color:#546076;gap:0}.journey-node .icon{width:23px;height:23px}.journey-node b{font-size:23px;line-height:1.4}.current .journey-node{background:#6550c8;color:#fff;box-shadow:0 7px 12px #6550c828}.complete .journey-node{background:#2b7757;color:#fff}.journey-title{font-size:16px;font-weight:650;line-height:1.6;margin-top:14px}.journey-status{font-size:13px;color:#566277;line-height:1.65;margin:4px 0 13px;min-height:22px}.current .journey-status{color:#5841b2;font-weight:600}.complete .journey-status{color:#236548}.journey-count{font-size:12px;color:#566277;margin-top:auto}.journey-step .path-progress{width:100%;margin-top:8px;height:5px}.journey-index{position:absolute;right:10px;top:7px;font-size:11px;color:#647083}.journey-legend{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin-top:21px;font-size:13px;color:#566277}.journey-legend>span{display:flex;align-items:center;gap:7px}.journey-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.legend-complete{background:#2b7757}.legend-current{background:#6550c8}.journey-legend .icon{width:14px;height:14px}.path-progress{height:7px;overflow:hidden;border-radius:10px;background:#e4e5ee}.path-progress>span{display:block;height:100%;border-radius:10px;background:#7660cf}.complete .path-progress>span{background:#2b7757}
.next-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.next-lesson h2{margin:10px 0 5px}.next-lesson p,.speaking-next p{color:#566277;font-size:16px;line-height:1.9}.next-lesson-meta{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.next-lesson-meta span{font-size:13px;border-radius:8px;background:#f1eff8;padding:4px 10px;color:#574a73}.speaking-next .stat-icon{float:right;width:52px;height:52px}.speaking-next h2{margin:5px 0 10px}.speaking-next .btn{margin-top:19px}
.level-tabs{gap:7px;overflow:visible;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:7px}.level-tabs button{min-width:0;display:flex;flex-wrap:wrap;gap:5px;font-size:17px;padding:13px 7px;color:#566277;line-height:1.5}.level-tabs button>span{display:block;width:100%;font-size:12px;order:3}.level-tabs button.selected{color:#5840b4}.level-tabs .icon{width:14px;height:14px}.course-banner{padding:26px;gap:20px;align-items:center}.course-banner h2{font-size:25px}.course-banner p{font-size:16px;color:#566277}.course-banner .eyebrow{font-size:13px}.course-level{font-size:31px;min-width:75px}.course-progress{min-width:96px}.course-progress strong{font-size:29px}.course-progress span{font-size:13px;color:#566277}.course-layout{grid-template-columns:minmax(0,1fr) 270px;gap:25px}.course-info h3{font-size:20px}.course-info ol{padding-left:22px;font-size:15px;color:#465267;line-height:2}.course-info li{margin-bottom:10px}.course-info .tiny{font-size:13px}.locked-level-panel{display:flex;gap:24px;align-items:flex-start;padding:26px;background:#eeedf5;border:1px solid #d6d2e6;border-radius:17px;margin:22px 0}.locked-level-icon{display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;background:#fff;border-radius:18px;color:#67598a}.locked-level-icon .icon{width:28px;height:28px}.locked-level-panel h2{font-size:22px}.locked-level-panel p{font-size:16px;color:#566277;margin:7px 0 18px;max-width:720px}.lesson-units{display:grid;gap:24px}.lesson-unit{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.unit-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 24px 15px;gap:15px}.unit-heading h2{font-size:22px}.unit-heading .eyebrow{font-size:12px;margin-bottom:4px}.unit-heading>span{font-size:14px;color:#566277;white-space:nowrap}.lesson-unit>.path-progress{margin:0 24px 10px;height:5px}.lesson-unit .lesson-list{gap:0}.lesson-unit .lesson-row{border:0;border-top:1px solid #edf0f5;border-radius:0;margin:0;padding:21px 24px}.lesson-row h3{font-size:18px;line-height:1.65}.lesson-row p{font-size:15px;color:#566277;line-height:1.75}.lesson-type{font-size:13px;color:#635184}.lesson-number{width:46px;height:49px;font-size:19px;flex-shrink:0;color:#5b44b8;background:#f0ecfc}.lesson-number.done{color:#226648;background:#e7f4eb}.lesson-duration{font-size:13px;color:#566277}.lesson-row.locked-lesson{color:#566277;background:#fafbfc}.locked-lesson .lesson-number{background:#e9ecf2;color:#566277}.exam-row{background:#f2eefd;padding:25px}
.learning-content h2{font-size:24px}.explanation{font-size:18px;line-height:2.05;color:#263246}.learning-steps>span{font-size:15px}.learning-steps b{font-size:15px}.example strong{font-size:20px;line-height:1.75}.example p{font-size:16px;color:#566277}.vocab-card strong{font-size:18px}.vocab-card span span,.vocab-card .ipa{font-size:15px;color:#566277}.vocab-card{padding:16px}.quiz-topline{font-size:15px;color:#566277}.question-prompt{font-size:21px;line-height:1.8;white-space:pre-line;color:#263246}.answer-option{font-size:18px;padding:15px 17px;gap:12px;line-height:1.8;min-height:58px;color:#263246}.answer-option input{width:20px;height:20px}.option-letter{font-size:15px;color:#574273}.quiz-submit{gap:20px}.quiz-submit>span,.quiz-submit p{font-size:14px;color:#566277}.question-card{padding:25px}.question-number{font-size:16px}.feedback-item p,.feedback-item strong,.feedback-detail{font-size:16px;line-height:1.9}.result-page>p{font-size:17px;color:#566277}
.practice-card blockquote,.speaking-text{font-size:27px;line-height:1.9}.practice-card .translation,.practice-card p,.practice-hint,.mic-hint{font-size:16px;color:#574b6a}.practice-meta,.practice-divider{font-size:13px;color:#615574}.practice-card .studio-label{font-size:11px;color:#615574}.privacy-note p,.practice-tips li,.speaking-callout p{font-size:15px;line-height:1.9;color:#566277}.practice-tips h3,.privacy-note h3{font-size:19px}.practice-nav{font-size:15px}.speech-transcript,.speech-feedback p,.speech-feedback li,.speech-tip{font-size:16px;line-height:1.9}.word-feedback{font-size:18px}.speech-caption,.speech-score-note{font-size:14px}
.exam-policy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.exam-policy-grid>div{display:grid;grid-template-columns:36px 1fr;gap:1px 12px;background:#fff;border:1px solid var(--line);padding:20px;border-radius:15px}.exam-policy-grid .icon{grid-row:1/3;width:29px;height:29px;color:#6550c8;align-self:center}.exam-policy-grid strong{font-size:21px}.exam-policy-grid span{font-size:13px;color:#566277}.exam-card h2{font-size:23px}.exam-card>p{font-size:16px;color:#566277;line-height:1.8}.exam-card .path-progress{margin-top:22px}.exam-card .exam-readiness{font-size:14px;margin:9px 0 18px}.exam-level{font-size:24px}.assessment-explainer{margin-top:28px;padding:26px;background:#eeedf7;border-radius:17px}.assessment-explainer h2{font-size:21px}.assessment-explainer p{font-size:16px;color:#465267;line-height:1.9;margin-top:12px}.assessment-explainer small{font-size:14px;color:#566277;display:block;margin-top:15px}.exam-rules>div{font-size:16px}.history-table{overflow:auto}.history-table th,.history-table td{font-size:15px}.exam-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;align-items:start;max-width:1130px;margin:0 auto}.exam-navigator{border:1px solid var(--line);border-radius:17px;background:#fff;padding:22px;position:sticky;top:20px}.exam-navigator>strong{font-size:18px}.exam-navigator>p{font-size:14px;color:#566277;line-height:1.8;margin:8px 0 13px}.question-jumps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:20px 0}.question-jumps button{min-height:42px;border:1px solid #dfe3ec;background:#fff;border-radius:8px;font-size:16px;color:#465267}.question-jumps button.answered{background:#e7f4ed;border-color:#b4d5c2;color:#226648}.question-jumps button.current{border:2px solid #6550c8;box-shadow:0 0 0 2px #6550c81a;font-weight:700;color:#5841b2}.exam-workspace .quiz-form{min-width:0;margin:0;width:100%;max-width:none}.exam-paging{display:flex;justify-content:space-between;gap:16px;margin:18px 0}.exam-workspace .quiz-submit{margin-top:26px;align-items:center}.exam-timer{font-size:22px}.exam-heading p{font-size:15px;color:#566277}.skill-results{max-width:620px;margin:30px auto;text-align:left;display:grid;grid-template-columns:1fr 1fr;gap:18px}.skill-results>h2{grid-column:1/-1;text-align:center;font-size:23px}.skill-results article{border:1px solid var(--line);background:#fff;padding:19px;border-radius:15px}.skill-results article>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:16px;margin-bottom:13px}.skill-results small{display:block;color:#566277;margin-top:8px;font-size:13px}.assessment-result-note{max-width:650px;margin:20px auto;font-size:15px!important;line-height:1.9}
dialog{font-size:16px;line-height:1.9}dialog>h2{font-size:25px}dialog>p{font-size:16px;color:#566277}dialog label,dialog input{font-size:16px}dialog .auth-switch{font-size:15px}.form-error{font-size:15px;color:#a33438}.certificate-empty-copy p,.certificate-empty-copy li,.certificate-card p,.verify-form p{font-size:15px;color:#566277}.settings-grid p,.settings-grid label,.settings-grid input{font-size:16px}.toast{font-size:16px}.analytics-consent{font-size:15px}
@media(max-width:1200px){.sidebar{width:226px}.workspace{margin-left:226px}main{padding:28px}.journey-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.learning-hero{grid-template-columns:minmax(0,1fr) 180px;padding:29px;gap:20px}.learning-hero h2{font-size:27px}.large-progress-ring{width:160px;height:160px}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.course-layout{grid-template-columns:minmax(0,1fr)}.course-info{display:block}.exam-policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-workspace{grid-template-columns:200px minmax(0,1fr);gap:18px}.exam-navigator{padding:17px}.question-jumps{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.question-jumps button{min-height:36px}.next-actions{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{width:270px}.workspace{margin-left:0}.topbar{padding:0 14px;height:70px}.topbar .breadcrumb{font-size:12px;gap:8px}.profile-button{font-size:13px}.topbar-left{gap:4px}main{padding:24px 16px 18px}.page-heading h1{font-size:26px}.page-heading p{font-size:16px}.page-heading .eyebrow{font-size:11px;letter-spacing:1.2px}.learning-hero{padding:25px 23px;border-radius:20px;grid-template-columns:1fr;gap:23px}.learning-hero h2{font-size:28px;line-height:1.6}.learning-hero p{font-size:16px}.hero-progress-visual{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #ffffff33;padding-top:22px}.large-progress-ring{width:110px;height:110px;padding:7px;flex-shrink:0}.large-progress-ring strong{font-size:29px}.large-progress-ring span{font-size:9px}.large-progress-ring b{font-size:16px}.hero-progress-caption{font-size:15px;max-width:150px}.overview-stats{gap:11px;margin:16px 0 24px}.overview-stats article{padding:17px 13px;gap:10px}.overview-stats article>.icon{width:37px;height:37px;padding:8px;border-radius:11px}.overview-stats span{font-size:12px}.overview-stats strong{font-size:25px}.overview-stats small{font-size:12px}.journey-panel{padding:22px 17px}.section-heading{align-items:flex-start}.section-heading h2{font-size:22px}.section-heading p{font-size:14px}.path-complete{font-size:12px;padding:5px 9px}.journey-map{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}.journey-node{width:65px;height:65px;border-radius:20px}.journey-step{padding:19px 10px 14px}.journey-step.current{padding:18px 9px 13px}.journey-title{font-size:16px}.journey-status{font-size:13px}.journey-count{font-size:13px}.journey-legend{gap:12px;font-size:12px;justify-content:flex-start}.next-actions{grid-template-columns:1fr;gap:17px}.panel{padding:22px}.level-tabs{gap:3px;padding:5px;grid-template-columns:repeat(6,minmax(0,1fr))}.level-tabs button{padding:11px 4px;font-size:16px}.level-tabs button>span{display:none}.level-tabs .icon{width:11px;height:11px}.course-banner{padding:21px;gap:14px;flex-wrap:wrap}.course-level{min-width:58px;width:58px;height:62px;font-size:27px}.course-banner>div:not(.course-progress){flex:1;min-width:160px}.course-banner h2{font-size:23px}.course-banner p{font-size:15px}.course-banner .eyebrow{font-size:12px}.course-progress{display:flex;gap:9px;align-items:baseline;flex-basis:100%;justify-content:flex-end}.course-progress strong{font-size:23px}.course-progress span{font-size:13px}.unit-heading{padding:20px 17px 14px}.unit-heading h2{font-size:21px}.unit-heading>span{font-size:13px}.lesson-unit>.path-progress{margin:0 17px 10px}.lesson-unit .lesson-row{padding:20px 16px;gap:13px;position:relative;align-items:flex-start;flex-wrap:nowrap}.lesson-number{width:40px;height:44px;font-size:17px}.lesson-row h3{font-size:18px}.lesson-row p{font-size:15px}.lesson-type{font-size:12px}.lesson-row .lesson-duration{display:none}.lesson-row>.icon{width:17px;margin-top:15px}.lesson-row>div{min-width:0}.locked-level-panel{padding:22px 19px;gap:14px;flex-direction:column}.locked-level-panel p{font-size:16px}.locked-level-panel h2{font-size:22px}.notice{padding:17px;font-size:15px;flex-wrap:wrap}.notice>.icon{width:21px;height:21px}.notice-small{font-size:15px}.learning-content{padding:23px 20px}.explanation{font-size:18px;line-height:2.05}.learning-content h2{font-size:23px}.learning-steps>span{font-size:13px;padding:10px 7px}.learning-steps b{font-size:13px}.example strong{font-size:19px}.example p{font-size:16px}.vocab-card strong{font-size:18px}.vocab-card span span{font-size:15px}.question-card{padding:21px 17px}.question-prompt{font-size:20px}.answer-option{font-size:18px;padding:14px 12px}.quiz-topline{font-size:14px}.quiz-submit{flex-direction:column;align-items:stretch}.quiz-submit>span,.quiz-submit p{font-size:14px}.quiz-submit .btn{width:100%}.practice-card{padding:25px 20px}.practice-card blockquote,.speaking-text{font-size:25px;line-height:1.8}.practice-card .translation,.practice-card p,.practice-hint,.mic-hint{font-size:16px}.practice-meta,.practice-divider{font-size:13px}.practice-nav{font-size:15px}.practice-tips li,.privacy-note p{font-size:15px}.exam-policy-grid{gap:11px}.exam-policy-grid>div{padding:17px 12px;gap:3px 8px;grid-template-columns:26px 1fr}.exam-policy-grid .icon{width:23px;height:23px}.exam-policy-grid strong{font-size:19px}.exam-policy-grid span{font-size:12px}.exam-card>p{font-size:16px}.assessment-explainer{padding:22px 19px}.exam-workspace{grid-template-columns:1fr;gap:20px}.exam-navigator{position:static;padding:18px}.exam-navigator>strong{font-size:17px}.exam-navigator>p:last-child{font-size:13px;margin-bottom:0}.question-jumps{grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin:15px 0}.question-jumps button{font-size:14px;min-height:32px;border-radius:6px;padding:0}.exam-navigator .path-progress{height:5px}.exam-paging .btn{font-size:15px;padding:11px 13px}.exam-heading h1{font-size:25px}.exam-heading p{font-size:14px}.exam-timer{font-size:20px}.exam-rules>div{font-size:16px}.skill-results{grid-template-columns:1fr;gap:13px}.skill-results article>div:first-child{font-size:17px}.skill-results small{font-size:14px}.result-page h1{font-size:26px}.result-page>p{font-size:16px}.score-big{font-size:66px}.pill{font-size:13px}dialog{padding:28px 22px}.footer{font-size:11px;padding:20px 16px;line-height:1.9}.bottom-note{font-size:13px}.sidebar .nav-item{font-size:16px}.sidebar-note p{font-size:14px}}
@media(max-width:360px){.overview-stats article>.icon{display:none}.journey-panel{padding:18px 13px}.question-jumps{grid-template-columns:repeat(5,minmax(0,1fr))}.question-jumps button{min-height:38px}.level-tabs button{font-size:15px}.lesson-row p{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.course-display-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 20px}.course-display-bar>p{font-size:15px;color:#566277}.course-display-bar>div{display:flex;padding:5px;gap:4px;background:#eae7f3;border-radius:12px}.course-display-bar button{border:0;background:transparent;color:#566277;border-radius:8px;min-height:44px;padding:8px 14px;display:flex;align-items:center;gap:7px;font-size:15px}.course-display-bar button.selected{background:#fff;color:#5942b8;box-shadow:0 2px 7px #42306b10}.course-display-bar .icon{width:18px;height:18px}.lesson-trail{position:relative;height:397px;margin:15px 13px 5px;isolation:isolate}.trail-line{position:absolute;inset:0;width:100%;height:380px;z-index:-1;overflow:visible}.trail-line path{fill:none;stroke:#d2cedf;stroke-width:3;stroke-dasharray:7 7;vector-effect:non-scaling-stroke}.trail-stop{position:absolute;left:var(--stop-x);top:var(--stop-y);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;border:0;background:none;width:190px;max-width:45%;padding:0 4px 5px;color:#263246;text-align:center}.trail-bubble{position:relative;width:92px;height:92px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:6px solid #ebe6f8;background:#c7b8ed;color:#493482;box-shadow:0 6px 0 #a592ce}.trail-bubble>.icon{width:37px;height:37px;stroke-width:1.8}.trail-bubble b{position:absolute;bottom:-9px;right:-5px;background:#fff;border:2px solid #d9d2ed;min-width:27px;height:27px;line-height:23px;border-radius:50%;font-size:12px;color:#574477}.trail-stop strong{display:block;font-size:17px;line-height:1.65;margin-top:14px;max-width:100%}.trail-caption{font-size:13px;line-height:1.6;color:#566277;margin-top:4px}.trail-stop:hover .trail-bubble{filter:brightness(1.04)}.trail-stop.current .trail-bubble{background:#7053ce;color:#fff;border-color:#e2d8fa;box-shadow:0 6px 0 #4c359d,0 0 0 5px #f4effd}.trail-stop.current .trail-caption{color:#5841b2;font-weight:700;background:#f0eafb;border-radius:10px;padding:2px 8px}.trail-stop.complete .trail-bubble{background:#458a67;color:#fff;border-color:#dbeedf;box-shadow:0 6px 0 #2f694b}.trail-stop.complete .trail-bubble b{border-color:#c5dfcc;color:#246447}.trail-stop.complete .trail-caption{color:#246447;font-weight:600}.trail-stop.locked .trail-bubble{background:#d8dbe4;border-color:#eceef2;box-shadow:0 6px 0 #b4bac6;color:#586376}.trail-stop.locked .trail-bubble b{border-color:#d7dce5;color:#566277}.trail-stop.locked strong{color:#566277}.course-banner{border-top:5px solid #8065d4}.course-banner:has(.course-level){background:linear-gradient(110deg,#f0eafb,#fff)}
@media(max-width:760px){.course-display-bar{gap:12px;flex-wrap:wrap;margin:20px 0 16px}.course-display-bar>p{font-size:14px}.course-display-bar button{font-size:14px;padding:8px 12px}.lesson-trail{margin:15px 2px 5px;height:402px}.trail-stop{width:170px;max-width:47%;padding:0 3px}.trail-bubble{width:78px;height:78px;border-width:5px;margin-top:7px}.trail-bubble>.icon{width:32px;height:32px}.trail-stop strong{font-size:16px;margin-top:15px;line-height:1.65}.trail-caption{font-size:12px}.trail-stop.current .trail-caption{padding:2px 6px}.trail-line path{stroke-width:2.5;stroke-dasharray:5 5}}
.course-roadmap{margin:0 0 21px}.course-roadmap>summary{display:flex;gap:10px;align-items:center;cursor:pointer;font-size:15px;color:#5942b8;min-height:44px;padding:10px 15px;background:#eeebf8;border-radius:11px;list-style:none}.course-roadmap>summary::-webkit-details-marker{display:none}.course-roadmap>summary>.icon:last-child{margin-left:auto;width:18px}.course-roadmap[open]>summary>.icon:last-child{transform:rotate(90deg)}.course-roadmap .journey-panel{margin-top:15px;margin-bottom:0}.exam-row{color:#394357}.exam-row .lesson-type,.exam-row p{color:#565574}.exam-row .lesson-number{color:#77621e;background:#f5edc9}
.practice-studio h2{font-size:29px;line-height:1.85;color:#51406a}.phrase-translation{font-size:17px;color:#5d516e;line-height:1.9}.mic-actions>strong{font-size:17px;color:#504363}.mic-actions .tiny{font-size:13px;color:#5d516e}.practice-divider span{font-size:14px;color:#63576e}.speech-status{font-size:15px;color:#504363}.speech-live{font-size:18px;line-height:1.8}.practice-tip,.practice-instructions{font-size:16px;color:#566277}.vocab-card small{font-size:14px;color:#566277}.speaking-callout blockquote{font-size:23px;color:#504363;line-height:1.8}.speaking-callout h3{font-size:21px}.history-panel h2{font-size:22px}
@media(max-width:760px){.practice-studio h2{font-size:25px}.phrase-translation{font-size:17px}.practice-studio{padding:25px 20px}.mic-actions>strong{font-size:17px}.mic-actions .tiny{font-size:13px}.speech-status{font-size:15px}.practice-studio .section-heading .tiny{font-size:11px}}
.vocab-card small:empty{display:none}
@media print{.workspace{margin:0}main{padding:0}.certificate-modal{font-size:initial}}

/* Keep the last menu items reachable when text grows or the viewport is short. */
.sidebar{overflow-y:auto;overflow-x:hidden;max-height:100dvh;overscroll-behavior-y:contain;scrollbar-width:thin;scroll-padding-block:16px;padding-bottom:max(18px,env(safe-area-inset-bottom))}
.sidebar>*{flex-shrink:0}
.sidebar .nav-item{font-size:1rem}
.sidebar .nav-item>span:not(.new-badge){min-width:0;overflow-wrap:anywhere}
.sidebar .nav-item>.icon,.sidebar .new-badge{flex-shrink:0}
.sidebar .nav-label{font-size:.8125rem}
.sidebar .kkl-link{font-size:.75rem;flex-wrap:wrap;letter-spacing:.02em}
.sidebar-divider{height:1px;margin:18px 6px;background:linear-gradient(90deg,transparent,#cdc5dc 16%,#cdc5dc 84%,transparent);box-shadow:0 1px 0 #fff,0 2px 4px #50406524}
/* KEPT preparation: readable passages and a clear internal assessment policy. */
.kept-preparation-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.45fr);gap:24px;padding:28px;margin:24px 0;border:1px solid #d6d0ee;border-radius:22px;background:linear-gradient(120deg,#f3f0ff,#f3f9f6);color:#353345}
.kept-preparation-card h2{font-size:1.4rem;line-height:1.5;margin:8px 0}
.kept-preparation-card p{font-size:1rem;line-height:1.8;max-width:70ch;margin:8px 0 16px;color:#454157}
.kept-preparation-card a{color:#5041a0;font-weight:600;font-size:1rem;line-height:1.7}
.kept-target{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:22px;border-radius:16px;background:#fff;border:1px solid #ded9ec;font-size:.9rem;line-height:1.6}
.kept-target strong{font-size:1.5rem;color:#514291}
.kept-level-focus p{margin:6px 0 0;line-height:1.75;color:#454157}
.exam-specific-policy{padding:12px;background:#f4f2fa;border-radius:10px;color:#393348!important;font-weight:500;font-size:.95rem!important;line-height:1.75!important}
.question-passage{margin:20px 0 24px;padding:22px;border:1px solid #d9d7e4;border-left:4px solid #7661cc;border-radius:12px;background:#f9f8fc;min-width:0}
.question-passage h4{font-size:.95rem;margin:0 0 14px;color:#554780}
.question-passage p{white-space:pre-wrap;font-size:1.1rem;line-height:1.9;color:#242435;margin:0;overflow-wrap:anywhere;text-align:left}
.quiz-topline{flex-wrap:wrap;gap:10px}
.quiz-topline>span{max-width:100%;overflow-wrap:anywhere}
.question-card,.quiz-form{min-width:0}
.exam-result>.pill{white-space:normal;max-width:100%;justify-content:center;line-height:1.7}
.kept-level-focus>div{min-width:0}
@media(max-width:650px){.kept-preparation-card{grid-template-columns:1fr;padding:20px;gap:18px}.kept-target{padding:16px}.question-passage{padding:16px}.question-passage p{font-size:1.05rem;line-height:1.85}.exam-navigator .question-jumps{max-height:180px;overflow-y:auto}}
.learning-content .explanation{white-space:pre-line}
.question-passage summary{font-size:1rem;font-weight:700;line-height:1.7;color:#49355f;cursor:pointer}.question-passage[open] summary{margin-bottom:12px}
