@import url('/fonts.css');
:root{font-family:Arial,Helvetica,sans-serif;color:#182b27;background:#f5f7f5;font-synthesis:none;font-size:16px;--ink:#182b27;--green:#245d48;--lime:#e7f69a;--line:#dce3de;--muted:#60716a;--paper:#fff}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:11px 17px;background:#fff;color:var(--ink);font-weight:600}button:hover{border-color:#648e78;background:#f3f7ed}button:disabled{cursor:wait;opacity:.55}button.primary{background:var(--ink);color:white;border-color:var(--ink)}button.primary:hover{background:#305345}button.lime{background:var(--lime);color:var(--ink);border-color:var(--lime)}button.ghost{background:transparent;border-color:transparent}button.small{padding:8px 12px}button.danger{color:#8b2e26}a{color:var(--green)}:focus-visible{outline:3px solid #638329;outline-offset:3px}input,select,textarea{border:1px solid #b6c4bb;border-radius:10px;background:white;padding:13px;width:100%;color:var(--ink);min-height:46px}textarea{min-height:150px;line-height:1.5}label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3vw,42px);letter-spacing:-1.5px;line-height:1.14;font-weight:600}h2{font-size:24px;letter-spacing:-.7px}h3{font-size:18px}p{line-height:1.6}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:1.8px;font-weight:700}.brand{font-family:Georgia,serif;font-size:27px;font-weight:bold;letter-spacing:-1px;white-space:nowrap}.brand span{color:#87a058}.header{height:86px;display:flex;align-items:center;justify-content:space-between;gap:25px;max-width:1240px;margin:auto;padding:0 36px;border-bottom:1px solid var(--line)}.header nav{display:flex;gap:6px}.header nav button{border:0;background:none;color:var(--muted);border-radius:0;font-size:14px}.header nav button.active{color:var(--green);box-shadow:inset 0 -3px var(--green)}.account{display:flex;align-items:center;gap:12px;font-size:14px}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e5ebdf;font-weight:bold}.shell{max-width:1120px;margin:0 auto;padding:38px 24px 80px}.topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.save{font-size:13px;color:var(--muted);text-align:right}.notice{padding:12px 16px;border-radius:10px;border:1px solid #e4d4a8;background:#fff8e5;color:#705525;font-size:14px;line-height:1.5;margin-bottom:24px}.welcome{display:flex;align-items:end;justify-content:space-between;margin-bottom:26px}.welcome h1{margin-bottom:9px}.welcome p{margin:0}.badge{display:inline-flex;align-items:center;padding:6px 10px;background:#eaf0e8;border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap}.hero{background:var(--ink);color:#fff;border-radius:24px;display:grid;grid-template-columns:1.4fr 1fr;overflow:hidden;margin-bottom:26px}.hero-main{padding:34px 38px}.hero h2{font-size:34px;line-height:1.18;letter-spacing:-1px;max-width:440px;margin:17px 0}.hero .muted{color:#bacbc2}.hero .eyebrow{color:#d1e1b0}.hero-main p{max-width:400px;font-size:15px}.hero .primary-row{display:flex;align-items:center;gap:18px;margin-top:25px}.hero-side{padding:32px;background:#223a32;display:flex;flex-direction:column;justify-content:center}.path-line{display:flex;gap:16px;align-items:center;padding:11px 0;font-size:14px}.step-number{border:1px solid #607769;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}.path-line.active .step-number{background:var(--lime);color:var(--ink);border-color:var(--lime)}.path-line small{display:block;color:#afc0b6;margin-top:3px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:36px}.stat{border:1px solid var(--line);background:white;border-radius:16px;padding:22px}.stat strong{font-size:30px;display:block;margin:8px 0}.stat span{font-size:14px;color:var(--muted)}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-title h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:white;border:1px solid var(--line);padding:24px;border-radius:17px}.card p{font-size:14px;color:var(--muted)}.card .icon{width:42px;height:42px;background:#edf2e9;border-radius:12px;display:grid;place-items:center;font-size:22px;margin-bottom:18px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:16px}.progress-track{height:6px;background:#e0e7df;border-radius:10px;overflow:hidden;margin:14px 0}.progress-track span{height:100%;display:block;background:#78a358}.hero .progress-track{background:#3f564b}.lesson{max-width:820px;margin:0 auto}.lesson-head{display:flex;gap:16px;align-items:center;margin-bottom:20px}.lesson-head .grow{flex:1}.lesson-head h2{margin:4px 0}.lesson-card{padding:34px 40px;background:white;border:1px solid var(--line);border-radius:22px;min-height:420px}.lesson-card h1{font-size:30px;letter-spacing:-.7px;line-height:1.3;margin-top:25px}.lesson-card .prompt{font-size:24px;line-height:1.45;letter-spacing:-.4px}.answer-area{min-height:104px;border:2px dashed #bacaba;border-radius:14px;padding:16px;margin:26px 0 14px;display:flex;gap:10px;flex-wrap:wrap;align-content:center}.answer-area.empty{align-items:center;justify-content:center;color:#748579;font-size:15px}.token{padding:13px 19px;min-height:62px;border-radius:11px;box-shadow:0 3px 0 #e1e7df;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-weight:600;font-size:18px}.token small{font-size:12px;font-weight:normal;color:#657967}.token.selected{background:#eaf1da}.bank{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0;min-height:74px}.tools{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:22px}.tools button{font-size:14px;color:var(--muted)}.lesson-foot{border-top:1px solid var(--line);padding-top:22px;margin-top:24px;display:flex;justify-content:space-between;align-items:center;gap:12px}.feedback{border:1px solid #d6dfbd;background:#f2f7e9;border-radius:14px;padding:20px;margin-top:22px}.feedback.incorrect,.feedback.almost{background:#fff5e6;border-color:#ecd5b3}.feedback.review,.feedback.unavailable{background:#eef2f7;border-color:#c6d5e8}.feedback h3{margin-bottom:8px}.feedback .model{font-size:24px;margin:10px 0}.feedback p:last-child{margin-bottom:0}.reading{font-size:16px;color:#687f61;margin:7px 0 18px;line-height:1.5}.reading strong{color:#365b2c}.word-big{font-family:Georgia,serif;font-size:52px;letter-spacing:-1px;margin:22px 0 3px}.letters{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 18px}.letters button{min-width:42px;padding:8px}.text-answer{font-size:22px;min-height:65px}.day-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.day-card{display:flex;flex-direction:column;align-items:start;text-align:left;padding:22px;gap:8px;min-height:157px;font-weight:normal}.day-card strong{font-size:18px}.day-card.current{border-color:#5a7a47;background:#f0f5e4}.day-card.complete{border-color:#83a991}.day-card small{color:var(--muted)}.filters{display:grid;grid-template-columns:1fr 250px;gap:12px;margin-bottom:20px}.dictionary{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.word-card summary{cursor:pointer;list-style:none;display:flex;align-items:start;justify-content:space-between;gap:10px}.word-card summary strong{font-size:24px}.word-card .reading{margin:7px 0}.word-card .translation{font-size:15px;color:var(--muted);margin:7px 0}.word-card details[open]{padding-bottom:15px}.word-card .source{font-size:12px;color:var(--muted);margin:16px 0}.settings{max-width:760px}.settings .field{margin-bottom:24px}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:var(--ink);color:white;padding:60px;display:flex;flex-direction:column;justify-content:space-between}.login-art h1{font-family:Georgia,serif;font-size:66px;max-width:480px;font-weight:400;letter-spacing:-2px}.login-art p{color:#b7cdbf;max-width:360px}.login-form{display:flex;flex-direction:column;justify-content:center;padding:50px;max-width:540px;margin:auto;width:100%}.login-form h2{font-size:30px}.login-form label{margin-top:20px}.login-form button{margin-top:25px}.login-form .error{margin-top:16px;color:#923b28}.loading{padding:70px;text-align:center}.editor textarea{font-family:Consolas,monospace;font-size:14px;min-height:370px}.editor-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.chip{padding:7px 10px;font-size:14px;border-radius:8px;background:#edf2e9}.empty-state{text-align:center;padding:60px 20px}.empty-state h2{margin-bottom:12px}.hint{background:#f5f7f1;padding:18px;border-radius:12px;font-size:14px;line-height:1.6}.footer-note{text-align:center;font-size:13px;color:var(--muted);margin-top:26px;line-height:1.6}.dialogue{background:#edf3eb;padding:15px 19px;border-radius:14px 14px 14px 3px;margin-bottom:22px;font-size:14px}.block-list{display:flex;gap:6px;margin-bottom:20px}.block-list span{height:4px;flex:1;background:#dbe3d9;border-radius:8px}.block-list span.done{background:#6b8a52}.block-list span.active{background:#c1d877}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#1d352b;color:white;border-radius:12px;padding:14px 22px;max-width:calc(100vw - 32px);box-shadow:0 5px 25px #162b2720;z-index:5;display:none}#toast.visible{display:block}.list-row{padding:16px 0;border-bottom:1px solid var(--line)}.review-item{margin:16px 0}.checkmark{color:#39734c}.notes{font-size:14px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.error{color:#923b28}dialog{border:1px solid var(--line);border-radius:20px;max-width:640px;width:calc(100% - 32px);padding:28px}dialog::backdrop{background:#182b2780}button:active{transform:translateY(1px)}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:900px){.header{padding:0 20px;gap:12px}.header nav{gap:0}.header nav button{padding:10px;font-size:13px}.account .user-name{display:none}.hero-main{padding:28px}.hero-side{padding:22px}.hero h2{font-size:28px}.grid{grid-template-columns:repeat(2,1fr)}.day-grid{grid-template-columns:repeat(2,1fr)}.login-art{padding:35px}.login-art h1{font-size:50px}}
@media(max-width:640px){.header{height:auto;min-height:74px;flex-wrap:wrap;padding:18px 18px 0;gap:14px}.header .brand{font-size:24px}.header nav{order:3;width:100%;overflow-x:auto;justify-content:space-between}.header nav button{font-size:13px;padding:12px 8px;white-space:nowrap}.account{margin-left:auto}.shell{padding:25px 16px 50px}.welcome{align-items:start}.welcome h1{font-size:29px}.welcome .badge{display:none}.hero{grid-template-columns:1fr;border-radius:18px}.hero-main{padding:27px 24px}.hero-main p{font-size:14px}.hero-side{display:none}.hero .primary-row{flex-wrap:wrap}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:28px}.stat{padding:17px}.stat strong{font-size:27px}.stat span{font-size:13px}.grid,.dictionary{grid-template-columns:1fr}.card{padding:20px}.day-grid{gap:10px}.day-card{padding:17px;min-height:160px}.day-card strong{font-size:16px}.filters{grid-template-columns:1fr}.lesson-card{padding:23px 18px;min-height:400px;border-radius:16px}.lesson-card .prompt{font-size:22px}.lesson-card h1{font-size:25px}.lesson-foot{flex-wrap:wrap}.lesson-foot>.primary{flex:1}.lesson-head h2{font-size:20px}.token{font-size:17px;padding:11px 15px}.word-big{font-size:43px}.two{grid-template-columns:1fr}.login{display:block}.login-art{padding:28px;min-height:230px}.login-art h1{font-size:38px;margin-top:30px;margin-bottom:12px}.login-art p,.login-art>.eyebrow{display:none}.login-form{padding:35px 24px}.save{font-size:12px}.topline{margin-bottom:18px}.section-title h2{font-size:22px}.letters{gap:4px}.letters button{min-width:32px;flex:1;padding:8px 5px}.footer-note{font-size:12px}.editor textarea{min-height:310px}}
