:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1c1c1c;background:#fff7f0;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--cream: #fff7f0;--paper: #fbfaf7;--white: #ffffff;--ink: #1c1c1c;--charcoal: #333333;--muted: #68605c;--line: #ead4cf;--teal: #006b66;--teal-soft: #dff7f2;--coral: #ff6b6b;--coral-soft: #ffe0de;--coral-deep: #ad2e33;--gold: #f6c43c;--shadow: 0 18px 44px rgba(51, 51, 51, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 50% -12%,rgba(0,107,102,.12),transparent 34rem),linear-gradient(180deg,#fffaf5 0%,var(--cream) 100%)}button,textarea{font:inherit}button{cursor:pointer}.appShell{min-height:100vh}.appStage{display:grid;grid-template-columns:190px minmax(0,620px);justify-content:center;align-items:start;gap:18px;width:min(100%,900px);min-height:100vh;margin:0 auto;padding:22px 18px}.appStage.onboardingOnly{grid-template-columns:minmax(0,620px);place-items:center}.sideBar{position:sticky;top:22px;display:grid;align-content:start;gap:14px;min-height:min(720px,calc(100vh - 44px));padding:18px 14px;border:1px solid rgba(234,212,207,.9);border-radius:28px;background:#ffffffdb;box-shadow:0 22px 52px #362b2324;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sideBrand{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:0 4px 12px;border-bottom:1px solid rgba(234,212,207,.7)}.sideBrand img{width:30px;height:30px;border-radius:8px;box-shadow:none}.sideBrand strong{color:var(--ink);font-size:22px;line-height:1}.sideNavItems{display:grid;gap:8px}.sideNavItems button{display:flex;align-items:center;gap:10px;min-height:46px;border:1px solid rgba(222,218,214,.92);border-radius:16px;padding:0 12px;color:#4f4a46;background:#f1efec;font-size:14px;font-weight:900;text-align:left;box-shadow:0 8px 18px #362b230f;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.sideNavItems button:not(:disabled):hover{transform:translateY(-1px)}.sideNavItems button span{display:grid;place-items:center;width:26px;height:26px;flex:0 0 auto;font-size:18px;line-height:1}.sideNavItems button.active{color:var(--coral-deep);background:var(--coral-soft);border-color:#ff6b6b47}.sideNavItems button.locked{opacity:.55}.sideNavItems button:disabled{cursor:not-allowed}.phoneShell{position:relative;display:block;width:min(100%,620px);height:min(920px,calc(100vh - 36px));overflow:hidden;border:1px solid rgba(234,212,207,.9);border-radius:34px;background:var(--cream);box-shadow:0 26px 70px #362b232e}.appHeader{position:absolute;top:0;right:0;left:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;padding:14px 18px 6px;pointer-events:none}.headerFlagButton,.headerAccountButton{pointer-events:auto;border:0;border-radius:999px;box-shadow:0 10px 24px #362b231f}.headerFlagButton{width:52px;height:42px;padding:0;overflow:hidden;background:#fff}.headerFlagButton img{width:100%;height:100%;object-fit:cover}.headerAccountButton{min-height:38px;padding:0 14px;color:var(--charcoal);background:#ffffffdb;font-size:12px;font-weight:900;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.muted,.compactCopy{color:var(--muted)}.screenScroller{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.screenScroller::-webkit-scrollbar{width:0}.screen{min-height:100%;width:min(100%,560px);margin:0 auto;padding:24px 22px 30px}.welcomeStack{width:min(100%,520px);margin:0 auto}.authStack,.contentStack,.welcomeStack,.assessmentShell{display:grid;gap:18px}.authStack{align-content:start;width:min(100%,520px);margin:0 auto}.authCard{display:grid;gap:16px;padding:20px;border:1px solid rgba(234,212,207,.9);border-radius:24px;background:#ffffffeb;box-shadow:0 16px 40px #362b2317}.authCard label{display:grid;gap:8px;color:var(--ink);font-size:14px;font-weight:900}.authCard input{width:100%;min-height:50px;border:1px solid #cfc7c0;border-radius:14px;padding:0 14px;color:var(--ink);background:#fff;font:inherit;font-weight:700;outline:none}.authCard input:focus{border-color:var(--coral);box-shadow:0 0 0 4px #ff6b6b24}.authCard .primaryButton,.authCard .secondaryButton{width:100%}.authMessage{margin:0;border-radius:14px;padding:12px 14px;color:#075b55;background:var(--teal-soft);font-size:13px;font-weight:800;line-height:1.35}.authMessage.error{color:var(--coral-deep);background:#ad2e331a}.heroCard{position:relative;height:clamp(330px,52vh,430px);overflow:hidden;border-radius:32px;background:#111;box-shadow:var(--shadow)}.heroCard img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}.heroCard:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 38%,rgba(0,0,0,.6))}.heroText{position:absolute;right:22px;bottom:22px;left:22px;z-index:1;color:#fff}.heroBrand{display:none}.heroText h1{max-width:300px;margin:0 0 10px;font-size:42px;line-height:1.02;letter-spacing:0}.heroText p{max-width:330px;font-size:18px;line-height:1.35}.heroText p,.benefitRow p,.scoreSummary p,.savedList p,.bandList p{margin:0}.benefitCard,.scoreSummary,.languageMenu,.conversationCard,.progressPanel,.savedList article,.assessmentQuestion,.scoreLanguageCard,.nativeSheet,.settingsGroup,.matchGrid{border:1px solid rgba(234,212,207,.58);background:#ffffffdb;box-shadow:var(--shadow)}.benefitCard{display:grid;gap:12px;padding:18px;border-radius:24px}.benefitCard h3,.sectionHeader h2,.tutorsScreen h2,.scoreSheet h2,.scoreSheet h3{margin:0}.benefitRow{display:flex;align-items:flex-start;gap:11px;min-width:0}.benefitRow span{display:grid;flex:0 0 auto;place-items:center;width:27px;height:27px;border-radius:50%;color:var(--teal);background:var(--teal-soft);font-weight:900}.benefitRow p{min-width:0;line-height:1.35}.buttonRow{display:flex;position:relative;z-index:3;justify-content:center;gap:12px}.welcomeButtons .primaryButton,.welcomeButtons .secondaryButton{flex:0 1 190px;min-width:0;border-radius:999px}.buttonRow.small{gap:10px}.primaryButton,.secondaryButton,.dangerButton{min-height:52px;border:0;border-radius:18px;padding:0 16px;font-weight:900}.primaryButton{flex:1;color:#250609;background:var(--coral)}.secondaryButton{flex:1;color:var(--ink);background:#f1efec;border:1px solid rgba(222,218,214,.92)}.dangerButton{color:var(--coral-deep);background:#ad2e3314}.sectionHeader{display:flex;align-items:flex-start;gap:12px}.eyebrow{margin:0 0 6px;color:var(--coral-deep);font-size:12px;font-weight:900;letter-spacing:0;text-transform:uppercase}.iconButton{width:38px;height:38px;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 18px #24201f1a}.languageGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compactGrid{max-height:480px;overflow:auto}.nativeScreen{display:grid;align-content:center;gap:22px;min-height:calc(100vh - 120px)}.nativeIntro{display:grid;justify-items:center;gap:8px;text-align:center}.nativeIntro h2{margin:0;font-size:30px;line-height:1.05;letter-spacing:0}.nativeIntro p{margin:0}.courseTile,.languageButton{display:grid;place-items:center;gap:8px;min-height:88px;padding:10px;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:var(--paper);text-align:center}.languageButton.selected,.courseTile:hover{border-color:var(--teal);background:var(--teal-soft)}.courseTile img,.languageButton img,.flagButton img,.learnedRow img,.scoreLanguageCard img{object-fit:cover;border-radius:10px;box-shadow:0 4px 12px #24201f14}.courseTile img,.languageButton img{width:42px;height:30px}.courseTile span{display:none}.assessmentShell{min-height:calc(100% - 4px);gap:8px}.assessmentQuestion{display:grid;gap:7px;padding:10px;border-radius:14px}.assessmentQuestion strong{font-size:15px}.assessmentOptions{display:grid;gap:2px}.assessmentOptions button{display:flex;align-items:center;gap:9px;min-height:24px;border:0;padding:0;color:var(--charcoal);background:transparent;font-size:14px;font-weight:800;text-align:left}.assessmentOptions button span{color:var(--muted);font-size:16px}.assessmentOptions button.selected span{color:var(--teal)}.stickyDone{position:sticky;bottom:0;width:100%;margin-top:auto}.languageTop{display:flex;align-items:center;gap:13px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.flagButton{width:72px;height:52px;flex:0 0 auto;border:0;border-radius:15px;padding:0;background:transparent}.flagButton img{width:72px;height:52px;border:2px solid var(--coral)}.languageTop div{display:none;min-width:0;gap:4px}.languageTop strong{font-size:18px}.languageTop span{color:var(--muted);font-size:13px;font-weight:800}.scoreBubble{display:none;place-items:center;width:54px;height:54px;margin-left:auto;border:0;border-radius:18px;color:var(--teal);background:var(--teal-soft);font-size:28px;font-weight:1000}.languageMenu{display:grid;gap:14px;padding:14px;border-radius:22px}.learnedRow{display:flex;gap:10px;overflow-x:auto}.learnedRow button{display:grid;place-items:center;min-width:54px;height:42px;border:1px solid var(--line);border-radius:13px;background:var(--paper);font-weight:900}.learnedRow button.selected{border-color:var(--teal);background:var(--teal-soft)}.learnedRow img{width:48px;height:34px}.levelCard{display:grid;gap:10px;padding:12px;border-radius:16px;background:var(--paper)}.levelCard>div:first-child,.scoreSummary>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.levelCard strong,.scoreSummary strong{color:var(--teal);font-size:26px;line-height:1}.levelCard span,.scoreSummary span{color:var(--muted);font-weight:800}.levelCard button,.scoreSummary button{justify-self:start;border:0;color:var(--coral-deep);background:transparent;font-size:13px;font-weight:900;padding:0}.scoreSummary{display:grid;gap:12px;padding:18px;border-radius:24px}.progressTrack{height:9px;overflow:hidden;border-radius:999px;background:#006b6621}.progressTrack span{display:block;height:100%;border-radius:inherit;background:var(--teal)}.goalStrip{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px}.goalStrip button{min-width:148px;border:1px solid var(--line);border-radius:20px;padding:13px;color:var(--charcoal);background:#fff;text-align:left}.goalStrip button.selected{border-color:var(--teal);background:var(--teal-soft)}.goalStrip span,.goalStrip small{display:block}.goalStrip span{font-weight:900}.goalStrip small{margin-top:5px;color:var(--muted);line-height:1.25}.pathStack{display:grid;gap:18px}.pathCard{position:relative;overflow:hidden;border-radius:24px;background:var(--paper);box-shadow:var(--shadow)}.pathImage{display:block;width:100%}.pathMarker,.pathAvatar{position:absolute;transform:translate(-50%,-50%)}.lessonIcon{display:grid;place-items:center;width:64px;height:64px;border:2px solid rgba(255,107,107,.55);border-radius:50%;color:var(--coral-deep);background:#fff;font-size:28px;font-weight:900;box-shadow:0 6px 13px #33333324}.coin{position:relative;display:grid;place-items:center;width:106px;height:106px}.coin.rotating{animation:coinFlip 5s ease-in-out infinite alternate}.coin img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.coin span{z-index:1;color:#f8c735;font-size:42px;font-weight:1000;text-shadow:0 1px 2px rgba(75,35,0,.9)}@keyframes coinFlip{0%{transform:rotateY(0)}to{transform:rotateY(180deg)}}.pathAvatar{width:82px;height:82px;object-fit:cover;border:3px solid #fff;border-radius:50%;box-shadow:0 8px 16px #33333329}.tutorsScreen{align-content:start}.tutorGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tutorCard{display:grid;gap:10px;min-width:0;border:1px solid rgba(234,212,207,.55);border-radius:22px;padding:10px;color:var(--charcoal);background:#fff;text-align:center;cursor:pointer}.tutorCard:focus-visible{outline:3px solid rgba(0,107,102,.22);outline-offset:3px}.tutorCard.selected{border-color:var(--teal);border-width:2px}.tutorImageFrame{position:relative;height:180px;overflow:hidden;border-radius:18px;background:var(--paper)}.tutorImageFrame img,.vocabAvatar img{width:100%;height:100%;object-fit:contain}.tutorImageFrame span{position:absolute;top:8px;right:8px;padding:5px 9px;border-radius:999px;background:#ffffffeb;font-size:11px;font-weight:900}.tutorCard strong,.tutorCard small{overflow:hidden;text-overflow:ellipsis}.tutorCard small{color:var(--muted);line-height:1.25}.tutorVoicePanel{display:grid;gap:10px;margin-top:2px;text-align:left}.tutorVoicePanel p,.transcriptLine,.voiceError{margin:0;border-radius:14px;padding:10px 12px;line-height:1.35}.tutorVoicePanel p{color:var(--charcoal);background:var(--cream);font-size:13px;font-weight:800}.transcriptLine{display:block;color:var(--teal);background:var(--teal-soft);font-size:12px;font-weight:900}.voiceError{display:block;color:var(--coral-deep);background:#ad2e3317;font-size:12px;font-weight:900}.typedVoiceFallback{display:grid;gap:9px}.typedVoiceFallback label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:900}.typedVoiceFallback input{width:100%;min-height:42px;border:1px solid rgba(234,212,207,.95);border-radius:14px;padding:0 12px;color:var(--charcoal);background:#fff;font:inherit;font-size:13px;font-weight:800}.typedVoiceFallback .primaryButton{min-height:40px}.tutorVoicePanel .buttonRow{justify-content:stretch}.tutorVoicePanel .primaryButton,.tutorVoicePanel .secondaryButton{min-height:42px;border-radius:14px;padding:0 12px;font-size:13px}.conversationCard{display:grid;gap:16px;padding:18px;border-radius:24px}.scenarioTabs{display:flex;gap:9px;overflow-x:auto}.scenarioTabs button{border:0;border-radius:999px;padding:10px 14px;color:var(--muted);background:var(--paper);font-weight:900;white-space:nowrap}.scenarioTabs button.selected{color:var(--coral-deep);background:var(--coral-soft)}.messageRow{display:flex;align-items:flex-start;gap:12px}.messageRow img{width:54px;height:54px;object-fit:cover;border-radius:50%}.messageRow p{margin:0;padding:15px;border-radius:20px;background:var(--cream);line-height:1.45}textarea{width:100%;min-height:118px;resize:vertical;border:1px solid var(--line);border-radius:18px;padding:14px;color:var(--charcoal);background:#fff;line-height:1.45}.vocabAvatar{justify-self:center;width:min(100%,180px);aspect-ratio:3 / 4;overflow:hidden;border-radius:22px;background:transparent;border:1px solid rgba(234,212,207,.75)}.vocabAvatar img{display:block;border-radius:21px;object-fit:contain}.matchGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-radius:24px}.wordColumn{display:grid;gap:10px}.wordColumn h3{margin:0;color:var(--muted);font-size:13px;text-align:center}.wordColumn button{min-height:54px;border:1px solid rgba(234,212,207,.7);border-radius:16px;padding:8px;color:var(--charcoal);background:var(--paper);font-weight:900}.wordColumn button.selected{border-color:var(--teal);background:var(--teal-soft)}.wordColumn button.correct{border-color:var(--teal)}.wordColumn button.wrong{border-color:var(--coral);background:var(--coral-soft)}.wordColumn button.matched{opacity:.52}.savedList{display:grid;gap:12px}.savedList article{display:grid;gap:5px;padding:16px;border-radius:20px}.savedList span{color:var(--teal);font-weight:900}.progressPanel{display:grid;justify-items:center;gap:16px;padding:20px;border-radius:24px}.progressCircle{position:relative;display:grid;place-items:center;width:230px;height:230px}.progressCircle svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.progressCircle circle{fill:none;stroke:#0000000f;stroke-width:12}.progressCircle .value{stroke:var(--teal);stroke-linecap:round;stroke-dasharray:301.6;stroke-dashoffset:84.4}.progressCircle strong{margin-top:18px;font-size:44px;line-height:1}.progressCircle span{max-width:150px;margin-top:62px;color:var(--muted);text-align:center}.metric{display:flex;align-items:center;width:100%;gap:14px;padding:14px 16px;border-radius:16px;background:var(--paper)}.metric strong{color:var(--teal);font-size:24px}.metric span{color:var(--muted);font-weight:800}.settingsList{display:grid;gap:14px}.settingsGroup{overflow:hidden;border-radius:24px}.settingsGroup h3{margin:0;padding:16px 18px 8px;color:var(--coral-deep);font-size:12px;text-transform:uppercase}.settingsGroup button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;border:0;border-top:1px solid rgba(234,212,207,.45);padding:0 18px;color:var(--charcoal);background:transparent;font-weight:800;text-align:left}.settingsGroup button strong{color:#68605ca6;font-size:22px}.modalLayer,.sheetLayer{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:#1c1c1c57}.nativeSheet{width:min(100%,410px);max-height:min(760px,calc(100vh - 36px));overflow:auto;padding:22px;border-radius:28px}.nativeSheet h2{margin:0 0 8px}.sheetLayer{align-items:end}.scoreSheet{position:relative;width:min(100%,430px);max-height:min(820px,calc(100vh - 36px));overflow:auto;border-radius:28px 28px 0 0;padding:22px;background:var(--cream)}.sheetClose{position:absolute;top:16px;right:16px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 15px #3333331f;font-size:24px}.scoreLanguageCard{display:flex;align-items:flex-start;gap:14px;margin:18px 0;padding:16px;border-radius:22px}.scoreLanguageCard img{width:66px;height:46px}.bandList{display:grid;gap:10px;margin-top:12px}.bandList article{display:flex;align-items:flex-start;gap:14px;padding:14px;border:1px solid rgba(234,212,207,.6);border-radius:18px;background:#fff}.bandList article.selected{border-color:var(--teal);background:var(--teal-soft)}.bandList article>strong{width:66px;color:var(--teal)}.bandList span{display:block;font-weight:900}@media(min-width:900px){.appStage{align-items:start;padding:28px 18px}.phoneShell{width:620px;height:min(920px,calc(100vh - 56px))}}@media(max-width:760px){.appStage{grid-template-columns:82px minmax(0,1fr);gap:8px;padding:0}.appStage.onboardingOnly{grid-template-columns:minmax(0,1fr)}.sideBar{position:relative;top:0;min-height:100vh;border-width:0 1px 0 0;border-radius:0;padding:max(14px,env(safe-area-inset-top)) 8px 12px}.sideBrand{justify-content:flex-start;padding:0 0 12px}.sideBrand img{width:30px;height:30px;border-radius:8px}.sideNavItems button{justify-content:flex-start;min-height:46px;padding:0 8px;font-size:12px}.sideNavItems button.active{flex-direction:row;gap:8px}.phoneShell{width:100%;height:100vh;border:0;border-radius:0;box-shadow:none}.heroText h1{font-size:38px}}
