:root{font-synthesis:none;text-rendering:optimizelegibility}html,body,#root{min-height:100%}body{margin:0}.app-shell{background:radial-gradient(circle at 8% 8%,#123b6917,#0000 25rem),radial-gradient(circle at 92% 88%,#d9573f14,#0000 28rem),#f5f8fc;min-height:100vh}.topbar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid #dce4ed;background:#ffffffd1!important}.toolbar{justify-content:space-between;width:100%;max-width:1220px;margin:0 auto;min-height:72px!important}.brand-mark,.empty-icon,.assistant-mark{color:#fff;background:#123b69;place-items:center;display:grid}.brand-mark{border-radius:13px 13px 5px;width:42px;height:42px;transform:rotate(-2deg)}.status-dot{background:#dfa52a;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #dfa52a21}.status-dot.online{background:#0b7a75;box-shadow:0 0 0 4px #0b7a751f}.status-dot.offline{background:#c54237;box-shadow:0 0 0 4px #c542371f}.workspace{grid-template-columns:minmax(240px,310px) minmax(0,1fr);gap:22px;height:calc(100vh - 72px);padding-top:22px;padding-bottom:22px;display:grid!important}.context-panel{border:1px solid #dce4ed;flex-direction:column;align-self:stretch;gap:22px;padding:34px 28px;display:flex;position:relative;overflow:hidden}.context-accent{background:linear-gradient(90deg,#123b69 0 58%,#d9573f 58%);height:6px;position:absolute;inset:0 0 auto}.context-panel h1{line-height:1.08}.chat-panel{border:1px solid #dce4ed;flex-direction:column;min-height:0;display:flex;overflow:hidden;box-shadow:0 22px 55px #23374e17!important}.chat-scroll{scroll-behavior:smooth;flex:1;min-height:0;padding:26px clamp(16px,4vw,42px);overflow-y:auto}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:36px 8px;display:flex}.empty-state h2{margin-top:18px}.empty-icon{background:linear-gradient(145deg,#123b69,#0b7a75);border-radius:18px 18px 7px;width:56px;height:56px;box-shadow:0 12px 30px #123b693d}.message-row{align-items:flex-start;gap:10px;margin:18px 0;display:flex}.message-row.user{justify-content:flex-end}.assistant-mark{border-radius:11px 11px 4px;flex:none;width:34px;height:34px;margin-top:2px}.message-bubble{border:1px solid #dce4ed;max-width:min(720px,86%);padding:14px 17px}.message-bubble.user{color:#fff;background:#123b69;border-color:#123b69;border-radius:17px 17px 5px}.message-bubble.assistant{background:#fff;border-radius:5px 17px 17px}.message-bubble.error{background:#fff5f4;border-color:#efaaa3}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown p,.markdown ul,.markdown ol{margin:.45em 0}.markdown a{color:#0b6f75;font-weight:700}.thinking-dot{background:#6c7b8c;border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite pulse}.thinking-dot:nth-child(2){animation-delay:.14s}.thinking-dot:nth-child(3){animation-delay:.28s}@keyframes pulse{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.citations{border-top:1px solid #e6ebf1;margin-top:13px;padding-top:11px}.citations summary{cursor:pointer;color:#123b69;align-items:center;gap:7px;font-size:.875rem;font-weight:750;display:flex}.citation-card{padding:12px 13px;background:#f8fafc!important}.composer{background:#fff;border-top:1px solid #dce4ed;align-items:flex-end;gap:10px;padding:14px 16px 10px;display:flex}.composer .MuiOutlinedInput-root{background:#f8fafc}.send-button{width:50px;height:50px;color:#fff!important;background:#123b69!important;border-radius:14px!important}.send-button.Mui-disabled{color:#8c99a7!important;background:#dfe5ec!important}@media (width<=800px){.workspace{grid-template-columns:1fr;height:calc(100dvh - 72px);padding:10px 10px 12px!important}.context-panel{display:none}.chat-panel{border-radius:16px!important}.chat-scroll{padding:16px 12px}.message-bubble{max-width:88%}.toolbar{padding-inline:14px!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
