:root{color:#17345f;font-synthesis:none;text-rendering:optimizelegibility;--primary:#216cf4;--primary-hover:#1559ed;--primary-soft:#edf4ff;--ink:#132e57;--text:#304c75;--muted:#7087a3;--border:#dce7f6;--surface-soft:#f9fbff;--danger:#b42332;--success:#19744a;--header-height:88px;--sidebar-width:clamp(250px, 18vw, 270px);--shadow-soft:0 3px 12px #2a4e7d14;background:#fff;font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;min-width:320px;min-height:100%;margin:0}html,body{overflow:hidden}body{background:#fff}button,input,textarea,select{font:inherit}button,select{color:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline-offset:2px;outline:3px solid #216cf43d}button:disabled{cursor:not-allowed;opacity:.52}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.app-shell{background:#fff;min-height:100dvh}.brand-header{height:var(--header-height);background:#fffffff5;border-bottom:1px solid #e4eaf2}.brand-header__inner{align-items:center;gap:18px;width:100%;height:100%;padding:0 40px;display:flex}.brand-header__image{object-fit:contain;object-position:left center;width:auto;max-width:min(478px,100% - 280px);height:68px;display:block}.brand-header__divider{background:#d5dfed;width:1px;height:42px}.brand-header__title{color:#0e326b;white-space:nowrap;font-size:34px;font-weight:750;line-height:1}.workspace{grid-template-columns:var(--sidebar-width) minmax(540px, 1fr) var(--sidebar-width);height:calc(100vh - var(--header-height));height:calc(100dvh - var(--header-height));display:grid;overflow:hidden}.workspace.is-history-collapsed{grid-template-columns:var(--sidebar-width) minmax(540px, 1fr)}.sidebar-shell{min-width:0;min-height:0;overflow:hidden}.workspace.is-history-collapsed .sidebar-shell--history{display:none}.question-sidebar{background:radial-gradient(circle at 0 0,#216cf40d,#0000 36%),#fbfdff;border-right:1px solid #e2e9f2;flex-direction:column;min-width:0;height:100%;padding:24px 18px;display:flex;overflow:hidden auto}.new-chat-button{background:var(--primary);color:#fff;cursor:pointer;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:0 14px;font-size:17px;font-weight:700;transition:transform .16s,box-shadow .16s,background .16s;display:flex;box-shadow:0 6px 14px #216cf42e}.new-chat-button:hover{background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 9px 20px #216cf43b}.examples-section h2,.knowledge-section h2{color:var(--ink);margin:0;font-size:16px;font-weight:700}@keyframes status-pulse{50%{opacity:.42}}.examples-section{margin-top:0}.examples-section .sidebar-heading{margin-bottom:12px}.knowledge-section{margin-top:24px}.knowledge-scopes{flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0;list-style:none;display:flex}.knowledge-scopes li{border:1px solid var(--border);color:#42638d;white-space:nowrap;background:#fff;border-radius:10px;padding:7px 8px;font-size:12px}.example-list{flex-direction:column;gap:10px;display:flex}.example-card{background:var(--surface-soft);width:100%;min-height:70px;color:var(--text);cursor:pointer;text-align:left;border:1px solid #e5edf8;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 13px;font-size:15px;line-height:1.65;transition:border-color .16s,background .16s;display:grid}.example-card:hover{background:#f3f8ff;border-color:#bfd5f3}.example-card__arrow{color:var(--primary);font-size:28px;line-height:1}.chat-panel{background:#fff;flex-direction:column;min-width:0;min-height:0;padding:12px 20px 18px;display:flex;overflow:hidden}.chat-panel__header{border-bottom:1px solid #e8eef6;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:0 2px 3px;display:flex}.chat-panel__heading,.chat-panel__tools{align-items:center;gap:12px;display:flex}.panel-toggle{border:1px solid var(--border);color:#42638d;cursor:pointer;background:#f8fbff;border-radius:8px;flex-shrink:0;padding:7px 10px;font-size:12px}.panel-toggle:hover,.panel-toggle[aria-expanded=true]{color:var(--primary);background:var(--primary-soft);border-color:#a8c6fb}.question-toggle,.question-sidebar__close{display:none}.conversation-loading{color:var(--muted);flex:1;place-content:center;font-size:14px;display:grid}.chat-panel__eyebrow,.calendar-panel__eyebrow{color:#7691b2;letter-spacing:.14em;margin:0 0 4px;font-size:10px;font-weight:750}.chat-panel__eyebrow{margin-bottom:2px}.chat-panel__header h2{color:var(--ink);margin:0;font-size:20px}.connection-state{color:#8093aa;background:#fcfdff;border:1px solid #e9f0f8;border-radius:999px;flex:none;align-items:center;gap:6px;padding:5px 9px;font-size:11px;display:inline-flex}.connection-state>span{background:#30a46c;border-radius:50%;width:7px;height:7px}.connection-state.is-retrieving>span,.connection-state.is-answering>span{background:var(--primary);animation:1.2s ease-in-out infinite status-pulse}.connection-state.is-error>span{background:var(--danger)}.chat-history{scrollbar-gutter:stable both-edges;scroll-behavior:auto;flex:1 1 0;min-height:0;padding:22px 0 26px;overflow:hidden auto}.chat-content{width:min(1122px,100%);margin-inline:auto}.chat-history__content{flex-direction:column;min-height:100%;padding-left:42px;display:flex}.chat-history::-webkit-scrollbar{width:7px}.composer-rail::-webkit-scrollbar{width:7px}.question-sidebar::-webkit-scrollbar{width:7px}.calendar-panel::-webkit-scrollbar{width:7px}.event-picker::-webkit-scrollbar{width:7px}.chat-history::-webkit-scrollbar-thumb{background:#c7d6e6;border-radius:8px}.composer-rail::-webkit-scrollbar-thumb{background:#c7d6e6;border-radius:8px}.question-sidebar::-webkit-scrollbar-thumb{background:#c7d6e6;border-radius:8px}.calendar-panel::-webkit-scrollbar-thumb{background:#c7d6e6;border-radius:8px}.event-picker::-webkit-scrollbar-thumb{background:#c7d6e6;border-radius:8px}.chat-empty{width:min(560px,90%);color:var(--muted);text-align:center;margin:auto;transform:translateY(-24px)}.chat-empty__mark{width:58px;height:58px;color:var(--primary);box-shadow:var(--shadow-soft);background:linear-gradient(145deg,#f8fbff,#eaf2ff);border:1px solid #cadefb;border-radius:18px;place-items:center;margin:0 auto 14px;font-size:17px;font-weight:800;display:grid}.chat-empty h1{color:var(--ink);margin:0 0 7px;font-size:24px}.chat-empty p{margin:0;font-size:15px;line-height:1.8}.quick-prompts{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px;display:flex}.quick-prompts button{color:#42638d;cursor:pointer;background:#f8fbff;border:1px solid #dce9f8;border-radius:999px;min-height:34px;padding:6px 14px;font-size:13px;transition:border-color .16s,background .16s}.quick-prompts button:hover{background:#f0f6ff;border-color:#bfd5f3}.chat-message{gap:12px;width:100%;margin:10px 0;display:flex}.chat-message--assistant{position:relative}.chat-message--assistant .chat-message__identity{position:absolute;top:0;left:-42px}.chat-message--assistant .chat-message__body{width:100%}.chat-message--user{flex-direction:row-reverse;align-self:flex-end;width:min(72%,820px)}.chat-message__identity{width:34px;height:34px;color:var(--primary);background:#edf4ff;border-radius:10px;flex:0 0 34px;place-items:center;font-size:12px;font-weight:800;display:grid}.chat-message--user .chat-message__identity{background:var(--primary);color:#fff}.chat-message__body{min-width:0;box-shadow:var(--shadow-soft);color:#17345f;overflow-wrap:anywhere;background:#fff;border:1px solid #e0e8f3;border-radius:16px;padding:18px 22px;font-size:16px;line-height:1.8}.chat-message--assistant.is-streaming .chat-message__body{min-width:min(260px,100% - 46px)}.chat-message--user .chat-message__body{background:var(--primary-soft);box-shadow:none;color:#173d70;border:0;border-radius:13px 13px 4px;padding:11px 17px}.user-content{white-space:pre-wrap;margin:0}.answer-content__body>:first-child{margin-top:0}.answer-content__body>:last-child{margin-bottom:0}.citation-list{border-top:1px solid #dce5f0;margin-top:18px;padding-top:14px}.citation-list h3{margin:0 0 10px;font-size:14px;font-weight:700}.citation-list ol{margin:0;padding:0;list-style:none}.citation-list li+li{margin-top:12px}.citation-list__name{overflow-wrap:anywhere;gap:6px;font-weight:600;display:flex}.answer-content .citation-list p{color:#52657d;margin:3px 0 0;padding-left:24px;font-size:13px}.citation-list a{margin:4px 0 0 24px;font-size:13px;display:inline-block}.answer-content__body{line-height:1.85}.answer-content__body h1,.answer-content__body h2,.answer-content__body h3,.answer-content__body h4{color:#17345f;margin:1.35em 0 .55em;font-weight:700;line-height:1.45}.answer-content__body h1{font-size:1.4em}.answer-content__body h2{font-size:1.25em}.answer-content__body h3{font-size:1.12em}.answer-content__body h4{font-size:1em}.answer-content__body p{margin:.75em 0}.answer-content__body ul,.answer-content__body ol{margin:.7em 0;padding-left:1.65em}.answer-content__body li{padding-left:.15em}.answer-content__body li+li{margin-top:.35em}.answer-content__body li>p{margin:.35em 0}.answer-content__body li>ul,.answer-content__body li>ol{margin:.3em 0 .45em}@media (width<=600px){.answer-content__body{font-size:15px;line-height:1.8}.answer-content__body ul,.answer-content__body ol{padding-left:1.4em}}.answer-content a{color:var(--primary);text-decoration:none}.answer-content a:hover{text-decoration:underline}.answer-content pre{white-space:pre-wrap;background:#f4f7fb;border-radius:10px;max-width:100%;padding:14px;font-size:13px;line-height:1.6;overflow-x:auto}.answer-content code{background:#f1f5fa;border-radius:4px;padding:.1em .35em;font-size:.9em}.answer-content table{border-collapse:collapse;max-width:100%;display:block;overflow-x:auto}.answer-content th,.answer-content td{text-align:left;border:1px solid #dce5f0;padding:7px 10px}.answer-loading{color:#607a9b;white-space:nowrap;align-items:center;gap:10px;min-height:28px;font-size:15px;line-height:1.5;display:inline-flex}.answer-loading__dots{align-items:center;gap:4px;display:inline-flex}.answer-loading__dots>span{background:#7f9cc4;border-radius:50%;width:5px;height:5px;animation:1.4s ease-in-out infinite typing}.answer-loading__dots>span:nth-child(2){animation-delay:.18s}.answer-loading__dots>span:nth-child(3){animation-delay:.36s}@keyframes typing{50%{opacity:.45}}.message-error{color:var(--danger);background:#fff1f2;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:8px 10px;font-size:13px;display:flex}.message-error button{color:var(--danger);cursor:pointer;background:#fff;border:1px solid #f0b6b4;border-radius:7px;flex:none;padding:4px 9px}.answer-feedback{border-top:1px solid #f0f4fa;flex-direction:column;align-items:flex-start;gap:5px;margin-top:12px;padding-top:8px;display:flex}.answer-feedback__actions,.answer-feedback__reason{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.answer-feedback .answer-action{color:#68809f;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:28px;padding:4px 6px;font-size:12px;line-height:18px;display:inline-flex}.answer-feedback .answer-action:hover:not(:disabled){color:var(--primary);background:#f2f7ff}.answer-action__icon{flex:none;width:16px;height:16px;display:block}.answer-action__icon--down{transform:rotate(180deg)}.answer-feedback .answer-action--text{min-width:82px}.answer-feedback .answer-action--vote{width:28px;padding:4px}.answer-feedback .answer-action.is-positive{color:var(--primary);background:#edf5ff}.answer-feedback .answer-action.is-negative{color:#b66757;background:#fcf0ed}.answer-feedback .answer-action.is-negative:hover:not(:disabled){color:#ad5b4c;background:#f9e8e4}.answer-feedback__reason select{color:#526d90;background:#fff;border:1px solid #d9e6f7;border-radius:7px;max-width:100%;min-height:28px;padding:3px 7px;font-size:12px}.feedback-message{font-size:12px}.feedback-message.is-error{color:var(--danger)}.composer-rail{scrollbar-gutter:stable both-edges;flex:none;min-width:0;overflow-y:auto}.composer-shell{background:#fbfcfe;border:1px solid #d9e6f7;border-radius:15px;align-items:center;gap:12px;width:100%;min-height:58px;padding:7px 11px 7px 14px;transition:border-color .16s,box-shadow .16s;display:flex;box-shadow:0 2px 8px #2669dc0a}.composer-shell:focus-within{border-color:#8fb6f7;box-shadow:0 0 0 3px #2d71f00f}.composer-shell textarea{resize:none;color:#274c7e;background:0 0;border:0;outline:0;flex:auto;width:100%;min-width:0;height:25px;min-height:25px;max-height:122px;padding:0;font-size:16px;line-height:25px;display:block;overflow-y:hidden}.composer-shell textarea::placeholder{color:#8ba0be}.composer-actions{flex:none;align-items:center;gap:8px;display:flex}.round-action{cursor:pointer;border-radius:50%;flex:0 0 35px;place-items:center;width:35px;height:35px;padding:0;transition:transform .15s,box-shadow .15s,background .15s;display:grid}.round-action__icon{object-fit:contain;width:70%;height:70%;display:block}.round-action:hover:not(:disabled){transform:translateY(-1px)}.voice-action{color:#173d70;background:#fff;border:1px solid #cbdcf3;font-size:22px;position:relative;overflow:hidden}.voice-action .round-action__icon{pointer-events:none;width:160%;height:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-53%)}.voice-action.is-recording{color:var(--danger);background:#fff1f2;border:1px solid #efb6ba}.voice-action:disabled{cursor:not-allowed;opacity:.45}.cancel-action{color:#9d3b45;background:#fff8f8;border:1px solid #f1dfe1}.cancel-action span{font-size:12px;line-height:1}.cancel-action:hover:not(:disabled){background:#fff0f1;border-color:#e6c4c8}.cancel-action:active:not(:disabled){transform:scale(.96)}.send-action{box-shadow:none;background:0 0;border:0;padding:0}.send-action .round-action__icon{width:100%;height:100%}.composer-hint{color:#94a6bc;justify-content:space-between;padding:6px 5px 0;font-size:11px;display:flex}.ai-notice{color:#93a6c2;text-align:center;margin:5px 0 0;font-size:12px}.recorder-error{color:var(--danger);margin:6px 4px 0;font-size:12px}.calendar-fab{z-index:60;color:#fff;cursor:pointer;isolation:isolate;background:linear-gradient(145deg,#4388f7 0%,#216cf4 55%,#1559ed 100%);border:1px solid #ffffff94;border-radius:16px;place-items:center;width:54px;height:54px;padding:0;transition:transform .18s,box-shadow .18s,border-radius .18s;display:grid;position:fixed;top:17px;right:26px;overflow:hidden;box-shadow:0 9px 22px #216cf440,inset 0 1px #ffffff47}.calendar-fab:before{z-index:-1;content:"";background:#ffffff29;border-radius:50%;width:52px;height:52px;position:absolute;top:-24px;left:-18px}.calendar-fab__icon{filter:drop-shadow(0 1px 1px #09378b33);width:27px;height:27px;transition:transform .18s}.calendar-fab:hover{transform:translateY(-2px);box-shadow:0 13px 28px #216cf452,inset 0 1px #ffffff52}.calendar-fab:hover .calendar-fab__icon{transform:scale(1.06)}.calendar-fab:active{transform:translateY(0)scale(.97);box-shadow:0 6px 15px #216cf43d,inset 0 1px #ffffff3d}.calendar-fab.is-open{border-radius:50%;box-shadow:0 8px 22px #1147aa4d,inset 0 1px #ffffff47}.calendar-fab.is-open .calendar-fab__icon{transform:rotate(-4deg)}.calendar-backdrop{z-index:50;background:#0c21411f;position:fixed;inset:0}.calendar-panel{background:#fff;border:1px solid #cfe0f5;border-radius:16px;width:min(410px,100vw - 32px);max-height:calc(100vh - 94px);padding:20px;position:absolute;top:76px;right:26px;overflow-y:auto;box-shadow:0 20px 54px #15356038}.calendar-panel__header{justify-content:space-between;align-items:flex-start;margin-bottom:16px;display:flex}.calendar-panel__header h2{color:var(--ink);margin:0;font-size:20px}.icon-button{color:#536f92;cursor:pointer;background:#f4f7fb;border:0;border-radius:9px;width:34px;height:34px;padding:0;font-size:24px;line-height:1}.field-label{color:var(--ink);margin-bottom:7px;font-size:13px;font-weight:700;display:block}.calendar-select{background:#fff;border:1px solid #d4e1f0;border-radius:9px;width:100%;min-height:38px;padding:0 10px}.month-card{border:1px solid #e0e7f0;border-radius:10px;margin-top:12px;overflow:hidden}.month-nav{grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:9px;display:grid}.month-nav strong{color:var(--ink);text-align:center;font-size:14px}.month-nav button,.today-button{color:#506c8d;cursor:pointer;background:0 0;border:0;border-radius:7px}.month-nav button{height:30px;font-size:21px}.month-nav button:hover,.today-button:hover{color:var(--primary);background:#edf4ff}.today-button{border:1px solid #e2e8f0;width:calc(100% - 18px);min-height:27px;margin:0 9px 9px;font-size:12px;display:block}.weekday-row,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.weekday-row{background:#fafbfd;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.weekday-row span{color:#8395ab;text-align:center;padding:7px 0;font-size:11px}.day-cell{color:#263f60;cursor:pointer;text-align:left;background:#fff;border:1px solid #edf1f6;border-top:0;border-left:0;min-width:0;height:51px;padding:4px;overflow:hidden}.day-cell:nth-child(7n){border-right:0}.day-cell:hover{background:#f5f8fd}.day-cell.is-muted{color:#9ba9ba;background:#f7f8fa}.day-cell.is-selected{background:#eaf2ff;box-shadow:inset 0 0 0 1px #9fc1f7}.day-number{font-size:11px;font-weight:650;display:block}.day-cell.is-today .day-number{color:var(--primary);font-weight:800}.day-event{color:var(--primary);text-overflow:ellipsis;white-space:nowrap;background:#e7f0ff;border-radius:3px;margin-top:3px;padding:1px 3px;font-size:9px;display:block;overflow:hidden}.day-detail{color:#506987;background:#fafbfd;border:1px solid #e1e8f2;border-radius:9px;margin-top:10px;padding:11px;font-size:12px}.day-detail h3,.event-picker h3{color:var(--ink);margin:0;font-size:13px}.day-detail>p{margin:8px 0 0}.day-detail article{border-bottom:1px dashed #dce4ee;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:8px 0;display:grid}.day-detail article:last-child{border-bottom:0}.day-detail article>span{color:var(--primary);background:#eaf2ff;border-radius:4px;padding:1px 5px;font-size:10px}.day-detail article p{color:#6f8299;grid-column:1/-1;margin:0}.event-picker{background:#fbfcfe;border:1px solid #e1e8f2;border-radius:9px;max-height:210px;margin-top:14px;padding:10px;overflow-y:auto}.event-picker__heading{margin-bottom:8px}.event-picker__heading>span{color:#8396ad;font-size:10px}.event-option{color:#496481;cursor:pointer;border-bottom:1px solid #edf1f5;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:start;gap:6px;padding:7px 2px;font-size:11px;display:grid}.event-option:last-child{border-bottom:0}.event-option input{accent-color:var(--primary);margin:2px 0 0}.event-option__date{color:#7188a2;white-space:nowrap}.event-option__title{overflow-wrap:anywhere}.event-option__grade{color:var(--primary);white-space:nowrap}.calendar-placeholder{color:#8092a8;text-align:center;padding:18px 4px;font-size:12px}.calendar-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.secondary-button,.primary-button{cursor:pointer;border-radius:9px;min-height:38px;font-size:13px;font-weight:650}.secondary-button{color:#486684;background:#fff;border:1px solid #cad9eb}.primary-button{background:var(--primary);color:#fff;border:0}.calendar-status{border-radius:7px;margin:9px 0 0;padding:7px 9px;font-size:11px}.calendar-status.is-success{color:var(--success);background:#eaf8f1}.calendar-status.is-error{color:var(--danger);background:#fff0f1}.conversation-sidebar{background:linear-gradient(#fbfdff,#f8fbff);border-left:1px solid #e2e9f2;flex-direction:column;gap:16px;height:100%;min-height:0;padding:24px 16px;display:flex}.sidebar-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.sidebar-heading h2{color:var(--ink);margin:0;font-size:17px}.sidebar-close{width:28px;height:28px}.history-search{border:1px solid var(--border);color:#8198b6;background:#fff;border-radius:9px;flex-shrink:0;align-items:center;gap:7px;padding:9px 10px;display:flex}.history-search svg{flex-shrink:0;width:16px;height:16px}.history-search:focus-within{border-color:#8fb6f7}.history-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;padding:0;font-size:13px}.history-search input::placeholder{color:#8198b6}.conversation-list{scrollbar-width:thin;flex-direction:column;flex:1;gap:9px;min-height:0;margin:0;padding:2px;list-style:none;display:flex;overflow-y:auto}.conversation-card{background:#fff;border:1px solid #e4edf8;border-radius:11px;flex-shrink:0;min-width:0;display:flex}.conversation-card:hover{background:#f6faff;border-color:#bfd5f3}.conversation-card.is-active{background:#edf4ff;border-color:#94b9ff;box-shadow:0 2px 7px #216cf414}.conversation-card.is-active .conversation-card__title{color:var(--primary);font-weight:650}.conversation-card__select{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;min-width:0;padding:13px 0 13px 10px;display:flex}.conversation-card__icon{color:#5273a1;background:#edf4ff;border-radius:50%;flex-shrink:0;place-items:center;width:30px;height:30px;display:grid}.is-active .conversation-card__icon{color:var(--primary);background:#dceaff}.conversation-card__icon svg{width:19px;height:19px}.conversation-card__text{min-width:0;display:block}.conversation-card__title{-webkit-line-clamp:2;overflow-wrap:anywhere;color:var(--ink);-webkit-box-orient:vertical;font-size:13px;line-height:1.6;display:-webkit-box;overflow:hidden}.conversation-card time{color:#879bb6;margin-top:5px;font-size:11px;display:block}.conversation-card__delete{color:#879bb6;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;align-self:stretch;place-items:center;width:28px;padding:0;display:grid}.conversation-card__delete svg{width:15px;height:15px}.conversation-card__delete:hover:not(:disabled){color:var(--danger);background:#fff0f1}.history-new-button{flex-shrink:0;width:100%;min-height:44px;font-size:15px}.history-placeholder{color:var(--muted);text-align:center;margin:0;padding:16px 3px;font-size:13px;line-height:1.8}.history-placeholder p{color:var(--text);margin:0 0 6px}.history-placeholder span{font-size:12px}.history-error{color:var(--danger);margin:0;font-size:12px;line-height:1.8}.history-error button{color:var(--primary);cursor:pointer;background:0 0;border:0;font-size:12px;text-decoration:underline}.delete-dialog{border:1px solid var(--border);width:min(380px,100vw - 32px);color:var(--text);border-radius:16px;padding:24px;box-shadow:0 18px 60px #15356033}.delete-dialog::backdrop{background:#0c21414d}.delete-dialog h2{color:var(--ink);margin:0 0 16px;font-size:19px}.delete-dialog p{font-size:13px;line-height:1.8}.delete-dialog__title{overflow-wrap:anywhere;max-height:100px;overflow:auto}.delete-dialog__actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.delete-dialog__actions button{padding-inline:18px}.delete-dialog__confirm{background:var(--danger)}.sidebar-backdrop{z-index:30;inset:var(--header-height) 0 0;background:#0c21413d;position:fixed}@media (width<=1199px){.workspace,.workspace.is-history-collapsed{grid-template-columns:var(--sidebar-width) minmax(540px, 1fr)}.sidebar-shell--history,.workspace.is-history-collapsed .sidebar-shell--history{display:none}.sidebar-shell--history.is-open,.workspace.is-history-collapsed .sidebar-shell--history.is-open{z-index:40;inset:var(--header-height) 0 0 auto;width:var(--sidebar-width);display:block;position:fixed;box-shadow:-12px 0 40px #1535601f}.brand-header__title{font-size:29px}}@media (width<=1000px){.brand-header__divider,.brand-header__title{display:none}}@media (width<=800px){:root{--header-height:68px}.brand-header__inner{padding:0 18px}.brand-header__image{width:min(330px,100% - 82px);max-width:calc(100% - 82px);height:auto;max-height:50px}.brand-header__divider,.brand-header__title{display:none}.workspace,.workspace.is-history-collapsed{grid-template-columns:minmax(0,1fr)}.sidebar-shell--questions{display:none}.sidebar-shell--questions.is-open{z-index:40;inset:var(--header-height) auto 0 0;width:var(--sidebar-width);display:block;position:fixed;box-shadow:12px 0 40px #1535601f}.question-sidebar{padding:20px 18px}.question-sidebar__close{display:grid}.question-toggle{display:block}.chat-panel{padding:6px 20px 16px}.calendar-fab{width:47px;height:47px;font-size:25px;top:10px;right:14px}.calendar-panel{max-height:calc(100vh - 76px);top:62px;right:14px}}@media (width<=600px){.chat-panel{padding:6px 12px 12px}.chat-panel__header{gap:6px;min-height:42px;padding-inline:0}.chat-panel__heading,.chat-panel__tools{gap:6px}.panel-toggle{padding:7px 8px;font-size:11px}.chat-panel__eyebrow{display:none}.chat-panel__header h2{font-size:17px}.connection-state{display:none}.chat-history{padding:16px 0 18px}.chat-content{width:100%}.chat-history__content{padding-left:0}.chat-empty{width:100%;transform:none}.chat-empty h1{font-size:21px}.chat-message,.chat-message--user{gap:7px;width:100%}.chat-message--assistant{flex-direction:column}.chat-message--assistant .chat-message__identity{position:static}.chat-message__identity{border-radius:8px;flex-basis:28px;width:28px;height:28px;font-size:10px}.chat-message__body{padding:14px;font-size:14px}.chat-message--assistant.is-streaming .chat-message__body{min-height:58px}.chat-message--user .chat-message__body{padding:9px 12px}.composer-shell{gap:7px;min-height:52px;padding:6px 8px 6px 10px}.composer-shell textarea{height:23px;min-height:23px;font-size:14px;line-height:23px}.composer-actions{gap:5px}.round-action{flex-basis:32px;width:32px;height:32px}.composer-hint span:first-child{display:none}.composer-hint{justify-content:flex-end}.calendar-panel{border-radius:14px;width:auto;max-height:none;padding:16px;inset:58px 8px 8px}.day-cell{height:47px}.event-option{grid-template-columns:auto minmax(0,1fr) auto}.event-option__date,.event-option__title{grid-column:2}.event-option__grade{grid-area:1/3/span 2}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
