/* 西语陪练 / Academic workspace. Presentation only; existing interaction code owns state. */
:root{--paper:#f2eee5;--card:#faf7f0;--ink:#101b2b;--muted:#636974;--line:#d9d5cc;--accent:#4d6500;--accent-light:#e8edcf;--green:#18253b;--mint:#e9eddf;--yellow:#c5f432;--shadow:0 12px 40px #00000014;--night:#0b111b;--night-line:#28313e;--lime:#c5f432;--serif:Georgia,"Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif}
html{scrollbar-color:#69717c #101722}body{background:var(--night);color:var(--ink);font-size:15px;line-height:1.7}button,a,input,select,textarea{transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #819e17;outline-offset:3px}h1,h2,h3{letter-spacing:0}h1,.hero h2,.review-front{font-family:var(--serif)}h1{font-weight:500}h2,h3{font-weight:600}button{letter-spacing:.02em}.app-shell{display:block;max-width:none;padding-left:240px;min-height:100dvh}.main-shell{min-width:0;padding:0 28px 28px}.sidebar{position:fixed;left:0;top:0;width:240px;height:100dvh;padding:31px 22px 25px;background:var(--night);color:#eef0ef;border-right:1px solid var(--night-line);z-index:30;overflow-y:auto;scrollbar-width:thin}.brand{color:#f4f1e9;font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:1px;gap:11px;white-space:nowrap}.brand-icon{display:flex;align-items:center;justify-content:center;background:none;color:var(--lime);width:33px;min-width:33px;height:40px;border-radius:0}.brand-icon svg{width:31px;height:31px}.brand small{font:9px/1.4 system-ui,sans-serif;letter-spacing:1.9px;color:#a6adb8;margin-top:7px}.side-note{font-size:10px;letter-spacing:1.5px;color:#8f98a7;margin:31px 0 19px;padding-top:21px;border-top:1px solid var(--night-line)}.desktop-nav{gap:9px}.desktop-nav button{border-radius:5px;padding:13px 15px;font-size:14px;font-weight:400;color:#bdc4cf;display:flex;align-items:center;gap:13px;position:relative;white-space:nowrap}.desktop-nav button span{display:inline-flex;margin:0;font-size:20px}.desktop-nav svg{width:19px;height:19px}.desktop-nav button.active{background:#1a222d;color:#f7f6ed}.desktop-nav button.active:before{content:"";position:absolute;left:-22px;top:10px;bottom:10px;width:3px;background:var(--lime)}.desktop-nav button.active span{color:var(--lime)}.desktop-nav button:not(.active):hover{background:#151e2b;color:white}.side-bottom{gap:24px;padding-top:35px}.level-note{border:1px solid #303a47;border-radius:6px;padding:16px;color:#9da7b6;font-size:11px;line-height:1.9;background:#101925}.level-note b{font-family:var(--serif);font-size:22px;font-weight:500;color:#eff2e8;margin:4px 0}.level-note span{font-size:11px}.settings-link{color:#bbc3cf;font-size:13px;display:flex;align-items:center;gap:11px}.settings-link svg{width:18px;height:18px}.topbar{height:88px;margin:0;border:0;color:#929caa;gap:20px}.workspace-title{display:flex;align-items:center;gap:16px}.workspace-title strong{font-family:var(--serif);font-size:25px;font-weight:500;color:#f2eee5;letter-spacing:1px}.workspace-title>span{border-left:1px solid #424954;padding-left:16px;font-size:12px;letter-spacing:.05em}.top-actions{gap:12px;flex-wrap:nowrap}.topbar .chip{border:1px solid #343d49;background:#111923;color:#d8dedf;border-radius:5px;font-size:11px;padding:7px 12px;min-height:35px}.topbar .chip:hover{border-color:#8a9d50;background:#1b2632}.status-dot{font-size:11px;color:#abb5c1;white-space:nowrap}.status-dot:before{background:var(--lime)}#sync-status{max-width:180px}.mobile-brand{font-family:var(--serif)}main{max-width:1440px;margin:0 auto;background:var(--paper);border:1px solid #333b46;border-radius:8px;padding:30px 32px 32px;min-height:calc(100dvh - 116px)}.eyebrow{font:600 10px/1.6 system-ui,sans-serif;letter-spacing:1.9px;color:#617423}.greeting{margin-bottom:24px;align-items:center}.greeting h1{font-size:29px;margin:6px 0 6px;line-height:1.4}.greeting p{font-size:12px;color:#687078}.date-mark{font-size:30px;font-weight:400;color:#39434d;border-left:1px solid #cfcabf;min-width:69px;padding-left:22px}.date-mark small{font-size:10px;color:#7b807e;text-transform:uppercase;letter-spacing:1.3px}.hero{display:grid;grid-template-columns:1.05fr 1fr;background:transparent;border:1px solid #d1cdc2;border-radius:6px;padding:0;color:var(--ink);gap:0;min-height:318px}.hero-copy{padding:32px 29px;background:linear-gradient(130deg,#faf7ef,#ede7db)}.hero h2{font-size:clamp(30px,3vw,47px);font-weight:500;line-height:1.4;letter-spacing:-1px;margin:19px 0 16px}.hero .eyebrow{color:#60780a}.hero p{font-size:13px;color:#61656a;max-width:420px;margin-bottom:23px}.primary,.secondary,.text-button{border-radius:5px;min-height:43px;font-size:13px;padding:10px 17px;font-weight:500}.primary,.hero .primary{background:var(--lime);color:#142009;border:1px solid #b9de31}.primary:hover,.hero .primary:hover{background:#d1ff46;border-color:#9abf17;box-shadow:0 2px 8px #25360018}.secondary{background:transparent;border-color:#bfc2b8;color:#273329}.secondary:hover{background:#e8ecd9;border-color:#9ca78c}.text-button{color:#576522}.hero .primary{padding:11px 22px;min-height:45px}.hero .primary span{margin-left:13px}.hero-study{padding:26px 28px 22px;background:radial-gradient(ellipse at 65% 100%,#233251 0,transparent 65%),#10192b;color:#eef0e8;display:flex;flex-direction:column;min-width:0}.study-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font:10px system-ui,sans-serif;letter-spacing:1.5px;color:#e6e9df}.study-top .study-unit{border:1px solid #4a5162;color:#b9c0cd;border-radius:4px;padding:5px 8px;font-size:10px;letter-spacing:0}.study-value{font-family:Georgia,serif;font-size:44px;font-weight:400;line-height:1.4;color:var(--lime);margin-top:13px}.study-value small{font:12px system-ui,sans-serif;color:#c1c7d0;margin-left:8px}.study-caption{font-size:11px;color:#a6afbf;margin-top:2px}.week-chart{display:flex;gap:12px;justify-content:space-around;align-items:flex-end;min-height:110px;flex:1;margin-top:16px;border-bottom:1px solid #46516b;padding:0 0 7px}.week-column{height:100px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1;gap:7px;min-width:0}.week-bar{display:block;background:#8294bf;width:100%;max-width:28px;min-height:3px;border-radius:2px 2px 0 0}.week-column.today .week-bar{background:var(--lime)}.week-column small{font:9px system-ui,sans-serif;color:#8995aa}.week-column.today small{color:var(--lime)}.week-empty{margin:12px 0 0;font-size:10px;color:#adb7c8;line-height:1.6}.stats{gap:0;border:1px solid var(--line);border-radius:6px;background:#faf7ef;margin:16px 0 28px}.stat{padding:17px 23px;border:0;border-right:1px solid var(--line);background:none;border-radius:0;display:flex;flex-direction:column-reverse;gap:6px}.stat:last-child{border-right:0}.stat b{font:31px/1.3 Georgia,serif;margin:0}.stat b small{font-size:14px;color:#8b8b7f}.stat span{font-size:11px;letter-spacing:.03em;color:#71776e}.section-head{margin:25px 0 13px}.section-head h2{font-size:17px;display:flex;align-items:center;gap:10px}.section-index{font:12px Georgia,serif;color:#728344;display:inline-flex;width:25px;border-top:1px solid #849953;padding-top:4px}.section-head .text-button{font-size:11px}.stage-grid{gap:11px}.stage-card{border:1px solid #c9c8bd;border-radius:5px;background:transparent;padding:18px 16px;min-height:100px}.stage-card:hover{border-color:#718a32;background:#e8eadf}.stage-card b{font-family:var(--serif);font-size:19px;font-weight:500}.stage-card small{font-size:11px;margin-top:7px;color:#74786f;padding-right:7px}.stage-card.selected{background:#142037;border:1px solid #142037;color:#f5f2e8}.stage-card.selected small{color:#a9b4c9}.stage-card.selected:after{color:var(--lime);right:12px;top:12px}.mode-picker{background:#e5e2d8;border:1px solid #d7d3c7;border-radius:5px;padding:3px;gap:3px;margin-top:26px}.mode-picker button{border-radius:3px;font-size:12px;padding:9px 19px;color:#62685d}.mode-picker button.selected{background:#172336;box-shadow:none;color:#f0f4df}.scenario-grid{gap:12px}.scenario{background:#101b2b;border:1px solid #2c3645;border-radius:6px;color:#f1efe5;padding:21px;min-height:174px;position:relative;transition:background .16s,border-color .16s}.scenario:hover{background:#18263b;border-color:#98ad4d;transform:none}.scenario-icon,.scenario:nth-child(2n) .scenario-icon{width:29px;height:29px;background:transparent;border-radius:0;margin-bottom:16px;color:var(--lime)}.scenario-icon svg{width:27px;height:27px}.scenario h3{font-size:15px;font-weight:500;margin-bottom:7px;letter-spacing:.03em}.scenario p{font-size:11px;line-height:1.8;color:#a9b3c1;max-width:90%}.scenario .arrow{color:var(--lime);margin-top:10px;font-size:19px}.home-footer{border-left:2px solid #a6b67a;font-size:11px;color:#7b8074;margin:22px 0 0}.panel,.list-card{border-radius:6px;background:#faf7ef;border-color:#d0cec4;box-shadow:none}.panel{padding:23px}.list-card h3{font-weight:500}.tag{background:#e4e9d4;border:1px solid #ccd5b5;color:#4c5d2d;border-radius:3px;padding:2px 8px}.notice{border-radius:5px;background:#eee9d9;border-color:#d7d0b8;color:#6a5d34;overflow-wrap:anywhere}.notice.error{background:#f1e2db;border-color:#d6b6a8;color:#86462f}.notice.success{background:#e5ecd8;border-color:#b4c397;color:#48612a}.empty-state{border-radius:6px;background:#f7f4eb;border-color:#b9bdac}.empty-state .big{color:#75825a}.empty-state h2{font-family:var(--serif);font-weight:500}.talk-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.chat-card{border-radius:6px;border-color:#c9c9be;background:#fbf8f0}.chat-header{background:#101b2b;color:#f1efe6;border-color:#303c4e;padding:18px 20px}.chat-header h2{font-family:var(--serif);font-size:19px;font-weight:500}.chat-header small{color:#abb7c6;font-size:10px}.chat-header .text-button{color:var(--lime);border:1px solid #46553e;border-radius:4px;font-size:11px;padding:6px 10px;min-height:35px}.chat-toolbar{background:#e9e8dc;border-color:#cfd0bf;padding:10px}.chat-toolbar button{border:1px solid transparent;border-radius:3px;color:#566052;font-size:11px}.chat-toolbar button.on{background:#202d3b;color:#d4f683;border-color:#293a45}.chat-toolbar button:hover{border-color:#a9b29a}.message-list{background:#f7f4eb;padding:25px 22px;min-height:320px}.bubble{background:#e8e9de;border:1px solid #d9ddcb;border-radius:2px 9px 9px 9px;font-size:17px;line-height:1.8}.message.user .bubble{background:#1b2b43;color:#f3f1e9;border-color:#1b2b43;border-radius:9px 2px 9px 9px}.message-label{font-size:10px;color:#7a8171;letter-spacing:1px}.translation{color:#6a7168;font-size:12px}.message-actions button{color:#5c6e3c}.feedback{background:#e9eddf;border-left:2px solid #8c9f49;border-radius:0 3px 3px 0;color:#5d6557;line-height:1.8}.feedback .corrected{color:#24351d}.compose{background:#fbf8f0;border-color:#d3d3c4;padding:17px}.compose textarea,input,select,textarea{border-radius:4px;border-color:#bfc5b6;background:#fbfaf5;color:#17262c}.compose textarea:focus{border-color:#819647;box-shadow:0 0 0 2px #b7c87326}.compose .voice{font-size:11px;border-color:#bfc6b5}.compose .send{padding:9px 22px}.compose-note{color:#76806a;font-size:10px}.coach-panel{background:#152139;color:#eceee2;border-radius:6px;padding:23px;border:1px solid #2d3a4f}.coach-panel .eyebrow{color:var(--lime)}.coach-panel h3{font-family:var(--serif);font-size:20px;font-weight:500;margin:13px 0 12px}.coach-tip{color:#a4b0c2;font-size:11px;line-height:1.85}.coach-panel .hint-step{color:#afc47a;font-size:10px}.coach-panel .hint-text{font-size:12px;color:#cbd3da}.coach-panel .secondary{background:#c5f432;color:#16220b;border-color:#afcc3d;border-radius:4px}.coach-panel .example{background:#22324a;border:1px solid #425268;color:#e4efce;border-radius:4px}.coach-panel .text-button{color:#c4e68d}.coach-panel hr{border-color:#3b485c}.review-progress{border-radius:1px;background:#dadfd0}.review-progress span{background:#819639}.search-row input{max-width:none}.review-front{font-weight:500;font-size:32px}.support-note{color:#747a6c}.warning-color{color:#9d4933}dialog{border-radius:7px;background:#f5f1e7;border-color:#b3bba7;max-width:720px;padding:30px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#050a13ad;backdrop-filter:blur(5px)}.dialog-header{padding-bottom:21px;border-bottom:1px solid #d1d3c6;margin-bottom:24px}.dialog-header h2{font-family:var(--serif);font-size:28px;font-weight:500}.dialog-header .eyebrow{color:#738249;font-size:9px}.icon-btn{background:transparent;border:1px solid #c7cbbb;border-radius:4px;color:#45553c}.settings-section h3{font-size:16px;font-weight:600;color:#273b35}.settings-section p,.settings-section li{font-size:12px;line-height:1.9;color:#6d7667}.settings-section label{font-size:12px;color:#3a4a3b}.settings-section input,.settings-section select,.settings-section textarea{font-size:13px}.capability{font-size:12px}.divider{background:#cdd0c2}.check-field label{font-size:12px}#toast{background:#17253b;color:#f2f3de;border:1px solid #536342;border-radius:5px;font-size:12px}.summary-stats b{font-family:Georgia,serif}.audio-row audio{border-radius:4px}.mobile-nav{background:#0f1827f5;border-color:#3c4654}.mobile-nav button{color:#9eabbf}.mobile-nav button.active{background:#263427;color:var(--lime);border-radius:4px}
@media(min-width:1500px){main{padding:35px 38px}.hero{padding:0}.hero-copy{padding:38px}.hero-study{padding:30px 32px}.scenario{min-height:180px}}
@media(min-width:761px) and (max-width:1150px){.main-shell{padding:0 20px 20px}.topbar{margin:0;height:82px}.workspace-title>span{display:none}main{padding:25px 22px}.hero{grid-template-columns:1fr;gap:0;padding:0}.hero-copy{padding:27px}.hero h2{font-size:38px;line-height:1.45;margin:15px 0}.hero-study{padding:20px 25px}.week-chart{min-height:90px}.week-column{height:75px}.study-value{font-size:34px}.study-top{font-size:9px}.stats .stat{padding:15px}.talk-layout{grid-template-columns:1fr}.coach-panel{position:static}.scenario-grid{grid-template-columns:repeat(2,1fr)}.top-actions{gap:7px}#sync-status{max-width:125px}.workspace-title strong{font-size:22px}}
@media(max-width:760px){.app-shell{padding-left:0}.sidebar{display:none}.main-shell{padding:0 11px 92px}.topbar{height:auto;min-height:73px;padding:13px 4px;margin:0;gap:8px;flex-wrap:wrap}.mobile-brand{color:#f3f1e8;display:block;white-space:nowrap;font-family:var(--serif);font-size:22px;font-weight:500;letter-spacing:1px}.workspace-title{display:none}.top-actions{gap:6px;margin-left:auto;flex-wrap:wrap}.topbar .chip{padding:5px 8px;font-size:10px;min-height:30px}.top-actions .status-dot{display:none}#sync-status{max-width:115px;font-size:9px}main{padding:23px 17px 26px;min-height:calc(100dvh - 165px);border-radius:6px}.greeting{margin-bottom:19px;gap:10px}.greeting h1{font-size:26px;margin:5px 0}.greeting p{font-size:11px;max-width:225px}.eyebrow{font-size:8px;letter-spacing:1.5px}.date-mark{font-size:26px;padding-left:13px;min-width:48px}.hero{grid-template-columns:1fr;padding:0;border-radius:5px}.hero-copy{padding:24px 21px}.hero h2{font-size:31px;line-height:1.5;letter-spacing:-.5px;margin:14px 0}.hero p{font-size:12px;margin-bottom:20px}.hero .primary{font-size:12px;min-height:43px;padding:9px 18px}.hero-study{padding:20px 21px}.study-value{font-size:35px;margin-top:8px}.study-top{font-size:9px}.study-caption{font-size:10px}.week-chart{min-height:82px;margin-top:10px}.week-column{height:70px;gap:5px}.week-empty{font-size:9px;margin-top:9px}.stats{margin:13px 0 24px}.stat{padding:13px 9px;gap:6px}.stat span{font-size:9px;letter-spacing:0}.stat b{font-size:25px}.stat b small{font-size:11px}.section-head h2{font-size:16px;gap:7px}.section-index{font-size:11px;width:21px}.section-head .text-button{font-size:10px;padding:6px 0}.stage-grid{gap:9px}.stage-card{padding:16px 13px;min-height:95px}.stage-card b{font-size:18px}.stage-card small{font-size:10px;line-height:1.8}.mode-picker{margin-top:24px}.mode-picker button{font-size:11px;padding:9px 5px}.scenario-grid{gap:10px}.scenario{padding:18px 14px;min-height:181px}.scenario-icon{width:25px;height:25px;margin-bottom:14px}.scenario-icon svg{width:24px;height:24px}.scenario h3{font-size:14px}.scenario p{font-size:10px;line-height:1.85;max-width:100%}.scenario .arrow{font-size:18px}.home-footer{font-size:10px}.mobile-nav{padding:9px 7px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #35404f}.mobile-nav button{color:#9ca9bd;border-radius:4px;padding:5px 0;font-size:20px}.mobile-nav button.active{color:var(--lime);background:#243325}.mobile-nav button span{font-size:10px}.mobile-nav svg{width:20px;height:20px}.talk-layout{grid-template-columns:1fr}.chat-header{padding:14px 13px;align-items:flex-start}.chat-header h2{font-size:17px}.chat-header small{font-size:9px}.chat-header .text-button{font-size:10px;white-space:nowrap;padding:6px 7px;min-height:32px}.chat-toolbar{padding:7px}.chat-toolbar button{font-size:10px;padding:7px 6px}.message-list{padding:20px 12px;min-height:280px;height:43dvh}.bubble{font-size:16px;padding:12px 13px}.compose{padding:13px 11px}.compose .row{gap:6px}.compose .voice{padding:8px 7px;font-size:10px}.compose .send{font-size:11px;padding:8px 14px}.coach-panel{position:static;padding:20px}.coach-panel h3{font-size:20px}.panel,.list-card{padding:18px}.search-row{flex-wrap:wrap}.search-row input{min-width:0;flex:1}.search-row .secondary{font-size:11px;padding:10px}.field-grid{grid-template-columns:1fr}.settings-section p,.settings-section li{font-size:12px}dialog{padding:23px 18px;border-radius:6px;max-height:90dvh}.dialog-header h2{font-size:25px}.dialog-header{padding-bottom:17px}.review-front{font-size:27px}.summary-stats{gap:25px}.summary-stats b{font-size:28px}#toast{bottom:95px}}
@media(max-width:370px){.topbar{align-items:flex-start}.top-actions{max-width:180px}.topbar .chip{font-size:9px;padding:5px 6px}main{padding-left:13px;padding-right:13px}.hero h2{font-size:28px}.compose .send{width:100%;margin:0}.stat span{font-size:8px}}
/* Tonal hierarchy: stone paper, sage surfaces and graphite-green navigation. */
:root{--paper:#f2f3ee;--card:#fafbf6;--ink:#29392f;--muted:#758074;--line:#dce1d7;--accent:#526d3c;--accent-light:#e4ecd9;--green:#344a3d;--mint:#e8eedf;--yellow:#bcd28f;--night:#293b32;--night-line:#425348;--lime:#c4d99e;--shadow:0 5px 16px #31452e08}
body{background:#dfe5db;color:var(--ink);font-family:LocalSans,"Noto Sans SC",system-ui,sans-serif}.sidebar{background:linear-gradient(165deg,#2c3e34,#25372e);border-right-color:#52604c;box-shadow:3px 0 18px #2b3c2f0a}.brand{color:#f0f3e7}.brand-icon{color:#cadaac}.brand small{color:#a8b8a7}.side-note{color:#a2b29e;border-color:#52614f}.desktop-nav button{color:#b8c6b6}.desktop-nav button.active{background:#455642;color:#f5f7ee;box-shadow:0 3px 10px #182b1d15}.desktop-nav button.active:before{background:#bfd697}.desktop-nav button.active span{color:#d0e4ac}.desktop-nav button:not(.active):hover{background:#3b4e3f}.level-note{background:#33483a;border-color:#52664f;color:#b4c3ac;box-shadow:inset 0 1px 0 #c8d5bd08}.level-note b{color:#e8efdb}.settings-link{color:#c4cebe}.topbar{color:#788774}.workspace-title strong,.mobile-brand{color:#314534}.workspace-title>span{color:#819079;border-color:#b9c5af}.topbar .chip{background:#edf1e7;border-color:#bac7b0;color:#5d6f51;box-shadow:0 1px 3px #304e2d05}.topbar .chip:hover{background:#f6f8f0;border-color:#8da77c}.status-dot{color:#718466}.status-dot:before{background:#6f9457}.main-shell{padding:0 28px 28px}main{background:#f2f3ee;border-color:#cbd5c2;box-shadow:0 8px 30px #3c56320a}.eyebrow{color:#839074;letter-spacing:1.6px}.greeting{margin-bottom:24px}.greeting h1{font-size:29px;color:#304432;margin-bottom:7px}.greeting p{font-size:12px;color:#829079}.overview-dot{display:inline-block;margin:0 12px;color:#b4beaa}.overview-start{min-width:121px;gap:21px;box-shadow:0 3px 7px #61773a14}.primary,.hero .primary{background:#bfd397;border-color:#adc681;color:#2e4524;box-shadow:0 2px 4px #647c3910}.primary:hover,.hero .primary:hover{background:#aec982;border-color:#9db96f;box-shadow:0 3px 8px #5370371a}.secondary{background:#f8faf2;border-color:#c9d4bf;color:#587049}.secondary:hover{background:#eaf0e0;border-color:#a8be92}.text-button{color:#698154}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;border:0;background:none;margin:0 0 25px}.stat{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #dce2d4!important;border-radius:8px;background:linear-gradient(145deg,#fcfdf8,#f6f8ef);padding:21px 24px;box-shadow:0 4px 10px #3b4c2305}.stat:nth-child(2){background:linear-gradient(145deg,#f7faf0,#eef3e5)}.stat:nth-child(3){background:linear-gradient(145deg,#f4f8eb,#e9f0dd)}.stat:before{content:"";position:absolute;left:0;top:22px;height:22px;width:3px;border-radius:0 2px 2px 0;background:#bdcc9d}.stat span{font-size:12px;color:#7b896d}.stat b{font:36px/1.2 Georgia,serif;color:#3d5534;margin:0}.stat b small{font:14px system-ui;color:#9baa86;margin-left:3px}.stat .stat-note,.stat-link{color:#95a285;font-size:10px;font-weight:400;line-height:1.5;min-height:15px;padding:0}.stat-link{background:none;cursor:pointer}.stat-link:hover{color:#4d713c;text-decoration:underline}.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:20px;align-items:start}.overview-main,.overview-side{display:grid;gap:19px;min-width:0}.practice-panel,.overview-card{background:#fafbf6;border:1px solid #dce3d4;border-radius:8px;padding:22px;box-shadow:0 4px 12px #374d2705;min-width:0}.practice-panel .section-head,.overview-card .section-head{margin:0 0 19px}.section-head h2{font-size:16px;font-weight:600;color:#445a39}.section-head .text-button{font-size:10px;min-height:24px;padding:0}.section-count{font-size:10px;color:#98a48a}.stage-grid{gap:9px}.stage-card{padding:15px 13px;min-height:98px;border-color:#dbe3cf;border-radius:6px;background:#f4f7ed;color:#4d6342;box-shadow:inset 0 1px 0 #ffffff}.stage-card b{font-family:Georgia,LocalSans,serif;font-size:23px;font-weight:400;line-height:1.4}.stage-card b span{display:block;font-family:LocalSans,"Noto Sans SC",sans-serif;font-size:11px;font-weight:500;margin-top:4px;white-space:nowrap}.stage-card small{font-size:10px;line-height:1.7;color:#97a288;padding:0;margin-top:6px}.stage-card.selected{background:linear-gradient(135deg,#e7efd8,#e0ebce);border-color:#b1c88d;color:#405d2f;box-shadow:0 3px 8px #617e3412,inset 0 1px 0 #faffee}.stage-card.selected small{color:#85976d}.stage-card.selected:after{color:#71984c;font-size:12px}.stage-card:hover{background:#eaf1dd;border-color:#b7ca9e}.mode-heading{margin-top:23px!important;margin-bottom:12px!important;padding-top:21px;border-top:1px solid #e3e8da}.mode-heading h2{font-size:12px;font-weight:500;color:#80916e}.mode-picker{width:100%;background:#edf2e5;border-color:#e0e7d5;border-radius:6px;margin:0;gap:5px;padding:4px}.mode-picker button{flex:1;font-size:11px;color:#97a585;padding:9px 10px;border-radius:4px}.mode-picker button.selected{color:#526b3c;background:#fafcf4;box-shadow:0 2px 5px #566d3510;border:1px solid #d9e3ca}.mode-description{font-size:10px;margin:10px 0 0!important;color:#9aa88b}.scenario-grid{grid-template-columns:repeat(3,1fr);gap:11px}.scenario{background:linear-gradient(155deg,#f6f9ef,#eef3e5);border-color:#dde6d0;color:#526743;border-radius:6px;padding:17px 14px;min-height:156px;box-shadow:0 2px 4px #475c2f03}.scenario:hover{background:#e9f0dc;border-color:#b6cb98;box-shadow:0 4px 9px #4961320b}.scenario-icon,.scenario:nth-child(2n) .scenario-icon{color:#8ca969;background:#e6eed8;border-radius:7px;width:34px;height:34px;margin-bottom:12px;padding:5px}.scenario-icon svg{width:24px;height:24px}.scenario h3{font-size:12px;font-weight:500;color:#5d744b;margin-bottom:5px}.scenario p{font-size:10px;color:#9ba98a;line-height:1.8;max-width:100%}.scenario .arrow{color:#9bb57b;font-size:16px;margin-top:6px}.hero-study{background:linear-gradient(150deg,#eaf1de,#e0eacb);color:#60794a;border:1px solid #d1dfbd;border-radius:8px;padding:22px;box-shadow:0 4px 12px #425c2a07}.study-top{color:#79905f;font-size:9px;letter-spacing:.5px;flex-wrap:wrap;gap:7px}.study-top .study-unit{color:#8aa16e;border-color:#c2d3ab;background:#edf4e1;font-size:8px;padding:3px 6px}.study-value{font-size:37px;color:#657f49;margin-top:14px}.study-value small{font-size:11px;color:#9aad81}.study-caption{font-size:9px;color:#9cad85}.week-chart{min-height:103px;border-color:#becfa3;margin-top:12px;gap:9px}.week-column{height:86px}.week-bar{max-width:20px;background:#bdcca7;opacity:.8}.week-column.today .week-bar{background:#87a962}.week-column small{font-size:8px;color:#a6b594}.week-column.today small{color:#769754}.week-empty{font-size:9px;color:#a0af8b;margin-top:11px}.overview-card{padding:20px}.overview-card .section-head{margin-bottom:13px}.overview-card .section-head h2{font-size:12px;color:#7e906d}.quick-actions{display:grid;gap:0}.quick-actions button{display:flex;gap:10px;align-items:center;text-align:left;background:transparent;padding:12px 0;border-bottom:1px solid #e8edde;border-radius:0;color:#81956d;min-width:0}.quick-actions button:last-child{border-bottom:0;padding-bottom:1px}.quick-actions button:hover{color:#55783c}.quick-actions svg{width:19px;height:19px;flex:none;color:#91aa78}.quick-actions button span{font-size:11px;line-height:1.5}.quick-actions small{display:block;font-size:9px;color:#a6b295;margin-top:3px}.quick-actions b{margin-left:auto;font-size:12px;font-weight:400;color:#a1b589}.book-card p{font-size:11px;color:#81956d;overflow-wrap:anywhere;margin:0 0 7px}.book-card>small{display:block;font-size:10px;color:#a6b296;line-height:1.8;overflow-wrap:anywhere}.panel,.list-card{background:#fafbf6;border-color:#d9e1d0;border-radius:7px;box-shadow:var(--shadow)}.tag{background:#e9f0dd;border-color:#cbd9b7;color:#809466}.notice{background:#f2efdf;border-color:#e1d9b8;color:#8a805d}.notice.error{background:#f4e9df;border-color:#dec6b4;color:#966b4c}.notice.success{background:#e8f0dc;border-color:#bdcea5;color:#6e8a4c}.empty-state{background:#f8faf2;border-color:#cdd9bd}.empty-state .big{color:#a0b188}.chat-card{border-color:#d1ddc3;border-radius:8px;box-shadow:0 5px 20px #4c642908;background:#f9fbf3}.chat-header{background:#e1ead5;color:#496239;border-color:#cbdaba}.chat-header h2{color:#4e693b}.chat-header small{color:#93a37e}.chat-header .text-button{color:#7c9560;border-color:#c2d4ad;background:#ebf2df}.chat-toolbar{background:#edf2e4;border-color:#dbe5ce}.chat-toolbar button{color:#91a37a}.chat-toolbar button.on{background:#dce8c9;border-color:#bdcf9f;color:#608143}.chat-toolbar button:hover{border-color:#bfd0a6}.message-list{background:#f8faf3}.bubble{background:#eef3e5;border-color:#dfe8d1;color:#566c44}.message.user .bubble{background:#dfeacc;border-color:#cbdcb5;color:#4e6b36}.message-label{color:#9eae8c}.translation{color:#96a781}.message-actions button{color:#97ac7d}.feedback{background:#edf3e2;border-left-color:#b1c993;color:#8a9e72}.feedback .corrected{color:#708a53}.compose{background:#f4f8ec;border-color:#dce6ce}.compose textarea,input,select,textarea{background:#fcfdf8;border-color:#d4dfc8;color:#5e744b}.compose textarea:focus{border-color:#a4be87;box-shadow:0 0 0 2px #b6cc941c}.compose .voice{border-color:#cadaba;color:#8a9f72}.compose-note{color:#a4b393}.coach-panel{background:linear-gradient(140deg,#e8efdd,#e1ebd1);border-color:#d2dfbd;color:#77905c;box-shadow:var(--shadow)}.coach-panel .eyebrow{color:#95ad78}.coach-panel h3{color:#69864d}.coach-tip{color:#99ac83}.coach-panel .hint-step{color:#89a36c}.coach-panel .hint-text{color:#859d6d}.coach-panel .secondary{background:#f6f9ef;border-color:#b9cea0;color:#829e64}.coach-panel .example{background:#f0f6e5;border-color:#cadbb5;color:#8ba471}.coach-panel .text-button{color:#8da775}.coach-panel hr{border-color:#c6d6b0}.support-note{color:#93a47f}.review-progress{background:#e2ead6}.review-progress span{background:#acc58a}.warning-color{color:#ac7c5d}dialog{background:#f4f7ed;border-color:#c2d2ae;box-shadow:0 20px 80px #24352230}dialog::backdrop{background:#263b2c66;backdrop-filter:blur(5px)}.dialog-header{border-color:#dae4cc}.dialog-header h2{color:#5f7a46}.dialog-header .eyebrow{color:#9db087}.settings-section h3{color:#6c8753}.settings-section p,.settings-section li{color:#92a27e}.settings-section label{color:#7e9666}.settings-section input,.settings-section select,.settings-section textarea{color:#7d9466}.icon-btn{border-color:#d3e0c2;color:#93ab7b}.divider{background:#dae5cc}#toast{background:#3d5538;border-color:#607a4f;color:#eef4e3}.mobile-nav{background:#ecf1e5f5;border-color:#c7d5b6}.mobile-nav button{color:#9aad86}.mobile-nav button.active{color:#718e52;background:#dce8c9}.mobile-nav button span{color:inherit}
@media(min-width:1500px){.scenario{min-height:164px}}
@media(min-width:761px) and (max-width:1200px){.overview-grid{grid-template-columns:minmax(0,1fr)}.overview-side{grid-template-columns:1fr 1fr;align-items:start}.overview-side .book-card{grid-column:1/-1}.hero-study{padding:20px}.stage-card{min-height:98px}.scenario-grid{grid-template-columns:repeat(3,1fr)}.stat{padding:19px 18px}.stat span{font-size:11px}.stat .stat-note{font-size:9px}}
@media(max-width:760px){.main-shell{padding:0 11px 92px}.mobile-brand{color:#3c5738}.topbar .chip{color:#839b6d;background:#eef3e5;border-color:#c7d7b7}.greeting{margin-bottom:20px;align-items:center}.greeting h1{font-size:25px}.greeting p{font-size:10px;max-width:none}.overview-dot{margin:0 7px}.overview-start{font-size:11px;min-width:95px;padding:10px 13px;gap:10px}.stats{gap:8px;margin:0 0 18px}.stat{padding:15px 10px;gap:7px;border-radius:6px}.stat span{font-size:9px;white-space:nowrap}.stat b{font-size:28px}.stat b small{font-size:10px}.stat .stat-note,.stat-link{font-size:8px;min-height:24px;line-height:1.7}.stat:before{top:16px;height:17px;width:2px}.overview-grid{grid-template-columns:minmax(0,1fr);gap:16px}.overview-main,.overview-side{gap:15px}.practice-panel,.overview-card{padding:18px;border-radius:7px}.practice-panel .section-head{margin-bottom:15px}.section-head h2{font-size:14px}.stage-grid{grid-template-columns:repeat(2,1fr);gap:9px}.stage-card{min-height:98px;padding:14px}.stage-card b{font-size:24px}.stage-card b span{display:inline-block;font-size:11px;margin-left:8px;margin-top:0}.stage-card small{font-size:10px}.mode-heading{margin-top:18px!important;padding-top:18px}.mode-heading h2{font-size:11px}.mode-picker button{font-size:10px}.mode-description{font-size:9px;line-height:1.9}.scenario-grid{grid-template-columns:repeat(2,1fr);gap:9px}.scenario{padding:16px 13px;min-height:156px}.scenario h3{font-size:12px}.scenario p{font-size:10px}.scenario-icon,.scenario:nth-child(2n) .scenario-icon{width:31px;height:31px;margin-bottom:12px}.scenario-icon svg{width:23px;height:23px}.overview-side{grid-template-columns:minmax(0,1fr)}.hero-study{padding:21px}.week-chart{min-height:87px}.week-column{height:77px}.overview-card .section-head h2{font-size:13px}.quick-actions button span{font-size:12px}.quick-actions small{font-size:10px}.book-card p{font-size:12px}.book-card>small{font-size:11px}.study-top{font-size:10px}.study-caption,.week-empty{font-size:10px}.mobile-nav button{color:#9aad86}.mobile-nav button.active{color:#718e52;background:#dce8c9}.mobile-nav{background:#edf3e7f5;border-color:#c8d8b8}.chat-header .text-button{font-size:10px}.coach-panel h3{font-size:19px}}
@media(max-width:370px){.greeting{flex-wrap:wrap}.overview-start{margin-left:auto}.stat .stat-note{font-size:7px}.stage-card b span{font-size:10px;margin-left:5px}.scenario p{font-size:9px}.stats{gap:6px}.stat{padding:13px 8px}.stat span{font-size:8px}}
/* Function-specific shapes and compact analytical layout. */
main{border-radius:16px}.primary{border-radius:999px}.secondary{border-radius:8px}.topbar .chip{border-radius:999px}.desktop-nav button{border-radius:9px}.overview-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.97fr);gap:24px;align-items:stretch;margin-bottom:28px}.practice-panel{background:transparent;border:0;box-shadow:none;border-radius:0;padding:0}.stage-panel{padding:22px 24px 20px;background:#fafbf7;border:1px solid #dce3d4;border-radius:16px 16px 8px 16px;box-shadow:0 6px 18px #344e2b06}.stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stage-card{border-radius:11px;min-height:101px;padding:15px 17px;background:#f2f6eb}.stage-card b{font-size:25px}.stage-card b span{display:inline-block;font-size:12px;margin:0 0 0 10px}.stage-card small{color:#6c7d59;font-size:10px}.stage-card.selected small{color:#62754e}.stage-card.selected{border-color:#afc58e;background:#e2ecd1}.mode-heading{padding-top:17px;margin-top:19px!important}.mode-picker{border-radius:999px;padding:4px}.mode-picker button{border-radius:999px;font-size:11px}.mode-picker button.selected{border-radius:999px}.mode-description{color:#718164;font-size:10px}.analytics-panel{background:linear-gradient(155deg,#eaf0e1,#e3ecd7);border:1px solid #d1dfc1;border-radius:16px 16px 16px 7px;padding:22px 24px 18px;display:flex;flex-direction:column;min-width:0;box-shadow:0 6px 18px #344e2b06}.analytics-panel>.section-head{margin:0 0 21px}.analytics-panel>.section-head h2{font-family:var(--serif);font-size:19px;font-weight:500;color:#4e653b}.analytics-panel>.section-head .section-count{font-size:8px;color:#728763;letter-spacing:1px}.analytics-panel .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:none;border:0;border-radius:0;margin:0;padding:0 0 20px;border-bottom:1px solid #cbd9bc}.analytics-panel .stat{padding:0 12px!important;border:0!important;border-radius:0;background:none!important;box-shadow:none;gap:7px;min-width:0}.analytics-panel .stat:first-child{padding-left:0!important}.analytics-panel .stat+.stat{border-left:1px solid #ccdabb!important}.analytics-panel .stat:before{display:none}.analytics-panel .stat span{font-size:10px;color:#657d53;white-space:nowrap}.analytics-panel .stat b{font-size:32px;color:#496338}.analytics-panel .stat b small{font-size:11px;color:#748a61}.analytics-panel .stat .stat-note,.analytics-panel .stat-link{font-size:9px;color:#718763;line-height:1.6}.analytics-panel .hero-study{padding:20px 0 0;border:0;box-shadow:none;background:none;border-radius:0;flex:1}.analytics-panel .study-top{font-size:9px;color:#6a8158;letter-spacing:.5px}.analytics-panel .study-value{font-size:30px;color:#587541;margin-top:12px}.analytics-panel .study-value small{font-size:10px;color:#6e845b}.analytics-panel .study-caption{display:none}.analytics-panel .week-chart{min-height:88px;flex:1;margin-top:6px;border-color:#c3d3b0}.analytics-panel .week-column{height:80px}.analytics-panel .week-column small{color:#789069}.analytics-panel .week-column.today small{color:#516e39}.analytics-panel .week-bar{background:#bacda6;border-radius:4px 4px 0 0;max-width:23px}.analytics-panel .week-column.today .week-bar{background:#88a665}.analytics-panel .week-empty{color:#6c835a;font-size:9px}.scenarios-panel{padding-top:7px}.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 23px}.scenario{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;grid-template-rows:auto auto;column-gap:11px;row-gap:4px;background:none;border:0;border-bottom:1px solid #dce4d3;border-radius:0;padding:17px 3px;min-height:91px;box-shadow:none;align-content:center}.scenario:hover{background:#eaf0e1;border-color:#c3d3ad;box-shadow:none;border-radius:8px}.scenario-icon,.scenario:nth-child(2n) .scenario-icon{grid-column:1;grid-row:1/3;width:36px;height:36px;border-radius:50%;padding:7px;margin:0;background:#e1ead4;align-self:center;color:#809d60}.scenario-icon svg{width:23px;height:23px}.scenario h3{grid-column:2;grid-row:1;margin:0;font-size:12px;color:#4a6340;align-self:end}.scenario p{grid-column:2;grid-row:2;color:#718163;font-size:10px;line-height:1.7;align-self:start}.scenario .arrow{grid-column:3;grid-row:1/3;margin:0;align-self:center;color:#8ba672}.overview-card{border:0;border-radius:12px;background:#f6f8f0;box-shadow:0 3px 12px #3a512506;padding:19px 20px}.overview-card .section-head h2{color:#667f50}.quick-actions button span{color:#617c4e}.quick-actions small{color:#748a62;font-size:10px}.quick-actions button{border-color:#dde6d1}.book-card{background:none;border-radius:0;box-shadow:none;border-top:1px solid #d5e0c8;padding:15px 3px}.book-card p,.book-card>small{color:#718461}.section-count{color:#728365}.stat-link{color:#647d50}.settings-section{padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid #d9e3ce}.settings-section:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}.settings-section h3{font-size:15px;color:#4f693f;margin:0 0 15px}.settings-section p,.settings-section li{color:#657b54;font-size:12px}.settings-section label{color:#5e754c;font-size:12px}.settings-section input,.settings-section select,.settings-section textarea{border-radius:8px;color:#3f5733;font-size:13px;min-height:42px}.settings-section .field{margin-bottom:15px}.settings-section .field small{color:#728961;font-size:10px}.settings-section .field-grid{gap:15px}.settings-inline-status{font-size:11px;color:#63824b;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}.settings-inline-status span{color:#7c906b;font-size:10px}.settings-help{margin-top:12px;color:#657e51}.settings-help>summary{cursor:pointer;font-size:11px;color:#748d5d;padding:7px 0;list-style:disclosure-closed}.settings-help[open]>summary{list-style:disclosure-open;margin-bottom:9px}.settings-help p{margin:8px 0 0;font-size:11px;line-height:1.85}.settings-help a{color:#547b3d}.settings-help.cloud-options{margin:0}.cloud-options>summary{font-size:15px;color:#4f693f;font-weight:600;padding:0}.cloud-options>summary span{font-size:10px;font-weight:400;display:inline-block;margin-left:9px;color:#829773;background:#e6eeda;border-radius:999px;padding:2px 9px}.cloud-options>p{margin:0 0 14px;font-size:11px}.inline-hint{font-size:10px;color:#7c9269}.sync-settings .notice{padding:10px 13px;font-size:11px;border-radius:8px;margin-bottom:10px}.sync-utilities{margin-top:13px}.sync-utilities .secondary,.sync-utilities .text-button{font-size:11px;min-height:35px;padding:7px 13px}.data-settings .support-note{font-size:10px;margin:10px 0}.data-settings>.text-button{font-size:11px}.settings-section .support-note:empty{display:none}dialog{border-radius:18px}.dialog-header h2{font-size:26px}.dialog-header{padding-bottom:18px}.icon-btn{border-radius:50%;font-size:22px}.support-note,.compose-note,.translation{color:#6b7f5c}.scenario p{color:#718163}.chat-toolbar button{color:#657f50}.chat-toolbar button.on{color:#41652c}.message.user .bubble{color:#365227}.bubble{color:#405837}.coach-tip,.coach-panel .hint-text{color:#657f51}.coach-panel h3{color:#4d7136}.coach-panel .hint-step{color:#708d57}.coach-panel .example{color:#5d7b45}.settings-section input::placeholder,.settings-section textarea::placeholder{color:#899b79}.warning-color{color:#976343}
/* Conversation fills the viewport; only the transcript scrolls. */
body.conversation-view{height:100dvh;overflow:hidden}.conversation-view .app-shell{height:100dvh;min-height:0;overflow:hidden}.conversation-view .main-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:0 18px 13px}.conversation-view .topbar{height:55px;min-height:55px;flex:none}.conversation-view .workspace-title strong{font-size:20px}.conversation-view .workspace-title>span{font-size:10px}.conversation-view main{display:flex;flex-direction:column;width:100%;flex:1;height:auto;min-height:0;padding:10px 12px;overflow:hidden;border-radius:12px}.conversation-view .talk-layout{position:relative;display:flex;flex-direction:column;gap:0;flex:1;min-height:0;height:100%;overflow:hidden}.conversation-view .chat-card{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;overflow:hidden;border-radius:9px;box-shadow:none}.conversation-view .chat-header{padding:9px 13px;min-height:53px;gap:10px;flex:none;align-items:center}.chat-back{width:30px;height:30px;min-width:30px;background:#eff5e7;border-radius:50%;color:#67864e;font-size:18px;display:inline-flex;align-items:center;justify-content:center}.chat-topic{flex:1;min-width:0}.conversation-view .chat-header h2{font-family:LocalSans,"Noto Sans SC",sans-serif;font-size:14px;margin:0;line-height:1.4}.conversation-view .chat-header small{font-size:9px;line-height:1.5;color:#6a8257}.conversation-view .chat-header .text-button{min-height:29px;font-size:10px;padding:5px 10px;border-radius:999px}.conversation-view .chat-toolbar{flex:none;padding:5px 114px 5px 9px;gap:3px;min-height:36px;align-items:center}.conversation-view .chat-toolbar button{padding:5px 8px;font-size:10px;line-height:1.4;border-radius:999px}.conversation-view .message-list{flex:1;height:auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:15px 18px;scrollbar-width:thin;scrollbar-color:#b2c49c #eef3e5}.conversation-view .message{margin-bottom:12px;max-width:94%;position:relative}.conversation-view .message.user{max-width:85%}.conversation-view .message-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.conversation-view .bubble{padding:9px 13px;font-size:16px;line-height:1.5;border-radius:3px 13px 13px 13px}.conversation-view .message.user .bubble{border-radius:13px 3px 13px 13px}.conversation-view .translation{font-size:12px;line-height:1.5;margin:5px 0 0}.conversation-view .message-actions{margin-top:3px;gap:3px}.conversation-view .message-actions button{font-size:10px;padding:2px 6px;line-height:1.4;color:#6a8258}.conversation-view details.feedback{padding:0;background:transparent;border:0;border-radius:0;font-size:11px;margin-top:2px;color:#6a8455}.conversation-view details.feedback>summary{cursor:pointer;color:#6e8b55;font-size:10px;line-height:1.5;padding:2px 6px}.conversation-view details.feedback[open]{padding:8px 10px;border-left:2px solid #b1c993;background:#eaf1df;border-radius:0 7px 7px 0;margin-top:5px}.conversation-view .compose{flex:none;padding:9px 12px 10px}.conversation-view .compose>label{font-size:10px;line-height:1.4;margin:0 0 4px;color:#718760}.conversation-view .compose textarea{font-size:15px;line-height:1.5;padding:8px 10px;min-height:45px;height:48px;max-height:85px;border-radius:10px;resize:vertical}.conversation-view .compose .row{margin-top:5px;gap:7px}.conversation-view .compose .voice{font-size:10px;padding:5px 10px;min-height:31px;border-radius:999px}.conversation-view .compose .send{font-size:11px;min-height:32px;padding:5px 21px;border-radius:999px}.conversation-view .compose-note{font-size:9px;margin-top:4px;line-height:1.5}.conversation-view .audio-row{margin-top:3px}.conversation-view .audio-row:empty{display:none}.conversation-view .audio-row audio{height:30px}.conversation-view .chat-error{padding:8px 10px;margin:7px 10px 0;font-size:11px}.conversation-view #cloud-audio-player{margin:0 0 4px;padding:3px 5px}.conversation-view #cloud-audio-player>p{display:none}.conversation-view #cloud-audio-player audio{height:30px}.conversation-view .coach-panel{position:absolute;top:60px;right:8px;padding:0;border:0;background:none;box-shadow:none;height:auto;width:auto;max-width:280px;z-index:4}.chat-help>summary{cursor:pointer;list-style:none;font-size:10px;color:#69834f;background:#f5f9ed;border:1px solid #cadbb5;border-radius:999px;padding:5px 12px;min-height:26px;line-height:1.4}.chat-help>summary:after{content:" ＋"}.chat-help[open]{padding:13px;background:#f4f8ec;border:1px solid #c6d8b0;border-radius:14px;box-shadow:0 8px 24px #31472720;max-height:calc(100dvh - 250px);overflow:auto;min-width:245px}.chat-help[open]>summary{background:none;border:0;padding:0 0 8px;color:#53783a}.chat-help[open]>summary:after{content:" −"}.chat-help[open] .hint-text{font-size:12px}.chat-help .secondary{border-radius:999px;font-size:11px}.chat-help .text-button{font-size:10px}.chat-help .example{font-size:13px}.conversation-view .chat-card #chat-error-slot:empty{display:none}
@media(min-width:761px) and (max-width:1150px){.overview-top-grid{gap:15px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.stage-panel,.analytics-panel{padding:18px 16px}.stage-card{padding:13px 11px;min-height:100px}.stage-card b{font-size:23px}.stage-card b span{display:block;margin:3px 0 0;font-size:11px}.stage-card small{font-size:9px}.analytics-panel .stat{padding:0 7px!important}.analytics-panel .stat span{font-size:9px}.analytics-panel .stat b{font-size:27px}.analytics-panel .stat b small{font-size:9px}.analytics-panel .stat .stat-note{font-size:8px}.analytics-panel>.section-head{flex-wrap:wrap;gap:7px}.analytics-panel .study-top{font-size:8px}.mode-picker button{font-size:10px;padding:8px 4px}.mode-description{font-size:9px}.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){main{border-radius:13px}.overview-top-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:22px}.stage-panel{padding:19px 17px;border-radius:15px}.stage-card{min-height:92px;border-radius:11px}.stage-card b span{display:inline-block;font-size:11px;margin-left:8px}.analytics-panel{padding:20px;border-radius:15px}.analytics-panel>.section-head{margin-bottom:17px}.analytics-panel .stat span{font-size:9px}.analytics-panel .stat{padding:0 10px!important}.analytics-panel .stat b{font-size:29px}.analytics-panel .stat b small{font-size:10px}.analytics-panel .stat .stat-note{font-size:8px;min-height:24px}.analytics-panel .hero-study{padding-top:17px}.analytics-panel .study-top{font-size:9px}.analytics-panel .week-chart{min-height:83px}.analytics-panel .week-column{height:75px}.analytics-panel .week-empty{font-size:10px}.scenarios-panel{padding:0}.scenario-grid{gap:0 15px}.scenario{grid-template-columns:30px minmax(0,1fr) 11px;column-gap:8px;padding:16px 0;min-height:96px}.scenario-icon,.scenario:nth-child(2n) .scenario-icon{width:30px;height:30px;padding:6px;border-radius:50%;margin:0}.scenario-icon svg{width:19px;height:19px}.scenario h3{font-size:11px}.scenario p{font-size:9px;line-height:1.75}.scenario .arrow{font-size:13px}.overview-card{padding:18px;border-radius:12px}.book-card{padding:15px 3px;border-radius:0}.settings-section .field-grid{grid-template-columns:1fr 1fr}.settings-inline-status{font-size:10px}.settings-inline-status span{font-size:9px}.settings-section .field small{font-size:10px}.settings-section .primary,.settings-section .secondary,.settings-section .text-button{font-size:11px}.settings-section{padding-bottom:21px;margin-bottom:22px}.settings-help>summary{font-size:11px}.cloud-options>summary{font-size:14px}dialog{border-radius:18px}.conversation-view .main-shell{padding:0 7px calc(66px + env(safe-area-inset-bottom));height:100dvh}.conversation-view .topbar{height:44px;min-height:44px;padding:5px 4px;flex-wrap:nowrap}.conversation-view .mobile-brand{font-size:18px}.conversation-view .top-actions{gap:4px;flex-wrap:nowrap}.conversation-view .topbar .chip{min-height:26px;font-size:8px;padding:4px 7px}.conversation-view #sync-status{max-width:94px}.conversation-view main{padding:6px;min-height:0;border-radius:10px}.conversation-view .chat-header{min-height:47px;padding:7px 9px;gap:7px}.conversation-view .chat-header h2{font-size:12px;line-height:1.4}.conversation-view .chat-header small{font-size:8px}.conversation-view .chat-header .text-button{font-size:9px;padding:4px 7px;min-height:27px}.chat-back{width:26px;height:26px;min-width:26px;font-size:17px}.conversation-view .chat-toolbar{padding:4px 85px 4px 5px;gap:1px;min-height:32px}.conversation-view .chat-toolbar button{padding:4px 5px;font-size:9px;line-height:1.4}.conversation-view .coach-panel{top:52px;right:6px;max-width:260px}.chat-help>summary{font-size:9px;min-height:24px;padding:5px 8px}.conversation-view .message-list{padding:12px 10px;flex:1;height:auto;min-height:0}.conversation-view .bubble{font-size:15px;line-height:1.5;padding:8px 11px}.conversation-view .message{margin-bottom:10px;max-width:96%}.conversation-view .translation{font-size:11px;line-height:1.5;margin-top:4px}.conversation-view .message-actions button{font-size:9px;padding:2px 5px}.conversation-view details.feedback>summary{font-size:9px;padding:1px 5px}.conversation-view .compose{padding:7px 9px 8px}.conversation-view .compose textarea{height:44px;min-height:44px;max-height:72px;font-size:15px;padding:7px 9px}.conversation-view .compose>label{font-size:9px;margin-bottom:3px}.conversation-view .compose .row{gap:5px;margin-top:4px}.conversation-view .compose .voice{font-size:9px;min-height:29px;padding:4px 8px}.conversation-view .compose .send{font-size:10px;min-height:29px;padding:4px 17px}.conversation-view .compose-note{font-size:8px;margin-top:3px}.conversation-view .mobile-nav{padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}.conversation-view .mobile-nav button{font-size:18px;padding:3px 0}.conversation-view .mobile-nav button span{font-size:9px}.conversation-view .mobile-nav svg{width:18px;height:18px}.conversation-view .audio-row audio{height:28px}.chat-help[open]{max-height:calc(100dvh - 230px)}.conversation-view #toast{bottom:75px}}
@media(max-width:370px){.settings-section .field-grid{grid-template-columns:1fr}.conversation-view .compose .send{width:auto;margin-left:auto}.conversation-view .topbar .chip{font-size:7px;padding:4px 5px}.conversation-view #sync-status{max-width:79px}.conversation-view .mobile-brand{font-size:17px}.analytics-panel .stat{padding:0 7px!important}.analytics-panel .stat span{font-size:8px}}
.analytics-panel .week-chart{position:relative;min-height:140px;background:repeating-linear-gradient(to top,#8da47420 0,#8da47420 1px,transparent 1px,transparent 34px)}.analytics-panel .week-column{height:100%;min-height:140px;max-height:230px}.empty-chart-note{position:absolute;left:0;right:0;top:45%;text-align:center;font-size:11px;letter-spacing:1px;color:#94a780;pointer-events:none}.analytics-panel .week-bar{min-height:3px}
@media(max-width:760px){.analytics-panel .week-chart{min-height:125px;flex:none}.analytics-panel .week-column{height:125px;min-height:125px}}
@media(prefers-reduced-motion:reduce){button,a,input,select,textarea{transition:none}}

/* 进行中的对话：统计口径提示 */
.analytics-panel .live-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:13px 0 0;padding:8px 11px;border:1px dashed #b4c99a;border-radius:8px;background:#eef4e3;font-size:10px;line-height:1.6;color:#5b7842}
.analytics-panel .live-note .live-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#7ba050;box-shadow:0 0 0 3px #7ba05022;animation:poco-live 2.4s ease-in-out infinite}
.analytics-panel .live-note .text-button{margin-left:auto;font-size:10px;min-height:0;padding:0;color:#4a7530;white-space:nowrap}
.analytics-panel .live-note .text-button:hover{color:#3a6124}
@keyframes poco-live{0%,100%{opacity:1}50%{opacity:.32}}
@media(max-width:760px){.analytics-panel .live-note{font-size:9px;padding:7px 9px;gap:6px}.analytics-panel .live-note .text-button{font-size:9px}}
@media(prefers-reduced-motion:reduce){.analytics-panel .live-note .live-dot{animation:none}}
