@charset "UTF-8";
:root{--ink:#202d29;--muted:#68736e;--green:#225749;--green-hover:#184436;--green-light:#eaf2ed;--bg:#f7f9f7;--border:#e4e9e5;--white:#fff;--mint:#e2efe6;--peach:#faeadd;--lavender:#eeebf6;--butter:#f6f0d9;--danger:#b03835;--shadow:0 10px 35px #243b2e0a;--radius:20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft Yahei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #729b87}button:active:not(:disabled){filter:brightness(.95)}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.4}svg.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle;stroke-width:1.7}small{font-size:13px}ruby{ruby-position:over}rt{font-size:.52em;font-weight:400;color:var(--muted)}[lang=ja],.jp{font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP","PingFang SC",sans-serif}button{transition:background .16s,color .16s,box-shadow .16s,transform .16s}.skip-link{position:fixed;top:-70px;left:16px;z-index:200;background:var(--green);color:white;padding:12px}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#fff;border-right:1px solid var(--border);padding:32px 22px 16px;z-index:20;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:26px;font-weight:750;letter-spacing:2px}.brand-mark{width:43px;height:43px;border-radius:14px;background:var(--green);color:#fff;display:inline-grid;place-items:center;font-size:27px;font-family:serif;letter-spacing:0;flex-shrink:0}.brand small{display:block;font-size:10px;letter-spacing:3px;margin-top:-4px;color:var(--green)}.sidebar-caption{font-size:12px;color:var(--muted);margin:20px 0 33px 3px;letter-spacing:1px}.desktop-nav{display:grid;gap:10px}.nav-item{display:flex;align-items:center;gap:13px;min-height:49px;padding:12px 16px;font-size:15px;color:#63716b;border-radius:11px;font-weight:500}.nav-item:hover{background:#f4f7f4}.nav-item.active{background:var(--green-light);color:var(--green);font-weight:650}.nav-item.active:after{content:'';height:6px;width:6px;background:var(--green);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:50px}.little-note{padding:24px 12px 32px;text-align:center}.little-note p{font-family:serif;font-size:16px;letter-spacing:1px;margin:12px 0 5px}.little-note small{color:var(--muted);font-size:11px}.mini-sun{width:32px;height:32px;display:inline-block;border:1px solid #be9e65;border-radius:50%;position:relative;background:#f7edcc}.mini-sun:before,.mini-sun:after{content:'';height:1px;width:52px;position:absolute;top:15px;left:-11px;background:#be9e65;z-index:-1}.mini-sun:after{transform:rotate(90deg)}.profile-button{border-top:1px solid var(--border);width:100%;padding:20px 0 0;display:flex;align-items:center;gap:10px;text-align:left;font-size:13px}.profile-button small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.profile-button>span:last-child{margin-left:auto}.profile-button .icon{width:17px}.avatar{display:inline-grid;place-items:center;border-radius:50%;width:40px;height:40px;background:#eaeade;color:#5b654f;font-size:15px;font-weight:600;flex-shrink:0}.avatar.small{width:36px;height:36px}
.app-shell{margin-left:226px}.topbar{height:88px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff9}.topbar-location{font-size:14px;color:var(--muted)}.topbar-actions{display:flex;align-items:center;gap:20px}.demo-badge{display:flex;align-items:center;gap:8px;font-size:12px;min-height:44px;color:var(--muted)}.demo-badge .icon{width:15px;height:15px}.mobile-brand{display:none}main{padding:32px 42px 20px;max-width:1500px;margin:0 auto;min-height:calc(100dvh - 160px)}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:var(--green)}.welcome-row h1{font-size:27px;letter-spacing:-.7px;margin-bottom:6px}.welcome-row p{font-size:14px;color:var(--muted)}.date-note{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.date-note .icon{width:18px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:24px}.main-column,.right-column{min-width:0}.hero{background:#e4efe6;min-height:310px;border:1px solid #d7e5d9;border-radius:22px;display:flex;position:relative;overflow:hidden;padding:32px}.hero-copy{position:relative;z-index:2;width:62%}.hero h2{font-size:33px;line-height:1.5;letter-spacing:-1px;margin:12px 0;color:#1c4939}.hero p{color:#5e7264;font-size:13px;max-width:310px;line-height:1.9}.hero-actions{display:flex;align-items:center;gap:13px;margin-top:24px}.primary,.secondary,.text-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 20px;font-size:14px;font-weight:600;border-radius:10px}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-hover);box-shadow:0 4px 12px #2257491f}.secondary{border:1px solid var(--border);background:#fff}.secondary:hover{background:#f2f6f2}.text-btn{color:var(--green);padding:8px 4px;font-size:13px}.text-btn:hover{text-decoration:underline}.primary .icon,.secondary .icon{width:18px;height:18px}.hero-tiny{font-size:11px!important;color:#617466!important;margin-top:12px}.hero-art{position:absolute;right:-7px;top:18px;width:260px;height:290px;pointer-events:none}.art-orbit{width:236px;height:236px;border:1px solid #c8daca;border-radius:50%;position:absolute;top:20px;left:20px}.art-orbit:before{content:'';position:absolute;inset:18px;border:1px dashed #c8daca;border-radius:50%}.art-sun{position:absolute;top:45px;left:69px;width:151px;height:151px;border-radius:50%;background:#d0dfc6;display:grid;place-items:center;transform:rotate(-9deg)}.art-sun span{font-family:serif;font-size:83px;color:#3f6549;font-weight:400;line-height:1.2}.art-sun small{position:absolute;bottom:16px;font-size:9px;letter-spacing:3px;color:#3f6549}.speech-card{position:absolute;padding:11px 17px;background:#fff;border:1px solid #dae2d7;border-radius:12px;box-shadow:0 6px 20px #273d2a08;font-size:16px;color:#365641}.speech-card.first{top:13px;left:4px;transform:rotate(-6deg)}.speech-card.second{top:199px;left:15px;transform:rotate(5deg);font-size:13px}.art-flower{position:absolute;right:6px;top:174px;color:#789467;font-size:45px}.art-caption{position:absolute;bottom:9px;left:55px;color:#6f846f;font-size:10px;letter-spacing:3px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 16px}.section-heading h2{font-size:18px;letter-spacing:-.3px}.section-heading .subtitle{font-size:12px;color:var(--muted);margin-left:10px;font-weight:400}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scenario-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:16px;padding:19px;text-align:left;min-width:0;transition:transform .2s,box-shadow .2s,border .2s}.scenario-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#b8ccbd}.scenario-card .tile{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;margin-bottom:20px;color:#476257}.tile.mint,.mint{background:var(--mint)}.tile.peach,.peach{background:var(--peach)}.tile.lavender,.lavender{background:var(--lavender)}.tile.butter,.butter{background:var(--butter)}.scenario-card .tile .icon{width:26px;height:26px}.scenario-card h3{font-size:15px;margin-bottom:6px}.scenario-card .scenario-jp{font-size:11px;color:#6a786d;margin-bottom:15px}.scenario-card p{font-size:12px;color:var(--muted);line-height:1.9}.scenario-card footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:20px;font-size:11px;color:var(--muted)}.level{background:#f2f5f1;padding:2px 8px;border-radius:5px;color:#62705f;font-size:11px;white-space:nowrap}.task-list{display:grid;gap:0;background:#fff;border:1px solid var(--border);border-radius:16px;padding:0 20px}.task-row{display:flex;gap:14px;align-items:center;padding:16px 0}.task-row+.task-row{border-top:1px solid #eff2ee}.task-num{width:30px;height:30px;border-radius:50%;border:1px solid var(--border);font-size:11px;display:grid;place-items:center;color:var(--muted);flex-shrink:0}.task-row h3{font-size:14px;font-weight:550}.task-row p{font-size:12px;color:var(--muted);margin-top:3px}.task-row button{margin-left:auto;font-size:12px;color:var(--green);min-height:44px;white-space:nowrap;padding-left:12px}.task-row.done .task-num{background:var(--green-light);color:var(--green);border-color:#d1e1d4}
.panel{padding:23px;background:#fff;border:1px solid var(--border);border-radius:18px;margin-bottom:20px}.panel-label{font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between}.panel-label .icon{width:18px;color:#718476}.goal-ring{width:128px;height:128px;border-radius:50%;margin:24px auto;background:conic-gradient(var(--green) var(--progress,0%),#edf2ec 0);display:grid;place-items:center;position:relative}.goal-ring:before{content:'';position:absolute;inset:9px;background:white;border-radius:50%}.goal-ring>div{z-index:1;text-align:center}.goal-ring strong{font-size:29px;font-weight:600}.goal-ring small{color:var(--muted);font-size:12px}.goal-ring p{font-size:11px;color:var(--muted)}.week{display:flex;justify-content:space-between;margin:18px 0 0}.week-day{display:grid;gap:8px;text-align:center;color:var(--muted);font-size:10px}.day-circle{width:25px;height:25px;background:#f1f4ef;border-radius:50%;display:grid;place-items:center;font-size:11px}.day-circle.today{border:1px solid #779780;color:var(--green)}.day-circle.practiced{background:var(--green);color:#fff}.panel-foot{font-size:11px;color:var(--muted);text-align:center;margin-top:16px}.sentence-panel{background:#f4f1e8;border-color:#ebe6d7}.sentence-panel .eyebrow{font-size:10px;color:#7c765e;letter-spacing:1px}.sentence-panel blockquote{font-family:serif;font-size:24px;line-height:1.8;margin:20px 0 10px;color:#4e513d;letter-spacing:.5px}.sentence-panel .translation{font-size:12px;color:#797662;margin-bottom:16px}.sentence-actions{display:flex;justify-content:space-between;align-items:center}.icon-button{height:44px;min-width:44px;display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:white}.icon-button:hover{background:var(--green-light)}.icon-button .icon{width:19px;height:19px}.mini-tip{background:#eff3ee;padding:15px 16px;border-radius:12px;color:#5c725f;display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.9}.mini-tip .icon{width:18px;margin-top:3px}.page-footer{max-width:1500px;margin:30px auto 0;padding:25px 42px;display:flex;align-items:center;gap:16px;font-size:11px;color:#7a857f;border-top:1px solid var(--border)}.page-footer>span:first-child{font-size:10px;font-weight:650;letter-spacing:1.5px}.page-footer button{margin-left:auto;font-size:11px;min-height:44px}.bottom-nav{display:none}
.page-title{margin-bottom:25px}.page-title h1{font-size:28px;margin:6px 0 9px}.page-title p{font-size:14px;color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.filter{padding:9px 20px;border:1px solid var(--border);border-radius:24px;background:white;font-size:13px;min-height:44px}.filter.active{background:var(--green);color:white;border-color:var(--green)}.full-scenarios{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.full-scenarios .scenario-card{min-height:249px}.scenario-brief{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;max-width:940px;margin:30px auto}.brief-copy{background:var(--green-light);padding:35px;border-radius:20px}.brief-copy .tile{height:70px;width:70px;display:grid;place-items:center;border-radius:18px;background:white;margin-bottom:25px}.brief-copy .tile .icon{width:35px;height:35px}.brief-copy h1{font-size:28px;margin:14px 0}.brief-copy p{color:#5e7368;font-size:15px}.brief-details{padding:24px 0}.brief-details h2{font-size:17px;margin-bottom:14px}.brief-details p{color:var(--muted);font-size:14px;line-height:2}.brief-details ul{font-size:14px;padding-left:20px;color:#566a60;line-height:2.4;margin:18px 0 28px}.mode-note{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.9}.back-btn{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);min-height:44px}.back-btn .icon{width:17px}
.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px;max-width:1100px;margin:14px auto}.conversation{background:white;border:1px solid var(--border);border-radius:20px;overflow:hidden}.conversation-header{padding:20px 24px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px}.tutor-person{display:flex;align-items:center;gap:12px}.tutor-avatar{height:44px;width:44px;background:var(--mint);border-radius:14px;font-family:serif;font-size:27px;display:grid;place-items:center;color:var(--green);flex-shrink:0}.tutor-person h2{font-size:15px}.tutor-person p{font-size:11px;color:var(--muted)}.practice-status{font-size:12px;color:var(--green)}.progress-track{height:3px;background:#edf3ed}.progress-track>span{height:3px;display:block;background:#6f957b;transition:width .3s}.messages{padding:25px 24px;min-height:280px;max-height:480px;overflow-y:auto;display:flex;flex-direction:column;gap:22px;scroll-behavior:smooth}.message{max-width:92%;align-self:flex-start}.message.user{align-self:flex-end;text-align:right}.message .speaker{font-size:10px;color:var(--muted);margin-bottom:6px}.message-bubble{border:1px solid var(--border);border-radius:0 16px 16px 16px;padding:16px 18px;background:#f7faf6;text-align:left;overflow-wrap:anywhere}.user .message-bubble{background:var(--green);color:#fff;border:0;border-radius:16px 0 16px 16px}.message .jp{font-size:19px;line-height:1.9}.message .zh{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.9}.message-controls{display:flex;gap:10px;align-items:center;margin-top:8px}.message-controls button{min-height:36px;min-width:36px;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:4px;color:var(--muted)}.message-controls .icon{width:16px;height:16px}.feedback{border-left:2px solid #91ae96;background:#f2f6ef;color:#51684f;padding:12px 14px;margin-top:9px;text-align:left;font-size:12px;line-height:1.9;border-radius:0 9px 9px 0}.feedback strong{font-weight:600;color:var(--green);display:block}.composer{padding:20px 24px;border-top:1px solid var(--border);background:#fcfdfb}.composer label{font-size:12px;color:var(--muted);display:block;margin-bottom:7px}.input-row{display:flex;gap:9px}.input-row textarea{resize:vertical;min-height:50px;max-height:150px;width:100%;padding:12px;border:1px solid #d8e2d7;border-radius:10px;background:white;font-size:16px;color:var(--ink)}.input-row .primary{align-self:flex-end;min-height:50px;white-space:nowrap}.voice-controls{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}.voice-btn{display:flex;align-items:center;gap:8px;border-radius:24px;background:var(--green-light);color:var(--green);font-size:13px;padding:10px 17px;min-height:44px}.voice-btn.listening{background:#fbe6e4;color:var(--danger)}.voice-controls small{color:var(--muted);font-size:11px}.inline-error{color:var(--danger);font-size:12px;margin-top:9px;line-height:1.8}.practice-tools .panel{padding:20px}.practice-tools h3{font-size:14px;margin-bottom:12px}.practice-tools p{font-size:13px;color:var(--muted);line-height:1.9}.hint-box{background:#f5f1e5;border:1px solid #e9e2cc;border-radius:14px;padding:18px;margin-bottom:18px}.hint-box p{color:#7a7258;font-size:13px;line-height:1.9}.hint-box h3{color:#6c6349}.hint-answer{font-size:17px!important;color:var(--green)!important;margin-top:14px}.hint-answer small{display:block;font-size:12px;color:var(--muted)}.sample-btn{font-size:12px;color:var(--green);min-height:44px;text-decoration:underline}.call-notice{font-size:11px!important;color:var(--muted);margin:12px 0}.summary-card{max-width:660px;padding:42px;background:white;border:1px solid var(--border);border-radius:24px;margin:30px auto;text-align:center}.summary-card .summary-seal{height:72px;width:72px;border-radius:50%;background:var(--green-light);color:var(--green);display:grid;place-items:center;margin:0 auto 24px}.summary-seal .icon{width:32px;height:32px}.summary-card h1{font-size:28px;margin-bottom:12px}.summary-card>p{font-size:14px;color:var(--muted)}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:28px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0}.summary-stats strong{font-size:26px;font-weight:600;color:var(--green)}.summary-stats p{font-size:11px;color:var(--muted)}.summary-card .button-row{justify-content:center;flex-wrap:wrap}.summary-note{text-align:left;font-size:13px;background:var(--green-light);padding:18px;border-radius:12px;margin-bottom:25px;line-height:1.9;color:#4d6856}
.search-row{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.search-row .filters{margin:0}.search-box{position:relative;min-width:240px}.search-box input{padding:12px 15px 12px 42px;font-size:14px;border:1px solid var(--border);border-radius:10px;background:white;min-height:46px;width:100%;color:var(--ink)}.search-box .icon{position:absolute;left:13px;top:13px;width:19px;color:var(--muted)}.word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.word-card{padding:23px;background:white;border:1px solid var(--border);border-radius:16px;min-width:0}.word-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.word-card h2{font-size:25px;font-weight:550;line-height:2;overflow-wrap:anywhere}.kana{font-size:12px;color:var(--muted)}.word-card .meaning{font-size:14px;margin:8px 0 18px}.word-example{padding-top:15px;border-top:1px solid var(--border);font-size:13px;color:#5b6e61;line-height:2}.word-controls{display:flex;gap:4px}.word-controls button{height:36px;min-width:36px;display:grid;place-items:center;color:var(--muted);border-radius:50%}.word-controls button:hover{background:var(--green-light)}.word-controls .icon{width:18px}.word-controls .saved{color:var(--green);background:var(--green-light)}.word-count{font-size:12px;color:var(--muted);margin-bottom:18px}.empty-state{padding:60px 24px;text-align:center;background:#fff;border:1px dashed #c7d6cb;border-radius:20px;grid-column:1/-1}.empty-state h2{font-size:20px;margin-bottom:12px}.empty-state p{color:var(--muted);font-size:14px;margin-bottom:20px}.empty-state .icon{width:36px;height:36px;color:#7f9986;margin-bottom:15px}.review-head{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--green-light);padding:24px 28px;border-radius:18px;margin-bottom:25px}.review-head h2{font-size:19px;margin-bottom:5px}.review-head p{font-size:13px;color:var(--muted)}.flashcard{max-width:640px;margin:20px auto;padding:40px;text-align:center;background:#fff;border:1px solid var(--border);border-radius:24px}.flashcard h1{font-size:38px;line-height:2;margin:22px 0}.flashcard .answer{padding:20px;background:var(--green-light);border-radius:14px;margin:20px 0}.flashcard .answer p{font-size:16px;line-height:2}.button-row{display:flex;gap:12px;align-items:center;margin-top:20px}.flashcard .button-row{justify-content:center}.counter{font-size:12px;color:var(--muted)}.reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.article-card{background:white;border:1px solid var(--border);border-radius:18px;overflow:hidden;text-align:left;display:flex;flex-direction:column}.article-cover{padding:28px;min-height:160px;position:relative;display:flex;align-items:flex-end;overflow:hidden}.article-cover .icon{position:absolute;right:23px;top:25px;width:70px;height:70px;stroke-width:.8;opacity:.5}.article-cover span{font-family:serif;font-size:24px;letter-spacing:1px;position:relative;z-index:1}.article-body{padding:24px}.article-body h2{font-size:18px;margin:13px 0 15px}.article-body p{font-size:13px;color:var(--muted)}.article-reader{max-width:780px;margin:15px auto}.article-reader h1{font-size:29px;margin:14px 0}.reader-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.paragraphs{background:#fff;border:1px solid var(--border);padding:30px;border-radius:20px}.paragraph{margin-bottom:26px}.paragraph:last-child{margin-bottom:0}.paragraph .jp{font-size:21px;line-height:2.2}.paragraph .zh{font-size:14px;color:var(--muted);line-height:1.9;margin-top:10px;padding-left:14px;border-left:2px solid #e2e9df}.quiz{background:white;border:1px solid var(--border);padding:26px;border-radius:20px;margin-top:24px}.quiz h2{font-size:18px;margin:8px 0 20px}.quiz-options{display:grid;gap:10px}.quiz-options button{text-align:left;background:#f7f9f5;padding:12px 17px;border:1px solid var(--border);border-radius:10px;font-size:14px}.quiz-options button.correct{background:#e7f1e8;border-color:#94b398}.quiz-options button.wrong{background:#fae9e6;border-color:#c9978a}.quiz-feedback{font-size:14px;color:var(--green);line-height:2;margin-top:16px}.reading-word-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.reading-word-row button{border:1px solid var(--border);padding:9px 14px;border-radius:10px;font-size:13px;min-height:44px;background:#fff}
dialog{border:0;border-radius:22px;width:min(510px,calc(100vw - 32px));padding:0;box-shadow:0 20px 80px #172c3440;color:var(--ink);max-height:calc(100dvh - 48px)}dialog::backdrop{background:#19312577;backdrop-filter:blur(3px)}.modal-header{padding:24px 26px 10px;display:flex;align-items:center;justify-content:space-between}.modal-header h2{font-size:20px}.modal-header button{min-height:44px;min-width:44px;color:var(--muted)}.modal-body{padding:8px 26px 28px}.modal-body p{color:var(--muted);font-size:14px;line-height:2;margin:10px 0}.modal-body h3{font-size:15px;margin-top:20px}.form-field{margin:15px 0}.form-field label{display:block;font-size:13px;font-weight:550;margin-bottom:7px}.form-field input,.form-field select{width:100%;border:1px solid #d4dfd6;background:#fbfcfa;border-radius:10px;padding:12px 14px;min-height:48px;font-size:16px;color:var(--ink)}.checkbox-row{display:flex;gap:10px;align-items:center;font-size:14px;margin-top:20px}.checkbox-row input{width:18px;height:18px;accent-color:var(--green)}.form-help{font-size:11px!important;line-height:1.8!important}.toast{position:fixed;left:calc(50% + 113px);bottom:30px;transform:translate(-50%,20px);background:#253e31;color:#fff;font-size:13px;padding:13px 22px;border-radius:12px;opacity:0;pointer-events:none;z-index:200;max-width:calc(100vw - 32px);box-shadow:0 8px 24px #1a322f20;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.saved-label{color:var(--green);font-size:12px}.progress-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.stat-card{background:#fff;border:1px solid var(--border);padding:24px;border-radius:16px}.stat-card strong{display:block;font-size:30px;color:var(--green);margin-bottom:6px}.stat-card span{font-size:13px;color:var(--muted)}
@media(min-width:1550px){main{padding-top:40px}.hero{min-height:340px}.hero h2{font-size:40px}.hero-art{right:18px;top:32px}.dashboard-grid{gap:28px;grid-template-columns:minmax(0,1fr) 310px}.hero-copy{width:65%}.hero{padding:38px}.scenario-card{padding:24px}.scenario-card h3{font-size:17px}.scenario-card p{font-size:14px}}
@media(max-width:1250px){.sidebar{width:200px;padding:28px 17px 16px}.app-shell{margin-left:200px}.topbar{padding:0 28px}main{padding:28px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 258px;gap:20px}.hero{padding:26px}.hero h2{font-size:28px}.hero-art{right:-28px;top:32px;transform:scale(.84)}.hero-copy{width:64%}.scenario-card{padding:16px}.scenario-card h3{font-size:14px}.scenario-card p{font-size:11px}.hero-actions{gap:8px}.hero-actions .primary{padding:11px 14px}.hero-actions .text-btn{font-size:12px}.full-scenarios{grid-template-columns:repeat(3,minmax(0,1fr))}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 100px)}.practice-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.right-column .panel{margin:0}.right-column .mini-tip{grid-column:1/-1}.hero-art{right:15px;transform:scale(1);top:18px}.hero-copy{width:65%}.hero h2{font-size:34px}.scenario-card h3{font-size:16px}.scenario-card p{font-size:13px}.practice-layout{grid-template-columns:1fr}.practice-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px}.practice-tools .hint-box{margin:0}.practice-tools .panel{margin:0}.call-notice{grid-column:1/-1}.reading-grid{grid-template-columns:1fr 1fr}.scenario-brief{gap:24px}}
@media(max-width:780px){.sidebar{display:none}.app-shell{margin-left:0}.topbar{height:72px;padding:0 22px;background:#fff}.topbar-location{display:none}.mobile-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:650;letter-spacing:2px}.mobile-brand .brand-mark{width:34px;height:34px;font-size:22px;border-radius:10px}.topbar-actions{gap:14px}.topbar-actions .avatar{width:34px;height:34px;font-size:13px}.demo-badge{font-size:11px}main{padding:28px 22px 20px;min-height:calc(100dvh - 150px)}.welcome-row h1{font-size:25px}.welcome-row p{font-size:13px}.date-note{display:none}.hero{padding:29px;min-height:308px}.hero h2{font-size:32px}.hero-art{right:-10px;top:22px;transform:scale(.9);transform-origin:right}.hero p{max-width:270px}.hero-copy{width:64%}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff5;border-top:1px solid var(--border);padding:7px 5px calc(7px + env(safe-area-inset-bottom));z-index:30;backdrop-filter:blur(10px)}.bottom-nav .nav-item{padding:4px 0;display:flex;flex-direction:column;gap:2px;min-height:49px;font-size:10px;border-radius:9px}.bottom-nav .nav-item .icon{width:21px;height:21px}.bottom-nav .nav-item.active{background:none}.bottom-nav .nav-item.active:after{display:none}.page-footer{padding:20px 22px 100px;font-size:10px;gap:10px;margin-top:12px}.page-footer>span:nth-child(2){display:none}.page-footer button{font-size:11px}.toast{left:50%;bottom:92px}.full-scenarios{grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-brief{grid-template-columns:1fr;max-width:550px;margin:15px auto}.brief-details{padding:0 5px}.brief-copy{padding:28px}.page-title h1{font-size:26px}.scenario-card{padding:20px}.summary-card{padding:28px}.paragraphs{padding:24px}.article-reader h1{font-size:26px}.search-row{gap:18px}.search-box{width:100%;min-width:0}.search-box input{font-size:16px}.progress-summary{gap:12px}.stat-card{padding:18px}.stat-card strong{font-size:27px}.stat-card span{font-size:12px}}
@media(max-width:540px){main{padding:24px 18px 12px}.topbar{padding:0 18px}.welcome-row{margin-bottom:22px}.welcome-row h1{font-size:24px}.welcome-row p{font-size:12px}.hero{padding:26px 24px;min-height:365px;border-radius:19px;align-items:flex-start}.hero h2{font-size:29px;margin:12px 0}.hero .eyebrow{font-size:9px;letter-spacing:1.4px}.hero-copy{width:100%}.hero p{font-size:12px;max-width:224px}.hero-art{right:-29px;top:170px;transform:scale(.59);transform-origin:right top;width:250px}.hero-actions{margin-top:24px;align-items:flex-start;flex-direction:column;gap:0}.hero-actions .primary{padding:12px 18px}.hero-actions .text-btn{font-size:11px;margin-top:5px}.hero-tiny{display:none}.section-heading{margin:26px 0 16px}.section-heading h2{font-size:18px}.section-heading .subtitle{display:none}.scenario-grid:not(.full-scenarios){grid-template-columns:1fr;gap:12px}.scenario-grid:not(.full-scenarios) .scenario-card{display:grid;grid-template-columns:50px 1fr;column-gap:16px;padding:20px;position:relative}.scenario-grid:not(.full-scenarios) .scenario-card .tile{grid-row:1/4;margin:0}.scenario-grid:not(.full-scenarios) .scenario-card .scenario-jp{margin:3px 0 7px;font-size:11px}.scenario-grid:not(.full-scenarios) .scenario-card h3{font-size:16px;padding-right:18px}.scenario-grid:not(.full-scenarios) .scenario-card p{font-size:12px;grid-column:2}.scenario-grid:not(.full-scenarios) .scenario-card footer{grid-column:2;padding-top:12px;justify-content:flex-start;gap:15px}.right-column{grid-template-columns:1fr}.right-column .panel:first-child{display:grid;grid-template-columns:1fr 1fr;padding:22px}.right-column .panel:first-child .panel-label{grid-column:1/-1}.right-column .panel:first-child .goal-ring{grid-row:2/4;margin:18px auto 0;width:110px;height:110px}.right-column .panel:first-child .week{align-self:center;gap:5px;margin:20px 0 0}.right-column .panel:first-child .panel-foot{margin:10px 0 0;align-self:start}.week-day{font-size:9px;gap:5px}.day-circle{width:20px;height:20px;font-size:9px}.sentence-panel blockquote{font-size:25px;max-width:260px}.full-scenarios{gap:12px}.full-scenarios .scenario-card{padding:17px 15px;min-height:260px}.full-scenarios .scenario-card h3{font-size:15px}.full-scenarios .scenario-card p{font-size:12px}.full-scenarios .scenario-jp{font-size:10px}.full-scenarios .scenario-card footer{font-size:10px;gap:5px}.filter{padding:9px 15px;font-size:12px}.word-grid{grid-template-columns:1fr;gap:14px}.word-card h2{font-size:27px}.word-card{padding:23px}.word-card .meaning,.word-example{font-size:15px}.word-card .kana{font-size:14px}.search-row .filters{gap:6px}.search-row .filter{padding:9px 12px}.practice-layout{margin:10px -2px;gap:18px}.conversation-header{padding:18px 16px}.tutor-person h2{font-size:14px}.practice-status{font-size:11px}.messages{padding:22px 16px;max-height:430px;min-height:220px}.message{max-width:96%}.message .jp{font-size:19px}.message .zh{font-size:14px}.message-bubble{padding:14px}.composer{padding:18px 16px}.input-row{gap:7px}.input-row .primary{padding:11px 15px}.practice-tools{grid-template-columns:1fr;gap:14px}.practice-tools p,.hint-box p{font-size:14px}.practice-tools .panel{display:none}.voice-controls small{font-size:11px}.summary-card{padding:28px 20px;margin:20px 0}.summary-card h1{font-size:25px}.summary-card .button-row{flex-direction:column}.summary-card .button-row button{width:100%}.summary-stats strong{font-size:24px}.review-head{padding:22px;flex-direction:column;align-items:flex-start;gap:15px}.review-head .primary{width:100%}.flashcard{padding:28px 20px}.flashcard h1{font-size:30px}.reading-grid{grid-template-columns:1fr;gap:18px}.article-cover{min-height:145px}.article-body{padding:22px}.article-body h2{font-size:19px}.paragraphs{padding:24px 20px}.paragraph .jp{font-size:20px}.paragraph .zh{font-size:15px}.quiz{padding:22px 20px}.quiz-options button{font-size:16px;min-height:48px}.progress-summary{gap:9px}.stat-card{padding:16px 13px}.stat-card strong{font-size:26px}.stat-card span{font-size:11px}.button-row{flex-wrap:wrap}.page-footer{padding-left:18px;padding-right:18px}}
.conversation-header h1{font-size:15px;line-height:1.4}.task-row>div{min-width:0}.task-row .text-btn{flex-shrink:0;margin-left:auto}.conversation,.practice-tools,.practice-layout>*{min-width:0}.hero .eyebrow{overflow-wrap:anywhere}.welcome-row h1{overflow-wrap:anywhere}.reading-word-row .icon{width:16px;height:16px}.messages .jp{overflow-wrap:anywhere}
@media(max-width:540px){.conversation-header h1{font-size:14px}.right-column .panel:first-child{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.task-list{padding:0 16px}.task-row{gap:10px}.task-row .text-btn{padding-left:4px;font-size:11px}.hero-art{right:-20px;top:196px;transform:scale(.52)}.hero p{max-width:200px}.hero-actions{position:relative;z-index:3}.voice-controls small{max-width:100%}}
@media(max-width:340px){.hero{min-height:400px}.hero h2{font-size:25px}.hero-art{display:none}.week{gap:2px}.right-column .panel:first-child{display:block}.hero-copy{width:100%}.full-scenarios{grid-template-columns:1fr}.task-row{flex-wrap:wrap}.task-row .text-btn{margin-left:40px}.review-head .primary{padding:11px 13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
