.th-overview-list{display:flex;flex-direction:column;gap:var(--th-space-2)}.th-overview-card{display:flex;flex-direction:column;gap:var(--th-space-1);background:var(--th-surface);border:1px solid var(--th-border-surface);border-radius:var(--th-radius-sm);transition:background var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease)}.th-overview-card:hover,.th-overview-card--focused{background:var(--th-hover);border-color:var(--th-border-strong)}.th-overview-card-open{display:flex;flex-direction:column;gap:var(--th-space-1);width:100%;padding:var(--th-space-2) var(--th-space-3);text-align:left;color:inherit;background:transparent;border:0}.th-overview-card-open:focus-visible{outline:none;box-shadow:0 0 0 3px var(--th-ring)}.th-overview-card-state{display:flex;align-items:center;justify-content:space-between;gap:var(--th-space-2);padding:0 var(--th-space-3) var(--th-space-2);color:var(--th-muted);font-size:var(--th-type-label-size)}.th-overview-card-head{display:flex;align-items:center;gap:var(--th-space-2)}.th-overview-card-name{flex:1;min-width:0;font-size:var(--th-type-secondary-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-overview-card-running{display:inline-flex;flex:none;align-items:center;gap:var(--th-space-0-5);min-height:calc(var(--th-type-micro-size) * var(--th-type-micro-line) + 2px);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);color:var(--th-success);border:1px solid var(--th-success);border-radius:var(--th-radius-pill);padding:0 var(--th-space-1);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-overview-card-running-dot{width:5px;height:5px;border-radius:50%;background:var(--th-success);animation:th-overview-running-blink calc(var(--th-dur-slow) * 4) var(--th-ease) infinite alternate}@keyframes th-overview-running-blink{0%{opacity:1}to{opacity:.35}}.th-overview-card-line{font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-sidebar-live{flex:none;display:flex;flex-direction:column;gap:var(--th-space-1);max-height:min(30vh,216px);overflow-y:auto;overflow-x:hidden;padding:var(--th-space-2);border-bottom:1px solid var(--th-border)}.th-sidebar-live-label{display:flex;align-items:center;gap:var(--th-space-1);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;color:var(--th-faint);white-space:nowrap}.th-sidebar-live-count{margin-left:auto;color:var(--th-muted)}.th-sidebar-live-list{display:flex;flex-direction:column;gap:var(--th-space-1);min-height:0}.th-sidebar-live-list .th-overview-card{min-height:calc(2px + var(--th-space-2) + var(--th-space-2) + var(--th-type-micro-size) * var(--th-type-micro-line) + var(--th-space-1))}.th-sidebar-live-list .th-overview-card-head{min-height:calc(var(--th-type-micro-size) * var(--th-type-micro-line) + 2px)}.th-sidebar-live-list .th-overview-card-open{padding:var(--th-space-2)}.th-sidebar-live-list .th-overview-card-name{font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@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{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.47"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.th-chat-markdown .katex{color:inherit;font-size:var(--th-type-body-size)}.th-chat-markdown .katex-display{margin:0 0 var(--th-space-3)}.th-chat-markdown .katex-error{color:var(--th-error)!important}.th-home-live{display:flex;flex-direction:column;gap:var(--th-space-2);width:100%;max-width:420px;max-height:min(38vh,320px);overflow-y:auto;overflow-x:hidden}.th-home-live-label{display:flex;align-items:center;gap:var(--th-space-1);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;color:var(--th-faint);white-space:nowrap}.th-home-live-count{margin-left:auto;color:var(--th-muted)}.th-home-live-list{display:flex;flex-direction:column;gap:var(--th-space-1);min-height:0}.th-home-live-list .th-overview-card-open{padding:var(--th-space-1) var(--th-space-2)}.th-home-live-list .th-overview-card-name{font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-home-live-list .th-overview-card-line{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root{--th-bg: #181818;--th-surface: #282828;--th-surface-composer: #2a2a2a;--th-surface-raised: #2d2d2d;--th-surface-user: #343434;--th-surface-overlay: #2d2d2d;--th-tool-surface: #282828;--th-tool-border: rgba(255, 255, 255, .084);--th-hover: #3d3d3d;--th-active: #454545;--th-border-surface: rgba(255, 255, 255, .084);--th-border-raised: rgba(255, 255, 255, .084);--th-border-user: rgba(255, 255, 255, .156);--th-border-overlay: rgba(255, 255, 255, .156);--th-border: var(--th-border-surface);--th-border-strong: var(--th-border-overlay);--th-text: #dfdfdf;--th-text-dim: #c9c9c9;--th-muted: #bcbcbc;--th-faint: #b3b3b3;--th-disabled-fg: #b3b3b3;--th-disabled-bg: #282828;--th-accent: #ffffff;--th-accent-fg: #0a0a0a;--th-accent-hover: #e2e2e2;--th-send: #dfdfdf;--th-send-hover: #cbcbcb;--th-send-fg: #181818;--th-error: #f98085;--th-error-fg: #0a0a0a;--th-error-bg: rgba(249, 128, 133, .12);--th-success: #3fc084;--th-success-bg: rgba(63, 192, 132, .12);--th-warning: #f5a623;--th-warning-bg: rgba(245, 166, 35, .12);--th-ring: rgba(255, 255, 255, .35);--th-glow: rgba(255, 255, 255, .06);--th-shadow-color: #000000;--th-shadow-surface: 0 3px 7.5px color-mix(in srgb, var(--th-shadow-color) 4%, transparent), 0 0 20px color-mix(in srgb, var(--th-shadow-color) 5%, transparent);--th-shadow-raised: none;--th-shadow-overlay: none;--th-shadow-sm: var(--th-shadow-surface);--th-shadow: var(--th-shadow-raised);--th-shadow-lg: var(--th-shadow-overlay);--th-backdrop: rgba(24, 24, 24, .6);--th-radius-sm: 6px;--th-radius: 8px;--th-radius-lg: 12px;--th-radius-pill: 999px;--th-font-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;--th-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;--th-font-size: 14px;--th-type-display-size: calc(var(--th-font-size) * 1.7143);--th-type-display-line: 1.15;--th-type-display-tracking: -.025em;--th-type-title-size: calc(var(--th-font-size) * 1.2857);--th-type-title-line: 1.25;--th-type-title-tracking: -.018em;--th-type-input-size: calc(var(--th-font-size) * 1.1429);--th-type-input-line: 1.4;--th-type-input-tracking: -.008em;--th-type-body-size: var(--th-font-size);--th-type-body-line: 1.6;--th-type-body-tracking: -.005em;--th-type-secondary-size: calc(var(--th-font-size) * .9286);--th-type-secondary-line: 1.45;--th-type-secondary-tracking: 0;--th-type-label-size: calc(var(--th-font-size) * .8571);--th-type-label-line: 1.35;--th-type-label-tracking: .01em;--th-type-micro-size: calc(var(--th-font-size) * .7857);--th-type-micro-line: 1.3;--th-type-micro-tracking: .02em;--th-weight-read: 400;--th-weight-emphasize: 510;--th-weight-announce: 590;--th-space-0: 0;--th-space-0-5: 2px;--th-space-1: 4px;--th-space-2: 8px;--th-space-3: 12px;--th-space-4: 16px;--th-space-5: 20px;--th-space-6: 24px;--th-space-8: 32px;--th-space-9: 36px;--th-space-11: 44px;--th-space-12: 48px;--th-sidebar-w: 264px;--th-header-h: 44px;--th-node-h: 34px;--th-ease: cubic-bezier(.4, 0, .2, 1);--th-dur-fast: .12s;--th-dur: .18s;--th-dur-slow: .18s;color-scheme:dark}[data-theme=light]{--th-bg: #ffffff;--th-surface: #ffffff;--th-surface-composer: #ffffff;--th-surface-raised: #ffffff;--th-surface-user: #ffffff;--th-surface-overlay: #ffffff;--th-tool-surface: #f5f6f7;--th-tool-border: rgba(26, 28, 31, .078);--th-hover: #f2f3f3;--th-active: #ededed;--th-border-surface: rgba(26, 28, 31, .078);--th-border-raised: rgba(26, 28, 31, .078);--th-border-user: rgba(26, 28, 31, .117);--th-border-overlay: rgba(26, 28, 31, .117);--th-border: var(--th-border-surface);--th-border-strong: var(--th-border-overlay);--th-text: #1a1c1f;--th-text-dim: #5d5f62;--th-muted: #66676b;--th-faint: #6a6a6a;--th-disabled-fg: #6a6a6a;--th-disabled-bg: #f2f3f3;--th-accent: #1b1a19;--th-accent-fg: #ffffff;--th-accent-hover: #35322f;--th-send: #1a1c1f;--th-send-hover: #313335;--th-send-fg: #ffffff;--th-error: #b3252e;--th-error-fg: #ffffff;--th-error-bg: rgba(179, 37, 46, .12);--th-success: #146c43;--th-success-bg: rgba(20, 108, 67, .12);--th-warning: #8a5200;--th-warning-bg: rgba(138, 82, 0, .12);--th-ring: rgba(0, 0, 0, .5);--th-glow: rgba(0, 0, 0, .05);--th-shadow-color: #000000;--th-shadow-surface: 0 3px 7.5px color-mix(in srgb, var(--th-shadow-color) 4%, transparent), 0 0 20px color-mix(in srgb, var(--th-shadow-color) 5%, transparent);--th-shadow-raised: none;--th-shadow-overlay: 0 18px 48px -12px color-mix(in srgb, var(--th-shadow-color) 16%, transparent);--th-shadow-sm: var(--th-shadow-surface);--th-shadow: var(--th-shadow-raised);--th-shadow-lg: var(--th-shadow-overlay);--th-backdrop: rgba(0, 0, 0, .28);color-scheme:light}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;overflow:hidden;touch-action:pan-x pan-y}#root{position:fixed;top:0;left:0;width:100%;height:100dvh;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}html[data-th-standalone] #root,html[data-th-keyboard-open] #root{height:calc(var(--th-vh-unit, 1vh) * 100);transform:translate(var(--th-vv-left, 0px),var(--th-vv-top, 0px))}body{background:var(--th-bg);color:var(--th-text);font-family:var(--th-font-sans);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}input,select{font:inherit;color:var(--th-text)}a{color:inherit;text-decoration:none}ul,ol{list-style:none}::selection{background:var(--th-accent);color:var(--th-accent-fg)}:focus-visible{outline:2px solid var(--th-accent);outline-offset:1px}.th-app{display:flex;height:100%;width:100%;overflow:hidden}.th-main{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--th-bg)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.th-stage{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}.th-termhead{height:var(--th-header-h);flex:none;display:flex;align-items:center;gap:var(--th-space-2);padding:0 var(--th-space-3);border-bottom:1px solid var(--th-border-surface);background:var(--th-surface);box-shadow:var(--th-shadow-surface)}.th-termhead-name{font-family:var(--th-font-sans);font-size:var(--th-type-secondary-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-termhead-path{font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.th-termhead-actions{display:flex;align-items:center;gap:var(--th-space-1);margin-left:auto}.th-termhead .th-provider-badge{padding:0;border-radius:0;background:transparent;color:var(--th-muted);font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);text-transform:none}@media(max-width:768px){.th-termhead-path{display:none}}.th-empty{flex:1;min-width:0;min-height:0;overflow-y:auto;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:var(--th-space-3);color:var(--th-faint);padding:var(--th-space-6);text-align:center;position:relative}.th-empty-glyph{font-family:var(--th-font-mono);font-size:var(--th-type-title-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-title-line);letter-spacing:var(--th-type-title-tracking);color:var(--th-muted);border:1px dashed var(--th-border-strong);border-radius:var(--th-radius);padding:var(--th-space-3) var(--th-space-5);background:var(--th-surface)}.th-empty-title{font-size:var(--th-type-display-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-display-line);letter-spacing:var(--th-type-display-tracking);color:var(--th-text-dim)}.th-empty-hint{font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);color:var(--th-muted);max-width:340px;overflow-wrap:anywhere;word-break:keep-all}@media(max-width:768px),(pointer:coarse){.th-empty .th-btn{min-height:44px}}.th-empty:has(>.th-empty-menu){padding-top:calc(var(--th-space-6) + var(--th-space-11))}.th-empty .th-empty-menu{position:absolute;top:10px;left:10px;width:44px;height:44px}.th-toast{flex:none;display:flex;align-items:center;gap:var(--th-space-2);margin:var(--th-space-2) var(--th-space-3) 0;padding:var(--th-space-2) var(--th-space-4);border-radius:var(--th-radius);border:1px solid var(--th-border-raised);background:var(--th-surface-raised);color:var(--th-text);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);box-shadow:var(--th-shadow-raised);overflow-wrap:anywhere;word-break:keep-all;animation:th-toast-in var(--th-dur-slow) var(--th-ease)}.th-toast--success{border-color:var(--th-success);color:var(--th-success)}.th-toast--error{border-color:var(--th-error);color:var(--th-error)}@keyframes th-toast-in{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:translate(0)}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--th-border);border-radius:5px;border:2px solid var(--th-bg)}::-webkit-scrollbar-thumb:hover{background:var(--th-border-strong)}.th-empty>.th-picker-pane{flex:none;width:100%;min-width:0;overflow:visible}.th-empty>.th-home-live{flex:none}.th-files{position:absolute;top:0;right:0;bottom:0;z-index:20;display:flex;flex-direction:column;width:var(--th-files-width, 320px);max-width:100%;border-left:1px solid var(--th-border-raised);background:var(--th-surface-raised);box-shadow:var(--th-shadow-raised);transition:border-color var(--th-dur-fast) var(--th-ease)}.th-files--drag{border-color:var(--th-accent)}.th-files-resize{position:absolute;top:0;bottom:0;left:0;width:5px;margin-left:calc(-1 * var(--th-space-0-5));cursor:col-resize;touch-action:none;background:transparent;z-index:21;transition:background var(--th-dur-fast) var(--th-ease)}.th-files-resize:hover,.th-files-resize:focus-visible{background:var(--th-hover)}.th-files-resize:active{background:var(--th-active)}.th-files-resize:focus-visible{outline:none}@container chat-pane (max-width: 494px){.th-files{width:100%;border-left:0}.th-files-resize{display:none}}.th-files-head{flex:none;display:flex;align-items:center;gap:var(--th-space-2);height:var(--th-header-h);padding:0 0 0 var(--th-space-3);border-bottom:1px solid var(--th-border)}.th-files-head .th-btn-icon{width:44px;height:44px}.th-files-title{font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;color:var(--th-faint);flex:none}.th-files-path{flex:1;min-width:0;font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left}.th-files-drop{flex:none;display:flex;align-items:center;justify-content:center;gap:var(--th-space-2);margin:var(--th-space-2);padding:var(--th-space-3);border:1px dashed var(--th-border-strong);border-radius:var(--th-radius-sm);color:var(--th-muted);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);text-align:center;transition:border-color var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-files--drag .th-files-drop,.th-files-drop--busy{border-color:var(--th-accent);color:var(--th-text);background:var(--th-hover)}.th-files-choose{flex:none;min-height:44px;white-space:nowrap}.th-files-input{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.th-files-list{flex:1;min-height:0;overflow-y:auto;padding:var(--th-space-0-5) var(--th-space-1) var(--th-space-2)}.th-files-row{display:flex;align-items:center;gap:var(--th-space-2);padding:var(--th-space-1) var(--th-space-2);border-radius:4px;font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-text-dim);transition:background var(--th-dur-fast) var(--th-ease)}.th-files-row:hover{background:var(--th-hover)}.th-files-row>svg{flex:none;color:var(--th-muted)}.th-files-row--muted{color:var(--th-muted)}.th-files-chevron{flex:none;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:var(--th-faint);transition:transform var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}.th-files-chevron:hover{color:var(--th-text)}.th-files-chevron--open{transform:rotate(90deg)}.th-files-name--dir{text-align:left;color:var(--th-muted);cursor:pointer;transition:color var(--th-dur-fast) var(--th-ease)}.th-files-name--dir:hover{color:var(--th-text)}.th-files-childstatus{padding:var(--th-space-1) var(--th-space-2);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-faint)}.th-files-childstatus--error{color:var(--th-error)}.th-files-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-files-meta{flex:none;font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-muted);white-space:nowrap}.th-files-meta--dim{color:var(--th-faint)}.th-files-dl{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;color:var(--th-muted);opacity:0;transition:opacity var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-files-row:hover .th-files-dl{opacity:1}.th-files-dl:focus-visible{opacity:1}.th-files-dl:hover{color:var(--th-text);background:var(--th-active)}.th-files-status,.th-editor-status{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--th-space-2);padding:var(--th-space-5) var(--th-space-3);color:var(--th-muted);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);text-align:center}.th-files-name--link{text-align:left;color:var(--th-text);cursor:pointer;transition:color var(--th-dur-fast) var(--th-ease)}.th-files-name--link:hover{color:var(--th-accent);text-decoration:underline;text-underline-offset:2px}@container chat-pane (max-width: 494px){.th-files-row{min-height:44px;padding-block:0}.th-files-chevron,.th-files-dl{width:44px;height:44px}.th-files-name--dir,.th-files-name--link{min-height:44px;display:flex;align-items:center}.th-files-dl{opacity:1}}.th-editor{flex:1;min-height:0;display:flex;flex-direction:column}.th-editor-head{flex:none;display:flex;align-items:center;gap:var(--th-space-2);padding:var(--th-space-2) var(--th-space-2);border-bottom:1px solid var(--th-border)}.th-editor-name{flex:1;min-width:0;font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-editor-dirty{margin-left:var(--th-space-1);color:var(--th-warning);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);vertical-align:middle}.th-editor-save{height:26px;padding:0 var(--th-space-2);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);gap:var(--th-space-1)}.th-editor-area{flex:1;min-height:0;resize:none;border:none;padding:var(--th-space-2) var(--th-space-3);background:var(--th-bg);color:var(--th-text);font-family:var(--th-font-mono);font-size:var(--th-type-input-size);line-height:var(--th-type-input-line);letter-spacing:var(--th-type-input-tracking);-moz-tab-size:4;tab-size:4;white-space:pre;overflow:auto}.th-editor-area:focus-visible{box-shadow:inset 0 0 0 1px var(--th-border-strong)}@container chat-pane (max-width: 494px){.th-editor-save{height:44px;min-height:44px}.th-editor-head .th-btn-icon{width:44px;height:44px}}.th-split{position:relative;display:flex;flex:1;min-height:0;min-width:0}.th-split--h{flex-direction:row}.th-split--v{flex-direction:column}.th-split-child{display:flex;flex-basis:0;min-width:0;min-height:0;overflow:hidden}.th-pane-wrap{position:relative;display:flex;flex:1;min-width:0;min-height:0}.th-pane-wrap:has(>.th-home-live){flex-direction:column;align-items:center;justify-content:safe center;gap:var(--th-space-3);padding:var(--th-space-6);padding-top:var(--th-space-12);overflow-y:auto}.th-pane-wrap>.th-home-live{flex:none}.th-pane-close{position:absolute;top:8px;right:8px;z-index:2}.th-pane{flex:1;min-width:0;min-height:0}.th-divider{position:relative;z-index:3;outline:none;flex:none;margin:0;padding:0;border:0;background:var(--th-border);transition:background var(--th-dur-fast) var(--th-ease);touch-action:none}.th-split--h>.th-divider{width:4px;cursor:col-resize}.th-split--v>.th-divider{height:4px;cursor:row-resize}.th-divider:hover,.th-divider:active,.th-divider:focus,.th-divider--dragging{background:var(--th-accent)}.th-picker-pane{flex:1;display:flex;flex-direction:column;align-items:center;align-items:safe center;justify-content:center;justify-content:safe center;gap:var(--th-space-3);padding:var(--th-space-5);background:var(--th-bg);overflow-y:auto}.th-picker-pane-title{font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;color:var(--th-faint)}.th-picker-pane-empty{font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);color:var(--th-muted)}.th-picker-pane-list{display:flex;flex-direction:column;gap:var(--th-space-2);width:100%;max-width:280px}.th-picker-pane-item{display:flex;align-items:center;gap:var(--th-space-2);width:100%;min-width:0;padding:var(--th-space-2) var(--th-space-2);border-radius:var(--th-radius-sm);border:1px solid var(--th-border);background:var(--th-surface);color:var(--th-text-dim);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-align:left;transition:background var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease)}.th-picker-pane-item:hover{background:var(--th-hover);border-color:var(--th-border-strong);color:var(--th-text)}.th-picker-pane-name{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-picker-pane>select{width:100%;max-width:280px;padding:var(--th-space-1) var(--th-space-2);border-radius:var(--th-radius-sm);border:1px solid var(--th-border);background:var(--th-surface);color:var(--th-text);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-picker-pane-create{display:flex;align-items:center;gap:var(--th-space-2)}.th-pane--focused{outline:1px solid var(--th-border-strong);outline-offset:-1px}@media(max-width:768px){.th-pane--focused{outline:none}.th-picker-pane-item{min-height:var(--th-space-11)}}.th-session-workarea{display:flex;flex:1;min-width:0;min-height:0}.th-pane-resize-actions{position:relative;flex:none}.th-pane-wrap>.th-pane-resize-actions{position:absolute;top:var(--th-space-2);left:var(--th-space-2);z-index:4}.th-pane-wrap>.th-picker-pane{min-width:0;padding-top:var(--th-space-12)}.th-pane-wrap:has(>.th-home-live)>.th-picker-pane{flex:none;width:100%;padding-top:0;overflow:visible}.th-pane-resize{width:28px;height:28px}.th-pane-resize-menu{position:absolute;z-index:12;top:100%;left:0;display:flex;flex-direction:column;width:220px;max-width:calc(100cqw - var(--th-space-4));padding:var(--th-space-1);border:1px solid var(--th-border-raised);border-radius:var(--th-radius-sm);background:var(--th-surface-raised);box-shadow:var(--th-shadow-raised)}.th-pane-resize-menu button{padding:var(--th-space-2);text-align:left;border:0;background:transparent;color:var(--th-text);font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-pane-resize-menu button:hover,.th-pane-resize-menu button:focus{background:var(--th-hover);outline:1px solid var(--th-border-strong);outline-offset:-1px}.th-pane-size,.th-divider-hint{position:absolute;z-index:5;pointer-events:none;max-width:calc(100% - var(--th-space-4));padding:var(--th-space-2) var(--th-space-3);border:1px solid var(--th-border-raised);border-radius:var(--th-radius-sm);background:var(--th-surface-raised);color:var(--th-text);font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);font-variant-numeric:tabular-nums;text-align:center}.th-pane-size{top:50%;left:50%;transform:translate(-50%,-50%)}.th-divider-hint{display:none;top:var(--th-space-2);left:50%;transform:translate(-50%)}.th-divider:focus+.th-divider-hint{display:block}.th-divider:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:var(--th-radius-sm);background:var(--th-accent);opacity:0}.th-split--h>.th-divider:after{width:8px;height:32px}.th-split--v>.th-divider:after{width:32px;height:8px}.th-divider:hover:after,.th-divider:focus:after,.th-divider--dragging:after{opacity:1}@media(pointer:coarse){.th-pane-resize{width:44px;height:44px}.th-divider:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.th-split--h>.th-divider:before{left:-20px;right:-20px}.th-split--v>.th-divider:before{top:-20px;bottom:-20px}}.th-stats{display:flex;flex-direction:column;gap:var(--th-space-3);padding:var(--th-space-4) var(--th-space-5) var(--th-space-5)}.th-stats-title{font-size:var(--th-type-title-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-title-line);letter-spacing:var(--th-type-title-tracking);color:var(--th-text)}.th-stats-loading{padding:var(--th-space-4) 0;text-align:center;color:var(--th-muted);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking)}.th-stats-grid{display:flex;flex-direction:column;gap:var(--th-space-0-5)}.th-stats-row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--th-space-4);padding:var(--th-space-2) var(--th-space-2);border-radius:var(--th-radius-sm);transition:background var(--th-dur-fast) var(--th-ease)}.th-stats-row:hover{background:var(--th-hover)}.th-stats-label{font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-muted)}.th-stats-value{margin:0;font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text);text-align:right}.th-sidebar{position:relative;top:var(--th-vv-top, 0px);height:calc(var(--th-vh-unit, 1vh) * 100 - env(safe-area-inset-top));width:var(--th-sidebar-w);flex:none;display:flex;flex-direction:row;background:var(--th-surface);border-right:1px solid var(--th-border-surface);box-shadow:var(--th-shadow-surface);transition:width var(--th-dur-slow) var(--th-ease),transform var(--th-dur-slow) var(--th-ease);z-index:40;padding-bottom:env(safe-area-inset-bottom)}html[data-th-standalone] .th-sidebar{top:0;left:0;padding-bottom:0}html[data-th-standalone]:not([data-th-keyboard-open]) .th-sidebar-inner:after{content:"";flex:none;height:max(0px,calc(env(safe-area-inset-bottom) - max(0px,100lvh - var(--th-vv-top, 0px) - var(--th-vh-unit, 1vh) * 100)))}.th-sidebar--collapsed{width:var(--th-space-11);border-right-color:transparent}.th-sidebar-inner{width:var(--th-sidebar-w);min-width:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.th-sidebar-nav{flex:none;display:flex;align-items:center;gap:var(--th-space-2);height:var(--th-header-h);padding:0 var(--th-space-3);border-bottom:1px solid var(--th-border)}.th-sidebar-logo{display:flex;align-items:center;gap:var(--th-space-2);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-text);white-space:nowrap}.th-sidebar-logo-icon{width:var(--th-space-5);height:var(--th-space-5);flex:none}.th-sidebar-nav-actions{margin-left:auto;display:flex;gap:var(--th-space-0-5)}.th-sidebar-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:var(--th-space-2)}.th-sidebar-section-label{padding:var(--th-space-1) var(--th-space-2) var(--th-space-2);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;color:var(--th-faint);white-space:nowrap}.th-sidebar-empty{padding:var(--th-space-4) var(--th-space-2);display:flex;flex-direction:column;gap:var(--th-space-2)}.th-sidebar-empty-title{font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text-dim)}.th-sidebar-empty-hint{font-size:var(--th-type-body-size);color:var(--th-muted);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking)}.th-sidebar-footer{flex:none;display:flex;align-items:center;gap:var(--th-space-1);padding:var(--th-space-2) var(--th-space-3) 0;border-top:1px solid var(--th-border)}.th-sidebar-footer>.th-settings-menu{display:flex}@media(max-width:768px){.th-sidebar{position:fixed;left:var(--th-vv-left, 0px);height:calc(var(--th-vh-unit, 1vh) * 100);width:var(--th-sidebar-w);transform:translate(0);background:var(--th-surface-overlay);border-right-color:var(--th-border-overlay);box-shadow:var(--th-shadow-overlay);padding-top:env(safe-area-inset-top)}.th-sidebar-inner{width:100%}.th-sidebar--collapsed{width:var(--th-sidebar-w);transform:translate(-100%);border-right-color:transparent;box-shadow:none;pointer-events:none;transition:transform var(--th-dur-slow) var(--th-ease),visibility 0s linear var(--th-dur-slow);visibility:hidden}}html[data-th-keyboard-open] .th-sidebar{top:0;left:0;padding-bottom:0}.th-settings-menu{position:relative}.th-settings-panel{position:absolute;bottom:calc(100% + 8px);left:0;z-index:60;width:240px;max-height:calc(var(--th-vh-unit, 1vh) * 100 - env(safe-area-inset-top) - env(safe-area-inset-bottom) - var(--th-space-12) - var(--th-space-1));overflow-y:auto;padding:var(--th-space-2);background:var(--th-surface-raised);border:1px solid var(--th-border-raised);border-radius:var(--th-radius);box-shadow:var(--th-shadow-raised);animation:th-settings-in var(--th-dur-fast) var(--th-ease)}html[data-th-keyboard-open] .th-settings-panel{max-height:calc(var(--th-vh-unit, 1vh) * 100 - env(safe-area-inset-top) - var(--th-space-12) - var(--th-space-1))}@keyframes th-settings-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.th-settings-section{display:flex;flex-direction:column;gap:var(--th-space-1);padding:var(--th-space-1) 0}.th-settings-label{font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;color:var(--th-faint)}.th-settings-seg{display:flex;border:1px solid var(--th-border);border-radius:var(--th-radius-sm);overflow:hidden}.th-settings-seg-btn{flex:1;padding:var(--th-space-1) 0;font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-muted);background:transparent;transition:background var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}.th-settings-seg-btn+.th-settings-seg-btn{border-left:1px solid var(--th-border)}.th-settings-seg-btn:hover{background:var(--th-hover);color:var(--th-text)}.th-settings-seg-btn--on{background:var(--th-accent);color:var(--th-accent-fg)}.th-settings-seg-btn--on:hover{background:var(--th-accent-hover);color:var(--th-accent-fg)}.th-settings-select{width:100%;padding:var(--th-space-1) var(--th-space-2);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface);color:var(--th-text);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);cursor:pointer}.th-settings-size{display:flex;align-items:center;gap:var(--th-space-2)}.th-settings-size-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--th-border);border-radius:var(--th-radius-sm);color:var(--th-text-dim);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);transition:background var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease)}.th-settings-size-btn:hover:not(:disabled){background:var(--th-hover);border-color:var(--th-border-strong)}.th-settings-size-btn:disabled{background:var(--th-disabled-bg);color:var(--th-disabled-fg);cursor:not-allowed}.th-settings-size-value{flex:1;text-align:center;font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text)}.th-settings-divider{height:1px;margin:var(--th-space-1) 0;background:var(--th-border)}.th-settings-item{display:flex;align-items:center;gap:var(--th-space-2);width:100%;padding:var(--th-space-2) var(--th-space-2);border-radius:var(--th-radius-sm);color:var(--th-text-dim);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-align:left;transition:background var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}.th-settings-item:hover{background:var(--th-hover);color:var(--th-text)}.th-sidebar-footer-spacer{flex:1}.th-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--th-radius-sm);color:var(--th-muted);transition:color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-btn-icon:hover{color:var(--th-text);background:var(--th-hover)}.th-btn-icon:active{background:var(--th-active)}.th-btn-icon--on{color:var(--th-text);background:var(--th-active)}.th-btn-icon--danger:hover{color:var(--th-error);background:var(--th-error-bg)}@media(pointer:coarse){.th-sidebar-nav-actions .th-btn-icon{position:relative}.th-sidebar-nav-actions .th-btn-icon:before{content:"";position:absolute;top:-6px;right:-1px;bottom:-6px;left:-1px}}.th-btn-add{display:flex;align-items:center;gap:var(--th-space-2);width:100%;padding:var(--th-space-2) var(--th-space-2);margin-bottom:var(--th-space-1);border:1px dashed var(--th-border-strong);border-radius:var(--th-radius-sm);color:var(--th-muted);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);transition:color var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-btn-add:hover{color:var(--th-text);border-color:var(--th-muted);background:var(--th-hover)}.th-sidebar--collapsed .th-sidebar-rail{flex:0 0 var(--th-space-11);display:flex;justify-content:center;align-items:flex-start;padding-top:var(--th-space-2)}.th-sidebar-toggle{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center}.th-sidebar--collapsed .th-sidebar-toggle{border-radius:var(--th-radius-sm);border:1px solid var(--th-border-raised);background:var(--th-surface-raised);color:var(--th-text-dim);box-shadow:var(--th-shadow-raised);transition:color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-sidebar--collapsed .th-sidebar-toggle:hover{color:var(--th-text);background:var(--th-hover)}.th-sidebar-toggle svg{transform:rotate(180deg);transition:transform var(--th-dur-slow) var(--th-ease)}.th-sidebar--collapsed .th-sidebar-toggle svg{transform:rotate(0)}.th-sidebar--collapsed .th-sidebar-inner{visibility:hidden}.th-tree,.th-tree>.th-tree-workspace{display:flex;flex-direction:column;gap:var(--th-space-0-5)}.th-tree-node{display:flex;position:relative;align-items:center;gap:var(--th-space-2);min-height:var(--th-space-9);padding:0 var(--th-space-2);border-radius:var(--th-radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background var(--th-dur-fast) var(--th-ease)}@media(pointer:coarse){.th-tree-node{min-height:var(--th-space-11)}.th-tree-chevron{min-width:24px;min-height:24px;align-items:center;justify-content:center}.th-tree-more{position:relative}.th-tree-more:before{content:"";position:absolute;top:-4px;right:-2px;bottom:-6px;left:-2px}}.th-tree-node:hover{background:var(--th-hover)}.th-tree-node--active{background:var(--th-active)}.th-tree-node--disabled{cursor:default;background:var(--th-disabled-bg);color:var(--th-disabled-fg)}.th-tree-node--disabled :is(.th-tree-label,.th-tree-icon,.th-tree-source){color:var(--th-disabled-fg)}.th-tree-node--disabled:hover{background:transparent}.th-tree-live{position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--th-success);z-index:1}.th-tree-running{display:inline-flex;flex:none;align-items:center;gap:var(--th-space-0-5);min-height:calc(var(--th-type-micro-size) * var(--th-type-micro-line) + 2px);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);color:var(--th-success);border:1px solid var(--th-success);border-radius:var(--th-radius-pill);padding:0 var(--th-space-1);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-tree-running-dot{width:5px;height:5px;border-radius:50%;background:var(--th-success);animation:th-tree-running-blink calc(var(--th-dur-slow) * 4) var(--th-ease) infinite alternate}@keyframes th-tree-running-blink{0%{opacity:1}to{opacity:.35}}.th-tree--touch .th-tree-node{gap:var(--th-space-1);padding-inline:var(--th-space-1)}.th-tree-node--active .th-tree-label{font-weight:var(--th-weight-emphasize)}.th-tree-chevron{display:inline-flex;flex:none;color:var(--th-faint);transition:transform var(--th-dur) var(--th-ease)}.th-tree-chevron--open{transform:rotate(90deg)}.th-tree-icon{display:inline-flex;flex:none;color:var(--th-muted)}.th-tree-node--active>.th-tree-icon{color:var(--th-text)}.th-tree-placed{flex:none;width:6px;height:6px;border-radius:50%;border:1px solid var(--th-faint);transition:background var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease)}.th-tree-placed--on{background:var(--th-success);border-color:var(--th-success)}.th-tree-activation{display:flex;align-items:center;gap:var(--th-space-2);flex:1;min-width:0;align-self:stretch;text-align:start}.th-tree-label{flex:1;min-width:0;font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-tree-source{flex:none;font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-faint)}.th-tree-count{flex:none;font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);color:var(--th-faint);border:1px solid var(--th-border);border-radius:var(--th-radius-pill);padding:0 var(--th-space-1);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-tree-actions{display:none;flex:none;align-items:center;gap:var(--th-space-0-5)}.th-tree-node:hover .th-tree-actions,.th-tree-node:focus-within .th-tree-actions{display:inline-flex}.th-tree-node:hover .th-tree-count,.th-tree-node:focus-within .th-tree-count{display:none}.th-tree-actions .th-btn-icon{width:24px;height:24px}.th-tree--touch .th-tree-actions{display:inline-flex}.th-tree--touch .th-tree-count{display:none}.th-tree-children{min-width:0;margin:0 0 0 var(--th-space-3);padding:0 0 0 var(--th-space-2);border:0;border-left:1px solid var(--th-border);display:flex;flex-direction:column;gap:var(--th-space-0-5);overflow:hidden}.th-tree-children--closed{display:none}.th-tree-more{margin:var(--th-space-0-5);padding:var(--th-space-1) var(--th-space-2);border:1px dashed var(--th-border);border-radius:var(--th-radius-sm);color:var(--th-muted);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-align:left;transition:color var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-tree-more:hover:not(:disabled){color:var(--th-text-dim);border-color:var(--th-border-strong);background:var(--th-hover)}.th-tree-more:disabled{background:var(--th-disabled-bg);color:var(--th-disabled-fg);cursor:default}.th-tree-session-active{display:inline-flex;flex:none;align-items:center;gap:var(--th-space-1);color:var(--th-warning);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line)}.th-tree-force-open{min-height:24px;padding:0 var(--th-space-1);font-size:var(--th-type-micro-size)}.th-tree-rename{flex:1;min-width:0;background:var(--th-bg);border:1px solid var(--th-border-strong);border-radius:var(--th-radius-sm);padding:var(--th-space-0-5) var(--th-space-1);font-family:var(--th-font-mono);font-size:var(--th-type-input-size);line-height:var(--th-type-input-line);letter-spacing:var(--th-type-input-tracking);color:var(--th-text)}.th-tree-rename:focus{border-color:var(--th-accent)}.th-backdrop,.th-mobile-menu{display:none}@media(max-width:768px){.th-backdrop{display:block;position:fixed;top:var(--th-vv-top, 0px);left:var(--th-vv-left, 0px);height:calc(var(--th-vh-unit, 1vh) * 100);width:100%;background:var(--th-backdrop);z-index:35;animation:th-fade-in var(--th-dur) var(--th-ease)}.th-mobile-menu{display:inline-flex}}html[data-th-standalone] .th-backdrop,html[data-th-keyboard-open] .th-backdrop{top:0;left:0}@keyframes th-fade-in{0%{opacity:0}to{opacity:1}}.th-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.th-modal-overlay{position:fixed;top:var(--th-vv-top, 0px);left:var(--th-vv-left, 0px);width:var(--th-vv-width, 100%);height:calc(var(--th-vh-unit, 1vh) * 100);z-index:70;display:flex;align-items:center;justify-content:center;padding:var(--th-space-6);background:var(--th-backdrop);animation:th-fade-in var(--th-dur) var(--th-ease)}.th-modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0}.th-modal{position:relative;width:100%;max-width:480px;max-height:calc(var(--th-vh-unit, 1dvh) * 100 - var(--th-space-6) - var(--th-space-6));display:flex;flex-direction:column;background:var(--th-surface-overlay);border:1px solid var(--th-border-overlay);border-radius:var(--th-radius-lg);box-shadow:var(--th-shadow-overlay);animation:th-modal-in var(--th-dur-slow) var(--th-ease);overflow-wrap:anywhere;word-break:keep-all}@keyframes th-modal-in{0%{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.th-modal-close{position:absolute;top:6px;right:6px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:var(--th-radius-sm);color:var(--th-muted);transition:color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-modal-close:hover{color:var(--th-text);background:var(--th-hover)}.th-modal .th-btn{height:auto;min-height:44px}.th-modal--media{width:auto;max-width:min(96vw,1400px)}.th-modal--media .th-modal-media-image{display:block;max-width:100%;max-height:calc(var(--th-vh-unit, 1dvh) * 100 - 120px);object-fit:contain;border-radius:var(--th-radius)}.th-wizard-head{flex:none;padding:var(--th-space-5) var(--th-space-6) 0}.th-wizard-kicker{font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;color:var(--th-faint);margin-bottom:var(--th-space-1)}.th-wizard-title{font-size:var(--th-type-title-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-title-line);letter-spacing:var(--th-type-title-tracking);color:var(--th-text)}.th-wizard-desc{margin-top:var(--th-space-1);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);color:var(--th-muted)}.th-wizard-steps{display:flex;align-items:center;gap:var(--th-space-1);margin-top:var(--th-space-4)}.th-wizard-step{flex:1;height:3px;border-radius:2px;background:var(--th-border);transition:background var(--th-dur-slow) var(--th-ease)}.th-wizard-step--done{background:var(--th-muted)}.th-wizard-step--current{background:var(--th-accent)}.th-wizard-body{flex:1;min-height:0;overflow-y:auto;padding:var(--th-space-4) var(--th-space-6)}.th-wizard-foot{flex:none;display:flex;align-items:center;gap:var(--th-space-2);padding:var(--th-space-3) var(--th-space-6) var(--th-space-5);border-top:1px solid var(--th-border)}.th-wizard-foot-spacer{flex:1}.th-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--th-space-2);height:34px;padding:0 var(--th-space-3);border-radius:var(--th-radius-sm);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);transition:background var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease)}.th-btn:disabled{background:var(--th-disabled-bg);color:var(--th-disabled-fg);cursor:not-allowed}.th-btn--primary{background:var(--th-accent);color:var(--th-accent-fg)}.th-btn--primary:hover:not(:disabled){background:var(--th-accent-hover)}.th-btn--ghost{border:1px solid var(--th-border);color:var(--th-text-dim);background:transparent}.th-btn--ghost:hover:not(:disabled){background:var(--th-hover);border-color:var(--th-border-strong);color:var(--th-text)}.th-btn--danger{background:var(--th-error);color:var(--th-error-fg)}.th-btn--danger:hover:not(:disabled){background:var(--th-error)}.th-alert{display:flex;align-items:flex-start;gap:var(--th-space-2);padding:var(--th-space-2) var(--th-space-3);border-radius:var(--th-radius-sm);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);border:1px solid;overflow-wrap:anywhere;word-break:keep-all}.th-alert--error{background:var(--th-error-bg);border-color:var(--th-error);color:var(--th-error)}.th-alert--warning{background:var(--th-warning-bg);border-color:var(--th-warning);color:var(--th-warning)}.th-alert svg{flex:none;margin-top:0}.th-field{display:flex;flex-direction:column;gap:var(--th-space-2)}.th-field-label{font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text-dim)}.th-input{height:38px;padding:0 var(--th-space-3);background:var(--th-bg);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);color:var(--th-text);font-size:var(--th-type-input-size);line-height:var(--th-type-input-line);letter-spacing:var(--th-type-input-tracking);transition:border-color var(--th-dur-fast) var(--th-ease),box-shadow var(--th-dur-fast) var(--th-ease)}.th-input::placeholder{color:var(--th-faint)}.th-input:focus{border-color:var(--th-accent);box-shadow:0 0 0 3px var(--th-ring)}.th-input--mono{font-family:var(--th-font-mono);font-size:var(--th-type-input-size);line-height:var(--th-type-input-line);letter-spacing:var(--th-type-input-tracking)}.th-picker-path{display:flex;align-items:center;gap:var(--th-space-2);padding:var(--th-space-2) var(--th-space-3);margin-bottom:var(--th-space-2);background:var(--th-bg);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text-dim);overflow:hidden}.th-picker-path-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left;flex:1;min-width:0}.th-picker-list{display:flex;flex-direction:column;gap:var(--th-space-0-5);min-height:180px;max-height:260px;overflow-y:auto;border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-bg);padding:var(--th-space-1)}.th-picker-row{display:flex;align-items:center;gap:var(--th-space-2);width:100%;padding:var(--th-space-2) var(--th-space-2);border-radius:4px;font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-text-dim);text-align:left;transition:background var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}.th-picker-row:hover{background:var(--th-hover);color:var(--th-text)}.th-picker-row svg{flex:none;color:var(--th-muted)}.th-picker-row-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-picker-status{display:flex;align-items:center;justify-content:center;min-height:180px;color:var(--th-muted);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking)}.th-picker-select{display:flex;align-items:center;justify-content:space-between;gap:var(--th-space-2);margin-top:var(--th-space-3);padding:var(--th-space-2) var(--th-space-3);border:1px solid var(--th-border-strong);border-radius:var(--th-radius-sm);background:var(--th-surface-raised)}.th-picker-select-path{font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.th-picker-select .th-btn{flex:none;white-space:nowrap}.th-summary{display:flex;flex-direction:column;border:1px solid var(--th-border);border-radius:var(--th-radius);overflow:hidden;background:var(--th-bg)}.th-summary-row{display:flex;gap:var(--th-space-3);padding:var(--th-space-3) var(--th-space-3)}.th-summary-row+.th-summary-row{border-top:1px solid var(--th-border)}.th-summary-key{flex:none;width:84px;font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);text-transform:uppercase;color:var(--th-faint);padding-top:var(--th-space-0-5)}.th-summary-val{font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-text);overflow-wrap:anywhere;word-break:keep-all}.th-login{height:100%;display:flex;align-items:center;justify-content:center;padding:var(--th-space-6);background:radial-gradient(ellipse 60% 45% at 50% -5%,var(--th-glow),transparent),var(--th-bg)}.th-login-card{width:100%;max-width:380px;padding:var(--th-space-8) var(--th-space-8) var(--th-space-6);background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-radius-lg);box-shadow:var(--th-shadow-lg);display:flex;flex-direction:column;gap:var(--th-space-4);animation:th-modal-in var(--th-dur-slow) var(--th-ease)}.th-login-brand{display:flex;align-items:center;gap:var(--th-space-2);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-muted)}.th-login-title{display:flex;align-items:center;gap:var(--th-space-3);font-size:var(--th-type-display-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-display-line);letter-spacing:var(--th-type-display-tracking);color:var(--th-text)}.th-login-title-icon{width:1.75em;height:1.75em;flex:none}.th-login-sub{margin-top:calc(-1 * var(--th-space-2));font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);color:var(--th-muted)}.th-login-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--th-space-2);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-faint)}.th-login-lang{display:inline-flex;align-items:center;gap:var(--th-space-1);flex:none;white-space:nowrap;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);padding:var(--th-space-0-5) var(--th-space-1);border-radius:4px;transition:color var(--th-dur-fast) var(--th-ease),background var(--th-dur-fast) var(--th-ease)}.th-login-lang:hover{color:var(--th-text);background:var(--th-hover)}.th-confirm{padding:var(--th-space-5) var(--th-space-6) var(--th-space-5)}.th-confirm-title{font-size:var(--th-type-title-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-title-line);letter-spacing:var(--th-type-title-tracking)}.th-confirm-message{margin-top:var(--th-space-2);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);color:var(--th-muted)}.th-confirm-actions{display:flex;justify-content:flex-end;gap:var(--th-space-2);margin-top:var(--th-space-5)}.th-update-dialog{min-height:0;overflow-y:auto}.th-update-output{max-height:min(240px,30dvh);margin-top:var(--th-space-3);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-error)}.th-confirm .th-alert{margin-top:var(--th-space-3)}.th-new-chat{width:100%;padding:var(--th-space-12) var(--th-space-6) var(--th-space-6)}.th-new-chat-title{font-size:var(--th-type-title-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-title-line);letter-spacing:var(--th-type-title-tracking);margin-bottom:var(--th-space-1)}.th-new-chat-description{color:var(--th-muted);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);margin-bottom:var(--th-space-4)}.th-provider-cards{display:grid;min-width:0;margin:0;padding:0;border:0;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:var(--th-space-2)}.th-provider-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:var(--th-space-1);min-width:0;padding:var(--th-space-3);border:1px solid var(--th-border);border-radius:var(--th-radius);background:var(--th-surface-raised);text-align:left}.th-provider-card:hover:not(:has(input:disabled)){border-color:var(--th-muted)}.th-provider-radio{position:absolute;width:1px;height:1px;opacity:0}.th-provider-card:has(.th-provider-radio:focus-visible){outline:2px solid var(--th-accent);outline-offset:2px}.th-provider-card--selected{border-color:var(--th-accent);box-shadow:0 0 0 1px var(--th-accent)}.th-provider-card:has(input:disabled){cursor:not-allowed;background:var(--th-disabled-bg);color:var(--th-disabled-fg)}.th-provider-card:has(input:disabled) :is(.th-provider-card-name,.th-provider-card-binary){color:var(--th-disabled-fg)}.th-provider-card-name{width:100%;overflow-wrap:anywhere;font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);white-space:normal}.th-provider-card-binary{color:var(--th-text-dim);font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking)}.th-provider-card-status{color:var(--th-success);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-provider-card-status--unavailable,.th-new-chat-error{color:var(--th-error)}.th-new-chat-error{margin-top:var(--th-space-2);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking)}.th-new-chat-actions{display:flex;justify-content:flex-end;gap:var(--th-space-2);margin-top:var(--th-space-4)}@media(max-width:420px){.th-provider-cards{grid-template-columns:1fr}}.th-chat-pane{--th-chat-max: 760px;--th-chat-gutter: 24px;--th-chat-scrollbar: 6px;--th-queue-body-max: 240px;container:chat-pane / inline-size;position:relative;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0;overflow:hidden;background:var(--th-bg);color:var(--th-text)}.th-chat-main{container:chat-column / size;display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.th-chat-main-content{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto}.th-chat-main-content>:not(.th-chat-scrollport){flex-shrink:0}.th-chat-pane .th-termhead{flex:0 0 var(--th-header-h);width:100%;min-width:0;height:var(--th-header-h);padding:0 var(--th-space-2) 0 var(--th-space-5);gap:var(--th-space-1)}.th-chat-pane .th-termhead-name{flex:0 1 auto;min-width:42px;max-width:240px;overflow:hidden;font-family:var(--th-font-sans);font-size:var(--th-type-secondary-size);text-overflow:ellipsis}.th-chat-pane .th-termhead-path{flex:1 1 auto;min-width:0;font-size:var(--th-type-label-size)}.th-chat-pane .th-termhead-actions{flex:none;margin-left:0;gap:0}.th-chat-pane .th-chat-resync-btn{flex:0 1 auto;width:auto;min-width:44px;max-width:120px;height:34px;padding:0 var(--th-space-3);overflow:hidden}.th-chat-resync-icon{display:inline-flex;flex:none}.th-chat-resync-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-chat-pane .th-mobile-menu,.th-chat-pane .th-files-toggle,.th-chat-pane .th-disconnect-btn,.th-chat-pane .th-termhead-actions .th-btn-icon{flex:none;width:44px;min-width:44px;height:44px}.th-provider-badge{flex:0 1 72px;min-width:0;max-width:72px;overflow:hidden;padding:var(--th-space-0-5) var(--th-space-2);border-radius:999px;background:var(--th-hover);color:var(--th-text-dim);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.th-chat-status{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:var(--th-space-1) var(--th-space-2);min-width:0;min-height:24px;padding:0 var(--th-space-0-5);color:var(--th-text-dim);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);white-space:nowrap}.th-chat-status-primary{display:contents}.th-chat-run-indicator{flex:none;display:inline-flex;align-items:center;justify-content:center;width:12px;height:16px}.th-chat-status-item{flex:none;display:inline-flex;align-items:baseline;gap:var(--th-space-1);white-space:nowrap}.th-chat-send-status,.th-chat-status-item--steer{flex:1 1 12ch;flex-wrap:wrap;min-width:0;max-width:100%;align-items:center}.th-chat-status-label,.th-chat-send-status>button:not(.th-chat-send-preview){flex:none}.th-chat-send-preview{flex:1 1 0;width:3ch;min-width:3ch;min-height:24px;padding:0;border:0;overflow:hidden;background:none;color:inherit;font:inherit;text-align:left;text-decoration:underline dotted;text-underline-offset:3px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}@media(pointer:coarse){.th-chat-send-preview{min-width:44px;min-height:44px}}.th-chat-original{display:flex;flex-direction:column;min-height:0;padding:var(--th-space-6)}.th-chat-original .th-confirm-title{padding-right:var(--th-space-5)}.th-chat-original-text{margin-top:var(--th-space-3);min-height:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--th-type-body-size);line-height:var(--th-type-body-line)}.th-failed-drafts{flex:none;display:flex;gap:var(--th-space-2);width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));margin:0 auto;overflow-x:auto}.th-failed-draft-item{display:inline-flex;flex:none;max-width:100%}.th-failed-draft{min-width:0;max-width:32ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-chat-status-num{font-family:var(--th-font-mono);color:var(--th-muted);font-variant-numeric:tabular-nums}.th-chat-status-item--live{color:var(--th-muted)}.th-chat-status-item--warn{color:var(--th-warning, var(--th-text));font-weight:var(--th-weight-emphasize)}.th-chat-status-spinner{flex:none;width:9px;height:9px;border:1px solid currentColor;border-right-color:transparent;border-radius:50%;animation:th-chat-status-spin .7s linear infinite}@keyframes th-chat-status-spin{to{transform:rotate(360deg)}}.th-queue{flex:none;display:flex;flex-direction:column;width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));margin:var(--th-space-1) auto 0;border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface);font-size:var(--th-type-micro-size)}.th-queue-header{display:flex;align-items:center;gap:var(--th-space-2);width:100%;padding:var(--th-space-1) var(--th-space-2);border:0;border-radius:inherit;background:none;color:var(--th-text-dim);font:inherit;font-weight:var(--th-weight-emphasize);letter-spacing:var(--th-type-micro-tracking);cursor:pointer;text-align:left}.th-queue-header:hover{background:var(--th-hover);color:var(--th-text)}.th-queue-engine{padding:0 var(--th-space-1);border:1px solid var(--th-border-raised);border-radius:var(--th-radius-pill);color:var(--th-warning);font-variant-numeric:tabular-nums}.th-queue-chevron{flex:none;margin-left:auto;color:var(--th-muted);transition:transform var(--th-dur-fast) var(--th-ease)}.th-queue-chevron--open{transform:rotate(90deg)}.th-queue-body{display:flex;flex-direction:column;max-height:var(--th-queue-body-max);overflow:auto;padding:0 var(--th-space-2) var(--th-space-2)}.th-queue-list{display:flex;flex-direction:column;gap:var(--th-space-0-5);margin:0;padding:0;list-style:none}.th-queue-row{display:flex;align-items:center;gap:var(--th-space-2);min-height:24px;padding:var(--th-space-0-5) var(--th-space-2);border-radius:var(--th-radius-sm);color:var(--th-text-dim)}.th-queue-row--waiting{border-left:2px dashed var(--th-border-user)}.th-queue-row--engine{border-left:2px solid var(--th-border-raised);color:var(--th-muted)}.th-queue-pos{flex:none;min-width:var(--th-space-4);color:var(--th-muted);font-family:var(--th-font-mono);font-variant-numeric:tabular-nums}.th-queue-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-queue-row--engine .th-queue-text{overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere}.th-queue-actions{flex:none;display:flex;gap:0}.th-queue-btn{width:22px;height:22px}.th-queue-btn--down svg{transform:rotate(180deg)}.th-queue-btn--remove:hover{color:var(--th-error)}.th-queue-clear{flex:none;align-self:flex-end;margin-top:var(--th-space-1)}.th-chat-loading{flex:1 1 auto;display:flex;align-items:center;justify-content:center;padding:var(--th-space-6);color:var(--th-text-dim);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking)}.th-model-picker{position:relative}.th-model-picker-btn{display:inline-flex;align-items:center;gap:var(--th-space-1);width:100%;max-width:100%;min-width:0;overflow:hidden;padding:var(--th-space-0-5) var(--th-space-1);border:0;background:transparent;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);cursor:pointer}.th-model-picker-btn:hover{color:var(--th-text-dim)}.th-model-picker-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-model-picker-icon{display:none;flex:none}.th-model-picker-popover{position:absolute;bottom:calc(100% + var(--th-space-1));right:0;z-index:30;width:min(260px,80vw);max-height:min(480px,70dvh);display:flex;flex-direction:column;border:1px solid var(--th-border-raised);border-radius:var(--th-radius-sm);background:var(--th-surface-raised);box-shadow:var(--th-shadow-raised)}.th-model-picker-search{flex:none;width:100%;padding:var(--th-space-2) var(--th-space-2);border:0;border-bottom:1px solid var(--th-border);background:transparent;color:var(--th-text);font:inherit;font-size:var(--th-type-input-size);line-height:var(--th-type-input-line);letter-spacing:var(--th-type-input-tracking)}.th-model-picker-search:focus{outline:none}.th-model-picker-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding:var(--th-space-1);display:flex;flex-direction:column;gap:var(--th-space-0-5)}.th-model-picker-list>button{display:flex;flex:none;flex-direction:column;align-items:flex-start;gap:var(--th-space-0-5);width:100%;padding:var(--th-space-2) var(--th-space-2);border:0;border-radius:var(--th-radius-sm);background:transparent;color:var(--th-text);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-align:left}.th-model-picker-list>button:hover,.th-model-picker-list>button[data-active=true]{background:var(--th-hover)}.th-model-picker-list strong{max-width:100%;overflow:hidden;font-weight:var(--th-weight-emphasize);text-overflow:ellipsis;white-space:nowrap}.th-model-picker-list span{color:var(--th-muted);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-model-picker-popover:not(.th-model-picker-popover--sheet){overflow:hidden}.th-model-picker-popover:not(.th-model-picker-popover--sheet) .th-model-picker-list{overscroll-behavior:contain}.th-model-picker-popover--panel{position:fixed;z-index:60;top:calc(var(--th-vv-top, 0px) + 4px);bottom:auto;right:8px;height:min(480px,calc(var(--th-vh-unit, 1dvh) * 100 - 8px));max-height:calc(var(--th-vh-unit, 1dvh) * 100 - 8px)}.th-files-toggle{padding:0 var(--th-space-2);border:0;border-radius:var(--th-radius-sm);background:transparent;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-files-toggle:hover{color:var(--th-text)}.th-files-toggle--on{background:var(--th-hover);color:var(--th-text)}.th-thinking-in-picker{display:flex;flex:none;flex-direction:column;gap:var(--th-space-1);padding:var(--th-space-1) var(--th-space-2);border-bottom:1px solid var(--th-border)}.th-thinking-in-picker-label{color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-thinking-in-picker-levels{display:flex;flex-wrap:wrap;gap:var(--th-space-0-5)}.th-thinking-level{padding:var(--th-space-0-5) var(--th-space-1);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:transparent;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);cursor:pointer}.th-thinking-level--active{background:var(--th-hover);border-color:var(--th-border-strong);color:var(--th-text)}.th-alert--info{background:color-mix(in srgb,var(--th-send) 12%,transparent);border-color:var(--th-send);color:var(--th-text)}.th-goal-shelf{display:flex;flex:0 1 auto;flex-direction:column;width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));min-width:0;min-height:calc(var(--th-type-secondary-size) * var(--th-type-secondary-line) + var(--th-space-1) + var(--th-space-1) + 2px);overflow:hidden;margin:var(--th-space-1) auto 0}.th-goal-shelf .th-activity-bar-row{flex:none}.th-goal-bar:focus-visible{outline-offset:-2px}.th-goal-title{flex:none;color:var(--th-text-dim)}.th-goal-panel{min-height:0;max-height:40vh;padding:var(--th-space-2) var(--th-space-3);overflow-y:auto;border:1px solid var(--th-border);border-top:0;border-radius:0 0 var(--th-radius-sm) var(--th-radius-sm);background:var(--th-surface);color:var(--th-text-dim);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking)}.th-goal-bar[aria-expanded=true]{border-bottom-left-radius:0;border-bottom-right-radius:0}.th-goal-objective-full{margin:0;color:var(--th-text);white-space:pre-wrap;overflow-wrap:anywhere}.th-goal-blocked-reason{margin:var(--th-space-1) 0 0;color:var(--th-text-dim)}.th-external-write-banner{gap:var(--th-space-3)}.th-external-write-banner-body{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-external-write-banner-title{font-weight:var(--th-weight-announce)}.th-external-write-banner-detail{color:var(--th-text-dim)}.th-external-write-banner-actions{flex:none;align-self:center}.th-session-active-banner{gap:var(--th-space-3)}.th-session-active-banner-body{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-session-active-banner-title{font-weight:var(--th-weight-announce)}.th-session-active-banner-detail{color:var(--th-text-dim)}.th-session-active-banner-actions{flex:none;align-self:center}.th-notice-body{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-notice-title{font-weight:var(--th-weight-announce)}.th-notice-detail{font-family:var(--th-font-mono);font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}@container chat-pane (max-width: 600px){.th-chat-pane .th-termhead-path{display:none}.th-chat-pane .th-thinking-in-picker{display:flex}.th-chat-pane .th-model-picker-icon{display:inline-flex}.th-chat-pane .th-provider-badge{display:none}.th-chat-pane .th-model-picker-btn{min-width:0;min-height:var(--th-space-11)}.th-chat-pane .th-chat-resync-btn{width:44px;min-width:44px;height:44px;padding:0}.th-chat-pane .th-chat-resync-icon{display:inline-flex}.th-chat-pane .th-chat-resync-label{display:none}.th-chat-pane .th-termhead-name{flex:1 1 auto;max-width:none}.th-chat-pane .th-termhead-actions>:nth-child(-n+2){display:none}}@container chat-pane (max-width: 420px){.th-chat-main{--th-chat-gutter: 12px}}@container chat-pane (max-width: 340px){.th-chat-main{--th-chat-gutter: 8px}}.th-chat-controls{display:flex;flex:none;align-items:center;gap:var(--th-space-2);width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));min-width:0;margin-inline:auto}.th-chat-controls .th-chat-status{flex:1 1 0;min-width:0}.th-chat-controls .th-model-picker{flex:0 0 auto;min-width:0;max-width:45%}.th-chat-controls:has([data-send-phase=unknown]){flex-wrap:wrap}.th-chat-controls .th-chat-status:has([data-send-phase=unknown]){flex-basis:min-content;min-width:min-content}.th-chat-controls .th-chat-send-status[data-send-phase=unknown]{min-width:min-content}.th-chat-controls:has([data-send-phase=unknown]) .th-model-picker{margin-left:auto}.th-chat-status-metrics{display:contents}.th-model-picker-thinking{flex:none;color:var(--th-text-dim)}.th-model-picker-current{flex:none;display:flex;align-items:center;justify-content:space-between;gap:var(--th-space-0-5);padding:var(--th-space-2);border-bottom:1px solid var(--th-border);color:var(--th-text);font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);overflow-wrap:anywhere}.th-model-picker-current>div{display:flex;flex-direction:column;min-width:0;gap:var(--th-space-0-5)}.th-model-picker-popover--sheet .th-model-picker-current{position:sticky;top:0;z-index:1;background:var(--th-surface-overlay)}.th-model-picker-popover--sheet .th-model-picker-current .th-btn-icon{flex:none;width:var(--th-space-11);height:var(--th-space-11)}.th-model-picker-popover--sheet .th-model-picker-list{min-height:var(--th-space-11)}.th-model-picker-current span{color:var(--th-muted)}.th-model-picker-popover--sheet{container:model-sheet / inline-size;position:fixed;overflow-y:auto;overscroll-behavior:contain;right:auto;left:calc(var(--th-vv-left, 0px) + var(--th-space-2) + env(safe-area-inset-left,0px));bottom:auto;top:calc(var(--th-vv-top, 0px) + var(--th-space-2) + env(safe-area-inset-top,0px));width:calc(var(--th-vv-width, 100%) - 2 * var(--th-space-2) - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-height:calc(var(--th-vh-unit, 1dvh) * 100 - var(--th-space-4) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));z-index:60;background:var(--th-surface-overlay);border-color:var(--th-border-overlay);box-shadow:var(--th-shadow-raised)}.th-model-picker-popover--sheet .th-model-picker-list>button{flex:none;min-height:var(--th-space-11)}@container model-sheet (max-width: 180px){.th-model-picker-current{flex-direction:column-reverse;align-items:flex-end}.th-model-picker-current>div{width:100%}.th-model-picker-current>div>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.th-model-picker-popover--dense{width:min(420px,calc(100vw - 16px))}.th-model-picker-popover--dense .th-model-picker-current,.th-model-picker-popover--dense .th-thinking-in-picker,.th-model-picker-popover--dense .th-model-picker-search,.th-model-picker-popover--dense .th-model-picker-list>button{padding:0 var(--th-space-2);font-size:var(--th-type-label-size);line-height:var(--th-type-label-line)}.th-model-picker-popover--dense .th-model-picker-current>div,.th-model-picker-popover--dense .th-model-picker-list>button,.th-model-picker-popover--dense .th-thinking-in-picker{flex-direction:row;align-items:center;gap:var(--th-space-2)}.th-model-picker-popover--dense .th-model-picker-current strong,.th-model-picker-popover--dense .th-model-picker-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-model-picker-popover--dense .th-model-picker-current span,.th-model-picker-popover--dense .th-model-picker-list span{flex:none;white-space:nowrap}.th-model-picker-popover--dense .th-model-picker-current .th-btn-icon{flex:none;width:24px;height:24px;min-height:0}.th-model-picker-popover--dense .th-thinking-in-picker select{flex:1;min-width:0;padding:0;border:0;background:var(--th-surface-raised);color:var(--th-text);font:inherit;font-size:var(--th-type-label-size);line-height:var(--th-type-label-line)}.th-model-picker-popover--dense .th-model-picker-list{padding-block:0}.th-chat-scrollport{position:relative;flex:1 1 auto;width:100%;min-width:0;min-height:var(--th-space-12);overflow:clip}.th-chat-body{width:100%;height:100%;min-width:0;min-height:0;padding:var(--th-space-5) 0;overflow-x:hidden;overflow-y:auto;overflow-anchor:none;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}.th-chat-body::-webkit-scrollbar{width:6px}.th-chat-body::-webkit-scrollbar-thumb{border-radius:3px;background:var(--th-border-strong)}.th-chat-content,.th-chat-history{width:100%;min-width:0}.th-chat-row,.th-chat-live{width:min(var(--th-chat-max),calc(100% + var(--th-chat-scrollbar) + var(--th-chat-scrollbar) - var(--th-chat-gutter) - var(--th-chat-gutter)));min-width:0;margin:0 auto}.th-chat-row{left:50%;display:flex;padding:var(--th-space-2) 0;margin:0;translate:-50% 0}.th-chat-row--turn-start{padding-top:var(--th-space-5)}.th-chat-row--user{justify-content:flex-end}.th-chat-row--assistant{justify-content:flex-start}.th-chat-notice{width:100%;max-width:100%}.th-chat-notice-content{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-notice-time{font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);color:var(--th-text-dim)}.th-notice-title{font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);font-weight:var(--th-weight-emphasize);overflow-wrap:anywhere}.th-notice-line{font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text-dim);overflow-wrap:anywhere;white-space:pre-wrap}.th-notice-status{display:flex;width:100%;max-width:100%;align-items:baseline;gap:var(--th-space-2);font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text-dim)}.th-notice-status-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.th-notice-status--warning{color:var(--th-warning)}.th-notice-status--error{color:var(--th-error)}.th-notice-summary{min-width:0}.th-notice-summary-toggle{cursor:pointer;font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);color:var(--th-text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.th-notice-summary[open] .th-notice-summary-toggle{white-space:normal;overflow-wrap:anywhere}.th-notice-summary-full{display:block;margin-top:var(--th-space-1);white-space:pre-wrap}.th-chat-live{display:flex;flex-direction:column;gap:var(--th-space-2);padding:var(--th-space-2) 0}.th-chat-msg{width:100%;min-width:0;max-width:80%;padding:var(--th-space-2) var(--th-space-3);overflow-wrap:anywhere;color:var(--th-text);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);font-weight:var(--th-weight-read);white-space:pre-wrap;word-break:break-word}.th-chat-msg>span{max-width:min(68ch,100%);overflow-wrap:anywhere}.th-chat-msg--user{border:1px solid var(--th-border-user);border-radius:var(--th-radius-lg) var(--th-radius-lg) 4px var(--th-radius-lg);background:var(--th-surface-user);box-shadow:var(--th-shadow-raised)}.th-chat-msg--assistant,.th-chat-msg--toolResult,.th-chat-msg--bashExecution,.th-chat-msg--custom,.th-chat-msg--streaming{max-width:100%;padding:0;border:0;border-radius:0;background:transparent}.th-chat-msg--assistant,.th-chat-msg--toolResult,.th-chat-msg--bashExecution,.th-chat-msg--custom{display:flex;flex-direction:column;gap:var(--th-space-2)}.th-chat-msg--assistant>.th-chat-markdown+.th-chat-markdown{margin-top:var(--th-space-1)}.th-chat-msg--streaming{max-width:min(68ch,100%)}.th-chat-msg--streaming:after{content:"▍";color:var(--th-text-dim)}.th-chat-thinking{max-width:100%;padding:var(--th-space-0-5) 0 var(--th-space-0-5) var(--th-space-3);border:0;border-left:1px solid var(--th-border);background:transparent;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-chat-thinking summary{color:var(--th-text-dim);font-weight:var(--th-weight-emphasize);cursor:pointer}@media(pointer:coarse){.th-chat-thinking summary{min-height:var(--th-space-6);padding-block:var(--th-space-1)}}.th-chat-thinking pre{max-height:200px;margin-top:var(--th-space-1);overflow:auto;font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);color:var(--th-faint);overflow-wrap:anywhere;white-space:pre-wrap}.th-chat-done{padding:var(--th-space-0-5) 0;color:var(--th-muted);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-chat-error{color:var(--th-error);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);overflow-wrap:anywhere;white-space:pre-wrap;-webkit-user-select:text;user-select:text}.th-chat-turn-error{margin-top:var(--th-space-1)}.th-chat-scroll-bottom{position:absolute;right:max(var(--th-chat-gutter),calc((100% - var(--th-chat-max)) / 2 + 8px));bottom:16px;z-index:12;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--th-border-raised);border-radius:50%;background:var(--th-surface-raised);box-shadow:var(--th-shadow-raised);color:var(--th-text);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-chat-markdown{white-space:normal}.th-chat-markdown>:first-child{margin-top:0}.th-chat-markdown>:last-child{margin-bottom:0}.th-chat-markdown p{margin:0 0 var(--th-space-3);line-height:var(--th-type-body-line);overflow-wrap:anywhere}.th-chat-markdown h1,.th-chat-markdown h2,.th-chat-markdown h3,.th-chat-markdown h4,.th-chat-markdown h5,.th-chat-markdown h6{margin:var(--th-space-4) 0 var(--th-space-2);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);font-weight:var(--th-weight-announce)}.th-chat-markdown h1{font-size:var(--th-type-title-size);line-height:var(--th-type-title-line);letter-spacing:var(--th-type-title-tracking)}.th-chat-markdown ul,.th-chat-markdown ol{margin:0 0 var(--th-space-3);padding-left:var(--th-space-6)}.th-chat-markdown li{margin:var(--th-space-1) 0}.th-chat-markdown pre{margin:0 0 var(--th-space-3);padding:var(--th-space-2) var(--th-space-3);overflow-x:auto;border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface)}.th-chat-markdown pre code{padding:0;border:0;background:transparent;font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);white-space:pre}.th-chat-markdown code{padding:0 var(--th-space-1);border-radius:calc(var(--th-radius-sm) - 2px);background:var(--th-hover);font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking)}.th-chat-markdown blockquote{margin:0 0 var(--th-space-3);padding:var(--th-space-1) 0 var(--th-space-1) var(--th-space-4);border-left:3px solid var(--th-border);color:var(--th-muted)}.th-chat-markdown a{color:var(--th-accent);text-decoration:underline;text-underline-offset:2px}.th-chat-markdown hr{margin:var(--th-space-4) 0;border:0;border-top:1px solid var(--th-border)}.th-chat-markdown table{margin:0 0 var(--th-space-3);border-collapse:collapse;width:100%;font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking)}.th-chat-markdown th,.th-chat-markdown td{padding:var(--th-space-1) var(--th-space-2);border:1px solid var(--th-border);text-align:left;vertical-align:top}.th-chat-markdown th{background:var(--th-hover);font-weight:var(--th-weight-emphasize)}.th-chat-markdown tr:nth-child(2n) td{background:var(--th-surface)}.th-chat-markdown input[type=checkbox]{margin-inline-end:var(--th-space-2)}.th-chat-msg--steer{display:flex;gap:var(--th-space-1);align-items:baseline;padding:var(--th-space-1) var(--th-space-2);border-left:2px solid var(--th-border);color:var(--th-muted);font-weight:var(--th-weight-read);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);font-style:italic}.th-chat-steer-mark{flex:none;font-weight:var(--th-weight-emphasize)}.th-chat-steer-text{min-width:0;overflow-wrap:anywhere}.th-chat-image-button{display:block;max-width:100%;padding:0;border:0;background:none;cursor:zoom-in}.th-chat-image{display:block;max-width:100%;max-height:320px;margin-block-start:var(--th-space-2);border:1px solid var(--th-border);border-radius:var(--th-radius);background:var(--th-surface);object-fit:contain}.th-chat-image-unavailable{display:flex;flex-direction:column;gap:var(--th-space-1);margin-block-start:var(--th-space-2);padding:var(--th-space-3);border:1px dashed var(--th-border-strong);border-radius:var(--th-radius);color:var(--th-muted);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking)}.th-chat-image-pending{width:96px;height:64px}.th-chat-image-meta{font-family:var(--th-font-mono);color:var(--th-text-dim)}.th-chat-input{flex:none;display:flex;flex-direction:column;width:100%;min-width:0;padding:var(--th-space-3) 0 var(--th-space-1);background:var(--th-bg)}@media(hover:hover)and (pointer:fine){.th-chat-input{padding-bottom:var(--th-space-4)}}.th-chat-input-inner{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--th-space-1);width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));min-width:0;margin:0 auto;padding:var(--th-space-1);border:1px solid var(--th-border);border-color:var(--th-border-surface);border-radius:26px;background:var(--th-surface-composer);box-shadow:var(--th-shadow-surface);transition:border-color var(--th-dur-fast) var(--th-ease),box-shadow var(--th-dur-fast) var(--th-ease)}.th-chat-input-inner:focus-within{border-color:var(--th-border-strong);box-shadow:0 0 0 3px var(--th-ring)}.th-chat-input textarea{flex:1 1 0;min-width:0;min-height:36px;max-height:min(160px,max(44px,calc(100cqh - 200px)));padding:var(--th-space-2) var(--th-space-0-5);resize:none;overflow-y:auto;border:0;background:transparent;color:var(--th-text);font:inherit;font-size:var(--th-type-input-size);line-height:var(--th-type-input-line);letter-spacing:var(--th-type-input-tracking)}.th-chat-input textarea:focus{outline:none}.th-chat-input textarea::placeholder{color:var(--th-muted)}.th-chat-input .th-chat-send-btn{flex:none;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--th-send);color:var(--th-send-fg)}.th-chat-input .th-chat-send-btn:hover:not(:disabled):not(.th-btn--danger){background:var(--th-send-hover)}.th-chat-input .th-btn--danger{background:var(--th-error);color:var(--th-error-fg)}.th-chat-input .th-chat-steer-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--th-send);color:var(--th-send-fg)}.th-chat-input .th-chat-steer-btn:hover:not(:disabled){background:var(--th-send-hover)}.th-chat-input .th-chat-steer-btn:disabled,.th-chat-input .th-chat-steer-btn:disabled:hover{background:var(--th-disabled-bg);color:var(--th-disabled-fg);cursor:not-allowed}.th-chat-send-label{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);border:0;white-space:nowrap}.th-chat-attach-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--th-muted);transition:background var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}.th-chat-attach-btn:hover:not(:disabled){background:var(--th-hover);color:var(--th-text)}.th-chat-attach-btn:disabled,.th-chat-attach-btn:disabled:hover{background:var(--th-disabled-bg);color:var(--th-disabled-fg);cursor:not-allowed}.th-chat-attach-wrap{flex:none;display:inline-flex}.th-chat-attach-chip{align-self:center;display:inline-flex;align-items:center;gap:var(--th-space-1);min-width:0;max-width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));height:32px;margin-bottom:var(--th-space-1);padding:var(--th-space-0-5) var(--th-space-1) var(--th-space-0-5) var(--th-space-0-5);border:1px solid var(--th-border);border-radius:var(--th-radius);background:var(--th-surface-raised)}.th-chat-attach-thumb{flex:none;width:24px;height:24px;object-fit:cover;border-radius:calc(var(--th-radius-sm) - 2px)}.th-chat-attach-name{flex:1 1 auto;min-width:0;overflow:hidden;color:var(--th-text);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);text-overflow:ellipsis;white-space:nowrap}.th-chat-attach-remove{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:calc(var(--th-radius-sm) - 2px);background:transparent;color:var(--th-muted)}.th-chat-attach-remove:hover{background:var(--th-hover);color:var(--th-text)}.th-chat-input--dragover{background:var(--th-hover)}.th-chat-input--dragover .th-chat-input-inner{outline:2px dashed var(--th-border-strong);outline-offset:2px}.th-chat-drop-hint{position:absolute;bottom:calc(100% + 4px);left:0;right:0;text-align:center;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-chat-queued{flex:none;width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));margin:0 auto var(--th-space-1);overflow:hidden;color:var(--th-accent);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);text-overflow:ellipsis;white-space:nowrap}.th-chat-slash{position:absolute;right:0;bottom:calc(100% + 8px);left:0;z-index:20;max-height:min(240px,40dvh);margin:0;padding:var(--th-space-1);overflow-y:auto;border:1px solid var(--th-border-raised);border-radius:var(--th-radius-sm);background:var(--th-surface-raised);box-shadow:var(--th-shadow-raised);list-style:none}.th-chat-slash>button{display:block;width:100%;min-height:44px;padding:var(--th-space-2) var(--th-space-2);overflow:hidden;border:0;border-radius:var(--th-radius-sm);background:transparent;color:var(--th-text);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-align:left;text-overflow:ellipsis;white-space:nowrap}.th-chat-slash>button:hover,.th-chat-slash>button[aria-selected=true]{background:var(--th-hover)}.th-chat-slash strong{color:var(--th-accent);font-family:var(--th-font-mono)}.th-chat-slash span{color:var(--th-muted)}.th-chat-files strong{color:var(--th-text)}.th-chat-files-path{margin-left:var(--th-space-2);color:var(--th-muted);font-family:var(--th-font-mono);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);text-align:left;direction:ltr}.th-chat-files-status{padding:var(--th-space-2) var(--th-space-2);color:var(--th-muted);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking)}.th-chat-files>button>svg{flex:none;vertical-align:middle;margin-right:var(--th-space-0-5);color:var(--th-muted)}.th-chat-files-up{display:inline-block;width:13px;margin-right:var(--th-space-0-5);text-align:center;vertical-align:middle;color:var(--th-muted);font-weight:var(--th-weight-emphasize)}.th-chat-files-capped{padding:var(--th-space-1) var(--th-space-2);color:var(--th-muted);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);border-top:1px solid var(--th-border)}@container chat-pane (max-width: 420px){.th-chat-input{padding-top:var(--th-space-2)}.th-chat-input-inner{padding:var(--th-space-1)}.th-chat-attach-btn,.th-chat-input .th-chat-send-btn,.th-chat-input .th-chat-steer-btn{width:44px;height:44px}.th-chat-input textarea{min-height:44px;padding:var(--th-space-3) var(--th-space-0-5)}.th-chat-attach-name{display:none}}html:not([data-th-keyboard-open]) .th-chat-input:after{content:"";flex:none;height:max(0px,calc(env(safe-area-inset-bottom) - var(--th-space-1)))}html[data-th-standalone]:not([data-th-keyboard-open]) .th-chat-input:after{height:max(0px,calc(env(safe-area-inset-bottom) - max(0px,100lvh - var(--th-vv-top, 0px) - var(--th-vh-unit, 1vh) * 100) - var(--th-space-1)))}@media(hover:hover)and (pointer:fine){html:not([data-th-keyboard-open]) .th-chat-input:after{height:max(0px,calc(env(safe-area-inset-bottom) - var(--th-space-4)))}html[data-th-standalone]:not([data-th-keyboard-open]) .th-chat-input:after{height:max(0px,calc(env(safe-area-inset-bottom) - max(0px,100lvh - var(--th-vv-top, 0px) - var(--th-vh-unit, 1vh) * 100) - var(--th-space-4)))}}.th-tool{width:100%;max-width:100%;min-width:0;overflow:hidden;border:1px solid var(--th-tool-border);border-radius:var(--th-radius-sm);background:var(--th-tool-surface)}.th-tool-head{display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:100%;min-width:0;min-height:var(--th-space-12);gap:var(--th-space-0-5);padding:var(--th-space-2) var(--th-space-3);overflow:hidden;border:0;background:transparent;color:var(--th-text-dim);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);text-align:left;cursor:pointer;transition:background var(--th-dur-fast) var(--th-ease)}.th-tool-head:hover{background:var(--th-hover)}.th-tool-head:focus-visible{outline-offset:-2px}.th-tool-line{display:flex;align-items:center;gap:var(--th-space-2);min-width:0}.th-tool-chevron{display:inline-flex;flex:none;color:var(--th-faint);transition:transform var(--th-dur) var(--th-ease)}.th-tool-chevron--open{transform:rotate(90deg)}.th-tool-glyph{display:inline-flex;flex:none;align-items:center;justify-content:center;width:12px;height:12px}.th-tool-glyph--running{border:1.5px solid var(--th-warning);border-top-color:transparent;border-radius:50%;animation:th-tool-spin .7s linear infinite}.th-tool-glyph--ok{color:var(--th-success)}.th-tool-glyph--error{color:var(--th-error);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:1}@keyframes th-tool-spin{to{transform:rotate(360deg)}}.th-tool-name{flex:0 1 auto;min-width:0;overflow:hidden;color:var(--th-text-dim);text-overflow:ellipsis;white-space:nowrap}.th-tool-status{flex:none;margin-left:auto;font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);white-space:nowrap}.th-tool-status--running{color:var(--th-warning)}.th-tool-status--ok{color:var(--th-success)}.th-tool-status--error{color:var(--th-error)}.th-tool-summary{display:flex;align-items:baseline;min-width:0;overflow:hidden;color:var(--th-muted);font-family:var(--th-font-mono);white-space:nowrap}.th-tool-cmd{flex:0 0 auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-tool-sep{flex:none;color:var(--th-faint)}.th-tool-preview{flex:0 1 auto;min-width:0;overflow:hidden;font-size:var(--th-type-label-size);text-overflow:ellipsis;white-space:nowrap}.th-tool-body{display:flex;flex-direction:column;width:100%;max-width:100%;min-width:0;gap:var(--th-space-3);padding:var(--th-space-3);border-top:1px solid var(--th-border);background:var(--th-bg);color:var(--th-text-dim);font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.th-tool-section{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-tool-caption{color:var(--th-faint);font-family:var(--th-font-sans);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-tool-io{min-width:0;color:var(--th-text-dim);font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);white-space:pre-wrap;overflow-wrap:anywhere}.th-tool-output{max-height:min(360px,45dvh);overflow:auto}.th-approval-message{margin-bottom:var(--th-space-3);color:var(--th-text-dim);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);letter-spacing:var(--th-type-body-tracking);white-space:pre-wrap;overflow-wrap:anywhere}.th-approval-options{display:flex;flex-wrap:wrap;gap:var(--th-space-2)}.th-approval-options .th-btn{min-width:0;max-width:100%;height:auto;min-height:34px;overflow-wrap:anywhere;text-align:left;padding:var(--th-space-2) var(--th-space-3);background:var(--th-accent);color:var(--th-accent-fg)}.th-approval-options .th-btn--ghost{border:1px solid var(--th-border);background:transparent;color:var(--th-text-dim)}.th-approval-form{display:flex;gap:var(--th-space-2)}.th-approval-input{flex:1;min-width:0;min-height:44px;padding:var(--th-space-2) var(--th-space-3);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-bg);color:var(--th-text);font-size:var(--th-type-input-size);line-height:var(--th-type-input-line);letter-spacing:var(--th-type-input-tracking)}.th-approval-editor{min-height:112px;resize:vertical}.th-approval-input:focus{border-color:var(--th-border-strong)}@media(max-width:420px){.th-approval-form{flex-wrap:wrap}.th-approval-input{flex-basis:100%}}.th-approval-question{display:flex;flex-direction:column;gap:var(--th-space-2);min-width:0}.th-question-draft-notice{flex:none;min-width:0;color:var(--th-warning);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);overflow-wrap:anywhere}.th-question-draft-notice:not(:empty){padding:var(--th-space-1) var(--th-space-2)}.th-approval-question-tabs{display:flex;gap:var(--th-space-1);overflow-x:auto;border-bottom:1px solid var(--th-border);position:sticky;top:0;background:var(--th-surface-overlay)}.th-approval-question-tab{flex:none;padding:var(--th-space-1) var(--th-space-2);border:0;border-bottom:2px solid transparent;background:none;color:var(--th-muted);font:inherit;cursor:pointer}.th-approval-question-tab:hover{color:var(--th-text)}.th-approval-question-tab[aria-selected=true]{border-bottom-color:var(--th-accent);color:var(--th-text);font-weight:var(--th-weight-emphasize)}.th-approval-question-panel{display:flex;flex-direction:column;gap:var(--th-space-2);min-width:0}.th-approval-question-text-prompt{margin:0;color:var(--th-text-dim);font-size:var(--th-type-body-size);line-height:var(--th-type-body-line);overflow-wrap:anywhere}.th-approval-question-options{display:flex;flex-direction:column;gap:var(--th-space-1)}.th-approval-question-option{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0;padding:var(--th-space-2) var(--th-space-3);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-bg);color:var(--th-text);font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer}.th-approval-question-option:hover{background:var(--th-hover)}.th-approval-question-option[aria-pressed=true]{border-color:var(--th-accent);background:var(--th-surface)}.th-approval-question-option-label{font-weight:var(--th-weight-emphasize)}.th-approval-question-option-description{color:var(--th-text-dim);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line)}.th-approval-question-text,.th-approval-question-comment{flex:none;min-height:0}.th-approval-question-comment-group{display:flex;flex-direction:column;gap:var(--th-space-1);padding-top:var(--th-space-2);border-top:1px solid var(--th-border)}.th-approval-question-comment-label{color:var(--th-text-dim);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-approval-question-unanswered{flex:1 1 auto;min-width:0;align-self:center;color:var(--th-muted);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-approval-question-actions{display:flex;gap:var(--th-space-2);padding:var(--th-space-1) 0;position:sticky;bottom:0;background:var(--th-surface-overlay)}.th-approval-question-actions .th-btn{min-width:0;max-width:100%;height:auto;min-height:34px;padding:var(--th-space-2) var(--th-space-3);background:var(--th-accent);color:var(--th-accent-fg)}.th-approval-question-actions .th-btn--ghost{border:1px solid var(--th-border);background:transparent;color:var(--th-text-dim)}.th-approval-fallback-note{margin:0 0 var(--th-space-2);color:var(--th-warning);font-size:var(--th-type-micro-size);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);overflow-wrap:anywhere}.th-question-window{flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column}.th-question-window-head{flex:none;display:flex;align-items:center;gap:var(--th-space-2);padding:var(--th-space-5) calc(var(--th-space-5) + var(--th-space-11)) var(--th-space-3) var(--th-space-5)}.th-question-window-title{flex:1 1 auto;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--th-type-title-size);font-weight:var(--th-weight-announce);line-height:var(--th-type-title-line);letter-spacing:var(--th-type-title-tracking)}.th-question-window-countdown{flex:none;padding:0 var(--th-space-1);border:1px solid var(--th-border-raised);border-radius:var(--th-radius-pill);color:var(--th-warning);font-family:var(--th-font-mono);font-variant-numeric:tabular-nums}.th-question-window-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:0 var(--th-space-5) 0;scroll-padding-bottom:calc(34px + var(--th-space-2) + var(--th-space-4))}.th-question-window-body .th-approval-question-actions{margin-left:calc(-1 * var(--th-space-5));margin-right:calc(-1 * var(--th-space-5));padding:var(--th-space-2) var(--th-space-5) var(--th-space-4);border-top:1px solid var(--th-border-overlay);background:var(--th-surface-overlay)}.th-question-band{flex:none;display:flex;align-items:center;gap:var(--th-space-2);width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));margin:var(--th-space-1) auto 0;padding:var(--th-space-1) var(--th-space-2);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface);font-size:var(--th-type-micro-size);white-space:nowrap}.th-question-band-title{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--th-text-dim);font-weight:var(--th-weight-emphasize);letter-spacing:var(--th-type-micro-tracking)}.th-question-band-count{flex:none;color:var(--th-muted);letter-spacing:var(--th-type-micro-tracking)}.th-question-band-open{flex:none;margin-left:auto}.th-question-bar{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:var(--th-space-1) var(--th-space-2);width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));margin:var(--th-space-1) auto 0;padding:var(--th-space-1) var(--th-space-2);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface);font-size:var(--th-type-micro-size)}.th-question-bar-text{flex:1 1 auto;min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--th-text-dim);font-weight:var(--th-weight-emphasize);letter-spacing:var(--th-type-micro-tracking)}.th-question-bar-actions{flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:var(--th-space-1);margin-left:auto}.th-question-bar-options{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:var(--th-space-1);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--th-border) transparent}.th-question-bar-options::-webkit-scrollbar{height:var(--th-space-1)}.th-question-bar-options::-webkit-scrollbar-thumb{background:var(--th-border);border-radius:var(--th-radius-sm)}.th-question-bar-options .th-btn,.th-question-bar-send{flex:none}.th-question-bar-form{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:var(--th-space-1);margin-left:auto}.th-question-bar-input{flex:1 1 auto;min-width:0}.th-activity-shelf{display:flex;flex:0 1 auto;flex-direction:column;width:min(var(--th-chat-max),calc(100% - var(--th-chat-gutter) - var(--th-chat-gutter)));min-width:0;min-height:calc(var(--th-type-label-size) * var(--th-type-label-line) + var(--th-space-0-5) + var(--th-space-0-5) + 2px);overflow:hidden;margin:var(--th-space-2) auto 0}.th-activity-shelf .th-activity-tabs{flex:none}.th-activity-shelf[data-expanded=true]{min-height:calc(var(--th-type-label-size) * var(--th-type-label-line) + var(--th-space-0-5) + var(--th-space-0-5) + 2px + 10px + var(--th-space-0-5) + var(--th-space-1) + var(--th-space-2) + var(--th-space-2) + 2px)}.th-activity-bar-row{display:flex;align-items:stretch;gap:var(--th-space-1)}.th-activity-bar{display:flex;align-items:center;gap:var(--th-space-2);flex:1 1 auto;min-width:0;padding:var(--th-space-1) var(--th-space-2);overflow:hidden;border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface);color:var(--th-text-dim);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-align:left}button.th-activity-bar{cursor:pointer;transition:background-color var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}button.th-activity-bar:hover{border-color:var(--th-border-strong);background:var(--th-hover);color:var(--th-text)}.th-activity-bar-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th-activity-bar-seg{white-space:nowrap}.th-activity-bar-sep{color:var(--th-faint)}.th-activity-caret{flex:none;color:var(--th-muted);transition:transform var(--th-dur-fast) var(--th-ease)}.th-activity-caret--open{transform:rotate(90deg)}.th-activity-tabs{display:flex;flex:none;gap:var(--th-space-1)}.th-activity-tab{display:flex;align-items:baseline;justify-content:center;gap:var(--th-space-1);flex:1 1 0;min-width:0;padding:var(--th-space-0-5) var(--th-space-1);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:transparent;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);cursor:pointer;transition:background-color var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}.th-activity-tab:hover{background:var(--th-hover);color:var(--th-text-dim)}.th-activity-tab:focus-visible{outline-offset:-2px}@media(pointer:coarse){.th-activity-tab{min-height:var(--th-space-8);align-items:center}}.th-activity-tab[aria-selected=true]{border-color:var(--th-border-strong);background:var(--th-hover);color:var(--th-text)}.th-activity-tab-label{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.th-activity-tab-count{flex:none;color:var(--th-muted);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);font-variant-numeric:tabular-nums;white-space:nowrap}.th-activity-tab[aria-selected=true] .th-activity-tab-count{color:var(--th-text-dim)}.th-activity-tabpanel{display:flex;flex-direction:column;gap:var(--th-space-2);flex:1 1 auto;min-height:0;margin:0;overflow:auto}.th-activity-tabpanel[hidden]{display:none}.th-activity-empty{margin:0;padding:var(--th-space-3) var(--th-space-2);color:var(--th-muted);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-align:center}.th-activity-panel{position:relative;display:flex;flex-direction:column;gap:var(--th-space-2);min-height:0;max-height:280px;padding:var(--th-space-2);overflow:hidden;border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface)}.th-activity-panel--sized{max-height:60vh}.th-activity-panel--resizing{transition:none}.th-activity-resize{display:flex;flex:none;align-items:center;justify-content:center;width:100%;height:10px;margin:var(--th-space-0-5) auto var(--th-space-1);cursor:row-resize;touch-action:none;transition:background-color var(--th-dur-fast) var(--th-ease)}.th-activity-resize:after{content:"";flex:none;width:36px;height:2px;border-radius:999px;background:var(--th-border-strong);transition:background-color var(--th-dur-fast) var(--th-ease)}.th-activity-resize:hover:after{background:var(--th-text-dim)}.th-activity-resize:active:after{background:var(--th-text)}.th-activity-section{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-activity-section-head{display:flex;align-items:baseline;gap:var(--th-space-2);min-width:0}.th-activity-section-counts{flex:none;margin-left:auto;color:var(--th-muted);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);font-variant-numeric:tabular-nums;white-space:nowrap}.th-activity-section-title{color:var(--th-muted);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase}.th-activity-chip{flex:none;padding:0 var(--th-space-1);border-radius:999px;font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);text-transform:uppercase;white-space:nowrap}.th-activity-chip--running{background:var(--th-warning-bg);color:var(--th-warning)}.th-activity-chip--ok{background:color-mix(in srgb,var(--th-success) 12%,transparent);color:var(--th-success)}.th-activity-chip--error{background:var(--th-error-bg);color:var(--th-error)}.th-activity-chip--muted{background:var(--th-hover);color:var(--th-muted)}.th-activity-agents{display:flex;flex-direction:column;gap:var(--th-space-0-5);margin:0;padding:0;list-style:none}.th-activity-agent{display:flex;align-items:center;gap:var(--th-space-2);min-width:0;padding:var(--th-space-0-5) var(--th-space-1);border-radius:var(--th-radius-sm);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking)}.th-activity-agent-name{flex:0 1 auto;min-width:0;max-width:40%;overflow:hidden;color:var(--th-text);font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-overflow:ellipsis;white-space:nowrap}.th-activity-agent-tool{flex:0 1 auto;min-width:0;overflow:hidden;color:var(--th-muted);font-family:var(--th-font-mono);text-overflow:ellipsis;white-space:nowrap}.th-activity-agent-lastline{flex:1 1 auto;min-width:0;overflow:hidden;color:var(--th-text-dim);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-overflow:ellipsis;white-space:nowrap}.th-activity-agent-meta{flex:none;color:var(--th-muted);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);font-variant-numeric:tabular-nums;white-space:nowrap}.th-activity-stale-note{flex:none;color:var(--th-warning);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);white-space:nowrap}.th-activity-severed{background:var(--th-error-bg)}.th-activity-severed-note{flex:none;color:var(--th-error);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);white-space:nowrap}.th-activity-severed-note:before{content:"";display:inline-block;width:var(--th-space-1);height:var(--th-space-1);margin-right:var(--th-space-1);border-radius:999px;background:var(--th-error);animation:th-activity-severed-pulse calc(var(--th-dur-slow) * 4) var(--th-ease) infinite alternate}@keyframes th-activity-severed-pulse{0%{opacity:1}to{opacity:.25}}.th-activity-dag-complete{min-width:0}.th-activity-dag-picker,.th-activity-dag-picker label{display:flex;align-items:center;gap:var(--th-space-2);min-width:0}.th-activity-dag-picker label{flex:1;color:var(--th-text-dim);font-size:var(--th-type-label-size);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-activity-dag-picker select{flex:1;min-width:0;max-width:100%;padding:var(--th-space-1);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:var(--th-surface-raised);color:var(--th-text);font:inherit}.th-activity-dag-freshness,.th-activity-dag-details{margin:var(--th-space-1) 0;color:var(--th-text-dim);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);overflow-wrap:anywhere}.th-activity-dag-freshness[role=alert]{color:var(--th-warning)}.th-activity-dag-sentinel{min-height:1px}.th-activity-dag-details summary{cursor:pointer;padding:var(--th-space-1) 0}.th-activity-dag-details dd{margin-inline-start:var(--th-space-2);font-family:var(--th-font-mono)}.th-activity-dag-state-counts{display:flex;flex-wrap:wrap;gap:var(--th-space-2)}.th-activity-dag-node-detail{border-top:1px solid var(--th-border)}.th-activity-dag-prompt{white-space:pre-wrap;overflow-wrap:anywhere}.th-activity-dag-complete>.th-activity-dag-toolbar{margin-bottom:var(--th-space-3)}.th-activity-dag-toolbar{display:flex;flex:none;align-items:center;justify-content:flex-end;gap:var(--th-space-2)}.th-activity-view{display:flex;gap:var(--th-space-1);margin-left:auto}.th-activity-view-btn{padding:var(--th-space-0-5) var(--th-space-2);border:1px solid var(--th-border);border-radius:var(--th-radius-sm);background:transparent;color:var(--th-muted);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking);cursor:pointer;transition:background-color var(--th-dur-fast) var(--th-ease),border-color var(--th-dur-fast) var(--th-ease),color var(--th-dur-fast) var(--th-ease)}.th-activity-view-btn:hover{background:var(--th-hover);color:var(--th-text-dim)}.th-activity-view-btn[aria-pressed=true]{border-color:var(--th-border-strong);background:var(--th-hover);color:var(--th-text)}.th-activity-dag{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-activity-dag-head{display:flex;align-items:center;gap:var(--th-space-2);min-width:0}.th-activity-dag-name{flex:0 1 auto;min-width:0;overflow:hidden;color:var(--th-text);font-family:var(--th-font-mono);font-weight:var(--th-weight-emphasize);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-overflow:ellipsis;white-space:nowrap}.th-activity-dag-counts{flex:none;color:var(--th-muted);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking);font-variant-numeric:tabular-nums;white-space:nowrap}.th-activity-dagnodes{display:flex;flex-direction:column;gap:var(--th-space-0-5);margin:0;padding:0;list-style:none}.th-activity-dnode{display:flex;align-items:center;gap:var(--th-space-2);min-width:0;padding:var(--th-space-0-5) var(--th-space-1);border-radius:var(--th-radius-sm)}.th-activity-dnode-label{flex:1 1 auto;min-width:0;overflow:hidden;color:var(--th-text-dim);font-family:var(--th-font-mono);font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking);text-overflow:ellipsis;white-space:nowrap}.th-activity-graph{overflow-x:auto}.th-activity-graph svg{display:block}.th-activity-gedge{stroke:var(--th-border-strong);stroke-width:1}.th-activity-gedge-head{fill:var(--th-border-strong);stroke:none}.th-activity-gedge--fulfilled{stroke:var(--th-success)}.th-activity-gedge-head--fulfilled{fill:var(--th-success)}@keyframes th-dag-edge-flow{0%{stroke-dashoffset:0}to{stroke-dashoffset:-12}}@media(prefers-reduced-motion:no-preference){.th-activity-gedge--flow{stroke-width:3;stroke-dasharray:8 4;animation:th-dag-edge-flow 1.2s linear infinite}}.th-activity-gnode rect{fill:var(--th-bg);stroke:var(--th-border)}.th-activity-glabel,.th-activity-gstate,.th-activity-gstatus{fill:var(--th-text-dim);font-family:var(--th-font-mono);font-size:var(--th-type-micro-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-micro-line);letter-spacing:var(--th-type-micro-tracking)}.th-activity-gstate{fill:var(--th-muted)}.th-activity-gnode--ok rect{stroke:var(--th-success)}.th-activity-gnode--ok .th-activity-glabel{fill:var(--th-text)}.th-activity-gnode--running rect{stroke:var(--th-warning)}.th-activity-gnode--running .th-activity-glabel{fill:var(--th-text)}.th-activity-gnode--error rect{stroke:var(--th-error)}.th-activity-gnode--error .th-activity-glabel{fill:var(--th-text)}@keyframes th-dag-node-enter{0%{opacity:0}}@keyframes th-dag-node-settle{0%{opacity:.45}}.th-activity-gnode--enter{animation:th-dag-node-enter var(--th-dur-fast) var(--th-ease)}.th-activity-gnode--settle{animation:th-dag-node-settle var(--th-dur) var(--th-ease)}@keyframes th-dag-run-spin{to{transform:rotate(360deg)}}.th-activity-gstatus--running{fill:none;transform-box:fill-box;transform-origin:center;animation:th-dag-run-spin 1.2s linear infinite}.th-activity-phases{display:flex;flex-direction:column;gap:var(--th-space-2);margin:0;padding:0;list-style:none}.th-activity-phase{display:flex;flex-direction:column;gap:var(--th-space-1);min-width:0}.th-activity-phase-name{color:var(--th-text-dim);font-size:var(--th-type-label-size);font-weight:var(--th-weight-emphasize);line-height:var(--th-type-label-line);letter-spacing:var(--th-type-label-tracking)}.th-activity-phase ul{display:flex;flex-direction:column;gap:var(--th-space-0-5);margin:0;padding:0;list-style:none}.th-activity-todo-task{display:flex;align-items:baseline;gap:var(--th-space-1);min-width:0;font-size:var(--th-type-secondary-size);line-height:var(--th-type-secondary-line);letter-spacing:var(--th-type-secondary-tracking)}.th-activity-todo-marker{flex:none;color:var(--th-muted);font-family:var(--th-font-mono)}.th-activity-todo-text{min-width:0;color:var(--th-text-dim);overflow-wrap:anywhere}.th-activity-todo-task--in_progress .th-activity-todo-marker{color:var(--th-accent)}.th-activity-todo-task--in_progress .th-activity-todo-text{color:var(--th-text);font-weight:var(--th-weight-emphasize)}.th-activity-todo-task--completed .th-activity-todo-marker{color:var(--th-success)}.th-activity-todo-task--completed .th-activity-todo-text{color:var(--th-muted);text-decoration:line-through}.th-activity-todo-task--abandoned .th-activity-todo-marker{color:var(--th-error)}.th-activity-sr{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}@container chat-pane (max-width: 494px){.th-activity-agent-turns,.th-activity-agent-toolcalls{display:none}.th-activity-agent-name{max-width:55%}}.th-activity-panel[data-headless=true] .th-activity-section-head,.th-activity-panel[data-headless=true] .th-activity-dag-toolbar,.th-activity-panel[data-headless=true] .th-activity-section>.th-activity-section-title{display:none}
