:root{--bg:#f5f6f2;--paper:#fff;--ink:#24372f;--muted:#758078;--green:#164f43;--green-light:#eaf2e9;--line:#e4e8df;--orange:#c77541;--orange-light:#faf0e4;--red:#a63737;--radius:20px;--shadow:0 14px 48px #203b2912;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c78c4d;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.4;letter-spacing:-1px;font-weight:650;margin-bottom:10px}h2{font-size:19px;font-weight:620;line-height:1.5;margin-bottom:8px}h3{font-size:16px;font-weight:600;line-height:1.5;margin-bottom:6px}p{line-height:1.85}small,.text-small{font-size:12px}.muted{color:var(--muted)}.eyebrow,.small-label{font-size:10px;letter-spacing:2px;font-weight:650}.eyebrow{color:var(--orange);margin-bottom:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;padding:12px;background:var(--green);color:white;z-index:20}.skip-link:focus{top:10px}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:235px;background:#eef0e9;border-right:1px solid var(--line);padding:32px 23px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;font-family:Georgia,"Times New Roman",serif;font-size:23px;letter-spacing:-.7px;white-space:nowrap}.brand small{display:block;font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;letter-spacing:.4px;color:var(--muted);font-size:10px;margin-top:5px}.brand-mark{display:flex;align-items:center;justify-content:center;width:38px;height:43px;background:var(--green);color:white;border-radius:11px;font-style:italic;font-size:27px;letter-spacing:-4px;padding-right:4px}.brand-mark span{color:#c9d9ac}.nav-caption{font-size:11px;color:#8a9286;margin:48px 0 18px 14px;letter-spacing:1px}.sidebar nav{display:grid;gap:8px}.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:12px;color:#6c776e;text-align:left;font-weight:500;width:100%;transition:background .15s}.nav-item:hover{background:#e3e9dc}.nav-item.active{background:var(--green);color:#fff}.nav-item .nav-badge{margin-left:auto;background:#ffffff20;border-radius:6px;padding:2px 6px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:25px 13px 0;border-top:1px solid #dce1d3}.sidebar-bottom .small-label{color:#8b9688;font-size:9px;letter-spacing:1.4px}.sidebar-bottom p{font-size:13px;margin-top:12px;color:#5e6f5e}.text-button{border:0;background:none;padding:6px 0;color:var(--green);font-size:12px;display:inline-flex;align-items:center;gap:12px}.text-button:hover{text-decoration:underline}.version{display:block;color:#8a958a;font-size:10px;margin-top:20px}.workspace{margin-left:235px}.topbar{height:82px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);gap:12px}.topbar-right{display:flex;align-items:center;gap:22px}.avatar{border:1px solid #d9dfd3;border-radius:50%;width:34px;height:34px;background:#e7ebdf;color:var(--green);font-size:12px}.workspace main{max-width:1370px;margin:auto;padding:38px 46px 30px;min-height:calc(100vh - 160px)}.page-footer{padding:15px 46px 28px;display:flex;gap:10px;font-size:10px;color:#919b90;letter-spacing:.7px}.mobile-nav{display:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px;gap:18px}.page-heading p{margin-bottom:0;color:var(--muted)}.date-chip{font-size:11px;border:1px solid var(--line);border-radius:99px;padding:8px 13px;white-space:nowrap;color:#7d887d}.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:26px}.hero{position:relative;overflow:hidden;border-radius:var(--radius);padding:32px 34px;background:var(--green);color:#fff;min-height:286px;display:flex;flex-direction:column;align-items:flex-start}.hero .eyebrow{color:#b9ccac;letter-spacing:2px;font-size:10px;margin-bottom:20px}.hero h2{font-size:28px;font-weight:500;line-height:1.5;max-width:72%;letter-spacing:-.5px;margin-bottom:12px}.hero p{color:#c3d4c7;max-width:75%;font-size:12px;margin-bottom:26px}.hero-bottom{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:auto;position:relative;z-index:1}.hero .button{background:#eef2db;color:var(--green);border:0}.hero-time{font-size:11px;color:#c5d5c6;display:flex;align-items:center;gap:5px}.hero-art{position:absolute;width:180px;height:210px;right:-6px;bottom:20px;opacity:.72;transform:rotate(-10deg);pointer-events:none}.hero-art .sheet{position:absolute;inset:22px 30px 5px 12px;border:1px solid #8da98b;border-radius:16px;background:#ffffff06;transform:rotate(16deg)}.hero-art .sheet:nth-child(2){transform:rotate(-2deg);background:#ffffff0a}.hero-art .sheet:nth-child(3){transform:rotate(-17deg);background:#eaf2d70a}.art-line{display:block;width:60%;height:1px;background:#a0b69a;margin:15px 20px}.art-line:first-child{margin-top:45px;width:35%;height:6px;background:#c6d29f}.art-circle{border:1px solid #b8c6a0;border-radius:50%;height:35px;width:35px;margin:30px 20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 14px}.section-heading h2{font-size:16px;margin:0}.section-heading .text-small{color:var(--muted)}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:23px}.right-stack{display:flex;flex-direction:column;gap:20px}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-header h2{font-size:14px;margin:0}.panel-icon{background:var(--green-light);width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:var(--green)}.panel-icon svg{width:16px}.goal-display{display:flex;align-items:baseline;gap:5px;margin:20px 0 15px}.goal-display strong{font-family:Georgia,serif;font-weight:400;font-size:38px;letter-spacing:-1px}.goal-display span{font-size:12px;color:var(--muted)}.meter{height:6px;border-radius:10px;background:#edf0e8;overflow:hidden}.meter-fill{height:100%;border-radius:inherit;background:#62835a;transition:width .2s}.mini-note{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0 0}.week-dots{display:flex;justify-content:space-between;gap:5px;margin-top:22px}.week-day{text-align:center;font-size:10px;color:var(--muted);display:grid;gap:8px}.week-day span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f1f3ed;color:#9aa291;font-size:10px}.week-day.today span{box-shadow:0 0 0 1px var(--green);color:var(--green)}.week-day.learned span{background:var(--green);color:white}.review-number{font-family:Georgia,serif;font-size:35px;line-height:1;margin:20px 0 7px;font-weight:400}.review-number span{font:12px -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;color:var(--muted);margin-left:7px}.panel .button{margin-top:16px}.focus-list{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:14px}.focus-list li{display:flex;gap:9px;font-size:12px;color:#64735e;align-items:center}.focus-list i{width:5px;height:5px;border-radius:50%;background:#8da579;flex-shrink:0}.course-row{display:flex;align-items:center;gap:16px;padding:17px 20px;background:var(--paper);border:1px solid var(--line);border-radius:14px;margin-bottom:10px;width:100%;text-align:left}.course-row:hover{border-color:#aab9a2;box-shadow:0 3px 10px #29482407}.course-ordinal{width:39px;height:43px;border-radius:10px;background:var(--green-light);color:var(--green);display:grid;place-items:center;font-family:Georgia,serif;font-size:18px;flex-shrink:0}.course-row.general .course-ordinal{background:var(--orange-light);color:#a36a42}.course-row h3{font-size:13px;margin:0 0 5px;font-weight:550}.course-row p{margin:0;font-size:11px;color:var(--muted);line-height:1.5}.course-row .row-meta{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:10px;color:var(--muted);white-space:nowrap}.course-row .row-meta svg{width:16px}.tag{font-size:10px;padding:4px 8px;border-radius:5px;color:#5a795a;background:#eef3e9;display:inline-block;white-space:nowrap}.tag.general{color:#a37047;background:var(--orange-light)}.tag.completed{background:var(--green-light);color:var(--green)}.reading-tip{display:flex;align-items:center;gap:12px;margin-top:22px;font-size:11px;color:#83917f;line-height:1.8}.reading-tip svg{width:17px;flex-shrink:0}.button{border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:11px 18px;font-weight:500;font-size:12px;text-align:center}.button:hover{filter:brightness(.97)}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.soft{background:var(--green-light);color:var(--green);border-color:transparent}.button.small{min-height:35px;padding:7px 12px;font-size:11px}.button.full{width:100%}.button svg{width:16px;height:16px}.icon-button{border:1px solid var(--line);background:white;border-radius:10px;min-height:38px;min-width:38px;display:inline-grid;place-items:center;font-size:22px}.icon-button svg{width:17px}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:25px 0}.segmented{display:flex;gap:5px;padding:4px;background:#e9ede4;border-radius:10px;width:max-content;max-width:100%;flex-wrap:wrap}.segmented button{border:0;background:transparent;color:#73816c;font-size:12px;border-radius:7px;padding:9px 15px;min-height:35px}.segmented button.active{background:white;color:var(--green);box-shadow:0 1px 5px #233f2710}.search{border:1px solid var(--line);border-radius:10px;background:white;padding:11px 14px;min-width:220px;font-size:13px;max-width:100%}.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.course-card{border:1px solid var(--line);background:white;border-radius:18px;padding:23px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.course-card .card-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:22px}.course-card h2{font-size:18px;margin-bottom:9px}.course-card p{color:var(--muted);font-size:12px;margin-bottom:16px}.course-card .card-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:auto;padding-top:14px;border-top:1px solid #f0f2ec;gap:8px}.course-card .card-bottom small{font-size:11px;color:var(--muted)}.word-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.word-card{background:white;border:1px solid var(--line);border-radius:16px;padding:23px;min-width:0}.word-card h2{font-family:Georgia,"Times New Roman",serif;font-size:23px;font-weight:400;overflow-wrap:anywhere;margin-bottom:8px}.word-card .word-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.word-card .word-top .icon-button{border:0;background:#f1f5ed}.word-card .translation{font-size:13px;margin:5px 0 12px}.word-card .example{font-size:13px;color:#596d5a;margin-bottom:12px;line-height:1.8}.word-card .collocation{font-size:11px;color:var(--muted)}.word-card .word-footer{border-top:1px solid #edf0e8;margin-top:17px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.word-card .saved{color:var(--green);background:var(--green-light)}.empty{text-align:center;padding:45px 20px;line-height:1.9;color:var(--muted);background:white;border:1px dashed #d2dccb;border-radius:16px}.empty h2{color:var(--ink)}.empty .button{margin-top:15px}.grammar-list{display:grid;gap:14px}.grammar-item{border:1px solid var(--line);border-radius:14px;background:white}.grammar-item summary{padding:21px;cursor:pointer;list-style:none;display:flex;align-items:center;gap:15px}.grammar-item summary::-webkit-details-marker{display:none}.grammar-item summary>span:nth-child(2){flex:1}.grammar-item summary small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.grammar-item .grammar-body{padding:0 24px 24px}.grammar-example{font-family:Georgia,"Times New Roman",serif;padding:18px 20px;background:#f0f4ea;border-left:3px solid #9bad81;border-radius:0 10px 10px 0;font-size:19px;line-height:1.7;overflow-wrap:anywhere}.grammar-body p{font-size:13px;color:#65735f}.info-strip{display:flex;gap:10px;align-items:flex-start;padding:16px 18px;background:var(--green-light);border-radius:12px;font-size:12px;line-height:1.8;color:#526d51;margin-bottom:25px}.info-strip svg{margin-top:2px;width:17px;flex-shrink:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.stat{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.stat strong{display:block;font-family:Georgia,serif;font-size:36px;font-weight:400;margin:12px 0}.stat small{color:var(--muted)}.progress-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.progress-line{margin:20px 0}.progress-line .line-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.history-row{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7}.history-row span{color:var(--muted);white-space:nowrap}.review-stage{max-width:650px;margin:20px auto}.review-flash{background:white;border:1px solid var(--line);border-radius:22px;padding:44px;text-align:center}.review-flash .en-word{font-family:Georgia,serif;font-size:36px;overflow-wrap:anywhere;margin:24px 0 18px}.review-flash .meaning{font-size:19px;margin:20px 0 13px}.review-flash .example{font-size:15px;line-height:1.9}.review-flash .button-row{justify-content:center;margin-top:28px}.review-flash .button-row .button{flex:1}.review-progress{display:flex;justify-content:space-between;font-size:12px;margin-bottom:15px;color:var(--muted)}.form-field{display:grid;gap:8px;margin-bottom:19px;font-size:12px}.form-field input,.form-field select,.form-field textarea{border:1px solid #d9e0d2;border-radius:10px;padding:12px;color:var(--ink);background:white;width:100%;font-size:14px}.form-field textarea{resize:vertical;min-height:100px;line-height:1.8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-dialog{width:540px;max-width:calc(100% - 28px);border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:var(--shadow)}dialog::backdrop{background:#142a2588;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.dialog-top h2{margin:0}.setting-section{padding:20px 0;border-top:1px solid var(--line)}.setting-section h3{margin-bottom:13px}.setting-section p{font-size:12px;color:var(--muted);margin-bottom:15px}.setting-section:last-child{padding-bottom:0}.file-input{display:none}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);background:#203c32;color:white;padding:13px 20px;border-radius:12px;z-index:100;box-shadow:0 8px 30px #142a2525;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 30px);font-size:13px;line-height:1.7}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.lesson-dialog{width:920px;max-width:calc(100% - 36px);max-height:90dvh;padding:0;border:0;border-radius:22px;background:#f8f9f5;box-shadow:var(--shadow)}.lesson-head{padding:27px 30px 0;background:white;border-bottom:1px solid var(--line)}.lesson-head .dialog-top{margin-bottom:14px;align-items:flex-start}.lesson-head h2{font-size:24px;margin:9px 0}.lesson-head p{font-size:12px;color:var(--muted);margin-bottom:20px}.lesson-tabs{display:flex;gap:5px;justify-content:space-between}.lesson-tabs button{border:0;background:none;border-bottom:3px solid transparent;padding:13px 10px;color:#87917f;font-size:12px;display:flex;align-items:center;gap:6px;min-height:44px}.lesson-tabs button.active{color:var(--green);border-bottom-color:var(--green)}.lesson-tabs button.done .step-num{background:var(--green);color:#fff}.step-num{height:20px;min-width:20px;border-radius:50%;background:#ecf0e6;display:grid;place-items:center;font-size:10px}.lesson-body{padding:28px 30px;min-height:340px}.lesson-bottom{display:flex;align-items:center;justify-content:space-between;padding:18px 30px;border-top:1px solid var(--line);background:white;gap:15px}.lesson-bottom .completion-count{font-size:11px;color:var(--muted)}.lesson-body .lead{font-size:12px;color:var(--muted);margin-bottom:22px}.lesson-word{padding:18px 20px;background:white;border:1px solid var(--line);border-radius:13px;margin-bottom:12px}.lesson-word .word-main{display:flex;align-items:center;justify-content:space-between;gap:10px}.lesson-word .word-main h3{font-family:Georgia,serif;font-size:22px;font-weight:400;overflow-wrap:anywhere}.lesson-word p{font-size:12px;color:var(--muted);margin:7px 0 12px}.lesson-word .word-main>div{min-width:0}.lesson-word .button-row{gap:8px}.lesson-word .button.selected{background:var(--green-light);border-color:#c3d1b7;color:var(--green)}.reading{background:white;border:1px solid var(--line);border-radius:16px;padding:26px;margin:20px 0}.sentence{padding:13px 0;border-bottom:1px solid #edf0e8}.sentence:last-child{border:0}.sentence .en{font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.85;margin:0;overflow-wrap:anywhere}.sentence .zh{font-size:13px;line-height:1.9;color:#7b8875;margin:10px 0 0}.source-details{font-size:11px;line-height:1.8;color:var(--muted);margin:20px 0}.source-details summary{cursor:pointer;color:#698163}.source-details p{margin:8px 0}.quiz-item{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;margin:15px 0}.quiz-item h3{font-size:14px;line-height:1.8;font-weight:500}.quiz-options{display:grid;gap:9px;margin-top:15px}.quiz-option{border:1px solid #dde3d7;border-radius:10px;background:white;padding:13px 15px;text-align:left;min-height:44px;font-size:13px}.quiz-option.correct{background:#eaf3e6;border-color:#8cab7b;color:#275729}.quiz-option.incorrect{background:#fbefed;border-color:#d4a299;color:#9f3f32}.quiz-feedback{font-size:12px;color:var(--green);line-height:1.9;margin:14px 0 0}.quiz-feedback.error{color:#a04a3c}.listen-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0}.listen-controls label{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}.listen-controls select{border:1px solid var(--line);padding:9px;border-radius:8px;background:white}.listen-row{display:flex;gap:15px;align-items:flex-start;padding:20px;background:white;border:1px solid var(--line);border-radius:14px;margin:12px 0}.listen-row .icon-button{flex-shrink:0}.listen-row .en{font:19px/1.8 Georgia,serif;margin:0;overflow-wrap:anywhere}.listen-row .zh{font-size:12px;color:var(--muted);margin:8px 0 0}.voice-status{min-height:24px;font-size:11px;color:#7d8878;line-height:1.8}.output-text{width:100%;min-height:170px;border:1px solid #d7e0ce;border-radius:14px;padding:20px;font:16px/1.9 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:white;color:var(--ink);resize:vertical;margin:16px 0 8px}.draft-state{font-size:11px;color:var(--muted);min-height:20px}.reference{background:#eef3e8;padding:18px 21px;border-radius:12px;margin:18px 0;font-size:13px;line-height:1.9;white-space:pre-wrap}.reference small{display:block;color:var(--muted);white-space:normal;margin-top:12px}.self-check{display:grid;gap:12px;background:white;border:1px solid var(--line);padding:19px;border-radius:12px;margin:18px 0}.self-check label{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.9}.self-check input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin:3px 0 0}.recording-box{margin:24px 0 5px;padding:20px 0;border-top:1px solid var(--line)}.recording-box h3{font-size:14px}.recording-box p{font-size:11px;color:var(--muted)}.recording-box audio{width:100%;margin-top:12px}.recording-active{background:#a94336!important;color:white!important}.sources-list{font-size:12px;line-height:1.9;color:var(--muted)}.sources-list li{margin-bottom:14px}.sources-list strong{display:block;color:var(--ink)}.error-message{background:#faeee8;color:#984a30;border:1px solid #edd1be;padding:13px 16px;border-radius:11px;font-size:12px;line-height:1.8;margin-bottom:18px}.custom-form{background:white;padding:23px;border:1px solid var(--line);border-radius:16px;margin:20px 0}.custom-form summary{font-size:13px;cursor:pointer;color:var(--green)}.custom-form form{margin-top:20px}.activity-chart{display:flex;align-items:flex-end;gap:12px;height:145px;margin-top:24px}.activity-column{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px;font-size:10px;color:var(--muted)}.activity-bar{width:100%;max-width:36px;background:#b2c29a;border-radius:5px 5px 0 0;min-height:3px}.activity-column.today .activity-bar{background:var(--green)}.activity-count{font-size:11px}.completion-banner{background:var(--green-light);border:1px solid #d2dfc8;color:var(--green);padding:18px 20px;border-radius:14px;margin-bottom:22px;font-size:13px;line-height:1.8}
@media(min-width:1500px){.home-layout{grid-template-columns:minmax(0,1fr) 315px}.hero{min-height:312px}}
@media(max-width:1150px){.sidebar{width:205px;padding:30px 17px}.brand{font-size:20px;gap:9px}.workspace{margin-left:205px}.topbar{padding:0 28px}.workspace main{padding:32px 28px}.home-layout{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.hero{padding:28px}.hero h2{font-size:25px}.hero-art{right:-35px;opacity:.5}.panel{padding:20px}.hero p{max-width:85%}.page-footer{padding-left:28px}.row-meta .tag{display:none}}
@media(max-width:960px){.home-layout{grid-template-columns:1fr}.right-stack{display:grid;grid-template-columns:1fr 1fr;gap:16px}.focus-panel{display:none}.hero-art{right:22px;opacity:.7}.hero{min-height:265px}.hero h2{max-width:75%}.goal-display{margin:10px 0}.week-dots{margin-top:17px}.course-grid,.word-grid{gap:14px}.course-card{padding:20px}.stats-grid{gap:10px}.stat{padding:18px}.stat strong{font-size:31px}.progress-columns{grid-template-columns:1fr}}
@media(max-width:700px){:root{font-size:14px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:65px;padding:0 21px;background:#f5f6f2}.topbar #breadcrumb{font-size:11px}.topbar-right{gap:12px}.topbar-right #date-label{font-size:10px}.workspace main{padding:26px 20px 24px;min-height:calc(100dvh - 165px)}h1{font-size:28px;letter-spacing:-.6px}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading p{font-size:12px}.page-heading .date-chip{display:none}.eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:11px}.hero{padding:26px 24px;min-height:272px;border-radius:19px}.hero h2{font-size:25px;max-width:80%}.hero p{max-width:84%;font-size:12px;margin-bottom:22px}.hero-art{width:140px;height:170px;right:-25px;bottom:22px;opacity:.43}.hero-bottom{gap:12px}.hero .button{padding:12px 17px}.right-stack{gap:13px}.panel{padding:18px;border-radius:16px}.panel-header h2{font-size:13px}.panel-icon{width:27px;height:27px}.goal-display strong,.review-number{font-size:31px}.goal-display span{font-size:10px}.week-dots{gap:2px}.week-day span{width:19px;height:19px;font-size:9px}.week-day{font-size:9px;gap:6px}.mini-note{font-size:10px}.panel .button{padding:10px 11px;font-size:11px}.course-row{padding:15px 14px;gap:12px}.course-row h3{font-size:13px}.course-row .row-meta{gap:5px}.course-row .row-meta .time{display:none}.course-ordinal{width:34px;height:38px;font-size:16px}.section-heading{margin-top:25px}.section-heading h2{font-size:15px}.section-heading .text-small{font-size:10px}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#fcfdf9f5;backdrop-filter:blur(12px);border-top:1px solid #e0e6d8;padding:7px 6px max(7px,env(safe-area-inset-bottom));z-index:7}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:none;color:#8d9787;font-size:10px;min-height:48px;padding:4px}.mobile-nav button.active{color:var(--green)}.mobile-nav svg{width:21px;height:21px}.page-footer{padding:10px 20px 100px;font-size:9px;gap:7px}.course-grid,.word-grid{grid-template-columns:1fr}.course-card{padding:22px}.course-card .card-top{margin-bottom:17px}.toolbar{gap:13px;margin:20px 0}.toolbar .search{width:100%;min-width:0;font-size:16px}.segmented{width:100%;justify-content:space-between}.segmented button{padding:10px 12px;flex:1}.stats-grid{grid-template-columns:repeat(3,1fr);gap:9px}.stat{padding:16px 12px}.stat strong{font-size:28px;margin:10px 0}.stat small{font-size:10px}.word-card h2{font-size:25px}.grammar-item summary{padding:18px 16px;gap:12px}.grammar-item .grammar-body{padding:0 18px 20px}.grammar-example{font-size:18px;padding:15px}.review-flash{padding:32px 20px}.review-flash .en-word{font-size:31px}.review-flash .button-row{gap:7px}.review-flash .button-row .button{font-size:11px;padding:12px 8px}.lesson-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;max-height:-webkit-fill-available;margin:0;border-radius:0}.lesson-head{padding:22px 20px 0}.lesson-head h2{font-size:22px}.lesson-head p{margin-bottom:14px;font-size:11px}.lesson-tabs{gap:1px}.lesson-tabs button{font-size:11px;padding:13px 6px;gap:5px}.lesson-body{padding:23px 19px;min-height:380px}.lesson-bottom{padding:17px 20px max(17px,env(safe-area-inset-bottom));gap:10px}.lesson-bottom .button{font-size:12px;padding:12px 15px}.lesson-word{padding:17px}.lesson-word .word-main h3{font-size:22px}.lesson-word .word-main{gap:9px}.reading{padding:16px 19px}.sentence .en{font-size:20px;line-height:1.85}.listen-row{gap:12px;padding:17px}.listen-row .en{font-size:19px}.output-text,.form-field input,.form-field textarea,.form-field select{font-size:16px}.form-grid{grid-template-columns:1fr;gap:0}.settings-dialog{padding:22px;max-height:90dvh}.toast{bottom:90px;width:max-content;text-align:center}.reading-tip{align-items:flex-start}.info-strip{font-size:11px;padding:15px}.button{min-height:44px}.icon-button{min-height:44px;min-width:44px}.text-button{min-height:38px}.source-details{font-size:11px}.week-day.today span{box-shadow:0 0 0 1px var(--green)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
html:has(dialog[open]){overflow:hidden}
@media(max-width:700px){.lesson-dialog{height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}.lesson-tabs button{white-space:nowrap}}
@media(max-width:350px){.lesson-tabs button{gap:3px;padding:12px 3px}.lesson-tabs .step-num{height:18px;min-width:18px;font-size:9px}}
.daily-plan{margin-bottom:26px;border-color:#bacbb0;background:linear-gradient(135deg,#fff,#f1f5e9)}
.daily-plan .panel-header{gap:12px;align-items:flex-start}.daily-plan .eyebrow{margin-bottom:8px}.daily-plan h2{font-size:19px;line-height:1.6}
.vocab-totals{display:flex;gap:25px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.vocab-totals strong{font:28px Georgia,serif;color:var(--green);margin-right:5px}
.daily-tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:22px 0}.daily-tasks>div{min-width:0}
.daily-tasks h3{font-size:14px;line-height:1.9}.daily-tasks h3 span{font-weight:400;color:var(--green);white-space:nowrap}
.daily-tasks p{font-size:12px;line-height:1.9;color:var(--muted);min-height:48px;margin:8px 0 15px}.daily-tasks .button{max-width:100%}
.vocab-filters{display:flex;gap:16px;flex-wrap:wrap;margin:0 0 18px}.vocab-filters label{display:flex;align-items:center;gap:9px;font-size:12px;min-width:0}
.vocab-filters select{padding:11px;border:1px solid var(--line);background:white;border-radius:10px;color:var(--ink);max-width:100%}
.pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px 0;font-size:12px}
@media(max-width:960px){.daily-tasks{gap:14px}.daily-tasks h3{font-size:13px}.daily-plan h2{font-size:17px}}
@media(max-width:700px){.daily-tasks{grid-template-columns:1fr;gap:0;margin:8px 0}.daily-tasks>div{padding:18px 0;border-bottom:1px solid var(--line)}.daily-tasks>div:last-child{border:0}.daily-tasks p{min-height:0}.daily-tasks h3{font-size:15px}.daily-plan .panel-header .text-button{font-size:11px;flex-shrink:0}.vocab-totals{gap:10px;justify-content:space-between}.vocab-totals span{font-size:10px}.vocab-totals strong{display:block;font-size:27px}.vocab-filters{gap:12px}.vocab-filters label{width:100%;display:grid;grid-template-columns:62px minmax(0,1fr)}.vocab-filters select{font-size:16px;width:100%;min-width:0}}
@media(max-width:420px){.right-stack{grid-template-columns:minmax(0,1fr)}.daily-plan{padding:18px}.daily-tasks>div{padding:14px 0}.daily-tasks p{margin:5px 0 10px}.vocab-totals{padding:12px 0}}
