@import"https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&family=Lora:wght@500;600;700&family=Noto+Serif:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700;800&display=swap";@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,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) 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.44"}.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-scheme:dark;--font-ui: "Public Sans", sans-serif;--font-heading: "Lora", serif;--font-user: "Be Vietnam Pro", sans-serif;--font-ai: "Noto Serif", serif;--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--bg: #262524;--bg-soft: rgba(33, 32, 31, .96);--bg-panel: rgba(54, 50, 48, .88);--bg-panel-strong: rgba(41, 39, 38, .96);--bg-panel-glass: rgba(46, 43, 41, .82);--line: rgba(255, 255, 255, .08);--line-strong: rgba(255, 255, 255, .14);--text: #f3ede7;--text-soft: #b8aea6;--text-mute: #8e847c;--blue: #7c78ff;--cyan: #8c9bff;--green: #62b38c;--orange: #c99d6a;--red: #d77783;--shadow: 0 18px 40px rgba(0, 0, 0, .22);--radius-xl: 30px;--radius-lg: 24px;--radius-md: 18px;--grid-line: rgba(255, 255, 255, .015);--bg-accent-1: rgba(124, 120, 255, .06);--bg-accent-2: rgba(255, 255, 255, .03);--orb-blue: rgba(124, 120, 255, .12);--orb-cyan: rgba(255, 255, 255, .06);--orb-green: rgba(98, 179, 140, .05);--surface-sidebar: #1b1b1b;--surface-header: rgba(38, 37, 36, .96);--surface-soft: rgba(255, 255, 255, .04);--surface-soft-strong: rgba(255, 255, 255, .06);--surface-soft-hover: rgba(255, 255, 255, .08);--surface-soft-active: rgba(255, 255, 255, .1);--surface-menu: rgba(60, 55, 52, .98);--surface-popover: rgba(40, 39, 38, .98);--surface-chat-user: #373331;--surface-chat-user-pending: #312d2b;--surface-chat-ai: #2e2b29;--surface-code: rgba(22, 21, 20, .96);--surface-code-toolbar: rgba(33, 32, 31, .96);--surface-composer: #353230;--surface-overlay: rgba(3, 9, 20, .72);--surface-modal: rgba(33, 32, 31, .98);--surface-attachment: rgba(255, 255, 255, .05);--button-primary-bg: #f3ede7;--button-primary-text: #1f1e1d;--danger-surface: rgba(91, 17, 27, .36);--danger-line: rgba(255, 95, 115, .22);--danger-text: #ffd6dd}:root[data-theme=light]{color-scheme:light;--bg: #f4efe8;--bg-soft: rgba(255, 252, 247, .92);--bg-panel: rgba(255, 255, 255, .92);--bg-panel-strong: rgba(255, 255, 255, .98);--bg-panel-glass: rgba(255, 255, 255, .88);--line: rgba(53, 44, 38, .1);--line-strong: rgba(53, 44, 38, .16);--text: #2f2925;--text-soft: #665d56;--text-mute: #8d837b;--blue: #6768f7;--cyan: #5d7cff;--green: #3d956d;--orange: #b77b45;--red: #c95d72;--shadow: 0 20px 48px rgba(70, 58, 48, .12);--grid-line: rgba(47, 41, 37, .04);--bg-accent-1: rgba(103, 104, 247, .08);--bg-accent-2: rgba(96, 151, 231, .05);--orb-blue: rgba(103, 104, 247, .1);--orb-cyan: rgba(96, 151, 231, .09);--orb-green: rgba(61, 149, 109, .08);--surface-sidebar: #f6f2eb;--surface-header: rgba(248, 244, 238, .94);--surface-soft: rgba(53, 44, 38, .04);--surface-soft-strong: rgba(53, 44, 38, .06);--surface-soft-hover: rgba(53, 44, 38, .08);--surface-soft-active: rgba(53, 44, 38, .11);--surface-menu: rgba(255, 255, 255, .98);--surface-popover: rgba(255, 255, 255, .98);--surface-chat-user: #ebe2d7;--surface-chat-user-pending: #e4dbcf;--surface-chat-ai: rgba(255, 255, 255, .94);--surface-code: #f4efe7;--surface-code-toolbar: #eee6dc;--surface-composer: rgba(255, 255, 255, .97);--surface-overlay: rgba(72, 58, 46, .18);--surface-modal: rgba(255, 255, 255, .99);--surface-attachment: rgba(53, 44, 38, .05);--button-primary-bg: #2a2521;--button-primary-text: #fbf7f1;--danger-surface: rgba(194, 72, 91, .12);--danger-line: rgba(194, 72, 91, .22);--danger-text: #9b3346}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;overflow:auto;font-family:var(--font-ui);background:radial-gradient(circle at top left,var(--bg-accent-1),transparent 24%),radial-gradient(circle at 82% 14%,var(--bg-accent-2),transparent 22%),var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;transition:background .28s ease,color .26s ease}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{position:relative;min-height:100vh;display:grid;grid-template-columns:320px minmax(0,1fr);background:var(--bg)}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:14;display:none;border:0;padding:0;background:var(--surface-overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.app-shell.is-chat-active{height:100dvh;min-height:100dvh;overflow:hidden}.app-shell.sidebar-collapsed{grid-template-columns:92px minmax(0,1fr)}.background-decor{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:0}.background-grid{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:96px 96px;-webkit-mask-image:radial-gradient(circle at center,black 24%,transparent 76%);mask-image:radial-gradient(circle at center,black 24%,transparent 76%)}.orb{position:absolute;border-radius:999px;filter:blur(72px);opacity:.16}.orb-blue{width:340px;height:340px;background:var(--orb-blue);top:56px;left:16%}.orb-cyan{width:300px;height:300px;background:var(--orb-cyan);top:34%;right:6%}.orb-green{width:260px;height:260px;background:var(--orb-green);bottom:3%;left:40%}.sidebar,.main-shell,.header-bar,.sidebar-toggle,.sidebar-icon-button,.sidebar-session-dot,.sidebar-nav-button,.history-search,.history-mini-action,.compact-select-shell,.navbar-toggle-button,.navbar-mini-button,.mode-menu__panel,.model-menu__panel,.battle-summary,.navbar-battle--compact,.model-chip,.turn-card__prompt,.turn-card__attachment,.response-card,.markdown-body pre,.markdown-body :not(pre)>code,.markdown-asset,.markdown-asset__toolbar,.markdown-copy,.response-preview-card,.composer,.composer-attachment-chip,.composer-attachment-chip button,.popup-dialog,.theme-toggle-button{transition:background-color .26s ease,border-color .26s ease,color .26s ease,box-shadow .26s ease}.sidebar,.main-shell{position:relative;z-index:1}.auth-shell,.shared-shell{position:relative;min-height:100vh}.auth-shell{display:grid;place-items:center;padding:28px}.boot-loader-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{position:relative;z-index:1;width:min(100%,620px);display:flex;flex-direction:column;gap:22px;padding:28px;border-radius:32px;border:1px solid rgba(94,132,188,.16);background:radial-gradient(circle at top right,rgba(53,111,214,.1),transparent 30%),linear-gradient(180deg,#111926f5,#0c121cfa);box-shadow:var(--shadow)}.auth-card__hero{display:flex;flex-direction:column}.auth-card__hero h1{margin:8px 0 12px;font-size:clamp(1.9rem,4vw,2.9rem);line-height:1.08;font-family:Be Vietnam Pro,sans-serif}.auth-card__hero p:last-child{margin:0;color:var(--text-soft);line-height:1.7}.auth-switch{display:inline-flex;gap:10px;padding:6px;border-radius:18px;border:1px solid var(--line);background:#0a1323c7}.auth-switch button{border:0;padding:11px 18px;border-radius:14px;color:var(--text-soft);background:transparent;transition:background .18s ease,color .18s ease}.auth-switch button.active{color:var(--text);background:#188bff24}.auth-fields{display:grid;gap:14px}.auth-field{display:flex;flex-direction:column;gap:10px}.auth-field span{font-weight:700}.auth-input-shell{display:flex;align-items:center;gap:10px;min-height:54px;padding:0 16px;border-radius:18px;border:1px solid var(--line);background:#0a1425eb;color:var(--text-soft)}.auth-input-shell input{width:100%;border:0;outline:none;color:var(--text);background:transparent}.auth-error{padding:12px 14px;border-radius:16px;border:1px solid rgba(255,95,115,.22);background:#5b111b57;color:#ffd7dc}.shared-shell__main{min-height:100vh}.shared-stage{margin-top:12px}.sidebar{display:flex;flex-direction:column;gap:12px;min-height:100vh;padding:10px 12px 12px;border-right:1px solid var(--line);background:var(--surface-sidebar);-webkit-backdrop-filter:none;backdrop-filter:none;overflow:hidden}.app-shell.is-chat-active .sidebar{min-height:0;height:100dvh}.sidebar.collapsed{align-items:center;padding:10px 8px 12px;gap:12px}.sidebar-topbar,.sidebar-mini-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sidebar-topbar{width:100%}.sidebar-mini-top{width:100%;flex-direction:column;align-items:center}.brand-block{display:flex;align-items:center;gap:12px}.brand-copy{display:flex;flex-direction:column;gap:8px}.brand-mark{width:44px;height:44px;padding:4px;border-radius:14px;display:grid;place-items:center;background:var(--surface-soft-strong);border:1px solid var(--line);box-shadow:none;font-family:var(--font-ui);font-size:.96rem;font-weight:800}.brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:10px}.brand-logo{display:block;width:clamp(140px,14vw,188px);height:auto;object-fit:contain}.brand-title{margin:0;font-size:.98rem;font-weight:700;letter-spacing:.01em;font-family:var(--font-ui)}.brand-subtitle{margin:0;color:var(--text-soft);font-size:.8rem;line-height:1.35;font-family:var(--font-ui)}.auth-brand-logo{display:block;width:min(280px,100%);height:auto;margin:0 auto 18px}.gradient-loader{--loader-size: 120px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.gradient-loader__animation{width:var(--loader-size);height:var(--loader-size);pointer-events:none}.gradient-loader__label{color:var(--text-soft);font-size:.9rem;font-family:var(--font-ui);text-align:center}.gradient-loader--hero{gap:16px}.gradient-loader--hero .gradient-loader__label{font-size:1rem}.gradient-loader--button{--loader-size: 24px;gap:0}.gradient-loader--button .gradient-loader__label{display:none}.sidebar-section{display:flex;flex-direction:column;gap:12px;min-height:0}.sidebar-mini-actions{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:2px}.sidebar-toggle,.sidebar-icon-button,.sidebar-session-dot{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}.sidebar-toggle{width:36px;height:36px;border-radius:10px}.sidebar-icon-button,.sidebar-session-dot{width:40px;height:40px;border-radius:12px}.sidebar-session-dot.active,.sidebar-icon-button:hover,.sidebar-toggle:hover,.sidebar-session-dot:hover{transform:translateY(-2px);border-color:var(--line-strong);background:var(--surface-soft-hover);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line-strong) 46%,transparent)}.grow{flex:1;min-height:0}.section-label{margin:0;text-transform:uppercase;letter-spacing:.12em;color:var(--text-mute);font-size:.72rem;font-weight:700;font-family:var(--font-ui)}.section-row{display:flex;justify-content:space-between;align-items:center}.section-actions{display:flex;align-items:center;gap:8px}.section-meta{color:var(--text-soft);font-size:.82rem;font-family:var(--font-ui)}.history-mini-action{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease}.history-mini-action:hover{transform:translateY(-1px);border-color:var(--line-strong);background:var(--surface-soft-hover)}.sidebar-shortcuts{display:flex;flex-direction:column;gap:8px}.sidebar-nav-button{width:100%;display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0 12px;border-radius:12px;border:1px solid transparent;background:var(--surface-soft);color:var(--text);transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;font-family:var(--font-ui);font-weight:600}.sidebar-nav-button.is-primary{background:var(--surface-soft-strong);border-color:var(--line)}.sidebar-nav-button:hover{transform:translateY(-1px);background:var(--surface-soft-hover);border-color:var(--line-strong)}.sidebar-nav-button.is-primary:hover{background:var(--surface-soft-active)}.history-search{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text-soft);font-family:var(--font-ui)}.history-search input{width:100%;border:0;outline:none;color:var(--text);background:transparent;font-family:var(--font-ui)}.history-search input::placeholder{color:var(--text-mute)}.primary-button,.ghost-button,.danger-button,.vote-button,.quick-prompt,.send-button,.model-chip,.navbar-pill,.session-delete{border:0;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease,opacity .18s ease}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 18px;color:#fff;background:linear-gradient(135deg,#295fb8,#3d79dc);border-radius:18px;font-weight:700;box-shadow:0 14px 28px #295fb83d}.wide{width:100%}.ghost-button,.danger-button,.vote-button,.session-delete{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:14px;color:var(--text);background:var(--surface-soft);border:1px solid var(--line)}.danger-button{color:#fff;background:linear-gradient(135deg,#bb4f61,#d96c7a);border-color:#d96c7a38;box-shadow:0 14px 24px #bb4f612e}.ghost-button:hover,.vote-button:hover,.quick-prompt:hover,.primary-button:hover,.send-button:hover,.model-chip:hover,.navbar-pill:hover,.session-delete:hover{transform:translateY(-2px)}.sidebar-stats,.hero-modes,.quick-prompts{display:grid;gap:12px}.sidebar-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-stat{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:18px;background:var(--surface-soft);border:1px solid var(--line);color:var(--text-soft)}.mini-stat strong{display:block;color:var(--text)}.mini-stat span{font-size:.78rem}.session-list{display:flex;flex-direction:column;flex:1 1 auto;gap:10px;overflow-y:auto;min-height:0;padding-right:4px;padding-bottom:16px}.history-group{display:flex;flex-direction:column;gap:6px}.history-group__label{padding:0 2px;color:var(--text-mute);font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.history-empty{display:grid;place-items:center;min-height:160px;padding:18px;border-radius:16px;border:1px dashed var(--line);color:var(--text-soft);text-align:center;background:var(--surface-soft)}.history-filter-row{display:flex;flex-wrap:wrap;gap:8px}.history-filter-chip{border:1px solid rgba(255,255,255,.06);background:#ffffff08;color:var(--text-soft);padding:7px 11px;border-radius:999px}.history-filter-chip.active{color:var(--text);border-color:#ffffff1f;background:#ffffff14}.history-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:var(--surface-soft)}.history-bulk-bar>div{display:flex;gap:8px;flex-wrap:wrap}.session-item{display:flex;align-items:center;gap:10px;padding:6px 8px;background:transparent;border:1px solid transparent;border-radius:12px;box-shadow:none}.session-item.pinned{border-color:#ffc64729}.session-item.active{border-color:var(--line);background:var(--surface-soft-strong)}.session-select{width:38px;min-width:38px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text-soft)}.session-select.selected{color:var(--text);border-color:#5f80b442;background:color-mix(in srgb,var(--blue) 18%,var(--surface-soft))}.session-item__button{flex:1;min-width:0;padding:4px 2px;background:transparent;border:0;color:inherit;display:flex;gap:10px;align-items:center;text-align:left}.session-item__icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-weight:800;color:var(--text);background:var(--surface-soft-strong)}.session-item__icon.tone-battle{background:#d39a5929;color:#f0cf9f}.session-item__icon.tone-side{background:#8fb5eb24;color:#d7e5f8}.session-item__icon.tone-direct{background:#44b57d24;color:#d2f0df}.session-item__content{display:flex;flex-direction:column;gap:3px;min-width:0}.session-item__content strong{font-size:.92rem;display:block;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-item__content span{color:var(--text-soft);font-size:.78rem}.session-item__meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--text-mute);font-size:.76rem}.session-inline-input{width:100%;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);border-radius:10px;padding:9px 11px}.session-menu-shell{position:relative;flex:0 0 auto;align-self:flex-start}.session-menu-trigger{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--text-soft)}.session-menu-trigger:hover{color:var(--text);border-color:var(--line);background:var(--surface-soft)}.session-menu-list,.session-menu-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:12;min-width:220px;display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:14px;border:1px solid var(--line);background:var(--surface-popover);box-shadow:0 18px 42px #00000052}.session-menu-popover{position:fixed;top:auto;right:auto;width:min(236px,calc(100vw - 32px));z-index:60}.session-menu-item{width:100%;display:inline-flex;align-items:center;gap:10px;padding:11px 12px;border-radius:12px;border:0;background:transparent;color:var(--text);text-align:left}.session-menu-item:hover{background:var(--surface-soft-hover)}.session-menu-item.danger{color:var(--danger-text)}.session-menu-item.danger:hover{background:color-mix(in srgb,var(--danger-surface) 78%,transparent)}.sidebar-footer{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:10px;color:var(--text-soft);font-size:.84rem;border-top:1px solid var(--line)}.sidebar-profile{display:flex;align-items:center;gap:10px}.sidebar-profile__avatar{width:34px;height:34px;border-radius:999px;display:grid;place-items:center;background:var(--surface-soft-hover);color:var(--text);font-size:.82rem;font-weight:700}.sidebar-profile__content{display:flex;flex-direction:column;min-width:0}.sidebar-profile__content strong{font-size:.9rem;line-height:1.25}.sidebar-profile__content span{color:var(--text-mute);font-size:.76rem}.sidebar-logout{width:100%}.popup-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:24px;background:var(--surface-overlay);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.popup-dialog{width:min(100%,520px);display:flex;flex-direction:column;gap:18px;padding:24px;border-radius:28px;border:1px solid var(--line);background:var(--surface-modal);box-shadow:var(--shadow)}.popup-dialog__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;color:var(--danger-text);background:color-mix(in srgb,var(--danger-surface) 82%,transparent);border:1px solid var(--danger-line)}.popup-dialog__content h3{margin:0 0 8px;font-size:1.45rem;font-family:Be Vietnam Pro,sans-serif}.popup-dialog__content p{margin:0;color:var(--text-soft);line-height:1.72}.popup-dialog__error{margin-top:14px;padding:12px 14px;border-radius:16px;color:var(--danger-text);background:var(--danger-surface);border:1px solid var(--danger-line)}.popup-dialog__actions{display:flex;justify-content:flex-end;gap:10px}.main-shell{display:flex;flex-direction:column;gap:0;padding:0;background:var(--bg);min-width:0}.app-shell.is-chat-active .main-shell{min-height:0;height:100dvh;overflow:hidden}.header-bar{display:flex;flex-direction:column;gap:8px;padding:10px 16px;background:var(--surface-header);border:0;border-bottom:1px solid var(--line);border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;position:sticky;top:0;z-index:4}.header-bar.is-compact,.header-bar.is-idle-bar{gap:8px;padding:10px 16px;border-radius:0}.header-bar__compact{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;width:100%;min-width:0}.header-bar__actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.compact-navbar-selects{display:flex;align-items:center;gap:10px;width:100%;min-width:0}.compact-navbar-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1;width:100%}.compact-model-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1 1 420px;min-width:0;width:100%}.header-bar__subtle-meta{display:flex;gap:18px;padding-left:48px;color:var(--text-mute);font-size:.78rem;line-height:1.4;font-family:var(--font-ui)}.navbar-toggle-button,.navbar-mini-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);font-family:var(--font-ui)}.theme-toggle-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text)}.theme-toggle-button:hover,.navbar-toggle-button:hover,.navbar-mini-button:hover,.compact-select-shell:hover,.battle-summary:hover{background:var(--surface-soft-hover);border-color:var(--line-strong)}.theme-toggle-button__icon{display:inline-flex;align-items:center;justify-content:center}.navbar-toggle-button{width:36px;padding:0}.navbar-mini-button{flex:0 0 auto;white-space:nowrap}.header-sidebar-toggle{white-space:nowrap}.compact-navbar-select{flex:0 0 auto}.mode-menu,.model-menu{position:relative;min-width:0}.compact-select-shell{display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);font-family:var(--font-ui)}.mode-menu__trigger{min-width:226px;justify-content:space-between}.mode-menu__trigger span{flex:1;text-align:left}.mode-menu__trigger .rotated{transform:rotate(180deg)}.mode-menu__panel{position:absolute;top:calc(100% + 10px);left:0;z-index:30;width:min(320px,calc(100vw - 40px));display:flex;flex-direction:column;overflow:hidden;border-radius:16px;border:1px solid var(--line);background:var(--surface-menu);box-shadow:0 22px 48px #00000057;transform-origin:top left}.mode-menu__item{width:100%;display:flex;align-items:flex-start;gap:14px;padding:18px 16px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.mode-menu__item:last-child{border-bottom:0}.mode-menu__item:hover,.mode-menu__item.active{background:var(--surface-soft-hover)}.mode-menu__icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;color:#f2e8de;flex:0 0 auto}.mode-menu__copy{display:flex;flex-direction:column;gap:4px;min-width:0}.mode-menu__copy strong{font-size:.98rem;font-weight:600;line-height:1.25;font-family:var(--font-ui)}.mode-menu__copy span{color:var(--text-soft);font-size:.84rem;line-height:1.45;font-family:var(--font-ui)}.model-menu__trigger{min-width:0;width:100%;justify-content:space-between}.model-menu__trigger-copy{display:flex;flex-direction:column;min-width:0;gap:1px;text-align:left}.model-menu__trigger-copy strong{font-size:.92rem;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-ui)}.model-menu__trigger-copy span{color:var(--text-mute);font-size:.72rem;line-height:1.2;font-family:var(--font-ui)}.model-menu__panel{position:absolute;top:calc(100% + 10px);left:0;z-index:30;width:min(420px,calc(100vw - 40px));overflow:hidden;border-radius:16px;border:1px solid var(--line);background:var(--surface-popover);box-shadow:0 22px 48px #00000057;transform-origin:top left}.model-menu__list{max-height:min(420px,60vh);overflow-y:auto;padding:8px}.model-menu__item{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:var(--text);text-align:left}.model-menu__item:hover,.model-menu__item.active{background:var(--surface-soft-hover)}.model-menu__item.active{color:#fff;box-shadow:inset 0 0 0 1px #7c78ff5c}:root[data-theme=light] .model-menu__item.active{color:var(--text)}.model-menu__check{width:18px;min-width:18px;display:inline-flex;align-items:center;justify-content:center;color:#efe7df}.model-menu__copy{display:flex;flex-direction:column;min-width:0;gap:2px}.model-menu__copy strong{font-size:.94rem;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-ui)}.model-menu__copy span{color:var(--text-mute);font-size:.76rem;line-height:1.25;font-family:var(--font-ui)}.compact-select-shell select{border:0;outline:none;background:transparent;color:inherit;min-width:0;padding-right:8px}.panel__header,.composer__body,.field-heading,.battle-actions,.battle-actions__group,.response-card__label,.response-card__meta,.turn-card__prompt-meta,.hero-mode{display:flex;align-items:center}.panel__header h2,.empty-state h2{margin:4px 0 0;font-family:var(--font-heading);letter-spacing:-.025em}.status-chip,.panel__badge,.empty-state__badge,.composer__hint,.response-card__badge,.vote-summary{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:8px 11px;background:#ffffff0a;border:1px solid var(--line);color:var(--text-soft);font-size:.82rem;font-family:var(--font-ui)}.navbar-config{display:flex;flex-wrap:wrap;gap:10px;padding:0;border-radius:0;background:transparent;border:0}.navbar-config--compact{flex:1;min-width:0;align-items:center;justify-content:flex-start;gap:10px;padding:0;background:transparent;border:0}.navbar-config--compact.navbar-config--side-by-side{display:grid;grid-template-columns:minmax(200px,240px) minmax(0,1fr);align-items:center}.navbar-field{display:flex;flex-direction:column;gap:8px;min-width:min(100%,280px);flex:1}.navbar-field--wide{max-width:520px}.navbar-field--compact{min-width:0;max-width:320px;flex:1 1 220px}.navbar-field--compact>span{display:none}.model-menu--stretch{min-width:0;max-width:none;width:100%;flex:1 1 0}.navbar-field span,.field-heading span,.navbar-battle__heading strong{font-weight:700;font-family:var(--font-ui)}.navbar-field select,.composer textarea{width:100%;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);border-radius:16px}.navbar-field select{padding:12px 14px;min-height:44px}.navbar-field--compact select{min-height:36px;padding:8px 12px;border-radius:10px}.navbar-battle{display:flex;flex-direction:column;gap:14px;width:100%}.navbar-battle__heading{display:flex;flex-direction:column;gap:6px}.navbar-battle__heading span{color:var(--text-soft);font-size:.88rem;font-family:var(--font-ui)}.navbar-battle__chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;max-height:210px;overflow-y:auto;padding-right:4px}.battle-summary-shell{display:flex;flex-direction:column;align-items:stretch;gap:10px;flex:1;min-width:0}.battle-summary{display:inline-flex;align-items:center;gap:10px;align-self:flex-end;padding:8px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);font-family:var(--font-ui)}.battle-summary small{color:var(--text-mute);font-size:.78rem;font-weight:600}.navbar-config--compact .battle-summary{align-self:flex-start}.battle-summary.active{border-color:var(--line-strong);background:var(--surface-soft-hover)}.battle-summary .rotated{transform:rotate(180deg)}.navbar-battle--compact{width:100%;padding:12px;border-radius:14px;border:1px solid var(--line);background:var(--surface-soft)}.battle-count-pills{display:flex;flex-wrap:wrap;gap:8px}.navbar-pill{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text-soft);font-family:var(--font-ui);font-size:.82rem;font-weight:700}.battle-count-pill.active{color:var(--text);border-color:var(--line-strong);background:var(--surface-soft-hover)}.navbar-battle__meta-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--text-soft);font-size:.82rem;font-family:var(--font-ui)}.navbar-battle__chips--chat-hub{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-height:320px}.model-chip{padding:12px;text-align:left;border-radius:12px;background:var(--surface-soft);border:1px solid transparent;color:var(--text)}.model-chip strong{display:block;margin-bottom:4px}.model-chip span{color:var(--text-soft);font-size:.82rem}.model-chip.active{border-color:color-mix(in srgb,var(--chip-accent) 42%,white 12%);box-shadow:none;background:var(--surface-soft-hover)}.battle-model-tile{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}.battle-model-tile__content{min-width:0}.battle-model-tile__order{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface-chat-ai) 92%,transparent);color:var(--text-mute);font-size:.78rem;font-weight:800;flex:0 0 auto}.battle-model-tile__order.active{border-color:color-mix(in srgb,var(--chip-accent) 44%,white 12%);background:color-mix(in srgb,var(--chip-accent) 16%,transparent);color:var(--text)}.arena-stage{flex:1;min-height:0;display:flex;flex-direction:column;border-radius:0;border:0;background:transparent;box-shadow:none;overflow:hidden}.arena-stage.is-idle{overflow:visible;padding:clamp(24px,4vw,46px) 32px 40px;gap:28px;justify-content:center}.arena-stage.is-active{padding:0 24px 16px;gap:16px;min-height:0}.chat-board{min-height:0;display:flex;flex-direction:column}.chat-board.empty{justify-content:center;align-items:center;padding:clamp(24px,10vh,88px) 0 0}.chat-board.active{flex:1;min-height:0;overflow:hidden}.empty-state{max-width:920px;margin:0 auto;text-align:center}.compare-empty-shell,.multi-compare-shell{width:min(100%,1400px);margin:0 auto}.compare-empty-grid,.multi-compare-grid{display:grid;gap:14px;width:100%}.compare-empty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.multi-compare-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compare-empty-card,.multi-compare-card{min-height:360px;padding:18px 18px 20px;border-radius:24px;border:1px solid color-mix(in srgb,var(--card-accent, var(--line-strong)) 26%,var(--line));background:color-mix(in srgb,var(--surface-chat-ai) 90%,white 10%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--card-accent, var(--line-strong)) 10%,transparent)}.compare-empty-card__header,.multi-compare-card__header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text-soft)}.compare-empty-card__identity,.multi-compare-card__identity{min-width:0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.compare-empty-card__dot,.multi-compare-card__dot{width:12px;height:12px;border-radius:999px;background:var(--card-accent, var(--line-strong));box-shadow:0 0 12px color-mix(in srgb,var(--card-accent, var(--line-strong)) 34%,transparent)}.compare-empty-card__identity strong,.multi-compare-card__identity strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:1rem;font-weight:700;font-family:var(--font-ui)}.compare-empty-card__identity small,.multi-compare-card__identity small{display:block;color:var(--text-mute);font-size:.82rem;font-family:var(--font-ui);white-space:nowrap}.compare-empty-card__divider,.multi-compare-card__divider{height:1px;margin:14px 0 0;background:var(--line)}.compare-empty-card__body,.multi-compare-card__body{min-height:260px;margin-top:16px;border-radius:18px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface-soft) 88%,transparent),transparent 28%),color-mix(in srgb,var(--surface-chat-ai) 94%,black 6%)}.empty-state h2{font-size:clamp(3.8rem,6vw,5.8rem);line-height:.94;margin-top:0;max-width:860px}.empty-state p{max-width:620px;margin:12px auto 0;color:var(--text-soft);line-height:1.68;font-size:.98rem;font-family:var(--font-ui)}.hero-modes{display:none}.quick-prompts{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,860px);margin:22px auto 0}.quick-prompt{padding:12px 14px;border-radius:16px;text-align:left;color:var(--text-soft);background:var(--surface-soft);border:1px solid var(--line);font-family:var(--font-ui)}.panel__header{justify-content:space-between;gap:12px;width:min(100%,960px);margin:0 auto 10px;padding-top:12px;flex-shrink:0}.panel__header>div:first-child{min-width:0}.panel__header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.turn-list{display:flex;flex:1;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;width:min(100%,960px);margin:0 auto;padding-right:6px;padding-bottom:6px}.turn-card{display:flex;flex-direction:column;gap:14px;padding:0 0 18px;border-radius:0;background:transparent;border:0}.turn-card__user,.turn-card__assistant{display:flex;flex-direction:column;width:100%}.turn-card__user{align-items:flex-end}.turn-card__assistant{align-items:flex-start}.turn-card__assistant-actions{display:flex;flex-wrap:nowrap;gap:8px;margin-top:8px;align-items:center;overflow-x:auto}.turn-card__prompt{width:min(100%,680px);padding:13px 15px;border-radius:20px;background:var(--surface-chat-user);border:1px solid var(--line);box-shadow:none;font-family:var(--font-user)}.turn-card__prompt.pending{background:var(--surface-chat-user-pending)}.turn-card__prompt-meta{justify-content:space-between;color:var(--text-mute);font-size:.82rem;margin-bottom:8px;font-family:var(--font-user);letter-spacing:-.01em}.turn-card__prompt p{margin:0;font-size:1rem;line-height:1.7;font-family:var(--font-user);font-weight:500}.turn-card__attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.turn-card__attachment{display:inline-flex;align-items:center;padding:8px 10px;border-radius:12px;border:1px solid var(--line);background:var(--surface-attachment);color:var(--text-soft);font-size:.8rem;font-family:var(--font-ui)}.turn-card__prompt-actions{display:flex;gap:8px;margin-top:10px;justify-content:flex-end;align-items:center}.response-grid{display:grid;gap:12px;width:100%}.response-grid.double{grid-template-columns:repeat(2,minmax(0,1fr))}.response-grid.multi{grid-template-columns:repeat(var(--grid-columns, 3),minmax(0,1fr))}.response-grid.single{grid-template-columns:minmax(0,1fr);max-width:min(100%,820px)}.response-card{display:flex;flex-direction:column;gap:14px;min-height:220px;padding:16px;border-radius:20px;background:var(--surface-chat-ai);border:1px solid var(--line);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 36%,transparent)}.response-grid.single .response-card{min-height:0;padding:0;border-radius:0;background:transparent;border:0;box-shadow:none}.response-grid.single .response-card__actions{margin-top:16px}.response-grid.single .response-card__footer{display:none}.response-card.is-loading{justify-content:space-between}.response-loader-body{flex:1;min-height:180px;display:grid;place-items:center}.gradient-loader--response .gradient-loader__label{font-size:.84rem}.response-card.is-streaming{border-color:color-mix(in srgb,var(--card-accent) 30%,rgba(96,151,231,.2));box-shadow:inset 0 0 0 1px #ffffff05,0 0 0 1px #356fd60a}.response-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.response-card>.markdown-body{flex:1}.response-card__label{gap:8px;font-weight:700;font-family:var(--font-ui)}.response-card__dot{width:10px;height:10px;border-radius:999px;background:var(--card-accent, var(--blue));box-shadow:0 0 8px color-mix(in srgb,var(--card-accent, var(--blue)) 36%,transparent)}.response-card__meta{gap:10px;margin-top:6px;color:var(--text-soft);font-size:.82rem;font-family:var(--font-ui)}.response-card__badge.muted{color:var(--text-soft)}.markdown-body{color:var(--text);line-height:1.72;overflow-wrap:anywhere;font-family:var(--font-ai);font-size:1.03rem}.markdown-body h1,.markdown-body h2,.markdown-body h3{font-family:var(--font-heading);letter-spacing:-.02em}.markdown-body>*:first-child{margin-top:0}.markdown-body>*:last-child{margin-bottom:0}.markdown-body pre{margin:0;padding:16px;border-radius:16px;background:var(--surface-code);overflow-x:auto;border:1px solid var(--line)}.markdown-body code{font-family:var(--font-mono)}.markdown-body :not(pre)>code{padding:.18rem .42rem;border-radius:8px;background:var(--surface-soft);border:1px solid var(--line)}.markdown-asset{margin:0 0 14px;border-radius:18px;border:1px solid var(--line);background:var(--surface-code);overflow:hidden}.markdown-asset__toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);background:var(--surface-code-toolbar);color:var(--text-soft);font-size:.8rem;text-transform:uppercase;font-family:var(--font-ui);letter-spacing:.08em}.markdown-copy{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface-attachment);color:var(--text);transition:transform .18s ease,border-color .18s ease,background .18s ease}.markdown-copy:hover{transform:translateY(-1px)}.markdown-copy.copied{border-color:#2ed5733d;background:#144430d1;color:#caffde}.markdown-table-wrap{overflow-x:auto}.markdown-body table{margin:0;width:100%;border-collapse:collapse;min-width:520px}.markdown-body th,.markdown-body td{padding:12px 14px;border:1px solid var(--line);text-align:left}.markdown-body th{background:var(--surface-soft)}.markdown-body p,.markdown-body ul,.markdown-body ol,.markdown-body table,.markdown-body pre,.markdown-body blockquote{margin:0 0 14px}.markdown-body ul,.markdown-body ol{padding-left:1.4rem}.markdown-body li{margin:0 0 .48rem}.markdown-body li>ul,.markdown-body li>ol{margin-top:.48rem}.markdown-body .task-list-item{list-style:disc}.markdown-body .task-list-item input{display:none}.markdown-body blockquote{padding-left:14px;border-left:3px solid var(--line-strong);color:var(--text-soft)}.markdown-body .katex{font-size:1.02em;color:var(--text)}.markdown-body .katex-display{margin:1rem 0 1.2rem;overflow-x:auto;overflow-y:hidden;padding-bottom:.2rem}.response-card__error,.banner-error{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:16px;background:var(--danger-surface);border:1px solid var(--danger-line);color:var(--danger-text)}.banner-error{width:min(100%,960px);margin:0 auto 12px}.response-card__actions{display:flex;flex-wrap:nowrap;gap:8px;margin-top:2px;align-items:center;overflow-x:auto}.response-action{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface-attachment);color:var(--text);transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease;font-family:var(--font-ui)}.response-action:hover{transform:translateY(-1px);border-color:var(--line-strong)}.response-action--icon,.ghost-button--icon{width:auto;height:auto;min-width:auto;padding:0;border-radius:0;justify-content:center;gap:0;border:0;background:transparent;color:var(--text-soft)}.response-action.copied{color:#caffde;border-color:#2ed5733d;background:#12432fe0}.ghost-button--icon{background:transparent}.response-card__footer{margin-top:auto;color:var(--text-soft);font-size:.82rem;font-family:var(--font-ui)}.response-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:grid;place-items:center;padding:28px;background:var(--surface-overlay);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.response-preview-card{width:min(100%,960px);max-height:min(88vh,960px);display:flex;flex-direction:column;border-radius:28px;border:1px solid var(--line);background:var(--surface-modal);box-shadow:var(--shadow);overflow:hidden}.response-preview-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line)}.response-preview-card__header strong{display:block;margin-bottom:6px;font-size:1rem;font-family:var(--font-heading)}.response-preview-card__header span{color:var(--text-soft);font-size:.84rem;font-family:var(--font-ui)}.response-preview-card__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.response-preview-card__body{padding:20px;overflow-y:auto;font-family:var(--font-ai)}.battle-actions{justify-content:space-between;gap:12px;margin-top:14px;flex-wrap:wrap}.battle-actions__group{gap:10px;flex-wrap:wrap}.vote-button.active{background:linear-gradient(180deg,#315691e6,#21314af5);border-color:#5f80b447}.skeleton-block{display:grid;gap:12px}.skeleton-block span{display:block;height:12px;border-radius:999px;background:linear-gradient(90deg,#356fd614,#8fb5eb2e,#356fd614);background-size:200% 100%;animation:shimmer 1.6s linear infinite}.skeleton-block span:nth-child(2){width:84%}.skeleton-block span:nth-child(3){width:92%}.skeleton-block span:nth-child(4){width:72%}.composer{flex-shrink:0;width:100%;width:min(100%,980px);border-radius:28px;border:1px solid var(--line);background:var(--surface-composer);box-shadow:none;padding:12px 14px 10px}.arena-stage.is-idle .composer{max-width:1040px;align-self:center}.composer.is-hero{min-height:0}.composer.is-expanded{min-height:0;padding:10px 14px;border-radius:24px;margin:0 auto}.composer__hint{white-space:nowrap;font-family:var(--font-ui)}.composer__body{gap:0;align-items:stretch}.composer.is-expanded .composer__body{gap:10px;align-items:center}.composer textarea{min-height:88px;max-height:260px;resize:none;padding:12px 8px;line-height:1.7;border:0;background:transparent;font-family:var(--font-user);font-size:1rem;min-width:0}.composer-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.composer-attachment-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid var(--line);background:var(--surface-attachment);color:var(--text-soft);font-size:.82rem;font-family:var(--font-ui)}.composer-attachment-chip button{width:22px;height:22px;border-radius:999px;border:0;background:var(--surface-soft-hover);color:var(--text)}.composer-input-shell{display:flex;align-items:flex-end;gap:10px;width:100%;min-width:0}.composer-tool-button{width:40px;height:40px;min-width:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:0;background:transparent;color:var(--text-soft)}.composer.is-expanded textarea{min-height:30px;max-height:120px;padding:8px 4px;border-radius:0;line-height:1.5}.send-button{height:48px;min-width:48px;padding:0 16px;color:var(--button-primary-text);border-radius:999px;background:var(--button-primary-bg);font-weight:700;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-ui)}.composer.is-expanded .send-button{height:42px;min-width:42px;width:42px;padding:0;border-radius:999px;box-shadow:none}.composer__footer-hint{margin-top:8px;padding-left:50px;color:var(--text-mute);font-size:.76rem;font-family:var(--font-ui)}.send-button:disabled,.primary-button:disabled,.ghost-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.theme-transition-overlay{position:fixed;top:-12%;right:-12%;bottom:-12%;left:-12%;z-index:60;pointer-events:none;background:radial-gradient(circle at 82% 12%,color-mix(in srgb,var(--blue) 22%,transparent),transparent 20%),radial-gradient(circle at 18% 84%,color-mix(in srgb,var(--green) 16%,transparent),transparent 22%),color-mix(in srgb,var(--bg) 76%,transparent);filter:blur(18px)}.welcome-splash{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 18%,color-mix(in srgb,var(--blue) 16%,transparent),transparent 28%),color-mix(in srgb,var(--bg) 82%,black 18%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.welcome-splash__panel{width:min(100%,1120px);display:grid;place-items:center}.welcome-splash__animation{width:min(90vw,980px);height:auto;filter:drop-shadow(0 18px 52px rgba(0,0,0,.28));pointer-events:none}.spin{animation:spin 1s linear infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#587aad52;border-radius:999px}::-webkit-scrollbar-track{background:transparent}@media(max-width:1280px){.app-shell{grid-template-columns:280px minmax(0,1fr)}.app-shell.sidebar-collapsed{grid-template-columns:84px minmax(0,1fr)}.hero-modes,.quick-prompts,.sidebar-stats{grid-template-columns:minmax(0,1fr)}.header-bar__compact{flex-wrap:wrap;align-items:stretch}.navbar-config--compact{justify-content:flex-start}.compact-navbar-selects,.compact-navbar-left{flex-wrap:wrap}.navbar-config--compact.navbar-config--side-by-side{grid-template-columns:1fr}.multi-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel__header,.turn-list,.composer{width:min(100%,1040px)}}@media(max-width:1100px){.header-bar__compact{flex-wrap:wrap;align-items:stretch}.compact-navbar-left,.header-bar__actions{width:100%}.header-bar__actions{justify-content:flex-end}.compact-navbar-selects,.compact-navbar-left,.navbar-config--compact{flex-wrap:wrap}.navbar-config--compact.navbar-config--side-by-side,.compact-model-pair{grid-template-columns:1fr}.compact-navbar-select,.mode-menu,.model-menu,.model-menu--stretch,.mode-menu__trigger,.compact-select-shell{width:100%}.response-grid.multi{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-empty-card,.multi-compare-card{min-height:320px}.compare-empty-card__body,.multi-compare-card__body{min-height:220px}}@media(max-width:960px){.app-shell{grid-template-columns:1fr}.sidebar-backdrop{display:block}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:15;width:min(88vw,360px);min-height:100dvh;height:100dvh;border-right:1px solid var(--line);border-bottom:0;padding:12px;box-shadow:0 24px 60px #00000047;overflow-y:auto}.sidebar.collapsed{display:none}.main-shell{min-height:100dvh}.header-bar{padding:10px 14px}.header-bar__compact,.compact-navbar-left{flex-direction:column;align-items:stretch;gap:10px}.header-bar__actions{width:100%;justify-content:flex-end}.header-bar__subtle-meta,.composer__body,.battle-actions,.panel__header,.navbar-config{flex-direction:column;align-items:stretch}.navbar-config--compact,.compact-navbar-select,.mode-menu,.model-menu{width:100%}.compact-model-pair,.compare-empty-grid,.multi-compare-grid,.response-grid.double,.response-grid.multi{grid-template-columns:minmax(0,1fr)}.panel__header,.turn-list,.composer,.compare-empty-shell,.multi-compare-shell{width:100%;max-width:none}.turn-card__prompt,.response-grid.single{width:100%;max-width:100%}.battle-summary{align-self:stretch;justify-content:space-between}.response-card{min-height:0}.response-preview-card__header{flex-direction:column}.response-preview-card__actions{justify-content:flex-start}.history-bulk-bar,.panel__header-actions,.turn-card__prompt-actions,.turn-card__assistant-actions,.session-actions{flex-wrap:wrap}.turn-card__assistant-actions,.response-card__actions{overflow-x:auto}.battle-actions__group{display:flex;flex-wrap:nowrap;overflow-x:auto}.composer{padding:10px 12px;border-radius:22px}.composer.is-expanded{padding:10px 12px;border-radius:20px}.composer textarea{min-height:78px}.composer.is-expanded textarea{min-height:32px;max-height:104px}.auth-shell{padding:18px}.auth-card{width:min(100%,640px);padding:24px;border-radius:28px}.auth-brand-logo{width:min(240px,70vw);margin-bottom:14px}}@media(max-width:640px){.sidebar{width:min(100vw,340px);padding:10px}.auth-shell{padding:16px}.auth-card{padding:18px;border-radius:24px}.auth-card__hero h1{font-size:clamp(1.7rem,10vw,2.35rem);line-height:1.08}.auth-card__hero p:last-child{font-size:.95rem;line-height:1.65}.popup-dialog{padding:18px;border-radius:24px}.popup-dialog__actions{flex-direction:column-reverse;align-items:stretch}.markdown-asset__toolbar{flex-direction:column;align-items:stretch}.empty-state h2{font-size:clamp(2.3rem,14vw,3rem)}.compact-select-shell,.navbar-field--compact select{width:100%}.session-item{flex-wrap:nowrap}.session-actions{opacity:1;transform:none}.composer-input-shell{gap:8px}.send-button,.composer.is-expanded .send-button{width:42px}.header-bar{padding:10px 12px}.arena-stage.is-idle{padding:20px 16px 28px}.arena-stage.is-active{padding:0 12px 12px}.composer{padding:10px;border-radius:20px}.composer textarea{min-height:68px;padding:10px 4px;font-size:.96rem}.composer.is-expanded textarea{min-height:30px;max-height:92px}.header-bar__subtle-meta{padding-left:0;flex-direction:column;gap:4px}.brand-block,.brand-copy{min-width:0}.brand-logo{width:min(156px,46vw)}.brand-subtitle{font-size:.75rem}.sidebar-topbar{align-items:center}.history-bulk-bar{flex-direction:column;align-items:stretch}.session-item{padding:6px}.session-item__button{gap:8px}.session-item__content strong{font-size:.88rem}.session-item__meta{gap:6px}.compare-empty-card,.multi-compare-card{min-height:260px;padding:14px;border-radius:20px}.compare-empty-card__body,.multi-compare-card__body{min-height:170px;margin-top:14px}.panel__header{padding-top:8px;margin-bottom:8px}.panel__header h2{font-size:clamp(1.7rem,8vw,2.2rem)}.turn-card{gap:12px;padding-bottom:16px}.turn-card__prompt{padding:12px 13px;border-radius:18px}.turn-card__prompt p,.markdown-body{font-size:.96rem}.response-card{gap:12px;padding:14px;border-radius:18px}.welcome-splash{padding:16px}.welcome-splash__panel{width:100%}.welcome-splash__animation{width:min(100vw,760px)}}.upgrade-trigger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:1px solid rgba(120,106,255,.18);border-radius:999px;background:linear-gradient(135deg,#5d51eaeb,#7567ffeb);color:#fff;font-family:var(--font-ui);font-size:.94rem;font-weight:700;box-shadow:0 12px 24px #5b51e03d;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.upgrade-trigger-button:hover{transform:translateY(-2px);box-shadow:0 16px 28px #5b51e04d;filter:brightness(1.05)}.ghost-button--header{padding:10px 14px;border-radius:999px;background:var(--surface-soft)}.marketing-shell{position:relative;width:min(1380px,calc(100vw - 32px));margin:0 auto;padding:28px 0 40px}.marketing-shell__backdrop{position:absolute;top:48px;right:32px;bottom:0;left:32px;background:radial-gradient(circle at top,rgba(93,139,234,.12),transparent 46%),radial-gradient(circle at bottom right,rgba(126,93,234,.1),transparent 42%);filter:blur(32px);pointer-events:none}.upgrade-page,.admin-pricing-shell,.admin-auth-shell,.admin-denied-card{position:relative;z-index:1}.upgrade-page,.admin-pricing-shell{display:flex;flex-direction:column;gap:26px}.upgrade-page__topbar,.admin-pricing-shell__header,.admin-auth-shell__topbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.upgrade-page__topbar-actions,.admin-pricing-shell__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.upgrade-page__hero{text-align:center;display:grid;gap:12px;justify-items:center}.upgrade-page__hero h1,.admin-pricing-shell__header h1,.admin-denied-card h1{margin:0;color:var(--text);font-family:var(--font-heading);font-size:clamp(2rem,4vw,3rem);line-height:1.02}.upgrade-page__hero p,.admin-pricing-shell__header p,.admin-denied-card p{max-width:760px;margin:0;color:var(--text-soft);font-size:1rem}.upgrade-toggle{display:inline-flex;align-items:center;padding:6px;gap:6px;border-radius:999px;border:1px solid var(--line);background:#ffffff0a}.upgrade-toggle__pill{padding:11px 18px;border:0;border-radius:999px;background:transparent;color:var(--text-soft);font-family:var(--font-ui);font-weight:700;transition:background .18s ease,color .18s ease,transform .18s ease}.upgrade-toggle__pill.active{background:#ffffff1f;color:var(--text)}.upgrade-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.upgrade-card{display:flex;flex-direction:column;gap:22px;min-height:100%;padding:28px;border-radius:28px;background:#15181ff0;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 48px #0709122e}.upgrade-card.is-highlighted{background:linear-gradient(180deg,#514aa4f5,#1d222ff5);border-color:#7c72ff6b;box-shadow:0 24px 54px #4039a73d}.upgrade-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.upgrade-card__head h2{margin:0 0 8px;color:var(--text);font-family:var(--font-ui);font-size:1.35rem;font-weight:800}.upgrade-card__head p{margin:0;color:var(--text-soft);font-size:.98rem;line-height:1.55}.upgrade-card__badge{padding:8px 12px;border-radius:999px;background:#ffffff1f;color:#e8e1ff;font-size:.75rem;font-weight:700;white-space:nowrap}.upgrade-card__price{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.upgrade-card__currency{color:var(--text-soft);font-size:1.6rem;font-weight:700;line-height:1}.upgrade-card__price strong{color:var(--text);font-family:var(--font-ui);font-size:clamp(2.2rem,4vw,3.3rem);font-weight:800;line-height:.92}.upgrade-card__price-copy{display:grid;gap:4px;padding-bottom:6px}.upgrade-card__price-copy span,.upgrade-card__price-copy small{color:var(--text-soft);line-height:1.35}.upgrade-card__cta{display:inline-flex;align-items:center;justify-content:center;min-height:54px;width:100%;padding:14px 18px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#fff;color:#161616;font-family:var(--font-ui);font-size:1rem;font-weight:700;transition:transform .18s ease,filter .18s ease,opacity .18s ease}.upgrade-card__cta:hover:not(:disabled){transform:translateY(-2px);filter:brightness(.98)}.upgrade-card__cta:disabled{cursor:default;opacity:.55}.upgrade-card__cta.is-highlighted{background:linear-gradient(135deg,#695ef6,#847bff);color:#fff}.upgrade-card__features{display:grid;gap:14px;margin:0;padding:0;list-style:none}.upgrade-card__features li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:flex-start;color:var(--text)}.upgrade-card__limits{display:flex;flex-wrap:wrap;gap:10px}.upgrade-card__limit-pill{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border-radius:999px;background:#ffffff0f;border:1px solid rgba(255,255,255,.08);color:var(--text-soft);font-size:.84rem;font-weight:700;line-height:1.3}.upgrade-card__feature-icon{display:inline-flex;align-items:center;justify-content:center;color:var(--text-soft);margin-top:3px}.upgrade-card__footer-note{display:flex;gap:8px;align-items:flex-start;margin-top:auto;color:var(--text-soft);font-size:.88rem;line-height:1.5}.upgrade-loader{display:grid;place-items:center;min-height:420px}.banner-success{padding:14px 16px;border-radius:18px;color:#dff8ea;background:linear-gradient(135deg,#266f49eb,#36895deb);border:1px solid rgba(84,185,128,.24)}.admin-auth-shell,.admin-denied-card{width:min(960px,100%);margin:0 auto}.admin-denied-card{display:grid;justify-items:center;gap:14px;padding:48px 32px;border-radius:28px;background:#15181ff0;border:1px solid rgba(255,255,255,.08);text-align:center}.admin-denied-card__actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.admin-pricing-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:flex-start}.admin-pricing-list,.admin-pricing-editor{padding:22px;border-radius:26px;background:#15181ff0;border:1px solid rgba(255,255,255,.08)}.admin-pricing-list{display:flex;flex-direction:column;gap:10px;position:sticky;top:18px}.admin-plan-list__create,.admin-plan-list__item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px 18px;border-radius:18px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);text-align:left;transition:transform .18s ease,border-color .18s ease,background .18s ease}.admin-plan-list__create.active,.admin-plan-list__item.active{border-color:#6683d67a;background:#35497457}.admin-plan-list__create:hover,.admin-plan-list__item:hover{transform:translateY(-2px)}.admin-plan-list__create{justify-content:center;font-weight:700}.admin-plan-list__item strong{display:block;margin-bottom:6px;color:var(--text)}.admin-plan-list__item span,.admin-plan-list__item small{color:var(--text-soft)}.admin-pricing-editor{display:flex;flex-direction:column;gap:16px}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-field{display:grid;gap:8px}.admin-field--wide{grid-column:1 / -1}.admin-field__section-title{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text)}.admin-limit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-field span{color:var(--text-soft);font-size:.88rem;font-weight:700;letter-spacing:.02em}.admin-field input,.admin-field select,.admin-field textarea{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:16px;outline:none;color:var(--text);background:var(--surface-soft);font-family:var(--font-ui);transition:border-color .18s ease,box-shadow .18s ease}.admin-field textarea{resize:vertical;min-height:110px}.admin-field input:focus,.admin-field select:focus,.admin-field textarea:focus{border-color:#5e82d38f;box-shadow:0 0 0 4px #5e82d31f}.admin-switches{display:flex;flex-wrap:wrap;gap:14px;grid-column:1 / -1}.admin-switches label{display:inline-flex;align-items:center;gap:8px;padding:12px 14px;border-radius:14px;background:var(--surface-soft);border:1px solid var(--line);color:var(--text)}.admin-pricing-editor__actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}@media(max-width:1240px){.upgrade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-pricing-grid{grid-template-columns:1fr}.admin-pricing-list{position:static}}@media(max-width:960px){.marketing-shell{width:min(100vw - 20px,100%);padding:18px 0 28px}.marketing-shell__backdrop{top:24px;right:12px;bottom:0;left:12px}.upgrade-page__topbar,.admin-pricing-shell__header,.admin-auth-shell__topbar{flex-direction:column;align-items:stretch}.upgrade-grid,.admin-form-grid,.admin-limit-grid{grid-template-columns:1fr}.header-bar__actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:720px){.upgrade-toggle{width:100%;justify-content:center}.upgrade-toggle__pill{flex:1 1 0}.upgrade-card,.admin-pricing-list,.admin-pricing-editor,.admin-denied-card{padding:18px;border-radius:22px}.upgrade-card__price strong{font-size:clamp(2rem,12vw,3rem)}.upgrade-page__topbar-actions,.admin-pricing-shell__actions,.admin-denied-card__actions{width:100%}.upgrade-page__topbar-actions>*,.admin-pricing-shell__actions>*,.admin-denied-card__actions>*{flex:1 1 0}}
