:root{--bg:#f7f7f2;--paper:#fff;--ink:#202e28;--muted:#65726a;--green:#215b49;--green-dark:#183f33;--pale:#e9efe8;--border:#dce2d9;--serif:Georgia,'Times New Roman',serif;--font:'DM Sans','Noto Sans SC',system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #c27b35;outline-offset:4px}svg{flex-shrink:0;vertical-align:middle}button svg,a svg{pointer-events:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.4;letter-spacing:-.035em}h1{font-weight:600}h2{font-size:25px;font-weight:600}h3{font-size:18px;font-weight:600}p{margin-bottom:16px}small{font-size:12px}[hidden]{display:none!important}.container{max-width:1200px;margin:0 auto;padding:0 36px}.muted{color:var(--muted)}.skip{position:fixed;left:16px;top:-100px;z-index:100;background:var(--green);color:white;padding:12px 20px}.skip:focus{top:12px}.header{border-bottom:1px solid var(--border);background:rgba(247,247,242,.96)}.header-inner{height:86px;max-width:1344px;margin:auto;padding:0 44px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:10px;font-family:'Manrope',var(--font);font-weight:800;font-size:26px;letter-spacing:-1.6px}.brand-icon{font-family:var(--serif);font-weight:bold;font-size:31px;background:var(--green);color:var(--bg);width:34px;height:36px;line-height:32px;text-align:center;border-radius:9px;letter-spacing:-3px;padding-right:4px}.brand-icon span{color:#bdce91}.beta{font:10px var(--font);font-weight:500;letter-spacing:0;color:var(--green);border:1px solid #cbd7ca;padding:3px 6px;border-radius:4px;margin-left:1px}.header nav{display:flex;gap:10px}.header nav a{display:flex;align-items:center;gap:8px;padding:11px 23px;font-size:14px;border-radius:7px;color:var(--muted);min-height:44px}.header nav a.active{background:#e8eee5;color:var(--green);font-weight:600}.header-note{font-family:var(--serif);font-size:13px;font-style:italic;color:var(--muted)}.back-link{display:flex;align-items:center;gap:5px;min-height:44px;color:var(--muted);font-size:14px}.home{padding-top:60px}.hero{display:grid;grid-template-columns:1.18fr 1fr;gap:52px;align-items:center;padding:12px 0 54px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:var(--green);display:flex;align-items:center;gap:10px}.tiny-line{height:1px;width:25px;background:var(--green)}.hero h1{font-size:clamp(32px,3.3vw,45px);line-height:1.5;margin:19px 0 19px;letter-spacing:-1.7px}.accent{color:var(--green);position:relative;white-space:nowrap}.accent:after{content:'';position:absolute;height:6px;bottom:-5px;left:0;right:0;border-top:2px solid #b8c8a2;border-radius:60%}.hero p{font-size:14px;line-height:1.95;color:var(--muted);margin-bottom:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:7px;font-weight:500;font-size:14px;transition:background .16s,transform .16s}.button:hover{transform:translateY(-1px)}.primary{color:white;background:var(--green)}.primary:hover{background:var(--green-dark)}.secondary{background:transparent;border-color:#cdd8cd;color:var(--green)}.secondary:hover{background:var(--pale)}.hero-caption{display:block;font-size:11px;color:var(--muted);margin-top:12px}.hero-visual{position:relative;overflow:hidden;background:#e4eadd;min-height:350px;border-radius:12px;padding:24px 30px 20px;color:var(--green-dark);border:1px solid #dce3d3}.hero-visual:after{content:'';position:absolute;width:320px;height:320px;border:1px solid #ccd7bd;border-radius:50%;right:-140px;top:10px;box-shadow:0 0 0 28px #e0e7d8,0 0 0 29px #ccd7bd,0 0 0 56px #e0e7d8,0 0 0 57px #ccd7bd;opacity:.5}.visual-top,.visual-bottom{display:flex;justify-content:space-between;gap:16px;font-size:9px;letter-spacing:1.5px;position:relative;z-index:1}.visual-top{border-bottom:1px solid #c5d2bc;padding-bottom:15px}.big-quote{font-family:var(--serif);position:absolute;left:25px;top:57px;font-size:105px;line-height:1;color:#b1c09c}.visual-words{font-family:var(--serif);font-size:36px;line-height:1.18;margin:26px 0 12px 29px;position:relative;z-index:1;letter-spacing:-1.4px}.visual-words em{color:#5b7252}.wave{height:47px;display:flex;align-items:center;gap:4px;margin:17px 0 25px 30px;position:relative;z-index:1}.wave i{width:3px;height:var(--h);background:#849b70;border-radius:3px}.visual-bottom{font-size:8px;letter-spacing:1.4px;border-top:1px solid #c5d2bc;padding-top:14px}.visual-bottom span:last-child{font-family:var(--serif);font-style:italic;letter-spacing:0;font-size:12px}.method{border-top:1px solid var(--border);border-bottom:1px solid var(--border);display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0;margin-bottom:49px}.method>div{display:flex;gap:14px;align-items:center;padding:0 20px;border-right:1px solid var(--border)}.method>div:first-child{padding-left:0}.method>div:last-child{border:0}.method-number{font-family:var(--serif);font-size:30px;color:#a6b49a;font-style:italic}.method strong{font-weight:600;font-size:14px}.method p{font-size:11px;color:var(--muted);margin:3px 0 0;white-space:nowrap}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}.section-heading h2{margin:7px 0 0}.section-heading>p{margin:0 0 3px;color:var(--muted);font-size:12px}.count{font:13px 'DM Sans',sans-serif;display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;min-width:28px;height:24px;margin-left:13px;padding:0 6px;border:1px solid var(--border);border-radius:5px;color:var(--muted);letter-spacing:0}.filters{display:flex;gap:8px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.chip{min-height:40px;border:1px solid var(--border);border-radius:5px;padding:7px 17px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}.chip.selected{color:white;background:var(--green);border-color:var(--green)}.chip:hover{border-color:var(--green)}.library-caption{margin-left:auto;color:var(--muted);font-size:11px}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.course-card{display:block;border:1px solid var(--border);background:white;border-radius:10px;overflow:hidden;transition:transform .2s,box-shadow .2s}.course-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #203d2710}.course-art{height:190px;position:relative;padding:21px 24px;overflow:hidden;background:#e8eee3}.art-series{font-size:8px;letter-spacing:1.8px;position:relative;z-index:1}.art-quote{font:italic 39px/1.05 var(--serif);position:absolute;top:53px;left:24px;letter-spacing:-1px;z-index:1}.art-number{position:absolute;font:normal 145px/1 var(--serif);bottom:-15px;right:9px;letter-spacing:-14px;opacity:.08}.art-play{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;background:#ffffff99;position:absolute;right:22px;top:20px}.art-01{color:#385f47;background:#e3eadb}.art-02{color:#705a3f;background:#eee7da}.art-03{color:#3e5e70;background:#dfe9eb}.art-02:after,.art-03:after{content:'';position:absolute;width:170px;height:170px;right:-45px;bottom:-60px;border:1px solid currentColor;opacity:.18;border-radius:50%;box-shadow:0 0 0 20px #ffffff20,0 0 0 21px currentColor}.card-body{padding:21px 21px 16px}.card-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-bottom:10px}.card-meta>span:first-child{color:var(--green)}.card-body h3{font-size:17px;margin-bottom:10px;letter-spacing:-.4px}.card-body p{font-size:12px;line-height:1.8;color:var(--muted);min-height:44px;margin-bottom:20px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:13px;border-top:1px solid #edf0e9;font-size:10px}.card-bottom span{display:flex;align-items:center;gap:5px}.card-bottom span:last-child{color:var(--green)}.source-notice{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:var(--muted);margin:20px 0 45px}.source-notice svg{margin-top:2px}.bottom-banner{padding:29px 34px;border:1px solid var(--border);border-radius:9px;display:flex;justify-content:space-between;align-items:center;background:#f0f2e9;margin-bottom:60px}.bottom-banner h2{font-size:22px;margin:9px 0}.bottom-banner p{color:var(--muted);font-size:12px;margin:0}.round-link{width:54px;height:54px;display:flex;align-items:center;justify-content:center;border:1px solid #bacbb7;border-radius:50%;color:var(--green);flex-shrink:0}.footer{max-width:1200px;margin:0 auto;padding:23px 36px 28px;border-top:1px solid var(--border);display:flex;gap:22px;align-items:center;font-size:10px;color:var(--muted)}.mini-brand{font-family:var(--serif);font-size:21px;color:var(--green);font-weight:bold}.footer>a{margin-left:auto;display:flex;gap:6px;align-items:center}.continue{display:flex;align-items:center;gap:17px;border:1px solid var(--border);background:white;border-radius:9px;padding:20px 25px;margin-top:-20px;margin-bottom:39px}.continue-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--pale);color:var(--green)}.continue .muted{font-size:11px}.continue h3{font-size:16px;margin:2px 0 0}.continue>a{margin-left:auto}.text-link{display:inline-flex;gap:6px;align-items:center;color:var(--green);font-size:13px;min-height:44px;background:none;border:0;padding:0}.plain{display:inline-flex;gap:6px;align-items:center;justify-content:center;min-height:44px;background:none;border:0;padding:6px 4px;color:var(--muted);font-size:12px}.plain:hover,.text-link:hover{color:var(--green-dark);text-decoration:underline;text-underline-offset:4px}.wide{width:100%}.small{min-height:34px;font-size:11px;padding:4px 10px}.label{font-size:10px;letter-spacing:.8px;color:var(--muted);display:block}.tag{font-size:10px;color:var(--green);border-radius:4px;padding:4px 8px;background:var(--pale)}
/* Lesson workspace */
.lesson-main{padding-top:32px;padding-bottom:60px}.lesson-heading{margin-bottom:27px}.lesson-heading h1{font-size:30px;margin:10px 0 5px}.lesson-heading>p{color:var(--muted);font-family:var(--serif);font-size:17px;font-style:italic;margin-bottom:0}.lesson-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:35px;align-items:start}.video-shell{position:relative;aspect-ratio:16/9;background:#152b24;border-radius:10px;overflow:hidden}.video-shell video{width:100%;height:100%;display:block;object-fit:contain}.video-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:radial-gradient(ellipse at 90% 10%,#385949,#162e25 75%);padding:25px;text-align:center;color:#fff}.video-cover .eyebrow{font-size:8px;letter-spacing:1.3px;color:#bdcbb2;margin-bottom:22px}.video-cover>strong{font:italic 30px/1.25 var(--serif);max-width:350px}.cover-play{display:flex;gap:10px;align-items:center;background:#ffffff10;border:1px solid #ffffff40;border-radius:30px;color:white;min-height:48px;padding:9px 20px;margin-top:20px;font-size:12px}.video-cover>small{font-size:9px;color:#bdcbb2;margin-top:13px}.media-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--border);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.speed-label{display:flex;align-items:center;gap:4px}.speed-label select{padding:6px 4px;border:0;background:transparent;color:var(--green);min-height:40px}.audio-cover{position:absolute;inset:0;pointer-events:none;color:white;background:var(--green-dark);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:20px}.audio-cover p{font-size:11px;margin:0;color:#c8d8c8}.audio-mode video{opacity:0;pointer-events:none}.audio-mode .video-cover{z-index:2;background:transparent}.audio-mode .video-cover>strong,.audio-mode .video-cover>.eyebrow,.audio-mode .video-cover>small{visibility:hidden}.source-row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;padding:14px 0 20px}.source-row a{color:var(--green);white-space:nowrap}.transcript{border:1px solid var(--border);border-radius:9px;background:#fff;overflow:hidden}.transcript summary{padding:16px 18px;cursor:pointer;font-size:13px;font-weight:500;list-style:none}.transcript summary:before{content:'−';margin-right:9px;color:var(--green)}.transcript:not([open]) summary:before{content:'+'}.transcript summary>span{float:right;color:var(--muted);font-size:10px;font-weight:400;padding-top:2px}.transcript-settings{display:flex;align-items:center;gap:7px;padding:0 17px 11px}.transcript-settings .plain{margin-left:auto;font-size:10px}.transcript-settings [aria-pressed=true]{border-color:#afc1af;background:var(--pale);color:var(--green)}.transcript-line{display:grid;grid-template-columns:36px 1fr;gap:10px;text-align:left;width:100%;border:0;border-top:1px solid #edf0e9;background:#fff;padding:14px 18px;line-height:1.6;position:relative}.transcript-line:hover{background:#f3f6f0}.transcript-line.current{background:#edf3e9}.transcript-line.current:before{content:'';position:absolute;width:3px;background:var(--green);left:0;top:0;bottom:0}.transcript-line .line-time{font-size:10px;padding-top:21px;color:var(--muted);font-variant-numeric:tabular-nums}.transcript-line>span>small{display:block;font-size:8px;letter-spacing:1px;color:var(--muted);margin-bottom:3px}.transcript-line>span>span[lang=en]{font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.6;display:block}.translation{font-size:12px;color:var(--muted);display:block;margin-top:6px}.source-details{font-size:11px;color:var(--muted);margin-top:19px;line-height:1.8}.source-details summary{cursor:pointer;min-height:35px}.source-details a{text-decoration:underline;text-underline-offset:3px}.source-details p{margin-bottom:10px}.practice-column{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}.step-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--border);background:#fafbf7}.step-tabs button{display:flex;justify-content:center;align-items:center;gap:7px;border:0;border-bottom:2px solid transparent;background:transparent;padding:17px 3px;font-size:13px;color:var(--muted);min-height:60px}.step-tabs button>span{font-size:9px;opacity:.7}.step-tabs button[aria-selected=true]{border-bottom-color:var(--green);color:var(--green);background:#edf3e9;font-weight:600}#practice-panel{padding:27px 25px;min-height:470px;outline-offset:-3px}.panel-eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--green);margin-bottom:13px}.practice-column h2{font-size:22px;margin-bottom:12px}.panel-intro{color:var(--muted);font-size:13px;line-height:1.9;margin-bottom:22px}.question-block{margin-top:28px}.question-block h3{font-size:15px;margin:7px 0 16px}.answer-options{display:flex;flex-direction:column;gap:8px}.answer-options button{display:flex;align-items:center;gap:11px;padding:12px;text-align:left;border:1px solid var(--border);border-radius:6px;background:#fff;font-size:12px;min-height:48px}.answer-options button>span{background:#f0f3ed;border-radius:4px;font-size:11px;padding:2px 7px;color:var(--muted)}.answer-options button.correct{border-color:var(--green);background:#eef6eb}.answer-options button.incorrect{border-color:#ac644f;background:#fff5ef}#answer-feedback{font-size:11px;margin-top:11px;min-height:22px}.tip-box{display:flex;gap:11px;align-items:flex-start;background:#f2f4ec;padding:15px;border-radius:6px;color:var(--green);margin-top:21px}.tip-box svg{margin-top:2px}.tip-box p{font-size:11px;line-height:1.8;margin:0}.step-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--border);padding:9px 22px;background:#fafbf7}.step-bottom>span{font-size:10px;color:var(--muted)}.panel-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-title-row>.muted{font-size:11px;white-space:nowrap}.sentence-card{border:1px solid var(--border);border-radius:8px;padding:20px;background:#fafbf8}.sentence{font-family:'DM Sans',sans-serif;font-size:25px;line-height:1.5;letter-spacing:-.3px;margin:15px 0}.sentence-card details{font-size:12px}.sentence-card summary{cursor:pointer;min-height:30px;color:var(--muted)}.sentence-card details p{margin:7px 0}.pronunciation{display:flex;gap:8px;align-items:flex-start;padding-top:16px;margin-top:12px;border-top:1px solid var(--border);color:var(--green)}.pronunciation svg{margin-top:3px}.pronunciation p{font-size:12px;line-height:1.8;margin:0}.favorite-button{display:inline-flex;gap:7px;align-items:center;min-height:40px;background:none;border:0;font-size:11px;padding:10px 0 0;color:var(--muted)}.is-saved{color:var(--green)!important}.is-saved svg{fill:#d8e7d4}.sentence-controls{display:flex;gap:8px;align-items:center;margin:17px 0 25px}.sentence-controls .button{flex:1;padding-left:8px;padding-right:8px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;border:1px solid var(--border);background:transparent;border-radius:6px}.icon-button:hover{background:var(--pale)}.icon-button.enabled{background:var(--pale);border-color:var(--green);color:var(--green)}.record-section>.label{margin-bottom:10px}.recorder{margin-top:13px}.record-actions{display:flex;align-items:center;gap:4px 13px;flex-wrap:wrap;margin-top:8px}.record-actions .plain{font-size:11px}.record-privacy{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 0}.danger{background:#934d40;color:white}.record-dot{width:9px;height:9px;background:white;border-radius:50%}#record-time{font-variant-numeric:tabular-nums;font-size:12px}.expression-list{display:flex;flex-direction:column;gap:16px}.expression{border:1px solid var(--border);padding:18px 20px;border-radius:8px}.expression-top{display:flex;align-items:center;justify-content:space-between}.expression-top .icon-button{border:0;margin:-8px -10px -6px 0}.expression h3{font:500 23px/1.4 'DM Sans',sans-serif;margin:11px 0}.expression>p{font-size:13px;margin-bottom:12px}.expression .expression-note{font-size:11px;color:var(--muted)}.example{background:#f3f5ee;border-radius:5px;padding:13px 14px}.example .label{font-size:9px}.example p{font:14px/1.7 'DM Sans',sans-serif;margin:7px 0 0}.speak-prompt{background:#eef3e9;border:1px solid #d8e3d0;padding:20px;border-radius:8px;margin-bottom:17px}.speak-prompt h3{font-size:17px;margin:10px 0 12px}.speak-prompt>.muted{font-size:11px}.hint{border-bottom:1px solid var(--border);font-size:12px;padding-bottom:10px;margin-bottom:10px}.hint summary{cursor:pointer;min-height:35px;padding-top:5px;color:var(--green)}.hint p{margin:8px 0;line-height:1.8}.self-check{padding:0;border:0;margin:25px 0 0}.self-check legend{font-size:11px;color:var(--muted);margin-bottom:8px}.self-check label{display:flex;align-items:center;gap:9px;font-size:12px;min-height:36px}.self-check input{width:17px;height:17px;accent-color:var(--green)}.notice{background:#fff2de;border:1px solid #e4cba8;padding:13px;border-radius:7px;font-size:12px;margin:10px 0}.notice a{text-decoration:underline}
/* Personal pages */
.inner-page{padding-top:54px;padding-bottom:70px;min-height:calc(100vh - 170px)}.inner-page>h1{font-size:32px;margin:13px 0}.page-intro{color:var(--muted);font-size:14px;margin-bottom:35px}.empty-state{padding:65px 20px;text-align:center;border:1px dashed #cbd5c5;border-radius:10px;margin:40px 0}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:75px;height:75px;background:var(--pale);border-radius:50%;color:var(--green);margin-bottom:20px}.empty-state h2{font-size:22px}.empty-state p{color:var(--muted);font-size:13px;margin-bottom:25px}.saved-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.saved-card{background:white;border:1px solid var(--border);border-radius:9px;padding:23px;display:flex;flex-direction:column}.saved-top{display:flex;justify-content:space-between;align-items:center}.saved-top .icon-button{border:0}.saved-card h2{font:500 22px/1.5 'DM Sans',sans-serif;margin:15px 0}.saved-card p{font-size:13px;color:var(--muted)}.saved-card .text-link{margin-top:auto;font-size:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid var(--border);border-radius:10px;padding:25px;margin:35px 0 40px}.stats>div{display:flex;flex-direction:column;align-items:center;border-right:1px solid var(--border);gap:7px}.stats>div:last-child{border:0}.stats strong{font-family:var(--serif);font-weight:400;font-size:37px;color:var(--green)}.stats small{font:14px var(--font);color:var(--muted)}.stats span{font-size:12px;color:var(--muted)}.profile-section{margin-bottom:40px}.profile-section>h2{margin-bottom:10px}.profile-section>.muted{font-size:12px}.history{border:1px solid var(--border);background:white;border-radius:9px;overflow:hidden}.history>a{display:flex;align-items:center;gap:18px;padding:18px 22px;border-bottom:1px solid var(--border)}.history>a:last-child{border:0}.history-number{font:italic 25px var(--serif);color:#8d9e82}.history>a>div{display:flex;flex-direction:column;gap:5px}.history strong{font-weight:500;font-size:14px}.history>a>div>span{font-size:11px;color:var(--muted)}.history svg{margin-left:auto;color:var(--green)}.recording-item{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--border);padding:17px 0}.recording-item>div:first-child{min-width:0;max-width:65%;display:flex;flex-direction:column;gap:4px}.recording-item strong{font-weight:500;font-size:13px;overflow-wrap:anywhere}.recording-item>div>span{font-size:10px;color:var(--muted)}.small-empty{background:#f0f3eb;padding:22px;border-radius:7px;color:var(--muted);font-size:13px}.data-settings{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#eef2e8;border-radius:9px;padding:25px}.data-settings h3{margin-bottom:7px;font-size:17px}.data-settings p{font-size:12px;color:var(--muted);margin-bottom:6px}.data-settings>.button{flex-shrink:0;font-size:12px}.prose{max-width:850px}.prose>h2{font-size:22px;margin:30px 0 13px}.prose>p{color:var(--muted);line-height:1.95;font-size:14px}.prose p a{color:var(--green);text-decoration:underline;text-underline-offset:4px;line-height:2.3}.completion{text-align:center;min-height:calc(100vh - 170px);padding-top:75px;padding-bottom:80px}.completion-check{width:85px;height:85px;display:flex;align-items:center;justify-content:center;margin:0 auto 30px;border-radius:50%;background:#e4eddc;color:var(--green)}.completion .eyebrow{justify-content:center}.completion h1{font-size:32px;margin:20px 0}.completion p{color:var(--muted);font-size:14px;line-height:1.9}.complete-expressions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:25px 0}.complete-expressions>span{background:white;border:1px solid var(--border);padding:9px 14px;border-radius:6px;font:17px var(--serif);color:var(--green)}.complete-actions{display:flex;gap:12px;justify-content:center;margin:30px 0 14px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);max-width:min(90vw,550px);background:#203d30;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 5px 25px #14291a20;font-size:12px;opacity:0;visibility:hidden;z-index:1000;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(min-width:1300px){.hero{gap:85px}.hero-visual{min-height:365px}.visual-words{font-size:39px}}
@media(max-width:1050px){.header-note{display:none}.hero{gap:30px}.container{padding-left:28px;padding-right:28px}.hero-visual{padding-left:23px;padding-right:23px;min-height:330px}.visual-words{font-size:32px}.hero h1{font-size:35px}.method>div{padding:0 13px;gap:9px}.method p{font-size:10px}.course-grid{gap:16px}.card-body{padding:17px}.card-body h3{font-size:15px}.card-meta{font-size:9px}.card-bottom{font-size:9px}.lesson-layout{gap:22px}.lesson-main{padding-left:23px;padding-right:23px}#practice-panel{padding:23px 20px}.practice-column h2{font-size:20px}.step-tabs button{font-size:12px;gap:5px}.sentence{font-size:22px}}
@media(max-width:800px){.hero{grid-template-columns:1.2fr 1fr;gap:22px}.hero h1{font-size:29px;letter-spacing:-1px}.hero p{font-size:12px}.hero-visual{min-height:310px;padding:20px}.visual-words{font-size:29px;margin-left:17px}.visual-top{font-size:7px}.visual-top span:last-child{display:none}.visual-bottom{font-size:7px}.visual-bottom span:last-child{font-size:10px}.wave{gap:3px;margin-left:17px}.method{grid-template-columns:repeat(2,1fr);gap:22px;padding:23px 0}.method>div{padding-left:20px!important}.method>div:nth-child(2){border:0}.method p{font-size:11px}.course-grid{grid-template-columns:repeat(2,1fr)}.section-heading>p{font-size:10px}.course-art{height:180px}.lesson-layout{grid-template-columns:1fr}.media-column{min-width:0}.practice-column{min-width:0}#practice-panel{min-height:0}.lesson-main{max-width:680px}.lesson-heading h1{font-size:27px}.lesson-heading>p{font-size:16px}.video-cover>strong{font-size:32px}.practice-column h2{font-size:23px}.sentence{font-size:25px}.step-tabs button{font-size:14px}.step-tabs button>span{font-size:10px}.footer{font-size:9px;gap:15px}.recording-item{align-items:flex-start;flex-direction:column}.recording-item>div:first-child{max-width:100%}}
@media(max-width:600px){body{font-size:14px;padding-bottom:72px}.container{padding-left:21px;padding-right:21px}.header-inner{height:72px;padding:0 21px}.brand{font-size:25px}.brand-icon{height:33px;width:32px;line-height:29px;font-size:29px}.beta{font-size:9px}.header nav{position:fixed;bottom:0;left:0;right:0;height:calc(65px + env(safe-area-inset-bottom));padding:4px 24px env(safe-area-inset-bottom);background:#fbfcf7f5;backdrop-filter:blur(10px);border-top:1px solid var(--border);z-index:50;justify-content:space-around;gap:25px}.header nav a{display:flex;flex:1;flex-direction:column;justify-content:center;gap:3px;font-size:10px;padding:5px 10px;border-radius:0}.header nav a.active{background:none}.header nav a svg{width:21px;height:21px}.header nav a.active:before{content:'';position:absolute;top:0;width:23px;border-top:2px solid var(--green)}body:has(.lesson-main),body:has(.completion){padding-bottom:0}.home{padding-top:34px}.hero{grid-template-columns:1fr;padding:3px 0 30px;gap:27px}.hero h1{font-size:36px;line-height:1.45;letter-spacing:-1.5px;margin:17px 0 18px}.eyebrow{font-size:8px;letter-spacing:1.4px}.hero p{font-size:12px;line-height:1.9;margin-bottom:22px}.desktop-break{display:none}.hero .button{font-size:13px;min-height:46px;padding:11px 20px}.hero-caption{display:inline-block;font-size:9px;margin-left:10px;vertical-align:middle}.hero-visual{min-height:225px;height:225px;padding:18px 22px}.visual-top{font-size:8px;padding-bottom:10px}.visual-top span:last-child{display:block}.visual-words{font-size:28px;line-height:1.06;margin:16px 0 0 20px}.visual-words br:nth-child(2){display:none}.visual-words em{display:block}.big-quote{font-size:80px;top:50px;left:22px}.wave{position:absolute;right:23px;bottom:55px;width:105px;gap:3px;height:50px;overflow:hidden;margin:0}.wave i{min-width:2px}.visual-bottom{position:absolute;bottom:17px;left:22px;right:22px;align-items:center;padding-top:10px;font-size:7px}.visual-bottom span:last-child{font-size:11px}.hero-visual:after{width:240px;height:240px;top:-20px;right:-130px}.method{margin-bottom:34px;gap:21px 5px;padding:21px 0}.method>div{gap:12px;padding-left:0!important}.method>div:nth-child(2n){padding-left:17px!important}.method-number{font-size:26px}.method strong{font-size:13px}.method p{font-size:10px}.section-heading{display:block;margin-bottom:17px}.section-heading h2{font-size:24px;margin-top:6px}.section-heading>p{font-size:10px;margin:9px 0 0}.count{font-size:11px;min-width:25px;height:22px;margin-left:10px}.filters{gap:6px;margin-bottom:18px}.chip{font-size:11px;padding:7px 12px;min-height:38px}.library-caption{display:none}.course-grid{grid-template-columns:1fr;gap:20px}.course-art{height:190px;padding:20px 24px}.art-quote{font-size:39px}.art-series{font-size:8px}.card-body{padding:21px}.card-meta{font-size:10px}.card-body h3{font-size:18px}.card-body p{font-size:12px;min-height:0;margin-bottom:16px}.card-bottom{font-size:10px}.source-notice{font-size:10px;line-height:1.8;margin:18px 0 29px}.bottom-banner{padding:24px 20px;gap:15px;margin-bottom:35px}.bottom-banner h2{font-size:18px;line-height:1.6;margin:8px 0}.bottom-banner p{font-size:10px}.bottom-banner .eyebrow{font-size:7px;letter-spacing:1px}.round-link{width:39px;height:39px}.round-link svg{width:21px}.footer{margin:0 21px;padding:18px 0 23px;flex-wrap:wrap;gap:5px 12px;align-items:center}.footer>span:nth-child(2){font-size:8px}.footer>a{font-size:9px;width:100%;margin-left:0;min-height:30px}.continue{padding:15px;margin-top:0;margin-bottom:30px;gap:10px}.continue-icon{width:30px;height:30px}.continue-icon svg{width:15px}.continue h3{font-size:12px}.continue .muted{font-size:9px}.continue .text-link{font-size:10px;white-space:nowrap}.lesson-main{padding:25px 16px 35px}.lesson-heading{margin-bottom:20px;padding:0 4px}.lesson-heading h1{font-size:24px;margin-top:8px}.lesson-heading>p{font-size:15px}.lesson-layout{gap:23px}.back-link{font-size:11px}.video-shell{border-radius:8px}.video-cover{padding:18px}.video-cover .eyebrow{font-size:6px;letter-spacing:1px;margin-bottom:14px}.video-cover>strong{font-size:25px;max-width:280px}.cover-play{margin-top:12px;min-height:42px;padding:7px 17px;font-size:11px}.cover-play svg{width:21px;height:21px}.video-cover>small{font-size:8px;margin-top:9px}.media-toolbar{gap:5px;font-size:10px;padding:3px 0}.media-toolbar .plain{font-size:11px}.speed-label select{font-size:11px}.source-row{font-size:9px;padding-bottom:15px}.source-row .muted{display:block}.transcript summary{font-size:12px;padding:13px 15px}.transcript summary>span{font-size:9px}.transcript-settings{padding:0 13px 8px}.transcript-line{padding:13px 15px;gap:7px;grid-template-columns:31px 1fr}.transcript-line>span>span[lang=en]{font-size:15px}.transcript-line .line-time{font-size:9px}.source-details{font-size:10px}.source-details summary{min-height:32px}.step-tabs{position:relative}.step-tabs button{min-height:57px;font-size:13px;padding:13px 2px;gap:5px}.step-tabs button>span{font-size:9px}#practice-panel{padding:24px 19px}.practice-column h2{font-size:21px}.panel-intro{font-size:12px}.panel-eyebrow{font-size:8px}.sentence-card{padding:17px}.sentence{font-size:24px}.sentence-controls{gap:7px}.sentence-controls .button{font-size:12px}.icon-button{min-width:42px;width:42px;min-height:44px}.step-bottom{padding:7px 17px}.step-bottom .plain,.step-bottom .text-link{font-size:11px}.record-privacy{font-size:9px}.inner-page{padding-top:34px;padding-bottom:40px;min-height:calc(100vh - 220px)}.inner-page>h1{font-size:26px;line-height:1.6;margin-top:12px}.page-intro{font-size:12px;margin-bottom:25px}.saved-grid{grid-template-columns:1fr;gap:15px}.saved-card{padding:21px}.saved-card h2{font-size:22px}.empty-state{padding:45px 18px;margin-top:25px}.empty-state h2{font-size:20px}.empty-state p{font-size:12px;line-height:1.9}.stats{padding:20px 9px;margin:25px 0 30px}.stats strong{font-size:32px}.stats span{font-size:10px}.stats small{font-size:11px}.profile-section h2{font-size:21px}.history>a{padding:16px 15px;gap:12px}.history strong{font-size:12px}.history-number{font-size:24px}.history>a>div>span{font-size:10px}.data-settings{padding:21px;flex-direction:column;align-items:flex-start;gap:15px}.data-settings p{font-size:11px}.data-settings .button{width:100%}.recording-item>div:first-child{max-width:100%}.prose>p{font-size:13px}.prose>h2{font-size:21px}.completion{padding-top:55px;padding-bottom:55px}.completion h1{font-size:25px}.completion p{font-size:12px}.completion-check{width:72px;height:72px}.complete-actions{flex-direction:column}.complete-expressions>span{font-size:15px}.complete-actions .button{width:100%}#toast{font-size:11px;bottom:85px;padding:12px 17px}body:has(.lesson-main) #toast,body:has(.completion) #toast{bottom:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Keep the exercise close to the player on small screens. */
#main:focus{outline:none}.transport{min-width:35px}.media-toolbar{flex-wrap:wrap}
@media(max-width:800px){.lesson-layout{display:flex;flex-direction:column;gap:0}.media-column{display:contents}.video-shell{width:100%;order:0}.media-toolbar{width:100%;order:1}.source-row{width:100%;order:2}.notice{order:3;width:100%}.practice-column{order:4;width:100%;margin-top:8px}.transcript{order:5;width:100%;margin-top:23px}.source-details{order:6;width:100%}}
.media-alternative{display:flex;align-items:center;gap:12px;font-size:10px;color:var(--muted);margin-top:9px}.media-alternative .text-link{font-size:10px;min-height:34px}.youtube-mode iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.audio-mode.youtube-mode .audio-cover{z-index:2}.youtube-mode:not(.audio-mode) .audio-cover{display:none}.youtube-mode.audio-mode iframe{opacity:0;pointer-events:none}
@media(max-width:800px){.media-alternative{order:6;width:100%}.source-details{order:7}}
.video-shell>iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Course → segment hierarchy */
.episode-grid{display:grid;grid-template-columns:minmax(0,760px);gap:24px}.episode-card{display:grid;grid-template-columns:.95fr 1.2fr}.episode-card .course-art{height:100%;min-height:260px}.episode-card .art-quote{font-size:34px;top:78px}.episode-card .card-body{padding:26px}.episode-card .card-body h3{font-size:23px}.episode-card .card-body p{min-height:0}.episode-progress{margin:16px 0;font-size:11px;color:var(--muted)}.episode-progress>div,.progress-track{height:5px;background:#e8eee2;border-radius:5px;overflow:hidden;margin-bottom:9px}.episode-progress i,.progress-track i{display:block;background:var(--green);height:100%;border-radius:5px}.course-page{padding-top:25px;padding-bottom:55px}.course-intro{display:grid;grid-template-columns:1fr 270px;gap:50px;align-items:center;padding:30px 0 42px}.course-intro h1{font-size:34px;margin:15px 0 10px}.course-intro>div>p{font-size:14px;max-width:620px;color:var(--muted)}.course-intro .course-subtitle{color:var(--green);font-size:12px}.course-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.course-badges>span{font-size:10px;border:1px solid var(--border);border-radius:4px;padding:5px 9px;color:var(--muted)}.course-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}.course-progress-box{background:#eaf0e3;border:1px solid #d4dfca;border-radius:10px;padding:25px;display:flex;flex-direction:column}.course-progress-box>strong{font:48px var(--serif);color:var(--green);margin-top:10px}.course-progress-box strong small{font:16px var(--font);color:var(--muted)}.course-progress-box>span:not(.label){font-size:12px;color:var(--green);margin:6px 0 16px}.course-progress-box>p{font-size:11px;color:var(--muted);margin:10px 0 0}.course-directory{border-top:1px solid var(--border);padding-top:30px}.segment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.segment-card{display:flex;align-items:flex-start;gap:17px;background:white;border:1px solid var(--border);padding:22px;border-radius:9px;transition:border-color .15s}.segment-card:hover{border-color:#89a68b}.segment-number{font:italic 31px var(--serif);color:#98ab8d}.segment-card-content{flex:1;min-width:0}.segment-card h3{font-size:17px;margin-bottom:10px}.segment-card p{font-size:12px;color:var(--muted);line-height:1.85;min-height:44px;margin-bottom:15px}.segment-card .card-bottom{font-size:10px}.segment-card .card-bottom span:last-child{white-space:nowrap}.course-source{font-size:11px;color:var(--muted);line-height:1.9;margin-top:28px}.course-source p{margin:12px 0}.course-source a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.full-video-panel{max-width:850px;margin:0 auto 35px}.full-video-panel iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:9px}.fragment-context{margin-top:15px;color:var(--muted);font-size:11px;max-width:700px}.fragment-context summary{cursor:pointer;min-height:30px}.fragment-context p{margin:8px 0}.fragment-context .text-link{font-size:11px;min-height:34px}
/* Captions remain native, selectable text; playback lives in its own button. */
.transcript-line{cursor:default;align-items:start;grid-template-columns:42px minmax(0,1fr)}.transcript-line .line-time{display:flex;flex-direction:column;align-items:center;justify-content:start;gap:3px;padding:3px 0;min-height:44px;border-radius:4px;color:var(--green);font-size:10px}.line-time:hover{background:#dfe9d8;text-decoration:none}.caption-content{min-width:0;-webkit-user-select:text;user-select:text;cursor:text}.caption-content small{display:block;color:var(--muted);font-size:8px;letter-spacing:1px;margin-bottom:5px}.caption-text{font:16px/1.75 'DM Sans',system-ui,sans-serif;margin:0;white-space:normal;-webkit-user-select:text;user-select:text}.caption-content .translation{margin:7px 0 0;font-size:12px;line-height:1.8}.caption-content>.muted{font-size:12px;margin-bottom:0}.caption-actions{display:flex;gap:15px;margin-top:5px}.caption-actions .plain{font-size:10px;padding:0;min-height:35px;color:var(--green)}.transcript-settings{flex-wrap:wrap;gap:6px}.transcript-settings .plain{margin-left:0;font-size:10px}.transcript-settings .plain:last-child{margin-left:auto}.caption-content ::selection,.sentence::selection{background:#c5ddbb;color:#183d2c}.sentence-tip{font-size:11px;color:var(--muted);line-height:1.8;margin:14px 0 0;border-top:1px solid var(--border);padding-top:12px}
/* A named pronunciation module instead of a one-line hint. */
.pronunciation-module{border:1px solid #d7e2ce;background:#f5f8f0;border-radius:8px;padding:0 16px;margin:18px 0 25px;scroll-margin-top:18px}.pronunciation-module>summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:53px;color:var(--green);font-size:14px;font-weight:600;list-style:none}.pronunciation-module>summary:after{content:'−';margin-left:3px}.pronunciation-module:not([open])>summary:after{content:'+'}.pronunciation-module summary>span{margin-left:auto;font-size:9px;font-weight:400;color:var(--muted)}.pronunciation-legend{font-size:10px;line-height:1.9;color:var(--muted);padding-top:3px;margin-bottom:15px}.sound-rule{border-top:1px solid #dbe5d4;padding:15px 0}.sound-rule>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sound-rule .tag{background:#e3eddc}.sound-status{font-size:9px;color:var(--muted)}.sound-rule h4{font:500 20px/1.5 'DM Sans',system-ui,sans-serif;margin:12px 0 6px;color:var(--green-dark);overflow-wrap:anywhere}.sound-rule .heard-form{font-size:12px;color:var(--ink);margin-bottom:14px;line-height:1.85}.sound-rule dl{margin:0;font-size:11px;line-height:1.9}.sound-rule dt{font-weight:600;color:var(--green);margin:9px 0 3px}.sound-rule dd{margin:0;color:var(--muted)}.sound-actions{border-top:1px solid #dbe5d4;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 0}.sound-actions .text-link,.sound-actions>a{font-size:10px}.sound-actions>a{color:var(--muted);text-decoration:underline}.example-speech{display:flex;align-items:center;gap:10px;margin-top:9px}.example-speech .plain{color:var(--green);font-size:11px;min-height:40px}.example-speech [aria-pressed=true]{font-weight:600}.example-speech label{display:flex;align-items:center;gap:3px;color:var(--muted);font-size:10px;margin-left:auto}.example-speech select{border:1px solid var(--border);background:#fff;border-radius:4px;color:var(--green);min-height:34px;padding:4px;font-size:10px}.speech-disclaimer{display:block;font-size:9px;color:var(--muted);line-height:1.8;margin-top:2px}
@media(max-width:800px){.course-intro{gap:25px;grid-template-columns:1fr 220px}.course-intro h1{font-size:28px}.course-progress-box{padding:20px}.segment-grid{gap:13px}.segment-card{padding:17px;gap:12px}.segment-card h3{font-size:15px}.segment-card .card-bottom{flex-wrap:wrap}.episode-card .course-art{min-height:260px}.episode-card .art-quote{font-size:30px}}
@media(max-width:600px){.course-page{padding-top:15px;padding-bottom:35px}.course-intro{grid-template-columns:1fr;gap:22px;padding:23px 0 30px}.course-intro h1{font-size:27px}.course-intro>div>p{font-size:12px;line-height:1.9}.course-actions{gap:9px}.course-actions .button{font-size:11px;padding:11px 15px}.course-badges{gap:6px;margin-top:16px}.course-badges>span{font-size:9px;padding:5px 7px}.course-progress-box{position:relative;padding:20px 23px}.course-progress-box>strong{font-size:39px;margin-top:5px}.course-progress-box>.label{font-size:10px}.course-progress-box>span:not(.label){margin-bottom:12px}.course-progress-box .progress-track{margin:0}.course-progress-box>p{font-size:10px}.course-directory{padding-top:24px}.course-directory .section-heading h2{font-size:23px}.course-directory .section-heading>p{font-size:10px}.segment-grid{grid-template-columns:1fr;gap:13px}.segment-card{gap:14px;padding:19px 17px}.segment-card h3{font-size:17px}.segment-card p{min-height:0;font-size:11px}.segment-card .card-meta{font-size:9px}.segment-card .card-bottom{font-size:9px}.segment-number{font-size:28px}.course-source{font-size:10px}.episode-card{display:block}.episode-card .course-art{height:200px;min-height:0}.episode-card .art-quote{font-size:33px;top:65px}.episode-card .card-body{padding:22px}.episode-card .card-body h3{font-size:22px}.fragment-context{font-size:10px;margin-top:12px}.fragment-context .text-link{font-size:10px}.transcript-line{grid-template-columns:34px minmax(0,1fr);padding:13px 13px;gap:9px}.transcript-line .line-time{font-size:9px}.caption-text{font-size:16px;line-height:1.75}.transcript-settings .chip{font-size:10px;padding:4px 8px}.transcript-settings .plain{font-size:9px}.caption-actions .plain{min-height:38px}.pronunciation-module{padding:0 13px}.pronunciation-module>summary{font-size:13px;gap:6px}.pronunciation-module summary>span{font-size:9px}.pronunciation-legend{font-size:10px}.sound-rule h4{font-size:20px}.sound-rule .heard-form{font-size:11px}.sound-rule dl{font-size:11px}.sound-status{font-size:8px}.sound-actions{flex-wrap:wrap;gap:0 10px}.example-speech{gap:8px}.example-speech .plain{font-size:10px}.speech-disclaimer{font-size:8px}.visual-top span:last-child{font-size:6px;letter-spacing:.6px}}
@media(max-width:600px){.sound-rule dl,.sound-rule .heard-form{font-size:12px}.pronunciation-legend{font-size:11px}.sound-actions .text-link,.sound-actions>a{font-size:11px}}
