:root{--font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--white: #ffffff;--surface: #f7fcf9;--surface-mint: #eff9f3;--mint: #d9f0e5;--mint-accent: #75bb9d;--green: #21684f;--green-dark: #174d3a;--ink: #20342c;--muted: #60746a;--line: #e5eee9;--line-strong: #cfe5d9;--cream: var(--white);--sage: var(--surface-mint);--peach: #f4faf7;--butter: #edf8f2;--lavender: #f7fbf9;--orange: var(--green);font-family:var(--font-ui);color:var(--ink);background:var(--white);font-synthesis:none;font-weight:400;font-size:14px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button,a,input,textarea,select{touch-action:manipulation}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:4px}a{color:var(--green)}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}p{line-height:1.65}h1,h2{letter-spacing:-.035em}svg{flex-shrink:0}input,select,textarea{max-width:100%}::selection{background:var(--surface-mint);color:var(--ink)}.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}.mobile-only{display:none}.page-enter{animation:page-enter .3s ease-out}@keyframes page-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:34px 22px 0;overflow-y:auto;z-index:40}.brand{display:flex;align-items:center;gap:10px;color:var(--green-dark);line-height:1;flex-shrink:0}.brand-mark{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0}.brand-logo{display:block;width:154px;height:154px;object-fit:contain}.brand-wordmark{display:flex;flex-direction:column;gap:3px}.brand-name{font-size:27px;font-weight:650;letter-spacing:-1px}.brand-descriptor{font-size:10px;font-weight:600;letter-spacing:1.9px;text-transform:uppercase}.sidebar-brand{display:flex;justify-content:center;flex-shrink:0}.brand-tagline{font-size:10px;color:var(--muted);letter-spacing:.2px;margin:8px 0 25px;text-align:center}.sidebar-section-label{font-size:9px;letter-spacing:1.6px;color:var(--muted);margin:0 10px 13px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;gap:13px;align-items:center;width:100%;text-align:left;padding:13px;border-radius:7px;min-height:46px;color:var(--green);font-size:12px;transition:background .2s,color .2s}.nav-item:hover{background:var(--surface-mint);color:var(--green)}.nav-item.active{color:var(--green);background:var(--surface-mint);font-weight:600}.nav-count{background:var(--surface);min-width:22px;line-height:22px;border-radius:6px;text-align:center;font-size:10px;margin-left:auto}.sidebar-note{padding:21px 18px 17px;background:var(--surface-mint);border:1px solid var(--line);border-radius:9px;position:relative;margin:42px 6px 22px}.sidebar-note-flower{font-size:41px;color:var(--muted);position:absolute;right:14px;top:12px;line-height:1}.sidebar-note h3{font-family:var(--font-ui);font-size:21px;line-height:1.25;letter-spacing:-.5px;margin-bottom:12px}.sidebar-note p{font-size:10px;line-height:1.85;color:var(--muted)}.sidebar-note button{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;margin-top:19px;width:100%;padding:0}.sidebar-bottom{margin-top:auto}.sidebar-bottom .nav-item{font-size:11px;padding:18px 10px}.sidebar-footer{border-top:1px solid var(--line);padding:18px 0 20px;font-size:8px;color:var(--muted);display:flex;gap:6px;align-items:center;white-space:nowrap}.sidebar-footer>svg{margin-left:auto}.status-dot{width:5px;height:5px;background:var(--mint-accent);border-radius:50%}.app-shell{margin-left:238px;min-height:100vh}.topbar{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 43px}.desktop-breadcrumb{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.desktop-breadcrumb strong{font-weight:500;color:var(--green)}.topbar-right{display:flex;align-items:center;gap:22px}.topbar-date{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.streak-pill{display:flex;align-items:center;gap:5px;background:var(--surface-mint);border:1px solid var(--line);padding:8px 10px;border-radius:6px;font-size:10px;color:var(--green)}.streak-pill svg{color:var(--muted)}.streak-pill strong{font-size:12px;color:var(--green)}.avatar{width:31px;height:31px;border-radius:50%;background:var(--surface-mint);color:var(--green);font-family:var(--font-ui);font-size:13px;border:3px solid var(--line);box-shadow:0 0 0 1px var(--line-strong)}.mobile-header{display:none}.offline-tag{display:flex;align-items:center;gap:5px;color:var(--green);font-size:11px}main{max-width:1290px;margin:auto;padding:37px 43px 12px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.45px;line-height:1.5;color:var(--muted)}.today-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 29px}.today-heading h1{font-family:var(--font-ui);font-size:29px;letter-spacing:-.8px;margin-top:9px;font-weight:400}.heading-doodle{font-size:42px;color:var(--muted);line-height:1;margin-right:4px;font-family:var(--font-ui)}.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--white);border:1px solid rgba(74,131,104,.12);padding:5px 9px;border-radius:5px;font-size:8px;letter-spacing:.9px;font-weight:500;white-space:nowrap;line-height:1.5}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;min-height:44px;padding:12px 18px;font-size:12px;font-weight:600;transition:background .15s,transform .15s}.primary-button{background:var(--green);color:#fff;border:1px solid var(--green)}.primary-button:hover{background:var(--green);transform:translateY(-1px)}.secondary-button{background:#fff;border:1px solid var(--line);color:var(--green)}.secondary-button:hover{background:var(--surface)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:500;color:var(--green);padding:6px 0}.text-button:hover{color:var(--ink)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;padding:0;flex-shrink:0}.icon-button:hover{background:var(--surface-mint)}.hero{background:var(--surface-mint);min-height:338px;border-radius:10px;position:relative;overflow:hidden;display:flex;border:1px solid var(--line)}.hero-content{padding:30px 35px;z-index:2;position:relative;width:64%}.hero .pill{background:var(--surface);color:var(--green);border-color:var(--line);font-size:7px;padding:6px 8px}.tiny-spark{font-size:13px;line-height:10px;color:var(--muted)}.hero h2{font-family:var(--font-ui);font-size:51px;font-weight:400;line-height:1.08;letter-spacing:-1.8px;margin:18px 0 15px;color:var(--ink)}.hero h2 em{font-weight:400;color:var(--green)}.hero-content>p{font-size:10px;line-height:1.9;color:var(--green)}.hero-button{margin-top:22px;min-height:41px;padding:11px 16px;font-size:10px;gap:20px}.hero-footnote{display:flex;align-items:center;gap:7px;margin-top:18px;color:var(--muted);font-size:8px;letter-spacing:.05px}.hero-footnote strong{font-weight:500;color:var(--green)}.mini-avatar{border:2px solid var(--line);background:var(--mint-accent);display:grid;place-items:center;border-radius:50%;width:20px;height:20px;color:var(--white);font-size:8px}.mandarin-art{position:absolute;right:0;bottom:0;width:40%;height:100%;isolation:isolate}.art-circle{width:244px;height:244px;border:1px solid var(--line);border-radius:50%;position:absolute;top:59px;right:5px}.art-circle:after{content:"";position:absolute;inset:13px;border:1px dashed var(--line);border-radius:50%}.art-orange{position:absolute;top:105px;right:54px;background:var(--mint-accent);border:1px solid var(--line-strong);width:153px;height:147px;border-radius:46% 48% 45% 49%;transform:rotate(-11deg);box-shadow:inset -9px -10px 0 var(--line-strong),0 15px 15px -13px var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--muted)}.art-orange>span{font-family:var(--font-ui);font-size:31px;letter-spacing:4px;transform:rotate(0);margin-left:3px}.art-orange i{width:2px;height:2px;background:var(--mint-accent);border-radius:50%;position:absolute;bottom:24px;right:44px}.art-orange i:nth-last-child(2){bottom:19px;right:57px}.art-orange i:last-child{bottom:23px;right:67px}.art-leaf{position:absolute;top:70px;right:99px;width:66px;height:29px;border-radius:4% 95% 3% 90%;background:var(--mint-accent);transform:rotate(11deg);z-index:1;border:1px solid var(--line-strong)}.art-leaf:after{content:"";position:absolute;width:52px;height:1px;background:var(--mint-accent);left:6px;top:14px;transform:rotate(17deg)}.art-leaf.leaf-two{top:76px;right:150px;width:45px;height:23px;transform:rotate(-21deg);background:var(--mint-accent);z-index:0}.art-leaf.leaf-two:after{width:33px;top:11px}.art-tag{position:absolute;right:22px;top:235px;transform:rotate(9deg);background:var(--surface);padding:13px;box-shadow:0 3px 3px #174d3a10;font-family:var(--font-ui);font-style:italic;color:var(--green);font-size:16px;border:1px solid var(--line);border-radius:2px;white-space:nowrap}.art-tag span{margin-left:10px;font-style:normal}.art-spark{position:absolute;color:var(--muted);font-size:32px}.spark-one{top:53px;right:41px;font-size:45px;transform:rotate(10deg)}.spark-two{top:235px;right:235px;font-size:23px}.art-dot{position:absolute;width:5px;height:5px;background:var(--mint-accent);border-radius:50%}.dot-one{right:218px;top:106px}.dot-two{right:33px;top:198px;width:3px;height:3px}.stats-strip{display:grid;grid-template-columns:1fr 1.15fr 1.3fr 1.1fr;margin:24px 0 34px;padding:18px 0;border:1px solid var(--line);border-radius:8px;background:var(--white)}.stats-strip>div{display:flex;align-items:center;gap:12px;padding:0 22px;border-right:1px solid var(--line)}.stats-strip>div:last-child{border:0}.stat-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.peach{background:var(--peach);color:var(--muted)}.sage{background:var(--sage);color:var(--green)}.butter{background:var(--butter);color:var(--green)}.lavender{background:var(--lavender);color:var(--muted)}.stats-strip strong{font-size:20px;font-weight:500;line-height:1.2;white-space:nowrap}.stats-strip strong>span{font-size:10px;color:var(--muted);font-weight:400;margin-left:5px}.stats-strip p{color:var(--muted);font-size:8px;margin-top:5px;white-space:nowrap}.goal-ring{border-radius:50%;height:39px;width:39px;position:relative;display:grid;place-items:center;flex-shrink:0}.goal-ring:before{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--white)}.goal-ring svg{z-index:1;color:var(--muted)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.section-heading h2{font-family:var(--font-ui);font-size:23px;font-weight:400;letter-spacing:-.5px}.section-heading h3{font-size:13px}.section-heading p{font-size:9px;color:var(--muted);margin-top:6px}.card{border:1px solid var(--line);background:var(--white);border-radius:9px}.today-plan{display:grid;grid-template-columns:1.05fr 1fr;gap:19px;margin-bottom:29px}.featured-lesson{text-align:left;padding:21px 22px 0;overflow:hidden;transition:box-shadow .2s,transform .2s}.featured-lesson:hover,.small-plan:hover,.lesson-card:hover,.scenario-card:hover{box-shadow:0 6px 20px #174d3a0b;transform:translateY(-2px)}.featured-header{display:flex;align-items:center;gap:11px;margin-bottom:18px}.featured-icon{width:40px;height:40px;background:var(--surface-mint);border-radius:9px;color:var(--muted);display:grid;place-items:center}.featured-header .pill{font-size:7px;background:var(--surface);border-color:var(--line);color:var(--muted)}.featured-header>svg{margin-left:auto;color:var(--muted)}.featured-body .eyebrow,.small-plan .eyebrow{font-size:7px;letter-spacing:1.2px;color:var(--muted)}.featured-body h3{font-family:var(--font-ui);font-size:24px;letter-spacing:-.5px;margin-top:8px}.featured-body p{font-size:10px;color:var(--muted);margin:6px 0 20px}.featured-footer{border-top:1px solid var(--line);padding:12px 0;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:var(--muted)}.featured-footer>span>span{margin:0 8px;color:var(--muted)}.round-arrow{width:27px;height:27px;background:var(--surface-mint);border-radius:50%;display:grid;place-items:center;color:var(--green)}.plan-side{display:flex;flex-direction:column;gap:15px}.small-plan{display:flex;align-items:center;text-align:left;gap:16px;padding:22px 19px;flex:1;transition:box-shadow .2s,transform .2s}.small-plan>div{flex:1}.small-plan>svg{color:var(--muted)}.plan-icon{width:43px;height:43px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.small-plan h3{font-family:var(--font-ui);letter-spacing:-.2px;font-size:18px;margin:7px 0 5px}.small-plan p{font-size:9px;color:var(--muted)}.today-bottom{display:grid;grid-template-columns:1.7fr 1fr;gap:19px}.phrase-of-day{padding:20px 22px}.phrase-day-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.phrase-day-top .eyebrow{font-size:8px;letter-spacing:1px}.phrase-day-top .pill{font-size:6px;padding:4px 6px;letter-spacing:.7px;background:var(--surface);border-color:var(--line);color:var(--muted)}.pocket-phrase{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px;gap:10px}.pocket-phrase h3{font-family:var(--font-ui);font-size:29px;font-weight:400;letter-spacing:3px}.pinyin{color:var(--muted);font-size:13px;line-height:1.6}.pocket-phrase .pinyin{font-size:10px;margin:9px 0 5px;color:var(--muted)}.pocket-phrase p:not(.pinyin){font-size:10px;color:var(--green)}.audio-button{background:var(--surface-mint);color:var(--muted);border:1px solid var(--line)}.audio-button.large{width:42px;height:42px}.audio-button:hover{background:var(--surface-mint)}.pocket-note{font-size:8px;color:var(--muted);border-top:1px dashed var(--line);padding-top:11px;line-height:1.6}.week-card{padding:22px 22px 18px}.week-card .section-heading{margin-bottom:3px;color:var(--green)}.week-card .section-heading h3{font-family:var(--font-ui);font-size:19px}.week-card>p{font-size:9px;color:var(--muted)}.week-dots{display:flex;justify-content:space-between;margin:21px 0 18px;gap:4px}.week-dots>div{display:flex;flex-direction:column;gap:10px;align-items:center}.week-dots>div>span{color:var(--muted);font-size:8px}.week-dots>div>div{width:25px;height:25px;border-radius:50%;background:var(--surface);display:grid;place-items:center;border:1px solid var(--line);color:var(--green)}.week-dots>div>div.active{background:var(--surface-mint);border-color:var(--line-strong)}.week-dots>div>div.is-today{box-shadow:0 0 0 3px var(--line-strong),0 0 0 4px var(--line-strong)}.week-dots>div>div>span{width:3px;height:3px;background:var(--mint);border-radius:50%}.week-caption{border-top:1px dashed var(--line);padding-top:13px;color:var(--muted);font-size:8px;display:flex;justify-content:space-between;gap:6px}.week-caption>span{font-size:13px;color:var(--muted);line-height:1}.page-signoff{display:flex;align-items:center;justify-content:center;gap:14px;padding:31px 0 15px;font-size:8px;color:var(--muted)}.page-signoff>span:first-child{font-size:12px;color:var(--muted);letter-spacing:1px}.page-signoff>span:last-child{font-size:16px;color:var(--muted)}.app-footer{display:flex;align-items:center;justify-content:space-between;max-width:1290px;margin:0 auto;padding:15px 43px 22px;font-size:8px;color:var(--muted)}.app-footer>span,.app-footer button{display:flex;align-items:center;gap:6px}.app-footer button{font-size:8px;color:var(--muted)}.bottom-nav{display:none}.page-title{margin:3px 0 31px}.page-title h1{font-family:var(--font-ui);font-size:35px;font-weight:400;margin:10px 0 11px}.page-title>p,.page-title>div>p{font-size:12px;color:var(--muted)}.page-title.with-action{display:flex;align-items:center;justify-content:space-between;gap:20px}.lesson-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line)}.tabs button{padding:13px 11px;font-size:11px;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap}.tabs button.active{border-bottom-color:var(--line-strong);color:var(--green)}.tabs button>span{margin-left:7px;font-size:9px;background:var(--surface-mint);padding:2px 5px;border-radius:4px}.search-field{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:6px;padding:10px 11px;gap:8px;color:var(--muted);width:237px}.search-field input{border:0;outline:none!important;min-width:0;background:transparent;font-size:10px;color:var(--ink);width:100%}.search-field:focus-within{outline:2px solid var(--line-strong)}.search-field input::placeholder{color:var(--muted)}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.lesson-card{padding:0;text-align:left;border:1px solid var(--line);background:var(--white);border-radius:9px;overflow:hidden;transition:transform .2s,box-shadow .2s}.lesson-art{height:151px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.lesson-art-text{font-size:38px;font-family:var(--font-ui);letter-spacing:7px;z-index:1;font-weight:400;opacity:.8}.lesson-art-flower{position:absolute;font-size:115px;bottom:-31px;right:-10px;opacity:.12;line-height:1}.lesson-art .pill{position:absolute;top:14px;left:16px;font-size:7px;padding:4px 7px}.lesson-art-line{width:140px;height:140px;border:1px solid currentColor;border-radius:50%;position:absolute;left:22px;top:-42px;opacity:.12}.lesson-card-body{padding:23px}.lesson-card-body h3{font-family:var(--font-ui);font-size:24px;margin:8px 0;letter-spacing:-.5px}.lesson-card-body>p{font-size:11px;color:var(--muted)}.lesson-card-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:25px;margin-bottom:18px}.lesson-card-body>small{font-size:9px;color:var(--muted);display:block;margin-top:9px}.library-note{display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);margin-top:30px;padding:22px 2px;color:var(--muted)}.library-note p{font-size:10px;color:var(--muted)}.empty-state{text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:10px;padding:56px 20px;min-height:240px}.empty-icon{display:grid;place-items:center;background:var(--surface-mint);border-radius:50%;width:54px;height:54px;margin:0 auto 20px;color:var(--green)}.empty-state h3{font-family:var(--font-ui);font-size:27px;margin-bottom:12px}.empty-state p{font-size:12px;color:var(--muted);max-width:420px;margin:auto}.empty-state .primary-button{margin-top:22px}.saved-heading{display:flex;align-items:center;justify-content:space-between;margin:2px 0 14px;font-size:11px;color:var(--muted)}.phrase-list.card{padding:0 23px}.phrase-row{display:flex;align-items:center;gap:10px;padding:24px 0;border-bottom:1px solid var(--line)}.phrase-row:last-child{border-bottom:0}.phrase-row>div{flex:1;min-width:0}.phrase-row h3{font-size:22px;letter-spacing:1px;margin-bottom:8px;font-weight:400;overflow-wrap:anywhere}.phrase-row p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.phrase-row p.pinyin{font-size:11px;margin-bottom:3px;color:var(--muted)}.phrase-row small{display:block;font-size:10px;line-height:1.65;color:var(--muted);margin-top:10px}.is-saved{color:var(--muted);background:var(--surface-mint)}.lesson-detail-heading{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:11px;color:var(--muted)}.source-link{display:inline-flex;align-items:center;gap:4px;font-size:11px;margin:0 0 8px}.practice-banner{background:var(--surface-mint);border:1px solid var(--line);border-radius:9px;padding:24px;display:flex;align-items:center;gap:20px;margin-bottom:28px;color:var(--green)}.practice-banner strong{font-size:13px;color:var(--green);font-weight:500}.practice-banner p{font-size:11px;color:var(--muted);margin-top:7px}.practice-banner>span{margin-left:auto;font-family:var(--font-ui);font-size:30px;letter-spacing:6px;opacity:.65;white-space:nowrap}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.scenario-card{background:var(--white);border:1px solid var(--line);border-radius:9px;overflow:hidden;text-align:left;padding:0;transition:box-shadow .2s,transform .2s}.scenario-art{height:207px;display:grid;place-items:center;position:relative;overflow:hidden}.scenario-art>svg{margin-top:-15px}.scenario-art-word{position:absolute;bottom:29px;letter-spacing:5px;font-family:var(--font-ui);opacity:.6;font-size:20px}.scenario-flower{position:absolute;right:-4px;top:6px;font-size:76px;opacity:.13}.scenario-details{padding:21px 19px}.scenario-details .pill{font-size:6px;padding:4px 5px;background:var(--surface);color:var(--muted)}.scenario-details h3{font-family:var(--font-ui);font-size:22px;margin:14px 0 10px;line-height:1.2}.scenario-details>p{font-size:9px;display:flex;align-items:center;gap:4px;color:var(--muted);min-height:31px}.scenario-start{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.practice-footnote{display:flex;gap:13px;align-items:center;justify-content:center;padding:32px 18px;color:var(--muted)}.practice-footnote p{font-size:11px;max-width:540px}.scenario-prompt{background:var(--surface);border-radius:8px;padding:26px;margin:23px 0}.scenario-prompt h3{font-family:var(--font-ui);font-size:26px;line-height:1.4;margin-top:14px}.scenario-session{padding-top:10px}.listen-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:24px;align-items:start}.listening-player{padding:25px 29px;border:1px solid var(--line);border-radius:11px;background:var(--surface-mint);text-align:center}.player-top{display:flex;align-items:center;justify-content:space-between}.player-top .pill{font-size:7px;letter-spacing:1.1px;padding:7px 10px;background:var(--surface);color:var(--muted)}.sound-garden{height:199px;position:relative;display:grid;place-items:center;max-width:280px;margin:0 auto 11px}.sound-ring{position:absolute;width:156px;height:156px;border:1px solid var(--line);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.sound-ring.ring-inner{width:125px;height:125px;border-style:dashed}.sound-center{display:grid;place-items:center;width:93px;height:93px;background:var(--surface-mint);border-radius:50%;color:var(--green);border:1px solid var(--line)}.sound-leaf{position:absolute;width:27px;height:16px;border-radius:2px 19px;background:var(--mint);left:62px;bottom:44px;transform:rotate(29deg)}.sound-star{position:absolute;font-size:32px;color:var(--muted);right:49px;top:37px}.is-speaking .sound-ring{animation:soundpulse 1.6s ease-in-out infinite}.is-speaking .ring-inner{animation-delay:.3s}@keyframes soundpulse{50%{transform:translate(-50%,-50%) scale(1.08);opacity:.4}}.listening-player>.eyebrow{font-size:8px;letter-spacing:1.5px;color:var(--muted)}.listening-phrase{min-height:145px;padding-top:19px;display:flex;align-items:center;flex-direction:column;justify-content:flex-start}.listening-phrase h2{font-family:var(--font-ui);font-size:27px;letter-spacing:1px;line-height:1.6;overflow-wrap:anywhere}.listening-phrase .pinyin{font-size:12px;color:var(--muted);margin-top:8px}.listening-phrase>p:last-child{font-size:12px;color:var(--muted);margin-top:5px}.text-hidden{justify-content:center;padding-bottom:30px}.player-controls{display:flex;align-items:center;justify-content:center;gap:30px;margin:5px 0 21px}.player-controls>.icon-button{color:var(--muted)}.play-button{width:62px;height:62px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:var(--white);box-shadow:0 5px 11px #174d3a14}.play-button:hover{background:var(--green)}.play-button>svg{width:22px}.phrase-dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-bottom:26px;max-height:50px;overflow:auto}.phrase-dots button{width:7px;height:7px;border-radius:50%;padding:0;background:var(--mint);border:3px solid transparent;box-sizing:content-box;background-clip:padding-box}.phrase-dots button.active{background-color:var(--green);width:19px;border-radius:10px}.player-options{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:9px;color:var(--muted)}.player-options label{display:flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap}.player-options input{width:12px;height:12px;accent-color:var(--green);margin:0 1px 0 0}.player-options select{font-size:9px;max-width:100px;padding:5px;border-radius:5px;background:var(--surface);border:1px solid var(--line);color:var(--green)}.listening-queue{padding:20px}.listening-queue .field{font-size:10px;margin:0 0 15px;color:var(--muted)}.listening-queue select{font-size:11px;padding:11px 8px;color:var(--green);background:var(--surface)}.queue-list{max-height:369px;overflow:auto}.queue-item{display:flex;text-align:left;gap:10px;align-items:center;width:100%;padding:14px 8px;border-bottom:1px solid var(--line);border-radius:4px}.queue-item:last-child{border:0}.queue-item:hover,.queue-item.active{background:var(--surface-mint)}.queue-number{color:var(--muted);font-size:10px;width:18px;display:grid;place-items:center;flex-shrink:0}.queue-item strong{display:block;font-size:13px;font-weight:400;color:var(--green);line-height:1.5;overflow-wrap:anywhere}.queue-item small{display:block;color:var(--muted);font-size:9px;line-height:1.5;margin-top:4px}.listening-tip{padding:23px 25px;background:var(--surface-mint);border:1px solid var(--line);border-radius:8px;margin-top:20px;position:relative;overflow:hidden}.listening-tip>span{position:absolute;font-size:74px;color:var(--muted);opacity:.2;right:12px;top:3px}.listening-tip h3{font-family:var(--font-ui);font-size:19px;color:var(--green);max-width:195px;line-height:1.25;position:relative}.listening-tip p{color:var(--muted);font-size:10px;margin-top:10px}.audio-notice{background:var(--surface-mint);border:1px solid var(--line);border-radius:7px;margin-top:20px;padding:16px;display:flex;gap:12px;color:var(--muted);font-size:11px;line-height:1.6}.audio-notice strong{font-weight:500}.audio-notice p{font-size:11px;margin-top:5px}.audio-notice .text-button{font-size:10px;color:var(--green)}.audio-notice>svg{margin-top:3px}.listen-done{font-size:11px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);margin-bottom:18px}.inline-audio-error{font-size:10px;color:var(--muted);margin-top:12px}.progress-summary{display:grid;grid-template-columns:1fr 1.5fr;gap:23px;margin-bottom:26px}.progress-feature{background:var(--surface-mint);border:1px solid var(--line);border-radius:10px;padding:33px 29px;position:relative;overflow:hidden}.big-spark{position:absolute;font-size:116px;top:-32px;right:-10px;color:var(--muted);transform:rotate(12deg)}.progress-feature .eyebrow{color:var(--muted);position:relative}.progress-feature h2{font-family:var(--font-ui);font-size:72px;font-weight:400;margin:13px 0 12px;color:var(--green);line-height:1}.progress-feature h2 span{display:block;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:12px;letter-spacing:0;color:var(--muted);margin-top:6px}.progress-feature>p{font-size:11px;max-width:210px;color:var(--muted);margin:17px 0 24px}.progress-feature .primary-button{font-size:10px}.progress-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.progress-metrics .card{display:flex;flex-direction:column;align-items:flex-start;padding:20px}.progress-metrics svg{color:var(--muted)}.progress-metrics strong{font-size:27px;font-weight:400;margin-top:14px;line-height:1.1}.progress-metrics strong small{font-size:13px;color:var(--muted)}.progress-metrics span{font-size:10px;color:var(--muted);margin-top:6px}.progress-metrics .card>small{font-size:8px;color:var(--muted);line-height:1.5;margin-top:7px}.activity-card{padding:27px 30px}.activity-chart{display:flex;justify-content:space-around;gap:15px;padding:11px 0 20px;border-bottom:1px solid var(--line);margin-bottom:14px}.activity-column{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.activity-column>span{height:13px;color:var(--muted)}.activity-bar-space{height:130px;width:100%;max-width:36px;display:flex;align-items:flex-end;background:linear-gradient(#ffffff00,var(--surface));border-radius:5px}.activity-bar{width:100%;background:var(--mint);border-radius:4px}.activity-column.today .activity-bar{background:var(--mint-accent)}.activity-column strong{font-size:10px;font-weight:400;margin-top:5px}.activity-column small{font-size:8px}.progress-bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.progress-bottom>.card{padding:25px}.progress-bottom>.card>svg{color:var(--muted)}.progress-bottom h3{font-family:var(--font-ui);font-size:23px;letter-spacing:-.5px;margin:13px 0 10px}.progress-bottom p{font-size:11px;color:var(--muted);margin-bottom:17px}.progress-bottom .text-button{margin-top:17px}.progress-bottom p.helper{font-size:10px;margin:0}.progress-track{height:5px;overflow:hidden;background:var(--surface-mint);border-radius:5px}.progress-track>div{height:100%;background:var(--mint-accent);transition:width .4s ease;border-radius:5px}.progress-track.small{height:3px}.modal-backdrop{position:fixed;inset:0;background:#174d3a70;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:100;display:flex;align-items:flex-start;justify-content:center;padding:45px 20px;overflow:auto;overscroll-behavior:contain;animation:fade-in .15s ease}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.modal{width:100%;max-width:580px;max-height:none;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 90px #174d3a25;padding:28px 30px;outline:none;position:relative}.modal-wide{max-width:690px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:15px;border-bottom:1px solid var(--line)}.modal-heading h2{font-family:var(--font-ui);font-size:25px;font-weight:400;line-height:1.2}.modal-heading .icon-button{color:var(--muted);width:30px;height:30px}.modal-intro{color:var(--muted);font-size:12px;margin:17px 0 23px}.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:17px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.modal-footer>span{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted)}.modal-footer .primary-button{font-size:10px}.field{display:flex;flex-direction:column;gap:9px;font-size:11px;color:var(--green);margin-bottom:19px;font-weight:500}.field>span{display:inline;font-size:9px;color:var(--muted);font-weight:400}.field input,.field textarea,.field select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink);font-weight:400;font-size:12px;line-height:1.6}.field input::placeholder,.field textarea::placeholder{color:var(--muted)}.field textarea{resize:vertical;min-height:75px}.field input:focus,.field textarea:focus,.field select:focus{background:var(--white)}.import-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0 19px}.import-sources button{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:16px 5px;font-size:11px;color:var(--muted);background:var(--white)}.import-sources button.selected{background:var(--surface-mint);border-color:var(--line-strong);color:var(--green)}.import-guide{padding:19px 21px;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-bottom:23px}.import-guide strong{font-size:12px;font-weight:500;color:var(--green)}.import-guide p{font-size:11px;color:var(--muted);margin:8px 0}.import-guide small{font-size:10px;color:var(--muted);line-height:1.6;display:block}.import-actions{display:flex;align-items:center;justify-content:space-between;margin-top:-4px;margin-bottom:21px}.optional-field>span{font-size:9px;margin-top:-4px}.form-error{background:var(--surface);border:1px solid var(--line);color:var(--green);padding:12px 15px;border-radius:6px;font-size:11px;line-height:1.7;margin:12px 0}.review-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px}.review-summary>span:last-child{font-size:10px;color:var(--muted)}.helper{font-size:11px;color:var(--muted);line-height:1.7}.centered{text-align:center}.draft-phrases{margin-top:21px}.draft-phrase{display:flex;gap:15px;padding:20px 0;border-top:1px solid var(--line)}.draft-phrase>div:nth-child(2){flex:1;min-width:0}.draft-number{font-size:10px;color:var(--muted);padding-top:28px}.draft-phrase .field{margin-bottom:12px}.draft-phrase .icon-button{width:25px;height:25px;margin-top:20px;color:var(--muted)}.draft-phrase .field input{font-size:12px}.review-summary+.helper{margin-bottom:20px}.study-content{padding-top:22px}.study-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:9px;letter-spacing:1px;margin-bottom:12px}.study-prompt{text-align:center;padding:33px 15px 25px}.study-prompt .eyebrow{font-size:8px;color:var(--muted)}.study-prompt h3{font-family:var(--font-ui);font-size:32px;line-height:1.4;letter-spacing:-.7px;margin:16px 0 14px;overflow-wrap:anywhere}.study-prompt>p{font-size:11px;color:var(--muted)}.recall-field{max-width:460px;margin:0 auto 21px}.recall-field>span{display:inline}.recall-field textarea{font-size:12px}.reveal-button{display:flex;margin:22px auto 14px;min-width:230px}.revealed-phrase{background:var(--surface-mint);border:1px solid var(--line);border-radius:9px;padding:22px 25px;text-align:center;position:relative}.phrase-tools{display:flex;align-items:center;justify-content:space-between;gap:8px}.phrase-tools .eyebrow{font-size:7px;letter-spacing:1px}.revealed-phrase h3{font-family:var(--font-ui);font-size:30px;font-weight:400;line-height:1.6;letter-spacing:1px;margin:12px 0;overflow-wrap:anywhere}.revealed-phrase>.pinyin{font-size:13px;color:var(--muted);margin-bottom:10px}.revealed-phrase>p:not(.pinyin){font-size:12px;color:var(--muted);margin-bottom:10px;overflow-wrap:anywhere}.revealed-phrase>.audio-button{margin-top:6px;background:var(--surface-mint);border-color:var(--line)}.revealed-phrase>.your-answer{margin-top:16px;font-size:11px;color:var(--muted)}.phrase-note{display:flex;gap:10px;text-align:left;border-top:1px solid var(--line);padding-top:14px;margin-top:19px;font-size:10px;line-height:1.6;color:var(--muted)}.phrase-note svg{margin-top:3px}.rating-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 0 13px;font-size:11px;color:var(--muted)}.rating-heading strong{font-weight:500}.rating-heading>span{font-size:10px;color:var(--muted)}.rating-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rating{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:14px 6px;text-align:center;color:var(--green)}.rating.again,.rating.hard{background:var(--surface);border-color:var(--line);color:var(--muted)}.rating.easy{background:var(--surface-mint);border-color:var(--line);color:var(--green)}.rating>span{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:500}.rating small{font-size:9px;display:block;margin-top:9px;opacity:.75}.rating:hover{filter:brightness(.97)}.session-complete{text-align:center;padding:38px 10px 23px}.complete-sun{background:var(--surface-mint);color:var(--muted);border-radius:50%;width:85px;height:85px;display:grid;place-items:center;margin:0 auto 24px;box-shadow:0 0 0 12px var(--line-strong)}.session-complete>.eyebrow{font-size:8px;color:var(--muted);margin-top:36px}.session-complete h3{font-family:var(--font-ui);font-size:35px;font-weight:400;letter-spacing:-1px;margin:16px 0}.session-complete>p{font-size:12px;color:var(--muted)}.session-stats{display:flex;justify-content:center;gap:50px;margin:31px 0}.session-stats>div{display:flex;flex-direction:column;align-items:center;gap:9px}.session-stats strong{font-size:28px;font-weight:400;color:var(--green)}.session-stats span{font-size:10px;color:var(--muted)}.settings-section{padding:25px 0;border-bottom:1px solid var(--line)}.settings-section h3{font-family:var(--font-ui);font-size:23px;font-weight:400;display:flex;align-items:center;gap:9px;margin-bottom:15px;letter-spacing:-.4px}.settings-section>p{font-size:11px;color:var(--muted);margin:10px 0 15px}.settings-section>p.helper{font-size:10px;color:var(--muted)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}.setting-row strong{display:block;font-size:11px;font-weight:500;color:var(--muted)}.setting-row small{display:block;font-size:9px;color:var(--muted);line-height:1.6;margin-top:5px}.setting-row select{border:1px solid var(--line);border-radius:5px;padding:8px;font-size:10px;background:var(--surface);color:var(--muted)}.setting-row input[type=checkbox]{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}.voice-status{display:flex;gap:12px;background:var(--surface-mint);border-radius:6px;padding:16px;color:var(--muted)}.voice-status strong{font-size:11px;font-weight:500}.voice-status p{font-size:10px;color:var(--muted);margin-top:8px}.inline-icon{display:inline-block;vertical-align:middle;margin:0 2px}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:17px}.justify-center{justify-content:center}.restore-confirm{background:var(--surface-mint);border:1px solid var(--line);border-radius:7px;padding:16px;margin-top:20px;color:var(--muted)}.restore-confirm strong{font-size:12px;font-weight:500}.restore-confirm p{font-size:11px;margin-top:9px}.settings-signoff{text-align:center;font-family:var(--font-ui);font-size:15px;color:var(--muted);line-height:1.7;padding:23px 0 0}.settings-signoff>span{display:block;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:8px;color:var(--muted);letter-spacing:.4px;margin-top:5px}.toast{position:fixed;bottom:25px;left:calc(50% + 110px);transform:translate(-50%);z-index:120;background:var(--green);color:var(--white);border:1px solid var(--line-strong);box-shadow:0 5px 30px #174d3a25;display:flex;align-items:center;gap:11px;padding:15px 19px;border-radius:8px;font-size:12px;max-width:calc(100% - 40px);animation:fade-in .2s ease}.toast>button{color:var(--muted);display:grid;place-items:center;margin-left:10px;padding:3px}.storage-notice{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-bottom:20px;padding:15px;background:var(--surface-mint);border:1px solid var(--line);border-radius:7px;font-size:11px;color:var(--muted)}.storage-notice .text-button{white-space:nowrap}@media(min-width:1450px){.hero-content{padding:35px 41px}.hero{min-height:365px}.hero h2{font-size:57px}.hero-content>p{font-size:12px}.hero .pill{font-size:8px}.hero-footnote{font-size:9px}.hero-button{font-size:12px}.mandarin-art{right:26px;transform:scale(1.1);transform-origin:100% 50%}.stats-strip p{font-size:10px}.stats-strip strong>span{font-size:12px}.section-heading p,.featured-body p,.small-plan p{font-size:11px}.featured-body h3{font-size:27px}.small-plan h3{font-size:22px}.featured-body .eyebrow,.small-plan .eyebrow{font-size:8px}.featured-footer{font-size:10px}.pocket-phrase p:not(.pinyin),.pocket-phrase .pinyin{font-size:12px}.pocket-note{font-size:10px}.week-card>p{font-size:11px}.week-caption{font-size:10px}.week-dots>div>div{width:31px;height:31px}.week-dots>div>span{font-size:10px}.page-signoff{font-size:10px}.sidebar{width:248px}.app-shell{margin-left:248px}.brand-tagline,.sidebar-note p{font-size:11px}.nav-item{font-size:13px}}@media(max-width:1150px){.sidebar{width:213px;padding-right:16px;padding-left:16px}.app-shell{margin-left:213px}.topbar{padding:0 29px}main{padding:30px 29px 10px}.app-footer{padding:15px 29px 20px}.hero-content{padding:29px;width:67%}.hero h2{font-size:47px}.hero-content>p{max-width:290px}.hero-content .desktop-only{display:none}.mandarin-art{transform:scale(.88);transform-origin:100% 50%;right:-13px}.stats-strip>div{padding:0 15px;gap:9px}.stat-icon{width:32px;height:32px}.stat-icon svg{width:19px}.stats-strip strong{font-size:18px}.stats-strip p{font-size:7px}.goal-ring{width:33px;height:33px}.today-heading h1{font-size:26px}.featured-body h3{font-size:21px}.small-plan{padding:20px 15px;gap:10px}.plan-icon{width:36px;height:36px}.small-plan h3{font-size:17px}.small-plan p{font-size:8px}.today-plan,.today-bottom{gap:15px}.phrase-of-day{padding:19px}.week-card{padding:20px 17px}.week-dots>div>div{width:22px;height:22px}.phrase-day-top .pill{font-size:5px}.pocket-phrase h3{font-size:24px}.pocket-phrase p:not(.pinyin){font-size:9px}.pocket-phrase .pinyin{font-size:9px}.week-caption{font-size:7px}.listen-layout{grid-template-columns:1.25fr 1fr;gap:17px}.listening-player{padding:21px}.listening-phrase h2{font-size:23px}.player-options{flex-wrap:wrap;justify-content:center;gap:12px}.scenario-grid{gap:14px}.scenario-details{padding:18px 15px}.scenario-details h3{font-size:21px}.scenario-details p{font-size:8px}.progress-summary{grid-template-columns:1fr 1.4fr;gap:17px}.progress-metrics{gap:12px}.progress-metrics .card{padding:18px}.progress-feature{padding:28px 23px}.progress-feature>p{font-size:10px}.practice-banner>span{font-size:24px;letter-spacing:4px}}@media(max-width:950px)and (min-width:761px){.sidebar{width:185px;padding:27px 12px 0}.app-shell{margin-left:185px}.sidebar-note{padding:17px 13px}.sidebar-note-flower{right:6px;top:9px;font-size:29px}.sidebar-note h3{font-size:19px}.brand-tagline{font-size:8px;margin-bottom:34px}.sidebar-section-label{font-size:7px}.nav-item{font-size:11px}.sidebar-footer{font-size:6px;gap:4px}.sidebar-bottom .nav-item{font-size:9px}.topbar{padding:0 22px;height:75px}.topbar-date{display:none}main{padding:27px 22px 10px}.today-heading h1{font-size:23px}.heading-doodle{font-size:32px}.hero-content{padding:24px;width:70%}.hero h2{font-size:43px}.hero-content>p{font-size:9px;max-width:245px}.hero-button{font-size:9px}.hero{min-height:340px}.mandarin-art{transform:scale(.72);right:-23px;transform-origin:100% 60%}.hero .pill{font-size:6px}.stats-strip{grid-template-columns:1fr 1fr;gap:18px 0}.stats-strip>div{padding:0 22px}.stats-strip>div:nth-child(2){border:0}.stats-strip p{font-size:8px}.today-plan{grid-template-columns:1fr}.featured-body h3{font-size:24px}.featured-header{margin-bottom:13px}.plan-side{flex-direction:row;gap:12px}.small-plan{padding:20px 15px;flex-wrap:wrap;gap:10px}.small-plan>div{min-width:100%}.small-plan>svg{position:absolute;right:16px;top:30px}.small-plan{position:relative}.small-plan h3{font-size:18px}.small-plan p{font-size:9px}.today-bottom{grid-template-columns:1fr}.week-dots{margin-top:16px}.week-dots>div>div{width:31px;height:31px}.week-caption{font-size:9px}.phrase-day-top .pill{font-size:7px}.pocket-phrase h3{font-size:29px}.pocket-phrase p:not(.pinyin),.pocket-phrase .pinyin{font-size:11px}.page-title h1{font-size:29px}.page-title.with-action{align-items:flex-start;flex-direction:column}.lesson-toolbar{flex-wrap:wrap}.search-field{width:100%}.lesson-card-body{padding:18px}.lesson-card-body h3{font-size:21px}.lesson-art-text{font-size:29px;letter-spacing:4px}.listen-layout{grid-template-columns:1fr}.listen-sidebar{display:grid;grid-template-columns:1fr;gap:15px}.listening-tip{margin-top:0}.scenario-grid{grid-template-columns:1fr}.scenario-card{display:flex}.scenario-art{width:35%;min-width:35%;height:auto;min-height:210px}.scenario-details{flex:1;padding:24px}.practice-banner>span{display:none}.progress-summary{grid-template-columns:1fr}.progress-feature{padding:25px;min-height:240px}.progress-feature h2{font-size:60px}.progress-feature .primary-button{position:absolute;right:27px;bottom:27px}.progress-feature>p{margin-bottom:0}.progress-bottom{grid-template-columns:1fr;gap:17px}}@media(max-width:760px){:root{font-size:14px}.sidebar{transform:translate(-100%);transition:transform .22s;z-index:90;width:257px;padding:27px 20px 0;box-shadow:10px 0 50px #174d3a15}.sidebar.mobile-open{transform:translate(0)}.mobile-nav-overlay{position:fixed;inset:0;background:#174d3a55;z-index:80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sidebar-brand{display:flex;align-items:center;justify-content:space-between}.sidebar-brand .mobile-only{display:flex}.sidebar .brand-tagline{font-size:11px}.sidebar .nav-item{font-size:13px;min-height:50px}.sidebar .sidebar-section-label{font-size:9px}.sidebar .sidebar-note p{font-size:11px}.sidebar .sidebar-note h3{font-size:23px}.sidebar .sidebar-footer{font-size:9px}.sidebar-note{margin-top:26px}.sidebar-bottom{padding-bottom:env(safe-area-inset-bottom)}.app-shell{margin-left:0;padding-bottom:80px}.topbar{height:73px;padding:env(safe-area-inset-top) 23px 0;background:var(--surface)}.desktop-breadcrumb{display:none}.mobile-header{display:flex;align-items:center;gap:6px;margin-left:-9px}.mobile-header>.icon-button{color:var(--green);width:32px}.mobile-header .brand{font-size:32px;gap:6px}.mobile-header .brand-mark{width:30px;height:30px}.mobile-header .brand-mark svg{width:18px}.topbar-right{gap:12px}.topbar-date{display:none}.streak-pill{font-size:9px;padding:7px 9px;gap:4px}.streak-pill strong{font-size:11px}.streak-pill svg{width:15px}.avatar{width:29px;height:29px;font-size:12px}main{padding:29px 23px 10px}.today-heading{margin-bottom:23px}.today-heading h1{font-size:29px;max-width:320px;line-height:1.2;margin-top:9px}.today-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.heading-doodle{font-size:35px;margin-right:0;margin-top:19px}.hero{min-height:360px;border-radius:10px}.hero-content{width:65%;padding:29px 25px}.hero h2{font-size:49px;line-height:1.08;letter-spacing:-1.6px;margin-top:19px}.hero .pill{font-size:6px;letter-spacing:.5px;padding:6px 7px;white-space:nowrap}.hero-content>p{font-size:11px;max-width:290px;line-height:1.8}.hero-button{font-size:10px;gap:15px;padding:12px 14px;min-height:43px}.hero-footnote{font-size:8px;margin-top:19px;gap:5px}.mini-avatar{width:17px;height:17px;flex-shrink:0;font-size:7px}.mandarin-art{transform:scale(.8);right:-20px;transform-origin:100% 55%;width:44%}.stats-strip{grid-template-columns:1fr 1fr;padding:21px 0;margin:22px 0 29px;gap:21px 0}.stats-strip>div{padding:0 22px;gap:13px}.stats-strip>div:nth-child(2){border:0}.stat-icon{width:37px;height:37px}.stat-icon svg{width:21px}.stats-strip strong{font-size:23px}.stats-strip strong>span{font-size:10px}.stats-strip p{font-size:9px;margin-top:6px;white-space:normal}.goal-ring{width:37px;height:37px}.section-heading{margin-bottom:18px}.section-heading h2{font-size:25px}.section-heading p{font-size:11px;margin-top:7px}.today-plan{grid-template-columns:1fr;gap:16px;margin-bottom:22px}.featured-lesson{padding:23px 25px 0}.featured-header{margin-bottom:20px;gap:11px}.featured-header .pill,.featured-body .eyebrow,.small-plan .eyebrow{font-size:8px}.featured-body h3{font-size:27px;margin-top:9px}.featured-body p{font-size:11px;margin:8px 0 21px}.featured-footer{font-size:10px;padding:13px 0}.plan-side{gap:13px}.small-plan{padding:23px 21px;gap:17px}.plan-icon{height:45px;width:45px}.small-plan h3{font-size:21px;margin-top:7px;margin-bottom:5px}.small-plan p{font-size:11px}.today-bottom{grid-template-columns:1fr;gap:18px}.phrase-of-day{padding:24px}.phrase-day-top .eyebrow{font-size:8px}.phrase-day-top .pill{font-size:7px}.pocket-phrase{margin:23px 0 15px}.pocket-phrase h3{font-size:30px;letter-spacing:3px}.pocket-phrase p:not(.pinyin){font-size:12px}.pocket-phrase .pinyin{font-size:11px;margin:10px 0 5px}.pocket-note{font-size:10px;padding-top:14px}.week-card{padding:25px 25px 21px}.week-card .section-heading h3{font-size:23px}.week-card>p{font-size:11px}.week-dots{margin:23px 0;gap:10px}.week-dots>div>span{font-size:10px}.week-dots>div>div{width:32px;height:32px}.week-caption{font-size:10px;padding-top:16px}.page-signoff{font-size:8px;gap:10px;padding:29px 0 14px}.app-footer{padding:10px 23px 25px;font-size:8px}.app-footer button{font-size:8px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);padding:10px 11px calc(9px + env(safe-area-inset-bottom));z-index:60;justify-content:space-around;box-shadow:0 -5px 20px #174d3a03}.bottom-nav>button{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);padding:4px 10px;min-width:52px}.bottom-nav>button>span{font-size:9px;letter-spacing:.1px}.bottom-nav>button.active{color:var(--green)}.bottom-nav>button.active svg{stroke:var(--green)}.bottom-nav>button.active>span{font-weight:600}.page-title{margin:0 0 26px}.page-title .eyebrow{font-size:8px}.page-title h1{font-size:32px;line-height:1.17;margin:10px 0 13px}.page-title>p,.page-title>div>p{font-size:12px}.page-title.with-action{flex-direction:column;align-items:flex-start;gap:18px}.page-title .primary-button{font-size:11px}.lesson-toolbar{flex-direction:column;align-items:stretch;gap:19px;padding-bottom:25px}.tabs{gap:5px;justify-content:space-between}.tabs button{font-size:12px;padding:12px 9px}.search-field{width:100%;padding:13px}.search-field input{font-size:12px}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.lesson-art{height:145px}.lesson-art-text{font-size:29px;letter-spacing:3px}.lesson-art .pill{font-size:6px;top:12px;left:12px}.lesson-card-body{padding:18px}.lesson-card-body .eyebrow{font-size:7px;letter-spacing:.9px}.lesson-card-body h3{font-size:22px;line-height:1.2}.lesson-card-body>p{font-size:10px;min-height:34px}.lesson-card-meta{font-size:9px;margin-top:20px}.lesson-card-body>small{font-size:8px}.library-note p{font-size:11px}.saved-heading{font-size:10px;gap:10px}.saved-heading .text-button{font-size:10px}.phrase-row h3{font-size:23px}.phrase-row p{font-size:12px}.phrase-row p.pinyin{font-size:11px}.phrase-row .icon-button{width:32px;height:32px}.phrase-list.card{padding:0 17px}.phrase-row{gap:8px}.practice-banner{padding:20px;gap:15px;margin-bottom:24px;align-items:flex-start}.practice-banner strong{font-size:12px;line-height:1.6;display:block}.practice-banner p{font-size:11px}.practice-banner>svg{width:24px;margin-top:3px}.practice-banner>span{display:none}.scenario-grid{grid-template-columns:1fr;gap:18px}.scenario-card{display:flex}.scenario-art{width:34%;min-width:34%;height:auto;min-height:216px}.scenario-art>svg{width:51px;margin-top:-20px}.scenario-art-word{font-size:19px;bottom:39px;letter-spacing:4px}.scenario-flower{font-size:66px;right:-14px}.scenario-details{padding:22px;flex:1;min-width:0}.scenario-details .pill{font-size:6px}.scenario-details h3{font-size:25px;margin:13px 0 11px}.scenario-details p{font-size:10px;line-height:1.6;min-height:auto}.scenario-start{font-size:10px;margin-top:20px;padding-top:14px}.practice-footnote{padding:27px 4px;align-items:flex-start;gap:9px}.practice-footnote p{font-size:11px}.practice-footnote>svg{margin-top:3px}.listen-layout{grid-template-columns:1fr;gap:21px}.listening-player{padding:22px 24px 24px}.sound-garden{height:191px;margin-bottom:16px}.listening-phrase{min-height:155px;padding-top:19px}.listening-phrase h2{font-size:28px}.listening-phrase .pinyin{font-size:12px;margin-top:10px}.listening-phrase>p:last-child{font-size:12px;margin-top:7px}.player-controls{gap:38px;margin:6px 0 19px}.play-button{width:63px;height:63px}.player-options{font-size:10px;justify-content:space-between;gap:8px}.player-options input{width:14px;height:14px}.player-options select{font-size:10px;max-width:110px;padding:7px}.listening-queue{padding:22px}.listening-queue .field{font-size:11px}.listening-queue select{font-size:13px;padding:12px}.queue-item{padding:17px 10px;gap:13px}.queue-item strong{font-size:15px}.queue-item small{font-size:11px}.queue-number{font-size:11px;width:21px}.listening-tip{padding:25px;margin-top:20px}.listening-tip h3{font-size:23px;max-width:250px}.listening-tip p{font-size:12px;margin-top:14px}.listening-tip>span{font-size:93px;right:18px;top:10px}.progress-summary{grid-template-columns:1fr;gap:19px}.progress-feature{padding:30px;min-height:270px}.progress-feature .eyebrow{font-size:8px}.progress-feature h2{font-size:72px}.progress-feature h2 span{font-size:13px}.progress-feature>p{font-size:12px;max-width:190px;margin-bottom:0}.progress-feature .primary-button{position:absolute;right:25px;bottom:29px;font-size:10px;padding:12px;gap:5px}.progress-metrics{gap:13px}.progress-metrics .card{padding:22px 18px}.progress-metrics strong{font-size:32px}.progress-metrics span{font-size:10px}.progress-metrics .card>small{font-size:9px}.activity-card{padding:25px 22px}.activity-chart{gap:13px}.activity-card .section-heading h2{font-size:24px}.activity-card .section-heading p{font-size:10px}.activity-card>.helper{font-size:10px}.progress-bottom{grid-template-columns:1fr;gap:18px;margin-top:20px}.progress-bottom>.card{padding:26px}.progress-bottom h3{font-size:25px}.progress-bottom p{font-size:12px}.progress-bottom p.helper{font-size:11px}.modal-backdrop{padding:20px 13px calc(25px + env(safe-area-inset-bottom));align-items:flex-start}.modal{padding:23px 22px;border-radius:11px;max-width:560px}.modal-heading h2{font-size:25px}.modal-intro{font-size:12px;margin:19px 0}.modal-heading{padding-bottom:17px}.modal-heading .icon-button{width:32px;height:32px}.modal-footer{gap:13px;flex-wrap:wrap}.modal-footer>span{font-size:9px}.modal-footer .primary-button{font-size:11px;padding:12px 15px}.import-sources{gap:7px}.import-sources button{font-size:11px;padding:17px 5px}.import-guide{padding:19px}.import-guide strong,.import-guide p{font-size:12px}.import-guide small{font-size:11px}.field{font-size:12px;gap:9px}.field input,.field textarea,.field select{font-size:16px;padding:11px 12px;line-height:1.6}.field textarea::placeholder{font-size:13px}.draft-phrase .field input{font-size:16px}.draft-phrase{gap:8px}.draft-number{width:19px;font-size:9px}.draft-phrase .icon-button{width:24px}.review-summary{align-items:flex-start}.review-summary>span:last-child{font-size:10px;max-width:165px}.study-prompt{padding:30px 0 24px}.study-prompt h3{font-size:31px;line-height:1.3;margin:15px 0 17px}.study-prompt>p{font-size:12px}.study-meta{font-size:8px}.recall-field textarea{font-size:16px}.revealed-phrase{padding:17px 18px}.revealed-phrase h3{font-size:28px;margin:17px 0 13px}.revealed-phrase>.pinyin{font-size:13px;line-height:1.8}.phrase-note{font-size:11px;gap:8px}.phrase-tools .eyebrow{font-size:7px}.rating-buttons{gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}.rating{padding:16px 7px}.rating>span{font-size:12px}.rating small{font-size:10px}.rating-heading{font-size:12px;flex-wrap:wrap;gap:7px}.rating-heading>span{font-size:10px}.reveal-button{font-size:12px;min-height:46px;min-width:240px}.study-content>.helper{font-size:11px;max-width:270px;margin:0 auto}.session-complete{padding:35px 0 16px}.session-complete h3{font-size:31px}.session-complete>p{font-size:12px}.session-stats{gap:45px}.scenario-prompt{padding:24px 20px}.scenario-prompt h3{font-size:25px}.settings-section h3{font-size:24px}.settings-section>p{font-size:12px}.setting-row strong{font-size:12px}.setting-row small{font-size:10px}.setting-row select{font-size:16px;max-width:137px}.voice-status p{font-size:11px}.settings-section>p.helper{font-size:11px}.voice-status strong{font-size:12px}.settings-signoff{font-size:16px}.settings-signoff>span{font-size:9px}.toast{bottom:calc(85px + env(safe-area-inset-bottom));left:50%;width:max-content;max-width:calc(100% - 36px);font-size:12px;padding:15px}.toast>button{margin-left:3px}.storage-notice{font-size:11px;flex-wrap:wrap;gap:5px}.offline-tag{font-size:0;gap:0}.page-title.with-action .primary-button{min-height:43px}}@media(max-width:480px){.hero{min-height:390px}.hero-content{width:100%;padding:25px 22px}.hero h2{font-size:47px;margin-top:20px;position:relative;z-index:2}.hero-content>p{max-width:203px;font-size:10px;margin-top:18px;line-height:1.9}.hero-button{margin-top:21px;font-size:10px;position:relative;z-index:2}.hero .pill{font-size:6px}.hero-footnote{font-size:7px;gap:5px;position:relative;z-index:2}.mandarin-art{transform:scale(.62);transform-origin:100% 80%;right:-21px;top:-2px;width:75%;z-index:1;pointer-events:none}.art-tag{font-size:17px}.hero-content{pointer-events:none}.hero-content button{pointer-events:auto}.hero-footnote{max-width:230px}.hero-footnote>span:last-child{padding:3px 0;background:#fffc}.today-heading h1{font-size:26px;max-width:265px;line-height:1.25}.today-heading{gap:9px}.heading-doodle{font-size:30px}.stats-strip>div{padding:0 17px;gap:10px}.stats-strip strong{font-size:22px}.stats-strip strong>span{font-size:9px}.stats-strip p{font-size:8px}.stat-icon,.goal-ring{width:34px;height:34px}.lesson-grid{grid-template-columns:1fr;gap:22px}.lesson-art{height:164px}.lesson-art-text{font-size:37px;letter-spacing:6px}.lesson-art .pill{font-size:7px;top:15px;left:19px}.lesson-card-body{padding:23px}.lesson-card-body h3{font-size:28px}.lesson-card-body .eyebrow{font-size:8px}.lesson-card-body>p{font-size:12px;min-height:0}.lesson-card-meta{font-size:11px;margin-top:23px}.lesson-card-body>small{font-size:10px}.scenario-details{padding:21px 18px}.scenario-details h3{font-size:23px}.scenario-art{width:31%;min-width:31%}.scenario-details p{font-size:9px}.scenario-start{font-size:9px;gap:5px}.scenario-start>svg{width:16px}.scenario-art>svg{width:44px}.scenario-art-word{font-size:17px;letter-spacing:2px}.scenario-flower{font-size:63px}.progress-feature{padding:28px;min-height:309px}.progress-feature>p{max-width:250px;font-size:11px;margin-bottom:15px}.progress-feature .primary-button{position:static;font-size:10px;padding:11px 13px}.progress-feature h2{margin:18px 0}.practice-banner{padding:20px 17px;gap:11px}.practice-banner strong{font-size:11px}.practice-banner p{font-size:10px}.listening-player{padding:22px 19px}.listening-phrase h2{font-size:27px}.listening-phrase .pinyin{font-size:11px}.player-options{gap:9px;justify-content:center;font-size:9px}.player-options select{font-size:10px;padding:6px}.listening-tip p{font-size:11px}.modal-backdrop{padding:12px 9px 30px}.modal{padding:20px 18px}.modal-heading h2{font-size:24px}.modal-intro{font-size:11px}.modal-footer>span{font-size:8px}.modal-footer .primary-button,.modal-footer .text-button{font-size:10px}.study-prompt h3{font-size:29px}.revealed-phrase h3{font-size:26px}.session-complete h3{font-size:29px}.phrase-row h3{font-size:21px;letter-spacing:.5px}.phrase-row .icon-button{width:30px;height:30px}.phrase-row{gap:6px}.phrase-row small{font-size:10px}.settings-section h3{font-size:23px}.setting-row select{max-width:125px}.button-row .secondary-button{padding:11px 12px;font-size:10px}.primary-button,.secondary-button{min-height:44px}.form-error{font-size:11px}.restore-confirm .primary-button{font-size:10px;padding:12px}.setting-row{gap:9px}.section-heading h2{font-size:24px}.small-plan{padding:22px 17px;gap:13px}.small-plan h3{font-size:20px}.small-plan p{font-size:10px}.small-plan .eyebrow{font-size:7px}.featured-body h3{font-size:25px}.featured-lesson{padding:23px 22px 0}.phrase-of-day{padding:22px 20px}.pocket-phrase h3{font-size:27px;letter-spacing:2px}.pocket-phrase p:not(.pinyin){font-size:11px}.pocket-phrase .pinyin{font-size:10px}.phrase-day-top .pill{font-size:6px}.pocket-note{font-size:9px}.page-signoff{font-size:7px;gap:7px}.page-signoff>span:first-child{font-size:11px}.progress-metrics .card{padding:20px 17px}.progress-metrics span{font-size:9px}.progress-metrics .card>small{font-size:8px}.streak-pill>span{font-size:8px}.topbar-right{gap:9px}.app-footer,.app-footer button{font-size:7px}}@media(max-width:370px){main{padding-left:16px;padding-right:16px}.topbar{padding-left:17px;padding-right:17px}.today-heading h1{font-size:24px}.hero-content{padding:23px 20px}.hero h2{font-size:44px}.mandarin-art{transform:scale(.55);right:-26px}.stats-strip>div{padding:0 13px;gap:9px}.stats-strip strong{font-size:21px}.stats-strip strong>span{font-size:8px}.stats-strip p{font-size:7px}.stat-icon,.goal-ring{width:31px;height:31px}.small-plan h3{font-size:19px}.small-plan p{font-size:9px}.small-plan .eyebrow{font-size:6px}.plan-icon{width:39px;height:39px}.featured-body h3{font-size:24px}.phrase-day-top .pill{font-size:5px}.week-dots{gap:4px}.week-dots>div>div{width:29px;height:29px}.week-caption{font-size:9px}.pocket-phrase h3{font-size:25px}.pocket-phrase p:not(.pinyin){font-size:10px}.tabs button{font-size:10px;padding:12px 7px}.tabs button>span{font-size:8px;margin-left:3px}.page-title h1{font-size:30px}.modal-heading h2{font-size:22px}.scenario-details{padding:21px 15px}.scenario-details h3{font-size:22px}.listening-phrase h2{font-size:24px}.listening-phrase .pinyin{font-size:10px}.listening-phrase>p:last-child{font-size:11px}.player-options{font-size:8px;gap:7px}.player-options select{font-size:9px}.player-options input{width:12px;height:12px}.player-options svg{width:14px}.settings-section h3{font-size:21px}.setting-row select{max-width:119px}.modal-footer{gap:12px}.modal-footer>span{font-size:7px}.modal-footer .primary-button{font-size:9px;padding:11px 12px}.toast{font-size:11px;padding:13px}.import-guide{padding:16px}.study-prompt h3{font-size:27px}.revealed-phrase h3{font-size:24px}.bottom-nav>button{padding:4px 8px}.bottom-nav>button>span{font-size:8px}.phrase-list.card{padding:0 14px}.phrase-row h3{font-size:19px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.learning-steps{display:flex;justify-content:center;gap:26px;padding:24px 0 0;color:var(--muted);text-transform:uppercase;font-size:9px;letter-spacing:1px}.learning-steps span{padding-bottom:8px;border-bottom:2px solid transparent}.learning-steps .active{color:var(--green);border-color:var(--line-strong)}.phase-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--surface-mint);color:var(--muted);margin:0 auto 22px}.reveal-text{display:flex;margin:20px auto 0}.rating-buttons.three{grid-template-columns:repeat(3,minmax(0,1fr))}.recognition-check{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:17px}.account-status{display:flex;align-items:center;gap:17px;background:var(--surface-mint);border:1px solid var(--line);padding:23px;border-radius:8px;color:var(--green);margin:23px 0 18px}.account-status strong{font-size:15px;font-weight:500}.account-status p{font-size:11px;color:var(--muted);margin-top:6px}.token-panel{border:1px solid var(--line);background:var(--surface);padding:16px;border-radius:7px;margin-top:19px;color:var(--muted)}.token-panel strong{font-size:12px;font-weight:500}.token-panel p{font-size:11px;margin:9px 0 16px}.intake-tabs{display:flex;gap:12px;border-bottom:1px solid var(--line);margin:17px 0 22px}.intake-tabs button{display:flex;align-items:center;gap:8px;padding:11px 15px 14px;color:var(--muted);font-size:12px;border-bottom:2px solid transparent}.intake-tabs button.selected{color:var(--green);border-color:var(--line-strong)}.intake-tabs button span{padding:1px 5px;background:var(--surface-mint);border-radius:4px;font-size:10px}.two-fields{display:grid;grid-template-columns:1.5fr 1fr;gap:15px}.file-upload-label{cursor:pointer;font-size:11px}.inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted);margin-bottom:20px}.inbox-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid var(--line)}.inbox-row h3{font-family:var(--font-ui);font-size:22px;margin:13px 0 9px}.inbox-row p{font-size:11px;color:var(--muted);max-width:400px}.inbox-row small{color:var(--muted);display:block;margin-top:10px;font-size:10px}.tutor-prep{white-space:pre-wrap;font:12px/1.9 Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--muted);max-height:55vh;overflow:auto;padding:23px;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin:20px 0}.mastery-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.mastery-filters button{border:1px solid var(--line);padding:7px 10px;border-radius:20px;font-size:9px;color:var(--muted)}.mastery-filters button.active{background:var(--surface-mint);color:var(--green);border-color:var(--line)}.item-labels{display:flex;align-items:center;gap:7px;margin-bottom:10px}.item-labels .pill{font-size:7px;background:var(--surface);padding:3px 6px;color:var(--muted)}.item-labels>span{font-size:8px;color:var(--muted)}.retention-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.retention-metrics>.card{padding:22px}.retention-metrics strong{display:block;font-size:26px;font-weight:400}.retention-metrics span{display:block;color:var(--muted);font-size:10px;margin-top:8px}.retention-metrics small{display:block;color:var(--muted);font-size:9px;line-height:1.6;margin-top:8px}.cloud-badge{color:var(--muted);font-size:10px}.source-evidence{font-size:10px;color:var(--muted);margin-top:12px;border-left:2px solid var(--line);padding-left:12px}.audio-buttons{display:flex;align-items:center;gap:5px}.audio-slow{font-size:9px;color:var(--muted);border:1px solid var(--line);border-radius:15px;padding:7px 10px;background:var(--surface)}.audio-buttons.center{justify-content:center}.audio-button-container{display:flex;flex-direction:column;gap:5px;align-items:center;flex-shrink:0}.audio-slow.compact{font-size:7px;padding:5px 7px}.phase-study-note{font-size:10px;margin-top:12px;color:var(--muted)}@media(max-width:760px){.learning-steps{gap:22px;font-size:9px}.two-fields{grid-template-columns:1fr;gap:0}.intake-tabs button{font-size:12px;padding:12px 11px}.inbox-heading{font-size:11px}.inbox-row{gap:12px;align-items:flex-start}.inbox-row .secondary-button{padding:10px;font-size:10px}.inbox-row h3{font-size:22px}.account-status{padding:21px}.account-status p{font-size:12px}.tutor-prep{font-size:12px;padding:19px}.retention-metrics{grid-template-columns:1fr;gap:13px}.retention-metrics>.card{padding:22px}.mastery-filters{gap:7px}.mastery-filters button{font-size:10px;padding:8px 10px}.item-labels .pill{font-size:8px}.item-labels>span{font-size:9px}.today-heading+.hero+.stats-strip+.section-heading{align-items:flex-start}.today-heading+.hero+.stats-strip+.section-heading h2{font-size:24px}.today-heading+.hero+.stats-strip+.section-heading .text-button{font-size:9px;white-space:nowrap;margin-top:6px;gap:3px}.today-heading+.hero+.stats-strip+.section-heading p{font-size:9px}.audio-slow{font-size:10px}.audio-slow.compact{font-size:8px}.rating-buttons.three .rating>span{font-size:10px;gap:4px}.rating-buttons.three .rating>span>svg{width:14px}}.class-home-banner{width:100%;display:flex;align-items:center;gap:16px;text-align:left;padding:18px 22px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--green);margin:0 0 24px}.class-home-banner>span:first-of-type{flex:1}.class-home-banner strong,.class-home-banner small,.class-card strong,.class-card small{display:block}.class-home-banner small{margin-top:4px;color:var(--green);font-size:13px}.class-home-action{display:flex;align-items:center;gap:8px;font-size:13px}.class-list{display:grid;gap:10px;margin:18px 0}.class-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--white);text-align:left;color:inherit;width:100%}.class-card>span{flex:1;min-width:0}.class-card small{color:var(--green);margin-top:5px}.class-create,.class-section{border-top:1px solid var(--line);margin-top:26px;padding-top:22px}.class-create .field{margin-bottom:12px}.class-invite{background:var(--surface);border-radius:16px;padding:20px;margin-top:20px}.class-invite p{margin:8px 0 12px;color:var(--green)}.class-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.class-actions h3{margin:0}.class-section select{width:100%;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff;color:inherit;font:inherit}.class-preview{padding:18px;background:var(--surface);border-radius:14px;margin-top:14px}.class-preview>div{padding:10px 0;border-bottom:1px solid var(--line)}.class-preview small{display:block;margin-top:4px;color:var(--green)}.student-card{padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.student-metrics{display:flex;flex-wrap:wrap;gap:8px 18px;margin:10px 0;color:var(--green);font-size:13px}.student-card .text-button{font-size:12px;margin-top:12px}@media(max-width:600px){.class-home-banner{padding:15px;gap:10px}.class-home-action{font-size:0}.class-card{flex-wrap:wrap}.class-card .secondary-button{margin-left:36px}.class-home-banner small{font-size:12px}}.sidebar,.topbar,.bottom-nav,.modal{background:var(--white)}.sidebar-note,.class-home-banner{background:var(--surface)}.hero{background:linear-gradient(120deg,#f7fcf9,#eff9f3);border-color:var(--line);border-radius:20px}.hero h2{font-weight:600}.hero h2 em{font-style:normal;font-weight:600;color:var(--green)}.hero-content>p{color:var(--muted);font-size:12px}.today-heading h1,.section-heading h2,.modal-heading h2{font-weight:550}.hero .pill{background:#fff;border-color:var(--line);color:var(--green)}.primary-button:hover{background:var(--green-dark)}.nav-item.active{background:var(--surface-mint)}.stats-strip,.lesson-card,.featured-lesson,.small-plan,.phrase-of-day,.week-card{background:var(--white);border-radius:16px}.peach,.sage,.butter,.lavender{color:var(--green)}.stats-strip p,.hero-footnote,.brand-tagline{color:var(--muted)}.art-orange{background:var(--mint);border-color:#b6ddca;color:var(--green-dark);border-radius:42% 46% 40%;box-shadow:inset -8px -8px #c8e7d8,0 18px 30px -18px #84b39c}.art-orange>span{font-weight:500}.art-leaf{background:#91cbae;border-color:#85bfa2}.art-leaf.leaf-two{background:#b7dfc9}.art-leaf:after{background:#dff1e8}.art-tag{background:#fff;font-style:normal;color:var(--green);border-color:var(--line);border-radius:10px;font-size:13px;display:flex;align-items:center;gap:10px}.art-spark{color:#8fc5ab}.progress-track>div{background:var(--mint-accent)}.class-invite,.class-preview{background:var(--surface)}.class-card{background:#fff}.form-error{background:#fff5f4;border-color:#f0d8d3;color:#8b4138}.sidebar-brand .mobile-only{display:none}.heading-doodle,.sidebar-note-flower{color:var(--mint-accent)}@media(max-width:600px){.brand-name{font-size:23px}.brand-descriptor{font-size:8px;letter-spacing:1.45px}.mobile-header .brand-mark{border-radius:10px}.hero{border-radius:18px;min-height:0}.hero-content{width:100%;padding:28px 22px}.hero h2{font-size:clamp(34px,10vw,42px);line-height:1.12}.hero-content>p{font-size:13px;max-width:none}.hero-button{font-size:12px;min-height:44px}.mandarin-art{display:none}}@media(max-width:760px){.sidebar-brand .mobile-only{display:inline-flex}}.teacher-import-banner{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:20px 24px;margin:-8px 0 24px;border:1px solid #d9f0e5;border-radius:18px;background:#f7fcf9;color:#21684f}.teacher-import-banner>span:first-of-type{flex:1}.teacher-import-banner strong,.teacher-import-banner small{display:block}.teacher-import-banner small{color:#60746a;margin-top:5px;line-height:1.5}.teacher-import-banner>span:last-child{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650}.intake-tabs{flex-wrap:wrap}.recorder-setup .import-guide strong{display:flex;align-items:center;gap:8px}.connection-steps{padding-left:24px;line-height:1.6}.connection-steps li{margin:22px 0;padding-left:5px}.connection-steps p{color:#60746a;margin:5px 0 0;font-size:14px}.connection-status,.publish-target{padding:20px;margin:24px 0;background:#f7fcf9;border:1px solid #e5eee9;border-radius:16px}.connection-status p{color:#60746a;font-size:13px;line-height:1.6;margin:10px 0 0}.recorder-setup textarea{font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere}.recorder-setup .field{margin-top:18px}.signup-roles{display:flex;gap:8px;margin:20px 0;padding:5px;border-radius:14px;background:#f3f8f5}.signup-roles button{flex:1;min-height:46px;border:1px solid transparent;border-radius:10px;color:#53695e;background:transparent;font:inherit;cursor:pointer}.signup-roles button[aria-pressed=true]{color:#24664a;background:#fff;border-color:#cce5d8;box-shadow:0 2px 5px #183d2710}.example-review{border:1px solid #e5eee9;border-radius:12px;padding:12px;margin:12px 0;min-width:0}.example-review legend{font-size:12px;padding:0 6px;color:#60746a}@media(max-width:600px){.teacher-import-banner{padding:18px;gap:12px;flex-wrap:wrap}.teacher-import-banner>span:last-child{width:100%;padding-left:35px}.intake-tabs button{flex:1 1 auto;justify-content:center;min-height:44px}.recorder-setup .button-row{flex-wrap:wrap}}.view-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin-bottom:28px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.view-mode-bar strong{display:block;color:var(--green)}.view-mode-bar small{display:block;margin-top:5px;line-height:1.5}.view-mode-bar.is-preview{border:2px solid var(--green)}.view-mode-actions{display:flex;gap:10px;flex-wrap:wrap}.teacher-dashboard{margin:20px 0}.dashboard-totals{padding:18px;background:var(--surface);border-radius:14px;margin:14px 0}.student-card>strong{overflow-wrap:anywhere}.student-assignment{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.student-assignment .secondary-button{overflow-wrap:anywhere;min-width:0}@media(max-width:700px){.view-mode-bar{align-items:stretch;flex-direction:column;padding:14px}.view-mode-actions>button{flex:1}.student-assignment .class-actions{align-items:stretch;flex-direction:column}}.audio-status{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;margin:12px 0;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--green);text-align:left}.audio-status>span{display:flex;align-items:center;gap:10px}.audio-status strong,.audio-status small{display:block}.audio-status small{margin-top:4px;line-height:1.4}.audio-status svg{flex-shrink:0}.audio-status-floating{position:fixed;z-index:125;bottom:calc(88px + env(safe-area-inset-bottom));right:20px;width:min(360px,calc(100vw - 40px));box-shadow:0 6px 24px #163e2d20}.audio-loading-spinner{animation:audio-loading-spin 1s linear infinite}.audio-output-help{margin:16px 0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;color:var(--muted);font-size:14px;line-height:1.6}.audio-output-help summary{cursor:pointer;color:var(--green);font-weight:600}.audio-output-help ol{padding-left:20px}.audio-output-help li+li{margin-top:8px}.password-recovery-page{min-height:100dvh;display:grid;place-items:center;padding:24px 16px}.password-recovery-card{width:min(100%,480px);padding:clamp(24px,6vw,40px);border:1px solid var(--line);border-radius:24px;background:#fff}.password-recovery-card h1{font-size:30px;margin-top:28px}.password-recovery-card p{color:var(--muted);line-height:1.6}.password-recovery-card .primary-button{width:100%;margin-top:16px}@keyframes audio-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.audio-loading-spinner{animation:none}}
