:root{--bg-primary: #ffffff;--bg-secondary: #f4f4f5;--bg-tertiary: #ffffff;--bg-hover: #e8ebf0;--bg-active: #e8ebf0;--text-primary: #18181b;--text-secondary: #52525b;--text-tertiary: #71717a;--text-quaternary: #a1a1aa;--border-primary: rgba(0, 0, 0, .08);--border-secondary: rgba(0, 0, 0, .1);--accent-primary: #4f46e5;--accent-glow: rgba(79, 70, 229, .3);--bg-message-user: #f4f4f5;--bg-message-user-border: rgba(0, 0, 0, .06);--bg-message-ai: transparent;--font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;width:100%;overflow:hidden}body{margin:0;padding:0;background-color:var(--bg-primary);color:var(--text-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}.container{max-width:1280px;margin:0 auto;padding:0 2rem}.flex-center{display:flex;align-items:center;justify-content:center}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1.25rem;border-radius:6px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent;outline:none}.btn-primary{background-color:var(--accent-primary);color:#fff}.btn-primary:hover{background-color:#4338ca;box-shadow:0 0 15px var(--accent-glow)}.btn-secondary{background-color:#ffffff14;color:#fff;border-color:#ffffff1a}.btn-secondary:hover{background-color:#ffffff1f}.btn-adaptive{background-color:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border-secondary)}.btn-adaptive:hover{background-color:var(--bg-hover);border-color:var(--border-primary)}.typewriter-container.streaming>*:last-child:after,.typewriter-container.streaming:empty:after{content:"▋";display:inline-block;margin-left:4px;color:var(--text-primary);animation:blink 1s step-end infinite;vertical-align:baseline}.loading-spinner{width:24px;height:24px;border:2px solid rgba(255,255,255,.1);border-left-color:var(--text-primary);border-radius:50%;animation:spin 1s linear infinite}.loading-spinner.large{width:40px;height:40px;border-width:3px}.typing-dots{display:flex;gap:4px;padding:4px 8px;align-items:center;height:24px}.typing-dot{width:6px;height:6px;background-color:var(--text-secondary);border-radius:50%;animation:typingPulse 1.4s infinite ease-in-out both}.typing-dot:nth-child(1){animation-delay:-.32s}.typing-dot:nth-child(2){animation-delay:-.16s}@keyframes typingPulse{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1;color:var(--text-primary)}}.loading-line{position:absolute;top:0;left:0;width:100%;height:3px;background:transparent;z-index:1000;pointer-events:none;overflow:hidden;transition:opacity .5s ease-out}.loading-line.hidden{opacity:0}.loading-line:after{content:"";display:block;position:absolute;top:0;left:0;width:40%;height:100%;background:linear-gradient(90deg,transparent 0%,#8b5cf6 60%,#fff 100%);box-shadow:0 0 15px 2px #8b5cf699,0 0 5px 1px #fff6;filter:drop-shadow(0 0 8px rgba(139,92,246,.5));border-radius:0 2px 2px 0;animation:meteorLine 1.5s infinite ease-in-out}@keyframes meteorLine{0%{transform:translate(-100%)}to{transform:translate(300%)}}.loading-line.finishing:after{animation:meteorFinish .4s ease-out forwards}@keyframes meteorFinish{0%{transform:translate(-10%);opacity:1}to{transform:translate(100%);opacity:0}}.message-bubble{color:var(--text-primary);font-size:.95rem;line-height:1.6;word-break:normal;overflow-wrap:break-word}.message-bubble p{margin:0!important;white-space:pre-wrap}.message-bubble p+p,.message-bubble p+ul,.message-bubble p+ol,.message-bubble p+pre,.message-bubble p+.mermaid-container,.message-bubble ul+p,.message-bubble ol+p,.message-bubble pre+p,.message-bubble .mermaid-container+p,.message-bubble table+p,.message-bubble p+table{margin-top:.65em!important}.message-bubble strong,.message-bubble b{font-weight:700;color:var(--text-primary);-webkit-font-smoothing:antialiased}.message-bubble ul,.message-bubble ol{margin:.4rem 0;padding-left:1.25rem}.message-bubble li{margin-bottom:.25rem}.message-bubble li>p{display:inline;margin:0!important}.message-bubble p:empty{display:none}.message-bubble code{background-color:var(--bg-hover);color:var(--text-primary);padding:.15rem .3rem;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9em;border:1px solid var(--border-primary)}.message-bubble pre{background-color:var(--bg-active);padding:.85rem 1rem;border-radius:8px;overflow-x:auto;overflow-y:auto;max-height:700px;margin:.75rem 0;border:1px solid var(--border-primary)}.brand-text{font-weight:700;font-size:1.5rem;letter-spacing:-.02em;display:flex;align-items:baseline;gap:0}.brand-tai,.brand-ni{color:#8b5cf6}.brand-ex{color:#1d4ed8;font-size:.7em}.brand-ai{margin-left:.4rem;color:var(--text-primary);font-weight:700}.message-bubble pre::-webkit-scrollbar{width:5px;height:5px}.message-bubble pre::-webkit-scrollbar-track{background:transparent}.message-bubble pre::-webkit-scrollbar-thumb{background:var(--border-secondary);border-radius:10px}.message-bubble pre::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}.message-bubble pre code{background-color:transparent!important;color:var(--text-primary)!important;border:none!important;padding:0!important;font-size:.85rem}.message-bubble a{color:var(--accent-primary);text-decoration:underline;text-underline-offset:2px}.message-bubble hr{border:none;border-top:1px solid var(--border-primary);margin:1.5rem 0}.message-bubble table{border-collapse:collapse;width:100%;margin:1.25rem 0;font-size:.9rem;border:1px solid var(--border-primary);border-radius:8px;overflow:hidden}.message-bubble th,.message-bubble td{border:1px solid var(--border-primary);padding:10px 14px;text-align:left}.message-bubble th{background-color:var(--bg-hover);font-weight:600;color:var(--text-primary)}.message-bubble tr:nth-child(2n){background-color:var(--bg-active)}.katex-display{margin:1rem 0;overflow-x:auto;overflow-y:hidden;padding:.5rem 0}@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+5m0rTh7XDBlv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VFYC) 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{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.27"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.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;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.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 .clap,.katex .llap,.katex .rlap{position:relative;width:0}.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;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.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:.8333333333em}.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.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.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.6666666667em}.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.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.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.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.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:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.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.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.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.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.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:.4166666667em}.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:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.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:.8333333333em}.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.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.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:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.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.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.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.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.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.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.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{display:inline-block;width:.12em}.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{display:inline-block;min-width:1px}.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;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.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{border:.04em solid;box-sizing:border-box}.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{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;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{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.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{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.header{width:100%;padding:1.25rem 0;position:absolute;top:0;left:0;z-index:50;border-bottom:1px solid var(--border-secondary)}.header-content{display:flex;align-items:center;justify-content:space-between}.logo-section{display:flex;align-items:center;gap:.75rem;cursor:pointer}.logo-icon{display:flex;align-items:center}.logo-text{font-weight:700;font-size:1.25rem;letter-spacing:-.02em}.nav-links{display:flex;gap:2rem}.nav-links a{font-size:.95rem;font-weight:500;color:var(--text-secondary);transition:color .2s}.nav-links a:hover{color:var(--text-primary)}.btn-sm{padding:.5rem 1rem;font-size:.9rem}@media(max-width:768px){.nav-links{display:none}}.background-wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:0;overflow:hidden;pointer-events:none}.bg-glow{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:120vh;height:80vh;background:radial-gradient(circle,#4f46e526,#0a0a0f00 70%);border-radius:50%;filter:blur(60px)}.bg-lines{position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:40px 100%;mask-image:radial-gradient(circle at center,black 30%,transparent 80%);-webkit-mask-image:radial-gradient(circle at center,black 30%,transparent 80%)}.bg-vignette{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at center,transparent 0%,var(--bg-primary) 100%)}.footer{width:100%;padding:2rem 0;margin-top:auto;position:relative;z-index:10}.footer-content{display:flex;flex-direction:column;align-items:center;gap:1.5rem;color:var(--text-secondary)}.footer-link{font-size:.95rem;transition:color .2s}.footer-link:hover{color:var(--text-primary)}.social-icons{display:flex;gap:1.5rem}.social-icons a{display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:all .2s;opacity:.8}.social-icons a:hover{color:var(--text-primary);opacity:1;transform:translateY(-2px)}.copyright{font-size:.85rem;opacity:.6}.hero-section{position:relative;z-index:10;flex:1;display:flex;align-items:center;justify-content:center;padding-top:60px}.hero-container{display:flex;flex-direction:column;align-items:center;max-width:900px}.hero-title{font-size:3.5rem;font-weight:800;line-height:1.1;background:linear-gradient(to right,var(--text-primary) 40%,var(--accent-primary) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:1.5rem;letter-spacing:-.03em}.hero-subtitle{font-size:1.125rem;color:var(--text-secondary);margin-bottom:2.5rem;max-width:600px;line-height:1.6}.hero-actions{display:flex;gap:1rem}.btn-lg{padding:.8rem 1.75rem;font-size:1rem}@media(max-width:768px){.hero-title{font-size:2.5rem}.hero-actions{flex-direction:column;width:100%;max-width:300px}}.login-container{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 2rem 2rem;position:relative;z-index:10}.login-content{width:100%;max-width:400px;display:flex;flex-direction:column;align-items:center;gap:2.5rem}.login-title{font-size:1.75rem;font-weight:700;color:var(--text-primary);margin:0}.login-actions{display:flex;flex-direction:column;align-items:center;gap:1rem}.google-login-wrapper{display:flex;justify-content:center;width:100%}.btn-social{position:relative;width:240px;height:44px;display:flex;align-items:center;justify-content:center;padding:0 1rem;background:linear-gradient(180deg,var(--bg-secondary) 0%,var(--bg-primary) 100%);border:1px solid var(--border-primary);border-radius:30px;color:var(--text-primary);font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease;font-family:inherit;box-shadow:0 2px 4px #0000000d}.btn-social:hover{background:linear-gradient(180deg,var(--bg-hover) 0%,var(--bg-secondary) 100%);border-color:var(--border-secondary);transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.social-icon{position:absolute;left:12px;width:20px;height:20px}.login-footer{color:var(--text-secondary);font-size:.9rem}.login-footer a{color:var(--text-secondary);text-decoration:underline;text-underline-offset:2px;transition:color .2s}.login-footer a:hover{color:var(--text-primary)}.error-boundary{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.error-boundary-content{background:#fff;border-radius:12px;padding:40px;box-shadow:0 10px 25px #0000001a;text-align:center;max-width:500px;width:100%}.error-icon{font-size:48px;margin-bottom:20px}.error-title{color:#333;font-size:24px;font-weight:600;margin:0 0 16px}.error-message{color:#666;font-size:16px;line-height:1.5;margin:0 0 32px}.error-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.error-button{padding:12px 24px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:100px}.error-button-primary{background:#007bff;color:#fff}.error-button-primary:hover{background:#0056b3;transform:translateY(-1px)}.error-button-secondary{background:#6c757d;color:#fff}.error-button-secondary:hover{background:#545b62;transform:translateY(-1px)}.error-button-tertiary{background:transparent;color:#007bff;border:1px solid #007bff}.error-button-tertiary:hover{background:#007bff;color:#fff}.error-details{margin-top:24px;text-align:left}.error-details summary{cursor:pointer;color:#666;font-size:14px;margin-bottom:12px;padding:8px;background:#f8f9fa;border-radius:4px;transition:background .2s ease}.error-details summary:hover{background:#e9ecef}.error-stack{background:#f8f9fa;padding:16px;border-radius:6px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4;color:#333;max-height:300px;overflow-y:auto;border:1px solid #dee2e6}.error-stack h4{margin:0 0 8px;font-size:13px;font-weight:600;color:#495057}.error-stack pre{margin:0 0 16px;white-space:pre-wrap;word-break:break-word;background:#fff;padding:12px;border-radius:4px;border:1px solid #e9ecef}@media(max-width:768px){.error-boundary{padding:10px;min-height:calc(100vh - 20px)}.error-boundary-content{padding:24px}.error-icon{font-size:36px}.error-title{font-size:20px}.error-message{font-size:14px}.error-actions{flex-direction:column;align-items:stretch}.error-button{width:100%}}@media(max-width:480px){.error-boundary-content{padding:20px}.error-title{font-size:18px}.error-message{font-size:13px}}.app-dashboard{display:flex;width:100%;height:100vh;height:100dvh;overflow:hidden;background-color:var(--bg-primary);color:var(--text-primary)}.app-sidebar{width:220px;background-color:var(--bg-secondary);border-right:1px solid var(--border-primary);display:flex;flex-direction:column;padding:.5rem 0 0;flex-shrink:0;height:100%;overflow:hidden}[data-theme=light] .app-sidebar{background-color:#fff;border-right:1px solid var(--border-primary)}.sidebar-brand{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;padding:0 1rem;display:flex;align-items:center;gap:.6rem;flex-shrink:0}.sidebar-brand img{border-radius:6px}.sidebar-nav{display:flex;flex-direction:column;gap:.25rem;flex-shrink:0;padding:0 1rem}.sidebar-item{display:flex;align-items:center;gap:.75rem;padding:.4rem .6rem;color:var(--text-secondary);text-decoration:none;border-radius:6px;transition:all .2s}.sidebar-item:hover,.sidebar-item.active{background:var(--bg-active);color:var(--text-primary)}.sidebar-item.disabled{opacity:.5;cursor:not-allowed;background:transparent!important}.sidebar-item.disabled:hover{background:transparent!important;color:var(--text-secondary)}.dashboard-main{flex:1;display:flex;flex-direction:column;position:relative;background-color:var(--bg-primary);height:100%;overflow:hidden}.chat-interface{flex:1;display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.chat-content-container{flex:1;display:flex;flex-direction:column;width:100%;overflow-y:auto;overflow-x:hidden}.chat-content-container::-webkit-scrollbar{width:6px}.chat-content-container::-webkit-scrollbar-track{background:transparent}.chat-content-container::-webkit-scrollbar-thumb{background:var(--bg-hover);border-radius:10px}.chat-content-container::-webkit-scrollbar-thumb:hover{background:var(--bg-active)}.chat-input-container{width:100%;flex-shrink:0;padding:0 2rem 1rem}.chat-width-limiter{width:100%;display:flex;flex-direction:column;padding:0 2rem 1rem}.section-title{font-size:1.75rem;font-weight:700;margin-bottom:2rem}.chat-interface-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 3.5rem .75rem 2rem;margin-bottom:0;border-bottom:1px solid var(--border-primary);flex-shrink:0}.header-right{display:flex;align-items:center;gap:.75rem}.chat-messages{flex:1;display:flex;flex-direction:column;gap:1.5rem;padding-bottom:2rem;padding-top:2rem;width:100%;max-width:900px;margin:0 auto}.message{display:flex;gap:1rem}.message.user{flex-direction:row-reverse}.message-avatar{width:32px;height:32px;flex-shrink:0}.user-avatar{width:32px;height:32px;background-color:var(--accent-primary);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-primary);font-weight:600;font-size:.85rem;border:1px solid var(--border-primary)}.message-bubble{background-color:var(--bg-message-ai);padding:.75rem 1rem;border-radius:12px;max-width:100%;line-height:1.5;font-size:.95rem;width:fit-content;word-break:break-word;overflow-wrap:break-word}.message-bubble p,.message-bubble ul,.message-bubble ol{margin:.4rem 0}.message-bubble p:first-child,.message-bubble ul:first-child,.message-bubble ol:first-child{margin-top:0}.message-bubble p:last-child,.message-bubble ul:last-child,.message-bubble ol:last-child{margin-bottom:0}.message-bubble ul,.message-bubble ol{padding-left:1.5rem}.message-bubble li{margin:.2rem 0}.message.user .message-bubble{background:var(--bg-message-user);color:var(--text-primary);border:1px solid var(--bg-message-user-border);box-shadow:0 2px 8px #4f46e514;max-width:85%;width:fit-content}.chat-input-area{background-color:var(--bg-tertiary);border:1px solid var(--border-primary);border-radius:12px;padding:.6rem 1rem;display:flex;align-items:flex-end;gap:.75rem;flex-shrink:0;width:100%;max-width:900px;align-self:center;margin:0 auto}.chat-input{flex:1;background:transparent;border:none;color:var(--text-primary);font-size:1rem;outline:none;resize:none;line-height:1.5;padding:4px 0;font-family:inherit}.chat-input::-webkit-scrollbar{width:4px}.chat-input::-webkit-scrollbar-track{background:transparent}.chat-input::-webkit-scrollbar-thumb{background:var(--bg-hover);border-radius:4px}.input-actions{display:flex;gap:.5rem}.icon-btn{background:transparent;border:none;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s;color:var(--text-secondary)}.icon-btn:hover{background-color:var(--bg-hover);color:var(--text-primary)}.sidebar-history{flex:1;display:flex;flex-direction:column;min-height:0;padding-left:1.15rem;padding-right:0}.history-list::-webkit-scrollbar{width:4px}.history-list::-webkit-scrollbar-track{background:transparent}.history-list::-webkit-scrollbar-thumb{background:var(--bg-hover);border-radius:10px}.history-item{flex-shrink:0;margin:0 1rem 0 0}.history-item:hover{background-color:var(--bg-hover)}.history-item.active{background:var(--bg-active);border-left:2px solid var(--accent-primary)}.history-item-text{color:var(--text-secondary)}.history-item:hover .history-item-text{color:var(--text-primary)}.history-item.active .history-item-text{color:var(--text-primary);font-weight:600!important}.session-actions{background:var(--bg-secondary)}.history-item.active .session-actions{background:transparent;box-shadow:none}.history-item-input{background:transparent;border:none;border-bottom:1px solid var(--accent-primary);color:var(--text-primary);font-size:.85rem;font-weight:500;line-height:1.5;border-radius:0;padding:0;margin:0;width:100%;outline:none;font-family:inherit}.history-item:not(.active):hover .session-actions{background:transparent;box-shadow:none}.history-item .session-actions{background:transparent;box-shadow:none;opacity:0;pointer-events:none;transition:opacity .2s}.history-item:hover .session-actions,.session-actions.open{opacity:1;pointer-events:auto}.sidebar-item-styled .session-actions{background:transparent;box-shadow:none;opacity:0;pointer-events:none;transition:opacity .2s}.sidebar-item-styled:hover .session-actions,.sidebar-item-styled .session-actions.open{opacity:1;pointer-events:auto}.sidebar-item-styled.active .session-actions{background:transparent;box-shadow:none}.sidebar-item-styled:not(.active):hover .session-actions{background:transparent;box-shadow:none}.model-selector-container{position:relative;-webkit-user-select:none;user-select:none}.model-selector-trigger{display:flex;align-items:center;gap:.5rem;padding:6px 14px;background:var(--bg-tertiary);border:1px solid var(--border-primary);border-radius:20px;color:var(--text-primary);font-size:.85rem;cursor:pointer;transition:all .2s;height:32px;max-width:160px}.model-selector-trigger:hover:not(:disabled){background:var(--bg-active);border-color:var(--border-secondary)}.model-selector-trigger.open{background:var(--bg-active);border-color:var(--accent-primary)}.selected-model-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-selector-dropdown{position:absolute;top:calc(100% + 12px);right:0;width:280px;background:var(--bg-tertiary);border:1px solid var(--border-primary);border-radius:16px;box-shadow:0 10px 25px -5px #00000080;z-index:1000;overflow:hidden;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{padding:12px 16px;font-size:.9rem;font-weight:600;color:var(--text-secondary);border-bottom:1px solid var(--border-primary)}.model-options-list{padding:8px;max-height:400px;overflow-y:auto}.model-option-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:10px;cursor:pointer;transition:background .2s}.model-option-item:hover{background:var(--bg-hover)}.model-option-item.active{background:#4285f41a}.model-option-content{display:flex;flex-direction:column;gap:2px}.model-option-name{font-size:.95rem;font-weight:600;color:var(--text-primary)}.model-option-description{font-size:.8rem;color:#a1a1aa;line-height:1.4}.model-option-check{color:var(--accent-primary);display:flex;align-items:center}.welcome-container{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:0 1rem;margin-bottom:-1.75rem;margin-top:auto;animation:fadeIn .5s ease-out;width:100%;max-width:900px;margin-left:auto;margin-right:auto}.new-chat-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:transparent;color:var(--text-secondary);border:1px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s;font-size:.9rem;font-weight:500}.new-chat-btn:hover{background:var(--bg-hover);color:var(--text-primary)}@media(max-width:768px){.new-chat-text{display:none}.new-chat-btn{padding:6px}}.welcome-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:0 0 .5rem;letter-spacing:-.01em}.welcome-subtitle{font-size:1rem;color:var(--text-tertiary);font-weight:400;margin:0}.sidebar-footer{flex-shrink:0;padding:0 1rem}.user-profile{margin-top:auto;padding-top:1rem;border-top:1px solid var(--border-primary);display:flex;align-items:center;gap:.75rem;cursor:pointer;position:relative;transition:background .2s;border-radius:6px;padding:.5rem;margin-bottom:0}.user-profile:hover{background:#ffffff0d}.profile-menu{position:absolute;bottom:100%;left:0;width:100%;margin-bottom:.5rem;background:var(--bg-tertiary);border:1px solid var(--border-primary);border-radius:8px;box-shadow:0 4px 12px #00000080;overflow:hidden;z-index:100}.profile-menu-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .8rem;color:var(--text-secondary);cursor:pointer;transition:all .2s;font-size:.85rem}.profile-menu-item:hover{background:var(--bg-hover);color:var(--text-primary)}.profile-menu-item.danger:hover{color:#ef4444}.theme-toggle-row{position:relative;display:flex;align-items:center;background:var(--bg-hover);border-radius:999px;padding:2px;width:100%;cursor:auto;border:1px solid var(--border-primary)}.theme-toggle-option{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;font-size:.8rem;font-weight:500;color:var(--text-secondary);padding:2px 0;cursor:pointer;position:relative;z-index:2;transition:color .3s ease;border-radius:999px}.theme-toggle-option.active{color:var(--text-primary);font-weight:600}.theme-toggle-option:hover:not(.active){color:var(--text-primary)}.theme-slide{position:absolute;top:2px;left:2px;width:calc(50% - 2px);height:calc(100% - 4px);background:var(--bg-secondary);border-radius:999px;transition:transform .3s cubic-bezier(.4,0,.2,1);z-index:1;box-shadow:0 1px 3px #0000001a}.theme-toggle-row[data-theme=light] .theme-slide{transform:translate(0)}.theme-toggle-row[data-theme=dark] .theme-slide{transform:translate(100%)}.mobile-menu-btn,.mobile-close-btn{display:none;background:transparent;border:none;color:#a1a1aa;cursor:pointer;padding:4px;align-items:center;justify-content:center;border-radius:4px}.mobile-menu-btn:hover,.mobile-close-btn:hover{background-color:var(--bg-hover);color:var(--text-primary)}@media(max-width:768px){.session-actions{display:none!important}.session-menu-dropdown{min-width:160px!important;border-radius:12px!important}.session-menu-dropdown .menu-item{padding:14px 16px!important;font-size:.95rem!important}.session-menu-dropdown .menu-item svg{width:18px!important;height:18px!important}.app-sidebar{position:fixed;left:-100%;top:0;z-index:1100;width:260px;transition:left .3s cubic-bezier(.4,0,.2,1);box-shadow:20px 0 50px #00000080}.app-dashboard.sidebar-open .app-sidebar{left:0}.mobile-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1050;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.mobile-menu-btn,.mobile-close-btn{display:flex}.chat-interface-header{padding:.75rem 1rem}.chat-input-container,.chat-width-limiter{padding:0 .5rem 1rem}.message-bubble{max-width:100%;font-size:.9rem}.message{gap:.75rem}.chat-input-area{padding:.6rem .8rem;gap:.5rem}.welcome-container{margin-left:0;padding-left:.3rem}}.loading-dots{display:flex;gap:4px;align-items:center;padding:6px 0}.dot{width:6px;height:6px;background-color:var(--accent-primary);border-radius:50%;animation:dotPulse 1.4s infinite ease-in-out}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes dotPulse{0%,80%,to{transform:scale(.8);opacity:.4}40%{transform:scale(1.2);opacity:1}}.pulse-text{animation:textPulse 2s infinite ease-in-out;color:var(--accent-primary);font-weight:500}@keyframes textPulse{0%,to{opacity:.5;transform:scale(.98)}50%{opacity:1;transform:scale(1)}}.typing-indicator{display:flex;gap:3px;align-items:center;padding:8px 0}.typing-dot{width:5px;height:5px;background-color:var(--text-secondary);border-radius:50%;animation:typing .8s infinite alternate}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typing{0%{transform:translateY(0);opacity:.4}to{transform:translateY(-5px);opacity:1}}.modal-overlay{position:fixed;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .15s ease-out}.modal-content{background:var(--bg-tertiary);border:1px solid var(--border-primary);border-radius:12px;padding:1.5rem;width:100%;max-width:320px;box-shadow:0 20px 25px -5px #00000080,0 10px 10px -5px #0000000a;animation:scaleIn .15s ease-out}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.modal-title{font-size:1.1rem;font-weight:600;color:#fff;margin-bottom:.5rem}.modal-description{font-size:.9rem;color:#a1a1aa;margin-bottom:1.5rem;line-height:1.5}.modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.btn-modal{padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;border:none}.btn-cancel{background:transparent;color:var(--text-secondary);border:1px solid var(--border-primary)}.btn-cancel:hover{background:var(--bg-hover);color:var(--text-primary)}.typewriter-container.streaming>:last-child:after{content:"▋";display:inline-block;vertical-align:baseline;animation:blink 1s step-end infinite;margin-left:4px;color:#3b82f6;line-height:1;font-size:.9em}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}.btn-delete:hover{background:#dc2626}.sidebar-tabs-container{padding:0 1rem 1rem}.sidebar-segmented-control{display:flex;background-color:var(--bg-tertiary);padding:4px;border-radius:8px;position:relative;border:1px solid var(--border-primary)}[data-theme=light] .sidebar-segmented-control{background-color:var(--bg-secondary);border:none}.sidebar-tab{flex:1;border:none;background:transparent;color:var(--text-secondary);padding:6px 12px;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease;position:relative;z-index:1}.sidebar-tab:hover{color:var(--text-primary)}.sidebar-tab.active{background-color:var(--bg-primary);color:var(--accent-primary);font-weight:600;box-shadow:0 1px 3px #0000001a}.sidebar-search-row{padding:0 1rem .5rem;display:flex}.sidebar-unified-search{flex:1;display:flex;align-items:center;background:var(--bg-primary);border:1px solid var(--border-primary);border-radius:8px;position:relative;padding-left:32px;padding-right:4px;transition:box-shadow .2s,border-color .2s}.sidebar-unified-search:focus-within{border-color:var(--accent-primary)}.sidebar-search-input-transparent{flex:1;width:100%;background:transparent;border:none;padding:8px 0;font-size:.85rem;color:var(--text-primary);outline:none;min-width:0}.sidebar-add-btn-unified{width:28px;height:28px;background:transparent;color:var(--text-secondary);border:none;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;margin-left:4px}.sidebar-add-btn-unified:hover{background:var(--bg-hover);color:var(--text-primary)}.sidebar-search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--text-tertiary);width:16px;height:16px;min-width:16px;pointer-events:none}.sidebar-group-header{font-size:.7rem;font-weight:600;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.05em;margin:1rem 1rem .5rem;padding-top:.5rem}.sidebar-item-styled{display:flex;align-items:flex-start;padding:.6rem 1rem;cursor:pointer;position:relative;transition:background .15s ease;border-left:3px solid transparent;margin-bottom:2px;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.sidebar-item-styled:hover{background-color:var(--bg-hover)}.sidebar-item-styled.active{background-color:rgba(var(--accent-rgb),.08);background-color:var(--bg-hover);background:linear-gradient(to right,var(--bg-active),transparent);border-left-color:var(--accent-primary)}.mobile-header{display:none!important}@media(max-width:768px){.mobile-header{display:flex!important}}.item-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.item-top-row{display:flex;justify-content:space-between;align-items:center;width:100%}.item-title{font-size:.9rem;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.sidebar-item-styled.active .item-title{font-weight:600;color:var(--accent-primary)}.item-time{font-size:.7rem;color:var(--text-tertiary);flex-shrink:0;margin-left:8px}.item-preview{font-size:.75rem;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;opacity:.8}.history-item-input{width:100%;background:var(--bg-primary);border:1px solid var(--accent-primary);border-radius:4px;padding:2px 6px;font-size:.9rem;outline:none;color:var(--text-primary)}.sidebar-tree-item-container{display:flex;flex-direction:column}.sidebar-tree-row{display:flex;align-items:center;padding:3px 6px;margin:1px 0;border-radius:6px;cursor:pointer;transition:background-color .1s ease;color:var(--text-secondary);min-height:30px;position:relative;-webkit-user-select:none;user-select:none}.sidebar-tree-row:hover{background-color:var(--bg-hover);color:var(--text-primary)}.sidebar-tree-row.active{background-color:var(--bg-active);color:var(--text-primary);font-weight:500}.tree-chevron-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;margin-right:2px;color:var(--text-tertiary);transition:all .2s;cursor:pointer;flex-shrink:0}.tree-chevron-btn:hover{background-color:#0000000d;color:var(--text-secondary)}[data-theme=dark] .tree-chevron-btn:hover{background-color:#ffffff1a}.tree-item-icon{display:flex;align-items:center;justify-content:center;margin-right:6px;color:var(--text-secondary);opacity:.8;flex-shrink:0}.sidebar-tree-row.active .tree-item-icon{color:var(--text-primary);opacity:1}.sidebar-tree-children{display:flex;flex-direction:column}.tree-icon-slot{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:6px;cursor:pointer;flex-shrink:0;color:var(--text-secondary);border-radius:4px;transition:background-color .2s}.tree-icon-slot:hover{background-color:#0000000d}[data-theme=dark] .tree-icon-slot:hover{background-color:#ffffff1a}.icon-doc,.icon-chevron{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.icon-chevron,.sidebar-tree-row.has-children:hover .icon-doc{display:none}.sidebar-tree-row.has-children:hover .icon-chevron{display:flex}@media(max-width:768px){.sidebar-tree-row.has-children .icon-doc{display:none}.sidebar-tree-row.has-children .icon-chevron{display:flex}}I will add a rule to also show chevron if expanded,as it's standard.
Actually,let's try STRICT first as user requested "Default not show... hover replace".
*/ .sidebar-history{padding-left:0!important;padding-right:0!important}.sidebar-search-row{padding-left:.5rem;padding-right:.5rem}.tree-actions{margin-left:auto;display:flex;gap:4px;align-items:center;opacity:0;transition:opacity .2s ease}.sidebar-tree-row:hover .tree-actions{opacity:1}.tree-action-btn{background:transparent!important;color:var(--text-secondary);padding:2px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .2s;border:none}.tree-action-btn:hover{color:var(--text-primary);background:transparent!important}.sidebar-brand{padding:0 .5rem!important}.sidebar-tabs-container{padding:0 .5rem .6rem!important}.sidebar-tree-row{margin:1px .5rem!important;width:auto}.tree-actions{position:absolute;right:0;top:0;bottom:0;display:none;align-items:center;background:linear-gradient(to right,transparent,var(--bg-hover) 40%);padding-left:24px;padding-right:4px;border-top-right-radius:6px;border-bottom-right-radius:6px;z-index:2}.sidebar-tree-row:hover .tree-actions,.sidebar-tree-row:focus-within .tree-actions{display:flex}.sidebar-tree-row.active .tree-actions{background:linear-gradient(to right,transparent,var(--bg-active) 40%)}.network-status-indicator-global{position:fixed;top:16px;right:.5rem;z-index:10000;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;transition:all .2s ease;cursor:default}.reconnect-overlay{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:2}.status-icon{width:16px;height:16px;stroke-width:2.5px}.status-icon.spinning{animation:spin 1.5s linear infinite;color:#f39c12}.status-dot-pulse,.status-dot-static{width:5px;height:5px;border-radius:50%}.status-dot-pulse.success{background-color:#2ecc71;box-shadow:0 0 #2ecc71b3}.status-dot-pulse.warning{background-color:#f1c40f;animation:pulse-yellow 2s infinite}.status-dot-static.danger{background-color:#e74c3c}.status-dot-static.gray{background-color:#95a5a6}.network-status-indicator-global.disconnected{background:transparent}.network-status-indicator-global.failed{background:transparent;color:#e74c3c}.network-status-indicator-global.connecting,.network-status-indicator-global.reconnecting,.network-status-indicator-global.connected{background:transparent}@keyframes pulse-green{0%{transform:scale(.95);box-shadow:0 0 #2ecc71b3}70%{transform:scale(1);box-shadow:0 0 0 1.25px #2ecc7100}to{transform:scale(.95);box-shadow:0 0 #2ecc7100}}@keyframes pulse-yellow{0%{transform:scale(.95);box-shadow:0 0 #f1c40fb3}70%{transform:scale(1);box-shadow:0 0 0 1.25px #f1c40f00}to{transform:scale(.95);box-shadow:0 0 #f1c40f00}}@media(max-width:480px){.network-status-indicator-global{top:18px;right:1rem;width:24px;height:24px}.status-icon{width:14px;height:14px}.status-dot-pulse,.status-dot-static{width:8px;height:8px}}.new-chat-btn{display:flex;align-items:center;gap:.5rem}.new-chat-text{display:none}.status-dot{width:8px;height:8px;border-radius:50%;transition:all .3s ease}.status-dot.connected{background-color:#22c55e;box-shadow:0 0 8px #22c55e66}.status-dot.connecting,.status-dot.reconnecting{background-color:#eab308;animation:breathing 2s infinite ease-in-out}.status-dot.disconnected,.status-dot.failed{background-color:#ef4444}.page-header{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 3.5rem 0 1.5rem;background-color:transparent;border-bottom:1px solid transparent;width:100%;box-sizing:border-box;position:relative}.header-start,.header-end{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.header-center{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0 1rem;min-width:0}.header-icon-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid transparent;background:transparent;color:var(--text-tertiary);border-radius:6px;cursor:pointer;transition:all .2s;padding:0}.header-icon-btn:active{background-color:var(--bg-active)}@media(max-width:768px){.page-header{padding:0 3.5rem 0 1rem}.mobile-menu-btn{display:flex}}.model-selector{position:relative}.model-selector-btn{display:flex;align-items:center;gap:.5rem;padding:6px 12px;border-radius:6px;border:1px solid var(--border-secondary);background:var(--bg-tertiary);color:var(--text-secondary);font-size:.85rem;cursor:pointer;transition:all .2s ease}.model-selector-btn:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-primary)}.model-selector-btn:disabled{cursor:not-allowed;opacity:.6}.model-selector-btn span{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.model-selector-arrow{transition:transform .2s}.model-selector-arrow.open{transform:rotate(180deg)}.model-dropdown-menu{position:absolute;top:100%;left:0;margin-top:4px;min-width:180px;background:var(--bg-tertiary);border:1px solid var(--border-secondary);border-radius:6px;box-shadow:0 4px 12px #0003;z-index:100;overflow:hidden}.model-dropdown-menu.drop-up{top:auto;bottom:100%;margin-top:0;margin-bottom:4px}.model-option{display:block;width:100%;text-align:left;padding:8px 12px;background:transparent;color:var(--text-secondary);border:none;cursor:pointer;font-size:.85rem;transition:all .2s ease}.model-option:hover{background:var(--bg-hover);color:var(--text-primary)}.model-option.selected{background:var(--bg-active);color:var(--text-primary)}@media(max-width:768px){.model-selector-btn{max-width:100px}.model-dropdown-menu.drop-up{position:fixed;bottom:0;left:0;right:0;width:100%;max-height:50vh;overflow-y:auto;border-radius:16px 16px 0 0;border:none;border-top:1px solid var(--border-primary);background:var(--bg-secondary);z-index:1001;box-shadow:0 -4px 20px #0006;margin:0;animation:slideUp .3s cubic-bezier(.16,1,.3,1);padding-bottom:env(safe-area-inset-bottom,20px)}.model-option{padding:16px 20px;font-size:1rem;border-bottom:1px solid var(--border-secondary)}.model-option:last-child{border-bottom:none}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}}.model-selector-backdrop{display:none}@media(max-width:768px){.model-selector-backdrop{display:block;position:fixed;inset:0;background:#0009;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}}.note-editor-container{display:flex;flex-direction:column;height:100%;background-color:var(--bg-tertiary);overflow:hidden}.tiptap-editor-content{outline:none;min-height:100%}.tiptap-editor-content .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.tiptap-editor-content .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid var(--text-primary);animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.tiptap-editor-content .ProseMirror-focused .ProseMirror-gapcursor{display:block}.tiptap-editor-content table{border-collapse:collapse;width:100%;margin:1.25rem 0;font-size:.9rem;border:1px solid #a1a1aa}.tiptap-editor-content th,.tiptap-editor-content td{border:1px solid #a1a1aa;padding:10px 14px;text-align:left;position:relative;vertical-align:top}.tiptap-editor-content th{background-color:var(--bg-hover);font-weight:600;color:var(--text-primary)}.tiptap-editor-content .selectedCell:after{z-index:2;position:absolute;content:"";inset:0;background:var(--accent-glow);pointer-events:none}.tiptap-editor-content .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;background-color:var(--accent-primary);pointer-events:none;cursor:col-resize;opacity:0;transition:opacity .2s}.tiptap-editor-content th:hover .column-resize-handle,.tiptap-editor-content td:hover .column-resize-handle{opacity:1}.bubble-menu button.danger{color:#ef4444}.bubble-menu button.danger:hover{background-color:#fee2e2}.breadcrumbs{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-tertiary);width:100%;justify-content:flex-start;overflow:hidden}.breadcrumb-separator{color:var(--text-quaternary);flex-shrink:0}.breadcrumb-current{color:var(--text-primary);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:768px){.breadcrumb-text{display:block}.breadcrumb-separator,.breadcrumb-current{display:none}}.header-icon-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:var(--text-tertiary);border-radius:4px;cursor:pointer;transition:all .2s;padding:0}.header-icon-btn:hover{background-color:var(--bg-hover);color:var(--text-secondary)}.editor-scroll-container{flex:1;overflow-y:auto;display:flex;flex-direction:column}.editor-content-wrapper{flex:1;overflow-y:visible;padding:0 3rem 4rem;width:100%;max-width:850px;margin:0 auto;cursor:text}.editor-title-section{padding:1.5rem 3rem 0;margin-bottom:.5rem;display:flex;gap:1rem;align-items:flex-start;width:100%;max-width:850px;margin-left:auto;margin-right:auto}.editor-title-input{flex:1;border:none;background:transparent;font-size:2rem;font-weight:700;color:var(--text-primary);line-height:1.2;padding:0;resize:none;outline:none;font-family:inherit;min-height:1.2em;overflow:hidden;height:auto}.editor-title-input::placeholder{color:var(--text-quaternary)}@media(max-width:768px){.editor-content-wrapper{padding:0 1.5rem 2rem;max-width:100%}.editor-title-section{padding:1rem 1.5rem 0;margin-bottom:.5rem;max-width:100%}}.editor-toolbar{border-bottom:none;padding:.5rem 5rem;background-color:transparent;position:sticky;top:0;z-index:10}.connection-status-light{display:flex;align-items:center;justify-content:center;width:24px;height:24px;cursor:pointer}.connection-dot{width:8px;height:8px;border-radius:50%;transition:all .3s ease}.connection-dot.connected{background-color:#22c55e;box-shadow:0 0 8px #22c55e66}.connection-dot.connecting,.connection-dot.reconnecting{background-color:#eab308;animation:breathing 2s infinite ease-in-out}.connection-dot.disconnected,.connection-dot.failed{background-color:#ef4444}@keyframes breathing{0%{opacity:.4;transform:scale(.95);box-shadow:0 0 #eab30833}50%{opacity:1;transform:scale(1.1);box-shadow:0 0 10px 2px #eab30866}to{opacity:.4;transform:scale(.95);box-shadow:0 0 #eab30833}}.editor-toolbar{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-bottom:1px solid var(--border-primary);background-color:var(--bg-secondary);flex-wrap:wrap}.editor-toolbar button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:var(--text-secondary);border-radius:6px;cursor:pointer;transition:all .2s;padding:0}.editor-toolbar button:hover{background-color:var(--bg-hover);color:var(--text-primary)}.editor-toolbar button.is-active{background-color:var(--bg-active);color:var(--accent-primary)}.editor-toolbar button:disabled{opacity:.5;cursor:not-allowed}.toolbar-divider{width:1px;height:24px;background-color:var(--border-primary);margin:0 .5rem}.tiptap-editor-content{outline:none;min-height:100%;padding:0!important}.tiptap-editor-content .ProseMirror{padding:0!important;margin:0!important}.tiptap-editor-content p.is-editor-empty:first-child:before{color:var(--text-tertiary);content:attr(data-placeholder);float:left;height:0;pointer-events:none}.tiptap-editor-content h1{font-size:2rem;margin-top:1.5rem;margin-bottom:.75rem;line-height:1.2}.tiptap-editor-content h2{font-size:1.5rem;margin-top:1.25rem;margin-bottom:.5rem}.tiptap-editor-content h3{font-size:1.25rem;margin-top:1rem;margin-bottom:.5rem}.tiptap-editor-content p{margin-bottom:.75rem;line-height:1.6}.tiptap-editor-content ul,.tiptap-editor-content ol{margin:.75rem 0;padding-left:1.5rem}.tiptap-editor-content li{margin-bottom:.25rem}.tiptap-editor-content code{background-color:var(--bg-hover);padding:.2rem .4rem;border-radius:4px;font-family:monospace;font-size:.9em}.tiptap-editor-content pre{background-color:var(--bg-primary);padding:1rem;border-radius:8px;overflow-x:auto;font-family:monospace;margin:1rem 0;border:1px solid var(--border-primary)}.tiptap-editor-content pre code{background-color:transparent;padding:0}.tiptap-editor-content blockquote{border-left:3px solid var(--accent-primary);margin:1rem 0;padding-left:1rem;color:var(--text-secondary)}.tiptap-editor-content hr{border:none;border-top:1px solid var(--border-primary);margin:2rem 0}.editor-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;gap:1rem;color:var(--text-secondary)}.loading-spinner{width:32px;height:32px;border:3px solid var(--border-primary);border-top-color:var(--accent-primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toolbar-spacer{flex:1}.presence-avatars{display:flex;align-items:center;gap:-.5rem}.presence-avatar{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;color:#fff;border:2px solid var(--bg-secondary);margin-left:-8px;transition:transform .2s;cursor:default}.presence-avatar:first-child{margin-left:0}.presence-avatar:hover{transform:scale(1.1);z-index:1}.presence-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.presence-avatar.more{background-color:var(--bg-hover);color:var(--text-secondary);font-size:.7rem}.sync-indicator{position:absolute;bottom:1rem;right:1rem;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--bg-secondary);border:1px solid var(--border-primary);border-radius:6px;font-size:.8125rem;color:var(--text-secondary)}.sync-spinner{width:14px;height:14px;border:2px solid var(--border-primary);border-top-color:var(--accent-primary);border-radius:50%;animation:spin 1s linear infinite}.editor-content-wrapper.syncing{opacity:.8;pointer-events:none}.collaboration-error{position:absolute;top:60px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#e74c3cf2;color:#fff;border-radius:8px;font-size:.875rem;box-shadow:0 4px 12px #00000026;z-index:100}.collaboration-error button{background:transparent;border:none;color:#fff;font-size:1.25rem;cursor:pointer;padding:0;line-height:1;opacity:.8;transition:opacity .2s}.collaboration-error button:hover{opacity:1}.mobile-menu-btn{display:none}@media(max-width:768px){.mobile-menu-btn{display:block}}.debug-info{position:absolute;bottom:.5rem;left:.5rem;font-size:.7rem;color:var(--text-tertiary);font-family:monospace;opacity:.6}.bubble-menu{display:flex;align-items:center;background-color:var(--bg-secondary);padding:.5rem;border-radius:8px;box-shadow:0 4px 12px #00000026;border:1px solid var(--border-primary);gap:.25rem;animation:fadeIn .1s ease-out}.bubble-menu button{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 .5rem;border:none;background:transparent;color:var(--text-secondary);border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.bubble-menu button:hover{background-color:var(--bg-hover);color:var(--text-primary)}.bubble-menu button.is-active{background-color:var(--bg-active);color:var(--accent-primary)}.bubble-menu-divider{width:1px;height:20px;background-color:var(--border-primary);margin:0 .25rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.note-editor-container{position:relative}.editor-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 3.5rem .75rem 1.5rem;height:52px;border-bottom:1px solid transparent}.header-breadcrumbs{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-tertiary)}.breadcrumb-separator{color:var(--text-quaternary)}.breadcrumb-current{color:var(--text-primary);font-weight:500}.header-actions{display:flex;align-items:center;gap:1rem}.status-indicator{display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--text-tertiary)}.status-dot{width:6px;height:6px;border-radius:50%;background-color:var(--accent-success)}.status-indicator.syncing .status-dot{background-color:var(--accent-warning)}.editor-content-shell{width:100%;max-width:850px;margin:0 auto;padding:3rem 3rem 0;display:flex;flex-direction:column}@media(max-width:768px){.editor-content-shell{padding:2rem 1.5rem}}.layout-public{display:flex;flex-direction:column;min-height:100vh;position:relative}.main-content{flex:1;display:flex;flex-direction:column;position:relative}
