:root{color-scheme:light;--ink:#1e332e;--muted:#61736b;--green:#163f35;--lime:#e2efc5;--line:#dfe5dc;--paper:#fafbf6;font-family:system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#f1f3ec;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #488b65;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,6vw,36px);letter-spacing:-1px;line-height:1.3;margin-bottom:12px}h2{font-size:22px}h3{font-size:17px}p{line-height:1.8}button{border:0}.shell{max-width:800px;margin:auto;padding:28px 24px 112px;min-height:100dvh}.top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 36px}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:1px}.brand small{display:block;font-weight:500;color:var(--muted);font-size:9px;letter-spacing:1.2px;margin-top:4px}.brand-icon{display:grid;place-items:center;width:44px;height:44px;color:#fff;background:var(--green);border-radius:14px;font-size:24px}.status{font-size:12px;background:#e5ebdf;border:1px solid #d5dfd0;border-radius:30px;padding:7px 10px;white-space:nowrap}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;color:var(--muted);margin:0 0 12px}.muted,.hint{color:var(--muted)}.hint{font-size:13px;line-height:1.7}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.intro{margin:0 0 26px}.intro p{margin-bottom:0}.day-count{text-align:right;white-space:nowrap;font-size:13px}.day-count b{font-size:32px;font-weight:500;letter-spacing:-2px}.card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:26px;margin-bottom:16px}.practice-card{padding:28px;background:#fff;box-shadow:0 6px 24px #24463105}.practice-label{font-size:12px;color:var(--muted)}.tag{font-size:11px;border:1px solid #c8d9bc;color:#35592b;background:#edf5e5;border-radius:6px;padding:4px 8px}.track{height:5px;border-radius:8px;background:#e5eadd;overflow:hidden;margin-top:16px}.track>span{display:block;height:100%;background:#77954f;border-radius:8px}.prompt{font-size:clamp(26px,6vw,35px);font-weight:650;line-height:1.65;letter-spacing:-.5px;margin:32px 0 34px;min-height:105px}.prompt small{display:block;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);margin:0 0 12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:13px 20px;border-radius:13px;font-weight:650;text-decoration:none;background:#e9eee3;color:var(--green);line-height:1.5}.btn.primary{background:var(--green);color:white}.btn.positive{background:var(--lime);color:#274124}.btn.negative{background:#fae9e3;color:#8f3c26}.btn.outline{background:transparent;border:1px solid #cbd5c5}.btn.small{min-height:44px;padding:10px 13px;font-size:13px}.full{width:100%}.btn-row{display:flex;gap:10px}.btn-row>*{flex:1}.practice-bottom{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:15px;gap:12px}.answer{background:#f1f5e9;border-radius:16px;padding:20px;margin-bottom:18px}.answer-en{font-size:24px;font-weight:650;line-height:1.5;margin:0 0 15px;overflow-wrap:anywhere}.wrong{font-size:13px;color:#904d38;line-height:1.8;margin:0;border-top:1px solid #dce4d1;padding-top:12px}.mode-switch{display:flex;background:#e8ece1;padding:4px;border-radius:13px;margin-bottom:20px;gap:4px}.mode-switch button{flex:1;min-height:44px;border-radius:9px;background:transparent;color:#52624d;font-size:14px;font-weight:600}.mode-switch button.active{background:white;color:var(--green);box-shadow:0 1px 4px #19351c10}.notice{border-left:3px solid #95aa76;padding:4px 0 4px 15px;margin:23px 2px;color:var(--muted);font-size:13px;line-height:1.8}.notice b{color:var(--ink)}.keyboard{text-align:center;font-size:11px;color:var(--muted);margin:22px 0}kbd{font:inherit;display:inline-block;background:#e7ebdf;border:1px solid #d4dccb;border-radius:4px;padding:1px 5px;margin:0 3px}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,800px);display:flex;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#fafbf6f5;border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0}.bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 2px;border-radius:12px;text-decoration:none;font-size:11px;color:var(--muted);min-height:54px}.bottom-nav a span{font-size:20px;line-height:1}.bottom-nav a[aria-current=page]{color:var(--green);font-weight:750;background:#e6eedb}.footer-note{text-align:center;font-size:11px;color:var(--muted);margin-top:26px}.lesson{display:flex;width:100%;align-items:center;gap:16px;text-align:left;padding:21px 22px;background:var(--paper);border:1px solid var(--line);border-radius:18px;margin-bottom:10px;min-height:90px;color:var(--ink)}.lesson-num{font-size:12px;color:var(--muted);border-right:1px solid var(--line);padding-right:16px}.lesson-body{flex:1;min-width:0}.lesson strong{display:block;line-height:1.5;margin-bottom:5px;overflow-wrap:anywhere}.lesson small{color:var(--muted);font-size:12px}.lesson .arrow{color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.stat{padding:20px 8px;background:#e8eedf;border-radius:16px;text-align:center}.stat b{display:block;font-size:30px;font-weight:600}.stat span{font-size:11px;color:var(--muted)}.course-stat{margin:24px 0}.course-stat .row{font-size:13px}.course-stat .track{margin-top:10px}.link{display:block;text-decoration:none;padding:17px 0;border-bottom:1px solid var(--line);font-weight:600}.link small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:6px}.resource-mark{font-size:11px;letter-spacing:2px;color:var(--muted);margin-bottom:16px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0}.settings-row select{min-height:44px;border:1px solid #c5d2bc;border-radius:9px;background:white;color:var(--ink);padding:8px 12px}.settings-row label{font-size:14px}.empty{text-align:center;padding:44px 24px}.empty-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--lime);margin:0 auto 22px;font-size:27px}.banner{background:var(--lime);padding:14px 16px;border-radius:13px;margin-bottom:16px;font-size:13px;line-height:1.7}.banner button{background:var(--green);color:white;border-radius:8px;padding:10px 12px;margin:8px 0;min-height:44px}.error{background:#f9e3dc;color:#7a3022}.version{font-family:ui-monospace,monospace;background:#e7eddc;padding:4px 8px;border-radius:6px;font-size:13px}.log{font-size:13px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.list{padding-left:20px;line-height:1.9}.release{padding:16px 0;border-bottom:1px solid var(--line)}.release strong{font-size:14px}.release small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.week{display:flex;gap:7px;margin:24px 0}.week>div{flex:1;text-align:center;font-size:11px;color:var(--muted)}.week span{display:grid;place-items:center;height:39px;border-radius:9px;margin-top:8px;background:#e8ede0;color:#536b42}.week .done{background:var(--green);color:white}details{margin-top:18px}summary{cursor:pointer;min-height:44px;line-height:44px;font-size:14px}.file-input{max-width:100%;margin:12px 0;line-height:2}.skip{position:fixed;top:-100px;z-index:50;background:white;padding:15px}.skip:focus{top:0}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:105px;z-index:30;max-width:90%;width:max-content;background:var(--green);color:white;border-radius:12px;padding:0;font-size:13px;pointer-events:none}#toast:not(:empty){padding:14px 18px}[hidden]{display:none!important}code{overflow-wrap:anywhere}.sentence{padding:14px 0;border-bottom:1px solid var(--line)}.sentence p{margin:0 0 8px}.sentence button{margin-top:8px}@media(max-width:480px){.shell{padding:21px 18px 110px}.top{margin-bottom:28px}.brand{font-size:21px}.brand small{font-size:8px}.card,.practice-card{padding:22px 20px}.prompt{margin:27px 0;min-height:120px}.day-count b{font-size:28px}.btn{padding:13px 12px}.btn-row.wrap{flex-direction:column}.intro{margin-bottom:22px}.status{font-size:11px;padding:6px 8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
