:root{color:#242e26;font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--green:#285c43;--green-deep:#234c37;--green-ink:#355841;--muted:#626e63;--quiet:#637065;--line:#e7eae2;--paper:#fff;--border-radius:19px;--sidebar-width:238px;background:#f7f8f3;font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans SC,system-ui,sans-serif;font-size:16px}*,:before,:after{box-sizing:border-box}[hidden]{display:none!important}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.66}a{color:inherit;text-decoration:none}p,h1,h2,h3,ul{margin:0}ul{padding:0;list-style:none}:focus-visible{outline-offset:3px;outline:2px solid #54876c}.icon{vertical-align:middle;flex:none;width:20px;height:20px}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh}.sidebar{z-index:5;width:var(--sidebar-width);background:#fff;border-right:1px solid #e9ece4;flex-direction:column;padding:30px 18px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;width:fit-content;margin:0 0 49px 9px;display:flex}.brand-mark{background:var(--green);color:#f7faee;border-radius:13px;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 4px 7px #24523820}.brand-mark .icon{width:25px;height:25px}.brand strong{color:#26392d;letter-spacing:.07em;font-size:1.42rem;font-weight:800;line-height:1.13;display:block}.brand small{color:#647366;letter-spacing:.12em;margin-top:5px;font-size:.64rem;font-weight:700;display:block}.navigation{gap:5px;display:grid}.nav-label{color:#68746a;letter-spacing:.065em;padding:0 11px 7px;font-size:.79rem;font-weight:600}.navigation-item{color:#59665c;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;width:100%;min-height:46px;padding:0 12px;font-size:.94rem;font-weight:550;display:flex}.navigation-item:hover{color:var(--green-deep);background:#f3f6f0}.navigation-item.active{color:#27563e;background:#eaf1e7;font-weight:740}.navigation-item .icon{width:19px;height:19px}.side-bottom{gap:9px;margin-top:auto;display:grid}.side-account{color:#29382d;text-align:left;background:#f9faf6;border:1px solid #e8ece4;border-radius:13px;align-items:center;gap:9px;width:100%;min-height:62px;padding:8px;display:flex}.side-account:hover{border-color:#c6d6c8}.avatar{width:35px;height:35px;color:var(--green);background:#e5eee3;border-radius:50%;flex:none;place-items:center;font-size:.94rem;font-weight:750;display:grid}.avatar .icon{width:17px;height:17px}.side-user{color:#36473a;gap:3px;min-width:0;display:grid}.side-user strong{text-overflow:ellipsis;font-size:.86rem;overflow:hidden}.side-user small{white-space:nowrap;color:#657566;font-size:.71rem}.account-chevron{color:#657566;width:14px;height:14px;margin-left:auto}.workspace{margin-left:var(--sidebar-width)}.topbar{background:#fdfefb;border-bottom:1px solid #eaede5;justify-content:space-between;align-items:center;gap:12px;min-height:67px;padding:0 39px;display:flex}.topbar-left,.topbar-right{align-items:center;gap:19px;min-width:0;display:flex}.topbar-left{color:#424e43;font-size:.91rem;font-weight:700}.topbar-left .icon-button,.drawer-overlay,.mobile-nav{display:none}.top-date{color:#637064;white-space:nowrap;align-items:center;gap:8px;font-size:.83rem;display:inline-flex}.top-date .icon{width:16px;height:16px}.top-account{color:var(--green);background:#fff;border:1px solid #dfe8dc;border-radius:9px;align-items:center;gap:7px;max-width:min(32vw,190px);min-height:36px;padding:0 11px;font-size:.85rem;font-weight:700;display:inline-flex;overflow:hidden}.top-account:hover{background:#ecf2e8}.top-account .icon{width:15px;height:15px}.main-content{width:min(100%,1450px);margin:0 auto;padding:26px 39px 48px}.hero{isolation:isolate;background:radial-gradient(at 82% 80%,#dcebd7 0,#0000 51%),linear-gradient(110deg,#ecf3e8,#e9f1e5);border:1px solid #e5eee0;border-radius:22px;align-items:center;min-height:183px;margin-bottom:22px;padding:24px 38px;display:flex;position:relative;overflow:hidden}.hero:after{content:"";z-index:-1;border:1px solid #f6faf3a0;border-radius:50%;width:345px;height:345px;position:absolute;top:-69px;right:31px;box-shadow:0 0 0 27px #f4f8f35e,0 0 0 57px #f4f8f34f}.hero-content{z-index:1;max-width:69%;position:relative}.hero-kicker{color:#37694c;letter-spacing:.055em;align-items:center;gap:7px;width:fit-content;margin-bottom:14px;font-size:.86rem;font-weight:700;display:flex}.hero-kicker .icon{width:16px;height:16px}.hero h1{color:#263b2d;letter-spacing:-.045em;font-size:clamp(2.05rem,3.15vw,3.1rem);font-weight:790;line-height:1.22}.hero h1 span{color:#4d8261}.hero p{color:#526a58;margin-top:13px;font-size:1rem;line-height:1.6}.hero-image{pointer-events:none;width:min(30%,300px);height:auto;position:absolute;top:50%;right:5.6%;transform:translateY(-50%)rotate(-6deg)}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(253px,29%);align-items:start;gap:23px;display:grid}.right-column{gap:17px;min-width:0;display:grid}.card{background:var(--paper);border-radius:var(--border-radius);border:1px solid #e7eae1;min-width:0;box-shadow:0 2px 4px #2d352704}.scene-panel{padding:21px 24px}.section-header{align-items:center;gap:13px;min-width:0;display:flex}.section-header h2{color:#29372c;font-size:1.28rem;font-weight:760;line-height:1.3}.section-header p{color:var(--muted);margin-top:5px;font-size:.88rem;line-height:1.5}.section-header.compact{gap:10px}.section-header.compact h2{font-size:1.04rem}.section-header.compact p{margin-top:3px;font-size:.81rem}.section-symbol{border-radius:12px;flex:none;place-items:center;width:45px;height:45px;display:grid}.section-symbol.green{color:#3c7350;background:#eaf3e9}.section-symbol.amber{color:#856424;background:#faf1dc}.section-symbol.blue{color:#4c6381;background:#e9eff7}.section-symbol .icon{width:22px;height:22px}.compact .section-symbol{border-radius:10px;width:38px;height:38px}.compact .section-symbol .icon{width:18px;height:18px}.scene-picker{flex-wrap:wrap;gap:7px;margin:17px 0 15px;display:flex}.scene-chip{color:#536257;white-space:nowrap;background:#fff;border:1px solid #e6ebe2;border-radius:8px;align-content:center;align-items:center;gap:6px;min-height:37px;padding:0 10px;font-size:.818rem;font-weight:640;display:inline-flex}.scene-chip .icon{width:15px;height:15px}.scene-chip:hover{color:var(--green);border-color:#adc4b1}.scene-chip.selected{color:#305e41;background:#edf4eb;border-color:#bfd3be}.input-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.input-heading label{color:#344238;font-size:.91rem;font-weight:730}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:41px;padding:0 15px;font-size:.91rem;font-weight:680;line-height:1.1;display:inline-flex}.button .icon{width:17px;height:17px}.button.primary{background:var(--green);color:#fff;box-shadow:0 2px 3px #16483119}.button.primary:hover:not(:disabled){background:#204c37}.button.secondary{color:var(--green);background:#fff;border-color:#dbe6da}.button.secondary:hover{background:#f3f7ef;border-color:#a8c4ad}.button.danger{color:#fff;background:#974b41}.button.danger:hover{background:#78372e}.button.text{color:#486a53;background:0 0;min-height:28px;padding:0 3px;font-size:.83rem}.button.text:hover,.text-link:hover{color:#294d36;text-decoration:underline}.button.text .icon{width:14px;height:14px}.button.full{width:100%}.textarea-wrap{position:relative}.textarea-wrap textarea,.form-stack input,.form-stack textarea,.form-stack select{color:#314036;outline-offset:1px;background:#fafbf8;border:1px solid #e2e8df;border-radius:10px;width:100%;padding:12px 13px}.textarea-wrap textarea{resize:vertical;min-height:90px;padding-bottom:24px;font-size:.93rem;line-height:1.7;display:block}.textarea-wrap textarea::placeholder,.form-stack input::placeholder,.searchbox input::placeholder{color:#68756a}#context-count{pointer-events:none;color:#68756a;font-size:.73rem;position:absolute;bottom:9px;right:12px}.translation-controls{justify-content:flex-end;align-items:center;gap:12px;margin-top:11px;display:flex}.shortcut{color:#68776b;font-size:.72rem}.translation-controls .button{min-height:38px;padding-inline:14px}.translation-result{background:#f1f6ef;border:1px solid #e3ece1;border-radius:12px;margin-top:21px;padding:13px 15px 14px}.translation-head,.translation-label,.result-actions{align-items:center;display:flex}.translation-head{justify-content:space-between;gap:6px;margin-bottom:10px}.translation-label{color:#35533d;gap:8px;font-size:.9rem}.result-symbol{color:#45714f;background:#e4efe1;border-radius:7px;place-items:center;width:26px;height:26px;display:grid}.result-symbol .icon{width:15px;height:15px}.sample-label{color:#5c715f;white-space:nowrap;border-left:1px solid #d8e4d6;padding-left:8px;font-size:.72rem}.result-actions{gap:4px}.icon-button{color:#5d7262;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;place-items:center;width:35px;height:35px;padding:0;display:inline-grid}.icon-button:hover{color:#2d5b41;background:#e9f0e7;border-color:#dae7d8}.icon-button .icon{width:17px;height:17px}.english-output{color:#303e33;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-user-select:text;user-select:text;font-size:1.18rem;font-weight:550;line-height:1.8}.inline-word{color:inherit;line-height:inherit;font:inherit;-webkit-user-select:text;user-select:text;background:0 0;border:0;border-radius:4px;padding:0;display:inline}.inline-word.notable{color:#315d41;background:#e2eee0;box-shadow:inset 0 -1px #a1c2a3}.inline-word.saved.notable{background:#deebdc}.inline-word:hover,.inline-word:focus-visible{color:var(--green-deep);background:#dbeadc}.translation-tip{color:#516a58;align-items:flex-start;gap:6px;margin-top:9px;font-size:.81rem;line-height:1.6;display:flex}.translation-tip .icon,.selection-hint .icon{width:14px;height:14px;margin-top:2px}.selection-hint{color:#5a6e5e;border-top:1px solid #e0e9dd;align-items:flex-start;gap:6px;margin-top:11px;padding-top:9px;font-size:.77rem;display:flex}.progress-panel,.passage-preview,.recent-panel,.schedule-hint{padding:18px}.progress-details{justify-content:space-between;align-items:baseline;gap:6px;margin-top:17px;margin-bottom:7px;display:flex}.progress-details strong{color:#2e523b;font-variant-numeric:tabular-nums;font-size:2.02rem;font-weight:770;line-height:1.05}.progress-details span{color:#667168;font-size:.86rem}.progress-details>span{color:#416f51;font-weight:730}progress{color:#67916e;accent-color:#67916e;background:#e9eee6;border:0;border-radius:99px;width:100%;height:8px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#e9eee6;border-radius:99px}progress::-webkit-progress-value{background:#67916e;border-radius:99px}progress::-moz-progress-bar{background:#67916e;border-radius:99px}.progress-caption,.empty-text{color:var(--muted);margin:10px 0 14px;font-size:.82rem;line-height:1.55}.progress-panel>.button{min-height:38px}.passage-box{color:#65634e;background:#faf8f0;border:1px solid #f1ecdb;border-radius:9px;margin-top:13px;padding:11px 12px;font-size:.83rem;line-height:1.65}.recent-list{margin-top:8px;display:grid}.recent-list li+li{border-top:1px solid #eef0ea}.recent-list button{color:#36473b;text-align:left;background:0 0;border:0;justify-content:space-between;gap:8px;width:100%;padding:9px 0;font-size:.88rem;font-weight:680;display:flex}.recent-list button:hover{color:#285c43;text-decoration:underline}.recent-list small{color:#657368;text-align:right;font-size:.75rem;font-weight:430}.text-link{color:var(--green);margin-top:8px;font-size:.83rem;font-weight:680;display:inline-flex}.page-heading{justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:24px;display:flex}.page-title{color:#263b2d;letter-spacing:-.037em;font-size:clamp(1.85rem,3vw,2.58rem);line-height:1.2}.main-content>.page-title{margin-bottom:23px}.page-heading p{color:var(--muted);margin-top:9px;line-height:1.55}.vocabulary{padding:22px}.word-tools{justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px;display:flex}.searchbox{color:#617163;background:#fafbf8;border:1px solid #dde6db;border-radius:9px;flex:0 320px;align-items:center;gap:8px;min-width:0;padding:0 11px;display:flex}.searchbox input{outline-offset:1px;color:#2e3d34;background:0 0;border:0;width:100%;min-height:41px}.searchbox .icon{width:17px;height:17px}.filters{gap:4px;display:flex}.button.filter{color:#4d6453;background:0 0;min-height:35px;padding:0 11px}.button.filter:hover,.button.filter.chosen{color:#285c43;background:#eaf2e8}.demo-note{color:var(--muted);margin-bottom:7px;font-size:.85rem}.word-row{border-bottom:1px solid #edf0e9;grid-template-columns:minmax(0,1fr) minmax(79px,max-content) auto;align-items:center;gap:18px;min-height:74px;padding:10px 0;display:grid}.word-row:last-child{border-bottom:0}.word-main{min-width:0}.word-main>button{color:#304636;font:inherit;text-align:left;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-size:1.13rem;font-weight:750}.word-main>button:hover{text-decoration:underline}.word-main>div{color:#526257;flex-wrap:wrap;align-items:baseline;gap:5px 9px;margin-top:4px;font-size:.87rem;display:flex}.word-main small{color:#627167;font-size:.77rem}.word-status{color:#597263;white-space:nowrap;font-size:.8rem}.word-status.due{color:#3d6e4f;font-weight:700}.row-actions{gap:3px;display:flex}.empty-state{text-align:center;justify-items:center;gap:12px;padding:43px 18px 47px;display:grid}.empty-state .section-symbol{width:54px;height:54px}.empty-state h2,.completed h2{color:#314739;font-size:1.32rem}.empty-state p,.completed p,.schedule-hint p{color:var(--muted);line-height:1.65}.empty-state .button{margin-top:6px}.review-content{gap:17px;min-width:0;display:grid}.review-grid{grid-template-columns:minmax(0,1fr) minmax(245px,29%)}.schedule-hint p{margin-top:11px;font-size:.87rem}.flashcard-section,.reading{padding:22px}.flashcard-progress{color:#566e5b;justify-content:space-between;margin-bottom:9px;font-size:.9rem;font-weight:660;display:flex}.flashcard{text-align:center;background:#eff5ed;border:1px solid #e3eee0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:245px;margin:16px 0;padding:22px 15px;display:flex}.flashcard h2{color:#2e513a;overflow-wrap:anywhere;font-size:clamp(1.75rem,4.1vw,3.1rem);line-height:1.14}.flashcard-answer{color:#59705e;align-content:center;justify-items:center;gap:5px;min-height:66px;display:grid}.flashcard-answer strong{color:#2e4938;font-size:1.16rem}.flashcard-answer span{font-size:.85rem}.grading{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.button.grade{min-height:48px;padding-inline:5px}.grade.again{color:#853f35;background:#f8eeeb}.grade.hard{color:#795c28;background:#faf2df}.grade.good{color:#315a3b;background:#e7f1e5}.grade:hover{filter:brightness(.96)}.completed{align-items:center;gap:14px;padding:18px;display:flex}.completed p{margin-top:4px;font-size:.92rem}.reading h3{color:#2e513a;margin-top:17px;font-size:1.4rem}.passage-english{margin:10px 0 18px}.reading details{color:#526558;border-top:1px solid #e8eee4;padding-top:13px}.reading summary{cursor:pointer;color:#356449;font-weight:650}.reading details p{white-space:pre-wrap;margin-top:9px;line-height:1.8}.reading>p,.reading>.button{margin-top:14px}.pending{color:#526558;align-items:center;gap:8px;display:flex}.notice{color:#76562b;background:#faf3e6;border:1px solid #f2e7d2;border-radius:9px;align-items:flex-start;gap:8px;margin-top:14px;padding:9px 11px;font-size:.86rem;line-height:1.55;display:flex}.notice .icon{width:17px;height:17px;margin-top:2px}.main-content>.notice{margin-bottom:13px}dialog{color:#2e3d34;background:#fff;border:1px solid #e3e9df;border-radius:18px;width:min(440px,100vw - 26px);max-height:calc(100dvh - 30px);padding:22px;position:fixed;box-shadow:0 22px 85px #132e2455}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#182f244b}.dialog-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px;display:flex}.dialog-header h2{font-size:1.33rem;font-weight:750}.dialog-subtitle{color:var(--muted);margin-bottom:11px;font-size:.91rem;line-height:1.6}.form-stack{gap:12px;display:grid}.form-stack label{color:#3f5144;gap:6px;font-size:.89rem;font-weight:680;display:grid}.form-stack input,.form-stack textarea,.form-stack select{padding:9px 10px;font-size:1rem;font-weight:450}.form-stack select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23466a50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:35px}.form-stack input:read-only{background:#f2f5f0}.form-stack .dialog-subtitle{margin:0}.form-error{color:#983f35;font-size:.88rem;line-height:1.55}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.word-dialog-actions{align-items:center;gap:7px;margin-top:-3px;display:flex}.word-dialog-actions .button{min-height:33px}.auth-switch{color:var(--muted);margin-top:14px;font-size:.88rem}.install-setting{border-top:1px solid #e9eee6;margin-top:16px;padding-top:13px}.install-setting p{color:var(--muted);margin-top:5px;font-size:.86rem;line-height:1.65}.install-setting .button{margin:6px 0 0}#toast{z-index:10;inset:auto auto max(24px, env(safe-area-inset-bottom)) 50%;color:#fff;text-align:center;pointer-events:none;opacity:0;background:#254d37;border-radius:10px;max-width:calc(100vw - 28px);padding:9px 14px;font-size:.87rem;transition:opacity .16s,transform .16s;position:fixed;transform:translate(-50%,10px)}#toast.shown{opacity:1;transform:translate(-50%)}#selection-action{z-index:7;position:fixed}#selection-action .button{box-shadow:0 3px 12px #1a392c40}@media (width<=1240px){:root{--sidebar-width:216px}.main-content,.topbar{padding-inline:30px}.dashboard-grid{gap:17px}.scene-panel{padding:20px}}@media (width<=1040px){:root{--sidebar-width:190px}.sidebar{padding-inline:12px}.side-user small{font-size:.69rem}.main-content,.topbar{padding-inline:22px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 230px}.progress-panel,.passage-preview,.recent-panel,.schedule-hint{padding:15px}}@media (width<=880px){:root{--sidebar-width:0px}.topbar-left .icon-button{margin-left:-7px;display:inline-grid}.topbar-left{gap:7px}.sidebar{width:226px;padding:23px 16px max(14px, env(safe-area-inset-bottom));display:none;position:fixed}.sidebar.drawer-open{display:flex}.drawer-overlay{z-index:4;background:#1d362969;border:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.hero{min-height:183px}}@media (width<=650px){.main-content{padding:17px 15px calc(85px + env(safe-area-inset-bottom))}.mobile-nav{z-index:3;padding:5px 9px max(5px, env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e4eae1;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;display:grid;position:fixed;inset:auto 0 0}.mobile-nav .navigation-item{white-space:nowrap;flex-direction:column;justify-content:center;gap:4px;min-height:48px;padding:0 3px;font-size:.75rem}.mobile-nav .navigation-item .icon{width:18px;height:18px}#toast{bottom:calc(69px + env(safe-area-inset-bottom))}.topbar{min-height:56px;padding-inline:15px}.topbar-right{gap:7px}.top-date{display:none}.topbar-left{font-size:.88rem}.hero{border-radius:16px;min-height:159px;margin-bottom:15px;padding:22px 16px}.hero:after{width:195px;height:195px;top:-14px;right:-45px}.hero-content{max-width:73%}.hero h1{font-size:clamp(1.64rem,6.2vw,2.2rem)}.hero-kicker{margin-bottom:8px;font-size:.75rem}.hero p{margin-top:9px;font-size:.84rem}.hero-image{width:34%;top:59%;right:-2%}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:15px}.right-column{gap:13px}.scene-panel{padding:15px}.section-header p{font-size:.83rem}.scene-picker{gap:5px;margin:16px 0}.scene-chip{min-height:40px;padding-inline:8px;font-size:.79rem}.input-heading{margin-bottom:5px}.textarea-wrap textarea{font-size:1rem}.translation-result{margin-top:14px;padding-inline:11px}.english-output{font-size:1.06rem}.shortcut{display:none}.page-heading{align-items:flex-start;margin-bottom:15px}.page-heading p{font-size:.91rem}.page-heading .button{min-height:40px;padding-inline:8px;font-size:.79rem}.page-heading .button .icon{width:14px;height:14px}.vocabulary,.flashcard-section,.reading{padding:13px}.word-tools{flex-wrap:wrap;gap:7px}.searchbox{flex:1 0 100%}.word-row{grid-template-columns:minmax(0,1fr) max-content;gap:4px 8px}.word-status{grid-area:2/1}.row-actions{grid-area:1/2/span 2;gap:1px}.row-actions .icon-button{width:31px;height:40px}.flashcard{min-height:214px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
