/* HanBridge: centered learning, warm paper, indigo accents. */
:root{--accent:#7276d9;--accent-dark:#5458b4;--ink:#24283b;--dark:#24283b;--muted:#7a7e8e;--line:#e6e5eb;--paper:#f8f7f4;--white:#fff;--soft:#eeedf9;--blue:#5b6daf;--red:#b85c69;--shadow:0 10px 36px #2724400a;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{color:inherit;border:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-weight:650;letter-spacing:-.035em}h1{font-size:30px;line-height:1.4}h2{font-size:20px;line-height:1.5}h3{font-size:16px;line-height:1.6}p{line-height:1.8}img,svg{max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9c9fe7;outline-offset:4px}input,textarea,select{border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:#fff;color:var(--ink);min-width:0;max-width:100%}input::placeholder,textarea::placeholder{color:#9b9caa}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{resize:vertical;line-height:1.85}label{display:grid;gap:8px;font-size:12px;font-weight:600}summary{cursor:pointer}small,.en{font-size:11px;color:var(--muted);font-weight:400;line-height:1.6}.en{display:block;margin-top:4px}body.english .en{font-size:13px;color:#5c6080}.muted{color:var(--muted)}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.skip-link{position:fixed;top:-100px;z-index:200;background:white;padding:14px}.skip-link:focus{top:0}[hidden]{display:none!important}.initial-loading{height:100dvh;display:grid;place-content:center;text-align:center;font-size:27px;gap:16px}.initial-loading span{font-size:13px;color:var(--muted)}
.shell{min-height:100dvh}.topbar{position:sticky;top:0;z-index:30;background:#f8f7f4f5;border-bottom:1px solid #e9e7e3;backdrop-filter:blur(18px)}.topbar-inner{max-width:1328px;margin:auto;min-height:84px;padding:12px 44px;display:flex;align-items:center;gap:36px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-symbol{position:relative;display:grid;place-items:center;width:52px;height:52px;color:var(--accent);font-size:25px}.brand-symbol>span{position:absolute;inset:0;display:grid;place-items:center;z-index:-1}.brand-image{width:52px;height:52px;object-fit:contain;background:var(--paper)}.brand-name{display:grid;gap:2px}.brand-name strong{font-size:21px;letter-spacing:.14em}.brand-name small{font-size:10px;letter-spacing:.06em}.breadcrumb{display:flex;gap:13px;align-items:center;font-size:12px;min-width:0;flex:1;white-space:nowrap}.breadcrumb>a{color:var(--muted)}.breadcrumb>span{color:#ceccd4}.breadcrumb strong{font-weight:500}.top-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;padding:7px 11px;border:1px solid var(--line);border-radius:9px;background:white;font-size:11px;line-height:1.6;white-space:nowrap}.pill.accent,.pill.blue{color:var(--accent-dark);background:var(--soft);border-color:#e1dff4}.level-pill{background:transparent;min-height:36px}.balance-pill{border:0;background:transparent;gap:6px;font-variant-numeric:tabular-nums;color:#53586e}.token-unit{font-size:10px;color:var(--muted)}.avatar{display:grid;place-items:center;background:#e8e5f3;color:#5c608e;width:32px;height:32px;border-radius:50%;font-size:12px}.account-menu{position:relative}.account-menu>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:40px;font-size:12px;border-radius:10px}.account-menu>summary::-webkit-details-marker{display:none}.menu-caret{color:var(--muted);font-size:16px}.account-popover{position:absolute;right:0;top:calc(100% + 12px);width:238px;padding:8px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 15px 50px #24283b15}.account-identity{padding:12px 11px 15px;border-bottom:1px solid var(--line);margin-bottom:5px;overflow-wrap:anywhere}.account-identity strong,.account-identity small{display:block}.account-identity strong{font-size:13px}.account-identity small{font-size:10px;margin-top:4px}.account-popover>a,.account-popover>button{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;padding:11px;border-radius:7px;font-size:12px}.account-popover>a:hover,.account-popover>button:hover{background:#f5f4fa}.account-popover span{font-size:10px;color:var(--muted)}
.main{max-width:1240px;margin:0 auto;padding:44px 44px 24px;min-height:calc(100dvh - 84px);outline:none}.page-home{max-width:1196px}.eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:.15em;color:#8d8a9e;line-height:1.5}.footer{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px;color:#9593a1;padding:30px 0 9px;margin-top:28px;border-top:1px solid #e7e5e2}.footer>div{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.footer button{padding:3px;font-size:11px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 19px;min-height:43px;background:var(--accent);color:white;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:550;line-height:1.5;transition:background .15s,transform .15s;text-align:center}.btn:hover{background:var(--accent-dark)}.btn:active{transform:translateY(1px)}.btn.secondary{background:#fff;color:#5d6078;border-color:var(--line)}.btn.secondary:hover{background:#f5f4fa}.btn.soft{background:var(--soft);color:var(--accent-dark)}.btn.small{padding:8px 13px;min-height:35px;font-size:11px}.link-btn{display:inline-flex;align-items:center;gap:6px;color:var(--accent-dark);font-size:12px;font-weight:500;line-height:1.8}.link-btn .icon{width:16px}.btn .icon{width:17px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px}.page-head .eyebrow{margin-bottom:8px}.page-head p{font-size:12px;color:var(--muted);margin-top:9px}.page-head>.btn{flex-shrink:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 18px}.section-heading h2{font-size:18px}.section-heading h2 small{font-size:9px;letter-spacing:.07em;margin-left:8px}.section-heading p{font-size:12px;color:var(--muted);margin-top:5px}
/* Six distinct module illustrations, no persistent side navigation. */
.hub-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:1px 0 29px}.hub-heading .eyebrow{margin-bottom:8px}.hub-heading h1{font-size:29px}.hub-greeting{font-size:12px;color:var(--muted);padding-bottom:6px}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hub-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:267px;border-radius:20px;border:1px solid #fff7;overflow:hidden;transition:transform .2s,box-shadow .2s}.hub-card:hover{transform:translateY(-4px);box-shadow:0 12px 22px #4542610c}.hub-card.lilac{background:#eeeaf7}.hub-card.cream{background:#f4eedf}.hub-card.pink{background:#f5e9e7}.hub-card.blue{background:#e8edf6}.hub-card.peach{background:#f4e9e1}.hub-card.lavender{background:#eae9f3}.hub-art{height:172px;position:relative;display:grid;place-items:center;margin:0 13px}.hub-art>svg,.hub-art>img{position:absolute;inset:0;height:100%;width:100%;object-fit:contain}.hub-image{z-index:1}.hub-art:has(.hub-image) .hub-fallback{visibility:hidden}.hub-card-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 25px 23px;margin-top:auto;position:relative}.hub-en{font-size:11px;color:#726d81;letter-spacing:.03em}.hub-card h2{font-size:21px;line-height:1.5;margin:4px 0}.hub-card p{font-size:12px;color:#756d82}.hub-arrow{width:32px;height:32px;border:1px solid #ffffff90;border-radius:50%;display:grid;place-items:center;font-size:20px;color:#77778e;flex-shrink:0;background:#ffffff30}.role-label{position:absolute;right:17px;top:16px;font-size:9px;color:#9c8d87;border:1px solid #ffffffa6;background:#ffffff52;padding:4px 7px;border-radius:6px}.hub-signin{display:flex;align-items:center;justify-content:center;gap:20px;font-size:11px;color:var(--muted);margin-top:27px}.hub-signin .link-btn{font-size:11px}.today-strip{display:grid;grid-template-columns:1.55fr .8fr 1.25fr;background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:25px;padding:19px 0}.today-strip>a{display:flex;flex-direction:column;min-width:0;gap:7px;padding:0 23px}.today-strip>a+a{border-left:1px solid var(--line)}.today-label{font-size:10px;color:var(--muted)}.today-strip strong{font-size:17px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.6}.today-strip strong small{font-size:11px}.today-strip>a>span:last-child{font-size:10px;color:#9998a6}.today-strip b{float:right;color:var(--accent);font-size:13px}.hub-job-note{display:flex;justify-content:space-between;background:white;border:1px solid var(--line);border-radius:10px;padding:13px 18px;font-size:12px;margin-top:20px}.hub-job-note>span{color:var(--accent)}
/* Catalog, cards and lesson imagery. */
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white;transition:box-shadow .2s}.course-card:hover{box-shadow:var(--shadow)}.card-art{height:185px;position:relative;display:block;width:100%;padding:0;overflow:hidden;background:#f1edf5}.card-art .pill{position:absolute;top:13px;left:13px;font-size:9px;background:#fffffff0;border:0;max-width:calc(100% - 26px);white-space:normal}.course-card-body{padding:21px;display:flex;flex-direction:column;min-width:0;flex:1}.card-kicker{font-size:9px;letter-spacing:.06em;color:#9b97a9;margin-bottom:9px}.course-card h3{font-size:17px;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.course-card p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:8px;margin-bottom:20px}.card-footer{border-top:1px solid #efedf0;padding-top:14px;margin-top:auto;display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted);flex-wrap:wrap}.card-footer>span .icon{display:none}.card-footer>span:nth-child(2){margin-left:auto}.card-footer>.link-btn{margin-left:auto;font-size:11px}.round-arrow{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--line);border-radius:50%;margin-left:auto;color:var(--accent)}.round-arrow .icon{width:16px}.filter-bar{display:flex;gap:13px;margin-bottom:22px}.filter-bar input{flex:1}.filter-bar select{width:220px}.empty{border:1px dashed #dedbe7;background:#fbfafc;border-radius:16px;padding:50px 24px;text-align:center;overflow-wrap:anywhere}.empty>svg{width:170px;max-height:120px;margin-bottom:12px}.empty>.icon{width:30px;height:30px;color:var(--accent);margin-bottom:12px}.empty-mark{display:grid;place-items:center;width:48px;height:48px;background:#eeedf6;border-radius:14px;font-size:27px;color:#8d88b0;margin:0 auto 16px}.empty p{font-size:12px;color:var(--muted);margin:10px auto 22px;max-width:450px}.error-screen{background:#fff9fa;border-color:#ebd6dc}.panel{padding:26px;border:1px solid var(--line);border-radius:15px;background:#fff;margin-bottom:20px;min-width:0}.panel>h2,.panel>h3{margin-bottom:15px}.panel>p{font-size:13px;line-height:1.9}.panel>p.muted{font-size:12px}.progress-bar{height:5px;background:#eeecf5;border-radius:8px;overflow:hidden}.progress-bar i{display:block;height:100%;background:var(--accent);border-radius:8px}.course-card .progress-bar{margin-bottom:16px}.lesson-visual{position:relative;height:100%;min-height:145px;width:100%;overflow:hidden;background:#f0edf4}.lesson-visual.large{aspect-ratio:16/8;max-height:390px}.visual-fallback{position:absolute;inset:0;display:grid;place-items:center}.visual-fallback>svg{width:100%;height:100%;display:block}.topic-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}.topic-illustration{width:100%;height:100%;display:flex;justify-content:center;align-items:center;gap:20px;background:#eeeaf5}.topic-illustration .topic-mascot{width:48%;height:90%;max-width:200px}.topic-illustration>span{font-size:48px;color:#8e83a0;border:1px solid #d5ccdf;padding:14px;border-radius:13px;background:#ffffff70;transform:rotate(5deg)}.article-figure{margin:24px 0 32px;border:1px solid var(--line);border-radius:13px;overflow:hidden;position:relative}.article-figure figcaption{font-size:10px;padding:12px 16px;line-height:1.7;color:var(--muted);background:#faf9fc}.article-figure figcaption span{font-size:9px;color:#a3a0ad;margin-top:3px;display:block}.visual-explore{position:absolute;right:14px;top:14px;background:#fffffff2}.exercise-image{height:220px;border-radius:10px;overflow:hidden;margin-bottom:20px}
/* Centered lessons, optional tools, and six directly reachable chapters. */
.page-lesson{max-width:1240px}.lesson-title{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:27px}.lesson-title .eyebrow{margin-bottom:9px}.lesson-title h1{font-size:29px}.lesson-title .en{margin-top:9px;font-size:12px}.level-switch{display:flex;gap:4px;background:#eeecf1;padding:4px;border-radius:10px;flex-shrink:0}.level-switch button{padding:8px 11px;font-size:10px;border-radius:7px;color:#828193;white-space:nowrap}.level-switch button.active{color:var(--accent-dark);background:#fff;box-shadow:0 2px 8px #302f3a06}.tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:6px;background:#eeecf2;border-radius:13px;margin-bottom:16px}.tab{display:flex;justify-content:center;align-items:center;gap:7px;min-width:0;padding:12px 6px;border-radius:8px;font-size:12px;color:#858293;line-height:1.4}.tab.active{background:#fff;color:var(--accent-dark);box-shadow:0 3px 10px #302f3a07}.tab .en{margin:0;font-size:10px;color:inherit}.tab:focus-visible{outline-offset:-2px}.lesson-layout{display:flex;flex-direction:column;gap:0;min-width:0}.lesson-tools{order:-1;border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:23px;overflow:hidden}.lesson-tools>summary{list-style:none;display:flex;justify-content:space-between;gap:10px;padding:14px 19px;font-size:12px;color:#6d6b82}.lesson-tools>summary::-webkit-details-marker{display:none}.lesson-tools>summary>span{margin-left:auto;color:#a19dac;font-size:10px}.lesson-tools>summary:after{content:'＋';color:var(--accent)}.lesson-tools[open]>summary:after{content:'−'}.lesson-tools-content{border-top:1px solid var(--line);display:grid;grid-template-columns:1.3fr 1fr;gap:24px;padding:22px}.lesson-tools .panel{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-content:start}.lesson-tools h3,.lesson-tools .policy-note,.lesson-tools .progress-bar{grid-column:1/-1}.lesson-tools h3{font-size:14px;margin-bottom:2px}.lesson-tools h3 .en{display:none}.lesson-tools label{font-size:11px}.lesson-tools select{width:100%;font-size:11px;padding:10px}.lesson-tools .btn{font-size:11px;width:100%;padding:10px 9px;min-height:39px}.lesson-tools .btn .icon{display:none}.policy-note{font-size:10px!important;color:#9390a0;line-height:1.8}.lesson-body{padding:35px 42px}.lesson-body h2{font-size:25px}.article-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.article-meta .pill{font-size:10px}.article-paragraph{margin:27px 0}.zh-text{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:21px;line-height:2.4;letter-spacing:.055em;color:#37384b}.translation{font-size:13px;line-height:2;color:#91909f;margin-top:12px}.pinyin-line{font-size:13px;color:#918caa;line-height:1.8;margin-top:7px}.glossary-word{font:inherit;color:#6262a7;padding:0 2px;border-bottom:1px dashed #c6c0df;border-radius:0;line-height:inherit;vertical-align:baseline}.glossary-word:hover{background:#f0edf9}.glossary-word ruby{ruby-position:over}.glossary-word rt{font-family:Inter,"Segoe UI",sans-serif;font-size:10px;letter-spacing:0;color:#a198ba}.source-links{padding-top:19px;margin-top:28px;border-top:1px solid var(--line);font-size:10px;line-height:1.9;color:#a09bab}.source-links a{display:inline-block;margin-right:14px;color:#817ba4}.chapter-end{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:24px;margin-top:27px}.chapter-end .en{font-size:10px}.vocab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vocab-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;min-width:0}.vocab-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.vocab-title strong{font-size:26px;font-weight:600}.vocab-title .pill{font-size:9px;padding:4px 7px}.vocab-card .pinyin-line{margin-top:8px;margin-bottom:11px}.vocab-card p{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.vocab-example{margin-top:13px;color:#5b5a70}.vocab-actions{border-top:1px solid var(--line);padding-top:15px;margin-top:19px;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.vocab-actions button{font-size:11px;color:#817ba8;display:flex;align-items:center;gap:5px;min-height:30px}.vocab-actions .icon{width:16px}.tone-1{color:#bd7758}.tone-2{color:#6284b3}.tone-3{color:#8f79ba}.tone-4{color:#bd7b8c}.grammar-formula{font-size:22px;line-height:1.8;padding:21px;background:#f3f1fa;border-radius:11px;color:#6662a3;margin:18px 0}.english-tip{padding:17px 20px;border-left:3px solid #c3bce5;background:#faf9fd;border-radius:0 10px 10px 0;font-size:12px;line-height:1.9;color:#8c86a0;margin:21px 0}.english-tip strong{display:block;font-size:9px;letter-spacing:.09em;margin-bottom:7px}.grammar-example{font-size:18px!important;margin-top:21px}.grammar-example button{padding:7px;color:var(--accent)}.grammar-example+.translation{margin-bottom:19px}.writing-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px}.writing-requirements{padding:0;list-style:none;margin:18px 0}.writing-requirements li{font-size:12px;color:#787386;line-height:1.9;display:flex;gap:9px;margin:8px 0}.writing-requirements .icon{width:15px;height:19px;color:#a49cc2}#writing-draft{width:100%;min-height:260px;margin-top:10px;font-size:16px;line-height:2}.writing-meter{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:#a39daf;margin-top:9px}.scaffolds{border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:18px 0;font-size:12px;line-height:2}.scaffolds summary{font-weight:500;color:#787087}.scaffolds[open]>summary{margin-bottom:10px}.scaffolds>p{white-space:pre-wrap}.score-ring{height:132px;width:132px;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--score)*1%),#eeecf4 0);display:grid;place-items:center;margin:24px auto}.score-ring>div{width:111px;height:111px;display:grid;align-content:center;text-align:center;background:#fff;border-radius:50%;font-size:38px;color:var(--accent);font-weight:600;line-height:1.3}.score-ring small{font-size:9px;letter-spacing:.05em;margin-top:5px}.dimension{margin:18px 0}.dimension>div:first-child{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:12px;margin-bottom:9px}.dimension strong{font-size:12px;font-variant-numeric:tabular-nums}.dimension p{font-size:11px;line-height:1.8;color:#9a91a3;margin-top:9px}.dimension small{font-size:9px}.correction{border-bottom:1px solid var(--line);padding:15px 0;font-size:13px;line-height:1.9}.correction del{color:#bd8190}.correction ins{color:#6f70b4;text-decoration:none}.notice{border:1px solid #e3def1;border-radius:10px;padding:14px 17px;background:#f6f3fb;font-size:12px;line-height:1.9;margin:18px 0;color:#7f7398}.question{padding:25px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:18px}.question-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}.question-num{display:grid;place-items:center;flex-shrink:0;border-radius:9px;background:#eeeaf7;color:var(--accent);width:30px;height:30px;font-size:12px}.question h3{font-size:14px;line-height:1.9}.options{display:flex;flex-wrap:wrap;gap:10px}.option{border:1px solid var(--line);background:#faf9fc;border-radius:9px;padding:12px 17px;font-size:12px;line-height:1.7}.option.selected,.option.correct{border-color:#aaa8df;background:#f0effb;color:#6764a6}.option.wrong{border-color:#dbadb6;background:#fcf1f4;color:#ac5f70}.feedback{background:#f2effa;border-radius:10px;padding:14px 17px;font-size:12px;line-height:1.9;color:#7971a0;margin-top:16px}.feedback.wrong{background:#fcf1f4;color:#ac6675}.feedback small{display:block;color:inherit;font-size:11px;margin-top:4px}.order-answer{min-height:47px;background:#f7f5fb;border:1px dashed #cec6df;margin-bottom:13px;padding:12px;font-size:15px;letter-spacing:2px;border-radius:9px}.matching{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:150px;padding:20px 10px;touch-action:pan-y}.matching>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.match-column{display:flex;flex-direction:column;gap:18px;position:relative;z-index:1}.match-item{min-height:55px;border:1px solid #ded9e9;background:white;border-radius:10px;padding:12px 14px;font-size:13px;overflow-wrap:anywhere}.match-item.left{touch-action:none}.match-item.selected{border-color:var(--accent);background:#f2effa}.match-item.matched{color:#7871a8;border-color:#b9b0d6;background:#f4f0fb}.match-item.matched:after{content:'✓';font-size:10px;margin-left:8px}.match-item.shake{animation:shake .4s;border-color:var(--red);background:#fcf1f4}.match-line{stroke:#a39bca;stroke-width:2.5;fill:none;stroke-dasharray:1000;animation:draw .7s ease both}.match-line.error{stroke:var(--red);stroke-dasharray:5;animation:none}.match-save{font-size:10px;line-height:1.8;color:var(--muted);margin-top:8px;min-height:20px}.palace-map{display:grid;grid-template-columns:1fr 170px 1fr;gap:18px;text-align:center;align-items:center;padding:25px;background:#f8f2ea;border-radius:13px;margin:22px 0}.palace-map .axis{position:relative;display:grid;gap:13px}.palace-map .axis:before{content:'';position:absolute;width:2px;left:50%;top:0;bottom:0;background:#d8bdb2}.map-building{position:relative;background:#f3dfc8;border:1px solid #d8ae8e;border-radius:8px;padding:11px;font-size:12px;color:#925e50;transition:transform .2s}.map-building:hover{transform:scale(1.03)}.map-building small{font-size:8px;color:#ac8975}.map-caption{font-size:11px;line-height:2;color:#ab8776}.teaching-diagram svg{width:100%;max-height:280px;background:#f8f4ed;border-radius:10px;display:block;margin:14px 0 8px}.teaching-diagram>p{text-align:center;font-size:11px;color:var(--muted)}
/* Evidence, class management and token records. */
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat{padding:24px;border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0}.stat>span{font-size:11px;color:#8e879b}.stat strong{display:block;font-size:31px;font-weight:550;margin-top:15px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.list-row{padding:18px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.list-row:last-child{border-bottom:0}.list-row h3{font-size:13px;margin-bottom:4px}.list-row p{font-size:11px;color:#9a90a3}.list-row>div{min-width:0}.list-row .btn{flex-shrink:0}.inline-form{display:flex;gap:11px;flex-wrap:wrap;margin:15px 0}.inline-form input,.inline-form select{min-width:0;flex:1}.inline-form textarea{width:100%}.table-scroll{max-width:100%;overflow:auto;scrollbar-width:thin}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{color:#9690a3;background:#f8f6fb;font-weight:500;font-size:10px;padding:14px 12px;white-space:nowrap}td{padding:18px 12px;border-bottom:1px solid var(--line);line-height:1.8;overflow-wrap:anywhere}tbody tr:last-child td{border:0}td .btn{margin:3px}td details{font-size:11px}td details p{max-width:340px}.balance-card{background:#454760;color:#fff;padding:30px;border-radius:16px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.balance-card .eyebrow{color:#c8c5dc}.balance-card strong{display:block;font-size:43px;font-weight:550;margin:13px 0 7px}.balance-card small{color:#c7c4d4}.balance-card>.icon{width:60px;height:60px;color:#a7a3d2}.package .price{display:block;font-size:30px;font-weight:550;margin:23px 0 6px}.package .token-count{color:#9b8fba;font-size:13px}.package ul{padding-left:18px;font-size:11px;line-height:2.5;color:#9690a3;margin:18px 0 23px}.package .btn{width:100%}.form-stack{display:grid;gap:18px}.form-stack .btn{width:100%;margin-top:5px}.learner-summary{display:flex;flex-wrap:wrap;align-items:center;gap:14px;color:var(--muted);font-size:11px;padding-bottom:20px;border-bottom:1px solid var(--line)}.learner-section{margin-top:25px}.learner-section>h3{font-size:14px;margin-bottom:14px}.learner-section>.muted{font-size:12px}.correction-summary{padding:0;margin:0 0 15px;list-style:none;border:1px solid var(--line);border-radius:10px}.correction-summary li{display:flex;justify-content:space-between;gap:15px;padding:13px;font-size:12px;line-height:1.8}.correction-summary li+li{border-top:1px solid var(--line)}.correction-summary strong{color:var(--accent)}.error-tags{display:flex;gap:8px;flex-wrap:wrap}.error-tags strong{border-left:1px solid var(--line);padding-left:7px;margin-left:3px}.learner-report{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:12px 0}.learner-report>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px;background:#f8f6fb}.learner-report>summary::-webkit-details-marker{display:none}.learner-report>summary:after{content:'+';color:var(--accent);font-size:20px}.learner-report[open]>summary:after{content:'−'}.learner-report>summary>span:first-child{flex:1;min-width:0}.learner-report strong{font-size:12px;display:block;line-height:1.8}.learner-report small{font-size:10px;display:block;margin-top:3px}.report-score{color:var(--accent);font-size:23px;text-align:right}.learner-report-body{padding:18px}.learner-report-body>.panel{border:0;padding:0;margin:0}.learner-error{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}.learner-error p{margin-top:8px}.learner-original p{overflow-wrap:anywhere}.quality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quality-grid>div{padding:18px;background:#f5f2fa;border-radius:10px;font-size:11px;color:#95889f}.quality-grid strong{display:block;font-size:20px;color:#68617c;margin-top:7px}.review-options{font-size:12px;line-height:1.9;margin-bottom:13px}.word-review{text-align:center}.review-hanzi{font-size:60px;margin:30px 0 15px}.review-meaning{font-size:18px;color:var(--blue);margin-bottom:12px}.saved-response{font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}.job-history{margin-top:22px}.job-history>summary{font-size:14px;font-weight:600}.job-history .list-row{font-size:12px}.job-history .job-error{color:var(--red);max-width:700px;white-space:normal}
/* Dialogs, tutoring and live task states. */
.modal-open{overflow:hidden}.overlay{position:fixed;inset:0;background:#24283b4a;backdrop-filter:blur(5px);z-index:100;display:flex;justify-content:center;align-items:center;padding:24px}.modal{width:550px;max-width:100%;max-height:88dvh;overflow:auto;background:white;border:1px solid #efedf3;border-radius:20px;padding:30px;box-shadow:0 25px 95px #24283b22;animation:appear .2s}.modal.wide{width:780px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}.modal-head h2{font-size:22px;line-height:1.5}.modal-head .en{font-size:11px;margin-top:5px}.close-modal{flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#9991aa}.close-modal:hover{background:#f5f2f9}.modal-actions{display:flex;justify-content:flex-end;gap:11px;flex-wrap:wrap;margin-top:24px}.modal-error{color:var(--red);font-size:12px;line-height:1.7;min-height:10px}.auth-switch{font-size:11px;text-align:center;color:var(--muted);margin-top:21px}.auth-switch button{color:var(--accent-dark);font-weight:600;margin-left:6px}.level-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:22px 0}.level-option{padding:14px 4px;border:1px solid var(--line);border-radius:10px;font-size:12px;text-align:center}.level-option.active{background:#f1edfb;border-color:#aaa0d8;color:var(--accent-dark)}.level-option small{display:block;font-size:9px;margin-top:7px}.explain-card{padding:18px;background:#f7f4fc;border:1px solid #e6dff1;border-radius:11px;margin:18px 0;font-size:12px;line-height:1.9}.explain-card p{font-size:11px;color:#a094ad;margin-top:8px}.generation{text-align:center;padding:15px}.generation .mascot{width:145px}.generation h2{font-size:23px;margin:15px 0 12px}.generation p{font-size:12px;line-height:1.9;color:#93899e}.agent-path{display:flex;justify-content:center;margin:27px 0}.agent-node{display:flex;align-items:center;font-size:9px;color:#a198ad}.agent-node>span{border:1px solid #e5dff0;background:#f6f2fc;border-radius:10px;padding:12px;display:grid;gap:8px;justify-items:center}.agent-node:after{content:'';width:25px;height:2px;background:#e3dcef}.agent-node:last-child:after{display:none}.agent-node.active>span{border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 4px #f4f0fb;animation:pulse 1.8s infinite}.loading-bar{height:4px;width:220px;max-width:90%;margin:22px auto;background:#f0eaf7;border-radius:5px;overflow:hidden}.loading-bar:after{content:'';display:block;background:var(--accent);height:100%;width:40%;animation:loading 1.5s infinite}.toast{position:fixed;z-index:200;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 36px);padding:14px 21px;background:#fff;border:1px solid #dcd4ee;border-radius:12px;box-shadow:0 7px 35px #24283b14;font-size:12px;line-height:1.8;color:#79708e}.toast.error{color:var(--red);border-color:#eac8d1}.chat-drawer{position:fixed;right:22px;bottom:22px;z-index:80;width:390px;max-width:calc(100vw - 32px);height:550px;max-height:82dvh;display:flex;flex-direction:column;border:1px solid #e0d8ed;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 15px 55px #24283b1f}.chat-header{display:flex;gap:12px;align-items:center;padding:19px;border-bottom:1px solid var(--line)}.chat-header>div{flex:1}.chat-header strong{font-size:14px}.chat-header .en{font-size:10px}.feature-icon{display:grid;place-items:center;border-radius:9px;background:#f1edf9;padding:8px;color:var(--accent)}.chat-messages{flex:1;overflow:auto;padding:19px}.chat-message{padding:14px;border-radius:12px;font-size:12px;line-height:1.9;white-space:pre-wrap;margin-bottom:14px;background:#f6f3fb;overflow-wrap:anywhere}.chat-message.user{background:#eef0fb;margin-left:32px}.chat-message.assistant{margin-right:18px}.chat-form{display:flex;padding:12px;gap:9px;border-top:1px solid var(--line)}.chat-form input{width:100%;font-size:12px}.chat-form .btn{flex-shrink:0}.skeleton{height:260px;border-radius:16px;background:#eeecf1;animation:pulse 1.4s infinite}.confetti{position:fixed;inset:0;z-index:150;pointer-events:none}.confetti i{position:absolute;top:-10px;width:7px;height:11px;background:#a7a4de;animation:fall 1.8s ease-in forwards}.confetti i:nth-child(3n){background:#c4cce2}.confetti i:nth-child(3n+1){background:#e5d5ad}@keyframes loading{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.65}}@keyframes draw{from{stroke-dashoffset:1000}to{stroke-dashoffset:0}}@keyframes shake{25%,75%{transform:translateX(-4px)}50%{transform:translateX(4px)}}@keyframes fall{to{transform:translateY(100vh) rotate(450deg);opacity:0}}
/* Tablet retains the same central navigation model. */
@media(max-width:1050px){.topbar-inner{padding:12px 30px;gap:25px}.main{padding:35px 30px 20px}.hub-grid{gap:17px}.hub-art{height:155px}.hub-card{min-height:253px}.hub-card-copy{padding:0 20px 21px}.hub-card h2{font-size:19px}.hub-card p{font-size:10px}.hub-arrow{width:27px;height:27px;font-size:17px}.card-grid{gap:16px}.course-card-body{padding:18px}.card-art{height:160px}.card-footer{font-size:9px}.course-card h3{font-size:15px}.lesson-title{display:block}.level-switch{margin-top:20px;width:max-content}.writing-grid{grid-template-columns:1fr}.vocab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:23px}.lesson-body{padding:30px}.stats-grid{gap:13px}.stat{padding:21px}.stat>span{font-size:10px}.lesson-tools-content{grid-template-columns:1fr 1fr;gap:20px}.top-actions{gap:9px}.balance-pill{padding:5px}.tab .en{font-size:9px}.breadcrumb{gap:9px}}
@media(max-width:800px){.brand-name small{font-size:9px}.brand-name strong{font-size:18px}.brand-symbol,.brand-image{width:45px;height:45px}.topbar-inner{padding:12px 24px;gap:18px}.breadcrumb{font-size:11px}.main{padding:30px 24px 20px}.hub-heading h1{font-size:25px}.hub-greeting{font-size:11px}.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.hub-card{min-height:248px}.hub-art{height:164px}.hub-card-copy{padding-bottom:21px}.hub-card h2{font-size:20px}.hub-card p{font-size:11px}.hub-arrow{width:30px;height:30px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.today-strip{grid-template-columns:1.25fr .75fr 1fr}.today-strip>a{padding:0 16px}.today-strip strong{font-size:14px}.lesson-tools-content{grid-template-columns:1fr}.lesson-title h1{font-size:26px}.zh-text{font-size:19px}.tab{font-size:12px}.tab .en{display:none}.account-label{display:none}.course-card p{font-size:11px}}
/* Phones: six cards, six tabs, and data rows become readable cards. */
@media(max-width:600px){body{font-size:13px}.topbar-inner{min-height:73px;padding:11px 17px;gap:12px;flex-wrap:wrap}.brand{gap:6px}.brand-symbol,.brand-image{width:40px;height:40px}.brand-name strong{font-size:18px;letter-spacing:.1em}.brand-name small{font-size:8px}.top-actions{margin-left:auto;gap:8px}.level-pill{font-size:10px;min-height:31px;padding:5px 8px}.top-actions .balance-pill{display:flex;font-size:9px;padding:0;gap:0}.top-actions .token-unit{display:none}.account-menu>summary{gap:5px;min-height:34px}.avatar{width:30px;height:30px;font-size:11px}.menu-caret{font-size:14px}.login-button{display:none}.breadcrumb{order:3;flex-basis:100%;font-size:10px;line-height:1.5;padding:2px 3px 0;gap:9px}.breadcrumb:has(>strong:only-child){display:none}.account-popover{right:-1px;top:calc(100% + 15px);width:230px}.main{padding:25px 17px 17px}.page-head{display:block;margin-bottom:23px}.page-head h1{font-size:25px}.page-head p{font-size:11px;line-height:1.9}.page-head>.btn{margin-top:18px}.eyebrow{font-size:9px}.footer{font-size:10px;margin-top:23px;padding:22px 0 3px;gap:14px}.footer>div{gap:14px}.footer button{font-size:10px}.hub-heading{display:block;margin:2px 0 23px}.hub-heading h1{font-size:26px}.hub-heading .eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:7px}.hub-greeting{display:block;padding:0;margin-top:9px;font-size:11px}.hub-grid{gap:13px}.hub-card{min-height:188px;border-radius:16px}.hub-art{height:124px;margin:2px 1px 0}.hub-card-copy{padding:0 15px 18px;gap:0}.hub-en{font-size:9px}.hub-card h2{font-size:17px;margin:5px 0 4px}.hub-card p{display:none}.hub-arrow{display:none}.role-label{font-size:7px;top:10px;right:9px;border:0;padding:3px 4px;background:#ffffff40}.hub-signin{flex-direction:column;gap:6px;font-size:10px;margin-top:23px}.hub-signin .link-btn{font-size:10px}.today-strip{grid-template-columns:1fr 1fr;padding:0;border-radius:13px;margin-bottom:20px}.today-strip>a{padding:14px 16px;gap:5px}.today-strip>a:first-child{grid-column:1/-1;border-bottom:1px solid var(--line)}.today-strip>a:nth-child(2){border-left:0}.today-strip strong{font-size:14px}.today-strip .today-label{font-size:9px}.today-strip>a>span:last-child{font-size:9px}.hub-job-note{font-size:10px;gap:12px;padding:12px}.btn{padding:11px 15px;min-height:42px;font-size:12px;white-space:normal}.btn.small{padding:8px 11px;min-height:34px;font-size:10px}.card-grid{grid-template-columns:1fr;gap:16px}.course-card{display:grid;grid-template-columns:125px minmax(0,1fr)}.card-art{height:100%;min-height:195px}.course-card-body{padding:16px}.course-card h3{font-size:15px;line-height:1.7}.course-card p{font-size:10px;margin-bottom:13px}.card-kicker{font-size:8px;margin-bottom:6px}.card-footer{padding-top:10px;gap:6px;font-size:9px}.card-footer>.link-btn{font-size:10px}.card-art .pill{font-size:8px;top:10px;left:8px;max-width:calc(100% - 16px);padding:5px 7px;line-height:1.6}.card-footer>span:nth-child(2){margin-left:0}.round-arrow{width:25px;height:25px}.filter-bar{flex-wrap:wrap;gap:10px}.filter-bar input{flex-basis:100%;width:100%}.filter-bar select{width:100%}.section-heading{margin:26px 0 15px;flex-wrap:wrap;gap:12px}.section-heading h2{font-size:17px}.section-heading h2 small{display:none}.section-heading p{font-size:11px}.panel{padding:21px 18px;margin-bottom:17px;border-radius:13px}.panel>h2{font-size:19px}.panel>h3{font-size:15px}.panel>p{font-size:12px}.empty{padding:35px 20px}.empty p{font-size:11px}.lesson-title{margin-bottom:20px}.lesson-title h1{font-size:24px;line-height:1.6}.lesson-title .en{font-size:11px;line-height:1.8;margin-top:8px}.level-switch{width:100%;margin-top:18px;gap:3px}.level-switch button{padding:9px 4px;flex:1;font-size:9px}.tabs{gap:2px;padding:4px;margin-bottom:12px;border-radius:10px}.tab{font-size:11px;padding:12px 2px;min-height:42px}.lesson-tools{border-radius:10px;margin-bottom:18px}.lesson-tools>summary{padding:12px 14px;font-size:11px}.lesson-tools>summary>span{font-size:9px}.lesson-tools-content{padding:18px 14px;gap:23px}.lesson-tools .panel{gap:11px}.lesson-tools label{font-size:10px}.lesson-tools select{font-size:10px}.lesson-tools .btn{font-size:10px}.lesson-body{padding:23px 19px}.lesson-body h2{font-size:22px;line-height:1.6}.article-meta{gap:7px;margin:14px 0}.article-meta .pill{font-size:9px;padding:6px 8px}.article-meta .icon{width:15px;height:15px}.article-figure{margin:20px 0 24px}.article-figure .lesson-visual.large{aspect-ratio:4/3}.article-figure figcaption{padding:10px 12px;font-size:9px}.article-figure figcaption span{font-size:8px}.visual-explore{font-size:9px;right:9px;top:9px}.visual-explore .icon{width:15px}.zh-text{font-size:18px;line-height:2.35;letter-spacing:.03em}.translation{font-size:11px;line-height:1.95}.article-paragraph{margin:22px 0}.chapter-end{gap:14px;margin-top:23px;padding-top:20px}.chapter-end>span{font-size:10px!important}.vocab-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.collection-grid{grid-template-columns:1fr}.vocab-card{padding:17px 14px;border-radius:12px}.vocab-title strong{font-size:22px}.vocab-title .pill{font-size:8px;padding:4px 5px}.vocab-card .pinyin-line{font-size:11px}.vocab-card p{font-size:11px}.vocab-actions{gap:6px;padding-top:12px;margin-top:14px}.vocab-actions button{font-size:10px}.vocab-actions .icon{width:13px}.grammar-formula{padding:18px;font-size:20px}.english-tip{font-size:11px;padding:15px}.grammar-example{font-size:16px!important}.writing-grid{gap:0}#writing-draft{min-height:245px;font-size:15px}.writing-requirements li{font-size:11px}.writing-meter{font-size:9px}.scaffolds{padding:12px 13px;font-size:11px}.question{padding:20px 17px}.question-head{gap:10px}.question-num{width:26px;height:26px;font-size:10px}.question h3{font-size:13px}.option{padding:11px 13px;font-size:11px}.feedback{padding:12px 14px;font-size:11px}.feedback small{font-size:10px}.exercise-image{height:180px}.matching{column-gap:45px;padding:17px 0}.match-column{gap:16px}.match-item{min-height:61px;padding:10px 7px;font-size:11px}.match-item.matched:after{font-size:8px;margin-left:3px}.match-result{font-size:10px!important}.match-save{font-size:9px}.palace-map{grid-template-columns:minmax(0,1fr) 125px minmax(0,1fr);gap:7px;padding:18px 7px}.map-caption{font-size:8px}.map-building{font-size:10px;padding:9px 5px}.map-building small{font-size:7px;line-height:1.5}.teaching-diagram>p{font-size:9px}.stats-grid{gap:12px;margin-bottom:18px}.stat{padding:19px 17px}.stat>span{font-size:9px}.stat strong{font-size:27px;margin-top:12px}.settings-grid{gap:0}.balance-card{padding:24px;border-radius:13px}.balance-card strong{font-size:36px}.balance-card>.icon{width:46px;height:46px}.package{display:block}.package .price{margin-top:18px;font-size:29px}.package ul{margin:14px 0 20px}.list-row{flex-wrap:wrap;gap:13px;padding:16px 0}.list-row h3{font-size:12px}.list-row p{font-size:10px}.inline-form{gap:9px}.inline-form input{flex-basis:100%;width:100%}.inline-form select{flex-basis:100%;width:100%}.notice{padding:13px 14px;font-size:11px}.table-scroll{overflow:visible}table,tbody,tr,td{display:block;width:100%}thead{display:none}tbody{display:grid;gap:15px}tbody tr{padding:13px;background:#faf9fc;border:1px solid var(--line);border-radius:11px}td,tbody tr:last-child td{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border:0;border-bottom:1px solid #eeebf2;padding:9px 0;font-size:11px;min-width:0;text-align:right}td:last-child,tbody tr:last-child td:last-child{border-bottom:0}td:before{content:attr(data-label);font-size:10px;color:#9a90a5;white-space:nowrap;text-align:left;flex-shrink:0}td:has(.btn),td:has(details){flex-wrap:wrap;justify-content:flex-end}td:has(.btn):before,td:has(details):before{margin-right:auto;align-self:center}td[colspan]{text-align:left}td[colspan]:before{display:none}td details{width:100%;text-align:left;font-size:10px}td details p{max-width:100%}.modal{padding:24px 20px;border-radius:16px;max-height:88dvh}.overlay{padding:16px}.modal-head{gap:13px;margin-bottom:21px}.modal-head h2{font-size:21px}.modal-head .en{font-size:10px}.modal-actions{gap:9px}.level-options{gap:5px}.level-option{font-size:11px;padding:12px 3px}.level-option small{font-size:8px}.explain-card{padding:15px;font-size:11px}.generation{padding:5px}.generation .mascot{width:125px}.generation h2{font-size:21px}.generation p{font-size:11px}.agent-node>span{padding:9px 5px;font-size:8px;gap:6px}.agent-node:after{width:12px}.agent-node .icon{width:16px;height:16px}.chat-drawer{right:14px;bottom:14px;max-width:calc(100vw - 28px)}.learner-summary{gap:10px;font-size:10px}.learner-report>summary{padding:14px;gap:10px}.learner-report strong{font-size:11px}.learner-report small{font-size:9px}.learner-report-body{padding:14px}.report-score{font-size:20px}.learner-section>h3{font-size:13px}.correction-summary li{font-size:11px}.quality-grid>div{padding:14px}.quality-grid strong{font-size:18px}.word-review .review-hanzi{font-size:53px}.review-meaning{font-size:17px}.toast{font-size:11px;bottom:17px}.saved-response{font-size:12px}.topic-illustration{gap:7px}.topic-illustration>span{font-size:29px;padding:8px}.topic-illustration .topic-mascot{width:64%}}
@media(max-width:374px){.main{padding-left:14px;padding-right:14px}.topbar-inner{padding-left:14px;padding-right:14px}.hub-grid{gap:11px}.hub-card{min-height:188px}.hub-art{height:119px}.hub-card-copy{padding-left:13px;padding-right:13px}.hub-card h2{font-size:16px}.hub-card p{font-size:10px}.course-card{grid-template-columns:110px minmax(0,1fr)}.course-card-body{padding:14px}.card-footer{font-size:8px}.level-pill{font-size:9px}.hub-heading h1{font-size:24px}.tab{font-size:10px}.matching{column-gap:35px}.match-item{font-size:10px}.brand-name strong{font-size:17px}.top-actions{gap:6px}}
.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
