@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&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,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/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.17.0"}.katex .katex-mathml{clip-path:inset(50%);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{--motion-duration-fast:.14s;--motion-duration-base:.2s;--motion-duration-slow:.26s;--motion-ease-standard:cubic-bezier(.2, .8, .2, 1);--motion-ease-emphasized:cubic-bezier(.16, 1, .3, 1);color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@property --header-token-progress{syntax:"<angle>";inherits:true;initial-value:360deg}@keyframes ui-fade-in{0%{opacity:0}}@keyframes ui-surface-in{0%{opacity:0;transform:translateY(10px)scale(.985)}}@keyframes ui-rise-in{0%{opacity:0;transform:translateY(8px)}}@keyframes ui-card-in{0%{opacity:0;transform:translateY(6px)scale(.985)}}*{box-sizing:border-box}html{scrollbar-width:none;-ms-overflow-style:none;background:#fff;min-width:320px}html::-webkit-scrollbar{display:none}body{scrollbar-width:none;-ms-overflow-style:none;min-width:320px;min-height:100vh;margin:0}body::-webkit-scrollbar{display:none}button,textarea,select{font:inherit}button,select{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}#root{min-height:100vh}.visually-hidden{white-space:nowrap;clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.app{background:#fff;min-height:100vh;overflow-x:hidden}.app-layout{--workspace-sidebar-width:245px;grid-template-columns:var(--workspace-sidebar-width) minmax(0, 1fr);border-top:1px solid #e5e7eb;height:calc(100vh - 79px);min-height:0;display:grid;position:relative;overflow:hidden}.app-layout--chrome-collapsed{border-top:0;grid-template-columns:minmax(0,1fr);height:100vh}.app-layout--chrome-collapsed .sidebar{display:none}.app-layout--chrome-collapsed .hero-workspace{width:100%}.workspace-chrome-toggle{top:18px;left:calc(var(--workspace-sidebar-width) + 18px);z-index:30;color:#e5e7eb;appearance:none;width:16px;height:16px;box-shadow:none;opacity:1;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:0;line-height:0;transition:color .16s,opacity .16s,transform .16s;display:inline-flex;position:absolute}.workspace-chrome-toggle:hover{color:#d1d5db;opacity:1;background:0 0}.workspace-chrome-toggle__icon{border:1px solid;border-radius:3.2px;width:12px;height:12px;display:block;position:relative}.workspace-chrome-toggle__icon:after{content:"";background:currentColor;border-radius:999px;width:1px;height:6px;position:absolute;top:2px;right:2px}.workspace-chrome-toggle[aria-pressed=true] .workspace-chrome-toggle__icon:after{left:2px;right:auto}.workspace-chrome-toggle:focus-visible{outline-offset:2px;outline:2px solid #6366f142}.app-layout--chrome-collapsed .workspace-chrome-toggle{left:16px}.app-main{background:radial-gradient(circle at 50% 0,#6366f105,#0000 34%),linear-gradient(#fff 0%,#fbfcff 100%);min-width:0;min-height:0;overflow:hidden}.app-main-scroll{scrollbar-width:none;-ms-overflow-style:none;height:100%;min-height:0;overflow-y:auto}.app-main-scroll>.hero{height:100%}.app-main-scroll::-webkit-scrollbar{display:none}@media (width<=1024px){.app-layout{grid-template-columns:1fr}.workspace-chrome-toggle{display:none}}.button{border:0;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:0 19px;font-size:15px;font-weight:600;line-height:1;transition:transform .16s,box-shadow .16s,background .16s,opacity .16s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button:focus-visible{outline-offset:3px;outline:3px solid #6366f147}.button--primary{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);box-shadow:0 12px 24px #6366f138}.button--primary:hover:not(:disabled){box-shadow:0 15px 28px #6366f147}.button--ghost{color:#374151;min-height:37px;box-shadow:none;background:0 0;padding:0 12px}.button--ghost:hover:not(:disabled){background:#f3f4f6;transform:none}.button--soft{color:#374151;min-height:43px;box-shadow:none;background:#f3f4f6;padding:0 20px}.button--soft:hover:not(:disabled){background:#eceff3;transform:none}.button-icon{justify-content:center;align-items:center;display:inline-flex}.header{background:#fff;grid-template-columns:auto 1fr auto;align-items:center;gap:37px;height:78px;padding:0 132px;display:grid}.mobile-menu-toggle{display:none}.brand{color:#111827;align-items:center;gap:12px;display:inline-flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#335df6 0%,#7e2ff4 100%);border-radius:10px;place-items:center;width:39px;height:39px;display:grid;box-shadow:0 10px 20px #6366f133}.brand-mark-logo{object-fit:contain;width:40px;height:40px;display:block}.brand-name{letter-spacing:-.035em;font-size:21px;font-weight:700}.header-nav{align-items:center;gap:31px;display:flex}.header-nav a,.header-nav-button{appearance:none;color:#4b5563;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:15px;font-weight:500;line-height:1}.header-nav a:hover,.header-nav-button:hover{color:#111827}.header-actions{align-items:center;gap:12px;display:flex}.header-profile-link{--header-token-ring:#6d3df2;--header-token-track:#eef1f6;--header-token-progress:360deg;box-sizing:border-box;color:#111827;white-space:nowrap;background:#fffffffa;border:1px solid #e3e8f1;border-radius:18px;align-items:center;gap:12px;width:236px;min-height:56px;padding:7px 13px 7px 8px;font-size:14px;font-weight:500;line-height:1.1;transition:border-color .16s,transform .16s,box-shadow .16s,background .16s,color .16s;display:inline-flex;box-shadow:0 8px 22px #0f172a0e}.header-profile-link--normal{--header-token-ring:#2f8cff}.header-profile-link--low{--header-token-ring:#f59e0b}.header-profile-link--critical{--header-token-ring:#ef4444}.header-profile-link--empty{--header-token-ring:#cbd5e1}.header-profile-link--loading{--header-token-ring:#9ca3af}.header-profile-link--loading-state{justify-content:center;padding:0 18px}.header-profile-link:hover,.header-profile-link--active{color:#111827;background:#fff;border-color:#6366f12e;font-weight:500;box-shadow:0 10px 26px #0f172a13}.header-profile-link:hover{transform:translateY(-1px)}.header-profile-link:focus-visible{outline-offset:3px;outline:3px solid #6366f147}.header-profile-avatar-ring{background:conic-gradient(from -90deg, var(--header-token-ring) 0deg var(--header-token-progress), var(--header-token-track) var(--header-token-progress) 360deg);width:38px;height:38px;transition:--header-token-progress var(--motion-duration-slow) var(--motion-ease-emphasized), background var(--motion-duration-slow) var(--motion-ease-emphasized);border-radius:999px;flex:none;place-items:center;display:grid;position:relative}.header-profile-avatar-ring:before{border-radius:inherit;content:"";background:#fff;position:absolute;inset:3px}.header-profile-avatar{z-index:1;width:100%;height:100%;color:var(--header-token-ring);box-shadow:none;transition:color var(--motion-duration-base) var(--motion-ease-standard);background:0 0;border-radius:999px;place-items:center;font-size:16px;font-weight:680;display:grid;position:relative}.header-profile-empty-dot{z-index:2;background:#ef4444;border:2px solid #fff;border-radius:999px;width:10px;height:10px;position:absolute;bottom:2px;right:1px;box-shadow:0 0 0 2px #ef444424}.header-profile-copy{flex:auto;gap:4px;width:0;min-width:0;display:grid}.header-profile-copy--loading{text-align:center;flex:0 auto;align-content:center;width:auto}.header-profile-copy strong,.header-profile-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header-profile-copy strong{color:#111827;max-width:100%;font-size:14px;font-weight:640}.header-profile-copy--loading strong{color:#4b5563;font-size:14px;font-weight:600}.header-profile-copy span{color:#8a94a6;font-size:13px;font-weight:540}.header-profile-chevron{color:#7b8497;flex:none;margin-left:3px;transition:color .16s,transform .16s}.header-profile-link:hover .header-profile-chevron,.header-profile-link--active .header-profile-chevron{color:#5f6b82;transform:translateY(1px)}.header-balance{color:#111827;white-space:nowrap;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;align-items:center;min-height:36px;padding:0 12px;font-size:14px;font-weight:650;line-height:1;display:inline-flex}.header-subscription{white-space:nowrap;border:1px solid #0000;border-radius:8px;align-items:center;min-height:36px;padding:0 10px;font-size:13px;font-weight:650;line-height:1;display:inline-flex}.header-subscription--active{color:#047857;background:#ecfdf5;border-color:#bbf7d0}.header-subscription--inactive{color:#b42318;background:#fef2f2;border-color:#fecaca}.header-actions .button{font-size:15px;font-weight:500}.header-actions .button--primary{min-height:43px;padding:0 19px}@media (width<=1280px){.header{padding:0 41px}}@media (width<=900px){.header{grid-template-columns:1fr auto;height:auto;padding:18px}.header--mobile-menu-available{--mobile-header-control-size:42px;grid-template-columns:var(--mobile-header-control-size) minmax(0, 1fr) auto;gap:12px}.mobile-menu-toggle{width:var(--mobile-header-control-size);height:var(--mobile-header-control-size);color:#111827;background:#f3f4f6;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:inline-flex}.mobile-menu-toggle__line{background:currentColor;border-radius:999px;width:18px;height:2px;display:block}.mobile-menu-toggle__line--short{width:12px}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.header-profile-link{border-radius:15px;width:198px;min-height:48px}.header-profile-avatar-ring{width:36px;height:36px}.header-profile-avatar{width:100%;height:100%;font-size:15px}.header-profile-copy strong{font-size:14px}.header-profile-copy span{font-size:12px}.header-balance{min-height:34px;padding:0 10px;font-size:13px}.header-subscription{min-height:34px;font-size:12px}.header-nav{display:none}.brand-name{font-size:19px}}@media (width<=560px){.header{--mobile-header-control-size:42px;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:12px;position:relative}.app--profile-page>.header{z-index:120;height:var(--mobile-profile-header-height,67px);border-bottom:1px solid #e5e7eb;position:fixed;top:0;left:0;right:0}.header--mobile-menu-available{grid-template-columns:var(--mobile-header-control-size) auto minmax(0, 1fr)}.header--mobile-menu-available .brand{grid-column:2}.brand{gap:0}.brand-mark,.brand-mark-logo{width:var(--mobile-header-control-size);height:var(--mobile-header-control-size)}.brand-mark{border-radius:12px}.brand-name{display:none}.header-actions{flex-wrap:nowrap;grid-column:-2/-1;justify-content:flex-end;gap:7px;min-width:0}.header-profile-link{width:var(--mobile-header-control-size);height:var(--mobile-header-control-size);min-height:var(--mobile-header-control-size);border-radius:14px;justify-content:center;padding:0}.header-profile-avatar-ring{width:32px;height:32px}.header-profile-avatar-ring:before{inset:2.5px}.header-profile-avatar{width:100%;height:100%;font-size:14px}.header-profile-copy,.header-profile-chevron{display:none}.header-profile-link--loading-state{width:94px;padding:0 10px}.header-profile-link--loading-state .header-profile-copy{display:grid}.header-actions .button{height:var(--mobile-header-control-size);min-height:var(--mobile-header-control-size);border-radius:12px;padding:0 11px;font-size:14px}.header-actions .button--primary{min-height:var(--mobile-header-control-size);padding:0 13px}}.footer{background:#fff;border-top:1px solid #e5e7eb;margin-top:56px}.footer-inner{gap:32px;width:min(1440px,100%);margin:0 auto;padding:56px 34px 36px;display:grid}.footer-main{grid-template-columns:minmax(320px,2fr) minmax(130px,1fr) minmax(130px,1fr);align-items:start;gap:72px;display:grid}.footer-brand-block{gap:18px;max-width:460px;display:grid}.footer-brand,.footer-brand-link{color:#111827;letter-spacing:0;align-items:center;gap:12px;width:fit-content;font-size:21px;font-weight:700;display:inline-flex}.footer-brand-mark{color:#fff;background:linear-gradient(135deg,#335df6 0%,#7e2ff4 100%);border-radius:8px;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 10px 20px #6366f129}.footer-brand-block p{color:#4b5563;margin:0;font-size:15px;font-weight:500;line-height:1.42}.footer-socials{flex-wrap:wrap;gap:13px;display:flex}.footer-socials a,.footer-socials button{color:#4b5563;cursor:pointer;background:#f3f4f6;border:0;border-radius:8px;place-items:center;width:36px;height:36px;padding:0;font-family:inherit;transition:background .16s,color .16s;display:grid}.footer-socials a:hover,.footer-socials button:hover{color:#111827;background:#e5e7eb}.footer-link-column{align-content:start;gap:16px;display:grid}.footer-link-column h2{color:#111827;margin:0;font-size:15px;font-weight:750;line-height:1.25}.footer-link-column a,.footer-link-column button{color:#4b5563;cursor:pointer;text-align:left;background:0 0;border:0;width:fit-content;padding:0;font-family:inherit;font-size:15px;font-weight:500;line-height:1.35}.footer-link-column a:hover,.footer-link-column button:hover,.footer-bottom a:hover{color:#111827}.footer-bottom{color:#6b7280;border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:24px;padding-top:32px;font-size:14px;font-weight:500;line-height:1.35;display:flex}.footer-bottom nav{flex-wrap:wrap;justify-content:flex-end;gap:28px;display:flex}.footer-bottom a{color:#6b7280}@media (width<=1280px){.footer-inner{padding:48px 34px 32px}.footer-main{gap:48px}}@media (width<=900px){.footer-inner{padding:40px 18px 30px}.footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.footer-brand-block{grid-column:1/-1}.footer-bottom{flex-direction:column;align-items:flex-start}.footer-bottom nav{justify-content:flex-start}}@media (width<=560px){.footer-main{grid-template-columns:1fr}.footer-brand-block{grid-column:auto}.footer-brand-block p,.footer-link-column a,.footer-link-column button{font-size:15px}.footer-bottom{font-size:14px}.footer-link-column h2{font-size:15px}}.auth-modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:#11182747;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.auth-modal{width:min(100%,390px);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#fffffff5;border:1px solid #e5e7ebe6;border-radius:24px;padding:24px;box-shadow:0 28px 70px #0f172a38}.auth-modal__header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.auth-modal__title{color:#111827;margin:0;font-size:24px;font-weight:700;line-height:1.15}.auth-modal__close{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.auth-modal__close:hover{color:#111827;background:#e5e7eb}.auth-modal__form{gap:14px;display:grid}.auth-modal__notice{color:#4b5563;background:#f4f0ff;border:1px solid #6366f133;border-radius:14px;margin:0 0 18px;padding:12px 14px;font-size:14px;font-weight:600;line-height:1.45}.auth-modal__field{color:#374151;gap:8px;font-size:14px;font-weight:600;display:grid}.auth-modal__field input{color:#111827;width:100%;min-height:48px;font:inherit;background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;outline:none;padding:0 14px;font-size:16px}.auth-modal__field input:focus{background:#fff;border-color:#a78bfa;box-shadow:0 0 0 4px #7c3aed24}.auth-modal__error{color:#b42318;background:#fff1f0;border-radius:14px;margin:0;padding:11px 13px;font-size:14px;font-weight:600;line-height:1.35}.auth-modal__submit{justify-content:center;width:100%;min-height:48px;margin-top:2px}.auth-modal__footer{color:#6b7280;justify-content:center;align-items:center;gap:7px;margin-top:18px;font-size:14px;font-weight:500;display:flex}.auth-modal__footer button{color:#4f46e5;font:inherit;background:0 0;border:0;padding:0;font-weight:700}.auth-modal__footer button:hover{color:#3730a3}.toast-viewport{z-index:120;pointer-events:none;gap:10px;width:min(380px,100vw - 32px);display:grid;position:fixed;top:92px;right:24px}.toast{pointer-events:auto;animation:ui-rise-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#fffffff5;border:1px solid #e5e7ebf2;border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:11px;padding:13px 13px 13px 14px;display:grid;box-shadow:0 22px 50px #0f172a24,0 5px 14px #0f172a14}.toast__icon{background:#f3f4f6;border-radius:999px;place-items:center;width:31px;height:31px;display:grid}.toast--error .toast__icon{color:#dc2626;background:#fef2f2}.toast--info .toast__icon{color:#4f46e5;background:#eef2ff}.toast--success .toast__icon{color:#059669;background:#ecfdf5}.toast__content{min-width:0}.toast__content strong{color:#111827;margin:0 0 3px;font-size:14px;font-weight:600;line-height:1.25;display:block}.toast__content p{color:#4b5563;overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:400;line-height:1.4}.toast__action{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border:0;border-radius:11px;margin:11px 0 0;padding:8px 13px;font-size:13px;font-weight:700;line-height:1;box-shadow:0 10px 22px #4f46e538}.toast__action:hover{filter:brightness(1.04)}.toast__action:focus-visible{outline-offset:2px;outline:3px solid #7c3aed3d}.toast__close{color:#6b7280;background:0 0;border:0;border-radius:9px;place-items:center;width:28px;height:28px;padding:0;display:grid}.toast__close:hover{color:#111827;background:#f3f4f6}@media (width<=720px){.toast-viewport{width:auto;top:16px;left:16px;right:16px}}.confirm-dialog-backdrop{z-index:240;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:radial-gradient(circle,#94a3b81a,#0f172a33),#ffffff9e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.confirm-dialog{width:min(440px,100vw - 32px);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:28px;gap:18px;padding:30px;display:grid;position:relative;box-shadow:0 30px 80px #0f172a2e,0 10px 28px #0f172a1a}.confirm-dialog__close{color:#6b7280;background:0 0;border:0;border-radius:13px;place-items:center;width:38px;height:38px;padding:0;display:grid;position:absolute;top:16px;right:16px}.confirm-dialog__close:hover:not(:disabled){color:#111827;background:#f3f4f6}.confirm-dialog__close:disabled{cursor:not-allowed;opacity:.55}.confirm-dialog__icon{color:#fff;border-radius:22px;place-items:center;width:66px;height:66px;display:grid;box-shadow:0 18px 38px #4f46e538}.confirm-dialog__icon--default{background:linear-gradient(135deg,#3b67ff,#7a2df5)}.confirm-dialog__icon--danger{background:linear-gradient(135deg,#ff4d4d,#ff7a1a);box-shadow:0 18px 38px #ef444438}.confirm-dialog__content{gap:9px;display:grid}.confirm-dialog__content h2{color:#111827;letter-spacing:0;margin:0;padding-right:34px;font-size:26px;font-weight:700;line-height:1.12}.confirm-dialog__content p{color:#4b5563;margin:0;font-size:16px;font-weight:400;line-height:1.5}.confirm-dialog__actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.confirm-dialog__button{white-space:nowrap;border:0;border-radius:15px;justify-content:center;align-items:center;min-height:46px;padding:0 18px;font-size:15px;font-weight:600;line-height:1;display:inline-flex}.confirm-dialog__button:disabled{cursor:not-allowed;opacity:.62}.confirm-dialog__button--secondary{color:#374151;background:#f3f4f6}.confirm-dialog__button--secondary:hover:not(:disabled){background:#e5e7eb}.confirm-dialog__button--primary{color:#fff;background:linear-gradient(135deg,#3b67ff,#7a2df5);box-shadow:0 14px 30px #4f46e533}.confirm-dialog__button--danger{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 14px 30px #dc262633}@media (width<=560px){.confirm-dialog-backdrop{z-index:1400}.confirm-dialog{padding:24px}.confirm-dialog__actions{display:grid}.confirm-dialog__button{width:100%}}.admin-gate-page{background:radial-gradient(circle at 50% 0,#6366f108,#0000 34%),linear-gradient(#fff 0%,#fbfcff 100%);border-top:1px solid #e5e7eb;place-items:center;min-height:calc(100vh - 78px);padding:42px 34px;display:grid}.admin-gate-page--unlocked{place-items:start center;gap:18px}.admin-gate-code{width:min(360px,100%)}.admin-gate-code input{color:#111827;text-align:center;background:0 0;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;outline:0;width:100%;height:46px;padding:0 4px;font-size:18px;font-weight:400;line-height:1.35}.admin-gate-code input:focus{border-bottom-color:#9ca3af}.admin-token-usage-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:min(1440px,100%);display:grid;overflow:hidden;box-shadow:0 14px 36px #0f172a0d}.admin-token-usage-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:start;gap:24px;padding:28px 30px 22px;display:flex}.admin-token-usage-summary{gap:5px;display:grid}.admin-token-usage-summary span{color:#111827;font-size:19px;font-weight:700;line-height:1.25}.admin-token-usage-summary strong{color:#111827;font-size:34px;font-weight:760;line-height:1.05}.admin-token-usage-summary small{color:#6b7280;font-size:14px;font-weight:500;line-height:1.35}.admin-token-usage-controls{justify-items:end;gap:10px;display:grid}.admin-token-usage-date-range{flex-wrap:wrap;justify-content:end;gap:8px;display:flex}.admin-token-usage-date-range label,.admin-token-usage-model{color:#374151;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:8px;min-height:38px;padding:0 11px;font-size:14px;font-weight:600;line-height:1.25;display:flex}.admin-token-usage-date-range input,.admin-token-usage-model select{color:#111827;min-width:128px;font:inherit;background:0 0;border:0;outline:0}.admin-token-usage-model select{min-width:172px}.admin-token-usage-chart{grid-template-columns:repeat(auto-fit,minmax(54px,1fr));align-items:end;gap:14px;min-height:320px;padding:30px 30px 26px;display:grid}.admin-token-usage-chart[aria-busy=true]{opacity:.64}.admin-token-usage-column{grid-template-rows:1fr auto;gap:10px;min-width:0;height:100%;display:grid}.admin-token-usage-bar-track{border-bottom:1px solid #9ca3af;align-items:end;min-height:250px;display:flex}.admin-token-usage-bar{background:linear-gradient(#5b8df7 0%,#346df1 100%);border-radius:6px 6px 0 0;width:100%;transition:height .16s,opacity .16s}.admin-token-usage-column span{color:#6b7280;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:1.25;overflow:hidden}.admin-token-usage-empty{color:#6b7280;place-items:center;min-height:260px;padding:30px;font-size:15px;font-weight:500;display:grid}.admin-gate-panel{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;gap:18px;width:min(1440px,100%);padding:28px 30px;display:grid}.admin-gate-panel h1{color:#111827;margin:0;font-size:21px;font-weight:750;line-height:1.25}.admin-gate-actions{flex-wrap:wrap;gap:10px;display:flex}.admin-gate-actions .button{border-radius:8px;min-height:43px;padding:0 17px;font-size:15px;font-weight:650}@media (width<=560px){.admin-gate-page{min-height:calc(100vh - 67px);padding:24px 18px}.admin-gate-panel{padding:22px}.admin-token-usage-header{padding:22px;display:grid}.admin-token-usage-controls{justify-items:stretch}.admin-token-usage-date-range{grid-template-columns:1fr 1fr;justify-content:stretch;display:grid}.admin-token-usage-date-range label,.admin-token-usage-model{width:100%}.admin-token-usage-date-range input,.admin-token-usage-model select{width:100%;min-width:0}.admin-token-usage-chart{grid-template-columns:none;grid-auto-columns:48px;grid-auto-flow:column;padding:24px 22px 22px;overflow-x:auto}.admin-gate-actions{grid-template-columns:1fr;display:grid}.admin-gate-actions .button{width:100%}}.admin-billing-backdrop{z-index:225;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a42;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-billing-modal{background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:20px;grid-template-rows:auto minmax(0,1fr);width:min(1180px,100vw - 32px);max-height:min(800px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 76px #0f172a33,0 8px 24px #0f172a1a}.admin-billing-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.admin-billing-header h2{color:#111827;margin:0;font-size:24px;font-weight:700;line-height:1.15}.admin-billing-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.35}.admin-billing-close{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.admin-billing-close:hover{color:#111827;background:#e5e7eb}.admin-billing-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr);min-height:0;display:grid}.admin-billing-users{background:#f8fafc;border-right:1px solid #e5e7eb;min-height:0;padding:18px;overflow:auto}.admin-billing-search{gap:9px;margin-bottom:14px;display:grid}.admin-billing-search label,.admin-billing-adjustment label span,.admin-billing-subscription-editor label span{color:#374151;font-size:13px;font-weight:750}.admin-billing-search>div{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.admin-billing-search input,.admin-billing-adjustment input,.admin-billing-adjustment textarea,.admin-billing-subscription-editor input,.admin-billing-subscription-editor select,.admin-billing-subscription-editor textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:10px;outline:none}.admin-billing-search input,.admin-billing-adjustment input,.admin-billing-subscription-editor input,.admin-billing-subscription-editor select{min-height:40px;padding:0 12px;font-size:14px;font-weight:600}.admin-billing-search input:focus,.admin-billing-adjustment input:focus,.admin-billing-adjustment textarea:focus,.admin-billing-subscription-editor input:focus,.admin-billing-subscription-editor select:focus,.admin-billing-subscription-editor textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.admin-billing-user-list{gap:9px;display:grid}.admin-billing-user{color:#111827;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:4px;width:100%;padding:12px;display:grid}.admin-billing-user:hover,.admin-billing-user--active{background:#eef2ff;border-color:#a5b4fc}.admin-billing-user strong{text-overflow:ellipsis;font-size:14px;font-weight:750;line-height:1.25;overflow:hidden}.admin-billing-user span,.admin-billing-user em{color:#6b7280;font-size:12px;font-style:normal;font-weight:650}.admin-billing-detail{min-height:0;padding:18px;overflow:auto}.admin-billing-state{color:#4b5563;text-align:center;justify-content:center;align-items:center;gap:9px;width:100%;min-height:120px;font-size:14px;font-weight:650;display:inline-flex}.admin-billing-state svg{color:#4f46e5}.admin-billing-state--detail{min-height:360px}.admin-billing-state--error,.admin-billing-form-error{color:#b42318}.admin-billing-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.admin-billing-summary>div,.admin-billing-subscription,.admin-billing-subscription-editor,.admin-billing-adjustment,.admin-billing-ledger{background:#fff;border:1px solid #e5e7eb;border-radius:14px}.admin-billing-summary>div{gap:6px;min-width:0;padding:14px;display:grid}.admin-billing-summary span,.admin-billing-subscription span,.admin-billing-subscription-editor p,.admin-billing-adjustment p,.admin-billing-ledger header span{color:#6b7280;font-size:12px;font-weight:650;line-height:1.35}.admin-billing-summary strong{color:#111827;text-overflow:ellipsis;font-size:16px;font-weight:750;line-height:1.25;overflow:hidden}.admin-billing-subscription{flex-wrap:wrap;gap:10px 18px;margin-bottom:12px;padding:12px 14px;display:flex}.admin-billing-subscription-editor,.admin-billing-adjustment{gap:14px;margin-bottom:12px;padding:16px;display:grid}.admin-billing-section-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-billing-adjustment h3,.admin-billing-subscription-editor h3,.admin-billing-ledger h3{color:#111827;margin:0;font-size:16px;font-weight:750;line-height:1.2}.admin-billing-adjustment p,.admin-billing-subscription-editor p{margin:5px 0 0}.admin-billing-adjustment form{grid-template-columns:160px minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.admin-billing-subscription-editor form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.admin-billing-adjustment label,.admin-billing-subscription-editor label{gap:7px;display:grid}.admin-billing-adjustment textarea,.admin-billing-subscription-editor textarea{resize:vertical;min-height:72px;max-height:140px;padding:10px 12px;font-size:14px;font-weight:500;line-height:1.35}.admin-billing-subscription-editor textarea{min-height:118px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.admin-billing-checkbox{grid-template-columns:auto minmax(0,1fr);align-content:end;align-items:center;min-height:40px}.admin-billing-checkbox input{accent-color:#4f46e5;width:16px;min-height:16px;padding:0}.admin-billing-metadata-field,.admin-billing-form-actions,.admin-billing-form-error{grid-column:1/-1}.admin-billing-form-actions{justify-content:flex-end;display:flex}.admin-billing-form-error{font-size:13px;font-weight:650}.admin-billing-ledger{overflow:hidden}.admin-billing-ledger header{background:#f8fafc;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.admin-billing-empty{color:#6b7280;text-align:center;padding:24px;font-size:14px;font-weight:650}.admin-billing-transaction-list{display:grid}.admin-billing-transaction{border-bottom:1px solid #edf0f4;grid-template-columns:minmax(0,1.5fr) 120px 120px 116px;align-items:center;gap:12px;padding:12px 16px;display:grid}.admin-billing-transaction:last-child{border-bottom:0}.admin-billing-transaction div{gap:4px;min-width:0;display:grid}.admin-billing-transaction strong{color:#111827;text-overflow:ellipsis;font-size:13px;font-weight:750;line-height:1.25;overflow:hidden}.admin-billing-transaction div span,.admin-billing-balance-after,.admin-billing-transaction time{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;line-height:1.25;overflow:hidden}.admin-billing-amount{text-align:right;font-size:14px;font-style:normal;font-weight:750}.admin-billing-amount--positive{color:#047857}.admin-billing-amount--negative{color:#b42318}.admin-billing-balance-after,.admin-billing-transaction time{text-align:right}.admin-billing-load-more{border-top:1px solid #edf0f4;justify-content:center;padding:14px 16px 16px;display:flex}@media (width<=980px){.admin-billing-backdrop{padding:12px}.admin-billing-modal{border-radius:16px;width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.admin-billing-layout{grid-template-columns:1fr}.admin-billing-users{border-bottom:1px solid #e5e7eb;border-right:0;max-height:310px}.admin-billing-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-billing-adjustment form,.admin-billing-subscription-editor form,.admin-billing-transaction{grid-template-columns:1fr}.admin-billing-amount,.admin-billing-balance-after,.admin-billing-transaction time{text-align:left}}@media (width<=620px){.admin-billing-header{padding:18px}.admin-billing-header h2{font-size:21px}.admin-billing-summary,.admin-billing-search>div{grid-template-columns:1fr}}.admin-cohorts-backdrop{z-index:236;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a42;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-cohorts-modal{background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:20px;grid-template-rows:auto auto minmax(0,1fr);width:min(1440px,100vw - 32px);max-height:min(900px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 76px #0f172a33,0 8px 24px #0f172a1a}.admin-cohorts-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.admin-cohorts-header h2{color:#111827;margin:0;font-size:24px;font-weight:750;line-height:1.15}.admin-cohorts-header p{color:#6b7280;max-width:680px;margin:6px 0 0;font-size:14px;font-weight:550;line-height:1.35}.admin-cohorts-close{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.admin-cohorts-close:hover{color:#111827;background:#e5e7eb}.admin-cohorts-toolbar{background:#f8fafc;border-bottom:1px solid #e5e7eb;align-items:end;gap:10px;padding:14px 18px;display:flex;overflow-x:auto}.admin-cohorts-toolbar label,.admin-cohorts-spend-form label{color:#6b7280;gap:5px;min-width:142px;font-size:12px;font-weight:750;display:grid}.admin-cohorts-toolbar input,.admin-cohorts-toolbar select,.admin-cohorts-spend-form input{color:#111827;min-height:40px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:10px;outline:none;padding:0 11px;font-size:14px;font-weight:650}.admin-cohorts-segmented{background:#fff;border:1px solid #dfe3ea;border-radius:12px;grid-auto-flow:column;align-items:center;min-height:40px;padding:3px;display:grid}.admin-cohorts-segmented button{color:#64748b;min-width:92px;min-height:32px;font:inherit;background:0 0;border:0;border-radius:9px;font-size:13px;font-weight:800}.admin-cohorts-segmented button.is-active{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);box-shadow:0 10px 24px #4f46e538}.admin-cohorts-content{grid-template-rows:auto auto auto minmax(0,1fr);gap:14px;min-height:0;padding:18px;display:grid;overflow:auto}.admin-cohorts-kpis{grid-template-columns:repeat(8,minmax(120px,1fr));gap:10px;display:grid}.admin-cohorts-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:5px;min-height:78px;padding:13px;display:grid}.admin-cohorts-kpi span{color:#64748b;font-size:12px;font-weight:750}.admin-cohorts-kpi strong{color:#111827;font-size:18px;font-weight:850;line-height:1.15}.admin-cohorts-spend-form{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:minmax(230px,1fr) repeat(4,minmax(132px,170px)) auto;align-items:end;gap:10px;padding:14px;display:grid}.admin-cohorts-spend-form strong{color:#111827;font-size:15px;font-weight:850;display:block}.admin-cohorts-spend-form div>span{color:#64748b;max-width:560px;margin-top:4px;font-size:12px;font-weight:600;line-height:1.35;display:block}.admin-cohorts-spend-list{background:#fff;border:1px solid #e5e7eb;border-radius:14px;gap:8px;padding:12px 14px;display:grid}.admin-cohorts-spend-list h3{color:#111827;margin:0;font-size:14px;font-weight:850}.admin-cohorts-spend-list div{flex-wrap:wrap;gap:8px;display:flex}.admin-cohorts-spend-list span{color:#475569;background:#f1f5f9;border-radius:10px;padding:7px 9px;font-size:12px;font-weight:750}.admin-cohorts-table-wrap{background:#fff;border:1px solid #e5e7eb;border-radius:14px;min-height:0;overflow:auto}.admin-cohorts-table{border-spacing:0;color:#111827;width:max-content;min-width:100%;font-size:13px}.admin-cohorts-table th,.admin-cohorts-table td{text-align:right;white-space:nowrap;border-bottom:1px solid #eef2f7;padding:10px 12px}.admin-cohorts-table th:first-child,.admin-cohorts-table td:first-child{z-index:1;text-align:left;background:#fff;position:sticky;left:0}.admin-cohorts-table thead th{z-index:2;color:#475569;background:#f8fafc;font-size:12px;font-weight:850;position:sticky;top:0}.admin-cohorts-table thead th:first-child{z-index:3}.admin-cohorts-table tbody tr:first-child th,.admin-cohorts-table tbody tr:first-child td{color:#111827;background:#faf5ff;font-weight:850}.admin-cohorts-table-note{color:#64748b;border-top:1px solid #eef2f7;margin:0;padding:9px 12px;font-size:12px;font-weight:650}.admin-cohorts-state{color:#64748b;background:#fff;border:1px solid #e5e7eb;border-radius:14px;place-items:center;gap:10px;min-height:180px;font-weight:750;display:grid}.admin-cohorts-state--error{color:#b91c1c;background:#fef2f2}@media (width<=1180px){.admin-cohorts-kpis{grid-template-columns:repeat(4,minmax(120px,1fr))}.admin-cohorts-spend-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.admin-cohorts-backdrop{padding:10px}.admin-cohorts-modal{border-radius:16px;max-height:calc(100vh - 20px)}.admin-cohorts-toolbar{flex-direction:column;align-items:stretch}.admin-cohorts-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-cohorts-spend-form{grid-template-columns:1fr}}.admin-events-backdrop{z-index:235;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a42;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-events-modal{background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:20px;grid-template-rows:auto auto minmax(0,1fr);width:min(1320px,100vw - 32px);max-height:min(860px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 76px #0f172a33,0 8px 24px #0f172a1a}.admin-events-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.admin-events-header h2{color:#111827;margin:0;font-size:24px;font-weight:750;line-height:1.15}.admin-events-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:550;line-height:1.35}.admin-events-close,.admin-events-icon-button{color:#374151;background:#f3f4f6;border:0;place-items:center;display:grid}.admin-events-close{border-radius:12px;width:38px;height:38px}.admin-events-icon-button{border-radius:10px;width:34px;height:34px}.admin-events-close:hover,.admin-events-icon-button:hover{color:#111827;background:#e5e7eb}.admin-events-toolbar{background:#f8fafc;border-bottom:1px solid #e5e7eb;grid-template-columns:minmax(280px,1fr) auto;gap:14px;padding:16px 18px;display:grid}.admin-events-search{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.admin-events-filters{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.admin-events-search input,.admin-events-filters select,.admin-events-table select{color:#111827;min-height:40px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:10px;outline:none;font-size:14px;font-weight:650}.admin-events-search input{width:100%;padding:0 12px}.admin-events-filters select,.admin-events-table select{padding:0 30px 0 10px}.admin-events-search input:focus,.admin-events-filters select:focus,.admin-events-table select:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.admin-events-content{min-height:0;padding:18px;overflow:auto}.admin-events-state{color:#4b5563;text-align:center;justify-content:center;align-items:center;gap:9px;width:100%;min-height:360px;font-size:14px;font-weight:650;display:inline-flex}.admin-events-state svg{color:#4f46e5}.admin-events-state--error{color:#b42318}.admin-events-table-wrap{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow-x:auto}.admin-events-table{border-collapse:collapse;width:100%;min-width:1280px}.admin-events-table th,.admin-events-table td{color:#1f2937;text-align:left;vertical-align:top;border-bottom:1px solid #eef2f7;padding:12px;font-size:13px;line-height:1.35}.admin-events-table th{z-index:1;color:#6b7280;text-transform:uppercase;background:#f8fafc;font-size:12px;font-weight:750;position:sticky;top:0}.admin-events-row--active,.admin-events-row:hover{background:#f8fafc}.admin-events-level{border-radius:999px;justify-content:center;min-width:82px;padding:5px 8px;font-size:12px;font-weight:750;display:inline-flex}.admin-events-level--critical,.admin-events-level--error{color:#991b1b;background:#fee2e2}.admin-events-level--warning{color:#92400e;background:#fef3c7}.admin-events-level--info{color:#1e3a8a;background:#dbeafe}.admin-events-muted{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-weight:650;display:inline-block;overflow:hidden}.admin-events-title-button{width:100%;color:inherit;text-align:left;background:0 0;border:0;gap:4px;display:grid}.admin-events-title-button strong{color:#111827;font-size:14px;font-weight:750}.admin-events-title-button span{color:#6b7280;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;font-weight:600;display:-webkit-box;overflow:hidden}.admin-events-detail-row td{background:#f8fafc;padding:0}.admin-events-detail{gap:12px;padding:14px;display:grid}.admin-events-detail-grid{grid-template-columns:repeat(4,max-content minmax(0,1fr));align-items:baseline;gap:8px 12px;display:grid}.admin-events-detail-grid span{color:#6b7280;font-size:12px;font-weight:750}.admin-events-detail-grid strong{overflow-wrap:anywhere;color:#111827;min-width:0;font-size:12px;font-weight:700}.admin-events-detail pre{color:#111827;white-space:pre-wrap;background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-height:260px;margin:0;padding:12px;font-size:12px;line-height:1.45;overflow:auto}.admin-events-load-more{justify-content:center;padding-top:14px;display:flex}@media (width<=840px){.admin-events-backdrop{padding:12px}.admin-events-modal{border-radius:16px;width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.admin-events-toolbar{grid-template-columns:1fr}.admin-events-filters{justify-content:flex-start}.admin-events-detail-grid{grid-template-columns:max-content minmax(0,1fr)}}.admin-referrals-backdrop{z-index:226;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-referrals-modal{background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:20px;grid-template-rows:auto auto minmax(0,1fr);width:min(1220px,100vw - 32px);max-height:min(800px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 76px #0f172a33,0 8px 24px #0f172a1a}.admin-referrals-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.admin-referrals-header h2{color:#111827;margin:0;font-size:24px;font-weight:700;line-height:1.15}.admin-referrals-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.35}.admin-referrals-close{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.admin-referrals-close:hover{color:#111827;background:#e5e7eb}.admin-referrals-tabs{background:#fff;border-bottom:1px solid #e5e7eb;gap:8px;padding:12px 24px;display:flex}.admin-referrals-tabs button{color:#4b5563;background:#f3f4f6;border:0;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:750}.admin-referrals-tabs button.is-active{color:#fff;background:#111827}.admin-referrals-state{color:#4b5563;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:28px;font-size:15px;font-weight:650;display:inline-flex}.admin-referrals-state--error{color:#b42318}.admin-referrals-content{min-height:0;overflow:auto}.admin-referrals-settings,.admin-referrals-create,.admin-referrals-search{background:#f8fafc;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 24px;display:flex}.admin-referrals-settings label{color:#4b5563;gap:5px;font-size:12px;font-weight:750;display:grid}.admin-referrals-create label{color:#374151;flex:170px;gap:5px;min-width:170px;display:grid}.admin-referrals-create label span{color:#111827;font-size:12px;font-weight:800;line-height:1.2}.admin-referrals-create label small{color:#6b7280;min-height:15px;font-size:11px;font-weight:650;line-height:1.25}.admin-referrals-settings input,.admin-referrals-settings select,.admin-referrals-create input,.admin-referrals-search input,.admin-referrals-table input,.admin-referrals-table select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:10px;outline:none;height:36px;padding:0 10px;font-size:13px;font-weight:650}.admin-referrals-settings input:focus,.admin-referrals-settings select:focus,.admin-referrals-create input:focus,.admin-referrals-search input:focus,.admin-referrals-table input:focus,.admin-referrals-table select:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.admin-referrals-create strong{color:#111827;align-self:flex-start;min-width:132px;padding-top:26px;font-size:13px;font-weight:800}.admin-referrals-create-error{color:#b42318;flex:100%;align-self:flex-end;font-size:12px;font-weight:700;line-height:1.35}.admin-referrals-search input{min-width:min(320px,100%)}.admin-referrals-table-wrap{min-height:0;overflow:auto}.admin-referrals-table{border-collapse:separate;border-spacing:0;color:#111827;width:100%;min-width:1080px;font-size:13px}.admin-referrals-table th{z-index:1;color:#4b5563;text-align:left;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:12px 10px;font-size:12px;font-weight:750;line-height:1.2;position:sticky;top:0}.admin-referrals-table td{vertical-align:top;background:#fff;border-bottom:1px solid #edf0f4;padding:12px 10px}.admin-referrals-table tr:hover td{background:#fbfdff}.admin-referrals-identity{gap:6px;min-width:180px;display:grid}.admin-referrals-identity strong{color:#111827;font-weight:800}.admin-referrals-identity span{color:#6b7280;font-size:12px;font-weight:650}.admin-referrals-inline-fields{align-items:center;gap:6px;display:flex}.admin-referrals-inline-fields input{width:72px}.admin-referrals-inline-fields select{width:136px}.admin-referrals-inline-fields span{color:#6b7280;font-size:12px;font-weight:700}.admin-referrals-check{color:#374151;align-items:center;gap:7px;margin-bottom:7px;font-size:12px;font-weight:750;display:flex}.admin-referrals-check input{width:15px;height:15px}.admin-referrals-row-error{color:#b42318;margin:6px 0 0;font-size:12px;font-weight:700;line-height:1.35}.admin-referrals-save{color:#fff;background:#111827;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.admin-referrals-save:disabled{opacity:.55}.admin-referrals-create-button.button{color:#fff;min-width:128px;height:36px;box-shadow:none;background:#111827;border-radius:10px;align-self:flex-end}.admin-referrals-create-button.button:hover:not(:disabled){background:#1f2937;transform:none}.admin-referrals-create-button.button span{color:inherit}@media (width<=760px){.admin-referrals-backdrop{padding:10px}.admin-referrals-modal{border-radius:16px;width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.admin-referrals-header,.admin-referrals-settings,.admin-referrals-create,.admin-referrals-search{padding-left:16px;padding-right:16px}}.admin-subscription-plans-backdrop{z-index:224;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a42;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-subscription-plans-modal{background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:20px;grid-template-rows:auto minmax(0,1fr);width:min(1120px,100vw - 32px);max-height:min(760px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 76px #0f172a33,0 8px 24px #0f172a1a}.admin-subscription-plans-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.admin-subscription-plans-header h2{color:#111827;margin:0;font-size:24px;font-weight:700;line-height:1.15}.admin-subscription-plans-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.35}.admin-subscription-plans-close{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.admin-subscription-plans-close:hover{color:#111827;background:#e5e7eb}.admin-subscription-plans-state{color:#4b5563;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:28px;font-size:15px;font-weight:650;display:inline-flex}.admin-subscription-plans-state svg{color:#4f46e5}.admin-subscription-plans-state--error{color:#b42318}.admin-subscription-plans-table-wrap{min-height:0;overflow:auto}.admin-subscription-plans-table{border-collapse:separate;border-spacing:0;color:#111827;width:100%;min-width:1040px;font-size:13px}.admin-subscription-plans-table th{z-index:1;color:#4b5563;text-align:left;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:12px 10px;font-size:12px;font-weight:750;line-height:1.2;position:sticky;top:0}.admin-subscription-plans-table td{vertical-align:top;background:#fff;border-bottom:1px solid #edf0f4;padding:12px 10px}.admin-subscription-plans-table tr:hover td{background:#fbfcff}.admin-subscription-plans-identity{min-width:150px}.admin-subscription-plans-identity strong,.admin-subscription-plans-identity span,.admin-subscription-plans-dates span,.admin-subscription-plans-help{display:block}.admin-subscription-plans-identity strong{color:#111827;font-size:13px;font-weight:750;line-height:1.25}.admin-subscription-plans-identity span,.admin-subscription-plans-dates span,.admin-subscription-plans-help{color:#6b7280;margin-top:4px;font-size:12px;font-weight:600;line-height:1.25}.admin-subscription-plans-table input[type=text],.admin-subscription-plans-table input[type=number],.admin-subscription-plans-table select{color:#111827;min-height:36px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;padding:0 10px;font-weight:650}.admin-subscription-plans-table input[type=text]{width:180px}.admin-subscription-plans-table input[type=number],.admin-subscription-plans-table select{width:110px}.admin-subscription-plans-table textarea{resize:vertical;color:#111827;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;width:240px;min-height:88px;max-height:180px;padding:9px 10px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.admin-subscription-plans-table input:focus,.admin-subscription-plans-table select:focus,.admin-subscription-plans-table textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.admin-subscription-plans-switch{color:#374151;white-space:nowrap;align-items:center;gap:8px;min-height:36px;font-size:13px;font-weight:650;display:inline-flex}.admin-subscription-plans-switch input{accent-color:#4f46e5;width:16px;height:16px}.admin-subscription-plans-row-error{color:#b42318;width:240px;margin:8px 0 0;font-size:12px;font-weight:650;line-height:1.35}.admin-subscription-plans-save{color:#fff;white-space:nowrap;background:#4f46e5;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 11px;font-size:13px;font-weight:700;line-height:1;display:inline-flex}.admin-subscription-plans-save:hover:not(:disabled){background:#4338ca}.admin-subscription-plans-save:disabled{cursor:not-allowed;opacity:.62}@media (width<=900px){.admin-subscription-plans-backdrop{padding:12px}.admin-subscription-plans-modal{border-radius:16px;width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.admin-subscription-plans-header{padding:18px}.admin-subscription-plans-header h2{font-size:21px}}.billing-history-backdrop{z-index:228;-webkit-backdrop-filter:blur(10px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:radial-gradient(circle at 50% 0,#7c3aed1f,#0000 36%),#0f172a7a;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.billing-history-modal{width:min(760px,100vw - 32px);max-height:min(720px,100vh - 32px);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#fff;border:1px solid #e5e7eb;border-radius:8px;grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden;box-shadow:0 32px 90px #4f46e538,inset 0 1px #ffffffdb}.billing-history-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;display:flex}.billing-history-header h2{color:#111827;margin:0;font-size:24px;font-weight:750;line-height:1.15}.billing-history-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.4}.billing-history-close{color:#374151;background:#f3f4f6;border:0;border-radius:8px;flex:none;place-items:center;width:38px;height:38px;display:grid}.billing-history-close:hover{color:#111827;background:#e5e7eb}.billing-history-state,.billing-history-empty{color:#4b5563;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:28px;font-size:15px;font-weight:650;display:inline-flex}.billing-history-state svg{color:#4f46e5}.billing-history-state--error{color:#b42318}.billing-history-content{grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid}.billing-history-list{min-height:0;overflow:auto}.billing-history-item{background:#fff;border-bottom:1px solid #eef2f7;grid-template-columns:minmax(190px,1fr) 110px 120px 112px;align-items:center;gap:14px;padding:14px 24px;display:grid}.billing-history-item:hover{background:#f8fafc}.billing-history-main{gap:4px;min-width:0;display:grid}.billing-history-main strong{color:#111827;font-size:14px;font-weight:750;line-height:1.25}.billing-history-main span{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.3;overflow:hidden}.billing-history-amount,.billing-history-balance,.billing-history-date{white-space:nowrap;font-size:13px;font-weight:700;line-height:1.25}.billing-history-amount{justify-self:end}.billing-history-amount--positive{color:#047857}.billing-history-amount--negative{color:#b42318}.billing-history-balance{color:#111827;justify-self:end}.billing-history-date{color:#6b7280;justify-self:end}.billing-history-actions{background:#fff;border-top:1px solid #e5e7eb;justify-content:center;padding:16px 24px 20px;display:flex}@media (width<=720px){.billing-history-backdrop{padding:12px}.billing-history-modal{border-radius:8px;width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.billing-history-header{padding:18px}.billing-history-header h2{font-size:21px}.billing-history-item{grid-template-columns:1fr auto;gap:8px 12px;padding:14px 18px}.billing-history-main{grid-column:1/-1}.billing-history-main span{white-space:normal}.billing-history-amount{justify-self:start}.billing-history-balance,.billing-history-date{justify-self:end}}.board-team-modal-backdrop{z-index:1300;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172a52;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.board-team-modal{background:#fff;border:1px solid #e2e8f0f5;border-radius:24px;flex-direction:column;width:min(920px,100%);max-height:min(820px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 32px 80px #0f172a38,0 10px 30px #6366f11f}.board-team-modal__header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:18px;padding:24px 26px;display:flex}.board-team-modal__title{align-items:center;gap:14px;min-width:0;display:flex}.board-team-modal__icon{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);border-radius:16px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex;box-shadow:0 16px 34px #6366f13d}.board-team-modal__title h2{color:#111827;margin:0;font-size:28px;font-weight:800;line-height:1.1}.board-team-modal__title p{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:15px;font-weight:650;overflow:hidden}.board-team-modal__close,.board-team-modal__icon-button{color:#4b5563;cursor:pointer;background:#f3f4f6;border:0;border-radius:14px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.board-team-modal__close:hover:not(:disabled),.board-team-modal__icon-button:hover:not(:disabled){color:#111827;background:#e5e7eb}.board-team-modal__close:disabled,.board-team-modal__icon-button:disabled,.board-team-modal button:disabled,.board-team-modal input:disabled,.board-team-modal select:disabled{cursor:not-allowed;opacity:.56}.board-team-modal__body{gap:16px;min-height:0;padding:22px 26px 26px;display:grid;overflow-y:auto}.board-team-modal__state{color:#6b7280;text-align:center;padding:42px 26px;font-size:16px;font-weight:650}.board-team-modal__state--error{color:#b91c1c}.board-team-modal__summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.board-team-modal__summary>div,.board-team-modal__section{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px}.board-team-modal__summary>div{gap:7px;padding:18px;display:grid}.board-team-modal__summary span,.board-team-modal__section-head p,.board-team-modal__member-main span,.board-team-modal__member-stats{color:#6b7280;font-size:13px;font-weight:650;line-height:1.35}.board-team-modal__summary strong{color:#111827;font-size:28px;font-weight:800;line-height:1.05}.board-team-modal__section{gap:16px;padding:18px;display:grid}.board-team-modal__section-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.board-team-modal__section-head h3{color:#111827;margin:0;font-size:18px;font-weight:800}.board-team-modal__section-head p{margin:5px 0 0}.board-team-modal__limit-row,.board-team-modal__invite-row{align-items:end;gap:12px;display:grid}.board-team-modal__limit-row{grid-template-columns:minmax(0,1fr) auto}.board-team-modal__invite-row{grid-template-columns:minmax(220px,1fr) 170px auto}.board-team-modal label{gap:8px;display:grid}.board-team-modal label span{color:#6b7280;font-size:13px;font-weight:750}.board-team-modal input,.board-team-modal select{box-sizing:border-box;color:#111827;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #dbe1ea;border-radius:13px;outline:none;padding:0 14px;font-size:15px;font-weight:650}.board-team-modal input:focus,.board-team-modal select:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px #6366f124}.board-team-modal__primary,.board-team-modal__secondary,.board-team-modal__danger{min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;gap:9px;padding:0 18px;font-size:15px;font-weight:800;display:inline-flex}.board-team-modal__primary{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);box-shadow:0 14px 28px #6366f133}.board-team-modal__secondary{color:#374151;background:#eef2ff}.board-team-modal__danger{color:#b91c1c;background:#fee2e2}.board-team-modal__members{gap:10px;display:grid}.board-team-modal__member{background:#fff;border:1px solid #e5e7eb;border-radius:15px;grid-template-columns:minmax(220px,1fr) minmax(180px,auto) 150px 42px;align-items:center;gap:12px;padding:12px;display:grid}.board-team-modal__member-main{gap:4px;min-width:0;display:grid}.board-team-modal__member-main strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:800;overflow:hidden}.board-team-modal__member-stats{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.board-team-modal__member-stats span{background:#f1f5f9;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;display:inline-flex}.board-team-modal__icon-button--danger{color:#dc2626;background:#fef2f2}.board-team-modal__icon-button--danger:hover:not(:disabled){color:#b91c1c;background:#fee2e2}.board-team-modal__empty{color:#6b7280;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:15px;padding:26px;font-size:15px;font-weight:650}.board-team-modal__footer{justify-content:space-between;gap:12px;display:flex}@media (width<=760px){.board-team-modal-backdrop{align-items:stretch;padding:12px}.board-team-modal{border-radius:20px;max-height:calc(100vh - 24px)}.board-team-modal__header,.board-team-modal__body{padding-left:16px;padding-right:16px}.board-team-modal__summary,.board-team-modal__limit-row,.board-team-modal__invite-row,.board-team-modal__member{grid-template-columns:1fr}.board-team-modal__member-stats{justify-content:flex-start}.board-team-modal__footer{flex-direction:column}.board-team-modal__primary,.board-team-modal__secondary,.board-team-modal__danger{width:100%}}.pricing-admin-backdrop{z-index:220;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a42;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.pricing-admin-modal{background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:20px;grid-template-rows:auto auto minmax(0,1fr);width:min(1180px,100vw - 32px);height:min(760px,100vh - 32px);max-height:min(760px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 76px #0f172a33,0 8px 24px #0f172a1a}.pricing-admin-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.pricing-admin-header h2{color:#111827;margin:0;font-size:24px;font-weight:700;line-height:1.15}.pricing-admin-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.35}.pricing-admin-close{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.pricing-admin-close:hover{color:#111827;background:#e5e7eb}.pricing-admin-state{color:#4b5563;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:28px;font-size:15px;font-weight:650;display:inline-flex}.pricing-admin-state svg{color:#4f46e5}.pricing-admin-state--error{color:#b42318}.pricing-admin-secondary-action{color:#fff;background:#4f46e5;border:0;border-radius:9px;min-height:34px;padding:0 12px;font-size:13px;font-weight:750}.pricing-admin-secondary-action:hover{background:#4338ca}.pricing-admin-tabs{background:#fff;border-bottom:1px solid #e5e7eb;gap:8px;padding:12px 24px;display:flex}.pricing-admin-tabs button{color:#4b5563;background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;min-height:36px;padding:0 14px;font-size:13px;font-weight:750}.pricing-admin-tabs button:hover{color:#111827;border-color:#cfd5df}.pricing-admin-tabs button.is-active{color:#fff;background:#4f46e5;border-color:#4f46e5}.pricing-admin-content{min-height:0;display:grid;overflow:hidden}.pricing-admin-table-wrap{height:100%;min-height:0;overflow:auto}.pricing-admin-table{border-collapse:separate;border-spacing:0;color:#111827;width:100%;min-width:1080px;font-size:13px}.pricing-admin-table th{z-index:1;color:#4b5563;text-align:left;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:12px 10px;font-size:12px;font-weight:750;line-height:1.2;position:sticky;top:0}.pricing-admin-table td{vertical-align:top;background:#fff;border-bottom:1px solid #edf0f4;padding:12px 10px}.pricing-admin-table tr:hover td{background:#fbfcff}.pricing-admin-identity{min-width:170px}.pricing-admin-identity strong,.pricing-admin-identity span{display:block}.pricing-admin-identity strong{color:#111827;font-size:13px;font-weight:750;line-height:1.25}.pricing-admin-identity span{color:#6b7280;margin-top:4px;font-size:12px;font-weight:600;line-height:1.25}.pricing-admin-table input[type=number]{color:#111827;width:92px;min-height:36px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;padding:0 10px;font-weight:650}.pricing-admin-table select{color:#111827;min-height:36px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;padding:0 10px;font-weight:650}.pricing-admin-cost-label{color:#6b7280;white-space:nowrap;margin-bottom:6px;font-size:11px;font-weight:650;display:block}.pricing-admin-table textarea{resize:vertical;color:#111827;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;width:220px;min-height:88px;max-height:180px;padding:9px 10px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.pricing-admin-table input[type=number]:focus,.pricing-admin-table select:focus,.pricing-admin-table textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.pricing-admin-switch{color:#374151;white-space:nowrap;align-items:center;gap:8px;min-height:36px;font-size:13px;font-weight:650;display:inline-flex}.pricing-admin-switch input{accent-color:#4f46e5;width:16px;height:16px}.pricing-admin-row-error{color:#b42318;width:220px;margin:8px 0 0;font-size:12px;font-weight:650;line-height:1.35}.pricing-admin-save{color:#fff;white-space:nowrap;background:#4f46e5;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 11px;font-size:13px;font-weight:700;line-height:1;display:inline-flex}.pricing-admin-save:hover:not(:disabled){background:#4338ca}.pricing-admin-save:disabled{cursor:not-allowed;opacity:.62}.pricing-models-panel{overscroll-behavior:contain;scrollbar-gutter:stable;grid-auto-rows:minmax(76px,max-content);align-content:start;gap:16px;height:100%;min-height:0;padding:16px 18px 22px;display:grid;overflow:auto}.pricing-model-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-height:76px;overflow:hidden}.pricing-model-card-header{background:#f8fafc;justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding:16px;display:flex}.pricing-model-card--expanded .pricing-model-card-header{background:linear-gradient(135deg,#4f46e50d,#7c3aed0f),#f8fafc}.pricing-model-card-title{min-width:0}.pricing-model-card-title h3{color:#111827;margin:0;font-size:17px;font-weight:850;line-height:1.2}.pricing-model-card-title span{color:#6b7280;margin-top:5px;font-size:12px;font-weight:700;display:block}.pricing-model-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.pricing-model-card-meta{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.pricing-model-card-meta span{color:#3730a3;background:#eef2ff;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.pricing-model-configure{color:#fff;white-space:nowrap;background:linear-gradient(135deg,#4f46e5,#7c3aed);border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 12px;font-size:13px;font-weight:800;line-height:1;display:inline-flex;box-shadow:0 10px 22px #4f46e533}.pricing-model-configure:hover{transform:translateY(-1px);box-shadow:0 14px 26px #4f46e542}.pricing-model-configure:focus-visible{outline-offset:2px;outline:3px solid #6366f138}.pricing-model-detail-panel{align-content:start;gap:14px;height:100%;padding:16px 18px 22px;display:grid;overflow:auto}.pricing-model-detail-header{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#4f46e50d,#7c3aed0d),#f8fafcfa;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:14px 16px;display:grid;position:sticky;top:0;box-shadow:0 12px 28px #0f172a0f}.pricing-model-back{color:#374151;white-space:nowrap;background:#fff;border:1px solid #dfe3ea;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 12px;font-size:13px;font-weight:800;line-height:1;display:inline-flex}.pricing-model-back:hover{color:#3730a3;background:#eef2ff;border-color:#c7d2fe}.pricing-model-detail-title{min-width:0}.pricing-model-detail-title h3{color:#111827;margin:0;font-size:18px;font-weight:850;line-height:1.2}.pricing-model-detail-title span{color:#6b7280;margin-top:5px;font-size:12px;font-weight:750;line-height:1.25;display:block}.pricing-model-detail-note{color:#4b5563;background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin:0;padding:12px 14px;font-size:13px;font-weight:650;line-height:1.45}.pricing-formula-list{background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:0;margin-top:-8px;display:grid;overflow:hidden;box-shadow:0 16px 36px #0f172a14}.pricing-formula-list--detail{margin-top:0;overflow:visible}.pricing-model-empty{color:#6b7280;margin:0;padding:16px;font-size:13px;font-weight:700}.pricing-formula-card{border-bottom:1px solid #edf0f4;gap:12px;padding:14px 16px 16px;display:grid}.pricing-formula-card:last-child{border-bottom:0}.pricing-formula-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pricing-formula-header h4{color:#111827;margin:0;font-size:14px;font-weight:800;line-height:1.25}.pricing-formula-header span{color:#6b7280;margin-top:4px;font-size:12px;font-weight:700;display:block}.pricing-formula-status{color:#075985;white-space:nowrap;background:#e0f2fe;border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.pricing-formula-status--inactive{color:#991b1b;background:#fee2e2}.pricing-formula-components{gap:10px;display:grid}.pricing-formula-component{background:#fff;border:1px solid #edf0f4;border-radius:10px;grid-template-columns:minmax(0,1fr) 260px;gap:12px;padding:12px;display:grid}.pricing-formula-component-title{border-bottom:1px solid #edf0f4;grid-column:1/-1;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:10px;display:flex}.pricing-formula-component-title strong,.pricing-formula-component-title span{display:block}.pricing-formula-component-title strong{color:#111827;font-size:14px;font-weight:850;line-height:1.25}.pricing-formula-component-title div span{color:#6b7280;margin-top:4px;font-size:12px;font-weight:750}.pricing-formula-component-title>span{color:#3730a3;white-space:nowrap;background:#eef2ff;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}.pricing-formula-component-main{grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;display:grid}.pricing-formula-component-main label,.pricing-formula-component-side label{gap:6px;min-width:0;display:grid}.pricing-formula-component-main label span,.pricing-formula-component-side label span{color:#6b7280;font-size:11px;font-weight:750;line-height:1.2}.pricing-formula-component input[type=text],.pricing-formula-component input[type=number]{color:#111827;width:100%;min-width:0;min-height:36px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;padding:0 10px;font-weight:650}.pricing-formula-component input[readonly]{color:#4b5563;background:#f8fafc}.pricing-formula-component textarea{resize:vertical;color:#111827;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;width:100%;min-height:92px;max-height:180px;padding:9px 10px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.pricing-formula-component input[type=text]:focus,.pricing-formula-component input[type=number]:focus,.pricing-formula-component textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.pricing-formula-active{align-self:end}.pricing-formula-component-side{align-content:start;gap:10px;display:grid}.kling-pricing-editor{gap:14px;display:grid}.kling-pricing-editor-header{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px;display:flex}.kling-pricing-editor-header h4{color:#111827;margin:0;font-size:15px;font-weight:850;line-height:1.25}.kling-pricing-editor-header p{color:#6b7280;max-width:760px;margin:6px 0 0;font-size:13px;font-weight:650;line-height:1.45}.kling-pricing-subsection{gap:10px;display:grid}.kling-pricing-subsection-header{gap:5px;padding:2px 2px 0;display:grid}.kling-pricing-subsection-header h4{color:#111827;margin:0;font-size:15px;font-weight:850;line-height:1.25}.kling-pricing-subsection-header p{color:#6b7280;max-width:840px;margin:0;font-size:13px;font-weight:650;line-height:1.4}.kling-pricing-table{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 16px 36px #0f172a14}.kling-pricing-table-head,.kling-pricing-row{grid-template-columns:minmax(220px,1.25fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(130px,.65fr) 96px 134px;align-items:center;gap:12px;display:grid}.kling-pricing-table-head--single,.kling-pricing-row--single{grid-template-columns:minmax(260px,1.4fr) minmax(170px,.7fr) minmax(130px,.65fr) 96px 134px}.kling-pricing-table-head--chatgpt,.kling-pricing-row--chatgpt{grid-template-columns:minmax(240px,1.2fr) minmax(130px,.55fr) minmax(150px,.65fr) minmax(150px,.65fr) 96px 134px}.kling-pricing-table-head{color:#6b7280;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #edf0f4;padding:12px 14px;font-size:11px;font-weight:850;line-height:1.2}.kling-pricing-row{border-bottom:1px solid #edf0f4;padding:14px;position:relative}.kling-pricing-row:last-child{border-bottom:0}.kling-pricing-version{min-width:0}.kling-pricing-version strong,.kling-pricing-version span{display:block}.kling-pricing-version strong{color:#111827;font-size:14px;font-weight:850;line-height:1.25}.kling-pricing-version span{color:#6b7280;margin-top:5px;font-size:12px;font-weight:700;line-height:1.25}.kling-pricing-row label{gap:6px;min-width:0;display:grid}.kling-pricing-row label span{color:#6b7280;font-size:11px;font-weight:750;line-height:1.2}.kling-pricing-row input[type=number]{color:#111827;width:100%;min-width:0;min-height:38px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:9px;outline:none;padding:0 10px;font-weight:750}.kling-pricing-row input[type=number]:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.kling-pricing-disabled{opacity:.58}.kling-pricing-disabled input[type=number]{background:#f8fafc}.kling-pricing-status span{color:#075985;white-space:nowrap;background:#e0f2fe;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}.kling-pricing-row-error{color:#b42318;grid-column:1/-1;margin:-2px 0 0;font-size:12px;font-weight:700;line-height:1.35}.provider-routes-panel{align-content:start;gap:14px;height:100%;padding:16px 18px 22px;display:grid;overflow:auto}.provider-routes-summary{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px}.provider-routes-summary h3{color:#111827;margin:0;font-size:16px;font-weight:850;line-height:1.25}.provider-routes-summary p{color:#6b7280;max-width:760px;margin:6px 0 0;font-size:13px;font-weight:650;line-height:1.45}.provider-model-list{gap:10px;display:grid}.provider-model-row{background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(300px,.55fr);align-items:center;gap:18px;padding:14px 16px;display:grid;box-shadow:0 12px 28px #0f172a0f}.provider-model-main{min-width:0}.provider-model-main h3{color:#111827;margin:0;font-size:16px;font-weight:850;line-height:1.25}.provider-model-main span{color:#6b7280;margin-top:5px;font-size:12px;font-weight:750;display:block}.provider-model-control{gap:8px;min-width:0;display:grid}.provider-model-control label{gap:6px;display:grid}.provider-model-control label>span{color:#6b7280;text-transform:uppercase;font-size:11px;font-weight:800;line-height:1.2}.provider-model-control select{color:#111827;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:10px;outline:none;padding:0 12px;font-size:14px;font-weight:800}.provider-model-control select:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.provider-model-control select:disabled{cursor:wait;opacity:.72}.provider-model-status{color:#6b7280;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;font-weight:750;display:flex}.provider-route-badge{color:#1f2937;background:#eef2ff;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.provider-route-badge--selected{color:#075985;background:#e0f2fe}.provider-route-badge--inactive{color:#991b1b;background:#fee2e2}.provider-midjourney-settings{border-top:1px solid #eef0f5;grid-column:1/-1;gap:12px;padding-top:14px;display:grid}.provider-midjourney-settings-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.provider-midjourney-settings-header h4{color:#111827;margin:0;font-size:14px;font-weight:850;line-height:1.25}.provider-midjourney-settings-header p{color:#6b7280;max-width:780px;margin:5px 0 0;font-size:12px;font-weight:650;line-height:1.45}.provider-midjourney-mode{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:end;gap:12px;display:grid}.provider-midjourney-mode label,.provider-midjourney-night label,.provider-midjourney-bot-slots label{gap:6px;display:grid}.provider-midjourney-mode label>span,.provider-midjourney-night label>span,.provider-midjourney-bot-slots label>span{color:#6b7280;text-transform:uppercase;font-size:11px;font-weight:800;line-height:1.2}.provider-midjourney-mode select,.provider-midjourney-night input,.provider-midjourney-bot-slots input{color:#111827;min-height:40px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:10px;outline:none;padding:0 12px;font-size:14px;font-weight:800}.provider-midjourney-mode select:focus,.provider-midjourney-night input:focus,.provider-midjourney-bot-slots input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.provider-midjourney-mode>span{color:#4338ca;background:#eef2ff;border-radius:999px;align-items:center;width:fit-content;min-height:32px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.provider-midjourney-night{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:end;gap:12px;padding:12px;display:grid}.provider-midjourney-night p{color:#6b7280;margin:0;font-size:12px;font-weight:700;line-height:1.45}.provider-midjourney-bot-slots{grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;display:grid}.admin-special-offers-panel{align-content:start;gap:14px;height:100%;padding:16px 18px 22px;display:grid;overflow:auto}.admin-special-offers-header{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px}.admin-special-offers-header h3{color:#111827;margin:0;font-size:16px;font-weight:850;line-height:1.25}.admin-special-offers-header p{color:#6b7280;max-width:820px;margin:6px 0 0;font-size:13px;font-weight:650;line-height:1.45}.admin-special-offers-grid{grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:12px;display:grid}.admin-special-offer-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-content:start;gap:12px;padding:14px;display:grid;box-shadow:0 12px 28px #0f172a0f}.admin-special-offer-card-header{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;display:grid}.admin-special-offer-icon{color:#4f46e5;background:#eef2ff;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.admin-special-offer-badges{flex-wrap:wrap;gap:6px;margin-bottom:7px;display:flex}.admin-special-offer-badges span{color:#4b5563;background:#f3f4f6;border-radius:999px;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:850;line-height:1;display:inline-flex}.admin-special-offer-badges span.is-active{color:#047857;background:#d1fae5}.admin-special-offer-badges span.is-warning{color:#92400e;background:#fef3c7}.admin-special-offer-card h4{color:#111827;margin:0;font-size:15px;font-weight:850;line-height:1.25}.admin-special-offer-description{color:#4b5563;margin:0;font-size:13px;font-weight:650;line-height:1.45}.admin-special-offer-facts{gap:8px;margin:0;display:grid}.admin-special-offer-facts div{gap:3px;display:grid}.admin-special-offer-facts dt,.admin-special-offer-metrics span{color:#6b7280;letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:850;line-height:1.2}.admin-special-offer-facts dd{color:#1f2937;margin:0;font-size:13px;font-weight:750;line-height:1.35}.admin-special-offer-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.admin-special-offer-metrics div{background:#f8fafc;border-radius:10px;gap:5px;min-width:0;padding:10px;display:grid}.admin-special-offer-metrics strong{overflow-wrap:anywhere;color:#111827;min-width:0;font-size:14px;font-weight:850;line-height:1.2}.admin-special-offer-timeline{color:#6b7280;border-top:1px solid #edf0f4;gap:5px;padding-top:11px;font-size:12px;font-weight:700;line-height:1.35;display:grid}@media (width<=900px){.pricing-admin-backdrop{padding:12px}.pricing-admin-modal{border-radius:16px;width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.pricing-admin-header{padding:18px}.pricing-admin-header h2{font-size:21px}.pricing-formula-component,.pricing-model-detail-header{grid-template-columns:1fr}.kling-pricing-editor-header{display:grid}.kling-pricing-table-head{display:none}.kling-pricing-row,.provider-model-row{grid-template-columns:1fr}.provider-midjourney-settings-header{display:grid}.provider-midjourney-mode,.provider-midjourney-night,.provider-midjourney-bot-slots,.admin-special-offer-metrics{grid-template-columns:1fr}.pricing-formula-component-main{grid-template-columns:repeat(2,minmax(120px,1fr))}}.promo-code-admin-backdrop{z-index:225;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a42;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.promo-code-admin-modal{background:#fffffffa;border:1px solid #e5e7ebf2;border-radius:20px;grid-template-rows:auto minmax(0,1fr);width:min(1240px,100vw - 32px);max-height:min(820px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 76px #0f172a33,0 8px 24px #0f172a1a}.promo-code-admin-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.promo-code-admin-header h2{color:#111827;margin:0;font-size:24px;font-weight:700;line-height:1.15}.promo-code-admin-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.35}.promo-code-admin-close{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.promo-code-admin-close:hover{color:#111827;background:#e5e7eb}.promo-code-admin-content{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.promo-code-admin-create{background:#fbfcff;border-bottom:1px solid #e5e7eb;gap:14px;padding:18px 24px;display:grid}.promo-code-admin-create-header{justify-content:space-between;align-items:center;gap:14px;display:flex}.promo-code-admin-create-header h3{color:#111827;margin:0;font-size:17px;font-weight:750;line-height:1.2}.promo-code-admin-create-button{min-height:38px;padding:0 14px}.promo-code-admin-created-code,.promo-code-admin-error{border-radius:10px;margin:0;padding:10px 12px;font-size:13px;font-weight:650;line-height:1.35}.promo-code-admin-created-code{color:#14532d;background:#ecfdf3}.promo-code-admin-created-code strong{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.promo-code-admin-error{color:#b42318;background:#fff1f0}.promo-code-admin-create-grid{grid-template-columns:repeat(4,minmax(140px,1fr));align-items:start;gap:12px;display:grid}.promo-code-admin-create-grid label{color:#374151;gap:7px;font-size:12px;font-weight:750;line-height:1.2;display:grid}.promo-code-admin-create-grid input,.promo-code-admin-create-grid textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none}.promo-code-admin-create-grid input{min-height:36px;padding:0 10px}.promo-code-admin-create-grid textarea{resize:vertical;min-height:88px;padding:9px 10px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.promo-code-admin-create-grid input:focus,.promo-code-admin-create-grid textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.promo-code-admin-check{grid-auto-flow:column;justify-content:start;align-self:end;align-items:center;min-height:36px;display:inline-flex!important}.promo-code-admin-check input,.promo-code-admin-switch input{accent-color:#4f46e5;width:16px;height:16px}.promo-code-admin-metadata-field{grid-column:span 2}.promo-code-admin-state{color:#4b5563;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:28px;font-size:15px;font-weight:650;display:inline-flex}.promo-code-admin-state svg{color:#4f46e5}.promo-code-admin-state--error{color:#b42318}.promo-code-admin-table-wrap{min-height:0;overflow:auto}.promo-code-admin-table{border-collapse:separate;border-spacing:0;color:#111827;width:100%;min-width:1260px;font-size:13px}.promo-code-admin-table th{z-index:1;color:#4b5563;text-align:left;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:12px 10px;font-size:12px;font-weight:750;line-height:1.2;position:sticky;top:0}.promo-code-admin-table td{vertical-align:top;background:#fff;border-bottom:1px solid #edf0f4;padding:12px 10px}.promo-code-admin-table tr:hover td{background:#fbfcff}.promo-code-admin-code{overflow-wrap:anywhere;max-width:170px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.35;display:block}.promo-code-admin-code-note{color:#9ca3af;margin-top:4px;font-size:11px;font-weight:650;line-height:1.2;display:block}.promo-code-admin-table input[type=text],.promo-code-admin-table input[type=number],.promo-code-admin-table input[type=datetime-local],.promo-code-admin-table textarea{color:#111827;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none}.promo-code-admin-table input[type=text]{width:160px}.promo-code-admin-table input[type=number]{width:110px}.promo-code-admin-table input[type=datetime-local]{width:160px}.promo-code-admin-table input{min-height:36px;padding:0 10px}.promo-code-admin-table textarea{resize:vertical;width:220px;min-height:88px;max-height:180px;padding:9px 10px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.promo-code-admin-table input:focus,.promo-code-admin-table textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.promo-code-admin-switch{color:#374151;white-space:nowrap;align-items:center;gap:8px;min-height:36px;font-size:13px;font-weight:650;display:inline-flex}.promo-code-admin-row-error{color:#b42318;width:220px;margin:8px 0 0;font-size:12px;font-weight:650;line-height:1.35}.promo-code-admin-save{color:#fff;white-space:nowrap;background:#4f46e5;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 11px;font-size:13px;font-weight:700;line-height:1;display:inline-flex}.promo-code-admin-save:hover:not(:disabled){background:#4338ca}.promo-code-admin-save:disabled{cursor:not-allowed;opacity:.62}@media (width<=980px){.promo-code-admin-backdrop{padding:12px}.promo-code-admin-modal{border-radius:16px;width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.promo-code-admin-header,.promo-code-admin-create{padding:18px}.promo-code-admin-header h2{font-size:21px}.promo-code-admin-create-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media (width<=560px){.promo-code-admin-create-header{display:grid}.promo-code-admin-create-button{width:100%}.promo-code-admin-create-grid{grid-template-columns:1fr}.promo-code-admin-metadata-field{grid-column:auto}}.promo-code-backdrop{z-index:230;-webkit-backdrop-filter:blur(10px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:radial-gradient(circle at 50% 0,#7c3aed1f,#0000 36%),#0f172a7a;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.promo-code-modal{width:min(430px,100vw - 32px);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;box-shadow:0 32px 90px #4f46e538,inset 0 1px #ffffffdb}.promo-code-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 22px 18px;display:flex}.promo-code-title{align-items:flex-start;gap:13px;display:flex}.promo-code-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border-radius:8px;flex:none;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 16px 30px #4f46e542}.promo-code-header h2{color:#111827;margin:0;font-size:23px;font-weight:750;line-height:1.15}.promo-code-header p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.4}.promo-code-close{color:#374151;background:#f3f4f6;border:0;border-radius:8px;flex:none;place-items:center;width:38px;height:38px;display:grid}.promo-code-close:hover:not(:disabled){color:#111827;background:#e5e7eb}.promo-code-close:disabled{cursor:not-allowed;opacity:.62}.promo-code-form{gap:14px;padding:20px 22px 22px;display:grid}.promo-code-field{color:#374151;gap:8px;font-size:14px;font-weight:650;display:grid}.promo-code-field input{color:#111827;width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:8px;outline:none;padding:0 14px;font-size:16px;font-weight:650}.promo-code-field input:focus{border-color:#7c3aed6b;box-shadow:0 0 0 3px #7c3aed1f}.promo-code-field input:disabled{cursor:not-allowed;background:#f9fafb}.promo-code-error{color:#b42318;background:#fff1f0;border-radius:8px;margin:0;padding:10px 12px;font-size:13px;font-weight:650;line-height:1.35}.promo-code-actions{justify-content:flex-end;display:flex}.promo-code-submit{min-width:142px}@media (width<=560px){.promo-code-backdrop{padding:12px}.promo-code-modal{border-radius:16px;width:calc(100vw - 24px)}.promo-code-header,.promo-code-form{padding:18px}.promo-code-actions{display:grid}.promo-code-submit{width:100%}}.profile-page{background:linear-gradient(135deg,#f8fbff 0%,#eef2ff 46%,#fbf7ff 100%);border-top:1px solid #e5e7eb;min-height:calc(100vh - 78px)}.profile-shell{gap:24px;width:min(1320px,100% - 64px);margin:0 auto;padding:42px 0 10px;display:grid}.profile-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.profile-heading h1{color:#111827;margin:0;font-size:34px;font-weight:760;line-height:1.12}.profile-muted{color:#6b7280;font-size:13px;font-weight:700;line-height:1.3}.profile-section{background:#fff;border:1px solid #e5e7eb;border-radius:25px;gap:18px;padding:22px;display:grid;box-shadow:0 16px 40px #0f172a0d}.profile-overview{isolation:isolate;-webkit-backdrop-filter:blur(28px)saturate(140%);background:linear-gradient(112deg,#ffffffad 0%,#ffffff5c 48%,#e8deff80 100%),linear-gradient(#ffffff6b 0%,#fff3 100%);border:1px solid #ffffffd1;border-radius:25px;gap:34px;padding:40px;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 90px #4f46e52e,inset 0 1px #ffffffeb}.profile-overview:before{z-index:-1;content:"";background:linear-gradient(135deg,#ffffffb8 0%,#ffffff14 46%,#7c3aed21 100%),linear-gradient(90deg,#4f46e524 0%,#0000 42%,#10b9811a 100%);position:absolute;inset:0}.profile-overview:after{z-index:-1;border-radius:inherit;content:"";pointer-events:none;background:linear-gradient(160deg,#ffffff8f 0%,#0000 36%,#ffffff38 100%);position:absolute;inset:1px}.profile-overview-top{z-index:1;justify-content:space-between;align-items:flex-start;gap:24px;display:flex;position:relative}.profile-user-summary{align-items:flex-start;gap:20px;min-width:0;display:flex}.profile-avatar{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#6d5dfc 48%,#7c3aed 100%);border-radius:20px;flex:none;place-items:center;width:92px;height:92px;display:grid;position:relative;box-shadow:0 24px 42px #4f46e552,inset 0 1px #ffffff40}.profile-user-copy{gap:10px;min-width:0;display:grid}.profile-user-copy h2{color:#111827;margin:0;font-size:24px;font-weight:760;line-height:1.12}.profile-user-copy p{color:#6b7280;overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:600;line-height:1.35}.profile-user-badges,.profile-overview-actions{flex-wrap:wrap;gap:10px;display:flex}.profile-plan-badge,.profile-overview-action{color:#111827;-webkit-backdrop-filter:blur(18px)saturate(145%);background:#ffffff85;border:1px solid #ffffffbd;border-radius:20px;align-items:center;min-height:38px;padding:0 15px;font-size:14px;font-weight:700;line-height:1;display:inline-flex;box-shadow:0 16px 34px #4f46e51f,inset 0 1px #ffffffc7}.profile-plan-badge{gap:8px}.profile-plan-badge svg{color:#4f46e5}.profile-overview-actions{justify-content:flex-end}.profile-overview-action{appearance:none;cursor:pointer;min-height:46px;font:inherit;color:#374151;gap:8px;transition:background .16s,color .16s,transform .16s}.profile-overview-action:hover{color:#111827;background:#ffffffbd;transform:translateY(-1px)}.profile-overview-stats{z-index:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid;position:relative}.profile-stat-card{-webkit-backdrop-filter:blur(22px)saturate(145%);background:linear-gradient(145deg,#ffffff9e 0%,#ffffff52 100%),#ffffff6b;border:1px solid #ffffffb8;border-radius:20px;align-content:start;gap:14px;min-width:0;min-height:190px;padding:26px;display:grid;box-shadow:0 20px 48px #4f46e51f,inset 0 1px #ffffffd1}.profile-referral{isolation:isolate;-webkit-backdrop-filter:blur(26px)saturate(140%);background:linear-gradient(112deg,#ffffffb3 0%,#ffffff61 52%,#e8deff75 100%),linear-gradient(#ffffff70 0%,#ffffff38 100%);border:1px solid #ffffffd1;border-radius:25px;grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);gap:24px 28px;padding:32px 40px;display:grid;position:relative;overflow:hidden;box-shadow:0 28px 80px #4f46e524,inset 0 1px #ffffffe6}.profile-referral:before{z-index:-1;content:"";background:linear-gradient(135deg,#ffffffb8 0%,#ffffff14 48%,#7c3aed1f 100%),linear-gradient(90deg,#4f46e51f 0%,#0000 44%,#10b98114 100%);position:absolute;inset:0}.profile-referral:after{z-index:-1;border-radius:inherit;content:"";pointer-events:none;background:linear-gradient(160deg,#ffffff80 0%,#0000 38%,#fff3 100%);position:absolute;inset:1px}.profile-referral-copy{z-index:1;align-content:center;gap:10px;display:grid;position:relative}.profile-referral-copy h2{color:#111827;margin:0;font-size:26px;font-weight:760;line-height:1.15}.profile-referral-copy p{color:#6b7280;margin:0;font-size:14px;font-weight:600;line-height:1.45}.profile-referral-card{z-index:1;-webkit-backdrop-filter:blur(20px)saturate(145%);background:linear-gradient(145deg,#ffffffa3 0%,#ffffff57 100%),#ffffff6b;border:1px solid #ffffffbd;border-radius:20px;grid-template-columns:1fr;align-items:stretch;gap:14px;min-height:132px;padding:18px;display:grid;position:relative;box-shadow:0 18px 44px #4f46e51a,inset 0 1px #ffffffd1}.profile-referral-link-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;display:grid}.profile-referral-link-row>div{gap:5px;min-width:0;display:grid}.profile-referral-card span,.profile-referral-stats span{color:#6b7280;font-size:12px;font-weight:750;line-height:1.25}.profile-referral-card strong{color:#111827;font-size:19px;font-weight:820}.profile-referral-card code{color:#111827;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:inherit;font-size:13px;font-weight:700;overflow:hidden}.profile-referral-copy-button{color:#fff;background:#111827;border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:13px;font-weight:800;display:inline-flex;box-shadow:0 14px 32px #11182729}.profile-referral-copy-button:disabled{opacity:.55}.profile-referral-stats{z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid;position:relative}.profile-referral-stats span{-webkit-backdrop-filter:blur(16px)saturate(145%);background:#ffffff80;border:1px solid #ffffffb8;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:10px 12px;display:flex;box-shadow:0 14px 30px #4f46e514,inset 0 1px #ffffffc2}.profile-referral-stats strong{color:#111827;font-size:15px;font-weight:820}.profile-referral-ambassador{color:#6b7280;margin:0;font-size:13px;font-weight:600;line-height:1.45}.profile-referral-ambassador button{appearance:none;color:#5b45f3;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:760}.profile-referral-ambassador button:hover{color:#111827}.profile-stat-head{color:#6b7280;letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:11px;font-size:12px;font-weight:760;line-height:1.2;display:flex}.profile-stat-icon{color:#fff;border-radius:20px;flex:none;place-items:center;width:46px;height:46px;display:grid;box-shadow:0 12px 22px #0f172a1f}.profile-stat-icon--usage{background:linear-gradient(135deg,#4f46e5 0%,#6366f1 100%)}.profile-stat-icon--credits{background:linear-gradient(135deg,#6366f1 0%,#7c3aed 100%)}.profile-stat-icon--billing{background:linear-gradient(135deg,#10b981 0%,#059669 100%)}.profile-stat-icon--activity{background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%)}.profile-stat-card strong{color:#111827;font-size:40px;font-weight:760;line-height:1.05}.profile-stat-card .profile-stat-usage-value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-stat-card p{color:#6b7280;margin:0;font-size:13px;font-weight:650;line-height:1.35}.profile-stat-action{color:#6b7280;cursor:pointer;min-height:36px;font:inherit;background:#ffffff7a;border:1px solid #6b72802e;border-radius:14px;justify-self:start;padding:0 13px;font-size:13px;font-weight:720;line-height:1;transition:background .16s,border-color .16s,color .16s,transform .16s}.profile-stat-action:hover:not(:disabled){color:#374151;background:#ffffffad;border-color:#6b728047;transform:translateY(-1px)}.profile-stat-action:disabled{cursor:wait;opacity:.68}.profile-stat-link-button{appearance:none;color:#5b45f3;cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-weight:780}.profile-stat-link-button:hover{color:#111827}.profile-stat-note{font-size:13px}.profile-usage-bar{background:#e5e7eb94;border-radius:999px;height:9px;overflow:hidden}.profile-usage-bar span{border-radius:inherit;background:linear-gradient(90deg,#4f46e5 0%,#7c3aed 100%);height:100%;display:block}.profile-section-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.profile-section h2,.profile-card-title h2{color:#111827;margin:0;font-size:18px;font-weight:760;line-height:1.25}.profile-section p,.profile-card-title p{color:#6b7280;margin:6px 0 0;font-size:14px;font-weight:500;line-height:1.45}.profile-account-grid,.profile-grid{gap:16px;display:grid}.profile-account-grid{grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(180px,1fr))}.profile-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.profile-metric{background:#fbfcff;border:1px solid #edf0f4;border-radius:20px;gap:8px;min-width:0;padding:16px;display:grid}.profile-metric span{color:#6b7280;font-size:13px;font-weight:650;line-height:1.25}.profile-metric strong{overflow-wrap:anywhere;color:#111827;font-size:18px;font-weight:760;line-height:1.25}.profile-card-title{align-items:flex-start;gap:12px;display:flex}.profile-card-title>span{color:#fff;background:#4f46e5;border-radius:20px;flex:none;place-items:center;width:38px;height:38px;display:grid}.profile-promo-form{gap:13px;display:grid}.profile-field{color:#374151;gap:8px;font-size:14px;font-weight:650;display:grid}.profile-field input{color:#111827;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:20px;outline:none;padding:0 13px;font-size:15px;font-weight:650}.profile-field input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #7c3aed1f}.profile-field input:disabled{cursor:not-allowed;background:#f9fafb}.profile-form-error{color:#b42318;background:#fff1f0;border-radius:20px;margin:0;padding:10px 12px;font-size:13px;font-weight:650;line-height:1.35}.profile-form-actions{justify-content:flex-end;display:flex}.profile-info-list,.profile-faq-list{gap:10px;display:grid}.profile-info-item{border-left:3px solid #dbe4ff;gap:5px;padding-left:12px;display:grid}.profile-info-item strong{color:#111827;font-size:14px;font-weight:750;line-height:1.25}.profile-info-item span{color:#4b5563;font-size:14px;font-weight:500;line-height:1.45}.profile-history-panel{gap:14px;display:grid}.profile-history-list{border:1px solid #edf0f4;border-radius:20px;display:grid;overflow:hidden}.profile-history-item{background:#fff;border-bottom:1px solid #edf0f4;grid-template-columns:minmax(220px,1fr) 110px 130px 112px;align-items:center;gap:14px;padding:14px 16px;display:grid}.profile-history-item:last-child{border-bottom:0}.profile-history-item:hover{background:#fbfcff}.profile-history-main{gap:4px;min-width:0;display:grid}.profile-history-main strong{color:#111827;font-size:14px;font-weight:750;line-height:1.25}.profile-history-main span{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.3;overflow:hidden}.profile-history-amount,.profile-history-balance,.profile-history-date{white-space:nowrap;justify-self:end;font-size:13px;font-weight:700;line-height:1.25}.profile-history-amount--positive{color:#047857}.profile-history-amount--negative{color:#b42318}.profile-history-balance{color:#111827}.profile-history-date{color:#6b7280}.profile-history-actions{justify-content:center;display:flex}.profile-history-state,.profile-history-empty{color:#4b5563;border:1px dashed #dfe3ea;border-radius:20px;justify-content:center;align-items:center;gap:10px;min-height:148px;font-size:14px;font-weight:650;display:inline-flex}.profile-history-state svg{color:#4f46e5}.profile-history-state--error{color:#b42318}.profile-pricing{gap:46px;padding:44px 0 10px;display:grid}.profile-pricing-heading{text-align:center;justify-items:center;gap:18px;display:grid}.profile-pricing-heading h2{color:#050816;letter-spacing:0;margin:0;font-size:clamp(42px,6vw,72px);font-weight:780;line-height:1.04}.profile-pricing-heading h2 span{color:#5b55f3}.profile-pricing-heading p{color:#4b5563;max-width:640px;margin:0;font-size:17px;font-weight:600;line-height:1.45}.profile-pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;display:grid}.profile-pricing-grid--addons{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.profile-pricing-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-pricing-group{gap:18px;display:grid}.profile-pricing-subheading{gap:7px;max-width:720px;display:grid}.profile-pricing-subheading h3{color:#111827;margin:0;font-size:26px;font-weight:780;line-height:1.15}.profile-pricing-subheading p,.profile-pricing-state{color:#4b5563;margin:0;font-size:15px;font-weight:650;line-height:1.45}.profile-pricing-state{background:#ffffff94;border:1px solid #ffffffad;border-radius:18px;padding:16px 18px;box-shadow:0 16px 34px #0f172a0f}.profile-pricing-state--error{color:#b42318;background:#fef2f2c7}.profile-pricing-card{-webkit-backdrop-filter:blur(24px)saturate(145%);background:linear-gradient(145deg,#ffffff8a 0%,#ffffff45 100%),#ffffff6b;border:1px solid #ffffffad;border-radius:25px;align-content:start;gap:24px;min-width:0;min-height:540px;padding:36px;display:grid;position:relative;overflow:hidden;box-shadow:0 24px 60px #0f172a14,inset 0 1px #ffffffd1}.profile-pricing-grid--addons .profile-pricing-card,.profile-pricing-grid--compact .profile-pricing-card{gap:22px;min-height:430px;padding:30px}.profile-pricing-grid--addons .profile-pricing-card{border-radius:22px;gap:18px;min-height:auto;padding:24px}.profile-pricing-card--highlighted{background:linear-gradient(145deg,#ffffff9e 0%,#887cff3d 100%),#ffffff61;border-color:#ffffffdb;box-shadow:0 30px 86px #4f46e53d,inset 0 1px #ffffffe0}.profile-pricing-card--highlighted:before{z-index:-1;content:"";background:linear-gradient(135deg,#4f46e524 0%,#7c3aed29 100%);position:absolute;inset:0}.profile-pricing-card-head{align-items:center;gap:18px;min-width:0;display:flex}.profile-pricing-grid--addons .profile-pricing-card-head{gap:14px}.profile-pricing-icon{color:#4b5563;background:#ffffffbd;border:1px solid #ffffffb3;border-radius:20px;flex:none;place-items:center;width:56px;height:56px;display:grid;box-shadow:0 16px 30px #0f172a14,inset 0 1px #ffffffd1}.profile-pricing-icon--highlighted{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);box-shadow:0 18px 34px #4f46e547}.profile-pricing-card h3{color:#111827;overflow-wrap:anywhere;margin:0;font-size:22px;font-weight:780;line-height:1.2}.profile-pricing-grid--addons .profile-pricing-card h3{font-size:19px;line-height:1.16}.profile-pricing-price{color:#111827;align-items:baseline;gap:8px;min-width:0;display:flex}.profile-pricing-grid--addons .profile-pricing-price{flex-wrap:wrap;gap:6px 8px}.profile-pricing-price strong{letter-spacing:0;font-size:clamp(42px,4vw,58px);font-weight:760;line-height:1}.profile-pricing-grid--addons .profile-pricing-price strong{font-size:46px}.profile-pricing-price span{color:#6b7280;font-size:20px;font-weight:700}.profile-pricing-grid--addons .profile-pricing-price span{font-size:17px}.profile-pricing-action{color:#374151;cursor:default;min-height:58px;font:inherit;background:#ffffffb8;border:1px solid #ffffffc2;border-radius:20px;padding:0 18px;font-size:16px;font-weight:780;box-shadow:0 16px 34px #0f172a1a,inset 0 1px #ffffffdb}.profile-pricing-action:not(:disabled){cursor:pointer;transition:box-shadow .16s,transform .16s}.profile-pricing-action:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 20px 42px #4f46e529,inset 0 1px #ffffffe0}.profile-pricing-action:disabled{cursor:default;opacity:.68}.profile-pricing-action--highlighted{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border-color:#0000;box-shadow:0 18px 36px #4f46e54d}.profile-pricing-card p{color:#4b5563;overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:600;line-height:1.45}.profile-pricing-grid--addons .profile-pricing-card p{font-size:14px}.profile-pricing-package-section{border-top:1px solid #ffffff8a;gap:14px;padding-top:22px;display:grid}.profile-pricing-package{color:#111827;overflow-wrap:anywhere;align-items:flex-start;gap:8px;min-width:0;font-size:14px;font-weight:740;line-height:1.35;display:flex}.profile-pricing-package>span{flex:auto;min-width:0}.profile-pricing-info-button{color:#64748b;cursor:pointer;width:30px;height:30px;font:inherit;background:#ffffff94;border:1px solid #94a3b838;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0;font-size:15px;font-weight:780;line-height:1;transition:color .16s,transform .16s,box-shadow .16s;display:inline-flex;box-shadow:0 10px 20px #0f172a0f,inset 0 1px #ffffffd1}.profile-pricing-info-button span{display:block;transform:translateY(-.5px)}.profile-pricing-info-button:hover{color:#4f46e5;transform:translateY(-1px);box-shadow:0 14px 26px #4f46e524,inset 0 1px #ffffffe0}.profile-pricing-usage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.profile-pricing-usage-card{background:#ffffff94;border:1px solid #ffffffb8;border-radius:17px;gap:7px;min-width:0;padding:12px;display:grid;box-shadow:0 14px 28px #0f172a0f,inset 0 1px #ffffffc7}.profile-pricing-usage-icon{color:#4f46e5;background:#4f46e517;border-radius:10px;place-items:center;width:28px;height:28px;display:grid}.profile-pricing-usage-card strong{color:#111827;margin:2px 0 -2px;font-size:18px;font-weight:760;line-height:1}.profile-pricing-usage-card span:last-child{color:#6b7280;font-size:11px;font-weight:720;line-height:1.2}.profile-pricing-card ul{border-top:1px solid #ffffff8a;gap:15px;margin:0;padding:24px 0 0;list-style:none;display:grid}.profile-pricing-grid--addons .profile-pricing-card ul{gap:10px;padding-top:18px}.profile-pricing-card li{color:#374151;overflow-wrap:anywhere;align-items:center;gap:12px;min-width:0;font-size:15px;font-weight:650;line-height:1.35;display:flex}.profile-pricing-grid--addons .profile-pricing-card li{gap:10px;font-size:14px;line-height:1.28}.profile-pricing-feature-icon{color:#4f46e5;background:#4f46e514;border:1px solid #4f46e51f;border-radius:12px;flex:none;place-items:center;width:30px;height:30px;display:grid;box-shadow:0 10px 20px #4f46e512,inset 0 1px #ffffffc7}.profile-pricing-card--highlighted .profile-pricing-info-button,.profile-pricing-card--highlighted .profile-pricing-usage-icon,.profile-pricing-card--highlighted .profile-pricing-feature-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border-color:#0000}.profile-checkout-backdrop{z-index:250;-webkit-backdrop-filter:blur(18px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:#0f172a5c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.profile-checkout-modal{width:min(1060px,100%);max-height:calc(100vh - 32px);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:linear-gradient(135deg,#fffffff5 0%,#f7f8ffeb 58%,#f2edfff0 100%),#fff;border:1px solid #ffffffc7;border-radius:22px;gap:12px;padding:22px 24px;display:grid;overflow:auto;box-shadow:0 36px 90px #0f172a3d,inset 0 1px #ffffffeb}.profile-checkout-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.profile-checkout-header h2{color:#111827;margin:3px 0 0;font-size:27px;font-weight:780;line-height:1.1}.profile-checkout-kicker{color:#4f46e5;background:#4f46e517;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:780;line-height:1;display:inline-flex}.profile-checkout-close{color:#4b5563;cursor:pointer;background:#ffffffa8;border:1px solid #6b72801f;border-radius:14px;flex:none;place-items:center;width:38px;height:38px;transition:background .16s,color .16s,transform .16s;display:grid}.profile-checkout-close:hover:not(:disabled){color:#111827;background:#fff;transform:translateY(-1px)}.profile-checkout-close:disabled{cursor:wait;opacity:.6}.profile-checkout-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.profile-checkout-summary>div{background:#ffffff94;border:1px solid #ffffffc7;border-radius:16px;gap:5px;min-width:0;padding:12px 14px;display:grid;box-shadow:0 16px 32px #4f46e514,inset 0 1px #ffffffd1}.profile-checkout-summary span,.profile-checkout-section-head span,.profile-checkout-provider small{color:#6b7280;font-size:11px;font-weight:720;line-height:1.35}.profile-checkout-summary strong{color:#111827;font-size:17px;font-weight:780;line-height:1.15}.profile-checkout-description{color:#4b5563;margin:0;font-size:14px;font-weight:600;line-height:1.35}.profile-checkout-section{gap:10px;display:grid}.profile-checkout-section-head{justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.profile-checkout-section-head h3,.profile-checkout-estimate-group h4{color:#111827;margin:0;font-weight:780;line-height:1.2}.profile-checkout-section-head h3{font-size:17px}.profile-checkout-estimate-group{gap:7px;display:grid}.profile-checkout-estimate-group h4{font-size:13px}.profile-checkout-estimate-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.profile-checkout-estimate,.profile-checkout-provider{background:#ffffff94;border:1px solid #ffffffbd;border-radius:14px;min-width:0;box-shadow:0 14px 28px #0f172a0f,inset 0 1px #ffffffd1}.profile-checkout-estimate{align-content:center;gap:3px;min-height:46px;padding:8px 10px;display:grid}.profile-checkout-estimate span{color:#374151;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:720;line-height:1.25;overflow:hidden}.profile-checkout-estimate strong{color:#4b5563;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:780;line-height:1.25;overflow:hidden}.profile-checkout-state{color:#4b5563;background:#ffffff7a;border:1px dashed #6b728038;border-radius:14px;margin:0;padding:12px 14px;font-size:13px;font-weight:650;line-height:1.4}.profile-checkout-state--error{color:#b42318;background:#fef2f2b8}.profile-checkout-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.profile-checkout-provider{color:#374151;cursor:pointer;min-height:58px;font:inherit;text-align:left;gap:5px;padding:10px 12px;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s;display:grid}.profile-checkout-provider span{color:#111827;align-items:center;gap:8px;font-size:14px;font-weight:780;line-height:1.2;display:flex}.profile-checkout-provider span svg{color:#4f46e5}.profile-checkout-provider:hover:not(:disabled){background:#ffffffc7;border-color:#4f46e547;transform:translateY(-1px)}.profile-checkout-provider--selected{background:#eff2ffb8;border-color:#4f46e566;box-shadow:0 16px 34px #4f46e524,inset 0 1px #ffffffe6}.profile-checkout-provider:disabled{cursor:not-allowed;opacity:.58}.profile-checkout-actions{justify-content:flex-end;gap:8px;padding-top:0;display:flex}.profile-checkout-primary,.profile-checkout-secondary{cursor:pointer;min-height:42px;font:inherit;border-radius:14px;padding:0 16px;font-size:13px;font-weight:780;line-height:1;transition:box-shadow .16s,transform .16s,opacity .16s}.profile-checkout-primary{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border:0;box-shadow:0 16px 34px #4f46e53d}.profile-checkout-secondary{color:#4b5563;background:#ffffffa3;border:1px solid #6b728024}.profile-checkout-primary:hover:not(:disabled),.profile-checkout-secondary:hover:not(:disabled){transform:translateY(-1px)}.profile-checkout-primary:disabled,.profile-checkout-secondary:disabled{cursor:default;opacity:.58}.profile-faq-section{isolation:isolate;-webkit-backdrop-filter:blur(26px)saturate(145%);background:linear-gradient(112deg,#ffffffa3 0%,#ffffff59 52%,#e8deff75 100%),#ffffff61;border:1px solid #ffffffc7;border-radius:25px;gap:34px;padding:52px;display:grid;position:relative;overflow:hidden;box-shadow:0 28px 76px #4f46e524,inset 0 1px #ffffffe0}.profile-faq-section:before{z-index:-1;content:"";background:linear-gradient(135deg,#f8fbffd1 0%,#ffffff29 48%,#7c3aed1f 100%),linear-gradient(90deg,#4f46e51c 0%,#0000 44%,#fff3 100%);position:absolute;inset:0}.profile-faq-heading{gap:10px;max-width:680px;display:grid}.profile-faq-heading h2{color:#111827;letter-spacing:0;margin:0;font-size:clamp(32px,4vw,46px);font-weight:780;line-height:1.04}.profile-faq-heading p{color:#5b6472;margin:0;font-size:16px;font-weight:650;line-height:1.45}.profile-faq-list{gap:22px;display:grid}.profile-faq-item{-webkit-backdrop-filter:blur(22px)saturate(140%);background:linear-gradient(115deg,#ffffffc2 0%,#ffffff85 58%,#f6f2ffbd 100%);border:1px solid #ffffffbd;border-radius:25px;transition:border-color .16s,box-shadow .16s,transform .16s;overflow:hidden;box-shadow:0 18px 40px #0f172a17,inset 0 1px #ffffffe6}.profile-faq-item--open{border-color:#ffffffe6;box-shadow:0 24px 54px #4f46e529,inset 0 1px #ffffffeb}.profile-faq-trigger{color:#111827;cursor:pointer;width:100%;min-height:96px;font:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;display:flex}.profile-faq-trigger>span:first-child{font-size:20px;font-weight:760;line-height:1.25}.profile-faq-icon{color:#4b5563;background:#ffffffbd;border-radius:20px;flex:none;place-items:center;width:52px;height:52px;transition:background .16s,color .16s,transform .18s;display:grid;box-shadow:0 14px 24px #0f172a1f,inset 0 1px #ffffffe0}.profile-faq-item--open .profile-faq-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);transform:rotate(180deg)}.profile-faq-answer{color:#4b5563;margin:-4px 0 0;padding:0 28px 26px;font-size:15px;font-weight:600;line-height:1.55}.profile-faq-inline-link{color:#4f46e5;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:0;font-weight:760;text-decoration:underline;text-decoration-thickness:1.5px;display:inline}.profile-faq-inline-link:hover{color:#7c3aed}.profile-faq-inline-link:focus-visible{outline-offset:3px;border-radius:6px;outline:3px solid #7c3aed2e}.profile-page--gate{place-items:center;padding:42px 18px;display:grid}.profile-auth-gate{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:25px;justify-items:center;gap:14px;width:min(520px,100%);padding:34px 28px;display:grid;box-shadow:0 16px 40px #0f172a0d}.profile-auth-icon{color:#fff;background:#4f46e5;border-radius:20px;place-items:center;width:52px;height:52px;display:grid}.profile-auth-gate h1{color:#111827;margin:0;font-size:26px;font-weight:760;line-height:1.18}.profile-auth-gate p{color:#6b7280;margin:0;font-size:15px;font-weight:500;line-height:1.45}.profile-auth-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px;display:flex}@media (width<=980px){.profile-shell{width:min(100% - 36px,1180px);padding-top:32px}.profile-account-grid,.profile-grid,.profile-overview-stats,.profile-pricing-grid,.profile-referral{grid-template-columns:1fr}.profile-referral-stats{grid-column:1}.profile-pricing-card{min-height:auto}.profile-checkout-summary{grid-template-columns:1fr}.profile-checkout-estimate-list{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-overview-top{flex-direction:column;align-items:stretch}.profile-overview-actions{justify-content:flex-start}.profile-history-item{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.profile-history-main{grid-column:1/-1}.profile-history-main span{white-space:normal}.profile-history-amount{justify-self:start}}@media (width<=620px){.app--profile-page{--mobile-profile-header-height:67px;padding-top:var(--mobile-profile-header-height)}.profile-page{min-height:calc(100vh - var(--mobile-profile-header-height));border-top:0}.profile-shell{gap:16px;width:calc(100% - 24px);padding-top:22px}.profile-heading,.profile-section-header{flex-direction:column;align-items:flex-start}.profile-heading h1{font-size:28px}.profile-section{padding:18px}.profile-pricing{gap:28px;padding-top:28px}.profile-pricing-heading h2{font-size:38px}.profile-pricing-heading p{font-size:15px}.profile-pricing-toggle{width:100%}.profile-pricing-toggle button{width:100%;min-width:0}.profile-pricing-card{gap:22px;padding:24px}.profile-pricing-package-section{gap:12px;padding-top:18px}.profile-pricing-package{font-size:13px}.profile-pricing-usage-grid{gap:8px}.profile-pricing-usage-card{border-radius:15px;gap:6px;padding:10px}.profile-pricing-usage-icon{border-radius:9px;width:26px;height:26px}.profile-pricing-usage-card strong{font-size:16px}.profile-pricing-usage-card span:last-child{font-size:10px}.profile-checkout-backdrop{padding:calc(12px + env(safe-area-inset-top,0px)) 12px calc(12px + env(safe-area-inset-bottom,0px));place-items:stretch stretch;overflow-y:auto}.profile-checkout-modal{width:100%;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));gap:12px;padding:18px}.profile-checkout-header{z-index:2;background:linear-gradient(135deg,#fffffff7 0%,#f7f8fff0 58%,#f2edfff5 100%),#fff;align-items:flex-start;padding-bottom:2px;position:sticky;top:0}.profile-checkout-header h2{color:#111827;font-size:24px}.profile-checkout-kicker,.profile-checkout-primary,.profile-checkout-secondary{font-size:13px}.profile-checkout-summary strong,.profile-checkout-section-head h3,.profile-checkout-provider span,.profile-checkout-estimate span{color:#111827;font-size:15px}.profile-checkout-description,.profile-checkout-summary span,.profile-checkout-section-head span,.profile-checkout-estimate-group h4,.profile-checkout-estimate strong,.profile-checkout-provider small,.profile-checkout-state{color:#4b5563;font-size:13px}.profile-checkout-section-head{flex-direction:column;align-items:flex-start;gap:6px}.profile-checkout-estimate-list,.profile-checkout-provider-grid,.profile-checkout-actions{grid-template-columns:1fr}.profile-checkout-provider-grid,.profile-checkout-actions{display:grid}.profile-checkout-primary,.profile-checkout-secondary{width:100%}.profile-pricing-price strong{font-size:38px}.profile-faq-section{gap:24px;padding:24px}.profile-faq-heading h2{font-size:30px}.profile-faq-heading p{font-size:14px}.profile-faq-list{gap:14px}.profile-faq-trigger{gap:16px;min-height:76px;padding:18px}.profile-faq-trigger>span:first-child{font-size:17px}.profile-faq-icon{width:42px;height:42px}.profile-faq-answer{padding:0 18px 20px;font-size:14px}.profile-overview{gap:22px;padding:20px}.profile-referral{padding:18px}.profile-referral-card{grid-template-columns:1fr}.profile-referral-copy-button{width:100%}.profile-user-summary{gap:14px}.profile-avatar{width:64px;height:64px}.profile-user-copy h2{font-size:20px}.profile-user-badges,.profile-overview-actions{grid-template-columns:1fr;display:grid}.profile-overview-action,.profile-plan-badge,.profile-form-actions,.profile-form-actions .button,.profile-auth-actions,.profile-auth-actions .button{width:100%}.profile-auth-actions{display:grid}}.support-modal-backdrop{z-index:260;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:#0f172a2e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.support-modal{width:min(100%,420px);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:linear-gradient(145deg,#fffffff5,#f8fafce6),#fff;border:1px solid #ffffffd1;border-radius:24px;padding:22px;box-shadow:0 28px 70px #0f172a33}.support-modal__header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.support-modal__title-row{align-items:center;gap:12px;min-width:0;display:flex}.support-modal__icon{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);border-radius:14px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex;box-shadow:0 16px 30px #6366f13d}.support-modal__header h2{color:#111827;margin:0;font-size:22px;font-weight:650;line-height:1.15}.support-modal__close{color:#6b7280;background:#f3f4f6;border:0;border-radius:12px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.support-modal__close:hover{color:#111827;background:#e5e7eb}.support-modal__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px;display:grid}.support-modal__link{color:#111827;background:#ffffffd1;border:1px solid #e5e7eb;border-radius:16px;justify-content:center;align-items:center;gap:8px;min-height:54px;font-size:15px;font-weight:700;line-height:1;text-decoration:none;transition:transform .16s,border-color .16s,box-shadow .16s;display:inline-flex;box-shadow:0 12px 28px #0f172a14}.support-modal__link:hover{border-color:#6366f157;transform:translateY(-1px);box-shadow:0 16px 34px #6366f129}@media (width<=560px){.support-modal-backdrop{padding:18px}.support-modal{border-radius:22px;padding:18px}.support-modal__header h2{font-size:20px}.support-modal__actions{grid-template-columns:1fr}}.legal-page{background:linear-gradient(#f8fafc 0%,#fff 320px),#fff;border-top:1px solid #e5e7eb;min-height:calc(100vh - 78px)}.legal-page__shell{width:min(940px,100% - 64px);margin:0 auto;padding:48px 0 12px}.legal-page__header{border-bottom:1px solid #e5e7eb;gap:18px;padding-bottom:30px;display:grid}.legal-page__eyebrow{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;width:fit-content;margin:0;padding:7px 10px;font-size:13px;font-weight:760;line-height:1}.legal-page__title-group{gap:12px;display:grid}.legal-page__title-group h1{color:#111827;overflow-wrap:anywhere;max-width:860px;margin:0;font-size:42px;font-weight:780;line-height:1.08}.legal-page__title-group p,.legal-page__date{color:#4b5563;max-width:800px;margin:0;font-size:16px;font-weight:600;line-height:1.5}.legal-page__date{color:#6b7280;font-size:14px;font-weight:700}.legal-prose{color:#1f2937;overflow-wrap:anywhere;min-width:0;padding-top:34px;font-size:16px;font-weight:500;line-height:1.72}.legal-prose>:first-child{margin-top:0}.legal-prose>:last-child{margin-bottom:0}.legal-prose p{margin:0 0 16px}.legal-prose h2,.legal-prose h3,.legal-prose h4{color:#111827;line-height:1.22}.legal-prose h2{margin:38px 0 16px;padding-top:8px;font-size:24px;font-weight:780}.legal-prose h3{margin:28px 0 12px;font-size:19px;font-weight:760}.legal-prose h4{margin:22px 0 10px;font-size:17px;font-weight:760}.legal-prose strong{color:#111827;font-weight:760}.legal-prose ul,.legal-prose ol{margin:10px 0 18px;padding-left:24px}.legal-prose li{margin:7px 0;padding-left:2px}.legal-prose li>p{margin:0}.legal-prose blockquote{color:#374151;background:#f8fafc;border-left:4px solid #4f46e5;border-radius:0 8px 8px 0;margin:22px 0;padding:18px 20px}.legal-prose blockquote>:first-child{margin-top:0}.legal-prose blockquote>:last-child{margin-bottom:0}.legal-prose a{color:#4f46e5;text-underline-offset:3px;font-weight:720;text-decoration:underline}.legal-prose a:hover{color:#312e81}.legal-table-scroll{background:#fff;border:1px solid #e5e7eb;border-radius:8px;max-width:100%;margin:20px 0 24px;overflow-x:auto}.legal-table-scroll table{border-collapse:collapse;color:#1f2937;width:100%;min-width:640px;font-size:15px;line-height:1.5}.legal-table-scroll th,.legal-table-scroll td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:13px 15px}.legal-table-scroll th{color:#111827;background:#f8fafc;font-weight:760}.legal-table-scroll tr:last-child th,.legal-table-scroll tr:last-child td{border-bottom:0}@media (width<=760px){.legal-page__shell{width:min(100% - 36px,940px);padding-top:36px}.legal-page__title-group h1{font-size:34px}.legal-prose{padding-top:28px;font-size:15.5px;line-height:1.68}.legal-prose h2{margin-top:32px;font-size:22px}.legal-prose h3{font-size:18px}.legal-table-scroll table{min-width:560px;font-size:14px}}@media (width<=420px){.legal-page__shell{width:min(100% - 28px,940px)}.legal-page__title-group h1{font-size:30px}.legal-page__title-group p{font-size:15px}}.sidebar{--sidebar-board-gap:9px;--sidebar-section-gap:22px;--sidebar-title-bottom-gap:16px;background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;height:100%;min-height:0;padding:18px 16px;display:flex;position:relative;overflow:hidden}.sidebar-create{border-radius:10px;justify-content:flex-start;width:100%;min-height:40px;padding:0 15px;font-size:15px;font-weight:600}.sidebar-content{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.sidebar-section{margin-top:var(--sidebar-section-gap)}.sidebar-section--boards{flex-direction:column;flex:auto;min-height:0;display:flex}.sidebar-section--system{margin-top:var(--sidebar-section-gap);flex:none;padding-top:0;padding-bottom:8px}.sidebar-title{margin:0 0 var(--sidebar-title-bottom-gap);color:#6b7280;letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:9px;font-size:14px;font-weight:600;display:flex}.board-list{gap:var(--sidebar-board-gap);min-width:0;padding-left:6px;padding-right:6px;display:grid}.sidebar-section--boards .board-list{scrollbar-width:none;-ms-overflow-style:none;min-height:0;padding-bottom:8px;overflow-y:auto}.sidebar-section--boards .board-list::-webkit-scrollbar{display:none}.sidebar-promotion{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);border-radius:14px;gap:10px;margin:18px 6px 0;padding:14px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 34px #6366f13d}.sidebar-promotion-title{align-items:center;gap:8px;min-width:0;font-size:15px;font-weight:700;line-height:1.2;display:flex}.sidebar-promotion-title svg{flex:none}.sidebar-promotion p{color:#ffffffdb;margin:0;font-size:12.5px;font-weight:500;line-height:1.35}.sidebar-promotion-timer{color:#fff;white-space:nowrap;font-weight:700}.sidebar-promotion-link{color:#2563eb;text-align:center;background:#fff;border-radius:10px;justify-content:center;align-items:center;min-height:34px;padding:0 12px;font-size:13px;font-weight:700;line-height:1;transition:transform .16s,background .16s,box-shadow .16s;display:inline-flex}button.sidebar-promotion-link{cursor:pointer;border:0;width:100%;font-family:inherit}.sidebar-promotion-link:hover{background:#f8fafc;transform:translateY(-1px);box-shadow:0 10px 22px #0f172a24}.sidebar-promotion-link:focus-visible,.sidebar-promotion-dismiss:focus-visible{outline-offset:3px;outline:3px solid #ffffff6b}.sidebar-promotion-dismiss{color:#ffffffc7;background:#ffffff24;border:0;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;position:absolute;top:8px;right:8px}.sidebar-promotion-dismiss:hover{color:#fff;background:#ffffff38}.board-row{align-items:center;min-width:0;min-height:38px;display:flex;position:relative}.board-item{color:#374151;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:10px;width:100%;min-width:0;min-height:38px;padding:8px 10px;font-size:15px;font-weight:600;line-height:1.35;overflow:hidden}.board-item--with-menu{padding-right:42px}.board-item:hover,.board-row:hover .board-item:not(.board-item--active),.board-row:focus-within .board-item:not(.board-item--active){color:#111827;background:#f3f4f6}.board-item--active{color:#1d4ed8;background:#eff6ff}.board-action{color:#6b7280;opacity:0;pointer-events:none;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex;position:absolute;right:4px}.board-row:hover .board-action,.board-row:focus-within .board-action,.board-row--active .board-action,.board-action--open{opacity:1;pointer-events:auto}.board-action:hover,.board-action--open{color:#111827;background:0 0}.board-menu{z-index:1000;background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:4px;width:178px;padding:6px;display:grid;position:absolute;box-shadow:0 18px 45px #0f172a21,0 4px 12px #0f172a14}.board-menu-item{color:#374151;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:36px;padding:8px 10px;font-size:14px;font-weight:500;display:flex}.board-menu-item:hover{color:#111827;background:#f3f4f6}.board-menu-item--danger{color:#dc2626}.board-menu-item--danger:hover{color:#b91c1c;background:#fef2f2}.board-title-input{box-sizing:border-box;color:#374151;width:100%;min-height:38px;font:inherit;background:#f3f4f6;border:0;border-radius:10px;outline:3px solid #6366f12e;padding:8px 10px;font-size:15px;font-weight:600;line-height:1.35}.board-title-input--active{color:#1d4ed8;background:#eff6ff}.board-title-input::selection{background:#6366f138}@media (width<=1024px){.sidebar{display:none}}.mobile-workspace-menu-shell{display:none}@media (width<=900px){.mobile-workspace-menu-shell{z-index:1200;display:block;position:fixed;inset:0}.mobile-workspace-menu-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a5c;border:0;position:absolute;inset:0}.mobile-workspace-menu{width:min(88vw,360px);min-width:0;padding:16px 14px calc(16px + env(safe-area-inset-bottom));background:#fff;border-radius:0 24px 24px 0;flex-direction:column;display:flex;position:absolute;inset:0 auto 0 0;overflow:hidden;box-shadow:24px 0 54px #0f172a33}.mobile-workspace-menu__header{border-bottom:1px solid #eef0f4;justify-content:space-between;align-items:center;gap:14px;padding-bottom:16px;display:flex}.mobile-workspace-menu__brand{color:#111827;align-items:center;gap:11px;min-width:0;font-size:20px;font-weight:760;line-height:1.1;display:inline-flex}.mobile-workspace-menu__brand span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-workspace-menu__brand-mark{background:linear-gradient(135deg,#335df6 0%,#7e2ff4 100%);border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 12px 22px #6366f138}.mobile-workspace-menu__brand-mark img{object-fit:contain;width:42px;height:42px;display:block}.mobile-workspace-menu__close{color:#4b5563;background:#f3f4f6;border:0;border-radius:13px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.mobile-workspace-menu__content{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:1;gap:20px;min-height:0;padding:18px 2px 0;display:flex;overflow-y:auto}.mobile-workspace-menu__content::-webkit-scrollbar{display:none}.mobile-workspace-menu__section{gap:10px;display:grid}.mobile-workspace-menu__section--system{padding-bottom:8px}.mobile-workspace-menu__section-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.mobile-workspace-menu__section-title{color:#6b7280;letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:8px;font-size:12px;font-weight:720;line-height:1;display:inline-flex}.mobile-workspace-menu__nav,.mobile-workspace-menu__board-list{gap:8px;display:grid}.mobile-workspace-menu__link,.mobile-workspace-menu__board,.mobile-workspace-menu__board-input,.mobile-workspace-menu__auth-button{appearance:none;color:#374151;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:#f7f8fb;border:0;border-radius:12px;justify-content:flex-start;align-items:center;width:100%;min-height:42px;padding:10px 12px;font-family:inherit;font-size:15px;font-weight:650;line-height:1.25;display:flex;overflow:hidden}.mobile-workspace-menu__board-row{background:#f7f8fb;border-radius:12px;grid-template-columns:minmax(0,1fr);align-items:center;display:grid}.mobile-workspace-menu__board-row--with-action{grid-template-columns:minmax(0,1fr) 42px}.mobile-workspace-menu__board-row--active{background:#eff6ff}.mobile-workspace-menu__board-row .mobile-workspace-menu__board{background:0 0;min-width:0;padding-right:4px}.mobile-workspace-menu__board-action{color:#6b7280;background:#ffffffa3;border:0;border-radius:10px;justify-content:center;justify-self:center;align-items:center;width:34px;height:34px;display:inline-flex}.mobile-workspace-menu__board-action--open{color:#111827;background:#fff;box-shadow:0 8px 18px #0f172a1a}.mobile-workspace-menu__board-input{box-sizing:border-box;font:inherit;border:0;outline:3px solid #6366f12e}.mobile-workspace-menu__board-input--active{color:#1d4ed8;background:#eff6ff}.mobile-workspace-menu__board-menu{background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-column:1/-1;gap:4px;margin:4px;padding:6px;display:grid;box-shadow:0 14px 28px #0f172a1f}.mobile-workspace-menu__board-menu-item{color:#374151;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;width:100%;min-height:36px;padding:8px 10px;font-size:14px;font-weight:600;display:flex}.mobile-workspace-menu__board-menu-item--danger{color:#dc2626}.mobile-workspace-menu__link--active,.mobile-workspace-menu__board--active{color:#1d4ed8;background:#eff6ff}.mobile-workspace-menu__auth{grid-template-columns:1fr 1fr;gap:8px;display:grid}.mobile-workspace-menu__auth-button{justify-content:center}.mobile-workspace-menu__auth-button--primary,.mobile-workspace-menu__create{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);box-shadow:0 12px 22px #6366f133}.mobile-workspace-menu__create{border:0;border-radius:11px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 12px;font-size:13px;font-weight:720;line-height:1;display:inline-flex}}.hero{grid-template-rows:minmax(0,1fr) auto;justify-items:center;height:100%;min-height:0;padding:20px 41px 34px;display:grid;position:relative;overflow:hidden}.hero-file-drop-overlay{z-index:120;pointer-events:none;background:#ffffffc7;border:1px dashed #6366f17a;border-radius:25px;place-items:center;display:grid;position:absolute;inset:20px 41px 34px;box-shadow:inset 0 0 0 1px #6366f114,0 24px 72px #6366f11f}.hero-file-drop-overlay__inner{color:#4f46e5;background:#ffffffd1;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 20px;font-size:15px;font-weight:600;line-height:1.35;display:inline-flex;box-shadow:0 14px 35px #4f46e524}.hero-workspace{justify-content:center;align-items:center;width:min(1194px,100%);min-height:0;display:flex;overflow:hidden}.hero--empty .hero-workspace{align-items:center}.hero--with-results .hero-workspace{justify-content:stretch;align-items:stretch;width:100%}.hero-content{text-align:center;max-width:1120px;transform:translateY(-34px)}.hero h1{color:#111827;letter-spacing:-.035em;max-width:1080px;margin:0;font-size:62px;font-weight:800;line-height:1.05}.hero h1 span{color:#0000;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);-webkit-background-clip:text;background-clip:text;margin-top:2px;display:block}.hero-content p{color:#4b5563;max-width:980px;margin:25px auto 0;font-size:18px;font-weight:400;line-height:1.45}.hero .prompt-card{flex-shrink:0;align-self:end}@media (width>=1025px){.hero--with-results{grid-template-rows:minmax(0,1fr);position:relative}.hero--with-results .hero-workspace{height:100%}.hero--with-results .generation-results{border-radius:25px;padding-bottom:230px}.hero--with-results .prompt-card{width:min(1194px,100% - 82px);margin-top:0;position:absolute;bottom:34px;left:50%;transform:translate(-50%)}}.app-layout--chrome-collapsed .hero--with-results{grid-template-rows:minmax(0,1fr);position:relative}.app-layout--chrome-collapsed .hero--with-results .hero-workspace{height:100%}.app-layout--chrome-collapsed .hero--with-results .generation-results{border-radius:25px;padding-bottom:230px}.app-layout--chrome-collapsed .hero--with-results .prompt-card{width:min(1194px,100% - 82px);margin-top:0;position:absolute;bottom:34px;left:50%;transform:translate(-50%)}@media (width<=1280px){.hero h1{font-size:56px}.hero-content p{font-size:18px}}@media (width<=720px){.hero{grid-template-rows:minmax(0,1fr) auto;padding:20px 18px 27px}.hero-file-drop-overlay{border-radius:20px;inset:20px 18px 27px}.hero-file-drop-overlay__inner{min-height:40px;padding:0 16px;font-size:14px}.hero-workspace{align-items:flex-start}.hero-content{transform:translateY(-18px)}.hero h1{font-size:43px}.hero-content p{font-size:18px}.hero .prompt-card{align-self:end}}.generation-results{scrollbar-width:none;-ms-overflow-style:none;background:0 0;border-radius:25px 25px 0 0;width:100%;height:100%;min-height:0;padding:0 0 96px;overflow-y:auto}.generation-results::-webkit-scrollbar{display:none}.generation-grid{--generation-grid-min-column:clamp(232px, 13vw, 280px);grid-template-columns:repeat(auto-fill, minmax(var(--generation-grid-min-column), 1fr));grid-auto-rows:2px;align-items:start;gap:14px;display:grid}.generation-load-more{justify-items:center;gap:10px;padding:24px 0 4px;display:grid}.generation-load-more-error{color:#b42318;text-align:center;max-width:min(520px,100%);margin:0;font-size:14px;font-weight:600;line-height:1.35}.generation-load-more-button{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);border:0;border-radius:12px;justify-content:center;align-items:center;min-width:156px;min-height:44px;padding:0 20px;font-size:15px;font-weight:700;transition:background .16s,box-shadow .16s,transform .16s;display:inline-flex;box-shadow:0 12px 24px #6366f138}.generation-load-more-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 15px 28px #6366f147}.generation-load-more-button:disabled{cursor:wait;opacity:.62}.generation-load-more-button:focus-visible{outline-offset:3px;outline:3px solid #6366f147}.generation-card{background:#f3f4f6;border-radius:25px;min-width:0;height:100%;position:relative;overflow:hidden;box-shadow:0 14px 34px #11182714}.generation-card--enter{animation:ui-card-in var(--motion-duration-slow) var(--motion-ease-emphasized) both}.generation-card--wide{grid-row:span 12}.generation-card--classic{grid-row:span 15}.generation-card--square{grid-row:span 19}.generation-card--portrait{grid-row:span 24}.generation-card--vertical{grid-row:span 32}.generation-card--text{color:#111827;background:linear-gradient(#fff 0%,#f8fafc 100%);border:1px solid #e5e7eb;border-radius:25px;flex-direction:column;grid-row:span 12;padding:0;display:flex}.generation-card--text-loading{justify-content:center;gap:12px;padding:18px;position:relative}.generation-card--text-status{align-items:stretch}.generation-card--text-status-failed{background:linear-gradient(#fff7f7 0%,#fff1f2 100%)}.generation-image,.generation-video-image{width:100%;height:100%;animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;object-fit:cover;display:block}.generation-image-fallback{color:#64748b;text-align:center;background:#e2e8f0;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;min-height:180px;padding:18px;font-size:13px;font-weight:600;display:flex}.generation-image-fallback--retrying{color:#718096;background:linear-gradient(135deg,#f8fafceb,#e2e8f0b8)}.generation-output-count-badge{z-index:2;color:#374151;background:#fffffff0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:1px;width:34px;height:34px;font-size:14px;font-weight:600;line-height:1;display:flex;position:absolute;inset:auto 14px 56px auto;box-shadow:0 10px 24px #1118272e}.generation-output-count-badge span{font-size:inherit}.generation-output-count-badge svg{color:#6366f1}.generation-skeleton,.generation-text-skeleton{background:linear-gradient(110deg,#f3f4f6 8%,#e5e7eb 18%,#f3f4f6 33%) 0 0/200% 100%;animation:1.2s linear infinite generation-shimmer}.generation-skeleton{width:100%;height:100%}.generation-card--status{color:#374151;place-items:center;display:grid}.generation-card--status .generation-skeleton{position:absolute;inset:0}.generation-card--status-failed .generation-skeleton{background:linear-gradient(135deg,#fff1f2 0%,#fee2e2 100%);animation:none}.generation-status-actions{z-index:2;opacity:0;pointer-events:none;gap:10px;transition:opacity .18s;display:flex;position:absolute;top:14px;right:14px}.generation-video-placeholder{color:#e5e7eb;background:linear-gradient(135deg,#14b8a63d,#0000 42%),linear-gradient(225deg,#6366f157,#0000 46%),#111827;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;min-height:180px;font-size:14px;font-weight:700;display:flex}.generation-card--status-failed:hover .generation-status-actions,.generation-card--status-failed:focus-within .generation-status-actions,.generation-card--text-status-failed:hover .generation-status-actions,.generation-card--text-status-failed:focus-within .generation-status-actions{opacity:1;pointer-events:auto}.generation-status-panel{z-index:1;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffd6;border-radius:14px;justify-items:center;gap:8px;width:calc(100% - 28px);padding:14px;display:grid;position:relative;box-shadow:0 14px 30px #1118271f}.generation-status-icon{color:#4f46e5;background:#eef2ff;border-radius:999px;place-items:center;width:38px;height:38px;display:grid}.generation-card--status-generating .generation-status-icon svg{animation:1s linear infinite generation-spin}.generation-card--status-failed .generation-status-icon{color:#dc2626;background:#fee2e2}.generation-status-copy,.generation-text-status-panel{gap:3px;min-width:0;display:grid}.generation-status-copy strong,.generation-text-status-panel strong{color:#111827;font-size:14px;font-weight:700}.generation-status-copy span,.generation-text-status-panel span{color:#6b7280;overflow-wrap:anywhere;font-size:12px;font-weight:500;line-height:1.25}.generation-text-status-panel{z-index:1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffd6;border-radius:14px;margin-top:4px;padding:12px;position:relative;box-shadow:0 12px 28px #1118271a}.generation-card--text-status-failed .generation-text-status-panel strong{color:#b91c1c}.generation-text-skeleton{border-radius:999px;height:14px}.generation-text-skeleton--title{width:62%;height:20px}.generation-text-skeleton--line{width:100%}.generation-text-skeleton--short{width:72%}.generation-card-overlay{box-sizing:border-box;color:#fff;opacity:0;background:linear-gradient(#1118274d,#0000 36%),linear-gradient(#0000 48%,#111827c7);flex-direction:column;justify-content:space-between;min-width:0;padding:14px;transition:opacity .18s;display:flex;position:absolute;inset:0}.generation-card:hover .generation-card-overlay,.generation-card:focus-visible .generation-card-overlay{opacity:1}.generation-card-top-actions,.generation-text-actions{justify-content:flex-end;gap:10px;min-width:0;display:flex;position:relative}.generation-card-action-stack{justify-items:end;gap:8px;width:100%;min-width:0;display:grid}.generation-card-top-actions{box-sizing:border-box;justify-content:space-between;gap:0;width:100%;margin:0;padding-inline:0}.generation-text-actions{z-index:4;opacity:0;transition:opacity .18s;position:absolute;top:14px;right:14px}.generation-card-top-actions>.generation-card-action{width:40px;height:40px}.generation-card-top-actions>.generation-card-action svg{width:20px;height:20px}.generation-card--text:hover .generation-text-actions,.generation-card--text:focus-visible .generation-text-actions{opacity:1}.generation-card-action{color:#111827;background:#fffffff0;border:0;border-radius:999px;place-items:center;width:40px;height:40px;transition:color .16s,background .16s,transform .16s;display:grid;position:relative;box-shadow:0 10px 24px #1118272e}.generation-card-action svg{width:20px;height:20px}.generation-card-action:hover{background:#fff;transform:translateY(-1px)}.generation-card-action:disabled{cursor:not-allowed;opacity:.55;transform:none}.generation-midjourney-trigger-row{justify-content:flex-end;width:100%;display:flex}.generation-midjourney-actions{z-index:85;color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:16px;gap:12px;width:max-content;max-width:calc(100vw - 24px);padding:12px;display:grid;position:fixed;overflow:hidden auto;box-shadow:0 18px 45px #11182729}.generation-midjourney-action-group{gap:7px;width:max-content;max-width:100%;display:grid}.generation-midjourney-action-title{color:#374151;font-size:13px;font-weight:800;line-height:1.15}.generation-midjourney-action-row{background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;flex-wrap:wrap;justify-content:flex-start;gap:4px;width:max-content;max-width:100%;padding:3px;display:flex;overflow:hidden;box-shadow:0 14px 32px #0f172a0d,inset 0 1px #ffffffb8}.generation-midjourney-action-button{color:#4b5563;white-space:nowrap;background:0 0;border:0;border-radius:18px;place-items:center;min-width:36px;min-height:36px;font-size:13px;font-weight:760;line-height:1.15;transition:background .16s,box-shadow .16s,color .16s;display:grid}.generation-midjourney-action-button svg{width:15px;height:15px}.generation-midjourney-action-button--wide{width:auto;min-width:0;padding:0 12px}.generation-midjourney-action-button:hover:not(:disabled){color:#4f46e5;background:#fff;box-shadow:0 8px 18px #0f172a14}.generation-midjourney-action-button:disabled{cursor:not-allowed;opacity:.58}.generation-midjourney-remix{z-index:8;color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:default;background:linear-gradient(135deg,#3b5df6f5,#7c3aedf5);border:1px solid #ffffffbd;border-radius:20px;gap:10px;width:min(330px,100% - 32px);padding:14px;display:grid;position:absolute;bottom:92px;right:16px;box-shadow:0 22px 52px #312e8147}.generation-midjourney-remix__header{letter-spacing:0;align-items:center;gap:8px;font-size:12px;font-weight:900;display:flex}.generation-midjourney-remix p{color:#ffffffe0;margin:0;font-size:12px;font-weight:700;line-height:1.4}.generation-midjourney-remix textarea{resize:vertical;color:#111827;width:100%;min-height:82px;font:inherit;background:#fffffff5;border:1px solid #ffffff80;border-radius:14px;outline:none;padding:10px 12px;font-size:13px;font-weight:700;box-shadow:inset 0 1px #ffffffb8}.generation-midjourney-remix textarea::placeholder{color:#94a3b8}.generation-midjourney-remix textarea:focus{border-color:#ffffffeb;box-shadow:0 0 0 3px #ffffff38,inset 0 1px #ffffffb8}.generation-midjourney-remix__actions{justify-content:flex-end;gap:8px;display:flex}.generation-midjourney-remix__secondary,.generation-midjourney-remix__primary{min-height:34px;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:0 14px;font-size:13px;font-weight:900;transition:opacity .16s,transform .16s}.generation-midjourney-remix__secondary{color:#ffffffe6;background:#ffffff29}.generation-midjourney-remix__primary{color:#3157e8;background:#fff;box-shadow:0 10px 24px #1118272e}.generation-midjourney-remix__secondary:hover,.generation-midjourney-remix__primary:hover:not(:disabled){transform:translateY(-1px)}.generation-midjourney-remix__primary:disabled{cursor:not-allowed;opacity:.55;transform:none}.generation-card-action--open{background:#fff}.generation-card-action--favorite{color:#fff;background:#ef4444}.generation-card-action--favorite:hover{background:#ef4444}.generation-card-action--favorite svg{fill:currentColor}.generation-card-action--mobile-edit,.generation-card-mobile-actions-toggle{display:none}@media (hover:hover) and (pointer:fine){.generation-card-action[data-tooltip]:before,.generation-card-action[data-tooltip]:after{content:"";display:none}}.generation-action-tooltip{z-index:1200;color:#fff;opacity:0;pointer-events:none;text-align:center;visibility:hidden;white-space:normal;overflow-wrap:anywhere;background:#111827f0;border-radius:9px;width:max-content;max-width:min(320px,100vw - 16px);padding:8px 11px;font-size:12px;font-weight:600;line-height:1.2;transition:opacity .14s,transform .14s;position:fixed;transform:translateY(-3px);box-shadow:0 12px 30px #11182733}.generation-action-tooltip:before{left:var(--generation-action-tooltip-arrow-left);background:inherit;content:"";border-radius:2px;width:8px;height:8px;position:absolute;transform:translate(-50%)rotate(45deg)}.generation-action-tooltip--bottom:before{top:-3px}.generation-action-tooltip--top:before{bottom:-3px}.generation-action-tooltip--visible{opacity:1;visibility:visible;transform:translateY(0)}.generation-card-menu{z-index:80;color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:4px;width:230px;padding:6px;display:grid;position:fixed;overflow-y:auto;box-shadow:0 18px 45px #0f172a2e,0 4px 12px #0f172a1a}.generation-card-menu-item{color:#374151;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:36px;padding:8px 10px;font-size:14px;font-weight:500;display:flex}.generation-card-menu-item:hover{color:#111827;background:#f3f4f6}.generation-card-menu-item--danger{color:#dc2626}.generation-card-menu-item--danger:hover{color:#b91c1c;background:#fef2f2}.generation-card-transfer-list{border-bottom:1px solid #f3f4f6;gap:4px;max-height:150px;margin:2px 0 4px;padding:4px 0 4px 26px;display:grid;overflow-y:auto}.generation-card-transfer-button{color:#374151;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:8px;width:100%;min-height:32px;padding:7px 10px;font-size:14px;font-weight:500;overflow:hidden}.generation-card-transfer-button:hover{color:#111827;background:#f3f4f6}.generation-card-transfer-empty{color:#9ca3af;margin:0;padding:7px 10px;font-size:14px;font-weight:500}.generation-card-bottom{gap:12px;min-width:0;max-width:calc(100% - 128px);display:grid}.generation-card-bottom p{color:#fff;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;margin:0;font-size:14px;font-weight:600;line-height:1.25;display:-webkit-box;overflow:hidden}.generation-text-body{color:#374151;font-size:16px;font-weight:600;line-height:1.35;position:absolute;inset:18px;overflow:hidden}.generation-text-preview{color:#374151;overflow-wrap:anywhere;height:100%;max-height:100%;margin:0;font-size:16px;font-weight:400;line-height:1.35;overflow:hidden;transform:none}.generation-text-fade{pointer-events:none;background:linear-gradient(#f8fafc00,#f8fafc 78%);height:76px;position:absolute;bottom:0;left:0;right:0}.generation-text-model-badge{z-index:3;color:#374151;opacity:0;white-space:nowrap;background:#f3f4f6f5;border-radius:999px;align-items:center;gap:7px;max-width:calc(100% - 28px);padding:8px 11px;font-size:14px;font-weight:600;transition:opacity .18s,transform .18s;display:inline-flex;position:absolute;bottom:14px;right:14px;overflow:hidden;transform:translateY(4px);box-shadow:0 10px 24px #1118271f}.generation-text-model-badge span{text-overflow:clip;white-space:nowrap;min-width:0;overflow:visible}.generation-text-model-badge svg{color:#6366f1;flex-shrink:0}.generation-card--text:hover .generation-text-model-badge,.generation-card--text:focus-visible .generation-text-model-badge{opacity:1;transform:translateY(0)}.generation-media-model-badge{z-index:3;color:#374151;opacity:0;white-space:nowrap;background:#f3f4f6f5;border-radius:999px;align-items:center;gap:7px;max-width:calc(100% - 28px);padding:8px 11px;font-size:14px;font-weight:600;transition:opacity .18s,transform .18s;display:inline-flex;position:absolute;bottom:14px;right:14px;overflow:hidden;transform:translateY(4px);box-shadow:0 10px 24px #1118271f}.generation-media-model-badge span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.generation-media-model-badge svg{color:#6366f1;flex-shrink:0}.generation-card:hover .generation-media-model-badge,.generation-card:focus-visible .generation-media-model-badge{opacity:1;transform:translateY(0)}.generation-card--video{background:#111827}.generation-video-play{color:#111827;background:#fffffff0;border-radius:999px;place-items:center;width:62px;height:62px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 18px 36px #11182738}.generation-video-play svg{fill:currentColor;transform:translate(2px)}.generation-video-duration{color:#fff;background:#111827b8;border-radius:999px;padding:5px 8px;font-size:13px;font-weight:700;position:absolute;bottom:12px;right:12px}@keyframes generation-shimmer{to{background-position-x:-200%}}@keyframes generation-spin{to{transform:rotate(360deg)}}@media (width<=1280px){.generation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.generation-card--wide{grid-row:span 16}.generation-card--classic{grid-row:span 20}.generation-card--square{grid-row:span 26}.generation-card--portrait{grid-row:span 31}.generation-card--vertical{grid-row:span 42}.generation-card--text{grid-row:span 16}}@media (width<=900px){.generation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.generation-card--wide{grid-row:span 20}.generation-card--classic{grid-row:span 26}.generation-card--square{grid-row:span 32}.generation-card--portrait{grid-row:span 40}.generation-card--vertical{grid-row:span 54}.generation-card--text{grid-row:span 20}}@media (width<=560px){.generation-results{border-radius:16px 16px 0 0;padding:0 0 140px}.generation-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}.generation-card{height:auto}.generation-card-overlay{pointer-events:none;padding:8px}.generation-card:hover .generation-card-overlay,.generation-card:focus-visible .generation-card-overlay{opacity:0}.generation-card.generation-card--touch-active .generation-card-overlay{opacity:1;pointer-events:auto}.generation-card-top-actions,.generation-text-actions{--generation-mobile-action-gap:4px;--generation-mobile-action-size:32px;--generation-mobile-actions-row-width:176px;width:min(100%, var(--generation-mobile-actions-row-width));grid-template-columns:repeat(5, var(--generation-mobile-action-size));gap:var(--generation-mobile-action-gap);justify-content:end;margin-left:auto;padding-inline:0;display:grid}.generation-card-top-actions{margin-right:0}.generation-card-action-stack{justify-items:end;gap:6px}.generation-midjourney-trigger-row{width:min(100%, var(--generation-mobile-actions-row-width));margin-left:auto}.generation-midjourney-trigger-row>.generation-card-action{width:var(--generation-mobile-action-size);height:var(--generation-mobile-action-size)}.generation-midjourney-actions{border-radius:16px;gap:10px;width:max-content;max-width:calc(100vw - 24px);padding:8px}.generation-midjourney-action-row{gap:4px}.generation-midjourney-action-button{min-width:34px;min-height:34px;font-size:12px}.generation-midjourney-action-button--wide{width:auto;min-width:0;padding:0 10px}.generation-midjourney-remix{border-radius:18px;width:min(300px,100% - 20px);padding:12px;bottom:78px;right:10px}.generation-text-actions{pointer-events:none;justify-content:flex-end;max-width:calc(100% - 16px);top:8px;left:auto;right:8px}.generation-card--text:hover .generation-text-actions,.generation-card--text:focus-visible .generation-text-actions{opacity:0}.generation-card.generation-card--touch-active .generation-text-actions{opacity:1;pointer-events:auto}.generation-card-top-actions>.generation-card-action,.generation-text-actions>.generation-card-action{width:var(--generation-mobile-action-size);height:var(--generation-mobile-action-size)}.generation-card-top-actions>.generation-card-action--favorite-control,.generation-text-actions>.generation-card-action--favorite-control{grid-area:1/2}.generation-card-top-actions>.generation-card-action--copy,.generation-text-actions>.generation-card-action--copy{grid-area:1/3}.generation-card-top-actions>.generation-card-action--download{grid-area:1/4}.generation-card-top-actions>.generation-card-action--repeat,.generation-text-actions>.generation-card-action--repeat{grid-area:2/3}.generation-card-top-actions>.generation-card-action--mobile-edit,.generation-text-actions>.generation-card-action--mobile-edit{grid-area:2/4}.generation-card-top-actions>.generation-card-action--more,.generation-text-actions>.generation-card-action--more{grid-area:2/5}.generation-card-mobile-actions-toggle{z-index:2;width:var(--generation-mobile-action-size,32px);height:var(--generation-mobile-action-size,32px);color:#ffffffeb;opacity:.86;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#11182738;border:0;border-radius:999px;place-items:center;transition:color .16s,background .16s,opacity .16s,transform .16s;display:grid;position:absolute;top:8px;right:8px;box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.generation-card-mobile-actions-toggle:active{transform:scale(.96)}.generation-card-mobile-actions-toggle svg{width:17px;height:17px}.generation-card.generation-card--touch-active .generation-card-mobile-actions-toggle{opacity:1}.generation-card-action{width:var(--generation-mobile-action-size,32px);height:var(--generation-mobile-action-size,32px)}.generation-card-action svg{width:17px;height:17px}.generation-card-action--mobile-edit{display:grid}.generation-output-count-badge{pointer-events:none;gap:1px;width:34px;height:34px;font-size:13px;inset:auto 10px 52px auto}.generation-output-count-badge svg{width:14px;height:14px}.generation-output-count-badge span{font-size:inherit}.generation-card-bottom{max-width:none;position:absolute;bottom:48px;left:10px;right:10px}.generation-media-model-badge,.generation-text-model-badge{gap:6px;max-width:calc(100% - 20px);padding:7px 10px;font-size:13px;bottom:10px;right:10px}.generation-card:not(.generation-card--video) .generation-media-model-badge{max-width:calc(100% - 58px);bottom:8px;left:8px;right:auto}.generation-card:hover .generation-media-model-badge,.generation-card:focus-visible .generation-media-model-badge,.generation-card--text:hover .generation-text-model-badge,.generation-card--text:focus-visible .generation-text-model-badge{opacity:0;transform:translateY(4px)}.generation-card.generation-card--touch-active .generation-media-model-badge,.generation-card.generation-card--touch-active .generation-text-model-badge{opacity:1;transform:translateY(0)}.generation-card--wide{aspect-ratio:16/9;grid-area:auto/1/auto/-1}.generation-card--classic{aspect-ratio:4/3;grid-area:auto/1/auto/-1}.generation-card--square{aspect-ratio:1;grid-area:auto}.generation-card--portrait{aspect-ratio:3/4;grid-area:auto}.generation-card--vertical{aspect-ratio:9/16;grid-area:auto}.generation-card--text{aspect-ratio:16/9;grid-area:auto/1/auto/-1}}.midjourney-inpaint-modal{z-index:1300;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172a6b;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.midjourney-inpaint-modal__shell{background:#fff;border:1px solid #e2e8f0eb;border-radius:30px;grid-template-columns:minmax(0,1fr) 420px;width:min(1380px,100%);height:min(860px,100vh - 56px);display:grid;overflow:hidden;box-shadow:0 30px 90px #0f172a38}.midjourney-inpaint-modal__preview{background:radial-gradient(circle at 28% 18%,#7c3aed14,#0000 28%),linear-gradient(#f8fbff 0%,#f3f6fb 100%);place-items:center;min-width:0;min-height:0;padding:32px;display:grid}.midjourney-inpaint-modal__image-stack{touch-action:none;border-radius:26px;max-width:100%;max-height:100%;display:inline-block;position:relative;overflow:hidden;box-shadow:0 28px 70px #0f172a2e}.midjourney-inpaint-modal__image-stack--brush,.midjourney-inpaint-modal__image-stack--points{cursor:crosshair}.midjourney-inpaint-modal__image{object-fit:contain;-webkit-user-select:none;user-select:none;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 150px);display:block}.midjourney-inpaint-modal__canvas{z-index:1;pointer-events:none;touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}.midjourney-inpaint-modal__canvas--brush{cursor:crosshair}.midjourney-inpaint-modal__panel{background:#fff;border-left:1px solid #e2e8f0eb;grid-template-rows:auto auto auto auto 1fr auto auto;gap:18px;min-width:0;min-height:0;padding:28px;display:grid}.midjourney-inpaint-modal__header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.midjourney-inpaint-modal__title{align-items:center;gap:14px;min-width:0;display:flex}.midjourney-inpaint-modal__title>span{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);border-radius:16px;flex:none;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 14px 30px #4f46e547}.midjourney-inpaint-modal__title h2{color:#111827;letter-spacing:0;margin:0;font-size:24px;font-weight:900}.midjourney-inpaint-modal__title p{color:#64748b;margin:4px 0 0;font-size:13px;font-weight:750;line-height:1.35}.midjourney-inpaint-modal__close{color:#64748b;cursor:pointer;background:#f3f6fb;border:0;border-radius:14px;flex:none;place-items:center;width:42px;height:42px;transition:background-color .16s,color .16s,transform .16s;display:grid}.midjourney-inpaint-modal__close:hover:not(:disabled){color:#111827;background:#e9eef7;transform:translateY(-1px)}.midjourney-inpaint-modal__field,.midjourney-inpaint-modal__range{gap:10px;display:grid}.midjourney-inpaint-modal__field span,.midjourney-inpaint-modal__label,.midjourney-inpaint-modal__range span{color:#334155;font-size:14px;font-weight:900}.midjourney-inpaint-modal__field textarea{resize:vertical;color:#111827;width:100%;min-height:142px;font:inherit;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;outline:none;padding:12px 14px;font-size:14px;font-weight:500;line-height:1.45;transition:background-color .16s,border-color .16s,box-shadow .16s}.midjourney-inpaint-modal__field textarea::placeholder{color:#9ca3af}.midjourney-inpaint-modal__field textarea:focus{background:#fff;border-color:#0000;box-shadow:0 0 0 3px #6d5dfc38}.midjourney-inpaint-modal__group{gap:10px;display:grid}.midjourney-inpaint-modal__tools{background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:3px;display:grid;overflow:hidden;box-shadow:0 14px 32px #0f172a0d,inset 0 1px #ffffffb8}.midjourney-inpaint-modal__tool{color:#4b5563;min-width:0;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:18px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:760;line-height:1.15;transition:background-color .16s,box-shadow .16s,color .16s;display:inline-flex}.midjourney-inpaint-modal__tool:hover{color:#3157e8;background:#eef4ff}.midjourney-inpaint-modal__tool--active{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);box-shadow:0 10px 22px #4f46e52e}.midjourney-inpaint-modal__range{grid-template-columns:1fr auto;align-items:center}.midjourney-inpaint-modal__range strong{color:#3157e8;font-size:13px;font-weight:900}.midjourney-inpaint-modal__range input{accent-color:#5b5ff1;grid-column:1/-1}.midjourney-inpaint-modal__polygon{background:#f8fafc;border:1px solid #cbd5e1bd;border-radius:18px;align-self:start;gap:10px;padding:14px;display:grid}.midjourney-inpaint-modal__polygon p{color:#64748b;margin:0;font-size:13px;font-weight:750;line-height:1.4}.midjourney-inpaint-modal__polygon button{color:#fff;min-height:38px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#2563eb);border:0;border-radius:999px;font-size:13px;font-weight:900}.midjourney-inpaint-modal__polygon button:disabled{cursor:not-allowed;opacity:.48}.midjourney-inpaint-modal__error{color:#dc2626;align-self:end;margin:0;font-size:13px;font-weight:800;line-height:1.35}.midjourney-inpaint-modal__submit{color:#fff;width:100%;height:52px;min-height:52px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#2563eb);border:0;border-radius:18px;justify-content:center;align-self:end;align-items:center;gap:9px;font-size:15px;font-weight:800;transition:opacity .16s,box-shadow .16s;display:inline-flex;box-shadow:0 18px 36px #4f46e538}.midjourney-inpaint-modal__submit:hover:not(:disabled){box-shadow:0 22px 44px #4f46e547}.midjourney-inpaint-modal__submit:disabled{color:#ffffffb8;box-shadow:none;cursor:not-allowed;background:linear-gradient(135deg,#c4b5fd,#93c5fd)}@media (width<=900px){.midjourney-inpaint-modal{align-items:stretch;padding:12px}.midjourney-inpaint-modal__shell{border-radius:24px;grid-template-columns:1fr;height:calc(100vh - 24px);overflow:auto}.midjourney-inpaint-modal__preview{min-height:48vh;padding:16px}.midjourney-inpaint-modal__image{max-height:52vh}.midjourney-inpaint-modal__panel{border-top:1px solid #e2e8f0eb;border-left:0;grid-template-rows:none;gap:16px;padding:20px}.midjourney-inpaint-modal__title h2{font-size:21px}}@media (width<=560px){.midjourney-inpaint-modal{padding:0}.midjourney-inpaint-modal__shell{border-radius:0;height:100vh}.midjourney-inpaint-modal__preview{min-height:42vh;padding:12px}.midjourney-inpaint-modal__panel{padding:18px}.midjourney-inpaint-modal__tools{grid-template-columns:1fr}.midjourney-inpaint-modal__tool{justify-content:flex-start;padding:0 14px}}.editor-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:#f8fafc;padding:18px;display:flex;position:fixed;inset:0}.editor-modal{width:min(1560px,100%);height:min(900px,100%);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#f8fafc;border-radius:30px;grid-template-columns:minmax(0,1fr) 420px;gap:24px;margin:auto;display:grid;overflow:hidden}.editor-mobile-back{display:none}.editor-stage{background:#f8fafc;border-radius:30px;grid-template-rows:auto minmax(0,1fr);gap:24px;min-width:0;min-height:0;padding:0 0 24px 24px;display:grid;overflow:hidden}.standalone-image-stage{justify-content:center;align-items:stretch;padding:0 0 0 24px;display:flex}.standalone-image-upload-shell{aspect-ratio:1;background:#f8fafc;border-radius:30px;place-items:center;width:min(100%,900px,100dvh - 36px);min-width:0;height:auto;min-height:0;padding:3px;display:grid;overflow:hidden}.standalone-image-upload{color:#64748b;text-align:center;background:#fff;border:2px dashed #cbd5e1;border-radius:28px;align-content:center;place-items:center;gap:10px;width:100%;height:100%;min-height:0;padding:32px;transition:border-color .16s,background-color .16s,color .16s,transform .16s;display:grid;box-shadow:0 18px 46px #0f172a0f}.standalone-image-upload:hover,.standalone-image-upload-shell--drag-active .standalone-image-upload{color:#6d28d9;background:#fbfaff;border-color:#7c3aed;transform:translateY(-1px)}.standalone-image-upload-shell--drag-active .standalone-image-preview{outline-offset:4px;outline:3px solid #7c3aed47}.standalone-image-upload-icon{color:#111827;background:#fff;border:1px solid #e2e8f0eb;border-radius:999px;place-items:center;width:58px;height:58px;transition:background-color .16s,color .16s,transform .16s;display:grid;box-shadow:0 8px 18px #11182724,inset 0 1px #ffffffc7}.standalone-image-upload:hover .standalone-image-upload-icon,.standalone-image-upload-shell--drag-active .standalone-image-upload-icon{color:#4f46e5;background:#ffffffe6;transform:translateY(-1px)}.standalone-image-upload strong{color:#111827;font-size:18px;font-weight:800}.standalone-image-upload small{color:#94a3b8;font-size:13px;font-weight:700}.standalone-image-preview{width:auto;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%;aspect-ratio:var(--standalone-image-ratio,1 / 1);clip-path:inset(0 round 28px);background:0 0;border-radius:28px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden;transform:translateZ(0)}.standalone-image-preview--wide,.standalone-image-preview--classic{width:100%;height:auto}.standalone-image-preview--square,.standalone-image-preview--portrait,.standalone-image-preview--vertical{width:auto;height:100%}.standalone-image-preview img{object-fit:cover;object-position:center;border-radius:28px;width:100%;height:100%;display:block}.standalone-image-preview-actions{z-index:3;-webkit-backdrop-filter:blur(10px);background:#11182738;border-radius:999px;align-items:center;gap:6px;padding:4px;display:flex;position:absolute;bottom:18px;right:18px;box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.standalone-image-preview-button,.standalone-image-remove{color:#fff;background:0 0;border:0;border-radius:999px;place-items:center;width:38px;height:38px;transition:background-color .16s,color .16s,transform .16s;display:grid;position:relative}.standalone-image-preview-button{color:#111827;background:#fff}.standalone-image-preview-button:hover{background:#ffffffdb}.standalone-image-remove:hover{color:#fecaca;background:#ef44442e}.standalone-image-preview-button:active,.standalone-image-remove:active{transform:scale(.96)}.editor-dialog-composer.standalone-edit-composer{border-top:0}.editor-topbar{align-items:flex-start;width:100%;min-width:0;max-width:100%;min-height:82px;display:flex;overflow:hidden}.editor-version-row{overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex:auto;align-items:flex-start;gap:16px;width:100%;min-width:0;max-width:100%;padding:2px 0 6px;display:flex;overflow:auto hidden}.editor-version-row::-webkit-scrollbar{display:none}.editor-version{box-sizing:border-box;width:82px;height:82px;box-shadow:none;background:0 0;border:2px solid #0000;border-radius:22px;flex:0 0 82px;padding:2px;transition:border-color .16s,background-color .16s,transform .16s;display:block;position:relative;overflow:hidden}.editor-version:hover{transform:translateY(-1px)}.editor-version--active{background:#fff;border-color:#7c3aed}.editor-version img{object-fit:cover;object-position:center;border-radius:17px;width:100%;height:100%;display:block}.editor-version-fallback{color:#64748b;background:#e2e8f0;border-radius:17px;place-items:center;width:100%;height:100%;display:grid}.editor-version-fallback--retrying{color:#718096;background:linear-gradient(135deg,#f8fafceb,#e2e8f0b8)}.editor-canvas{background:0 0;border-radius:30px;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.editor-image-surface{max-width:100%;max-height:100%;aspect-ratio:var(--editor-image-ratio);clip-path:inset(0 round 28px);background:0 0;border-radius:28px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden;transform:translateZ(0)}.editor-modal--pending .editor-image-surface{aspect-ratio:1;width:min(100%,720px);height:min(100%,720px)}.editor-modal--wide .editor-image-surface{width:100%;height:auto}.editor-modal--tall .editor-image-surface{width:auto;height:100%}.editor-modal--square .editor-image-surface{width:auto;height:min(100%,760px)}.editor-image{object-fit:cover;object-position:center;border-radius:28px;width:100%;height:100%;display:block}.editor-recraft-mask-canvas{z-index:2;touch-action:none;border-radius:28px;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.editor-recraft-mask-canvas--brush{cursor:crosshair}.editor-recraft-mask-canvas--points{cursor:cell}.editor-image-fallback{color:#64748b;text-align:center;background:#e2e8f0;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;min-height:260px;padding:24px;font-size:14px;font-weight:600;display:flex}.editor-image-fallback--retrying{color:#718096;background:linear-gradient(135deg,#f8fafceb,#e2e8f0b8)}.editor-status-overlay{z-index:4;color:#fff;border-radius:inherit;text-align:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8f;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex;position:absolute;inset:0}.editor-status-overlay span{font-size:16px;font-weight:800}.editor-status-overlay small{color:#ffffffd6;max-width:320px;font-size:13px;font-weight:650;line-height:1.35}.editor-status-overlay--failed{background:#7f1d1db8}.editor-modal--pending .editor-image{opacity:0}.editor-image-actions{--editor-action-size:38px;--editor-actions-open-width:224px;--editor-actions-open-height:calc(var(--editor-action-size) + 8px);z-index:5;width:var(--editor-action-size);height:var(--editor-action-size);box-shadow:none;-webkit-backdrop-filter:none;isolation:isolate;background:0 0;border-radius:999px;gap:0;padding:0;position:absolute;bottom:18px;right:18px}.editor-image-actions--open{box-shadow:none;-webkit-backdrop-filter:none;background:0 0}.editor-image-actions:before{z-index:0;width:calc(var(--editor-actions-open-width) + 4px);height:var(--editor-actions-open-height);content:"";pointer-events:none;-webkit-backdrop-filter:blur(10px);background:#11182738;border-radius:999px;display:none;position:absolute;top:50%;right:-4px;transform:translateY(-50%);box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.editor-image-actions--open:before{display:block}.editor-image-actions-menu{top:50%;right:calc(var(--editor-action-size) + 8px);z-index:1;box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border-radius:999px 0 0 999px;align-items:center;gap:6px;padding:4px;display:none;position:absolute;transform:translateY(-50%)}.editor-image-actions--open .editor-image-actions-menu{display:flex}.editor-image-actions--open .editor-actions-divider{display:block}.editor-image-actions button{width:var(--editor-action-size);height:var(--editor-action-size);color:#fff;background:0 0;border:0;border-radius:999px;place-items:center;display:grid;position:relative}.editor-image-actions button:hover{background:#ffffff1f}.editor-image-actions .editor-delete-version:not(:disabled){color:#fff}.editor-image-actions .editor-delete-version:hover:not(:disabled){color:#fecaca;background:#ef44442e}.editor-image-actions button:disabled{cursor:not-allowed;opacity:.46}.editor-image-actions button:disabled:hover{background:0 0}.editor-image-actions .editor-actions-toggle{z-index:2;color:#fff;opacity:.86;-webkit-backdrop-filter:blur(10px);background:#11182738;transition:opacity .16s,transform .16s;position:relative;box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.editor-image-actions .editor-actions-toggle:hover{opacity:1;background:#1118274d}.editor-image-actions .editor-actions-toggle:active{transform:scale(.96)}.editor-image-actions--open .editor-actions-toggle{opacity:1}.editor-image-actions .editor-save-preview{color:#111827;background:#fff}.editor-image-actions .editor-save-preview:disabled{color:#11182780;background:#ffffffbd}@media (hover:hover) and (pointer:fine){.editor-image-actions button[data-tooltip]:before,.editor-image-actions button[data-tooltip]:after,.standalone-image-preview-actions button[data-tooltip]:before,.standalone-image-preview-actions button[data-tooltip]:after{z-index:20;opacity:0;pointer-events:none;transition:opacity .14s,transform .14s;position:absolute}.editor-image-actions button[data-tooltip]:before{content:"";background:#111827f0;border-radius:2px;width:8px;height:8px;bottom:calc(100% + 4px);left:50%;transform:translate(-50%,3px)rotate(45deg)}.editor-image-actions button[data-tooltip]:after{color:#fff;content:attr(data-tooltip);text-align:center;white-space:nowrap;background:#111827f0;border-radius:9px;max-width:190px;padding:7px 10px;font-size:12px;font-weight:600;line-height:1.2;bottom:calc(100% + 8px);left:50%;transform:translate(-50%,3px);box-shadow:0 12px 30px #11182733}.standalone-image-preview-actions button[data-tooltip]:before{content:"";background:#111827f0;border-radius:2px;width:8px;height:8px;bottom:calc(100% + 4px);right:15px;transform:translateY(3px)rotate(45deg)}.standalone-image-preview-actions button[data-tooltip]:after{color:#fff;content:attr(data-tooltip);text-align:center;white-space:nowrap;background:#111827f0;border-radius:9px;max-width:190px;padding:7px 10px;font-size:12px;font-weight:600;line-height:1.2;bottom:calc(100% + 8px);right:0;transform:translateY(3px);box-shadow:0 12px 30px #11182733}.editor-image-actions button[data-tooltip]:hover:before,.editor-image-actions button[data-tooltip]:hover:after,.editor-image-actions button[data-tooltip]:focus-visible:before,.editor-image-actions button[data-tooltip]:focus-visible:after,.standalone-image-preview-actions button[data-tooltip]:hover:before,.standalone-image-preview-actions button[data-tooltip]:hover:after,.standalone-image-preview-actions button[data-tooltip]:focus-visible:before,.standalone-image-preview-actions button[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)rotate(45deg)}.editor-image-actions button[data-tooltip]:hover:after,.editor-image-actions button[data-tooltip]:focus-visible:after{transform:translate(-50%)}.standalone-image-preview-actions button[data-tooltip]:hover:before,.standalone-image-preview-actions button[data-tooltip]:focus-visible:before{transform:translateY(0)rotate(45deg)}.standalone-image-preview-actions button[data-tooltip]:hover:after,.standalone-image-preview-actions button[data-tooltip]:focus-visible:after{transform:translateY(0)}.editor-image-actions .editor-actions-toggle[data-tooltip]:before{left:auto;right:15px;transform:translateY(3px)rotate(45deg)}.editor-image-actions .editor-actions-toggle[data-tooltip]:after{left:auto;right:0;transform:translateY(3px)}.editor-image-actions .editor-actions-toggle[data-tooltip]:hover:before,.editor-image-actions .editor-actions-toggle[data-tooltip]:focus-visible:before{transform:translateY(0)rotate(45deg)}.editor-image-actions .editor-actions-toggle[data-tooltip]:hover:after,.editor-image-actions .editor-actions-toggle[data-tooltip]:focus-visible:after{transform:translateY(0)}}.editor-actions-divider{top:50%;right:calc(var(--editor-action-size) + 6px);z-index:1;background:#ffffff38;width:1px;height:28px;display:none;position:absolute;transform:translateY(-50%)}.editor-panel{background:#fff;border:1px solid #e5e7ebe6;border-radius:30px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 18px 46px #0f172a12}.editor-panel-header{border-bottom:1px solid #f1f5f9;flex:none;justify-content:space-between;align-items:center;gap:16px;padding:24px 24px 20px;display:flex}.editor-panel-title{align-items:center;gap:11px;min-width:0;display:flex}.editor-panel-icon{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);border-radius:13px;flex:none;place-items:center;width:38px;height:38px;display:grid}.editor-panel-title h2{color:#111827;margin:0;font-size:18px;font-weight:700;line-height:1.2}.editor-close{color:#6b7280;background:0 0;border:0;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid}.editor-close:hover{color:#111827;background:#f3f4f6}.editor-panel-content{flex-direction:column;flex:1;min-height:0;display:flex}.editor-scroll-area{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:1;gap:22px;min-height:0;padding:24px;display:flex;overflow-y:auto}.editor-scroll-area::-webkit-scrollbar{display:none}.editor-section-label{color:#374151;margin-bottom:10px;font-size:15px;font-weight:800;display:block}.editor-prompt-section{display:grid}.editor-dialog-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;flex-direction:column;transition:border-color .16s,box-shadow .16s,background-color .16s;display:flex;overflow:hidden}.editor-dialog-card:focus-within{background:#fff;border-color:#0000;box-shadow:0 0 0 3px #6d5dfc38}.editor-dialog-thread{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;gap:10px;max-height:260px;padding:16px;display:flex;overflow-y:auto}.editor-dialog-thread::-webkit-scrollbar{display:none}.editor-dialog-message{border-radius:16px;gap:5px;max-width:88%;padding:10px 12px;transition:background-color .16s,border-color .16s,box-shadow .16s;display:grid}.editor-dialog-message p{color:#4b5563;margin:0;font-size:14px;font-weight:500;line-height:1.45}.editor-dialog-save-link{color:#6d5dfc;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 1px;font-weight:700;-webkit-text-decoration:underline #6d5dfc52;text-decoration:underline #6d5dfc52;transition:color .16s,text-decoration-color .16s}.editor-dialog-save-link:hover{color:#5b21b6;text-decoration-color:#5b21b680}.editor-dialog-save-link:focus-visible{outline-offset:2px;outline:2px solid #7c3aed47}.editor-dialog-save-link:disabled{color:#9ca3af;cursor:not-allowed;text-decoration-color:#9ca3af47}.editor-dialog-message--source{background:#fff;border:1px solid #e5e7eb;max-width:88%}.editor-dialog-message--user{background:#ede9fe;border:1px solid #0000;border-bottom-right-radius:5px;align-self:flex-end}.editor-dialog-message--system{background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:5px;align-self:flex-start}.editor-dialog-message--active{box-shadow:none;border-width:2px;border-color:#7c3aed;outline:none}.editor-dialog-message--source.editor-dialog-message--active,.editor-dialog-message--system.editor-dialog-message--active{background:#fbfaff}.editor-dialog-message--user.editor-dialog-message--active{background:#e8ddff}.editor-dialog-role,.editor-dialog-message-header{color:#374151;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:700;line-height:1.2;display:flex}.editor-dialog-message-actions{flex:none;align-items:center;gap:6px;margin-left:auto;display:inline-flex}.editor-dialog-copy{color:#6b7280;opacity:.72;background:0 0;border:0;border-radius:8px;place-items:center;width:22px;height:22px;transition:background-color .16s,color .16s,opacity .16s;display:grid}.editor-dialog-copy:hover{color:#4c1d95;opacity:1;background:0 0}.editor-dialog-copy:focus-visible{outline-offset:2px;outline:2px solid #7c3aed52}.editor-dialog-status{color:#2563eb;background:#eff6ff;border-radius:999px;align-items:center;min-height:20px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.editor-dialog-status--pending{color:#1d4ed8;background:#dbeafe}.editor-dialog-status--failed{color:#b91c1c;background:#fee2e2}.editor-dialog-composer{border-top:1px solid #e5e7eb;padding:14px 16px 16px}.editor-dialog-composer textarea{resize:none;color:#111827;scrollbar-width:none;-ms-overflow-style:none;background:0 0;border:0;outline:none;width:100%;min-height:42px;max-height:102px;padding:0;font-size:14px;font-weight:500;line-height:1.45;overflow-y:auto}.editor-dialog-composer textarea::-webkit-scrollbar{display:none}.editor-dialog-composer textarea::placeholder{color:#9ca3af}.editor-adaptive-settings,.editor-model-section{display:grid}.editor-model-selector{background:#f8fafc;border:1px solid #e5e7eb;border-radius:25px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:3px;display:grid;overflow:hidden;box-shadow:0 18px 42px #0f172a0f,inset 0 1px #ffffffb8}.editor-model-option{color:#4b5563;text-align:center;background:0 0;border:0;border-radius:20px;justify-content:center;align-items:center;min-width:0;min-height:36px;padding:0 12px;font-size:13px;font-weight:760;line-height:1.15;transition:background-color .16s,box-shadow .16s,color .16s;display:flex}.editor-model-option--selected{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.editor-model-option--disabled{cursor:not-allowed;color:#94a3b8}.editor-tabs-section{display:grid}.editor-panel-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-tab-panel{min-width:0;animation:ui-rise-in var(--motion-duration-base) var(--motion-ease-standard) both;flex-direction:column;gap:22px;display:flex}.editor-tab-panel[hidden]{display:none}.editor-tools-section{display:grid}.editor-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.editor-tool-card{color:#111827;text-align:left;background:#f8fafc;border:2px solid #e5e7eb;border-radius:18px;flex-direction:column;justify-content:space-between;gap:14px;min-width:0;height:100%;min-height:154px;padding:13px;transition:background-color .16s,border-color .16s;display:flex}.editor-tool-card:hover,.editor-tool-card--selected{box-shadow:none;background:#fbfaff;border-color:#7c3aed}.editor-tool-card:focus-visible{outline-offset:2px;outline:3px solid #7c3aed3d}.editor-tool-card-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.editor-tool-card-icon{color:#4f46e5;background:#eef2ff;border-radius:13px;flex:none;place-items:center;width:38px;height:38px;display:grid}.editor-tool-card--selected .editor-tool-card-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.editor-tool-card-badge{color:#2563eb;background:#eff6ff;border-radius:999px;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:800;line-height:1;display:inline-flex}.editor-tool-card-copy{gap:6px;min-width:0;display:grid}.editor-tool-card-copy strong{color:#111827;font-size:14px;font-weight:800;line-height:1.2}.editor-tool-card-copy small{color:#64748b;font-size:12px;font-weight:650;line-height:1.35}.editor-tool-settings-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;gap:16px;padding:16px;display:grid;box-shadow:0 16px 34px #0f172a0d}.editor-tool-settings-header{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:12px;display:grid}.editor-tool-settings-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border-radius:13px;place-items:center;width:38px;height:38px;display:grid}.editor-tool-settings-header h3{color:#111827;margin:0;font-size:15px;font-weight:800;line-height:1.2}.editor-tool-settings-header p{color:#64748b;margin:5px 0 0;font-size:12px;font-weight:650;line-height:1.4}.editor-tool-setting-block{gap:10px;display:grid}.editor-tool-setting-label{color:#374151;font-size:13px;font-weight:800}.editor-recraft-settings{gap:10px;display:grid}.editor-tool-segmented{background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:3px;display:grid;overflow:hidden;box-shadow:0 14px 32px #0f172a0d,inset 0 1px #ffffffb8}.editor-tool-segmented--three{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-tool-segmented--four{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-tool-segmented--single{grid-template-columns:minmax(0,1fr)}.editor-tool-segment{color:#4b5563;text-align:center;min-width:0;min-height:36px;transition:background-color var(--motion-duration-base) var(--motion-ease-standard), box-shadow var(--motion-duration-base) var(--motion-ease-standard), color var(--motion-duration-fast) var(--motion-ease-standard);background:0 0;border:0;border-radius:18px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:760;line-height:1.15;display:flex}.editor-tool-segment--selected{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.editor-tool-static-option{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:16px;align-items:center;gap:9px;min-height:42px;padding:10px 13px;font-size:13px;font-weight:800;display:inline-flex}.editor-tool-slider-grid{gap:10px;display:grid}.editor-recraft-brush-field{margin:0}.editor-recraft-polygon{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.editor-recraft-polygon span{color:#64748b;min-width:0;font-size:12px;font-weight:700;line-height:1.35}.editor-recraft-polygon button{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border:0;border-radius:12px;justify-content:center;align-items:center;min-height:32px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.editor-recraft-polygon button:disabled{color:#94a3b8;cursor:not-allowed;background:#e5e7eb}.editor-recraft-error{color:#b91c1c;margin:0;font-size:12px;font-weight:750;line-height:1.35}.editor-tool-slider-field{color:#475569;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:10px 12px;font-size:12px;font-weight:800;display:grid}.editor-tool-slider-field strong{color:#4f46e5;font-size:12px;font-weight:850}.editor-tool-slider-field input{accent-color:#6d5dfc;grid-column:1/-1;width:100%}.editor-tool-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.editor-tool-number-field{color:#475569;gap:6px;min-width:0;font-size:12px;font-weight:800;display:grid}.editor-tool-number-field input{color:#111827;width:100%;min-width:0;height:38px;font:inherit;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;outline:none;padding:0 10px;font-size:13px;font-weight:750;transition:background-color .16s,border-color .16s,box-shadow .16s}.editor-tool-number-field input:focus{background:#fff;border-color:#0000;box-shadow:0 0 0 3px #6d5dfc38}.editor-tool-size-note,.editor-tool-warning{color:#64748b;font-size:12px;font-weight:700;line-height:1.35}.editor-tool-warning{color:#b45309}.editor-tool-textarea{resize:vertical;color:#111827;width:100%;min-height:92px;font:inherit;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;outline:none;padding:12px 14px;font-size:14px;font-weight:500;line-height:1.45;transition:background-color .16s,border-color .16s,box-shadow .16s}.editor-tool-textarea:focus{background:#fff;border-color:#0000;box-shadow:0 0 0 3px #6d5dfc38}.editor-tool-textarea::placeholder{color:#9ca3af}.editor-tool-action{text-align:center;gap:8px;display:grid}.editor-tool-action span{color:#64748b;font-size:12px;font-weight:700}.editor-reference-section{display:grid}.editor-reference-button{color:#64748b;text-align:center;background:#f8fafc;border:2px dashed #d1d5db;border-radius:18px;justify-items:center;gap:5px;width:100%;min-height:74px;padding:13px 16px;transition:border-color .16s,background-color .16s,box-shadow .16s,color .16s,transform .16s;display:grid}.editor-reference-button:hover:not(:disabled){color:#6d28d9;background:#f5f3ff;border-color:#7c3aed;transform:translateY(-1px);box-shadow:0 14px 30px #7c3aed24}.editor-reference-button:disabled{cursor:not-allowed;opacity:.64}.editor-reference-button span{font-size:14px;font-weight:800}.editor-reference-button small{color:#94a3b8;font-size:11px;font-weight:700}.editor-reference-preview{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;padding:10px;display:grid}.editor-reference-preview img{object-fit:cover;border-radius:13px;width:64px;height:64px}.editor-reference-preview div{gap:6px;min-width:0;display:grid}.editor-reference-preview strong{color:#374151;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;overflow:hidden}.editor-reference-preview button{color:#b91c1c;background:#fee2e2;border:0;border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.editor-settings-renderer{gap:24px}.editor-settings-renderer .settings-renderer-section{gap:12px}.editor-settings-renderer .settings-renderer-header h3{font-size:14px}.editor-settings-renderer .settings-renderer-header p{font-size:12px}.editor-settings-renderer .settings-renderer-options{gap:9px}.editor-settings-renderer .settings-renderer-option{min-height:36px;padding:0 15px;font-size:13px}.editor-settings-renderer .settings-renderer-reference-grid{gap:10px}.editor-settings-renderer .settings-renderer-reference{border-radius:18px}.editor-settings-renderer .settings-renderer-toggle{border-radius:16px}.editor-save-message{color:#2563eb;background:#eff6ff;border-radius:999px;margin:0;padding:11px 14px;font-size:13px;font-weight:700}.editor-bottom-action{background:#fff;border-top:1px solid #f1f5f9;flex:none;padding:18px 24px 24px}.editor-generate-button{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);border:0;border-radius:18px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:52px;font-size:15px;font-weight:800;display:inline-flex;box-shadow:0 18px 36px #4f46e538}.editor-generate-button:hover:not(:disabled){box-shadow:0 22px 44px #4f46e547}.editor-generate-button:disabled{color:#ffffffb8;box-shadow:none;background:linear-gradient(135deg,#c4b5fd,#93c5fd)}@media (width>=1680px){.editor-modal{grid-template-columns:minmax(0,1fr) clamp(420px,22vw,460px);width:min(1920px,100vw - 72px);height:min(1040px,100dvh - 36px)}.editor-modal--pending .editor-image-surface{width:min(100%,900px);height:min(100%,900px)}.editor-modal--square .editor-image-surface{height:min(100%,900px)}.standalone-image-upload-shell{width:min(100%,1040px,100dvh - 36px)}}@media (width<=1180px){.editor-modal{grid-template-columns:minmax(0,1fr) 380px;gap:20px}.editor-stage{gap:20px;padding:0 0 20px 20px}.editor-panel-header,.editor-scroll-area,.editor-bottom-action{padding-left:20px;padding-right:20px}}@media (width<=560px){.editor-modal-backdrop{-webkit-overflow-scrolling:touch;padding:0;display:block;overflow-y:auto}.editor-modal{border-radius:0;flex-direction:column;gap:0;width:100%;height:auto;min-height:100vh;display:flex;overflow:visible}.editor-mobile-back{z-index:30;color:#ffffffeb;opacity:.86;-webkit-backdrop-filter:blur(10px);pointer-events:auto;background:#11182738;border:0;border-radius:999px;place-items:center;width:42px;height:42px;transition:opacity .16s,transform .16s;display:grid;position:absolute;top:18px;left:18px;overflow:hidden;box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.editor-mobile-back:active{transform:scale(.96)}.editor-mobile-back svg{width:22px;height:22px;display:block}.editor-stage{border-radius:0;flex-direction:column;order:1;gap:12px;min-height:auto;padding:12px;display:flex;overflow:visible}.standalone-image-stage{min-height:46vh;padding:12px}.standalone-image-upload-shell{aspect-ratio:auto;border-radius:22px;width:100%;height:auto;min-height:42vh;padding:0}.standalone-image-preview{width:100%;height:auto;max-height:none;aspect-ratio:var(--standalone-image-ratio,1 / 1);clip-path:inset(0 round 22px);border-radius:22px}.standalone-image-preview img{border-radius:22px;width:100%;height:100%}.standalone-image-upload{border-radius:22px;width:100%;height:auto;min-height:42vh}.standalone-image-preview-actions{bottom:14px;right:14px}.standalone-image-preview-button,.standalone-image-remove{width:40px;height:40px}.editor-canvas{order:1;height:auto;min-height:auto;overflow:visible}.editor-topbar{order:2;min-height:auto;overflow:visible}.editor-version-row{gap:10px;padding:0 0 2px}.editor-version{border-radius:16px;flex-basis:58px;width:58px;height:58px}.editor-version img,.editor-version-fallback{border-radius:12px}.editor-image-surface,.editor-modal--pending .editor-image-surface,.editor-modal--wide .editor-image-surface,.editor-modal--tall .editor-image-surface,.editor-modal--square .editor-image-surface{clip-path:none;isolation:isolate;border-radius:22px;width:100%;height:auto;max-height:none;overflow:visible}.editor-image,.editor-image-fallback{border-radius:22px}.editor-image-actions{--editor-action-size:42px;--editor-actions-open-width:244px;bottom:18px;right:18px}.editor-image-actions button svg{width:22px;height:22px}.editor-panel{border-left:0;border-right:0;border-radius:24px 24px 0 0;order:2;min-height:auto;overflow:visible}.editor-panel-header{padding:20px}.editor-panel-content,.editor-scroll-area{flex:none;min-height:auto;overflow:visible}.editor-scroll-area{gap:20px;padding:20px}.editor-panel-tabs .editor-model-option{min-height:38px;padding:0 8px;font-size:13px}.editor-tab-panel{gap:20px}.editor-tools-grid{grid-template-columns:1fr}.editor-tool-card{min-height:132px}.editor-tool-field-grid{grid-template-columns:1fr}.editor-tool-segment{padding:0 8px}.editor-tool-segmented--four .editor-tool-segment{padding:0 6px;font-size:12px}.editor-bottom-action{z-index:2;padding:16px 20px 20px;position:sticky;bottom:0}}.video-editor-backdrop{z-index:100;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:#f8fafc;padding:18px;display:flex;position:fixed;inset:0}.video-editor-modal{width:min(1560px,100%);height:min(900px,100%);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#f8fafc;border-radius:30px;grid-template-columns:minmax(0,1fr) 420px;gap:24px;margin:auto;display:grid;overflow:hidden}.video-editor-mobile-back{display:none}.video-editor-stage{background:#f8fafc;border-radius:30px;grid-template-rows:auto minmax(0,1fr);gap:24px;min-width:0;min-height:0;padding:0 0 24px 24px;display:grid;overflow:hidden}.video-editor-version-row{overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:16px;min-width:0;min-height:82px;padding:2px 0 6px;display:flex;overflow:auto hidden}.video-editor-version-row::-webkit-scrollbar{display:none}.video-editor-version{box-sizing:border-box;background:0 0;border:2px solid #0000;border-radius:22px;flex:0 0 82px;width:82px;height:82px;padding:2px;transition:border-color .16s,background-color .16s,transform .16s;display:block;position:relative;overflow:hidden}.video-editor-version:hover{transform:translateY(-1px)}.video-editor-version--active{background:#fff;border-color:#7c3aed}.video-editor-version img,.video-editor-version-fallback{border-radius:17px;width:100%;height:100%;display:block}.video-editor-version img{object-fit:cover;object-position:center}.video-editor-version-fallback{color:#64748b;background:#e2e8f0;place-items:center;display:grid}.video-editor-canvas{border-radius:30px;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.video-editor-video-surface{width:100%;max-width:1120px;max-height:100%;aspect-ratio:var(--video-editor-ratio,16 / 9);clip-path:inset(0 round 28px);background:#111827;border-radius:28px;display:grid;position:relative;overflow:hidden}.video-editor-video-surface--wide{width:100%;height:auto}.video-editor-video-surface--square{width:auto;max-width:100%;height:min(100%,780px)}.video-editor-video-surface--tall{width:auto;max-width:100%;height:100%}.video-editor-video{object-fit:contain;background:#111827;border-radius:28px;width:100%;height:100%;display:block}.video-editor-video-fallback{color:#cbd5e1;background:linear-gradient(135deg,#14b8a633,#0000 42%),linear-gradient(225deg,#6366f147,#0000 46%),#111827;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:320px;padding:24px;font-size:14px;font-weight:700;display:flex}.video-editor-status-overlay{z-index:4;color:#fff;border-radius:inherit;text-align:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8f;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex;position:absolute;inset:0}.video-editor-status-overlay span{font-size:16px;font-weight:800}.video-editor-status-overlay small{color:#ffffffd6;max-width:340px;font-size:13px;font-weight:650;line-height:1.35}.video-editor-status-overlay--failed{background:#7f1d1db8}.video-editor-actions{--video-editor-action-size:38px;--video-editor-actions-open-width:190px;--video-editor-actions-open-height:calc(var(--video-editor-action-size) + 8px);z-index:5;width:var(--video-editor-action-size);height:var(--video-editor-action-size);box-shadow:none;-webkit-backdrop-filter:none;isolation:isolate;background:0 0;border-radius:999px;gap:0;padding:0;position:absolute;bottom:18px;right:18px}.video-editor-actions--open{box-shadow:none;-webkit-backdrop-filter:none;background:0 0}.video-editor-actions:before{z-index:0;width:calc(var(--video-editor-actions-open-width) + 4px);height:var(--video-editor-actions-open-height);content:"";pointer-events:none;-webkit-backdrop-filter:blur(10px);background:#11182738;border-radius:999px;display:none;position:absolute;top:50%;right:-4px;transform:translateY(-50%);box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.video-editor-actions--open:before{display:block}.video-editor-actions-menu{top:50%;right:calc(var(--video-editor-action-size) + 8px);z-index:1;box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border-radius:999px 0 0 999px;align-items:center;gap:6px;padding:4px;display:none;position:absolute;transform:translateY(-50%)}.video-editor-actions--open .video-editor-actions-menu{display:flex}.video-editor-actions--open .video-editor-actions-divider{display:block}.video-editor-actions button{width:var(--video-editor-action-size);height:var(--video-editor-action-size);color:#ffffffe6;background:0 0;border:0;border-radius:999px;place-items:center;display:grid;position:relative}.video-editor-actions button:hover{background:#ffffff1f}.video-editor-actions .video-editor-delete-button{color:#ffffffc7}.video-editor-actions .video-editor-delete-button:hover:not(:disabled){color:#fecaca;background:#ef44442e}.video-editor-actions button:disabled{cursor:not-allowed;opacity:.46}.video-editor-actions button:disabled:hover{background:0 0}.video-editor-actions .video-editor-actions-toggle{z-index:2;color:#ffffffeb;opacity:.86;-webkit-backdrop-filter:blur(10px);background:#11182738;transition:opacity .16s,transform .16s;position:relative;box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.video-editor-actions .video-editor-actions-toggle:hover{opacity:1;background:#1118274d}.video-editor-actions .video-editor-actions-toggle:active{transform:scale(.96)}.video-editor-actions--open .video-editor-actions-toggle{opacity:1}.video-editor-actions .video-editor-save-button{color:#111827;background:#fff}.video-editor-actions .video-editor-save-button:disabled{color:#11182780;background:#ffffffbd}@media (hover:hover) and (pointer:fine){.video-editor-actions button[data-tooltip]:before,.video-editor-actions button[data-tooltip]:after{z-index:20;opacity:0;pointer-events:none;transition:opacity .14s,transform .14s;position:absolute}.video-editor-actions button[data-tooltip]:before{content:"";background:#111827f0;border-radius:2px;width:8px;height:8px;bottom:calc(100% + 4px);left:50%;transform:translate(-50%,3px)rotate(45deg)}.video-editor-actions button[data-tooltip]:after{color:#fff;content:attr(data-tooltip);text-align:center;white-space:nowrap;background:#111827f0;border-radius:9px;max-width:190px;padding:7px 10px;font-size:12px;font-weight:600;line-height:1.2;bottom:calc(100% + 8px);left:50%;transform:translate(-50%,3px);box-shadow:0 12px 30px #11182733}.video-editor-actions button[data-tooltip]:hover:before,.video-editor-actions button[data-tooltip]:hover:after,.video-editor-actions button[data-tooltip]:focus-visible:before,.video-editor-actions button[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)rotate(45deg)}.video-editor-actions button[data-tooltip]:hover:after,.video-editor-actions button[data-tooltip]:focus-visible:after{transform:translate(-50%)}.video-editor-actions .video-editor-actions-toggle[data-tooltip]:before{left:auto;right:15px;transform:translateY(3px)rotate(45deg)}.video-editor-actions .video-editor-actions-toggle[data-tooltip]:after{left:auto;right:0;transform:translateY(3px)}.video-editor-actions .video-editor-actions-toggle[data-tooltip]:hover:before,.video-editor-actions .video-editor-actions-toggle[data-tooltip]:focus-visible:before{transform:translateY(0)rotate(45deg)}.video-editor-actions .video-editor-actions-toggle[data-tooltip]:hover:after,.video-editor-actions .video-editor-actions-toggle[data-tooltip]:focus-visible:after{transform:translateY(0)}}.video-editor-actions-divider{top:50%;right:calc(var(--video-editor-action-size) + 6px);z-index:1;background:#ffffff38;width:1px;height:28px;display:none;position:absolute;transform:translateY(-50%)}.video-editor-panel{background:#fff;border:1px solid #e5e7ebe6;border-radius:30px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 18px 46px #0f172a12}.video-editor-panel-header{border-bottom:1px solid #f1f5f9;flex:none;justify-content:space-between;align-items:center;gap:16px;padding:24px 24px 20px;display:flex}.video-editor-panel-title{align-items:center;gap:11px;min-width:0;display:flex}.video-editor-panel-icon{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);border-radius:13px;flex:none;place-items:center;width:38px;height:38px;display:grid}.video-editor-panel-title h2{color:#111827;margin:0;font-size:18px;font-weight:700;line-height:1.2}.video-editor-close{color:#6b7280;background:0 0;border:0;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid}.video-editor-close:hover{color:#111827;background:#f3f4f6}.video-editor-panel-content{flex-direction:column;flex:1;min-height:0;display:flex}.video-editor-scroll-area{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:1;gap:22px;min-height:0;padding:24px;display:flex;overflow-y:auto}.video-editor-scroll-area::-webkit-scrollbar{display:none}.video-editor-section-label{color:#374151;margin-bottom:10px;font-size:15px;font-weight:800;display:block}.video-editor-prompt-section textarea{resize:vertical;color:#111827;background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;outline:none;width:100%;min-height:116px;padding:14px 16px;font-size:14px;font-weight:500;line-height:1.45}.video-editor-prompt-section textarea:focus{background:#fff;border-color:#0000;box-shadow:0 0 0 3px #6d5dfc38}.video-editor-prompt-section textarea::placeholder{color:#9ca3af}.video-editor-inline-warning{color:#b45309;margin:9px 0 0;font-size:12px;font-weight:650;line-height:1.35}.video-editor-model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.video-editor-model-card{color:#111827;text-align:left;background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;align-content:space-between;gap:10px;min-height:94px;padding:12px;transition:border-color .16s,background-color .16s,box-shadow .16s,transform .16s;display:grid}.video-editor-model-card:hover{background:#f8fbff;border-color:#c7d2fe;transform:translateY(-1px);box-shadow:0 16px 34px #4f46e51f}.video-editor-model-card--selected{background:linear-gradient(#fff 0%,#f5f3ff 100%);border-color:#7c3aed;box-shadow:0 16px 34px #7c3aed24,inset 0 0 0 1px #7c3aed29}.video-editor-model-card-top{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.video-editor-model-card strong{min-width:0;font-size:14px;font-weight:800;line-height:1.2}.video-editor-model-card span{color:#2563eb;white-space:nowrap;background:#eff6ff;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;line-height:1}.video-editor-model-card small{color:#64748b;font-size:12px;font-weight:700;line-height:1.25}.video-editor-reference-button{color:#64748b;text-align:center;background:#f8fafc;border:2px dashed #d1d5db;border-radius:18px;justify-items:center;gap:5px;width:100%;min-height:74px;padding:13px 16px;transition:border-color .16s,background-color .16s,box-shadow .16s,color .16s,transform .16s;display:grid}.video-editor-reference-button:hover{color:#6d28d9;background:#f5f3ff;border-color:#7c3aed;transform:translateY(-1px);box-shadow:0 14px 30px #7c3aed24}.video-editor-reference-button span{font-size:14px;font-weight:800}.video-editor-reference-button small{color:#94a3b8;font-size:11px;font-weight:700}.video-editor-reference-preview{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;padding:10px;display:grid}.video-editor-reference-preview img{object-fit:cover;border-radius:13px;width:64px;height:64px}.video-editor-reference-preview div{gap:6px;min-width:0;display:grid}.video-editor-reference-preview strong{color:#374151;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;overflow:hidden}.video-editor-reference-preview button{color:#b91c1c;background:#fee2e2;border:0;border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.video-editor-settings-renderer{gap:24px}.video-editor-settings-renderer .settings-renderer-section{gap:12px}.video-editor-settings-renderer .settings-renderer-header h3{font-size:14px}.video-editor-settings-renderer .settings-renderer-header p{font-size:12px}.video-editor-settings-renderer .settings-renderer-options{gap:9px}.video-editor-settings-renderer .settings-renderer-option{min-height:36px;padding:0 15px;font-size:13px}.video-editor-settings-renderer .settings-renderer-toggle{border-radius:16px}.video-editor-tabs-section,.video-editor-tools-section{display:grid}.video-editor-segmented{background:#f8fafc;border:1px solid #e5e7eb;border-radius:25px;gap:4px;padding:3px;display:grid;overflow:hidden;box-shadow:0 18px 42px #0f172a0f,inset 0 1px #ffffffb8}.video-editor-panel-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.video-editor-segment{color:#4b5563;text-align:center;min-width:0;min-height:36px;transition:background-color var(--motion-duration-base) var(--motion-ease-standard), box-shadow var(--motion-duration-base) var(--motion-ease-standard), color var(--motion-duration-fast) var(--motion-ease-standard);background:0 0;border:0;border-radius:20px;justify-content:center;align-items:center;padding:0 12px;font-size:13px;font-weight:760;line-height:1.15;display:flex}.video-editor-segment--selected{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.video-editor-tab-panel{min-width:0;animation:ui-rise-in var(--motion-duration-base) var(--motion-ease-standard) both;flex-direction:column;gap:22px;display:flex}.video-editor-tab-panel[hidden]{display:none}.video-editor-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.video-editor-tool-card{color:#111827;text-align:left;background:#f8fafc;border:2px solid #e5e7eb;border-radius:18px;flex-direction:column;justify-content:space-between;gap:14px;min-width:0;height:100%;min-height:154px;padding:13px;transition:background-color .16s,border-color .16s;display:flex}.video-editor-tool-card:hover,.video-editor-tool-card--selected{box-shadow:none;background:#fbfaff;border-color:#7c3aed}.video-editor-tool-card:focus-visible{outline-offset:2px;outline:3px solid #7c3aed3d}.video-editor-tool-card-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.video-editor-tool-card-icon{color:#4f46e5;background:#eef2ff;border-radius:13px;flex:none;place-items:center;width:38px;height:38px;display:grid}.video-editor-tool-card--selected .video-editor-tool-card-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.video-editor-tool-card-badge{color:#2563eb;background:#eff6ff;border-radius:999px;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:800;line-height:1;display:inline-flex}.video-editor-tool-card-copy{gap:6px;min-width:0;display:grid}.video-editor-tool-card-copy strong{color:#111827;font-size:14px;font-weight:800;line-height:1.2}.video-editor-tool-card-copy small{color:#64748b;font-size:12px;font-weight:650;line-height:1.35}.video-editor-tool-settings-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;gap:16px;padding:16px;display:grid;box-shadow:0 16px 34px #0f172a0d}.video-editor-tool-settings-header{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:12px;display:grid}.video-editor-tool-settings-icon{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border-radius:13px;place-items:center;width:38px;height:38px;display:grid}.video-editor-tool-settings-header h3{color:#111827;margin:0;font-size:15px;font-weight:800;line-height:1.2}.video-editor-tool-settings-header p{color:#64748b;margin:5px 0 0;font-size:12px;font-weight:650;line-height:1.4}.video-editor-tool-setting-block{gap:10px;display:grid}.video-editor-tool-setting-label{color:#374151;font-size:13px;font-weight:800}.video-editor-tool-segmented{background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:3px;display:grid;overflow:hidden;box-shadow:0 14px 32px #0f172a0d,inset 0 1px #ffffffb8}.video-editor-tool-segment{color:#4b5563;text-align:center;min-width:0;min-height:36px;transition:background-color var(--motion-duration-base) var(--motion-ease-standard), box-shadow var(--motion-duration-base) var(--motion-ease-standard), color var(--motion-duration-fast) var(--motion-ease-standard);background:0 0;border:0;border-radius:18px;justify-content:center;align-items:center;padding:0 12px;font-size:13px;font-weight:760;line-height:1.15;display:flex}.video-editor-tool-segment--selected{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.video-editor-tool-static-option{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:16px;align-items:center;gap:9px;min-height:42px;padding:10px 13px;font-size:13px;font-weight:800;display:inline-flex}.video-editor-tool-size-note{color:#64748b;font-size:12px;font-weight:700;line-height:1.35}.video-editor-tool-action{text-align:center;gap:8px;display:grid}.video-editor-tool-action span{color:#64748b;font-size:12px;font-weight:700}.video-editor-bottom-action{background:#fff;border-top:1px solid #f1f5f9;flex:none;padding:18px 24px 24px}.video-editor-generate-button{color:#fff;background:linear-gradient(135deg,#7c3aed 0%,#2563eb 100%);border:0;border-radius:18px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:52px;font-size:15px;font-weight:800;display:inline-flex;box-shadow:0 14px 28px #4f46e53d}.video-editor-generate-button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}@media (width>=1680px){.video-editor-modal{grid-template-columns:minmax(0,1fr) clamp(420px,22vw,460px);width:min(1920px,100vw - 72px);height:min(1040px,100dvh - 36px)}}@media (width<=1100px){.video-editor-modal{grid-template-columns:1fr;overflow-y:auto}.video-editor-stage{min-height:520px;padding:0 24px}.video-editor-panel{min-height:680px}}@media (width<=560px){.video-editor-backdrop{-webkit-overflow-scrolling:touch;padding:0;display:block;overflow-y:auto}.video-editor-modal{border-radius:0;flex-direction:column;gap:0;width:100%;height:auto;min-height:100vh;display:flex;overflow:visible}.video-editor-stage{border-radius:0;flex-direction:column;order:1;gap:12px;min-height:auto;padding:12px;display:flex;overflow:visible}.video-editor-canvas{order:1;height:auto;min-height:auto;overflow:visible}.video-editor-version-row{order:2;gap:10px;min-height:auto;padding:0 0 2px}.video-editor-version{border-radius:16px;flex-basis:58px;width:58px;height:58px}.video-editor-version img,.video-editor-version-fallback{border-radius:12px}.video-editor-video-surface,.video-editor-video-surface--wide,.video-editor-video-surface--square,.video-editor-video-surface--tall{clip-path:none;isolation:isolate;border-radius:22px;width:100%;height:auto;max-height:none;overflow:visible}.video-editor-video,.video-editor-video-fallback{border-radius:22px}.video-editor-mobile-back{z-index:30;color:#ffffffeb;opacity:.86;-webkit-backdrop-filter:blur(10px);pointer-events:auto;background:#11182738;border:0;border-radius:999px;place-items:center;width:42px;height:42px;transition:opacity .16s,transform .16s;display:grid;position:absolute;top:18px;left:18px;overflow:hidden;box-shadow:0 8px 18px #11182724,inset 0 1px #fff3}.video-editor-mobile-back:active{transform:scale(.96)}.video-editor-mobile-back svg{width:22px;height:22px;display:block}.video-editor-actions{--video-editor-action-size:42px;--video-editor-actions-open-width:196px;bottom:18px;right:18px}.video-editor-actions button svg{width:22px;height:22px}.video-editor-panel{border-left:0;border-right:0;border-radius:24px 24px 0 0;order:2;min-height:auto;overflow:visible}.video-editor-panel-header{padding:20px}.video-editor-panel-content,.video-editor-scroll-area{flex:none;min-height:auto;overflow:visible}.video-editor-scroll-area{gap:20px;padding:20px}.video-editor-panel-tabs .video-editor-segment{min-height:38px;padding:0 8px;font-size:13px}.video-editor-tab-panel{gap:20px}.video-editor-model-grid,.video-editor-tools-grid{grid-template-columns:1fr}.video-editor-tool-card{min-height:132px}.video-editor-tool-segment{padding:0 8px}.video-editor-bottom-action{z-index:2;padding:16px 20px 20px;position:sticky;bottom:0}}.text-conversation-backdrop{z-index:100;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:#f8fafceb;padding:20px;display:flex;position:fixed;inset:0}.text-conversation-modal{width:100%;height:100%;animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:#fff;border:1px solid #e5e7ebe6;border-radius:28px;grid-template-rows:auto minmax(0,1fr) auto;margin:auto;display:grid;overflow:hidden;box-shadow:0 24px 70px #0f172a29}.text-conversation-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px 18px;display:flex}.text-conversation-title{align-items:center;gap:13px;min-width:0;display:flex}.text-conversation-icon{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);border-radius:14px;flex:none;place-items:center;width:42px;height:42px;display:grid}.text-conversation-title h2{color:#111827;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:18px;font-weight:800;line-height:1.2;overflow:hidden}.text-conversation-title p{color:#6b7280;margin:4px 0 0;font-size:13px;font-weight:650}.text-conversation-controls{align-self:center;align-items:center;gap:10px;width:min(440px,46vw);min-width:0;margin-left:auto;display:flex;position:relative}.text-conversation-preview-settings{z-index:3;flex:none;position:relative}.text-conversation-preview-settings-button{color:#4b5563;background:#f3f4f6;border:0;border-radius:14px;place-items:center;width:42px;height:42px;transition:background-color .16s,color .16s;display:grid}.text-conversation-preview-settings-button:hover,.text-conversation-preview-settings-button[aria-expanded=true]{color:#111827;background:#e5e7eb}.text-conversation-preview-settings-button:disabled{cursor:not-allowed;opacity:.58}.text-conversation-preview-popover{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border:1px solid #e5e7ebeb;border-radius:18px;gap:12px;width:min(300px,100vw - 32px);padding:14px;display:grid;position:absolute;top:calc(100% + 10px);left:0;box-shadow:0 24px 60px #0f172a2e}.text-conversation-preview-popover strong{color:#111827;font-size:13px;font-weight:800;line-height:1.25}.text-conversation-preview-options{background:#f3f4f6;border-radius:16px;grid-template-columns:1fr 1fr;gap:5px;padding:3px;display:grid}.text-conversation-preview-option{color:#64748b;background:0 0;border:0;border-radius:13px;min-height:34px;padding:0 9px;font-size:12px;font-weight:760;line-height:1.15}.text-conversation-preview-option--selected{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.text-conversation-preview-popover textarea{resize:vertical;color:#374151;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;outline:none;min-height:84px;padding:10px 12px;font-size:13px;font-weight:500;line-height:1.4}.text-conversation-preview-popover textarea:focus{background:#fff;border-color:#0000;box-shadow:0 0 0 3px #6d5dfc2e}.text-conversation-preview-save{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border:0;border-radius:14px;min-height:36px;font-size:13px;font-weight:800}.text-conversation-preview-save:disabled{cursor:not-allowed;color:#ffffffb8;background:linear-gradient(135deg,#c4b5fd,#93c5fd)}.text-conversation-model-select{flex:auto;min-width:0;display:block}.text-conversation-model-slider{background:#f8fafc;border:1px solid #e5e7eb;border-radius:25px;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:4px;padding:3px;display:grid;overflow:hidden;box-shadow:0 18px 42px #0f172a0f,inset 0 1px #ffffffb8}.text-conversation-model-option{color:#94a3b8;text-align:center;background:0 0;border:0;border-radius:20px;justify-content:center;align-items:center;min-width:0;min-height:36px;padding:0 12px;font-size:13px;font-weight:760;line-height:1.15;transition:background-color .16s,color .16s;display:flex}.text-conversation-model-option--selected{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%)}.text-conversation-model-option:disabled{cursor:not-allowed}.text-conversation-model-option:not(:disabled):not(.text-conversation-model-option--selected):hover{color:#4b5563;background:#ffffffb8}.text-conversation-close{color:#6b7280;background:0 0;border:0;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid}.text-conversation-close:hover{color:#111827;background:#f3f4f6}.text-conversation-body{min-height:0;padding:24px 24px 0;display:flex;overflow:hidden}.text-conversation-messages{scrollbar-color:#64748b6b transparent;scrollbar-gutter:stable;scrollbar-width:thin;-ms-overflow-style:auto;flex-direction:column;flex:1;gap:12px;min-height:0;padding:2px 8px 0 2px;display:flex;overflow-y:auto}.text-conversation-messages:before{content:"";flex:1 0 auto;min-height:0;display:block}.text-conversation-messages::-webkit-scrollbar{width:10px}.text-conversation-messages::-webkit-scrollbar-track{background:0 0;border-radius:999px;margin:8px 0 10px}.text-conversation-messages::-webkit-scrollbar-thumb{background:#64748b6b padding-box padding-box;border:3px solid #0000;border-radius:999px}.text-conversation-messages::-webkit-scrollbar-thumb:hover{background:#4b556394 padding-box padding-box}.text-conversation-message{border-radius:18px;gap:7px;max-width:min(82%,720px);padding:12px 40px 12px 14px;display:grid;position:relative}.text-conversation-message p,.text-conversation-message .markdown-message{color:#4b5563;margin:0;font-size:14px;font-weight:500;line-height:1.5}.text-conversation-message p{white-space:pre-wrap}.text-conversation-message .markdown-message,.text-conversation-message .markdown-message p{white-space:normal}.text-conversation-message--assistant{background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:6px;align-self:flex-start}.text-conversation-message--user{background:#ede9fe;border-bottom-right-radius:6px;align-self:flex-end}.text-conversation-message--pending{opacity:.72}.text-conversation-message--failed{background:#fff1f2;border-color:#fecaca}.text-conversation-message--failed p{color:#9f1239}.text-conversation-message-copy{color:#6b7280;opacity:0;background:0 0;border:0;border-radius:8px;place-items:center;width:24px;height:24px;transition:background-color .16s,color .16s,opacity .16s;display:grid;position:absolute;top:8px;right:9px}.text-conversation-message:hover .text-conversation-message-copy,.text-conversation-message:focus-within .text-conversation-message-copy{opacity:.62}.text-conversation-message-copy:hover{color:#111827;opacity:1;background:0 0}.text-conversation-message-copy:focus-visible{outline-offset:2px;outline:2px solid #7c3aed52}.text-conversation-message--user .text-conversation-message-copy{color:#6d5dfc}.text-conversation-message--user .text-conversation-message-copy:hover{color:#4c1d95}.text-conversation-message-attachments{flex-wrap:wrap;gap:7px;margin-top:2px;display:flex}.text-conversation-message-attachment{color:#6d5dfc;background:#ffffffad;border:1px solid #7c3aed2e;border-radius:14px;place-items:center;width:56px;height:56px;display:grid;overflow:hidden}.text-conversation-message-attachment img{object-fit:cover;width:100%;height:100%}.text-conversation-state{color:#64748b;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:9px;min-width:0;min-height:100%;padding:32px 24px;display:flex}.text-conversation-state strong{color:#1f2937;font-size:15px;font-weight:800}.text-conversation-state span{max-width:380px;font-size:13px;font-weight:650;line-height:1.4}.text-conversation-state button{color:#fff;background:#4f46e5;border:0;border-radius:999px;min-height:36px;margin-top:4px;padding:0 14px;font-size:13px;font-weight:800}.text-conversation-state--error,.text-conversation-state--error strong{color:#991b1b}.text-conversation-spinner{color:#64748b;animation:.9s linear infinite text-conversation-spin}.text-conversation-composer{background:#fff;border-top:1px solid #f1f5f9;grid-template-columns:minmax(0,1fr) 44px auto;align-items:center;gap:10px;min-height:99px;padding:18px 24px;display:grid}.text-conversation-attachments,.text-conversation-attachment-error{grid-column:1/-1}.text-conversation-attachments{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.text-conversation-attachment{background:#f8fafc;border:1px solid #e2e8f0f2;border-radius:16px;width:58px;height:58px;position:relative;overflow:hidden;box-shadow:0 12px 26px #0f172a14}.text-conversation-attachment img{object-fit:cover;width:100%;height:100%}.text-conversation-attachment button{color:#dc2626;background:#ffffffeb;border-radius:9px;width:24px;height:24px;min-height:24px;padding:0;position:absolute;top:4px;right:4px;box-shadow:0 8px 18px #0f172a1f}.text-conversation-attachment-error{color:#dc2626;margin:-2px 0 0;font-size:12px;font-weight:700}.text-conversation-composer textarea{resize:none;color:#111827;scrollbar-width:none;-ms-overflow-style:none;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;outline:none;width:100%;min-height:44px;max-height:120px;padding:12px 14px;font-size:14px;font-weight:500;line-height:1.35}.text-conversation-composer textarea::-webkit-scrollbar{display:none}.text-conversation-composer textarea:focus{background:#fff;border-color:#0000;box-shadow:0 0 0 3px #6d5dfc33}.text-conversation-composer textarea::placeholder{color:#9ca3af}.text-conversation-composer input[type=file]{display:none}.text-conversation-composer button{color:#fff;white-space:nowrap;background:linear-gradient(135deg,#7c3aed,#2563eb);border:0;border-radius:16px;justify-content:center;align-self:center;align-items:center;gap:8px;width:150px;height:44px;min-height:44px;padding:0 16px;font-size:14px;font-weight:800;display:inline-flex}.text-conversation-composer .text-conversation-attach-button{color:#4b5563;background:#f3f4f6;width:44px;padding:0}.text-conversation-composer .text-conversation-attach-button:not(:disabled):hover{color:#4f46e5;background:#eef2ff}.text-conversation-composer button:disabled{color:#ffffffb8;background:linear-gradient(135deg,#c4b5fd,#93c5fd)}.text-conversation-composer .text-conversation-attach-button:disabled{color:#cbd5e1;background:#f8fafc}@keyframes text-conversation-spin{to{transform:rotate(360deg)}}@media (width<=720px){.text-conversation-backdrop{padding:10px}.text-conversation-modal{border-radius:22px;max-height:100%}.text-conversation-header,.text-conversation-body,.text-conversation-composer{padding-left:18px;padding-right:18px}.text-conversation-header{flex-wrap:wrap;align-items:flex-start}.text-conversation-model-select,.text-conversation-controls{width:100%}.text-conversation-composer{grid-template-columns:minmax(0,1fr) 44px 150px}}@media (width<=560px){.text-conversation-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;padding:0}.text-conversation-modal{width:100%;height:100dvh;max-height:none;box-shadow:none;border:0;border-radius:0}.text-conversation-header{grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:14px 12px;padding:18px 14px 14px;display:grid;position:relative}.text-conversation-title{grid-area:1/1;min-width:0;padding-right:0;overflow:hidden}.text-conversation-title>div{min-width:0;overflow:hidden}.text-conversation-title h2{max-width:100%;font-size:17px;line-height:1.18}.text-conversation-controls{grid-area:2/1/auto/-1;width:100%;margin-left:0}.text-conversation-model-slider{grid-template-columns:repeat(3,minmax(0,1fr))}.text-conversation-model-option{min-height:38px;padding:0 6px;font-size:12px}.text-conversation-preview-popover{left:0;right:auto}.text-conversation-close{border-radius:14px;grid-area:1/2;place-self:center end;width:42px;height:42px}.text-conversation-body{padding:18px 14px 0}.text-conversation-message{max-width:min(88%,720px)}.text-conversation-message-copy{opacity:.62}.text-conversation-composer{min-height:auto;padding:12px 14px calc(12px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 48px 48px;gap:10px}.text-conversation-composer textarea{border-radius:16px;min-height:48px;padding:13px 16px;font-size:16px}.text-conversation-composer button{border-radius:16px;width:48px;height:48px;min-height:48px;padding:0}.text-conversation-composer button span{display:none}.text-conversation-composer button svg{width:20px;height:20px}}@font-face{font-family:VSN Drop Initial New;src:url(/assets/newfont-BEJ7M7OX.woff)format("woff");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+410-42B,U+42D-42F}.markdown-message{min-width:0;max-width:100%;color:inherit;font:inherit;overflow-wrap:anywhere}.markdown-message>:first-child{margin-top:0}.markdown-message>:last-child{margin-bottom:0}.markdown-message p{margin:0 0 10px}.markdown-message h1,.markdown-message h2,.markdown-message h3,.markdown-message h4{color:inherit;font-size:1em;font-weight:800;line-height:inherit;margin:14px 0 8px}.markdown-message strong{color:inherit;font-weight:760}.markdown-message ul,.markdown-message ol{margin:8px 0 12px;padding-left:18px}.markdown-message li{margin:4px 0;padding-left:2px}.markdown-message li>p{margin:0}.markdown-message blockquote{color:inherit;background:#f8fafc;border-left:3px solid #c4b5fd;border-radius:0 10px 10px 0;margin:10px 0;padding:8px 12px}.markdown-message code{color:#111827;background:#f1f5f9;border-radius:6px;padding:2px 5px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.markdown-message pre{background:#111827;border-radius:12px;max-width:100%;margin:12px 0;padding:12px;overflow-x:auto}.markdown-message pre code{color:#f8fafc;white-space:pre;background:0 0;padding:0}.markdown-message-table-scroll{max-width:100%;margin:12px 0;overflow-x:auto}.markdown-message table{border-collapse:collapse;min-width:min(520px,100%);color:inherit;font-size:1em}.markdown-message th,.markdown-message td{text-align:left;vertical-align:top;border:1px solid #e5e7eb;padding:8px 10px}.markdown-message th{color:inherit;background:#f8fafc;font-weight:760}.markdown-message a{color:#4f46e5;font-weight:700;text-decoration:none}.markdown-message a:hover{text-decoration:underline}.markdown-message-image-link{align-items:center;max-width:100%;display:inline-flex}.markdown-message .katex-display{max-width:100%;padding:3px 0 6px;overflow:auto hidden}.markdown-message--card{color:#374151;height:100%;max-height:100%;font-size:inherit;font-weight:inherit;line-height:inherit;overflow:hidden}.markdown-message--card>p:first-child,.markdown-message--card>.markdown-message-card-heading:first-child{padding-top:4px}.markdown-message--card>p:first-child:first-letter,.markdown-message--card>.markdown-message-card-heading:first-child:first-letter{float:left;color:#111827;margin:-4px 12px 0 0;font-family:VSN Drop Initial New,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:70px;font-weight:600;line-height:.92}.markdown-message--card p,.markdown-message--card .markdown-message-card-heading{margin:0 0 6px}.markdown-message--card .markdown-message-card-heading{color:#374151;font-size:16px;font-weight:400;line-height:1.35}.markdown-message--card strong{font-weight:400}.markdown-message--card ul,.markdown-message--card ol{clear:left;margin:4px 0 8px;padding-left:20px}.markdown-message--card blockquote{margin:6px 0;padding:6px 9px}.markdown-message--card pre{max-height:92px;margin:8px 0;padding:9px}.markdown-message--card table{min-width:100%;font-size:12px}.markdown-message--card th,.markdown-message--card td{padding:5px 7px}@media (width<=560px){.markdown-message--card>p:first-child:first-letter,.markdown-message--card>.markdown-message-card-heading:first-child:first-letter{margin-bottom:4px}}.settings-renderer{gap:18px;display:grid}.settings-renderer-section{gap:10px;display:grid}.settings-renderer-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settings-renderer-header h3{color:#374151;margin:0;font-size:15px;font-weight:700;line-height:1.2}.settings-renderer-header p{color:#6b7280;margin:4px 0 0;font-size:13px;font-weight:500;line-height:1.35}.settings-renderer-header span{color:#4f46e5;flex:none;font-size:13px;font-weight:700;line-height:1.2}.settings-renderer-options{flex-wrap:wrap;gap:9px;display:flex}.settings-renderer-option{box-sizing:border-box;color:#4b5563;background:#f3f4f6;border:2px solid #0000;border-radius:999px;min-height:36px;padding:0 13px;font-size:13px;font-weight:700}.settings-renderer-option:hover:not(:disabled){background:#e5e7eb}.settings-renderer-option--active{color:#4c1d95;background:#f6f3ff;border-color:#6d4df6}.settings-renderer-option--active:hover:not(:disabled){background:#f6f3ff}.settings-renderer-select{display:block}.settings-renderer-select select,.settings-renderer-text-input,.settings-renderer-textarea,.settings-renderer-number input{color:#374151;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;width:100%;font-size:14px;font-weight:600}.settings-renderer-select select{appearance:none;background:linear-gradient(45deg,#0000 50%,#9ca3af 50%) calc(100% - 21px) 18px/6px 6px no-repeat,linear-gradient(135deg,#9ca3af 50%,#0000 50%) calc(100% - 16px) 18px/6px 6px no-repeat,#f8fafc;min-height:42px;padding:0 40px 0 14px}.settings-renderer-text-input,.settings-renderer-number input{min-height:42px;padding:0 14px}.settings-renderer-textarea{resize:vertical;min-height:92px;padding:13px 14px}.settings-renderer-select select:focus,.settings-renderer-text-input:focus,.settings-renderer-textarea:focus,.settings-renderer-number input:focus{outline:3px solid #6366f12e}.settings-renderer-toggle{color:#374151;text-align:left;background:#f8fafc;border:0;border-radius:16px;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:54px;padding:9px 10px 9px 14px;display:flex}.settings-renderer-toggle strong,.settings-renderer-toggle small{display:block}.settings-renderer-toggle strong{font-size:14px;font-weight:700}.settings-renderer-toggle small{color:#6b7280;margin-top:3px;font-size:12px;font-weight:500}.settings-renderer-toggle-control{background:#d1d5db;border-radius:999px;flex:none;width:42px;height:26px;transition:background-color .16s;position:relative}.settings-renderer-toggle-control:after{content:"";background:#fff;border-radius:999px;width:20px;height:20px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 2px 6px #1118272e}.settings-renderer-toggle--active .settings-renderer-toggle-control{background:#4f46e5}.settings-renderer-toggle--active .settings-renderer-toggle-control:after{transform:translate(16px)}.settings-renderer-slider{accent-color:#4f46e5;width:100%}.settings-renderer-number{align-items:center;gap:8px;display:flex}.settings-renderer-number span{color:#6b7280;font-size:13px;font-weight:700}.settings-renderer-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.settings-renderer-reference{aspect-ratio:1;color:#4b5563;text-align:center;background:#f8fafc;border:2px dashed #d1d5db;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:0;transition:border-color .16s,background-color .16s,box-shadow .16s,color .16s,transform .16s;display:flex;position:relative;overflow:hidden}.settings-renderer-reference:hover:not(:disabled){color:#6d28d9;background:#f5f3ff;border-color:#7c3aed;transform:translateY(-1px);box-shadow:0 14px 30px #7c3aed24}.settings-renderer-reference:focus-visible{outline-offset:3px;outline:3px solid #7c3aed38}.settings-renderer-reference img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.settings-renderer-reference--filled:after{content:"";background:linear-gradient(#1118271a,#11182757);transition:background .16s;position:absolute;inset:0}.settings-renderer-reference--filled:hover:not(:disabled):after{background:linear-gradient(#6d28d92e,#4c1d956b)}.settings-renderer-reference-video,.settings-renderer-reference-audio{color:#fff;place-items:center;display:grid;position:absolute;inset:0}.settings-renderer-reference-video{background:linear-gradient(135deg,#14b8a6b8,#0000 46%),linear-gradient(225deg,#6366f1b8,#0000 50%),#111827}.settings-renderer-reference-audio{background:linear-gradient(135deg,#f43f5ebd,#0000 46%),linear-gradient(225deg,#0ea5e9b8,#0000 50%),#111827}.settings-renderer-reference-video>span,.settings-renderer-reference-audio>span{color:#ffffffd1;letter-spacing:0;font-size:11px;font-weight:800;position:absolute;bottom:8px;right:10px}.settings-renderer-reference-video svg,.settings-renderer-reference-audio svg{stroke-width:2.2px;width:28px;height:28px}.settings-renderer-reference-plus,.settings-renderer-reference-label{z-index:1;position:relative}.settings-renderer-reference-plus{color:#6b7280;background:#ffffffdb;border-radius:999px;place-items:center;width:34px;height:34px;transition:color .16s,background-color .16s,transform .16s,box-shadow .16s;display:grid}.settings-renderer-reference:hover:not(:disabled) .settings-renderer-reference-plus{color:#6d28d9;background:#fff;transform:scale(1.04);box-shadow:0 10px 24px #7c3aed2e}.settings-renderer-reference-label{color:inherit;font-size:13px;font-weight:700;line-height:1.2}.settings-renderer-reference--filled .settings-renderer-reference-label{color:#fff;text-shadow:0 7px 18px #11182759}.model-catalog-backdrop{z-index:1500;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);scrollbar-gutter:stable;animation:ui-fade-in var(--motion-duration-base) var(--motion-ease-standard) both;background:#0f172a4d;justify-content:center;align-items:center;padding:36px 32px;display:flex;position:fixed;inset:0}.model-catalog-modal,.model-catalog-modal *{box-sizing:border-box}.model-catalog-modal{width:calc(100vw - 64px);max-width:1040px;height:min(820px,100vh - 72px);max-height:calc(100vh - 72px);animation:ui-surface-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:radial-gradient(circle at 14% 0,#6366f11f,#0000 34%),radial-gradient(circle at 88% 10%,#3b82f614,#0000 30%),linear-gradient(135deg,#fffffffa,#f5f8fff7);border:1px solid #ffffffbf;border-radius:28px;flex-direction:column;padding:32px 44px 24px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 64px #0f172a2e,inset 0 1px #fffc}.model-catalog-modal:before,.model-catalog-modal:after{content:"";pointer-events:none;z-index:0;position:absolute}.model-catalog-modal:before{background:radial-gradient(circle at 12% 8%,#7c3aed1a,#0000 28%),radial-gradient(circle at 82% 0,#3b82f61a,#0000 30%),linear-gradient(#ffffff57,#0000 42%);inset:0}.model-catalog-modal:after{display:none}.model-catalog-modal>*{z-index:1;position:relative}.model-catalog-close{z-index:2;color:#64748b;cursor:pointer;background:#ffffffbf;border:1px solid #e2e8f0e6;border-radius:14px;place-items:center;width:42px;height:42px;transition:background-color .16s,box-shadow .16s,color .16s,transform .16s;display:grid;position:absolute;top:22px;right:22px;box-shadow:0 8px 20px #0f172a14}.model-catalog-close:hover{color:#0f172a;background:#fffffff2;transform:translateY(-1px);box-shadow:0 12px 26px #0f172a1f}.model-catalog-close:focus-visible{outline:0;box-shadow:0 0 0 4px #7c3aed1f,0 12px 26px #0f172a1f}.model-catalog-close:active{transform:translateY(0)}.model-catalog-header{text-align:center;flex:none;padding:0 56px 22px}.model-catalog-header h2{color:#0f172a;letter-spacing:-.03em;margin:0;font-size:34px;font-weight:750;line-height:1.15}.model-catalog-header p{color:#64748b;max-width:560px;margin:8px auto 0;font-size:15px;font-weight:500;line-height:1.45}.model-catalog-tabs{background:#ffffffb8;border:1px solid #cbd5e1cc;border-radius:18px;flex:none;gap:4px;width:100%;height:54px;margin:0;padding:4px;display:grid;overflow:hidden;box-shadow:inset 0 1px 2px #0f172a0a}.model-catalog-tab{color:#64748b;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:0;font-size:15px;font-weight:600;line-height:1.15;transition:background-color .16s,box-shadow .16s,color .16s,transform .16s;display:inline-flex}.model-catalog-tab:hover{color:#334155;background:#f8fafcd1}.model-catalog-tab--active{color:#fff;background:linear-gradient(135deg,#5b5cf6 0%,#8b3ff4 100%);box-shadow:0 10px 24px #6366f147,inset 0 1px #ffffff59}.model-catalog-tab--active:hover{color:#fff;background:linear-gradient(135deg,#5b5cf6 0%,#8b3ff4 100%)}.model-catalog-tab:focus-visible{outline:0;box-shadow:0 0 0 4px #7c3aed1f}.model-catalog-tab--active:focus-visible{box-shadow:0 0 0 4px #7c3aed1f,0 10px 24px #6366f147,inset 0 1px #ffffff59}.model-catalog-tab:active{transform:translateY(1px)}.model-catalog-tools{flex:none;align-items:center;gap:16px;margin:24px 0;display:flex}.model-catalog-search{color:#94a3b8;background:#ffffffb8;border:1px solid #cbd5e1d9;border-radius:16px;flex:auto;align-items:center;gap:10px;min-width:0;height:44px;padding:0 14px;transition:border-color .16s,box-shadow .16s,background-color .16s;display:flex;box-shadow:inset 0 1px 2px #0f172a08}.model-catalog-search:focus-within{background:#ffffffe6;border-color:#7c3aed73;box-shadow:0 0 0 4px #7c3aed14,inset 0 1px 2px #0f172a08}.model-catalog-search input{color:#0f172a;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:14px;font-weight:500;line-height:1.2}.model-catalog-search input::placeholder{color:#94a3b8}.model-catalog-sort{color:#334155;white-space:nowrap;cursor:pointer;background:#ffffffbd;border:1px solid #cbd5e1d9;border-radius:16px;flex:none;justify-content:center;align-items:center;gap:9px;height:44px;padding:0 16px;font-size:13px;font-weight:650;line-height:1.15;transition:border-color .16s,box-shadow .16s,color .16s,background-color .16s,transform .16s;display:inline-flex;box-shadow:inset 0 1px 2px #0f172a08}.model-catalog-sort:hover{color:#0f172a;background:#ffffffeb;border-color:#94a3b8e6;box-shadow:0 8px 22px #0f172a0f,inset 0 1px 2px #0f172a08}.model-catalog-sort:focus-visible{border-color:#7c3aed73;outline:0;box-shadow:0 0 0 4px #7c3aed14,inset 0 1px 2px #0f172a08}.model-catalog-sort:active{transform:translateY(1px)}.model-catalog-content{scrollbar-color:#94a3b880 transparent;scrollbar-gutter:stable;scrollbar-width:thin;border-radius:22px;flex:auto;align-content:start;gap:18px;min-height:0;padding:0;display:grid;overflow:hidden auto}.model-catalog-content::-webkit-scrollbar{width:8px}.model-catalog-content::-webkit-scrollbar-thumb{background:#94a3b86b;border-radius:999px}.model-catalog-content::-webkit-scrollbar-track{background:0 0}.model-catalog-card{color:#0f172a;background:#ffffffe0;border:1px solid #e2e8f0f2;border-radius:18px;grid-template-rows:auto 1fr;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;min-height:132px;padding:18px 16px;transition:background .18s,transform .18s,box-shadow .18s,border-color .18s;display:grid;position:relative;overflow:hidden;box-shadow:0 8px 18px #0f172a0b,inset 0 1px #ffffffb8}.model-catalog-card:hover{background:#fbfaff;border-color:#e2e8f0f2;transform:translateY(-2px);box-shadow:0 12px 26px #0f172a12,inset 0 0 0 2px #7c3aed,inset 0 1px #ffffffc7}.model-catalog-card--featured{background:radial-gradient(circle at 8% 30%,#7c3aed1f,#0000 32%),radial-gradient(circle at 72% 12%,#3b82f61a,#0000 34%),linear-gradient(135deg,#fffffff5,#f8fafff0);border:1px solid #e2e8f0e6;border-radius:22px;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr) auto;align-content:start;align-items:start;gap:0 28px;min-height:184px;padding:28px 32px;position:relative;box-shadow:0 12px 32px #0f172a11,inset 0 1px #ffffffc2}.model-catalog-card--featured:hover{background:radial-gradient(circle at 8% 30%,#7c3aed1f,#0000 32%),radial-gradient(circle at 72% 12%,#3b82f61a,#0000 34%),linear-gradient(135deg,#fffffff5,#f8fafff0);border-color:#e2e8f0e6;transform:none;box-shadow:0 12px 32px #0f172a13,inset 0 0 0 2px #7c3aed,inset 0 1px #ffffffc2}.model-catalog-logo{color:#fff;border-radius:15px;place-items:center;width:56px;height:56px;transition:box-shadow .18s,transform .18s;display:grid;overflow:hidden;box-shadow:0 10px 22px #0f172a1f}.model-catalog-card:hover .model-catalog-logo{transform:translateY(-1px);box-shadow:0 10px 20px #0f172a1f}.model-catalog-card--featured .model-catalog-logo{border-radius:24px;grid-row:1/3;align-self:start;width:104px;height:104px;box-shadow:0 12px 26px #0f172a1f,inset 0 1px #ffffff80}.model-catalog-card--featured .model-catalog-card-body{grid-column:2/4}.model-catalog-logo--blue{background:linear-gradient(135deg,#3b82f6 0%,#60a5fa 100%)}.model-catalog-logo--cyan{background:linear-gradient(135deg,#0ea5e9 0%,#22d3ee 100%)}.model-catalog-logo--green{background:linear-gradient(135deg,#34d399 0%,#86efac 100%)}.model-catalog-logo--indigo{background:linear-gradient(135deg,#6366f1 0%,#a78bfa 100%)}.model-catalog-logo--orange{background:linear-gradient(135deg,#f97316 0%,#fdba74 100%)}.model-catalog-logo--purple{background:linear-gradient(135deg,#8b5cf6 0%,#c084fc 100%)}.model-catalog-logo--slate{background:linear-gradient(135deg,#1f2937 0%,#64748b 100%)}.model-catalog-logo--image{background:#fff;border:1px solid #e2e8f0eb}.model-catalog-logo-image{object-fit:cover;width:100%;height:100%;display:block}.model-catalog-card-body{min-width:0}.model-catalog-card-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.model-catalog-card h3{color:#0f172a;letter-spacing:0;margin:0;font-size:17px;font-weight:700;line-height:1.2}.model-catalog-card--featured h3{letter-spacing:-.02em;font-size:24px;font-weight:750}.model-catalog-card p{color:#64748b;max-width:560px;margin:8px 0 0;font-size:13px;font-weight:500;line-height:1.45}.model-catalog-card:not(.model-catalog-card--featured) p{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.model-catalog-card--featured p{color:#64748b;max-width:520px;font-size:14px;display:block}.model-catalog-card-footer{grid-column:1/-1;justify-content:space-between;align-self:end;align-items:flex-end;gap:14px;margin-top:14px;display:flex}.model-catalog-card--featured .model-catalog-card-footer{grid-area:2/2/auto/4;align-self:start;margin-top:8px}.model-catalog-card--featured .model-catalog-badges span{font-size:12px}@media (width>=641px){.model-catalog-modal .model-catalog-card.model-catalog-card--featured{padding-left:160px;display:block}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-logo{grid-row:auto;position:absolute;top:28px;left:32px}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-card-body,.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-card-footer{grid-area:auto}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-card-footer{align-self:auto;margin-top:8px}}.model-catalog-recommended{color:#6d28d9;background:#ede9fee6;border-radius:999px;align-items:center;gap:4px;min-height:24px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.model-catalog-badges{flex-wrap:nowrap;gap:8px;min-width:0;display:flex}.model-catalog-card:not(.model-catalog-card--featured) .model-catalog-badges{flex-wrap:wrap;gap:6px}.model-catalog-chip{color:#4f46e5;white-space:nowrap;background:#6366f11a;border-radius:999px;align-items:center;height:24px;padding:0 10px;font-size:12px;font-weight:650;display:inline-flex}.model-catalog-chip--cost{color:#7c3aed;background:#7c3aed1c}.model-catalog-chip--quality{color:#047857;background:#10b98124}.model-catalog-card-action{flex:none;justify-content:flex-end;align-items:center;display:flex}.model-catalog-select{color:#0f172a;cursor:pointer;background:#ffffffe0;border:1px solid #cbd5e1e6;border-radius:14px;justify-content:center;align-items:center;gap:6px;min-width:98px;height:38px;min-height:0;padding:0 18px;font-size:13px;font-weight:700;line-height:1;transition:background-color .18s,border-color .18s,box-shadow .18s,color .18s,transform .18s;display:inline-flex;box-shadow:0 6px 14px #0f172a0d}.model-catalog-select:hover{color:#fff;background:linear-gradient(135deg,#5b5cf6,#8b3ff4);border-color:#0000;transform:translateY(-1px);box-shadow:0 12px 28px #6366f14d}.model-catalog-select:focus-visible{border-color:#7c3aed73;outline:0;box-shadow:0 0 0 4px #7c3aed1a,0 10px 20px #0f172a14}.model-catalog-select:active:not(:disabled){transform:translateY(0)}.model-catalog-card--featured .model-catalog-select{background:#ffffffe0;border-color:#cbd5e1eb;border-radius:18px;min-width:136px;height:48px;padding:0 24px;font-size:14px;box-shadow:0 12px 28px #0f172a14,inset 0 1px #ffffffb8}.model-catalog-card--featured .model-catalog-select:hover{color:#fff;background:linear-gradient(135deg,#5b5cf6,#8b3ff4);border-color:#0000;transform:translateY(-1px);box-shadow:0 12px 28px #6366f14d}.model-catalog-select--selected,.model-catalog-select--selected:hover,.model-catalog-select--selected:disabled{color:#fff;opacity:1;cursor:default;background:linear-gradient(135deg,#5b5cf6,#8b3ff4);border-color:#0000;transform:none;box-shadow:0 12px 28px #6366f14d}.model-catalog-select--selected:focus-visible{box-shadow:0 0 0 4px #7c3aed1a,0 12px 28px #6366f14d}.model-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.model-catalog-empty{color:#64748b;background:#ffffff85;border:1px dashed #94a3b86b;border-radius:22px;place-items:center;min-height:168px;display:grid}.model-catalog-empty p{margin:0;font-size:15px;font-weight:600}.model-catalog-footer{color:#64748b;background:linear-gradient(90deg,#eff6ffd9,#f8fafcd9);border-radius:16px;flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:48px;margin:0 0 28px;padding:0 18px;font-size:13px;font-weight:500;display:flex}.model-catalog-footer-secure,.model-catalog-footer-suggest{align-items:center;gap:8px;min-width:0;display:inline-flex}.model-catalog-footer-secure svg{color:#64748b;flex:none}.model-catalog-footer-suggest{text-align:right;white-space:nowrap;justify-content:flex-end}.model-catalog-footer a{color:#5b5cf6;cursor:pointer;font-weight:700;text-decoration:none;transition:color .16s,opacity .16s}.model-catalog-footer a:hover{color:#4f46e5}.model-catalog-footer a:focus-visible{border-radius:8px;outline:0;box-shadow:0 0 0 4px #7c3aed1a}@media (width<=900px){.model-catalog-modal{width:min(720px,100vw - 64px)}.model-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.model-catalog-backdrop{align-items:flex-end;padding:8px}.model-catalog-modal{border-radius:22px;width:calc(100vw - 16px);height:auto;max-height:calc(100dvh - 16px);padding:24px 14px 16px}.model-catalog-close{width:40px;height:40px;top:14px;right:14px}.model-catalog-header{text-align:left;padding:8px 52px 18px 6px}.model-catalog-header h2{font-size:28px}.model-catalog-header p{margin-left:0}.model-catalog-tabs{border-radius:16px;gap:3px;width:100%;height:50px}.model-catalog-tab{border-radius:12px;gap:4px;min-height:42px;padding:0 4px;font-size:clamp(12px,3.6vw,13px)}.model-catalog-tab span{text-overflow:ellipsis;min-width:0;overflow:hidden}.model-catalog-tab svg{flex:none;width:16px;height:16px}.model-catalog-tools{margin:16px 0}.model-catalog-search{width:100%}.model-catalog-sort{display:none}.model-catalog-content{flex-direction:column;gap:12px;padding:0;display:flex}.model-catalog-card,.model-catalog-modal .model-catalog-card.model-catalog-card--featured{border-radius:18px;flex:none;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);gap:12px;min-height:0;padding:16px;display:grid}.model-catalog-modal .model-catalog-card.model-catalog-card--featured{border-radius:22px}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-logo{border-radius:18px;grid-row:auto;align-self:start;width:68px;height:68px;position:static;top:auto;left:auto}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-card-body{grid-column:auto}.model-catalog-modal .model-catalog-card.model-catalog-card--featured h3{letter-spacing:0;font-size:19px}.model-catalog-card p{font-size:13px}.model-catalog-card--featured p{-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:none;font-size:13px;display:-webkit-box;overflow:hidden}.model-catalog-card-footer{flex-direction:column;grid-column:1/-1;align-items:stretch}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-card-footer{grid-area:auto/1/auto/-1;align-self:stretch}.model-catalog-badges{flex-wrap:wrap}.model-catalog-card-action,.model-catalog-select{width:100%}.model-catalog-grid{flex:none;grid-template-columns:1fr}.model-catalog-footer{flex-direction:column;flex:none;align-items:flex-start;gap:8px;width:100%;min-height:0;margin-bottom:20px;padding:12px 14px;line-height:1.35}.model-catalog-footer-secure,.model-catalog-footer-suggest{text-align:left;white-space:normal;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;width:100%}}@media (width<=420px){.model-catalog-modal .model-catalog-card.model-catalog-card--featured{grid-template-columns:1fr}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-logo{width:64px;height:64px}.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-card-body,.model-catalog-modal .model-catalog-card.model-catalog-card--featured .model-catalog-card-footer{grid-column:1}}.prompt-card{z-index:4;background:#fff;border:1px solid #e5e7eb;border-radius:25px;width:min(1194px,100%);margin-top:-24px;padding:20px;position:relative;box-shadow:0 20px 60px #11182714,0 2px 6px #1118270a}.powered-badge{z-index:3;color:#fff;white-space:nowrap;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%);border-radius:999px;align-items:center;gap:6px;min-height:32px;padding:0 18px;font-size:14px;font-weight:600;display:inline-flex;position:absolute;top:-16px;left:50%;overflow:visible;transform:translate(-50%);box-shadow:0 14px 25px #6366f142}.powered-badge svg{width:16px;height:16px}.powered-badge-logo{object-fit:contain;transform-origin:50%;width:20px;height:20px;display:block;transform:scale(1.6)}.prompt-attachments{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.prompt-attachment{width:82px;height:82px;animation:ui-card-in var(--motion-duration-base) var(--motion-ease-emphasized) both;border-radius:16px;position:relative;overflow:visible}.prompt-attachment-preview{object-fit:cover;background:#e5e7eb;border-radius:16px;width:82px;height:82px;display:block;box-shadow:0 10px 24px #1118271f}.prompt-attachment-preview--video{color:#fff;letter-spacing:0;background:linear-gradient(135deg,#14b8a6b8,#0000 46%),linear-gradient(225deg,#6366f1b8,#0000 50%),#111827;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:800;display:flex}.prompt-attachment-preview--video svg{stroke-width:2.2px;width:24px;height:24px}.prompt-attachment-type{color:#111827;background:#ffffffeb;border-radius:4px;justify-content:center;align-items:center;width:18px;height:18px;display:flex;position:absolute;bottom:7px;left:7px;box-shadow:0 3px 9px #11182729}.prompt-attachment-type svg{stroke-width:2.35px;width:13px;height:13px;display:block;transform:translateY(-.25px)}.prompt-attachment-remove{color:#fff;opacity:0;background:#111827c2;border:1px solid #ffffffc7;border-radius:999px;place-items:center;width:23px;height:23px;padding:0;transition:opacity .16s,transform .16s,background .16s;display:grid;position:absolute;top:-6px;right:-6px;transform:scale(.92);box-shadow:0 7px 18px #11182733}.prompt-attachment-remove svg{stroke-width:2.35px;width:13px;height:13px;display:block}.prompt-attachment:hover .prompt-attachment-remove,.prompt-attachment:focus-within .prompt-attachment-remove{opacity:1;transform:scale(1)}.prompt-attachment-remove:hover{background:#111827e0}.prompt-input-shell{width:100%;transition:background-color var(--motion-duration-base) var(--motion-ease-standard), box-shadow var(--motion-duration-base) var(--motion-ease-standard);background:#f8fafc;border-radius:20px;overflow:hidden;box-shadow:0 0 #6366f100}.prompt-input-shell:focus-within{background:#fff;outline:0;box-shadow:0 0 0 3px #6366f129}.prompt-input{color:#374151;resize:none;scrollbar-gutter:stable;background:0 0;border:0;border-radius:20px;width:100%;height:74px;min-height:74px;max-height:143px;padding:10px 20px;font-size:16px;font-weight:400;line-height:1.35;display:block}.prompt-card--empty .prompt-input{height:143px;min-height:143px;max-height:143px}.prompt-input::placeholder{color:#9ca3af;font-size:16px;font-weight:400}.prompt-input:focus{outline:none}.prompt-input:disabled{color:#6b7280;cursor:wait}.prompt-input::-webkit-scrollbar{width:8px}.prompt-input::-webkit-scrollbar-track{background:#f8fafc;border-radius:999px}.prompt-input::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}.prompt-actions{justify-content:space-between;align-items:center;gap:20px;margin-top:20px;display:flex}.prompt-tools{align-items:center;gap:14px;display:flex;position:relative}.attach-button{color:#374151;background:#f3f4f6;border:0;border-radius:12px;justify-content:center;align-items:center;width:43px;height:43px;padding:0;line-height:0;display:inline-flex}.attach-button svg{stroke-width:2.45px;width:20px;height:20px;display:block;transform:translate(-.25px,-.2px)}.attach-button:hover{background:#eceff3}.attach-button--active{color:#fff;background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%)}.attach-button--active:hover{background:linear-gradient(135deg,#3165ff 0%,#7d2df4 100%)}.attach-button--blocked{color:#9ca3af;cursor:help;background:#f3f4f6}.attach-button--blocked:hover{color:#6d28d9;background:#f5f3ff}.attach-button:focus-visible{outline:3px solid #6366f12e}.generate-button{border-radius:12px;min-width:142px;min-height:43px;padding:0 20px;font-size:15px;font-weight:600}.generate-button:active:not(:disabled){transform:translateY(0)scale(.985)}.generate-button:disabled{opacity:.45}.style-select{background:#f3f4f6;border-radius:12px;min-width:192px;min-height:43px;display:inline-flex;position:relative}.style-select select{appearance:none;color:#374151;background:linear-gradient(45deg,#0000 50%,#9ca3af 50%) calc(100% - 21px) 19px/6px 6px no-repeat,linear-gradient(135deg,#9ca3af 50%,#0000 50%) calc(100% - 16px) 19px/6px 6px no-repeat,#f3f4f6;border:0;border-radius:12px;width:100%;padding:0 43px 0 14px;font-size:15px;font-weight:500;line-height:1.35}.style-select select:focus{outline:3px solid #6366f12e}.style-select-button{color:#374151;text-align:left;background:#f3f4f6;border:0;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:43px;padding:0 14px;font-size:15px;font-weight:500;line-height:1.35;display:inline-flex}.style-select-button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.style-select-button svg{color:#9ca3af;flex:none}.style-select-button:focus-visible{outline:3px solid #6366f12e}.generation-settings{z-index:20;position:relative}.settings-button{color:#374151;background:#f3f4f6;border:0;border-radius:12px;place-items:center;width:43px;height:43px;display:grid}.settings-button:hover{background:#eceff3}.settings-button:focus-visible{outline:3px solid #6366f12e}.settings-popover{z-index:30;background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:238px;padding:12px;position:absolute;bottom:calc(100% + 12px);left:0;box-shadow:0 18px 45px #11182729}.settings-popover--adaptive{width:min(360px,100vw - 36px);max-height:min(560px,100vh - 220px);overflow-y:auto}.settings-pricing-quote{color:#6b7280;border-top:1px solid #edf0f4;margin:12px 0 0;padding-top:10px;font-size:12px;font-weight:700;line-height:1.35}.settings-pricing-quote--muted{color:#9ca3af}.generation-status{border-radius:10px;align-items:center;gap:7px;margin-top:15px;padding:9px 12px;font-size:13px;font-weight:500;display:inline-flex}.generation-status--loading{color:#4338ca;background:#eef2ff}.generation-status--error{color:#b42318;background:#fef3f2}.generation-spinner{animation:.9s linear infinite generation-spin}@media (width<=720px){.prompt-card{border-radius:20px;margin-top:-16px;padding:16px}.prompt-attachment,.prompt-attachment-preview{border-radius:14px;width:76px;height:76px}.prompt-input-shell{border-radius:16px}.prompt-input{border-radius:16px;height:70px;min-height:70px;max-height:150px;padding:10px 18px;font-size:16px}.prompt-card--empty .prompt-input{height:150px;min-height:150px;max-height:150px}.prompt-input::placeholder{font-size:16px}.prompt-actions,.prompt-tools{width:100%}.prompt-actions{grid-template-columns:minmax(0,1fr) 43px;align-items:center;gap:10px;display:grid;position:relative}.prompt-tools{grid-template-columns:43px minmax(0,1fr) 43px;align-items:center;gap:8px;display:grid;position:static}.attach-button{width:43px}.style-select{width:100%;min-width:0}.style-select select{text-overflow:ellipsis;min-width:0;padding:0 32px 0 12px;overflow:hidden}.style-select-button{min-width:0;padding:0 12px}.generate-button{gap:0;width:43px;min-width:43px;padding:0;position:relative}.settings-button{width:43px}.generation-settings{position:static}.generate-button>span:not(.button-icon){clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.settings-popover{width:min(360px,100vw - 32px);left:50%;right:auto;transform:translate(-50%)}.powered-badge{font-size:14px}}.workspace-state-shell{border-top:1px solid #e5e7eb;justify-content:center;align-items:center;height:calc(100vh - 78px);padding:32px;display:flex}.workspace-state{text-align:center;background:#ffffffeb;border:1px solid #e5e7eb;border-radius:24px;width:min(520px,100%);padding:36px;box-shadow:0 24px 70px #1118271f}.workspace-state__icon{color:#fff;background:linear-gradient(135deg,#3569ff 0%,#7d2df2 100%);border-radius:18px;justify-content:center;align-items:center;width:58px;height:58px;margin-bottom:18px;display:inline-flex;box-shadow:0 18px 42px #6366f147}.workspace-state--loading .workspace-state__icon svg{animation:1s linear infinite workspace-state-spin}.workspace-state--error .workspace-state__icon{background:linear-gradient(135deg,#ef4444 0%,#f97316 100%);box-shadow:0 18px 42px #ef444438}.workspace-state__title{color:#111827;margin:0;font-size:24px;font-weight:700;line-height:1.2}.workspace-state__description{color:#4b5563;max-width:380px;margin:12px auto 0;font-size:16px;font-weight:400;line-height:1.5}.workspace-state__button{color:#fff;background:linear-gradient(135deg,#3569ff 0%,#7d2df2 100%);border:0;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-height:44px;margin-top:24px;padding:0 18px;font-size:15px;font-weight:600;display:inline-flex;box-shadow:0 16px 36px #6366f13d}@keyframes workspace-state-spin{to{transform:rotate(360deg)}}.onboarding-hint-shell{--onboarding-board-sidebar-width:245px;--onboarding-board-sidebar-gutter:16px;z-index:1600;right:auto;bottom:calc(24px + env(safe-area-inset-bottom));left:var(--onboarding-board-sidebar-gutter);width:min(calc(var(--onboarding-board-sidebar-width) - var(--onboarding-board-sidebar-gutter) - var(--onboarding-board-sidebar-gutter)), calc(100vw - var(--onboarding-board-sidebar-gutter) - var(--onboarding-board-sidebar-gutter)));pointer-events:none;position:fixed}.onboarding-hint-shell--modal{bottom:calc(32px + env(safe-area-inset-bottom))}.onboarding-hint-banner{color:#fff;pointer-events:auto;animation:ui-rise-in var(--motion-duration-slow) var(--motion-ease-emphasized) both;background:linear-gradient(135deg,#3165ff 0%,#5a4bf2 52%,#7d2df4 100%);border:1px solid #ffffff38;border-radius:18px;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px;display:grid;position:relative;box-shadow:0 18px 38px #4f46e53d,inset 0 1px #ffffff38}.onboarding-hint-icon{color:#fff;background:#ffffff24;border:1px solid #ffffff2e;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid;box-shadow:inset 0 1px #ffffff29}.onboarding-hint-content{gap:6px;min-width:0;display:grid}.onboarding-hint-content strong{color:#fff;font-size:16px;font-weight:740;line-height:1.18}.onboarding-hint-content p{color:#ffffffe0;margin:0;font-size:13px;font-weight:540;line-height:1.42}.onboarding-hint-button{z-index:1;color:#315eea;background:#fff;border:0;border-radius:11px;grid-column:2;justify-self:start;min-height:36px;padding:0 16px;font-size:13px;font-weight:740;line-height:1;transition:background .16s,box-shadow .16s,transform .16s;position:relative;box-shadow:0 10px 22px #151f471f}.onboarding-hint-button:hover{background:#f8fafc;transform:translateY(-1px);box-shadow:0 10px 22px #0f172a24}.onboarding-hint-button:focus-visible{outline-offset:3px;outline:3px solid #ffffff6b}html[data-onboarding-target] [data-onboarding-target]{scroll-margin:120px;transition:box-shadow .22s,outline-color .22s}html[data-onboarding-target=generation-settings] [data-onboarding-target=generation-settings],html[data-onboarding-target=image-actions] [data-onboarding-target=image-actions],html[data-onboarding-target=image-card] [data-onboarding-target=image-card],html[data-onboarding-target=image-editor-models] [data-onboarding-target=image-editor-models],html[data-onboarding-target=image-tools] [data-onboarding-target=image-tools],html[data-onboarding-target=image-version-history] [data-onboarding-target=image-version-history],html[data-onboarding-target=model-picker] [data-onboarding-target=model-picker],html[data-onboarding-target=prompt-composer] [data-onboarding-target=prompt-composer],html[data-onboarding-target=reference-inputs] [data-onboarding-target=reference-inputs],html[data-onboarding-target=standalone-tools-nav] [data-onboarding-target=standalone-tools-nav],html[data-onboarding-target=video-text-card] [data-onboarding-target=video-text-card]{outline-offset:2px;border-radius:16px;outline:2px solid #7c3aed94;box-shadow:0 0 0 5px #7c3aed14,0 10px 24px #6366f124}html[data-onboarding-target=prompt-composer] [data-onboarding-target=prompt-composer]{border-radius:28px}html[data-onboarding-target=image-card] [data-onboarding-target=image-card]{z-index:2;outline-offset:0;border-radius:25px;outline:0;box-shadow:0 18px 42px #6366f138,0 14px 34px #11182714}html[data-onboarding-target=image-card] [data-onboarding-target=image-card]:after{z-index:5;border-radius:inherit;content:"";pointer-events:none;border:4px solid #7c3aedc7;position:absolute;inset:0;box-shadow:inset 0 0 0 6px #7c3aed1f,inset 0 0 24px #7c3aed29}html[data-onboarding-target=video-text-card] [data-onboarding-target=video-text-card]{outline-offset:0;border-radius:25px;outline:0;box-shadow:inset 0 0 0 4px #7c3aedb8,inset 0 0 0 10px #7c3aed1f,0 14px 32px #6366f129}html[data-onboarding-target=standalone-tools-nav] [data-onboarding-target=standalone-tools-nav]{outline-offset:2px;background:0 0;border-radius:999px;margin:-7px -10px;padding:7px 10px;box-shadow:0 0 0 6px #7c3aed1a,0 10px 24px #6366f124}@media (width<=760px){.onboarding-hint-shell{right:12px;bottom:calc(14px + env(safe-area-inset-bottom));width:auto;left:12px}.onboarding-hint-shell--modal{bottom:calc(88px + env(safe-area-inset-bottom))}.onboarding-hint-banner{border-radius:14px;grid-template-columns:auto minmax(0,1fr);max-height:38vh;padding:14px}.onboarding-hint-content strong{font-size:15px}.onboarding-hint-content p{font-size:12.5px}.onboarding-hint-button{min-height:36px}}
