.selection-toolbar-portal{position:fixed;z-index:9999;pointer-events:none}.selection-toolbar-portal>*{pointer-events:auto}.selection-toolbar{display:flex;align-items:center;gap:2px;background:#111;border-radius:10px;padding:3px;box-shadow:0 8px 30px #00000040,0 2px 8px #00000026;transform:translate(-50%) translateY(-8px);animation:sel-toolbar-in .18s cubic-bezier(.34,1.56,.64,1) both;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}@keyframes sel-toolbar-in{0%{opacity:0;transform:translate(-50%) translateY(4px) scale(.92)}to{opacity:1;transform:translate(-50%) translateY(-8px) scale(1)}}.sel-btn{display:flex;align-items:center;gap:5px;padding:6px 12px;border-radius:8px;border:none;background:transparent;color:#e4e4e7;font-size:12.5px;font-weight:500;cursor:pointer;transition:background .15s,color .15s;line-height:1;font-family:inherit}.sel-btn:hover{background:#ffffff21;color:#fff}.sel-btn--ask{color:#a78bfa}.sel-btn--ask:hover{background:#a78bfa26;color:#c4b5fd}.sel-divider{width:1px;height:18px;background:#ffffff1f;margin:0 1px}.ask-apollo-prompt{display:flex;flex-direction:column;background:#111;border-radius:14px;padding:8px;box-shadow:0 8px 30px #0000004d,0 2px 8px #0003;transform:translate(-50%) translateY(-8px);animation:sel-toolbar-in .18s cubic-bezier(.34,1.56,.64,1) both;min-width:320px;max-width:440px;width:-moz-max-content;width:max-content}.ask-apollo-prompt__context{display:flex;align-items:center;gap:6px;padding:4px 8px 6px;color:#a1a1aa;font-size:11px;line-height:1.3;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:6px}.ask-apollo-prompt__context-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px;color:#a78bfa;font-style:italic}.ask-apollo-prompt__input-row{display:flex;align-items:center;gap:6px}.ask-apollo-prompt__input{flex:1;background:#ffffff0f;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:7px 10px;color:#fff;font-size:13px;font-family:inherit;outline:none;transition:border-color .2s}.ask-apollo-prompt__input::-moz-placeholder{color:#71717a}.ask-apollo-prompt__input::placeholder{color:#71717a}.ask-apollo-prompt__input:focus{border-color:#a78bfa80}.ask-apollo-prompt__send{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;cursor:pointer;transition:opacity .15s,transform .15s;flex-shrink:0}.ask-apollo-prompt__send:hover{opacity:.9;transform:scale(1.04)}.ask-apollo-prompt__send:disabled{opacity:.4;cursor:not-allowed;transform:none}.ask-apollo-prompt__close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:none;background:transparent;color:#71717a;cursor:pointer;transition:background .15s,color .15s;flex-shrink:0}.ask-apollo-prompt__close:hover{background:#ffffff1a;color:#a1a1aa}.apollo-anchor{pointer-events:auto}.apollo-icon-btn{display:flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border:1.5px solid #ede9fe;cursor:pointer;transition:transform .15s,box-shadow .15s;padding:0;animation:icon-pop-in .25s cubic-bezier(.34,1.56,.64,1) both}.apollo-icon-btn:hover{transform:scale(1.2);box-shadow:0 2px 10px #8b5cf680}.apollo-icon-btn--pulse{animation:icon-pulse 1.2s ease-in-out infinite}@keyframes icon-pulse{0%,to{box-shadow:0 0 #8b5cf666}50%{box-shadow:0 0 0 6px #8b5cf600}}@keyframes icon-pop-in{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.apollo-popover-portal{z-index:9998;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 12px 40px #0000001f,0 4px 12px #0000000f;overflow:hidden;animation:popover-in .2s cubic-bezier(.34,1.4,.64,1) both;font-family:inherit}@keyframes popover-in{0%{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.apollo-popover__header{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #f3f4f6;background:#fafafa}.apollo-popover__header-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:linear-gradient(135deg,#ede9fe,#e0e7ff);color:#7c3aed;flex-shrink:0}.apollo-popover__q{flex:1;font-size:13px;font-weight:600;color:#374151;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.apollo-popover__close{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;border:none;background:transparent;color:#9ca3af;cursor:pointer;transition:background .12s,color .12s;flex-shrink:0}.apollo-popover__close:hover{background:#f3f4f6;color:#6b7280}.apollo-popover__ctx{margin:8px 14px 0;padding:6px 10px;font-size:11.5px;color:#6b7280;font-style:italic;background:#f9fafb;border-radius:6px;border-left:2.5px solid #a78bfa;max-height:52px;overflow-y:auto;line-height:1.45}.apollo-popover__body{padding:10px 14px 14px;font-size:13.5px;color:#374151;line-height:1.7;max-height:280px;overflow-y:auto}.apollo-popover__body::-webkit-scrollbar{width:4px}.apollo-popover__body::-webkit-scrollbar-track{background:transparent}.apollo-popover__body::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.apollo-popover__body p{margin-bottom:8px}.apollo-popover__body p:last-child{margin-bottom:0}.apollo-popover__body strong{font-weight:600}.apollo-popover__body ul,.apollo-popover__body ol{padding-left:18px;margin-bottom:8px}.apollo-popover__body li{margin-bottom:3px}.apollo-popover__body code{background:#f3f4f6;padding:1px 4px;border-radius:4px;font-size:12px}.apollo-popover__progress{height:2px;background:linear-gradient(90deg,#8b5cf6,#6366f1,#8b5cf6);background-size:200% 100%;animation:progress-slide 1.5s linear infinite}@keyframes progress-slide{0%{background-position:100% 0}to{background-position:-100% 0}}.apollo-loading{display:flex;align-items:center;gap:6px;padding:4px 0;color:#a78bfa;font-size:12px}.apollo-dots{display:flex;gap:3px}.apollo-dot{width:5px;height:5px;border-radius:50%;background:#a78bfa;animation:dot-pulse 1.2s ease-in-out infinite}.apollo-dot:nth-child(2){animation-delay:.15s}.apollo-dot:nth-child(3){animation-delay:.3s}@keyframes dot-pulse{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/fonts/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/fonts/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/fonts/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/fonts/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/fonts/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/fonts/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/fonts/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/fonts/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/fonts/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/fonts/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/fonts/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/fonts/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/fonts/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/fonts/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/fonts/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/fonts/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/fonts/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/fonts/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/fonts/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/fonts/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/fonts/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/fonts/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/fonts/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.25"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-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 .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;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;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.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}.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.presence-indicator{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1000;overflow:visible}.presence-avatars{position:fixed;top:16px;right:16px;display:flex;flex-direction:row-reverse;gap:8px;z-index:1001;pointer-events:auto}.presence-avatar{position:relative;width:36px;height:36px;border-radius:50%;border:2px solid;overflow:hidden;background:#fff;box-shadow:0 2px 8px #00000026;transition:transform .2s ease}.presence-avatar:hover{transform:scale(1.1);z-index:1002}.presence-avatar-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.presence-avatar-initial{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px}.presence-typing-indicator{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;border-radius:50%;border:2px solid white;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.presence-cursor{position:absolute;pointer-events:none;z-index:999;transform:translate(0);transition:left .15s ease-out,top .15s ease-out;will-change:left,top;filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}.presence-cursor-label{position:absolute;top:18px;left:10px;padding:3px 8px;border-radius:4px;color:#fff;font-size:11px;font-weight:500;white-space:nowrap;box-shadow:0 2px 4px #0003;pointer-events:none;line-height:1.3}.presence-cursor-pointer{width:16px;height:20px;position:relative}.presence-cursor-pointer svg{width:100%;height:100%;display:block}@media (max-width: 768px){.presence-avatars{top:8px;right:8px;gap:6px}.presence-avatar{width:32px;height:32px}.presence-cursor-label{font-size:11px;padding:3px 6px}}.notes-canvas-container{position:relative;width:100%;height:100%;overflow:hidden;background:#fafbfc}.notes-canvas-container.sketch-mode{cursor:crosshair}.notes-canvas-container .react-flow__background{background:#fafbfc}.notes-canvas-container .react-flow__minimap{background:#ffffffe6!important;border:1px solid #e8eaed!important;border-radius:8px!important;box-shadow:0 1px 4px #0000000f!important;overflow:hidden}.notes-canvas-container .react-flow__minimap-mask{fill:#6366f10d!important}.notes-canvas-container .react-flow__controls,.notes-canvas-container .react-flow__attribution{display:none!important}.notes-canvas-container .react-flow__edge-path{stroke:#cbd5e1;stroke-width:1.5}.notes-canvas-container .react-flow__edge:hover .react-flow__edge-path,.notes-canvas-container .react-flow__edge.selected .react-flow__edge-path{stroke:#6366f1;stroke-width:2}.notes-canvas-container .react-flow__connection-line{stroke:#6366f1;stroke-width:1.5}.notes-canvas-container .react-flow__node.selected{z-index:1000!important}.notes-canvas-container .node-placeholder{border-style:dashed!important;transform:scale(.97);transition:transform .2s ease,border-color .2s ease}.notes-canvas-container .node-placeholder:hover{transform:scale(1);border-color:#94a3b8}.drawing-layer{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5;pointer-events:none}.drawing-layer.active{pointer-events:auto;cursor:crosshair}.canvas-toolbar{position:absolute;bottom:16px;left:50%;transform:translate(-50%);z-index:50;display:flex;align-items:center;gap:1px;background:#ffffffeb;backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:4px;box-shadow:0 2px 12px #00000014,0 0 0 1px #ffffff80 inset;pointer-events:auto}.canvas-toolbar__group{display:flex;align-items:center;gap:1px}.canvas-toolbar__divider{width:1px;height:24px;background:#e2e8f0;margin:0 4px;flex-shrink:0}.canvas-toolbar__btn{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:8px;cursor:pointer;color:#64748b;transition:all .12s ease;padding:0;position:relative}.canvas-toolbar__btn:hover{background:#f1f5f9;color:#334155}.canvas-toolbar__btn--active{background:#6366f1;color:#fff}.canvas-toolbar__btn--active:hover{background:#4f46e5;color:#fff}.canvas-toolbar__btn:disabled{opacity:.35;cursor:not-allowed}.canvas-toolbar__btn:disabled:hover{background:transparent}.canvas-toolbar__btn:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#1e293b;color:#fff;font-size:11px;font-weight:500;padding:4px 8px;border-radius:6px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s ease;z-index:100}.canvas-toolbar__btn:hover:after{opacity:1}.canvas-toolbar__search{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);background:#fffffff2;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid #e2e8f0;border-radius:10px;padding:8px 12px;box-shadow:0 4px 16px #0000001a;display:flex;align-items:center;gap:8px;min-width:280px}.canvas-toolbar__search input{flex:1;border:none;outline:none;font-size:13px;color:#1e293b;background:transparent;font-family:inherit}.canvas-toolbar__search input::-moz-placeholder{color:#94a3b8}.canvas-toolbar__search input::placeholder{color:#94a3b8}.canvas-toolbar__search-close{background:transparent;border:none;cursor:pointer;color:#94a3b8;padding:2px;display:flex;align-items:center;border-radius:4px;transition:all .12s ease}.canvas-toolbar__search-close:hover{color:#475569;background:#f1f5f9}.canvas-privacy-badge{position:absolute;top:12px;right:12px;z-index:10;display:flex;align-items:center;gap:4px;padding:4px 10px;background:#fffc;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(0,0,0,.06);border-radius:6px;font-size:11px;color:#94a3b8;font-weight:500;pointer-events:none}.canvas-conflict{position:absolute;top:12px;left:50%;transform:translate(-50%);z-index:20;display:flex;align-items:center;gap:6px;padding:6px 12px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;font-size:12px;color:#92400e;box-shadow:0 2px 8px #0000000d}.canvas-conflict__dismiss{background:transparent;border:none;cursor:pointer;color:#b45309;font-size:11px;text-decoration:underline;padding:0;font-weight:500}.canvas-conflict__dismiss:hover{color:#78350f}.canvas-view-only{position:absolute;top:12px;left:12px;z-index:10;display:flex;align-items:center;gap:4px;padding:4px 10px;background:#eff6ffe6;border:1px solid #bfdbfe;border-radius:6px;font-size:11px;color:#1e40af;font-weight:600}@media (max-width: 767px){.notes-canvas-container .react-flow__viewport{touch-action:none}.notes-canvas-container .react-flow__edges{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}.notes-canvas-container .react-flow__edge{display:block!important;visibility:visible!important}.notes-canvas-container .react-flow__edge-path{display:block!important;visibility:visible!important;stroke-width:3px!important}.notes-canvas-container svg.react-flow__edges{z-index:1!important}.notes-canvas-container .react-flow__handle{width:14px;height:14px;border:2px solid white}.notes-canvas-container .react-flow__handle:active{width:16px;height:16px}.notes-canvas-container .react-flow__edge.selected .react-flow__edge-path{stroke-width:5px!important}.notes-canvas-container button,.notes-canvas-container .react-flow__controls-button{min-height:40px;min-width:40px}.drawing-layer{touch-action:none}.drawing-layer canvas{touch-action:none}.notes-canvas-container{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none}.notes-canvas-container input,.notes-canvas-container textarea{-webkit-user-select:text;-moz-user-select:text;user-select:text;touch-action:auto;font-size:16px}.notes-canvas-container .react-flow__minimap{width:140px;height:90px}@media (max-width: 480px){.notes-canvas-container .react-flow__minimap{display:none}}.notes-add-button__dropdown{-webkit-overflow-scrolling:touch}.notes-canvas-container,.notes-canvas-container *,.notes-canvas-container .react-flow,.notes-canvas-container .react-flow__renderer,.notes-canvas-container .react-flow__viewport{overflow:visible!important}}@media (max-width: 767px){.notes-canvas-container+div>div:first-child{padding:.75rem 1rem!important}.notes-canvas-container+div>div:first-child>div:last-child button:has(svg:not(.lucide-maximize-2):not(.lucide-x)){display:none!important}.notes-canvas-container+div>div:first-child>div:last-child button:has(svg.lucide-maximize-2),.notes-canvas-container+div>div:first-child>div:last-child button:has(svg.lucide-x){display:flex!important}.notes-canvas-container+div>div:first-child button{height:36px!important;min-width:36px!important;padding-left:.5rem!important;padding-right:.5rem!important;font-size:.813rem!important}.notes-canvas-container+div>div:first-child button:has(svg.lucide-maximize-2),.notes-canvas-container+div>div:first-child button:has(svg.lucide-x){width:36px!important;padding:0!important}.notes-canvas-container+div>div:first-child>div:last-child{gap:.375rem!important}.notes-canvas-container+div>div:first-child .inline-flex.items-center{font-size:.7rem!important;padding:.125rem .375rem!important;height:auto!important}.notes-canvas-container+div>div:first-child .inline-flex.items-center svg{width:10px!important;height:10px!important}.notes-canvas-container+div>div:first-child button:has(svg.lucide-chevron-down) span:not(:has(svg)){display:none!important}.notes-canvas-container+div>div:first-child button:has(svg.lucide-chevron-down){padding-left:.5rem!important;padding-right:.5rem!important;min-width:auto!important}}@media (max-width: 480px){.notes-canvas-container+div>div:first-child .inline-flex.items-center:first-of-type{display:none!important}.notes-canvas-container+div>div:first-child h2{font-size:1.125rem!important}}:root{--node-text: #6366f1;--node-summary: #f59e0b;--node-idea: #8b5cf6;--node-citation: #3b82f6;--node-methodology: #06b6d4;--node-hypothesis: #ec4899;--node-finding: #10b981;--node-question: #0ea5e9}.text-note-node,.summary-note-node,.idea-note-node,.citation-note-node,.methodology-note-node,.hypothesis-note-node,.finding-note-node,.question-note-node{background:#fff;border:1px solid #e8eaed;border-left:3.5px solid var(--node-accent, #6366f1);border-radius:10px;padding:14px 16px 12px;min-width:220px;min-height:80px;display:flex;flex-direction:column;position:relative;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,sans-serif;box-shadow:0 1px 3px #0000000a;transition:box-shadow .2s ease,border-color .2s ease}.text-note-node:hover,.summary-note-node:hover,.idea-note-node:hover,.citation-note-node:hover,.methodology-note-node:hover,.hypothesis-note-node:hover,.finding-note-node:hover,.question-note-node:hover{box-shadow:0 4px 12px #00000012,0 1px 3px #0000000a;border-color:#d1d5db}.text-note-node.selected,.summary-note-node.selected,.idea-note-node.selected,.citation-note-node.selected,.methodology-note-node.selected,.hypothesis-note-node.selected,.finding-note-node.selected,.question-note-node.selected{border-color:var(--node-accent, #6366f1);box-shadow:0 0 0 2px color-mix(in srgb,var(--node-accent, #6366f1) 12%,transparent),0 4px 12px #0000000f}.text-note-node{--node-accent: var(--node-text)}.summary-note-node{--node-accent: var(--node-summary)}.idea-note-node{--node-accent: var(--node-idea)}.citation-note-node{--node-accent: var(--node-citation)}.methodology-note-node{--node-accent: var(--node-methodology)}.hypothesis-note-node{--node-accent: var(--node-hypothesis)}.finding-note-node{--node-accent: var(--node-finding)}.question-note-node{--node-accent: var(--node-question)}.note-handle{width:8px;height:8px;border-radius:50%;background:var(--node-accent, #6366f1);border:2px solid white;opacity:0;transition:opacity .15s ease,transform .15s ease}.text-note-node:hover .note-handle,.text-note-node.selected .note-handle,.summary-note-node:hover .note-handle,.summary-note-node.selected .note-handle,.idea-note-node:hover .note-handle,.idea-note-node.selected .note-handle,.citation-note-node:hover .note-handle,.citation-note-node.selected .note-handle,.methodology-note-node:hover .note-handle,.methodology-note-node.selected .note-handle,.hypothesis-note-node:hover .note-handle,.hypothesis-note-node.selected .note-handle,.finding-note-node:hover .note-handle,.finding-note-node.selected .note-handle,.question-note-node:hover .note-handle,.question-note-node.selected .note-handle{opacity:1}.note-handle:hover{width:10px;height:10px;transform:scale(1.15)}.text-note-node__header,.summary-note-node__header,.idea-note-node__header,.citation-note-node__header,.methodology-note-node__header,.hypothesis-note-node__header,.finding-note-node__header,.question-note-node__header{display:flex;align-items:center;gap:8px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f1f3f5}.summary-note-node__icon,.idea-note-node__icon,.citation-note-node__icon,.methodology-note-node__icon,.hypothesis-note-node__icon,.finding-note-node__icon,.question-note-node__icon{color:var(--node-accent);flex-shrink:0;display:flex;align-items:center}.text-note-node__title,.summary-note-node__title,.idea-note-node__title,.citation-note-node__title,.methodology-note-node__title,.hypothesis-note-node__title,.finding-note-node__title,.question-note-node__title{font-size:14px;font-weight:600;color:#1e293b;flex:1;cursor:pointer;display:flex;align-items:center;gap:6px;letter-spacing:-.01em;line-height:1.3;transition:color .15s ease}.text-note-node__title:hover,.summary-note-node__title:hover,.idea-note-node__title:hover,.citation-note-node__title:hover,.methodology-note-node__title:hover,.hypothesis-note-node__title:hover,.finding-note-node__title:hover,.question-note-node__title:hover{color:var(--node-accent)}.text-note-node__title-input,.summary-note-node__title-input,.citation-note-node__title-input,.methodology-note-node__title-input,.hypothesis-note-node__title-input,.finding-note-node__title-input,.question-note-node__title-input{flex:1;font-size:14px;font-weight:600;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;background:#f8fafc;color:#1e293b;outline:none;transition:border-color .15s ease,background .15s ease}.text-note-node__title-input:focus,.summary-note-node__title-input:focus,.citation-note-node__title-input:focus,.methodology-note-node__title-input:focus,.hypothesis-note-node__title-input:focus,.finding-note-node__title-input:focus,.question-note-node__title-input:focus{border-color:var(--node-accent, #6366f1);background:#fff}.text-note-node__delete,.summary-note-node__delete,.idea-note-node__delete,.citation-note-node__actions,.methodology-note-node__actions,.hypothesis-note-node__actions,.finding-note-node__actions,.question-note-node__actions{display:flex;align-items:center;gap:2px}.text-note-node__delete,.summary-note-node__delete,.idea-note-node__delete,.citation-note-node__delete-btn,.methodology-note-node__delete-btn,.hypothesis-note-node__delete-btn,.finding-note-node__delete-btn,.question-note-node__delete-btn{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .15s ease;opacity:0}.text-note-node:hover .text-note-node__delete,.summary-note-node:hover .summary-note-node__delete,.idea-note-node:hover .idea-note-node__delete,.citation-note-node:hover .citation-note-node__delete-btn,.methodology-note-node:hover .methodology-note-node__delete-btn,.hypothesis-note-node:hover .hypothesis-note-node__delete-btn,.finding-note-node:hover .finding-note-node__delete-btn,.question-note-node:hover .question-note-node__delete-btn{opacity:1}.text-note-node__delete:hover,.summary-note-node__delete:hover,.idea-note-node__delete:hover,.citation-note-node__delete-btn:hover,.methodology-note-node__delete-btn:hover,.hypothesis-note-node__delete-btn:hover,.finding-note-node__delete-btn:hover,.question-note-node__delete-btn:hover{background:#fef2f2;color:#ef4444}.citation-note-node__collapse-btn,.methodology-note-node__collapse-btn,.hypothesis-note-node__collapse-btn,.finding-note-node__collapse-btn,.question-note-node__collapse-btn{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:6px;transition:all .15s ease}.citation-note-node__collapse-btn:hover,.methodology-note-node__collapse-btn:hover,.hypothesis-note-node__collapse-btn:hover,.finding-note-node__collapse-btn:hover,.question-note-node__collapse-btn:hover{background:#f1f5f9;color:#475569}.text-note-node__content,.citation-note-node__content,.methodology-note-node__content,.hypothesis-note-node__content,.finding-note-node__content,.question-note-node__content{flex:1;font-size:13px;line-height:1.6;color:#475569}.text-note-node__content-textarea,.summary-note-node__content-textarea,.idea-note-node__content-textarea{width:100%;border:none;resize:none;font-size:13px;line-height:1.6;color:#475569;background:transparent;padding:0;font-family:inherit;outline:none}.text-note-node__content-display,.summary-note-node__content-display,.idea-note-node__content-display{font-size:13px;line-height:1.6;color:#475569;cursor:text;min-height:40px;white-space:pre-wrap;word-wrap:break-word}.citation-note-node__form,.methodology-note-node__form,.hypothesis-note-node__form,.finding-note-node__form,.question-note-node__form{display:flex;flex-direction:column;gap:8px}.citation-note-node__field,.methodology-note-node__field,.hypothesis-note-node__field,.finding-note-node__field,.question-note-node__field{display:flex;flex-direction:column;gap:3px}.citation-note-node__field label,.methodology-note-node__field label,.hypothesis-note-node__field label,.finding-note-node__field label,.question-note-node__field label{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.citation-note-node__field-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.citation-note-node__meta,.methodology-note-node__section,.hypothesis-note-node__section,.finding-note-node__section,.question-note-node__section{margin-bottom:6px;font-size:13px;line-height:1.5;color:#475569}.citation-note-node__meta strong,.methodology-note-node__section strong,.hypothesis-note-node__section strong,.finding-note-node__section strong,.question-note-node__section strong{color:#334155;font-weight:600;display:inline;margin-right:4px}.methodology-note-node__section strong,.hypothesis-note-node__section strong,.finding-note-node__section strong,.question-note-node__section strong{display:block;margin-bottom:2px}.methodology-note-node__section p,.hypothesis-note-node__section p,.finding-note-node__section p,.question-note-node__section p{margin:2px 0 0;white-space:pre-wrap}.citation-note-node__meta a{color:var(--node-citation);text-decoration:none;font-weight:500}.citation-note-node__meta a:hover{text-decoration:underline}.citation-note-node__notes{margin-top:8px;padding-top:8px;border-top:1px solid #f1f3f5}.citation-note-node__notes p{margin:2px 0 0;white-space:pre-wrap}.text-note-node__placeholder,.citation-note-node__placeholder,.methodology-note-node__placeholder,.hypothesis-note-node__placeholder,.finding-note-node__placeholder,.question-note-node__placeholder{color:#94a3b8;font-style:italic;font-size:13px}.text-note-node__footer,.summary-note-node__footer,.idea-note-node__footer{margin-top:10px;padding-top:6px;border-top:1px solid #f1f3f5;display:flex;justify-content:flex-end}.text-note-node__timestamp,.summary-note-node__timestamp,.idea-note-node__timestamp{font-size:10px;color:#94a3b8;font-weight:500}.text-note-node__content{min-height:60px;position:relative}.text-note-node__content-display--collapsed{max-height:160px;overflow:hidden;mask-image:linear-gradient(to bottom,black 0%,black 75%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,black 0%,black 75%,transparent 100%)}.text-note-node__collapse-button{position:absolute;bottom:6px;right:6px;background:#fffffff2;border:1px solid #e2e8f0;border-radius:6px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;transition:all .15s ease;box-shadow:0 1px 4px #0000000f;z-index:10}.text-note-node__collapse-button:hover{background:#fff;border-color:var(--node-accent);color:var(--node-accent)}.text-note-node__edit-icon{opacity:0;transition:opacity .15s ease;color:#94a3b8;width:12px;height:12px}.text-note-node__title:hover .text-note-node__edit-icon{opacity:1}.hypothesis-note-node__status,.question-note-node__status{padding:2px 8px;border-radius:10px;font-size:10px;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.04em;line-height:1.4}.hypothesis-note-node__status-select,.question-note-node__status-select{padding:5px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#1e293b;font-size:13px;outline:none;transition:border-color .15s ease}.hypothesis-note-node__status-select:focus,.question-note-node__status-select:focus{border-color:var(--node-accent)}.question-note-node__section--answer{background:#f8fafc;padding:8px 10px;border-radius:6px;border-left:3px solid var(--node-question);margin-top:4px}.plain-text-node{background:transparent;border:none;box-shadow:none;padding:0;position:relative}.plain-text-node__textarea{background:transparent!important;border:none!important;outline:none!important;resize:none;overflow:hidden;width:100%;height:100%;font-family:inherit}.plain-text-node__textarea:focus{outline:2px solid #6366f1!important;outline-offset:2px;border-radius:4px}.plain-text-node__display{-moz-user-select:text;user-select:text;-webkit-user-select:text;width:100%;height:100%}.plain-text-node__controls{pointer-events:auto}.plain-text-node__color-button:hover{background:#f1f5f9;border-color:#6366f1}.plain-text-node__color-picker button:hover{transform:scale(1.08);box-shadow:0 2px 6px #00000026}.react-flow__resize-control{background:#6366f1;border:2px solid white;border-radius:50%}.react-flow__resize-control:hover{background:#4f46e5;transform:scale(1.15)}.image-note-node{background:#fff;border:1px solid #e8eaed;border-radius:10px;padding:8px;min-width:200px;min-height:150px;display:flex;flex-direction:column;position:relative;color:#1e293b;box-shadow:0 1px 3px #0000000a;transition:box-shadow .2s ease,border-color .2s ease}.image-note-node:hover{box-shadow:0 4px 12px #00000012;border-color:#d1d5db}.image-note-node.selected{border-color:#6366f1;box-shadow:0 0 0 2px #6366f11f,0 4px 12px #0000000f}.image-note-node__container{display:flex;flex-direction:column;width:100%;height:100%}.image-note-node__header{display:flex;align-items:center;gap:6px;padding:4px 6px;margin-bottom:6px;border-bottom:1px solid #f1f3f5}.image-note-node__icon{display:flex;align-items:center;color:#94a3b8}.image-note-node__name{flex:1;font-size:11px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.image-note-node__delete-btn{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:3px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .15s ease;opacity:0}.image-note-node:hover .image-note-node__delete-btn{opacity:1}.image-note-node__delete-btn:hover{background:#fef2f2;color:#ef4444}.image-note-node__image-wrapper{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:#f8fafc;min-height:100px}.image-note-node__image{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;border-radius:6px}.image-note-node__error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;color:#94a3b8;font-size:12px}.link-note-node{background:#fff;border:1px solid #e8eaed;border-radius:10px;padding:8px;min-width:280px;min-height:140px;display:flex;flex-direction:column;position:relative;color:#1e293b;box-shadow:0 1px 3px #0000000a;transition:box-shadow .2s ease,border-color .2s ease}.link-note-node:hover{box-shadow:0 4px 12px #00000012;border-color:#d1d5db}.link-note-node.selected{border-color:#6366f1;box-shadow:0 0 0 2px #6366f11f,0 4px 12px #0000000f}.link-note-node__container{display:flex;flex-direction:column;width:100%;height:100%}.link-note-node__header{display:flex;align-items:center;gap:6px;padding:4px 6px;margin-bottom:6px;border-bottom:1px solid #f1f3f5}.link-note-node__icon{display:flex;align-items:center;color:#6366f1;flex-shrink:0}.link-note-node__title-wrapper{flex:1;display:flex;align-items:center;gap:4px;min-width:0}.link-note-node__title{font-size:12px;font-weight:600;color:#6366f1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.link-note-node__external-link{color:#6366f1;opacity:.5;transition:opacity .15s ease;display:flex;align-items:center;flex-shrink:0}.link-note-node__external-link:hover{opacity:1}.link-note-node__delete-btn{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:3px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .15s ease;flex-shrink:0;opacity:0}.link-note-node:hover .link-note-node__delete-btn{opacity:1}.link-note-node__delete-btn:hover{background:#fef2f2;color:#ef4444}.link-note-node__content{flex:1;display:flex;flex-direction:column;overflow:hidden;border-radius:6px}.link-note-node__youtube-embed{flex:1;width:100%;min-height:200px;border-radius:6px;overflow:hidden;background:#0f0f0f;pointer-events:auto;position:relative;z-index:10}.link-note-node__youtube-iframe{width:100%;height:100%;min-height:200px;border:none;pointer-events:auto;-moz-user-select:none;user-select:none;-webkit-user-select:none}.link-note-node--youtube .link-note-node__youtube-embed,.link-note-node--youtube .link-note-node__youtube-embed *{pointer-events:auto}.link-note-node__link-preview{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;background:#f8fafc;border-radius:6px}.link-note-node__url-display{width:100%;padding:10px;background:#fff;border:1px solid #e8eaed;border-radius:6px;word-break:break-all}.link-note-node__url-text{font-size:12px;color:#6366f1;font-weight:500;text-decoration:none;cursor:pointer}.link-note-node__url-text:hover{text-decoration:underline}.link-note-node__open-button{display:flex;align-items:center;justify-content:center;padding:7px 14px;background:#6366f1;color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s ease}.link-note-node__open-button:hover{background:#4f46e5}.citation-popover__overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:#0f172a66;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:citation-overlay-in .2s ease-out}@keyframes citation-overlay-in{0%{opacity:0}to{opacity:1}}.citation-popover{width:520px;max-width:94vw;max-height:85vh;overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 24px 80px #0000001f,0 8px 24px #0000000f,0 0 0 1px #0000000d;animation:citation-pop-in .25s cubic-bezier(.34,1.56,.64,1);font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;transition:width .3s ease}.citation-popover--wide{width:600px}@keyframes citation-pop-in{0%{opacity:0;transform:scale(.95) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.citation-popover::-webkit-scrollbar{width:4px}.citation-popover::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.citation-popover__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #f1f5f9}.citation-popover__header-left{display:flex;align-items:center;gap:8px}.citation-popover__header-icon{color:#4f46e5}.citation-popover__title{font-size:15px;font-weight:650;color:#0f172a;letter-spacing:-.02em}.citation-popover__close{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:8px;color:#94a3b8;cursor:pointer;transition:all .15s}.citation-popover__close:hover{background:#f1f5f9;color:#475569}.citation-popover__mode-chooser{padding:16px 20px 20px;display:flex;flex-direction:column;gap:10px}.citation-popover__mode-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1.5px solid #e2e8f0;border-radius:12px;background:#fafbfc;cursor:pointer;transition:all .2s ease;text-align:left;font-family:inherit}.citation-popover__mode-card:hover{border-color:#c7d2fe;background:#f5f3ff;transform:translateY(-1px);box-shadow:0 4px 12px #6366f114}.citation-popover__mode-card--smart{border-color:#c7d2fe;background:linear-gradient(135deg,#faf5ff,#eef2ff)}.citation-popover__mode-card--smart:hover{border-color:#a78bfa;background:linear-gradient(135deg,#f3e8ff,#e0e7ff);box-shadow:0 4px 16px #7c3aed1f}.citation-popover__mode-card-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eef2ff;color:#4f46e5;flex-shrink:0}.citation-popover__mode-card--smart .citation-popover__mode-card-icon{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff}.citation-popover__mode-card-content{display:flex;flex-direction:column;gap:2px}.citation-popover__mode-card-title{font-size:14px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:6px}.citation-popover__mode-card-desc{font-size:12px;color:#64748b}.citation-popover__smart-badge{color:#f59e0b;animation:citation-pulse 2s ease-in-out infinite}@keyframes citation-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.15)}}.citation-popover__mode-tabs{display:flex;gap:2px;padding:8px 20px 0;margin-bottom:-4px}.citation-popover__mode-tab{display:flex;align-items:center;gap:6px;padding:8px 14px;border:none;border-radius:8px 8px 0 0;background:transparent;font-size:12px;font-weight:500;font-family:inherit;color:#94a3b8;cursor:pointer;transition:all .15s;border-bottom:2px solid transparent}.citation-popover__mode-tab:hover{color:#64748b;background:#f8fafc}.citation-popover__mode-tab.active{color:#4f46e5;border-bottom-color:#4f46e5;background:#f5f3ff;font-weight:600}.citation-popover__url-row{display:flex;gap:8px;padding:14px 20px}.citation-popover__url-input-wrap{flex:1;display:flex;align-items:center;gap:8px;padding:0 12px;height:38px;border:1.5px solid #e2e8f0;border-radius:10px;background:#f8fafc;transition:all .2s}.citation-popover__url-input-wrap:focus-within{border-color:#818cf8;background:#fff;box-shadow:0 0 0 3px #6366f11a}.citation-popover__url-icon{color:#94a3b8;flex-shrink:0}.citation-popover__url-icon--smart{color:#7c3aed}.citation-popover__url-input{flex:1;height:100%;border:none;background:transparent;font-size:13px;font-family:inherit;color:#1e293b;outline:none}.citation-popover__url-input::-moz-placeholder{color:#94a3b8}.citation-popover__url-input::placeholder{color:#94a3b8}.citation-popover__extract-btn{display:flex;align-items:center;gap:6px;height:38px;padding:0 16px;border:none;border-radius:10px;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;font-size:12px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s;white-space:nowrap}.citation-popover__extract-btn--smart{background:linear-gradient(135deg,#7c3aed,#6366f1)}.citation-popover__extract-btn:hover:not(:disabled){box-shadow:0 4px 12px #4f46e559;transform:translateY(-1px)}.citation-popover__extract-btn:disabled{opacity:.5;cursor:not-allowed}.citation-popover__spinner{animation:citation-spin 1s linear infinite}@keyframes citation-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.citation-popover__quote{padding:0 20px 12px;display:flex;flex-direction:column;gap:4px}.citation-popover__quote-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.citation-popover__quote-text{font-size:12px;color:#64748b;font-style:italic;line-height:1.5;padding:8px 12px;background:#f8fafc;border-left:3px solid #e2e8f0;border-radius:0 6px 6px 0}.citation-popover__progress{display:flex;align-items:center;gap:8px;padding:16px 20px;font-size:12px;color:#6366f1;font-weight:500;background:#eef2ff;margin:0 12px 12px;border-radius:8px}.citation-popover__error{display:flex;align-items:center;gap:8px;padding:12px 20px;font-size:12px;color:#ef4444;background:#fef2f2;margin:0 12px 12px;border-radius:8px}.citation-popover__error button{margin-left:auto;background:none;border:1px solid #fca5a5;color:#ef4444;font-size:11px;font-family:inherit;padding:3px 10px;border-radius:6px;cursor:pointer;font-weight:500}.citation-popover__error button:hover{background:#fff1f2}.citation-popover__search-progress{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 20px 24px;text-align:center}.citation-popover__search-progress-header{display:flex;align-items:center;gap:8px;color:#7c3aed}.citation-popover__search-progress-msg{font-size:13px;font-weight:600;color:#4f46e5}.citation-popover__search-progress-detail{font-size:11px;color:#94a3b8;font-weight:500}.citation-popover__search-dots{display:flex;gap:6px;margin-top:4px}.citation-popover__dot{width:6px;height:6px;border-radius:50%;background:#c7d2fe;animation:citation-dot-bounce 1.4s infinite ease-in-out both}.citation-popover__dot--1{animation-delay:0s}.citation-popover__dot--2{animation-delay:.16s}.citation-popover__dot--3{animation-delay:.32s}@keyframes citation-dot-bounce{0%,80%,to{transform:scale(.6);background:#c7d2fe}40%{transform:scale(1);background:#6366f1}}.citation-popover__sources{padding:0 12px 16px}.citation-popover__sources-header{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 10px}.citation-popover__sources-count{font-size:12px;font-weight:600;color:#334155}.citation-popover__sources-hint{font-size:11px;color:#94a3b8}.citation-popover__sources-list{display:flex;flex-direction:column;gap:6px;max-height:360px;overflow-y:auto;padding-right:2px}.citation-popover__sources-list::-webkit-scrollbar{width:3px}.citation-popover__sources-list::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.citation-popover__source-card{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1.5px solid #e2e8f0;border-radius:10px;background:#fafbfc;cursor:pointer;transition:all .2s ease;text-align:left;font-family:inherit;animation:citation-card-in .3s ease-out both}.citation-popover__source-card:nth-child(1){animation-delay:0s}.citation-popover__source-card:nth-child(2){animation-delay:.05s}.citation-popover__source-card:nth-child(3){animation-delay:.1s}.citation-popover__source-card:nth-child(4){animation-delay:.15s}.citation-popover__source-card:nth-child(5){animation-delay:.2s}.citation-popover__source-card:nth-child(6){animation-delay:.25s}.citation-popover__source-card:nth-child(7){animation-delay:.3s}.citation-popover__source-card:nth-child(8){animation-delay:.35s}@keyframes citation-card-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.citation-popover__source-card:hover{border-color:#818cf8;background:#f5f3ff;transform:translateY(-1px);box-shadow:0 4px 12px #6366f11a}.citation-popover__source-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.citation-popover__source-authority{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:3px 8px;border-radius:20px;background:#f1f5f9;color:#64748b}.citation-popover__source-authority[data-type=academic]{background:#ecfdf5;color:#059669}.citation-popover__source-authority[data-type=government]{background:#eff6ff;color:#2563eb}.citation-popover__source-authority[data-type=news]{background:#fef3c7;color:#d97706}.citation-popover__source-authority[data-type=organization]{background:#f0f9ff;color:#0284c7}.citation-popover__source-score{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:600;color:#94a3b8}.citation-popover__source-score-bar{width:40px;height:4px;border-radius:2px;background:linear-gradient(90deg,#6366f1,#8b5cf6);transition:width .3s ease;position:relative}.citation-popover__source-score-bar:before{content:"";position:absolute;inset:0;border-radius:2px;background:#e2e8f0;width:calc(100% / var(--score, .5));z-index:-1}.citation-popover__source-title{font-size:13px;font-weight:600;color:#1e293b;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.citation-popover__source-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.citation-popover__source-authors{font-size:11px;color:#64748b;font-weight:500}.citation-popover__source-year{font-size:11px;color:#64748b;font-weight:500;padding:1px 6px;background:#f1f5f9;border-radius:4px}.citation-popover__source-doi{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#10b981;background:#ecfdf5;padding:2px 6px;border-radius:4px}.citation-popover__source-snippet{font-size:11.5px;color:#64748b;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.citation-popover__source-url{display:flex;align-items:center;gap:4px;font-size:10px;color:#94a3b8;margin-top:2px}.citation-popover__back-btn{display:flex;align-items:center;gap:4px;padding:4px 8px;border:none;background:transparent;color:#64748b;font-size:12px;font-weight:500;font-family:inherit;cursor:pointer;border-radius:6px;transition:all .15s;margin-bottom:4px;margin-left:-4px}.citation-popover__back-btn:hover{background:#f1f5f9;color:#334155}.citation-popover__preview{padding:0 20px 16px}.citation-popover__confidence{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;padding:6px 0 12px}.citation-popover__confidence-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.citation-popover__confidence-method{font-weight:400;color:#94a3b8;margin-left:2px}.citation-popover__style-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0}.citation-popover__style-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.citation-popover__style-select-wrap{position:relative}.citation-popover__style-btn{display:flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:12px;font-weight:500;color:#334155;cursor:pointer;font-family:inherit;transition:all .15s}.citation-popover__style-btn:hover{border-color:#cbd5e1;background:#f8fafc}.citation-popover__style-dropdown{position:absolute;top:calc(100% + 4px);right:0;width:140px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #00000014;padding:4px;z-index:10;animation:citation-dropdown-in .12s ease-out}@keyframes citation-dropdown-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.citation-popover__style-option{display:block;width:100%;padding:7px 12px;border:none;border-radius:6px;background:transparent;text-align:left;font-size:12px;font-weight:500;color:#475569;cursor:pointer;font-family:inherit;transition:background .1s}.citation-popover__style-option:hover{background:#f1f5f9}.citation-popover__style-option.active{background:#eef2ff;color:#4f46e5;font-weight:600}.citation-popover__formatted{display:flex;align-items:flex-start;gap:8px;padding:14px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:8px 0}.citation-popover__formatted-text{flex:1;font-size:12.5px;line-height:1.65;color:#334155;font-family:Georgia,Times New Roman,serif;word-break:break-word}.citation-popover__copy-btn{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;cursor:pointer;flex-shrink:0;transition:all .15s}.citation-popover__copy-btn:hover{background:#f1f5f9;color:#334155}.citation-popover__copy-btn.copied{border-color:#10b981;color:#10b981;background:#ecfdf5}.citation-popover__edit-details{margin:12px 0 0;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.citation-popover__edit-summary{padding:10px 14px;font-size:11px;font-weight:600;color:#64748b;cursor:pointer;background:#f8fafc;transition:background .15s;list-style:none}.citation-popover__edit-summary::-webkit-details-marker{display:none}.citation-popover__edit-summary:before{content:"▸ "}.citation-popover__edit-details[open] .citation-popover__edit-summary:before{content:"▾ "}.citation-popover__edit-summary:hover{background:#f1f5f9}.citation-popover__fields{padding:12px 14px;display:flex;flex-direction:column;gap:10px}.citation-popover__field{display:flex;flex-direction:column;gap:4px;flex:1}.citation-popover__field label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.citation-popover__field input,.citation-popover__field select{height:32px;padding:0 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;font-family:inherit;color:#334155;background:#fff;outline:none;transition:border-color .15s}.citation-popover__field input:focus,.citation-popover__field select:focus{border-color:#818cf8;box-shadow:0 0 0 2px #6366f114}.citation-popover__field--half{flex:1}.citation-popover__field-row{display:flex;gap:8px}.citation-popover__authors-list{display:flex;flex-direction:column;gap:6px}.citation-popover__author-row{display:flex;gap:6px;align-items:center}.citation-popover__author-row input{flex:1;height:30px;padding:0 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;font-family:inherit;color:#334155;background:#fff;outline:none;transition:border-color .15s}.citation-popover__author-row input:focus{border-color:#818cf8}.citation-popover__author-remove{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#cbd5e1;cursor:pointer;border-radius:6px;transition:all .15s;flex-shrink:0}.citation-popover__author-remove:hover{background:#fef2f2;color:#ef4444}.citation-popover__add-author{display:flex;align-items:center;gap:4px;padding:4px 8px;border:1px dashed #e2e8f0;border-radius:6px;background:transparent;color:#94a3b8;font-size:11px;font-family:inherit;cursor:pointer;transition:all .15s;width:-moz-fit-content;width:fit-content}.citation-popover__add-author:hover{border-color:#818cf8;color:#6366f1;background:#eef2ff}.citation-popover__actions{display:flex;justify-content:flex-end;gap:8px;padding:16px 0 0}.citation-popover__cancel-btn{height:36px;padding:0 18px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b;font-size:12px;font-weight:500;font-family:inherit;cursor:pointer;transition:all .15s}.citation-popover__cancel-btn:hover{background:#f8fafc;color:#334155}.citation-popover__insert-btn{display:flex;align-items:center;gap:6px;height:36px;padding:0 20px;border:none;border-radius:10px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:12px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #4f46e540}.citation-popover__insert-btn:hover{box-shadow:0 4px 16px #4f46e566;transform:translateY(-1px)}.rewrite-popover{background:#fff;border-radius:12px;box-shadow:0 12px 48px #0000001f,0 4px 16px #0000000f,0 0 0 1px #0000000a;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;animation:rewrite-pop-in .2s cubic-bezier(.34,1.56,.64,1);min-width:380px;max-width:560px;overflow:hidden;transition:all .2s ease}.rewrite-popover--expanded{min-width:460px;max-width:580px}@keyframes rewrite-pop-in{0%{opacity:0;transform:scale(.95) translateY(-4px)}to{opacity:1;transform:scale(1) translateY(0)}}.rewrite-popover__bar{display:flex;align-items:center;gap:6px;padding:6px 8px}.rewrite-popover__bar-label{display:flex;align-items:center;gap:5px;padding:0 10px 0 4px;font-size:11px;font-weight:650;color:#7c3aed;letter-spacing:-.01em;white-space:nowrap;border-right:1px solid #f1f5f9;margin-right:2px}.rewrite-popover__quick-actions{display:flex;align-items:center;gap:2px;flex:1}.rewrite-popover__quick-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:none;border-radius:8px;background:transparent;cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap}.rewrite-popover__quick-btn:hover{background:#f5f3ff}.rewrite-popover__quick-btn--shield{background:linear-gradient(135deg,#10b9810f,#10b9811f)}.rewrite-popover__quick-btn--shield:hover{background:linear-gradient(135deg,#10b9811a,#10b9812e)}.rewrite-popover__quick-icon{font-size:13px;line-height:1}.rewrite-popover__quick-label{font-size:11px;font-weight:550;color:#475569}.rewrite-popover__more-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer;transition:all .15s;flex-shrink:0}.rewrite-popover__more-btn:hover{background:#f1f5f9;color:#64748b}.rewrite-popover__close-btn{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer;transition:all .15s;flex-shrink:0;margin-left:auto}.rewrite-popover__close-btn:hover{background:#f1f5f9;color:#64748b}.rewrite-popover__modes-menu{padding:4px 6px 8px;display:flex;flex-direction:column;gap:1px;border-top:1px solid #f1f5f9;animation:rewrite-menu-in .15s ease-out}@keyframes rewrite-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.rewrite-popover__mode-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border:none;border-radius:8px;background:transparent;cursor:pointer;transition:all .12s;text-align:left;font-family:inherit}.rewrite-popover__mode-item:hover{background:#f5f3ff}.rewrite-popover__mode-icon{font-size:16px;flex-shrink:0;width:24px;text-align:center}.rewrite-popover__mode-info{display:flex;flex-direction:column;gap:1px;flex:1}.rewrite-popover__mode-label{font-size:12px;font-weight:600;color:#1e293b}.rewrite-popover__mode-desc{font-size:10.5px;color:#94a3b8;line-height:1.3}.rewrite-popover__mode-badge{color:#10b981;flex-shrink:0}.rewrite-popover__custom-row{display:flex;gap:6px;padding:4px 8px 8px;border-top:1px solid #f1f5f9;animation:rewrite-menu-in .15s ease-out}.rewrite-popover__custom-input{flex:1;height:34px;padding:0 12px;border:1.5px solid #e2e8f0;border-radius:8px;background:#f8fafc;font-size:12px;font-family:inherit;color:#1e293b;outline:none;transition:all .15s}.rewrite-popover__custom-input:focus{border-color:#a78bfa;background:#fff;box-shadow:0 0 0 3px #7c3aed14}.rewrite-popover__custom-input::-moz-placeholder{color:#94a3b8}.rewrite-popover__custom-input::placeholder{color:#94a3b8}.rewrite-popover__custom-go{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:none;border-radius:8px;background:linear-gradient(135deg,#7c3aed,#6366f1);color:#fff;cursor:pointer;transition:all .15s;flex-shrink:0}.rewrite-popover__custom-go:hover:not(:disabled){box-shadow:0 2px 8px #7c3aed4d;transform:translateY(-1px)}.rewrite-popover__custom-go:disabled{opacity:.4;cursor:not-allowed}.rewrite-popover__loading{display:flex;align-items:center;gap:10px;padding:14px 16px}.rewrite-popover__spinner{animation:rewrite-spin 1s linear infinite;color:#7c3aed;flex-shrink:0}@keyframes rewrite-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.rewrite-popover__loading-msg{font-size:12px;font-weight:500;color:#6366f1}.rewrite-popover__error{display:flex;align-items:center;gap:6px;padding:8px 12px;margin:0 8px 6px;font-size:11px;color:#ef4444;background:#fef2f2;border-radius:6px}.rewrite-popover__result{display:flex;flex-direction:column;gap:0}.rewrite-popover__result-header{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #f1f5f9}.rewrite-popover__result-mode{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#334155}.rewrite-popover__result-mode-label{white-space:nowrap}.rewrite-popover__originality{display:flex;align-items:center;gap:6px;flex:1;justify-content:flex-end;padding-right:4px}.rewrite-popover__originality-label{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.rewrite-popover__originality-bar-track{width:60px;height:5px;border-radius:3px;background:#f1f5f9;overflow:hidden;flex-shrink:0}.rewrite-popover__originality-bar-fill{height:100%;border-radius:3px;transition:width .5s ease,background .3s ease}.rewrite-popover__originality-score{font-size:12px;font-weight:700;min-width:32px;text-align:right}.rewrite-popover__originality-warning{display:flex;align-items:center;gap:6px;padding:8px 12px;margin:8px 10px 0;font-size:11px;color:#d97706;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;line-height:1.4}.rewrite-popover__originality-warning strong{color:#92400e}.rewrite-popover__changes-summary{padding:8px 14px;font-size:11px;color:#64748b;font-style:italic;line-height:1.4}.rewrite-popover__view-toggle{display:flex;gap:1px;padding:0 12px;margin-bottom:6px}.rewrite-popover__view-btn{padding:4px 12px;border:1px solid #e2e8f0;background:#f8fafc;font-size:10.5px;font-weight:600;color:#94a3b8;cursor:pointer;transition:all .12s;font-family:inherit}.rewrite-popover__view-btn:first-child{border-radius:6px 0 0 6px;border-right:none}.rewrite-popover__view-btn:last-child{border-radius:0 6px 6px 0}.rewrite-popover__view-btn.active{background:#f5f3ff;color:#7c3aed;border-color:#c4b5fd}.rewrite-popover__text-preview{padding:10px 14px;margin:0 10px;max-height:200px;overflow-y:auto;font-size:12.5px;line-height:1.65;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;white-space:pre-wrap}.rewrite-popover__text-preview::-webkit-scrollbar{width:3px}.rewrite-popover__text-preview::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.rewrite-popover__diff-view{padding:10px 14px;margin:0 10px;max-height:240px;overflow-y:auto;font-size:12px;line-height:1.7;background:#fafbfc;border:1px solid #e2e8f0;border-radius:8px}.rewrite-popover__diff-view::-webkit-scrollbar{width:3px}.rewrite-popover__diff-view::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.rewrite-popover__diff-seg{display:inline}.rewrite-popover__diff-removed{background:#fecaca;color:#991b1b;text-decoration:line-through;border-radius:2px;padding:1px 2px}.rewrite-popover__diff-added{background:#bbf7d0;color:#166534;border-radius:2px;padding:1px 2px}.rewrite-popover__diff-unchanged{color:#64748b}.rewrite-popover__diff-arrow{color:#94a3b8;font-size:10px;padding:0 3px}.rewrite-popover__actions{display:flex;align-items:center;gap:6px;padding:10px 12px;border-top:1px solid #f1f5f9;justify-content:flex-end}.rewrite-popover__action-btn{display:flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:8px;font-size:11px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s;white-space:nowrap}.rewrite-popover__action-btn--secondary{border:1px solid #e2e8f0;background:#fff;color:#64748b}.rewrite-popover__action-btn--secondary:hover{background:#f8fafc;color:#334155}.rewrite-popover__action-btn--secondary.copied{border-color:#10b981;color:#10b981;background:#ecfdf5}.rewrite-popover__action-btn--primary{border:none;background:linear-gradient(135deg,#7c3aed,#6366f1);color:#fff;box-shadow:0 2px 8px #7c3aed33}.rewrite-popover__action-btn--primary:hover{box-shadow:0 4px 14px #7c3aed59;transform:translateY(-1px)}.selection-floating-toolbar{position:absolute;z-index:9998;display:flex;align-items:center;gap:5px;animation:selection-toolbar-in .2s cubic-bezier(.34,1.56,.64,1)}@keyframes selection-toolbar-in{0%{opacity:0;transform:scale(.9) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}.rewrite-trigger,.cite-trigger,.factcheck-trigger{display:flex;align-items:center;gap:5px;padding:5px 10px;color:#fff;border:none;border-radius:20px;font-size:11px;font-weight:600;font-family:Inter,-apple-system,sans-serif;cursor:pointer;transition:all .2s;white-space:nowrap}.rewrite-trigger{background:linear-gradient(135deg,#7c3aed,#6366f1);box-shadow:0 4px 16px #7c3aed4d,0 0 0 1px #7c3aed1a}.rewrite-trigger:hover{transform:translateY(-1px) scale(1.03);box-shadow:0 6px 20px #7c3aed66}.cite-trigger{background:linear-gradient(135deg,#d97706,#ea580c);box-shadow:0 4px 16px #d977064d,0 0 0 1px #d977061a}.cite-trigger:hover{transform:translateY(-1px) scale(1.03);box-shadow:0 6px 20px #d9770666}.factcheck-trigger{background:linear-gradient(135deg,#059669,#10b981);box-shadow:0 4px 16px #0596694d,0 0 0 1px #0596691a}.factcheck-trigger:hover{transform:translateY(-1px) scale(1.03);box-shadow:0 6px 20px #05966966}.factcheck-popover{background:#fff;border-radius:14px;box-shadow:0 16px 56px #00000024,0 6px 20px #0000000f,0 0 0 1px #0000000a;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;animation:factcheck-pop-in .25s cubic-bezier(.34,1.56,.64,1);min-width:400px;max-width:520px;overflow:hidden}@keyframes factcheck-pop-in{0%{opacity:0;transform:scale(.95) translateY(-6px)}to{opacity:1;transform:scale(1) translateY(0)}}.factcheck__header{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #f1f5f9;background:linear-gradient(135deg,#05966908,#10b9810f)}.factcheck__header-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#059669;letter-spacing:-.01em;white-space:nowrap}.factcheck__overall{display:flex;align-items:center;gap:5px;margin-left:auto;padding-right:6px}.factcheck__overall-score{font-size:14px;font-weight:800;letter-spacing:-.02em}.factcheck__overall-label{font-size:10px;font-weight:500;opacity:.7;text-transform:uppercase;letter-spacing:.04em}.factcheck__overall-icon--good{color:#059669}.factcheck__overall-icon--mixed{color:#d97706}.factcheck__overall-icon--bad{color:#dc2626}.factcheck__close-btn{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer;transition:all .15s;flex-shrink:0}.factcheck__close-btn:hover{background:#f1f5f9;color:#64748b}.factcheck__loading{display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 16px}.factcheck__loading-animation{position:relative;display:flex;align-items:center;justify-content:center;width:56px;height:56px}.factcheck__spinner{position:absolute;animation:factcheck-spin 1s linear infinite;color:#059669}@keyframes factcheck-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.factcheck__loading-shield{color:#10b981;opacity:.25;animation:factcheck-shield-pulse 2s ease-in-out infinite}@keyframes factcheck-shield-pulse{0%,to{opacity:.2;transform:scale(1)}50%{opacity:.4;transform:scale(1.05)}}.factcheck__loading-msg{font-size:12px;font-weight:500;color:#059669}.factcheck__error{display:flex;align-items:center;gap:6px;padding:10px 14px;margin:8px 10px;font-size:11px;color:#ef4444;background:#fef2f2;border-radius:8px;border:1px solid #fecaca}.factcheck__result{display:flex;flex-direction:column}.factcheck__summary{padding:10px 14px;font-size:11.5px;color:#475569;line-height:1.5;font-style:italic;border-bottom:1px solid #f1f5f9}.factcheck__verdict-bar{display:flex;align-items:center;gap:4px;padding:8px 14px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap}.factcheck__verdict-chip{display:flex;align-items:center;gap:4px;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:650;border:1px solid}.factcheck__claims{max-height:340px;overflow-y:auto;padding:6px 10px;display:flex;flex-direction:column;gap:4px}.factcheck__claims::-webkit-scrollbar{width:3px}.factcheck__claims::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.factcheck__claim{border-left:3px solid #e2e8f0;border-radius:8px;background:#fafbfc;transition:all .2s ease;overflow:hidden}.factcheck__claim--expanded{background:#fff;box-shadow:0 2px 8px #0000000a}.factcheck__claim-header{display:flex;align-items:center;gap:8px;padding:8px 10px;width:100%;border:none;background:transparent;cursor:pointer;font-family:inherit;color:#94a3b8;transition:background .12s}.factcheck__claim-header:hover{background:#00000005}.factcheck__claim-verdict-badge{display:flex;align-items:center;gap:4px;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:650;white-space:nowrap;flex-shrink:0}.factcheck__claim-confidence{display:flex;align-items:center;gap:5px;flex:1}.factcheck__confidence-track{flex:1;height:4px;border-radius:2px;background:#e2e8f0;overflow:hidden;min-width:40px}.factcheck__confidence-fill{height:100%;border-radius:2px;transition:width .5s ease}.factcheck__confidence-value{font-size:10px;font-weight:700;min-width:28px;text-align:right}.factcheck__claim-text{padding:0 10px 8px;font-size:11.5px;color:#334155;line-height:1.5;font-style:italic}.factcheck__claim-details{display:flex;flex-direction:column;gap:8px;padding:0 10px 10px;animation:factcheck-details-in .2s ease-out}@keyframes factcheck-details-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.factcheck__evidence{padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.factcheck__evidence-label{font-size:9.5px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.factcheck__evidence-text{font-size:11.5px;color:#475569;line-height:1.55}.factcheck__sources{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.factcheck__sources-label{display:flex;align-items:center;gap:3px;font-size:9.5px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-right:2px}.factcheck__source-tag{font-size:10px;font-weight:500;color:#6366f1;background:#eef2ff;border:1px solid #c7d2fe;padding:2px 7px;border-radius:10px;white-space:nowrap}.factcheck__correction{padding:10px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px}.factcheck__correction-label{display:flex;align-items:center;gap:4px;font-size:9.5px;font-weight:700;color:#d97706;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.factcheck__correction-text{font-size:11.5px;color:#92400e;line-height:1.55;margin-bottom:8px}.factcheck__correction-actions{display:flex;gap:5px}.factcheck__correction-btn{display:flex;align-items:center;gap:4px;padding:4px 10px;border:none;border-radius:6px;font-size:10.5px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s;background:linear-gradient(135deg,#059669,#10b981);color:#fff;box-shadow:0 2px 6px #05966940}.factcheck__correction-btn:hover{transform:translateY(-1px);box-shadow:0 3px 10px #05966959}.factcheck__correction-btn--secondary{background:#fff;color:#64748b;border:1px solid #e2e8f0;box-shadow:none}.factcheck__correction-btn--secondary:hover{background:#f8fafc;color:#334155;box-shadow:none;transform:translateY(-1px)}.factcheck__correction-btn--secondary.copied{color:#059669;border-color:#a7f3d0;background:#ecfdf5}.factcheck__footer{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-top:1px solid #f1f5f9;background:#fafbfc}.factcheck__footer-note{font-size:9.5px;color:#94a3b8;font-style:italic}.factcheck__close-bottom-btn{display:flex;align-items:center;gap:4px;padding:5px 12px;border:none;border-radius:8px;background:linear-gradient(135deg,#059669,#10b981);color:#fff;font-size:11px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s;box-shadow:0 2px 8px #05966940}.factcheck__close-bottom-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #05966959}.doc-writer{display:flex;flex-direction:column;height:100%;background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.doc-toolbar{display:flex;align-items:center;gap:1px;padding:4px 6px;background:#fffffff5;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid #f1f5f9;position:sticky;top:0;z-index:20;flex-shrink:0;overflow-x:auto;scrollbar-width:none}.doc-toolbar::-webkit-scrollbar{display:none}.doc-toolbar__group{display:flex;align-items:center;gap:1px}.doc-toolbar__divider{width:1px;height:18px;background:#e2e8f0;margin:0 4px;flex-shrink:0}.doc-toolbar__btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:all .12s ease;flex-shrink:0}.doc-toolbar__btn:hover{background:#f1f5f9;color:#334155}.doc-toolbar__btn--active{background:#eef2ff;color:#4f46e5}.doc-toolbar__btn:disabled{opacity:.3;cursor:not-allowed}.doc-toolbar__select{height:28px;padding:0 8px;border:1px solid #e2e8f0;border-radius:6px;background:transparent;color:#475569;font-size:12px;font-weight:500;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:100px}.doc-toolbar__select:hover{border-color:#cbd5e1}.doc-editor{flex:1;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.doc-editor .tiptap{max-width:720px;margin:0 auto;padding:40px 48px 120px;outline:none;min-height:100%;color:#1e293b;font-size:15px;line-height:1.75;letter-spacing:-.01em}.doc-editor .tiptap h1{font-size:28px;font-weight:700;color:#0f172a;line-height:1.3;margin:32px 0 12px;letter-spacing:-.025em}.doc-editor .tiptap h2{font-size:20px;font-weight:650;color:#1e293b;line-height:1.35;margin:28px 0 8px;letter-spacing:-.02em;padding-bottom:6px;border-bottom:1px solid #f1f5f9}.doc-editor .tiptap h3{font-size:16px;font-weight:600;color:#334155;line-height:1.4;margin:20px 0 6px;letter-spacing:-.01em}.doc-editor .tiptap p{margin:0 0 12px}.doc-editor .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#94a3b8;float:left;pointer-events:none;height:0;font-style:italic}.doc-editor .tiptap section[data-type=linked-section]{position:relative;margin:24px 0;padding:0 0 0 16px;border-left:3px solid var(--section-accent, #6366f1);border-radius:0;transition:all .2s ease}.doc-editor .tiptap section[data-type=linked-section]:hover{background:#6366f105;border-left-width:4px}.doc-editor .tiptap section[data-type=linked-section]:before{content:attr(data-section-title);display:none}.doc-editor .tiptap section[data-node-type=questionNote]{--section-accent: #0ea5e9}.doc-editor .tiptap section[data-node-type=hypothesisNote]{--section-accent: #ec4899}.doc-editor .tiptap section[data-node-type=methodologyNote]{--section-accent: #06b6d4}.doc-editor .tiptap section[data-node-type=findingNote]{--section-accent: #10b981}.doc-editor .tiptap section[data-node-type=textNote]{--section-accent: #6366f1}.doc-editor .tiptap section[data-node-type=summaryNote]{--section-accent: #f59e0b}.doc-editor .tiptap section[data-node-type=ideaNote]{--section-accent: #8b5cf6}.doc-editor .tiptap section[data-node-type=citationNote]{--section-accent: #3b82f6}.doc-editor .tiptap section[data-type=linked-section].is-active{background:#6366f108;border-left-width:4px}.doc-editor .tiptap cite[data-type=citation-mark]{color:#4f46e5;font-size:11px;font-weight:600;font-style:normal;vertical-align:super;line-height:0;cursor:pointer;padding:0 1px;transition:color .15s}.doc-editor .tiptap cite[data-type=citation-mark]:hover{color:#3730a3;text-decoration:underline}.doc-editor .tiptap p.bibliography-entry{font-size:13px;line-height:1.6;color:#475569;padding:6px 0;border-bottom:1px solid #f8fafc;margin:0}.doc-editor .tiptap p.bibliography-entry:last-child{border-bottom:none}.doc-editor .tiptap p.bibliography-note{font-size:12px;line-height:1.5;color:#94a3b8;font-style:italic;margin:0 0 8px;padding-left:24px}.doc-editor .tiptap ul,.doc-editor .tiptap ol{padding-left:24px;margin:8px 0}.doc-editor .tiptap li{margin:4px 0}.doc-editor .tiptap li p{margin:0}.doc-editor .tiptap ul[data-type=taskList]{padding-left:0;list-style:none}.doc-editor .tiptap ul[data-type=taskList] li{display:flex;align-items:flex-start;gap:8px}.doc-editor .tiptap ul[data-type=taskList] li input[type=checkbox]{margin-top:4px;accent-color:#6366f1}.doc-editor .tiptap blockquote{border-left:3px solid #e2e8f0;padding:4px 0 4px 16px;margin:12px 0;color:#64748b;font-style:italic}.doc-editor .tiptap code{background:#f1f5f9;border-radius:4px;padding:2px 5px;font-size:13px;font-family:JetBrains Mono,Fira Code,monospace;color:#e11d48}.doc-editor .tiptap pre{background:#0f172a;border-radius:8px;padding:16px 20px;margin:16px 0;overflow-x:auto}.doc-editor .tiptap pre code{background:none;color:#e2e8f0;padding:0;font-size:13px;line-height:1.6}.doc-editor .tiptap table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}.doc-editor .tiptap th,.doc-editor .tiptap td{border:1px solid #e2e8f0;padding:8px 12px;text-align:left}.doc-editor .tiptap th{background:#f8fafc;font-weight:600;color:#334155}.doc-editor .tiptap hr{border:none;border-top:1px solid #e2e8f0;margin:24px 0}.doc-editor .tiptap img{max-width:100%;height:auto;border-radius:8px;margin:12px 0}.doc-editor .tiptap ::-moz-selection{background:#6366f126}.doc-editor .tiptap ::selection{background:#6366f126}.doc-editor .tiptap a{color:#4f46e5;text-decoration:none;border-bottom:1px solid rgba(79,70,229,.3);transition:all .15s}.doc-editor .tiptap a:hover{color:#3730a3;border-bottom-color:#3730a3}.doc-editor .tiptap mark{background:#fef08a;border-radius:2px;padding:1px 2px}.doc-editor .tiptap sup,.doc-editor .tiptap sub{font-size:11px}.doc-statusbar{display:flex;align-items:center;justify-content:space-between;padding:6px 16px;border-top:1px solid #f1f5f9;background:#fffffff5;font-size:11px;color:#94a3b8;flex-shrink:0}.doc-statusbar__left,.doc-statusbar__right{display:flex;align-items:center;gap:12px}.doc-statusbar__item{display:flex;align-items:center;gap:4px}.doc-statusbar__dot{width:6px;height:6px;border-radius:50%;background:#10b981}.doc-statusbar__dot--warning{background:#f59e0b}.doc-statusbar__item--autosave{gap:5px;padding:2px 8px;border-radius:4px;background:#10b9810f;font-size:10.5px;color:#10b981;font-weight:500;transition:all .3s ease}.doc-statusbar__save-dot{width:5px;height:5px;border-radius:50%;background:#94a3b8;transition:all .3s ease}.doc-statusbar__save-dot--saved{background:#10b981;box-shadow:0 0 4px #10b98166;animation:save-pulse 2s ease-in-out}@keyframes save-pulse{0%{box-shadow:0 0 #10b98199}50%{box-shadow:0 0 6px 2px #10b9814d}to{box-shadow:0 0 4px #10b98166}}.doc-synthesize-btn{display:flex;align-items:center;gap:6px;padding:5px 14px;border-radius:8px;border:none;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-size:11px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #6366f140;position:relative;overflow:hidden}.doc-synthesize-btn:hover{box-shadow:0 4px 16px #6366f166;transform:translateY(-1px)}.doc-synthesize-btn:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);transform:translate(-100%);transition:transform .6s ease}.doc-synthesize-btn:hover:after{transform:translate(100%)}.doc-statusbar__item--synth{color:#a78bfa;font-weight:600}.doc-statusbar__item--synth svg{color:#a78bfa}.doc-statusbar__revert-btn{background:none;border:1px solid #e2e8f0;color:#64748b;font-size:10px;font-family:inherit;padding:2px 8px;border-radius:4px;cursor:pointer;transition:all .15s ease}.doc-statusbar__revert-btn:hover{background:#f8fafc;color:#334155;border-color:#cbd5e1}.doc-export-wrapper{position:relative}.doc-export-btn{display:flex;align-items:center;gap:5px;padding:4px 12px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:11px;font-weight:500;font-family:inherit;cursor:pointer;transition:all .15s ease}.doc-export-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155}.doc-export-menu{position:absolute;bottom:calc(100% + 8px);right:0;width:220px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 8px 30px #00000014,0 2px 8px #0000000a;padding:6px;z-index:100;animation:doc-export-in .15s ease-out}@keyframes doc-export-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.doc-export-menu__item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:none;border-radius:8px;background:transparent;cursor:pointer;transition:background .12s;text-align:left;font-family:inherit}.doc-export-menu__item:hover{background:#f1f5f9}.doc-export-menu__icon{width:32px;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;letter-spacing:.02em;flex-shrink:0}.doc-export-menu__icon--pdf{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.doc-export-menu__icon--docx{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.doc-export-menu__icon--html{background:#fefce8;color:#ca8a04;border:1px solid #fef08a}.doc-export-menu__icon--txt{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.doc-export-menu__info{display:flex;flex-direction:column;gap:1px}.doc-export-menu__label{font-size:12px;font-weight:500;color:#334155}.doc-export-menu__desc{font-size:10px;color:#94a3b8}.doc-section-nav{position:sticky;top:48px;right:0;width:180px;padding:12px 0;max-height:calc(100vh - 120px);overflow-y:auto;scrollbar-width:none}.doc-section-nav::-webkit-scrollbar{display:none}.doc-section-nav__item{display:flex;align-items:center;gap:8px;padding:5px 12px;cursor:pointer;border-radius:6px;transition:all .15s;font-size:12px;color:#64748b;text-decoration:none}.doc-section-nav__item:hover{background:#f8fafc;color:#334155}.doc-section-nav__item--active{background:#eef2ff;color:#4f46e5;font-weight:500}.doc-section-nav__dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.doc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:12px;color:#94a3b8;padding:48px;text-align:center}.doc-empty__icon{width:48px;height:48px;border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;color:#cbd5e1}.doc-empty__title{font-size:15px;font-weight:600;color:#64748b}.doc-empty__desc{font-size:13px;line-height:1.5;max-width:320px}@media (max-width: 768px){.doc-editor .tiptap{padding:24px 20px 80px;font-size:14px}.doc-editor .tiptap h1{font-size:22px}.doc-editor .tiptap h2{font-size:18px}.doc-editor .tiptap h3{font-size:15px}}@media print{.doc-toolbar,.doc-statusbar,.doc-section-nav{display:none}.doc-editor .tiptap{max-width:100%;padding:0}.doc-editor .tiptap section[data-type=linked-section]{border-left:none;padding-left:0}}.synth-modal-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:#0006;backdrop-filter:blur(6px);animation:synth-fade-in .2s ease-out}@keyframes synth-fade-in{0%{opacity:0}to{opacity:1}}.synth-modal{width:600px;max-width:94vw;max-height:85vh;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 20px 60px #0000001f,0 4px 16px #0000000d;display:flex;flex-direction:column;overflow:hidden;animation:synth-modal-in .25s cubic-bezier(.16,1,.3,1)}@keyframes synth-modal-in{0%{opacity:0;transform:scale(.97) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.synth-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 14px;border-bottom:1px solid #f1f5f9}.synth-modal__header-left{display:flex;align-items:center;gap:12px}.synth-modal__icon-wrapper{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#4f46e5,#7c3aed);display:flex;align-items:center;justify-content:center;color:#fff}.synth-modal__title{font-size:16px;font-weight:650;color:#0f172a;margin:0;letter-spacing:-.02em}.synth-modal__subtitle{font-size:12px;color:#94a3b8;margin:2px 0 0}.synth-modal__close{width:28px;height:28px;border-radius:6px;border:none;background:transparent;color:#94a3b8;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .12s}.synth-modal__close:hover{background:#f1f5f9;color:#475569}.synth-modal__stats-bar{display:flex;align-items:center;gap:6px;padding:10px 24px;background:#fafbfc;border-bottom:1px solid #f1f5f9;flex-wrap:wrap}.synth-modal__stat{display:flex;align-items:center;gap:4px;font-size:11px;color:#64748b;padding:3px 8px;background:#fff;border-radius:5px;border:1px solid #e2e8f0}.synth-modal__stat--badge{background:#f0f0ff;border-color:#e0e7ff;color:#4f46e5}.synth-modal__body{flex:1;overflow-y:auto;padding:20px 24px 24px;scrollbar-width:thin;scrollbar-color:#e2e8f0 transparent}.synth-modal__body::-webkit-scrollbar{width:4px}.synth-modal__body::-webkit-scrollbar-track{background:transparent}.synth-modal__body::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:10px}.synth-modal__field{margin-bottom:20px}.synth-modal__field--half{flex:1}.synth-modal__label{display:block;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}.synth-modal__input{width:100%;padding:9px 12px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#1e293b;font-size:13px;font-family:inherit;outline:none;transition:all .15s;box-sizing:border-box}.synth-modal__input:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f114}.synth-modal__input::-moz-placeholder{color:#cbd5e1}.synth-modal__input::placeholder{color:#cbd5e1}.synth-modal__style-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.synth-modal__style-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px 10px;border-radius:10px;border:1.5px solid #e2e8f0;background:#fff;cursor:pointer;transition:all .15s;text-align:center;position:relative;color:inherit;font-family:inherit}.synth-modal__style-card:hover{border-color:#c7d2fe;background:#fafafe}.synth-modal__style-card--active{border-color:#818cf8;background:#f5f3ff;box-shadow:0 0 0 1px #818cf8}.synth-modal__style-icon{width:32px;height:32px;min-width:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.synth-modal__style-info{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}.synth-modal__style-name{font-size:12px;font-weight:600;color:#1e293b}.synth-modal__style-desc{font-size:10px;color:#94a3b8;line-height:1.3;display:none}.synth-modal__style-check{position:absolute;top:6px;right:6px;width:18px;height:18px;border-radius:5px;background:#4f46e5;display:flex;align-items:center;justify-content:center;color:#fff}.synth-modal__depth-row{display:flex;gap:4px}.synth-modal__depth-btn{flex:1;padding:8px 6px;border-radius:8px;border:1.5px solid #e2e8f0;background:#fff;cursor:pointer;transition:all .15s;text-align:center;font-family:inherit;color:inherit}.synth-modal__depth-btn:hover{border-color:#c7d2fe;background:#fafafe}.synth-modal__depth-btn--active{background:#f5f3ff;border-color:#818cf8;box-shadow:0 0 0 1px #818cf8}.synth-modal__depth-label{display:block;font-size:12px;font-weight:600;color:#1e293b}.synth-modal__depth-meta{display:block;font-size:10px;color:#94a3b8;margin-top:1px}.synth-modal__toggles{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px}.synth-modal__toggle{display:flex;align-items:center;gap:8px;font-size:12px;color:#475569;cursor:pointer;padding:7px 10px;border-radius:7px;border:1px solid #f1f5f9;transition:all .12s;background:#fafbfc}.synth-modal__toggle:hover{background:#f1f5f9;border-color:#e2e8f0}.synth-modal__toggle input[type=checkbox]{width:15px;height:15px;accent-color:#4f46e5;border-radius:3px;cursor:pointer}.synth-modal__advanced-toggle{display:flex;align-items:center;gap:5px;font-size:11px;color:#94a3b8;background:none;border:none;cursor:pointer;padding:4px 0;margin-bottom:10px;font-family:inherit;transition:color .12s}.synth-modal__advanced-toggle:hover{color:#64748b}.synth-modal__advanced{padding:14px;border-radius:10px;background:#fafbfc;border:1px solid #f1f5f9;margin-bottom:14px}.synth-modal__advanced-row{display:flex;gap:10px;margin-bottom:10px}.synth-modal__select{width:100%;padding:9px 12px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#1e293b;font-size:12px;font-family:inherit;outline:none;cursor:pointer;box-sizing:border-box;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.synth-modal__select:focus{border-color:#818cf8}.synth-modal__textarea{width:100%;padding:9px 12px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#1e293b;font-size:12px;font-family:inherit;outline:none;resize:vertical;min-height:54px;box-sizing:border-box}.synth-modal__textarea:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f114}.synth-modal__textarea::-moz-placeholder{color:#cbd5e1}.synth-modal__textarea::placeholder{color:#cbd5e1}.synth-modal__generating{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px 0}.synth-modal__progress-header{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;color:#4f46e5}.synth-modal__progress-icon{width:28px;height:28px;border-radius:8px;background:#f0f0ff;display:flex;align-items:center;justify-content:center;color:#4f46e5}.synth-modal__sparkle-spin{animation:synth-sparkle-spin 2s linear infinite}@keyframes synth-sparkle-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.synth-modal__progress-bar-container{width:100%;height:3px;border-radius:2px;background:#f1f5f9;overflow:hidden}.synth-modal__progress-bar{height:100%;border-radius:2px;background:linear-gradient(90deg,#4f46e5,#7c3aed);transition:width .5s ease-out;position:relative}.synth-modal__progress-bar:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:synth-shimmer 1.5s infinite}@keyframes synth-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.synth-modal__stream-preview{width:100%;height:280px;border-radius:10px;background:#fafbfc;border:1px solid #e2e8f0;overflow-y:auto;padding:14px;scrollbar-width:thin;scrollbar-color:#e2e8f0 transparent}.synth-modal__stream-text{font-size:12px;line-height:1.7;color:#334155;white-space:pre-wrap;word-break:break-word;font-family:Inter,-apple-system,sans-serif}.synth-modal__cursor{animation:synth-blink .8s infinite;color:#4f46e5}@keyframes synth-blink{0%,to{opacity:1}50%{opacity:0}}.synth-modal__stream-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:10px;color:#94a3b8;font-size:12px}.synth-modal__spinner{animation:synth-spin 1s linear infinite}@keyframes synth-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.synth-modal__cancel-btn{padding:7px 18px;border-radius:7px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:12px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .12s}.synth-modal__cancel-btn:hover{background:#f1f5f9;color:#334155}.synth-modal__complete{display:flex;flex-direction:column;gap:14px}.synth-modal__complete-header{display:flex;align-items:center;gap:12px}.synth-modal__complete-icon{width:36px;height:36px;border-radius:10px;background:#ecfdf5;display:flex;align-items:center;justify-content:center;color:#059669}.synth-modal__complete-header h3{font-size:15px;font-weight:650;color:#0f172a;margin:0}.synth-modal__complete-header p{font-size:11px;color:#94a3b8;margin:2px 0 0}.synth-modal__preview{height:300px;border-radius:10px;background:#fafbfc;border:1px solid #e2e8f0;overflow-y:auto;padding:18px;scrollbar-width:thin;scrollbar-color:#e2e8f0 transparent}.synth-modal__preview-text{font-size:12px;line-height:1.75;color:#334155;white-space:pre-wrap;word-break:break-word;font-family:Inter,-apple-system,sans-serif}.synth-modal__actions{display:flex;gap:6px}.synth-modal__action-btn{display:flex;align-items:center;gap:6px;padding:9px 14px;border-radius:8px;border:none;font-size:12px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .12s}.synth-modal__action-btn--primary{background:#4f46e5;color:#fff;flex:1;justify-content:center}.synth-modal__action-btn--primary:hover{background:#4338ca}.synth-modal__action-btn--secondary{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}.synth-modal__action-btn--secondary:hover{background:#f1f5f9;border-color:#cbd5e1}.synth-modal__error{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:36px 20px}.synth-modal__error-icon{width:44px;height:44px;border-radius:12px;background:#fef2f2;display:flex;align-items:center;justify-content:center;color:#dc2626}.synth-modal__error h3{font-size:15px;font-weight:650;color:#0f172a;margin:0}.synth-modal__error p{font-size:12px;color:#64748b;max-width:360px;margin:0}.synth-modal__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 24px;border-top:1px solid #f1f5f9;background:#fafbfc}.synth-modal__footer-cancel{padding:9px 18px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:12px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .12s}.synth-modal__footer-cancel:hover{background:#f1f5f9;color:#334155}.synth-modal__footer-synthesize{padding:9px 20px;border-radius:8px;border:none;background:#4f46e5;color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;display:flex;align-items:center;gap:6px;transition:all .15s}.synth-modal__footer-synthesize:hover:not(:disabled){background:#4338ca}.synth-modal__footer-synthesize:disabled{opacity:.4;cursor:not-allowed}@media (max-width: 680px){.synth-modal{width:100%;max-height:95vh;border-radius:16px 16px 0 0}.synth-modal__style-grid{grid-template-columns:1fr 1fr}.synth-modal__depth-row{flex-wrap:wrap}.synth-modal__depth-btn{flex-basis:calc(50% - 2px)}.synth-modal__toggles{grid-template-columns:1fr}.synth-modal__advanced-row,.synth-modal__actions{flex-direction:column}}
