/* Blue Companion — 轻快陪伴, approved 2026-10-18. CSS pixels = iOS points. */
:root,body.app-product,body.v1-practice,body.auth-page{--flow-ink:#172b4d;--flow-muted:#5f6f85;--flow-accent:#2454e8;--flow-deep:#2454e8;--flow-canvas:#f6f9ff;--flow-tint:#e7efff;--flow-line:#e1e8f4;--flow-warm:#eaf0ff;--ink:#172b4d;--muted:#5f6f85;--blue:#2454e8;--paper:#f6f9ff;--line:#e1e8f4;--accent:#2454e8;--xiaoya-bubble:#2454e8;--chat-surface:#e9f1fc;color-scheme:light}
body.app-product,body.v1-practice,body.auth-page{background:var(--flow-canvas);color:var(--flow-ink);font:17px/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
body.app-product *,body.v1-practice *,body.auth-page *{box-sizing:border-box}
body.app-product :is(button,a,input,select,textarea),body.v1-practice :is(button,a,input,select,textarea),body.auth-page :is(button,a,input,select,textarea){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #6e91ff;outline-offset:3px}
.app-product #app{max-width:430px;margin-inline:auto;background:var(--flow-canvas);min-height:100dvh}
.app-product .app-content{padding:16px 20px calc(138px + env(safe-area-inset-bottom,0px))}
.app-product .app-header{background:var(--flow-canvas);padding:calc(10px + env(safe-area-inset-top,0px)) 20px 14px;border-bottom:0;min-height:70px}
.app-product .app-header h2{font-size:23px;letter-spacing:-.4px;line-height:1.35;overflow-wrap:anywhere}
.app-product[data-screen=home]>.site-header,.app-product[data-screen=you]>.site-header,.app-product[data-screen=home] #app>.app-header,.app-product[data-screen=you] #app>.app-header{display:none}
.app-product .primary,.auth-page .primary,.v1-practice .button:not(.secondary):not(.ghost),.flow-primary{background:var(--flow-accent);color:#fff;border:0;border-radius:25px;min-height:58px;padding:15px 20px;font-size:17px;font-weight:650;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none}
.app-product .secondary,.v1-practice .button.secondary,.auth-page .secondary{background:var(--flow-tint);color:var(--flow-accent);border:0;border-radius:17px;min-height:48px;padding:11px 16px;font-size:16px;font-weight:600}
.app-product .primary[aria-disabled=true],.app-product .secondary[aria-disabled=true]{pointer-events:none;opacity:.5}
.app-bottom-nav.companion-nav,.v1-practice .app-bottom-nav.companion-nav{position:fixed;z-index:20;inset:auto auto calc(8px + env(safe-area-inset-bottom,0px)) 50%;transform:translateX(-50%);width:min(calc(100% - 24px),406px);max-width:406px;height:auto;min-height:72px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:7px 10px;border:1px solid var(--flow-line);border-radius:29px;background:#fff;box-shadow:0 6px 28px #1b3b6a0a;backdrop-filter:none}
.companion-nav a,.v1-practice .companion-nav a{min-height:55px;font-size:12px;font-weight:500;border-radius:22px;padding:7px 4px;gap:5px;line-height:1.3;color:var(--flow-muted);background:none;text-decoration:none;display:flex;align-items:center;justify-content:center;flex-direction:column}
.companion-nav a.active,.v1-practice .companion-nav a.active{background:var(--flow-tint);color:var(--flow-accent);font-weight:700}
.companion-nav a svg,.v1-practice .companion-nav a svg{width:23px;height:23px}
.companion-brand{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px;padding-top:calc(12px + env(safe-area-inset-top,0px))}
.companion-brand>a{display:block;flex:0 0 min(132px,38vw);line-height:0;text-decoration:none}
.companion-brand>a img{display:block;width:100%;height:auto}
.companion-brand>span{font-size:12px;line-height:1.5;color:var(--flow-muted);max-width:48%;text-align:end}
.companion-hero{padding:20px;background:#dfeaff;border-radius:28px}
.companion-greeting{font-size:15px;color:#4b6187;margin:0 0 16px}
.companion-hero h1{font-size:38px;line-height:1.24;font-weight:750;letter-spacing:-1.1px;max-width:100%;overflow-wrap:break-word;margin:0}
.companion-hero-hint{color:#4b6187;font-size:15px;line-height:1.55;margin:14px 0 18px}
.companion-hero>.primary{width:100%;margin:0;font-size:18px;min-height:54px}
.companion-hero>.companion-continue{gap:8px;white-space:nowrap}
.companion-hero>.companion-continue .companion-continue-label{font-size:18px;font-weight:650}
.companion-hero>.companion-continue .companion-remaining{font-size:12px;font-weight:500;line-height:1.3;opacity:.88}
.companion-hero-under{font-size:12px;line-height:1.6;text-align:center;color:#4b6187;margin:12px 0 0}
.companion-invitation{font-size:16px;line-height:1.65;color:var(--flow-muted);margin:21px 5px 0}
.companion-week{padding:18px;background:#fff;border-radius:26px;margin-top:16px}
.companion-section-title{display:flex;justify-content:space-between;gap:12px;align-items:start}
.companion-section-title h2{font-size:20px;line-height:1.35;letter-spacing:-.4px;margin:0;font-weight:700;max-width:68%}
.companion-section-title>span{font-size:11px;line-height:1.6;max-width:32%;text-align:end;color:var(--flow-muted)}
.companion-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:14px}
.companion-days>div{text-align:center;color:var(--flow-muted)}
.companion-days b{display:grid;place-items:center;background:var(--flow-tint);border:0;width:30px;height:30px;border-radius:50%;margin-inline:auto}
.companion-days small{font-size:11px;display:block;margin-top:7px}
.companion-days .learned b{background:var(--flow-accent);color:white}
.companion-days .today:not(.learned) b{background:transparent;box-shadow:inset 0 0 0 1.5px var(--flow-accent)}
.companion-days svg{width:16px;height:16px}
.companion-recent{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--flow-ink);background:#fff;padding:16px;border-radius:23px;margin-top:12px;min-height:76px}
.companion-recent-icon{width:40px;height:44px;border-radius:13px;background:var(--flow-tint);color:var(--flow-accent);display:grid;place-items:center;flex-shrink:0}
.companion-recent>div{flex:1;min-width:0}
.companion-recent strong{display:block;font-size:17px;line-height:1.4;font-weight:650}
.companion-recent small{display:block;font-size:13px;color:var(--flow-muted);line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.companion-recent>svg{width:17px;flex-shrink:0;color:var(--flow-muted)}
.app-product h1.app-page-title{font-size:32px;line-height:1.25;letter-spacing:-.7px;margin-top:5px}
.app-product .app-page-subtitle{font-size:16px;line-height:1.65;margin-top:12px}
.app-product .app-chips{gap:8px;flex-wrap:wrap;margin:23px 0}
.app-product .app-chips button{background:var(--flow-tint);color:var(--flow-muted);border:0;border-radius:24px;min-height:43px;padding:9px 15px;font-size:14px}
.app-product .app-chips button.active{background:var(--flow-accent);color:#fff}
.app-product .app-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.app-product .app-topic-card{padding:22px 17px;min-height:184px;border:0;background:#fff;border-radius:25px;gap:21px;text-decoration:none;color:var(--flow-ink)}
.app-product .app-topic-card .topic-art{width:43px;height:43px;background:var(--flow-tint);border-radius:50%;color:var(--flow-accent);display:grid;place-items:center}
.app-product .app-topic-card b{font-size:20px;line-height:1.35;font-weight:700;letter-spacing:-.3px;overflow-wrap:break-word}
.app-product .app-topic-card small{font-size:14px;line-height:1.55;color:var(--flow-muted);margin-top:8px}
/* Compact landing pages: a shared introduction, followed by useful content. */
.app-product[data-screen=topics] .app-header{min-height:60px;padding-bottom:6px}
.app-product .companion-scenes{padding-top:10px}
.app-product .companion-page-intro{background:var(--flow-tint);border:1px solid #dce6fa;border-radius:22px;padding:18px 20px;margin:0}
.app-product .companion-page-intro h1{font-size:24px;line-height:1.35;letter-spacing:-.5px;font-weight:750;margin:0}
.app-product .companion-page-intro p{font-size:14px;line-height:1.6;color:var(--flow-muted);margin:10px 0 0}
.app-product .companion-scenes .app-chips{gap:6px;flex-wrap:nowrap;overflow-x:auto;margin:16px 0;scrollbar-width:none;padding-bottom:2px}
.app-product .companion-scenes .app-chips button{flex-shrink:0;min-height:44px;padding:9px 13px;background:#fff;border:1px solid var(--flow-line);font-size:14px}
.app-product .companion-scenes .app-chips button.active{background:var(--flow-accent);border-color:var(--flow-accent);color:#fff}
.app-product .companion-scenes .app-topic-grid{gap:12px}
.app-product .companion-scenes .app-topic-card{padding:16px;min-height:164px;gap:12px;border:1px solid var(--flow-line);border-radius:20px;justify-content:flex-start}
.app-product .companion-scenes .app-topic-card .topic-art{width:36px;height:36px;border-radius:12px;background:var(--flow-tint);color:var(--flow-accent);flex-shrink:0}
.app-product .companion-scenes .topic-art svg{width:22px;height:22px}
.app-product .companion-scenes .app-topic-card>div{min-width:0;width:100%}
.app-product .companion-scenes .app-topic-card b{font-size:18px;line-height:1.4;margin:0;letter-spacing:-.2px}
.app-product .companion-scenes .app-topic-card small{font-size:13px;line-height:1.55;margin:6px 0 0;overflow-wrap:break-word}
.app-product .companion-scenes :is(.app-topic-card,.app-chips button):focus-visible{outline:3px solid #87a6ff;outline-offset:3px}
@media(max-width:350px){.app-product .companion-page-intro{padding:16px}.app-product .companion-page-intro h1{font-size:22px}.app-product .companion-scenes .app-topic-card{padding:14px 12px}.app-product .companion-scenes .app-chips{gap:5px}.app-product .companion-scenes .app-chips button{padding-inline:11px}}
.app-product .app-scene-hero{background:#dfeaff;border-radius:28px;min-height:210px;padding:26px}
.app-product .app-scene-hero h1{font-size:34px;line-height:1.3}
.app-product .app-scene-info p{font-size:18px;line-height:1.7}
.app-product .app-fixed-cta{background:var(--flow-canvas);border-color:var(--flow-line)}
.app-product .app-notice{background:#fff3df;color:#805722;border:0}
.app-product .app-list-row{font-size:18px;font-weight:600;line-height:1.4;min-height:70px;gap:12px;padding:17px 0;border-color:var(--flow-line);color:var(--flow-ink)}
.app-product .app-list-row span{min-width:0;flex:1;overflow-wrap:break-word}
.app-product .app-list-row small{font-size:13px;font-weight:400;line-height:1.5;color:var(--flow-muted);max-width:34%;text-align:end}
.app-product .app-list-row>svg{width:21px;color:var(--flow-accent);flex-shrink:0}
.app-product .app-list-row>svg:last-child{width:16px;color:var(--flow-muted)}
.companion-you-title h1{font-size:36px;line-height:1.2;font-weight:750;letter-spacing:-1px;margin:14px 0 12px;overflow-wrap:anywhere}
.companion-you-title>p{font-size:16px;line-height:1.65;color:var(--flow-muted);margin:0 0 25px}
.companion-effort{background:#fff;border-radius:27px;padding:24px;margin:22px 0}
.companion-effort .eyebrow{font-size:12px;letter-spacing:1px;color:var(--flow-accent)}
.companion-effort-number{font-size:50px;line-height:1.1;font-weight:750;letter-spacing:-1.5px;color:var(--flow-accent);margin:14px 0}
.companion-effort-number small{font-size:16px;line-height:1.6;font-weight:500;color:var(--flow-muted);letter-spacing:0}
.companion-effort>p{font-size:15px;line-height:1.65;color:var(--flow-muted)}
.companion-milestone{display:flex;align-items:center;gap:10px;padding-top:19px;margin-top:19px;border-top:1px solid var(--flow-line);text-decoration:none;color:var(--flow-ink);min-height:62px}
.companion-milestone>svg{color:var(--flow-accent);width:25px;flex-shrink:0}
.companion-milestone>svg:last-child{margin-inline-start:auto;width:16px}
.companion-milestone>span{font-size:16px;font-weight:600;line-height:1.5}
.companion-account-settings{margin-top:23px}
.app-product .app-section-heading h2{font-size:22px;line-height:1.4;font-weight:700;letter-spacing:-.4px}
.companion-history-date{font-size:14px;font-weight:650;color:var(--flow-muted);margin:26px 0 10px}
.companion-history-record{background:#fff;border-radius:25px;padding:21px;margin:13px 0}
.companion-history-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;line-height:1.5;color:var(--flow-muted)}
.companion-history-meta>span{display:flex;align-items:center;gap:5px}.companion-history-meta svg{width:14px;height:14px}
.companion-history-meta .is-open{color:var(--flow-accent);font-weight:600}
.companion-history-record h3{font-size:22px;line-height:1.45;font-weight:700;letter-spacing:-.4px;margin:10px 0 6px;overflow-wrap:anywhere}
.companion-history-record>p{font-size:14px;line-height:1.6;color:var(--flow-muted);margin:0}.companion-history-record>p small{font-size:11px}
.companion-history-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px;align-items:center}
.companion-history-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:14px;line-height:1.4;text-decoration:none;color:var(--flow-muted)}
.companion-history-actions a.secondary{font-size:14px;padding:11px 15px;min-height:44px;color:var(--flow-accent);border-radius:22px}
.companion-history-actions a.primary{color:#fff;width:100%;justify-content:space-between;font-size:16px;min-height:50px}
.companion-history-actions svg{width:17px;height:17px;flex-shrink:0}
.companion-more{width:100%;margin:22px 0}
.companion-empty{padding:45px 15px;text-align:center;color:var(--flow-muted);font-size:17px;line-height:1.7}
.companion-empty>svg{width:45px;height:45px;color:var(--flow-accent)}
.companion-empty>p{margin:20px 0}
.companion-plan .flow-panel{border:0;background:#fff;border-radius:27px;padding:24px}
.companion-plan .readable-active-plan{background:#dfeaff;color:var(--flow-ink)}
.companion-plan .readable-active-plan :is(p,small,.flow-progress-count,.flow-calendar-weekday){color:var(--flow-muted)}
.companion-plan .readable-active-plan .flow-progress-count{color:var(--flow-accent)}
.companion-plan .readable-active-plan .flow-progress-track{background:#c9d9ff}
.companion-plan .readable-active-plan .flow-progress-track>span{background:var(--flow-accent)}
.companion-plan .readable-active-plan .flow-calendar>span:not(.flow-calendar-blank){background:#fff;color:var(--flow-muted)}
.companion-plan .readable-active-plan .flow-calendar>span.learned{background:var(--flow-accent);color:white}
.companion-habits>.flow-calendar{background:#fff;padding:18px;border-radius:24px;margin:25px 0}
.companion-habits .flow-calendar>span.learned{background:var(--flow-accent);color:white}
.companion-award{background:#dfeaff;color:var(--flow-ink);padding:30px 24px;border-radius:28px;text-align:center;margin:24px 0}
.companion-award>svg{width:55px;height:55px;color:var(--flow-accent)}
.companion-award>h2{font-size:25px;line-height:1.4;margin:17px 0 10px}.companion-award>p{font-size:16px;line-height:1.7;color:var(--flow-muted)}
/* Xiaoya: a natural cutout on Home and a familiar face above her chat bubbles. */
.companion-hero{position:relative;overflow:hidden}
.companion-hero-heading{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px;align-items:start}
.companion-hero-intro{min-width:0}
.companion-home-portrait{width:100%;height:112px;object-fit:contain;object-position:center top;pointer-events:none}
.companion-hero .companion-greeting,.companion-hero h1{min-width:0;max-width:100%}
.companion-hero .companion-greeting{font-size:14px;line-height:1.5;margin:0}
.companion-hero h1{margin:10px 0 0;font-size:clamp(21px,6.4vw,26px);line-height:1.3;letter-spacing:-.65px;overflow-wrap:break-word}
.companion-hero .companion-hero-hint{position:relative;margin-top:14px}
.v1-practice .chatlog .message.assistant{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.v1-practice .chatlog .message.assistant>.bubble{width:100%;min-width:0}
.v1-practice .xiaoya-message-avatar{display:block;width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover;object-position:center 23%;background:#fff;border:1px solid #dbe5f5;box-shadow:0 2px 7px #19375e12;margin-left:4px}
@media(max-width:380px){.companion-hero-heading{grid-template-columns:minmax(0,1fr) 88px}.companion-home-portrait{height:104px}.v1-practice .xiaoya-message-avatar{width:31px;height:31px;flex-basis:31px}}
/* Conversation: preserve capture IDs, safe areas, cancel gestures and audio state. */
.v1-practice main{max-width:680px}
.v1-practice .chatbar{padding:calc(10px + env(safe-area-inset-top,0px)) 17px 15px;background:#fff}
.v1-practice .chatbar .row{gap:0}
.v1-practice .chatbar h3{font-size:21px;line-height:1.3;font-weight:750}.v1-practice .chatbar .small{font-size:13px;line-height:1.45;margin-top:4px}
.v1-practice :is(.chatbar .avatar,.emptychat>img,.flow-teacher img),.auth-page .auth-portrait,.flow-intro-portrait>img,.flow-setup-ready>img,.daily-portrait{display:none!important}
.v1-practice .chatlog{background:var(--chat-surface);padding:23px 16px 27px}
.v1-practice .chatlog .message{max-width:94%;width:94%}
.v1-practice .chatlog .message.user{max-width:86%;width:auto}
.v1-practice .chatlog .assistant .bubble{background:var(--flow-accent);color:#fff;border:0;border-radius:27px 27px 27px 8px;padding:22px 20px 13px;grid-template-columns:44px minmax(0,1fr)}
.v1-practice .chatlog .user .bubble{background:#fff;color:var(--flow-ink);border:0;border-radius:25px 25px 6px 25px;padding:20px 21px 14px}
.v1-practice .chatlog :is(.assistant .bubble .cn,.user .bubble .cn){font-size:24px;line-height:1.8;font-weight:400;letter-spacing:0;word-break:normal;overflow-wrap:break-word}
.v1-practice .chatlog .assistant .reading-content{min-width:0;overflow-wrap:break-word;word-break:normal}
.v1-practice .chatlog .assistant-tools button{background:none;color:#fff}.v1-practice .chatlog .assistant [data-reading-toggle]{font-size:12px}
.v1-practice .chatlog .assistant-tools button[aria-expanded=true],.v1-practice .chatlog .assistant [data-reading-toggle][aria-expanded=true]{background:#ffffff25}
.v1-practice .chatlog .assistant .reply-translation{font-size:16px;line-height:1.65;background:#ffffff15;padding:16px;border-radius:16px}
.v1-practice .chatlog .msgmeta{font-size:12px;color:var(--flow-muted)}
.v1-practice .chatlog .notice{background:#fff;border-left:0;padding:21px;border-radius:23px;color:var(--flow-muted);font-size:16px;line-height:1.6}
.v1-practice .voice-composer{background:#fff;border-color:var(--flow-line);padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
.v1-practice .aid-record-row .hold-to-talk{background:var(--flow-accent);border-radius:25px;box-shadow:none;min-height:62px;transform:none;font-size:17px}
.v1-practice .aid-record-row .hold-to-talk:not(.holding):not(.hold-cancelling){background:var(--flow-accent)}
.v1-practice .aid-record-row .hold-to-talk.holding{background:#b4495b;box-shadow:none}
.v1-practice .aid-record-row .hold-to-talk.hold-cancelling{background:#9c4454;box-shadow:none}
.v1-practice .hold-gesture-feedback{background:#fff3f4;color:#963d4d;box-shadow:0 4px 16px #70273612;border-radius:13px;font-size:13px}
.v1-practice #voice-state{font-size:12px;line-height:1.5;color:var(--flow-muted)}
.v1-practice .app-voice-wave{background:#fff;border-color:var(--flow-line);color:var(--flow-accent);box-shadow:0 3px 13px #21498508}
.v1-practice .composer textarea{background:var(--flow-canvas);border-color:var(--flow-line);font-size:17px;border-radius:20px}
.v1-practice .lesson-options-panel{background:#fff;border-color:var(--flow-line)}
.v1-practice .lesson-options-panel .app-options-title h2{font-size:25px;line-height:1.4}
.v1-practice .emptychat h2{font-size:29px;line-height:1.3}.v1-practice .emptychat p{font-size:16px}
/* Notebooks: one clear action pair per saved item, room for long definitions. */
.v1-practice .app-saved-page{background:var(--flow-canvas);max-width:430px}
.v1-practice .app-saved-head{background:var(--flow-canvas);padding:calc(10px + env(safe-area-inset-top,0px)) 20px 12px}
.v1-practice .app-saved-head h1{font-size:26px;line-height:1.3;letter-spacing:-.4px}
.v1-practice .app-saved-body{background:var(--flow-canvas);padding:12px 20px calc(175px + env(safe-area-inset-bottom,0px))}
.v1-practice .flow-saved-heading p{font-size:16px;line-height:1.6;margin:0}
.v1-practice .app-saved-tabs{background:var(--flow-tint);border-radius:20px;margin:20px 0 15px;padding:4px}
.v1-practice .app-saved-tabs button{font-size:14px;line-height:1.4;min-height:46px;border-radius:16px}
.v1-practice .app-saved-tabs [aria-selected=true]{background:#fff;color:var(--flow-accent)}
.v1-practice .flow-word-card,.v1-practice .app-saved-card{background:#fff;padding:22px 20px 17px;border:0;border-radius:25px;margin:14px 0}
.v1-practice .flow-word-card .row{align-items:flex-start;gap:10px}
.v1-practice .flow-word-card .flow-word-copy{flex:1;min-width:0}
.v1-practice .flow-word-card .app-saved-sound{display:block;min-width:0}
.v1-practice .flow-word-card .app-saved-sound>b{display:block;width:max-content;max-width:100%;line-height:1.4}
.v1-practice .flow-word-card .app-saved-sound .app-word-card-gloss{display:block;overflow-wrap:anywhere}
.v1-practice .flow-word-card>.row{min-width:0}
.v1-practice .flow-word-card>.row>.app-icon{flex:0 0 44px}
.v1-practice .flow-word-card .app-word-card-title strong,.v1-practice .flow-word-card .app-saved-sound b{font-size:26px;font-weight:650;line-height:2}
.v1-practice .flow-word-card .app-word-card-title rt,.v1-practice .flow-word-card .app-saved-sound rt{font-size:12px;color:var(--flow-muted)}
.v1-practice .flow-word-card .app-word-card-gloss{font-size:15px;line-height:1.65;margin-top:7px;color:var(--flow-muted)}
.v1-practice .flow-word-card details summary{font-size:13px;line-height:1.6;min-height:44px;font-weight:500;color:var(--flow-muted)}
.v1-practice .flow-word-card .actions{justify-content:flex-end;margin-top:9px}
.v1-practice .flow-word-card .actions .button{font-size:14px;min-height:44px;border-radius:20px;padding:10px 18px}
.v1-practice .flow-word-card .app-icon{color:var(--flow-accent);background:var(--flow-tint);border-radius:50%;margin-top:7px}
.v1-practice .companion-saved-state{font-size:11px;line-height:1.5;color:var(--flow-muted);display:block;margin-top:7px}
.v1-practice .companion-saved-issue{font-size:13px;line-height:1.6;color:#995044;margin-top:8px}
.v1-practice .companion-saved-issue mark{background:transparent;color:#a54038;text-decoration:underline;text-underline-offset:5px}
.v1-practice .companion-batch-footer{position:fixed;z-index:21;inset:auto 0 calc(90px + env(safe-area-inset-bottom,0px));max-width:430px;margin-inline:auto;padding:10px 20px;background:var(--flow-canvas);border-top:1px solid var(--flow-line)}
.v1-practice .companion-batch-footer>.button{width:100%;min-height:51px;font-size:15px}
.v1-practice .companion-queue-status{font-size:13px;color:var(--flow-muted);margin:12px 0 16px;text-align:center}
.v1-practice .companion-queue-next{display:flex;justify-content:center;gap:10px;margin:17px 0}
/* Learning sheets and full-session review share the same blue system. */
.v1-practice .modal-panel,.v1-practice .app-sheet-foot,.v1-practice .app-expression-help .modal-panel{background:var(--flow-canvas);border-color:var(--flow-line)}
.v1-practice .coach-corrected,.v1-practice .app-native-expression,.v1-practice .coach-attempt,.v1-practice .aid-starter{background:var(--flow-tint);border-radius:23px}
.v1-practice .app-native-expression{padding:22px}
.v1-practice .coach-practice>.label{font-size:11px;color:var(--flow-muted)}
.v1-practice .app-coaching .coach-tabs{background:var(--flow-tint)}
.v1-practice .coach-metrics>div{background:#fff;border-radius:16px}
.v1-practice .app-listen-pill{background:#fff;border-color:var(--flow-line);color:var(--flow-muted)}
.v1-practice .app-native-footer{background:var(--flow-tint);color:var(--flow-accent)}
.v1-practice .app-practice-listen .button{font-size:15px;color:var(--flow-accent)}
.v1-practice .app-sheet-body .small{font-size:15px;line-height:1.65}
.v1-practice .coach-words summary>b.needs-work{background:#fff0ec;color:#a64736}
.v1-practice .coach-word-play,.v1-practice .coach-word-practice{background:var(--flow-tint);color:var(--flow-accent)}
.v1-practice .coach-syllable-target span{color:var(--flow-accent)}
.v1-practice .app-score-details,.v1-practice .coach-changes details{background:#fff;border-radius:16px}
.v1-practice .app-word-body .app-word-gloss{font-size:17px;line-height:1.65}
.v1-practice .app-word-body section{background:#fff;border-radius:20px;padding:19px;margin-top:18px}
.v1-practice .app-sheet-head{padding-top:23px}.v1-practice .app-sheet-head h2{font-size:25px;line-height:1.35}
.companion-review-page{padding:calc(12px + env(safe-area-inset-top,0px)) 22px calc(30px + env(safe-area-inset-bottom,0px));background:var(--flow-canvas);min-height:100%;color:var(--flow-ink)}
.companion-review-page .flow-review-head{padding:0 0 20px;gap:10px;background:transparent}
.companion-review-page .flow-review-head strong{font-size:21px;line-height:1.4}.companion-review-page .flow-review-head small{font-size:12px;line-height:1.5;margin-top:5px;color:var(--flow-muted)}
.companion-review-hero{padding:26px 23px;background:#dfeaff;border-radius:29px}
.companion-review-hero>.eyebrow{font-size:11px;line-height:1.6;letter-spacing:1px;color:var(--flow-accent)}
.companion-review-duration{font-size:62px;line-height:1.1;font-weight:750;color:var(--flow-accent);letter-spacing:-2px;margin:20px 0 18px}
.companion-review-duration small{font-size:13px;line-height:1.5;font-weight:500;letter-spacing:0;color:#4b6187;display:inline-block;max-width:140px;margin-inline-start:5px}
.companion-review-hero h1{font-size:28px;line-height:1.35;letter-spacing:-.7px;font-weight:750;margin:0}
.companion-review-hero p{font-size:15px;line-height:1.7;color:#4b6187;margin:15px 0 0}
.companion-review-checkin{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.6;color:var(--flow-accent);margin:18px 3px}
.companion-review-checkin svg{width:18px}
.companion-review-section{margin-top:27px}.companion-review-section h2{font-size:20px;line-height:1.4;font-weight:700;display:flex;align-items:center;gap:8px;margin:0 0 14px}
.companion-review-section h2 svg{width:20px;color:var(--flow-accent)}
.companion-review-quote{font-size:24px;line-height:1.7;background:#fff;padding:20px;border-radius:23px;overflow-wrap:break-word}
.companion-review-page .companion-review-section>p,.companion-review-note{font-size:15px;line-height:1.7;color:var(--flow-muted);margin:13px 0}
.companion-review-before{font-size:22px;line-height:1.65;color:var(--flow-muted);margin-top:15px}
.companion-review-before mark{background:transparent;color:#a44738;text-decoration:underline;text-underline-offset:6px}
.companion-review-corrected{background:#fff;color:var(--flow-accent);padding:18px;border-radius:20px;margin-top:15px;font-size:24px;line-height:1.9}
.companion-review-page .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.companion-review-page .actions button{font-size:15px;min-height:48px;padding:11px 16px}
.companion-review-extra{margin-top:25px}.companion-review-extra>summary{min-height:48px;font-size:16px;font-weight:600}
.companion-review-log-link{display:flex;align-items:center;justify-content:space-between;text-align:start;color:var(--flow-muted);font-size:16px;line-height:1.5;min-height:60px;background:transparent;border-top:1px solid var(--flow-line);border-radius:0;margin-top:10px}
.companion-review-page .flow-review-footer{display:flex;flex-direction:column;gap:15px;margin-top:25px;padding-bottom:12px}
.companion-review-page .flow-review-footer>.flow-primary{width:100%;min-height:56px;border-radius:25px}
.companion-sound-flags mark{background:#fff0ec;color:#a44738;border-radius:6px;padding:0 6px;text-decoration:underline;text-underline-offset:5px}
.flow-review-modal .modal-panel{border-radius:0;background:var(--flow-canvas);max-height:var(--app-height,100dvh);height:var(--app-height,100dvh)}
.v1-practice .flow-review-modal .modal-panel>.close{display:none}
.companion-review-state{margin:28px 0;padding:30px 23px;background:#fff;border-radius:25px;text-align:center}
.companion-review-state-icon{width:64px;height:64px;margin:0 auto 18px;background:var(--flow-tint);border-radius:22px;display:flex;align-items:center;justify-content:center;color:var(--flow-accent)}
.companion-review-state-icon svg{width:30px;height:30px}
.companion-review-state p{font-size:18px;line-height:1.6;margin:0 0 24px;color:var(--flow-muted)}
.companion-review-state~.flow-review-footer>.flow-primary{background:var(--flow-tint);color:var(--flow-accent)}
.flow-review-log>article.assistant{background:var(--flow-accent);color:white;border-radius:25px 25px 25px 6px}
.flow-review-log>article.user{background:white;border-radius:25px 25px 6px 25px}
/* Account, introduction and reminders remain familiar and readable. */
.auth-page .intro{background:#dfeaff;padding:28px;border-radius:29px}.auth-page .intro h1{font-size:37px;line-height:1.22;letter-spacing:-.8px}.auth-page .intro>p{font-size:17px;line-height:1.6}
.auth-page #auth-brand-headline{font-size:clamp(27px,7.5vw,33px);line-height:1.2;letter-spacing:normal;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;text-wrap:balance}
.auth-page .auth-card{border:0;border-radius:27px;background:#fff}.auth-page .auth-card h2{font-size:28px;line-height:1.3}
.auth-page .auth-language select{border-color:var(--flow-line);background:#fff}.auth-page .intro-note{color:var(--flow-accent)}
.flow-intro,.flow-intro-frame{background:var(--flow-canvas)}.flow-intro-portrait{min-height:0;background:#dfeaff;padding:22px;border-radius:26px}.flow-intro-portrait>div{position:static;font-size:34px;color:var(--flow-ink)}
.flow-feature-ai{background:var(--flow-accent);color:#fff;border-radius:24px 24px 24px 7px}.flow-feature-ai rt{color:#e2ebff}
.flow-feature-user{background:#fff;border-radius:24px 24px 7px 24px}.flow-feature-demo,.flow-setup-preview,.flow-setup-summary{background:#fff;border-color:var(--flow-line);border-radius:24px}
.flow-feature-correct,.flow-feature-detail,.flow-feature-tabs,.flow-setting-group,.flow-feature-native{background:var(--flow-tint)}
.flow-feature-note{color:#8a5c27}.flow-intro-footer .primary{background:var(--flow-accent)}.flow-intro-steps .active,.flow-setup-progress .active{background:var(--flow-accent)}
.app-product .setup-card{border:0;background:transparent;padding:0}.app-product .choice,.app-product .goal-choice>span{background:#fff;border-color:var(--flow-line);border-radius:20px}
.app-product .choice:has(input:checked),.app-product .goal-choice input:checked+span{background:var(--flow-tint);border-color:var(--flow-accent)}
.flow-setting-group{border:0;background:#fff;border-radius:22px;margin:13px 0}.flow-setting-group>summary{min-height:74px;padding:19px;font-size:18px;gap:10px}
.flow-setting-fields{padding:0 19px 22px}.flow-setting-group>summary>small{max-width:35%;font-size:13px;overflow-wrap:anywhere}
.partner-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;padding:0;margin:0}.partner-choices legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.partner-choice{min-width:0;cursor:pointer}.partner-choice input{position:absolute;opacity:0}.partner-choice span{display:flex;flex-direction:column;align-items:center;gap:3px;padding:13px 8px;border:2px solid #e0e8f8;border-radius:17px;background:#f7f9fe}.partner-choice img{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:center 24%}.partner-choice b{color:#173252;font-size:16px}.partner-choice small{color:#667b9a;font-size:12px}.partner-choice input:checked+span{border-color:#2757e8;background:#edf3ff}.partner-choice input:focus-visible+span{outline:3px solid #91a8ff;outline-offset:2px}
.app-product .flow-plus-card,.membership-symbol,.membership-state,.reminder-preview{background:var(--flow-tint);color:var(--flow-ink)}
.membership-card,.membership-option,.membership-plan,.reminder-day{border-color:var(--flow-line)}.membership-option:has(input:checked),.membership-plan:has(input:checked){border-color:var(--flow-accent);background:var(--flow-tint)}
.reminder-bell{background:var(--flow-accent)}.reminder-preview>span{color:var(--flow-accent)}.reminder-preview p{color:var(--flow-ink)}
[dir=rtl] .companion-recent>svg,[dir=rtl] .companion-history-actions a>svg:last-child,[dir=rtl] .companion-nav a[href*="topics"]>svg{transform:scaleX(-1)}
@media(max-width:350px){.app-product .app-content,.v1-practice .app-saved-body{padding-inline:17px}.companion-hero{padding:18px 16px}.companion-hero-heading{grid-template-columns:minmax(0,1fr) 78px}.companion-home-portrait{height:96px}.companion-hero-hint{font-size:15px}.companion-section-title h2{font-size:18px}.companion-week{padding:18px 15px}.companion-days b{width:27px;height:27px}.app-product .app-topic-grid{grid-template-columns:1fr 1fr}.app-product .app-topic-card{padding:18px 14px;min-height:170px}.app-product .app-topic-card b{font-size:18px}.app-product .app-topic-card small{font-size:13px}.companion-history-record{padding:19px 17px}.companion-history-record h3{font-size:21px}.companion-history-actions a{font-size:13px}.companion-review-page{padding-inline:17px}.companion-review-hero{padding:23px 20px}.companion-review-hero h1{font-size:26px}.companion-review-duration{font-size:55px}.v1-practice .chatlog .assistant .bubble{padding-inline:17px}.v1-practice .chatlog .assistant .bubble .cn{font-size:23px}.v1-practice .app-saved-tabs button{font-size:13px}.flow-setting-group>summary{padding-inline:15px}.v1-practice .aid-record-row .hold-to-talk span{font-size:16px}}
@media(prefers-reduced-motion:reduce){.companion-nav *,.companion-history-record,.companion-review-page *{scroll-behavior:auto;animation:none;transition:none}}

.v1-practice.companion-ended .voice-composer{display:none!important}
.v1-practice .companion-sound-mark{color:#a54038;text-decoration:underline;text-underline-offset:6px}

/* Keep notebooks scannable with many words, while preserving 44px targets. */
.v1-practice .flow-word-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding:18px 20px 14px}
.v1-practice .flow-word-card>.row,.v1-practice .flow-word-card>.companion-saved-state,.v1-practice .flow-word-card>.app-saved-language-notice{grid-column:1/-1}
.v1-practice .flow-word-card>details{grid-column:1;align-self:center;min-width:0}
.v1-practice .flow-word-card>.actions{grid-column:2;margin-top:5px;align-self:start}
.v1-practice .flow-word-card>details[open]{grid-column:1/-1;grid-row:auto}
.v1-practice .flow-word-card>details[open]+.actions{grid-column:1/-1}
.v1-practice .flow-word-card details summary{display:flex;align-items:center;font-size:14px}
.v1-practice .companion-saved-state{font-size:13px}
.companion-review-head :focus:not(:focus-visible){outline:none}

.v1-practice .voice-chat{--chat-surface:#e9f1fc;--xiaoya-bubble:#2454e8}

/* 2026-10-18: one hierarchy for feedback, sound practice and expression help. */
.v1-practice #modal.app-coaching .app-listen-compare{display:flex;flex-flow:row nowrap;justify-content:space-between;gap:8px;margin:14px 0 12px;align-items:center}
.v1-practice #modal.app-coaching .app-listen-compare .button{height:46px;min-height:46px;margin:0;display:flex;align-items:center;justify-content:center;gap:7px;padding:4px 9px 4px 4px;border-radius:28px;font-size:0;line-height:1;box-shadow:0 2px 7px #19375e12}
.v1-practice #modal.app-coaching .app-listen-compare .app-listen-pill{width:80px;min-width:80px;max-width:80px;flex:0 0 80px}
.v1-practice #modal.app-coaching .app-listen-compare .app-listen-pill img{width:36px;height:36px;flex:0 0 36px;object-fit:cover;object-position:center 24%;border-radius:50%;background:#edf2fb}
.v1-practice #modal.app-coaching .app-listen-compare .app-listen-pill{background:#fff;color:var(--flow-accent);border:1px solid #cfddf5}
.v1-practice #modal.app-coaching .app-listen-compare .app-slow-pill{width:44px;min-width:44px;max-width:44px;flex:0 0 44px;padding:0;border-radius:50%}
.v1-practice #modal.app-coaching .app-listen-compare .app-mini-practice{width:52px;min-width:52px;max-width:52px;flex:0 0 52px;height:52px;padding:0;display:grid;place-items:center;background:#fff;color:#17243a;border:0;border-radius:50%;box-shadow:0 5px 18px #315de633}
.v1-practice #modal.app-coaching .app-listen-compare .app-mini-practice.is-recording{background:#dc5964;color:#fff;box-shadow:0 0 0 5px #fdebed}
.v1-practice #modal.app-coaching .app-listen-compare .app-mini-practice.is-preparing{background:#fff4d8;color:#87671e;box-shadow:0 0 0 4px #fff0c7}
.v1-practice #modal.app-coaching .app-listen-compare .app-mini-practice{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.v1-practice #modal.app-coaching .app-listen-compare svg{width:20px;height:20px;flex:0 0 20px}
.v1-practice #modal.app-coaching .app-listen-compare .app-mini-practice svg{width:23px;height:23px;flex-basis:23px}
.v1-practice #modal.app-coaching .app-pronunciation-praise{display:flex;align-items:baseline;gap:10px;margin:12px 0 9px 4px;line-height:1.35}
.v1-practice #modal.app-coaching .app-pronunciation-praise strong{font-size:21px;font-weight:700;letter-spacing:-.4px}
.v1-practice #modal.app-coaching .app-pronunciation-praise span{font-size:14px;font-weight:550;text-transform:uppercase;letter-spacing:.02em}
.v1-practice #modal.app-coaching .app-pronunciation-praise.not-bad{color:#d18b3b}
.v1-practice #modal.app-coaching .app-pronunciation-praise.well-done{color:#32a879}
.v1-practice #modal.app-coaching .app-pronunciation-praise.excellent{color:#315de6}
.v1-practice #modal.app-coaching .app-pronunciation-praise.needs-work{color:#e25d62}
.v1-practice #modal.app-coaching .app-pronunciation-praise.unavailable{color:var(--flow-muted);font-size:13px}
.v1-practice #modal.app-coaching .app-score-average-note{margin:10px 0 14px;font-size:11px;line-height:1.6;color:var(--flow-muted)}
.v1-practice #modal.app-coaching .app-direct-practice-status{margin:7px 0 13px}
.v1-practice #modal.app-coaching .app-direct-practice-status .voice-meter{position:static;transform:none;width:100%;height:3px;margin:0 0 6px}
.v1-practice #modal.app-coaching .app-direct-practice-status .small{margin:0;font-size:11px;line-height:1.5;color:var(--flow-muted)}
.v1-practice #modal.app-coaching .coach-icon-controls{display:flex;flex-flow:row nowrap;gap:8px;align-items:center;margin:12px 0}
.v1-practice #modal.app-coaching .coach-icon-controls .button{width:44px;min-width:44px;max-width:44px;flex:0 0 44px;height:44px;min-height:44px;margin:0;padding:0;display:grid;place-items:center;border-radius:14px;font-size:0;line-height:1;box-shadow:none}
.v1-practice #modal.app-coaching .coach-icon-controls .icon-audio-button{background:#fff;color:var(--flow-accent);border:1px solid #cfddf5}
.v1-practice #modal.app-coaching .coach-icon-controls .icon-practice-button{background:var(--flow-accent);color:#fff;border:0}
.v1-practice #modal.app-coaching .coach-icon-controls svg{width:20px;height:20px;flex:0 0 20px}
.v1-practice #modal.app-coaching .app-slow-original{margin:0 0 18px;display:flex;justify-content:flex-start}
.v1-practice #modal.app-coaching .app-slow-original .button{min-height:44px;padding:8px 12px;font-size:15px;color:var(--flow-accent)}
.v1-practice #modal.app-coaching .coach-word-row{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:18px 0;border-bottom:1px solid var(--flow-line);align-items:start}
.v1-practice #modal.app-coaching .coach-word-row>details{grid-column:1/-1;margin:0;padding:0;border:0;min-width:0}
.v1-practice #modal.app-coaching .coach-word-row summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;list-style:none}
.v1-practice #modal.app-coaching .coach-word-row summary::-webkit-details-marker{display:none}
.v1-practice #modal.app-coaching .coach-word-row summary>span{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:27px;line-height:1.4}
.v1-practice #modal.app-coaching .coach-word-row summary>b{font-size:12px;line-height:1.5;flex-shrink:0;max-width:48%;white-space:normal;text-align:end}
.v1-practice #modal.app-coaching .coach-word-row .app-sound-reason{grid-column:1/-1;margin:0;font-size:14px;line-height:1.6;color:#a54038}
.v1-practice #modal.app-coaching .coach-word-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 44px;gap:6px;align-items:stretch;min-width:0;margin:0;justify-content:initial;flex-wrap:nowrap}
.v1-practice #modal.app-coaching .coach-word-actions:not(:has(.app-save-sound)){grid-template-columns:minmax(0,1fr) 44px}
.v1-practice #modal.app-coaching .coach-word-actions:not(:has(.coach-word-practice)){grid-template-columns:minmax(0,1fr) 44px}
.v1-practice #modal.app-coaching .coach-word-actions .button,.v1-practice #modal.app-coaching .coach-word-practice{min-width:0;min-height:44px;height:auto;max-width:100%;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 5px;font-size:13px;line-height:1.4;white-space:normal;border-radius:12px;border:0;box-shadow:none;margin:0;color:var(--flow-accent)}
.v1-practice #modal.app-coaching .coach-word-actions .app-save-sound{background:transparent}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-practice{background:#dce7ff}
.v1-practice #modal.app-coaching .coach-word-actions svg{width:17px;height:17px;flex:0 0 17px}
.v1-practice #modal.app-coaching .coach-word-actions span{min-width:0;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching .coach-word-play{width:44px;min-width:44px;min-height:44px;height:auto;border-radius:13px;background:#fff;border:1px solid #cfddf5;color:var(--flow-accent);align-self:stretch}
.v1-practice #modal.app-coaching .coach-attempt{padding:20px 18px;margin:22px 0;text-align:start}
.v1-practice #modal.app-coaching .coach-attempt h3{font-size:20px;line-height:1.4;margin:0 0 17px;overflow-wrap:break-word}
.v1-practice #modal.app-coaching :is(.app-other-sounds,.app-score-details,.app-practice-audio){background:none;border:0;border-bottom:1px solid #cfddf5;border-radius:0;margin:0;padding:0}
.v1-practice #modal.app-coaching :is(.app-other-sounds,.app-score-details,.app-practice-audio)>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:52px;padding:13px 0;font-size:15px;line-height:1.6;color:var(--flow-ink);font-weight:600;cursor:pointer}
.v1-practice #modal.app-coaching :is(.app-other-sounds,.app-score-details,.app-practice-audio)>summary::-webkit-details-marker{display:none}
.v1-practice #modal.app-coaching :is(.app-other-sounds,.app-score-details,.app-practice-audio)>summary>span{min-width:0;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching :is(.app-other-sounds,.app-score-details,.app-practice-audio)>summary>svg{width:18px;height:18px;flex:0 0 18px;color:var(--flow-muted)}
.v1-practice #modal.app-coaching :is(.app-other-sounds,.app-score-details,.app-practice-audio)[open]>summary>svg{transform:rotate(180deg)}
.v1-practice #modal.app-coaching .app-score-details>.coach-metrics{margin-top:10px;margin-bottom:16px}
.v1-practice #modal.app-coaching .coach-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.v1-practice #modal.app-coaching .coach-metrics.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.v1-practice #modal.app-coaching .coach-metrics>div{min-width:0;padding:14px 6px}
.v1-practice #modal.app-coaching .coach-metrics span{display:block;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching .app-native-footer{min-height:52px;font-size:16px;border-radius:18px;justify-content:center;gap:9px}
/* Help keeps a visible heading above its scrollable content. */
.v1-practice #modal.app-expression-help .modal-panel{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 28px);color:var(--flow-ink);background:var(--flow-canvas)}
.v1-practice #modal.app-expression-help #modal-content{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}
.v1-practice #modal.app-expression-help .aid-sheet-head{flex-shrink:0;padding:23px 65px 18px 24px;padding-inline:24px 65px;min-height:82px;background:var(--flow-canvas)}
.v1-practice #modal.app-expression-help .aid-sheet-head h2{font-size:24px;line-height:1.35;color:var(--flow-ink);overflow-wrap:break-word}
.v1-practice #modal.app-expression-help .aid-sheet-body{min-height:0;overflow:auto;padding:0 24px calc(24px + env(safe-area-inset-bottom,0px));scrollbar-width:none}
.v1-practice #modal.app-expression-help .aid-context{background:#fff;border-color:#c9d8f6;border-radius:0 18px 18px 0;padding:16px;margin-bottom:23px}
.v1-practice #modal.app-expression-help .aid-context p{font-size:19px;line-height:1.8;color:var(--flow-ink)}
.v1-practice #modal.app-expression-help .aid-context small{font-size:13px;color:var(--flow-muted)}
.v1-practice #modal.app-expression-help .aid-intro{font-size:16px;line-height:1.65;color:var(--flow-muted)}
.v1-practice #modal.app-expression-help .aid-hint-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.v1-practice #modal.app-expression-help .aid-hint-toolbar>.aid-intro{margin:0;flex:1;min-width:0}
.v1-practice #modal.app-expression-help .aid-words{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:21px}
.v1-practice #modal.app-expression-help .aid-words>div{background:#fff;border:1px solid var(--flow-line);border-radius:18px;padding:16px 12px;min-width:0}
.v1-practice #modal.app-expression-help .aid-words .cn{font-size:23px;line-height:1.75;color:var(--flow-ink);overflow-wrap:anywhere}
.v1-practice #modal.app-expression-help .aid-words small{font-size:13px;line-height:1.6;color:var(--flow-muted);margin-top:10px}
.v1-practice #modal.app-expression-help .aid-starter{padding:20px;margin:0 0 22px;border-radius:23px;background:var(--flow-tint)}
.v1-practice #modal.app-expression-help .aid-starter h3{font-size:15px;line-height:1.5;font-weight:600;color:var(--flow-muted);margin:0 0 14px;letter-spacing:0}
.v1-practice #modal.app-expression-help .aid-starter>.cn{font-size:24px;line-height:1.8;margin:0;color:var(--flow-ink)}
.v1-practice #modal.app-expression-help .aid-sheet-body>.button{min-height:52px;font-size:16px;line-height:1.5;border-radius:20px}
.v1-practice #modal.app-expression-help .aid-choice-icon,.v1-practice #modal.app-expression-help .aid-choice:nth-of-type(2) .aid-choice-icon{background:var(--flow-tint);color:var(--flow-accent)}
.v1-practice #modal.app-expression-help .aid-choice b{font-size:18px;color:var(--flow-ink)}
.v1-practice #modal.app-expression-help .aid-choice small{font-size:15px;color:var(--flow-muted)}
.v1-practice #modal.app-expression-help .aid-reply-label{color:var(--flow-accent)}
@media(max-width:350px){.v1-practice #modal.app-coaching .app-sheet-body{padding-inline:18px}.v1-practice #modal.app-coaching .coach-attempt{padding:18px 14px}.v1-practice #modal.app-coaching .coach-word-actions{grid-template-columns:44px minmax(0,1fr) 44px}.v1-practice #modal.app-coaching .coach-word-actions .app-save-sound>span{display:none}.v1-practice #modal.app-expression-help .aid-sheet-body{padding-inline:18px}.v1-practice #modal.app-expression-help .aid-words{gap:7px}.v1-practice #modal.app-expression-help .aid-words>div{padding:13px 9px}.v1-practice #modal.app-expression-help .aid-words .cn{font-size:21px}.v1-practice #modal.app-expression-help .aid-starter{padding:18px}}
/* Keep the dismiss control above the fixed sheet heading. */
.v1-practice #modal:is(.app-coaching,.app-expression-help) #close-modal{position:absolute;top:18px;right:16px;z-index:30;width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;margin:0;padding:0;border:0;border-radius:50%;font-size:26px;line-height:1;color:var(--flow-muted);background:#edf2fb}
.v1-practice #modal.app-coaching .coach-metrics>div{padding-inline:4px}
.v1-practice #modal.app-coaching .coach-metrics span{hyphens:auto;word-break:normal}
@media(max-width:350px){.v1-practice #modal.app-coaching .coach-metrics:not(.two){grid-template-columns:repeat(2,minmax(0,1fr))}.v1-practice #modal.app-coaching .coach-metrics span{font-size:12px}}
.v1-practice #modal.app-expression-help .aid-sheet-head{gap:10px}
.v1-practice #modal.app-expression-help .aid-sheet-head>.button{flex:0 0 44px;width:44px;min-width:44px;min-height:44px;height:44px;padding:0;margin:0;font-size:0;line-height:0;display:grid;place-items:center;gap:0;overflow:hidden;background:transparent;border:0}
.v1-practice #modal.app-expression-help .aid-sheet-head>.button svg{width:21px;height:21px}
.v1-practice #modal.app-expression-help .aid-sheet-head h2{flex:1;min-width:0;margin:0;text-align:start}

/* Each sound and its actions form one unmistakable group. */
.v1-practice #modal.app-coaching .coach-words{display:grid;gap:14px;margin:16px 0}
.v1-practice #modal.app-coaching .coach-word-row{background:#fff;border:1px solid #c9d8f2;border-radius:18px;padding:16px 12px;margin:0;box-shadow:0 2px 6px #193b6905}
.v1-practice #modal.app-coaching .coach-word-play{background:var(--flow-tint);border-color:#d5e1f7}
@media(max-width:350px){.v1-practice #modal.app-coaching .coach-words{gap:12px}.v1-practice #modal.app-coaching .coach-word-row{padding:14px 10px}}

/* Practice from the result row, then show the score in that same context. */
.v1-practice #modal.app-coaching .coach-word-row{display:block;padding:14px;margin:0;border:1px solid #e2e9f5;border-radius:18px;background:#fff;box-shadow:0 2px 6px #193b6905;scroll-margin-top:18px}
.v1-practice #modal.app-coaching .coach-word-main{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.v1-practice #modal.app-coaching .coach-word-copy{display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}
.v1-practice #modal.app-coaching .coach-word-copy strong{font-size:24px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching .coach-word-ipa{color:#71819b;font-size:13px;white-space:nowrap}
.v1-practice #modal.app-coaching .coach-word-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:0 0 auto;min-width:0;margin:0}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-play{order:1}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-score{order:2}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-practice{order:3}
.v1-practice #modal.app-coaching .coach-word-actions .app-save-sound{order:4}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-practice{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;padding:7px 10px;border:0;border-radius:50%;background:#dce7ff;color:var(--flow-accent);font-size:12px;font-weight:650;white-space:nowrap;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-practice.is-recording{background:#d65363;color:white;box-shadow:0 0 0 5px #fdebed}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-practice.is-preparing{background:#fff4d8;color:#87671e;box-shadow:0 0 0 4px #fff0c7}
.v1-practice #modal.app-coaching .app-inline-word-practice>#coach-record-status{margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#edf2fb;color:#697a95;font-size:12px}
.v1-practice #modal.app-coaching .coach-word-actions .coach-word-practice svg{width:16px;height:16px;flex:0 0 16px}
.v1-practice #modal.app-coaching .coach-word-score{display:inline-flex;align-items:center;justify-content:center;min-width:43px;min-height:36px;padding:0 8px;border-radius:11px;background:#f1f5fb;color:#60708a;font-size:13px;font-weight:700;white-space:nowrap}
.v1-practice #modal.app-coaching .coach-word-score.good{background:#edf7f2;color:#2f7657}
.v1-practice #modal.app-coaching .coach-word-score.fair{background:#fff6e8;color:#a46b1f}
.v1-practice #modal.app-coaching .coach-word-score.needs-work{background:#fff0ef;color:#b34d51}
.v1-practice #modal.app-coaching .coach-word-play{width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:12px;background:#f3f6fb;color:#6b7c96}
.v1-practice #modal.app-coaching .coach-word-details{margin-top:7px;border:0;padding:0}
.v1-practice #modal.app-coaching .coach-word-details>summary{min-height:32px;justify-content:flex-start;color:#8592a5;font-size:11px}
.v1-practice #modal.app-coaching .coach-word-details>p{font-size:12px;line-height:1.6}
.v1-practice #modal.app-coaching .app-inline-word-practice{margin:12px 0 0;padding:12px;background:#f6f8fc;border:1px solid #e8edf5;border-radius:15px}
.v1-practice #modal.app-coaching .app-native-practice{margin:16px 0 4px;padding:12px 0 0;border-top:1px solid #e8edf5}
.v1-practice #modal.app-coaching .app-native-practice-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.v1-practice #modal.app-coaching .app-native-practice-tools .coach-word-play{width:42px;height:42px;min-width:42px;padding:0;border:0;border-radius:50%;background:#f1f4fa;color:#50627e}
.v1-practice #modal.app-coaching .app-native-practice-tools .app-mini-practice{display:grid;place-items:center;width:52px;height:52px;min-width:52px;min-height:52px;margin-left:auto;border:0;border-radius:50%;background:#fff;color:#172237;box-shadow:0 5px 18px #4f68a329;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.v1-practice #modal.app-coaching .app-native-practice-tools .app-mini-practice svg{width:24px;height:24px}
.v1-practice #modal.app-coaching .app-native-practice-tools .app-mini-practice.is-recording{background:#d65363;color:#fff;box-shadow:0 0 0 5px #fdebed}
.v1-practice #modal.app-coaching .app-native-practice-tools .app-mini-practice.is-preparing{background:#fff4d8;color:#87671e;box-shadow:0 0 0 4px #fff0c7}
.v1-practice #modal.app-coaching .app-native-practice>#coach-record-status{margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#edf2fb;color:#697a95;font-size:12px}
.v1-practice #modal.app-coaching .app-native-practice>#app-native-practice-result .coach-attempt{margin-top:12px;padding:12px;background:#f7f9fc;border:1px solid #e6ebf3;border-radius:14px}
.v1-practice #modal.app-coaching .app-inline-word-practice .app-inline-practice-head{margin:0;min-height:32px;color:#63728a;font-size:12px}
.v1-practice #modal.app-coaching .app-inline-word-practice .app-inline-practice-head>.app-icon{width:36px;height:36px;min-height:36px;flex-basis:36px}
.v1-practice #modal.app-coaching .app-inline-word-practice .app-inline-practice-controls{position:relative;top:auto;z-index:auto;margin:8px 0 0;padding:8px 0 0;border-top:1px solid #e5eaf2;border-bottom:0;background:transparent}
.v1-practice #modal.app-coaching .app-inline-word-practice .app-inline-practice-controls .coach-mic{flex-basis:56px;width:56px;height:56px;box-shadow:none}
.v1-practice #modal.app-coaching .app-inline-word-practice .app-inline-practice-controls #coach-record-status{font-size:11px}
.v1-practice #modal.app-coaching .app-inline-word-practice .app-attempt,.v1-practice #modal.app-coaching .app-inline-word-practice .coach-attempt{margin:10px 0 0;padding:12px;background:#fff;border:1px solid #e6ebf3;border-radius:13px}
.v1-practice #modal.app-coaching .app-inline-word-practice .app-practice-result-details{margin-top:8px}
@media(max-width:390px){.v1-practice #modal.app-coaching .coach-word-row{padding:12px 10px}.v1-practice #modal.app-coaching .coach-word-copy{gap:5px}.v1-practice #modal.app-coaching .coach-word-copy strong{font-size:22px}.v1-practice #modal.app-coaching .coach-word-ipa{font-size:11px}.v1-practice #modal.app-coaching .coach-word-actions{gap:3px}.v1-practice #modal.app-coaching .coach-word-actions .coach-word-practice{padding-inline:7px;font-size:11px}.v1-practice #modal.app-coaching .coach-word-play{width:36px;height:36px;min-width:36px}}

/* Personal continuity stays a secondary, readable account page. */
.personal-memory-page{padding-bottom:120px}.personal-memory-toggle{display:flex;gap:14px;align-items:flex-start;padding:22px 0;font-size:17px;line-height:1.5}.personal-memory-toggle input{width:22px;height:22px;flex-shrink:0;margin-top:2px;accent-color:#2852ed}.personal-memory-list{display:grid;gap:18px}.personal-memory-card{background:#fff;border:1px solid #e3e9f5;border-radius:24px;padding:24px;min-width:0}.personal-memory-card .cn{font-size:23px;line-height:1.7;overflow-wrap:anywhere;margin:14px 0}.personal-memory-state{color:#64748b;font-size:15px;line-height:1.5}.personal-memory-card .actions,.personal-memory-suggestion .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.personal-memory-card button,.personal-memory-suggestion button{min-height:44px}.personal-memory-card textarea{box-sizing:border-box;width:100%;font:inherit;font-size:20px;line-height:1.6;border:1px solid #bccbed;border-radius:16px;padding:14px;resize:vertical}.personal-memory-card small{color:#64748b}.personal-memory-empty{padding:30px 0;color:#64748b}.personal-learning-highlight{border-inline-start:4px solid #2852ed;padding-inline-start:20px}.personal-memory-suggestion h2{font-size:22px}.personal-memory-page [role=status]{color:#8b3e45;line-height:1.5}

.personal-memory-card .actions button,.personal-memory-suggestion .actions button{font-size:16px;line-height:1.4;padding:12px 18px;border:0;border-radius:999px}.personal-memory-card .actions .ghost,.personal-memory-suggestion .actions .ghost{background:transparent;color:#47618a}.personal-memory-card .actions .ghost:hover,.personal-memory-suggestion .actions .ghost:hover{background:#edf3ff}

/* Primary conversation microphone: a true circle with an accessible text name. */
.v1-practice .aid-record-row .hold-to-talk{justify-self:center;align-self:center;width:80px;min-width:80px;max-width:80px;height:80px;min-height:80px;max-height:80px;aspect-ratio:1;border-radius:50%;padding:20px;gap:0;flex-direction:column;transform:none;box-shadow:none}
.v1-practice .aid-record-row .hold-to-talk svg{width:32px;height:32px;flex:none}
.v1-practice .aid-record-row .hold-to-talk span{position:absolute;width:1px;height:1px;min-width:0;max-width:none;max-height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;margin:-1px;border:0}
.v1-practice .aid-record-row .hold-to-talk.holding,.v1-practice .aid-record-row .hold-to-talk.hold-cancelling{border-radius:50%;box-shadow:none}

/* A hold is a recording gesture, including small finger movement on iOS. */
body.v1-practice #hold-to-talk,body.v1-practice .coach-mic{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* Approved everyday-practice copy: keep headings readable across locales. */
.companion-footprints-headline{font-size:28px;font-weight:650;line-height:1.45;letter-spacing:0;color:var(--flow-ink);margin:0 0 24px;overflow-wrap:break-word}
.revision-intro-hint{font-size:15px;line-height:1.75;color:var(--flow-muted);margin:14px 0 0}
.companion-hero h1,.companion-scenes .app-page-title,.revision-title h1{overflow-wrap:break-word;word-break:normal}
@media(max-width:360px){.companion-footprints-headline{font-size:25px}}

/* Let translated headings flow below the portrait instead of staying in a narrow column. */
.companion-hero-heading{display:flow-root;position:relative}
.companion-hero-intro::before{content:"";float:right;width:112px;height:112px}
.companion-hero-heading .companion-home-portrait{position:absolute;top:0;right:0;width:100px;height:112px}
.companion-hero h1{word-break:normal;overflow-wrap:normal;hyphens:auto}
html:not([lang="zh-CN"]) .companion-hero h1{font-size:24px;line-height:1.35;letter-spacing:0}
html:not([lang="zh-CN"]) .companion-page-intro h1{letter-spacing:0;word-break:normal;hyphens:none;text-wrap:pretty}
html[dir="rtl"] .companion-hero-intro::before{float:left}
html[dir="rtl"] .companion-hero-heading .companion-home-portrait{right:auto;left:0}
@media(max-width:380px){.companion-hero-intro::before{width:100px;height:104px}.companion-hero-heading .companion-home-portrait{width:88px;height:104px}}
@media(max-width:350px){.companion-hero-intro::before{width:90px;height:96px}.companion-hero-heading .companion-home-portrait{width:78px;height:96px}html:not([lang="zh-CN"]) .companion-hero h1{font-size:22px}}

/* RTL headers reserve space at the inline end, so dismiss belongs on the left. */
html[dir=rtl] .v1-practice #modal:is(.app-coaching,.app-expression-help) #close-modal{right:auto;left:16px}

/* English Help: sentence scaffolding, readable phrases, one persistent next step. */
.v1-practice #modal.app-expression-help .aid-sheet-head{min-height:76px;padding-block:20px 16px}
.v1-practice #modal.app-expression-help .aid-sheet-body{padding-bottom:20px}
.v1-practice #modal.app-expression-help .aid-context-block{margin:0 0 22px;border-bottom:1px solid var(--flow-line);padding:0 0 14px}
.v1-practice #modal.app-expression-help .aid-context-block>small{display:block;min-height:36px;font-size:14px;color:var(--flow-muted)}
.v1-practice #modal.app-expression-help .aid-english{font-size:19px;line-height:1.5;letter-spacing:normal;word-break:normal;overflow-wrap:break-word;hyphens:none;text-align:left;color:var(--flow-ink);margin:0}
.v1-practice #modal.app-expression-help .aid-context-block>.aid-english{font-size:16px;line-height:1.55;padding-bottom:5px}
.v1-practice #modal.app-expression-help .aid-starter{border:1px solid #d4dff4;padding:18px 20px;margin-bottom:22px;border-radius:18px}
.v1-practice #modal.app-expression-help .aid-starter h3{font-size:13px;margin:0 0 10px}
.v1-practice #modal.app-expression-help .aid-starter>.aid-english{font-size:26px;line-height:1.4}
.v1-practice #modal.app-expression-help .aid-words-title{font-size:14px;line-height:1.5;color:var(--flow-muted);margin:0 0 8px;font-weight:600}
.v1-practice #modal.app-expression-help .aid-phrase-list{display:flex;flex-direction:column;background:#fff;border:1px solid var(--flow-line);border-radius:18px;padding:0 16px;margin-bottom:12px}
.v1-practice #modal.app-expression-help .aid-phrase-row{display:flex;align-items:center;gap:12px;padding:13px 0;min-width:0}
.v1-practice #modal.app-expression-help .aid-phrase-row+ .aid-phrase-row{border-top:1px solid var(--flow-line)}
.aid-phrase-row>div{flex:1;min-width:0}
.v1-practice #modal.app-expression-help .aid-phrase-row small{display:block;font-size:13px;line-height:1.5;margin-top:4px;color:var(--flow-muted);overflow-wrap:break-word}
.v1-practice #modal.app-expression-help .aid-phrase-row>.button{width:44px;min-width:44px;min-height:44px;flex:none;padding:10px;margin:0;border-radius:50%;background:var(--flow-tint);color:var(--flow-accent)}
.aid-phrase-row>.button svg{width:20px;height:20px}
.v1-practice #modal.app-expression-help .aid-sheet-foot{flex:none;background:var(--flow-canvas);border-top:1px solid var(--flow-line);padding:14px 24px calc(16px + env(safe-area-inset-bottom,0px))}
.v1-practice #modal.app-expression-help .aid-sheet-foot>.button{width:100%;min-height:52px;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;line-height:1.4;border-radius:17px;background:var(--flow-accent);color:#fff;white-space:normal;margin:0}
.v1-practice #modal.app-expression-help .aid-sheet-foot>.button svg{width:21px;height:21px;flex:none}
.v1-practice #modal.app-expression-help .aid-result{font-size:24px;line-height:1.5;word-break:normal;overflow-wrap:break-word;text-align:left;direction:ltr}
.v1-practice .aid-speaking-note .aid-note-words{font-size:13px;line-height:1.45;color:var(--flow-muted);margin-top:5px;max-height:3em}
@media(max-width:350px){.v1-practice #modal.app-expression-help .aid-sheet-foot{padding-inline:18px}.v1-practice #modal.app-expression-help .aid-starter>.aid-english{font-size:23px}}
/* Reference feedback uses only the dimensions actually measured. */
.v1-practice #modal.app-coaching .coach-candidate[data-mode="read-aloud"] .coach-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.v1-practice #modal.app-coaching .coach-candidate[data-mode="unscripted"] .coach-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:350px){.v1-practice #modal.app-coaching .coach-candidate[data-mode="read-aloud"] .coach-metrics{grid-template-columns:1fr}}

/* English pronunciation review: source words first, evidence on demand. */
.v1-practice #modal.app-coaching .pron-focus-mark{display:inline;font:inherit;line-height:inherit;white-space:normal;background:#fff0d6;color:#884608;border:0;border-bottom:2px solid #bb6c10;border-radius:4px;padding:2px 3px;margin:0 1px;box-decoration-break:clone;-webkit-box-decoration-break:clone;cursor:pointer;text-align:inherit}
.v1-practice #modal.app-coaching .pron-focus-mark:focus-visible{outline:2px solid var(--flow-accent);outline-offset:3px}
.v1-practice #modal.app-coaching .pron-focus{margin-top:20px;text-align:start}
.v1-practice #modal.app-coaching .pron-focus-intro h3{font-size:18px;line-height:1.4;margin:0 0 8px;font-weight:650;color:var(--flow-ink)}
.v1-practice #modal.app-coaching .pron-focus-intro p,.v1-practice #modal.app-coaching .pron-uncertain-note{font-size:14px;line-height:1.6;color:var(--flow-muted);margin:0 0 16px}
.v1-practice #modal.app-coaching .pron-focus-words{display:grid;gap:8px;margin:16px 0 20px}
.v1-practice #modal.app-coaching .pron-focus-word{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;border:1px solid var(--flow-line);border-radius:16px;padding:6px 10px 6px 16px;background:#fff;min-width:0}
.v1-practice #modal.app-coaching .pron-focus-word>button:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;width:100%;text-align:start;background:transparent;color:var(--flow-ink);padding:6px 0;font-size:22px;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching .pron-focus-word>span{font-size:22px;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching .pron-focus-word svg{flex:none;width:20px;height:20px}
.v1-practice #modal.app-coaching .pron-focus-word .pron-focus-listen{width:44px;min-height:44px;border-radius:12px;display:grid;place-items:center;background:var(--flow-tint);color:var(--flow-accent);padding:10px}
.v1-practice #modal.app-coaching .pron-evidence{border-top:1px solid var(--flow-line);padding-top:8px;margin-top:20px;color:var(--flow-muted)}
.v1-practice #modal.app-coaching .pron-evidence>summary,.v1-practice #modal.app-coaching .coach-recognition-review>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:500}
.v1-practice #modal.app-coaching .pron-evidence p{font-size:13px;line-height:1.6;margin:8px 0 12px}
.v1-practice #modal.app-coaching .pron-focus-reference{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.v1-practice #modal.app-coaching .coach-recognition-pair{border-color:var(--flow-line)}
.v1-practice #modal.app-coaching .app-practice-target.pron-word-target{font-size:36px!important;line-height:1.4;overflow-wrap:anywhere}

/* Practice replay is a primary result control, never a disclosure. */
.v1-practice #modal.app-coaching div.app-practice-audio{border:0;padding:0;margin:0 0 14px}
.v1-practice #modal.app-coaching div.app-practice-audio>p{font-size:14px;font-weight:600;line-height:1.4;margin:0 0 8px}
.v1-practice #modal.app-coaching div.app-practice-audio>audio{display:block;width:100%;min-width:0;height:44px}
.v1-practice #modal.app-coaching .coach-attempt .coach-recognition{margin-bottom:0}

/* Recognition uncertainty is shown without turning it into a learner error. */
.v1-practice #modal.app-coaching .transcript-review{margin:16px 0 22px;padding:0;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching .transcript-review.needs-confirmation{padding:18px;background:#fff5e5;border-radius:20px;border:1px solid #e9cfaa}
.v1-practice #modal.app-coaching .transcript-review p{font-size:15px;line-height:1.65;margin:8px 0 12px}
.v1-practice #modal.app-coaching .transcript-review .button{min-height:44px;white-space:normal;font-size:14px;max-width:100%}

/* Feedback, natural expression and read-aloud stay in one learning sheet. */
.v1-practice #modal.app-coaching .app-native-inline{margin:26px 0 8px}
.v1-practice #modal.app-coaching .app-native-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:17px 18px;border:0;border-radius:18px;background:var(--flow-accent);color:#fff;text-align:start;min-height:58px;font-size:17px;font-weight:650;line-height:1.4}
.v1-practice #modal.app-coaching .app-native-toggle>span{flex:1;min-width:0;overflow-wrap:anywhere}
.v1-practice #modal.app-coaching .app-native-toggle>svg{width:21px;height:21px;flex:0 0 21px}
.v1-practice #modal.app-coaching .app-native-toggle[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}
.v1-practice #modal.app-coaching #app-native-content{padding-top:16px}
.v1-practice #modal.app-coaching .app-native-inline-actions{display:flex;gap:10px;margin:14px 0}
.v1-practice #modal.app-coaching .app-native-inline-actions>.button{flex:1;min-width:0;white-space:normal;font-size:15px;min-height:48px}
.v1-practice #modal.app-coaching .app-inline-practice{margin:24px 0;padding:18px;background:#fff;border:1px solid #d6e2f7;border-radius:22px;scroll-margin-top:12px}
.v1-practice #modal.app-coaching .app-inline-practice-head{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:12px}
.v1-practice #modal.app-coaching .app-inline-practice-head>h3{margin:0;font-size:20px;line-height:1.4}
.v1-practice #modal.app-coaching .app-inline-practice-head>.app-icon{flex:0 0 44px;width:44px;height:44px}
.v1-practice #modal.app-coaching .app-inline-practice .app-practice-target{font-size:24px!important;line-height:1.6!important;margin:14px 0!important}
.v1-practice #modal.app-coaching .app-inline-practice .pron-word-target{font-size:32px!important}
.v1-practice #modal.app-coaching .app-inline-practice .app-practice-intro{font-size:14px;line-height:1.6}
.v1-practice #modal.app-coaching .app-inline-practice-controls{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:12px;padding:12px 2px;background:#fff;border-top:1px solid var(--flow-line);border-bottom:1px solid var(--flow-line);margin:12px 0}
.v1-practice #modal.app-coaching .app-inline-practice-controls .voice-meter{position:absolute;top:0;left:0;right:0;transform:none;width:auto;height:3px}
.v1-practice #modal.app-coaching .app-inline-practice-controls #coach-record-status{flex:1;min-width:0;text-align:start;font-size:12px;line-height:1.5;margin:0}
.v1-practice #modal.app-coaching .app-inline-practice-controls .coach-mic{flex:0 0 74px;width:74px;height:74px;margin:0;box-shadow:0 0 0 5px #edf2ff}
.v1-practice #modal.app-coaching .app-inline-practice .coach-attempt{padding:16px 14px;margin:16px 0 4px}
.v1-practice #modal.app-coaching .app-inline-practice .pron-practice-score{flex-wrap:wrap}
@media(max-width:350px){.v1-practice #modal.app-coaching .app-inline-practice{padding:14px 12px}.v1-practice #modal.app-coaching .app-native-toggle{font-size:16px;padding:15px 14px}}
.v1-practice #modal .app-full-reply-practice>.label{display:none}
.v1-practice #modal .app-full-reply-practice .app-practice-target{margin:0 0 20px!important;font-size:25px!important;line-height:1.65!important;text-align:left;overflow-wrap:break-word}
.v1-practice #modal .app-full-reply-practice .reading-content{white-space:pre-wrap}
