@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/w9NrSYFEBKTDKpLKfNkCGD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5hCIszhCM8URGBqImoWjpvpt1ebu/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{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.18.9"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.katex-newline{display:block}.katex .katex-base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .katex-base,.katex .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 .katex-vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .katex-thinbox{display:inline-flex;flex-direction:row;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 .katex-hdashline,.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-rule,.katex .katex-underline .underline-line,.katex .mfrac .frac-line{min-height:1px}.katex .mspace{display:inline-block}.katex .katex-smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.katex-inner,.katex .llap>.katex-inner,.katex .rlap>.katex-inner{position:absolute}.katex .clap>.katex-fix,.katex .llap>.katex-fix,.katex .rlap>.katex-fix{display:inline-block}.katex .llap>.katex-inner{right:0}.katex .clap>.katex-inner,.katex .rlap>.katex-inner{left:0}.katex .clap>.katex-inner>span{margin-left:-50%;margin-right:50%}.katex .katex-rule{border:0 solid;display:inline-block;position:relative}.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .katex-hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.katex-root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .katex-sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .katex-sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .katex-sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .katex-sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .katex-sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .katex-sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .katex-sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .katex-sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .katex-sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .katex-sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .katex-sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .katex-sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .katex-sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .katex-sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .katex-sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .katex-sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .katex-sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .katex-sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .katex-sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .katex-sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .katex-sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .katex-sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .katex-sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .katex-sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .katex-sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .katex-sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .katex-sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .katex-sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .katex-sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .katex-sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .katex-sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .katex-sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .katex-sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .katex-sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .katex-sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .katex-sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .katex-sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .katex-sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .katex-sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .katex-sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .katex-sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .katex-sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .katex-sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .katex-sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .katex-sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .katex-sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .katex-sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .katex-sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .katex-sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .katex-sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .katex-sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .katex-sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .katex-sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .katex-sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .katex-sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .katex-sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .katex-sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .katex-sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .katex-sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .katex-sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .katex-sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .katex-sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .katex-sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .katex-sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .katex-sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .katex-sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .katex-sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .katex-sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .katex-sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .katex-sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .katex-sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .katex-sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .katex-sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .katex-sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .katex-sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .katex-sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .katex-sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .katex-sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .katex-sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .katex-sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .katex-sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .katex-sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .katex-sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .katex-sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .katex-sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .katex-sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .katex-sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .katex-sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .katex-sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .katex-sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .katex-sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .katex-sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .katex-sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .katex-sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .katex-sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .katex-sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .katex-sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .katex-sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .katex-sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .katex-sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .katex-sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .katex-sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .katex-sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .katex-sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .katex-sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .katex-sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .katex-sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .katex-sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .katex-sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .katex-sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .katex-sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .katex-sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .katex-sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .katex-sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .katex-sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .katex-sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .katex-sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .katex-sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .katex-sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .katex-sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .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 .katex-accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .katex-accent .accent-body{position:relative}.katex .katex-accent .accent-body:not(.accent-full){width:0}.katex .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;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{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}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .katex-stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .katex-stretchy:after,.katex .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 .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 .reflectbox{display:inline-block;transform:scaleX(-1)}.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>.katex-tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.katex-tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#36332f;background:#fdfcf9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #fdfcf9;--sidebar: #f3f1ed;--surface: #fffefa;--raised: #fff;--line: #e9e5de;--text: #36332f;--muted: #939086;--accent: #cf715d;--accent-soft: #f5e4dc;--hover: #eeebe5;--green: #829881;--shadow: 0 12px 50px #352b1b12;--motion-enter: .32s;--motion-exit: .18s;--motion-spring: cubic-bezier(.16, 1, .3, 1);--motion-leave: cubic-bezier(.4, 0, 1, 1)}:root[data-theme=dark]{color-scheme:dark;--bg: #222321;--sidebar: #1b1d1b;--surface: #292b28;--raised: #30322e;--line: #3b3e36;--text: #ece9e0;--muted: #aaa99d;--accent: #e09680;--accent-soft: #49372f;--hover: #343730;--green: #a0ba97;--shadow: 0 12px 50px #0003;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.42}button{border:0;background:none}a{color:var(--accent);text-underline-offset:3px}button,input,textarea,select,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}input,textarea,select{color:var(--text);background:var(--raised)}input,select,textarea{border:1px solid var(--line);border-radius:10px;padding:11px 12px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #cf715d14}textarea{resize:vertical;line-height:1.65}input::placeholder,textarea::placeholder{color:var(--muted)}input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px;flex-shrink:0}h1,h2,h3,h4,p{margin-top:0}h3{font-size:19px;letter-spacing:-.4px;line-height:1.5;margin-bottom:8px}h4{font-size:14px;margin-bottom:8px}small{font-size:12px;color:var(--muted)}.muted{color:var(--muted);font-size:13px;line-height:1.8}.label-icon{display:flex;align-items:center;gap:7px}.icon-button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;width:32px;height:32px;padding:0;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--hover);color:var(--text)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:11px 17px;font-weight:500;font-size:13px}.primary{background:var(--accent);color:#fff}.primary:hover{filter:brightness(.96)}.secondary{background:var(--surface);border:1px solid var(--line)}.secondary:hover{background:var(--hover)}.small{padding:7px 12px;font-size:12px}.danger{color:#c75c4d!important}.text-button{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--accent)}.banner{border-radius:10px;padding:10px 14px;display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.6}.banner>span{flex:1}.error{background:#c4584810;color:#bc5544;border:1px solid #c4584822}.success{background:#73946b15;color:var(--green)}.status-dot{display:inline-block;background:var(--green);width:6px;height:6px;border-radius:50%;flex-shrink:0}.busy-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);animation:pulse 1.4s ease-in-out infinite}.mobile-only{display:none}.app-shell{display:flex;height:100dvh;min-height:400px;overflow:hidden}.sidebar{width:278px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;flex-shrink:0;padding:29px 18px 18px;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 28px}.brand img{width:43px;height:43px;object-fit:cover;border-radius:14px}.brand strong{display:block;font-size:18px;letter-spacing:1px;font-weight:650}.brand span{display:block;font-size:10px;color:var(--muted);margin-top:5px;letter-spacing:1.4px}.new-chat{border:1px solid #cdbeb130;background:var(--raised);display:flex;align-items:center;gap:9px;padding:12px 13px;border-radius:10px;color:var(--text);font-size:13px;box-shadow:0 2px 4px #453c2203}.new-chat svg{color:var(--accent)}.new-chat span{font-size:10px;color:var(--muted);margin-left:auto;border:1px solid var(--line);border-radius:4px;padding:2px 4px}.search-box{display:flex!important;align-items:center;gap:7px;margin:20px 5px 23px!important;color:var(--muted)}.search-box input{border:0;background:none;padding:4px;font-size:12px;width:100%;box-shadow:none}.search-box button{padding:0;color:var(--muted)}.sidebar-section-title{font-size:10px;letter-spacing:1.7px;color:var(--muted);padding:0 11px 12px;display:flex;justify-content:space-between}.sidebar-section-title span{letter-spacing:0}.session-list{flex:1;overflow-y:auto;margin:0 -3px;padding:0 3px}.session-item{position:relative;width:100%;text-align:left;display:flex;align-items:center;gap:11px;padding:13px 11px;border-radius:11px;margin-bottom:4px}.session-item:hover{background:var(--hover)}.session-item.selected{background:var(--accent-soft)}.session-item.selected:before{content:"";position:absolute;left:-1px;top:17px;bottom:17px;width:3px;border-radius:2px;background:var(--accent)}.session-icon{color:var(--muted);align-self:flex-start;padding-top:2px}.session-item.selected .session-icon{color:var(--accent)}.session-text{min-width:0;flex:1}.session-text strong{display:block;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.7}.session-text small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;margin-top:4px;opacity:.9}.session-item time{font-size:9px;align-self:flex-start;color:var(--muted);padding-top:6px}.pin{color:var(--accent);align-self:flex-start;margin-top:5px}.empty-search{font-size:12px;text-align:center;color:var(--muted);padding-top:20px}.sidebar-bottom{padding-top:15px;border-top:1px solid var(--line)}.private-space{display:flex;gap:10px;align-items:center;margin:9px 12px 23px;font-size:11px}.private-space small{font-size:10px;display:block;margin-top:5px}.settings-button{width:100%;display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;font-size:12px;color:var(--muted)}.settings-button:hover{background:var(--hover);color:var(--text)}.settings-button svg:last-child{margin-left:auto}.chat-main{min-width:0;flex:1;display:flex;flex-direction:column;position:relative;background:var(--bg)}.chat-header{height:87px;flex-shrink:0;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bg);z-index:20}.header-title{display:flex;align-items:center;gap:12px;min-width:0}.header-title>div{min-width:0}.header-title h1{font-size:16px;font-weight:600;letter-spacing:.5px;margin-bottom:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40vw}.header-title>div>span{font-size:10px;letter-spacing:.8px;color:var(--muted);display:flex;align-items:center;gap:6px}.header-actions{display:flex;align-items:center;gap:17px}.menu-control{position:relative}.choice-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:32px;padding:6px 8px;border-radius:8px;font-size:12px;color:var(--muted);white-space:nowrap;transition:background-color .16s ease,color .16s ease}.choice-trigger:hover,.choice-trigger[aria-expanded=true]{background:var(--hover);color:var(--text)}.choice-trigger>svg{flex-shrink:0}.choice-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.provider-selector{color:var(--text);font-weight:550;flex-shrink:0}.provider-selector>svg:first-child{color:var(--accent)}.model-selector{max-width:220px}.choice-chevron{transition:transform .22s var(--motion-spring)}.choice-trigger[aria-expanded=true] .choice-chevron{transform:rotate(180deg)}.popover-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35}.model-popover,.menu-popover{--enter-y: -8px;--exit-y: -4px;--enter-scale: .96;transform-origin:top right;position:absolute;right:0;top:calc(100% + 9px);z-index:36;background:var(--raised);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;padding:8px;width:260px;max-height:65dvh;overflow-y:auto}.menu-popover button{width:100%;display:flex;align-items:center;text-align:left;gap:9px;padding:10px;border-radius:7px;font-size:12px}.menu-popover button:hover{background:var(--hover)}.menu-popover{width:260px}.choice-popover{--enter-y: 8px;--exit-y: 4px;--enter-scale: .97;transform-origin:bottom left;position:fixed;right:auto;z-index:80;background:var(--raised);border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 8px 32px #352b1b1c;overflow-y:auto;overscroll-behavior:contain}.choice-popover[data-side=below]{--enter-y: -8px;--exit-y: -4px;transform-origin:top left}.choice-heading{padding:8px 10px;color:var(--muted);font-size:11px}.choice-popover button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px;border-radius:9px;text-align:left;font-size:13px}.choice-popover button:hover,.choice-popover button:focus-visible{background:var(--hover);outline-offset:-2px}.choice-popover button[aria-selected=true]{color:var(--accent);background:var(--accent-soft)}.choice-option-text{flex:1;min-width:0;overflow-wrap:anywhere}.choice-option-text small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.5}.choice-popover button>svg{flex-shrink:0}.chat-feed{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding:0 35px;overscroll-behavior:contain}.welcome{max-width:740px;width:100%;margin:0 auto;padding:50px 20px 30px;text-align:center;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.welcome-eyebrow{font-size:8px;letter-spacing:2.5px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-bottom:26px}.welcome-eyebrow span{width:4px;height:4px;background:var(--accent);border-radius:50%}.bear-portrait{width:99px;height:99px;position:relative;margin-bottom:23px}.bear-portrait img{width:100%;border-radius:31px;box-shadow:0 8px 30px #b1743b0d;transform:rotate(-7deg)}.bear-spark{position:absolute;color:var(--accent);font-size:20px;font-weight:200}.bear-spark.one{top:2px;right:-25px}.bear-spark.two{left:-23px;bottom:11px;font-size:15px;opacity:.6}.welcome h2{font-size:29px;font-weight:550;letter-spacing:1.1px;margin-bottom:15px}.welcome>p{color:var(--muted);font-size:12px;line-height:2;letter-spacing:.4px;margin-bottom:32px}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:11px;width:100%;max-width:626px;text-align:left}.suggestions button{display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px 16px;text-align:left;transition:transform .16s,border-color .16s}.suggestions button:hover{border-color:#d3a99a;transform:translateY(-2px);box-shadow:0 5px 15px #40302004}.suggestions button>svg:first-child{color:var(--accent);stroke-width:1.5;flex-shrink:0}.suggestions strong{display:block;font-size:12px;font-weight:500;letter-spacing:.3px}.suggestions small{display:block;font-size:10px;margin-top:7px;white-space:nowrap}.suggestions button>svg:last-child{margin-left:auto;color:var(--muted);opacity:.5;flex-shrink:0}.messages{max-width:820px;padding:30px 0 24px;margin:auto}.message{display:flex;gap:14px;margin-bottom:29px}.message-avatar{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.message-avatar img{width:32px;height:32px;border-radius:10px}.message-avatar span{font-size:10px;width:30px;height:30px;background:var(--hover);border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--muted)}.message-body{min-width:0;flex:1}.message-meta{display:flex;gap:12px;align-items:center;font-size:11px;min-height:31px;margin-bottom:6px}.message-meta strong{font-weight:550}.message-meta time{font-size:9px;color:var(--muted)}.message-model{font-size:9px;color:var(--muted);margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%}.message.user .markdown{border-radius:0 14px 14px;background:var(--sidebar);padding:12px 17px;display:inline-block;min-width:50px;max-width:100%}.message.user .markdown p{white-space:pre-wrap}.markdown{font-size:14px;line-height:1.95;overflow-wrap:anywhere;color:var(--text)}.markdown>*:first-child{margin-top:0}.markdown>*:last-child{margin-bottom:0}.markdown p{margin:0 0 13px}.markdown h1{font-size:24px}.markdown h2{font-size:21px}.markdown h3{font-size:17px}.markdown h1,.markdown h2,.markdown h3{margin-top:22px;line-height:1.5}.markdown ul,.markdown ol{padding-left:24px;margin:8px 0 16px}.markdown li p{margin:0}.markdown blockquote{margin:12px 0;border-left:3px solid var(--accent);padding:5px 16px;background:var(--sidebar);color:var(--muted)}.markdown table{border-collapse:collapse;display:block;overflow-x:auto;font-size:12px;margin:15px 0}.markdown th,.markdown td{padding:8px 13px;border:1px solid var(--line);min-width:75px}.markdown th{background:var(--sidebar)}.markdown img{max-width:100%;border-radius:12px}.markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:var(--hover);padding:2px 4px;border-radius:4px}.code-block{margin:15px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--sidebar)}.code-toolbar{display:flex;align-items:center;justify-content:space-between;padding:4px 10px 4px 15px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.markdown pre{overflow-x:auto;padding:14px 18px;margin:0;line-height:1.6}.markdown pre code{padding:0;background:none;font-size:12px;white-space:pre}.katex-display{overflow-x:auto;overflow-y:hidden;padding:5px}.markdown .katex{font-size:1.08em}.markdown .katex-display>.katex{white-space:nowrap}.attachment-mode{display:grid;gap:5px;margin:6px 0;padding:10px 0;border-block:1px solid var(--line)}.attachment-mode-title{color:var(--muted);font-size:11px;padding:0 10px 4px}.attachment-mode small{display:block;color:var(--muted);line-height:1.5;font-size:10px;margin-top:4px}.attachment-mode button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.option-indicator{width:13px;height:13px;border:1px solid var(--muted);border-radius:50%;flex-shrink:0}[aria-pressed=true]>.option-indicator{border:4px solid var(--accent)}.thinking-block{border:1px solid var(--line);border-radius:10px;padding:10px 13px;margin:3px 0 13px;color:var(--muted);font-size:12px;background:var(--surface)}.thinking-block summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none}.thinking-block summary svg:last-child{margin-left:auto}.thinking-block[open] summary{margin-bottom:10px}.thinking-block .markdown{font-size:12px;color:var(--muted)}.message-actions{display:flex;gap:2px;align-items:center;margin-top:8px}.message-actions .icon-button{width:29px;height:28px}.token-count{font-size:9px;color:var(--muted);margin-left:8px}.message-error{font-size:12px;color:#bb6654;margin-top:12px;background:#bb665408;padding:8px 10px;border-radius:8px}.topic-divider{display:flex;align-items:center;gap:15px;font-size:10px;color:var(--muted);margin:15px 0 27px}.topic-divider:before,.topic-divider:after{content:"";height:1px;flex:1;background:var(--line)}.typing-indicator{display:flex;gap:5px;padding:8px 0}.typing-indicator i{width:5px;height:5px;border-radius:50%;background:var(--accent);animation:pulse 1.4s ease-in-out infinite}.typing-indicator i:nth-child(2){animation-delay:.2s}.typing-indicator i:nth-child(3){animation-delay:.4s}.stream-status{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px;padding:8px 10px 20px}.attachments{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;max-width:100%}.attachments:empty{display:none}.attachment{position:relative;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}.attachment>a:not(.attachment-download){display:flex;align-items:center;gap:10px;text-decoration:none;font-size:12px;padding:13px 34px 13px 13px;color:var(--text)}.attachment small{display:block;font-size:10px;margin-top:4px}.attachment.image{max-width:420px;max-height:520px}.attachment.image>a:not(.attachment-download){padding:0;display:block}.attachment.image img{max-width:100%;max-height:510px;display:block;object-fit:contain}.attachment audio{max-width:100%;height:45px}.attachment video{max-width:100%;max-height:400px;display:block}.attachment-download{position:absolute;right:5px;top:5px;padding:7px;display:flex;background:var(--surface);border-radius:6px;color:var(--muted);opacity:.85}.attachment>.icon-button{position:absolute;right:3px;top:3px;background:var(--surface);height:22px;width:22px}.attachments.pending{padding:12px 16px 0;margin:0;gap:7px;max-height:145px;overflow:auto}.pending .attachment.image{width:75px;height:75px}.pending .attachment.image img{width:75px;height:75px;object-fit:cover}.pending .attachment>a{font-size:10px}.pending .attachment audio{width:200px}.composer-region{position:relative;flex-shrink:0;width:100%;max-width:910px;align-self:center;padding:9px 38px 22px}.composer-region>.banner{margin-bottom:10px}.composer{background:var(--raised);border:1px solid #dcd7ce;border-radius:16px;box-shadow:0 4px 20px #5b463308;transition:border-color .2s}.composer:focus-within{border-color:#c8a495;box-shadow:0 4px 22px #9c726d0b}:root[data-theme=dark] .composer{border-color:var(--line)}.composer textarea{display:block;width:100%;border:0;box-shadow:none!important;background:none;padding:19px 20px 9px;resize:none;font-size:13px;line-height:1.75;min-height:75px;max-height:180px}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 13px 12px}.composer-tools,.send-tools{display:flex;align-items:center;gap:2px}.composer-model-controls{display:flex;align-items:center;gap:2px;min-width:0;margin-right:auto}.composer-tools,.send-tools,.thinking-select{flex-shrink:0}.thinking-select.enabled{color:var(--accent)}.new-topic-button{display:flex;align-items:center;gap:3px;font-size:10px;color:var(--muted);margin-left:7px;border-radius:7px;padding:6px 5px}.new-topic-button.enabled{background:var(--accent-soft);color:var(--accent)}.voice-button{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted);padding:7px 9px;white-space:nowrap}.voice-button.recording{color:#c75948;background:var(--accent-soft);border-radius:8px}.send-button{border-radius:10px;display:flex;align-items:center;justify-content:center;width:35px;height:35px;background:var(--accent);color:#fff;flex-shrink:0;margin-left:4px}.send-button:disabled{opacity:1;background:var(--hover);color:#b9b2a8}.send-button.stop{background:var(--text);color:var(--bg)}.composer-note{display:flex;align-items:center;justify-content:space-between;padding:7px 13px;border-bottom:1px solid var(--line);font-size:11px;color:var(--accent)}.composer-caption{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);padding:11px 5px 0;letter-spacing:.2px;line-height:1.5}.scroll-bottom{position:absolute;top:-35px;left:50%;transform:translate(-50%);width:32px;height:32px;border-radius:50%;background:var(--raised);border:1px solid var(--line);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;color:var(--muted)}.network-banner{background:var(--accent-soft);color:var(--accent);padding:8px 15px;text-align:center;font-size:11px;line-height:1.5}.conversation-loading{color:var(--muted);text-align:center;padding:50px;font-size:12px}.dialog{--enter-y: 20px;--exit-y: 10px;--enter-scale: .96;color:var(--text);background:var(--bg);border:1px solid var(--line);padding:0;border-radius:19px;box-shadow:0 25px 100px #0002;max-width:calc(100vw - 28px);width:430px;max-height:90dvh;overflow:hidden}.dialog::backdrop{background:#24201c55;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.dialog-surface{max-height:inherit;overflow-y:auto;overscroll-behavior:contain}.dialog.wide{width:850px}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:17px;margin:0;font-weight:550}.confirmation-body{padding:20px 24px 24px}.confirmation-body p{font-size:14px;line-height:1.8;margin:0 0 24px}.confirmation-actions{display:flex;justify-content:flex-end;gap:10px}.settings-layout{display:flex;height:570px;max-height:calc(90dvh - 72px)}.settings-nav{width:180px;flex-shrink:0;background:var(--sidebar);padding:20px 12px;border-right:1px solid var(--line)}.settings-nav button{display:flex;width:100%;align-items:center;gap:10px;padding:12px;border-radius:8px;margin-bottom:5px;font-size:12px;color:var(--muted);text-align:left;white-space:nowrap}.settings-nav button.selected{background:var(--accent-soft);color:var(--accent)}.settings-nav button:hover{color:var(--text)}.settings-content{flex:1;overflow-y:auto;min-width:0;padding:26px 30px;animation:content-in .22s var(--motion-spring) both}.settings-content>.banner{margin-bottom:15px}label{display:block;font-size:12px;font-weight:500;line-height:1.7;margin-bottom:18px}label>input:not([type=checkbox]),label>select,label>textarea{width:100%;display:block;margin-top:6px;font-size:13px}label small{display:block;font-size:10px;font-weight:400;line-height:1.7;margin-top:5px}.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0}.toggle-row small{max-width:370px}.toggle-row input{margin:0}.info-card{padding:18px;border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:18px 0}.info-card strong{font-size:12px;font-weight:500}.info-card p{font-size:11px;line-height:1.85;color:var(--muted);margin:8px 0 0}.info-card .secondary{margin-top:14px}.settings-footer{display:flex;gap:10px;justify-content:flex-end;padding-top:16px;position:sticky;bottom:-26px;background:var(--bg);padding-bottom:14px;margin-bottom:-14px}.count{text-align:right}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading p{margin-bottom:12px}.section-heading h4{margin:0}.provider-card{display:flex;gap:15px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.provider-card>div:first-child{min-width:0}.provider-card strong{font-size:13px}.provider-card p{font-size:11px;color:var(--muted);margin:7px 0 4px}.provider-card small{font-size:10px}.badge{display:inline-block;background:var(--hover);padding:3px 6px;margin-left:8px;border-radius:5px;font-size:9px;color:var(--muted);white-space:nowrap}.badge.good{background:#77947113;color:var(--green)}.provider-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}.provider-editor{padding-top:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{min-width:0}.model-editor{border:1px solid var(--line);padding:13px;border-radius:10px;margin:10px 0}.model-editor label{font-size:10px;margin-bottom:5px}.model-editor input{padding:8px;font-size:12px}.model-options{display:flex;align-items:center;justify-content:space-between}.model-options .inline-check{display:flex;align-items:center;gap:6px;margin:4px 0 0}.inline-check input{width:14px;height:14px;margin:0}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.stats-grid>div{background:var(--sidebar);border-radius:12px;padding:16px}.stats-grid strong{display:block;font-size:23px;font-weight:500;margin-bottom:7px}.stats-grid span{font-size:11px;color:var(--muted)}.file-button{position:relative;cursor:pointer;margin-bottom:0}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;cursor:pointer;margin:0!important}.fine-print{font-size:10px!important}.account-logout{border-top:1px solid var(--line);margin-top:32px;padding-top:24px}.rename-form{padding:24px}.login-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:30px 20px;background:radial-gradient(ellipse at 20% 20%,#cf715d0a,transparent 70%),var(--bg);position:relative;overflow:hidden}.login-card{width:100%;max-width:380px;text-align:center;position:relative}.login-card>img{width:100px;height:100px;border-radius:30px;transform:rotate(-6deg);margin-bottom:26px;box-shadow:0 14px 40px #8c502611}.eyebrow{font-size:8px;letter-spacing:2.6px;color:var(--accent);display:block;margin-bottom:17px}.login-card h1{font-size:25px;font-weight:550;letter-spacing:1px;margin-bottom:13px}.login-card>p{color:var(--muted);font-size:12px;line-height:2;margin-bottom:32px}.login-card form{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:23px}.login-card form label{font-size:11px}.login-card input{font-size:12px;padding:12px}.login-card .primary{width:100%;margin-top:5px;justify-content:space-between}.login-card .primary svg{transform:rotate(90deg)}.login-card>small{display:block;margin-top:30px;font-size:9px;letter-spacing:1.6px}.login-card .banner{margin-bottom:10px}.login-decoration{position:absolute;color:var(--accent);opacity:.1;font-size:280px;top:8%;left:6%;font-weight:100}.loading-screen{height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--muted);font-size:12px}.loading-screen img{width:70px;border-radius:22px;animation:pulse 2s infinite}.sidebar-backdrop{display:none}.dialog[data-motion],.choice-popover[data-motion],.menu-popover[data-motion]{opacity:0;transform:translateY(var(--enter-y)) scale(var(--enter-scale));transition:transform var(--motion-enter) var(--motion-spring),opacity .18s ease-out}.dialog[data-motion=open],.choice-popover[data-motion=open],.menu-popover[data-motion=open]{opacity:1;transform:none}.dialog[data-motion=exit],.choice-popover[data-motion=exit],.menu-popover[data-motion=exit]{transform:translateY(var(--exit-y)) scale(var(--enter-scale));transition-duration:var(--motion-exit);transition-timing-function:var(--motion-leave);pointer-events:none}.dialog[data-motion]::backdrop,.sidebar-backdrop[data-motion]{opacity:0;transition:opacity var(--motion-exit, .18s) ease-out}.dialog[data-motion=open]::backdrop,.sidebar-backdrop[data-motion=open]{opacity:1}@keyframes content-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#a99e8c40;border-radius:4px}@keyframes pulse{0%,to{opacity:.35}50%{opacity:1}}@media(min-width:1500px){.sidebar{width:300px}.welcome{max-width:840px}.welcome h2{font-size:33px}.welcome>p{font-size:13px}.suggestions{max-width:680px}.suggestions button{padding:22px 19px}.composer-region{max-width:960px}}@media(max-width:1100px){.sidebar{width:245px;padding-left:13px;padding-right:13px}.chat-header,.chat-feed{padding:0 25px}.composer-region{padding-left:25px;padding-right:25px}.welcome{padding-left:0;padding-right:0}.suggestions{gap:9px}.suggestions button{padding:15px 12px;gap:9px}.suggestions small{font-size:9px}.welcome h2{font-size:26px}.new-topic-button span,.keyboard-hint{display:none}}@media(max-width:1100px){.composer-toolbar{display:grid;grid-template-columns:1fr auto;row-gap:8px}.composer-model-controls{grid-column:1 / -1;grid-row:1;width:100%;gap:4px}.composer-tools{grid-column:1;grid-row:2}.send-tools{grid-column:2;grid-row:2}.model-selector{flex:1;justify-content:flex-start;max-width:none}.thinking-select{margin-left:auto}}@media(max-width:760px){.app-shell{min-height:0}.mobile-only{display:inline-flex}.sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;transform:translate(-100%);visibility:hidden;transition:transform var(--motion-exit) var(--motion-leave),visibility 0s var(--motion-exit);z-index:60;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}.sidebar.open{transform:translate(0);visibility:visible;transition:transform var(--motion-enter) var(--motion-spring),visibility 0s}.brand{padding-bottom:25px}.brand .icon-button{margin-left:auto}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#25221e50;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:55}.chat-header{height:75px;padding:env(safe-area-inset-top) 14px 0;gap:5px}.header-title{gap:7px}.header-title h1{font-size:14px;margin-bottom:5px;max-width:66vw}.header-title>div>span{font-size:9px;letter-spacing:0}.header-actions{gap:6px}.chat-feed{padding:0 17px;scrollbar-gutter:auto}.welcome{padding:30px 4px 28px;min-height:100%}.welcome-eyebrow{font-size:7px;letter-spacing:1.9px;margin-bottom:22px}.bear-portrait{width:80px;height:80px;margin-bottom:23px}.bear-portrait img{border-radius:26px}.welcome h2{font-size:23px;letter-spacing:.5px;margin-bottom:12px}.welcome>p{font-size:11px;margin-bottom:25px}.suggestions{gap:9px}.suggestions button{padding:13px 10px;gap:8px;align-items:flex-start}.suggestions button>svg:first-child{width:16px;height:16px}.suggestions strong{font-size:10px;letter-spacing:0;line-height:1.6}.suggestions small{font-size:8px;line-height:1.5;white-space:normal;margin-top:3px}.suggestions button>svg:last-child{display:none}.composer-region{padding:6px 12px max(10px,env(safe-area-inset-bottom))}.composer{border-radius:15px}.composer textarea{font-size:16px;padding:14px 14px 6px;min-height:68px;line-height:1.6}.composer textarea::placeholder{font-size:13px}.composer-toolbar{padding:5px 9px 9px;gap:7px 2px}.choice-trigger{font-size:11px;padding:7px 6px;gap:4px;height:36px}.composer-tools>.icon-button{width:29px;height:30px}.new-topic-button{margin-left:4px;padding:6px 3px}.new-topic-button span{display:none}.voice-button{padding:6px 5px;gap:2px;font-size:9px}.voice-button>span{max-width:75px;overflow:hidden;text-overflow:ellipsis}.send-button{width:32px;height:32px;border-radius:9px}.composer-caption{font-size:8px;justify-content:center;padding-top:8px}.messages{padding:24px 0 14px}.message{gap:10px;margin-bottom:25px}.message-avatar,.message-avatar img{width:27px;height:27px;border-radius:9px}.message-avatar span{width:26px;height:26px}.message-meta{font-size:10px;min-height:27px;gap:8px}.message-meta time{font-size:8px}.message-model{font-size:8px;max-width:43%}.markdown{font-size:14px;line-height:1.9}.message.user .markdown{padding:10px 12px}.message-actions{margin-top:6px}.message-actions .icon-button{width:27px;height:27px}.token-count{font-size:8px;margin-left:5px}.attachment.image{max-width:100%}.dialog{--enter-y: 100%;--exit-y: 100%;--enter-scale: 1;position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:calc(100dvh - max(16px,env(safe-area-inset-top)));border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom);transform-origin:bottom center}.dialog-surface:before{content:"";display:block;width:32px;height:4px;border-radius:4px;background:var(--muted);opacity:.35;margin:9px auto 0}.dialog-header{padding:13px 16px}.settings-layout{flex-direction:column;height:76dvh;max-height:calc(94dvh - 62px)}.settings-nav{width:100%;flex-shrink:0;display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px;gap:4px}.settings-nav button{margin:0;padding:9px 10px;font-size:10px;gap:5px;justify-content:center;width:auto;flex:1}.settings-nav svg{width:14px;height:14px;flex-shrink:0}.settings-content{padding:20px 18px}.settings-content h3{font-size:17px}.settings-content .muted{font-size:12px}.settings-footer{bottom:-20px}.provider-card{padding:12px;gap:8px}.provider-actions{gap:1px}.provider-card strong{font-size:12px}.badge{font-size:8px;margin-left:5px}.form-grid{grid-template-columns:1fr}.model-editor .form-grid{gap:8px}.login-card{max-width:350px}.login-card h1{font-size:23px}.banner{font-size:11px;padding:8px 10px}.info-card{padding:14px}.settings-nav button{flex-direction:column;gap:3px}.settings-nav button svg{width:16px;height:16px}}@media(max-width:360px){.voice-button>span{display:none}.header-title>div>span{font-size:8px}.suggestions strong{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after,*::backdrop{animation:none!important;transition:none!important;scroll-behavior:auto!important}}:root{--bg: #ffffff;--sidebar: #f7f7f7;--surface: #f4f4f4;--line: #e7e7e7;--text: #262626;--muted: #858585;--hover: #eeeeee}:root[data-theme=dark]{--bg: #212121;--sidebar: #171717;--surface: #2b2b2b;--raised: #303030;--line: #424242;--text: #ececec;--muted: #a5a5a5;--hover: #3a3a3a}.chat-header{height:64px;border-bottom:0;padding:0 28px}.header-title h1{font-size:17px;margin-bottom:0;letter-spacing:0}.header-title>div>span{display:none}.chat-feed{padding:0 28px}.messages{max-width:780px;padding:24px 0 10px}.message{margin-bottom:30px}.message-avatar,.message-meta{display:none}.message.user{justify-content:flex-end}.message.user .message-body{flex:0 1 auto;max-width:85%}.message.user .markdown{border-radius:24px;padding:12px 20px;background:var(--surface)}.message.user .attachments,.message.user .message-actions{justify-content:flex-end}.message.assistant .markdown{padding-top:2px}.markdown{font-size:16px;line-height:1.85}.message-actions{gap:4px}.message-actions .icon-button{width:32px;height:32px}.token-count{display:none}.welcome{min-height:auto;padding:28px 10px 30px}.welcome-eyebrow,.bear-spark,.welcome>p{display:none}.bear-portrait{width:48px;height:48px;margin-bottom:18px}.bear-portrait img{border-radius:16px;transform:none}.welcome h2{font-size:28px;letter-spacing:0;margin-bottom:24px}.suggestions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;max-width:760px}.suggestions button{background:transparent;border-radius:24px;padding:10px 14px;gap:8px}.suggestions strong{font-size:12px;letter-spacing:0}.suggestions small,.suggestions button>svg:last-child{display:none}.suggestions button>svg:first-child{width:16px;height:16px}.empty-conversation .chat-feed{flex:0 1 auto;margin-top:auto}.empty-conversation .composer-region{margin-bottom:auto}.composer-region{max-width:850px;padding:10px 24px 14px}.composer{border:1px solid var(--line);border-radius:28px;background:var(--raised);box-shadow:0 2px 12px #00000008;transition:border-color .18s ease,box-shadow .18s ease}.composer:focus-within{border-color:#bdbdbd;box-shadow:0 2px 12px #0000000a}:root[data-theme=dark] .composer{background:#303030;border-color:#3d3d3d;box-shadow:none}:root[data-theme=dark] .composer:focus-within{border-color:#585858}.composer textarea{padding:20px 22px 8px;min-height:96px;max-height:220px;font-size:16px;line-height:1.65;border-radius:28px}.composer textarea::placeholder{font-size:16px}.composer-toolbar{display:flex;justify-content:initial;gap:8px;padding:8px 12px 12px}.composer-tools{flex:0 0 auto}.composer-add{width:40px;height:40px;padding:0;border-radius:50%;color:var(--text)}.composer-add.enabled{color:var(--accent);background:var(--accent-soft)}.composer-model-controls{flex:0 1 auto;width:auto;gap:2px;margin-left:auto;margin-right:0}.composer-model-controls .choice-trigger{height:40px;border-radius:20px;color:var(--text);font-size:14px;padding:8px 10px}.composer-model-controls .provider-selector{color:var(--muted);font-weight:400}.composer-model-controls .model-selector{max-width:260px;justify-content:center;flex:0 1 auto}.send-tools{gap:4px}.voice-button{width:40px;height:40px;border-radius:50%;justify-content:center;padding:0;color:var(--text)}.voice-button svg{width:21px;height:21px;flex-shrink:0}.voice-button[data-state=idle]>span{display:none}.voice-button:not([data-state=idle]){width:auto;padding:0 9px;border-radius:20px}.send-button{width:40px;height:40px;border-radius:50%;background:var(--text);color:var(--bg)}.send-button:hover{background:var(--text);opacity:.85}.send-button:disabled{background:var(--hover);color:var(--muted);opacity:1}.composer-caption{justify-content:center;font-size:10px;padding-top:10px}.composer-caption .keyboard-hint{display:none}.composer-note{margin:10px 14px 0;border-radius:14px;font-size:12px}.choice-popover{border-radius:18px;padding:8px;box-shadow:0 8px 32px #0002}.choice-popover .attachment-mode{margin:8px 0 0;border-top:1px solid var(--line);padding-top:8px}.model-thinking{--slider-blue: #3981f7;border-top:1px solid var(--line);padding:14px 8px 5px;margin-top:8px}.thinking-slider-heading{display:flex;align-items:flex-start;gap:10px;color:var(--muted)}.thinking-slider-heading>svg{margin-top:5px;flex-shrink:0}.thinking-slider-current{flex:1;min-width:0;text-align:center}.thinking-slider-current strong{display:block;color:var(--slider-blue);font-size:19px;font-weight:550;line-height:1.5}.thinking-slider-current span{display:block;margin-top:3px;font-size:11px;line-height:1.5;min-height:17px}.choice-popover button.thinking-reset{width:26px;min-height:28px;padding:4px;justify-content:center;border-radius:50%;color:var(--muted)}.thinking-slider{position:relative;height:44px;margin-top:10px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;outline:none;border-radius:24px}.thinking-slider[data-dragging=true]{cursor:grabbing}.thinking-slider:focus-visible{outline:2px solid var(--slider-blue);outline-offset:3px}.thinking-slider[aria-disabled=true]{cursor:default;opacity:.65}.thinking-slider-rail{position:absolute;top:6px;right:0;bottom:6px;left:0;border-radius:24px;background:var(--hover);pointer-events:none}.thinking-slider-fill{position:absolute;inset:0 auto 0 0;width:calc(16px + var(--progress) * (100% - 32px));border-radius:inherit;background:var(--slider-blue);transition:width .18s var(--motion-spring)}.thinking-slider-dot{position:absolute;width:4px;height:4px;border-radius:50%;top:50%;transform:translate(-50%,-50%);background:var(--muted);opacity:.6}.thinking-slider-dot[data-filled=true]{background:#fff;opacity:.45}.thinking-slider-thumb{position:absolute;top:0;left:calc(16px + var(--progress) * (100% - 32px));width:32px;height:32px;transform:translate(-50%);border-radius:50%;background:#fff;box-shadow:0 1px 5px #0003;transition:left .18s var(--motion-spring),box-shadow .18s ease}.thinking-slider[data-dragging=true] .thinking-slider-thumb{box-shadow:0 1px 8px #0004}.thinking-slider[data-dragging=true] .thinking-slider-thumb,.thinking-slider[data-dragging=true] .thinking-slider-fill{transition:none}.thinking-slider-labels{display:flex;justify-content:space-between;padding:0 3px;margin-top:3px;color:var(--muted);font-size:10px}@media(max-width:760px){.chat-header{height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0}.header-title h1{font-size:16px;margin-bottom:0}.chat-feed{padding:0 18px}.messages{padding-top:16px}.message{margin-bottom:25px}.message.user .message-body{max-width:90%}.message.user .markdown{padding:10px 16px;border-radius:22px}.markdown{font-size:15px;line-height:1.85}.empty-conversation .chat-feed{flex:1;margin-top:0}.empty-conversation .composer-region{margin-bottom:0}.welcome{min-height:100%;padding:24px 0}.welcome h2{font-size:24px}.suggestions{max-width:330px;gap:8px}.suggestions button{padding:10px 12px;align-items:center}.suggestions strong{font-size:11px}.composer-region{padding:8px 10px max(8px,env(safe-area-inset-bottom))}.composer{border-radius:26px}.composer textarea{padding:18px 18px 6px;min-height:84px}.composer-toolbar{display:flex;padding:6px 9px 10px;gap:2px}.composer-add{width:36px;height:38px}.composer-model-controls{width:auto;gap:0}.composer-model-controls .choice-trigger{font-size:12px;height:38px;padding:7px 6px;gap:3px}.composer-model-controls .provider-selector{max-width:74px}.composer-model-controls .model-selector{max-width:190px}.send-tools{gap:0}.voice-button,.send-button{width:36px;height:36px}.voice-button:not([data-state=idle])>span{max-width:52px;font-size:10px}.composer-caption{padding-top:8px;font-size:9px}.composer-note{font-size:10px}}.code-block{--code-keyword: #9e3c77;--code-string: #316940;--code-number: #a25517;--code-title: #355eac;--code-comment: #7c8277;--code-tag: #b64944;--code-insert: #266a38;--code-delete: #ad3f3a}:root[data-theme=dark] .code-block{--code-keyword: #e8a0d0;--code-string: #b8d89e;--code-number: #edbd89;--code-title: #a3c5ef;--code-comment: #a0aa98;--code-tag: #efa39b;--code-insert: #b6dca5;--code-delete: #efa59f}.hljs-keyword,.hljs-selector-tag,.hljs-template-tag,.hljs-doctag,.hljs-type{color:var(--code-keyword)}.hljs-string,.hljs-regexp,.hljs-template-variable{color:var(--code-string)}.hljs-number,.hljs-literal,.hljs-symbol,.hljs-bullet{color:var(--code-number)}.hljs-title,.hljs-section,.hljs-selector-id,.hljs-selector-class,.hljs-built_in{color:var(--code-title)}.hljs-comment,.hljs-quote{color:var(--code-comment);font-style:italic}.hljs-name,.hljs-tag,.hljs-attr,.hljs-attribute,.hljs-variable,.hljs-meta{color:var(--code-tag)}.hljs-tag .hljs-string{color:var(--code-string)}.hljs-addition{color:var(--code-insert);background:#53885215}.hljs-deletion{color:var(--code-delete);background:#bb554415}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
