@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&family=Literata:opsz,wght@7..72,400;7..72,500;7..72,600&display=swap');
:root{--han-font:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;--bg:#faf9f6;--ink:#292d28;--muted:#7b7e74;--green:#286346;--line:#e4e5de}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px 'Golos Text',Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}button,a,input,select{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #94b994;outline-offset:3px}button{border:0;background:none}aside{position:fixed;inset:0 auto 0 0;width:230px;padding:38px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f6f6f0}.brand{display:flex;align-items:center;gap:12px;color:var(--green);font-size:46px;text-decoration:none;padding:0 10px}.brand span{font-size:17px;font-weight:600;line-height:1.1;letter-spacing:-.6px}nav{display:grid;gap:8px;margin-top:65px}nav button{text-align:left;padding:16px 13px;border-radius:9px;display:flex;gap:13px;align-items:center;color:#74776e}nav button.active{background:#e6eddf;color:var(--green)}nav b{margin-left:auto;font-size:12px}.aside-bottom{margin-top:auto;display:flex;align-items:center;gap:10px;font-size:12px}.avatar{border-radius:50%;background:#e5e8d9;padding:12px;color:var(--green)}small{display:block;color:var(--muted);font-size:11px;margin-top:6px}main{max-width:1480px;margin-left:230px;padding:35px 64px 70px}.topline{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:1.5px;padding-bottom:48px}.eyebrow{font-size:10px;color:var(--green);letter-spacing:2px;font-weight:600;margin:10px 0 18px}h1{font-family:'Literata',Georgia,serif;font-size:clamp(38px,4.4vw,66px);font-weight:500;line-height:1.16;letter-spacing:-2px;margin:0 0 20px}p{line-height:1.65}h2{font-family:'Literata',Georgia,serif;font-size:26px;font-weight:500;letter-spacing:-.6px;margin:0 0 10px}h3{font-size:18px;font-weight:500;margin:10px 0}.lead{color:var(--muted);max-width:590px;margin:0 0 34px;line-height:1.8}.overview{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin:25px 0 42px;gap:20px}.overview>div+div{border-left:1px solid var(--line);padding-left:28px}.label{font-size:9px;letter-spacing:1.5px;color:var(--muted)}.overview strong{display:block;font:40px 'Literata',Georgia,serif;margin:8px 0}.overview strong small{display:inline;font:20px 'Golos Text',sans-serif}.overview>div>span:last-child{font-size:11px;color:var(--muted)}.flow-link{display:flex;align-items:center;gap:22px;text-align:left;background:#edf0e5;border-radius:10px;padding:15px 24px}.flow-link small{font-size:10px}.flow-symbol{font:70px Georgia;color:var(--green)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head p{font-size:12px;color:var(--muted);margin:0}.pill{border:1px solid var(--line);padding:9px 13px;border-radius:30px;font-size:11px;white-space:nowrap}.topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.topic{border:1px solid #0000000a;border-radius:13px;overflow:hidden;padding:20px 21px 16px;transition:transform .15s}.topic:hover{transform:translateY(-3px)}.green{background:#eaf0e4}.peach{background:#f6e9dd}.purple{background:#ebe8f3}.blue{background:#e4edf0}.yellow{background:#f4efdb}.pink{background:#f2e6e7}.topic-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.topic-top>span{font-size:7px;letter-spacing:1px;color:#71766b}.pin{font-size:9px;white-space:nowrap;padding:5px;background:#ffffff70;border-radius:20px}.pin.chosen{color:var(--green)}.topic-open{display:block;width:100%;text-align:left;padding:0}.han-cover{font-family:var(--han-font);font-size:49px;letter-spacing:6px;color:#50694b;margin:28px 0 23px}.peach .han-cover{color:#a06f50}.purple .han-cover{color:#7d719e}.blue .han-cover{color:#517f8b}.yellow .han-cover{color:#a09045}.pink .han-cover{color:#a46e78}.topic h3{font-size:17px;letter-spacing:-.5px}.topic p{font-size:11px;color:#77796f;min-height:36px;margin-bottom:19px}.topic-foot{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#747b6c;margin-bottom:10px}.topic-foot button{font-size:20px}.meter{height:4px;background:#0000000c;border-radius:5px;overflow:hidden}.meter i{display:block;height:100%;background:var(--green)}.note{border:1px solid var(--line);border-radius:10px;padding:20px 24px;margin:30px 0;display:grid;gap:8px;font-size:12px}.note span{color:var(--muted);line-height:1.8}.plan{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.plan button{padding:16px;background:white;border:1px solid var(--line);border-radius:8px}.plan b{color:var(--green);margin-right:7px}.muted{color:var(--muted);font-size:12px}.back{padding:0;margin:5px 0 30px;color:var(--muted)}.primary,.secondary,select{border-radius:24px;padding:13px 21px;font-size:12px}.primary{background:var(--green);color:white}.primary:hover{background:#1b5136}.secondary,select{background:#fffdf9;border:1px solid var(--line)}.word-summary{display:flex;align-items:center;gap:12px;margin:26px 0 28px}.word-summary>span{margin-right:auto;color:var(--muted);font-size:12px}.toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:24px}input{border:1px solid var(--line);background:white;padding:14px 18px;border-radius:25px;min-width:0}.toolbar input{flex:1;min-width:180px}.dictionary{display:grid;grid-template-columns:1.6fr 1fr;gap:30px;align-items:start}.word-row{display:flex;align-items:center;gap:22px;width:100%;text-align:left;padding:18px 12px;border-bottom:1px solid var(--line);border-radius:6px}.word-row.selected{background:#edf0e5}.word-han{font:28px var(--han-font);min-width:68px}.pinyin{color:var(--green);font-size:14px}.meaning{display:block;font-size:12px;color:var(--muted);margin-top:6px}.word-status{font-size:9px;color:var(--muted);margin-left:auto}.detail{border:1px solid var(--line);background:#fffdf9;border-radius:15px;padding:28px;position:sticky;top:25px}.detail-han{font:64px var(--han-font);margin:18px 0}.detail h3{font-size:17px}.audio{margin-top:10px}.sentence{font-size:23px;font-family:var(--han-font)}hr{border:0;border-top:1px solid var(--line);margin:23px 0}.stages{display:grid;gap:12px;font-size:11px;margin:20px 0;color:#a1a397}.stages .done{color:var(--green)}.full{width:100%}.review-box{background:#edf0e5;border-radius:18px;padding:35px;margin:25px 0 40px}.big-number{font:80px 'Literata',Georgia;color:var(--green)}.review-box p{max-width:540px}.progress-list{display:grid;gap:12px}.progress-list>button{display:flex;align-items:center;text-align:left;gap:22px;background:white;border:1px solid var(--line);padding:18px;border-radius:10px}.mini-han{padding:20px;font:23px serif;border-radius:8px;min-width:105px;text-align:center}.progress-list button>div{flex:1}.progress-list h3{margin:0 0 12px}.flow-banner{background:#e6eddf;padding:35px;border-radius:15px;display:flex;align-items:center;gap:35px;margin:35px 0}.flow-banner>span{font:100px var(--han-font);color:var(--green)}.goals{display:grid;gap:12px;margin:25px 0}.goals label{display:flex;gap:15px;align-items:center;padding:20px;background:white;border:1px solid var(--line);border-radius:9px;line-height:1.6}.goals input{accent-color:var(--green);width:20px;height:20px}.flow-count{color:var(--green)}dialog{border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);padding:30px;max-width:700px;width:calc(100% - 30px);max-height:92vh}dialog::backdrop{background:#26342b80;backdrop-filter:blur(5px)}.training-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;margin-bottom:18px}.close{font-size:26px}.step-labels{display:flex;justify-content:space-between;gap:8px;margin:20px 0;font-size:10px;color:var(--muted)}.step-labels .current{color:var(--green);font-weight:bold}.exercise{text-align:center;padding:15px 0;min-height:330px}.exercise-han{font:76px var(--han-font);margin:25px 0}.exercise h2{font-size:25px}.exercise input{width:80%;font-size:18px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.choice{min-height:60px}.exercise-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px;border-top:1px solid var(--line)}.exercise-bottom>span{font-size:10px;color:var(--muted)}.feedback{padding:16px;border-radius:8px;margin-bottom:15px;font-size:13px;line-height:1.8}.correct{background:#e3edde;color:#286346}.wrong{background:#f7e5d8;color:#89532e}.tiles,.answer-tiles{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:25px 0}.tiles button,.answer-tiles button{background:white;border:1px solid var(--line);border-radius:8px;padding:12px 16px;font-size:25px}.answer-tiles{min-height:78px;border-bottom:1px solid var(--line);padding-bottom:15px}.answer-tiles>span{color:var(--muted);font-size:12px;margin:auto}.complete-symbol{font-size:50px;color:var(--green);margin:20px 0}#training>.close{float:right}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:15px 22px;border-radius:10px;max-width:90%;opacity:0;pointer-events:none;z-index:5;font-size:13px;transition:opacity .2s}#toast.show{opacity:1}.empty{padding:30px;color:var(--muted)}
@media(min-width:1500px){main{padding-left:85px;padding-right:85px}.topic{padding:25px}.han-cover{font-size:62px}}@media(max-width:1100px){aside{width:190px;padding:30px 13px}main{margin-left:190px;padding:30px}.topics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview{gap:12px}.flow-link{padding:10px;gap:10px}.dictionary{grid-template-columns:1.3fr 1fr;gap:15px}.detail{padding:20px}.toolbar .secondary{font-size:10px;padding:12px}.word-row{gap:10px}.word-status{font-size:8px}}@media(max-width:700px){aside{inset:auto 0 0;width:100%;height:70px;padding:0;border-right:0;border-top:1px solid var(--line);z-index:3;background:#faf9f6f5}.brand,.aside-bottom{display:none}nav{margin:0;display:flex;justify-content:space-around;gap:0}nav button{display:flex;flex-direction:column;gap:4px;font-size:19px;padding:10px 8px;border-radius:0}nav button span{font-size:9px}nav b{position:absolute;top:5px;margin-left:30px}main{margin:0;padding:25px 20px 100px}.topline{padding-bottom:30px;font-size:8px}h1{font-size:43px}.lead{font-size:13px}.overview{grid-template-columns:1fr 1fr;padding:20px 0;gap:20px}.overview>div+div{padding-left:20px}.overview>div:nth-child(3){border:0;padding-left:0}.flow-link{grid-column:1/-1;padding:10px 20px;justify-content:space-between}.flow-symbol{font-size:45px}.flow-link small{display:inline;margin-left:15px}.topics{gap:12px}.topic{padding:15px 13px}.topic-top>span{font-size:6px;letter-spacing:0}.pin{font-size:8px}.han-cover{font-size:36px;margin:25px 0 18px;letter-spacing:2px}.topic h3{font-size:14px;line-height:1.4;min-height:39px}.topic p{font-size:10px;min-height:50px}.topic-foot{font-size:8px;gap:2px}.section-head{align-items:start}h2{font-size:24px}.pill{font-size:9px}.section-head p{font-size:11px}.word-summary{flex-wrap:wrap}.word-summary>span{width:100%}.dictionary{display:flex;flex-direction:column}.word-list,.detail{width:100%}.detail{position:static}.toolbar input{flex-basis:100%}.toolbar .secondary,select{padding:10px;font-size:10px}.word-row{padding:15px 10px}.word-han{font-size:27px}.word-status{font-size:9px}.flow-banner{padding:25px;gap:20px}.flow-banner>span{font-size:70px}.flow-banner p{font-size:12px}.mini-han{min-width:75px;padding:12px;font-size:18px}.progress-list>button{gap:13px}.progress-list h3{font-size:14px}dialog{padding:20px}.exercise-han{font-size:60px}.step-labels{font-size:8px}.exercise-bottom>span{font-size:9px}.exercise input{width:100%}.choices{gap:8px}.choice{padding:12px;font-size:11px}.tiles button,.answer-tiles button{padding:9px 12px;font-size:22px}.exercise{min-height:300px}.note{padding:18px}.overview strong{font-size:35px}}
.interest-panel{margin:0 0 25px;padding:23px;border:1px solid var(--line);border-radius:12px;background:#fffdf9}.interest-panel h3{margin-top:0;font-size:16px}.interest-panel p{font-size:12px;color:var(--muted);margin:8px 0 18px}.interest-options{display:flex;flex-wrap:wrap;gap:9px}.interest-chip{border:1px solid var(--line);border-radius:25px;padding:10px 15px;font-size:12px;background:#faf9f6}.interest-chip.chosen{background:#e6eddf;border-color:#9db69b;color:var(--green)}.clear-interests{font-size:11px;color:var(--muted);margin-top:17px;text-decoration:underline}.scope-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.scope-tabs button{border:1px solid var(--line);border-radius:25px;padding:11px 18px;font-size:12px}.scope-tabs button.active{color:var(--green);background:#e6eddf;border-color:#a6bca1}.scope-tabs span{opacity:.6;margin-left:6px}.word-section-label{font-size:9px;letter-spacing:1.2px;color:var(--green);padding:22px 12px 12px}.topic>small{font-size:9px;margin-top:10px}.topic-top>span{font-size:7px;letter-spacing:.6px}.progress-list small{line-height:1.6}@media(max-width:700px){.interest-panel{padding:17px}.interest-chip{font-size:11px;padding:9px 12px}.scope-tabs button{font-size:11px;padding:10px 12px}.topic-top>span{font-size:6px;letter-spacing:0}.word-summary>span{line-height:1.7}}
.brand{padding:0 6px;gap:11px;font-size:inherit;align-items:center}.brand img{flex-shrink:0;width:48px;height:48px}.brand .brand-type{display:flex;flex-direction:column;gap:8px}.brand .brand-name{font-size:17px;letter-spacing:-.7px;font-weight:600;line-height:1.03}.brand .brand-name>span{display:block;font-size:21px;letter-spacing:-.8px}.brand small{font-size:6.5px;font-weight:500;letter-spacing:1.8px;margin:0;color:#6d7e64}.train-han{display:flex;align-items:center;gap:18px;text-align:left;padding:0;color:var(--ink);transition:color .15s}.train-han:hover{color:var(--green)}.train-han-icon{font:24px 'Golos Text',sans-serif;color:var(--green);opacity:.6}.word-tap-hint{font-size:10px;line-height:1.5;color:var(--muted);margin:-5px 0 20px}.word-row:hover{background:#e8efdf}.word-row .word-han{transition:color .15s}.word-row:hover .word-han{color:var(--green)}.word-row:hover .word-status{color:var(--green)}.tiles .sentence-tile,.answer-tiles .sentence-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:13px 16px;min-width:70px;max-width:190px;border-radius:12px;min-height:83px;box-shadow:0 2px 0 #e1e4d9;line-height:1.2}.tile-han{font:27px var(--han-font)}.tile-gloss{font:10px/1.35 'Golos Text',Arial,sans-serif;color:#7b7e74;max-width:150px;overflow-wrap:anywhere}.tiles .target-tile,.answer-tiles .target-tile{border-color:#acc49f;background:#eef3e8}.target-gloss{color:var(--green);font-size:9px;letter-spacing:.3px}.answer-tiles{min-height:110px}.tiles{align-items:stretch}.sentence-tile:hover:not(:disabled){border-color:var(--green);transform:translateY(-1px)}@media(max-width:1100px) and (min-width:701px){.brand{gap:8px;padding:0 4px}.brand img{width:41px;height:41px}.brand .brand-name{font-size:15px}.brand .brand-name>span{font-size:19px}.brand small{font-size:6px;letter-spacing:1.4px}}@media(max-width:700px){.brand{display:none}.tiles .sentence-tile,.answer-tiles .sentence-tile{min-width:60px;max-width:145px;padding:10px 12px;min-height:76px}.tile-han{font-size:25px}.tile-gloss{font-size:9px;max-width:120px}.target-gloss{font-size:8px}}
.mobile-masthead{display:none}@media(max-width:700px){.mobile-masthead{display:flex;align-items:center;justify-content:space-between;margin:20px 20px 0;padding-bottom:17px;border-bottom:1px solid var(--line)}.mobile-brand{display:flex;gap:9px;align-items:center;text-decoration:none;color:var(--green);font-size:13px;letter-spacing:-.5px;line-height:1.1}.mobile-brand img{border-radius:11px}.mobile-brand b{display:block;font-size:17px;font-weight:600}.mobile-tagline{font-size:8px;letter-spacing:1.8px;color:var(--muted)}}
/* Keep the vocabulary workspace compact so words stay above the fold. */
main.vocabulary-page{padding-top:24px}.vocabulary-page>.back{font-size:12px;margin:0 0 12px}.vocabulary-page>.eyebrow{font-size:9px;letter-spacing:1.4px;margin:4px 0 7px}.vocabulary-page>h1{font-size:clamp(28px,2.7vw,38px);line-height:1.2;letter-spacing:-1px;margin:0 0 8px}.vocabulary-page>.lead{font-size:12px;line-height:1.5;max-width:none;margin:0 0 12px}.vocabulary-page>.word-summary{margin:12px 0;gap:10px}.vocabulary-page>.word-summary button{padding:10px 17px}.vocabulary-page>.scope-tabs{margin-top:8px;gap:7px}.vocabulary-page>.scope-tabs button{padding:8px 14px;font-size:11px}.vocabulary-page>.scope-tabs+.muted{font-size:10px;line-height:1.5;margin:7px 0 10px}.vocabulary-page>.toolbar{margin-bottom:10px}.vocabulary-page>.toolbar input{padding:11px 16px}.vocabulary-page>.toolbar button,.vocabulary-page>.toolbar select{padding:10px 15px}.vocabulary-page .word-section-label{padding-top:12px;padding-bottom:9px}@media(max-width:700px){main.vocabulary-page{padding-top:16px}.vocabulary-page>h1{font-size:28px;letter-spacing:-.7px}.vocabulary-page>.word-summary{gap:8px;margin:10px 0}.vocabulary-page>.word-summary>span{font-size:11px}.vocabulary-page>.scope-tabs+.muted{margin:6px 0 9px}.vocabulary-page>.toolbar{gap:7px}.vocabulary-page>.toolbar button,.vocabulary-page>.toolbar select{padding:9px 10px}.vocabulary-page>.toolbar input{padding:11px 14px}}
/* Compact home header: leave more of the first screen for topic choices. */
main:not(.vocabulary-page)>.topline{padding-bottom:20px}main:not(.vocabulary-page)>.topline+.eyebrow{margin:5px 0 10px}main:not(.vocabulary-page)>.topline~h1{font-size:clamp(32px,3.1vw,46px);line-height:1.12;letter-spacing:-1.3px;margin-bottom:12px}main:not(.vocabulary-page)>.topline~h1 br{display:none}main:not(.vocabulary-page)>.topline~h1 br::after{content:' '}main:not(.vocabulary-page)>.topline~.lead{max-width:760px;font-size:13px;line-height:1.6;margin-bottom:20px}main:not(.vocabulary-page)>.topline~.overview{padding:16px 0;margin:18px 0 25px}main:not(.vocabulary-page)>.topline~.overview strong{font-size:32px;margin:5px 0}main:not(.vocabulary-page)>.topline~.overview .flow-symbol{font-size:50px}main:not(.vocabulary-page)>.topline~.section-head{margin-bottom:16px}main:not(.vocabulary-page)>.interest-panel{padding:17px 20px;margin-bottom:20px}main:not(.vocabulary-page)>.interest-panel p{margin:6px 0 12px}main:not(.vocabulary-page)>.interest-panel .interest-chip{padding:8px 13px;font-size:11px}main:not(.vocabulary-page)>.interest-panel .clear-interests{margin-top:11px}@media(max-width:700px){main:not(.vocabulary-page)>.topline{padding-bottom:14px}main:not(.vocabulary-page)>.topline~h1{font-size:33px;letter-spacing:-1px}main:not(.vocabulary-page)>.topline~.overview{margin:16px 0 22px;padding:14px 0;gap:13px}main:not(.vocabulary-page)>.interest-panel{padding:15px}.interest-options{gap:7px}}
.sentence-review{margin:20px 0 12px;padding:23px;background:#f0f3ea;border:1px solid #dce5d4;border-radius:13px;text-align:left}.sentence-review>.eyebrow{margin:0 0 14px;font-size:9px}.review-sentence{font:25px/1.5 var(--han-font);margin:0 0 5px}.review-reading{font-size:12px;color:var(--green);line-height:1.7;margin:0 0 20px}.review-word-grid{display:flex;flex-wrap:wrap;gap:9px}.review-word{display:flex;flex-direction:column;gap:6px;background:#fffdf9;border:1px solid var(--line);padding:13px 15px;border-radius:10px;flex:1 0 100px;max-width:100%;min-width:0}.review-han{font:25px var(--han-font)}.review-word .pinyin{font-size:11px}.review-gloss{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.review-target{border-color:#96b489;background:#e6eddf}.review-target small{color:var(--green);font-size:8px;margin:1px 0 0}.sentence-translation{border-top:1px solid #d8e0d0;margin-top:20px;padding-top:15px}.sentence-translation p{margin:6px 0 0;font-size:14px;line-height:1.65}@media(max-width:700px){.sentence-review{padding:17px}.review-word{flex-basis:85px;padding:11px}.review-reading{font-size:11px}.sentence-translation p{font-size:13px}}
.sentence-result .tiles{display:none}.sentence-result .exercise{min-height:0;padding-bottom:0}.sentence-result .answer-tiles{min-height:0;margin:15px 0;padding-bottom:12px}.sentence-result .answer-tiles .sentence-tile{min-height:65px;padding:9px 12px}.sentence-result .review-word-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.sentence-result .review-word{padding:12px 10px}.sentence-result .sentence-review{margin-top:14px}.sentence-result .exercise-bottom{padding-top:14px}@media(max-width:700px){.sentence-result .review-word-grid{grid-template-columns:repeat(auto-fit,minmax(80px,1fr))}}
.sentence-result .review-word{padding-left:8px;padding-right:8px}.sentence-result .review-gloss{font-size:10px;hyphens:auto;overflow-wrap:normal;word-break:normal}
.english-line{display:block;color:#8b8c81;font-size:11px;line-height:1.45;margin:4px 0 0}.detail-english{margin:0 0 15px;font-size:13px}.exercise>.english-line{font-size:15px;margin:-2px 0 20px}.choice .english-line{font-size:11px;margin-top:7px}.tile-english{font:9px/1.3 'Golos Text',Arial,sans-serif;color:#929587;max-width:145px;overflow-wrap:anywhere}.review-english{font-size:10px;line-height:1.4;color:#7a8570;overflow-wrap:anywhere}.rush-page>h1{font-size:clamp(32px,3vw,42px);letter-spacing:-1px}.rush-page>.lead{margin-bottom:22px;font-size:13px;max-width:780px}.rush-controls{display:flex;align-items:end;gap:20px;border:1px solid var(--line);border-radius:13px;background:#fffdf9;padding:22px}.rush-controls>label{display:grid;gap:10px;font-size:11px;color:var(--muted)}.rush-controls select{font-size:12px;max-width:100%;color:var(--ink)}.rush-launch{margin-left:auto;display:grid;gap:12px;text-align:center;font-size:12px;color:var(--green)}.rush-page>.muted{margin:13px 0 27px;line-height:1.7}.rush-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rush-topic{display:flex;align-items:center;gap:15px;padding:16px;border:1px solid var(--line);border-radius:12px;text-align:left;background:#fffdf9;transition:border-color .15s,background .15s}.rush-topic.chosen{border-color:#a1bc95;background:#edf2e7}.rush-topic b{font-size:13px;font-weight:500}.rush-topic-han{font:24px var(--han-font);padding:15px 8px;min-width:85px;text-align:center;border-radius:9px;color:#51684b}.rush-check{font-size:22px;color:var(--green);margin-left:auto}.rush-shortcuts{display:flex;gap:8px}.rush-shortcuts button{padding:9px 13px;font-size:11px}@media(max-width:1000px){.rush-controls{flex-wrap:wrap;gap:15px}.rush-launch{display:flex;align-items:center;width:100%;justify-content:space-between}.rush-topics{grid-template-columns:1fr}}@media(max-width:700px){.rush-controls{padding:17px}.rush-controls>label{width:100%}.rush-controls select{width:100%}.rush-topic{padding:12px;gap:11px}.rush-topic-han{min-width:75px;font-size:22px}.rush-topic b{font-size:12px}.rush-page .section-head{align-items:center;flex-wrap:wrap}.rush-page .section-head h2{font-size:23px}.tile-english{font-size:8px}nav button{padding-left:6px;padding-right:6px}nav button span{font-size:8px}.word-row .english-line{font-size:10px}.training-top>span{font-size:9px;line-height:1.5;max-width:90%}}
.rush-selected{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.rush-selected:empty{display:none}.rush-selected button{font-size:11px;padding:8px 12px;background:#e6eddf;border:1px solid #c8d7be;color:var(--green);border-radius:20px}.rush-selected span{margin-left:7px}
/* Modern Chinese sans-serif forms, matching everyday messaging. */
body{font-family:'Golos Text',Arial,var(--han-font)}.han-cover,.word-han,.detail-han,.sentence,.exercise-han,.tile-han,.review-han,.review-sentence,.mini-han,.rush-topic-han,.flow-banner>span,.avatar{font-family:var(--han-font);font-weight:400}.choice-han{display:block;font-family:var(--han-font);font-size:32px;line-height:1.4;margin-bottom:9px}.reverse-choices .choice{min-height:110px}.reverse-prompt{margin:32px 0 26px!important}.reverse-choices .pinyin{display:block;font-size:14px}.mobile-profile-nav{display:none}button.profile-entry{text-align:left;width:100%;padding:0;cursor:pointer;color:var(--ink)}.profile-entry:hover .avatar{background:#d5e2c9}.profile-arrow{margin-left:auto;color:var(--green);font-size:18px}.profile-links{display:grid;gap:15px;max-width:780px;margin:30px 0}.profile-links>button{display:flex;align-items:center;gap:20px;text-align:left;padding:25px;border:1px solid var(--line);background:#fffdf9;border-radius:13px}.profile-links>button>span:last-child{margin-left:auto;color:var(--green)}.profile-links b{font-size:18px;font-weight:500}.profile-links small{line-height:1.6}.profile-link-icon{font-size:35px;color:var(--green);width:40px}.step-labels{flex-wrap:wrap;row-gap:9px}@media(max-width:700px){nav .mobile-profile-nav{display:flex}.profile-entry{display:none!important}.profile-links>button{padding:19px;gap:13px}.profile-links b{font-size:16px}.step-labels{font-size:8px;gap:5px}.choice-han{font-size:29px}.reverse-choices .choice{min-height:105px}}
body.signed-out>aside,body.signed-out>.mobile-masthead{display:none}body.signed-out #app{margin:0;max-width:none;min-height:100vh;padding:40px 20px;display:grid;place-items:center}.login-card{width:100%;max-width:430px}.login-card>img{display:block;margin-bottom:30px}.login-card h1{font-size:39px;letter-spacing:-1.4px;line-height:1.2}.login-card>p{color:var(--muted);font-size:13px;margin:12px 0 25px}.login-card .eyebrow{font-size:8px;letter-spacing:1.5px}.login-card form{display:grid;gap:18px}.login-card label{display:grid;gap:9px;font-size:12px}.login-card input{border-radius:10px;width:100%;font-size:16px;padding:14px}.login-card form>.primary{width:100%;font-size:14px;padding:15px}.login-error{color:#985239;min-height:0;font-size:12px;margin:0;line-height:1.6}.login-error:empty{display:none}.login-card>small{font-size:11px;margin-top:23px}.login-loading{color:var(--green);font-size:14px}.account-name{color:var(--green);font-size:14px}.legacy-import{max-width:600px;border:1px solid var(--line);padding:20px;border-radius:12px;margin:22px 0;background:#edf2e7}.legacy-import p{font-size:12px;color:var(--muted)}.account-notice[hidden]{display:none}.account-notice{position:fixed;left:250px;right:20px;bottom:20px;display:flex;gap:12px;align-items:center;z-index:20;background:#fff4df;border:1px solid #dbc59c;border-radius:12px;padding:15px 18px;box-shadow:0 8px 30px #0001;font-size:12px;line-height:1.6}.account-notice>span{flex:1}.account-notice button{border:1px solid #c5b795;padding:8px 12px;border-radius:18px;font-size:11px;white-space:nowrap}@media(max-width:700px){body.signed-out #app{padding:30px 24px}.login-card h1{font-size:34px}.login-card>img{margin-bottom:24px}.account-notice{left:12px;right:12px;bottom:82px;flex-wrap:wrap;padding:13px}.account-notice>span{flex-basis:100%}}
.backup-import{display:grid;gap:9px;max-width:430px;font-size:12px;margin:20px 0;color:var(--muted)}.backup-import input{border-radius:10px;background:#fffdf9;padding:12px;width:100%;font-size:12px}
main.dictionary-page{padding-top:28px}.dictionary-page>h1{font-size:38px;line-height:1.15;letter-spacing:-1px;margin-bottom:10px}.dictionary-page>.eyebrow{font-size:9px;margin-bottom:10px}.dictionary-page>.lead{font-size:12px;max-width:none;margin-bottom:22px}.lookup-controls{display:grid;grid-template-columns:minmax(230px,1.8fr) minmax(150px,1fr) minmax(130px,.75fr);gap:13px;align-items:end}.lookup-controls label{display:grid;gap:8px;font-size:10px;color:var(--muted)}.lookup-controls input,.lookup-controls select{width:100%;min-width:0;padding:12px 15px;font-size:12px;background:#fffdf9;color:var(--ink)}.lookup-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin:18px 0 12px;min-height:22px}.lookup-reset{color:var(--green);font-size:11px;padding:3px 0}.lookup-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.lookup-table th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:500;padding:13px 12px;border-bottom:1px solid var(--line)}.lookup-table th:nth-child(1){width:19%}.lookup-table th:nth-child(2){width:22%}.lookup-table th:nth-child(3){width:22%}.lookup-table th:nth-child(4){width:18%}.lookup-table th:nth-child(5){width:13%}.lookup-table th:nth-child(6){width:6%}.lookup-table td{padding:17px 12px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.6;overflow-wrap:anywhere;vertical-align:middle}.lookup-table tr:hover td{background:#f0f3e9}.lookup-han{display:block;font:27px/1.5 var(--han-font);color:var(--ink);overflow-wrap:anywhere}.lookup-word .pinyin{display:block;margin-top:3px;font-size:12px}.lookup-en{color:#7c8075}.lookup-table .lookup-topic{color:var(--muted);font-size:10px}.status-pill{display:inline-block;font-size:9px;line-height:1.5;padding:5px 8px;border-radius:20px;background:#eceee6;color:#7c8072;white-space:nowrap}.status-pill.mastered{background:#dfebd7;color:#286346}.status-pill.familiar{background:#e7e4f1;color:#7a6b96}.status-pill.learning{background:#f6ead4;color:#926d35}.listen-word{display:grid;place-items:center;border:1px solid var(--line);width:33px;height:33px;border-radius:50%;font-size:12px;color:var(--green);background:#fffdf9}.listen-word:hover{background:#e6eddf;border-color:#a9bf9f}.lookup-empty{padding:45px 20px;text-align:center;border:1px solid var(--line);border-radius:12px;margin:20px 0}.lookup-empty p{font-size:12px;color:var(--muted)}.visually-hidden{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) and (min-width:701px){.lookup-controls{grid-template-columns:1fr 1fr}.lookup-search{grid-column:1/-1}.lookup-table td{padding:14px 7px;font-size:11px}.lookup-table th{padding:12px 7px}.lookup-table th:nth-child(1){width:19%}.lookup-table th:nth-child(2){width:21%}.lookup-table th:nth-child(3){width:21%}.lookup-table th:nth-child(4){width:18%}.lookup-table th:nth-child(5){width:14%}.lookup-table th:nth-child(6){width:7%}.status-pill{font-size:8px;padding:5px 6px}.listen-word{width:28px;height:28px}}@media(max-width:700px){main.dictionary-page{padding-top:20px}.dictionary-page>h1{font-size:32px}.lookup-controls{grid-template-columns:1fr 1fr;gap:11px}.lookup-search{grid-column:1/-1}.lookup-controls input,.lookup-controls select{font-size:12px;padding:12px}.lookup-table,.lookup-table tbody{display:block}.lookup-table thead{display:none}.lookup-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;border:1px solid var(--line);border-radius:12px;background:#fffdf9;padding:16px;margin-bottom:12px}.lookup-table td{display:block;padding:0;border:0;font-size:13px}.lookup-table tr:hover td{background:none}.lookup-table .lookup-word{grid-column:1;grid-row:1}.lookup-table .lookup-audio{grid-column:2;grid-row:1;align-self:center}.lookup-table .lookup-ru,.lookup-table .lookup-en,.lookup-table .lookup-topic{grid-column:1/-1;margin-top:9px;display:grid;grid-template-columns:51px 1fr;gap:8px}.lookup-table [data-label]::before{content:attr(data-label);color:#989c8d;font-size:9px;padding-top:3px}.lookup-table .lookup-status{grid-column:1/-1;margin-top:12px}.lookup-table .lookup-en{font-size:12px}.lookup-table .lookup-topic{font-size:11px}.lookup-han{font-size:29px}.listen-word{width:39px;height:39px}.lookup-summary{margin-top:16px}}
.lookup-controls{grid-template-columns:minmax(210px,1.65fr) minmax(140px,1fr) minmax(125px,.75fr) minmax(120px,.7fr)}.lookup-table th:nth-child(1){width:17%}.lookup-table th:nth-child(2){width:20%}.lookup-table th:nth-child(3){width:20%}.lookup-table th:nth-child(4){width:17%}.lookup-table th:nth-child(5){width:8%}.lookup-table th:nth-child(6){width:12%}.lookup-table th:nth-child(7){width:6%}.lookup-table .lookup-hsk{font-size:10px;white-space:nowrap;color:#728068}.lookup-source{font-size:10px;line-height:1.7;color:var(--muted);margin-top:14px}.lookup-source a{color:var(--green)}@media(max-width:1100px) and (min-width:701px){.lookup-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.lookup-search{grid-column:1/-1}.lookup-table th:nth-child(1){width:17%}.lookup-table th:nth-child(2){width:19%}.lookup-table th:nth-child(3){width:19%}.lookup-table th:nth-child(4){width:16%}.lookup-table th:nth-child(5){width:9%}.lookup-table th:nth-child(6){width:13%}.lookup-table th:nth-child(7){width:7%}}@media(max-width:700px){.lookup-controls{grid-template-columns:1fr 1fr}.lookup-search{grid-column:1/-1}.lookup-controls>label:last-child{grid-column:1/-1}.lookup-table .lookup-hsk{grid-column:1/-1;display:grid;grid-template-columns:51px 1fr;gap:8px;margin-top:9px;font-size:11px}}
@media(max-width:700px){main.dictionary-page{padding-top:15px}.dictionary-page>.eyebrow{display:none}.dictionary-page>h1{font-size:30px;margin-bottom:7px}.dictionary-page>.lead{font-size:11px;line-height:1.5;margin-bottom:15px}.lookup-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}.lookup-search{grid-column:1/-1}.lookup-controls>label:last-child{grid-column:auto}.lookup-controls label{font-size:9px;gap:6px}.lookup-controls select{font-size:10px;padding:11px 7px}.lookup-controls input{font-size:12px}.lookup-summary{margin:12px 0 10px}}
/* Chinese teacher */
.teacher-trigger{position:fixed;right:25px;bottom:24px;z-index:15;background:var(--green);color:#fff;border:1px solid #ffffff40;border-radius:30px;padding:14px 21px;box-shadow:0 5px 24px #23432d26;font-size:13px}.signed-out .teacher-trigger{display:none}.ask-word{margin:12px 0 0;display:block;font-size:11px}dialog.teacher-dialog{width:min(640px,calc(100% - 32px));max-width:640px;height:min(760px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:20px;color:var(--ink);background:#fbfaf6;box-shadow:0 25px 100px #20332133;overflow:hidden}dialog.teacher-dialog[open]{display:flex;flex-direction:column}.teacher-dialog::backdrop{background:#23352855;backdrop-filter:blur(3px)}.teacher-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 25px 18px;gap:12px}.teacher-heading h2{font-size:27px;margin:8px 0 0;letter-spacing:-.7px}.teacher-heading h2 span{font:18px var(--han-font);color:#91a583;margin-left:13px}.teacher-close{font:30px Arial;color:var(--muted);width:36px;height:36px;border-radius:50%;background:#eef0e6;flex-shrink:0}.teacher-context{padding:12px 25px;background:#eaf0e3;font-size:11px;color:var(--green);display:flex;align-items:center;gap:12px}.teacher-context b{font:24px var(--han-font)}.teacher-messages{flex:1;min-height:0;overflow-y:auto;padding:24px;overscroll-behavior:contain}.teacher-message{margin:0 0 20px;max-width:94%;font:14px/1.85 'Golos Text',Arial,var(--han-font);overflow-wrap:anywhere}.teacher-message>div{white-space:pre-wrap}.teacher-message small{font-size:8px;letter-spacing:1.3px;color:#819176;display:block;margin-bottom:6px}.teacher-message.user{margin-left:auto;background:#e8efdf;padding:12px 16px;border-radius:14px 14px 3px 14px}.teacher-message.assistant{padding:0 4px}.teacher-welcome>span{font:42px var(--han-font);color:var(--green)}.teacher-welcome p{font-size:14px;line-height:1.8;color:var(--muted);max-width:420px}.teacher-suggestions{display:grid;gap:9px;margin:20px 0}.teacher-suggestions button{text-align:left;border:1px solid var(--line);padding:13px 15px;border-radius:10px;background:#fffdf9;font-size:12px;color:var(--green)}.teacher-wait{font-size:12px;color:var(--green);padding:8px 4px}.teacher-wait span{animation:teacher-pulse 1s infinite}.teacher-error{font-size:12px;line-height:1.6;color:#9a4938;margin:0;padding:0 24px 10px}.teacher-error:empty{display:none}.teacher-compose{display:flex;gap:10px;align-items:end;margin:0 20px;padding:12px;background:#fff;border:1px solid #ccd6c2;border-radius:14px}.teacher-compose textarea{resize:none;flex:1;min-width:0;max-height:110px;border:0;outline:none;background:transparent;font:14px/1.6 'Golos Text',Arial,var(--han-font);color:var(--ink);padding:0}.teacher-compose .primary{font-size:11px;padding:12px 16px;white-space:nowrap}.teacher-footer{display:flex;align-items:center;gap:14px;padding:12px 24px 17px}.teacher-footer span{font-size:9px;line-height:1.6;color:var(--muted);flex:1}.teacher-new{font-size:10px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px;color:var(--green)}@keyframes teacher-pulse{50%{opacity:.3}}@media(max-width:700px){.teacher-trigger{right:14px;bottom:86px;font-size:11px;padding:12px 16px}dialog.teacher-dialog{width:calc(100% - 16px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:15px}.teacher-heading{padding:19px 18px 15px}.teacher-heading h2{font-size:24px}.teacher-heading h2 span{font-size:15px}.teacher-context{padding:11px 18px}.teacher-messages{padding:20px 17px}.teacher-message{font-size:14px;max-width:100%}.teacher-compose{margin:0 12px;padding:11px;gap:7px}.teacher-compose textarea{font-size:16px}.teacher-compose .primary{padding:12px;font-size:10px}.teacher-footer{padding:11px 16px 15px;gap:12px}.teacher-footer span{font-size:8px}}

/* Floating, non-modal teacher: the page remains interactive underneath. */
dialog.teacher-dialog{position:fixed;inset:auto 24px 82px auto;margin:0;width:min(460px,calc(100% - 32px));height:min(600px,calc(100dvh - 110px));max-height:calc(100dvh - 110px);z-index:30;box-shadow:0 12px 48px #20332129;border-radius:18px}dialog.teacher-dialog::backdrop{background:transparent;backdrop-filter:none}.teacher-heading{padding:19px 20px 15px}.teacher-heading h2{font-size:24px}.teacher-heading h2 span{font-size:15px;margin-left:9px}.teacher-messages{padding:19px}.teacher-message{font-size:13px}.teacher-trigger{z-index:31}@media(max-width:700px){dialog.teacher-dialog{inset:auto 12px 138px auto;width:calc(100% - 24px);height:min(500px,calc(100dvh - 165px));max-height:calc(100dvh - 165px);border-radius:15px}.teacher-heading{padding:14px 16px 12px}.teacher-heading h2{font-size:22px}.teacher-messages{padding:16px}.teacher-welcome>span{font-size:32px}.teacher-suggestions{margin:12px 0;gap:7px}.teacher-suggestions button{padding:10px 12px}.teacher-context{padding:9px 16px}}

/* Three-line wordmark and the Ace milestone. */
.brand .brand-name{display:flex;flex-direction:column;gap:0;font-size:22px;line-height:1.03;letter-spacing:-.7px}.brand .brand-name>span{display:block;font:inherit;letter-spacing:inherit}.brand img{width:54px;height:54px}.brand .brand-type{gap:9px}.brand small{letter-spacing:1.8px;font-size:6.5px}.ace-mark,.flow-banner>span.ace-mark{font-family:'Golos Text',Arial,sans-serif;font-weight:600;letter-spacing:-4px}.flow-symbol.ace-mark{font-size:46px;letter-spacing:-3px}.profile-link-icon.ace-mark{letter-spacing:-2px}.flow-banner>span.ace-mark{font-size:76px}.flow-banner h2{font-size:26px}@media(max-width:1000px) and (min-width:701px){.brand .brand-name{font-size:19px}.brand img{width:43px;height:43px}}@media(max-width:700px){.mobile-brand-name{display:flex;flex-direction:column;font-size:14px;line-height:1.02;font-weight:600;letter-spacing:-.4px}.mobile-brand img{width:40px;height:40px}.mobile-tagline{font-size:8px}.flow-banner{align-items:flex-start;gap:17px}.flow-banner>span.ace-mark{font-size:43px;letter-spacing:-3px}.flow-banner h2{font-size:20px}}

.brand .brand-type{gap:0}.brand .brand-name{height:54px;justify-content:space-between;font-size:20px;line-height:.9}.brand .brand-name>span{line-height:.9}.brand img{align-self:center}.mobile-brand-name{height:40px;justify-content:space-between;font-size:14px;line-height:.9}.mobile-brand-name>span{line-height:.9}@media(max-width:1000px) and (min-width:701px){.brand .brand-name{height:43px;font-size:17px}}
.teacher-attachment{margin:0 20px 9px;display:flex;align-items:center;gap:10px;padding:8px;background:#edf1e7;border-radius:10px;font-size:11px}.teacher-attachment img{width:48px;height:48px;object-fit:cover;border-radius:6px}.teacher-attachment span{flex:1}.teacher-attachment button{font-size:20px;width:28px;height:28px}.teacher-attach{display:grid;place-items:center;flex-shrink:0;width:30px;height:36px;border-radius:8px;color:var(--green);font-size:23px}.teacher-attach:hover{background:#edf1e7}.teacher-message img{display:block;max-width:100%;max-height:180px;object-fit:contain;border-radius:8px;margin:5px 0 10px}.teacher-dialog.drag-over{outline:3px solid #60936d;outline-offset:-4px}.teacher-drop-hint{display:none}.teacher-dialog.drag-over .teacher-drop-hint{display:grid;place-items:center;position:absolute;inset:0;z-index:5;background:#edf4e9ed;border-radius:18px;pointer-events:none;color:var(--green);font-size:18px;text-align:center;padding:24px}.teacher-dialog .teacher-image-input{display:none}@media(max-width:700px){.teacher-attachment{margin-left:12px;margin-right:12px}.teacher-attach{width:25px}}

.history-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:22px 0}.history-controls label{display:grid;gap:8px;color:var(--muted);font-size:11px}.history-controls input{padding:12px 15px;border:1px solid var(--line);border-radius:10px;background:#fffdf9;font:14px 'Golos Text',sans-serif;color:var(--ink)}.history-controls .primary{margin-left:auto}.history-dates{display:flex;gap:8px;overflow-x:auto;padding:4px 0 16px}.history-dates button{white-space:nowrap;flex-shrink:0;text-align:left;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:12px;background:#fffdf9}.history-dates button.chosen{background:#e6eddf;border-color:#a8be9d;color:var(--green)}.history-dates small{font-size:9px;margin-top:4px}.history-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px;gap:15px}.history-heading h2{font-size:25px;margin:0}.history-heading>span{font-size:11px;color:var(--muted)}.history-word{display:flex;align-items:center;gap:22px;padding:18px 12px;border-bottom:1px solid var(--line)}.history-han{font:28px var(--han-font);min-width:110px}.history-han .pinyin{display:block;font-size:12px;margin-top:5px}.history-meaning{flex:1}.history-meaning b{font-size:13px;font-weight:500}.history-meaning small{font-size:10px;line-height:1.6;margin-top:3px}.history-kinds{display:flex;gap:5px;flex-wrap:wrap;max-width:190px}.history-kinds span{padding:6px 9px;border-radius:14px;background:#eaf0e4;color:var(--green);font-size:9px}.history-note{color:var(--muted);font-size:11px;line-height:1.7;margin-top:22px}.history-error{color:#985239;line-height:1.7}@media(max-width:700px){.history-controls{gap:10px}.history-controls .primary{width:100%;margin-left:0}.history-word{flex-wrap:wrap;padding:17px 4px;gap:12px}.history-han{min-width:85px;font-size:26px}.history-meaning{min-width:130px}.history-kinds{order:4;flex-basis:100%;max-width:none}.history-heading h2{font-size:21px}nav button[data-page="history"] span{max-width:57px;line-height:1.15;font-size:7px}nav button{padding-left:4px;padding-right:4px}}

main.history-page{padding-top:28px}.history-page>h1{font-size:38px;line-height:1.15;letter-spacing:-1px;margin-bottom:10px}.history-page>.eyebrow{font-size:9px;margin-bottom:10px}.history-page>.lead{font-size:12px;margin-bottom:22px}@media(max-width:700px){main.history-page{padding-top:18px}.history-page>h1{font-size:30px}.history-page>.lead{font-size:11px;line-height:1.6;margin-bottom:17px}}
.topic-meters{display:grid;gap:11px;margin:16px 0 12px}.topic-meters>div>span{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#5e6e55;margin-bottom:6px}.topic-meters b{font-weight:500}.topic-meters>div:first-child .meter i{background:#a3ba8d}.topic-meters>div:last-child .meter i{background:#286346}.topic-detail-meters{max-width:540px;margin:0 0 20px}.topic-detail-meters .topic-meters{gap:13px}.topic-detail-meters .topic-meters>div>span{font-size:12px}.teacher-modes{display:flex;gap:5px;padding:0 18px 12px}.teacher-modes button{flex:1;padding:9px 6px;border:1px solid var(--line);border-radius:8px;font-size:11px;white-space:nowrap}.teacher-modes button[aria-pressed="true"]{background:#e5eddd;border-color:#a0b994;color:var(--green)}.typing-dots{display:inline-flex;gap:5px;align-items:center;padding:9px 10px}.typing-dots i{display:block;width:6px;height:6px;background:#6f9569;border-radius:50%;animation:teacher-dot 1.1s infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}.teacher-wait .typing-dots{animation:none}.teacher-message.streaming>div:after{content:'▍';color:var(--green);animation:teacher-pulse .8s infinite}@keyframes teacher-dot{0%,65%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}@media(prefers-reduced-motion:reduce){.typing-dots i,.teacher-message.streaming>div:after{animation:none}}@media(max-width:700px){.teacher-modes{padding:0 14px 10px}.teacher-modes button{font-size:10px;padding:8px 5px}.topic-meters>div>span{font-size:10px}}
