:root{--accent:#6c2d82;--accent-hover:#7b3f9e;--accent-active:#5a236d;--accent-disabled:#d4b3df;--accent-glow:#6c2d824d;--accent-soft:#f0e6f5;--accent-tint:#6c2d820f;--accent-tint-hover:#6c2d821f;--bg:#f5f5f7;--bg-chat:#fafafa;--bg-card:#fff;--text-primary:#1d1d1f;--text-body:#3a3a3c;--text-secondary:#6e6e73;--text-tertiary:#75757c;--text-inverse:#fff;--border:#d2d2d7;--border-light:#e8e8ed;--success:#1b7e3c;--success-bg:#e6f7ed;--success-border:#bbf7d0;--danger:#c41e3a;--danger-bg:#fde8ec;--danger-border:#fecaca;--radius-sm:6px;--radius-md:10px;--focus-ring:0 0 0 3px var(--accent-glow);--transition:.3s cubic-bezier(.25, .1, .25, 1);--container:1400px;--gutter:clamp(24px, 4vw, 48px);--font:"Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-mono:"SF Mono", Menlo, Monaco, Consolas, monospace}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;font-size:16px}body{font-family:var(--font);color:var(--text-primary);background:var(--bg);min-height:100vh;line-height:1.6}#root{flex-direction:column;min-height:100vh;display:flex}::selection{background:var(--accent);color:#fff}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}button{cursor:pointer;font-family:inherit;font-size:inherit;background:0 0;border:none}input,textarea,select{font-family:inherit}:is(a,button,summary,[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:2px}:is(input,textarea,select):focus-visible{border-color:var(--accent);box-shadow:var(--focus-ring);outline:none}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content){word-break:break-word}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) p{margin-bottom:8px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) p:last-child{margin-bottom:0}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) :is(ul,ol){margin:6px 0;padding-left:20px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) li{margin-bottom:4px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) code{border-radius:var(--radius-sm);font-size:13px;font-family:var(--font-mono);background:#0000000f;padding:2px 6px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) pre{border-radius:var(--radius-md);max-width:100%;margin:10px 0;overflow:hidden}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) pre code{color:#cdd6f4;border-radius:var(--radius-md);background:#1e1e2e;padding:14px 16px;font-size:13px;line-height:1.5;display:block;overflow-x:auto}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) :is(h1,h2,h3,h4){margin-top:14px;margin-bottom:8px;font-weight:600;line-height:1.3}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) h1{font-size:18px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) h2{font-size:16px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) h3{font-size:15px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) blockquote{border-left:3px solid var(--accent);color:var(--text-secondary);background:#6c2d820a;border-radius:0 6px 6px 0;margin:8px 0;padding:6px 12px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) table{border-collapse:collapse;width:100%;margin:10px 0;font-size:14px;display:block;overflow-x:auto}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) :is(th,td){border:1px solid var(--border-light);text-align:left;padding:8px 12px}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) th{background:var(--accent-tint);font-weight:600}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) hr{border:none;border-top:1px solid var(--border-light);margin:14px 0}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) a{color:var(--accent);text-decoration:underline}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) img{border-radius:var(--radius-sm);max-width:100%}:is(.chat-msg__bubble,.question-item__answer,.knowledge-entry__content) .katex-display{padding:2px 0;overflow:auto hidden}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.navbar{z-index:100;height:64px;padding:0 var(--gutter);background:var(--bg-card);border-bottom:1px solid var(--border-light);justify-content:center;align-items:center;transition:box-shadow .3s,transform .3s,opacity .3s;display:flex;position:fixed;top:0;left:0;right:0}.navbar--scrolled{border-bottom-color:var(--border)}.navbar--hidden{opacity:0;transform:translateY(-100%)}.navbar__inner{width:100%;max-width:var(--container);justify-content:space-between;align-items:center;display:flex}.navbar__logo{color:var(--text-primary);letter-spacing:-.5px;font-size:23px;font-weight:700;text-decoration:none}.navbar__logo span{color:var(--accent)}.navbar__links{align-items:center;gap:8px;display:flex}.navbar__links a{color:var(--text-secondary);border-radius:var(--radius-sm);padding:8px 18px;font-size:15px;font-weight:500;text-decoration:none;transition:color .2s,background .2s}.navbar__links a:hover{color:var(--text-primary);background:#0000000a}.hero{min-height:100vh;padding:112px var(--gutter) 72px;justify-content:center;align-items:center;display:flex;position:relative}.hero__content{width:100%;max-width:var(--container);text-align:center;margin:0 auto;position:relative}.hero__badge{color:var(--accent);letter-spacing:.6px;margin-bottom:20px;font-size:15px;font-weight:600;display:inline-block}.hero__title{letter-spacing:-1px;color:var(--text-primary);margin-bottom:22px;font-size:clamp(40px,6vw,72px);font-weight:700;line-height:1.08}.hero__subtitle{color:var(--text-secondary);max-width:680px;margin:0 auto 36px;font-size:clamp(19px,1.8vw,24px);font-weight:400;line-height:1.6}.hero__cta{color:var(--text-inverse);background:var(--accent);border-radius:var(--radius-sm);align-items:center;gap:8px;padding:14px 30px;font-size:17px;font-weight:600;text-decoration:none;transition:background .2s;display:inline-flex}.hero__cta:hover{background:var(--accent-hover)}.hero__cta:active{background:var(--accent-active)}.hero__actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:24px;display:flex}.link-arrow{color:var(--accent);align-items:center;gap:4px;font-size:16px;font-weight:600;text-decoration:none;transition:gap .15s;display:inline-flex}.link-arrow:hover{gap:8px}.link-arrow svg{width:15px;height:15px}.section-head{max-width:var(--container);margin:0 auto 36px}.section-head__eyebrow{color:var(--accent);letter-spacing:.6px;border-left:2px solid var(--accent);margin-bottom:14px;padding-left:10px;font-size:15px;font-weight:600}.section-head__title{letter-spacing:-.8px;color:var(--text-primary);margin-bottom:14px;font-size:clamp(30px,3.4vw,44px);font-weight:700;line-height:1.15}.section-head__lead{color:var(--text-secondary);max-width:700px;font-size:clamp(17px,1.5vw,20px);line-height:1.6}.tiles{max-width:var(--container);background:var(--border-light);border:1px solid var(--border-light);border-radius:var(--radius-md);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 auto;display:grid;overflow:hidden}.tile{background:var(--bg-card);flex-direction:column;gap:10px;padding:28px 24px;display:flex}.tile__icon{color:var(--accent)}.tile__icon svg{width:24px;height:24px}.tile__title{color:var(--text-primary);font-size:19px;font-weight:600}.tile__desc{color:var(--text-secondary);flex:1;font-size:15px;line-height:1.65}.tile .link-arrow{font-size:15px}.stage{padding:80px var(--gutter);background:var(--bg-card);border-top:1px solid var(--border-light)}.stage__inner{max-width:var(--container);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:56px;margin:0 auto;display:grid}.stage__eyebrow{color:var(--accent);letter-spacing:.6px;border-left:2px solid var(--accent);margin-bottom:14px;padding-left:10px;font-size:15px;font-weight:600}.stage__title{letter-spacing:-.8px;color:var(--text-primary);margin-bottom:16px;font-size:clamp(30px,3.4vw,44px);font-weight:700;line-height:1.15}.stage__lead{color:var(--text-secondary);margin-bottom:28px;font-size:18px;line-height:1.7}.stage__list{flex-direction:column;gap:16px;margin-bottom:32px;display:flex}.stage__item{color:var(--text-body);align-items:flex-start;gap:10px;font-size:16px;line-height:1.6;display:flex}.stage__item svg{width:19px;height:19px;color:var(--accent);flex-shrink:0;margin-top:3px}@media (width<=860px){.tiles{grid-template-columns:1fr}.stage{padding:56px var(--gutter)}.stage__inner{grid-template-columns:1fr;gap:28px}.stage__list{margin-bottom:24px}}@media (width>=861px) and (width<=1080px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}.features{padding:80px var(--gutter) 72px}.features__title{max-width:var(--container);letter-spacing:-.5px;margin:0 auto 32px;font-size:34px;font-weight:700}.features__grid{max-width:var(--container);border-top:1px solid var(--border-light);grid-template-columns:repeat(3,1fr);gap:0 32px;margin:0 auto;display:grid}@media (width<=860px){.features__grid{grid-template-columns:1fr;gap:0}}.features.features--flush-top{padding-top:0}.feature-row{border-bottom:1px solid var(--border-light);align-items:flex-start;gap:16px;padding:24px 0;display:flex}.feature-row__icon{color:var(--accent);flex-shrink:0;padding-top:2px}.feature-row__icon svg{width:22px;height:22px}.feature-row__body{min-width:0}.feature-row__title{margin-bottom:5px;font-size:17px;font-weight:600}.feature-row__desc{color:var(--text-secondary);font-size:15px;line-height:1.65}.entry-cards{max-width:var(--container);grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 auto;display:grid}@media (width<=720px){.entry-cards{grid-template-columns:1fr}}.feature-card{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-md);text-align:center;padding:28px 24px;transition:border-color .2s;animation:.6s both fadeUp}.feature-card:hover{border-color:var(--border)}.feature-card__icon{border:1px solid var(--border-light);border-radius:var(--radius-sm);width:48px;height:48px;color:var(--accent);justify-content:center;align-items:center;margin-bottom:18px;display:inline-flex}.feature-card__icon svg{width:22px;height:22px}.feature-card__title{margin-bottom:8px;font-size:20px;font-weight:600}.feature-card__desc{color:var(--text-secondary);font-size:15px;line-height:1.6}.entry-form{flex-direction:column;gap:10px;width:100%;max-width:380px;margin:16px auto 0;display:flex}.entry-form__input{border-radius:var(--radius-md);border:2px solid var(--border-light);background:var(--bg);text-align:center;width:100%;padding:12px 16px;font-size:15px;transition:border-color .2s,background .2s}.entry-form__input:focus{border-color:var(--accent);background:var(--bg-card)}.entry-form__error{color:var(--danger);margin:0;font-size:13px}.entry-form__btn{width:100%;color:var(--text-inverse);background:var(--accent);border-radius:var(--radius-md);padding:12px;font-size:15px;font-weight:600;transition:background .2s,transform .2s}.entry-form__btn:hover:not(:disabled){background:var(--accent-hover)}.entry-form__btn:active:not(:disabled){transform:scale(.98)}.entry-form__btn:disabled{background:var(--accent-disabled);cursor:default}.chat-section{width:100%;padding:72px var(--gutter) 120px}.chat-section--active{flex-direction:column;min-height:calc(100vh - 64px);padding:0;display:flex}.chat-section--active .chat-section__title{padding:24px var(--gutter) 0;flex-shrink:0}.chat-section--active .chat-body{width:100%;max-width:900px;padding:0 var(--gutter);flex-direction:column;flex:1;margin:0 auto;display:flex;overflow:hidden}.chat-section--active .quick-questions{margin:auto}.chat-section--active .chat-window{flex:1;min-height:0;max-height:none;margin-bottom:0}.chat-body{max-width:900px;margin:0 auto}.chat-section__title{max-width:var(--container);letter-spacing:-.5px;margin:0 auto 28px;font-size:34px;font-weight:700}.quick-questions{flex-shrink:0;margin-bottom:24px}.quick-questions__label{color:var(--text-tertiary);text-align:center;margin-bottom:12px;font-size:14px}.quick-questions__grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}@media (width<=480px){.quick-questions__grid{grid-template-columns:1fr}}.quick-questions__btn{color:var(--accent);background:var(--accent-tint);border-radius:var(--radius-sm);transition:background var(--transition);text-align:center;padding:12px 16px;font-size:14px;font-weight:500}.quick-questions__btn:hover{background:var(--accent-tint-hover)}.chat-window{background:var(--bg-chat);border-radius:var(--radius-md);border:1px solid var(--border-light);flex-direction:column;gap:16px;min-height:500px;max-height:70vh;margin-bottom:16px;padding:24px;display:flex;overflow-y:auto}.chat-msg{gap:12px;max-width:100%;animation:.3s both fadeUp;display:flex}.chat-msg--user{flex-direction:row-reverse;align-self:flex-end}.chat-msg__avatar{background:var(--bg);border:1px solid var(--border-light);width:32px;height:32px;color:var(--text-secondary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-msg--user .chat-msg__avatar{background:var(--accent);color:var(--text-inverse);border:none}.chat-msg__bubble{border-radius:var(--radius-md);background:var(--bg);border:1px solid var(--border-light);word-break:break-word;padding:12px 16px;font-size:15px;line-height:1.6}.chat-msg--user .chat-msg__bubble{background:var(--accent);color:var(--text-inverse);border:none}.typing-dots span{color:var(--text-tertiary);font-size:24px;line-height:1;animation:1.4s infinite both blink}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,20%{opacity:0}50%{opacity:1}to{opacity:0}}.chat-input-bar{z-index:99;background:var(--bg);border-top:1px solid var(--border);opacity:0;pointer-events:none;padding:12px 24px 20px;transition:opacity .3s;position:fixed;bottom:0;left:0;right:0}.chat-input-bar--visible{opacity:1;pointer-events:auto}.chat-input{flex:1;align-items:flex-end;gap:8px;display:flex}.chat-input__body{flex-direction:column;flex:1;gap:6px;display:flex}.chat-input__actions{flex-shrink:0;align-items:flex-end;gap:6px;display:flex}.chat-input__field{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg-chat);transition:border-color var(--transition), box-shadow var(--transition);resize:none;min-height:52px;max-height:200px;padding:14px 18px;font-size:16px;line-height:1.5;overflow-y:auto}.chat-input__field:focus{border-color:var(--accent);box-shadow:var(--focus-ring)}.chat-input__field:disabled{opacity:.5}.chat-input__field::placeholder{color:var(--text-tertiary)}.chat-input__image-preview{border-radius:var(--radius-md);border:1px solid var(--border-light);background:var(--bg-card);align-self:flex-start;display:inline-flex;position:relative;overflow:hidden}.chat-input__image-preview img{object-fit:cover;max-width:120px;max-height:120px;display:block}.chat-input__image-remove{width:22px;height:22px;color:var(--text-inverse);text-align:center;background:#0000008c;border-radius:50%;font-size:14px;line-height:22px;transition:background .2s;position:absolute;top:4px;right:4px}.chat-input__image-remove:hover{background:#000c}.chat-input__file-chip{border-radius:var(--radius-md);border:1px solid var(--border-light);background:var(--bg-card);color:var(--text-body);align-self:flex-start;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:inline-flex}.chat-input__file-chip--muted{color:var(--text-tertiary)}.chat-input__file-chip .chat-input__image-remove{position:static}.chat-input__file-chip svg{color:var(--text-secondary);flex-shrink:0}.chat-input__file-chip__note{color:var(--text-tertiary);font-size:12px}.chat-input__attach{width:48px;height:48px;min-height:48px;color:var(--text-tertiary);background:var(--bg-card);border:1px solid var(--border-light);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;transition:color .2s,border-color .2s,background .2s;display:flex}.chat-input__attach:hover:not(:disabled){color:var(--accent);border-color:var(--accent);background:var(--accent-tint)}.chat-input__attach:disabled{opacity:.3;cursor:default}.chat-input__btn{background:var(--accent);width:48px;height:48px;min-height:48px;color:var(--text-inverse);transition:background var(--transition), transform var(--transition);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-input__btn:hover:not(:disabled){background:var(--accent-hover);transform:scale(1.05)}.chat-input__btn:active:not(:disabled){transform:scale(.95)}.chat-input__btn:disabled{opacity:.3;cursor:default}.chat-input__memory-btn{width:48px;height:48px;min-height:48px;color:var(--text-tertiary);background:var(--bg-card);border:1px solid var(--border-light);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;transition:color .2s,border-color .2s,background .2s;display:flex;position:relative}.chat-input__memory-btn:hover{color:var(--accent);border-color:var(--accent)}.chat-input__memory-btn--active{color:var(--text-inverse);background:var(--accent);border-color:var(--accent)}.chat-input__memory-badge{border-radius:var(--radius-md);background:var(--danger);min-width:18px;height:18px;color:var(--text-inverse);pointer-events:none;justify-content:center;align-items:center;padding:0 5px;font-size:11px;font-weight:700;display:flex;position:absolute;top:-4px;right:-4px}.chat-input-bar__row{max-width:var(--container);align-items:flex-end;gap:8px;margin:0 auto;display:flex}.memories-panel{max-width:var(--container);background:var(--bg-chat);border:1px solid var(--border-light);border-radius:var(--radius-md);max-height:280px;margin:0 auto 12px;padding:16px;overflow-y:auto}.memories-panel__header{color:var(--accent);align-items:center;gap:6px;margin-bottom:12px;font-size:14px;font-weight:600;display:flex}.memories-panel__empty{color:var(--text-tertiary);margin-bottom:12px;font-size:13px}.memories-panel__list{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.memories-panel__item{color:var(--text-secondary);background:var(--bg);border-radius:var(--radius-sm);border:1px solid var(--border-light);align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}.memories-panel__item span{flex:1;line-height:1.4}.memories-panel__del{width:20px;height:20px;color:var(--text-tertiary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;transition:color .2s,background .2s;display:flex}.memories-panel__del:hover{color:var(--danger);background:var(--danger-bg)}.memories-panel__add{gap:8px;display:flex}.memories-panel__input{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);flex:1;padding:8px 12px;font-size:13px;transition:border-color .2s}.memories-panel__input:focus{border-color:var(--accent)}.memories-panel__btn{color:var(--text-inverse);background:var(--accent);border-radius:var(--radius-sm);white-space:nowrap;padding:8px 16px;font-size:13px;font-weight:600;transition:background .2s}.memories-panel__btn:hover{background:var(--accent-hover)}.chat-msg__image{border-radius:var(--radius-md);object-fit:contain;background:var(--bg-chat);max-width:100%;max-height:320px;margin-bottom:8px;display:block}.footer{text-align:center;padding:48px var(--gutter) 100px;color:var(--text-tertiary);border-top:1px solid var(--border-light);font-size:13px}.footer__cols{max-width:var(--container);text-align:left;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:0 auto;display:grid}.footer__col-title{color:var(--text-primary);margin-bottom:12px;font-size:14px;font-weight:600}.footer__col a,.footer__col span{color:var(--text-tertiary);padding:6px 0;font-size:14px;text-decoration:none;transition:color .15s;display:block}.footer__col a:hover{color:var(--accent)}.footer__legal{max-width:var(--container);border-top:1px solid var(--border-light);color:var(--text-tertiary);margin:36px auto 0;padding-top:20px;font-size:13px}@media (width<=860px){.footer__cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.footer{padding:36px var(--gutter) 80px}}.navbar__loginBtn{color:var(--text-inverse);background:var(--accent);border-radius:var(--radius-sm);padding:8px 20px;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s,transform .2s}.navbar__loginBtn:hover{background:var(--accent-hover);transform:scale(1.03)}.navbar__loginBtn:active{background:var(--accent-active);transform:scale(.97)}.navbar__loginBtn--ghost{color:var(--accent);border:1px solid var(--accent);background:0 0}.navbar__loginBtn--ghost:hover{color:var(--accent);background:var(--accent-tint)}.navbar__user{align-items:center;gap:10px;margin-left:8px;display:flex}.navbar__auth-actions{gap:8px;display:flex}.navbar__userId{color:var(--accent);background:var(--accent-tint);border-radius:var(--radius-sm);letter-spacing:.5px;padding:4px 14px;font-size:13px;font-weight:600}.navbar__logoutBtn{color:var(--text-tertiary);border-radius:var(--radius-sm);padding:4px 12px;font-size:13px;font-weight:500;transition:color .2s,background .2s}.navbar__logoutBtn:hover{color:var(--danger);background:var(--danger-bg)}.login-prompt{justify-content:center;padding:60px 20px;display:flex}.login-prompt__card{text-align:center;max-width:400px}.login-prompt__icon{color:var(--accent);opacity:.5;margin-bottom:16px}.login-prompt__icon svg{width:40px;height:40px}.login-prompt__title{margin-bottom:8px;font-size:22px;font-weight:600}.login-prompt__desc{color:var(--text-secondary);margin-bottom:28px;font-size:15px;line-height:1.6}.login-prompt__btn{color:var(--text-inverse);background:var(--accent);border-radius:var(--radius-md);padding:14px 36px;font-size:16px;font-weight:600;transition:background .2s,transform .2s}.login-prompt__btn:hover{background:var(--accent-hover);transform:scale(1.03)}.login-prompt__btn:active{background:var(--accent-active);transform:scale(.97)}.login-prompt__dev{border-top:1px solid var(--border-light);margin-top:40px;padding-top:24px}.login-prompt__devLabel{color:var(--text-tertiary);margin-bottom:10px;font-size:12px}.login-prompt__devForm{justify-content:center;gap:8px;display:flex}.login-prompt__devInput{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg-card);width:160px;padding:8px 14px;font-size:14px;transition:border-color .2s}.login-prompt__devInput:focus{border-color:var(--accent)}.login-prompt__devBtn{color:var(--text-inverse);background:var(--accent);border-radius:var(--radius-sm);padding:8px 18px;font-size:14px;font-weight:600;transition:background .2s}.login-prompt__devBtn:hover{background:var(--accent-hover)}.login-prompt__devError{color:var(--danger);margin-top:6px;font-size:12px}.auth-banner{z-index:200;border-radius:var(--radius-sm);border:1px solid var(--border-light);padding:10px 28px;font-size:14px;font-weight:500;animation:.3s both fadeUp;position:fixed;top:72px;left:50%;transform:translate(-50%)}.auth-banner--success{color:var(--success);background:var(--success-bg)}.auth-banner--error{color:var(--danger);background:var(--danger-bg)}.app-loading{justify-content:center;align-items:center;min-height:100vh;display:flex}.app-loading__spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.export-bar{border-top:1px solid var(--border-light);flex-shrink:0;justify-content:center;gap:8px;margin-top:4px;padding:12px 0 4px;display:flex}.export-bar__btn{color:var(--text-tertiary);border-radius:var(--radius-sm);background:var(--bg-card);border:1px solid var(--border-light);align-items:center;gap:5px;padding:6px 14px;font-size:12px;font-weight:500;transition:color .2s,border-color .2s,background .2s;display:inline-flex}.export-bar__btn:hover{color:var(--accent);border-color:var(--accent);background:var(--accent-tint)}.export-bar__btn svg{flex-shrink:0}.subject-select{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg-card) url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2375757c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;color:var(--text-primary);cursor:pointer;appearance:none;flex:1;padding:8px 32px 8px 12px;font-size:14px;transition:border-color .2s}.subject-select:focus{border-color:var(--accent)}.subject-picker{align-items:center;gap:8px;margin-top:12px;display:flex}.subject-picker__label{color:var(--text-tertiary);font-size:13px}.history-toolbar{justify-content:center;padding:4px 0;display:flex}.history-panel{margin-top:8px}.history-toggle{color:var(--text-tertiary);border-radius:var(--radius-sm);background:var(--bg-card);border:1px solid var(--border-light);align-items:center;gap:5px;padding:6px 14px;font-size:12px;font-weight:500;transition:color .2s,border-color .2s,background .2s;display:inline-flex}.history-toggle:hover{color:var(--accent);border-color:var(--accent);background:var(--accent-tint)}.history-list{flex-direction:column;gap:8px;display:flex}.history-item{color:var(--text-body);border-radius:var(--radius-sm);background:var(--bg-card);border:1px solid var(--border-light);padding:10px 12px;font-size:13px;line-height:1.5}.history-item__head{color:var(--accent);align-items:baseline;margin-bottom:4px;font-size:12px;font-weight:600;display:flex}.history-item__time{color:var(--text-tertiary);margin-left:8px;font-weight:400}.history-item__question{margin-bottom:6px}.history-item__summary{cursor:pointer;color:var(--accent);font-size:12px}.history-item__answer{color:var(--text-secondary);white-space:pre-wrap;max-height:200px;margin-top:6px;font-size:12px;overflow-y:auto}@media print{body.printing *{visibility:visible!important}body.printing .navbar,body.printing .hero,body.printing .features,body.printing .chat-section__title,body.printing .chat-input-bar,body.printing .footer,body.printing .export-bar,body.printing .quick-questions,body.printing .app-loading,body.printing .auth-banner,body.printing .login-prompt{display:none!important}body.printing .chat-section,body.printing .chat-section--active{max-width:100%!important;min-height:auto!important;padding:0!important;display:block!important}body.printing .chat-section--active .chat-section__title{display:none!important}body.printing .chat-section--active .chat-body{max-width:100%!important;padding:0!important;display:block!important;overflow:visible!important}body.printing .chat-section--active .quick-questions{margin:0!important}body.printing .chat-window{min-height:auto!important;max-height:none!important;box-shadow:none!important;background:#fff!important;border:none!important;padding:20px!important;overflow:visible!important}body.printing .chat-section--active .chat-window{flex:none!important}body.printing .chat-msg__avatar{display:none!important}body.printing .chat-msg__bubble{background:0 0!important;border:none!important;padding:4px 0!important;font-size:13px!important;line-height:1.7!important}body.printing .chat-msg--user .chat-msg__bubble{color:#1d1d1f!important;background:0 0!important}body.printing .chat-msg--user .chat-msg__bubble:before{content:"你：";color:var(--accent);font-weight:600}body.printing .chat-msg--assistant .chat-msg__bubble:before{content:"AI：";color:var(--accent);font-weight:600}body.printing .chat-msg{page-break-inside:avoid;margin-bottom:12px!important;display:block!important}body.printing pre code{color:#1d1d1f!important;white-space:pre-wrap!important;word-break:break-word!important;background:#f5f5f7!important;border:1px solid #e8e8ed!important}}@media (width<=640px){.navbar{height:56px;padding:0 16px}.navbar__logo{font-size:19px}.navbar__links{gap:2px}.navbar__links a{padding:8px 9px;font-size:13px}.navbar__loginBtn{padding:6px 13px;font-size:13px}.navbar__userId{display:none}.hero{padding:96px 16px 56px}.hero__subtitle{margin-bottom:24px}.features{padding:40px 16px 36px}.features__title{margin-bottom:22px;font-size:26px}.feature-card{padding:24px 18px}.entry-cards{flex-direction:column;align-items:stretch}.entry-cards .feature-card{flex:auto;width:100%}.login-prompt__devForm{flex-direction:column}.login-prompt__devInput{box-sizing:border-box;width:100%;font-size:16px!important}.entry-cards input{font-size:16px!important}.chat-section:not(.chat-section--active){padding:56px 12px 120px}.chat-window{border-radius:var(--radius-md);padding:16px}.chat-input-bar{padding:10px 12px 16px}.chat-input__btn,.chat-input__attach,.chat-input__memory-btn{width:44px;height:44px;min-height:44px}}@keyframes fadeUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/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5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC)format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.17.0"}.katex .katex-mathml{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}.teacher-layout{background:var(--bg);flex-direction:column;min-height:100vh;display:flex}.teacher-body{gap:24px;display:flex}.features.teacher-hero{padding-top:80px;padding-bottom:40px}.features.teacher-login-section{padding-top:40px}.teacher-sidebar{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-md);flex-shrink:0;width:200px;padding:12px 0}.teacher-sidebar__btn{width:100%;color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:10px;padding:12px 20px;font-size:14px;transition:background .15s,color .15s;display:flex}.teacher-sidebar__btn:hover{background:var(--bg)}.teacher-sidebar__btn--active{background:var(--accent-soft);color:var(--accent);font-weight:600}.teacher-main{flex:1;min-width:0;overflow-y:auto}.teacher-main__title{color:var(--text-primary);margin-bottom:20px;font-size:22px;font-weight:700}.teacher-main__header .teacher-main__title,.knowledge-header .teacher-main__title{margin-bottom:0}.teacher-login{max-width:400px;margin:0 auto}.teacher-login__card{background:var(--bg-card);border-radius:var(--radius-md);border:1px solid var(--border-light);padding:32px 26px}.teacher-login__input{border-radius:var(--radius-md);border:2px solid var(--border-light);background:var(--bg);width:100%;color:var(--text-primary);text-align:center;padding:16px 18px;font-size:16px;font-weight:500;transition:border-color .2s,background .2s}.teacher-login__input:focus{border-color:var(--accent);background:var(--bg-card)}.teacher-login__error{color:var(--danger);text-align:center;margin-top:12px;font-size:14px}.teacher-login__btn{width:100%;color:var(--text-inverse);background:var(--accent);border-radius:var(--radius-sm);margin-top:16px;padding:16px;font-size:16px;font-weight:600;transition:background .2s}.teacher-login__btn:hover:not(:disabled){background:var(--accent-hover)}.teacher-login__btn:disabled{background:var(--accent-disabled);cursor:default}.student-list{flex-direction:column;gap:8px;display:flex}.student-card{background:var(--bg-card);border-radius:var(--radius-sm);cursor:pointer;border:1px solid var(--border-light);justify-content:space-between;align-items:center;padding:16px 20px;transition:border-color .15s;display:flex}.student-card:hover{border-color:var(--border)}.student-card__info{flex-direction:column;gap:4px;display:flex}.student-card__id{color:var(--text-primary);font-size:15px;font-weight:600}.student-card__meta{color:var(--text-tertiary);font-size:13px}.student-card__count{background:var(--accent-soft);color:var(--accent);border-radius:var(--radius-md);white-space:nowrap;padding:4px 12px;font-size:13px;font-weight:600}.question-detail{max-width:800px}.question-detail__back{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);cursor:pointer;background:0 0;align-items:center;gap:6px;margin-bottom:20px;padding:8px 16px;font-size:14px;transition:background .15s,border-color .15s;display:inline-flex}.question-detail__back:hover{background:var(--bg);border-color:var(--accent);color:var(--accent)}.question-item{background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-light);margin-bottom:12px;padding:20px}.question-item__q{margin-bottom:12px}.question-item__label{color:var(--accent);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-size:12px;font-weight:600}.question-item__text{color:var(--text-primary);white-space:pre-wrap;font-size:15px;line-height:1.6}.question-item__a{border-top:1px solid var(--border-light);padding-top:12px}.question-item__answer{color:var(--text-body);font-size:14px;line-height:1.6}.question-item__time{color:var(--text-tertiary);margin-top:8px;font-size:12px}.question-empty{text-align:center;color:var(--text-tertiary);padding:60px 20px;font-size:15px}.knowledge-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.knowledge-header__actions{align-items:center;gap:8px;display:flex}.knowledge-add-btn{background:var(--accent);color:var(--text-inverse);border-radius:var(--radius-md);cursor:pointer;border:none;align-items:center;gap:6px;padding:10px 20px;font-size:14px;font-weight:600;transition:background .15s;display:flex}.knowledge-add-btn:hover{background:var(--accent-hover)}.knowledge-form{background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-light);margin-bottom:20px;padding:24px}.knowledge-form__group{margin-bottom:16px}.knowledge-form__label{color:var(--text-primary);margin-bottom:6px;font-size:13px;font-weight:600;display:block}.knowledge-form__input,.knowledge-form__select,.knowledge-form__textarea{border:1px solid var(--border);border-radius:var(--radius-sm);box-sizing:border-box;background:var(--bg-card);width:100%;color:var(--text-primary);padding:10px 14px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.knowledge-form__input:focus,.knowledge-form__select:focus,.knowledge-form__textarea:focus{border-color:var(--accent);box-shadow:var(--focus-ring)}.knowledge-form__textarea{resize:vertical;min-height:120px}.knowledge-form__actions{justify-content:flex-end;gap:10px;display:flex}.knowledge-form__submit{background:var(--accent);color:var(--text-inverse);border-radius:var(--radius-sm);cursor:pointer;border:none;padding:10px 24px;font-size:14px;font-weight:600;transition:background .15s}.knowledge-form__submit:hover{background:var(--accent-hover)}.knowledge-form__cancel{background:var(--bg);color:var(--text-primary);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;padding:10px 24px;font-size:14px;transition:background .15s}.knowledge-form__cancel:hover{background:var(--border-light)}.knowledge-list{flex-direction:column;gap:8px;display:flex}.knowledge-entry{background:var(--bg-card);border-radius:var(--radius-sm);border:1px solid var(--border-light);padding:16px 20px;transition:border-color .15s}.knowledge-entry:hover{border-color:var(--border)}.knowledge-entry__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.knowledge-entry__title{color:var(--text-primary);margin-bottom:4px;font-size:15px;font-weight:600}.knowledge-entry__course{color:var(--accent);background:var(--accent-soft);border-radius:var(--radius-sm);margin-bottom:8px;padding:2px 8px;font-size:12px;display:inline-block}.knowledge-entry__content{color:var(--text-body);max-height:80px;font-size:14px;line-height:1.6;transition:max-height .2s;overflow:hidden}.knowledge-entry__content--expanded{max-height:none}.knowledge-entry__expand{color:var(--accent);cursor:pointer;background:0 0;border:none;margin-top:4px;padding:4px 0;font-size:13px}.knowledge-entry__del{border:1px solid var(--danger);color:var(--danger);border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;background:0 0;padding:4px 12px;font-size:13px;transition:background .15s}.knowledge-entry__del:hover{background:var(--danger-bg)}.knowledge-entry__time{color:var(--text-tertiary);margin-top:8px;font-size:12px}.knowledge-empty{text-align:center;color:var(--text-tertiary);padding:60px 20px;font-size:15px}.teacher-main__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.subject-filter{color:var(--text-tertiary);align-items:center;gap:8px;display:flex}.subject-filter__select{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-card) url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2375757c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;color:var(--text-primary);cursor:pointer;appearance:none;outline:none;min-width:130px;padding:8px 32px 8px 12px;font-size:14px;transition:border-color .2s}.subject-filter__select:focus{border-color:var(--accent);box-shadow:var(--focus-ring)}.teacher-loading{color:var(--text-tertiary);flex:1;justify-content:center;align-items:center;font-size:15px;display:flex}.knowledge-upload-status{border-radius:var(--radius-sm);margin-top:12px;padding:10px 14px;font-size:13px;line-height:1.5}.knowledge-upload-status--success{color:var(--success);background:var(--success-bg);border:1px solid var(--success-border)}.knowledge-upload-status--error{color:var(--danger);background:var(--danger-bg);border:1px solid var(--danger-border)}@media (width<=768px){.teacher-body{flex-direction:column;gap:16px}.teacher-sidebar{border-radius:var(--radius-sm);gap:6px;width:100%;padding:6px;display:flex}.teacher-sidebar__btn{border-radius:var(--radius-sm);flex:1;justify-content:center;width:auto;padding:10px 8px;font-size:13px}.teacher-main{width:100%;overflow-y:visible}.teacher-main__title{font-size:19px}.knowledge-header{flex-direction:column;align-items:stretch;gap:10px}.student-card{flex-wrap:wrap;gap:8px}.question-detail__back{margin-bottom:14px}.knowledge-form{padding:18px 16px}}
