:root{--text:#374151;--text-h:#111827;--text-muted:#6b7280;--bg:#fff;--bg-sunken:#f8fafc;--bg-raised:#fff;--border:#e2e8f0;--border-subtle:#f1f5f9;--accent:#2563eb;--accent-hover:#1d4ed8;--accent-light:#3b82f6;--accent-bg:#2563eb0f;--accent-bg-hover:#2563eb1a;--accent-border:#2563eb40;--danger:#dc2626;--success:#059669;--radius-xs:4px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-full:9999px;--shadow-xs:0 1px 2px #0000000a;--shadow-sm:0 1px 3px #0000000f, 0 1px 2px #0000000a;--shadow-md:0 4px 12px #00000014, 0 2px 4px #0000000a;--shadow-lg:0 12px 40px #0000001f, 0 4px 12px #0000000f;--sans:-apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;--mono:"SF Mono", "Fira Code", "JetBrains Mono", ui-monospace, Consolas, monospace;--transition-fast:.12s ease;--transition-base:.2s ease;--transition-slow:.3s ease;font:15px/1.6 var(--sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#cbd5e1;--text-h:#f1f5f9;--text-muted:#94a3b8;--bg:#0f172a;--bg-sunken:#0c1425;--bg-raised:#1e293b;--border:#334155;--border-subtle:#1e293b;--accent:#60a5fa;--accent-hover:#93c5fd;--accent-light:#93c5fd;--accent-bg:#60a5fa14;--accent-bg-hover:#60a5fa24;--accent-border:#60a5fa4d;--danger:#f87171;--success:#34d399;--shadow-xs:0 1px 2px #0003;--shadow-sm:0 1px 3px #0000004d, 0 1px 2px #0003;--shadow-md:0 4px 12px #0006, 0 2px 4px #0000004d;--shadow-lg:0 12px 40px #00000080, 0 4px 12px #0006}}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{overflow:hidden}button{font:inherit;cursor:pointer;background:0 0;border:none}input,textarea{font:inherit}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in-up{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in-left{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}@keyframes pulse-soft{0%,to{opacity:1}50%{opacity:.5}}.app-root{flex-direction:column;width:100%;height:100vh;display:flex}.app-shell{width:100%;min-height:0;transition:grid-template-columns var(--transition-slow);flex:1;grid-template-columns:280px minmax(0,1fr);display:grid}.app-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}@media (width<=768px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.app-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}}@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/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr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fNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+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.16.47"}.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}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}.message-row{align-items:flex-start;gap:12px;padding:16px 0;animation:.25s fade-in-up;display:flex}.message-row+.message-row{border-top:1px solid var(--border-subtle)}.message-row.user{flex-direction:row-reverse}.msg-avatar{border-radius:var(--radius-sm);flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:2px;display:flex}.msg-avatar.assistant-avatar{background:var(--accent-bg);color:var(--accent)}.msg-avatar.assistant-avatar svg{width:16px;height:16px}.msg-avatar.user-avatar{background:var(--border);color:var(--text-muted)}.msg-avatar.user-avatar svg{width:14px;height:14px}.message-content{flex:1;min-width:0;max-width:640px}.message-row.user .message-content{flex-direction:column;align-items:flex-end;display:flex}.message-bubble{color:var(--text-h);word-wrap:break-word;font-size:14.5px;line-height:1.65}.message-row.user .message-bubble{color:#fff;border-radius:var(--radius-lg) var(--radius-lg) var(--radius-xs) var(--radius-lg);background:linear-gradient(135deg,#2563eb,#0ea5e9);max-width:520px;padding:10px 16px}.message-row.assistant .message-bubble{padding:2px 0}.message-bubble.error{color:var(--danger)}.formatted-message{flex-direction:column;gap:2px;display:flex}.msg-line{line-height:1.65}.msg-break{height:8px}.msg-bullet{align-items:flex-start;gap:8px;margin-left:4px;line-height:1.65;display:flex}.bullet-symbol{color:var(--accent);-webkit-user-select:none;user-select:none;margin-top:1px;font-weight:700}.msg-blockquote{border-left:3px solid var(--accent-border);color:var(--text-muted);margin:4px 0;padding-left:12px;font-style:italic}.citation-chip{border-radius:var(--radius-xs);background:var(--accent-bg);color:var(--accent);vertical-align:baseline;cursor:pointer;transition:background var(--transition-fast), color var(--transition-fast);border:none;justify-content:center;align-items:center;margin:0 2px;padding:0 5px;font-family:inherit;font-size:11px;font-weight:700;line-height:1.4;display:inline-flex}.citation-chip:hover{background:var(--accent);color:#fff}.thinking-sparkles{align-items:center;gap:3px;padding:6px 0;display:flex}.thinking-sparkles .sparkle{color:var(--accent);font-size:13px;animation:1.2s ease-in-out infinite sparkle-rotate}.thinking-sparkles .sparkle:first-child{animation-delay:0s}.thinking-sparkles .sparkle:nth-child(2){animation-delay:.15s}.thinking-sparkles .sparkle:nth-child(3){animation-delay:.3s}@keyframes sparkle-rotate{0%{opacity:.3;transform:scale(.7)rotate(0)}25%{opacity:1;transform:scale(1.1)rotate(90deg)}50%{opacity:1;transform:scale(1)rotate(180deg)}75%{opacity:.6;transform:scale(.9)rotate(270deg)}to{opacity:.3;transform:scale(.7)rotate(360deg)}}.message-actions{opacity:0;transition:opacity var(--transition-fast);gap:4px;margin-top:6px;display:flex}.message-row:hover .message-actions{opacity:1}.msg-action-btn{border-radius:var(--radius-xs);width:28px;height:28px;color:var(--text-muted);transition:background var(--transition-fast), color var(--transition-fast);justify-content:center;align-items:center;display:flex}.msg-action-btn:hover{background:var(--accent-bg);color:var(--accent)}.msg-action-btn svg{width:14px;height:14px}.markdown-body{color:var(--text-h);word-wrap:break-word;font-size:14.5px;line-height:1.7}.markdown-body p{margin:0 0 10px}.markdown-body p:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{color:var(--text-h);margin:18px 0 8px;font-weight:700;line-height:1.3}.markdown-body h1{font-size:1.35em}.markdown-body h2{font-size:1.18em}.markdown-body h3{font-size:1.05em}.markdown-body h4{font-size:.95em}.markdown-body h1:first-child,.markdown-body h2:first-child,.markdown-body h3:first-child{margin-top:0}.markdown-body ul,.markdown-body ol{margin:6px 0 10px;padding-left:22px}.markdown-body li{margin-bottom:4px;line-height:1.65}.markdown-body li>p{margin:0}.markdown-body input[type=checkbox]{accent-color:var(--accent);margin-right:6px}.markdown-body blockquote{border-left:3px solid var(--accent);color:var(--text-muted);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:#2563eb0a;margin:12px 0;padding:12px 18px;font-style:italic;line-height:1.75}.markdown-body blockquote p{margin:0 0 8px}.markdown-body blockquote p:last-child{margin-bottom:0}.markdown-body :not(pre)>code{background:var(--bg-sunken);border:1px solid var(--border);color:var(--accent);border-radius:4px;padding:1px 5px;font-family:JetBrains Mono,Fira Code,Cascadia Code,monospace;font-size:.875em}.markdown-body table{border-collapse:collapse;width:100%;margin:12px 0;font-size:13.5px}.markdown-body th,.markdown-body td{border:1px solid var(--border);text-align:left;padding:7px 12px}.markdown-body th{background:var(--bg-sunken);color:var(--text-h);font-weight:600}.markdown-body tr:nth-child(2n) td{background:var(--bg-sunken)}.markdown-body del{color:var(--text-muted)}.markdown-body hr{border:none;border-top:1px solid var(--border);margin:16px 0}.markdown-body a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.markdown-body a:hover{opacity:.8}.code-block-wrapper{border-radius:var(--radius-md);border:1px solid var(--border);background:#0d1117;margin:10px 0;overflow:hidden}.code-block-header{background:#161b22;border-bottom:1px solid #30363d;justify-content:space-between;align-items:center;padding:7px 14px;display:flex}.code-block-lang{color:#8b949e;text-transform:uppercase;letter-spacing:.04em;font-family:monospace;font-size:11.5px;font-weight:600}.code-block-copy{color:#8b949e;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:4px;padding:2px 8px;font-size:11.5px;font-weight:500;transition:color .15s,border-color .15s}.code-block-copy:hover{color:#e6edf3;border-color:#8b949e}.code-block-wrapper code{color:#e6edf3;padding:14px 16px;font-family:JetBrains Mono,Fira Code,Cascadia Code,monospace;font-size:13px;line-height:1.6;display:block;overflow-x:auto;background:0 0!important;border:none!important}.email-meta-label{width:42px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:11px;font-weight:600;display:inline-block}.email-attachment{color:var(--accent);cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;width:fit-content;padding:0;font-family:inherit;font-size:12.5px;text-decoration:none;display:inline-flex}.email-attachment:hover{text-decoration:underline}.reference-modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;background:#0a050f80;justify-content:center;align-items:center;animation:.15s fade-in-up;display:flex;position:fixed;inset:0}.reference-modal{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);width:min(640px,90vw);max-height:80vh;color:var(--text);flex-direction:column;display:flex;position:relative;overflow:hidden}.reference-modal-header{background:var(--bg-raised);border-bottom:1px solid var(--border);z-index:1;flex-shrink:0;padding:30px 26px 0;position:relative}.reference-modal-body-scroll{flex:1;padding:20px 26px 26px;overflow-y:auto}.reference-modal-close{border:1px solid var(--border);background:var(--bg-sunken);width:28px;height:28px;color:var(--text-muted);border-radius:50%;font-size:18px;line-height:1;position:absolute;top:12px;right:14px}.reference-modal-close:hover{color:var(--text-h);border-color:var(--accent-border)}.reference-modal-ref{text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:4px;font-size:11px;font-weight:700}.reference-modal-subject{color:var(--text-h);margin-bottom:14px;padding-right:28px;font-size:18px;font-weight:600}.reference-modal-meta{color:var(--text);border-bottom:1px solid var(--border);flex-direction:column;gap:6px;padding-bottom:14px;font-size:13px;display:flex}.reference-modal-attachments{border-bottom:1px solid var(--border);flex-direction:column;gap:6px;padding:12px 0;display:flex}.reference-modal-body{white-space:pre-wrap;padding-top:16px;font-size:14px;line-height:1.65}.reference-modal-error{color:var(--danger);margin-top:12px;font-size:13px}.reference-modal-load-full{border:1px solid var(--accent-border);border-radius:var(--radius-sm);background:var(--accent-bg);color:var(--accent);margin-top:16px;padding:8px 14px;font-size:13px;font-weight:500;display:block}.reference-modal-load-full:hover:not(:disabled){background:var(--accent-border)}.reference-modal-load-full:disabled{opacity:.6;cursor:default}.reference-loading{color:var(--text-muted);padding:10px 0;font-size:13px;font-style:italic}.thread-view-tabs{gap:8px;padding:12px 0;display:flex}.thread-tab{background:var(--bg-sunken);color:var(--text-muted);border:1px solid var(--border);cursor:pointer;border-radius:6px;padding:6px 12px;font-size:12.5px;font-weight:600;transition:all .15s}.thread-tab.active{background:var(--accent-bg);color:var(--accent);border-color:var(--accent-border)}.thread-timeline{flex-direction:column;gap:16px;margin-top:12px;display:flex}.thread-message-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg);padding:14px 16px;transition:all .15s}.thread-message-card.matched-hit{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent-border);background:var(--bg-raised)}.thread-card-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.thread-seq-pill{color:var(--text-muted);background:var(--bg-sunken);border-radius:4px;padding:2px 8px;font-size:11.5px;font-weight:700}.matched-hit-pill{color:#fff;background:var(--accent);border-radius:4px;padding:2px 8px;font-size:11px;font-weight:700}.references-accordion{margin-top:8px}.references-toggle{border-radius:var(--radius-sm);color:var(--text-muted);transition:background var(--transition-fast), color var(--transition-fast);align-items:center;gap:6px;padding:6px 10px;font-size:12.5px;font-weight:500;display:flex}.references-toggle:hover{background:var(--accent-bg);color:var(--accent)}.references-chevron{transition:transform var(--transition-fast);font-size:10px;display:inline-flex}.references-chevron.open{transform:rotate(90deg)}.references-list{flex-direction:column;gap:4px;margin-top:6px;padding-left:2px;animation:.2s fade-in-up;display:flex}.reference-heading{background:var(--bg-sunken);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);text-align:left;width:100%;transition:border-color var(--transition-fast), background var(--transition-fast);cursor:pointer;align-items:center;gap:10px;padding:8px 12px;display:flex}.reference-heading:hover{border-color:var(--accent-border);background:var(--accent-bg)}.reference-heading-ref{border-radius:var(--radius-xs);background:var(--accent-bg);width:20px;height:20px;color:var(--accent);flex-shrink:0;justify-content:center;align-items:center;font-size:10.5px;font-weight:700;display:flex}.reference-heading-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.reference-heading-subject{color:var(--text-h);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:500;overflow:hidden}.reference-heading-sub{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.reference-heading-chevron{color:var(--text-muted);opacity:.5;flex-shrink:0;font-size:14px}.chat-panel{background:var(--bg);flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}.chat-scroll{flex:1;justify-content:center;padding-bottom:16px;display:flex;overflow-y:auto}.chat-messages{flex-direction:column;gap:2px;width:100%;max-width:740px;padding:32px 24px 16px;display:flex}.chat-empty{text-align:center;max-width:480px;margin:auto;padding:48px 24px}.chat-empty-icon{justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 20px;display:flex}.chat-empty-icon img{object-fit:contain;width:100%;height:100%}.chat-empty h2{color:var(--text-h);letter-spacing:-.01em;margin:0 0 8px;font-size:20px;font-weight:600}.chat-empty p{color:var(--text-muted);margin:0;font-size:14px;line-height:1.6}.chat-empty-suggestions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px;display:flex}.suggestion-chip{border:1px solid var(--border);border-radius:var(--radius-full);background:var(--bg-raised);color:var(--text);cursor:pointer;transition:border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);box-shadow:var(--shadow-xs);padding:8px 14px;font-size:13px}.suggestion-chip:hover{border-color:var(--accent-border);background:var(--accent-bg);color:var(--text-h);box-shadow:var(--shadow-sm)}.chat-input-area{width:100%;max-width:740px;margin:0 auto;padding:0 24px 20px}.chat-input-wrapper{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);transition:border-color var(--transition-fast), box-shadow var(--transition-fast);align-items:flex-end;gap:0;padding:4px 4px 4px 16px;display:flex}.chat-input-wrapper:focus-within{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--accent-bg), var(--shadow-sm)}.chat-input{resize:none;max-height:160px;color:var(--text-h);background:0 0;border:none;outline:none;flex:1;padding:10px 0;font-size:14.5px;line-height:1.5}.chat-input::placeholder{color:var(--text-muted)}.send-btn{border-radius:var(--radius-sm);color:#fff;width:36px;height:36px;transition:background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);background:linear-gradient(135deg,#2563eb,#0ea5e9);flex-shrink:0;justify-content:center;align-items:center;display:flex}.send-btn:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#0284c7);transform:scale(1.04)}.send-btn:disabled{opacity:.35;cursor:default}.send-btn svg{width:16px;height:16px}.chat-disclaimer{text-align:center;color:var(--text-muted);opacity:.7;margin:6px 0 0;font-size:11.5px}.user-menu{position:relative}.user-avatar-btn{border-radius:var(--radius-full);color:#fff;letter-spacing:.02em;width:32px;height:32px;transition:transform var(--transition-fast), box-shadow var(--transition-fast);box-shadow:var(--shadow-xs);background:linear-gradient(135deg,#2563eb,#06b6d4);flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:600;display:flex}.user-avatar-btn:hover{box-shadow:var(--shadow-sm);transform:scale(1.05)}.user-avatar-btn--static{cursor:default;width:36px;height:36px;font-size:13px}.user-avatar-btn--static:hover{box-shadow:var(--shadow-xs);transform:none}.user-dropdown{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--radius-md);width:220px;box-shadow:var(--shadow-lg);z-index:50;padding:4px;animation:.15s fade-in-up;position:absolute;top:calc(100% + 8px);right:0}.user-dropdown-header{align-items:center;gap:10px;padding:10px;display:flex}.user-dropdown-name{color:var(--text-h);font-size:13px;font-weight:600}.user-dropdown-subtitle{color:var(--text-muted);font-size:11.5px}.user-dropdown-divider{background:var(--border);height:1px;margin:2px 6px}.user-dropdown-item{border-radius:var(--radius-sm);width:100%;color:var(--text);text-align:left;transition:background var(--transition-fast);align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.user-dropdown-item:hover{background:var(--accent-bg);color:var(--danger)}.logout-icon{font-size:12px}.app-header{border-bottom:1px solid var(--border);background:var(--bg-raised);z-index:20;flex-shrink:0;justify-content:space-between;align-items:center;height:52px;padding:0 16px;display:flex}.app-header-left{align-items:center;gap:8px;display:flex}.sidebar-open-btn{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-muted);transition:background var(--transition-fast), color var(--transition-fast);justify-content:center;align-items:center;display:flex}.sidebar-open-btn:hover{background:var(--accent-bg);color:var(--accent)}.sidebar-open-btn svg{width:18px;height:18px}.app-header-brand{align-items:center;gap:10px;display:flex}.app-header-logo{border-radius:var(--radius-sm);justify-content:center;align-items:center;width:28px;height:28px;display:flex;overflow:hidden}.app-header-logo img{object-fit:contain;width:100%;height:100%}.app-header-title{color:var(--text-h);letter-spacing:-.01em;font-size:15px;font-weight:600}.sidebar{background:var(--bg-sunken);border-right:1px solid var(--border);min-width:0;height:100%;min-height:0;transition:opacity var(--transition-base);flex-direction:column;display:flex;position:relative;overflow:hidden}.sidebar.collapsed{opacity:0;pointer-events:none}.sidebar-top{align-items:center;gap:8px;padding:12px 12px 8px;display:flex}.sidebar-toggle{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--text-muted);transition:background var(--transition-fast), color var(--transition-fast);flex-shrink:0;justify-content:center;align-items:center;display:flex}.sidebar-toggle:hover{background:var(--accent-bg);color:var(--accent)}.sidebar-toggle svg{width:16px;height:16px}.new-chat-btn{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-raised);min-width:0;color:var(--text-h);text-align:left;transition:border-color var(--transition-fast), box-shadow var(--transition-fast);box-shadow:var(--shadow-xs);flex:1;align-items:center;gap:8px;padding:9px 14px;font-size:13.5px;font-weight:500;display:flex}.new-chat-btn:hover{border-color:var(--accent-border);box-shadow:var(--shadow-sm)}.new-chat-btn svg{width:15px;height:15px;color:var(--text-muted)}.thread-list{flex-direction:column;flex:1;gap:1px;padding:4px 8px 12px;display:flex;overflow-y:auto}.thread-list-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);align-items:center;padding:12px 10px 6px;font-size:11px;font-weight:600;display:flex}.thread-list-empty{color:var(--text-muted);text-align:center;padding:16px 10px;font-size:13px}.thread-list-loading{color:var(--text-muted);justify-content:center;align-items:center;gap:8px;padding:16px 10px;font-size:13px;display:flex}.thread-list-spinner{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:14px;height:14px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.thread-page-info{color:var(--text-muted);letter-spacing:0;text-transform:none;margin-left:auto;font-size:10px;font-weight:500}.thread-count-badge{color:var(--accent);background:var(--accent-bg);border:1px solid var(--accent-border);letter-spacing:0;text-transform:none;border-radius:10px;margin-left:auto;padding:1px 7px;font-size:10.5px;font-weight:700}.thread-load-more{width:100%;color:var(--accent);background:var(--accent-bg);border:1px dashed var(--accent-border);border-radius:var(--radius-sm);cursor:pointer;text-align:center;transition:background var(--transition-fast), border-color var(--transition-fast);margin-top:4px;padding:10px;font-size:12.5px;font-weight:500;display:block}.thread-load-more:hover{background:var(--accent-bg-hover,var(--accent-bg));border-color:var(--accent)}.thread-item{border-radius:var(--radius-sm);cursor:pointer;color:var(--text);transition:background var(--transition-fast);align-items:center;gap:8px;padding:8px 10px;font-size:13.5px;display:flex;position:relative}.thread-item:hover{background:var(--accent-bg)}.thread-item.active{background:var(--accent-bg-hover);color:var(--text-h);font-weight:500}.thread-item.active:before{content:"";background:var(--accent);border-radius:0 2px 2px 0;width:3px;position:absolute;top:6px;bottom:6px;left:0}.thread-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.thread-rename-input{border:1px solid var(--accent-border);border-radius:var(--radius-xs);background:var(--bg);min-width:0;color:var(--text-h);outline:none;flex:1;padding:3px 6px;font-size:13px}.thread-actions{opacity:0;transition:opacity var(--transition-fast);gap:2px;display:flex}.thread-item:hover .thread-actions{opacity:1}.thread-actions button{border-radius:var(--radius-xs);width:24px;height:24px;color:var(--text-muted);transition:background var(--transition-fast), color var(--transition-fast);justify-content:center;align-items:center;font-size:12px;display:flex}.thread-actions button:hover{background:var(--border);color:var(--text-h)}.thread-pagination{border-top:1px solid var(--border);background:var(--bg-sunken);flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.thread-page-btn{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg-raised);width:28px;height:28px;color:var(--text-muted);transition:background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);flex-shrink:0;justify-content:center;align-items:center;display:flex}.thread-page-btn:hover:not(:disabled){background:var(--accent-bg);color:var(--accent);border-color:var(--accent-border)}.thread-page-btn:disabled{opacity:.35;cursor:default}.thread-page-btn svg{width:14px;height:14px}.thread-page-label{color:var(--text-h);text-align:center;white-space:nowrap;flex:1;font-size:12px;font-weight:600}.thread-page-total{color:var(--text-muted);font-weight:400}.api-key-gate{background:var(--bg-sunken);justify-content:center;align-items:center;height:100%;display:flex}.api-key-card{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--radius-lg);width:320px;box-shadow:var(--shadow-md);animation:fade-in-up var(--transition-slow);flex-direction:column;gap:12px;padding:28px 24px;display:flex}.api-key-title{color:var(--text-h);letter-spacing:-.01em;margin:0;font-size:18px;font-weight:600}.api-key-subtitle{color:var(--text-muted);margin:-8px 0 4px;font-size:13px}.api-key-input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);transition:border-color var(--transition-fast);outline:none;padding:10px 12px}.api-key-input:focus{border-color:var(--accent)}.api-key-error{color:var(--danger);font-size:13px}.api-key-submit{border-radius:var(--radius-sm);background:var(--accent);color:#fff;transition:background var(--transition-fast);padding:10px 12px;font-weight:600}.api-key-submit:hover:not(:disabled){background:var(--accent-hover)}.api-key-submit:disabled{opacity:.6;cursor:default}
