@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.16.45"}.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 .smash{display:inline;line-height:0}.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;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 .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}:root{--color-bg: #212121;--color-bg-secondary: #171717;--color-sidebar: #171717;--color-surface: #2f2f2f;--color-border: #383838;--color-text: #ececec;--color-text-muted: #999;--color-accent: #10a37f;--color-accent-hover: #0d8c6d;--color-user-bubble: #2f2f2f;--color-bot-bubble: #1a3a2a;--color-error: #ef4444;--sidebar-width: 260px;--topbar-height: 52px;--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono: "SF Mono", SFMono-Regular, Menlo, Consolas, monospace}[data-theme=light]{--color-bg: #ffffff;--color-bg-secondary: #f7f7f8;--color-sidebar: #f7f7f8;--color-surface: #f0f0f0;--color-border: #d9d9d9;--color-text: #1a1a1a;--color-text-muted: #666;--color-accent: #10a37f;--color-accent-hover: #0d8c6d;--color-user-bubble: #e8e8e8;--color-bot-bubble: #d4edda;--color-error: #dc3545}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;background:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);font-size:15px;line-height:1.6}a{color:var(--color-accent);text-decoration:none}a:hover{text-decoration:underline}.auth-page{display:flex;align-items:center;justify-content:center;height:100%;background:var(--color-bg-secondary)}.auth-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:2rem;width:100%;max-width:400px;margin:1rem;position:relative}.auth-lang-switcher{position:absolute;top:1rem;right:1rem}.auth-card h1{text-align:center;font-size:1.8rem;margin-bottom:.25rem}.auth-subtitle{text-align:center;color:var(--color-text-muted);margin-bottom:1.5rem}.auth-card label{display:block;font-size:.85rem;color:var(--color-text-muted);margin-bottom:.25rem;margin-top:.75rem}.auth-card input{width:100%;padding:.6rem .75rem;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);color:var(--color-text);font-size:.95rem;outline:none;transition:border-color .15s}.auth-card input:focus{border-color:var(--color-accent)}.auth-card button[type=submit]{width:100%;margin-top:1.25rem;padding:.7rem;border:none;border-radius:8px;background:var(--color-accent);color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background .15s}.auth-card button[type=submit]:hover:not(:disabled){background:var(--color-accent-hover)}.auth-card button:disabled{opacity:.6;cursor:not-allowed}.auth-error{color:var(--color-error);font-size:.85rem;margin-top:.5rem}.auth-success{color:var(--color-accent);font-size:.95rem;margin:1rem 0;text-align:center;line-height:1.5}.auth-link{text-align:center;margin-top:1rem;font-size:.9rem;color:var(--color-text-muted)}.chat-layout{display:flex;height:100%;overflow:hidden}.sidebar{width:var(--sidebar-width);background:var(--color-sidebar);border-right:1px solid var(--color-border);display:flex;flex-direction:column;flex-shrink:0;transition:margin-left .2s ease;overflow:hidden}.sidebar.closed{margin-left:calc(-1 * var(--sidebar-width))}.sidebar-header{padding:.75rem;border-bottom:1px solid var(--color-border)}.new-chat-btn{width:100%;padding:.6rem;border:1px solid var(--color-border);border-radius:8px;background:transparent;color:var(--color-text);font-size:.9rem;cursor:pointer;transition:background .15s}.new-chat-btn:hover{background:var(--color-surface)}.session-list{flex:1;overflow-y:auto;padding:.5rem}.sidebar-empty{color:var(--color-text-muted);font-size:.85rem;padding:1rem;text-align:center}.session-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border-radius:8px;cursor:pointer;transition:background .1s;font-size:.9rem}.session-item:hover,.session-item.active{background:var(--color-surface)}.session-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-delete{background:none;border:none;color:var(--color-text-muted);font-size:1.1rem;cursor:pointer;padding:0 .25rem;opacity:0;transition:opacity .1s}.session-item:hover .session-delete{opacity:1}.session-delete:hover{color:var(--color-error)}.sidebar-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:149;-webkit-tap-highlight-color:transparent}.chat-main{flex:1;display:flex;flex-direction:column;min-width:0}.top-bar{height:var(--topbar-height);display:flex;align-items:center;padding:0 1rem;border-bottom:1px solid var(--color-border);background:var(--color-bg);flex-shrink:0}.hamburger-btn{background:none;border:none;color:var(--color-text);font-size:1.3rem;cursor:pointer;padding:.25rem .5rem;margin-right:.75rem}.top-bar-title{flex:1;font-size:1rem;font-weight:600}.user-menu{position:relative}.user-menu-trigger{background:none;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text);padding:.35rem .75rem;font-size:.85rem;cursor:pointer;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-dropdown{position:absolute;right:0;top:calc(100% + 4px);background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;min-width:160px;padding:.25rem 0;z-index:100;box-shadow:0 4px 12px #0006}.user-menu-dropdown button{display:block;width:100%;text-align:left;background:none;border:none;color:var(--color-text);padding:.5rem .75rem;font-size:.9rem;cursor:pointer}.user-menu-dropdown button:hover{background:var(--color-border)}.user-menu-dropdown hr{border:none;border-top:1px solid var(--color-border);margin:.25rem 0}.chat-thread{flex:1;display:flex;flex-direction:column;overflow:hidden}.messages-container{flex:1;overflow-y:auto;padding:1.5rem;max-width:768px;margin:0 auto;width:100%}.chat-placeholder{flex:1;display:flex;align-items:center;justify-content:center;color:var(--color-text-muted)}.chat-loading,.chat-empty{color:var(--color-text-muted);text-align:center;padding:2rem}.message{margin-bottom:1.5rem}.message-user{display:flex;justify-content:flex-end}.message-user .message-content{background:var(--color-user-bubble);border-radius:16px 16px 4px;padding:.75rem 1rem;max-width:80%}.message-assistant{display:flex;flex-direction:column;align-items:flex-start}.message-assistant .message-content{background:var(--color-bot-bubble);border-radius:16px 16px 16px 4px;padding:.75rem 1rem;max-width:80%}.message-content :where(p),.thinking-box-content :where(p){margin:0 0 .5rem}.message-content :where(p:last-child),.thinking-box-content :where(p:last-child){margin-bottom:0}.message-content :where(ul,ol),.thinking-box-content :where(ul,ol){margin:.5rem 0;padding-inline-start:1.4rem;list-style-position:outside}.message-content :where(li),.thinking-box-content :where(li){margin:.2rem 0;padding-left:.15rem}.message-content :where(ol>li)::marker,.thinking-box-content :where(ol>li)::marker{font-variant-numeric:tabular-nums}.message-content pre{background:var(--color-bg-secondary);border-radius:8px;padding:.75rem;overflow-x:auto;font-family:var(--font-mono);font-size:.85rem;margin:.5rem 0}.message-content code{font-family:var(--font-mono);font-size:.88em;background:var(--color-bg-secondary);padding:.1rem .3rem;border-radius:4px}.message-content pre code{background:none;padding:0}.streaming p:after{content:"▊";animation:blink .7s infinite}@keyframes blink{50%{opacity:0}}.thinking-indicator{display:flex;align-items:center;gap:4px;padding:.75rem 1rem}.thinking-indicator .dot{width:8px;height:8px;background:var(--color-text-muted);border-radius:50%;animation:thinking-bounce 1.4s ease-in-out infinite}.thinking-indicator .dot:nth-child(2){animation-delay:.2s}.thinking-indicator .dot:nth-child(3){animation-delay:.4s}@keyframes thinking-bounce{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.tool-running .tool-running-label{font-size:.85rem;color:var(--color-text-muted);margin-right:6px;font-style:italic}.thinking-box{background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:12px;padding:.5rem .75rem;margin-bottom:.5rem;max-width:80%;font-size:.82rem;color:var(--color-text-muted)}.thinking-box-summary{cursor:pointer;font-weight:500;-webkit-user-select:none;user-select:none;list-style:none;display:flex;align-items:center;gap:.4rem}.thinking-box-summary:before{content:"▸";display:inline-block;transition:transform .15s ease}.thinking-box[open]>.thinking-box-summary:before{transform:rotate(90deg)}.thinking-box-summary::-webkit-details-marker{display:none}.thinking-box-content{margin-top:.5rem;max-height:200px;overflow-y:auto;font-size:.78rem;line-height:1.45;padding:.5rem;background:var(--color-bg);border-radius:6px}.msg-info-btn{display:inline-flex;align-items:center;justify-content:center;background:none;border:none;color:var(--color-text-muted);cursor:pointer;font-size:.9rem;padding:2px 4px;margin-top:4px;opacity:0;transition:opacity .15s ease;float:right}.message-content:hover .msg-info-btn{opacity:.7}.msg-info-btn:hover{opacity:1!important;color:var(--color-accent)}.info-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:400}.info-modal{position:fixed;bottom:120px;left:50%;transform:translate(-50%);background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:1rem 1.25rem;min-width:260px;max-width:360px;z-index:401;box-shadow:0 8px 24px #0000004d;animation:info-modal-in .15s ease}@keyframes info-modal-in{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.info-modal-close{position:absolute;top:8px;right:10px;background:none;border:none;font-size:1.2rem;cursor:pointer;color:var(--color-text-muted)}.info-modal-title{margin:0 0 .6rem;font-size:.9rem;font-weight:600}.info-modal-list{display:grid;grid-template-columns:auto 1fr;gap:.3rem .75rem;font-size:.82rem;margin:0}.info-modal-list dt{color:var(--color-text-muted);font-weight:500}.info-modal-list dd{margin:0;word-break:break-word}.info-modal-timeline-section{margin-top:.75rem;padding-top:.6rem;border-top:1px solid var(--color-border)}.info-modal-timeline-title{font-size:.73rem;font-weight:600;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.5rem}.call-timeline{display:flex;flex-direction:column;gap:.45rem}.call-timeline-header{display:flex;align-items:center;gap:.35rem;font-size:.75rem;margin-bottom:3px}.call-timeline-dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.dot-llm{background:var(--color-accent)}.dot-tool{background:var(--color-text-muted)}.call-timeline-label{flex:1;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.call-timeline-dur{color:var(--color-text);font-variant-numeric:tabular-nums;white-space:nowrap}.call-timeline-pct{color:var(--color-text-muted)}.call-timeline-track{height:4px;border-radius:2px;background:var(--color-border);overflow:hidden}.call-timeline-bar{height:100%;border-radius:2px;transition:width .3s ease}.bar-llm{background:var(--color-accent)}.bar-tool{background:var(--color-text-muted)}.toast-container{position:fixed;top:calc(var(--topbar-height) + 12px);right:16px;z-index:300;display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast-item{pointer-events:auto;display:flex;align-items:center;gap:.5rem;background:var(--color-surface);border:1px solid var(--color-accent);border-radius:10px;padding:.6rem .85rem;box-shadow:0 4px 14px #00000059;animation:toast-slide-in .3s ease;max-width:360px}.toast-info{border-color:var(--color-border)}.toast-success{border-color:var(--color-accent)}.toast-error{border-color:var(--color-error)}.toast-text{flex:1;font-size:.85rem;color:var(--color-text)}.toast-close{background:none;border:none;color:var(--color-text-muted);font-size:1.2rem;cursor:pointer;line-height:1;padding:0 .2rem}.toast-close:hover{color:var(--color-text)}@keyframes toast-slide-in{0%{opacity:0;transform:translate(40px)}to{opacity:1;transform:translate(0)}}.chat-input-form{display:flex;align-items:flex-end;gap:.5rem;padding:.75rem 1.5rem 1rem;max-width:768px;margin:0 auto;width:100%}.chat-textarea{flex:1;resize:none;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);color:var(--color-text);padding:.75rem 1rem;font-size:.95rem;font-family:var(--font-sans);line-height:1.5;outline:none;min-height:44px;max-height:200px;overflow-y:hidden;transition:border-color .15s}.chat-textarea:focus{border-color:var(--color-accent)}.send-btn{width:40px;height:40px;border-radius:50%;border:none;background:var(--color-accent);color:#fff;font-size:1.2rem;cursor:pointer;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:background .15s}.send-btn:hover:not(:disabled){background:var(--color-accent-hover)}.send-btn:disabled{opacity:.4;cursor:not-allowed}.send-btn-wrapper{display:flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0}.context-ring-btn{background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:.85;transition:opacity .15s,transform .15s}.context-ring-btn:hover{opacity:1;transform:scale(1.12)}.context-usage-modal{min-width:280px;max-width:340px}.ctx-overview{margin:.5rem 0 .75rem}.ctx-overview-label{display:flex;justify-content:space-between;font-size:.82rem;margin-bottom:.35rem;font-weight:600}.ctx-overview-count{color:var(--color-text-muted);font-weight:400}.ctx-overview-track{height:6px;border-radius:3px;background:var(--color-border);overflow:hidden}.ctx-overview-fill{height:100%;border-radius:3px;transition:width .3s ease}.ctx-breakdown{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.ctx-breakdown-row{display:grid;grid-template-columns:120px 1fr 56px;align-items:center;gap:.5rem;font-size:.78rem}.ctx-breakdown-label{color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ctx-breakdown-bar-track{height:4px;background:var(--color-border);border-radius:2px;overflow:hidden}.ctx-breakdown-bar{height:100%;background:var(--color-accent);border-radius:2px;transition:width .3s ease}.ctx-breakdown-count{text-align:right;color:var(--color-text);font-variant-numeric:tabular-nums;font-size:.75rem}.ctx-no-data{text-align:center;color:var(--color-text-muted);font-size:.85rem;margin:1rem 0}.ctx-compress-btn{width:100%;margin-top:.25rem}.compressing-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:500;display:flex;align-items:center;justify-content:center}.compressing-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;padding:2rem 2.5rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.6rem;max-width:320px}.compressing-spinner{width:36px;height:36px;border:3px solid var(--color-border);border-top-color:var(--color-accent);border-radius:50%;animation:compressing-spin .8s linear infinite;margin-bottom:.5rem}@keyframes compressing-spin{to{transform:rotate(360deg)}}.compressing-title{font-size:1rem;font-weight:600;color:var(--color-text);margin:0}.compressing-sub{font-size:.82rem;color:var(--color-text-muted);margin:0}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:200}.modal-content{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;width:90%;max-width:600px;max-height:80vh;overflow-y:auto}.modal-sm{max-width:400px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--color-border)}.modal-header h2{font-size:1.1rem}.modal-close{background:none;border:none;color:var(--color-text-muted);font-size:1.5rem;cursor:pointer;line-height:1}.modal-body{padding:1.25rem}.change-password-form{display:flex;flex-direction:column;gap:.9rem}.form-label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:var(--color-text-muted)}.form-input{padding:.55rem .75rem;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);color:var(--color-text);font-size:.95rem;outline:none;transition:border-color .15s}.form-input:focus{border-color:var(--color-accent)}.form-error{font-size:.85rem;color:#e55;margin:0}.form-success{font-size:.85rem;color:#4c4;margin:0}.modal-footer{display:flex;justify-content:flex-end;margin-top:.5rem}.btn-primary{padding:.55rem 1.25rem;border:none;border-radius:8px;background:var(--color-accent);color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:opacity .15s}.btn-primary:disabled{opacity:.55;cursor:not-allowed}.btn-primary:not(:disabled):hover{opacity:.85}.bot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.bot-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1rem .5rem;border:1px solid var(--color-border);border-radius:10px;background:var(--color-bg);color:var(--color-text);cursor:pointer;transition:border-color .15s,background .15s}.bot-card:hover{border-color:var(--color-accent);background:var(--color-surface)}.bot-avatar{font-size:2rem;margin-bottom:.5rem}.bot-name{font-weight:600;font-size:.9rem}.bot-desc{font-size:.75rem;color:var(--color-text-muted);margin-top:.25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-dl dt,.memory-dl dt{font-size:.8rem;color:var(--color-text-muted);margin-top:.75rem}.profile-dl dd,.memory-dl dd{font-size:.95rem;margin-left:0}.memory-entry{display:flex;align-items:flex-start;gap:.5rem;padding:.5rem 0;border-bottom:1px solid var(--color-border)}.memory-entry:last-child{border-bottom:none}.memory-entry-content{flex:1;min-width:0}.memory-delete-key{flex-shrink:0;background:transparent;border:1px solid var(--color-border);border-radius:6px;color:var(--color-text-muted);cursor:pointer;font-size:1rem;line-height:1;padding:.2rem .5rem}.memory-delete-key:hover{color:#e55;border-color:#e55}.modal-lg{max-width:600px;max-height:80vh}.modal-lg .modal-body{overflow-y:auto;max-height:calc(80vh - 60px)}.memory-actions-top{display:flex;gap:.75rem;margin-bottom:1rem}.delete-all-btn{padding:.4rem 1rem;border:1px solid #e55;border-radius:8px;background:transparent;color:#e55;cursor:pointer;font-size:.85rem}.delete-all-btn:hover{background:#ee555526}.memory-bot-group{margin-bottom:1.25rem}.memory-bot-name{font-size:1rem;font-weight:600;margin:0 0 .5rem;display:flex;align-items:center;gap:.4rem}.memory-bot-avatar{font-size:1.2rem}.memory-empty{color:var(--color-text-muted)}.refresh-btn{margin-top:1rem;padding:.4rem 1rem;border:1px solid var(--color-border);border-radius:8px;background:transparent;color:var(--color-text);cursor:pointer;font-size:.85rem}.refresh-btn:hover{background:var(--color-border)}.theme-toggle{background:none;border:1px solid var(--color-border);border-radius:8px;color:var(--color-text);font-size:1.1rem;cursor:pointer;padding:.3rem .55rem;margin-right:.5rem;transition:background .15s;line-height:1}.theme-toggle:hover{background:var(--color-surface)}.language-select{background:var(--color-bg);color:var(--color-text);border:1px solid var(--color-border);border-radius:8px;padding:.35rem .5rem;font-size:.85rem;cursor:pointer;outline:none;max-width:140px}.language-select:focus{border-color:var(--color-accent)}.user-menu-dropdown .language-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;gap:.5rem}.user-menu-dropdown .language-row label{font-size:.9rem;color:var(--color-text-muted)}@media(max-width:768px){.sidebar{position:fixed;left:0;top:0;height:100%;z-index:150;margin-left:0!important;transition:transform .25s ease,box-shadow .25s ease;transform:translate(0);box-shadow:4px 0 20px #0009}.sidebar.closed{transform:translate(-100%);box-shadow:none}.sidebar-backdrop{display:block}.messages-container{padding:1rem .75rem}.chat-input-form{padding:.5rem .75rem .75rem;padding-bottom:max(.75rem,env(safe-area-inset-bottom))}.session-delete{opacity:1}.user-menu-trigger{max-width:110px;font-size:.8rem;padding:.3rem .5rem}.modal-content,.modal-sm,.modal-lg{width:95%;max-width:none;max-height:90vh}.modal-lg .modal-body{max-height:calc(90vh - 60px)}.bot-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}.top-bar-title{font-size:.95rem}.chat-textarea,.form-input,.auth-card input,.language-select{font-size:16px}}.install-banner{position:fixed;bottom:0;left:0;right:0;z-index:250;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.25rem;padding-bottom:max(.85rem,env(safe-area-inset-bottom));background:var(--color-surface);border-top:1px solid var(--color-border);box-shadow:0 -2px 12px #0000004d;animation:install-slide-up .3s ease}.install-banner-content{flex:1;min-width:0}.install-banner-content strong{font-size:.95rem}.install-banner-content p{font-size:.82rem;color:var(--color-text-muted);margin-top:.15rem}.install-banner-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.install-dismiss{background:none;border:none;color:var(--color-text-muted);font-size:.85rem;cursor:pointer;padding:.4rem .5rem}.install-dismiss:hover{color:var(--color-text)}@keyframes install-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.plan-btn{width:40px;height:40px;border-radius:50%;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font-size:1.1rem;cursor:pointer;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:border-color .15s,color .15s}.plan-btn:hover{border-color:var(--color-accent);color:var(--color-accent)}.counseling-plan-modal{max-width:500px;max-height:80vh;overflow-y:auto}.counseling-plan-modal h2{font-size:1.2rem;margin-bottom:1rem}.plan-name{font-size:1rem;color:var(--color-text-muted);margin-bottom:.75rem}.plan-loading,.plan-empty{color:var(--color-text-muted);text-align:center;padding:2rem 0}.plan-steps{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.plan-step{display:flex;align-items:flex-start;gap:.75rem;padding:.6rem .75rem;border-radius:8px;background:var(--color-surface);border:1px solid var(--color-border);transition:border-color .15s}.plan-step--completed{opacity:.7}.plan-step-toggle{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:0;line-height:1;color:var(--color-text-muted);flex-shrink:0;margin-top:2px}.plan-step--completed .plan-step-toggle{color:var(--color-accent)}.plan-step--in_progress .plan-step-toggle{color:#f0ad4e}.plan-step-content{display:flex;flex-direction:column;gap:.2rem;flex:1;min-width:0}.plan-step-title{font-weight:500;font-size:.95rem}.plan-step--completed .plan-step-title{text-decoration:line-through}.plan-step-desc{font-size:.85rem;color:var(--color-text-muted)}.plan-step-badge{display:inline-block;font-size:.75rem;padding:.1rem .5rem;border-radius:4px;width:fit-content}.plan-step-badge--pending{background:var(--color-border);color:var(--color-text-muted)}.plan-step-badge--in_progress{background:#f0ad4e33;color:#f0ad4e}.plan-step-badge--completed{background:#10a37f33;color:var(--color-accent)}.plan-step-evidence{font-size:.8rem;color:var(--color-text-muted);font-style:italic;margin-top:.2rem}.modal-close-btn{display:block;width:100%;padding:.6rem;border:1px solid var(--color-border);border-radius:8px;background:transparent;color:var(--color-text);cursor:pointer;font-size:.9rem;transition:background .15s}.modal-close-btn:hover{background:var(--color-surface)}
