:root{--paper:#f3f4f5;--page:#ffffff;--ink:#202624;--muted:#505b55;--line:#ced4d0;--green:#2c5544;--accent:#465b50;--brand-primary:var(--green);--brand-primary-h:#214334;--sans:"PingFang SC","Hiragino Sans","Microsoft YaHei",system-ui,sans-serif;--serif:var(--sans)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}[lang=ja]{font-family:"Hiragino Sans","Yu Gothic","Meiryo",var(--sans)}button,input,textarea{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer;touch-action:manipulation;transition:background .18s,color .18s,transform .18s,border-color .18s}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}svg{flex-shrink:0;stroke-width:1.7}.eyebrow{color:var(--muted);font-size:12px;font-weight:500;letter-spacing:.04em}.muted{color:var(--muted);line-height:1.8}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:600;white-space:nowrap;padding:0}.brand small{display:block;font-size:12px;font-weight:400;margin-top:2px}.brand-seal{display:grid;place-items:center;width:34px;height:38px;border-radius:8px;background:var(--green);color:var(--page);font-size:23px;font-weight:500}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:10px}.icon-button:hover{background:#e8ece3}.text-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;font-size:13px}.text-button:hover{color:var(--green)}.primary,.btn-primary-block{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 20px;border-radius:8px;background:var(--green);color:var(--page);font-weight:500}.primary:hover,.btn-primary-block:hover{background:var(--brand-primary-h)}.secondary-button{min-height:44px;border:1px solid var(--line);border-radius:8px;padding:10px 18px;background:var(--page)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.grammar-switch{animation:grammar-switch-in .22s ease-out}@keyframes grammar-switch-in{0%{opacity:.25;transform:translate(var(--grammar-enter-x,16px))}to{opacity:1;transform:translate(0)}}.icp-footer{flex-shrink:0;padding-top:16px;text-align:center;font-size:12px;color:var(--muted)}.icp-footer a:hover{color:var(--green);text-decoration:underline}.book-cover{width:100%;height:100%}.book-cover img{display:block;width:100%;height:100%;object-fit:contain}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;align-items:start}.auth-scene{display:flex;flex-direction:column;justify-content:space-between;position:sticky;top:0;height:100dvh;min-height:620px;padding:clamp(28px,5vw,72px);background:#264a3b;color:#f4f2e9;overflow:hidden}.auth-brand .brand-seal{background:#eef0df;color:#264a3b}.auth-intro{margin-top:40px}.auth-intro .eyebrow{color:#c3d0bf}.auth-intro h1{font-size:clamp(28px,3vw,42px);font-weight:500;line-height:1.45;margin:16px 0}.auth-intro p{color:#c8d2c4;font-size:14px}.auth-books{display:flex;align-items:flex-end;gap:12px;width:min(100%,440px);height:clamp(160px,28dvh,300px);margin:32px auto}.auth-books .book-cover{flex:1;min-width:0;filter:drop-shadow(0 12px 12px #10261d44)}.auth-books .book-cover:nth-child(2){height:110%}.auth-scene-note{color:#c3d0bf;font-size:12px}.auth-form-panel{display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:36px 28px}.auth-form-wrap{width:min(100%,380px)}.auth-form-wrap h2{font-size:28px;font-weight:600;margin:12px 0}.auth-form-wrap form{margin-top:28px}.auth-form-wrap label,.form-label{display:block;font-size:13px;font-weight:500;margin-bottom:8px}.auth-form-wrap input,.form-input,.form-textarea{width:100%;display:block;min-height:46px;border:1px solid #cbd4c7;border-radius:8px;padding:11px 13px;background:var(--page)}.auth-form-wrap input{margin-bottom:18px}input::placeholder,textarea::placeholder{color:#7c867c}.auth-submit,.btn-primary-block{width:100%}.auth-switch{margin-top:20px;color:var(--muted);text-align:center}.auth-switch button{min-height:44px;color:var(--green);font-weight:500}.auth-footnote{margin-top:28px;font-size:12px;text-align:center;color:var(--muted)}.form-error,.form-error-alert,.form-status-alert.error{padding:12px;background:#f6e9df;color:#934b30;border-radius:6px;margin:12px 0;font-size:13px}.input-error{color:#934b30;font-size:12px;margin:-8px 0 14px}.auth-field-message{height:20px;line-height:20px;margin:-12px 0 10px}.auth-validation-message{height:40px;line-height:20px;font-size:12px;color:#934b30;margin:8px 0;overflow:auto}.auth-form-wrap .remember-password{display:flex;align-items:center;gap:8px;margin:0;font-weight:400}.auth-form-wrap .remember-password input{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--green)}.remember-password span{margin-left:auto;font-size:11px;color:var(--muted)}.captcha-row{display:flex;align-items:flex-start;gap:12px}.captcha-row input{min-width:0}.captcha-button{display:flex;align-items:center;justify-content:center;min-width:120px;height:46px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.captcha-button span{display:flex;align-items:center;justify-content:center;height:100%}.captcha-button svg{max-width:100%;height:38px}.study-room{height:100dvh;background:var(--page)}.app-body{overflow:hidden;height:100%;display:flex;flex-direction:column;min-width:0}.workspace-header{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:76px;padding:12px clamp(24px,5vw,80px);border-bottom:1px solid var(--line);flex-shrink:0}.account-actions{display:flex;align-items:center;gap:18px}.account-name{font-size:12px;color:var(--muted)}.progress-link.active{color:var(--green);font-weight:600}.study-room .primary,.study-room .secondary-button{border-radius:24px}.sync-notice{display:flex;align-items:center;justify-content:center;gap:16px;padding:6px 20px;background:#f1e7d4;font-size:12px;flex-shrink:0}.bookshelf{scrollbar-gutter:stable;display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:clamp(24px,4dvh,46px) clamp(24px,6vw,100px) 22px}.collection-intro h1{font-size:clamp(28px,3vw,40px);font-weight:500;margin:8px 0 10px}.collection-intro p{color:var(--muted)}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,5vw,80px);width:min(100%,1050px);margin:auto;padding:22px 0}.textbook{min-width:0;text-align:center}.textbook-top{display:none}.textbook-image{width:100%;height:clamp(160px,34dvh,400px);padding:0;filter:drop-shadow(0 16px 14px #263c2420)}.textbook-image:hover{transform:translateY(-4px)}.textbook-name{display:flex;align-items:baseline;justify-content:center;gap:16px;margin-top:14px}.textbook-name h2{font-size:27px;font-weight:500}.textbook-name span{font-size:14px}.textbook-count{font-size:12px;color:var(--muted);margin:9px 0 16px}.textbook-open{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:44px;min-width:148px;padding:10px 20px;border-radius:25px;background:var(--green);color:var(--page)}.collection-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:16px;color:var(--muted);font-size:12px}.learning-workspace{flex:1;display:flex;flex-direction:column;min-height:0;padding:0 clamp(24px,4vw,64px)}.book-heading{display:flex;align-items:center;gap:24px;min-height:84px;flex-shrink:0}.book-heading-title{display:flex;align-items:center;gap:4px;white-space:nowrap}.book-heading h1{font-size:21px;font-weight:500}.study-modes{display:flex;gap:3px;padding:4px;border-radius:24px;background:#efeee7}.study-modes button{min-height:38px;padding:7px 19px;border-radius:20px;font-size:13px;white-space:nowrap}.study-modes button.active{background:var(--green);color:var(--page)}.search-box{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);width:220px;margin-left:auto;color:var(--muted)}.search-box input{width:100%;min-width:0;height:40px;background:none;border:0;font-size:12px}.search-box .icon-button{width:28px}.practice-lesson{margin-left:auto;color:var(--muted);font-size:12px}.practice-lesson select{margin-left:10px}select{font:inherit;color:inherit;min-height:40px;border:1px solid var(--line);border-radius:8px;background:var(--page);padding:6px 10px}.chapter-strip{display:flex;gap:10px;overflow:auto;flex-shrink:0;padding:0 0 18px;scrollbar-width:thin}.chapter-strip button{white-space:nowrap;min-height:38px;padding:6px 18px;border:1px solid var(--line);border-radius:22px;font-size:13px}.chapter-strip button.active{border-color:var(--green);background:#e9eee4;color:var(--green)}.reading-workspace{flex:1;min-height:0;display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:48px minmax(0,1fr) 64px;border-top:1px solid var(--line);column-gap:clamp(24px,4vw,64px)}.reader-controls{grid-column:2;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.furigana-toggle{display:flex;align-items:center;gap:9px;min-height:44px}.toggle-track{display:flex;align-items:center;width:34px;height:20px;border-radius:12px;background:#ccc8bc;padding:3px}.toggle-track>span{width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}.toggle-track.on{background:var(--green)}.toggle-track.on>span{transform:translate(14px)}.grammar-tabs{grid-column:1;grid-row:1/4;display:flex;flex-direction:column;gap:8px;overflow:auto;border-right:1px solid var(--line);padding:24px 20px 20px 0;scrollbar-width:thin}.grammar-tabs button{display:flex;align-items:baseline;gap:12px;padding:12px;min-height:48px;text-align:left;font-size:14px;line-height:1.8;border-radius:8px;overflow-wrap:anywhere}.grammar-tabs button>span{flex-shrink:0;white-space:nowrap;font-size:11px;color:var(--muted)}.grammar-tabs button.active{background:#eaf0e6;color:var(--green)}.mobile-grammar-picker{display:none}.reading-pane{grid-column:2;min-height:0;overflow:auto;scrollbar-width:thin}.grammar-spread{padding:10px 8px 28px 0;max-width:1060px}.grammar-brief h1{font-size:clamp(25px,2.5vw,38px);line-height:1.6;font-weight:500;margin:8px 0 16px;overflow-wrap:anywhere}.register-label{color:var(--muted);font-size:12px}.grammar-definition{display:flex;gap:24px;margin:16px 0;line-height:1.9;font-size:15px}.grammar-definition h2{flex:0 0 42px;font-size:14px;font-weight:500;color:var(--accent)}.grammar-definition>div{min-width:0}.grammar-notes,.example-detail{font-size:12px;color:var(--muted);line-height:1.9}.grammar-notes summary,.example-detail summary{cursor:pointer;min-height:36px}.brief-actions{display:flex;gap:12px;margin:12px 0 16px}.brief-actions button{font-size:12px;min-height:38px}.grammar-examples{border-top:1px solid var(--line);padding-top:22px}.grammar-examples>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.grammar-examples h2{font-size:19px;font-weight:500}.grammar-examples>header>span{color:var(--muted);font-size:12px}.example-row{position:relative;padding:20px 64px 20px 0;border-bottom:1px solid var(--line)}.example-japanese{font-size:18px;line-height:2.2;overflow-wrap:anywhere}.example-translation{font-size:14px;color:var(--muted);line-height:1.9;margin-top:8px}.example-detail{margin-top:8px}.detail-body{padding:14px;background:#f0f1e8;border-radius:8px}.detail-body h3,.detail-body h4{font-size:14px}.page-footer{grid-column:2;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.page-footer .text-button{padding:7px 18px;min-height:38px;border:1px solid var(--line);border-radius:22px}.page-footer .text-button:last-child{background:var(--green);color:var(--page);border-color:var(--green)}.grammar-highlight,.grammar-point{color:var(--green);font-weight:600}.g-block{background:#edf0e4;padding:2px 6px;border-radius:4px}ruby{ruby-align:center}rt{font-size:.65em;color:var(--muted)}.hide-furigana rt{display:none}.room-status{display:flex;align-items:center;justify-content:center;gap:12px;padding:40px;color:var(--muted)}.practice-panel{flex:1;min-height:0;overflow:auto;width:min(100%,850px);margin:0 auto;padding:24px 12px 32px;scrollbar-width:thin}.practice-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.practice-heading h1{font-size:28px;font-weight:500;margin-top:6px}.practice-heading>span{font-size:12px;color:var(--muted)}.practice-status,.flashcard-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin:12px 0}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:5px;border:0;background:var(--line);border-radius:4px;color:var(--green)}progress::-webkit-progress-bar{background:var(--line);border-radius:4px}progress::-webkit-progress-value{background:var(--green);border-radius:4px}progress::-moz-progress-bar{background:var(--green);border-radius:4px}.grammar-flashcard{margin-top:24px}.flashcard-front{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;min-height:clamp(220px,37dvh,380px);width:100%;padding:28px;border:1px solid var(--line);background:#f7f5ed;border-radius:16px}.flashcard-front strong{font-size:clamp(26px,3vw,38px);font-weight:500;line-height:1.8}.flashcard-front span{color:var(--muted);font-size:13px}.flashcard-back{animation:reveal .2s}.flashcard-back>h2{font-size:28px;line-height:1.7;font-weight:500;margin:28px 0}.flashcard-columns{font-size:15px;line-height:1.9}.flashcard-columns h3{font-size:13px;color:var(--accent);font-weight:500;margin:20px 0 10px}.flashcard-example{border-bottom:1px solid var(--line);padding:14px 0}.flashcard-example [lang=ja]{font-size:18px;line-height:2.1}.flashcard-example .muted{font-size:14px;margin-top:8px}.flashcard-ratings{display:flex;gap:12px;position:sticky;bottom:-32px;background:var(--page);padding:20px 0;margin-top:20px}.flashcard-ratings button{flex:1;min-height:60px;border:1px solid #d7cbb5;border-radius:14px;font-size:15px}.flashcard-ratings button:last-child{background:var(--green);color:var(--page);border-color:var(--green)}.flashcard-ratings small{display:block;font-size:11px;opacity:.7;margin-top:4px}.practice-settings{border:1px solid var(--line);border-radius:14px;padding:24px;margin-top:18px}.plan-config{display:grid;grid-template-columns:1fr 1fr;gap:20px}.plan-config fieldset{border:0;margin:0;padding:0}.plan-config legend{font-size:12px;color:var(--muted);margin-bottom:8px}.plan-config fieldset>div{display:flex;flex-wrap:wrap;gap:6px}.plan-config button{min-height:40px;border:1px solid var(--line);border-radius:20px;padding:6px 12px;font-size:12px}.plan-config button.active{background:var(--green);color:#fff}.review-rule{font-size:12px;color:var(--muted);line-height:1.9;margin:20px 0}.review-rule summary{cursor:pointer;min-height:36px}.question-card{padding:32px;margin:28px 0;background:#f7f5ed;border:1px solid var(--line);border-radius:16px}.question-instruction{font-size:13px;color:var(--muted);margin-bottom:28px}.question-japanese,.recall-chinese{font-size:23px;line-height:1.9}.question-translation{color:var(--muted);font-size:14px;line-height:1.9;margin-top:16px}.answer-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}.answer-options button{display:flex;gap:12px;align-items:center;min-height:54px;padding:14px;text-align:left;line-height:1.8;border:1px solid var(--line);border-radius:10px;background:var(--page)}.answer-options button>span{font-size:12px;color:var(--muted)}.answer-options button.correct{background:#e4edda;border-color:var(--green)}.answer-options button.incorrect{background:#f4e6db;border-color:#b48465}.answer-options button:disabled{opacity:1}.answer-feedback{border-top:1px solid var(--line);padding-top:24px;line-height:1.9}.answer-feedback h2{font-size:20px;font-weight:500;color:var(--green);margin-bottom:12px}.answer-feedback.wrong h2{color:#a16e48}.answer-original{font-size:18px;margin-top:16px}.practice-next,.recall-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.reveal-button,.recall-answer{margin-top:28px}.practice-complete{text-align:center;padding:50px 16px;color:var(--muted)}.practice-complete h2{font-size:23px;color:var(--ink);margin:18px 0}.practice-complete p{line-height:1.9}.practice-complete>div{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}.progress-workspace{flex:1;min-height:0;overflow:auto;padding:32px 24px}.progress-panel{width:min(100%,820px);margin:auto}.progress-focus{display:flex;align-items:center;justify-content:space-between;padding:20px 0 24px;border-bottom:1px solid var(--line)}.progress-focus span,.progress-focus p{font-size:13px;color:var(--muted)}.progress-focus strong{font-size:48px;font-weight:500;margin:0 12px}.progress-focus small{font-size:13px;margin-left:8px}.progress-focus p{margin-top:6px}.overall-progress{margin:24px 0}.overall-progress>div,.book-progress-list header,.week-section header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.overall-progress h2,.week-section h2{font-size:17px;font-weight:500}.overall-progress p,.book-progress-list p{font-size:12px;color:var(--muted);margin-top:10px}.overall-progress span{font-size:13px}.overall-progress strong{font-size:24px;font-weight:500}.book-progress-list article{display:flex;align-items:center;gap:24px;padding:12px 0;border-bottom:1px solid var(--line)}.book-progress-list .book-cover{width:52px;height:75px;flex-shrink:0}.book-progress-list article>div:last-child{flex:1;min-width:0}.book-progress-list h2{font-size:16px;font-weight:500}.book-progress-list header>span,.week-section header>span{font-size:12px;color:var(--muted)}.week-section{margin-top:24px}.activity-week{display:flex;justify-content:space-between;gap:12px;padding:8px 0}.activity-week>div{display:flex;flex-direction:column;align-items:center;gap:8px}.activity-week span{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;color:var(--muted);font-size:12px}.activity-week span.learned{background:var(--green);color:var(--page);border-color:var(--green)}.activity-week small{font-size:11px;color:var(--muted)}.mastery-distribution{display:flex;gap:28px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:20px 0;border-bottom:1px solid var(--line)}.mastery-distribution strong{color:var(--ink);font-weight:500;margin-left:6px}.progress-detail{margin-top:20px;color:var(--muted);font-size:12px}.progress-detail summary{cursor:pointer;min-height:40px}.lesson-progress-list{margin-top:18px}.lesson-progress-list article{padding:16px 0;border-top:1px solid var(--line)}.lesson-progress-list h3{font-size:15px;color:var(--ink);font-weight:500}.lesson-progress-list p{margin:8px 0}.lesson-progress-actions{display:flex;gap:24px}@media(max-width:900px){.book-heading{gap:12px;flex-wrap:wrap;padding:16px 0}.search-box{width:180px}.reading-workspace{grid-template-columns:170px minmax(0,1fr);column-gap:24px}.workspace-header{padding-inline:24px}.account-actions{gap:12px}}@media(max-width:700px){.workspace-header{min-height:66px;padding:10px 20px;gap:10px}.workspace-header .brand{font-size:17px;gap:8px}.workspace-header .brand-seal{width:28px;height:32px;font-size:21px}.account-actions{gap:4px}.account-name{display:none}.account-actions .icon-button{width:32px;height:40px}.progress-link{font-size:11px;gap:4px}.progress-link svg{display:none}.bookshelf{padding:28px 24px 20px}.collection-intro h1{font-size:30px;margin:10px 0 12px}.collection-intro p{font-size:13px}.collection-grid{display:flex;flex-shrink:0;overflow:auto;scroll-snap-type:x mandatory;gap:24px;width:auto;margin:22px -24px 20px 0;padding:10px 24px 18px 0;scrollbar-width:thin}.textbook{flex:0 0 78%;scroll-snap-align:start;text-align:left}.textbook-image{height:clamp(230px,43dvh,460px)}.textbook-name{justify-content:flex-start;gap:16px;margin-top:18px}.textbook-name h2{font-size:25px}.textbook-count{font-size:11px}.textbook-open{min-width:138px;min-height:40px;font-size:12px}.collection-footer{margin-top:auto;font-size:11px;gap:8px}.collection-footer>span{max-width:56%}.collection-footer .text-button{font-size:11px;white-space:nowrap}.learning-workspace{padding:0 18px}.book-heading{padding:10px 0 12px;gap:8px;min-height:0}.book-heading-title{width:100%}.book-heading h1{font-size:19px}.book-heading-title .icon-button{width:30px;height:36px}.study-modes{padding:3px}.study-modes button{font-size:12px;padding:6px 13px;min-height:34px}.search-box{width:100%;order:3}.search-box input{height:34px}.practice-lesson{font-size:0}.practice-lesson select{font-size:12px;margin:0;min-height:34px;max-width:100px}.chapter-strip{gap:8px;padding-bottom:12px}.chapter-strip button{font-size:12px;min-height:34px;padding:5px 14px}.reading-workspace{display:flex;flex-direction:column}.reader-controls{flex-shrink:0;min-height:42px}.grammar-tabs{display:none}.mobile-grammar-picker{display:flex;align-items:center;gap:12px;flex-shrink:0;padding-bottom:10px}.mobile-grammar-picker select{width:100%;min-width:0;font-size:13px}.mobile-grammar-picker span{white-space:nowrap;font-size:11px;color:var(--muted)}.reading-pane{flex:1}.grammar-spread{padding:12px 0 24px}.grammar-brief>.eyebrow{display:none}.grammar-brief h1{font-size:27px;margin:4px 0 18px}.grammar-definition{gap:16px;font-size:14px;margin:14px 0}.brief-actions{margin:12px 0 20px}.grammar-examples{padding-top:18px}.example-row{padding-right:44px}.example-japanese{font-size:17px}.example-translation{font-size:13px}.page-footer{min-height:62px;flex-shrink:0}.page-footer .text-button{font-size:12px;padding:6px 16px}.practice-panel{padding:18px 0 24px}.practice-heading{margin-bottom:18px}.practice-heading h1{font-size:25px}.practice-heading>span{font-size:11px}.flashcard-top{font-size:11px;gap:12px}.flashcard-front{min-height:300px;padding:24px 18px}.flashcard-front strong{font-size:28px}.flashcard-front span{font-size:12px}.flashcard-back>h2{font-size:25px}.flashcard-ratings{bottom:-24px;gap:8px}.flashcard-ratings button{font-size:14px}.flashcard-ratings small{font-size:10px}.question-card{padding:24px 18px}.question-japanese,.recall-chinese{font-size:21px}.answer-options{grid-template-columns:1fr}.practice-settings{padding:18px}.plan-config{grid-template-columns:1fr;gap:18px}.progress-workspace{padding:28px 24px}.progress-focus{padding:12px 0 20px}.progress-focus strong{font-size:38px;margin:0 8px}.progress-focus .primary{padding:10px 14px;font-size:12px}.book-progress-list article{gap:18px}.activity-week{gap:6px}.activity-week span{width:32px;height:32px}.mastery-distribution{gap:14px}.sync-notice{font-size:11px}}@media(max-height:650px)and (min-width:701px){.workspace-header{min-height:60px}.book-heading{min-height:66px}.bookshelf{padding-top:20px}.collection-intro h1{font-size:30px}.textbook-image{height:30dvh}.collection-grid{padding:14px 0}}.account-menu{position:relative}.account-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:12px;min-height:44px;font-size:13px}.account-menu summary::-webkit-details-marker{display:none}.account-dropdown{position:absolute;right:0;top:calc(100% + 8px);z-index:10;min-width:180px;padding:8px;background:var(--page);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #25382f18}.account-dropdown button{display:block;width:100%;min-height:44px;text-align:left;padding:10px 14px;border-radius:8px}.account-dropdown button:hover{background:#edf0e6}.learning-workspace{display:grid;grid-template-columns:190px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:36px}.book-heading{grid-column:1/-1}.lesson-sidebar{display:flex;flex-direction:column;min-height:0;padding:18px 16px 0 0;border-right:1px solid var(--line)}.lesson-book{display:flex;align-items:center;gap:12px;padding-bottom:22px}.lesson-book .book-cover{width:52px;height:78px}.lesson-book h2,.lesson-sidebar>h2{font-size:14px;font-weight:500}.lesson-sidebar>h2{margin-bottom:12px;color:var(--muted);font-size:12px}.lesson-sidebar .chapter-strip{flex-direction:column;flex-shrink:1;gap:5px;min-height:0;overflow:auto}.lesson-sidebar .chapter-strip button{display:flex;justify-content:space-between;align-items:center;min-height:44px;border:0;border-radius:8px;text-align:left;padding:10px 12px}.lesson-sidebar .chapter-strip button span{font-size:11px;color:var(--muted)}.lesson-sidebar .chapter-strip button.active{background:var(--green);color:var(--page)}.lesson-sidebar .chapter-strip button.active span{color:var(--page);opacity:.7}.reading-workspace{display:flex;flex-direction:column;min-width:0}.reader-controls{min-height:48px;flex-shrink:0}.grammar-tabs{flex-direction:row;grid-area:auto;border-right:0;border-bottom:1px solid var(--line);padding:0 0 12px;flex-shrink:0;gap:8px}.grammar-tabs button{flex-shrink:0;max-width:340px;min-height:40px;font-size:13px;padding:8px 12px}.reading-pane{flex:1;overflow-x:hidden;padding-right:20px;scrollbar-gutter:stable}.page-footer{min-height:64px;flex-shrink:0}.practice-workspace{display:flex;padding:0}.immersive-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px clamp(20px,4vw,64px);border-bottom:1px solid var(--line);flex-shrink:0}.immersive-header>span{font-size:13px;color:var(--muted)}.immersive .practice-panel{width:min(100%,960px);padding:32px clamp(20px,4vw,48px)}.immersive .flashcard-front{min-height:45dvh}.immersive .practice-heading h1{font-size:30px}.progress-workspace{padding:24px clamp(24px,5vw,80px) 40px}.progress-panel{width:100%;max-width:none}.progress-back{margin-bottom:16px}.progress-panel>.practice-heading h1{font-size:34px}.progress-focus{padding:22px 0 28px}.progress-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:clamp(36px,6vw,100px);padding-top:20px}.progress-main{min-width:0}.progress-insights{border-left:1px solid var(--line);padding-left:clamp(24px,4vw,60px)}.book-progress-list article{padding:20px 0}.book-progress-list .book-cover{width:64px;height:94px}.overall-progress,.week-section{margin-top:0}.progress-insights .mastery-distribution{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}.progress-insights .mastery-distribution>span:first-child{grid-column:1/-1}.progress-detail{margin-top:30px}.lesson-progress-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}@media(max-width:900px){.learning-workspace{grid-template-columns:150px minmax(0,1fr);column-gap:22px}.progress-columns{gap:28px}.progress-insights{padding-left:24px}.lesson-progress-list{grid-template-columns:1fr 1fr}}@media(max-width:700px){.account-menu summary{font-size:11px;gap:5px}.learning-workspace{display:flex;padding:0 18px}.lesson-sidebar{padding:0;border:0;flex-shrink:0}.lesson-book,.lesson-sidebar>h2{display:none}.lesson-sidebar .chapter-strip{flex-direction:row;padding-bottom:12px}.lesson-sidebar .chapter-strip button{min-height:34px;border:1px solid var(--line);border-radius:20px;white-space:nowrap;font-size:12px;padding:6px 12px}.lesson-sidebar .chapter-strip button span,.grammar-tabs{display:none}.practice-workspace{padding:0}.immersive-header{padding:12px 18px;gap:8px}.immersive-header>span{display:none}.immersive .practice-panel{padding:24px 20px}.immersive .practice-heading h1{font-size:26px}.immersive .flashcard-front{min-height:48dvh}.progress-workspace{padding:16px 24px 32px}.progress-panel>.practice-heading h1{font-size:28px}.progress-columns{display:block;padding-top:24px}.progress-insights{border:0;padding:28px 0 0}.progress-insights .mastery-distribution{display:flex;gap:16px}.book-progress-list article{padding:14px 0}.lesson-progress-list{grid-template-columns:1fr}.progress-back{margin-bottom:14px}}.learning-workspace:not(.practice-workspace){grid-template-columns:230px minmax(0,1fr);column-gap:0;padding:0}.book-heading{padding:8px clamp(20px,3vw,48px);border-bottom:1px solid var(--line);justify-content:space-between;min-height:56px}.book-heading-title{gap:16px}.book-heading h1{font-size:18px}.book-heading-title .text-button{min-height:36px}.practice-entry-buttons button{min-height:36px;padding:7px 14px}.book-heading-title .text-button{color:var(--muted)}.practice-entry-buttons{display:flex;gap:12px}.practice-entry-buttons button{display:inline-flex;align-items:center;gap:10px;font-size:13px;min-width:128px}.lesson-sidebar{padding:24px 16px 0 24px;background:#f5f4ee}.lesson-sidebar .search-box{width:100%;margin:0 0 26px}.lesson-sidebar .chapter-strip{display:block;overflow-x:hidden;overflow-y:auto;padding:0 12px 20px 0}.lesson-group{margin-bottom:6px}.lesson-group>button{width:100%}.lesson-grammar-list{display:flex;flex-direction:column;padding:6px 0 12px 12px;gap:4px}.lesson-sidebar .lesson-grammar-list button{justify-content:flex-start;align-items:baseline;gap:10px;min-height:36px;font-size:12px;line-height:1.8;padding:8px 10px;white-space:normal}.lesson-sidebar .lesson-grammar-list button>span:first-child{flex-shrink:0}.lesson-sidebar .lesson-grammar-list button>span[lang=ja]{flex:1;min-width:0;overflow-wrap:anywhere}.lesson-sidebar .lesson-grammar-list button.selected{color:var(--green);background:#e6ebe0;font-weight:500}.search-results{overflow:auto;min-height:0}.reading-workspace{border:0;padding:0 clamp(20px,2vw,32px)}.reader-controls{min-height:60px;border-bottom:1px solid var(--line)}.grammar-spread{max-width:none;padding:28px 0 40px}.grammar-brief{max-width:940px}.grammar-brief>.eyebrow{display:none}.grammar-brief h1{font-size:clamp(28px,2.4vw,40px);margin:0 0 18px}.grammar-definition{gap:20px;margin:14px 0}.grammar-notes{margin-top:12px}.brief-actions{margin:8px 0 22px}.brief-actions .secondary-button{border:0;padding:4px 0;background:transparent;min-height:32px;color:var(--muted)}.grammar-examples{padding-top:22px}.example-row{padding-top:18px;padding-bottom:18px}.page-footer{background:var(--page)}@media(min-width:1600px){.grammar-spread{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px}.grammar-examples{border-top:0;border-left:1px solid var(--line);padding:0 0 0 40px}.grammar-brief h1{font-size:36px}}@media(max-width:900px)and (min-width:701px){.learning-workspace:not(.practice-workspace){grid-template-columns:210px minmax(0,1fr)}.reading-workspace{padding-inline:24px}}@media(max-width:700px){.book-heading{padding:8px 18px;gap:8px;min-height:52px}.book-heading-title{width:auto;gap:12px}.book-heading h1{font-size:17px}.practice-entry-buttons{gap:8px}.practice-entry-buttons button{min-width:0;padding:8px 12px;font-size:12px;min-height:34px;gap:6px}.practice-entry-buttons button>svg{display:none}.learning-workspace:not(.practice-workspace){padding:0}.lesson-sidebar{background:var(--page);padding:0 18px}.lesson-sidebar .search-box{display:none}.lesson-sidebar .chapter-strip{display:flex;overflow-x:hidden;overflow-y:auto;max-height:140px;padding:12px 12px 12px 0;gap:8px}.lesson-group{flex-shrink:0;margin:0}.lesson-sidebar .lesson-grammar-list{display:none}.reading-workspace{padding:0 18px}.reader-controls{min-height:42px}.grammar-spread{padding:16px 0 28px}.grammar-brief h1{font-size:27px}.mobile-grammar-picker{padding-top:8px}}.book-toolbar{display:flex;align-items:center;gap:22px;min-width:0}.book-toolbar .search-box{width:220px;margin:0}.book-toolbar .furigana-toggle{font-size:12px;color:var(--muted);min-height:36px}.lesson-sidebar .search-results{padding:0 12px 0 0;flex:1;overflow-x:hidden;overflow-y:auto}.search-results p{font-size:12px;padding:12px}.reader-controls{min-height:40px}@media(max-width:900px){.book-toolbar{gap:12px}.book-toolbar .search-box{width:170px}}@media(max-width:700px){.book-heading{flex-wrap:wrap}.book-toolbar{width:100%;gap:10px;flex-wrap:wrap}.book-toolbar .search-box{display:flex;flex:1;min-width:100px;order:0;width:auto}.book-toolbar .furigana-toggle{gap:6px;font-size:11px}.book-toolbar .practice-entry-buttons{gap:6px}.book-toolbar .practice-entry-buttons button{padding:7px 10px}.lesson-sidebar:has(.search-results){display:flex;flex:0 0 auto;max-height:180px;overflow:auto;padding-top:12px}.lesson-sidebar:has(.search-results)>h2{display:block;margin:0 0 6px}.lesson-sidebar .search-results{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;overflow:visible}.lesson-sidebar .search-results button{display:block;min-height:36px;width:auto}.reader-controls{min-height:32px}}.native-modal{border:0;padding:0;background:transparent;color:var(--ink);max-width:calc(100vw - 32px);max-height:90dvh}.native-modal::backdrop{background:#1d342b66}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1d342b66;z-index:20;display:flex;align-items:center;justify-content:center;padding:20px}.modal-box{width:min(100%,490px);padding:28px;background:var(--page);border-radius:12px;max-height:90dvh;overflow:auto}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.modal-title{font-size:21px;font-weight:600}.modal-sub-title{font-size:13px;color:var(--muted);line-height:1.8;margin-top:8px}.modal-close{min-width:44px;min-height:44px}.form-group{margin-bottom:20px}.feedback-cat-pills{display:flex;gap:8px;flex-wrap:wrap}.cat-pill-btn{border:1px solid var(--line);border-radius:6px;padding:9px 12px;min-height:40px;font-size:13px}.cat-pill-btn.active{background:var(--green);color:var(--page)}.form-status-alert.success{color:var(--green);font-size:13px;padding:12px 0}@media(max-width:700px){.auth-page{grid-template-columns:1fr;align-content:start}.auth-scene{position:static;height:auto;min-height:0;padding:20px 24px;display:grid;grid-template-columns:minmax(0,1fr) 100px;column-gap:12px;row-gap:16px;align-items:center}.auth-brand{grid-column:1/-1}.auth-intro{margin-top:0;min-width:0}.auth-intro .eyebrow,.auth-intro p{display:none}.auth-intro h1{font-size:clamp(16px,4.5vw,20px);line-height:1.45;margin:0}.auth-books{display:block;position:relative;width:100px;height:96px;margin:0;align-self:end;transform:translateY(27px);filter:drop-shadow(0 5px 6px #0005)}.auth-books:after{content:"";position:absolute;z-index:3;left:-2px;right:-2px;bottom:5px;height:12px;border-radius:50%;background:#0007;filter:blur(6px);pointer-events:none}.auth-books .book-cover{position:absolute;width:52px;height:82px;bottom:0;filter:none}.auth-books .book-cover:first-child{left:0;bottom:1px;transform:rotate(-7deg)}.auth-books .book-cover:nth-child(2){left:24px;height:88px;bottom:0;z-index:2}.auth-books .book-cover:last-child{right:0;bottom:1px;transform:rotate(7deg)}.auth-scene-note{display:none}.auth-form-panel{min-height:0;padding:24px;align-items:flex-start}.auth-form-wrap>.eyebrow,.auth-form-wrap>.muted{display:none}.auth-form-wrap h2{font-size:23px;margin:0}.auth-form-wrap form,.auth-footnote{margin-top:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.reading-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:22px;font-size:12px;white-space:nowrap;color:var(--muted)}.reading-toggle>span{font-size:15px}.reading-toggle.active{border-color:var(--green);color:var(--green);background:#edf1e7}.lesson-grammar-list ruby rt{font-size:11px}.grammar-brief h1 ruby{line-height:1.9}.memory-status button{min-height:34px;padding:6px 16px;border:1px solid var(--line);border-radius:20px;font-size:12px;color:var(--muted)}.memory-status button.unknown.active{background:#f5e5df;border-color:#b97761;color:#995742}.memory-status button.vague.active{background:#f5edd5;border-color:#b5964c;color:#8b732e}.memory-status button.known.active{background:#e5eee2;border-color:#678763;color:#3b6540}.lesson-sidebar .lesson-grammar-list button.unknown{color:#995742;background:#f5e5df}.lesson-sidebar .lesson-grammar-list button.vague{color:#8b732e;background:#f5edd5}.lesson-sidebar .lesson-grammar-list button.known{color:#3b6540;background:#e5eee2}.memory-dot{width:6px;height:6px;border-radius:50%;background:currentColor;margin-left:auto;flex-shrink:0}.lesson-sidebar .lesson-grammar-list button.selected{font-weight:600}.lesson-sidebar .chapter-strip{overflow-anchor:none;scroll-behavior:auto}.memory-status button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:76px;transition:none}.memory-status button:disabled{opacity:1}.memory-status button:active,.lesson-sidebar button:active{transform:none}.lesson-sidebar button{transition:none}.lesson-sidebar .chapter-strip{scrollbar-gutter:stable}.lesson-directory-content{flex-shrink:0}@media(max-width:700px){.lesson-directory-content{display:flex;flex-wrap:wrap;gap:8px;min-height:0!important}}.book-lesson-summary{color:var(--muted);font-size:12px;white-space:nowrap}.book-heading-title{flex-wrap:wrap;row-gap:2px}.book-toolbar{flex-shrink:0}@media(max-width:900px){.book-heading{flex-wrap:wrap;gap:10px}.book-lesson-summary{font-size:11px}}.example-japanese rt,.flashcard-example rt,.recall-answer rt,.answer-original rt{font-size:.75em;line-height:1.4}.example-japanese .grammar-highlight,.example-japanese .grammar-point,.flashcard-example .grammar-highlight,.recall-answer .grammar-highlight,.answer-original .grammar-highlight{text-decoration-line:underline;text-decoration-thickness:1.5px;text-underline-offset:5px;text-decoration-skip-ink:auto}@media(max-width:700px){.reading-pane{padding-right:12px}}.lesson-group{margin-bottom:8px;border:0;padding:0}.lesson-group.expanded{background:none}.lesson-sidebar .lesson-group>button{gap:8px;border-radius:8px;font-weight:500}.lesson-sidebar .lesson-group>button:after{content:"";display:block;flex:0 0 7px;width:7px;height:7px;margin:0 3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);color:var(--muted)}.lesson-sidebar .lesson-group>button[aria-expanded=true]:after{transform:rotate(45deg);color:var(--green)}.lesson-sidebar .lesson-group>button>span{margin-left:auto}.lesson-sidebar .lesson-group>button.active{background:#edf1e7;color:var(--green)}.lesson-sidebar .lesson-group>button.active span{color:var(--muted);opacity:1}.lesson-grammar-list{padding:8px 2px;gap:5px}.lesson-sidebar .lesson-grammar-list button{padding:9px 8px}.lesson-sidebar .chapter-strip{scroll-padding-block:12px}.lesson-directory-content{min-width:0}@media(max-width:700px){.lesson-group{border:0;padding:0}.lesson-group.expanded{background:none}.lesson-sidebar .lesson-group>button:after{display:none}}.grammar-title-row{display:flex;align-items:center;gap:10px;margin-bottom:18px}.grammar-title-row h1{flex:0 1 auto;min-width:0;margin-bottom:0}.account-trigger{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 10px;border-radius:24px;font-size:13px}.account-trigger:hover{background:#edf0e7}.account-trigger>svg{color:var(--muted)}.account-avatar{display:grid;place-items:center;width:30px;height:30px;background:#e9eee3;color:var(--green);border-radius:50%;flex-shrink:0}.account-popover{position:fixed;inset:76px clamp(24px,5vw,80px) auto auto;width:260px;margin:0;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--page);color:var(--ink);box-shadow:0 18px 50px #25382f24}.account-popover::backdrop{background:transparent}.account-popover header{display:flex;align-items:center;gap:12px;padding:14px 10px 18px;border-bottom:1px solid var(--line);margin-bottom:6px}.account-popover header strong{display:block;font-size:14px;font-weight:500}.account-popover header small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.account-popover button{display:block;width:100%;min-height:44px;border-radius:8px;text-align:left;padding:10px 14px}.account-popover button:hover{background:#edf0e7}.account-trigger:has(+:popover-open)>svg{transform:rotate(180deg)}.progress-drawer{width:100vw;max-width:none;height:100dvh;max-height:none;top:0;right:0;bottom:0;left:0;margin:0;padding:0;border:0;background:transparent;color:var(--ink);overflow:hidden}.progress-drawer::backdrop{background:#25382f55}.progress-drawer-card{height:100%;display:flex;flex-direction:column;background:var(--page);border-radius:0 0 18px 18px}.progress-drawer[open] .progress-drawer-card{animation:progress-drawer-open .32s cubic-bezier(.22,1,.36,1)}.progress-drawer-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:10px clamp(24px,5vw,80px);border-bottom:1px solid var(--line)}.progress-drawer .progress-workspace{min-height:0;flex:1;overflow:auto}.progress-drawer .progress-panel>.practice-heading{margin-top:8px}@keyframes progress-drawer-open{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@media(max-width:700px){.account-trigger{gap:6px;font-size:11px;padding-inline:4px}.account-trigger .account-avatar{width:26px;height:26px}.account-popover{top:66px;right:18px;width:250px}.progress-drawer-header{padding:8px 20px}}.progress-heading-actions{display:flex;align-items:center;gap:20px}.progress-heading-actions>span{font-size:12px;color:var(--muted)}.progress-heading-actions .icon-button{border:1px solid var(--line);border-radius:50%}.progress-heading-actions .icon-button:hover{background:#edf0e7}@media(max-width:700px){.progress-heading-actions{gap:10px}.progress-heading-actions>span{font-size:11px}}.learning-calendar{margin:26px 0 12px;padding:24px 0;border-bottom:1px solid var(--line)}.learning-calendar>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.learning-calendar h2{font-size:17px;font-weight:500}.learning-calendar>header>span,.learning-calendar footer{font-size:12px;color:var(--muted)}.calendar-scroll{overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.calendar-chart{min-width:740px}.calendar-months{display:grid;grid-template-columns:repeat(var(--week-count),minmax(0,1fr));gap:5px;margin:0 0 8px 42px}.calendar-months span{font-size:11px;white-space:nowrap;color:var(--muted)}.calendar-body{display:flex;gap:10px}.calendar-weekdays{display:grid;grid-template-rows:repeat(7,1fr);gap:5px;width:32px;flex-shrink:0;font-size:10px;color:var(--muted)}.calendar-weekdays span{display:flex;align-items:center}.calendar-weeks{display:grid;grid-template-columns:repeat(var(--week-count),minmax(0,1fr));gap:5px;flex:1;min-width:0}.calendar-week{display:grid;grid-template-rows:repeat(7,1fr);gap:5px}.calendar-day{display:block;aspect-ratio:1;border-radius:3px;border:1px solid #25382f06}.calendar-day.outside{visibility:hidden}.intensity-0{background:#edf0e8}.intensity-1{background:#c5ddbb}.intensity-2{background:#94bd88}.intensity-3{background:#5e9461}.intensity-4{background:#2c5544}.learning-calendar footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:10px}.calendar-legend{display:flex;align-items:center;gap:5px;white-space:nowrap}.calendar-legend i{display:block;width:12px;height:12px;border-radius:3px}.weekly-bars{display:flex;justify-content:space-between;gap:12px;padding-top:14px}.weekly-bar-item{flex:1;min-width:0;text-align:center}.weekly-value{display:block;min-height:22px;font-size:12px;color:var(--ink)}.weekly-bar-track{display:flex;align-items:flex-end;justify-content:center;height:140px;border-bottom:1px solid var(--line);margin:8px 0}.weekly-bar{width:min(100%,28px);background:var(--green);border-radius:5px 5px 0 0}.weekly-bar.empty{height:2px!important;background:var(--line)}.weekly-bar-item small{color:var(--muted);font-size:11px}@media(max-width:700px){.learning-calendar{padding:18px 0;margin-top:20px}.learning-calendar>header{align-items:flex-start;flex-direction:column;gap:5px}.calendar-chart{min-width:740px}.learning-calendar footer>span{max-width:55%;font-size:11px}.weekly-bars{gap:8px}.weekly-bar-track{height:130px}}.progress-drawer .progress-workspace{padding-top:18px;padding-bottom:24px}.progress-drawer .progress-panel>.practice-heading{margin:0 0 10px}.progress-drawer .practice-heading .eyebrow{display:none}.progress-drawer .practice-heading h1{font-size:28px;margin-top:0}.progress-drawer .progress-focus{padding:10px 0 14px}.progress-drawer .progress-focus strong{font-size:36px;line-height:1.2}.progress-drawer .progress-focus>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.progress-drawer .progress-focus p{margin:0 0 0 10px}.progress-drawer .learning-calendar{margin:14px 0 8px;padding:12px 0 14px}.progress-drawer .learning-calendar>header{margin-bottom:12px}.progress-drawer .calendar-week,.progress-drawer .calendar-weekdays{grid-template-rows:repeat(7,14px);gap:4px}.progress-drawer .calendar-day{aspect-ratio:auto;height:14px}.progress-drawer .calendar-scroll{padding-bottom:4px}.progress-drawer .calendar-months{margin-bottom:6px}.progress-drawer .learning-calendar footer{margin-top:6px}.progress-drawer .progress-columns{padding-top:14px}@media(max-width:700px){.progress-drawer .progress-workspace{padding-top:16px}.progress-drawer .practice-heading h1{font-size:25px}.progress-drawer .progress-focus p{width:100%;margin:0}.progress-drawer .progress-focus>div{gap:4px}.progress-drawer .calendar-week,.progress-drawer .calendar-weekdays{grid-template-rows:repeat(7,12px)}.progress-drawer .calendar-day{height:12px}}.account-levels{padding:10px 10px 16px;border-bottom:1px solid var(--line);margin-bottom:6px}.account-levels>span{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.account-levels>div{display:flex;flex-wrap:wrap;gap:6px}.level-badge{padding:3px 10px;background:#e9eee3;color:var(--green);border-radius:14px;font-size:12px}.account-levels small{color:var(--muted);font-size:12px}.textbook.locked .textbook-image{filter:grayscale(1) opacity(.65)}.textbook.locked .textbook-open{background:#d7d9d2;color:#6b746c}.textbook.locked .textbook-image:hover{transform:none}.textbook-name{gap:12px;margin-bottom:16px}.textbook-name .textbook-count{margin:0;white-space:nowrap}.grammar-quick-note p{white-space:pre-line;color:var(--green);font-weight:500}.bookshelf{padding-top:clamp(22px,3dvh,32px)}.collection-intro{width:min(100%,1100px);margin:0 auto}.collection-intro h1{font-size:clamp(28px,2.6vw,36px);margin:6px 0 8px}.collection-intro p{font-size:14px}.collection-grid{width:min(100%,1100px);gap:clamp(32px,5vw,72px);margin:24px auto 0;padding:12px 0 26px}.textbook{--book-color:#2c5646}.textbook-image{height:clamp(180px,37dvh,390px);transition:transform .2s ease}.textbook-name{gap:12px;margin-top:16px;white-space:nowrap}.textbook-count{margin:0;font-size:12px}.textbook-learning{max-width:300px;margin:18px auto 16px;text-align:left}.textbook-progress-label{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.textbook-progress{height:3px;background:var(--line);margin-top:9px;border-radius:3px;overflow:hidden}.textbook-progress>span{display:block;height:100%;background:var(--book-color)}.textbook-position{margin:12px 0 0;color:var(--muted);font-size:12px;min-height:18px}.textbook.locked .textbook-progress>span{background:#9b9e96}.textbook-open{background:var(--book-color)}@media(max-width:700px){.collection-grid{width:auto;margin:22px -24px 0 0;padding:10px 24px 24px 0;gap:26px}.textbook{flex-basis:78%}.textbook-image{height:clamp(230px,43dvh,460px)}.textbook-name{gap:10px}.textbook-count{font-size:11px}.textbook-learning{max-width:none;margin:16px 0}}@media(prefers-reduced-motion:reduce){.textbook-image{transition:none}}.collection-intro{display:flex;justify-content:space-between;align-items:center;gap:28px}.shelf-review{display:flex;align-items:center;gap:14px;padding:14px 0 14px 24px;border-left:1px solid var(--line)}.shelf-review-dot{width:7px;height:7px;border-radius:50%;background:var(--green);flex-shrink:0}.shelf-review p{color:var(--ink);font-size:13px;display:flex;align-items:baseline;gap:12px}.shelf-review strong{font-size:25px;font-weight:500}.shelf-review small{font-size:12px;font-weight:400;color:var(--muted)}.shelf-review>div>span{display:block;margin-top:5px;font-size:12px;color:var(--muted)}.shelf-review .text-button{margin-left:14px;white-space:nowrap;font-size:13px}.collection-grid{margin-top:18px;gap:clamp(28px,4vw,60px)}.textbook-stage{position:relative;isolation:isolate;padding:28px 10px 14px}.textbook-stage:before{content:"";position:absolute;z-index:-1;top:22px;right:10px;bottom:0;left:10px;border-radius:50% 50% 12px 12px;background:radial-gradient(ellipse at 50% 65%,color-mix(in srgb,var(--book-color) 11%,transparent),transparent 72%)}.textbook-number{position:absolute;left:16px;top:0;font-size:11px;letter-spacing:.12em;color:var(--muted)}.textbook-image{height:clamp(160px,30dvh,320px)}.textbook-name{margin-top:8px;margin-bottom:10px}.textbook-learning{width:min(100%,240px);margin:12px auto 14px}.textbook-position{margin-top:9px}.textbook.locked .textbook-stage{--book-color:#8e948c}@media(max-width:700px){.bookshelf{padding-top:16px}.collection-intro{display:block}.collection-intro .eyebrow,.collection-intro>div>p{display:none}.collection-intro h1{font-size:26px;margin:0;line-height:1.3}.shelf-review{margin-top:12px;padding:8px 0;border-left:0;border-top:1px solid var(--line);gap:10px}.shelf-review strong{font-size:21px}.shelf-review>div>span{display:none}.bookshelf .collection-grid{margin-top:12px}.shelf-review .text-button{margin-left:auto}.shelf-review>div>span{font-size:11px}.textbook-stage{padding:24px 0 10px}.textbook-number{left:0}.textbook-image{height:clamp(210px,35dvh,380px)}.textbook-learning{width:100%}}@media(max-width:700px){.collection-intro{display:flex;align-items:center;gap:12px}.collection-intro h1{font-size:23px;white-space:nowrap}.shelf-review{flex:1;justify-content:flex-end;margin:0;padding:0;border:0;gap:6px}.shelf-review-dot{display:none}.shelf-review p{font-size:11px;gap:5px;white-space:nowrap}.shelf-review strong{font-size:18px}.shelf-review small{font-size:10px}.shelf-review .text-button{margin-left:4px;font-size:11px;gap:4px;padding:8px 0}.shelf-review .text-button svg{width:14px;height:14px}.shelf-review>div{min-width:0}}.mobile-lesson-button{display:none}.mobile-course-drawer{position:fixed;inset:0 auto 0 0;margin:0;border:0;padding:0;width:min(82vw,320px);height:100dvh;max-height:100dvh;background:var(--page);color:var(--ink)}.mobile-course-drawer::backdrop{background:#152c2855}.mobile-course-drawer>section{height:100%;display:flex;flex-direction:column;padding:16px}.mobile-course-drawer header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--line)}.mobile-course-drawer h2{font-size:16px;font-weight:500}.mobile-course-drawer nav{overflow-y:auto;flex:1;padding:12px 6px 12px 0}.mobile-course-drawer nav button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:14px 12px;margin:4px 0;border-radius:8px;font-size:14px}.mobile-course-drawer nav button span{color:var(--muted);font-size:12px}.mobile-course-drawer nav button.active{background:var(--green);color:var(--page)}.mobile-course-drawer nav button.active span{color:inherit}@media(max-width:700px){.mobile-lesson-button{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;font-size:12px;white-space:nowrap}.book-lesson-summary,.learning-workspace>.lesson-sidebar{display:none}.mobile-grammar-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px 0;margin:0;border-bottom:1px solid var(--line);font-size:13px}.mobile-grammar-picker>span{color:var(--ink);font-size:13px}.mobile-grammar-picker .grammar-picker-count{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}}.mobile-search-button{display:none}.mobile-search-dialog{width:min(90vw,420px);margin:15dvh auto 0;border:1px solid var(--line);border-radius:16px;background:var(--page);color:var(--ink);padding:20px}.mobile-search-dialog::backdrop{background:#152c2855}.mobile-search-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-search-dialog h2{font-size:16px;font-weight:500}.mobile-search-dialog .search-box{width:100%;margin:12px 0 20px}.mobile-search-dialog .primary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%}@media(max-width:700px){.book-heading{flex-wrap:nowrap;justify-content:space-between;align-items:center;padding:8px 12px;gap:10px;min-height:56px}.book-heading-title{width:auto;flex-shrink:0;align-items:center;gap:8px;flex-wrap:nowrap}.book-heading-title>.text-button{display:flex;align-items:center;justify-content:center;font-size:0;gap:0;padding:0;min-height:40px;width:24px}.book-heading h1{font-size:15px;line-height:1.2;margin:0;font-weight:600}.mobile-lesson-button{height:36px;min-height:36px;padding:0 9px;border-radius:10px;font-size:12px;gap:4px;line-height:1}.book-toolbar{width:auto;align-items:center;flex-wrap:nowrap;gap:6px}.book-toolbar>.search-box{display:none}.book-toolbar .mobile-search-button{display:grid;place-items:center;width:32px;height:40px;padding:0}.book-toolbar .reading-toggle{height:36px;min-height:36px;padding:0 8px;border:1px solid transparent;border-radius:10px;background:transparent;font-size:12px;line-height:1}.book-toolbar .reading-toggle.active{background:color-mix(in srgb,var(--green) 8%,var(--page));border-color:color-mix(in srgb,var(--green) 16%,var(--line))}.book-toolbar .reading-toggle>span{display:none}.book-toolbar .practice-entry-buttons{align-items:center;gap:6px}.book-toolbar .practice-entry-buttons button{display:flex;justify-content:center;align-items:center;height:36px;min-height:36px;padding:0 10px;border-radius:10px;font-size:12px;line-height:1;white-space:nowrap}}@media(max-width:370px){.book-heading{padding-inline:8px;gap:4px}.book-heading-title{gap:5px}.book-heading h1{font-size:13px}.book-toolbar{gap:3px}.book-toolbar .practice-entry-buttons{gap:4px}.mobile-lesson-button{padding-inline:6px}.book-toolbar .reading-toggle{padding-inline:5px}.book-toolbar .practice-entry-buttons button{padding-inline:6px}}.mobile-grammar-drawer{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:600px;max-height:75dvh;padding:0;border:0;border-radius:18px 18px 0 0;background:var(--page);color:var(--ink)}.mobile-grammar-drawer::backdrop{background:#152c2855}.mobile-grammar-drawer>section{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.mobile-grammar-drawer header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--line)}.mobile-grammar-drawer header>div{display:flex;align-items:baseline;gap:10px}.mobile-grammar-drawer header .icon-button{width:36px;height:36px}.mobile-grammar-drawer h2{font-size:16px;font-weight:600;outline:none}.mobile-grammar-drawer header p{font-size:11px;color:var(--muted);margin:0}.mobile-grammar-drawer nav{padding-top:4px}.mobile-grammar-drawer nav button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 8px;margin:0;border-radius:7px;text-align:left;font-size:14px;line-height:1.6}.mobile-grammar-drawer nav button>span[lang]{flex:1;min-width:0;overflow-wrap:anywhere}.grammar-sheet-number{color:var(--muted);font-size:12px;flex-shrink:0}.grammar-sheet-status{font-size:11px;white-space:nowrap}.mobile-grammar-drawer nav button.unknown .grammar-sheet-status{color:#ac6449}.mobile-grammar-drawer nav button.vague .grammar-sheet-status{color:#a0853e}.mobile-grammar-drawer nav button.known .grammar-sheet-status{color:var(--green)}.mobile-grammar-drawer nav button.active{background:color-mix(in srgb,var(--green) 9%,var(--page))}.mobile-grammar-drawer ruby rt{font-size:11px}.mobile-grammar-drawer[open]{animation:grammar-sheet-enter .2s ease-out}@keyframes grammar-sheet-enter{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.mobile-grammar-drawer[open]{animation:none}}.grammar-definition rt{font-size:.75em}.grammar-definition:has(ruby){line-height:2.2}.example-japanese:has(ruby),.flashcard-example:has(ruby),.recall-answer:has(ruby),.answer-original:has(ruby){line-height:2.3}.sentence-session{max-width:850px;margin:22px auto}.sentence-phase{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);margin-bottom:24px}.sentence-phase>span:first-child{color:var(--green);font-weight:600}.sentence-study-japanese{font-size:26px;line-height:2.3}.sentence-study-japanese rt,.sentence-correction rt{font-size:.7em}.sentence-study-japanese .grammar-highlight{text-decoration:underline;text-underline-offset:5px}.sentence-study-translation{color:var(--muted);font-size:16px;margin:12px 0 18px}.sentence-listen{display:inline-flex;align-items:center;gap:8px}.sentence-grammar-note{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.sentence-grammar-note h2{font-size:19px;font-weight:500;margin-bottom:10px}.sentence-grammar-note p{font-size:14px;line-height:1.9}.sentence-quick-note{white-space:pre-line;color:var(--green);margin-bottom:8px}.sentence-grammar-note details{margin-top:12px;color:var(--muted)}.sentence-step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}.sentence-answer-area{display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;gap:8px;min-height:130px;padding:18px;margin:20px 0;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--green) 3%,var(--page))}.sentence-answer-area .muted{font-size:13px}.sentence-answer-area button,.sentence-word-bank button{border:1px solid var(--line);padding:9px 14px;border-radius:9px;background:var(--page);font-size:17px}.sentence-answer-area button{color:var(--green);border-color:color-mix(in srgb,var(--green) 25%,var(--line))}.sentence-word-bank{display:flex;flex-wrap:wrap;gap:10px}.sentence-word-bank button:disabled{opacity:.2}.sentence-correction{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:22px;line-height:2.2}@media(max-width:700px){.sentence-session{margin:16px 0}.sentence-phase{margin-bottom:18px}.sentence-study-japanese{font-size:21px}.sentence-study-translation{font-size:15px}.sentence-grammar-note{margin-top:22px;padding-top:18px}.sentence-answer-area{padding:14px;min-height:120px}.sentence-answer-area button,.sentence-word-bank button{font-size:16px;padding:8px 12px}.sentence-step-actions{margin-top:22px}}.sentence-compact-header{display:none}@media(max-width:700px){.sentence-outer-header{display:none}.immersive .sentence-practice-panel{padding:0 18px 24px}.sentence-compact-header{display:flex;align-items:center;gap:9px;min-height:54px;border-bottom:1px solid var(--line)}.sentence-compact-header .icon-button{width:26px;height:44px;padding:0}.sentence-compact-header strong{font-size:16px;font-weight:600;white-space:nowrap}.sentence-compact-scope{font-size:11px;color:var(--muted);white-space:nowrap}.sentence-compact-phase{margin-left:auto;font-size:11px;color:var(--green);white-space:nowrap}.sentence-compact-count{font-size:12px;color:var(--muted);white-space:nowrap}.sentence-practice-panel>.practice-heading,.sentence-practice-panel .practice-status,.sentence-practice-panel .sentence-phase{display:none}.sentence-practice-panel>.practice-progress{height:3px;margin:0 0 14px}.sentence-practice-panel .sentence-session{margin-top:0}}.sentence-learning-tools{display:flex;align-items:center;justify-content:space-between;gap:16px}.sentence-learning-tools>.text-button{color:var(--muted)}.sentence-learning-tools svg.rotated{transform:rotate(180deg)}.sentence-learning-tools svg{transition:transform .2s}.sentence-learning-next{justify-content:flex-end}.sentence-change-enter-active,.sentence-change-leave-active{transition:opacity .16s ease,transform .16s ease}.sentence-change-enter-from{opacity:0;transform:translate(12px)}.sentence-change-leave-to{opacity:0;transform:translate(-8px)}.sentence-note-enter-active,.sentence-note-leave-active{transition:opacity .2s ease,transform .2s ease}.sentence-note-enter-from,.sentence-note-leave-to{opacity:0;transform:translateY(-6px)}@media(prefers-reduced-motion:reduce){.sentence-change-enter-active,.sentence-change-leave-active,.sentence-note-enter-active,.sentence-note-leave-active,.sentence-learning-tools svg{transition:none}}@media(max-width:700px){input:not([type=checkbox]):not([type=radio]),textarea{font-size:16px}}.reading-workspace .grammar-spread{padding-top:16px;padding-bottom:24px}.reading-workspace .grammar-brief h1{font-size:clamp(24px,2vw,32px);line-height:1.5}.reading-workspace .grammar-title-row{margin-bottom:12px}.reading-workspace .grammar-definition{gap:16px;margin:10px 0;font-size:14px;line-height:1.8}.reading-workspace .grammar-definition:has(ruby){line-height:2}.reading-workspace .grammar-definition h2{font-size:13px}.reading-workspace .grammar-notes{margin-top:8px}.reading-workspace .grammar-notes summary,.reading-workspace .example-detail summary{min-height:28px}.reading-workspace .brief-actions{margin:8px 0 16px;gap:10px}.reading-workspace .grammar-examples{padding-top:16px}.reading-workspace .grammar-examples h2{font-size:17px}.reading-workspace .example-row{padding-top:11px;padding-bottom:11px}.reading-workspace .example-japanese{font-size:17px;line-height:1.9}.reading-workspace .example-japanese:has(ruby){line-height:2.1}.reading-workspace .example-translation{font-size:13px;line-height:1.8;margin-top:6px}.reading-workspace .example-detail{margin-top:4px}.lesson-sidebar>h2{font-size:11px;font-weight:500;margin-bottom:10px}.lesson-group{margin-bottom:4px}.lesson-sidebar .lesson-group>button{min-height:40px;padding:8px 10px;font-size:13px;border-radius:6px}.lesson-sidebar .lesson-group>button>span{font-size:10px}.lesson-sidebar .lesson-grammar-list{gap:2px;padding:4px 0 8px 8px}.lesson-sidebar .lesson-grammar-list button{min-height:34px;padding:7px 8px;gap:8px;align-items:center;border-radius:6px;line-height:1.5;overflow:hidden}.lesson-sidebar .lesson-grammar-list button>span[lang=ja]{font-size:12px;font-weight:400;flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lesson-sidebar .lesson-grammar-list button.selected>span[lang=ja]{font-weight:600}.lesson-sidebar .lesson-grammar-list button>span:not([lang]):not(.memory-dot){font-size:10px;font-variant-numeric:tabular-nums}@media(max-width:700px){.reading-workspace .grammar-brief h1{font-size:24px}.reading-workspace .grammar-spread{padding-top:12px}}@media(min-width:701px){.learning-workspace>.lesson-sidebar{padding:0}.lesson-sidebar>h2{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:0;padding:12px 16px;color:var(--ink);font-size:12px;font-weight:600}.lesson-sidebar>h2:before,.lesson-sidebar>h2:after{content:"";width:24px;height:1px;background:var(--line)}.lesson-sidebar .chapter-strip{padding:0 0 20px}.lesson-sidebar .lesson-directory-content{padding:0 18px 0 16px}.lesson-sidebar .search-results{padding:0 18px 20px 16px}.learning-workspace .reading-workspace{padding-inline:0}.reading-workspace .reading-pane,.reading-workspace .page-footer{padding-inline:clamp(24px,2vw,32px)}}.lesson-sidebar .lesson-grammar-list button{color:var(--ink)}.lesson-sidebar .lesson-grammar-list button>span[lang=ja]{color:inherit}.lesson-sidebar .lesson-grammar-list button.unknown{color:#995742}.lesson-sidebar .lesson-grammar-list button.vague{color:#806721}.lesson-sidebar .lesson-grammar-list button.known{color:#3b6540}.lesson-sidebar .lesson-grammar-list button.selected{color:var(--green)}.lesson-sidebar .lesson-grammar-list rt{color:inherit}*{scrollbar-width:thin;scrollbar-color:#9aaa9c transparent}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent}*::-webkit-scrollbar-thumb{background:#9aaa9c;border-radius:8px}*::-webkit-scrollbar-thumb:hover{background:#6d8273}.sentence-compact-plan,.sentence-header-progress,.sentence-header-close{display:none}@media(min-width:701px){.sentence-outer-header{display:none}.immersive .sentence-practice-panel{padding-top:0}.sentence-compact-header{display:flex;align-items:center;gap:14px;min-height:64px;border-bottom:1px solid var(--line);margin-bottom:24px}.sentence-compact-header strong{font-size:20px;font-weight:600;white-space:nowrap}.sentence-compact-scope,.sentence-compact-plan,.sentence-compact-phase,.sentence-compact-count{font-size:12px;white-space:nowrap;color:var(--muted)}.sentence-compact-plan{display:block;margin-left:auto}.sentence-compact-phase{color:var(--green)}.sentence-compact-header .sentence-header-progress{display:block;flex:1;max-width:180px;min-width:60px;height:4px;margin:0}.sentence-compact-header .sentence-header-close{display:inline-flex}.sentence-practice-panel>.practice-heading,.sentence-practice-panel .practice-status,.sentence-practice-panel .sentence-phase,.sentence-practice-panel>.practice-progress{display:none}.sentence-practice-panel .sentence-session{margin-top:0}}@media(min-width:701px){.immersive .sentence-practice-panel{width:100%;max-width:none;margin:0;padding:0}.sentence-practice-panel .sentence-compact-header{position:sticky;top:0;z-index:3;min-height:64px;margin:0;padding:8px clamp(24px,3vw,48px);background:var(--page)}.sentence-compact-header .sentence-header-progress{max-width:300px}.sentence-practice-panel .sentence-session{display:flex;flex-direction:column;width:min(100%,1100px);max-width:none;min-height:calc(100dvh - 64px);margin:0 auto;padding:clamp(28px,5dvh,52px) clamp(24px,3vw,48px) 0}.sentence-practice-panel .sentence-study-japanese{font-size:clamp(24px,2vw,30px);line-height:2.1}.sentence-practice-panel .sentence-learning-tools{justify-content:flex-start;gap:24px;margin-bottom:24px}.sentence-practice-panel .sentence-step-actions{position:sticky;bottom:0;z-index:2;margin-top:auto;padding:16px 0;border-top:1px solid var(--line);background:var(--page)}}.sentence-audio-toggles{display:flex;align-items:center;gap:6px;margin-left:auto}.sentence-audio-toggles button{min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;font-size:12px;white-space:nowrap;color:var(--muted)}.sentence-audio-toggles button.active{color:var(--green);border-color:var(--green);background:#edf1e7}@media(min-width:701px){.sentence-compact-plan{margin-left:8px}}@media(max-width:700px){.sentence-compact-header{flex-wrap:nowrap;padding:6px 0;gap:5px}.sentence-audio-toggles{flex-shrink:0;gap:4px;margin-left:auto}.sentence-audio-toggles button{min-height:36px;padding:6px;font-size:11px}.sentence-audio-label,.sentence-compact-phase{display:none}.sentence-compact-header strong{font-size:15px}.sentence-compact-scope{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:10px}.sentence-compact-count{flex-shrink:0;font-size:11px}}.sentence-learning-next{justify-content:space-between}.sentence-repeat-controls{display:flex;align-items:center;gap:8px}.sentence-repeat-controls select{min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--page);color:var(--ink);font-size:13px}@media(max-width:700px){.sentence-practice-panel .sentence-session{padding-bottom:96px}.sentence-practice-panel .sentence-learning-next{position:fixed;left:0;right:0;bottom:0;z-index:4;margin:0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:var(--page);box-shadow:0 -4px 18px #25382f08}.sentence-repeat-controls{gap:6px}.sentence-repeat-controls button{padding:10px 12px}.sentence-repeat-controls select{font-size:16px;max-width:82px}}.sentence-repeat-overlay{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:clamp(20px,4vw,48px);background:#193b30;color:#f4f2e9;overflow:auto}.sentence-repeat-overlay[open]{display:flex;flex-direction:column}.sentence-repeat-overlay::backdrop{background:#0009}.sentence-repeat-overlay>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.sentence-repeat-overlay header span{font-size:12px;color:#b9cbbc}.sentence-repeat-overlay h2{font-size:22px;margin-top:4px}.sentence-repeat-overlay header label{display:flex;align-items:center;gap:10px;font-size:13px;color:#d1dfd2}.sentence-repeat-overlay select{min-height:42px;padding:8px 12px;border:1px solid #ffffff40;border-radius:10px;background:#284a3e;color:#fff;font-size:16px}.repeat-overlay-content{flex:1;width:min(100%,900px);margin:auto;padding:32px 0;display:flex;flex-direction:column;justify-content:center}.repeat-countdown{display:flex;align-items:baseline;gap:12px;margin-bottom:24px}.repeat-countdown strong{font-size:clamp(48px,7vw,80px);font-weight:500;line-height:1}.repeat-countdown span{color:#b9cbbc;font-size:14px}.repeat-overlay-japanese{font-size:clamp(23px,2.5vw,34px);line-height:2.2}.repeat-overlay-japanese rt{font-size:.65em;color:#d0dccf}.repeat-overlay-japanese .grammar-highlight{color:#f4f2e9;text-decoration:underline;text-underline-offset:6px}.repeat-overlay-translation{margin-top:20px;font-size:16px;line-height:1.8;color:#c1d1c2}.repeat-again{align-self:flex-start;margin-top:24px;padding:10px 18px;border:1px solid #ffffff40;border-radius:10px}.sentence-repeat-overlay>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:env(safe-area-inset-bottom)}.sentence-repeat-overlay footer p{font-size:12px;color:#b9cbbc}.repeat-exit{position:relative;overflow:hidden;min-height:48px;min-width:164px;padding:12px 18px;border:1px solid #ffffff50;border-radius:12px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.repeat-exit:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--hold-progress);background:#ffffff25}.repeat-exit span{position:relative}@media(max-width:700px){.sentence-repeat-overlay>footer{flex-direction:column}.repeat-exit{width:100%}.repeat-overlay-content{padding:24px 0}.sentence-repeat-overlay h2{font-size:20px}}@media(min-width:701px){.sentence-compact-plan{margin-left:auto}.sentence-compact-header .sentence-audio-toggles{margin-left:8px}}.sentence-repeat-controls .secondary-button{background:#edf2ec;border-color:#b6c6b8;color:#42634e;font-weight:500}.sentence-repeat-controls .secondary-button:hover{background:#e2ebe1;border-color:#97af9b}.sentence-repeat-controls .secondary-button:disabled{background:#eceee8;border-color:var(--line);color:var(--muted)}.sentence-repeat-overlay>header{flex-wrap:wrap}.repeat-language-options{display:flex;gap:8px}.repeat-language-options button{min-height:40px;padding:8px 14px;border:1px solid #ffffff40;border-radius:10px;color:#c1d1c2}.repeat-language-options button.active{background:#dce8dc;color:#193b30;border-color:#dce8dc}@media(max-width:700px){.repeat-language-options{width:100%;justify-content:flex-end}}.repeat-count-options{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.repeat-count-options>span{margin-right:6px;font-size:13px;color:#c1d1c2}.repeat-count-options button{min-height:40px;padding:8px 12px;border:1px solid #ffffff40;border-radius:10px;font-size:14px;color:#d1dfd2}.repeat-count-options button.active{background:#dce8dc;border-color:#dce8dc;color:#193b30}@media(min-width:701px){.sentence-practice-panel .sentence-compact-header{padding-inline:max(clamp(24px,3vw,48px),calc((100% - 1100px)/2 + clamp(24px,3vw,48px)));gap:10px}.sentence-compact-header .sentence-header-progress{max-width:200px}}.mobile-course-drawer[open]{animation:course-drawer-in .22s cubic-bezier(.22,1,.36,1)}@keyframes course-drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}.mobile-course-drawer>section{padding:0}.mobile-course-drawer header{padding:14px 16px}.mobile-course-drawer h2{font-size:15px;font-weight:600}.mobile-course-drawer header .icon-button{width:36px;height:36px}.mobile-course-drawer nav{padding:8px 12px 20px}.mobile-course-drawer nav button{min-height:44px;padding:10px 12px;margin:2px 0;border-radius:7px;font-size:13px}.mobile-course-drawer nav button span{font-size:11px}.mobile-course-drawer nav button.active{background:#e5ece2;color:var(--green);font-weight:600}.mobile-course-drawer nav button.active span{color:var(--green);font-weight:400}.repeat-count-dropdown{position:relative}.repeat-count-options .repeat-count-trigger{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:94px;anchor-name:--repeat-count-trigger}.repeat-count-trigger:has(+:popover-open) svg{transform:rotate(180deg)}.repeat-count-menu{position:fixed;inset:auto;margin:0;padding:4px;width:94px;border:1px solid #ffffff40;border-radius:10px;background:#284a3e;color:#f4f2e9;box-shadow:0 8px 24px #0004}.repeat-count-menu button{display:block;width:100%;border:0;border-radius:6px;text-align:left;padding:8px 12px}.repeat-count-menu button:hover{background:#ffffff15}.repeat-overlay-settings{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.repeat-overlay-settings .repeat-language-options{width:auto;flex-shrink:0;gap:6px}.repeat-overlay-settings .repeat-count-options{flex-wrap:nowrap}@media(max-width:700px){.repeat-overlay-settings .repeat-count-options>span{display:none}.repeat-overlay-settings .repeat-count-trigger{min-width:72px;gap:10px}.repeat-overlay-settings .repeat-language-options button{padding:8px 10px}.sentence-repeat-overlay>header{gap:12px}}@media(max-width:700px){.mobile-course-drawer{top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100dvh;max-height:none}.mobile-course-drawer::backdrop{background:var(--page)}.mobile-course-drawer header{justify-content:flex-start;gap:16px;padding:8px 18px;padding-top:calc(8px + env(safe-area-inset-top))}.mobile-course-drawer .course-directory-back{min-height:44px;gap:6px;font-size:13px;color:var(--green)}.mobile-course-drawer h2{margin:0;font-size:15px}.mobile-course-drawer nav{min-height:0;padding:8px 16px calc(16px + env(safe-area-inset-bottom))}.mobile-course-drawer nav button{min-height:46px;padding:10px 14px;font-size:14px}.mobile-course-drawer nav button span{font-size:12px}}.mobile-course-drawer h2:focus{outline:none}.sentence-fixed-actions{position:fixed;inset:auto 0 0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:14px max(clamp(24px,3vw,48px),calc((100% - 1100px)/2 + clamp(24px,3vw,48px)));border-top:1px solid var(--line);background:var(--page)}.sentence-fixed-actions,.sentence-fixed-actions button{animation:none;transition:none}.sentence-fixed-actions button:disabled{opacity:1}.sentence-practice-panel .sentence-session{padding-bottom:100px}.sentence-practice-panel .answer-feedback{margin-bottom:100px}@media(max-width:700px){.sentence-fixed-actions{padding:12px 18px calc(12px + env(safe-area-inset-bottom))}.sentence-practice-panel .sentence-session{padding-bottom:calc(100px + env(safe-area-inset-bottom))}}.login-preparing .app-body{opacity:0}.login-entering .workspace-header{animation:home-arrive .48s cubic-bezier(.22,1,.36,1) both}.login-entering .collection-intro{animation:home-arrive .62s 60ms cubic-bezier(.22,1,.36,1) both}.login-entering .textbook{animation:home-arrive .7s .11s cubic-bezier(.22,1,.36,1) both}.login-entering .textbook:nth-child(2){animation-delay:.18s}.login-entering .textbook:nth-child(3){animation-delay:.25s}.login-entering .icp-footer{animation:home-arrive .5s .3s ease-out both}@keyframes home-arrive{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.login-preparing .app-body{opacity:1}}.workspace-header{min-height:60px;padding-block:8px}@media(max-width:700px){.workspace-header{min-height:56px;padding-block:6px}}.sentence-fixed-actions{border-top:0}.sentence-fixed-actions:before{content:"";position:absolute;top:0;left:max(clamp(24px,3vw,48px),calc((100% - 1100px)/2 + clamp(24px,3vw,48px) - 24px));right:max(clamp(24px,3vw,48px),calc((100% - 1100px)/2 + clamp(24px,3vw,48px) - 24px));height:1px;background:var(--line);pointer-events:none}@media(min-width:701px){.sentence-practice-panel .sentence-compact-header{border-bottom:0}.sentence-practice-panel .sentence-compact-header:after{content:"";position:absolute;bottom:0;left:max(clamp(24px,3vw,48px),calc((100% - 1100px)/2 + clamp(24px,3vw,48px) - 24px));right:max(clamp(24px,3vw,48px),calc((100% - 1100px)/2 + clamp(24px,3vw,48px) - 24px));height:1px;background:var(--line);pointer-events:none}}@media(max-width:700px){.sentence-fixed-actions:before{left:18px;right:18px}}.grammar-practice-panel>.practice-heading,.grammar-practice-panel>.practice-status,.grammar-practice-panel>.practice-progress{display:none}.grammar-practice-panel>.grammar-flashcard,.grammar-practice-panel>.question-card,.grammar-practice-panel>.practice-settings,.grammar-practice-panel>.answer-feedback,.grammar-practice-panel>.practice-complete{width:calc(min(100%,1100px) - (2*clamp(24px,3vw,48px)));margin:28px auto}.grammar-practice-panel>.grammar-flashcard,.grammar-practice-panel>.question-card{margin-bottom:110px}.grammar-practice-panel>.answer-feedback{margin-bottom:110px}.grammar-practice-panel .flashcard-front{min-height:36dvh;border:0;background:transparent;padding:28px 0}.grammar-practice-panel .question-card{border:0;background:transparent;padding:16px 0}.grammar-fixed-actions .flashcard-ratings{position:static;width:100%;margin:0;padding:0;gap:12px}.grammar-fixed-actions .flashcard-ratings button{min-height:48px}.grammar-settings-toggle{margin-left:auto;white-space:nowrap;font-size:12px}@media(max-width:700px){.grammar-practice-panel .sentence-compact-header strong{font-size:16px}.grammar-practice-panel .grammar-settings-toggle{min-height:34px;padding:6px 10px}.grammar-practice-panel>.grammar-flashcard,.grammar-practice-panel>.question-card,.grammar-practice-panel>.practice-settings,.grammar-practice-panel>.answer-feedback,.grammar-practice-panel>.practice-complete{width:100%}.grammar-practice-panel>.grammar-flashcard,.grammar-practice-panel>.question-card,.grammar-practice-panel>.answer-feedback{margin-bottom:calc(110px + env(safe-area-inset-bottom))}.grammar-fixed-actions .flashcard-ratings{gap:8px}.grammar-fixed-actions .flashcard-ratings button{font-size:13px}.grammar-fixed-actions>.muted{font-size:12px}}.immersive .grammar-practice-panel{padding-bottom:110px}.grammar-practice-panel>.grammar-flashcard,.grammar-practice-panel>.question-card,.grammar-practice-panel>.answer-feedback{margin-bottom:28px}@media(max-width:700px){.immersive .grammar-practice-panel{padding-bottom:calc(110px + env(safe-area-inset-bottom))}}.practice-grammar-title{display:flex;align-items:center;gap:14px;min-width:0}.practice-grammar-title h2{font-size:28px;line-height:1.7;font-weight:500;margin:28px 0}.flashcard-front[role=button]{cursor:pointer}.grammar-practice-panel .flashcard-example{position:relative;padding-right:50px}@media(max-width:700px){.practice-grammar-title h2{font-size:24px}.grammar-practice-panel .sentence-compact-scope{max-width:84px}}.study-room .secondary-button,.study-room .reading-toggle,.mobile-lesson-button{border-color:#8eaa98;color:var(--ink);font-weight:500}.study-room .primary,.textbook-open{font-weight:600}.study-room .sentence-audio-toggles button{color:var(--ink);border-color:#91a592;font-weight:500}.study-room .sentence-audio-toggles button.active{color:var(--page);background:var(--green);border-color:var(--green)}.study-room .mobile-course-drawer nav button.active{color:var(--page);background:var(--green)}.study-room .mobile-course-drawer nav button.active span{color:var(--page)}.study-room .lesson-sidebar{--green:#363a38;background:#f1f1ed}.study-room .lesson-sidebar .lesson-grammar-list button.selected{background:#dedfda;color:#292c29;font-weight:600}.study-room .sentence-repeat-controls .secondary-button{background:#dce8da;border-color:#91a28a;color:#2d503a}.study-room .sentence-repeat-controls .secondary-button:hover{background:#cddfc9}.auth-form input::placeholder,.search-box input::placeholder{color:#59675c;opacity:1}.study-room .lesson-sidebar .lesson-group>button.active{background:#dedfda;color:#292c29}.study-room .lesson-sidebar .lesson-group>button.active span,.study-room .lesson-sidebar .lesson-group>button[aria-expanded=true]:after{color:#444843}.study-room .lesson-sidebar{--ink:#292c29;--muted:#555953}.study-room .lesson-sidebar .lesson-grammar-list button.known{color:#3b403c;background:#e6e7e2}.theme-toggle{color:var(--ink);width:36px;height:36px;min-height:36px}.auth-form-panel{position:relative}.auth-theme-toggle{position:absolute;right:20px;top:16px}@media(max-width:700px){.sentence-compact-header .theme-toggle,.book-toolbar .theme-toggle{width:28px;min-width:28px}.sentence-compact-header .sentence-compact-scope{flex-shrink:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.auth-theme-toggle{top:8px;right:12px}}:root[data-theme=dark]{--paper:#141816;--page:#181c1a;--ink:#eef1ec;--muted:#b9c3b9;--line:#465149;--green:#92c4a4;--brand-primary-h:#afd7bb;--accent:#d5b479}[data-theme=dark] .auth-scene{background:#20382d}[data-theme=dark] .primary,[data-theme=dark] .btn-primary-block,[data-theme=dark] .textbook-open{color:#14251a}[data-theme=dark] .textbook{--book-color:#92c4a4}[data-theme=dark] .brand-seal{color:#14251a}[data-theme=dark] .study-room .lesson-sidebar{--green:#d4dbd2;--ink:#eef1ec;--muted:#bac2b8;background:#202421}[data-theme=dark] .study-room .lesson-sidebar .lesson-group>button.active,[data-theme=dark] .study-room .lesson-sidebar .lesson-grammar-list button.selected{background:#3a423b;color:#f2f4ef}[data-theme=dark] .study-room .lesson-sidebar .lesson-group>button.active span,[data-theme=dark] .study-room .lesson-sidebar .lesson-group>button[aria-expanded=true]:after{color:#d3dcd1}[data-theme=dark] .study-room .lesson-sidebar .lesson-grammar-list button.known{background:#29322b;color:#c9d9c9}[data-theme=dark] .study-room .lesson-sidebar .lesson-grammar-list button.unknown,[data-theme=dark] .memory-status button.unknown.active{background:#3f2d27;color:#efb199;border-color:#a37461}[data-theme=dark] .study-room .lesson-sidebar .lesson-grammar-list button.vague,[data-theme=dark] .memory-status button.vague.active{background:#3a3323;color:#e2ca85;border-color:#a08b54}[data-theme=dark] .memory-status button.known.active{background:#2b3d2e;color:#b0d8ad;border-color:#729c73}[data-theme=dark] .study-room .lesson-sidebar .lesson-grammar-list button.selected{background:#3a423b;color:#f2f4ef}[data-theme=dark] .detail-body,[data-theme=dark] .flashcard-front,[data-theme=dark] .question-card,[data-theme=dark] .account-avatar,[data-theme=dark] .level-badge,[data-theme=dark] .grammar-tabs button.active{background:#28312a}[data-theme=dark] .grammar-practice-panel .flashcard-front,[data-theme=dark] .grammar-practice-panel .question-card{background:transparent}[data-theme=dark] .icon-button:hover,[data-theme=dark] .account-trigger:hover,[data-theme=dark] .account-popover button:hover{background:#303a32}[data-theme=dark] .study-room .reading-toggle.active{background:#293b2f}[data-theme=dark] .study-room .sentence-audio-toggles button.active,[data-theme=dark] .study-room .mobile-course-drawer nav button.active{color:#14251a}[data-theme=dark] .study-room .mobile-course-drawer nav button.active span{color:#233f2b}[data-theme=dark] .study-room .sentence-repeat-controls .secondary-button{background:#2d3c2f;border-color:#718b72;color:#d0e6cc}[data-theme=dark] .study-room .sentence-repeat-controls .secondary-button:hover{background:#3a4b3c}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder,[data-theme=dark] .search-box input::placeholder{color:#aab5a9;opacity:1}[data-theme=dark] input:-webkit-autofill{-webkit-text-fill-color:var(--ink);-webkit-box-shadow:0 0 0 1000px #252e27 inset;caret-color:var(--ink)}[data-theme=dark] .captcha-button{background:#f5f5ef}[data-theme=dark] .form-error,[data-theme=dark] .form-error-alert,[data-theme=dark] .form-status-alert.error{background:#402b27;color:#f2b7a6}[data-theme=dark] .input-error,[data-theme=dark] .auth-validation-message,[data-theme=dark] .answer-feedback.wrong h2{color:#f0b296}[data-theme=dark] .sync-notice{background:#3e3524;color:#e8d7b4}[data-theme=dark] .answer-options button.correct{background:#2d402d;border-color:#8cb990}[data-theme=dark] .answer-options button.incorrect{background:#422e26;border-color:#bd8e73}[data-theme=dark] .flashcard-ratings button:last-child{color:#14251a}[data-theme=dark] .textbook.locked .textbook-open{background:#404741;color:#d0d5ca}[data-theme=dark] .account-popover,[data-theme=dark] .modal-box{box-shadow:0 18px 50px #0006}[data-theme=dark] .native-modal::backdrop,[data-theme=dark] .mobile-grammar-drawer::backdrop,[data-theme=dark] .progress-drawer::backdrop{background:#0009}[data-theme=dark] .intensity-0{background:#2b342b}[data-theme=dark] .intensity-1{background:#3d5b3f}[data-theme=dark] .intensity-2{background:#57865a}[data-theme=dark] .intensity-3{background:#7eae7f}[data-theme=dark] .intensity-4{background:#b5d5a6}[data-theme=dark] *{scrollbar-color:#788979 transparent}[data-theme=dark] *::-webkit-scrollbar-thumb{background:#788979}[data-theme=dark] *::-webkit-scrollbar-thumb:hover{background:#a0b19f}[data-theme=dark] .sentence-repeat-overlay{--page:#193b30;--ink:#f4f2e9;--muted:#c1d1c2;--green:#d5e6d5}[data-theme=dark] .study-modes,[data-theme=dark] .detail-body,[data-theme=dark] .cat-pill-btn{background:#28312a}[data-theme=dark] .plan-config button.active,[data-theme=dark] .cat-pill-btn.active{background:var(--green);color:#14251a}[data-theme=dark] .mobile-grammar-drawer nav button.unknown .grammar-sheet-status{color:#efb199}[data-theme=dark] .mobile-grammar-drawer nav button.vague .grammar-sheet-status{color:#e2ca85}@media(max-width:420px){.sentence-compact-header .sentence-compact-scope{display:none}}[data-theme=dark] .g-block{background:#303c32;color:var(--ink)}[data-theme=dark] .g-block rt{color:var(--muted)}:root{--memory-unknown:#a63f2c;--memory-unknown-bg:#f2d6ce;--memory-vague:#805700;--memory-vague-bg:#f1df9f;--memory-known:#285f85;--memory-known-bg:#d2e3ef}:root[data-theme=dark]{--memory-unknown:#ffc1ac;--memory-unknown-bg:#562e25;--memory-vague:#f5d67c;--memory-vague-bg:#4a3b18;--memory-known:#acd6f4;--memory-known-bg:#233e53}:root .study-room .lesson-sidebar .lesson-grammar-list button.unknown,:root .study-room .memory-status button.unknown.active{background:var(--memory-unknown-bg);color:var(--memory-unknown);border-color:var(--memory-unknown)}:root .study-room .lesson-sidebar .lesson-grammar-list button.vague,:root .study-room .memory-status button.vague.active{background:var(--memory-vague-bg);color:var(--memory-vague);border-color:var(--memory-vague)}:root .study-room .lesson-sidebar .lesson-grammar-list button.known,:root .study-room .memory-status button.known.active{background:var(--memory-known-bg);color:var(--memory-known);border-color:var(--memory-known)}:root .study-room .lesson-sidebar .lesson-grammar-list button:is(.unknown,.vague,.known){font-weight:500}:root .study-room .lesson-sidebar .memory-dot{color:inherit}:root .study-room .memory-status button.active{font-weight:600}.study-room .primary,.study-room .secondary-button,.textbook-open,.reading-toggle,.mobile-lesson-button,.memory-status button,.sentence-audio-toggles button,.plan-config button,.flashcard-ratings button,.repeat-exit,.repeat-again,.repeat-language-options button,.repeat-count-trigger,.study-room .account-trigger{border-radius:8px}.study-room .account-popover,.native-modal .modal-box,.mobile-grammar-drawer,.mobile-search-dialog,.practice-settings{border-radius:12px}.study-room .lesson-sidebar{background:#f3f4f3}.study-room .lesson-sidebar .lesson-group>button.active{background:#e1e5e2}.study-room .book-heading,.study-room .workspace-header,.sentence-compact-header{background:var(--page)}.study-room .secondary-button,.study-room .reading-toggle,.mobile-lesson-button,.study-room .sentence-audio-toggles button{border-color:#9daa9f}.grammar-definition h2{color:var(--muted);font-weight:600}.grammar-examples h2,.practice-grammar-title h2{font-weight:600}.g-block{background:#edf0ee;color:var(--ink);border-radius:4px}.collection-intro h1{letter-spacing:-.025em;font-weight:650}.textbook-stage:before{background:none}.textbook-image{filter:drop-shadow(0 12px 12px #00000018)}.auth-form-wrap input,.form-input,.form-textarea{border-radius:8px}:root[data-theme=dark]{--paper:#151817;--page:#1b1f1d;--ink:#f0f2ef;--muted:#bdc5bf;--line:#48524b;--accent:#c1ccc3}[data-theme=dark] .study-room .lesson-sidebar{background:#222724}[data-theme=dark] .study-room .lesson-sidebar .lesson-group>button.active{background:#39423b}[data-theme=dark] .study-room .secondary-button,[data-theme=dark] .study-room .reading-toggle,[data-theme=dark] .mobile-lesson-button,[data-theme=dark] .study-room .sentence-audio-toggles button{border-color:#6b806e}:root .study-room .lesson-sidebar .lesson-grammar-list button:is(.unknown,.vague,.known){background:transparent;color:var(--ink);font-weight:400}:root .study-room .lesson-sidebar .lesson-grammar-list button.selected{background:#e4e8e5;color:var(--ink);outline:1px solid #a2ada5;outline-offset:-1px;font-weight:600}:root .study-room .lesson-sidebar .lesson-grammar-list button.unknown .memory-dot{color:var(--memory-unknown)}:root .study-room .lesson-sidebar .lesson-grammar-list button.vague .memory-dot{color:var(--memory-vague)}:root .study-room .lesson-sidebar .lesson-grammar-list button.known .memory-dot{color:var(--memory-known)}:root .study-room .memory-status button.unknown.active{background:#9d4535;border-color:#9d4535;color:#fff}:root .study-room .memory-status button.vague.active{background:#80601e;border-color:#80601e;color:#fff}:root .study-room .memory-status button.known.active{background:#365d75;border-color:#365d75;color:#fff}[data-theme=dark] .study-room .lesson-sidebar .lesson-grammar-list button.selected{background:#39423c;outline-color:#718076}[data-theme=dark] .study-room .memory-status button.unknown.active{background:#efb199;border-color:#efb199;color:#352018}[data-theme=dark] .study-room .memory-status button.vague.active{background:#e2ca85;border-color:#e2ca85;color:#30270e}[data-theme=dark] .study-room .memory-status button.known.active{background:#acd0e7;border-color:#acd0e7;color:#182d39}.grammar-spread .grammar-notes[open]>p{margin:10px 0 0 14px;line-height:1.85}.memory-status{flex-wrap:wrap;gap:10px}.memory-status-label{flex-basis:100%;font-size:12px;color:var(--muted);margin-bottom:2px}.directory-status-legend{display:flex;justify-content:center;gap:12px;flex-shrink:0;margin:0 0 14px;font-size:11px;color:var(--muted)}.directory-status-legend span{display:inline-flex;align-items:center;gap:5px}.directory-status-legend span:before{content:"";width:5px;height:5px;border-radius:50%}.directory-status-legend .unknown:before{background:var(--memory-unknown)}.directory-status-legend .vague:before{background:var(--memory-vague)}.directory-status-legend .known:before{background:var(--memory-known)}.study-room .page-footer .text-button{border-radius:8px}@media(max-width:700px){.directory-status-legend{display:none}.memory-status-label{font-size:11px}}.guided-grammar .practice-grammar-title{margin:22px 0}.guided-grammar .practice-grammar-title h2{font-size:clamp(26px,3vw,38px);margin:0}.guided-meaning{font-size:22px;font-weight:600;line-height:1.7}.guided-example{margin-top:28px;line-height:1.9}.guided-example summary{cursor:pointer;color:var(--muted)}.guided-example p[lang=ja]{font-size:22px;line-height:2}.guided-error{color:#a33e32;padding:12px 24px}@media(max-width:640px){.guided-meaning{font-size:19px}.guided-grammar .grammar-fixed-actions>.muted{font-size:12px}}.sentence-practice-panel .guided-grammar .sentence-phase{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--muted);font-size:14px}.guided-grammar .practice-complete{padding:40px 24px 120px}.register-label,.meta-style-pill{color:#8b431b;font-weight:700;font-size:13px}.guided-phase-label{display:flex;align-items:center;flex-wrap:wrap;gap:10px}[data-theme=dark] .register-label,[data-theme=dark] .meta-style-pill{color:#f3b47c}.grammar-practice-panel .register-label{font-size:18px;font-weight:800;line-height:1.5}.grammar-practice-panel>.practice-setup{border:0;background:transparent;padding:12px 0 40px}.practice-setup-heading{margin-bottom:24px}.practice-setup-heading h2{font-size:24px;font-weight:700;color:var(--ink);margin-bottom:8px}.practice-setup-heading p{font-size:14px;color:var(--muted)}.practice-methods{display:flex;flex-direction:column}.practice-methods>button{display:flex;align-items:center;gap:16px;width:100%;min-height:90px;padding:18px 20px;text-align:left;border:1px solid transparent;border-bottom-color:var(--line);border-radius:0;background:transparent;color:var(--ink)}.practice-methods>button.active{background:color-mix(in srgb,var(--green) 8%,var(--page));border-color:var(--green);border-radius:8px}.practice-method-marker{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border:1px solid var(--line);border-radius:50%;font-size:14px}.practice-methods>button.active .practice-method-marker{background:var(--green);border-color:var(--green);color:var(--page)}.practice-method-copy{display:flex;flex-direction:column;gap:6px}.practice-method-copy strong{font-size:18px;font-weight:700}.practice-method-copy>span{font-size:14px;color:var(--muted);line-height:1.6}.practice-method-recommend{margin-left:auto;flex-shrink:0;font-size:12px;font-weight:600;color:var(--green)}.practice-start-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:28px 0 24px}.practice-start-row strong{font-size:15px;font-weight:600}.practice-start-row p,.practice-empty-plan,.practice-review-tip{font-size:13px;line-height:1.7;color:var(--muted);margin-top:6px}.practice-start-row .primary{white-space:nowrap;min-height:46px}.practice-more-settings{border-top:1px solid var(--line);padding-top:16px}.practice-more-settings>summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--ink);line-height:1.8}.practice-more-settings>summary span{margin-left:12px;font-size:12px;font-weight:400;color:var(--muted)}.practice-more-settings .plan-config{margin:20px 0 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}@media(max-width:700px){.grammar-practice-panel>.practice-setup{padding-top:8px}.practice-setup-heading h2{font-size:21px}.practice-methods>button{padding:16px 12px;gap:12px}.practice-method-copy strong{font-size:17px}.practice-method-copy>span{font-size:13px}.practice-start-row{align-items:stretch;flex-direction:column;gap:14px;margin-top:24px}.practice-start-row .primary{justify-content:center}.practice-more-settings>summary span{margin-left:6px}.practice-more-settings .plan-config{grid-template-columns:1fr;gap:18px}}.practice-configuring .sentence-compact-plan,.practice-configuring .sentence-header-progress,.practice-configuring .sentence-compact-phase,.practice-configuring .sentence-compact-count{display:none}.grammar-settings-dialog{width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:18px;background:var(--page);color:var(--ink);box-shadow:0 24px 80px #0003}.grammar-settings-dialog::backdrop{background:#101a2280;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.grammar-settings-dialog[open]{animation:practice-settings-enter .2s ease-out}.grammar-settings-dialog .practice-setup{margin:0;padding:24px;border:0;background:var(--page)}.grammar-settings-dialog .practice-setup-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.grammar-settings-dialog .practice-setup-heading h2{font-size:21px}.grammar-settings-dialog .practice-methods{gap:8px}.grammar-settings-dialog .practice-methods>button{min-height:80px;padding:14px;border:1px solid var(--line);border-radius:10px}.grammar-settings-dialog .practice-method-copy strong{font-size:16px}.grammar-settings-dialog .practice-method-copy>span{font-size:14px;line-height:1.5}.grammar-settings-dialog .plan-config{display:block;margin:12px 0}.grammar-settings-dialog .plan-config fieldset>div{display:flex}.grammar-settings-dialog .plan-config fieldset button{flex:1;min-height:44px}.grammar-settings-dialog .practice-start-row{flex-direction:column;align-items:stretch;gap:16px;margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line)}.grammar-settings-dialog .practice-start-row .primary{justify-content:center}.grammar-settings-dialog .practice-start-row p{font-size:14px}@keyframes practice-settings-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:700px){.grammar-settings-dialog .practice-setup{padding:20px 16px}.grammar-settings-dialog .practice-method-recommend{display:none}}@media(prefers-reduced-motion:reduce){.grammar-settings-dialog[open]{animation:none}}.grammar-settings-dialog .plan-config fieldset button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:6px 10px;font-size:14px}.grammar-settings-dialog .plan-config fieldset button small{font-size:12px;opacity:.85}.practice-preferences{border-top:1px solid var(--line);margin-top:20px;padding-top:4px}.practice-preference{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0}.practice-preference+.practice-preference{border-top:1px solid var(--line)}.practice-preference strong{font-size:15px;font-weight:600}.practice-preference p{font-size:14px;color:var(--muted);margin-top:3px}.preference-switch{position:relative;flex-shrink:0;width:48px;height:44px;padding:9px 0;display:flex;align-items:center;background:transparent}.preference-switch:before{content:"";position:absolute;width:48px;height:26px;border-radius:20px;background:var(--line);transition:background .18s}.preference-switch span{z-index:1;display:block;width:20px;height:20px;margin-left:3px;border-radius:50%;background:var(--page);box-shadow:0 1px 3px #0003;transition:transform .18s}.preference-switch[aria-checked=true]:before{background:var(--green)}.preference-switch[aria-checked=true] span{transform:translate(22px)}@media(prefers-reduced-motion:reduce){.preference-switch span,.preference-switch:before{transition:none}}.book-heading-title .navigation-back{width:36px;height:40px;margin-right:8px}.navigation-textbook{display:flex;align-items:center;gap:10px;flex-shrink:0}.navigation-textbook>.navigation-book-cover{width:28px;height:40px;flex-shrink:0}.book-heading-title .book-lesson-summary{margin-left:16px}@media(max-width:700px){.book-heading-title .navigation-back{width:24px;height:40px;margin-right:0}.navigation-textbook{gap:6px}.navigation-textbook>.navigation-book-cover{width:22px;height:32px}}.session-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--page);color:var(--muted);font-size:14px}@media(max-width:700px){.reading-workspace .example-detail{min-width:0;max-width:100%}.reading-workspace .detail-body{min-width:0;max-width:100%;overflow-x:auto;overflow-wrap:anywhere}}.mobile-furigana-toggle,.mobile-practice-entry{display:none}.mobile-action-sheet{width:100%;max-width:520px;max-height:80dvh;margin:auto auto 0;padding:0;border:1px solid var(--line);border-bottom:0;border-radius:18px 18px 0 0;background:var(--page);color:var(--ink);overflow:auto}.mobile-action-sheet::backdrop{background:#101a2266}.mobile-action-sheet[open]{animation:practice-settings-enter .2s ease-out}.mobile-action-sheet>section{padding:22px 20px max(24px,env(safe-area-inset-bottom))}.mobile-action-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.mobile-action-sheet h2{font-size:19px;font-weight:650}.mobile-action-sheet header p{color:var(--muted);font-size:13px;margin-top:4px}.mobile-practice-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-practice-options button{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);text-align:left}.mobile-practice-options svg{color:var(--green)}.mobile-practice-options strong{font-size:17px}.mobile-practice-options span{font-size:13px;color:var(--muted)}@media(max-width:700px){.book-toolbar .reading-toggle,.book-toolbar .practice-entry-buttons{display:none}.mobile-practice-entry{display:flex;align-items:center;gap:6px;padding:8px 12px;background:var(--green);color:var(--page);border-radius:8px;white-space:nowrap;font-size:13px;min-height:36px}}@media(prefers-reduced-motion:reduce){.mobile-action-sheet[open]{animation:none}}@media(max-width:700px){.navigation-textbook>.navigation-book-cover{display:none}.book-toolbar .mobile-search-button{order:0;width:28px}.mobile-furigana-toggle{display:grid;place-items:center;order:1;width:32px;min-height:36px;border:1px solid var(--line);border-radius:8px;font-size:18px;background:var(--page)}.mobile-furigana-toggle.active{color:var(--green);background:color-mix(in srgb,var(--green) 8%,var(--page));border-color:var(--green)}.book-toolbar .mobile-practice-entry{order:2;padding-inline:10px}.page-footer .desktop-grammar-count{display:none}.reading-workspace .page-footer{gap:8px}.page-footer .mobile-grammar-picker{display:flex;flex-direction:column;justify-content:center;gap:2px;width:auto;min-width:76px;min-height:44px;padding:4px 6px;border:0;border-radius:8px;background:transparent}.page-footer .mobile-grammar-picker>span{font-size:11px}.page-footer .mobile-grammar-picker .grammar-picker-count{font-size:12px;gap:4px}.page-footer .text-button{padding-inline:12px}}@media(max-width:700px){.book-heading .mobile-lesson-button,.book-toolbar .mobile-search-button,.book-toolbar .mobile-furigana-toggle,.book-toolbar .mobile-practice-entry{height:36px;min-height:36px;border:0;border-radius:8px;background:transparent;color:var(--ink)}.book-heading .mobile-lesson-button{padding-inline:8px}.book-toolbar .mobile-search-button,.book-toolbar .mobile-furigana-toggle{width:32px;padding:0}.book-toolbar .mobile-furigana-toggle.active{background:color-mix(in srgb,var(--green) 9%,var(--page));color:var(--green)}.book-toolbar .mobile-practice-entry{padding-inline:10px;gap:6px;background:color-mix(in srgb,var(--green) 9%,var(--page));color:var(--green);font-weight:600}.book-heading .mobile-lesson-button:hover,.book-toolbar .mobile-search-button:hover{background:color-mix(in srgb,var(--ink) 6%,var(--page))}}.mobile-action-sheet>section{padding-top:12px}.mobile-action-sheet header{margin-bottom:12px}.mobile-action-sheet header>div{display:flex;align-items:baseline;gap:10px}.mobile-action-sheet h2{font-size:16px}.mobile-action-sheet header p{font-size:12px;margin:0}.mobile-action-sheet header .icon-button{width:36px;height:36px}.mobile-action-sheet,.mobile-grammar-drawer{overscroll-behavior:contain}html:has(.mobile-action-sheet[open],.mobile-grammar-drawer[open]),body:has(.mobile-action-sheet[open],.mobile-grammar-drawer[open]){overflow:hidden;overscroll-behavior:none}.study-room:has(.mobile-action-sheet[open],.mobile-grammar-drawer[open]) .reading-pane{overflow:hidden;touch-action:none}.mobile-action-sheet h2[tabindex="-1"]{outline:none}.grammar-practice-panel [lang=ja] .grammar-highlight,.grammar-practice-panel [lang=ja] .grammar-point{text-decoration-line:underline;text-decoration-thickness:1.5px;text-underline-offset:5px;text-decoration-skip-ink:auto}@media(max-width:700px){.workspace-header{padding-inline:12px}.workspace-header .brand{font-size:16px}.workspace-header .account-actions{gap:10px}.workspace-header .account-trigger{gap:5px;padding-inline:0}.bookshelf .collection-intro{flex-shrink:0}.bookshelf .collection-grid{flex:1 0 auto;align-items:stretch;margin-bottom:0}.bookshelf .textbook{display:flex;flex-direction:column}.bookshelf .textbook-stage{flex:1;display:flex;align-items:center;min-height:260px}.bookshelf .textbook-open{align-self:flex-start}.bookshelf .icp-footer{margin-top:auto;padding-top:12px;padding-bottom:env(safe-area-inset-bottom)}}@media(max-width:370px){.workspace-header .brand{font-size:14px;gap:6px}.workspace-header .account-trigger .account-avatar{display:none}}.grammar-practice-panel .answer-feedback{border-top:0}.guided-grammar .answer-options button .guided-choice-text{font-size:inherit;color:inherit}.grammar-start-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:18px;min-height:44px}.question-blank{display:inline-block;width:5em;height:1.2em;margin:0 .25em;border-bottom:2px solid var(--ink);vertical-align:baseline}.practice-panel button:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.35);box-shadow:none;transform:none}.practice-panel .answer-options button.correct:disabled,.practice-panel .answer-options button.incorrect:disabled{opacity:.8;filter:none}.practice-panel .sentence-word-bank button:disabled{opacity:.25}.practice-panel{scrollbar-gutter:stable;overflow-anchor:none}.sentence-repeat-controls .sentence-skip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:8px;background:var(--page);color:var(--ink);font-weight:500}.sentence-repeat-controls .sentence-skip:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 6%,var(--page))}.sentence-practice-panel:not(.grammar-practice-panel) .sentence-session .answer-feedback{margin:20px 0 0;padding:0;border:0}.detail-body rt,.detailed-html-body rt{font-size:.65em;font-weight:500}.example-japanese,.sentence-study-japanese,.sentence-correction>p,.flashcard-example>p[lang=ja],.answer-original{font-family:Hiragino Mincho ProN,Yu Mincho,Songti SC,serif;font-weight:500}.example-japanese rt,.sentence-study-japanese rt,.sentence-correction rt,.flashcard-example rt,.answer-original rt{font-size:.65em;color:var(--ink);font-weight:500}.example-japanese .grammar-highlight,.example-japanese .grammar-point,.sentence-study-japanese .grammar-highlight,.sentence-correction .grammar-highlight,.flashcard-example .grammar-highlight,.answer-original .grammar-highlight{color:var(--ink);font-weight:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}.example-translation,.sentence-study-translation,.flashcard-example>p.muted{width:fit-content;max-width:100%;padding:2px 7px 2px 0;background:color-mix(in srgb,var(--ink) 9%,var(--page));color:var(--ink);line-height:1.9;border-radius:0}.example-translation:before,.sentence-study-translation:before,.flashcard-example>p.muted:before{content:"译";display:inline-block;padding:0 4px;margin-right:7px;background:var(--ink);color:var(--page);font-size:.9em;line-height:1.6;vertical-align:baseline}.example-japanese{position:relative;padding-left:1.5em}.example-number{position:absolute;left:0;font-size:1em}.reading-workspace .example-translation{font-size:15px}.sentence-study-translation,.flashcard-example>p.muted{font-size:17px}@media(max-width:700px){.sentence-study-translation,.flashcard-example>p.muted{font-size:16px}}.detail-body,.detailed-html-body{font-size:16px;line-height:2}.detail-body h3,.detail-body h4{font-size:17px}button[data-playing=true]{color:var(--green)}button[data-playing=true] svg{animation:none}.detail-body,.detailed-html-body,[data-theme=dark] .detail-body,[data-theme=dark] .detailed-html-body{background:color-mix(in srgb,var(--ink) 9%,var(--page))}.detail-body h3,.detailed-html-body h3{margin:14px 0 8px;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--ink) 20%,transparent)}.detail-body h3:first-child,.detailed-html-body h3:first-child{margin-top:0;padding-top:0;border-top:0}.full-grammar-dialog{width:min(900px,calc(100% - 32px));max-height:85dvh;margin:auto;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--page);color:var(--ink);overflow:auto;overscroll-behavior:contain}.full-grammar-dialog::backdrop{background:#0006}.full-grammar-content{padding:0 24px 24px;line-height:1.9}.full-grammar-content>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:14px 0;background:var(--page);border-bottom:1px solid var(--line);margin-bottom:20px}.full-grammar-content>header h2{font-size:18px}.full-grammar-content>h3{font-size:16px;margin:20px 0 8px}.practice-panel:has(.full-grammar-dialog[open]){overflow:hidden}@media(max-width:700px){.full-grammar-dialog{width:calc(100% - 20px);max-height:90dvh}.full-grammar-content{padding:0 16px 20px}}.full-grammar-dialog{width:min(680px,calc(100% - 40px));border-radius:20px;box-shadow:0 24px 80px #00000038}.full-grammar-dialog[open]{animation:full-grammar-enter .2s cubic-bezier(.2,.8,.2,1)}.full-grammar-dialog::backdrop{background:#0000006b;animation:full-grammar-backdrop .2s ease-out both}.full-grammar-dialog[data-closing]::backdrop{animation:full-grammar-backdrop-out .14s ease-in both}.full-grammar-content{padding:0 22px 20px;line-height:1.75}.full-grammar-content>header{margin-bottom:16px;padding:10px 0}.full-grammar-content>header h2{font-size:15px;color:var(--muted);outline:none}.full-grammar-content>header .icon-button{width:32px;height:32px;border:0;border-radius:50%;background:color-mix(in srgb,var(--ink) 6%,var(--page))}.full-grammar-content .practice-grammar-title h2{font-size:clamp(24px,3vw,32px);line-height:1.5}.full-grammar-content>h3{margin:14px 0 5px;font-size:14px;color:var(--muted)}.full-grammar-content>p,.full-grammar-content>div:not(.practice-grammar-title){font-size:17px}@keyframes full-grammar-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes full-grammar-backdrop{0%{opacity:0}to{opacity:1}}@keyframes full-grammar-backdrop-out{to{opacity:0}}@media(max-width:700px){.full-grammar-dialog{width:calc(100% - 24px);border-radius:16px}.full-grammar-content{padding:0 16px 18px}}@media(prefers-reduced-motion:reduce){.full-grammar-dialog[open],.full-grammar-dialog::backdrop{animation:none}}.full-grammar-content>header{gap:12px;padding:18px 0 16px;margin-bottom:12px}.full-grammar-content>header .practice-grammar-title{flex:1;min-width:0;gap:10px}.full-grammar-content>header .practice-grammar-title h2{color:var(--ink);font-size:clamp(22px,3vw,28px);line-height:1.5}.full-grammar-content>header .icon-button{flex-shrink:0}.full-grammar-content>h3{padding-top:12px;border-top:1px solid var(--line);font-weight:600;color:var(--ink)}.full-grammar-content>header+h3,.full-grammar-content>.register-label+h3{padding-top:0;border-top:0}.full-grammar-content>p{margin:6px 0;color:var(--ink)}.full-grammar-content>.register-label{margin:0 0 12px}.full-grammar-content>header{align-items:flex-start;padding:20px 0 16px;border-bottom:0;margin-bottom:0}.full-grammar-heading{flex:1;min-width:0}.full-grammar-register{display:inline-block;margin-top:8px;padding:2px 8px;border:1px solid var(--line);border-radius:5px;color:var(--muted);font-size:12px;font-weight:600}.full-grammar-content .full-grammar-summary{display:flex;align-items:baseline;gap:20px;padding:14px 16px;margin:0 0 8px;background:color-mix(in srgb,var(--green) 7%,var(--page));border-radius:8px}.full-grammar-summary h3{flex-shrink:0;color:var(--green);font-size:13px;font-weight:600}.full-grammar-summary p{margin:0;color:var(--ink);font-size:20px;font-weight:600;line-height:1.6}.full-grammar-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.full-grammar-row h3,.full-grammar-notes h3{font-size:13px;font-weight:600;color:var(--muted);margin:0;line-height:1.9}.full-grammar-row>p,.full-grammar-formation{font-size:16px;line-height:1.9;margin:0;overflow-wrap:anywhere}.full-grammar-formation .g-block{background:color-mix(in srgb,var(--ink) 6%,var(--page));border-radius:4px;padding:2px 5px}.full-grammar-notes{padding-top:14px}.full-grammar-notes>p{font-size:15px;line-height:1.9;margin:8px 0 0;color:var(--ink)}@media(max-width:700px){.full-grammar-row{grid-template-columns:42px minmax(0,1fr);gap:14px;padding:14px 0}.full-grammar-content>header{padding:16px 0 14px}.full-grammar-summary p{font-size:18px}}.grammar-practice-panel>.choice-feedback{padding:18px 20px;background:color-mix(in srgb,var(--ink) 4%,var(--page));border-radius:10px;margin-top:18px}.choice-feedback h2{font-size:18px;font-weight:600;margin:0 0 12px}.choice-feedback-grammar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.choice-feedback-grammar>span{font-size:13px;color:var(--muted);margin-right:4px}.choice-feedback-grammar>strong{font-size:18px;font-weight:600}.choice-feedback .icon-button{width:32px;height:32px;flex-shrink:0;border:1px solid var(--line);border-radius:6px;background:var(--page)}.choice-feedback .choice-feedback-meaning{font-size:15px;line-height:1.8;margin:4px 0 14px}.choice-feedback-example{display:flex;align-items:flex-start;gap:12px;padding-top:12px;border-top:1px solid var(--line)}.choice-feedback-example .answer-original{flex:1;min-width:0;font-size:19px;line-height:2.1;margin:0}.choice-feedback-example .icon-button{margin-top:8px}.choice-feedback .choice-feedback-due{margin:12px 0 0;font-size:12px;color:var(--muted);line-height:1.6}@media(max-width:700px){.grammar-practice-panel>.choice-feedback{padding:14px}.choice-feedback-example .answer-original{font-size:17px}}.book-heading,.book-heading-title,.book-toolbar{flex-wrap:nowrap}.book-toolbar button{white-space:nowrap;flex-shrink:0}@media(max-width:1350px)and (min-width:701px){.book-toolbar>.search-box{display:none}.book-toolbar .mobile-search-button{display:grid;place-items:center;width:36px;height:36px;padding:0}.book-heading,.book-heading-title,.book-toolbar{gap:12px}}@media(max-width:1100px)and (min-width:701px){.book-heading{padding-inline:20px}.book-toolbar,.book-toolbar .practice-entry-buttons{gap:8px}.book-toolbar .practice-entry-buttons button{min-width:0;padding-inline:10px;gap:6px}.book-toolbar .practice-entry-buttons button>svg:last-child{display:none}}@media(max-width:900px)and (min-width:701px){.book-heading-title .book-lesson-summary{display:none}.book-heading .mobile-lesson-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 8px;white-space:nowrap}.book-heading-title .navigation-back{margin-right:0}}.directory-status-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;flex-shrink:0;margin:0 0 14px;padding:0 4px}.directory-status-filter button{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:4px 2px;border:0;border-radius:0;background:transparent;font-size:12px;white-space:nowrap;color:var(--muted)}.directory-status-filter button:not(.all):before{content:"";width:5px;height:5px;flex-shrink:0;border-radius:50%}.directory-status-filter .unknown:before{background:var(--memory-unknown)}.directory-status-filter .vague:before{background:var(--memory-vague)}.directory-status-filter .known:before{background:var(--memory-known)}.directory-status-filter button.active{background:transparent;color:var(--ink);font-weight:600}.directory-status-filter button.active:after{content:"";position:absolute;bottom:0;left:50%;width:18px;height:2px;border-radius:1px;background:var(--green);transform:translate(-50%)}.directory-status-filter button:hover{color:var(--ink)}@media(max-width:700px){.lesson-sidebar>.directory-status-filter{display:none}.mobile-grammar-drawer .directory-status-filter button{min-height:40px;font-size:13px}}.reading-empty{flex:1;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 24px;text-align:center}.reading-empty-symbol{display:grid;place-items:center;width:64px;height:64px;margin-bottom:6px;border-radius:50%;background:color-mix(in srgb,var(--green) 7%,var(--page));color:var(--green)}.reading-empty h2{font-size:19px;font-weight:600;color:var(--ink);line-height:1.5}.reading-empty p{max-width:360px;font-size:14px;line-height:1.8;color:var(--muted)}.reading-empty-actions{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:10px}.reading-empty-actions button{display:inline-flex;align-items:center;gap:8px;min-height:40px}@media(max-width:700px){.reading-empty{padding:32px 20px}.reading-empty h2{font-size:18px}.reading-empty p{font-size:13px}}.mobile-course-drawer .directory-status-filter{margin:8px 12px 12px}.mobile-course-drawer .directory-status-filter button{min-height:40px;font-size:13px}.copy-workspace{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;height:100%;background:var(--page)}.copy-header{display:flex;align-items:center;gap:16px;padding:10px clamp(16px,3vw,40px);border-bottom:1px solid var(--line);flex-shrink:0}.copy-header>div{display:flex;align-items:baseline;gap:12px}.copy-header strong{font-size:19px}.copy-header small,.copy-header>span{color:var(--muted);font-size:13px}.copy-header>span{margin-left:auto;white-space:nowrap}.copy-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px clamp(20px,4vw,64px) 32px;scrollbar-gutter:stable}.copy-methods{display:flex;gap:20px}.copy-methods button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 0;border-bottom:2px solid transparent;color:var(--muted)}.copy-methods button.active{border-color:var(--green);color:var(--green);font-weight:600}.copy-original{margin:20px 0 24px;text-align:left}.copy-original-label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:10px}.copy-original-label .icon-button{width:32px;height:32px}.copy-original .example-japanese{margin:0;padding-left:0;line-height:2.2;text-align:left}.copy-translation{margin-top:12px;font-size:16px;text-align:left}.copy-input-area{display:flex;flex-direction:column;gap:10px}.copy-input-area>label{font-size:13px;color:var(--muted)}.copy-input-area textarea{width:100%;resize:vertical;min-height:150px;max-height:50dvh;padding:18px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--ink) 2%,var(--page));color:var(--ink);font-family:"Noto Serif JP",Yu Mincho,serif;font-size:22px;line-height:1.9}.copy-input-area textarea:focus{outline:2px solid color-mix(in srgb,var(--green) 25%,transparent);outline-offset:1px;border-color:var(--green)}.copy-input-area small,.copy-hint{font-size:12px;line-height:1.7;color:var(--muted)}.copy-result{padding:16px 18px;border-radius:8px;background:color-mix(in srgb,var(--memory-unknown) 6%,var(--page))}.copy-result>strong{font-size:15px;color:var(--memory-unknown)}.copy-result.correct{background:color-mix(in srgb,var(--green) 7%,var(--page))}.copy-result.correct>strong,.copy-saved{color:var(--green)}.copy-diff{margin:12px 0;font-size:21px;line-height:2;overflow-wrap:anywhere}.copy-diff del{color:var(--memory-unknown)}.copy-diff ins{text-decoration:none;background:color-mix(in srgb,var(--green) 14%,var(--page));color:var(--green)}.copy-hand-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.copy-hand-label>span{font-size:19px;line-height:1.8}.copy-hand-label small{white-space:nowrap;color:var(--muted);font-size:12px}.copy-canvas{display:block;width:100%;height:clamp(180px,30vw,300px);border:1px solid var(--line);border-radius:8px;background:var(--page);touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}.copy-grid{color:color-mix(in srgb,var(--ink) 20%,transparent)}.copy-trace{font-size:40px;fill:color-mix(in srgb,var(--ink) 12%,transparent);font-family:Yu Mincho,serif}.copy-stroke{fill:none;stroke:var(--ink);stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.copy-tools{display:flex;align-items:center;gap:16px;padding:8px 0;flex-wrap:wrap}.copy-tools button{display:inline-flex;align-items:center;gap:5px;font-size:13px;min-height:40px}.copy-tools button.active{color:var(--green);font-weight:600}.copy-page-buttons{display:flex;gap:8px;margin-left:auto}.copy-message{color:var(--memory-unknown);margin-top:12px}.copy-saved{margin-top:12px;font-size:14px}.copy-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px clamp(16px,3vw,40px) max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);flex-shrink:0;background:var(--page)}.copy-footer>button{display:inline-flex;align-items:center;gap:6px;min-height:40px}.copy-workspace button:disabled{opacity:.4;cursor:not-allowed}.copy-workspace:has(dialog[open]) .copy-body{overflow:hidden}.copy-settings{overflow:auto;overscroll-behavior:contain}.copy-settings h2{outline:none}.copy-settings-note{margin-top:16px;color:var(--muted);font-size:12px;line-height:1.7}@media(max-width:700px){.copy-header{gap:8px}.copy-header>div{display:block}.copy-header strong{font-size:16px}.copy-header small{display:block;font-size:11px;margin-top:3px}.copy-body{padding:16px 18px 24px}.copy-original{margin:14px 0 18px}.copy-input-area textarea{font-size:20px;padding:14px}.copy-original .example-japanese{font-size:23px}.copy-translation{font-size:14px}.copy-tools{gap:10px}.copy-hand-label>span{font-size:16px}.copy-footer{padding-inline:14px}.copy-footer>button{font-size:13px}.copy-footer .primary{padding-inline:16px}}@media(min-width:701px)and (max-width:1500px){.book-toolbar>.search-box{display:none}.book-toolbar .mobile-search-button{display:grid;place-items:center;width:36px;height:36px;padding:0}.book-toolbar,.book-toolbar .practice-entry-buttons{gap:8px}.book-toolbar .practice-entry-buttons button{min-width:0;padding-inline:10px;gap:6px}.book-toolbar .practice-entry-buttons button>svg:last-child{display:none}}@media(min-width:701px)and (max-width:1000px){.book-toolbar .practice-entry-buttons{display:none}.book-toolbar .mobile-practice-entry{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:8px;color:var(--green)}}.copy-header .copy-methods{margin-left:auto;gap:4px;flex-shrink:0}.copy-header .copy-methods button{padding:6px 10px;min-height:36px;border:0;border-radius:7px;font-size:13px}.copy-header .copy-methods button.active{background:color-mix(in srgb,var(--green) 9%,var(--page))}.copy-header>span{margin-left:12px}.copy-original .example-japanese{font-size:clamp(24px,2.2vw,30px)}.copy-original .grammar-highlight,.copy-original .grammar-point{color:var(--green);font-weight:600}.copy-grammar{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}.copy-grammar>span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.copy-grammar strong{font-size:20px;color:var(--green)}.copy-grammar p{font-size:15px;color:var(--muted);margin-top:6px;line-height:1.7}.copy-typing-box{position:relative}.copy-typing-guide,.copy-input-area .copy-typing-box textarea{padding:16px 18px;font-family:"Noto Serif JP",Yu Mincho,serif;font-size:28px;line-height:1.9;letter-spacing:normal;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal}.copy-typing-guide{position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;overflow:hidden;color:var(--ink)}.copy-typing-remaining{color:color-mix(in srgb,var(--ink) 22%,var(--page))}.copy-typing-guide .wrong{color:var(--memory-unknown);text-decoration:underline;text-decoration-color:var(--memory-unknown)}.copy-input-area .copy-typing-box textarea{position:relative;display:block;background:transparent;color:transparent;caret-color:var(--ink);resize:none;min-height:140px}.copy-input-area .copy-typing-box textarea::selection{background:color-mix(in srgb,var(--green) 20%,transparent);color:transparent}.copy-footer-status{color:var(--muted);font-size:13px}@media(max-width:700px){.copy-header{gap:6px;padding-inline:10px}.copy-header>div:first-of-type strong{font-size:14px}.copy-header .copy-methods{gap:2px}.copy-header .copy-methods button{gap:4px;padding:6px;font-size:12px}.copy-header .copy-methods button svg{display:none}.copy-header>span{margin-left:0;font-size:11px}.copy-header>.icon-button{width:30px;flex-shrink:0}.copy-typing-guide,.copy-input-area .copy-typing-box textarea{padding:14px;font-size:24px}.copy-original .example-japanese{font-size:23px}.copy-footer-status{font-size:12px}}.copy-input-area .copy-result:not(.correct):not(.has-error){background:color-mix(in srgb,var(--ink) 3%,var(--page))}.copy-input-area .copy-result:not(.correct):not(.has-error)>strong{color:var(--muted);font-weight:400}.copy-toolbar-grammar+.copy-methods{margin-left:0}.copy-toolbar-grammar{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto!important;font-size:16px!important;font-weight:600;color:var(--green)!important}.copy-body{padding:clamp(28px,5dvh,52px) clamp(24px,3vw,48px) 32px}.copy-original{margin-top:0}.copy-translation{font-size:18px}.copy-original-label{font-size:14px}.copy-progress{margin:24px 0;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.copy-progress>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.copy-progress h2{font-size:19px}.copy-progress>header>span,.copy-progress>p{color:var(--muted);font-size:13px;line-height:1.8}.copy-progress-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 14px}.copy-progress-metrics>div{display:flex;flex-direction:column;gap:6px}.copy-progress-metrics strong{font-size:28px;font-weight:500;color:var(--green)}.copy-progress-metrics span{font-size:12px;color:var(--muted)}.copy-progress-group{padding:12px 0;border-top:1px solid var(--line);margin-top:12px}.copy-progress-group>summary{cursor:pointer;font-size:14px;line-height:1.7}.copy-progress-group>summary>span:last-child{float:right;color:var(--muted);margin-left:12px}.copy-progress-group>p{color:var(--muted);font-size:12px;margin:10px 0}.copy-progress-sentence{padding:12px 0;border-top:1px solid color-mix(in srgb,var(--ink) 8%,transparent)}.copy-progress-sentence p{font-size:16px;line-height:1.8}.copy-progress-sentence small{color:var(--muted);font-size:12px}@media(max-width:700px){.copy-header:has(.copy-toolbar-grammar)>div:first-of-type{display:none}.copy-header .copy-toolbar-grammar{order:-1;flex:0 1 auto;min-width:0;max-width:110px;margin:0;font-size:14px!important}.copy-header>.icon-button:first-child{order:-2}.copy-body{padding:24px 20px}.copy-translation{font-size:16px}.copy-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.copy-progress-group>summary>span:first-child{display:inline-block;max-width:calc(100% - 60px);vertical-align:top}.copy-progress>header>span{font-size:11px}}.copy-input-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.copy-input-heading label{margin:0}.copy-input-heading .copy-methods button{min-height:30px;padding:4px 12px;font-size:13px}.copy-romaji-notice{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:12px}.copy-romaji{margin:4px 0 12px;color:var(--muted);font-size:17px;line-height:1.8;text-align:left;overflow-wrap:anywhere}@media(max-width:700px){.copy-romaji{font-size:15px}}.copy-header.sentence-compact-header{display:flex;margin:0;min-height:64px}.copy-header .copy-methods button{border:1px solid var(--line);border-radius:8px;padding:7px 12px}.copy-header .copy-methods button.active{border-color:var(--green);background:var(--green);color:var(--page)}.copy-footer>.primary,.copy-footer>.secondary-button{min-height:44px;padding:10px 18px;justify-content:center;border-radius:8px}.copy-tools .text-button{padding:7px 10px;border:1px solid var(--line);border-radius:8px}.copy-tools .text-button.active{background:var(--paper);border-color:var(--green)}.copy-typing-remaining ruby{display:inline;position:relative}.copy-typing-remaining rt{position:absolute;left:50%;bottom:calc(100% - .05em);width:max-content;transform:translate(-50%);white-space:nowrap;font-size:.5em;line-height:1;text-align:center;color:inherit}.copy-typing-guide,.copy-input-area .copy-typing-box textarea{line-height:2.4;padding-top:20px}.copy-settings .practice-preferences{margin-top:16px}.copy-settings .practice-preference{padding:12px 0}@media(max-width:700px){.copy-header .copy-methods button{padding:6px;font-size:12px}.copy-footer>.primary,.copy-footer>.secondary-button{padding:10px 12px}.copy-settings .plan-config fieldset button{font-size:13px;padding:8px 4px}}.copy-toast-stack{position:fixed;top:18px;left:50%;transform:translate(-50%);z-index:9999;max-width:calc(100% - 24px);pointer-events:none}.copy-toast{padding:8px 16px;border-radius:6px;font-size:13px;font-weight:500;color:#fdfcf9;background:#14532d;border:1px solid #ffffff14;box-shadow:0 4px 16px #1e181033;animation:practice-settings-enter .22s ease-out}.copy-typing-guide>.grammar-highlight{text-decoration-line:underline;text-decoration-thickness:1.5px;text-underline-offset:5px;text-decoration-skip-ink:auto}@media(max-width:700px){.copy-canvas{height:clamp(160px,42vw,220px)}}.copy-paper{margin-top:18px;border:1px solid var(--line);border-radius:8px;overflow:hidden;scroll-margin-top:16px}.copy-paper[data-active=true]{border-color:var(--green)}.copy-paper>header{display:flex;align-items:center;gap:8px;padding:6px 14px;border-bottom:1px solid var(--line)}.copy-paper>header strong{font-size:14px}.copy-paper>header span{color:var(--muted);font-size:12px}.copy-paper>header button{font-size:12px}.copy-paper-segment>p{padding:10px 16px;font-family:"Noto Serif JP",Yu Mincho,serif;font-size:19px;line-height:1.8;border-bottom:1px solid var(--line)}.copy-paper-board{position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 59px,var(--line) 59px,var(--line) 60px)}.copy-paper-board .copy-canvas{height:180px;border:0;border-radius:0;background:transparent}.copy-paper-trace{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;padding:16px;font-family:"Noto Serif JP",Yu Mincho,serif;font-size:28px;line-height:60px;color:color-mix(in srgb,var(--ink) 12%,transparent)}.copy-paper:not([data-active=true]) .copy-canvas{touch-action:auto;cursor:default}.copy-paper:first-child{margin-top:0}.copy-paper-reference{padding:12px 16px;border-bottom:1px solid var(--line)}.copy-paper-reference .example-japanese{margin:0;padding-left:0;font-size:20px;line-height:2.2;text-align:left}.copy-paper-reference .copy-translation{margin-top:6px;font-size:14px}.copy-paper-board{container-type:inline-size}.copy-paper-trace{white-space:nowrap;overflow:hidden;height:60px;padding:0 16px}.copy-paper-segment+.copy-paper-segment{border-top:1px solid var(--line)}@media(max-width:700px){.copy-paper-reference{padding:10px 12px}.copy-paper-reference .example-japanese{font-size:19px}}.lesson-status-legend{display:flex;flex-wrap:wrap;gap:12px 20px;margin:20px 0 24px}.lesson-status-legend span{display:inline-flex;align-items:center;gap:6px}.lesson-status-legend i{width:10px;height:10px;border-radius:3px;border:1px solid var(--line);background:color-mix(in srgb,var(--muted) 8%,var(--page))}.lesson-status-legend i.active{background:color-mix(in srgb,var(--green) 25%,var(--page));border-color:var(--green)}.lesson-status-legend i.complete{background:#2c5544;border-color:var(--green)}.lesson-status-legend i.due,.lesson-due i{background:#bd7b22;border:0;border-radius:50%}.lesson-timetable{margin-top:28px}.lesson-timetable>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.lesson-timetable>header h3{color:var(--ink);font-size:17px;font-weight:600}.lesson-timetable>header strong{color:var(--green);font-weight:600}.lesson-timetable .lesson-progress-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:0}.lesson-timetable .lesson-cell{display:flex;flex-direction:column;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--muted) 4%,var(--page));color:var(--muted)}.lesson-cell>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.lesson-cell h4{margin:0;font-size:16px;font-weight:600;color:var(--ink)}.lesson-status{font-size:11px;white-space:nowrap}.progress-detail>h2{font-size:17px;font-weight:600;color:var(--ink);margin-bottom:14px}.lesson-cell-progress{display:grid;gap:6px;margin:10px 0 6px}.lesson-cell-progress label{display:flex;align-items:center;gap:10px;font-size:12px}.lesson-cell-progress progress{flex:1;width:0;height:6px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:6px;overflow:hidden;background:color-mix(in srgb,var(--green) 15%,var(--page))}.lesson-cell-progress progress::-webkit-progress-bar{background:color-mix(in srgb,var(--green) 15%,var(--page));border-radius:6px}.lesson-cell-progress progress::-webkit-progress-value{background:var(--green);border-radius:6px}.lesson-cell-progress progress::-moz-progress-bar{background:var(--green);border-radius:6px}.lesson-cell.complete progress::-webkit-progress-bar{background:#ffffff30}.lesson-cell.complete progress::-webkit-progress-value{background:#d0e7bc}.lesson-cell.complete progress::-moz-progress-bar{background:#d0e7bc}.lesson-due,.lesson-due-placeholder{display:flex;align-items:center;gap:5px;min-height:16px;font-size:11px}.lesson-due i{width:6px;height:6px;flex-shrink:0}.lesson-timetable .lesson-progress-actions{gap:12px;margin-top:auto;padding-top:4px;justify-content:space-between}.lesson-cell .text-button{min-height:32px;padding:4px 0;gap:4px;font-size:12px;color:inherit}.lesson-timetable .lesson-cell.active{border-color:color-mix(in srgb,var(--green) 35%,var(--line));background:color-mix(in srgb,var(--green) 9%,var(--page))}.lesson-cell.active .lesson-status{color:var(--green)}.lesson-timetable .lesson-cell.complete{background:#2c5544;border-color:var(--green);color:#fff}.lesson-cell.complete h4{color:#fff}.lesson-cell.complete .lesson-status{color:#ffffffdb}.lesson-cell.complete .lesson-due i{background:#ffd38b}.lesson-timetable-note{margin-top:16px;font-size:12px;color:var(--muted)}@media(max-width:1000px){.lesson-timetable .lesson-progress-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.lesson-timetable .lesson-progress-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lesson-timetable .lesson-cell{padding:12px}.lesson-cell h4{font-size:14px}.lesson-timetable>header h3{font-size:16px}.lesson-cell .text-button{min-height:44px}.lesson-timetable .lesson-progress-actions{gap:8px}.lesson-status-legend{gap:10px 14px}}@media(max-width:360px){.lesson-timetable .lesson-progress-list{grid-template-columns:1fr}}.audio-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;width:32px;height:32px;min-height:32px;margin:0 0 0 6px;padding:6px;border:0;border-radius:4px;background:transparent;color:var(--muted);line-height:1;cursor:pointer}.audio-icon-button svg{width:18px;height:18px}.audio-icon-button:hover,.audio-icon-button[data-playing=true]{color:var(--green);background:transparent}.audio-icon-button .audio-equalizer{display:none;align-items:center;justify-content:center;gap:3px;width:18px;height:18px}.audio-icon-button[data-playing=true] svg{display:none}.audio-icon-button[data-playing=true] .audio-equalizer{display:inline-flex}.audio-equalizer i{display:block;width:3px;height:16px;background:currentColor;border-radius:2px;transform:scaleY(.35);animation:audio-equalizer .65s ease-in-out infinite alternate}.audio-equalizer i:nth-child(2){animation-delay:-.25s}.audio-equalizer i:nth-child(3){animation-delay:-.45s}@keyframes audio-equalizer{0%{transform:scaleY(.25)}to{transform:scaleY(1)}}@media(prefers-reduced-motion:reduce){.audio-equalizer i{animation:none}.audio-equalizer i:nth-child(2){transform:scaleY(.8)}}.audio-icon-button:disabled{opacity:.45;cursor:wait}.audio-icon-button:focus-visible{outline:2px solid var(--green);outline-offset:2px}.grammar-title-row:has(.audio-icon-button),.practice-grammar-title:has(.audio-icon-button){display:flex;align-items:center;gap:8px}.grammar-title-row:has(.audio-icon-button) h1,.practice-grammar-title:has(.audio-icon-button) h2{margin:0;min-width:0}.grammar-title-row>.audio-icon-button,.practice-grammar-title>.audio-icon-button{margin-left:0}.flashcard-example:has(.audio-icon-button){padding-right:0}.example-row:has(.audio-icon-button){padding-right:64px}.example-row>.example-topline>.audio-icon-button{position:absolute;z-index:1;right:6px;top:32px;margin:0}.copy-paper>header>.text-button{margin-left:auto}@media(pointer:coarse){.audio-icon-button{width:44px;height:44px;min-height:44px}}@media(max-width:700px){.progress-focus>.primary{white-space:nowrap;flex-shrink:0}}.answer-options button>.answer-option-grammar{font-size:inherit;color:inherit}.guided-grammar{--answer-correct-bg:#cce5d5;--answer-correct-ink:#194f36;--answer-correct-border:#2b7650;--answer-wrong-bg:#f6d9d2;--answer-wrong-ink:#873b2d;--answer-wrong-border:#b65642}.guided-grammar .practice-grammar-title{margin:24px 0 32px}.guided-grammar .answer-options{margin-top:0;gap:16px}.guided-grammar .answer-options button{padding:18px 20px;min-height:68px;align-items:center}.guided-grammar .answer-options button>span:first-child{flex:0 0 20px}.guided-grammar .answer-options button.correct:disabled{background:color-mix(in srgb,var(--answer-correct-border) 10%,var(--page));color:var(--ink);border:0;border-bottom:1px solid var(--line);box-shadow:none;opacity:1;filter:none}.guided-grammar .answer-options button.incorrect:disabled{background:color-mix(in srgb,var(--answer-wrong-border) 10%,var(--page));color:var(--ink);border:0;border-bottom:1px solid var(--line);box-shadow:none;opacity:1;filter:none}.guided-grammar .answer-options button.correct>span:first-child{color:var(--answer-correct-ink)}.guided-grammar .answer-options button.incorrect>span:first-child{color:var(--answer-wrong-ink)}.guided-grammar .answer-feedback{margin-top:28px;padding-top:0}.guided-grammar .answer-feedback h2{margin-bottom:16px;color:var(--answer-correct-ink)}.guided-grammar .answer-feedback.wrong h2{color:var(--answer-wrong-ink)}.guided-grammar .answer-feedback>p{margin-top:12px;font-size:18px;line-height:1.8}.guided-grammar .guided-example p[lang=ja],.guided-grammar .answer-feedback>p[lang=ja],.grammar-practice-panel .flashcard-example p[lang=ja]{font-size:18px;line-height:2}.guided-grammar .guided-example p[lang=ja] rt,.guided-grammar .answer-feedback>p[lang=ja] rt,.grammar-practice-panel .flashcard-example rt{font-size:.6em;color:var(--muted)}.guided-grammar .guided-example>p:not([lang=ja]){margin-top:12px;font-size:18px;line-height:1.8}.guided-grammar .answer-feedback .audio-icon-button,.guided-grammar .guided-example .audio-icon-button{vertical-align:middle;margin-left:8px}[data-theme=dark] .guided-grammar{--answer-correct-bg:#244b37;--answer-correct-ink:#c5efd1;--answer-correct-border:#78c897;--answer-wrong-bg:#572e26;--answer-wrong-ink:#ffd0c4;--answer-wrong-border:#e69480}@media(max-width:700px){.guided-grammar .practice-grammar-title{margin:20px 0 24px}.guided-grammar .answer-options{gap:12px}.guided-grammar .answer-options button{padding:14px 16px;min-height:60px}.guided-grammar .answer-feedback>p,.guided-grammar .guided-example>p:not([lang=ja]){font-size:16px}.guided-grammar .answer-feedback{margin-top:24px}}.guided-grammar .sentence-phase{margin-bottom:16px;padding-bottom:12px}.guided-grammar .practice-grammar-title{margin:20px 0 24px}.guided-grammar .practice-grammar-title h2{font-size:clamp(26px,3vw,36px);line-height:1.6}.guided-grammar .answer-options{grid-template-columns:1fr;gap:6px}.guided-grammar .answer-options button{min-height:60px;padding:16px 24px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;gap:16px}.guided-grammar .answer-options button>span:first-child{display:block;flex:0 0 20px;height:auto;border:0;border-radius:0;background:none;font-size:14px;font-weight:400;align-self:baseline}.guided-grammar .answer-options button .guided-choice-text{font-size:14px;color:var(--ink)}.guided-grammar .answer-options button.correct .guided-choice-text,.guided-grammar .answer-options button.incorrect .guided-choice-text{color:inherit}.guided-grammar .answer-feedback{margin-top:20px;padding:18px 20px;border:1px solid var(--line);border-radius:8px;background:color-mix(in srgb,var(--green) 4%,var(--page))}.guided-grammar .answer-feedback h2{font-size:16px;margin:0 0 12px}.guided-grammar .answer-feedback>p{font-size:14px;margin-top:8px}.guided-grammar .feedback-meaning{display:grid;gap:4px}.guided-grammar .feedback-meaning small{font-size:11px;color:var(--muted)}.guided-grammar .answer-feedback>.feedback-example{font-size:18px;line-height:2;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.guided-grammar .feedback-translation{color:var(--muted)}.guided-grammar .guided-meaning{font-size:16px;line-height:1.8}.guided-grammar .guided-example>p:not([lang=ja]){font-size:14px}@media(max-width:700px){.guided-grammar .answer-feedback{padding:14px}.guided-grammar .answer-options button{min-height:56px}.guided-grammar .answer-feedback>.feedback-example{font-size:17px}}.guided-grammar .answer-options .guided-choice-text{flex:1;min-width:0;line-height:1.75}.guided-grammar .answer-options button:disabled:not(.correct):not(.incorrect){opacity:.72;filter:none}.guided-grammar .answer-options button:not(:disabled):hover{background:none;color:var(--green)}.guided-grammar .answer-options button.correct .guided-choice-text{text-decoration:none}@media(max-width:700px){.guided-grammar .answer-options button{padding-inline:16px}}.grammar-practice-panel .guided-grammar .sentence-session{min-height:0}.guided-grammar .answer-options button.correct:disabled,.guided-grammar .answer-options button.incorrect:disabled{border-bottom-color:transparent;border-radius:4px}@media(max-width:700px){.grammar-practice-panel .guided-grammar .sentence-session{padding-top:20px}}.lesson-sidebar .lesson-grammar-list button{align-items:center}.lesson-sidebar .lesson-grammar-list button>span[lang=ja]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root .lesson-sidebar .lesson-grammar-list button .directory-mastery-label,:root .mobile-grammar-drawer nav button .directory-mastery-label{flex-shrink:0;margin-left:auto;padding:1px 4px;border-radius:3px;font-size:10px;line-height:1.4;font-weight:500;white-space:nowrap}:root .lesson-sidebar .lesson-grammar-list button.unknown .directory-mastery-label,:root .mobile-grammar-drawer nav button.unknown .directory-mastery-label{color:var(--memory-unknown);background:var(--memory-unknown-bg)}:root .lesson-sidebar .lesson-grammar-list button.vague .directory-mastery-label,:root .mobile-grammar-drawer nav button.vague .directory-mastery-label{color:var(--memory-vague);background:var(--memory-vague-bg)}:root .lesson-sidebar .lesson-grammar-list button.known .directory-mastery-label,:root .mobile-grammar-drawer nav button.known .directory-mastery-label{color:var(--memory-known);background:var(--memory-known-bg)}.directory-status-filter button:not(.all):before{display:none}:root .directory-status-filter button.unknown{color:var(--memory-unknown)}:root .directory-status-filter button.vague{color:var(--memory-vague)}:root .directory-status-filter button.known{color:var(--memory-known)}.directory-status-filter button.active:after{background:currentColor}@media(max-width:700px){.lesson-sidebar .search-results button{display:flex;max-width:100%}:root .mobile-grammar-drawer nav button .directory-mastery-label{font-size:11px;padding:1px 4px}}:root .lesson-sidebar .lesson-grammar-list button .directory-mastery-label,:root .mobile-grammar-drawer nav button .directory-mastery-label{width:32px;box-sizing:border-box;text-align:center}.directory-mastery-label--empty{visibility:hidden}rt,rp{-webkit-user-select:none;user-select:none}.copy-typing-box.composing textarea{color:var(--ink)}.copy-typing-box.composing .copy-typing-guide>span:not(.copy-typing-remaining){color:transparent;text-decoration:none}.shortcut-list{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:14px 20px;margin:18px 0;align-items:baseline}.shortcut-list dt,.shortcut-list dd{margin:0;line-height:1.8}.shortcut-list kbd{display:inline-block;min-width:28px;padding:1px 7px;border:1px solid var(--line);border-radius:5px;background:var(--paper);font:inherit;font-size:13px;text-align:center}.shortcut-dialog .muted{font-size:12px;line-height:1.8}.practice-settings-dialog{overflow:hidden}.practice-settings-dialog .practice-setup{display:flex;flex-direction:column;max-height:calc(100dvh - 42px)}.practice-settings-dialog .practice-setup-heading{flex-shrink:0}.practice-settings-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:12px;scrollbar-gutter:stable}.practice-settings-dialog .grammar-start-button{flex-shrink:0;margin-top:16px}@media(max-width:700px){.practice-shortcut-help{display:none}}.practice-settings-scroll:focus{outline:none}.guided-grammar .guided-choice-text{white-space:pre-line}.grammar-meanings{min-width:0}.grammar-meanings p+p{margin-top:8px}:root .grammar-definition.formation-priority>h2,:root .grammar-definition.formation-priority>div,:root .grammar-definition.formation-priority>div *{color:var(--memory-unknown);font-weight:700}.formation-priority-mark{display:inline-block;margin-right:0}:root .grammar-definition.formation-priority{width:fit-content;max-width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid var(--memory-unknown);border-radius:4px;gap:16px;align-items:baseline}:root .grammar-definition.formation-priority>h2{flex:0 0 auto;white-space:nowrap;margin:0}:root .grammar-definition.formation-priority>div{min-width:0;overflow-wrap:anywhere}.practice-formation{margin:14px 0;line-height:1.8}.practice-formation>h3{font-size:14px;margin:0 0 8px}:root .practice-formation.formation-priority{display:flex;align-items:baseline;gap:16px;width:fit-content;max-width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid var(--memory-unknown);border-radius:4px}:root .practice-formation.formation-priority>h3{flex:0 0 auto;white-space:nowrap;margin:0;color:var(--memory-unknown);font-weight:700}:root .practice-formation.formation-priority>div,:root .practice-formation.formation-priority>div *{color:var(--memory-unknown);font-weight:700}.practice-formation>div{min-width:0;overflow-wrap:anywhere}:root .practice-complete .practice-complete-close{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 20px;border:1px solid var(--memory-unknown);border-radius:6px;background:var(--memory-unknown);color:var(--page);font-weight:600}.practice-complete-close:hover{opacity:.85}.shortcut-key-hint{font-size:10px;opacity:.7;font-weight:400;margin-left:4px}.review-skip-action{display:flex;justify-content:flex-end;margin-bottom:8px}.review-skip-action button{font-size:12px;color:var(--muted);min-height:36px}@media(max-width:700px){.practice-settings-dialog.grammar-settings-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px);border-radius:14px}.practice-settings-dialog.grammar-settings-dialog .practice-setup{max-height:calc(100dvh - 32px);padding:16px 14px}.practice-settings-dialog .practice-setup-heading{margin-bottom:12px;gap:10px}.practice-settings-dialog .practice-setup-heading h2{font-size:20px;line-height:1.4}.practice-settings-dialog .practice-setup-heading p{font-size:12px;line-height:1.5;margin-top:5px}.practice-settings-dialog .practice-settings-scroll{padding:4px 16px 4px 4px;scrollbar-gutter:stable}.practice-settings-dialog .practice-methods{gap:8px;margin-bottom:16px}.practice-settings-dialog .practice-methods>button{min-height:0;padding:11px 12px;gap:10px}.practice-settings-dialog .practice-method-marker{width:18px;height:18px;font-size:12px}.practice-settings-dialog .practice-method-copy{gap:3px}.practice-settings-dialog .practice-method-copy strong{font-size:14px}.practice-settings-dialog .practice-method-copy>span{font-size:12px;line-height:1.5}.practice-settings-dialog .plan-config{gap:14px;margin:12px 0}.practice-settings-dialog .plan-config legend{font-size:12px;margin-bottom:8px}.practice-settings-dialog .practice-scope-options>button{padding:8px 6px;min-height:48px;font-size:13px}.practice-settings-dialog .practice-scope-options small{font-size:11px}.practice-settings-dialog .custom-lesson-hint{font-size:12px;margin:0 0 8px}.practice-settings-dialog .custom-lesson-options{gap:8px}.practice-settings-dialog .custom-lesson-options label{min-height:48px;padding:8px 10px;gap:8px;font-size:13px}.practice-settings-dialog .custom-lesson-options small{font-size:11px}.practice-settings-dialog .grammar-start-button{min-height:44px;font-size:14px;margin-top:12px}}dialog :is(h2,h3)[tabindex="-1"]:focus{outline:none}dialog button:focus:not(:focus-visible){outline:none}dialog button:focus-visible{outline:2px solid var(--green);outline-offset:-3px}.practice-settings-scroll{padding:4px 16px 4px 4px}.copy-settings,.shortcut-dialog,.full-grammar-dialog,.native-modal .modal-box{scrollbar-gutter:stable}@media(max-width:700px){.reading-workspace{padding-inline:16px}.reading-workspace .grammar-spread{padding:14px 0 20px}.reading-workspace .grammar-title-row{align-items:flex-start;gap:8px}.reading-workspace .grammar-title-row h1{font-size:clamp(22px,5.8vw,25px);line-height:1.65;overflow-wrap:anywhere}.reading-workspace .grammar-title-row>.audio-icon-button{flex-shrink:0;margin-top:2px;min-width:40px;min-height:40px}.reading-workspace .grammar-definition{gap:12px;margin:10px 0;font-size:15px;line-height:1.8;align-items:baseline}.reading-workspace .grammar-definition>h2{flex:0 0 32px;white-space:nowrap;font-size:13px}.reading-workspace .grammar-definition>p{min-width:0;white-space:pre-line;overflow-wrap:anywhere}.reading-workspace .grammar-definition>div{overflow-wrap:anywhere}:root .reading-workspace .grammar-definition.formation-priority{gap:10px;padding:7px 10px}:root .reading-workspace .grammar-definition.formation-priority>h2{flex:0 0 auto}.reading-workspace .grammar-notes{margin-top:4px;font-size:14px}.reading-workspace .grammar-notes summary{min-height:36px;line-height:36px}.reading-workspace .brief-actions.memory-status{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:8px;margin:12px 0 16px}.reading-workspace .memory-status-label{font-size:12px;margin:0;white-space:nowrap}.reading-workspace .memory-status button{min-width:0;min-height:40px;padding:7px 10px;font-size:13px}.reading-workspace .grammar-examples{padding-top:14px}.reading-workspace .grammar-examples>header{margin-bottom:4px}.reading-workspace .grammar-examples h2{font-size:17px}.reading-workspace .example-row,.reading-workspace .example-row:has(.audio-icon-button){padding:12px 0}.reading-workspace .example-row>.example-topline>.audio-icon-button{right:0;top:12px;min-width:40px;min-height:40px}.reading-workspace .example-japanese{font-size:19px;line-height:2.25;padding-right:44px;margin:0}.reading-workspace .example-japanese rt{font-size:.55em}.reading-workspace .example-translation{width:100%;box-sizing:border-box;font-size:14px;line-height:1.8;margin-top:6px;padding:3px 6px 3px 0;overflow-wrap:anywhere}.reading-workspace .example-detail summary{min-height:36px;font-size:13px}}@supports (-webkit-touch-callout:none){html:has(.study-room),body:has(.study-room){height:100%;overflow:hidden}.study-room{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}}.directory-toggle{display:none}@media(min-width:701px){.directory-toggle{display:inline-flex}.learning-workspace:not(.practice-workspace){--directory-width:230px;grid-template-columns:var(--directory-width) minmax(0,1fr);transition:grid-template-columns .3s cubic-bezier(.22,1,.36,1)}.learning-workspace>.lesson-sidebar{min-width:0;overflow:hidden;transition:opacity .2s ease-out,transform .3s cubic-bezier(.22,1,.36,1),visibility .3s}.lesson-sidebar>*{flex-shrink:0;width:var(--directory-width)}.lesson-sidebar>.chapter-strip,.lesson-sidebar>.search-results{flex-shrink:1}.learning-workspace.directory-collapsed:not(.practice-workspace){grid-template-columns:0px minmax(0,1fr)}.learning-workspace.directory-collapsed>.lesson-sidebar{opacity:0;transform:translate(-16px);visibility:hidden;pointer-events:none}}@media(min-width:701px)and (max-width:900px){.learning-workspace:not(.practice-workspace){--directory-width:210px}}@media(prefers-reduced-motion:reduce){.learning-workspace:not(.practice-workspace),.learning-workspace>.lesson-sidebar{transition:none}}.grammar-definition>div{min-width:0;overflow-x:auto}.grammar-definition table,.sentence-analysis table{width:100%;border-collapse:collapse;margin:10px 0 18px;font-size:14px;line-height:1.8}.grammar-definition th,.grammar-definition td,.sentence-analysis th,.sentence-analysis td{border:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top;min-width:120px}.grammar-definition th,.sentence-analysis th{background:var(--surface);font-weight:600}.lesson-sidebar .search-results button{display:grid;flex:0 0 auto;min-height:64px;padding:8px 10px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(28px,auto) 16px;justify-items:start;align-content:center;row-gap:4px;text-align:left}.lesson-sidebar .search-results button>span[lang=ja]{grid-column:1;grid-row:1;width:100%;line-height:2.3}.search-result-lesson{font-size:11px;color:var(--muted);font-weight:400;white-space:nowrap}.lesson-sidebar .search-results .search-result-lesson{grid-column:1;grid-row:2}.lesson-sidebar .search-results .directory-mastery-label{grid-column:2;grid-row:1 / span 2}.example-sense[data-v-67fcb053]{margin-top:18px}.example-meaning[data-v-67fcb053]{font-size:14px;line-height:1.8;color:var(--muted)}.sense-example+.sense-example[data-v-67fcb053]{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.sense-example p[lang=ja][data-v-67fcb053]{font-size:18px;line-height:2;margin:12px 0 8px;overflow-wrap:anywhere}.sense-example[data-v-67fcb053] rt{font-size:.6em;color:var(--muted)}.example-translation[data-v-67fcb053]{font-size:14px;line-height:1.8;color:var(--muted);margin:0}.audio-icon-button[data-v-67fcb053]{vertical-align:middle;margin-left:8px}@media(max-width:700px){.sense-example p[lang=ja][data-v-67fcb053]{font-size:17px}}.round-complete-actions[data-v-ba9cbe57]{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.round-summary[data-v-ba9cbe57]{display:flex;justify-content:center;flex-wrap:wrap;gap:28px;margin:22px 0}.round-summary dt[data-v-ba9cbe57]{font-size:13px;color:var(--muted)}.round-summary dd[data-v-ba9cbe57]{margin:4px 0 0;font-size:26px;color:var(--green)}.round-summary-note[data-v-ba9cbe57]{font-size:12px;color:var(--muted)}.guided-definition[data-v-ba9cbe57]{display:grid;grid-template-columns:42px minmax(0,1fr);gap:16px;align-items:baseline;margin:12px 0;font-size:16px;line-height:1.8}.guided-definition h3[data-v-ba9cbe57]{margin:0;color:var(--muted);font-size:14px;font-weight:600}.guided-definition p[data-v-ba9cbe57]{margin:0;font-weight:400;overflow-wrap:anywhere;white-space:pre-line}.guided-quick-note p[data-v-ba9cbe57]{color:var(--green);font-weight:600}.answer-saving[data-v-ba9cbe57]{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.answer-saving svg[data-v-ba9cbe57]{animation:answer-saving-spin-ba9cbe57 1s linear infinite}@keyframes answer-saving-spin-ba9cbe57{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.answer-saving svg[data-v-ba9cbe57]{animation:none}}.flashcard-quick-note[data-v-a6e3a7ef]{margin:16px 0;color:var(--green)}.flashcard-quick-note h3[data-v-a6e3a7ef]{font-size:14px;margin:0 0 6px}.flashcard-quick-note p[data-v-a6e3a7ef]{margin:0;white-space:pre-line;overflow-wrap:anywhere;line-height:1.8}.custom-lesson-fieldset[data-v-a6e3a7ef]{margin-top:16px}.custom-lesson-hint[data-v-a6e3a7ef]{margin:0 0 10px;color:var(--muted);font-size:12px}.grammar-settings-dialog .plan-config .custom-lesson-options[data-v-a6e3a7ef]{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;max-height:none;overflow:visible;padding-right:0;box-sizing:border-box}.custom-lesson-options label[data-v-a6e3a7ef]{display:flex;align-items:center;gap:8px;min-height:48px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.custom-lesson-options label.selected[data-v-a6e3a7ef]{border-color:var(--green)}.custom-lesson-options input[data-v-a6e3a7ef]{accent-color:var(--green);flex-shrink:0}.custom-lesson-options label span[data-v-a6e3a7ef]{font-size:14px}.custom-lesson-options small[data-v-a6e3a7ef]{display:block;color:var(--muted);font-size:12px}@media(max-width:700px){.grammar-settings-dialog .plan-config .practice-scope-options button[data-v-a6e3a7ef]{flex-direction:column;gap:2px;min-width:0}}@media(max-width:700px){.grammar-settings-dialog .plan-config .custom-lesson-options[data-v-a6e3a7ef]{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.custom-lesson-options label[data-v-a6e3a7ef]{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:56px;padding:10px 12px;box-sizing:border-box}.custom-lesson-options input[data-v-a6e3a7ef]{width:16px;height:16px;margin:0}.custom-lesson-options label span[data-v-a6e3a7ef]{display:block;min-width:0;text-align:left;line-height:1.5}.custom-lesson-options small[data-v-a6e3a7ef]{margin-top:2px;line-height:1.4}}.source-grammar-table header[data-v-4d241520]{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:24px}.source-grammar-table h1[data-v-4d241520]{font-size:28px;line-height:1.5;margin:0;color:var(--ink)}.source-grammar-table header>span[data-v-4d241520]{font-size:12px;color:var(--muted);white-space:nowrap}.source-table-scroll[data-v-4d241520]{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:6px}.source-grammar-table table[data-v-4d241520]{width:100%;min-width:840px;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.9}.source-grammar-table th[data-v-4d241520],.source-grammar-table td[data-v-4d241520]{text-align:left;vertical-align:top;padding:18px 20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);overflow-wrap:anywhere}.source-grammar-table thead th[data-v-4d241520]{font-size:13px;background:var(--hover);color:var(--muted);font-weight:600}.source-grammar-table th[data-v-4d241520]:nth-child(1){width:17%}.source-grammar-table thead th[data-v-4d241520]:nth-child(2){width:21%}.source-grammar-table thead th[data-v-4d241520]:nth-child(3){width:22%}.source-grammar-table thead th[data-v-4d241520]:nth-child(4){width:40%}.source-grammar-table th[scope=rowgroup][data-v-4d241520]{font-size:17px;font-weight:600}.source-grammar-table td[data-v-4d241520]:last-child,.source-grammar-table th[data-v-4d241520]:last-child{border-right:0}.source-grammar-table tbody:last-child tr[data-v-4d241520]:last-child>*{border-bottom:0}.source-grammar-table p[data-v-4d241520]{margin:0}.table-note[data-v-4d241520]{margin-top:10px!important;font-size:12px;color:var(--muted)}.table-example+.table-example[data-v-4d241520]{margin-top:16px;padding-top:14px;border-top:1px dashed var(--line)}.table-example p[lang=ja][data-v-4d241520]{font-size:17px;line-height:2}.table-translation[data-v-4d241520]{font-size:13px;color:var(--muted);margin-top:5px!important}.table-example .audio-icon-button[data-v-4d241520]{display:inline-flex;vertical-align:middle;margin-left:6px;min-width:28px;min-height:28px}.table-mastery[data-v-4d241520]{display:flex;flex-wrap:wrap;gap:4px;margin-top:12px}.table-mastery button[data-v-4d241520]{font-size:11px;padding:4px 6px;border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--muted);cursor:pointer}.table-mastery button[aria-pressed=true][data-v-4d241520]{color:var(--green);background:var(--hover);border-color:var(--green)}@media(max-width:700px){.source-grammar-table header[data-v-4d241520]{display:block}.source-grammar-table h1[data-v-4d241520]{font-size:23px;margin-bottom:6px}.source-grammar-table td[data-v-4d241520],.source-grammar-table th[data-v-4d241520]{padding:14px}}
