:root{--ease-ui:cubic-bezier(.22,1,.36,1);--surface-soft:#f4f6fc;--text-secondary:#596780;--accent-focus:#536bd9}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.6}::selection{background:#dce4ff;color:#243c87}:where(button,a,input,select,textarea):focus-visible{outline:3px solid var(--accent-focus);outline-offset:3px}:where(button,a){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(button,a){transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .22s ease,transform .22s var(--ease-ui)}:where(button):disabled{opacity:.55}:where(.primary-button,.send-button,.subject-profile button):active:not(:disabled){transform:translateY(1px) scale(.98)}.auth-layout{max-width:1200px;padding:clamp(24px,4vw,56px);align-items:center}.auth-panel,.auth-story{min-height:720px}.auth-story{border-radius:30px 0 0 30px;padding:42px 44px;background:radial-gradient(ellipse at 90% 12%,#4f60b2 0,transparent 52%),linear-gradient(155deg,#19295c,#283c87 62%,#4e478a)}.story-content{margin-top:28px}.story-content h1{font-size:clamp(36px,4vw,54px);letter-spacing:-.045em;line-height:1.32}.story-content p{line-height:1.95;max-width:310px}.auth-panel{border-radius:0 30px 30px 0;padding:46px;background:var(--paper)}.auth-heading h2{font-size:32px;line-height:1.3;margin:12px 0}.auth-heading p,.auth-note{color:var(--text-secondary)}.auth-tabs button{min-height:44px}.auth-form{gap:20px}.auth-form input{height:50px;border-radius:12px}.auth-submit{height:52px;box-shadow:0 6px 16px #5168dd24}.auth-note{font-size:12px;line-height:1.8;text-align:left}.subject-home-header{height:88px;border-bottom:1px solid var(--line)}.subject-home-main{padding-top:52px}.subject-home-intro{margin-bottom:40px}.subject-home-intro h1{font-size:clamp(30px,4vw,46px);line-height:1.3;margin:14px 0}.subject-home-intro p{max-width:500px;margin:auto;color:var(--text-secondary)}.subject-cards{gap:18px}.subject-card{min-height:238px;padding:26px 24px;border-radius:22px;box-shadow:0 4px 16px #25376906}.subject-card strong{font-size:30px;letter-spacing:-.035em;line-height:1.25}.subject-card p{font-size:13px;line-height:1.8;color:var(--text-secondary)}.subject-card-kicker{letter-spacing:.12em;font-size:11px}.subject-card small{font-size:12px}.subject-card>svg{transition:transform .22s var(--ease-ui)}.subject-profile{padding:24px;gap:20px;border-radius:18px}.subject-profile p{font-size:13px;color:var(--text-secondary)}.subject-profile button,.subject-profile select{min-height:44px}.sidebar{background:#f6f7fb;border-color:var(--line)}.sidebar-top{padding:26px 16px 22px}.sidebar-subject-switch{min-height:30px;display:inline-flex;align-items:center;border:1px solid #dce3f9}.new-chat-button{margin-bottom:24px;min-height:46px}.conversation-section-label{font-size:12px;color:var(--text-secondary)}.conversation-row.selected{box-shadow:inset 3px 0 #677ce1;background:#e9edfc}.conversation-item{min-height:46px;font-size:13px}.account-name strong{font-size:13px}.account-name span{font-size:11px;color:var(--text-secondary)}.main-panel{background:var(--paper)}.topbar{height:76px;border-color:var(--line)}.topbar-eyebrow{font-size:11px;color:var(--text-secondary)}.topbar-title strong{font-size:15px;line-height:1.5}.welcome{max-width:890px;padding-top:clamp(30px,6vh,66px)}.welcome-overline{color:#6273bf;letter-spacing:.13em}.welcome h1{font-weight:700;line-height:1.35;margin:14px 0}.welcome p{font-size:14px;color:var(--text-secondary);max-width:640px;margin:auto}.welcome-mascot{margin-left:auto;margin-right:auto}.suggestions{gap:14px;margin-top:30px}.suggestions button{border-color:var(--line);padding:18px;min-height:110px;border-radius:16px}.suggestions button strong{font-size:14px;line-height:1.7;font-weight:550}.message-stack{max-width:910px;padding:40px 28px}.message{gap:14px;margin-bottom:36px}.message-main{max-width:min(100%,740px)}.message-name{font-size:14px;margin-bottom:10px;color:var(--ink)}.message-name span{color:var(--text-secondary);font-size:11px}.message-bubble{background:#f5f6fa;color:var(--ink);padding:20px 24px;border-radius:5px 18px 18px 18px}.message-user .message-bubble{background:#eaf0ff;color:#304267;padding:14px 20px}.markdown-body{font-size:15px;line-height:1.95;letter-spacing:.005em}.markdown-body p{margin:.8em 0}.markdown-body li{margin:.4em 0}.markdown-body h1,.markdown-body h2,.markdown-body h3{color:var(--ink);margin-top:1.6em}.markdown-body pre{padding:18px;border-radius:12px;font-size:13px}.markdown-body .katex-display{padding:10px 0}.sources{margin-top:18px}.sources-title{font-size:13px;color:var(--text-secondary)}.sources-caution{font-size:12px;line-height:1.7;color:var(--text-secondary)}.source-list{gap:10px}.source-card{padding:14px;border-color:var(--line);border-radius:12px;transition:border-color .18s,box-shadow .18s,transform .18s}.source-card:focus-visible{outline-offset:2px}.source-top{font-size:13px;line-height:1.6}.source-excerpt,.source-meta{font-size:12px;line-height:1.75;color:var(--text-secondary)}.answer-footer{margin-top:10px;gap:8px;flex-wrap:wrap;color:var(--text-secondary)}.answer-footer>button,.feedback-actions button{width:34px;height:34px;border-radius:9px}.composer-region{border-top:0;background:var(--paper);padding:14px 28px max(18px,env(safe-area-inset-bottom))}.composer,.composer-controls,.composer-note,.mode-explainer{max-width:854px}.style-trigger{min-height:40px;padding:5px 10px 5px 6px;font-size:12px;border-radius:11px}.mode-switch{border-radius:10px}.mode-switch button{min-height:34px;font-size:12px;padding:7px 12px}.mode-explainer{font-size:12px;line-height:1.7;color:var(--text-secondary);margin-bottom:10px}.composer{border-radius:18px;box-shadow:0 4px 24px #24395d0a;border-color:#d4dce9;transition:border-color .2s,box-shadow .2s}.composer:focus-within{border-color:#798fe3;box-shadow:0 0 0 3px #5168dd0c,0 8px 28px #24395d0a}.composer textarea{font-size:15px;line-height:1.8;padding:17px 19px 7px;min-height:72px}.composer-tools button{min-height:36px;font-size:12px;border-radius:8px}.send-button{width:40px;height:40px;border-radius:12px;box-shadow:0 3px 8px #5168dd26}.send-button:disabled{background:#e5e9f2;color:#8794aa;box-shadow:none;opacity:1}.composer-note{font-size:12px;line-height:1.7;color:var(--text-secondary);margin-top:10px}.style-menu{width:min(330px,calc(100vw - 32px));border-radius:16px;padding:14px;bottom:48px}.style-menu-header strong{font-size:14px}.style-menu-header span{font-size:12px;color:var(--text-secondary)}.style-menu input{height:42px;font-size:14px}.style-options button{min-height:42px;font-size:13px;padding:10px;border-radius:10px}.style-option-tag{font-size:11px}.show-all-styles{min-height:44px}.theme-toggle{position:static;flex:none;justify-content:center;box-shadow:none;min-height:40px;cursor:pointer}.utility-theme-toggle{position:fixed;right:16px;top:16px;z-index:90;box-shadow:0 2px 9px #192a5010}.topbar-right{display:flex;align-items:center;gap:24px}.subject-home-actions .theme-toggle{font-weight:600}.admin-nav .theme-toggle,.subject-home-actions .theme-toggle{color:var(--ink);background:var(--paper);border:1px solid var(--line);padding:9px 11px}.admin-content{padding-top:44px}.admin-title{margin-bottom:30px}.admin-title h1{font-size:32px;line-height:1.3}.admin-card-subtitle,.admin-title p{font-size:13px;color:var(--text-secondary)}.admin-grid{gap:22px}.admin-card{padding:24px;border-radius:18px;box-shadow:0 3px 16px #24395d04}.admin-card h2{font-size:17px}.stat-card{padding:20px;border-radius:16px}.stat-card span{font-size:12px;color:var(--text-secondary)}.stat-card strong{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:30px}.admin-table{font-size:13px}.admin-table th{padding:12px;color:var(--text-secondary);font-size:12px}.admin-table td{padding:14px 12px;line-height:1.65}.admin-table tbody tr:hover{background:#f8faff}.admin-filename{font-size:11px;color:var(--text-secondary)}.admin-table button{min-height:32px;padding:6px;font-size:12px;border-radius:7px}.admin-table select{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}.admin-field input,.admin-field select{min-height:46px}.admin-submit{min-height:44px;font-size:13px}.admin-category-tabs button,.admin-upload-modes button{min-height:42px;font-size:13px}.admin-material-folder-trigger{padding:14px;font-size:13px;min-height:48px}.admin-material-folder-trigger small{font-size:12px}[data-theme=dark]{--surface-soft:#233047;--text-secondary:#b8c4d8;--accent-focus:#a5b5ff}[data-theme=dark] ::selection{background:#425580;color:#fff}[data-theme=dark] .sidebar{background:#172132}[data-theme=dark] .composer-region,[data-theme=dark] .main-panel{background:var(--paper)}[data-theme=dark] .message-bubble{background:#233047}[data-theme=dark] .message-user .message-bubble{background:#293b62;color:#edf2ff}[data-theme=dark] .auth-panel{background:var(--paper)}[data-theme=dark] .admin-table tbody tr:hover{background:#253449}[data-theme=dark] .primary-button,[data-theme=dark] .send-button{color:#172132}[data-theme=dark] .send-button:disabled{background:#2e3b51;color:#a1aec3}@media(hover:hover){.source-card:hover{border-color:#aebeea;box-shadow:0 4px 16px #24395d08;transform:translateY(-1px)}.subject-card:hover>svg{transform:rotate(45deg) translateY(-3px)}.admin-table button:hover,.composer-tools button:hover{background:var(--surface-soft)}.subject-card:not(.subject-card-locked):hover{border-color:#a9b8e5}}@media(min-width:1150px){.suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}.suggestions button{min-height:100px;padding:18px}.suggestions button strong{font-size:14px;padding-right:24px}.suggestions button svg{bottom:18px;right:18px}}@media(max-width:1050px){.subject-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-card{min-height:210px}}@media(max-width:900px){.auth-panel,.auth-story{min-height:640px}.auth-story{padding:32px}.auth-panel{padding:28px}.story-content h1{font-size:36px}.sidebar{width:235px}}@media(max-width:700px){.auth-layout{padding:0}.auth-panel{min-height:100dvh;border-radius:0;padding:72px 24px 32px}.mobile-brand{margin-bottom:36px}.auth-heading h2{font-size:29px}.subject-home-header{height:auto;min-height:82px;align-items:flex-start;flex-direction:column;gap:14px;padding:20px}.subject-home-header .brand{font-size:16px}.subject-home-header>div:last-child{flex-wrap:wrap;font-size:12px;gap:14px}.subject-home-main{padding:32px 20px 44px}.subject-home-intro{margin-bottom:28px}.subject-profile{flex-wrap:wrap;padding:20px;gap:14px}.subject-profile>div{width:100%}.topbar{height:64px;padding:0 16px}.topbar-title strong{max-width:calc(100vw - 180px)}.ai-label{font-size:11px}.sidebar{width:min(300px,86vw)}.sidebar-subject-switch{font-size:11px;padding:6px 8px}.message-stack{padding:26px 16px}.message{gap:10px;margin-bottom:28px}.message-avatar{width:30px;height:30px}.message-bubble{padding:16px;border-radius:4px 14px 14px 14px}.markdown-body{font-size:15px;line-height:1.9}.composer-region{padding:10px 14px max(12px,env(safe-area-inset-bottom))}.composer textarea{font-size:16px;min-height:66px}.composer-note{font-size:11px}.composer-shortcut{display:none}.style-trigger{max-width:180px}.mode-switch button{font-size:12px;padding:7px 9px}.suggestions{gap:10px}.suggestions button{min-height:90px;padding:15px}.admin-content{padding:28px 16px}.admin-title h1{font-size:26px}.admin-grid{gap:16px}.admin-card{padding:18px}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-card strong{font-size:26px}.account-row button,.answer-footer>button,.conversation-delete,.feedback-actions button,.mobile-icon-button{min-width:40px;min-height:40px}.conversation-delete{margin-right:2px}.theme-toggle{top:12px;min-width:40px;min-height:40px}.style-menu input{font-size:16px}}@media(max-width:380px){.composer-controls{flex-wrap:wrap;row-gap:8px}.mode-switch{margin-left:auto}.subject-cards{gap:10px}.subject-card{padding:18px 14px;min-height:200px}.subject-card strong{font-size:24px}.subject-card p{font-size:12px}.subject-card small{font-size:11px}}@keyframes ui-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:no-preference){.auth-card,.subject-home-intro,.welcome{animation:ui-enter .4s var(--ease-ui) both}.admin-review-dialog,.delete-dialog,.style-menu{animation:ui-enter .18s var(--ease-ui) both}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.mascot-art .mascot-motion{display:none}.mascot-art .mascot-still{display:block}}.password-input{display:block;position:relative}.password-input input{width:100%;padding-right:52px}.password-input button{position:absolute;right:5px;top:5px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--text-secondary)}.password-input button:hover{background:var(--surface-soft)}@media(max-width:700px){.source-page-close,.source-page-toolbar button{width:40px;height:40px}.source-page-toolbar{min-height:54px}}.source-meta{margin-left:0;flex-wrap:wrap}.source-open{font-size:12px}.admin-feedback-item p,.admin-feedback-item strong,.admin-notice{font-size:13px}.admin-feedback-item span{font-size:12px}input::placeholder,textarea::placeholder{color:#68758b}.admin-card-subtitle,.auth-tabs button,.mode-switch button,.source-page-heading p,.source-page-toolbar,.source-page-toolbar output,.style-menu-header span,.style-suffix{color:var(--text-secondary)}.subject-card-kicker,.welcome-overline{color:#5365a7}.style-options button{color:var(--ink)}.markdown-body blockquote{color:var(--text-secondary)}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#a9b7cf}[data-theme=dark] .style-options button,[data-theme=dark] .style-options button.chosen{color:#e0e8ff}[data-theme=dark] .subject-card-kicker,[data-theme=dark] .welcome-overline{color:#acbcff}[data-theme=dark] .account-name span,[data-theme=dark] .source-open,[data-theme=dark] .source-page-heading p,[data-theme=dark] .source-page-toolbar,[data-theme=dark] .source-page-toolbar output{color:var(--text-secondary)}@media(max-width:700px){.composer-tools button,.mode-switch button,.send-button,.sidebar-subject-switch,.style-trigger,.theme-toggle{min-height:44px}.attachment>button,.menu-toggle,.send-button,.sidebar-close,.source-page-close,.source-page-toolbar button,.theme-toggle{min-width:44px;min-height:44px}.attachment>button{width:44px;height:44px}.source-page-toolbar{min-height:60px}.account-row button,.answer-footer>button,.conversation-delete,.feedback-actions button{min-width:44px;min-height:44px}.composer-tools{gap:4px}}[data-theme=dark] .conversation-row.selected{background:#293b62;box-shadow:inset 3px 0 #acbcff}[data-theme=dark] .conversation-row.selected .conversation-item,[data-theme=dark] .conversation-row:hover .conversation-item{color:#e0e8ff}[data-theme=dark] .source-number{background:#304266;color:#d6e0ff}.thinking-bubble{flex-wrap:wrap;gap:8px;font-size:13px;color:var(--text-secondary)}.thinking-bubble>span{flex:none}.thinking-status{flex:1 1 170px;line-height:1.7}.stop-generation{flex:none;margin-left:0;min-height:36px}@media(min-width:701px) and (max-width:900px){.sidebar{width:264px}.sidebar-brand-row{flex-wrap:wrap;gap:10px}}@media(max-width:700px){.thinking-status{flex-basis:100%}.stop-generation{min-height:44px}.thinking-bubble{padding:14px}.sidebar:not(.sidebar-open){visibility:hidden}.sidebar.sidebar-open{visibility:visible}}.welcome .welcome-instruction{margin-top:4px}.subject-card small{color:var(--text-secondary)}.inline-source-marker{display:inline-block;white-space:nowrap;vertical-align:baseline;font-size:.8em;font-weight:600;line-height:1.5;padding:1px 5px;margin:0 2px;border-radius:4px;background:var(--blue-pale);color:var(--blue-dark)}.ai-label{white-space:nowrap;flex-shrink:0}.admin-table{min-width:680px}.admin-table th{white-space:nowrap}.admin-table td:first-child{min-width:190px;max-width:300px}.table-scroll-hint{display:none}@media(max-width:700px){.topbar-right .ai-label{display:none}.table-scroll-hint{display:block;margin:0;padding:10px 12px;color:var(--text-secondary);font-size:12px;background:var(--surface-soft)}.admin-table-wrap{scrollbar-width:thin}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.answer-footer{gap:14px;flex-wrap:nowrap}.answer-verification{flex:none;line-height:1.7}.answer-actions{display:flex;align-items:center;gap:4px;flex:1 1;min-width:0}.answer-actions>button{position:relative;display:grid;place-items:center;width:34px;height:34px;flex:none;border:0;border-radius:9px;background:transparent;color:var(--text-secondary);cursor:pointer}.answer-actions .copied{color:#2c8064;background:#ecf8f1}.answer-actions .feedback-actions{gap:4px}.source-top strong{min-width:0;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.7;overflow:hidden}.source-number{height:22px;min-width:42px;font-size:10px;line-height:1.5}.source-meta{margin-top:8px;column-gap:12px;row-gap:2px}.source-excerpt{line-height:1.8}.source-open{margin-top:12px}.composer-shortcut,.composer-tools button{color:var(--text-secondary)}.composer-shortcut{font-size:11px}.subject-profile>div{padding-right:16px}.admin-section-heading>div{min-width:0}.admin-section-heading>.admin-export{flex:none;white-space:nowrap;min-height:40px}.subject-home .subject-card-locked{cursor:default;box-shadow:none}.subject-home .subject-card-locked:hover{transform:none}.welcome-mascot{background:radial-gradient(ellipse at 50% 70%,#eaf0ff 0,transparent 70%)}.welcome .suggestions button{gap:6px;min-height:92px}.welcome .suggestions button strong{font-size:15px;color:var(--ink);font-weight:600}.welcome .suggestions button span{color:#5365a7}.topbar-title strong{max-width:min(54vw,680px)}[data-theme=dark] .new-chat-button{background:#293b62;color:#e0e8ff;border:1px solid #425574}[data-theme=dark] .new-chat-button:hover{background:#354a76}[data-theme=dark] .welcome-mascot{background:radial-gradient(ellipse at 50% 70%,#344774 0,transparent 70%)}[data-theme=dark] .auth-decor{opacity:.12}[data-theme=dark] .usage-day>div{background:var(--surface-soft)}[data-theme=dark] .usage-day small,[data-theme=dark] .usage-day strong{color:var(--text-secondary)}[data-theme=dark] .welcome .suggestions button span{color:#acbcff}[data-theme=dark] .answer-actions .copied{background:#234638;color:#a0e6c3}[data-theme=dark] .source-card-button:focus-visible{outline-color:var(--accent-focus)}@media(hover:hover){.answer-actions>button:hover,.feedback-actions button:hover{background:var(--surface-soft);color:var(--blue-dark)}.theme-toggle:hover{background:var(--surface-soft);border-color:#a9b8d9}.welcome .suggestions button:hover{border-color:#9baee2;transform:translateY(-2px)}}@media(max-width:900px){.topbar-right{gap:12px}}@media(max-width:700px){.subject-home-header{height:80px;min-height:80px;padding:16px;flex-direction:row;align-items:center;gap:8px}.subject-home-header .brand{gap:7px}.subject-home-header .brand-logo{width:32px;height:32px}.subject-home-header .brand span{font-size:13px}.subject-home-header .subject-home-actions{gap:4px;flex-wrap:nowrap;font-size:11px}.subject-home-actions>button>span,.subject-home-actions>span{display:none}.subject-home-actions>a,.subject-home-actions>button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 4px}.subject-home-actions>button{min-width:44px}.subject-home-actions .theme-toggle{padding:8px}.theme-toggle{min-height:44px}.utility-theme-toggle{right:12px;top:12px}.topbar-title{flex:1 1}.topbar-title strong{max-width:100%;font-size:14px}.topbar-right{margin-left:0;flex:none}.topbar-brand-logo{width:27px;height:27px}.topbar{gap:10px}.welcome{padding:26px 18px 24px}.welcome h1{font-size:26px;line-height:1.4;margin:12px 0}.welcome p{font-size:13px;line-height:1.8}.welcome .welcome-instruction{max-width:290px;margin:5px auto 0}.welcome .suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:22px}.welcome .suggestions button{min-height:86px;padding:13px 12px;gap:5px;box-shadow:none;border-radius:13px}.welcome .suggestions button strong{font-size:13px;line-height:1.7;padding-right:0}.welcome .suggestions button svg{width:12px;height:12px;right:8px;bottom:8px;opacity:.65}.message-stack{padding:24px 16px}.message-assistant{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:10px;row-gap:0}.message-assistant>.message-main{display:contents}.message-assistant>.message-avatar{grid-column:1;grid-row:1;align-self:center}.message-assistant .message-name{grid-column:2;grid-row:1;min-height:40px;margin:0;align-self:center;font-size:14px;flex-wrap:wrap}.message-assistant .answer-footer,.message-assistant .answer-upgrade,.message-assistant .feedback-form,.message-assistant .message-bubble,.message-assistant .sources,.message-assistant .thinking-bubble{grid-column:1/-1;min-width:0}.message-assistant .message-bubble,.message-assistant .thinking-bubble{margin-top:12px}.message-assistant .message-bubble{padding:17px 18px}.message-assistant .sources{margin-top:18px}.answer-footer{display:flex;flex-direction:column;align-items:stretch;gap:3px;margin-top:13px}.answer-verification{font-size:11px}.answer-actions .feedback-actions button,.answer-actions>button{width:44px;height:44px;min-width:44px;min-height:44px}.answer-actions{width:100%;gap:4px}.answer-actions .feedback-thanks{font-size:11px}.source-card{padding:15px;border-radius:14px}.source-excerpt{-webkit-line-clamp:2}.source-top{font-size:13px}.composer-note{margin-top:8px;text-align:left}.composer-region{box-shadow:0 -8px 20px #24395d03}.admin-nav{gap:8px}.admin-nav>a,.admin-nav>button{min-height:44px}.subject-profile>div{padding-right:0}}@media(max-width:380px){.subject-home-header .brand span{font-size:12px}.subject-home-header .brand-logo{width:28px;height:28px}.subject-home-header .brand{gap:6px}.subject-home-header .subject-home-actions{font-size:10px;gap:2px}.welcome h1{font-size:23px}.welcome{padding-left:16px;padding-right:16px}.welcome .suggestions button strong{font-size:12px}.message-stack{padding-left:14px;padding-right:14px}.message-assistant .message-bubble{padding:16px}}.auth-form input,.composer textarea,.subject-profile select{font-size:16px}.subject-home-actions>a,.subject-home-actions>button,.topbar-grading-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px}.topbar-grading-link{font-size:12px}.style-menu input{flex:none;min-height:44px;font-size:16px}.show-all-styles,.style-menu-header{flex:none}.style-options{min-height:0}.style-options button{min-height:44px}.password-input button{width:44px;height:44px;top:3px;right:3px}.subject-mascot{pointer-events:none;overflow:visible}.character-still{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.character-body{position:relative;height:100%;max-width:100%;flex:none}.subject-mascot .character-base{object-fit:fill;padding:0}.subject-mascot .character-badge{position:absolute;display:block;border-radius:50%;transform:translate(-50%,-50%);padding:0;object-fit:fill}.subject-mascot .character-animation{position:absolute;inset:0;width:100%;height:100%;opacity:0;object-fit:contain;padding:0;overflow:hidden}.subject-mascot[data-character-state=welcome] .character-animation{object-fit:cover}.character-playing .character-still{visibility:hidden}.subject-mascot.character-playing .character-animation{opacity:1}.subject-avatar-art,.subject-character-avatar{display:block;width:100%;height:100%;overflow:hidden}.subject-avatar-art{position:relative}.message-avatar:has(.subject-avatar-art){width:46px;height:46px;border-radius:14px;background:#eef2ff;border:1px solid #dce4f4;overflow:hidden;box-shadow:0 3px 10px #283e6a0b}.subject-home .subject-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.subject-home .subject-secondary .subject-card{display:flex;align-items:center;gap:16px;min-height:172px;padding:22px 20px;border-radius:20px}.subject-card-mascot{width:72px;height:100px;margin:0;flex:none;filter:drop-shadow(0 6px 9px #2540780a)}.subject-secondary-copy{min-width:0;padding-right:6px}.subject-secondary-copy strong{font-size:23px}.subject-home .subject-secondary-copy p{margin:7px 0 9px;min-height:0;font-size:12px;line-height:1.7}.subject-home .subject-secondary-copy small{font-size:11px}.subject-secondary-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:27px 2px 13px}.subject-secondary-heading h2{font-size:16px;margin:0;color:var(--ink)}.subject-secondary-heading>span{font-size:12px;color:var(--text-secondary)}.subject-home .subject-card-featured{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:284px;padding:32px 42px;border-radius:26px;background:radial-gradient(ellipse at 92% 24%,#6575c3 0,transparent 54%),linear-gradient(125deg,#1d2c66,#354790 68%,#4a4b91);border:1px solid #3a4e91;color:#fff;box-shadow:0 12px 34px #27387515;overflow:hidden}.subject-featured-copy{position:relative;z-index:1;min-width:0}.subject-featured-kicker{display:block;color:#c5d1ff;font-size:11px;font-weight:700;letter-spacing:.15em}.subject-featured-copy h2{display:flex;align-items:baseline;gap:19px;margin:8px 0 5px;font-size:23px;line-height:1.25;font-weight:600;letter-spacing:-.02em}.subject-featured-copy h2>span{font-size:64px;font-weight:750;letter-spacing:-.05em}.subject-home .subject-featured-copy p{margin:0 0 18px;min-height:0;color:#d1dcf9;font-size:14px;line-height:1.7}.subject-featured-topics{display:flex;flex-wrap:wrap;gap:7px}.subject-featured-topics>span{padding:4px 10px;border:1px solid #ffffff26;border-radius:7px;background:#ffffff08;color:#e6ecff;font-size:11px}.subject-featured-footer{display:flex;align-items:center;gap:20px;margin-top:23px}.subject-featured-cta{display:inline-flex;align-items:center;gap:22px;min-height:45px;padding:0 18px;border-radius:10px;background:#fff;color:#293d82;font-size:13px;font-weight:700;box-shadow:0 4px 12px #0d1b5824}.subject-featured-cta svg{transform:rotate(45deg);transition:transform .2s var(--ease-ui)}.subject-home .subject-featured-footer small{color:#c5d1f4;font-size:12px}.subject-featured-art{position:relative;align-self:stretch;width:230px;flex:none;display:flex;align-items:center;justify-content:center}.subject-featured-art:after,.subject-featured-art:before{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff1f;border-radius:50%;background:#ffffff05}.subject-featured-art:after{width:186px;height:186px;background:#ffffff06}.subject-featured-mascot{width:196px;height:235px;z-index:1;filter:drop-shadow(0 10px 14px #12235526)}.subject-home .subject-card-featured:focus-visible{outline-color:#8198ff;outline-offset:5px}.subject-home-intro{margin-bottom:28px}[data-theme=dark] .message-avatar:has(.subject-avatar-art){background:#263858;border-color:#425574}@media(max-width:500px){.message-avatar:has(.subject-avatar-art){width:40px;height:40px;border-radius:12px}}[data-theme=dark] .subject-home .subject-card-featured{background:radial-gradient(ellipse at 92% 24%,#3c4c8c 0,transparent 54%),linear-gradient(125deg,#202e5b,#2e3f78 68%,#3c3d70);color:#fff;border-color:#5063a0}[data-theme=dark] .subject-home .subject-featured-copy p{color:#d1dcf9}@media(hover:hover){.subject-home .subject-card-featured:hover{border-color:#7d93dc;box-shadow:0 17px 40px #27387525}.subject-card-featured:hover .subject-featured-cta svg{transform:rotate(45deg) translateY(-3px)}}@media(max-width:900px){.subject-home .subject-card-featured{padding:30px}.subject-featured-art{width:170px}.subject-featured-art:before{width:190px;height:190px}.subject-featured-art:after{width:160px;height:160px}.subject-featured-mascot{width:160px;height:212px}.subject-featured-copy h2{font-size:19px;gap:14px}.subject-home .subject-secondary .subject-card{gap:10px;padding:20px 14px}.subject-card-mascot{width:58px;height:86px}.subject-secondary-copy strong{font-size:21px}}@media(max-width:700px){.subject-home .subject-card-featured{display:block;min-height:0;padding:25px 22px;border-radius:22px}.subject-featured-copy h2{display:block;margin:12px 0 10px;padding-right:92px;font-size:16px;line-height:1.6}.subject-featured-copy h2>span{display:block;font-size:55px;line-height:1.1;margin-bottom:7px}.subject-featured-kicker{font-size:10px}.subject-home .subject-featured-copy p{font-size:12px;margin-bottom:15px}.subject-featured-art{position:absolute;right:14px;top:20px;width:108px;height:125px}.subject-featured-art:before{width:124px;height:124px}.subject-featured-art:after{width:102px;height:102px}.subject-featured-mascot{width:94px;height:125px}.subject-featured-topics{gap:6px}.subject-featured-topics>span{font-size:10px;padding:4px 8px}.subject-featured-footer{margin-top:20px;gap:14px}.subject-featured-cta{font-size:12px;gap:12px;padding:0 14px}.subject-home .subject-featured-footer small{font-size:11px}.subject-home .subject-cards{grid-template-columns:1fr;gap:10px}.subject-home .subject-secondary .subject-card{min-height:136px;gap:22px;padding:18px 22px;border-radius:17px}.subject-card-mascot{width:64px;height:92px}.subject-secondary-copy strong{font-size:22px}.subject-home .subject-secondary-copy p{font-size:12px;margin:5px 0 7px}.subject-secondary-heading{margin-top:23px}.subject-secondary-heading>span{font-size:11px}}@media(max-width:380px){.subject-home .subject-card-featured{padding:23px 18px}.subject-featured-copy h2{font-size:14px;padding-right:86px}.subject-featured-art{right:8px;width:100px}.subject-featured-mascot{width:88px;height:122px}.subject-featured-art:before{width:108px;height:108px}.subject-featured-art:after{width:90px;height:90px}.subject-featured-footer{gap:10px}.subject-featured-cta{padding:0 12px;gap:8px}.subject-secondary-heading>span{font-size:10px}.subject-home .subject-secondary .subject-card{gap:18px;padding:17px 18px}}@media(prefers-reduced-motion:reduce){.character-playing .character-animation{display:none}.character-playing .character-still{visibility:visible}}