@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{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.16.45"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}:root{--bg-primary:#fff;--bg-secondary:#f7f7f8;--bg-tertiary:#ececf1;--bg-hover:#f0f0f3;--bg-chat-user:#f7f7f8;--bg-chat-ai:#fff;--border:#d9d9e3;--border-subtle:#e8e8ed;--text-primary:#1a1a1a;--text-secondary:#555568;--text-tertiary:#8e8ea0;--text-muted:#b4b4c4;--accent:#1a1a1a;--radius-sm:8px;--radius-md:12px;--radius-lg:18px;--radius-xl:24px;--font-serif:"Libre Baskerville", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;--font-sans:system-ui, -apple-system, "Segoe UI", sans-serif;--transition-fast:.15s ease;--transition-normal:.25s ease;--transition-slow:.4s ease}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{background:var(--bg-primary);color:var(--text-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px}#root{flex-direction:column;min-height:100vh;display:flex}h1,h2{font-family:var(--font-serif);font-weight:500}.view{flex-direction:column;height:100%;display:flex}.view-centered{flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.header{border-bottom:1px solid var(--border-subtle);background:var(--bg-primary);z-index:100;flex-direction:row;justify-content:space-between;align-items:center;height:70px;padding:0 24px;display:flex;position:sticky;top:0}.header-logo{flex-direction:row;align-items:center;gap:10px;display:flex}.header-logo-icon{object-fit:contain;width:34px;height:34px}.header-logo-text{font-family:var(--font-serif);color:var(--text-primary);letter-spacing:.02em;font-size:15px;font-weight:600}.header-actions{align-items:center;gap:8px;display:flex}.header-btn{color:var(--text-secondary);border:1px solid var(--border);cursor:pointer;transition:border-color var(--transition-fast), color var(--transition-fast);background:0 0;border-radius:10px;align-items:center;gap:4px;padding:5px 12px;font-family:inherit;font-size:16px;display:flex}.header-btn:hover{border-color:var(--text-muted);color:var(--text-primary)}.header-icon-btn{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);transition:color var(--transition-fast), background var(--transition-fast);background:0 0;border:none;align-items:center;padding:4px;display:flex}.header-icon-btn:hover{color:var(--text-secondary);background:var(--bg-hover)}.header-icon-btn[data-action=menu]{display:none}.header-tabs{border:1px solid var(--border);border-radius:var(--radius-md);background:0 0;flex-direction:row;gap:2px;padding:3px;display:flex}.mobile-menu{background:var(--bg-primary);border-bottom:1px solid var(--border);z-index:99;flex-direction:column;gap:2px;padding:8px 15px;display:none;position:absolute;top:100%;left:0;right:0}.mobile-menu.open{display:flex}.mobile-menu-item{border-radius:var(--radius-sm);color:var(--text-tertiary);cursor:pointer;transition:background var(--transition-fast), color var(--transition-fast);padding:10px 12px;font-size:16px}.mobile-menu-item:hover{background:var(--bg-hover);color:var(--text-primary)}.mobile-menu-item.active{color:var(--text-primary);background:var(--bg-secondary);font-weight:500}.tab{color:var(--text-tertiary);cursor:pointer;transition:color var(--transition-fast), background var(--transition-fast);border-radius:10px;padding:5px 15px;font-size:16px}.tab.active{background:var(--bg-secondary);color:var(--text-primary)}.tab:hover{color:var(--text-secondary)}.settings-view{flex-direction:column;justify-content:center;align-items:center;max-width:500px;margin:0 auto;display:flex}.settings-github{color:var(--text-muted);transition:color var(--transition-fast);z-index:10;position:fixed;top:20px;right:20px}.settings-github:hover{color:var(--text-primary)}.settings-full{width:100%;max-width:500px;margin:0 auto;padding:40px 20px 60px}.settings-full-title{font-family:var(--font-serif);margin-bottom:32px;font-size:28px;font-weight:500}.settings-section{margin-bottom:32px}.settings-section-title{text-transform:uppercase;letter-spacing:1.2px;color:var(--text-muted);border-bottom:1px solid var(--border-subtle);margin-bottom:16px;padding-bottom:8px;font-size:12px}.settings-toggle-row{justify-content:space-between;align-items:center;gap:16px;padding:8px 0;display:flex}.settings-toggle-info{flex-direction:column;gap:2px;display:flex}.settings-toggle-name{color:var(--text-primary);font-size:15px}.settings-toggle-desc{color:var(--text-tertiary);font-size:13px}.settings-footer{border-top:1px solid var(--border-subtle);justify-content:center;margin-top:32px;padding-top:16px;display:flex}.settings-footer-link{color:var(--text-muted);transition:color var(--transition-fast);align-items:center;gap:6px;font-size:14px;text-decoration:none;display:inline-flex}.settings-footer-link:hover{color:var(--text-primary)}.toggle-switch{cursor:pointer;flex-shrink:0;width:44px;height:24px;display:inline-block;position:relative}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{background:var(--bg-tertiary);transition:background var(--transition-fast);border-radius:12px;position:absolute;inset:0}.toggle-slider:before{content:"";width:18px;height:18px;transition:transform var(--transition-fast);background:#fff;border-radius:50%;position:absolute;bottom:3px;left:3px;box-shadow:0 1px 3px #00000026}.toggle-switch input:checked+.toggle-slider{background:var(--accent)}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.settings-title{font-family:var(--font-serif);margin-bottom:10px;font-size:30px;font-weight:500}.settings-subtitle{color:var(--text-tertiary);margin-bottom:40px;font-size:17px}.form-group{margin-bottom:24px}.form-label{text-transform:uppercase;letter-spacing:.6px;color:var(--text-tertiary);margin-bottom:8px;font-size:14px;display:block}.form-input{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-md);width:100%;color:var(--text-primary);transition:border-color var(--transition-fast);outline:none;padding:15px 17px;font-family:inherit;font-size:17px}.form-input:focus{border-color:#8e8ea0}.btn-primary{background:var(--accent);width:100%;color:var(--bg-primary);border-radius:var(--radius-md);cursor:pointer;transition:opacity var(--transition-fast);border:none;padding:15px;font-size:17px;font-weight:600}.btn-primary:hover{opacity:.9}.btn-primary:disabled{opacity:.3;cursor:not-allowed}.options-row{align-items:center;gap:8px;padding:0 0 10px;display:flex}.ghost-dropdown{position:relative}.ghost-dropdown-trigger{cursor:pointer;color:var(--text-tertiary);border-radius:var(--radius-sm);transition:background var(--transition-fast), color var(--transition-fast);background:0 0;border:none;align-items:center;gap:4px;padding:4px 8px;font-family:inherit;font-size:13px;display:flex}.ghost-dropdown-trigger:hover,.ghost-dropdown-trigger.open{background:var(--bg-hover);color:var(--text-secondary)}.ghost-dropdown-prefix{margin-right:2px}.ghost-dropdown-value{color:var(--text-secondary);font-weight:500}.ghost-dropdown-trigger:hover .ghost-dropdown-value,.ghost-dropdown-trigger.open .ghost-dropdown-value{color:var(--text-primary)}.ghost-dropdown-arrow{transition:transform var(--transition-fast);align-items:center;display:flex}.ghost-dropdown-trigger.open .ghost-dropdown-arrow{transform:rotate(180deg)}.ghost-dropdown-menu{background:var(--bg-primary);border:1px solid var(--border);border-radius:var(--radius-md);z-index:200;opacity:0;pointer-events:none;min-width:120px;transition:opacity var(--transition-fast), transform var(--transition-fast);padding:4px;position:absolute;bottom:calc(100% + 6px);left:0;transform:translateY(4px);box-shadow:0 4px 20px #00000014}.ghost-dropdown-menu.open{opacity:1;pointer-events:auto;transform:translateY(0)}.ghost-dropdown-item{border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;transition:background var(--transition-fast), color var(--transition-fast);white-space:nowrap;padding:6px 12px;font-size:13px}.ghost-dropdown-item:hover{background:var(--bg-hover);color:var(--text-primary)}.ghost-dropdown-item.active{background:var(--bg-tertiary);color:var(--text-primary);font-weight:500}.size-dropdown{position:relative}.size-dropdown-trigger{border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;color:var(--text-secondary);transition:border-color var(--transition-fast), background var(--transition-fast);background:0 0;align-items:center;gap:6px;padding:6px 12px;font-family:inherit;font-size:14px;display:flex}.size-dropdown-trigger:hover,.size-dropdown-trigger.open{background:0 0;border-color:#8e8ea0}.size-dropdown-label{color:var(--text-secondary);font-weight:500}.size-dropdown-arrow{transition:transform var(--transition-fast);align-items:center;display:flex}.size-dropdown-trigger.open .size-dropdown-arrow{transform:rotate(180deg)}.size-dropdown-menu{background:var(--bg-primary);border:1px solid var(--border);border-radius:var(--radius-md);z-index:200;opacity:0;pointer-events:none;min-width:200px;transition:opacity var(--transition-fast), transform var(--transition-fast);padding:4px;position:absolute;bottom:calc(100% + 6px);right:0;transform:translateY(4px);box-shadow:0 4px 20px #00000014}.size-dropdown-menu.open{opacity:1;pointer-events:auto;transform:translateY(0)}.size-dropdown-item{border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;transition:background var(--transition-fast), color var(--transition-fast);white-space:nowrap;padding:8px 12px;font-size:14px}.size-dropdown-item:hover{background:var(--bg-hover);color:var(--text-primary)}.size-dropdown-item.active{background:var(--bg-tertiary);color:var(--text-primary);font-weight:500}.size-custom-row{justify-content:flex-end;align-items:center;gap:8px;padding:0 0 10px;display:flex}.size-custom-input{border:1px solid var(--border);border-radius:var(--radius-sm);width:80px;color:var(--text-primary);-moz-appearance:textfield;background:0 0;outline:none;padding:5px 8px;font-family:inherit;font-size:14px}.size-custom-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.size-custom-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.size-custom-input:focus{border-color:#8e8ea0}.size-custom-x{color:var(--text-tertiary);font-size:14px}.size-custom-hint{color:var(--text-muted);font-size:12px}.input-bar{border:1px solid var(--border);border-radius:var(--radius-lg);background:0 0;flex-direction:row;align-items:center;gap:10px;padding:12px 17px;display:flex}.input-bar-text{color:var(--text-primary);resize:none;background:0 0;border:none;outline:none;flex:1;font-family:inherit;font-size:17px;line-height:1.4;overflow:hidden}.input-bar-text::placeholder{color:var(--text-muted)}.input-bar-attach{border-radius:var(--radius-sm);width:34px;height:34px;color:var(--text-muted);cursor:pointer;transition:border-color var(--transition-fast), color var(--transition-fast);background:0 0;border:1px dashed #c4c4d0;justify-content:center;align-items:center;display:flex}.input-bar-attach:hover{color:var(--text-secondary);border-color:#8e8ea0}.input-bar-send{background:var(--accent);width:40px;height:40px;color:var(--bg-primary);cursor:pointer;transition:opacity var(--transition-fast);border:none;border-radius:10px;justify-content:center;align-items:center;display:flex}.input-bar-send:disabled{background:var(--bg-tertiary);color:var(--text-muted);cursor:default}.message-actions{align-items:center;gap:8px;margin-top:6px;display:flex}.message-retry{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--text-muted);cursor:pointer;transition:color var(--transition-fast), background var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;display:flex}.message-retry:hover{color:var(--text-secondary);background:var(--bg-hover)}.variant-nav{color:var(--text-tertiary);align-items:center;gap:4px;font-size:13px;display:flex}.variant-nav-btn{border-radius:var(--radius-sm);width:26px;height:26px;color:var(--text-muted);cursor:pointer;transition:color var(--transition-fast), background var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;display:flex}.variant-nav-btn:hover{color:var(--text-secondary);background:var(--bg-hover)}.variant-nav-btn:disabled{opacity:.3;cursor:default}.chat-messages{flex-direction:column;flex:1;gap:15px;padding:20px 24px;display:flex;overflow-y:auto}.message{flex-direction:column;max-width:65%;display:flex}.message-ai .image-card{max-width:280px}.message-ai .image-card img{max-width:280px;height:auto}.message-user{align-self:flex-end}.message-ai{align-self:flex-start;max-width:85%}.bubble-user{background:var(--bg-chat-user);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:18px 18px 5px;padding:12px 17px;font-size:17px}.bubble-ai{background:var(--bg-chat-ai);border-radius:var(--radius-lg);border:1px solid var(--border-subtle);padding:12px}.bubble-ai-text{color:var(--text-primary);word-break:break-word;font-size:15px;line-height:1.7;font-family:var(--font-serif);letter-spacing:.01em}.markdown-body p{margin:0 0 10px}.markdown-body p:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{color:var(--text-primary);margin:16px 0 8px;font-weight:600;line-height:1.3}.markdown-body h1{font-size:1.4em}.markdown-body h2{font-size:1.25em}.markdown-body h3{font-size:1.1em}.markdown-body h4,.markdown-body h5,.markdown-body h6{font-size:1em}.markdown-body ul,.markdown-body ol{margin:8px 0;padding-left:24px}.markdown-body li{margin:4px 0}.markdown-body code{background:var(--bg-secondary);border-radius:4px;padding:2px 6px;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:.9em}.markdown-body pre{background:var(--bg-secondary);border-radius:var(--radius-sm);margin:10px 0;padding:12px 16px;overflow-x:auto}.markdown-body pre code{background:0 0;padding:0;font-size:.85em;line-height:1.5}.markdown-body blockquote{border-left:3px solid var(--border);color:var(--text-secondary);margin:10px 0;padding:4px 16px}.markdown-body table{border-collapse:collapse;margin:10px 0;font-size:.9em}.markdown-body th,.markdown-body td{border:1px solid var(--border);text-align:left;padding:6px 12px}.markdown-body th{background:var(--bg-secondary);font-weight:600}.markdown-body hr{border:none;border-top:1px solid var(--border);margin:16px 0}.markdown-body strong{font-weight:600}.markdown-body a{color:var(--text-primary);text-decoration:underline}.thinking-block{background:var(--bg-secondary);border-radius:var(--radius-sm);margin-bottom:10px;padding:8px 12px}.thinking-summary{color:var(--text-tertiary);cursor:pointer;-webkit-user-select:none;user-select:none;font-size:13px;font-weight:500;list-style:none}.thinking-summary::-webkit-details-marker{display:none}.thinking-summary:before{content:"▶ ";transition:transform var(--transition-fast);margin-right:4px;font-size:10px;display:inline-block}.thinking-block[open] .thinking-summary:before{content:"▼ "}.thinking-content{color:var(--text-secondary);white-space:pre-wrap;word-break:break-word;border-top:1px solid var(--border-subtle);margin-top:8px;padding-top:8px;font-size:14px;line-height:1.6}.image-card{cursor:pointer;border-radius:15px;position:relative;overflow:hidden}.image-card img{border-radius:15px;width:100%;display:block}.image-card-overlay{opacity:0;transition:opacity var(--transition-normal);background:#0006;display:flex;position:absolute;inset:0}.image-card:hover .image-card-overlay{opacity:1}.image-card-badge{color:#ffffff8c;background:#0000008c;border-radius:5px;padding:3px 8px;font-size:12px;position:absolute;top:10px;left:10px}.image-card-btn{color:#ffffffd9;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);width:36px;height:36px;transition:background var(--transition-fast), border-color var(--transition-fast);background:#0009;border:1px solid #ffffff26;border-radius:9px;justify-content:center;align-items:center;display:flex;position:absolute}.image-card-btn:hover{background:#000c;border-color:#ffffff4d}.image-card-btn.download{top:10px;right:10px}.image-card-btn.edit{gap:5px;width:auto;padding:0 12px;font-size:14px;bottom:10px;left:10px}.image-card-btn.fullscreen{bottom:10px;right:10px}.landing{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:20px;padding:0 24px;display:flex}.landing-logo{object-fit:contain;height:60px}.landing-title{font-family:var(--font-serif);color:var(--text-primary);letter-spacing:-.4px;font-size:35px;font-weight:500}.landing-subtitle{color:var(--text-tertiary);margin-top:-10px;font-size:17px}.landing-input{width:100%;max-width:700px;margin-top:10px}.suggestion-chips{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px;display:flex}.chip{border:1px solid var(--border);color:var(--text-tertiary);cursor:pointer;transition:border-color var(--transition-fast), color var(--transition-fast);background:0 0;border-radius:24px;padding:6px 15px;font-size:15px}.chip:hover{border-color:var(--border);color:var(--text-secondary)}.recent-row{text-align:center;margin-top:30px}.recent-label{text-transform:uppercase;letter-spacing:1.2px;color:var(--text-muted);margin-bottom:12px;font-size:12px}.recent-grid{justify-content:center;gap:10px;display:flex}.recent-thumb{background:var(--bg-secondary);border:1px solid var(--border-subtle);cursor:pointer;border-radius:10px;width:75px;height:75px;overflow:hidden}.recent-thumb img{object-fit:cover;width:100%;height:100%}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:15px;padding:20px 24px;display:grid}.gallery-grid .image-card img{object-fit:cover;max-height:300px}.history-list{flex-direction:column;padding:20px 24px;display:flex}.history-item{border-radius:var(--radius-md);cursor:pointer;transition:background var(--transition-fast);align-items:center;gap:15px;padding:15px;display:flex}.history-item:hover{background:var(--bg-hover)}.history-thumb{background:var(--bg-secondary);border-radius:10px;flex-shrink:0;width:60px;height:60px;overflow:hidden}.history-thumb img{object-fit:cover;width:100%;height:100%}.history-text{flex:1;overflow:hidden}.history-prompt{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:17px;overflow:hidden}.history-time{color:var(--text-muted);margin-top:3px;font-size:15px}.history-delete{border-radius:var(--radius-sm);width:40px;height:40px;color:var(--text-muted);cursor:pointer;opacity:0;transition:opacity var(--transition-fast), background var(--transition-fast), color var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;display:flex}.history-item:hover .history-delete{opacity:1}.history-delete:hover{color:var(--text-secondary);background:#0000000d}.lightbox{z-index:1000;background:#000000e6;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.lightbox-close{color:#fff;cursor:pointer;width:44px;height:44px;transition:background var(--transition-fast);background:#ffffff1a;border:none;border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;top:20px;right:20px}.lightbox-close:hover{background:#ffffff26}.lightbox img{border-radius:var(--radius-lg);object-fit:contain;max-width:90vw;max-height:80vh}.lightbox-prompt{color:var(--text-secondary);text-align:center;max-width:750px;margin-top:20px;font-size:17px}.toast-container{z-index:1100;flex-direction:column;gap:10px;display:flex;position:fixed;top:20px;right:20px}.toast{background:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-secondary);max-width:440px;padding:15px 20px;font-size:16px;transition:transform .3s;transform:translate(120%)}.toast.show{transform:translate(0)}.toast.error{border-color:#b53333}.loading-dot{background:#8e8ea0;border-radius:50%;width:10px;height:10px;animation:1.2s infinite pulse;display:inline-block}@keyframes pulse{0%,to{opacity:.3}50%{opacity:1}}.fade-in{animation:fadeIn var(--transition-slow)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}::-webkit-scrollbar{width:7px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:var(--text-muted);border-radius:4px}.bubble-ai-error{color:#b53333}.waterfall-wrapper{flex-direction:column;height:calc(100vh - 56px);display:flex;overflow:hidden}.waterfall-tier-bar{border-bottom:1px solid var(--border-subtle);flex-shrink:0;align-items:center;padding:8px 24px;display:flex}.waterfall-tier-bar .ghost-dropdown-menu{top:calc(100% + 6px);bottom:auto;transform:translateY(-4px)}.waterfall-tier-bar .ghost-dropdown-menu.open{transform:translateY(0)}.waterfall-scroll{flex:1;min-height:0;overflow-y:auto}.waterfall-grid{grid-template-columns:repeat(4,1fr);gap:15px;padding:20px 24px;display:grid}.waterfall-landing{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:20px;padding:0 24px;display:flex}.waterfall-load-trigger{color:var(--text-muted);cursor:default;transition:color var(--transition-fast);flex-direction:column;align-items:center;gap:6px;padding:32px 20px;display:flex}.waterfall-load-arrow{font-size:20px;animation:1.5s ease-in-out infinite bounce-down}.waterfall-load-trigger.loading .waterfall-load-arrow{animation:1s linear infinite spin}.waterfall-load-text{font-size:13px}@keyframes bounce-down{0%,to{transform:translateY(0)}50%{transform:translateY(6px)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.waterfall-card{border-radius:var(--radius-lg);background:var(--bg-secondary);position:relative;overflow:hidden}.waterfall-card.loading{animation:1.5s ease-in-out infinite shimmer}@keyframes shimmer{0%,to{opacity:.6}50%{opacity:1}}.waterfall-card img{width:100%;height:auto;display:block}.waterfall-card-overlay{opacity:0;transition:opacity var(--transition-fast);background:#00000073;justify-content:flex-end;align-items:flex-end;gap:8px;padding:12px;display:flex;position:absolute;inset:0}.waterfall-card:hover .waterfall-card-overlay{opacity:1}.waterfall-card-btn{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer;width:36px;height:36px;transition:background var(--transition-fast);background:#ffffff26;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex}.waterfall-card-btn:hover{background:#ffffff4d}.waterfall-card.text-card{border:1px solid var(--border-subtle);padding:16px}.waterfall-text-content{color:var(--text-secondary);font-size:14px;line-height:1.6}.waterfall-card.error-card{color:#b53333;border:1px solid #b53333;padding:16px;font-size:14px;line-height:1.5}.waterfall-card.error-card button{color:#b53333;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:1px solid #b53333;margin-top:10px;padding:4px 12px;font-family:inherit;font-size:13px}.waterfall-card.error-card button:hover{background:#b533331a}.warning-popup-overlay{z-index:500;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.warning-popup-card{background:var(--bg-primary);border:1px solid var(--border);border-radius:var(--radius-xl);text-align:center;width:100%;max-width:440px;padding:28px 32px;box-shadow:0 8px 40px #00000026}.warning-popup-lang{justify-content:flex-end;gap:4px;margin-bottom:12px;display:flex}.warning-popup-lang-btn{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast);background:0 0;padding:3px 10px;font-family:inherit;font-size:12px}.warning-popup-lang-btn.active{background:var(--text-primary);color:var(--bg-primary);border-color:var(--text-primary)}.warning-popup-icon{color:var(--text-tertiary);margin-bottom:12px}.warning-popup-title{color:var(--text-primary);margin-bottom:12px;font-size:18px;font-weight:600}.warning-popup-body{color:var(--text-secondary);margin-bottom:24px;font-size:14px;line-height:1.7}.warning-popup-btn{background:var(--text-primary);color:var(--bg-primary);border-radius:var(--radius-md);cursor:pointer;transition:opacity var(--transition-fast);border:none;padding:10px 32px;font-family:inherit;font-size:14px;font-weight:500}.warning-popup-btn:hover{opacity:.85}[data-theme=dark]{--bg-primary:#1a1a1a;--bg-secondary:#242424;--bg-tertiary:#2e2e2e;--bg-hover:#333;--bg-chat-user:#242424;--bg-chat-ai:#1a1a1a;--border:#3a3a3a;--border-subtle:#2e2e2e;--text-primary:#e8e8e8;--text-secondary:#b0b0b0;--text-tertiary:gray;--text-muted:#555;--accent:#e8e8e8}[data-theme=dark] .header-logo-icon,[data-theme=dark] .landing-logo,[data-theme=dark] .settings-view img{filter:invert()}[data-theme=dark] .bubble-ai-error{color:#e05555}[data-theme=dark] .toggle-slider:before{box-shadow:0 1px 3px #0006}@media (width<=1200px){.waterfall-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=900px){.waterfall-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.header{padding:0 15px}.header-logo-text,.header-tabs{display:none}.header-icon-btn[data-action=menu]{display:flex}.header-btn-label{display:none}.landing-title{font-size:27px}.landing-subtitle{font-size:15px}.suggestion-chips{gap:6px}.chip{padding:5px 10px;font-size:13px}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}.chat-messages{padding:15px}.message{max-width:85%}.message-ai{max-width:95%}.waterfall-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding:15px}.waterfall-tier-bar{padding:8px 15px}.warning-popup-card{padding:24px 20px}}
