/* Mole FM English Club: an original, lightweight learning interface. */
:root{color-scheme:light;--ink:#183140;--muted:#65747c;--blue:#244e5d;--navy:#153342;--lime:#d8ed9b;--gold:#f7d3a4;--line:#e0e6e1;--paper:#f8f7f2;--white:#fff;--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #297693;outline-offset:4px}[hidden]{display:none!important}button:disabled{opacity:.55;cursor:wait}.ui-icon{width:22px;height:22px;flex:none;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:absolute;top:-100px;left:12px;z-index:30;background:white;padding:12px}.skip:focus{top:10px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.18;letter-spacing:-.035em}h2{font-size:29px}h3{font-size:20px}.quiet{font-size:12px;color:var(--muted)}.eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--blue);margin:0 0 8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 19px;background:var(--navy);color:white;border:1px solid transparent;border-radius:12px;text-decoration:none;font-weight:750;cursor:pointer;line-height:1.35}.button:hover{background:#244c5e}.button.secondary{background:#edf1e7;color:var(--ink);border-color:#dce4d6}.button[aria-pressed=true]{background:var(--lime);border-color:#a6c76a}.text-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 2px;background:none;border:0;color:var(--blue);text-decoration:underline;text-underline-offset:4px;font-weight:650;cursor:pointer}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:20px 0}.loading{padding:44px;border:1px solid var(--line);border-radius:24px;background:white}.loading h2{font-size:26px}
/* Account identity and actions stay visible in the top bar. */
header{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:#fffef9}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1432px;margin:auto;padding:14px 28px}.brand{display:flex;align-items:center;gap:11px;flex:none;text-decoration:none;color:var(--ink);font-weight:850;font-size:19px;line-height:1.2}.brand img{width:43px;height:43px;object-fit:contain;border-radius:12px}.brand small{display:block;font-size:9px;letter-spacing:.18em;font-weight:700;margin-top:4px;color:var(--muted)}.header-account{display:flex;align-items:center;justify-content:flex-end;gap:24px;min-width:0}.header-account-details{display:flex;gap:20px;margin:0}.header-account-details>div{min-width:0}.header-account-details dt{font-size:10px;color:var(--muted)}.header-account-details dd{font-size:12px;font-weight:750;margin:2px 0 0;overflow-wrap:anywhere}.header-account-note{font-size:11px;margin:4px 0 0;max-width:520px}.header-actions{display:flex;align-items:center;gap:18px;flex:none}.header-actions .back{font-size:12px;font-weight:650;min-height:44px;display:flex;align-items:center}.header-actions .button{font-size:12px;min-height:44px}.header-account-actions:empty,#header-account-actions:empty{display:none}main{max-width:1432px;margin:auto;padding:28px 28px 60px}#course-app,.lesson-steps{scroll-margin-top:100px}
/* Workspace */
.learning-shell{display:grid;grid-template-columns:208px minmax(0,1fr);gap:30px}.learning-rail{align-self:start;position:sticky;top:104px;min-width:0}.rail-title{font-size:9px;letter-spacing:.15em;font-weight:750;color:#78877f;padding:8px 14px 12px}.course-nav{display:flex;flex-direction:column;gap:6px}.course-nav a{display:flex;align-items:center;gap:12px;min-height:49px;padding:12px 14px;border-radius:12px;text-decoration:none;font-size:13px;font-weight:650;color:#607079}.course-nav .ui-icon{width:20px;height:20px}.course-nav a:hover{background:#ecefe7;color:var(--ink)}.course-nav a[aria-current=page]{background:#e6eddc;color:#24492f;font-weight:750}.rail-pilot{display:flex;flex-direction:column;align-items:start;gap:8px;text-decoration:none;background:#eaf0e0;border:1px solid #dce6cf;border-radius:18px;margin:22px 4px;padding:18px}.rail-pilot strong{font-size:17px;letter-spacing:-.03em;line-height:1.3}.rail-pilot small{font-size:11px;color:#587063;line-height:1.5}.rail-pilot>span:last-child{font-size:11px;font-weight:750;margin-top:4px}.rail-play{display:grid;place-items:center;background:var(--navy);color:var(--lime);width:37px;height:37px;border-radius:50%;margin-bottom:4px}.rail-play svg{width:16px}.learning-content{min-width:0}.workspace-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.workspace-top .eyebrow{margin:0;font-size:9px}.workspace-top p{margin:5px 0 0;font-size:19px;font-weight:750;letter-spacing:-.04em}.language-toolbar{display:flex;align-items:center;gap:12px}.language-toolbar label{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px}.language-toolbar select{background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--ink);min-height:44px;max-width:175px;padding:8px 30px 8px 11px;font-size:12px;font-weight:650}.language-toolbar [role=status]:empty{display:none}.language-toolbar [role=status]{font-size:11px;max-width:200px}.progress-box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:13px 18px;border:1px solid var(--line);border-radius:14px;margin-bottom:20px;background:#ffffff91}.progress-main{display:flex;align-items:center;gap:13px;min-width:230px;flex:1}.progress-main>.ui-icon{width:26px;height:26px;color:#46746b}.progress-main>div{width:100%;max-width:410px}.progress-count{font-size:11px;font-weight:700;margin:0 0 5px}.progress-note{font-size:10px;color:var(--muted);margin:0;max-width:205px}progress{appearance:none;width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;display:block;background:#e3e9df}progress::-webkit-progress-bar{background:#e3e9df;border-radius:10px}progress::-webkit-progress-value{background:#649263;border-radius:10px}progress::-moz-progress-bar{background:#649263;border-radius:10px}.course-status{font-size:12px;margin:0}.course-status:empty{display:none}
/* The dashboard leads with one concrete next lesson. */
.dashboard-hero{display:flex;position:relative;isolation:isolate;min-height:358px;border-radius:25px;background:var(--navy);overflow:hidden;color:#fff}.hero-copy{width:60%;padding:35px 36px;position:relative;z-index:2}.hero-kicker{display:block;color:var(--lime);font-size:9px;font-weight:750;letter-spacing:.16em;margin-bottom:18px}.hero-copy h1{font-size:clamp(32px,3.8vw,51px);font-weight:750;line-height:1.08;letter-spacing:-.045em;margin:0 0 16px;max-width:440px}.hero-copy h1 em{font-family:Georgia,serif;color:var(--lime);font-weight:400}.hero-copy>p{font-size:13px;line-height:1.65;color:#c1d2d9;margin:0}.hero-copy .actions{gap:18px;margin:24px 0 19px}.dashboard-hero .button{background:var(--lime);color:#21372a;border-color:var(--lime);font-size:12px;border-radius:11px;box-shadow:0 4px 0 #b0c77f}.dashboard-hero .button:hover{background:#e2f4af}.hero-secondary{font-size:11px;color:#d6e2e7;font-weight:600}.hero-caption{display:flex;align-items:center;gap:7px;color:#adc2cb;font-size:9px}.hero-caption svg{width:14px;height:14px;color:var(--lime)}.hero-art{position:relative;flex:1;min-width:235px;margin-right:12px}.art-orbit{position:absolute;width:260px;height:260px;border:1px solid #466471;border-radius:50%;right:0;top:42px}.art-orbit:after{content:'';position:absolute;inset:24px;border:1px dashed #496875;border-radius:50%}.learning-spark{position:absolute;width:95px;height:102px;color:#e9a781;right:-11px;top:24px;transform:rotate(9deg)}.art-bubble{position:absolute;top:20px;left:0;background:#f7d6b8;color:#453e34;padding:8px 21px;border-radius:25px 25px 25px 3px;font:italic 26px Georgia,serif;transform:rotate(-8deg);z-index:2}.hero-vocabulary{position:absolute;top:76px;left:5%;width:215px;min-height:210px;display:flex;flex-direction:column;gap:10px;padding:19px 23px;border-radius:19px;background:#fffef4;color:var(--ink);text-decoration:none;transform:rotate(-9deg);box-shadow:5px 12px 0 #071f2b54;z-index:1;transition:transform .2s}.hero-vocabulary:hover{transform:rotate(-4deg) translateY(-3px)}.vocabulary-heading{display:flex;justify-content:space-between;align-items:center;font-size:8px;font-weight:800;letter-spacing:.16em;color:#8c9684}.vocabulary-heading svg{width:18px;height:18px}.hero-vocabulary>strong{font:46px/1.1 Georgia,serif;letter-spacing:-.04em;margin-top:10px;overflow-wrap:anywhere}.hero-translation{font-size:14px;font-weight:600;color:#6e7f65}.vocabulary-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:13px;border-top:1px solid #e3e8d8;font-size:9px;font-weight:700}.vocabulary-footer svg{width:18px}.hero-lesson{position:absolute;right:8px;bottom:27px;z-index:2;border:1px solid #708170;background:var(--lime);color:#263d31;padding:13px 17px;border-radius:13px;max-width:240px;transform:rotate(4deg);box-shadow:3px 4px 0 #0c2330}.hero-lesson>span{display:block;font-size:7px;font-weight:750;letter-spacing:.1em}.hero-lesson strong{display:block;font-size:14px;line-height:1.4;margin:5px 0;letter-spacing:-.02em}.hero-lesson small{font-size:9px}.practice-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 29px}.practice-shortcuts>a{display:flex;align-items:center;gap:11px;padding:17px;background:#fff;border:1px solid var(--line);border-radius:15px;text-decoration:none;min-width:0;transition:border-color .2s}.practice-shortcuts>a:hover{border-color:#9bb7a5}.practice-shortcuts>a>svg:first-child{background:#edf0e3;width:38px;height:38px;border-radius:11px;padding:9px;color:#50705b}.practice-shortcuts>a:nth-child(2)>svg:first-child{background:#f7e6d5;color:#8f6849}.practice-shortcuts>a:nth-child(3)>svg:first-child{background:#e8edf3;color:#54718d}.practice-shortcuts>a>span{min-width:0;flex:1}.practice-shortcuts strong{display:block;font-size:19px;line-height:1.15;font-weight:750;letter-spacing:-.03em}.practice-shortcuts small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.practice-shortcuts>a>svg:last-child{width:16px;height:16px;color:#96a49a}
/* Searchable, fully available curriculum. */
.path-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0 20px}.path-heading h2{font-size:27px;margin:0 0 7px}.path-heading p{font-size:11px;color:var(--muted);margin:0}.path-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 12px;max-width:230px}.path-search svg{width:17px;color:#8c9a94}.path-search input{width:100%;min-width:0;min-height:44px;border:0;background:transparent;font-size:11px;color:var(--ink);padding:8px 0}.path-search input:focus{outline-offset:1px}.search-status{font-size:12px;color:var(--muted);margin:0 0 12px}.search-status:empty{display:none}.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.level-card{--tile:#e9efdf;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px 18px;text-decoration:none;color:var(--ink);transition:transform .18s,border-color .18s;position:relative}.level-card:hover{transform:translateY(-3px);border-color:#9fbaae}.level-card.current-level{border:2px solid #668875;padding:18px 17px;background:#fcfff5}.level-card[data-level="2"]{--tile:#fbe3cb}.level-card[data-level="3"]{--tile:#e7e9f6}.level-card[data-level="4"]{--tile:#dcebed}.level-card[data-level="5"]{--tile:#f4e8c5}.level-card[data-level="6"]{--tile:#f4dfe5}.level-card[data-level="7"]{--tile:#e1ebf7}.level-card[data-level="8"]{--tile:#e2ede5}.level-card[data-level="9"]{--tile:#ede2f5}.level-card[data-level="10"]{--tile:#f7e5d9}.level-card-top{display:flex;align-items:center;gap:10px;margin-bottom:17px}.level-badge{display:grid;place-items:center;background:var(--tile);width:42px;height:42px;border-radius:13px}.level-badge svg{width:22px;height:22px}.level-number{font-size:10px;color:var(--muted);font-weight:700}.current-label{margin-left:auto;padding:4px 7px;background:var(--lime);border-radius:6px;font-size:8px;font-weight:750;color:#405537}.level-card-top>svg{margin-left:auto;color:#4a7959;width:18px}.level-card h3{font-size:19px;margin:0 0 9px;line-height:1.2}.level-card>p{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 19px;flex:1}.level-dots{display:flex;gap:5px;margin:0 0 11px}.level-dots i{height:4px;background:#e4eae3;border-radius:3px;flex:1}.level-dots .done{background:#739d6f}.level-card progress{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:10px;border-top:1px solid #edf0e9;font-size:9px;font-weight:650;color:#788a7e}.card-footer svg{width:17px;height:17px;color:#61776b}.lesson-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.search-result{display:flex;align-items:center;gap:12px;padding:17px;background:white;border:1px solid var(--line);border-radius:13px;text-decoration:none}.search-result>span:nth-child(2){flex:1;min-width:0}.search-result strong{font-size:13px;display:block}.search-result small{font-size:11px;display:block;margin-top:4px;color:var(--muted)}.search-result-icon{display:grid;place-items:center;background:#eaf0e0;width:37px;height:37px;border-radius:11px}.search-result>svg{width:17px}.empty-search{padding:25px;background:#fff;border:1px dashed #b9c8b4;border-radius:15px;grid-column:1/-1}.course-about{margin:23px 0 14px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;font-size:12px}.course-about summary{font-size:12px;font-weight:700;cursor:pointer;min-height:30px;display:flex;align-items:center}.course-about summary:after{content:'+';margin-left:auto;font-size:20px;font-weight:400}.course-about[open] summary:after{content:'−'}.routine-strip{display:flex;gap:20px;flex-wrap:wrap;margin:18px 0;color:#566e62;font-size:11px}.routine-strip b{margin-right:7px;color:#244e3d}.course-notice{font-size:10px;line-height:1.7;color:#7f8c85;margin:18px 0}.course-heading{margin:25px 0}.course-heading h2{font-size:33px;margin-bottom:12px}.course-heading p{max-width:760px;color:var(--muted);font-size:13px}
/* Saved progress and earned awards retain their real account receipts. */
details{border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px 18px}summary{cursor:pointer;font-weight:700;min-height:30px}.account-drawer{margin:12px 4px;padding:12px;font-size:11px;background:transparent}.account-drawer>summary{display:flex;align-items:center;font-size:11px;color:var(--muted)}.account-drawer>summary:after{content:'⌄';margin-left:auto}.account-save{font-size:11px}.account-dot{display:inline-block;vertical-align:middle;width:7px;height:7px;border-radius:50%;margin-right:7px;background:#aeb9a5}.account-dot.signed{background:#5b9565}.account-save>div{min-width:0}.account-save strong{font-size:12px}.account-details{margin:10px 0;display:flex;flex-wrap:wrap;gap:8px}.account-details dt{font-size:9px;color:#718079}.account-details dd{margin:0;font-size:11px;font-weight:700;overflow-wrap:anywhere}.account-save p{font-size:10px;color:var(--muted);line-height:1.6}.account-actions .button{font-size:10px;padding:8px 11px;min-height:44px;white-space:normal}.account-actions:empty{display:none}.shared-device-note{font-size:10px}.sticker-collection{margin:12px 4px;padding:12px;font-size:11px;background:transparent}.sticker-collection summary{display:flex;align-items:center;justify-content:space-between;gap:6px;line-height:1.5}.sticker-collection summary>span:last-child{font-size:9px}.sticker-collection small{font-weight:500;color:var(--muted)}.sticker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.sticker{display:flex;flex-direction:column;align-items:center;gap:5px;background:#edf2e5;border:1px solid #d2dfc6;border-radius:12px;padding:10px 5px;text-align:center;min-width:0}.sticker.locked{background:#f5f5ee;border-color:#e4e7df}.sticker.locked .sticker-art{filter:grayscale(1);opacity:.4}.sticker-art{font-size:23px}.sticker strong{font-size:10px}.sticker small{font-size:8px}.sticker-celebration{color:#497754;font-weight:700}
/* A focused four-step lesson. */
.course-selects{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.back-to-path{font-size:12px;font-weight:700;margin-right:auto}.select-label{display:flex;flex-direction:column;gap:4px;font-size:9px;color:var(--muted);max-width:220px}.select-label select{width:100%;min-height:40px;max-width:220px;padding:8px 9px;border:1px solid var(--line);background:white;border-radius:8px;color:var(--ink);font-size:11px}.learning-grid{display:grid;grid-template-columns:174px minmax(0,1fr);gap:16px;align-items:start}.unit-list{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.unit-list details{border:0;border-radius:0;padding:0}.unit-list summary{padding:16px 12px;font-size:11px;cursor:pointer}.unit-list ol{list-style:none;padding:0 7px 8px;margin:0}.unit-list a{display:flex;justify-content:space-between;gap:8px;min-height:44px;padding:10px 8px;font-size:10px;color:var(--muted);text-decoration:none;border-radius:9px}.unit-list a[aria-current=page]{color:#31563d;background:#e8efd9;font-weight:700}.unit-check{flex:none;font-size:12px}.sidebar-tip{padding:14px;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}.sidebar-tip>span{color:#537c64;font-size:24px}.sidebar-tip p{margin:5px 0}.unit-list>.text-button{font-size:10px;padding:12px}.lesson-body{padding:28px;background:#fff;border:1px solid var(--line);border-radius:22px;min-width:0}.unit-meta{display:flex;justify-content:space-between;gap:12px;font-size:9px;font-weight:700;color:#749079;letter-spacing:.02em;margin-bottom:12px}.lesson-body>h2{font-size:32px;margin-bottom:7px}.lesson-subtitle{font-size:14px;color:#879181;margin-bottom:10px}.lesson-body>p{font-size:12px;color:var(--muted)}.lesson-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:5px;background:#f2f4ed;border-radius:12px;margin:25px 0}.lesson-steps button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;background:transparent;color:#7f8a7b;font-size:10px;font-weight:650;border-radius:8px;cursor:pointer}.lesson-steps button>span{display:grid;place-items:center;background:#e4e9dd;width:20px;height:20px;border-radius:6px;font-size:9px}.lesson-steps button[aria-current=step]{background:#fff;color:#294c3a;box-shadow:0 2px 6px #172f2920}.lesson-steps button[aria-current=step]>span{background:var(--navy);color:var(--lime)}.step-panel h3{font-size:22px;margin:0 0 13px}.target-box{padding:19px 22px;background:#f5f2e5;border:1px solid #ece5cf;border-radius:16px;margin:15px 0}.target-box p{margin:0}.target-box .en{font-size:25px;font-weight:700;letter-spacing:-.04em}.target-box .ht{font-size:12px;color:#87917b;margin-top:6px}.step-panel>p{color:var(--muted);font-size:12px;line-height:1.7}.flashcard-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 8px}.flashcard-heading h3{font-size:15px;margin:0}.flashcard{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;min-height:228px;background:var(--navy);color:#fff;border:0;border-radius:19px;padding:25px;cursor:pointer}.flashcard.flipped{background:#f7dfc5;color:#543f2e}.flashcard-label{font-size:9px;letter-spacing:.18em;font-weight:750;color:#b9d1cf}.flipped .flashcard-label{color:#987255}.flashcard strong{font:clamp(32px,4vw,52px)/1.2 Georgia,serif;letter-spacing:-.04em;overflow-wrap:anywhere}.flashcard-hint{font-size:11px;color:#b4ccc7}.flipped .flashcard-hint{color:#987255}.card-controls{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.card-controls .button{padding:10px 12px;font-size:11px;min-height:44px}.icon-button{display:grid;place-items:center;min-height:44px;min-width:44px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;color:var(--ink)}.pronunciation-practice{margin-top:18px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#f8faf3}.pronunciation-practice p{font-size:11px;color:var(--muted);margin:0 0 12px}.pronunciation-practice .button{font-size:11px;white-space:normal;min-height:44px}.pronunciation-practice .quiet{font-size:10px;margin:10px 0 0}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-title .text-button{font-size:10px}.dialogue-line{display:flex;gap:11px;align-items:start;margin:12px 0}.speaker{display:grid;place-items:center;flex:none;background:#e9ecdd;border-radius:10px;width:32px;height:32px;font-size:11px;font-weight:700;color:#698063}.dialogue-line>div{flex:1;background:#f1f5ec;padding:14px 17px;border-radius:0 15px 15px 15px}.dialogue-line:nth-child(even){flex-direction:row-reverse}.dialogue-line:nth-child(even)>div{background:#e8efe3;border-radius:15px 0 15px 15px}.dialogue-line p{margin:0;font-size:16px}.dialogue-line .translation{font-size:11px;color:#7d8d75;margin-top:5px}.sentence-builder{margin-top:25px;border-top:1px solid var(--line);padding-top:24px}.sentence-builder h3{font-size:20px}.sentence-builder>p{font-size:12px}.built-sentence{display:flex;flex-wrap:wrap;gap:7px;min-height:75px;padding:12px;background:#f9faf4;border:1px dashed #b9c7ad;border-radius:13px;align-items:center}.word-bank{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.built-sentence button,.word-bank button{min-height:44px;padding:9px 12px;border:1px solid #d8e1d0;border-radius:9px;background:white;font-size:13px;color:#315a40;cursor:pointer}.built-sentence button{background:#eaf2dd}.word-bank button:disabled{background:#f3f6ee;border-style:dashed;color:#97a28c;cursor:default}.recall{padding:22px;border-radius:16px;background:#edf1e6;margin-top:24px}.recall .pause-tag{font-size:9px;letter-spacing:.12em;font-weight:700;color:#668560}.recall h3{font-size:22px}.recall>p{font-size:14px}.reply-label{display:block;font-size:11px;font-weight:650;margin:14px 0 8px}.recall textarea{width:100%;min-height:85px;border:1px solid #ccd8c1;background:#fffdf5;border-radius:11px;padding:12px;font-size:15px;color:var(--ink);resize:vertical}.recall details{font-size:12px;margin-top:13px;padding:13px}.quiz-position{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted);margin:20px 0 16px}.quiz-position progress{max-width:135px}fieldset{border:0;padding:0;margin:0}legend{font-size:17px;font-weight:650;margin:0 0 17px;line-height:1.5}.answer-label{position:relative;display:flex;align-items:center;gap:11px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;min-height:58px;margin:9px 0;font-size:13px}.answer-label input{position:absolute;opacity:0;width:1px;height:1px}.answer-label:focus-within{outline:3px solid #297693;outline-offset:3px}.answer-label:has(input:checked){background:#f0f4e6;border-color:#759369}.choice-letter{display:grid;place-items:center;flex:none;width:29px;height:29px;border:1px solid #d5dfca;border-radius:8px;font-size:11px;color:#7b8d6f}.answer-label.correct-answer{background:#eaf3db;border-color:#709763}.answer-feedback{padding:15px 18px;border:1px solid #b5d18e;border-radius:12px;background:#eff5e5;margin-top:17px;font-size:13px}.answer-feedback p{font-size:12px;margin:8px 0 0}.answer-feedback.try-again{background:#fff3dc;border-color:#dfb974}.quiz-score{font-size:11px;color:var(--muted)}.finish-symbol{display:grid;place-items:center;width:70px;height:70px;border-radius:22px;background:var(--lime);color:#447243;font-size:33px;margin-bottom:18px}.task-box{padding:20px;border:1px solid #e0e5ce;border-radius:15px;background:#f7f6e9;margin:18px 0}.task-box h3{font-size:17px}.task-box p{font-size:13px;margin:8px 0}.completion-label{display:flex;align-items:center;gap:11px;padding:15px;background:#edf3e4;border-radius:12px;font-size:12px;font-weight:650;min-height:48px}.completion-label input{width:18px;height:18px;accent-color:#4e7752}.step-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:19px;border-top:1px solid var(--line)}.step-pager .button{font-size:12px}.step-pager .text-button{font-size:11px}.script-details{margin-top:20px;font-size:12px;background:#fbfcf7}.script-details summary{font-size:11px}.script-details pre{white-space:pre-wrap;line-height:1.8;font-family:inherit;font-size:14px}.unit-pager{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:24px}.unit-pager .button{font-size:11px}.review-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.review-links a{font-size:11px;padding:8px 12px;background:#edf1e5;border-radius:8px;text-decoration:none}.assessment{padding:23px;border:1px solid var(--line);background:#f8f8f1;border-radius:17px;margin:24px 0;font-size:12px}.assessment h3{font-size:19px}
/* Daily plan and personal vocabulary library. */
.week{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;margin:18px 0}.week>h3{font-size:20px;margin-bottom:16px}.week>h3 .quiet{font-size:10px;font-weight:500}.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.day{display:flex;flex-direction:column;gap:10px;background:#f2f5e9;border:1px solid #e0e7d6;border-radius:12px;padding:12px 9px;text-decoration:none;min-width:0}.day>span{font-size:9px;font-weight:750;color:#6c8665}.day strong{font-size:11px;line-height:1.45;flex:1}.day small{font-size:7px;font-weight:700;color:#9aa587}.day-review{background:#f9eddc;border-color:#efe1c8}.reference-card{padding:23px;border:1px solid var(--line);border-radius:20px;background:white;margin:18px 0}.reference-card h3{font-size:23px}.saved-word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.saved-word-grid details{background:#f4f6ed;font-size:12px;padding:15px;min-width:0}.saved-word-grid summary{font:23px/1.3 Georgia,serif;color:#375640;overflow-wrap:anywhere}.saved-word-grid a{font-size:10px}.reference-list{list-style:none;padding:0;margin:20px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reference-list li{display:flex;flex-direction:column;gap:7px;background:#f4f6ed;border-radius:12px;padding:14px;font-size:12px;min-width:0}.reference-list li>strong{font-size:16px;overflow-wrap:anywhere}.reference-list li>span{color:var(--muted);font-size:12px}.reference-list a{font-size:11px}
/* Original pilot media remains available without autoplay or generated audio. */
.section{margin-top:48px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:18px 0}.section-head p{font-size:12px;color:var(--muted)}.section-head h2{font-size:30px;margin-bottom:0}.lesson-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);gap:22px}.player-card{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff}.video-wrap{background:#142931;line-height:0}video{display:block;width:100%;height:auto;aspect-ratio:16/9}video::cue{font-size:1rem;background:#142931e8}.player-info{padding:24px}.meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:9px;font-weight:700;color:var(--muted);margin-bottom:10px}.meta span+span:before{content:'·';margin-right:10px}.player-info h2{font-size:28px}.player-info p{font-size:13px;color:var(--muted)}.hint{font-size:12px;color:var(--muted)}.badge{display:inline-flex;background:var(--lime);padding:7px 12px;border-radius:20px;font-size:11px;font-weight:750}.practice{padding:26px;border-radius:24px;background:var(--navy);color:#fff}.practice h2{font-size:31px}.practice .eyebrow{color:var(--lime)}.practice p{font-size:13px;color:#bed1d7}.steps{list-style:none;padding:0;margin:25px 0;counter-reset:step}.steps li{counter-increment:step;position:relative;padding:0 0 18px 38px;font-size:12px;color:#bfd2d8}.steps li:before{content:counter(step);display:grid;place-items:center;position:absolute;left:0;top:2px;width:25px;height:25px;border:1px solid #688a8f;border-radius:50%;font-size:11px;color:var(--lime)}.steps strong{display:block;color:#fff;font-size:14px}.practice .example{border-top:1px solid #486975;padding-top:20px;color:var(--lime);font-size:24px;font-family:Georgia,serif}.phrases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.phrase{padding:20px;background:#fff;border:1px solid var(--line);border-radius:15px}.phrase p{margin:0}.phrase .en{font-size:21px;font-weight:650}.phrase .ht{font-size:12px;color:var(--muted);margin-top:8px}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.panel{border:1px solid var(--line);background:white;border-radius:20px;padding:24px}.panel p{font-size:13px;color:var(--muted)}.panel audio{display:block;width:100%;margin:20px 0}.quiz-options{display:grid;gap:10px}.quiz-options button{text-align:left;min-height:48px;padding:13px 15px;border:1px solid var(--line);border-radius:10px;background:#f5f7ef;color:var(--ink);cursor:pointer}.disclosure{border-left:3px solid #d1b778;padding-left:18px;margin-top:28px;font-size:12px;color:var(--muted)}.transcript{max-width:850px;font-size:14px;color:var(--muted)}.download-row{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;margin-top:18px}.footer{padding:25px;border-top:1px solid var(--line);font-size:12px;text-align:center;color:var(--muted)}.footer a{font-weight:650}.share-status{font-size:12px;color:var(--muted)}
@media(min-width:1500px){.hero-copy h1{font-size:53px}}
@media(max-width:1180px){.learning-shell{grid-template-columns:180px minmax(0,1fr);gap:22px}.hero-copy{padding:29px;width:58%}.hero-copy h1{font-size:38px}.hero-art{min-width:210px}.hero-vocabulary{width:185px;left:0;top:85px}.hero-vocabulary>strong{font-size:38px}.hero-lesson{max-width:203px;right:0;bottom:26px}.level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-grid{grid-template-columns:150px minmax(0,1fr)}.lesson-body{padding:23px}.header-account{gap:16px}.header-account-details{gap:14px}.header-actions .back{display:none}.lesson-steps button>span{display:none}.days{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.learning-shell{display:block}.learning-rail{position:static;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px}.rail-title,.rail-pilot{display:none}.course-nav{flex-direction:row;flex:1;gap:4px;flex-wrap:wrap}.course-nav a{font-size:11px;min-height:44px;padding:10px}.course-nav .ui-icon{width:17px;height:17px}.account-drawer,.sticker-collection{margin:0;padding:8px 11px;position:relative}.account-drawer[open],.sticker-collection[open]{flex:1 1 100%;background:white}.sticker-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hero-copy h1{font-size:44px}.hero-art{min-width:250px}.hero-vocabulary{left:5%;width:215px}.hero-lesson{max-width:235px}.header-account{flex-direction:column;align-items:flex-end;gap:7px}.header-account-details dd{font-size:11px}.header-actions .back{display:flex}.header-inner{padding:11px 24px}.header-actions .button{min-height:44px}#course-app,.lesson-steps{scroll-margin-top:130px}.language-toolbar label{font-size:10px}.progress-note{font-size:9px}.learning-grid{grid-template-columns:160px minmax(0,1fr)}.lesson-body>h2{font-size:29px}}
@media(max-width:640px){.header-inner{padding:12px 18px;gap:12px;flex-wrap:wrap}.brand{font-size:16px}.brand img{width:36px;height:36px}.brand small{font-size:8px}.header-account{flex:1 1 100%;align-items:stretch;gap:9px}.header-account-details{justify-content:space-between;gap:12px}.header-account-details dt{font-size:10px}.header-account-details dd{font-size:12px}.header-account-details>div:last-child{text-align:right}.header-actions{justify-content:space-between;gap:12px}.header-actions .button{min-height:44px;font-size:12px;padding:9px 15px}.header-actions .back{font-size:12px;min-height:44px}.header-account-status:empty{display:none}main{padding:18px 16px 38px}.learning-rail{gap:6px;margin-bottom:20px;display:grid;grid-template-columns:1fr 1fr}.course-nav{flex:1 1 100%;justify-content:space-between;gap:3px;grid-column:1 / -1}.course-nav a{padding:10px 8px;flex:1;font-size:12px;justify-content:center;gap:5px;white-space:nowrap}.course-nav .ui-icon{display:none}.account-drawer,.sticker-collection{font-size:11px;padding:0 7px;border:0;background:none}.account-drawer{margin-left:0}.sticker-collection{margin-right:0}.sticker-collection summary>span:last-child{font-size:8px}.workspace-top{align-items:center;gap:12px;margin-bottom:14px}.workspace-top .eyebrow{font-size:9px;letter-spacing:.1em}.workspace-top p{font-size:15px;margin-top:5px;max-width:150px}.language-toolbar label{flex-direction:column;align-items:flex-end;gap:3px;font-size:10px}.language-toolbar select{font-size:12px;min-height:44px;max-width:140px;padding:7px 22px 7px 9px}.progress-box{padding:11px 12px;gap:10px;margin-bottom:16px}.progress-main{gap:9px;min-width:0}.progress-main>.ui-icon{display:none}.progress-count{font-size:11px}.progress-note{display:none}.dashboard-hero{min-height:0;display:flex;flex-direction:column;border-radius:21px}.hero-copy{width:100%;padding:26px 25px 12px}.hero-kicker{font-size:10px;margin-bottom:16px}.hero-copy h1{font-size:42px;max-width:350px}.hero-copy>p{font-size:14px}.hero-copy .actions{margin:21px 0 17px;gap:17px}.dashboard-hero .button{font-size:12px;padding:11px 15px;min-height:46px}.hero-secondary{font-size:12px}.hero-caption{font-size:10px}.hero-art{min-width:0;min-height:225px;margin:5px 25px 14px}.art-orbit{width:210px;height:210px;top:0;right:10px}.hero-vocabulary{width:175px;min-height:166px;top:17px;left:21px;padding:14px 17px;border-radius:15px;gap:7px}.hero-vocabulary>strong{font-size:37px;margin-top:4px}.hero-translation{font-size:12px}.vocabulary-footer{font-size:8px;padding-top:8px}.vocabulary-heading{font-size:7px}.vocabulary-heading svg{width:15px}.hero-lesson{bottom:7px;right:3px;max-width:180px;padding:10px 13px}.hero-lesson strong{font-size:12px;margin:3px 0}.hero-lesson small{font-size:8px}.art-bubble{top:0;left:auto;right:7px;font-size:20px;padding:6px 17px}.learning-spark{width:63px;height:70px;right:-4px;top:67px}.practice-shortcuts{gap:7px;margin:13px 0 24px}.practice-shortcuts>a{padding:12px 8px;flex-direction:column;align-items:start;gap:8px;border-radius:13px}.practice-shortcuts>a>svg:first-child{width:30px;height:30px;padding:7px;border-radius:9px}.practice-shortcuts>a>svg:last-child{display:none}.practice-shortcuts strong{font-size:16px}.practice-shortcuts small{font-size:11px;line-height:1.4}.path-heading{align-items:stretch;flex-direction:column;gap:14px;margin:20px 0 15px}.path-heading h2{font-size:27px}.path-heading .eyebrow{font-size:10px}.path-heading p{font-size:12px}.path-search{max-width:none;min-height:44px}.path-search input{font-size:14px}.level-grid{gap:10px}.level-card{padding:15px 13px;border-radius:15px}.level-card.current-level{padding:14px 12px}.level-card-top{gap:7px;margin-bottom:13px;flex-wrap:wrap}.level-badge{width:32px;height:32px;border-radius:10px}.level-badge svg{width:18px;height:18px}.level-number{font-size:10px}.current-label{font-size:9px;padding:3px 5px}.level-card h3{font-size:17px;margin-bottom:8px}.level-card>p{font-size:12px;line-height:1.6;margin-bottom:15px}.level-dots{gap:3px;margin-bottom:9px}.card-footer{font-size:10px;padding-top:8px}.card-footer svg{width:13px}.lesson-search-results{grid-template-columns:1fr}.course-about{padding:13px 16px}.course-about summary{font-size:13px}.course-notice{font-size:12px}.course-selects{gap:10px}.back-to-path{flex:1 1 100%;font-size:11px;margin-bottom:3px}.select-label{flex:1;min-width:0;max-width:none}.select-label select{width:100%;max-width:none;font-size:12px;min-height:44px}.learning-grid{display:block}.unit-list{margin-bottom:12px;background:#fdfef8}.unit-list summary{padding:12px 15px}.unit-list ol{display:grid;grid-template-columns:1fr 1fr;gap:4px}.unit-list a{font-size:12px}.sidebar-tip,.unit-list>.text-button{display:none}.lesson-body{padding:23px 18px;border-radius:19px}.lesson-body>h2{font-size:30px}.unit-meta{font-size:10px}.lesson-steps{gap:3px;padding:4px;margin:22px 0}.lesson-steps button{font-size:12px;min-height:44px}.target-box{padding:17px}.target-box .en{font-size:24px}.target-box .ht{font-size:13px}.step-panel h3{font-size:22px}.step-panel>p{font-size:14px}.flashcard-heading h3{font-size:15px}.flashcard{min-height:210px;border-radius:15px}.flashcard strong{font-size:42px}.card-controls{gap:6px}.card-controls .button{font-size:12px;padding:8px 10px}.card-controls .icon-button{min-width:44px}.pronunciation-practice{padding:15px}.pronunciation-practice .button{font-size:12px;width:100%}.panel-title{align-items:start}.panel-title .text-button{font-size:12px;min-height:44px}.dialogue-line p{font-size:15px}.dialogue-line .translation{font-size:12px}.dialogue-line>div{padding:12px}.recall{padding:18px}.recall .quiet{font-size:12px}.answer-label{font-size:14px;padding:12px}.step-pager .button{font-size:12px;padding:10px 14px}.step-pager .quiet{font-size:11px}.days{grid-template-columns:repeat(2,minmax(0,1fr))}.week{padding:18px}.day{padding:14px}.day strong{font-size:13px}.day small{font-size:10px}.course-heading h2{font-size:30px}.course-heading p{font-size:12px}.reference-card{padding:19px}.reference-card h3{font-size:23px}.saved-word-grid,.reference-list{grid-template-columns:repeat(2,minmax(0,1fr))}.saved-word-grid details{padding:13px}.saved-word-grid summary{font-size:20px}.reference-list li{padding:12px}.reference-list li>strong{font-size:15px}.lesson-grid,.lower-grid,.phrases{grid-template-columns:1fr}.section{margin-top:34px}.section-head{display:block}.section-head h2{font-size:27px}.section-head p{margin:8px 0}.player-info{padding:20px}.player-info h2{font-size:25px}.practice{padding:23px}.footer{font-size:11px}.sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#course-app,.lesson-steps{scroll-margin-top:195px}}
@media(max-width:350px){.hero-copy{padding:23px 20px 10px}.hero-copy h1{font-size:37px}.hero-copy .actions{gap:11px;align-items:start;flex-direction:column}.hero-art{margin-left:15px;margin-right:15px}.hero-vocabulary{left:12px}.level-grid{grid-template-columns:1fr}.level-card>p{font-size:11px}.level-card h3{font-size:21px}.level-badge{width:42px;height:42px}.level-card-top{margin-bottom:14px}.level-number{font-size:10px}.current-label{font-size:8px}.card-footer{font-size:10px}.saved-word-grid,.reference-list{grid-template-columns:1fr}.hero-lesson{right:0}.header-account-details dd{font-size:10px}.course-nav a{font-size:8px;padding:8px 5px}.card-controls .button{font-size:9px}.flashcard strong{font-size:36px}#course-app,.lesson-steps{scroll-margin-top:215px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.level-card:hover,.hero-vocabulary:hover{transform:none}}
/* Keep phone navigation compact and all supporting text readable. */
#course-view-title:focus{outline:none}
@media(max-width:640px){.course-nav .speaking-companion-link{display:none}.learning-rail #sticker-panel{min-width:0}.learning-rail:has(.sticker-collection[open]) #sticker-panel,.account-drawer[open]{grid-column:1 / -1}.account-drawer>summary,.sticker-collection summary{min-height:44px;font-size:11px}.sticker-collection summary>span:last-child{display:none}.sticker-collection summary:after{content:'⌄';margin-left:auto}.account-drawer[open],.sticker-collection[open]{padding:12px;background:white}.language-toolbar select{max-width:145px}.course-selects .select-label{font-size:11px}.course-notice{line-height:1.6}}
