@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#163638;--muted:#758384;--paper:#f6f7f4;--line:#e4e9e4;--green:#245c4e;--mint:#e3eee5;--orange:#e99861;--radius:18px;font-family:'DM Sans',Segoe UI,sans-serif;color:var(--ink);background:var(--paper);font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;transition:.16s}button:disabled{opacity:.55;cursor:wait}button:hover:not(:disabled){filter:brightness(.96)}a{color:inherit}button{border:0}.app-shell{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:40px 25px 26px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-family:Manrope,sans-serif;font-size:28px;font-weight:800;letter-spacing:-1.5px;text-decoration:none;white-space:nowrap}.brand>span{font-weight:500}.brand i{font-style:normal;color:var(--orange);font-size:31px;margin-left:5px}.workspace-label{font-size:9px;letter-spacing:1.6px;color:var(--muted);margin:48px 9px 15px;font-weight:700}nav{display:flex;flex-direction:column;gap:7px}nav button{background:transparent;text-align:left;padding:14px 13px;border-radius:10px;color:#637574;font-weight:550;font-size:13px;display:flex;align-items:center;gap:11px}nav button span{font-size:21px;width:23px;color:var(--green)}nav button.selected{background:var(--mint);color:var(--ink)}.sidebar-bottom{margin-top:auto;padding-top:36px;display:grid;grid-template-columns:40px 1fr;column-gap:9px;align-items:center}.sidebar-bottom .avatar{grid-row:span 2}.sidebar-bottom strong{font-size:12px}.sidebar-bottom small{font-size:10px;color:var(--muted)}.sidebar-bottom button{grid-column:2;font-size:11px;text-align:left;padding-left:0;margin-top:8px}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#efe5d7;border-radius:50%;color:var(--green);font-weight:700}.sidebar-note{font-size:10px;line-height:1.7;color:#8c9895;margin-top:35px;border-top:1px solid var(--line);padding-top:20px}main{min-width:0;padding:0 52px 45px;max-width:1700px}header{height:85px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12px}.pill{border:1px solid #dfe6df;background:white;padding:7px 11px;border-radius:7px;font-size:10px;display:flex;align-items:center;gap:10px}.status-dot{background:#5f9877;border-radius:50%;width:6px;height:6px;display:inline-block}.status-dot.offline{background:#c89b60}.page-heading{padding:43px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.7px;color:var(--green);margin-bottom:14px}h1,h2,h3{font-family:Manrope,Segoe UI,sans-serif;margin-top:0;letter-spacing:-.8px}h1{font-size:36px;font-weight:750;margin-bottom:12px}h2{font-size:22px;font-weight:700}h3{font-size:17px}.orange{color:var(--orange)}p{color:#6d7e7c;font-size:13px;line-height:1.7;margin-top:0}.page-heading p{margin-bottom:0}.muted{color:var(--muted);font-size:12px}.date-label{color:#85908b;font-size:11px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.stats article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px 24px}.stats article>span{font-size:11px;color:#70807b}.stats strong{display:block;font-family:Manrope,sans-serif;font-size:37px;margin:12px 0 8px;font-weight:650}.stats small{font-size:10px;color:#8b9791}.hero-card{background:#e5eee4;border:1px solid #dce5da;border-radius:var(--radius);padding:34px 38px;display:flex;justify-content:space-between;overflow:hidden;min-height:294px}.hero-card h2{font-size:31px;line-height:1.25;font-weight:650}.hero-card .eyebrow{font-size:8px;letter-spacing:1.6px}.hero-card p{font-size:11px}.primary,.secondary{padding:12px 19px;border-radius:8px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:42px}.primary{background:var(--green);color:white}.secondary{background:white;color:var(--green);border:1px solid #d2ded5}.primary span{margin-left:15px}.text-button{background:none;color:var(--green);font-weight:600;font-size:11px;padding:8px}.hero-art{width:47%;position:relative;align-self:stretch}.art-card{position:absolute;left:18%;top:7%;width:155px;height:188px;background:#fffcf3;box-shadow:0 15px 30px #52654618;border:1px solid #ebe6d3;transform:rotate(-10deg);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:75px;color:#416748}.art-card span{font-family:monospace;font-size:11px;letter-spacing:1px;color:#87927f;margin-top:8px}.art-circle{position:absolute;right:5%;top:-7%;font-size:110px;color:#e8a371;transform:rotate(10deg)}.art-note{position:absolute;right:0;bottom:10px;transform:rotate(8deg);font-family:Georgia,serif;font-style:italic;font-size:24px;line-height:1.2;color:#5b7c63}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:29px 0 17px}.section-heading h2,.section-heading h3{margin:0;font-size:18px;letter-spacing:-.4px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#94a099;font-weight:600;padding:16px 20px;border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #eef1ed;color:#5e726d}td strong{color:var(--ink);font-size:11px}td small{display:block;margin-top:5px;font-size:10px;color:#8f9b94}tr:last-child td{border-bottom:0}.badge,.unit-tag{display:inline-block;border-radius:5px;padding:5px 8px;background:#f0efe6;color:#8a7e50;font-size:9px;font-weight:600}.badge.success{color:#448363;background:#e9f3eb}.badge.warning{background:#f9e7dc;color:#ac683c}.unit-tag{text-transform:uppercase;letter-spacing:1px;background:#eef3ec;color:#6a886c;margin-bottom:16px}.cloud-state{margin-top:28px;font-size:10px;color:#87958b;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.cloud-state small{margin-left:auto;color:#9aa49d;font-size:9px}.card,.lesson-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:27px;margin-bottom:20px}.card h2{font-size:20px}.split-panel{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(340px,1.2fr);gap:22px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:550;margin-bottom:16px;color:#5a7268}input,select,textarea{width:100%;border:1px solid #dce4dc;border-radius:7px;padding:11px 12px;color:var(--ink);background:#fdfefb;font-size:13px;min-width:0}textarea{resize:vertical}label small{font-weight:400;color:var(--muted);line-height:1.5;font-size:10px}.notice{padding:15px 20px;border-radius:10px;margin:20px 0;font-size:13px}.notice.error{background:#fcece5;color:#9e452e;border:1px solid #f1cebd}.login{max-width:430px;margin:65px auto}.login h1{font-size:44px;line-height:1.2}.login em{font-family:Georgia,serif;font-weight:400;color:#698b6b}.login p{margin-bottom:27px}.login form{margin-bottom:20px}.login .primary{width:100%}.login>small{color:var(--muted);font-size:10px}.empty{border:1px dashed #cddace;background:#fafcf7;border-radius:14px;padding:45px;text-align:center;font-size:12px;color:var(--muted)}.empty.compact{padding:30px}.lesson-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}.lesson-card h2{font-size:22px}.lesson-card p{min-height:36px}.lesson-meta{display:flex;gap:18px;font-size:10px;color:var(--muted);margin-bottom:20px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tags span{font-size:9px;color:#8b8e78;background:#f4f3ea;padding:5px 8px;border-radius:5px}.lesson-card .text-button{margin-top:18px;padding-left:0}.person{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.person strong{font-size:12px}.person small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.person .text-button{margin-left:auto}.count{font-size:11px;padding:4px 8px;background:var(--mint);border-radius:20px;margin-left:8px}.material-row{padding:20px;background:#f7f9f4;border:1px solid #e3e9de;border-radius:10px;margin-bottom:14px}.material-row label{font-size:10px}.import-box{padding:20px;background:#edf3e9;border:1px dashed #c6d6c0;border-radius:10px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin:20px 0}.import-box strong{font-size:12px}.import-box p{font-size:10px;margin:6px 0 0}.file-label{margin:0;max-width:240px}.file-label input{font-size:10px;background:white}.checks{display:flex;flex-wrap:wrap;gap:14px}.checks label{flex-direction:row;align-items:center}.checks input{width:auto}.report summary{cursor:pointer;font-size:12px;font-weight:600}.attempt{border-bottom:1px solid var(--line);padding:20px 0}.attempt>strong{display:block;margin:10px 0;font-size:14px}.attempt p{margin:5px 0}.attempt:last-child{border-bottom:0}.resume-card{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:12px;gap:14px}.resume-card small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.exercise{max-width:850px;margin:0 auto}.exercise-meta{display:flex;justify-content:space-between;font-size:11px;margin-bottom:25px}.exercise .prompt{font-size:34px;text-align:center;margin:35px 0}.writing-pad{margin:25px 0 10px;border:1px solid #dce5db;border-radius:10px;overflow:hidden;background:white}.writing-pad canvas{display:block;width:100%;height:auto;touch-action:none}.feedback{max-width:650px;margin:auto}.feedback h2{margin:25px 0}.feedback .primary{display:flex;margin-top:25px}.recording-area{padding:40px 0;display:flex;flex-direction:column;align-items:center;gap:17px}.record-button{width:85px;height:85px;border-radius:50%;background:#e4eee4;color:var(--green);font-size:30px;border:5px solid #f2f5ed}.record-button.recording{background:#f4d8c7;color:#b94b2d;animation:pulse 1.5s infinite}.recording-area strong{font-size:13px}.recording-area small{color:var(--muted);font-size:10px;text-align:center}.completion{text-align:center}.completion-star{font-size:72px;color:var(--orange)}.completion h2{margin-top:20px}.correct{color:#39795b}.incorrect{color:#aa5737}.loading{padding:80px;text-align:center;color:var(--muted)}#blazor-error-ui{display:none;background:#fbe0cc;position:fixed;bottom:0;padding:15px;width:100%;z-index:100}.mobile .sidebar-note{display:none}.mobile .app-shell{display:block}@keyframes pulse{50%{box-shadow:0 0 0 12px #efd0bd50}}@media(min-width:1600px){main{padding-left:75px;padding-right:75px}.hero-card{padding:42px 48px}.hero-art{max-width:450px}}@media(max-width:1100px){.app-shell{grid-template-columns:210px 1fr}.sidebar{padding:32px 17px}main{padding:0 28px 35px}.brand{font-size:24px}.workspace-label{font-size:8px}.hero-art{width:42%}.art-card{width:120px;height:155px;font-size:60px;left:0}.art-circle{font-size:75px}.art-note{font-size:20px}.split-panel{grid-template-columns:1fr}.date-label{display:none}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:18px 20px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:25px}.workspace-label,.sidebar-note,.sidebar-bottom{display:none}nav{flex-direction:row;flex-wrap:wrap;margin-top:13px;gap:3px}nav button{font-size:11px;padding:9px 10px;gap:7px}nav button span{font-size:17px;width:auto}main{padding:0 20px 30px}header{height:58px;font-size:10px}.page-heading{padding:29px 0 22px;align-items:flex-start}h1{font-size:29px}.page-heading p{font-size:12px}.eyebrow{font-size:8px}.stats{gap:8px}.stats article{padding:15px 12px}.stats article>span{font-size:9px}.stats strong{font-size:28px}.stats small{font-size:8px}.hero-card{padding:26px 22px;min-height:250px}.hero-card h2{font-size:26px}.art-card{width:90px;height:125px;font-size:49px;top:40px;left:12px}.art-card span{font-size:7px}.art-circle{right:-14px;top:-5px;font-size:62px}.art-note{font-size:15px;bottom:0;right:-8px}.cloud-state small{width:100%;margin-left:15px}.card,.lesson-card{padding:21px}.login{margin:40px auto}.login h1{font-size:37px}.import-box{flex-direction:column;align-items:flex-start}.exercise .prompt{font-size:27px}.form-grid{grid-template-columns:1fr}.writing-pad canvas{min-height:190px}.page-heading>.primary{font-size:10px;padding:10px;white-space:nowrap}.resume-card strong{font-size:12px}.table-wrap th,.table-wrap td{padding:12px}.person{flex-wrap:wrap}.person .text-button{font-size:10px}}
.phonetic{text-align:center;margin-bottom:20px;color:#587960;font-size:13px}.phonetic summary{cursor:pointer}.phonetic p{font-family:Segoe UI,sans-serif;font-size:23px;margin-top:12px}
.modal-backdrop{position:fixed;inset:0;z-index:50;background:#112d3066;display:flex;justify-content:center;align-items:center;padding:24px;backdrop-filter:blur(4px)}.dictionary-modal{background:var(--paper);border-radius:22px;padding:10px 32px 30px;width:min(900px,96vw);max-height:92vh;overflow:auto;box-shadow:0 30px 90px #08222545}.dictionary-options{display:grid;grid-template-columns:1fr 1fr;gap:5px 24px;margin:25px 0}.dictionary-options label{flex-direction:row;align-items:center;font-size:13px;justify-content:flex-start}.dictionary-options input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}.dictionary-options select{width:auto}.dictionary-status{padding:15px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.dictionary-status progress{width:100%;accent-color:var(--green);height:6px}.dictionary-entries{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:23px}.dictionary-entry{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;gap:17px;align-items:center;break-inside:avoid}.dictionary-entry img{width:95px;height:95px;object-fit:contain;border-radius:8px}.dictionary-entry strong{font-size:16px}.dictionary-entry p{margin:7px 0}.dictionary-entry .ipa{font-family:Segoe UI,sans-serif;color:#6d8a6f;font-size:13px}.source-list{margin:14px 0}.source-item{display:flex;gap:15px;align-items:center;font-size:12px;padding:9px;border-bottom:1px solid var(--line)}.source-preview{max-width:100%;max-height:380px;object-fit:contain}.archive-mark{background:#f2e7d8;color:#8c6d45;padding:5px 9px;border-radius:5px;font-size:10px}.danger{color:#ac573a}@media(max-width:760px){.dictionary-options,.dictionary-entries{grid-template-columns:1fr}.modal-backdrop{padding:10px}.dictionary-modal{padding:4px 20px 22px;max-height:96vh}.dictionary-entry img{width:80px;height:80px}}
.inline-check{width:100%;flex-direction:row;align-items:center;margin:6px 0 0 48px;font-size:10px}.inline-check input{width:auto}.archive-filter{max-width:240px}
.audio-player{max-width:100%;margin:0 0 20px}
.app-updates{margin:18px 0}.compact-updates{border:1px solid var(--line);border-radius:10px;padding:12px 16px;background:#edf3e8}.update-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.update-heading strong{font-size:12px}.update-heading small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:4px}.app-updates progress{width:100%;accent-color:var(--green);margin:12px 0 4px}.update-check{flex-direction:row;align-items:center}.update-check input{width:auto}.app-updates>p{margin:10px 0}.compact-updates .primary,.compact-updates .secondary{margin-top:6px}
