*{box-sizing:border-box} :root{font-family:'Segoe UI',system-ui,sans-serif;color:#283b33;background:#f6f8f5;font-size:16px;font-synthesis:none}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:14px;background:#46674f;color:white;padding:14px 23px;font-weight:650;transition:background .15s,transform .15s}button:hover{background:#34583e}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9a76d3;outline-offset:4px}a{color:#446a50}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,3.4vw,3rem);letter-spacing:-1.5px;line-height:1.15;margin-bottom:15px}h2{font-size:1.5rem;letter-spacing:-.5px}h3{font-size:1.1rem}p{line-height:1.65;color:#5b6b61}small{display:block;color:#718077;font-size:.83rem}.shell{display:grid;grid-template-columns:252px 1fr;min-height:100vh}aside{background:#fff;border-right:1px solid #e3e9e1;padding:35px 23px;display:flex;flex-direction:column;gap:30px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:1.4rem;font-weight:750;color:#304d39}.brand-icon{font-size:42px;color:#72946d}.brand small{font-size:.58rem;letter-spacing:1px;font-weight:600;margin-top:5px}.profile{display:flex;align-items:center;gap:12px;padding:16px 10px;border-top:1px solid #eef0eb;border-bottom:1px solid #eef0eb}.avatar{background:#eee6f5;color:#7b5f99;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:700}.profile small{margin-top:3px}.online{margin-left:auto;background:#77a680;width:7px;height:7px;border-radius:50%}nav{display:grid;gap:8px}nav button{background:transparent;color:#6d796f;text-align:left;padding:15px 16px;display:flex;gap:13px;font-weight:550}nav button:hover,nav button.active{background:#eaf1e8;color:#38583e}nav button.active{font-weight:750}.side-note{margin-top:auto;border-radius:18px;padding:22px;background:#f6f7ee}.side-note span{font-size:31px;display:block;margin-bottom:12px}.side-note b{font-size:.92rem}.side-note p{font-size:.85rem;margin:9px 0 0}.local{font-size:.78rem;color:#72816e}main{padding:29px clamp(24px,4.2vw,70px);max-width:1550px;width:100%;margin:auto}header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:43px}#breadcrumb{font-size:.72rem;letter-spacing:1.8px;font-weight:650;color:#748173}.stars{white-space:nowrap;background:#fff6da;border:1px solid #f1e7bd;color:#856416;padding:11px 17px;border-radius:22px;font-size:.87rem}.eyebrow{color:#7a8b72;font-size:.76rem;font-weight:750;letter-spacing:2px;margin-bottom:14px}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:25px;background:#eaf0e6;border:1px solid #e1e8db;border-radius:28px;padding:40px 40px 25px;overflow:hidden;min-height:278px}.hero p{max-width:400px;margin-bottom:24px}.hero-art{display:flex;align-items:center;justify-content:center}.hero-art svg{width:100%;max-width:330px;height:240px}.row{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.section-title{display:flex;align-items:baseline;justify-content:space-between;margin:32px 0 18px}.section-title h2{margin:0}.muted{color:#718073;font-size:.9rem}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid #e2e8df;border-radius:22px;padding:25px}.card p:last-child{margin-bottom:0}.metric .value{font-size:2rem;font-weight:750;display:block;margin:10px 0}.metric small{font-size:.87rem}.metric-icon{width:39px;height:39px;background:#eef2e8;border-radius:12px;display:grid;place-items:center;color:#56764d;font-size:1.25rem}.two-col{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:22px}.progress{height:9px;border-radius:9px;background:#e9ede4;overflow:hidden;margin:17px 0 12px}.progress span{display:block;height:100%;background:#8eab78;border-radius:9px}.pill{display:inline-block;border-radius:8px;background:#f0ebf8;color:#806396;padding:6px 10px;font-size:.8rem;font-weight:650}.secondary{color:#47624b;background:#edf1e9;border:1px solid #dce5d7}.secondary:hover{background:#e1e9dc}.link{color:#697b66;background:none;padding:0;text-decoration:underline;font-size:inherit}.link:hover{background:none;color:#334d38}.practice{max-width:780px;margin:0 auto}.practice-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.exercise{padding:35px;text-align:center}.exercise .word{font-size:clamp(2rem,5vw,3.6rem);font-weight:750;letter-spacing:5px;margin:20px 0;color:#3d5946;overflow-wrap:anywhere}.context{background:#f3f5ef;border-radius:14px;padding:18px;font-size:1.1rem}.answer-label{display:block;text-align:left;font-weight:600;margin:24px 0 8px}.answer-row{display:flex;gap:10px}.answer-row input{flex:1;min-width:0;font-size:1.4rem}input,select,textarea{color:#2e4436;background:#fff;border:1.5px solid #d6dfd2;border-radius:11px;padding:12px;max-width:100%}textarea{width:100%;min-height:90px}input[type=checkbox]{width:20px;height:20px;accent-color:#46674f}.letter-keys{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.letter-keys button{font-size:1.05rem;padding:8px 13px;background:#f3f0f8;color:#70568b}.feedback{text-align:left;margin-top:24px;background:#f0f6ea;border:1px solid #d2e3c4;padding:22px;border-radius:16px}.feedback.wrong{background:#fff6e7;border-color:#f0d9b4}.feedback h3{margin-bottom:12px}.feedback li{line-height:1.6;margin-bottom:9px;color:#50634e}.feedback ul{padding-left:20px}.feedback .correct-word{font-size:1.5rem;font-weight:750;color:#334f3b}.feedback button{margin-top:10px}.rewards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.reward{text-align:center}.reward .emoji{font-size:3.5rem;display:block;padding:18px}.reward.locked{background:#f1f2ee;color:#7d877d}.reward.locked .emoji{filter:grayscale(1);opacity:.4}.reward h3{margin:12px 0 6px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.toolbar input{flex:1;min-width:160px}.toolbar button{padding:12px 16px}.table-wrap{overflow:auto;border:1px solid #e1e7db;border-radius:16px;background:white}table{border-collapse:collapse;width:100%;font-size:.87rem;white-space:nowrap}th{background:#eef2e9;color:#63715e;text-align:left;font-weight:650}td,th{padding:14px 16px;border-bottom:1px solid #edf0e9}td button{padding:6px 10px;font-size:.83rem}.good{color:#40794d}.bad{color:#a96c36}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.note{padding:17px;border-left:3px solid #aac398;background:#eff4e9;border-radius:0 12px 12px 0;line-height:1.6;color:#53644d}.warning{padding:16px;border:1px solid #d8a162;background:#fff3e2;border-radius:12px;margin-bottom:20px}.settings{display:flex;align-items:end;gap:20px;flex-wrap:wrap}.settings label{display:grid;gap:8px;flex:1}.rules{display:grid;gap:16px}.rules p{margin-bottom:10px}.rules h2{color:#456348}dialog{border:1px solid #d8e1d0;border-radius:22px;padding:30px;width:min(650px,92vw);max-height:90vh;box-shadow:0 25px 100px #263a3344}dialog::backdrop{background:#263d3766}dialog #close-modal{margin-top:22px}dialog p{overflow-wrap:anywhere}label.field{display:grid;gap:8px;margin:18px 0}footer{font-size:.76rem;color:#7d8978;margin-top:40px;line-height:1.8;text-align:center}footer button{margin-left:8px}#modal-content .row{margin:15px 0}.session-icon{font-size:4rem}.session-done{text-align:center;padding:45px}.mini-garden{font-size:2rem;letter-spacing:10px;margin:17px 0}.empty{padding:35px;text-align:center}.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}@media(max-width:1100px){.shell{grid-template-columns:205px 1fr}aside{padding:26px 15px}.hero{padding:28px;grid-template-columns:1.2fr .8fr}.hero-art svg{height:210px}.brand{font-size:1.1rem}.brand small{font-size:.5rem}.two-col{grid-template-columns:1fr}.grid3{gap:12px}.card{padding:20px}}@media(max-width:760px){.shell{display:block}aside{padding:15px;border-right:0;border-bottom:1px solid #dfe6d9;gap:14px}.brand{font-size:1.3rem}.brand small{font-size:.6rem}.profile,.side-note,.local{display:none}nav{display:flex;overflow:auto;gap:6px}nav button{white-space:nowrap;padding:10px 12px;font-size:.85rem}main{padding:24px 17px}header{margin-bottom:25px}#breadcrumb{font-size:.6rem;letter-spacing:.8px}.hero{grid-template-columns:1fr;padding:26px}.hero-art{display:none}.grid3{grid-template-columns:1fr 1fr 1fr}.metric{padding:15px}.metric .value{font-size:1.6rem}.metric small{font-size:.75rem}.rewards{grid-template-columns:1fr 1fr}.exercise{padding:22px}.answer-row{flex-wrap:wrap}.answer-row input{width:100%}.answer-row button{width:100%}.stars{font-size:.75rem;padding:9px}.section-title{gap:10px}.section-title h2{font-size:1.25rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
th .sort-button{display:flex;align-items:center;gap:8px;width:100%;padding:4px 0;color:inherit;background:transparent;border-radius:4px;text-align:left;font-size:inherit}th .sort-button:hover{color:#2e5037;background:#e0e9d9}th[aria-sort=ascending],th[aria-sort=descending]{color:#294f36}th .sort-button span{font-size:.8rem}.danger{background:#a34337;color:white}.danger:hover{background:#85342c}.reset-card{border-color:#e6c6bf}.profile b{overflow-wrap:anywhere}.profile>div{min-width:0}.avatar{flex-shrink:0}
.selection-words{display:flex;flex-wrap:wrap;gap:7px;max-height:210px;overflow:auto;padding:4px}#manual-count{align-self:center;color:#52694e;font-weight:650}
/* Allow the content column to shrink independently of wide tables and controls. */
main{min-width:0}
.settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:22px 24px;align-items:end}
.settings label{display:flex;flex-direction:column;gap:9px;min-width:0;margin:0;line-height:1.4}
.settings input,.settings select{display:block;width:100%;min-width:0;max-width:100%;min-height:50px}
.settings select{padding-right:32px;text-overflow:ellipsis}
.settings>#save-settings{grid-column:1/-1;justify-self:start;min-height:50px;margin-top:2px}
@media(max-width:480px){.settings{gap:18px}.settings>#save-settings{width:100%;justify-self:stretch}}
