/* Approved English UI v3. Presentation only: preserve existing actions and state. */
:root,body.app-product,body.v1-practice,body.auth-page{--flow-ink:#20314b;--flow-muted:#637086;--flow-accent:#2454e8;--flow-deep:#2454e8;--flow-canvas:#f7f8fb;--flow-tint:#eef3fd;--flow-line:#e1e7f0;--ink:#20314b;--muted:#637086;--blue:#2454e8;--paper:#f7f8fb;--line:#e1e7f0;--accent:#2454e8;--xiaoya-bubble:#2454e8;--chat-surface:#e4edf5}
body.app-product,body.v1-practice,body.auth-page{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Helvetica Neue",sans-serif;font-size:16px;background:var(--flow-canvas);color:var(--flow-ink)}
.app-product #app{max-width:480px;background:var(--flow-canvas)}
.app-product .app-content{padding:18px 22px calc(116px + env(safe-area-inset-bottom,0px))}
/* Keep the product navigation in layout so it cannot cover the last review row. */
body.app-product{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.app-product .site-header{display:none}
.app-product #app{width:100%;height:auto;min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}
.app-product .app-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:22px}
.app-product #app>.setup{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.app-product .app-bottom-nav.companion-nav{position:relative;inset:auto;left:auto;bottom:auto;transform:none;flex:0 0 auto;margin:8px auto calc(8px + env(safe-area-inset-bottom,0px))}
.app-product .app-header{padding-inline:22px;background:var(--flow-canvas)}
.app-product .app-header h2{font-size:25px;font-weight:650;letter-spacing:-.6px}
.app-product h1.app-page-title{font-size:30px;font-weight:650;letter-spacing:-.7px;line-height:1.28}
.app-product .app-page-subtitle{font-size:14px;line-height:1.65;color:var(--flow-muted)}
.app-product .primary,.auth-page .primary,.v1-practice .button:not(.secondary):not(.ghost){border-radius:16px;min-height:52px;font-size:16px;font-weight:600;background:#2454e8;color:#fff;padding:13px 18px}
.app-product .secondary,.v1-practice .button.secondary,.auth-page .secondary{border-radius:14px;min-height:46px;font-size:15px;font-weight:550}
.app-product :is(input,select,textarea),.v1-practice :is(input,select,textarea){font-size:16px;border-radius:13px}
.app-product .app-bottom-nav.companion-nav,.v1-practice .app-bottom-nav.companion-nav{width:min(calc(100% - 24px),456px);max-width:456px;min-height:68px;padding:6px 8px;gap:4px;border:1px solid #e0e6ef;border-radius:26px;background:#ffffffed;box-shadow:0 5px 24px #20314b09;backdrop-filter:blur(16px)}
.companion-nav a,.v1-practice .companion-nav a{min-height:52px;border-radius:20px;font-size:11px;gap:4px;color:#637086}
.companion-nav a.active,.v1-practice .companion-nav a.active{background:#eaf0ff;color:#2454e8;font-weight:600}
.companion-nav a svg,.v1-practice .companion-nav a svg{width:22px;height:22px;stroke-width:1.65}
/* Real greeting and partner artwork; the model, identity and profile fields remain intact. */
.v3-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 24px;padding-top:env(safe-area-inset-top,0px)}
.v3-welcome p{font-size:12px;color:#637086;margin:0 0 6px}.v3-welcome h2{font-size:26px;font-weight:650;line-height:1.3;letter-spacing:-.7px;margin:0}.v3-welcome>a{flex:none}
.v3-welcome img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#edf1fa}
.companion-hero{position:relative;overflow:hidden;padding:25px 22px 22px;border-radius:26px;border:1px solid #dce4f4;background:linear-gradient(125deg,#e2eaff,#e9e6f4);box-shadow:0 8px 24px #384d7b06}
.companion-hero-heading{position:relative;display:block;min-height:184px}
.companion-hero-intro{position:relative;z-index:2;width:64%}.companion-greeting{font-size:12px;margin-bottom:12px;color:#536786}
.companion-hero h1{font-size:30px;line-height:1.23;font-weight:650;letter-spacing:-.8px;overflow-wrap:break-word}
.companion-home-portrait{position:absolute!important;right:-19px!important;bottom:-4px!important;width:45%!important;height:197px!important;object-fit:contain!important;object-position:center bottom!important;border-radius:0!important;z-index:1}
.companion-hero-hint{position:relative;z-index:2;font-size:14px;line-height:1.6;margin:16px 0 20px;color:#536786}
.companion-hero>.primary,.companion-hero>.companion-continue{position:relative;z-index:2;background:#2454e8;color:#fff;min-height:54px;border-radius:16px;box-shadow:0 4px 12px #2454e816;white-space:normal}
.companion-hero>.companion-continue .companion-continue-label{font-size:16px;font-weight:600}.companion-hero>.companion-continue .companion-remaining{font-size:11px}
.companion-week{padding:20px;border-radius:22px;border:1px solid #e4e9f1;margin-top:20px;background:#fff}
.companion-section-title h2{font-size:18px;font-weight:600;letter-spacing:-.3px}.companion-section-title>span{font-size:11px}
.companion-days{margin-top:18px}.companion-days b{width:32px;height:32px}.companion-days small{font-size:11px}
.companion-recent{border:1px solid #e4e9f1;border-radius:20px;margin-top:14px;padding:17px}.companion-recent strong{font-size:15px;font-weight:600}.companion-recent small{font-size:12px}
/* Scenes retain every real topic and category. */
.app-product .companion-page-intro{background:none;border:0;padding:0;margin:4px 0 24px}.app-product .companion-page-intro h1{font-size:29px;font-weight:650}.app-product .companion-page-intro p{font-size:14px}
.app-product .app-chips{gap:8px}.app-product .companion-scenes .app-chips button{font-size:13px;padding:9px 15px;border:1px solid #e0e7f1;border-radius:22px}.app-product .companion-scenes .app-chips button.active{background:#2454e8;border-color:#2454e8;color:#fff}
.app-product .app-topic-grid{gap:15px}.app-product .app-topic-card.illustrated-scene{position:relative;display:flex;flex-direction:column;padding:0;min-height:0;overflow:hidden;border:1px solid #e1e7f0;border-radius:19px;background:#fff;gap:0}
.app-product .illustrated-scene .scene-card-image{position:relative;inset:auto;display:block;width:100%;height:130px;flex:none;transform:none}
.app-product .illustrated-scene .scene-card-shade{display:none}.app-product .illustrated-scene .scene-card-copy{position:relative;inset:auto;padding:14px;min-height:83px;color:#20314b;text-shadow:none}
.app-product .illustrated-scene .scene-card-copy b{font-size:16px;font-weight:600;color:#20314b;line-height:1.35}.app-product .illustrated-scene .scene-card-copy small{font-size:12px;color:#637086;margin-top:6px}
.app-product .app-scene-hero{border-radius:25px;background:linear-gradient(130deg,#e4edff,#ece9f7)}.app-product .app-scene-info{border-radius:20px}
/* Review and the existing in-place recorder use the same type and spacing scale. */
.review-hub-heading h1,.revision-session-title h1{font-size:29px!important;letter-spacing:-.6px;font-weight:650!important}.review-hub-heading>p,.revision-session-title>p{font-size:14px;line-height:1.65}
.review-v2 .revision-card{border:1px solid #e0e6f0;border-radius:23px;padding:21px;margin:18px 0;background:#fff;box-shadow:0 5px 18px #20314b03}
.review-v2 .review-focus-card{background:linear-gradient(130deg,#e8efff,#eceafa);border-color:#dce4f6}.review-v2 .revision-card>header{gap:10px}.review-v2 .revision-card>header h3{font-size:16px;font-weight:600;line-height:1.4}
.review-v2 .revision-number{font-size:12px;width:29px;height:29px;min-width:29px;border-radius:9px;background:#ffffff90;color:#627baf}
.review-v2 .revision-example{font-size:23px;line-height:1.5;font-weight:550;letter-spacing:-.3px;padding:0;background:transparent;margin:19px 0}.review-v2 .review-focus-card .revision-example{font-size:27px}
.review-v2 .revision-description{font-size:14px;line-height:1.7;color:#637086}.review-v2 .review-source-link{font-size:11px;margin:17px 0}.review-v2 .review-card-actions{gap:10px}.review-v2 .review-card-actions .primary{font-size:15px;min-height:48px;border-radius:14px}.review-v2 .review-save{width:46px;min-width:46px;height:48px;border-radius:14px}
.review-v2 .revision-source{font-size:12px;padding-top:15px;margin-top:17px}.review-v2 .revision-source>summary{min-height:36px}.review-library-link{border-radius:20px;padding:20px;border:1px solid #e0e6f0;background:#fff}.review-library-link strong{font-size:17px}.review-library-link small{font-size:12px}
.review-v2 .revision-list-row{border-radius:18px;padding:16px;border:1px solid #e4e9f1}.review-v2 .revision-list-row b{font-size:16px}.review-v2 .revision-list-row small{font-size:12px}
.review-practising .revision-card:has(>.review-inline:not([hidden])){border:0;padding:0;margin:0;border-radius:0;box-shadow:none;background:none}
.review-inline-head h2{font-size:24px;font-weight:650}.review-mode-switch{border-radius:15px;background:#e9edf6}.review-mode-switch button{font-size:14px;border-radius:11px}
.review-inline .review-target{font-size:27px;line-height:1.5;font-weight:500}.review-question{border-radius:18px;background:#eaf0fc}.review-question .revision-prompt{font-size:23px;line-height:1.5}
.review-recorder{border-radius:22px 22px 0 0;bottom:0;max-width:480px;width:100%;border:1px solid #cbdce5;border-bottom:0;background:#dae7ed;padding:14px 22px max(20px,env(safe-area-inset-bottom,0px));box-shadow:none}
.review-recorder .review-mic{width:64px;height:64px;min-height:64px;box-shadow:none}.review-record-copy p{font-size:14px}.review-record-copy small{font-size:11px}.review-inline .review-practice-result{padding:20px;border-radius:20px}.review-inline .review-practice-result>p{font-size:14px}.review-inline .review-practice-grade strong{font-size:44px}
/* Profile: lifetime data stays real; the two cumulative measures lead the card. */
.my-profile-header{margin:6px 0 24px;padding-top:env(safe-area-inset-top,0px)}.my-profile-header a{gap:15px}.my-profile-header img{width:58px;height:58px}.my-profile-header strong{font-size:25px;font-weight:650;letter-spacing:-.6px}.my-profile-header small{font-size:12px}
.companion-footprints>h2{font-size:19px;font-weight:600;margin-bottom:16px}.companion-footprints-headline{display:none}
.habits-clear .habits-overview{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;background:linear-gradient(125deg,#eaf0fe,#f0edf8);border:1px solid #dfe5f2;border-radius:22px;padding:21px 19px;margin:0}
.habits-clear .habits-time{grid-column:2;grid-row:1;padding:0 0 18px;margin:0;border:0;display:flex;flex-direction:column;gap:9px}.habits-clear .habits-time p{font-size:12px;margin:0;color:#536786}.habits-clear .habits-time div{display:flex;align-items:baseline;gap:5px}.habits-clear .habits-time strong{font-size:30px;font-weight:600;line-height:1.2;color:#294fbb;letter-spacing:-.7px}.habits-clear .habits-time span{font-size:11px;color:#536786}
.habits-clear .habits-stats{display:contents}.habits-clear .habits-stats>div{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:9px;padding:0 12px 18px 0;border:0;border-inline-end:1px solid #ccd6e7;margin:0}.habits-clear .habits-stats dt{font-size:12px;color:#536786}.habits-clear .habits-stats dd{margin:0}.habits-clear .habits-stats strong{font-size:30px;font-weight:600;line-height:1.2;color:#294fbb;letter-spacing:-.7px}
.habits-clear .habits-stats>div+div{grid-column:1/-1;grid-row:2;flex-direction:row;align-items:baseline;gap:8px;border:0;padding:10px 0 0}.habits-clear .habits-stats>div+div strong{font-size:16px}.habits-clear .habits-stats small{font-size:11px}
.habits-clear .habits-overview>:not(.habits-time):not(.habits-stats){grid-column:1/-1}.habits-clear .habits-week-head{margin-top:20px;padding-top:18px;border-top:1px solid #ccd6e7}.habits-clear .habits-week-head h2{font-size:15px}.habits-clear .habits-week-head>span,.habits-clear .habits-today,.habits-clear .habits-rules{font-size:12px}
.habits-earned{margin-top:20px}.habits-earned>h2{font-size:14px}.habits-milestone{border-radius:18px}.companion-account-settings{border:1px solid #e0e6ef;border-radius:21px;background:#fff;padding:0 16px}.companion-account-settings .app-list-row{padding:18px 0;min-height:63px}.companion-account-settings .app-list-row span{font-size:15px}.my-settings-heading{font-size:15px;margin:25px 0 14px}
.app-product .app-list-row{font-size:15px}.app-product .setup-card,.auth-card,.membership-card,.companion-history-record,.flow-panel{border-radius:22px;box-shadow:none}.app-product .setup-heading h1{font-size:29px;font-weight:650}.app-product .choice{border-radius:15px}.partner-choices .choice img{height:108px;object-fit:contain;object-position:center 24%;border-radius:12px;background:#e6edf7}
/* Conversation: keep the original live nodes / touch handlers and meaningful states. */
body.v1-practice{background:#e4edf5}.v1-practice .voice-chat{background:radial-gradient(ellipse at 100% 2%,#d9deee 0,transparent 48%),radial-gradient(ellipse at 0 64%,#dbe9f2 0,transparent 63%),linear-gradient(165deg,#edf3fa,#e4edf5 55%,#dce8f3)}
.v1-practice .chatbar{background:#eaf1f9ed;border-bottom:1px solid #ffffff70;padding:calc(12px + env(safe-area-inset-top,0px)) 20px 15px;gap:10px;backdrop-filter:blur(16px)}
.v1-practice .chatbar .row{gap:12px;min-width:0}.v1-practice .chatbar img.avatar{display:block;width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:center 24%;border:2px solid #fff;box-shadow:0 0 0 3px #d9e4f2;background:#e2eaf7;flex:none}
.v1-practice .chatbar h3{font-size:20px;letter-spacing:-.3px;font-weight:650}.v1-practice .chatbar .small{font-size:12px;color:#536985}.v1-practice #app-lesson-progress{height:2px;opacity:.65}
.v1-practice .chatlog{padding:20px 20px 24px;background:none}.v1-practice .chatlog .message{margin:0 0 22px}.v1-practice .chatlog .assistant .bubble{background:#2454e8;color:#fff;border:1px solid #2454e8;border-radius:23px 23px 23px 6px;box-shadow:0 5px 18px #244b7310;padding:20px 19px 13px;font-size:21px;line-height:1.55}
.v1-practice .chatlog .user .bubble{background:#f8fbff;color:#304666;border:1px solid #ffffffc9;border-radius:23px 23px 6px 23px;box-shadow:none;padding:19px 17px 10px;font-size:20px;line-height:1.55}
.v1-practice .chatlog .reading-content,.v1-practice .learner-sentence{font-size:inherit;line-height:inherit}.v1-practice .chatlog .assistant-tools{justify-content:flex-start;gap:3px;margin-top:15px}.v1-practice .chatlog .assistant-tools button{min-width:40px;min-height:40px;border-radius:10px;background:none;color:#eef3ff}.v1-practice .chatlog .assistant-tools button svg{width:20px;height:20px}.v1-practice .msgmeta{font-size:11px;color:#60738c;margin-top:8px}
.v1-practice .app-turn-tools{border-top:1px solid #dbe4f0;padding-top:8px;margin-top:13px;gap:3px}.v1-practice .app-turn-status{width:44px;height:44px;min-width:44px;border-radius:50%;box-shadow:none}.v1-practice .app-turn-duration{font-size:10px}.v1-practice .app-turn-statuses{gap:5px}
.v1-practice .xiaoya-message-avatar,.v1-practice .learner-message-avatar{width:29px;height:29px;object-fit:cover;object-position:center 24%;border:1px solid #fff;background:#edf2fb}
.v1-practice .voice-composer{background:#dae7ed;border:0;border-top:1px solid #cbdce5;border-radius:22px 22px 0 0;min-height:0;padding:14px 22px max(20px,env(safe-area-inset-bottom,0px));box-shadow:none;gap:0}
.v1-practice .voice-composer .aid-record-row{order:100;display:grid;grid-template-columns:minmax(64px,1fr) 64px minmax(64px,1fr);min-height:64px;gap:12px;padding:0;flex:none}
.v1-practice .aid-record-row .hold-to-talk{width:64px;height:64px;min-height:64px;grid-column:2;grid-row:1;justify-self:center;margin:0;padding:0;border:0;border-radius:50%;background:#2454e8;color:#fff;box-shadow:inset 0 1px 0 #ffffff30,0 3px 8px #2454e814;touch-action:none}
.v1-practice .aid-record-row .hold-to-talk>span,.v1-practice .aid-record-row .hold-to-talk>small{display:none}.v1-practice .aid-record-row .hold-to-talk svg{width:29px;height:29px;stroke-width:1.7}.v1-practice .aid-record-row .hold-to-talk.holding{background:#bc4356;box-shadow:0 0 0 4px #f6e7eb}
.v1-practice .aid-record-row .app-dock-tools button{width:44px;min-height:54px;border-radius:12px;gap:7px;color:#50617b;padding:5px 0;background:none}.v1-practice .aid-record-row .app-dock-tools button>span{font-size:11px;line-height:14px}.v1-practice .aid-record-row .aid-help-button{grid-column:1;justify-self:start;width:64px}.v1-practice .aid-record-row #app-keyboard{grid-column:3;justify-self:end}.v1-practice .aid-record-row .app-dock-tools svg{width:24px;height:24px;stroke-width:1.65}
.v1-practice .voice-composer .aid-status-row{order:20;height:auto;min-height:0;margin:0 0 12px;flex:none}.v1-practice .aid-status-row #voice-state{font-size:12px;max-height:60px;padding:0;line-height:1.5}.v1-practice[data-v3-idle=true] .aid-status-row{display:none}
.v1-practice .voice-composer .text-fallback{order:30;margin:0 0 14px}.v1-practice .voice-composer #record-status{order:40}.v1-practice .voice-composer #record-status:empty{display:none}.v1-practice .aid-speaking-note{order:10!important;background:#edf3ff;border:1px solid #dce6f6;border-radius:15px;margin:0 0 16px;padding:12px 14px}.v1-practice .aid-speaking-note p{font-size:18px;line-height:1.6;max-height:min(20dvh,150px);color:#253d5e}.v1-practice .aid-speaking-note small{font-size:11px;color:#536786}
.v1-practice .aid-status-row #voice-enable-audio{background:#eef3fd;border-radius:14px;color:#2454e8}.v1-practice #modal .modal-panel{background:#f7f8fb;border-radius:27px 27px 0 0}.v1-practice #modal .app-coach-head h2,.v1-practice #modal h2{font-size:24px;font-weight:650;letter-spacing:-.5px}.v1-practice #modal .app-coach-tabs button{font-size:15px;font-weight:600}.v1-practice #modal .app-practice-target{font-size:26px;line-height:1.5}.v1-practice #modal .app-native-toggle{background:transparent;color:#2454e8;border-radius:0;padding:14px 0;font-size:15px;min-height:48px}.v1-practice #modal .app-inline-practice{border-radius:20px;padding:18px}.v1-practice #modal .app-inline-practice-controls{border:0;background:#fff}.v1-practice #modal .app-inline-practice-controls .coach-mic{width:64px;height:64px;flex-basis:64px;box-shadow:none}.v1-practice .app-expression-help .modal-panel{background:#f7f8fb}.v1-practice .aid-result{font-size:25px;line-height:1.6}.v1-practice .aid-choice{padding:18px 0}.v1-practice .aid-choice-icon{border-radius:14px;background:#e8efff;color:#2454e8}
@media(max-width:350px){.app-product .app-content{padding-inline:16px}.companion-hero{padding:22px 18px 18px}.companion-hero h1{font-size:26px}.companion-home-portrait{right:-16px!important;width:47%!important;height:180px!important}.companion-hero-heading{min-height:170px}.v3-welcome h2{font-size:23px}.app-product .app-topic-grid{gap:11px}.app-product .illustrated-scene .scene-card-copy{padding:11px}.app-product .illustrated-scene .scene-card-copy b{font-size:15px}.review-v2 .revision-card{padding:18px}.review-v2 .review-focus-card .revision-example{font-size:24px}.habits-clear .habits-overview{padding:18px 15px;gap:0 12px}.habits-clear .habits-time strong,.habits-clear .habits-stats strong{font-size:26px}.v1-practice .chatlog{padding-inline:16px}.v1-practice .chatlog .assistant .bubble,.v1-practice .chatlog .user .bubble{font-size:19px;padding-inline:16px}.v1-practice .chatbar{padding-inline:16px}.v1-practice .voice-composer{padding-inline:16px}.v1-practice .voice-composer .aid-record-row{gap:8px}.review-recorder{padding-inline:16px}}
@media(prefers-reduced-transparency:reduce){.app-product .app-bottom-nav.companion-nav,.v1-practice .app-bottom-nav.companion-nav{background:#fff;backdrop-filter:none}.v1-practice .chatbar{background:#eaf1f9;backdrop-filter:none}}

/* The switch shares the low thumb row; cue text grows above it. */
.v1-practice .aid-record-row .app-dock-tools{display:contents}
.v1-practice .aid-record-row #handsfree-toggle{grid-column:3;grid-row:1;justify-self:start;width:44px;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;position:relative;z-index:3}
.v1-practice .aid-record-row #app-keyboard{grid-row:1}
.v1-practice .hf-track{display:block;position:relative;width:32px;height:20px;border-radius:12px;background:#a7bacb}.v1-practice .hf-track:before{content:"";position:absolute;inset:3px auto 3px 3px;width:14px;border-radius:50%;background:#fff;transition:transform .15s}
.v1-practice [aria-checked=true] .hf-track{background:#2454e8}.v1-practice [aria-checked=true] .hf-track:before{transform:translateX(12px)}
.v1-practice .voice-composer .aid-record-row{grid-template-columns:minmax(64px,1fr) 64px minmax(94px,1fr)}
.v1-practice .aid-record-row .aid-help-button{grid-row:1}
.v1-practice .aid-record-row .hold-to-talk.hf-listening{background:#bc4356}

.v1-practice #handsfree-toggle span{display:block;max-width:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
/* Explicitly retire the old portrait float and overlaid scene-caption layout. */
.app-product .companion-hero-intro::before{content:none;display:none}
.app-product .companion-hero .companion-greeting{display:none}
.app-product .companion-hero h1{font-size:30px;line-height:1.25;letter-spacing:-.7px;margin:5px 0 0}
.app-product .companion-scenes .app-topic-card.illustrated-scene{display:flex;flex-direction:column;height:auto;min-height:0;border:1px solid #e1e7f0;background:#fff;box-shadow:none}
.app-product .companion-scenes .illustrated-scene .scene-card-image{position:relative;inset:auto;display:block;height:130px;width:100%;background-size:cover;background-position:center 25%;flex:none;transform:none}
.app-product .companion-scenes .illustrated-scene .scene-card-copy{position:relative;inset:auto;max-width:none;width:100%;min-height:83px;box-sizing:border-box;padding:14px;gap:7px;color:#20314b}
.app-product .companion-scenes .illustrated-scene .scene-card-copy b{font-size:16px;line-height:1.35;font-weight:600;color:#20314b;text-shadow:none;letter-spacing:0}
.app-product .companion-scenes .illustrated-scene .scene-card-copy small{font-size:11px;color:#637086;background:none;padding:0;line-height:1.4;font-weight:400}
.companion-you.habits-clear .habits-overview,.companion-you .habits-clear .habits-overview{align-content:start;row-gap:0}
.companion-you .habits-clear .habits-stats dt{min-height:0;margin:0;font-size:12px;line-height:1.5}
.companion-you .habits-clear .habits-stats>div{padding-inline-start:0;border-inline-start:0}
.companion-you .habits-clear .habits-time{padding-inline-start:0;border:0;align-items:flex-start;justify-content:flex-start}
.companion-you .habits-clear .habits-time p{min-height:0;margin:0;line-height:1.5}
.companion-you .habits-clear .habits-stats>div+div{padding-bottom:0}
.companion-you .habits-clear .habits-week-head{margin-top:18px}
@media(max-width:350px){.app-product .companion-hero h1{font-size:25px}.app-product .companion-scenes .illustrated-scene .scene-card-copy{padding:11px}}
.v1-practice .chatbar img.avatar{display:block!important}
.v1-practice .aid-record-row .hold-to-talk{min-width:64px;max-width:64px;max-height:64px;aspect-ratio:1}
.v1-practice .aid-record-row #handsfree-toggle{width:50px}.v1-practice #handsfree-toggle span{max-width:50px}
.app-product .companion-hero-intro{width:68%}.app-product .companion-hero h1{font-size:26px;line-height:1.3}
html[lang=zh-CN] .app-product .companion-hero h1{font-size:24px;letter-spacing:-.6px}
@media(max-width:350px){.app-product .companion-hero h1,html[lang=zh-CN] .app-product .companion-hero h1{font-size:21px}}
/* Complete page compositions, using real runtime data and existing action nodes. */
.app-product[data-screen=home]>.app-header,.app-product[data-screen=home] #app>.app-header,.app-product[data-screen=you] #app>.app-header,.app-product[data-screen=topics] #app>.app-header,.app-product[data-screen=review]:not(.review-practising) #app>.app-header{display:none}
.app-product .v3-pages{padding-top:calc(26px + env(safe-area-inset-top,0px))}
.v3-pages h1,.v3-pages h2,.v3-pages h3{color:#20314b}.v3-pages h2{font-size:18px;line-height:1.45;font-weight:600}
.v3-pages .v3-welcome{padding:0;margin:0 0 24px}.v3-pages .v3-welcome>div{min-width:0;flex:1}.v3-pages .v3-welcome h2{font-size:23px;line-height:1.35;letter-spacing:-.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3-pages .v3-welcome>a{align-self:center}.v3-pages .v3-welcome{gap:14px}.v3-pages .v3-welcome p{font-size:12px}
.app-product .v3-hero{background:linear-gradient(135deg,#dee8ff,#e9e5f5);border:0;padding:22px 21px 20px;box-shadow:none;border-radius:25px}
.v3-hero-goal{display:flex;align-items:center;gap:7px;color:#526686;font-size:11px;line-height:1.5;margin:0 0 17px}.v3-hero-goal svg{width:16px;height:16px}
.app-product .v3-hero .companion-hero-heading{min-height:140px;margin-bottom:16px}.app-product .v3-hero .companion-hero-intro{width:66%;min-width:0}.app-product .v3-hero h1,html[lang=zh-CN] .app-product .v3-hero h1{font-size:26px;line-height:1.35;font-weight:650;letter-spacing:-.7px;margin:0}
.app-product .v3-hero .companion-hero-hint{margin:12px 0 0;font-size:13px;line-height:1.65;color:#4b5b77}.app-product .v3-hero .companion-home-portrait{height:140px!important;right:-8px!important;top:auto!important;bottom:12px!important;width:36%!important;mask-image:linear-gradient(#000 78%,transparent);-webkit-mask-image:linear-gradient(#000 78%,transparent)}
.app-product .v3-hero>.primary{display:flex;gap:9px;justify-content:center;width:100%;min-height:52px}.v3-hero .primary>svg{flex:none;margin:0;width:20px;height:20px}.v3-hero .primary>svg:first-child{width:20px}.v3-hero .companion-continue-label,.v3-hero .v3-cta-label{flex:0 1 auto;text-align:center}.v3-hero .companion-remaining{flex:none}
.v3-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 15px}.v3-section-head h2{margin:0;font-size:17px;font-weight:600}.v3-section-head>a{display:flex;align-items:center;gap:3px;color:#637086;font-size:12px;flex:none;min-height:32px}.v3-section-head svg{width:16px;height:16px}
.v3-week{margin:26px 0}.v3-week .v3-section-head{margin:0 0 17px}.v3-week .companion-days{margin:0;padding:0}.v3-week .companion-days b{width:30px;height:30px;background:#e9edf5}.v3-week .companion-days .learned b{background:#2454e8;color:white}.v3-week .companion-days small{font-size:11px;color:#637086}
.app-product .v3-scene-preview .app-topic-card{height:auto;min-height:0}.app-product .v3-scene-preview .scene-card-copy{display:flex;flex-direction:column;gap:5px}.app-product .v3-scene-preview .scene-card-image{height:120px}
.app-product .v3-featured-scene{margin:20px 0 4px}.app-product .companion-scenes .v3-featured-scene .app-topic-card{position:relative;border:0;height:210px;background:#dce6f3}.app-product .companion-scenes .v3-featured-scene .scene-card-image{height:210px;position:absolute;inset:0;background-size:cover;background-position:center 25%}.app-product .companion-scenes .v3-featured-scene .scene-card-shade{display:block;position:absolute;inset:0;background:linear-gradient(transparent 25%,#152c50bc)}.app-product .companion-scenes .v3-featured-scene .scene-card-copy{position:absolute;bottom:0;left:0;right:0;padding:20px;min-height:0}.app-product .companion-scenes .v3-featured-scene .scene-card-copy b{font-size:23px;color:#fff}.app-product .companion-scenes .v3-featured-scene .scene-card-copy small{color:#f4f7ff}
.v3-page-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 25px}.v3-page-top h1{font-size:30px;letter-spacing:-.8px;font-weight:650;margin:0}.v3-icon-link{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef1f7;color:#637086}.v3-icon-link svg{width:21px}
.v3-pages .my-profile-header{padding:0;margin:0 0 26px}.v3-pages .my-profile-header img{width:60px;height:60px}.v3-pages .my-profile-header strong{font-size:25px}.v3-pages .my-profile-header small{font-size:12px}
.v3-lifetime{padding:22px 19px 13px;border-radius:22px;background:linear-gradient(125deg,#eaf0fe,#f0edf8)}.v3-lifetime>h2{margin:0}.v3-lifetime dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 13px;padding-bottom:19px;border-bottom:1px solid #ccd6e780}.v3-lifetime dl>div+div{border-inline-start:1px solid #ccd6e7;padding-inline-start:18px}.v3-lifetime dt{font-size:12px;color:#526480;margin-bottom:9px;line-height:1.5}.v3-lifetime dd{margin:0;color:#294fbb;font-weight:600;font-size:30px;line-height:1.3;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.v3-lifetime dd[data-lifetime-minutes]{display:flex;gap:6px;flex-wrap:wrap;font-size:23px;letter-spacing:-.5px}.v3-footprint-rules{color:#5c6d88;font-size:11px}.v3-footprint-rules summary{display:flex;gap:8px;align-items:center;min-height:32px;cursor:pointer}.v3-footprint-rules svg{width:15px;height:15px}.v3-footprint-rules p{font-size:12px;line-height:1.65;margin:10px 0}
.v3-weekly{background:#fff;border-radius:20px;padding:20px;margin:18px 0}.v3-weekly h2{font-size:16px;margin:0}.v3-weekly p{font-size:12px;color:#637086;margin:10px 0 16px}.v3-weekly p strong{font-size:22px;color:#20314b;font-weight:600}.v3-week-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px}.v3-week-bars>div{text-align:center}.v3-week-bars>div>span{display:flex;align-items:end;height:56px;background:#f1f4fa;border-radius:5px;overflow:hidden}.v3-week-bars i{display:block;width:100%;background:linear-gradient(#c0d0f6,#93afe9);border-radius:5px}.v3-week-bars small{display:block;color:#637086;font-size:10px;margin-top:8px}
.v3-settings-list{margin-top:22px}.v3-setting-row{display:flex;align-items:center;gap:12px;min-height:60px;padding:15px 0;border-bottom:1px solid #e1e7f0;color:#20314b;text-decoration:none}.v3-setting-row>svg{width:19px;height:19px;flex:none;color:#73809a}.v3-setting-row>svg:last-child{width:16px}.v3-setting-row>span{flex:1;font-size:14px;line-height:1.5}.v3-setting-row>small{font-size:11px;color:#637086;max-width:32%;text-align:end}.v3-achievements{margin:20px 0;color:#637086;font-size:13px}.v3-achievements>summary{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}.v3-achievements>summary>svg{width:19px;height:19px}.v3-achievements>summary>svg:last-child{margin-inline-start:auto;width:16px}.v3-achievements .habits-earned>h2{display:none}
.app-product .revision-hub{padding-top:calc(30px + env(safe-area-inset-top,0px))}.review-hub-heading{margin-bottom:22px}.review-hub-heading .eyebrow{display:none}.review-hub-heading h1{margin:0 0 10px}.v3-review-date{display:flex;justify-content:space-between;gap:14px;font-size:12px;color:#637086;margin:25px 0 13px}.review-v2 .review-focus-card{position:relative;padding:23px;border:0;background:linear-gradient(145deg,#eaf0fe,#f2edfa)}.review-focus-card>header{padding-inline-end:40px}.review-focus-card .revision-number{display:none}.review-focus-card .review-card-actions>.review-save{position:absolute;inset-block-start:12px;inset-inline-end:12px;background:transparent;border:0;color:#637086;width:40px;height:40px;min-width:40px}.review-focus-card .review-card-actions .primary{width:100%;flex:1}.review-v2 .review-focus-card .revision-example{font-size:26px;line-height:1.45}.review-focus-card .review-source-link{font-size:10px}.review-focus-card .revision-source{margin-top:13px;padding-top:10px;border-color:#d9e0ee}
.review-v2 .v3-review-compact{border:0;border-bottom:1px solid #e1e7f0;background:transparent;box-shadow:none;border-radius:0;padding:0;margin:0}.v3-review-row{display:flex;align-items:center;gap:13px;width:100%;text-align:start;background:none;border:0;padding:19px 0;color:#20314b}.v3-review-row>span:nth-child(2){flex:1;min-width:0}.v3-review-row strong{display:block;font-size:15px;font-weight:600;line-height:1.45}.v3-review-row>span:nth-child(2)>span{display:block;font-size:13px;line-height:1.55;color:#637086;margin-top:6px}.v3-review-row>svg{width:17px;height:17px;flex:none;color:#637086}.v3-review-compact:nth-of-type(3) .v3-row-icon{background:#f0eafa;color:#7761a8}.v3-compact-secondary{display:flex;gap:8px;align-items:start;padding-bottom:10px}.v3-compact-secondary .revision-source{flex:1;margin:0;padding:0;border:0}.review-v2 .v3-compact-secondary .review-save{width:36px;height:36px;min-width:36px;background:transparent;border:0}.v3-compact-secondary .review-save svg{width:17px}
.v3-review-collection{border-radius:20px;background:#fff;margin:28px 0 0;padding:0 19px}.v3-review-collection .review-library-link{background:none;border:0;border-radius:0;padding:19px 0;margin:0;box-shadow:none}.v3-review-collection .review-library-link+.review-library-link{border-top:1px solid #e1e7f0}.v3-review-collection .review-library-link strong{font-size:15px}.v3-review-collection .review-library-link small{font-size:12px;line-height:1.5}.v3-review-collection .revision-list-icon{width:32px;background:transparent}
.review-v2 .v3-library-card{border:0;box-shadow:none;background:#fff;border-radius:19px;padding:20px}.v3-library-card .revision-number{display:none}.review-v2 .v3-library-card .revision-example{font-size:21px}.review-v2 .v3-library-card .review-card-actions .primary{background:#edf2fc;color:#2454e8}.review-v2 .v3-library-card .revision-source{border-top:0}
.review-practising .v3-review-date,.review-practising .v3-review-collection,.review-practising .v3-compact-secondary,.review-practising .v3-review-row{display:none!important}.review-practising .review-inline-head{padding:0 0 21px;border:0}.review-practising .review-mode-switch{padding:4px;margin:0 0 29px;display:flex;gap:4px}.review-practising .review-mode-switch button{padding:13px 8px;min-height:46px;font-size:14px}.review-practising .review-inline .review-target{padding:10px 0 20px;font-size:28px;line-height:1.5;letter-spacing:-.5px;background:none}.review-practising .review-listen-actions{justify-content:center;gap:12px;margin:10px 0 25px}.review-practising .review-question{padding:20px;background:white;border:0}.review-practising .review-task-instruction{font-size:13px;line-height:1.6;color:#637086}.review-practising .review-reference-toggle{padding:16px;border-radius:14px;background:white}.review-practising .review-recorder{border-radius:0;border-top:1px solid #cbdce5}
.app-product .companion-history-record{background:white;border:0;padding:20px;margin:14px 0;border-radius:19px}.companion-history-record h3{font-size:18px}.companion-history-meta{font-size:11px}.companion-history-record p{font-size:12px}.companion-history-actions .secondary{border:0;background:#edf2fc;color:#2454e8;font-size:13px;min-height:42px}
.app-product .flow-settings-form{padding:0;border:0;background:transparent;box-shadow:none}.app-product .flow-setting-group{border:0;background:white;border-radius:18px;margin-bottom:12px}.app-product .flow-setting-group>summary{font-size:14px;min-height:64px;padding:18px}.app-product .flow-setting-group>summary>small{font-size:12px}.app-product .flow-setting-fields{padding:0 18px 20px}.app-product .partner-choice img{height:135px;object-fit:contain;object-position:center bottom;background:linear-gradient(150deg,#e6edf7,#ede5ef);border-radius:13px}.app-product .partner-choices{gap:12px}.app-product .partner-choice>span{border-radius:16px;padding:10px}.app-product .setup-heading{padding-bottom:24px}.app-product .setup-heading .eyebrow{display:none}
@media(max-width:350px){.app-product .v3-hero{padding:20px 18px}.app-product .v3-hero h1,html[lang=zh-CN] .app-product .v3-hero h1{font-size:22px}.app-product .v3-hero .companion-hero-intro{width:65%}.app-product .v3-hero .companion-home-portrait{height:140px!important;right:-6px!important}.app-product .v3-hero .companion-hero-heading{min-height:162px}.v3-lifetime{padding-inline:15px}.v3-lifetime dl{gap:6px}.v3-lifetime dl>div+div{padding-inline-start:7px}.v3-lifetime dt{font-size:11px;line-height:1.35}.v3-lifetime dd{font-size:24px}.v3-lifetime dd[data-lifetime-minutes]{font-size:16px;gap:4px}.v3-week-bars{gap:12px}.v3-setting-row{gap:9px}.v3-setting-row>span{font-size:13px}}
.companion-you.v3-pages .membership-profile-entry{padding:18px;border:1px solid #e1e7f0;background:#edf2fc;border-radius:19px;box-shadow:none;margin-top:20px}.companion-you.v3-pages .membership-profile-entry .my-status-main{font-size:20px;line-height:1.4;margin:9px 0}.companion-you.v3-pages .membership-profile-entry>p:not(.membership-entry-brand){font-size:12px;line-height:1.6;margin:8px 0}.companion-you.v3-pages .membership-profile-entry .my-status-action{font-size:13px;min-height:42px;padding:10px 14px;border-radius:12px;margin-top:12px}.companion-you.v3-pages .membership-entry-brand{font-size:13px}
.v1-practice .app-expression-help .aid-choice{background:white;border:1px solid #e5eaf3;border-radius:18px;padding:18px;margin:12px 0;gap:13px}.v1-practice .app-expression-help .aid-choice b{font-size:16px}.v1-practice .app-expression-help .aid-choice small{font-size:12px;line-height:1.6}.v1-practice .app-expression-help .aid-intro{font-size:13px;line-height:1.7}.v1-practice .app-expression-help .aid-context-disclosure{border-radius:15px;padding:13px;background:#edf2fc}.v1-practice .app-expression-help .aid-source{border-radius:15px;background:#eaf0fa;padding:15px}.v1-practice .app-expression-help .aid-sheet-foot{background:#f7f8fb}.v1-practice .app-expression-help .aid-listen{gap:10px}.v1-practice .app-expression-help .aid-listen button{border:1px solid #dce4f1;background:#fff;border-radius:14px;min-height:44px}.v1-practice .app-expression-help .aid-phrase-row{border-bottom:1px solid #e1e7f0}
.review-practising .review-mode-switch button{flex:1;text-align:center}
