:root{--paper:#faf9f5;--ink:#203e32;--green:#285440;--muted:#879285;--line:#e6e9df;--peach:#efb58e;--lavender:#e7e3f3}*{box-sizing:border-box}body{margin:0;background:var(--paper);font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI",sans-serif;color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #9bb994;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}.site-header{height:101px;max-width:1280px;padding:0 42px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:18px;font-weight:750;letter-spacing:-.5px}.brand small{font-size:10px;display:block;letter-spacing:3px;color:#a1aa98;font-weight:450;margin-top:0}.brand-mark{background:var(--green);color:#eef0d6;width:38px;height:43px;border-radius:11px 11px 11px 3px;font:30px/40px Georgia;text-align:center}.brand-mark span{font-size:25px;margin-left:-6px}.site-header nav{display:flex;gap:29px;margin-left:30px}.nav-button{padding:36px 0 28px;border:0;border-bottom:3px solid transparent;background:none;font-size:12px;color:#98a08f;position:relative}.nav-button.active{color:#3e5e40;border-bottom-color:#6f8c5b;font-weight:650}.nav-button span{font-size:9px;background:#ebeee4;border-radius:5px;padding:1px 5px;margin-left:4px}.profile-button{display:flex;align-items:center;gap:10px;border:1px solid #e0e6d9;padding:7px 11px 7px 7px;border-radius:24px;background:white;font-size:10px;color:#75856a}.profile-avatar{display:grid;place-items:center;background:#e7eddb;color:#748963;font-family:Georgia;width:27px;height:27px;border-radius:50%;font-size:17px}main{max-width:1280px;margin:auto;padding:0 42px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:390px;padding:35px 40px 31px;gap:30px}.eyebrow{font-size:9px;letter-spacing:2px;color:#8e9b7c;font-weight:650;display:flex;align-items:center;gap:8px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#9bad7f}.hero h1{font-size:46px;font-weight:650;line-height:1.42;letter-spacing:1px;margin:16px 0}.story{position:relative;color:#587346;z-index:0}.story svg{position:absolute;width:110%;height:14px;left:-3px;bottom:-6px;z-index:-1;overflow:visible}.story path{fill:none;stroke:#d8dfbd;stroke-width:6;stroke-linecap:round}.hero-copy>p{font-size:13px;color:#929a88;line-height:1.95;letter-spacing:.5px;margin:19px 0}.hero-note{font-size:10px;color:#a5ad9b;letter-spacing:1px;display:flex;align-items:center;gap:8px}.hero-note span{color:#b7a4cf;font-size:17px}.hero-art{position:relative;width:390px;height:300px;justify-self:center;display:flex;align-items:center;justify-content:center}.art-orbit{position:absolute;width:310px;height:230px;border:1px dashed #dddccd;border-radius:50%;transform:rotate(-24deg)}.vocab-postcard{position:absolute;left:73px;top:26px;width:249px;background:#f2efdf;border:1px solid #e5e3d1;border-radius:12px;padding:19px 24px 14px;transform:rotate(7deg);box-shadow:8px 11px 0 #e9eadf66;z-index:2}.postcard-top{display:flex;justify-content:space-between;font-size:7px;letter-spacing:1px;color:#9da083}.postcard-top span:last-child{font-size:16px;line-height:10px}#hero-word{font:52px/1.25 Georgia,serif;letter-spacing:-2px;margin:17px 0 2px;color:#465a34;overflow:hidden;text-overflow:ellipsis}.hero-ipa{font:12px Georgia,serif;color:#979b83}.hero-meaning{font-size:12px;color:#858e71;margin:17px 0 18px}.postcard-footer{display:flex;justify-content:space-between;border-top:1px dashed #d8d8c5;padding-top:10px;align-items:center;font-size:8px;color:#a7a992}.doodle-smile{font-size:24px;color:#8e9b70;line-height:1}.mini-note{position:absolute;top:17px;left:8px;font:italic 12px/1.7 Georgia,serif;color:#a6a093;transform:rotate(-8deg);z-index:4}.mini-note b{font-weight:400;color:#b4b09f}.word-sticker{position:absolute;background:#e8e2f1;border:1px solid #dcd3e8;border-radius:6px;bottom:23px;left:20px;z-index:3;padding:12px 17px;font:italic 17px Georgia,serif;color:#8e7ca3;transform:rotate(-8deg);box-shadow:0 4px 0 #e9e4ed70}.art-star{position:absolute;color:#d0b587;z-index:4}.s1{top:45px;right:13px;font-size:34px;transform:rotate(10deg)}.s2{bottom:40px;right:18px;font-size:28px;color:#b7c29e}.art-dot{position:absolute;width:7px;height:7px;background:#d3b8cf;border-radius:50%;left:26px;top:130px}.classroom{display:flex;gap:20px;align-items:center;border:1px solid #e4e7d8;background:#f0f3e9;border-radius:11px;padding:18px 23px}.classroom-label{display:flex;gap:12px;align-items:center;min-width:203px}.book-icon{display:grid;place-items:center;width:35px;height:37px;border:1px solid #d3ddc6;border-radius:9px;background:#e9eedf;font-size:23px;color:#8d9f73}.classroom h2{font-size:12px;margin:0;font-weight:650;color:#6e815b}.classroom-label div>span{font-size:9px;color:#a2ad91;display:block;margin-top:3px}.focus-words{display:flex;gap:9px;flex-wrap:wrap;flex:1}.word-chip{border:1px solid #dce4cf;border-radius:7px;background:#fff;padding:8px 14px;font-size:13px;color:#5d7950;display:flex;align-items:center;gap:10px}.word-chip small{font-size:8px;color:#a8b29b}.word-chip.active{background:#335b42;color:#fff;border-color:#335b42}.word-chip.active small{color:#b8cca8}.focus-empty{font-size:11px;color:#9aa68a}.text-button{border:0;background:none;padding:5px 0;font-size:10px;color:#8c9b7c;white-space:nowrap}.reading{margin-top:41px}.reading-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.eyebrow.tiny{font-size:8px;letter-spacing:1.7px;color:#a6ae9b}.reading-heading h2{font-size:23px;letter-spacing:-.5px;font-weight:600;margin:7px 0 4px}.reading-heading p{font-size:10px;color:#a0a991;margin:0}.legend{display:flex;gap:13px;font-size:9px;color:#9aa68f;flex-wrap:wrap;padding-bottom:4px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:5px;height:5px;border-radius:50%;background:#91a67b}.legend .later{background:#d4a37c}.legend .uncertain{background:#b6a8cb}.filters{display:flex;align-items:center;gap:9px;margin:20px 0}.search{display:flex;border:1px solid #e3e8db;border-radius:7px;align-items:center;padding:0 12px;gap:8px;max-width:270px;background:white;flex:1}.search span{font-size:23px;color:#a0ae91}.search input{border:0;outline:0;font-size:11px;color:#678259;background:transparent;width:100%;padding:8px 0}.filters select{border:1px solid #e1e7d9;border-radius:7px;background:#fff;padding:9px 11px;color:#8d9d7c;font-size:10px;max-width:210px}.active-filter{font-size:11px;color:#7f956a;background:#eef3e5;padding:9px 13px;border-radius:6px;margin:-4px 0 17px}.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px;align-items:start}.sentence-list{display:flex;flex-direction:column;gap:18px}.sentence-card{border:1px solid #e4e8dd;border-radius:11px;background:#fff;padding:23px 27px 0;box-shadow:0 3px 0 #e7eadc22}.card-meta{display:flex;align-items:center;justify-content:space-between;color:#a5ae97;font-size:9px}.card-number{font:italic 15px Georgia,serif;color:#b0ba9f}.meta-right{display:flex;align-items:center;gap:9px}.guide-badge{font-size:8px;color:#af8b59;background:#fbf3df;padding:2px 6px;border-radius:4px}.save-sentence{font-size:17px;color:#b2bba4;line-height:1;border:0;background:none;padding:1px 4px}.save-sentence.saved{color:#c8a14a}.sentence{font:25px/1.8 Georgia,"Times New Roman",serif;letter-spacing:-.15px;color:#344d35;white-space:pre-wrap;margin:15px 0 19px;overflow-wrap:anywhere}.token{font:inherit;color:inherit;letter-spacing:inherit;background:none;border:0;border-bottom:1px dotted transparent;padding:0;line-height:1.4;display:inline;cursor:pointer;border-radius:3px}.token:hover,.token.selected{background:#ebf0df;border-bottom-color:#8da475}.token.later{border-bottom:1px solid #e4c2a6;background:#fcf6ef;color:#93775c}.token.unmatched,.token.unplaced,.token.ambiguous{border-bottom:1px dashed #d3c7de;color:#8e819c;background:#faf8fc}.token.target{background:#e4edd4;color:#5b7d3b;border-bottom-color:#9eb584}.phrases{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}.phrase-button{font:11px Georgia,serif;color:#869771;border:1px solid #e1e9d4;background:#f7faf2;border-radius:5px;padding:4px 9px}.phrase-button:hover{background:#ebf2dd}.translation{border-top:1px dashed #e8ebdf;padding:12px 0;color:#8d997f;font-size:12px;line-height:1.9;min-height:49px;white-space:pre-wrap}.translation.hidden{color:#bac1af;font-size:10px;letter-spacing:.4px}.card-actions{border-top:1px solid #edf0e6;margin:0 -27px;padding:12px 27px;display:flex;align-items:center;gap:17px;background:#fdfefa;border-radius:0 0 11px 11px}.card-actions button{color:#9aaa85;border:0;padding:1px 0;background:none;font-size:10px}.card-actions button:hover{color:#54773e}.card-actions .translation-toggle{margin-left:auto}.word-panel{border:1px solid #e4e7d9;border-radius:11px;background:#f3f4ea;position:sticky;top:20px;overflow:hidden}.word-placeholder{padding:36px 20px;text-align:center}.placeholder-symbol{font:49px Georgia,serif;display:inline-block;position:relative;color:#c3cbb2}.placeholder-symbol span{font:20px Georgia;position:absolute;right:-15px;top:-4px;color:#b5bd9e}.word-placeholder h3{font-size:12px;font-weight:500;color:#8f9c7d;margin-top:18px}.word-placeholder p{font-size:11px;color:#acb59e;line-height:1.95}.placeholder-note{border-top:1px solid #e4e8d8;font-size:9px;color:#b5bda7;margin-top:27px;padding-top:17px}.word-content{padding:22px 20px}.word-panel-top{font-size:8px;color:#a8b19a;letter-spacing:1px;display:flex;justify-content:space-between;align-items:center}.word-panel-top button{border:0;background:none;font-size:18px;color:#9eac8b;line-height:1}.word-head{font:33px/1.4 Georgia,serif;color:#536c3c;letter-spacing:-.7px;margin:13px 0 2px;overflow-wrap:anywhere}.word-ipa{font-size:12px;color:#93a17f;margin:0 0 13px;line-height:1.7}.word-meaning{font-size:13px;color:#768960;line-height:1.9;margin:8px 0 15px}.word-kind{font-size:9px;color:#a8b398}.word-related{border-top:1px dashed #dbe2ce;padding-top:13px;font-size:10px;color:#9ba88a;line-height:1.9;overflow-wrap:anywhere}.word-related b{font:14px Georgia,serif;color:#758b5b}.candidate-options{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.candidate-options button{font:11px Georgia;background:#fff;border:1px solid #d9e2cb;border-radius:4px;padding:4px 7px;color:#7d9166}.source-heading{font-size:9px;color:#93a07f;letter-spacing:1px;margin:22px 0 9px}.source-entry{border:1px solid #e0e5d5;background:#fafbf5;border-radius:6px;padding:10px 11px;margin:8px 0}.source-entry strong{font-size:10px;font-weight:500;color:#7b8e63}.source-entry .source-meaning{font-size:10px;color:#9ca98c;line-height:1.8;margin-top:4px}.source-entry small{font-size:8px;display:block;color:#b3bca5;margin-top:4px}.source-pill{font-size:8px;border:1px solid #d5dfc5;color:#94a77a;padding:1px 4px;border-radius:3px;margin-left:5px}.source-warning{color:#b49a78!important}.word-save{width:100%;border:1px solid #d4dfc5;border-radius:6px;background:#e4ecd8;color:#7c9561;padding:8px 10px;font-size:11px;margin-top:14px}.word-save.saved{background:#355d42;color:#e5eedb;border-color:#355d42}.word-disclaimer{font-size:9px;color:#aab49a;line-height:1.8;margin-top:15px}details summary{font-size:9px;color:#98a88a;cursor:pointer}.empty{border:1px dashed #dfe6d4;border-radius:9px;padding:50px 25px;text-align:center;color:#a6b296;font-size:12px;line-height:1.9;background:#fcfdf9}.empty b{font-size:18px;font-weight:500;color:#7d9467;display:block;margin-bottom:7px}footer{border-top:1px solid #e5e9dd;display:flex;align-items:center;justify-content:space-between;margin:42px 0 0;padding:25px 0 32px;gap:25px}.footer-brand{font-size:13px;font-weight:700;color:#859b73}.footer-brand small{display:block;font-size:9px;font-weight:400;letter-spacing:1px;color:#afb8a1;margin-top:3px}footer p{font-size:9px;color:#aeb7a0;line-height:1.9;margin:0}dialog{width:480px;max-width:94vw;border:1px solid #e1e6d6;border-radius:12px;padding:24px;box-shadow:0 22px 70px #243c2826;color:var(--ink)}dialog::backdrop{background:#213d2f55;backdrop-filter:blur(2px)}.modal-heading{display:flex;justify-content:space-between;align-items:center}.modal-heading h2{font-size:17px;font-weight:550;margin:0}.close{border:0;background:none;font-size:25px;line-height:1;color:#a2ad95}.modal-copy{font-size:11px;color:#9aab86;line-height:1.95}.field{display:block;margin:18px 0;font-size:11px;color:#82976c}.field select{display:block;width:100%;border:1px solid #dce5cf;border-radius:6px;padding:10px;margin-top:7px;background:#fafcf5;color:#6b8653}.check{display:flex;align-items:flex-start;gap:7px;font-size:11px;color:#8da076;line-height:1.9;margin:14px 0}.check input{margin-top:5px;accent-color:#557c43}.check small{display:block;color:#adb89d;font-size:9px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.button{border:1px solid #dce4d1;background:white;border-radius:6px;padding:8px 15px;font-size:11px;color:#8ba276}.button.primary{background:#315b3f;color:#f4f7ef;border-color:#315b3f}.about-copy{font-size:12px;color:#8ba077;line-height:1.95}.about-copy b{color:#587944}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#345a42ed;color:#fff;padding:10px 19px;border-radius:8px;font-size:11px;pointer-events:none;opacity:0;transition:opacity .2s;box-shadow:0 4px 20px #1c3a271f;z-index:20;max-width:90vw}#toast.visible{opacity:1}.saved-word-strip{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:15px}.saved-word-strip button{font:12px Georgia;color:#7f9569;background:#edf3e4;border:1px solid #dce6ce;border-radius:5px;padding:5px 10px}.source-entry .source-ipa{font-size:9px;color:#a9b79a}#clear-filter{margin-left:auto}.reading-heading .eyebrow{margin-left:1px}
@media(min-width:1450px){.site-header,main{max-width:1400px;padding-left:60px;padding-right:60px}.hero{min-height:420px;padding-left:60px;padding-right:60px}.hero h1{font-size:53px}.hero-art{transform:scale(1.08)}.learning-layout{grid-template-columns:minmax(0,1fr) 310px}.sentence{font-size:29px}}
@media(max-width:1050px){.site-header{padding:0 28px}.site-header nav{margin-left:0;gap:20px}main{padding:0 28px}.hero{padding:30px 15px;min-height:350px}.hero h1{font-size:40px}.hero-art{transform:scale(.9);transform-origin:center;width:330px}.vocab-postcard{left:44px}.hero-copy>p{font-size:12px}.classroom{padding:15px 18px;gap:14px}.classroom-label{min-width:185px}.learning-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.sentence-card{padding:20px 22px 0}.card-actions{margin:0 -22px;padding:11px 22px}.sentence{font-size:23px}.word-content{padding:20px 17px}.reading-heading h2{font-size:22px}.filters select{max-width:190px}footer p{max-width:350px}.legend{font-size:8px;gap:9px}}
@media(max-width:800px){.site-header{padding:0 20px;height:85px;gap:13px}.brand{font-size:15px;gap:8px}.brand-mark{width:32px;height:38px;font-size:26px;line-height:35px}.brand small{font-size:8px}.site-header nav{gap:15px}.nav-button{font-size:10px;padding:27px 0 21px}.profile-button{font-size:9px;gap:5px;padding:6px}.profile-avatar{width:22px;height:22px;font-size:14px}main{padding:0 20px}.hero{padding:22px 5px;gap:0;min-height:320px}.hero h1{font-size:35px}.eyebrow{font-size:7px;letter-spacing:1.2px}.hero-art{width:280px;transform:scale(.8)}.vocab-postcard{left:20px}.hero-copy>p{font-size:11px}.hero-note{font-size:8px;letter-spacing:0}.classroom{flex-wrap:wrap;gap:14px}.classroom-label{min-width:180px}.focus-words{order:3;flex-basis:100%}.classroom>.text-button{margin-left:auto}.learning-layout{grid-template-columns:minmax(0,1fr) 230px;gap:13px}.sentence{font-size:22px}.sentence-card{padding:17px 17px 0}.card-actions{margin:0 -17px;padding:11px 17px;gap:12px}.card-actions button{font-size:9px}.word-head{font-size:29px}.word-content{padding:18px 14px}.word-meaning{font-size:12px}.filters{flex-wrap:wrap}.search{max-width:none;min-width:160px}.filters select{max-width:180px}.legend{font-size:8px;gap:8px}.reading-heading{align-items:flex-start}.reading-heading h2{font-size:21px}footer{gap:15px}footer p{font-size:8px;max-width:240px}.source-entry{padding:8px}.word-placeholder{padding:27px 14px}.word-placeholder h3{font-size:11px}.word-placeholder p{font-size:10px}}
@media(max-width:620px){.site-header{height:78px;padding:0 16px;flex-wrap:wrap;gap:0;position:relative}.brand{font-size:14px}.brand small{display:none}.brand-mark{width:29px;height:33px;line-height:30px;font-size:24px;border-radius:9px 9px 9px 3px}.brand-mark span{font-size:20px}.site-header nav{gap:17px;margin-left:auto;margin-right:0}.nav-button{font-size:10px;padding:28px 0 23px}.nav-button span{font-size:8px;margin-left:2px}.profile-button{position:absolute;top:89px;right:20px;z-index:5;border:0;background:#eef2e6;padding:4px 8px;border-radius:14px;max-width:180px}.profile-avatar{display:none}.profile-button>span:last-child{margin-left:5px}main{padding:0 16px}.hero{grid-template-columns:1fr;min-height:0;padding:42px 9px 24px;position:relative}.hero-copy{z-index:3}.hero h1{font-size:37px;letter-spacing:0;margin-top:19px;margin-bottom:18px}.hero-copy>p{font-size:11px;line-height:1.9;max-width:190px;margin:15px 0}.hero-note{font-size:8px;margin-top:17px}.eyebrow{font-size:6px;letter-spacing:1px}.hero-art{position:absolute;right:-25px;top:81px;width:220px;height:245px;transform:scale(.59);transform-origin:65% 30%}.vocab-postcard{left:0;top:22px}.art-orbit{width:280px;height:230px;left:-24px}.mini-note{display:none}.word-sticker{left:-23px;bottom:-3px;font-size:15px}.s1{right:-57px;top:6px}.s2{right:-62px;bottom:-22px}.art-dot{left:-42px;top:96px}.classroom{padding:14px;gap:11px;border-radius:9px}.classroom-label{gap:9px;min-width:0;flex:1}.classroom h2{font-size:11px}.classroom-label div>span{font-size:8px}.book-icon{width:29px;height:32px;font-size:19px}.classroom>.text-button{font-size:9px}.word-chip{padding:6px 12px;font-size:12px}.focus-empty{font-size:10px}.reading{margin-top:30px}.reading-heading{gap:10px;flex-direction:column}.reading-heading h2{font-size:22px;margin-top:5px}.reading-heading p{font-size:9px}.legend{font-size:8px;gap:14px}.eyebrow.tiny{font-size:7px}.filters{margin:15px 0;gap:7px}.search{flex-basis:100%;padding:0 10px}.search input{padding:7px 0;font-size:10px}.filters select{font-size:9px;flex:1;max-width:calc(50% - 4px);padding:8px}.filters>.text-button{font-size:9px}.learning-layout{display:flex;flex-direction:column}.sentence-list{width:100%;gap:14px}.sentence-card{padding:17px 18px 0;border-radius:9px}.sentence{font-size:22px;line-height:1.85;margin:13px 0 16px}.card-actions{margin:0 -18px;padding:11px 18px;gap:17px}.card-actions button{font-size:9px}.word-panel{width:100%;position:static;order:-1}.word-panel:has(.word-placeholder){display:none}.word-panel:has(.word-content){position:fixed;bottom:0;left:0;right:0;top:auto;z-index:10;width:100%;border-radius:15px 15px 0 0;max-height:68vh;overflow:auto;box-shadow:0 -12px 70px #1d3d2929;border-color:#dce4cc}.word-content{padding:19px 22px 21px}.word-panel-top{font-size:9px}.word-head{font-size:32px;margin-top:9px}.word-ipa{font-size:12px;margin-bottom:5px}.word-meaning{font-size:13px;margin-top:8px}.source-entry{padding:10px 12px}.source-entry strong{font-size:11px}.source-entry .source-meaning{font-size:11px}.source-heading{margin-top:15px}.word-save{font-size:12px}.word-disclaimer{font-size:9px}.card-number{font-size:14px}.translation{font-size:11px}.active-filter{font-size:10px}footer{margin-top:27px;padding:21px 0 27px;flex-wrap:wrap;gap:15px}.footer-brand{font-size:12px}.footer-brand small{font-size:8px}footer p{order:3;max-width:none;width:100%;font-size:8px}footer>.text-button{margin-left:auto;font-size:9px}.word-panel-top button{font-size:22px}.word-related{font-size:10px}}
@media(max-width:620px){.hero-art{right:4px}}
.phrase-button.later{background:#fcf6ef;border-color:#ead4be;color:#a18a6d}.phrase-button.unplaced{background:#f7f4fb;border-color:#e2d9eb;color:#a094ae}
