:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#202733;font-synthesis:none;text-rendering:optimizelegibility;--bg:#f5f6f8;--surface:#fff;--surface-soft:#f8f9fb;--surface-muted:#eef1f4;--ink:#202733;--muted:#75808c;--muted-strong:#53606c;--border:#e0e5ea;--border-strong:#cfd7de;--accent:#5662c7;--accent-strong:#4552b4;--accent-soft:#eef0ff;--success:#39785a;--success-soft:#edf7f0;--danger:#a75656;--danger-soft:#fff1f1;--warning:#946f36;--warning-soft:#fbf4e7;--shadow:0 16px 36px #222c3a0f;--radius-lg:18px;--radius-md:12px;--radius-sm:8px;--focus-ring:0 0 0 3px #5662c733;background:#f5f6f8;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Inter,Segoe UI,system-ui,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#11151b;--surface:#191e25;--surface-soft:#151a20;--surface-muted:#222a33;--ink:#edf1f4;--muted:#9aa6b1;--muted-strong:#c5cdd4;--border:#2b343e;--border-strong:#3b4752;--accent:#8992ef;--accent-strong:#a6adff;--accent-soft:#262b4b;--success:#75c39a;--success-soft:#1d3529;--danger:#dc8a8a;--danger-soft:#3a2225;--warning:#d9b26b;--warning-soft:#3b3120;--shadow:0 16px 36px #00000038;--focus-ring:0 0 0 3px #8992ef4d}}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{box-shadow:var(--focus-ring);outline:none}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--border);background:var(--surface);z-index:10;flex-direction:column;width:236px;padding:28px 14px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;min-width:max-content;padding:0 10px;display:inline-flex}.brand-mark{background:var(--accent-soft);border:1px solid var(--border);border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex;overflow:hidden}.brand-mark img{object-fit:contain;width:25px;height:25px}.brand-copy{flex-direction:column;line-height:1;display:flex}.brand-copy strong{letter-spacing:-.02em;font-size:.96rem;font-weight:700}.brand-copy span{color:var(--muted);letter-spacing:.18em;margin-top:5px;font-size:.54rem;font-weight:700}.side-nav{margin-top:55px}.nav-label{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin:0 12px 10px;font-size:.64rem;font-weight:700}.nav-item{border-radius:var(--radius-sm);color:var(--muted-strong);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:11px;width:100%;margin:3px 0;padding:11px 12px;transition:background .16s,color .16s;display:flex}.nav-item:hover{background:var(--surface-soft);color:var(--ink)}.nav-item.active{background:var(--accent-soft);color:var(--accent-strong);font-weight:650}.nav-item em{background:var(--accent);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;margin-left:auto;padding:0 5px;font-size:.64rem;font-style:normal;display:inline-flex}.sidebar-bottom{margin-top:auto}.local-status{border-top:1px solid var(--border);color:var(--muted);align-items:center;gap:8px;margin:0 10px 14px;padding-top:15px;font-size:.72rem;display:flex}.status-dot,.activity-dot,.eyebrow-dot{background:var(--success);border-radius:50%;width:7px;height:7px;display:inline-block}.profile-row{text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:7px 10px;display:flex}.profile-row:disabled{opacity:1}.profile-row>span:last-child{flex-direction:column;gap:3px;display:flex}.profile-row strong{font-size:.78rem;font-weight:650}.profile-row small{color:var(--muted);font-size:.67rem}.avatar{background:var(--ink);color:var(--surface);border-radius:50%;justify-content:center;align-items:center;width:29px;height:29px;font-size:.74rem;font-weight:700;display:inline-flex}.main-shell{width:calc(100% - 236px);min-width:0;margin-left:236px}.mobile-topbar{display:none}.workspace-bar{background:var(--surface);border-bottom:1px solid var(--border);z-index:9;justify-content:space-between;align-items:center;height:62px;padding:0 clamp(24px,5vw,68px);display:flex;position:sticky;top:0}.workspace-bar>div:first-child{align-items:center;gap:10px;font-size:.79rem;display:flex}.workspace-breadcrumb{color:var(--muted);letter-spacing:.08em;font-weight:650}.workspace-divider{color:var(--border-strong)}.workspace-bar strong{font-weight:650}.workspace-actions{align-items:center;gap:20px;display:flex}.date-label{color:var(--muted);font-size:.73rem}.locale-button{border:1px solid var(--border-strong);color:var(--muted-strong);cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;min-width:32px;height:29px;padding:0 9px;font-size:.68rem;font-weight:700;transition:border-color .16s,color .16s;display:inline-flex}.locale-button:hover{border-color:var(--accent);color:var(--accent-strong)}.content{max-width:1240px;margin:0 auto;padding:64px clamp(24px,5vw,68px) 72px}.view{animation:.2s both view-in}@keyframes view-in{0%{opacity:.2;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.view-intro{justify-content:space-between;align-items:flex-end;gap:32px;display:flex}.overview-intro{margin-bottom:43px}.compact-intro{margin-bottom:38px}.eyebrow{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:8px;margin:0 0 14px;font-size:.68rem;font-weight:700;display:flex}.eyebrow.small{letter-spacing:.1em;margin-bottom:9px;font-size:.64rem}.lead{color:var(--muted-strong);max-width:590px;margin:17px 0 0;font-size:.96rem;line-height:1.65}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.055em;max-width:780px;margin:0;font-size:clamp(2.3rem,4vw,4.05rem);font-weight:680;line-height:1.04}h2{letter-spacing:-.025em;margin-bottom:0;font-size:1.13rem;line-height:1.35}h3{font-size:1rem;line-height:1.5}.intro-actions{flex-direction:column;align-items:flex-start;gap:12px;min-width:174px;display:flex}.quiet-note{color:var(--muted);align-items:center;gap:7px;font-size:.72rem;display:inline-flex}.button{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:0 14px;font-size:.78rem;font-weight:650;transition:background .16s,border-color .16s,color .16s,opacity .16s;display:inline-flex}.button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.45}.primary-button{background:var(--accent);color:#fff}.primary-button:hover{background:var(--accent-strong)}.secondary-button{background:var(--surface);border-color:var(--border-strong);color:var(--ink)}.secondary-button:hover{border-color:var(--accent);color:var(--accent-strong)}.text-button{color:var(--accent-strong);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:.75rem;font-weight:650;display:inline-flex}.text-button:hover{color:var(--accent)}.metric-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:15px;display:grid}.metric-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;min-height:137px;padding:19px 20px;display:flex}.metric-label{color:var(--muted);font-size:.72rem;font-weight:650}.metric-card strong{letter-spacing:-.06em;margin:18px 0 7px;font-size:2.1rem;font-weight:650;line-height:1}.metric-meta{color:var(--muted);font-size:.72rem}.progress-track{background:var(--surface-muted);border-radius:999px;height:5px;overflow:hidden}.metric-card .progress-track{margin-top:auto}.progress-fill{background:var(--accent);border-radius:inherit;height:100%;transition:width .22s;display:block}.overview-grid{grid-template-columns:minmax(0,1.45fr) minmax(270px,.75fr);gap:15px;display:grid}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);min-width:0}.plan-panel,.next-panel{min-height:410px;padding:24px}.panel-heading{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.count-badge,.soft-badge{background:var(--surface-soft);border:1px solid var(--border);color:var(--muted-strong);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;min-height:27px;padding:0 9px;font-size:.67rem;font-weight:650;display:inline-flex}.task-list{border-top:1px solid var(--border);margin-top:22px}.task-row{border:0;border-bottom:1px solid var(--border);cursor:pointer;text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:69px;padding:10px 2px;display:flex}.task-row:hover .task-copy strong{color:var(--accent-strong)}.task-check{border:1px solid var(--border-strong);color:#fff;border-radius:50%;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;transition:background .16s,border-color .16s;display:inline-flex}.task-row.done .task-check{background:var(--success);border-color:var(--success)}.task-row.done .task-copy strong{color:var(--muted);text-decoration:line-through}.task-copy{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.task-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:620;overflow:hidden}.task-copy span{color:var(--muted);font-size:.7rem}.task-type{color:var(--muted);white-space:nowrap;font-size:.65rem}.success-note,.inline-notice{color:var(--success);align-items:center;gap:7px;margin:17px 0 0;font-size:.72rem;display:flex}.add-task-form{gap:8px;margin-top:18px;display:flex}.add-task-form input,.planner-form-panel input,.planner-form-panel textarea,.planner-form-panel select,.add-word-form input{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--ink);outline:0;width:100%;min-width:0;min-height:38px;padding:0 11px}.add-task-form input::placeholder,textarea::placeholder,input::placeholder{color:var(--muted)}.icon-button{background:var(--accent-soft);border-radius:var(--radius-sm);color:var(--accent-strong);cursor:pointer;border:1px solid #0000;flex:0 0 39px;justify-content:center;align-items:center;height:39px;transition:background .16s,border-color .16s;display:inline-flex}.icon-button:hover{border-color:var(--accent)}.next-panel{background:var(--accent-soft);border-color:color-mix(in srgb, var(--accent) 18%, var(--border));flex-direction:column;display:flex}.panel-icon{background:var(--surface);border:1px solid var(--border);color:var(--accent-strong);border-radius:9px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.next-panel .panel-icon{margin-bottom:auto}.next-panel h2{max-width:290px;font-size:1.26rem;font-weight:570;line-height:1.45}.next-actions{margin-top:27px}.activity-line{border-top:1px solid color-mix(in srgb, var(--accent) 16%, var(--border));color:var(--muted-strong);align-items:center;gap:7px;margin-top:auto;padding-top:16px;font-size:.69rem;display:flex}.activity-line time{color:var(--muted);margin-left:auto}.activity-dot{background:var(--accent);width:6px;height:6px}.planner-layout,.words-layout,.poems-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:15px;display:grid}.planner-form-panel,.plan-preview-panel,.flashcard,.word-list-panel,.poem-library,.poem-reader{padding:25px}.planner-form-panel label,.add-word-form label{color:var(--muted-strong);margin-bottom:8px;font-size:.71rem;font-weight:650;display:block}.planner-form-panel textarea{resize:vertical;min-height:132px;padding:12px}.form-row{justify-content:space-between;align-items:flex-end;gap:13px;margin-top:20px;display:flex}.form-row>div{flex:1}.form-row select{appearance:none;padding:0 11px}.form-row .button{min-width:153px}.principles{border-top:1px solid var(--border);margin-top:31px;padding-top:6px}.principles>div{border-bottom:1px solid var(--border);align-items:center;gap:14px;min-height:48px;display:flex}.principles span{color:var(--accent);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.67rem}.principles p{color:var(--muted-strong);margin:0;font-size:.73rem}.plan-preview-panel{flex-direction:column;min-height:455px;display:flex}.plan-preview-panel h2{max-width:455px}.plan-steps{margin:44px 0 0;padding:0;list-style:none}.plan-steps li{border-top:1px solid var(--border);align-items:flex-start;gap:13px;min-height:57px;padding:17px 0;font-size:.82rem;display:flex}.plan-steps li>span{background:var(--success-soft);color:var(--success);border-radius:50%;flex:0 0 21px;justify-content:center;align-items:center;width:21px;height:21px;display:inline-flex}.panel-note{color:var(--muted);max-width:390px;margin-top:auto;font-size:.72rem;line-height:1.6}.empty-state{color:var(--muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;min-height:200px;font-size:.78rem;display:flex}.empty-state svg{color:var(--accent)}.module-stats{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:15px;display:grid}.module-stats>div{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;padding:17px 19px;display:flex}.module-stats strong{letter-spacing:-.04em;font-size:1.6rem;font-weight:650}.module-stats span{color:var(--muted);margin-top:5px;font-size:.7rem}.add-word-form{grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:15px;padding:20px;display:grid}.form-actions{justify-content:flex-end;align-items:end;gap:8px;display:flex}.inline-notice{margin:-4px 0 12px}.flashcard{flex-direction:column;min-height:495px;display:flex}.flashcard-top{justify-content:space-between;align-items:center;display:flex}.word-index{color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.68rem}.word-face{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px 20px;display:flex}.word-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem}.word-face h2{letter-spacing:-.06em;margin:20px 0 27px;font-size:clamp(2.5rem,6vw,4.4rem);font-weight:620}.reveal-button{background:var(--surface-soft);border:1px solid var(--border);color:var(--muted-strong);cursor:pointer;border-radius:999px;align-items:center;gap:8px;min-height:37px;padding:0 14px;font-size:.74rem;display:inline-flex}.reveal-button:hover{border-color:var(--accent);color:var(--accent-strong)}.word-answer{max-width:510px}.word-answer strong{color:var(--accent-strong);font-size:1rem;font-weight:650}.word-answer p{color:var(--muted-strong);margin:12px 0 0;font-size:.82rem;line-height:1.6}.rating-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.rating-button{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;text-align:left;flex-direction:column;gap:4px;min-height:57px;padding:10px;transition:border-color .16s,background .16s;display:flex}.rating-button:hover{border-color:var(--accent)}.rating-button strong{font-size:.75rem;font-weight:650}.rating-button small{color:var(--muted);font-size:.65rem}.rating-button.again:hover{background:var(--danger-soft);border-color:var(--danger)}.rating-button.hard:hover{background:var(--warning-soft);border-color:var(--warning)}.rating-button.good:hover{background:var(--success-soft);border-color:var(--success)}.word-list-panel{min-height:495px}.word-list-panel .panel-heading>svg{color:var(--accent)}.compact-list{border-top:1px solid var(--border);margin-top:20px}.compact-list-row,.poem-select{border:0;border-bottom:1px solid var(--border);cursor:pointer;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:14px 2px;display:flex}.compact-list-row:hover,.compact-list-row.selected,.poem-select:hover,.poem-select.selected{color:var(--accent-strong)}.compact-list-row>span,.poem-select>span:first-child{flex-direction:column;gap:5px;min-width:0;display:flex}.compact-list-row strong,.poem-select strong{font-size:.79rem;font-weight:620}.compact-list-row small,.poem-select small{color:var(--muted);font-size:.67rem}.compact-list-row time,.poem-due{color:var(--muted);white-space:nowrap;font-size:.67rem}.poem-library{min-height:500px}.poem-select{padding:16px 2px}.poem-select.selected{border-left:2px solid var(--accent);padding-left:10px}.poem-reader{min-height:500px}.poem-heading{justify-content:space-between;align-items:flex-start;display:flex}.poem-heading h2{letter-spacing:-.06em;font-size:2.15rem;font-weight:620}.poem-count{color:var(--muted);font-size:.7rem}blockquote{border-left:2px solid var(--accent);white-space:pre-line;margin:46px 0 30px;padding-left:22px;font-family:Noto Serif SC,Songti SC,Georgia,serif;font-size:clamp(1.3rem,2.2vw,1.8rem);line-height:1.9}.reader-controls{border-bottom:1px solid var(--border);gap:22px;padding-bottom:16px;display:flex}.reading-box,.hint-box{border-radius:var(--radius-sm);margin-top:16px;padding:15px 16px}.reading-box{background:var(--surface-soft)}.hint-box{background:var(--accent-soft)}.reading-box p,.hint-box p{margin:7px 0 0;font-size:.77rem;line-height:1.7}.reading-box p{color:var(--muted-strong)}.hint-box p{color:var(--accent-strong)}.poem-footer{justify-content:space-between;align-items:center;margin-top:auto;padding-top:28px;display:flex}.poem-footer>span{color:var(--muted);align-items:center;gap:7px;font-size:.7rem;display:inline-flex}.review-summary{justify-content:space-between;align-items:center;margin-bottom:15px;padding:25px;display:flex}.review-summary strong{letter-spacing:-.07em;margin:13px 0 5px;font-size:3.4rem;font-weight:650;display:block}.review-summary p{color:var(--muted);margin:0;font-size:.75rem}.review-ring{border:8px solid var(--surface-muted);border-radius:50%;justify-content:center;align-items:center;width:94px;height:94px;display:flex;position:relative}.review-ring:before{border:2px solid var(--accent);content:"";opacity:.75;border-radius:50%;position:absolute;inset:-8px}.review-ring span{font-size:.8rem;font-weight:650;position:relative}.review-actions{grid-template-columns:repeat(2,1fr);gap:15px;display:grid}.review-action{cursor:pointer;text-align:left;align-items:center;gap:13px;width:100%;min-height:105px;padding:20px;transition:border-color .16s;display:flex}.review-action:hover:not(:disabled){border-color:var(--accent)}.review-action:disabled{cursor:not-allowed;opacity:.48}.review-action>span:nth-child(2){flex-direction:column;flex:1;gap:6px;display:flex}.review-action strong{font-size:.85rem}.review-action small{color:var(--muted);font-size:.7rem}.review-action>svg{color:var(--accent)}.all-clear{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:265px;padding:25px;display:flex}.success-icon{background:var(--success-soft);color:var(--success);border-radius:50%;justify-content:center;align-items:center;width:49px;height:49px;display:inline-flex}.all-clear h2{margin:17px 0 8px}.all-clear p{color:var(--muted);margin-bottom:22px;font-size:.76rem}.footer{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;margin:0 clamp(24px,5vw,68px);padding:20px 0 28px;font-size:.68rem;display:flex}@media (width<=900px){.sidebar{display:none}.main-shell{width:100%;margin-left:0}.mobile-topbar{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:62px;padding:0 20px;display:flex}.mobile-topbar .brand{padding:0}.workspace-bar{position:static}.content{padding-top:44px}}@media (width<=680px){.workspace-bar{height:52px;padding:0 20px}.workspace-actions{gap:0}.date-label,.workspace-actions .locale-button{display:none}.content{padding:36px 16px 54px}h1{font-size:2.3rem}.view-intro,.overview-intro{flex-direction:column;align-items:flex-start;gap:24px;margin-bottom:31px}.intro-actions{align-items:flex-start;width:100%}.metric-grid,.module-stats{grid-template-columns:1fr}.metric-card{min-height:112px}.overview-grid,.planner-layout,.words-layout,.poems-layout,.review-actions{grid-template-columns:1fr}.plan-panel,.next-panel,.planner-form-panel,.plan-preview-panel,.flashcard,.word-list-panel,.poem-library,.poem-reader{min-height:auto;padding:20px}.next-panel{min-height:245px}.plan-preview-panel{min-height:330px}.plan-steps{margin-top:28px}.add-word-form{grid-template-columns:1fr}.form-row{flex-direction:column;align-items:stretch}.form-row .button{width:100%}.flashcard{min-height:445px}.word-face{padding:30px 5px}.word-face h2{font-size:3rem}.poem-library{min-height:auto}blockquote{margin:34px 0 25px;padding-left:16px}.poem-footer{flex-direction:column;align-items:flex-start;gap:18px}.poem-footer .button{width:100%}.review-summary{padding:20px}.footer{flex-direction:column;gap:7px;margin:0 16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
