@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:Manrope,Arial,sans-serif;color:#143530;background:#f6f3ed;font-synthesis:none}*{box-sizing:border-box}body{min-width:320px;margin:0;background:#f6f3ed}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #efb24c;outline-offset:2px}.app-shell{max-width:1120px;min-height:100vh;margin:auto;padding:0 20px 118px;overflow:hidden}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between}.brand{border:0;color:#173f3a;background:transparent;font-family:Fraunces,serif;font-size:1.5rem;letter-spacing:-.05em;padding:4px 0}.brand span{font-weight:500}.brand b{color:#df7047;font-weight:700}.voice-status{display:flex;gap:8px;align-items:center;font-size:.65rem;font-weight:700;color:#5d6b67;text-transform:uppercase;letter-spacing:.07em}.voice-control{max-width:190px;overflow:hidden;border:0;background:transparent;text-overflow:ellipsis;white-space:nowrap}.voice-picker{margin:-9px 0 19px auto;padding:14px;border:1px solid #d8ded4;border-radius:14px;background:#fffdf9;box-shadow:0 10px 24px #1b393117}.voice-picker label{display:block;margin-bottom:7px;color:#315249;font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.voice-picker select{width:100%;padding:10px;border:1px solid #cfddd2;border-radius:8px;color:#23453d;background:#fff}.voice-picker p,.voice-picker small{display:block;margin:9px 0 0;color:#6d7d77;font-size:.69rem;line-height:1.45}.dot{width:8px;height:8px;background:#e9a54b;border-radius:50%}.dot.ready{background:#5eaa84;box-shadow:0 0 0 4px #d9eddf}.page{animation:appear .35s ease-out}.eyebrow{color:#d76b47;font-size:.68rem;font-weight:800;letter-spacing:.11em}.hero{position:relative;min-height:365px;padding:41px 27px;overflow:hidden;color:#fff8ef;border-radius:28px;background:#17413c;isolation:isolate}.hero>*:not(.hero-shape){position:relative;z-index:1}.hero .eyebrow{color:#f7bc69}.hero h1{max-width:620px;margin:12px 0;font:600 clamp(2.3rem,8vw,4.75rem)/1.01 Fraunces,serif;letter-spacing:-.065em}.hero h1 em{color:#efc26d;font-style:italic}.hero p{max-width:450px;margin:0 0 25px;color:#d7e4d9;font-size:.96rem;line-height:1.6}.hero-shape{position:absolute;z-index:-1;opacity:.95;border-radius:48% 52% 53% 47%/47% 41% 59% 53%}.shape-one{right:-35px;bottom:-105px;width:280px;height:310px;background:#dd7149;transform:rotate(18deg)}.shape-two{right:90px;top:-120px;width:210px;height:220px;background:#ecbd63;transform:rotate(-30deg)}.primary{border:0;border-radius:999px;padding:15px 22px;color:#153a35;background:#efbb61;font-size:.87rem;font-weight:800;box-shadow:0 4px #0b272238}.primary:hover{transform:translateY(-1px)}.hero-button span{margin-left:12px;font-size:1.15rem}.full{width:100%}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0 37px;padding:18px 4px;border-bottom:1px solid #d9d9ce}.stat-row div{padding:0 11px;border-left:1px solid #d9d9ce}.stat-row div:first-child{border:0;padding-left:0}.stat-row strong{display:block;color:#19423c;font:600 1.46rem Fraunces,serif}.stat-row span{display:block;margin-top:3px;color:#77817b;font-size:.6rem;font-weight:800;text-transform:uppercase;line-height:1.35;letter-spacing:.04em}.goal-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-21px 0 30px;padding:13px 15px;border-radius:15px;background:#e8eee7}.goal-row .eyebrow{display:block}.goal-row strong{color:#284a42;font:600 1.05rem Fraunces,serif}.goal-row div:last-child{display:flex;gap:6px}.goal-row button{width:32px;height:32px;border:1px solid #cad7cd;border-radius:50%;color:#4e655e;background:#fffdf9;font-size:.68rem;font-weight:800}.goal-row button.selected{color:#fff;border-color:#1e5048;background:#1e5048}.home-section{margin:22px 0 34px}.section-label{display:flex;align-items:center;justify-content:space-between;margin:0 1px 13px;color:#39514b;font-size:.67rem;font-weight:800;letter-spacing:.1em}.section-label button,.mini-tone button,footer button,.back{border:0;padding:3px;color:#ca6042;background:transparent;font-weight:800;font-size:.74rem}.topic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.topic{min-height:127px;padding:17px;border:0;border-radius:17px;text-align:left;color:#1c413b;background:#dcebe3}.topic span{display:block;margin-bottom:13px;font:1.7rem Fraunces,serif}.topic strong{display:block;font:600 1rem Fraunces,serif}.topic small{color:#607872;font-size:.68rem}.topic-1{background:#f5ddcf}.topic-2{background:#e4e6d1}.topic-3{background:#eedcb5}.skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.skill-grid button{min-height:120px;padding:13px 9px;border:1px solid #d9ded5;border-radius:16px;text-align:left;color:#24483f;background:#fffdf9}.skill-grid span{display:block;margin-bottom:12px;color:#d46c49;font:1.45rem Fraunces,serif}.skill-grid strong,.skill-grid small{display:block}.skill-grid strong{font:600 .94rem Fraunces,serif}.skill-grid small{margin-top:4px;color:#77837d;font-size:.61rem;line-height:1.25}.install-banner{width:100%;margin-top:24px;padding:14px;border:0;border-radius:14px;color:#fff9ed;background:#315e57;font-size:.76rem;font-weight:800}.offline-hint{margin:24px 0 0;color:#74817d;text-align:center;font-size:.67rem}.mini-tone{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:23px;border-radius:19px;color:#f9f6ed;background:#334d8a}.mini-tone h2{margin:5px 0;font:600 1.25rem/1.1 Fraunces,serif}.mini-tone p{max-width:420px;margin:0;color:#d7dfef;font-size:.78rem;line-height:1.55}.mini-tone button{flex:0 0 auto;color:#ffcc7b}.page-heading{max-width:670px;margin:18px 0 26px}.page-heading h1,.finish h1{margin:8px 0;color:#173f3a;font:600 clamp(2rem,7vw,3.8rem)/1.04 Fraunces,serif;letter-spacing:-.055em}.page-heading p,.finish>p{max-width:590px;color:#5c6c67;font-size:.92rem;line-height:1.65}.learn-page{max-width:720px;margin:auto}.learn-header{display:flex;justify-content:space-between;align-items:center;margin:15px 0 12px}.learn-header span{color:#65746e;font-size:.76rem;font-weight:800}.round-progress{height:6px;overflow:hidden;border-radius:8px;background:#e3e3d7}.round-progress i{display:block;height:100%;border-radius:inherit;background:#dc7049;transition:width .3s}.round-title{margin:25px 0 10px;color:#d56c49;font-size:.68rem;font-weight:800;letter-spacing:.1em}.learning-card{padding:26px;border:1px solid #e2ded2;border-radius:24px;background:#fffdf9;box-shadow:0 12px 36px #1c382f0f}.card-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.pill{padding:6px 10px;border-radius:99px;color:#52726a;background:#e6f0e9;font-size:.65rem;font-weight:800}.syllables{color:#8b9690;font:.71rem DM Mono,monospace;text-align:right}.vietnamese{margin:22px 0 4px;color:#173f3a;font:600 clamp(2.3rem,8vw,4.2rem)/1 Fraunces,serif;letter-spacing:-.055em}.tone-word{color:#ca6042;text-decoration:underline solid #efc677 3px;text-underline-offset:8px}.phonetic{margin:13px 0 21px;color:#516962;font:.78rem DM Mono,monospace}.translations{display:grid;gap:3px;padding:14px 0;border-top:1px solid #eeece5;border-bottom:1px solid #eeece5}.translations strong{color:#203e39;font-size:.98rem}.translations span{color:#75827e;font-size:.79rem}.context{margin:16px 0 20px;color:#5d6e68;font-size:.82rem;line-height:1.55}.listen-row{display:flex;flex-wrap:wrap;gap:8px}.sound-button,.slow-button,.word-button{min-height:42px;border:0;border-radius:12px;font-size:.74rem;font-weight:800}.sound-button{padding:0 15px;color:#fff;background:#1b4b44}.slow-button,.word-button{padding:0 12px;color:#3e6159;background:#eaf1ec}.slow-button.active{color:#17433c;background:#f2d58b}.notice{margin:14px 0 0;padding:10px 12px;border-left:3px solid #e6aa4e;color:#76664d;background:#fff8e8;font-size:.72rem;line-height:1.45}.speak-back{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px -26px -26px;padding:18px 26px;border-radius:0 0 24px 24px;background:#edf3ed}.speak-back p{margin:4px 0 0;color:#5e726c;font-size:.73rem;line-height:1.4}.record-button{flex:0 0 auto;border:0;border-radius:999px;padding:11px 13px;color:#bf5039;background:#fffaf3;font-size:.7rem;font-weight:800}.record-button.recording{color:#fff;background:#cf6047;animation:pulse 1.3s infinite}.clip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:15px}.clip audio{max-width:100%;height:34px}.clip button{border:0;color:#a95643;background:transparent;font-size:.67rem;font-weight:700}.rating{margin:25px -26px -26px;padding:18px 26px;border-top:1px solid #e4e6df}.rating>span{display:block;margin-bottom:10px;color:#6b7974;font-size:.71rem;font-weight:800}.rating div{display:flex;gap:8px}.rating button{flex:1;min-height:39px;padding:7px;border:1px solid #dce2da;border-radius:10px;color:#5c6c66;background:#fff;font-size:.66rem;font-weight:800}.rating button.success{color:#1e5b49;border-color:#b8d4c2;background:#e9f3e8}.compact-card{display:flex;flex-direction:column;padding:20px;box-shadow:none}.compact-card .vietnamese{margin-top:17px;font-size:2rem}.compact-card .context{min-height:auto}.compact-card .speak-back{display:none}.filters{display:flex;gap:8px;overflow-x:auto;margin:-8px 0 20px;padding:7px 1px 9px;scrollbar-width:none}.filters button{flex:0 0 auto;padding:9px 14px;border:1px solid #d9ded5;border-radius:999px;color:#587069;background:transparent;font-size:.69rem;font-weight:800}.filters button.selected{border-color:#1e5048;color:#fff;background:#1e5048}.cards-grid{display:grid;gap:13px}.practice-page{max-width:720px;margin:auto}.challenge-card,.dialogue-card,.address-card{padding:23px;border:1px solid #dfded5;border-radius:22px;background:#fffdf9;box-shadow:0 12px 36px #1c382f0f}.listen-large{display:grid;width:140px;height:140px;place-items:center;margin:25px auto 13px;border:0;border-radius:50%;color:#fff;background:#1d4e46;font:2.6rem Fraunces,serif}.listen-large small{margin-top:-45px;font:700 .65rem Manrope,sans-serif}.challenge-card>.slow-button{display:block;margin:0 auto 23px}.choice-list{display:grid;gap:9px;margin-top:20px}.choice-list button{padding:13px 14px;border:1px solid #d9e0d8;border-radius:11px;color:#34544c;text-align:left;background:#fff;font-size:.8rem;font-weight:700}.choice-list button.correct{color:#245d45;border-color:#a9cbb5;background:#e4f2e6}.choice-list button.wrong{color:#a34f40;border-color:#e7bab0;background:#fbe9e5}.answer-reveal{display:grid;gap:6px;margin-top:18px;padding:15px;border-radius:13px;color:#315249;background:#edf3ed}.answer-reveal strong{font-size:.79rem}.answer-reveal span{font:600 1.1rem Fraunces,serif}.answer-reveal small{color:#60756d;font-size:.68rem;line-height:1.45}.answer-reveal .primary{justify-self:start;margin-top:8px}.dialogue-card .pill{margin-bottom:16px}.dialogue-line{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #ebeae3}.dialogue-line button{width:31px;height:31px;flex:0 0 auto;border:0;border-radius:50%;color:#d56346;background:#f8dfd0;font-size:.65rem}.dialogue-line div{display:grid;gap:2px}.dialogue-line span{color:#c86649;font-size:.62rem;font-weight:800}.dialogue-line strong{color:#1e493f;font:600 1.2rem Fraunces,serif}.dialogue-line small{color:#76827c;font-size:.69rem}.dialogue-card h2{margin:22px 0 0;color:#23483f;font:600 1.25rem/1.2 Fraunces,serif}.address-card{text-align:center}.address-icon{display:inline-grid;width:56px;height:56px;place-items:center;border-radius:50%;color:#d26c49;background:#f7dfcc;font:1.6rem Fraunces,serif}.address-card h2{color:#1f463e;font:600 1.55rem/1.15 Fraunces,serif}.address-card>p{color:#697973;font-size:.79rem;line-height:1.5}.address-card .choice-list{text-align:left}.tones-page{max-width:760px;margin:auto}.tone-callout{display:flex;gap:13px;margin-bottom:20px;padding:17px;border-radius:16px;color:#596062;background:#eee6d3;font-size:.8rem;line-height:1.5}.tone-callout span{color:#dd754f;font-size:1.25rem}.tone-callout p{margin:0}.tone-list{overflow:hidden;border:1px solid #deded3;border-radius:17px;background:#fffdf9}.tone-row{display:grid;grid-template-columns:38px 1fr auto 24px;gap:10px;align-items:center;padding:14px;border-bottom:1px solid #ebeae3}.tone-row:last-child{border:0}.tone-row button{width:31px;height:31px;border:0;border-radius:50%;color:#d56346;background:#f8dfd0;font-size:.65rem}.tone-row strong,.tone-row span{display:block}.tone-row strong{font-size:.78rem}.tone-row span{color:#75817d;font-size:.68rem}.tone-row b{color:#1e4a43;font:600 1.35rem Fraunces,serif}.tone-row i{color:#d26d4c;font:1rem DM Mono,monospace;font-style:normal}.tip-card{margin-top:20px;padding:22px;border-radius:19px;color:#eff6ec;background:#315e57}.tip-card h2{margin:0 0 13px;font:600 1.3rem Fraunces,serif}.tip-card ol{margin:0;padding-left:20px;color:#d3e0d9;font-size:.78rem;line-height:1.8}.personal-page{max-width:760px;margin:auto}.personal-form{display:grid;gap:14px;margin:16px 0 24px;padding:20px;border-radius:19px;background:#e7eee8}.personal-form label{display:grid;gap:6px;color:#37544d;font-size:.72rem;font-weight:800}.personal-form input,.personal-form textarea{width:100%;padding:11px;border:1px solid #cddbd1;border-radius:9px;color:#23413a;background:#fffdf9;font-size:.85rem;resize:vertical}.personal-form .primary{justify-self:start}.personal-list{display:grid;gap:13px;margin-top:22px}.empty{padding:45px 24px;border:1px dashed #c4d2c6;border-radius:20px;text-align:center}.empty span{color:#db7351;font:2rem Fraunces,serif}.empty h2{margin:7px 0;color:#23483f;font:600 1.45rem Fraunces,serif}.empty p{max-width:330px;margin:auto;color:#6c7b76;font-size:.78rem;line-height:1.5}.finish{max-width:600px;margin:80px auto;text-align:center}.finish>span{display:inline-grid;width:70px;height:70px;place-items:center;border-radius:50%;color:#e16d4b;background:#f6dfc5;font-size:2rem}.finish h1{font-size:clamp(2.3rem,8vw,4rem)}.finish>p{margin:12px auto 25px}.bottom-nav{position:fixed;z-index:5;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,1fr);max-width:1120px;margin:auto;padding:9px 13px max(11px,env(safe-area-inset-bottom));border-top:1px solid #e2e1d8;background:#fffdf8f2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav button{display:grid;place-items:center;gap:3px;border:0;color:#89928d;background:transparent;font-size:.62rem;font-weight:800}.bottom-nav button span{font-size:1.23rem;font-weight:500}.bottom-nav button.active{color:#cf6847}footer{margin:40px 0 0;text-align:center}footer button{color:#8a918d;font-size:.62rem}@keyframes appear{0%{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes pulse{50%{box-shadow:0 0 0 7px #ce604726}}@media (min-width: 700px){.app-shell{padding:0 48px 60px}.hero{min-height:410px;padding:64px}.topic-grid{grid-template-columns:repeat(4,1fr)}.skill-grid{grid-template-columns:repeat(3,1fr);max-width:620px}.cards-grid,.personal-list{grid-template-columns:repeat(2,1fr)}.bottom-nav{position:static;width:max-content;gap:2px;margin:32px auto 0;padding:6px;border:1px solid #e1dfd5;border-radius:18px}.bottom-nav button{min-width:92px;padding:7px 9px;border-radius:12px}.bottom-nav button.active{color:#fff;background:#1e5048}.bottom-nav button span{font-size:.95rem}.bottom-nav button.active span{color:#f4c773}.stat-row{max-width:730px}.topic{min-height:150px}.learning-card{padding:38px}.speak-back{margin:30px -38px -38px;padding:21px 38px;border-radius:0 0 24px 24px}.rating{margin:30px -38px -38px;padding:18px 38px}.vietnamese{font-size:4.1rem}.compact-card .vietnamese{font-size:2.25rem}}
