:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#1d3632;background:#f3f6f5;font-size:16px;--green:#215b4e;--muted:#73827e;--line:#dce5e1;--mint:#d5f5d7}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{transition:background .18s,color .18s}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #8ab9ff;outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sidebar{background:#143c36;color:#e5efe9;width:248px;position:fixed;inset:0 auto 0 0;padding:38px 24px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-icon{background:#d5f5d7;color:#174436;width:43px;height:46px;border-radius:8px 15px 8px 8px;display:grid;place-items:center;font-family:Georgia,serif;font-style:italic;font-size:28px}.brand small{display:block;font-size:13px;font-weight:400;letter-spacing:1px;margin-top:7px;color:#afc7bf}.nav-label{font-size:13px;letter-spacing:2px;color:#a8c1b7;margin-top:55px;margin-bottom:14px}nav{display:grid;gap:8px}.unit-btn{background:transparent;color:#d2e0da;border-radius:9px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 12px;line-height:1.5;font-size:15px}.unit-btn span{flex:1}.unit-btn small{opacity:.7}.unit-btn.active{background:#31584d;color:#efffe8}.unit-btn:hover{background:#254d43}.next-unit{margin-top:32px;border:1px dashed #55756a;border-radius:10px;padding:18px;font-size:14px}.next-unit>span{margin-right:8px;font-size:22px;color:#cdf0c6}.next-unit p{color:#b2c8bd;font-size:13px;line-height:1.7}.next-unit .quiet{color:#d7eecd;padding-left:0}.sidebar-foot{margin-top:auto;padding-top:35px;font-size:13px;color:#afc5bb}.sidebar-foot small{display:block;font-size:10px;letter-spacing:2px;margin-top:12px}main{max-width:1300px;margin-left:248px;padding:30px 5vw 22px}header{display:flex;justify-content:space-between;align-items:center;gap:16px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:650;color:#7b8e85}.header-actions{display:flex;align-items:center;gap:18px;font-size:13px;color:var(--muted)}.quiet{background:transparent;color:#45665b;font-size:14px;padding:9px 8px;border-radius:6px}.quiet:hover{background:#e2eae5}.green{color:#597f6a;font-size:14px;letter-spacing:1px}.intro{display:flex;justify-content:space-between;align-items:center;padding:28px 0 24px;gap:20px}.intro h1{font-size:clamp(25px,2.5vw,38px);letter-spacing:-1px;margin:10px 0 12px;font-weight:650}.intro p:last-child{font-size:14px;color:var(--muted);line-height:1.7}.daily-badge{flex-shrink:0;background:#e5ede8;border-radius:50%;width:92px;height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center}.daily-badge strong{font-size:30px;font-family:Georgia,serif;font-weight:400}.daily-badge span{font-size:12px;color:#577564;margin-top:4px}.stats{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:28px}.stats>div{padding-left:25px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:9px}.stats>div:first-child{padding-left:0;border:0}.stats span{font-size:13px;color:var(--muted)}.stats strong{font-size:26px;font-weight:500;line-height:1}.workspace-head{display:flex;justify-content:space-between;align-items:center}.tabs{display:flex;gap:22px}.tabs button{background:transparent;color:#7b8b83;font-size:15px;padding:12px 0;border-bottom:2px solid transparent}.tabs button[aria-selected=true]{color:#254e3c;border-color:#27583d;font-weight:650}.study-controls{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin:22px 0 18px}.study-controls label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#6e8076}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23557062' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center/12px no-repeat;border:1px solid var(--line);border-radius:7px;padding:10px 34px 10px 12px;color:#355444;font-size:14px}.study-controls .check-label{flex-direction:row;align-items:center;margin-left:auto;font-size:13px;padding-bottom:11px}input[type=checkbox]{accent-color:#275b42;width:16px;height:16px}.flashcard{background:white;border:1px solid #dce5df;border-radius:17px;box-shadow:0 8px 24px #173b2810;overflow:hidden}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center;padding:16px 25px;color:#809087;font-size:12px}.card-top{border-bottom:1px solid #edf1ee}.card-top>span{letter-spacing:.5px}.icon-btn{background:transparent;color:#597663;font-size:26px;padding:0 5px}.icon-btn[aria-pressed=true]{color:#b98724}.card-body{text-align:center;min-height:315px;padding:30px 8% 24px;display:flex;flex-direction:column;align-items:center;justify-content:center}.prompt-label{font-size:11px;letter-spacing:2.2px;color:#8a9b90}.card-body h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,2.3vw,31px);line-height:1.5;font-weight:400;color:#213c31;max-width:760px;margin:18px 0 25px;overflow-wrap:anywhere}.primary{background:#215b4e;color:white;border-radius:7px;padding:13px 24px;font-size:14px}.primary:hover{background:#17483d}kbd{font:11px "Segoe UI",sans-serif;border:1px solid #ffffff35;border-radius:3px;padding:2px 5px;margin-left:14px;opacity:.6}#reveal{min-width:180px}.card-bottom{background:#fafcfb;border-top:1px solid #edf1ee;font-size:12px}#zh-hint,#answer-zh{font-size:15px;line-height:1.8;color:#6c8075}#answer-box{width:100%;animation:appear .2s ease}.answer-divider{height:1px;background:#e4ece6;margin:3px auto 24px;width:50%}#answer{font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.45;margin:12px 0;overflow-wrap:anywhere}#source-details{font-size:12px;color:#7d8e82;line-height:1.8;margin-top:12px}summary{cursor:pointer}#rating-area>p{font-size:14px;text-align:center;color:#3c5c4a;margin:24px 0 14px}#rating-area>p span{font-size:12px;color:#85958a;margin-left:12px}.ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.ratings button{position:relative;border:1px solid #d9e4dc;background:#fff;border-radius:9px;padding:15px 8px;color:#42614e;display:grid;gap:6px}.ratings button:first-child{color:#ab5d54;background:#fff6f3;border-color:#ebd6ce}.ratings button:last-child{background:#e3f0e2;border-color:#c6dfc5}.ratings b{font-size:14px;font-weight:600}.ratings small{font-size:12px;opacity:.7}.ratings kbd{position:absolute;top:7px;right:6px;margin:0;border-color:currentColor}.study-footer{display:flex;justify-content:space-between;align-items:center;margin:14px 0;gap:8px;font-size:12px;color:#8a998e}footer{margin-top:38px;border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#91a096}.spell-row{display:flex;gap:10px;width:100%}input:not([type=checkbox]):not([type=file]){border:1px solid #cfded4;border-radius:8px;padding:12px 14px;color:#1f4331;background:#fff;min-width:0}#spell-form{width:100%;max-width:500px;margin-bottom:10px}#spell-input{flex:1}#feedback{font-size:14px;line-height:1.6}.correct{color:#2c7950}.incorrect{color:#b65845}#list-panel{margin-top:25px}#search{width:100%}.muted{color:#7f9186;font-size:14px;line-height:1.8}.word-row{background:#fff;border:1px solid #dce5df;border-radius:10px;padding:18px 22px;margin-bottom:10px;display:flex;gap:18px;justify-content:space-between}.word-row h3{font:22px Georgia,serif;margin:0 0 8px}.word-row p{font-size:15px;line-height:1.6;margin:5px 0;color:#50695a}.word-row small{font-size:12px;color:#91a095}.word-row .icon-btn{align-self:flex-start}dialog{border:0;border-radius:16px;max-width:600px;width:calc(100% - 32px);padding:28px;color:#294d39;box-shadow:0 20px 100px #123a3150;max-height:90vh;overflow:auto}dialog::backdrop{background:#0d2c2966;backdrop-filter:blur(3px)}.dialog-title{display:flex;justify-content:space-between;align-items:center}.dialog-title h2{font-size:23px;margin:5px 0}dialog p{font-size:15px;line-height:1.9}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.file-button{display:inline-flex;align-items:center;cursor:pointer;border:1px solid #baccbf;border-radius:7px;padding:12px 18px;font-size:14px}.file-button input{display:none}hr{border:0;border-top:1px solid var(--line);margin:25px 0}pre{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:#183f30;color:#fff;padding:14px 24px;border-radius:10px;font-size:14px;max-width:90vw;box-shadow:0 8px 25px #0002}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1500px){main{margin-right:auto;margin-left:calc(248px + (100vw - 1500px)/2)}}@media(max-width:1050px){.sidebar{width:205px;padding:28px 16px}.brand{font-size:22px}main{margin-left:205px;padding:25px 30px}.tabs{gap:18px}.study-controls{gap:12px}.study-controls .check-label{margin-left:0}}@media(max-width:720px){.sidebar{position:static;width:auto;padding:20px 20px 16px}.brand{font-size:23px}.brand small{display:inline;font-size:12px;margin-left:10px}.brand-icon{width:35px;height:37px;font-size:23px}.nav-label,.sidebar-foot,.next-unit{display:none}nav{display:flex;overflow:auto;gap:8px;margin-top:20px;padding-bottom:2px}.unit-btn{white-space:nowrap;flex-shrink:0;padding:9px 12px;font-size:13px;border:1px solid #385c4f}.unit-btn small{font-size:11px}main{margin:0;padding:20px 18px}header>.eyebrow{display:none}header{justify-content:flex-end}.header-actions{gap:16px}.intro{padding:10px 0 18px}.intro h1{font-size:27px}.intro .green{font-size:12px;letter-spacing:0}.intro p:last-child{font-size:13px;max-width:250px}.daily-badge{width:67px;height:67px}.daily-badge strong{font-size:25px}.daily-badge span{font-size:10px}.stats{padding:18px 0;margin-bottom:18px}.stats>div{padding-left:14px}.stats span{font-size:11px}.stats strong{font-size:23px}.tabs{gap:19px}.tabs button{font-size:14px}.workspace-head>.quiet{font-size:12px;padding-right:0}.study-controls{gap:10px;margin-top:17px}.study-controls label{flex:1}select{font-size:13px;width:100%;padding-left:9px}.study-controls .check-label{flex:none;width:100%;padding:0;margin-top:0;font-size:12px}.card-top,.card-bottom{padding:13px 16px}.card-body{padding:28px 22px;min-height:290px}.card-body h2{font-size:24px}#answer{font-size:27px}.card-bottom{font-size:11px}.ratings{gap:6px}.ratings button{padding:14px 2px}.ratings b{font-size:12px}.ratings small{font-size:11px}.ratings kbd{display:none}#rating-area>p{font-size:13px}#rating-area>p span{display:block;margin:6px 0 0;font-size:11px}.study-footer{font-size:11px}.study-footer .quiet{font-size:12px;padding:8px 0}footer{font-size:10px;margin-top:25px}.spell-row{flex-direction:column}.spell-row button{padding:11px}dialog{padding:22px}.word-row{padding:16px}.brand span{white-space:nowrap}#reveal kbd{display:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Keep the active card within reach on smaller screens. */
main{padding-top:22px}.intro{padding:14px 0}.intro h1{margin:7px 0}.intro p{margin:8px 0}.stats{padding:15px 0;margin-bottom:18px}.study-controls{margin:15px 0}.card-body{min-height:230px}.study-controls label,.stats span,.check-label{font-size:14px}.word-row p,dialog p{font-size:16px}.ratings b{font-size:14px}.ratings small{font-size:13px}@media(max-width:720px){.intro{padding:8px 0 14px}.intro p:last-child{display:none}.stats span{font-size:12px}.study-controls label{font-size:13px}.card-body{min-height:240px}.ratings b{font-size:13px}.ratings small{font-size:12px}}
