@charset "UTF-8";
:root{--paper:#f7f6f1;--white:#fffefa;--ink:#263d35;--muted:#717b73;--line:#e0e3d9;--green:#315849;--sage:#e9efe7;--coral:#bd775c;--purple:#81729e;--blue:#658298;--radius:14px;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button{border:0}h1,h2,h3,h4,p{margin:0}h1{font-size:32px;line-height:1.25;letter-spacing:-1px;font-weight:650}h2{font-size:21px;line-height:1.4;font-weight:650;letter-spacing:-.4px}h3{font-size:18px;font-weight:600}h4{margin:16px 0 6px}p{margin:8px 0 12px}small{font-size:13px}strong{font-weight:650}a:hover{color:#477963}button:hover{filter:brightness(.97)}:focus-visible{outline:3px solid #b48442;outline-offset:4px}.skip{position:fixed;top:-60px;background:white;padding:10px;z-index:5}.skip:focus{top:0}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.muted{color:var(--muted);font-size:14px}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#edf0e8;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:13px;font-size:20px;line-height:1.2;letter-spacing:.4px}.brand strong{font-weight:700}.brand-mark{display:flex;align-items:center;justify-content:center;width:46px;height:50px;border-radius:8px 8px 2px 2px;background:var(--green);color:#fff7e5;font:italic 30px Georgia,serif;letter-spacing:-5px;padding-right:5px;position:relative}.brand-mark:after{content:'';position:absolute;bottom:-5px;border-left:23px solid var(--green);border-right:23px solid var(--green);border-bottom:7px solid transparent}.brand-mark span{margin-top:7px}.sidebar-label{margin:48px 12px 17px;font-size:10px;font-weight:700;color:#8a948c;letter-spacing:1.8px}nav{display:flex;flex-direction:column;gap:6px}nav a,.nav-disabled{display:flex;gap:13px;align-items:center;min-height:46px;padding:9px 12px;border-radius:8px;font-size:14px;font-weight:550}nav a[aria-current]{background:var(--green);color:white}nav a:not([aria-current]):hover{background:#e0e7dc}nav a>span{width:24px;text-align:center;font-size:20px}.nav-symbol{font-size:14px!important;font-weight:650}.nav-divider{height:1px;background:#d9dfd4;margin:12px}.nav-disabled{font-size:12px;color:var(--muted)}.sidebar-bottom{margin-top:auto;padding:30px 12px 0;color:#7c877b;font-size:13px}.sidebar-bottom>span{font-size:10px}.little-lines{width:30px;height:20px;border-top:1px solid #a8b49f;border-bottom:1px solid #a8b49f;transform:rotate(-8deg);margin-bottom:12px}.main-shell{margin-left:224px}.topbar{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;background:#fbfbf7}.top-label{font-size:10px;font-weight:600;letter-spacing:1.7px;color:#879084}.top-controls{display:flex;gap:26px;align-items:center}.level-control{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:10px}.level-control select{padding:5px 27px 5px 10px;width:75px;font-size:13px;background:transparent;border:1px solid #dce1d7}.mode-control{padding:4px;background:#edf0e8;display:flex;border-radius:8px;gap:3px}.mode-control button{font-size:12px;background:transparent;border-radius:5px;padding:7px 13px}.mode-control button[aria-pressed=true]{background:white;box-shadow:0 1px 5px #243c3310;color:var(--green);font-weight:650}main{padding:35px 44px 28px;max-width:1540px;margin:auto;outline:none}.page-heading{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:29px}.page-heading h1{margin:9px 0 10px}.page-heading p{font-size:14px;color:var(--muted);margin-bottom:0}.date-note{text-align:right;font-size:12px;color:#788272;white-space:nowrap}.date-note span{display:block;color:#99a18f;margin-top:4px}.today-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#e9eee4;border:1px solid #dde5d6;padding:26px 30px;border-radius:12px;margin-bottom:32px;position:relative;overflow:hidden}.today-banner h2{font-size:27px;margin-top:6px}.today-banner p{color:#71826e;font-size:14px;margin-bottom:0}.notebook-note{border-left:1px solid #c6d3be;transform:rotate(-3deg);padding:0 22px 0 32px;font-family:Georgia,"Microsoft YaHei",serif;font-style:italic;font-size:18px;line-height:1.5;color:#6c8065}.notebook-note span{background:linear-gradient(transparent 60%,#d4dfbf 60%)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.section-title a{font-size:12px}.section-title .muted{font-size:11px}.count{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;font-size:12px;border-radius:5px;background:#e9ece3;color:#738368;margin-left:8px;vertical-align:middle}.task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:28px}.task-card{padding:21px 20px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);position:relative}.task-card:before{content:'';position:absolute;top:-1px;left:20px;right:20px;height:3px;background:var(--accent);border-radius:0 0 3px 3px}.coral{--accent:#bc7c63;--tint:#f8ede5}.purple{--accent:#8b78a6;--tint:#f1edf6}.green{--accent:#728865;--tint:#edf2e8}.blue{--accent:#6c8da4;--tint:#eaf0f4}.task-card h3{margin-top:15px;font-size:20px}.task-card p{font-size:12px;color:var(--muted);margin:1px 0 14px}.subject-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:var(--tint);color:var(--accent);font-size:19px;font-weight:500}.row-top{display:flex;align-items:center;gap:10px;justify-content:space-between}.task-number{color:#acb1a7;font-size:12px;font-family:Georgia,serif}.task-description{font-size:13px;min-height:44px}.task-meta{display:flex;justify-content:space-between;font-size:10px;color:#8b9288;margin:13px 0 16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:1px solid #d9dfd3;background:var(--white);padding:10px 17px;border-radius:7px;min-height:44px;font-size:14px;font-weight:550;line-height:1.5}.button:hover{background:#e9eee5;color:var(--ink)}.button.primary{color:white;background:var(--green);border-color:var(--green)}.task-start{background:var(--tint);color:var(--accent);width:100%;border-color:transparent;justify-content:space-between;min-height:39px;padding:8px 12px;font-size:12px}.home-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.panel{padding:25px 27px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:22px}.continue-panel{display:flex;justify-content:space-between;min-height:170px;align-items:center}.continue-panel h2{margin-top:6px}.continue-panel p{font-size:13px;max-width:330px}.bookmark-art{font-size:55px;color:#a8b79d;transform:rotate(-9deg);padding-right:15px}.text-button{font-size:13px;color:var(--green);font-weight:600;background:transparent;padding:6px 0;display:inline-block;cursor:pointer}.text-button:hover{text-decoration:underline}.empty{text-align:center;padding:40px 20px;color:var(--muted);grid-column:1/-1}.empty h2,.empty h3{color:#6c7b65}.empty p{font-size:14px;max-width:440px;margin:10px auto 0}.empty.small{padding:20px 10px}.empty-symbol{font-size:30px;color:#9aab90;display:block;margin-bottom:7px}.quick-help a{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf0e7;font-size:13px}.quick-help a:last-child{border:0;padding-bottom:0}.quick-help a>span:last-child{margin-left:auto;color:#87947e}.dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex-shrink:0}.pencil-label{font-family:Georgia,serif;font-style:italic;color:#879176;font-size:12px;transform:rotate(-3deg)}.stat{margin:15px 0}.stat>div:first-child{display:flex;justify-content:space-between;font-size:13px}.bar{height:6px;background:#edf0e7;border-radius:8px;margin-top:6px;overflow:hidden}.bar i{display:block;background:#9baa83;height:100%;border-radius:8px}.local-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:12px;font-size:11px;color:#90998a}.local-footer>div{display:flex;gap:20px}.local-footer .text-button{font-size:11px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.module-grid>.panel{margin:0 0 10px}.module-grid>.panel:only-child{grid-column:1/-1}.exercise-list>a{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding:17px 0}.exercise-list>a>span:last-child{margin-left:auto}.exercise-list small{display:block;margin-top:3px;color:var(--muted)}.exercise-list strong{font-size:16px}.exercise-mark{color:#809877}.future{padding:25px 0}.future h3{margin:8px 0 14px}.tags{display:flex;flex-wrap:wrap;gap:10px}.tag{display:inline-block;color:var(--accent);background:var(--tint);padding:3px 9px;font-size:12px;border-radius:5px}.neutral{background:#eaece5;color:#7b8573}.material-grid,.word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}details{border:1px solid var(--line);border-radius:8px;padding:14px 16px;background:#fbfbf6}details p{font-size:15px}summary{font-weight:600;cursor:pointer}details[open] summary{margin-bottom:14px}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}.help-sheet{padding:30px;border:1px solid var(--line);border-top:4px solid var(--accent);background:linear-gradient(#fffefaeb,#fffefaeb),repeating-linear-gradient(0deg,transparent 0 29px,#d7dfcd 30px);border-radius:5px;box-shadow:2px 5px 0 #e6e8de}.help-sheet h2{font-size:24px;margin:8px 0;color:var(--accent)}.help-steps{margin:22px 0}.help-steps>div{display:flex;gap:14px;position:relative;padding-bottom:18px}.help-steps>div:not(:last-child):before{content:'';position:absolute;top:34px;left:15px;bottom:3px;border-left:1px dashed var(--accent)}.step-index{display:grid;place-items:center;flex:0 0 32px;height:32px;background:var(--tint);color:var(--accent);border-radius:50%;font-size:13px}.help-steps p{font-size:14px;margin:3px 0 0;color:var(--muted)}.highlight-note{background:var(--tint);padding:14px;border-left:3px solid var(--accent);font-size:15px}.help-check{font-size:13px;margin-top:17px}.back-link{font-size:13px;color:var(--muted);display:block;margin-bottom:18px}.exercise-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px}.exercise-aside .panel{padding:22px}.exercise-aside .pencil-label{text-align:center;margin:20px;font-size:18px}.method-note p{font-size:14px;color:var(--muted)}.method-note h3{margin:10px 0 17px}.question-box{border-bottom:1px solid var(--line);padding-bottom:23px;margin-bottom:24px}.question-box h2{font-size:22px;line-height:1.65;margin-top:10px;letter-spacing:0;font-weight:500;white-space:pre-line}.marked{background:#f0e5c7;font-weight:650}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 20px;font-size:15px;font-weight:600}input,textarea,select{border:1px solid #d6ddd0;border-radius:7px;padding:11px 13px;background:#fffefa;color:var(--ink);width:100%;font-size:16px}textarea{resize:vertical;min-height:95px;line-height:1.8;font-weight:400}input{font-weight:400}input::placeholder,textarea::placeholder{color:#98a08f;font-size:14px}input[type=checkbox],input[type=radio]{width:18px;height:18px;accent-color:var(--green);flex-shrink:0}.choices{border:0;padding:0;margin:0}.choices legend{font-size:14px;color:var(--muted);margin-bottom:12px}.choice{display:flex;gap:16px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:8px;margin-bottom:12px;cursor:pointer}.choice:has(input:checked){background:#eaf0e5;border-color:#829874}.option-letter{color:#8b9981;font-size:13px;border-right:1px solid var(--line);padding-right:15px}.two-col,.planner{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.planner .field:last-child{grid-column:1/-1}.working{padding:22px;background:#f6f7f0;border-radius:8px;margin-bottom:24px}.working h3{font-size:16px}.step{display:flex;gap:16px;align-items:center;margin:12px 0}.step>span{font-size:12px;color:var(--muted);white-space:nowrap}.step input{border:0;border-bottom:1px solid #d6ddcd;border-radius:0;background:transparent}.answer-row{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-top:15px}.exercise-actions{display:flex;gap:25px;align-items:center;margin-top:22px;flex-wrap:wrap}.feedback{padding:23px;border-radius:9px;margin:22px 0;scroll-margin-top:20px;font-size:16px}.feedback h3{margin-bottom:12px}.feedback p:last-child{margin-bottom:0}.positive{background:#edf3e7;border:1px solid #dbe6cd}.amber{background:#fbf5e7;border:1px solid #eae0c6}.hint-box{border-left:3px solid #c8b16c;background:#fcf8eb;padding:12px 20px;margin-top:22px;font-size:15px}.rule{background:#ffffff80;border-left:3px solid #b6c2a3;padding:12px 16px;margin:14px 0;font-size:14px}.self-check{display:flex;align-items:flex-start;gap:12px;font-size:14px;margin-top:18px}.skeleton{margin:14px 0}.skeleton>div{display:grid;grid-template-columns:60px 1fr;gap:20px;border-bottom:1px dashed #d2ddc5;padding:12px 0}.skeleton dt{font-weight:650}.skeleton dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.reflection{margin-top:25px;padding-top:25px;border-top:1px dashed #d4dccb}.reflection .field{margin-top:20px}.saved-note{font-size:12px;margin-left:12px;color:#687f54}.row-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-top:14px}.filters{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:25px}.filters label{font-size:13px;color:var(--muted);flex:1;min-width:170px}.filters select{display:block;margin-top:7px;font-size:14px}.mistake-row{padding:21px 0;border-bottom:1px solid var(--line)}.mistake-row:last-child{border-bottom:0;padding-bottom:0}.mistake-row:first-child{padding-top:0}.mistake-row .row-top{justify-content:flex-start;margin-bottom:10px}.mistake-row .row-top .status{margin-left:auto}.status{font-size:11px;color:#a78048}.status.done{color:#66834d}.mistake-row p{font-size:13px;color:var(--muted)}.mistake-row details{margin-top:15px}.mistake-row details p{font-size:16px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:15px;line-height:1.8}.exam-intro{max-width:720px}.exam-intro ul{padding-left:22px}.exam-navigation{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.exam-navigation button{background:#e7ecdf;border-radius:6px;padding:10px 16px;min-width:44px}.exam-navigation button.active{background:var(--green);color:white}.timer{background:#e9ede3;padding:10px 22px;border-radius:8px;font-variant-numeric:tabular-nums;font-size:22px}.exam-result{margin:25px 0}.form-error{color:#9b4029;font-size:14px;margin:12px 0}.storage-warning{padding:15px 44px;background:#fbecd5;color:#815629;font-size:14px}#announcement{position:fixed;bottom:18px;right:20px;max-width:400px;z-index:10;background:var(--green);color:white;border-radius:8px;box-shadow:0 3px 16px #0002;font-size:14px}#announcement:not(:empty){padding:12px 20px}#announcement:empty{display:none}
@media(min-width:1550px){main{padding-top:45px}.task-card{padding:26px}.task-description{min-height:30px}.task-grid{gap:22px}.today-banner{padding:30px 35px}.home-columns{grid-template-columns:1.4fr 1fr}}
@media(max-width:1150px){.sidebar{width:190px;padding:28px 15px}.main-shell{margin-left:190px}main{padding:28px}.topbar{padding:0 28px}.top-label{display:none}.topbar{justify-content:flex-end}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-description{min-height:22px}.home-columns{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.date-note{display:none}.exercise-layout{grid-template-columns:1fr}.exercise-aside{display:none}.quick-help .section-title{align-items:flex-start;flex-direction:column;gap:0}.material-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:16px 20px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:17px;display:inline-flex}.brand-mark{width:35px;height:38px;font-size:25px}.brand-mark:after{border-left-width:17.5px;border-right-width:17.5px}.brand br{display:none}.brand strong{margin-left:4px}.sidebar-label,.sidebar-bottom,.nav-divider{display:none}nav{margin-top:20px;flex-direction:row;overflow:auto;gap:5px;padding-bottom:4px}nav a,.nav-disabled{white-space:nowrap;padding:8px 12px;font-size:13px;gap:8px;min-height:42px}nav a>span{font-size:16px;width:auto}.main-shell{margin-left:0}.topbar{height:65px;padding:0 20px;justify-content:space-between}.top-controls{width:100%;justify-content:space-between;gap:10px}.mode-control button{padding:7px 9px;font-size:11px}main{padding:25px 20px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:27px}.page-heading .button{font-size:12px;white-space:nowrap}.today-banner{padding:23px;gap:15px}.today-banner h2{font-size:23px}.notebook-note{display:none}.today-banner p{font-size:13px}.section-title{align-items:flex-start}.section-title h2{font-size:19px}.section-title>.muted{max-width:115px;text-align:right}.task-grid{gap:13px}.task-card{padding:17px 15px}.task-card h3{font-size:19px}.task-card p{min-height:36px}.task-description{font-size:12px;min-height:40px}.task-meta{font-size:10px;gap:5px}.home-columns,.module-grid,.help-grid{grid-template-columns:1fr}.panel{padding:22px}.home-columns{gap:0}.quick-help .section-title{flex-direction:row;gap:10px}.local-footer{flex-direction:column;align-items:flex-start;gap:4px}.local-footer>div{gap:20px}.two-col,.planner,.material-grid,.word-grid{grid-template-columns:1fr}.question-box h2{font-size:20px}.exercise-paper{padding:20px}.step{gap:10px}.working{padding:16px}.help-sheet{padding:23px}.reflection select{font-size:14px}.row-actions{gap:12px}.filters{gap:12px}.storage-warning{padding:15px 20px}#announcement{left:20px;right:20px;bottom:12px;max-width:none}}
@media print{body{background:white;color:#222}.sidebar,.topbar,.skip,.page-heading button,.text-button,.storage-warning,#announcement{display:none!important}.main-shell{margin:0}main{padding:0;max-width:none}.page-heading{margin:0 0 15px}.page-heading h1{font-size:24px}.help-grid{display:block}.help-sheet{break-inside:avoid;page-break-inside:avoid;box-shadow:none;margin:0 0 20px;padding:20px;border:1px solid #bbb;background:white}.help-sheet h2{font-size:22px}.help-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px}.help-steps>div{padding:0}.help-steps>div:before{display:none}.highlight-note{border:1px solid #999}.help-check{margin-bottom:0}@page{size:A4;margin:15mm}}
@media screen and (min-width:761px) and (max-width:1000px){.help-grid,.module-grid,.home-columns{grid-template-columns:1fr}.quick-help .section-title{flex-direction:row}.help-sheet{padding:28px 32px}.help-steps{display:grid;grid-template-columns:1fr 1fr;gap:18px}.help-steps>div:before{display:none}.help-steps>div{padding-bottom:8px}}

/* Session, progress and feedback reuse the notebook palette. */
.session-progress{width:100%;height:10px;accent-color:#2e5146;margin:0 0 20px}
.session-stats{display:flex;flex-wrap:wrap;gap:24px}.session-stats p{display:flex;flex-direction:column;min-width:110px;margin:8px 0}.session-stats strong{font-size:1.7rem;color:#2e5146}
.session-answer{padding:16px 0;border-bottom:1px solid #dedfd5}.session-answer summary{cursor:pointer;font-weight:600}.session-answer pre{white-space:pre-wrap;overflow-wrap:anywhere}
.reward-card{background:#f7f2df;border-left:4px solid #b19a55}.reward-card p{font-size:1.1rem}.wish-text{white-space:pre-wrap;overflow-wrap:anywhere}.exam-navigation [aria-current="step"]{background:#2e5146;color:white}
.row-actions{flex-wrap:wrap}#wishlist-handoff{width:100%;margin-top:16px}.field select{max-width:100%}
@media(max-width:600px){.session-stats{gap:12px}.session-stats p{min-width:95px}.exercise-actions{flex-wrap:wrap}.exam-navigation{flex-wrap:wrap}.row-actions .button{white-space:normal}}
/* Vocabulary uses the existing notebook cards and controls. */
.dictation-pinyin,.dictation-word{font-size:2rem;line-height:1.8}.word-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}fieldset{border:1px solid #d8ded6;border-radius:12px;padding:16px;margin:16px 0}.row-actions label{max-width:100%}input,select,textarea{max-width:100%}
.import-panel{margin-top:1.2rem;border-top:1px solid #d8ded6;padding-top:1rem}.import-panel textarea{width:100%;font:inherit;font-size:.9rem}.import-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.feedback{overflow-wrap:anywhere}
.book-group{margin:0 0 26px}.book-heading{margin:0 0 12px}.lesson-list{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}.lesson-card{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-items:center;min-height:82px;width:100%;padding:14px 16px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--white)}.lesson-card:hover,.lesson-card[aria-expanded=true]{background:var(--sage);border-color:#aebda8}.lesson-eyebrow{grid-row:1/3;align-self:start;margin-top:2px;padding:3px 7px;border-radius:5px;background:#e4ebdf;color:var(--green);font-size:11px;font-weight:700;letter-spacing:.7px;line-height:1.4}.lesson-title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:16px;font-weight:650;line-height:1.35}.lesson-count{color:var(--muted);font-size:12px;line-height:1.4}.lesson-words{margin-top:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fbfbf6}.vocab-chips{display:flex;flex-wrap:wrap;gap:8px}.vocab-chip{flex:0 0 auto;width:auto;border:1px solid #d6ddd0;border-radius:999px;background:#fffefa;color:var(--ink);padding:7px 12px;font:inherit;font-size:15px;cursor:pointer}.vocab-chip:hover,.vocab-chip[aria-expanded=true]{background:var(--tint);border-color:#829874}.vocab-progress{color:var(--accent);font-size:12px}.vocab-word-detail{margin:14px 0 0;padding:14px 16px;border-left:3px solid var(--accent);background:#f5f6ef}.vocab-word-detail h3{margin:0 0 8px}.vocab-word-detail h3 small{font-weight:400;color:var(--muted)}.vocab-word-detail p{margin:6px 0}
.brand-mark{font:700 14px Arial,sans-serif;letter-spacing:-.5px;padding:0}

.synthesis-fragments{display:grid;gap:10px;padding-left:24px}.synthesis-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.synthesis-compare pre{white-space:pre-wrap;font:inherit}.synthesis-prompt{width:100%;min-height:220px}@media(max-width:1100px){.lesson-list{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media(max-width:650px){.lesson-list{grid-template-columns:1fr}.synthesis-compare{grid-template-columns:1fr}}

.help-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(560px,95vw);max-width:95vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #d9ded6;padding:0;background:#fffdf7;color:#243b32;box-shadow:-8px 0 35px #0002}.help-dialog::backdrop{background:#20332c66}.help-shell{height:100%;display:flex;flex-direction:column}.help-shell header,.help-shell footer{padding:20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;border-bottom:1px solid #ddd}.help-shell header h2{flex:1;margin:0}.help-shell footer{border-top:1px solid #ddd;border-bottom:0}.help-body{flex:1;overflow:auto;padding:20px;overscroll-behavior:contain}.help-body pre{white-space:pre-wrap;font:inherit}.structure-check{margin:20px 0;padding:16px;border:1px solid #d6ded6;border-radius:12px}.structure-band{padding:14px;background:#f2f4ec;border-radius:10px;margin:14px 0}.adaptive-note{font-size:15px}.help-dialog .synthesis-compare{grid-template-columns:1fr}@media(max-width:600px){.help-dialog{inset:auto 0 0 0;width:100%;max-width:100%;height:85dvh;max-height:95dvh;border-radius:20px 20px 0 0;border-left:0}.help-shell header,.help-shell footer{padding:14px}.help-body{padding:16px}.help-shell footer .button{flex:1 1 auto}}

/* Cloud/PWA shell: preserve the existing notebook layout. */
.brand{gap:9px}.brand-mark{flex:0 0 36px;width:36px}.brand-mark:after{border-left-width:18px;border-right-width:18px}.brand-name{font-size:15px;line-height:1.3;letter-spacing:0;overflow-wrap:normal}.brand-name small{display:block;font-size:11px;margin-top:7px;font-weight:normal}.sync-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}.pwa-update{position:fixed;bottom:12px;right:12px;max-width:calc(100vw - 24px);padding:16px;background:#f4eddc;box-shadow:0 2px 20px #0003;z-index:30}

/* Compact sidebar identity; full title belongs in the main header. */
.brand-short{white-space:nowrap;font-size:25px;font-weight:750;letter-spacing:1px}.main-brand{font-size:23px;line-height:1.25;font-weight:650;white-space:nowrap;letter-spacing:-.5px}.topbar{height:auto;min-height:85px;gap:20px;padding-top:16px;padding-bottom:16px;flex-wrap:wrap}.access-entry{max-width:640px;margin:7vh auto}.access-entry h1{margin-bottom:12px}.entry-options{display:grid;gap:14px}.child-account{padding:18px 0;border-bottom:1px solid var(--line)}.child-account form{margin-top:20px}.child-account details{margin-top:12px}@media(max-width:760px){.main-brand{font-size:22px}.topbar{align-items:flex-start;gap:14px}.top-controls{flex-wrap:wrap}.access-entry{margin:24px auto}}
