*{box-sizing:border-box}body{color:#17142a;background:#fbf7ff;margin:0;font-family:Inter,system-ui,sans-serif}.back-link{color:#8b5cf6;margin-bottom:24px;font-weight:600;text-decoration:none;display:inline-block}.page-label{color:#8b5cf6;margin:0;font-weight:700}.subject-code{color:#8b5cf6;margin:0 0 12px;font-size:.9rem;font-weight:700}.notes-search{background:#fff;border:1px solid #e2d8f0;border-radius:18px;width:100%;margin-top:32px;padding:16px 20px;font-size:1rem}.math-text-inline{display:inline}.math-text-block{text-align:center;margin:1rem 0;display:block;overflow-x:auto}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(./KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(./KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(./KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(./KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(./KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(./KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(./KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(./KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(./KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(./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(./KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(./KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(./KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(./KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(./KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(./KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(./KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(./KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(./KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(./KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(./KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(./KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(./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(./KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(./KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(./KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(./KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(./KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(./KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(./KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(./KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(./KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(./KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(./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(./KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(./KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(./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(./KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(./KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(./KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(./KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(./KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(./KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.17.0"}.katex .katex-mathml{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}.read-only-note{max-width:900px;min-height:300px;margin:0 auto;padding:.5rem 1.5rem 5rem}.read-only-note-content{color:#29252f;outline:none;font-size:1.04rem;line-height:1.8}.read-only-note-content>:first-child{margin-top:0}.read-only-note-content>:last-child{margin-bottom:0}.read-only-note-content h1,.read-only-note-content h2,.read-only-note-content h3{color:#241e2e;letter-spacing:-.025em;font-weight:750;line-height:1.2}.read-only-note-content h1{margin:3rem 0 1rem;font-size:2rem}.read-only-note-content h2{margin:2.75rem 0 .9rem;font-size:1.65rem}.read-only-note-content h3{margin:2.1rem 0 .75rem;font-size:1.25rem}.read-only-note-content ul,.read-only-note-content ol{margin:.7rem 0 1rem;padding-left:1.5rem}.read-only-note-content li{margin:.2rem 0;padding-left:.15rem}.read-only-note-content blockquote{color:#5f5866;background:0 0;border-left:3px solid #8b5cf680;margin:1.25rem 0;padding:.35rem 0 .35rem 1rem}.read-only-note-content blockquote p{margin:.35rem 0}.read-only-note-content code{color:#7146bd;background:#f1edf6;border-radius:6px;padding:.15rem .35rem;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.read-only-note-content pre{color:#f8f5fb;tab-size:2;background:#211d27;border:1px solid #ffffff14;border-radius:14px;margin:1.4rem 0;padding:1.25rem 1.4rem;line-height:1.65;position:relative;overflow-x:auto;box-shadow:0 10px 30px #221c2924}.read-only-note-content pre code{color:#f8f5fb;white-space:pre;background:0 0;border-radius:0;min-width:max-content;padding:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92rem;display:block}.read-only-note-content .hljs-comment,.read-only-note-content .hljs-quote{color:#9b91a4;font-style:italic}.read-only-note-content .hljs-keyword,.read-only-note-content .hljs-selector-tag,.read-only-note-content .hljs-literal,.read-only-note-content .hljs-section,.read-only-note-content .hljs-link{color:#d79cff}.read-only-note-content .hljs-string,.read-only-note-content .hljs-title,.read-only-note-content .hljs-name,.read-only-note-content .hljs-type,.read-only-note-content .hljs-attribute,.read-only-note-content .hljs-symbol,.read-only-note-content .hljs-bullet,.read-only-note-content .hljs-addition,.read-only-note-content .hljs-variable,.read-only-note-content .hljs-template-tag,.read-only-note-content .hljs-template-variable{color:#b5e8a5}.read-only-note-content .hljs-number,.read-only-note-content .hljs-meta,.read-only-note-content .hljs-built_in,.read-only-note-content .hljs-builtin-name,.read-only-note-content .hljs-params{color:#f3c98b}.read-only-note-content .hljs-function,.read-only-note-content .hljs-title.function_,.read-only-note-content .hljs-class,.read-only-note-content .hljs-title.class_{color:#8ecdf4}.read-only-note-content .hljs-tag,.read-only-note-content .hljs-selector-id,.read-only-note-content .hljs-selector-class,.read-only-note-content .hljs-regexp,.read-only-note-content .hljs-deletion{color:#f29aa3}.read-only-note-content .hljs-operator,.read-only-note-content .hljs-punctuation{color:#d8d0df}.read-only-note-content .hljs-emphasis{font-style:italic}.read-only-note-content .hljs-strong{font-weight:700}.read-only-note-content hr{border:none;border-top:1px solid #e8e1ee;margin:2.4rem 0}.read-only-note-content .tiptap-mathematics-render{cursor:default}.read-only-note-content .tiptap-mathematics-render[data-type=inline-math]{vertical-align:middle;margin:0 .15rem;display:inline-block}.read-only-note-content .tiptap-mathematics-render[data-type=block-math]{text-align:center;background:0 0;border:none;border-radius:0;width:100%;margin:1.4rem 0;padding:.35rem 0;display:block;overflow-x:auto}.read-only-note-content img{border-radius:12px;max-width:100%;height:auto;margin:1.4rem auto;display:block}.note-editor-content .note-callout-heading,.read-only-note-content .note-callout-heading{align-items:center;gap:.45rem;font-size:.96rem;font-weight:700;display:flex}.note-editor-content .note-callout-heading svg,.read-only-note-content .note-callout-heading svg{width:17px;height:17px}.note-editor-content .note-callout-body>:first-child,.read-only-note-content .note-callout-body>:first-child{margin-top:0}.note-editor-content .note-callout-body>:last-child,.read-only-note-content .note-callout-body>:last-child{margin-bottom:0}.note-editor-content .note-callout-body .tiptap-mathematics-render[data-type=block-math],.read-only-note-content .note-callout-body .tiptap-mathematics-render[data-type=block-math]{margin:.9rem 0;padding:.2rem 0}.note-editor-content .note-callout-body blockquote,.read-only-note-content .note-callout-body blockquote{margin:.85rem 0}.note-editor-content .note-callout-body ul,.note-editor-content .note-callout-body ol,.read-only-note-content .note-callout-body ul,.read-only-note-content .note-callout-body ol{margin:.65rem 0}@media (width<=700px){.read-only-note{padding-left:1rem;padding-right:1rem}.read-only-note-content{font-size:1rem;line-height:1.75}.read-only-note-content h1{font-size:1.8rem}.read-only-note-content h2{font-size:1.45rem}.read-only-note-content h3{font-size:1.22rem}.read-only-note-content pre{border-radius:12px;margin-left:-.25rem;margin-right:-.25rem;padding:1.1rem 1.15rem}.read-only-note-content .tiptap-mathematics-render[data-type=block-math]{margin:1.2rem 0;padding:.25rem 0}.note-editor-content .note-callout-header,.read-only-note-content .note-callout-header{min-height:42px;padding:.6rem .8rem}.note-editor-content .note-callout-body,.read-only-note-content .note-callout-body{padding:.8rem .85rem .9rem}}.read-only-note{grid-template-columns:minmax(0,1fr);gap:28px;max-width:none;padding:0 0 3rem;display:grid}.note-reading-body{width:100%;min-width:0;max-width:720px;margin:0 auto}.note-outline{color:#746d79;font-size:.84rem}.note-outline summary{cursor:pointer;color:#544a60;padding:8px 0;font-weight:700}.note-outline ol{margin:8px 0 0;padding:0;list-style:none}.note-outline a{color:inherit;overflow-wrap:anywhere;border-left:2px solid #e5dced;padding:7px 10px;line-height:1.45;text-decoration:none;display:block}.note-outline a:hover,.note-outline a[aria-current]{color:#7044af;background:#f2ecfa;border-color:#9b6ee8}.note-outline a:focus-visible,.note-outline summary:focus-visible{outline-offset:2px;outline:2px solid #9b6ee8}.read-only-note-content{overflow-wrap:anywhere}.read-only-note-content :is(h1,h2,h3,h4,h5,h6){scroll-margin-top:88px}.read-only-note-content h2{border-bottom:1px solid #eae3f0;padding-bottom:.4rem}.read-only-note-content :is(h4,h5,h6){color:#403747;margin:1.8rem 0 .6rem;line-height:1.4}.read-only-note-content p{margin:.9rem 0}.read-only-note-content .concept-link{color:inherit;font-weight:inherit;border-bottom:1px dotted #b7a6cb}.read-only-note-content .concept-link:hover{color:#7044af;border-color:#7044af}.read-only-note-content .tiptap-mathematics-render[data-type=block-math]{background:#faf8fd;border-radius:10px;padding:1rem}.read-only-note-content pre{box-shadow:none}.read-only-note-content img{margin:2rem auto}@media (width>=1000px){.read-only-note{grid-template-columns:fit-content(220px) minmax(0,1fr);gap:32px}.note-outline{align-self:start;min-width:0;max-height:calc(100vh - 104px);position:sticky;top:80px;overflow-y:auto}.note-reading-body{grid-column:2;max-width:820px}}@media (width<=999px){.note-outline{background:#faf8fd;border:1px solid #e5dced;border-radius:10px;width:100%;max-width:720px;margin:0 auto;padding:10px 14px}.note-outline ol{max-height:200px;overflow-y:auto}}.read-only-note-with-header{row-gap:0}.note-reading-header{min-width:0}@media (width>=1000px){.note-reading-header{grid-area:1/2}.read-only-note-with-header .note-outline{grid-area:1/1/span 2;margin-top:32px}.read-only-note-with-header .note-reading-body{grid-row:2}.editable-note-reading .note-reading-header .editable-note-document-header{max-width:820px;margin-left:auto;margin-right:auto}}@media (width<=999px){.read-only-note-with-header .note-outline{margin-bottom:28px}}.concept-popover{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#ede9fe);width:min(360px,100vw - 32px);color:var(--theme-text,#1f2937);border-radius:16px;padding:18px 20px;box-shadow:0 12px 32px #0000001a}.concept-popover-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.concept-popover-type{color:var(--theme-accent,#7c3aed);text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:700}.concept-popover-close{width:28px;height:28px;color:var(--theme-muted,#6b7280);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:1.25rem;display:flex}.concept-popover-close:hover{background:var(--theme-soft,#f5f3ff);color:var(--theme-accent,#7c3aed)}.concept-popover h3{color:var(--theme-text,#111827);margin:8px 0 6px;font-size:1.05rem}.concept-popover p{color:var(--theme-muted,#4b5563);margin:0;line-height:1.6}.concept-popover-related{border-top:1px solid var(--theme-border,#ede9fe);margin-top:14px;padding-top:12px}.concept-popover-related-label{color:var(--theme-muted,#6b7280);margin-bottom:7px;font-size:.75rem;font-weight:600;display:block}.concept-popover-related-list{flex-wrap:wrap;gap:6px;display:flex}.concept-popover-related-item{background:var(--theme-soft,#f5f3ff);color:var(--theme-accent,#7c3aed);font:inherit;cursor:pointer;border:0;border-radius:7px;padding:5px 8px;font-size:.78rem;font-weight:600}.concept-popover-explanation{margin-top:10px}.concept-popover-explanation-toggle{color:var(--theme-accent,#7c3aed);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.8rem;font-weight:600}.concept-popover-explanation-toggle:hover{color:var(--theme-accent,#5b21b6)}.concept-popover .concept-popover-explanation-text{color:var(--theme-muted,#4b5563);margin-top:8px;font-size:.85rem;line-height:1.6}.concept-popover-page-link{color:var(--theme-accent,#7c3aed);margin-top:14px;font-size:.8rem;font-weight:600;text-decoration:none;display:inline-block}.concept-popover-page-link:hover{color:var(--theme-accent,#5b21b6)}.concept-popover-note-content{flex-direction:column;gap:.85rem;margin-top:.9rem;display:flex}.concept-popover-note-item{border-top:1px solid var(--theme-border,#ede9fe);padding-top:.8rem}.concept-popover-note-item:first-child{border-top:0;padding-top:0}.concept-popover-note-type{color:var(--theme-accent,#7c3aed);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.35rem;font-size:.7rem;font-weight:700;display:block}.concept-popover-note-html{color:var(--theme-text,#374151);font-size:.9rem;line-height:1.55}.concept-popover-note-html p{margin:0}.concept-popover-note-source{color:var(--theme-muted,#9ca3af);margin-top:.45rem;font-size:.72rem;text-decoration:none;display:block}.concept-popover-note-source:hover{color:var(--theme-accent,#7c3aed)}.concept-popover-content-status{color:var(--theme-muted,#9ca3af);margin:.75rem 0 0;font-size:.82rem}.concept-picker{box-sizing:border-box;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#ede9fe);border-radius:12px;flex-direction:column;width:260px;padding:8px;display:flex;box-shadow:0 8px 24px #00000014}.concept-picker-header{color:var(--theme-text,#111827);justify-content:space-between;align-items:center;padding:4px 6px 10px;font-size:.9rem;font-weight:700;display:flex}.concept-picker-close{width:28px;height:28px;color:var(--theme-muted,#6b7280);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:1.25rem;display:flex}.concept-picker-close:hover{background:var(--theme-soft,#f5f3ff);color:var(--theme-accent,#7c3aed)}.concept-picker-search{box-sizing:border-box;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e5e7eb);width:100%;color:var(--theme-text,#1f2937);font:inherit;border-radius:8px;outline:none;margin-bottom:8px;padding:8px 10px;font-size:.85rem}.concept-picker-search:focus{border-color:var(--theme-accent,#7c3aed)}.concept-picker-search::placeholder{color:var(--theme-muted,#9ca3af)}.concept-picker-list{flex-direction:column;gap:4px;display:flex}.concept-picker-empty{color:var(--theme-muted,#6b7280);text-align:center;margin:0;padding:10px;font-size:.82rem}.concept-picker-item{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:100%;height:auto;min-height:36px;padding:8px 10px;display:flex}.concept-picker-item:hover{background:var(--theme-soft,#f5f3ff)}.concept-picker-name{color:var(--theme-text,#1f2937);font-size:.9rem;font-weight:600}.concept-picker-type{color:var(--theme-accent,#7c3aed);text-transform:uppercase;font-size:.7rem;font-weight:600}.note-editor-content .note-callout[data-callout-type^=exam-],.read-only-note-content .note-callout[data-callout-type^=exam-]{border-color:var(--exam-box-border,#d9ccf5);background:var(--exam-box-bg,#f8f5ff)}.note-editor-content .note-callout[data-callout-type^=exam-] .note-callout-header,.read-only-note-content .note-callout[data-callout-type^=exam-] .note-callout-header{background:var(--exam-box-head,#ece4ff);color:var(--exam-box-text,#5b33a8)}.note-callout[data-callout-type=exam-task]{--exam-box-bg:#f8f5ff;--exam-box-border:#d9ccf5;--exam-box-head:#ece4ff;--exam-box-text:#5b33a8}.note-callout[data-callout-type=exam-signal]{--exam-box-bg:#f4f8ff;--exam-box-border:#cfe0f7;--exam-box-head:#e3eeff;--exam-box-text:#2f6ea5}.note-callout[data-callout-type=exam-book]{--exam-box-bg:#eef5ff;--exam-box-border:#bcd3f2;--exam-box-head:#dbe9ff;--exam-box-text:#2d5f9a}.note-callout[data-callout-type=exam-missing]{--exam-box-bg:#fff3f4;--exam-box-border:#f1c4cb;--exam-box-head:#fde0e4;--exam-box-text:#a83a48}.note-callout[data-callout-type=exam-partial]{--exam-box-bg:#fff6ec;--exam-box-border:#f5d9b8;--exam-box-head:#ffe9cf;--exam-box-text:#9a5a12}.note-callout[data-callout-type=exam-given]{--exam-box-bg:#fffbea;--exam-box-border:#f2e099;--exam-box-head:#fff1b8;--exam-box-text:#7a5d00}.note-callout[data-callout-type=exam-learning]{--exam-box-bg:#f9f8fb;--exam-box-border:#dedbe6;--exam-box-head:#ecebf2;--exam-box-text:#4b4560}:root[data-theme=dark] .note-callout[data-callout-type=exam-task],:root[data-theme=dark] .note-callout[data-callout-type=exam-signal],:root[data-theme=dark] .note-callout[data-callout-type=exam-book],:root[data-theme=dark] .note-callout[data-callout-type=exam-missing],:root[data-theme=dark] .note-callout[data-callout-type=exam-partial],:root[data-theme=dark] .note-callout[data-callout-type=exam-given],:root[data-theme=dark] .note-callout[data-callout-type=exam-learning]{--exam-box-bg:#2a2237;--exam-box-border:#4a3d63;--exam-box-head:#352b47;--exam-box-text:#d7c8f5}:root[data-theme=dark] .note-callout[data-callout-type=exam-signal]{--exam-box-bg:#1f2638;--exam-box-border:#34496e;--exam-box-head:#22304a;--exam-box-text:#9cc4f5}:root[data-theme=dark] .note-callout[data-callout-type=exam-book]{--exam-box-bg:#1d2a40;--exam-box-border:#34496e;--exam-box-head:#22344f;--exam-box-text:#9cc4f5}:root[data-theme=dark] .note-callout[data-callout-type=exam-missing]{--exam-box-bg:#3a1f26;--exam-box-border:#6b3440;--exam-box-head:#4a2530;--exam-box-text:#ffb3ba}:root[data-theme=dark] .note-callout[data-callout-type=exam-partial]{--exam-box-bg:#3a2a1a;--exam-box-border:#6b4d2a;--exam-box-head:#4a3620;--exam-box-text:#f5d18c}:root[data-theme=dark] .note-callout[data-callout-type=exam-given]{--exam-box-bg:#3a3420;--exam-box-border:#6b5e2a;--exam-box-head:#4a4226;--exam-box-text:#f5e08c}:root[data-theme=dark] .note-callout[data-callout-type=exam-learning]{--exam-box-bg:#201b2b;--exam-box-border:#3b314a;--exam-box-head:#2a2338;--exam-box-text:#b7abc8}.note-editor-content mark.exam-mark,.read-only-note-content mark.exam-mark{color:inherit;cursor:help;background:#fff0a6;border-radius:4px;padding:0 .15em;position:relative}.note-editor-content mark.exam-mark-method,.read-only-note-content mark.exam-mark-method{background:#e6dbff}.note-editor-content mark.exam-mark-model,.read-only-note-content mark.exam-mark-model{background:#d8e7ff}.note-editor-content mark.exam-mark-requirement,.read-only-note-content mark.exam-mark-requirement{background:#ffe0cc}.note-editor-content mark.exam-mark-constraint,.read-only-note-content mark.exam-mark-constraint{background:#ffd3da}.exam-mark-popover{z-index:2000;box-sizing:border-box;color:#fff;overflow-wrap:anywhere;background:#1f1a2b;border-radius:8px;width:min(320px,100vw - 16px);max-height:calc(100vh - 16px);padding:8px 10px;font-size:.84rem;font-weight:400;line-height:1.4;position:fixed;overflow-y:auto;box-shadow:0 6px 18px #140e1e40}.exam-mark-popover[hidden]{display:none}.exam-mark-popover-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.exam-mark-popover-header strong{letter-spacing:.01em;color:#e6dbff;font-size:.76rem;font-weight:700}.exam-mark-popover-close{min-width:32px;min-height:32px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;margin:-6px -6px -6px 0;padding:0;font-size:1.2rem;line-height:1}.exam-mark-popover-close:focus-visible{outline-offset:1px;outline:2px solid #e6dbff}.exam-mark-popover-text{white-space:normal;margin:2px 0 0}:root[data-theme=dark] .note-editor-content mark.exam-mark,:root[data-theme=dark] .read-only-note-content mark.exam-mark{background:#5c5024}:root[data-theme=dark] .note-editor-content mark.exam-mark-method,:root[data-theme=dark] .read-only-note-content mark.exam-mark-method{background:#3f2f6b}:root[data-theme=dark] .note-editor-content mark.exam-mark-model,:root[data-theme=dark] .read-only-note-content mark.exam-mark-model{background:#22406b}:root[data-theme=dark] .note-editor-content mark.exam-mark-requirement,:root[data-theme=dark] .read-only-note-content mark.exam-mark-requirement{background:#5a3a22}:root[data-theme=dark] .note-editor-content mark.exam-mark-constraint,:root[data-theme=dark] .read-only-note-content mark.exam-mark-constraint{background:#5a2630}:root[data-theme=dark] .exam-mark-popover{color:#1f1a2b;background:#eee9f5}:root[data-theme=dark] .exam-mark-popover-header strong{color:#5b33a8}.exam-mark-controls{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.exam-mark-controls .exam-mark-explanation-input{min-width:180px;max-width:260px;font-size:.85rem}.concept-link{color:var(--theme-accent,#7c3aed);cursor:pointer;border-bottom:1px dashed var(--theme-accent,#7c3aed);font-weight:600;text-decoration:none}.concept-link:hover{color:var(--theme-accent,#5b21b6);border-bottom-color:var(--theme-accent,#5b21b6)}.note-editor{box-shadow:none;background:0 0;border:none;border-radius:0;overflow:visible}.note-editor-toolbar{z-index:100;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border:1px solid #9b6ee824;border-radius:12px;flex-wrap:wrap;align-items:center;gap:.35rem;max-width:900px;margin:0 auto;padding:.7rem .85rem;display:flex;position:sticky;top:104px;box-shadow:0 8px 28px #3426540f}.note-editor-toolbar>button,.note-editor-toolbar>.concept-picker-wrapper>button{color:#4c4358;width:38px;min-width:38px;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;margin:0;padding:0;font-size:.88rem;font-weight:650;transition:background .18s,color .18s,border-color .18s,transform .18s;display:flex}.note-editor-toolbar button:hover:not(:disabled){color:#7046c5;background:#f7f3ff;border-color:#9b6ee82e;transform:translateY(-1px)}.note-editor-toolbar button.is-active{color:#6f43c4;background:#eee5ff;border-color:#9b6ee833}.note-editor-toolbar button:disabled{cursor:not-allowed;opacity:.35}.note-editor-toolbar svg{stroke-width:2px}.toolbar-divider{background:#9b6ee82e;align-self:center;width:1px;height:24px;margin:0 .35rem}.note-editor-content{color:#29252f;outline:none;max-width:900px;min-height:420px;margin:0 auto;padding:3.5rem 1.5rem 5rem;font-size:1.05rem;line-height:1.85}.note-editor-content>:first-child{margin-top:0}.note-editor-content>:last-child{margin-bottom:0}.note-editor-content p{margin:.8rem 0}.note-editor-content h1,.note-editor-content h2,.note-editor-content h3{color:#241e2e;letter-spacing:-.025em;line-height:1.25}.note-editor-content h1{margin:2.5rem 0 1rem;font-size:clamp(2rem,4vw,2.8rem)}.note-editor-content h2{margin:2.25rem 0 .9rem;font-size:clamp(1.55rem,3vw,2rem)}.note-editor-content h3{margin:1.75rem 0 .75rem;font-size:1.3rem}.note-editor-content ul,.note-editor-content ol{margin:1rem 0;padding-left:1.65rem}.note-editor-content li{margin:.35rem 0;padding-left:.2rem}.note-editor-content blockquote{color:#574b68;background:#f8f4ff;border-left:4px solid #9b6ee8;border-radius:0 12px 12px 0;margin:1.5rem 0;padding:.9rem 1.1rem}.note-editor-content code{color:#7146bd;background:#f1edf6;border-radius:6px;padding:.15rem .35rem;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.note-editor-content pre{color:#f8f5fb;tab-size:2;background:#211d27;border:1px solid #ffffff14;border-radius:14px;margin:1.5rem 0;padding:1.35rem 1.5rem;line-height:1.65;position:relative;overflow-x:auto;box-shadow:0 10px 30px #221c2924}.note-editor-content pre code{color:#f8f5fb;white-space:pre;background:0 0;border-radius:0;min-width:max-content;padding:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92rem;display:block}.note-editor-content .hljs-comment,.note-editor-content .hljs-quote{color:#9b91a4;font-style:italic}.note-editor-content .hljs-keyword,.note-editor-content .hljs-selector-tag,.note-editor-content .hljs-literal,.note-editor-content .hljs-section,.note-editor-content .hljs-link{color:#d79cff}.note-editor-content .hljs-string,.note-editor-content .hljs-title,.note-editor-content .hljs-name,.note-editor-content .hljs-type,.note-editor-content .hljs-attribute,.note-editor-content .hljs-symbol,.note-editor-content .hljs-bullet,.note-editor-content .hljs-addition,.note-editor-content .hljs-variable,.note-editor-content .hljs-template-tag,.note-editor-content .hljs-template-variable{color:#b5e8a5}.note-editor-content .hljs-number,.note-editor-content .hljs-meta,.note-editor-content .hljs-built_in,.note-editor-content .hljs-builtin-name,.note-editor-content .hljs-params{color:#f3c98b}.note-editor-content .hljs-function,.note-editor-content .hljs-title.function_,.note-editor-content .hljs-class,.note-editor-content .hljs-title.class_{color:#8ecdf4}.note-editor-content .hljs-tag,.note-editor-content .hljs-selector-id,.note-editor-content .hljs-selector-class,.note-editor-content .hljs-regexp,.note-editor-content .hljs-deletion{color:#f29aa3}.note-editor-content .hljs-operator,.note-editor-content .hljs-punctuation{color:#d8d0df}.note-editor-content .hljs-emphasis{font-style:italic}.note-editor-content .hljs-strong{font-weight:700}.note-editor-content hr{border:none;border-top:1px solid #9b6ee82e;margin:2.5rem 0}.note-editor-content p.is-editor-empty:first-child:before{float:left;color:#aaa1b3;content:"Begynn å skrive notatet ditt...";pointer-events:none;height:0}.tiptap-mathematics-render{cursor:pointer}.tiptap-mathematics-render[data-type=inline-math]{vertical-align:middle;margin:0 .18rem;display:inline-block}.tiptap-mathematics-render[data-type=block-math]{text-align:center;background:#faf8fd;border:1px solid #ebe6f2;border-radius:12px;width:100%;margin:1.5rem 0;padding:1.25rem 1.5rem;display:block;overflow-x:auto}.tiptap-mathematics-render--editable:hover{background:#f5f1fb}@media (width<=700px){.note-editor-toolbar{margin:0 .75rem;padding:.6rem;top:88px}.note-editor-toolbar button{flex:0 0 36px;width:36px;min-width:36px}.note-editor-content{min-height:60vh;padding:2.5rem 1.15rem 6rem;font-size:1rem}.note-editor-content pre{border-radius:12px;margin-left:-.25rem;margin-right:-.25rem;padding:1.1rem 1.15rem}}.image-upload-spinner{animation:.8s linear infinite image-upload-spin}@keyframes image-upload-spin{to{transform:rotate(360deg)}}.note-editor-content img{border-radius:12px;max-width:100%;height:auto;margin:1.5rem auto;display:block}.note-editor-content img.ProseMirror-selectednode{outline-offset:3px;outline:3px solid #9b6ee873}.note-editor-content [data-node-view-wrapper]{max-width:100%}.note-editor-content [data-resize-handle]{background:#7c4dce;border:2px solid #fff;border-radius:50%;width:12px;height:12px;box-shadow:0 2px 7px #2a1f3a40}.note-editor-content .tableWrapper,.read-only-note-content .tableWrapper{margin:1.75rem 0;overflow-x:auto}.note-editor-content table,.read-only-note-content table{border-collapse:collapse;table-layout:fixed;background:#fff;border:1px solid #ded6e8;border-radius:12px;width:100%;min-width:520px;overflow:hidden}.note-editor-content th,.note-editor-content td,.read-only-note-content th,.read-only-note-content td{vertical-align:top;text-align:left;border:1px solid #ded6e8;min-width:90px;padding:.75rem .9rem;position:relative}.note-editor-content th,.read-only-note-content th{color:#463752;background:#f6f1fd;font-weight:700}.note-editor-content td,.read-only-note-content td{background:#fff}.note-editor-content th p,.note-editor-content td p,.read-only-note-content th p,.read-only-note-content td p{margin:0}.note-editor-content .selectedCell:after{z-index:2;content:"";pointer-events:none;background:#9b6ee829;position:absolute;inset:0}.note-editor-content .column-resize-handle{z-index:20;pointer-events:none;background:#9b6ee8;width:4px;position:absolute;top:0;bottom:-2px;right:-2px}.note-editor-content.resize-cursor{cursor:col-resize}.note-editor-content .note-callout{border:1px solid;border-radius:14px;margin:1.4rem 0;overflow:hidden}.note-editor-content .note-callout-body{padding:1.2rem 1.25rem}.note-editor-content .note-callout-body p{margin:0}.note-editor-content .note-callout,.read-only-note-content .note-callout{border:1px solid;border-radius:16px;margin:1.4rem 0;position:relative;overflow:visible}.note-editor-content .note-callout-header,.read-only-note-content .note-callout-header{border-bottom:1px solid #1e18260f;justify-content:space-between;align-items:center;gap:1rem;min-height:56px;padding:.8rem 1rem;display:flex}.note-editor-content .note-callout-heading,.read-only-note-content .note-callout-heading{align-items:center;gap:.5rem;font-weight:700;display:flex}.note-editor-content .note-callout-body,.read-only-note-content .note-callout-body{padding:1rem 1.1rem}.note-editor-content .note-callout-body p,.read-only-note-content .note-callout-body p{margin:0}.note-editor-content .note-callout-actions{opacity:0;pointer-events:none;align-items:center;gap:.4rem;transition:opacity .15s;display:flex}.note-editor-content .note-callout:hover .note-callout-actions,.note-editor-content .note-callout:focus-within .note-callout-actions{opacity:1;pointer-events:auto}.note-editor-content .note-callout-type-select{height:32px;color:inherit;font:inherit;cursor:pointer;background:#ffffffb8;border:1px solid #1e18261f;border-radius:8px;padding:0 1.8rem 0 .65rem;font-size:.82rem}.note-editor-content .note-callout-delete-button{width:32px;height:32px;color:inherit;cursor:pointer;background:#ffffffb8;border:1px solid #1e18261f;border-radius:8px;place-items:center;padding:0;display:grid}.note-editor-content .note-callout-delete-button:hover{color:#b53c3c;background:#fff1f1;border-color:#e39a9a}.note-editor-content .note-callout[data-callout-type=definition],.read-only-note-content .note-callout[data-callout-type=definition]{background:#f3faf5;border-color:#b8dfc3}.note-editor-content .note-callout[data-callout-type=definition] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=definition] .note-callout-header{color:#2d7147;background:#e4f4e9}.note-editor-content .note-callout[data-callout-type=tip],.read-only-note-content .note-callout[data-callout-type=tip]{background:#fffaf0;border-color:#ead8a8}.note-editor-content .note-callout[data-callout-type=tip] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=tip] .note-callout-header{color:#8a651f;background:#fff2c9}.note-editor-content .note-callout[data-callout-type=theorem],.read-only-note-content .note-callout[data-callout-type=theorem]{background:#fff5f5;border-color:#efbcbc}.note-editor-content .note-callout[data-callout-type=theorem] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=theorem] .note-callout-header{color:#b03838;background:#fde5e5}.note-editor-content .note-callout[data-callout-type=example],.read-only-note-content .note-callout[data-callout-type=example]{background:#f2f8fd;border-color:#b8d8f3}.note-editor-content .note-callout[data-callout-type=example] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=example] .note-callout-header{color:#2f6ea5;background:#e5f1fb}.note-editor-content .note-callout[data-callout-type=exam],.read-only-note-content .note-callout[data-callout-type=exam]{background:#f3fcf6;border-color:#9fd8b4}.note-editor-content .note-callout[data-callout-type=exam] .note-callout-header,.read-only-note-content .note-callout[data-callout-type=exam] .note-callout-header{color:#1f7a4d;background:#dff5e7}.note-editor-content .note-callout:focus-within{outline-offset:2px;outline:3px solid #9b6ee826}.slash-menu-popover{z-index:1000;position:fixed}@media (width<=700px){.slash-menu-popover{right:12px;left:12px!important}.slash-menu-popover .slash-menu{width:100%;max-width:none}}.concept-picker-wrapper{display:flex;position:relative}.concept-picker-wrapper .concept-picker{z-index:1000;position:absolute;top:calc(100% + 8px);left:0}.note-callout-concept{flex-wrap:wrap;align-items:center;gap:.6rem;padding:.75rem 1.1rem 0;display:flex;position:relative}.note-callout-concept .concept-picker{flex-basis:100%;margin-top:.25rem;position:static}.note-callout-concept-selected{align-items:center;gap:.45rem;font-size:.95rem;font-weight:700;display:flex}.note-callout[data-callout-type=definition] .note-callout-concept-selected{color:#2d7147}.note-callout[data-callout-type=theorem] .note-callout-concept-selected{color:#b03838}.note-callout-concept-button,.note-callout-concept-change,.note-callout-concept-unlink{font:inherit;cursor:pointer;background:0 0;border:0}.note-callout-concept-button{color:#7c3aed;align-items:center;gap:.4rem;padding:0;font-size:.85rem;font-weight:600;display:inline-flex}.note-callout-concept-button:hover{color:#5b21b6}.note-callout-concept-change{color:#7c3aed;padding:0;font-size:.78rem;font-weight:600}.note-callout-concept-change:hover{color:#5b21b6}.note-callout-concept-unlink{color:#8b8492;border-radius:7px;place-items:center;width:26px;height:26px;padding:0;display:grid}.note-callout-concept-unlink:hover{color:#b53c3c;background:#ffffffa6}.note-callout-concept .concept-picker{margin-top:.5rem;position:static}.formula-concept-controls{white-space:nowrap;background:#fff;border:1px solid #ede9fe;border-radius:8px;align-items:center;gap:10px;padding:6px 10px;font-size:.8rem;display:flex;box-shadow:0 4px 14px #7c3aed14}.formula-concept-name{color:#6d28d9;align-items:center;gap:5px;font-weight:600;display:flex}.formula-concept-actions{align-items:center;gap:8px;display:flex}.formula-concept-actions:before{content:"";background:#ddd6fe;width:1px;height:14px}.formula-concept-actions button{color:#7c3aed;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.formula-concept-actions button:hover{color:#5b21b6}.formula-concept-actions button:last-child{color:#6b7280}.formula-concept-actions button:last-child:hover{color:#374151}.note-callout-concept-name{width:100%;color:inherit;font:inherit;background:0 0;border:0;border-bottom:1px solid #ddd6fe;outline:none;margin-bottom:10px;padding:6px 0;font-weight:600}.note-callout-concept-name:focus{border-bottom-color:#7c3aed}.note-callout-concept-name::placeholder{color:#a1a1aa;font-weight:400}.note-editor-toolbar{gap:6px;max-width:820px;padding:8px}.note-toolbar-group{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.note-toolbar-group+.note-toolbar-group{border-left:1px solid #e5dced;padding-left:6px}.note-toolbar-history{margin-left:auto}.note-toolbar-group>button,.note-toolbar-options>button,.note-toolbar-options>.concept-picker-wrapper>button,.note-toolbar-table>button{color:#4c4358;width:auto;min-width:34px;min-height:34px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:.82rem;font-weight:600;display:inline-flex}.note-editor-toolbar svg{flex-shrink:0}.note-toolbar-menu{color:#4c4358;font-size:.82rem}.note-toolbar-menu>summary{cursor:pointer;border:1px solid #e5dced;border-radius:7px;padding:8px 10px;font-weight:650}.note-toolbar-menu[open]{flex-basis:100%}.note-toolbar-menu[open]>summary{background:#faf8fd}.note-toolbar-options{flex-wrap:wrap;align-items:center;gap:4px;padding-top:6px;display:flex}.note-toolbar-options>.concept-picker-wrapper{position:relative}.note-toolbar-table{border-top:1px solid #e5dced;flex-wrap:wrap;align-items:center;gap:4px;width:100%;padding-top:6px;display:flex}.note-toolbar-table>span{color:#746d79;margin-right:4px;font-size:.78rem}.note-editor-toolbar :is(button,summary):focus-visible{outline-offset:2px;outline:2px solid #9b6ee8}.note-editor-content{overflow-wrap:anywhere;max-width:820px;padding:24px 0 5rem;font-size:1.04rem;line-height:1.8}.note-editor-content h1{font-size:2rem;line-height:1.2}.note-editor-content h2{border-bottom:1px solid #eae3f0;padding-bottom:.4rem;font-size:1.65rem;line-height:1.2}.note-editor-content h3{font-size:1.25rem;line-height:1.2}@media (width<=700px){.note-editor-toolbar{margin:0;position:static}.note-editor-content{font-size:1rem;line-height:1.75}.note-editor-content h1{font-size:1.8rem}.note-editor-content h2{font-size:1.45rem}.note-editor-content h3{font-size:1.22rem}.note-toolbar-group>button{padding:6px}.note-toolbar-history{margin-left:0}}.note-editor .note-reading-body .note-editor-content,.note-editor .note-reading-body .note-editor-toolbar{max-width:none}@media (width<=700px){.learning-page.site-container{padding-block:20px 40px}}.concept-review-filters{flex-wrap:wrap;gap:16px;display:flex}.concept-review-filters label{gap:6px;display:grid}.concept-review-filters :is(input,select){font:inherit;max-width:100%;padding:8px}.concept-review-item{border-top:1px solid var(--app-border,#e6dfed);padding-block:14px}.concept-review-item summary{cursor:pointer;font-weight:600}.concept-review-item h2{margin-top:24px;font-size:1.15rem}.concept-review-missing{border:1px solid var(--app-border,#e6dfed);color:var(--app-accent,#7c3aed);background:var(--app-surface,#fff);border-radius:6px;padding:2px 8px;font-size:.85em;display:inline-block}.concept-review-actions{border-top:1px solid var(--app-border,#e6dfed);margin-top:24px}.concept-review-actions label{gap:6px;margin-block:12px;display:grid}.concept-review-actions :is(input,textarea){box-sizing:border-box;width:100%;font:inherit;padding:8px}.concept-review-actions button{cursor:pointer;padding:6px 12px}.loading-placeholder{margin:12px 0;position:relative}.loading-placeholder-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.loading-placeholder-block{border:1px solid var(--app-border);background:var(--app-soft);border-radius:16px;animation:1.4s ease-in-out infinite loading-placeholder-pulse}@keyframes loading-placeholder-pulse{50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.loading-placeholder-block{animation:none}}.curriculum-layout{grid-template-columns:272px minmax(0,1fr);align-content:start;align-items:start;min-height:calc(100dvh - 76px);display:grid}.curriculum-sidebar{box-sizing:border-box;overscroll-behavior:contain;background:var(--app-surface,#fff);border-right:1px solid var(--app-border,#e6dfed);height:calc(100dvh - 76px);color:var(--app-text,#29252f);padding:22px 14px 32px;position:sticky;top:76px;overflow-y:auto}.curriculum-sidebar-header{padding:0 10px 18px}.curriculum-back{letter-spacing:.06em;text-transform:uppercase;color:var(--app-accent,#7c3aed);align-items:center;gap:2px;font-size:.78rem;font-weight:650;text-decoration:none;display:inline-flex}.curriculum-back:hover{text-decoration:underline}.curriculum-sidebar h2{color:inherit;margin:6px 0 0;font-size:1rem;line-height:1.35}.curriculum-progress{color:var(--app-muted,#655c70);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:14px;font-size:.78rem;display:grid}.curriculum-progress-bar{background:var(--app-soft,#f3edfa);border-radius:999px;height:6px;overflow:hidden}.curriculum-progress-bar span{border-radius:inherit;background:var(--app-accent,#7c3aed);height:100%;transition:width .2s;display:block}.curriculum-progress-count{font-variant-numeric:tabular-nums;color:var(--app-text,#29252f);font-weight:650}.curriculum-navigation ul{margin:0;padding:0;list-style:none}.curriculum-nav-heading{letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted,#655c70);margin:20px 10px 6px;font-size:.72rem;font-weight:700}.curriculum-nav-message{color:var(--app-muted,#655c70);margin:16px 10px;font-size:.88rem}.curriculum-navigation a{color:inherit;overflow-wrap:anywhere;border-radius:8px;align-items:flex-start;gap:10px;padding:8px 10px;font-size:.9rem;line-height:1.4;text-decoration:none;display:flex}.curriculum-navigation a:hover{background:var(--app-soft,#f3edfa)}.curriculum-navigation a:focus-visible{outline:2px solid var(--app-accent,#7c3aed);outline-offset:1px}.curriculum-tool svg{color:var(--app-muted,#655c70);flex:none;margin-top:1px}.curriculum-navigation a.active,.curriculum-navigation a.is-active{background:var(--app-soft,#f3edfa);color:var(--app-accent,#7c3aed);font-weight:650}.curriculum-navigation a.active svg{color:inherit}.curriculum-unit-number{min-width:2.2em;color:var(--app-muted,#655c70);flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;line-height:1.75}.curriculum-unit-link.is-active .curriculum-unit-number{color:inherit}.curriculum-unit-title{flex:1;min-width:0}.curriculum-unit-check{color:#16a34a;flex:none;margin-top:2px}.curriculum-content{min-width:0}.curriculum-toggle{display:none}[data-theme=dark] .curriculum-unit-check{color:#86dc9c}@media (width<=900px){.curriculum-layout{grid-template-columns:minmax(0,1fr)}.curriculum-sidebar{border-right:0;border-bottom:1px solid var(--app-border,#e6dfed);height:auto;padding:14px var(--site-gutter);position:static}.curriculum-sidebar-header{padding:0}.curriculum-toggle{font:inherit;border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);color:var(--app-accent,#7c3aed);cursor:pointer;border-radius:8px;margin-top:12px;padding:7px 12px;font-size:.9rem;display:block}.curriculum-navigation{display:none}.curriculum-navigation.is-open{max-height:60dvh;margin-top:8px;display:block;overflow-y:auto}}.curriculum-page.site-container{max-width:900px;color:var(--app-text,#29252f);overflow-wrap:anywhere;margin-inline:auto;padding-block:32px 72px;line-height:1.65}.curriculum-page-header{border-bottom:1px solid var(--app-border,#e6dfed);padding-bottom:18px}.curriculum-label,.curriculum-section-label{letter-spacing:.08em;text-transform:uppercase;color:var(--app-accent,#7c3aed);margin:0 0 6px;font-size:.76rem;font-weight:700}.curriculum-section-label{color:var(--app-muted,#716879);margin:-6px 0 12px;font-weight:600}.curriculum-page-header h1{letter-spacing:-.025em;color:inherit;margin:0;font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.18}.curriculum-lead{color:var(--app-muted,#716879);margin:18px 0 0}.curriculum-source{color:var(--app-muted,#716879);margin:40px 0 0;font-size:.8rem}.curriculum-source a{color:inherit}.curriculum-source a svg{vertical-align:-1px;margin-left:3px}.curriculum-lead a,.curriculum-callout a{color:var(--app-accent,#7c3aed)}.curriculum-lead a svg{vertical-align:-1px;margin-left:3px}.curriculum-status{color:var(--app-muted,#716879);margin:24px 0}.curriculum-note{background:var(--app-soft,#f3edfa);color:var(--app-text,#29252f);border-radius:10px;margin:20px 0 0;padding:12px 14px;font-size:.94rem}.curriculum-callout{border:1px solid var(--app-border,#e6dfed);background:var(--app-soft,#f3edfa);border-radius:12px;align-items:flex-start;gap:12px;margin:22px 0 0;padding:14px 16px;font-size:.95rem;display:flex}.curriculum-callout svg{color:var(--app-accent,#7c3aed);flex:none;margin-top:3px}.curriculum-section{margin-top:36px;scroll-margin-top:96px}.curriculum-section>h2{color:inherit;margin:0 0 14px;font-size:1.3rem;line-height:1.35}.curriculum-section h3{color:inherit;margin:0 0 8px;font-size:1rem}.curriculum-numbered-heading{align-items:baseline;gap:10px;display:flex}.curriculum-numbered-heading a{color:inherit;text-decoration:none}.curriculum-numbered-heading a:hover{color:var(--app-accent,#7c3aed)}.curriculum-number{color:var(--app-accent,#7c3aed);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;font-weight:700}.curriculum-page :is(a,button,summary,input):focus-visible{outline:2px solid var(--app-accent,#7c3aed);outline-offset:2px}.curriculum-page .curriculum-progress-bar{background:var(--app-soft,#f3edfa);border-radius:999px;height:6px;display:block;overflow:hidden}.curriculum-page .curriculum-progress-bar span{border-radius:inherit;background:var(--app-accent,#7c3aed);height:100%;display:block}.curriculum-overview-progress{max-width:360px;color:var(--app-muted,#716879);gap:8px;margin-top:20px;font-size:.92rem;display:grid}.curriculum-overview-progress strong{color:var(--app-text,#29252f)}.curriculum-search{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);color:var(--app-muted,#716879);border-radius:12px;align-items:center;gap:10px;margin-top:22px;padding:0 14px;display:flex}.curriculum-search:focus-within{border-color:var(--app-accent,#7c3aed);box-shadow:0 0 0 3px color-mix(in srgb, var(--app-accent,#7c3aed) 18%, transparent)}.curriculum-search input{min-width:0;font:inherit;color:var(--app-text,#29252f);background:0 0;border:0;outline:0;flex:1;padding:12px 0}.curriculum-search input:focus-visible{outline:0}.curriculum-search .visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.curriculum-filters{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:14px;display:flex}.curriculum-filters [role=group]{flex-wrap:wrap;gap:6px;display:flex}.curriculum-filters button{font:inherit;border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);color:var(--app-text,#29252f);cursor:pointer;border-radius:999px;padding:5px 12px;font-size:.85rem}.curriculum-filters button[aria-pressed=true]{border-color:var(--app-accent,#7c3aed);background:var(--app-soft,#f3edfa);color:var(--app-accent,#7c3aed);font-weight:650}.curriculum-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.curriculum-tool-card,.curriculum-unit-card{box-sizing:border-box;border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);height:100%;color:inherit;border-radius:12px;gap:4px;padding:16px;text-decoration:none;transition:border-color .15s,transform .15s;display:grid}.curriculum-tool-card:hover,.curriculum-unit-card:hover{border-color:var(--app-accent,#7c3aed);transform:translateY(-1px)}.curriculum-tool-card svg{color:var(--app-accent,#7c3aed);margin-bottom:6px}.curriculum-tool-card span,.curriculum-unit-readings,.curriculum-unit-meta{color:var(--app-muted,#716879);font-size:.85rem;line-height:1.5}.curriculum-unit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.curriculum-unit-card strong{font-size:1.02rem}.curriculum-unit-card.is-done{border-color:color-mix(in srgb, #16a34a 45%, var(--app-border,#e6dfed))}.curriculum-unit-card-top{justify-content:space-between;align-items:center;min-height:22px;display:flex}.curriculum-done-badge{color:#15803d;align-items:center;gap:4px;font-size:.75rem;font-weight:650;display:inline-flex}[data-theme=dark] .curriculum-done-badge{color:#86dc9c}.curriculum-unit-actions{flex-wrap:wrap;align-items:center;gap:10px;min-height:40px;margin-top:18px;display:flex}.curriculum-mark,.curriculum-play{font:inherit;border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);color:var(--app-text,#29252f);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:7px 14px;font-size:.9rem;font-weight:600;display:inline-flex}.curriculum-mark:hover{border-color:var(--app-accent,#7c3aed);color:var(--app-accent,#7c3aed)}.curriculum-mark.is-done{color:#fff;background:#16a34a;border-color:#16a34a}.curriculum-mark:disabled{opacity:.7;cursor:wait}.curriculum-play{border-color:var(--app-accent,#7c3aed);background:var(--app-accent,#7c3aed);color:#fff}.curriculum-play:hover{border-color:var(--app-accent,#7c3aed);color:#fff;filter:brightness(1.08)}[data-theme=dark] .curriculum-play,[data-theme=dark] .curriculum-play:hover{color:#1b1426}[data-theme=dark] .curriculum-mark.is-done{color:#86dc9c;background:0 0;border-color:#86dc9c}.curriculum-badge{background:var(--app-soft,#f3edfa);color:var(--app-accent,#7c3aed);border-radius:999px;padding:3px 10px;font-size:.78rem;font-weight:650}.curriculum-readings{flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin-top:16px;font-size:.88rem;display:flex}.curriculum-readings>span{letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted,#716879);font-size:.74rem;font-weight:700}.curriculum-readings ul,.curriculum-chip-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.curriculum-readings li{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:999px;padding:2px 10px}.curriculum-on-page{border-block:1px solid var(--app-border,#e6dfed);margin-top:22px;padding-block:10px}.curriculum-on-page>span{color:var(--app-muted,#716879);font-size:.78rem}.curriculum-on-page ul{flex-wrap:wrap;gap:4px 18px;margin:4px 0 0;padding:0;list-style:none;display:flex}.curriculum-on-page a{color:var(--app-text,#29252f);font-size:.9rem;font-weight:600;text-decoration:none}.curriculum-on-page a:hover{color:var(--app-accent,#7c3aed);text-decoration:underline}.curriculum-introduction{white-space:pre-wrap;margin:0 0 16px}.curriculum-source-link{color:var(--app-muted,#716879);margin-top:8px;font-size:.84rem;text-decoration:none;display:inline-block}.curriculum-source-link:hover{color:var(--app-accent,#7c3aed);text-decoration:underline}.curriculum-page .katex-display{overflow:auto hidden}.curriculum-concept-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.curriculum-concept-card{box-sizing:border-box;border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);height:100%;color:inherit;border-radius:10px;gap:4px;padding:12px 14px;text-decoration:none;display:grid}.curriculum-concept-card:hover{border-color:var(--app-accent,#7c3aed)}.curriculum-concept-type{letter-spacing:.07em;text-transform:uppercase;color:var(--app-accent,#7c3aed);font-size:.7rem;font-weight:700}.curriculum-concept-definition{color:var(--app-muted,#716879);font-size:.88rem;line-height:1.5}.curriculum-concept-units{color:var(--app-muted,#716879);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem}.curriculum-chip-list a{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);color:var(--app-text,#29252f);border-radius:8px;padding:5px 12px;font-size:.88rem;text-decoration:none;display:inline-block}.curriculum-chip-list a:hover{border-color:var(--app-accent,#7c3aed);color:var(--app-accent,#7c3aed)}.curriculum-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.curriculum-resource-card{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:12px;padding:14px 16px}.curriculum-resource-card ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.curriculum-resource-card a{color:var(--app-text,#29252f);align-items:flex-start;gap:8px;font-size:.88rem;line-height:1.45;text-decoration:none;display:flex}.curriculum-resource-card a svg{color:var(--app-accent,#7c3aed);flex:none;margin-top:2px}.curriculum-resource-card a:hover{color:var(--app-accent,#7c3aed);text-decoration:underline}.curriculum-resource-card p{color:var(--app-muted,#716879);margin:0;font-size:.86rem}.curriculum-more-links{margin:14px 0 0;font-size:.9rem}.curriculum-more-links a{color:var(--app-accent,#7c3aed);text-decoration:none}.curriculum-formula-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.curriculum-formula-card{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px 12px;padding:14px 16px;display:grid}.curriculum-formula-math{min-width:0;overflow-x:auto}.curriculum-formula-math .katex-display{text-align:left;margin:0}.curriculum-formula-math .katex-display>.katex{text-align:left}.curriculum-formula-text{min-width:0;color:var(--app-muted,#716879);grid-column:1;font-size:.9rem}.curriculum-formula-card .curriculum-icon-button{grid-area:1/2}.curriculum-formula-text strong{color:var(--app-text,#29252f);display:block}.curriculum-formula-text p{margin:2px 0 0}.curriculum-formula-text .curriculum-source-link{margin-top:4px}.curriculum-icon-button{width:36px;height:36px;color:var(--app-muted,#716879);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;display:inline-grid}.curriculum-icon-button:hover{border-color:var(--app-border,#e6dfed);background:var(--app-soft,#f3edfa);color:var(--app-accent,#7c3aed)}.curriculum-symbol-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:24px 0 0;padding:0;list-style:none;display:grid}.curriculum-symbol-card{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:12px;padding:14px}.curriculum-symbol-head{align-items:center;gap:14px;display:flex}.curriculum-symbol-glyph{box-sizing:border-box;background:var(--app-soft,#f3edfa);border-radius:10px;place-items:center;min-width:52px;height:52px;padding-inline:6px;font-size:1.3rem;display:grid}.curriculum-symbol-head strong{font-size:.95rem;display:block}.curriculum-symbol-head code{color:var(--app-muted,#716879);font-size:.8rem}.curriculum-symbol-card details{margin-top:10px;font-size:.86rem}.curriculum-symbol-card summary{cursor:pointer;color:var(--app-muted,#716879)}.curriculum-symbol-uses{gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.curriculum-symbol-uses li{border-top:1px solid var(--app-border,#e6dfed);gap:2px;padding-top:8px;display:grid;overflow-x:auto}.curriculum-symbol-uses a{color:var(--app-muted,#716879);font-size:.8rem;text-decoration:none}.curriculum-symbol-uses a:hover{color:var(--app-accent,#7c3aed)}.curriculum-section-intro{color:var(--app-muted,#716879);margin:-4px 0 12px;font-size:.92rem}.curriculum-section-intro a{color:var(--app-accent,#7c3aed)}.lesson-intro{margin-top:22px}.lesson-summary{margin:0;font-size:1.06rem;line-height:1.7}.lesson-overview{border:1px solid color-mix(in srgb, var(--app-accent,#7c3aed) 35%, var(--app-border,#e6dfed));background:var(--app-surface,#fff);border-radius:14px;margin-top:20px;padding:18px 20px}.lesson-overview h2{letter-spacing:.08em;text-transform:uppercase;color:var(--app-accent,#7c3aed);margin:0 0 10px;font-size:.78rem;font-weight:700}.lesson-overview-points{margin:0;padding-left:20px;font-size:.95rem;line-height:1.6}.lesson-overview-points li+li{margin-top:6px}.lesson-key-formulas{grid-template-columns:minmax(0,1fr);gap:6px;margin:16px 0 0;display:grid}.lesson-key-formulas>div{background:var(--app-soft,#f3edfa);border-radius:10px;grid-template-columns:11rem minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:8px 12px;display:grid}.lesson-key-formulas dt{color:var(--app-muted,#716879);font-size:.78rem;font-weight:650}.lesson-key-formulas dd{margin:0;overflow-x:auto}.lesson-key-formulas .katex-display{text-align:left;margin:4px 0}.lesson-key-formulas .katex-display>.katex{text-align:left}.lesson-goals{margin-top:12px;font-size:.94rem}.lesson-goals summary{cursor:pointer;color:var(--app-muted,#716879);font-weight:600}.lesson-goals ul{margin:8px 0 0;padding-left:20px}.lesson-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-top:32px;display:flex}.lesson-toolbar h2{flex:1;margin:0;font-size:1.3rem}.curriculum-retry{font:inherit;border:1px solid var(--app-accent,#7c3aed);background:var(--app-soft,#f3edfa);color:var(--app-accent,#7c3aed);cursor:pointer;border-radius:999px;margin:0 0 16px;padding:5px 14px;font-size:.85rem}.lesson-toolbar button{font:inherit;border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);color:var(--app-text,#29252f);cursor:pointer;border-radius:999px;padding:5px 12px;font-size:.85rem}.lesson-toolbar button:hover{border-color:var(--app-accent,#7c3aed);color:var(--app-accent,#7c3aed)}details.lesson-part{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:12px;margin-top:12px}details.lesson-part>summary{cursor:pointer;align-items:center;gap:10px;padding:14px 18px;list-style:none;display:flex}details.lesson-part>summary::-webkit-details-marker{display:none}details.lesson-part>summary:before{content:"›";color:var(--app-muted,#716879);font-size:1.3rem;line-height:1;transition:transform .15s}details.lesson-part[open]>summary:before{transform:rotate(90deg)}details.lesson-part>summary h3{margin:0;font-size:1.12rem}.lesson-part-body{padding:0 18px 4px}.curriculum-unit-meta.has-lesson{color:var(--app-accent,#7c3aed);font-weight:600}.lesson-part .lesson-text{margin:0 0 14px}.lesson-list{margin:0 0 14px;padding-left:22px}.lesson-list li+li{margin-top:4px}.lesson-box{border:1px solid var(--app-border,#e6dfed);border-left:4px solid var(--app-accent,#7c3aed);background:var(--app-surface,#fff);border-radius:10px;margin:0 0 16px;padding:14px 16px}.lesson-box>:last-child{margin-bottom:0}.lesson-box.is-tip{border-left-color:#0d9488}.lesson-box.is-pitfall{background:color-mix(in srgb, #f59e0b 7%, var(--app-surface,#fff));border-left-color:#d97706}.lesson-box-label{letter-spacing:.05em;text-transform:uppercase;color:var(--app-accent,#7c3aed);align-items:center;gap:6px;margin:0 0 8px;font-size:.78rem;font-weight:700;display:flex}.lesson-box-label span{text-transform:none;letter-spacing:0;color:var(--app-text,#29252f);margin-left:4px;font-size:.95rem}.lesson-box.is-tip .lesson-box-label{color:#0f766e}.lesson-box.is-pitfall .lesson-box-label{color:#b45309}[data-theme=dark] .lesson-box.is-tip .lesson-box-label{color:#5eead4}[data-theme=dark] .lesson-box.is-pitfall .lesson-box-label{color:#fbbf24}.lesson-formula{background:var(--app-soft,#f3edfa);border-radius:10px;margin:0 0 16px;padding:4px 16px;overflow-x:auto}.lesson-formula>p{color:var(--app-muted,#716879);text-align:center;margin:-6px 0 10px;font-size:.88rem}.lesson-box .lesson-formula{background:var(--app-background,#faf8fc)}.lesson-code{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:10px;margin:0 0 16px;overflow:hidden}.lesson-code-title{border-bottom:1px solid var(--app-border,#e6dfed);font-variant:small-caps;letter-spacing:.02em;padding:8px 14px;font-weight:700}.lesson-code pre{background:0 0;margin:0;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88rem;line-height:1.65;overflow-x:auto}.lesson-code-line{display:block}.lesson-code-number{width:2em;color:var(--app-muted,#716879);-webkit-user-select:none;user-select:none;display:inline-block}.lesson-code .lesson-caption{padding:0 14px 12px}.lesson-caption{color:var(--app-muted,#716879);margin:8px 0 0;font-size:.86rem;line-height:1.55}.lesson-table{margin:0 0 16px}.lesson-table-scroll{border:1px solid var(--app-border,#e6dfed);border-radius:10px;overflow-x:auto}.lesson-table table{border-collapse:collapse;background:var(--app-surface,#fff);width:100%;font-size:.9rem}.lesson-table :is(th,td){text-align:left;vertical-align:top;border-bottom:1px solid var(--app-border,#e6dfed);padding:8px 12px}.lesson-table tr:last-child td{border-bottom:0}.lesson-table th{white-space:nowrap;color:var(--app-muted,#716879);background:var(--app-soft,#f3edfa);font-size:.8rem}.lesson-figure{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:12px;margin:0 0 18px;padding:14px;overflow-x:auto}.lesson-figure-svg{width:100%;height:auto;max-height:340px;display:block}.lesson-example{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:10px;margin:0 0 14px}.lesson-example>summary{cursor:pointer;padding:10px 14px;font-weight:650}.lesson-example-body{padding:0 14px 4px}.lesson-quiz{gap:8px;margin:0;padding:0;list-style:none;display:grid}.lesson-quiz details{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:10px;padding:10px 14px}.lesson-quiz summary{cursor:pointer}.lesson-quiz p{color:var(--app-muted,#716879);margin:8px 0 0}.lesson-sources{color:var(--app-muted,#716879);margin:18px 0 0;font-size:.82rem}.lesson-sources a{color:inherit}.lesson-sources svg{vertical-align:-1px;margin-left:2px}.curriculum-toggle-notes{color:var(--app-muted,#716879);cursor:pointer;align-items:flex-start;gap:8px;margin-top:12px;font-size:.88rem;display:flex}.curriculum-toggle-notes input{accent-color:var(--app-accent,#7c3aed);margin-top:3px}.curriculum-formula-card.is-unreviewed{border-style:dashed}.formula-book{border:1px solid;border-radius:999px;align-items:center;width:fit-content;margin-bottom:6px;padding:1px 9px;font-size:.76rem;font-weight:600;line-height:1.5;display:inline-flex}.formula-book--book{color:#1d4f91;background:#eaf2fc;border-color:#9dbde6}.formula-book--missing{color:#a12a1e;background:#fdeceb;border-color:#efa59f}.formula-missing{color:#a12a1e;margin:-2px 0 6px;font-size:.8rem;display:block}.curriculum-formula-card.is-must-learn{background:#fff8f7;border-color:#efa59f}.formula-count{font-variant-numeric:tabular-nums;opacity:.75;margin-left:4px}[data-theme=dark] .formula-book--book{color:#bcd4ff;background:#4d80d438;border-color:#8cb4f080}[data-theme=dark] .formula-book--missing{color:#ffb4ab;background:#e65a502e;border-color:#f0786e80}[data-theme=dark] .formula-missing{color:#ffb4ab}[data-theme=dark] .curriculum-formula-card.is-must-learn{background:#e65a5014;border-color:#f0786e80}.lesson-figure-svg .lf-text{fill:var(--app-text,#29252f);font-family:Inter,system-ui,sans-serif;font-size:13px}.lesson-figure-svg .lf-small{font-size:11.5px}.lesson-figure-svg .lf-strong{font-weight:650}.lesson-figure-svg .lf-muted{fill:var(--app-muted,#716879)}.lesson-figure-svg .lf-fill-ink{fill:var(--app-text,#29252f)}.lesson-figure-svg .lf-fill-accent{fill:var(--app-accent,#7c3aed)}.lesson-figure-svg .lf-fill-warn{fill:#b45309}.lesson-figure-svg .lf-box{fill:var(--app-surface,#fff);stroke:var(--app-border,#d8cfe4);stroke-width:1.5px}.lesson-figure-svg .lf-box-accent{fill:var(--app-soft,#f3edfa);stroke:var(--app-accent,#7c3aed);stroke-width:1.5px}.lesson-figure-svg .lf-box-sorted{fill:color-mix(in srgb, #16a34a 16%, var(--app-surface,#fff));stroke:#16a34a;stroke-width:1.2px}.lesson-figure-svg .lf-box-warn{fill:color-mix(in srgb, #f59e0b 22%, var(--app-surface,#fff));stroke:#d97706;stroke-width:1px}.lesson-figure-svg .lf-line{fill:none;stroke:var(--app-text,#29252f);stroke-width:1.4px}.lesson-figure-svg .lf-dashed{stroke-dasharray:5 4}.lesson-figure-svg .lf-axis{stroke:var(--app-muted,#716879);stroke-width:1px}.lesson-figure-svg .lf-curve{fill:none;stroke:var(--app-text,#29252f);stroke-width:2px}.lesson-figure-svg .lf-stroke-accent{stroke:var(--app-accent,#7c3aed);stroke-width:2.5px}.lesson-figure-svg .lf-stroke-warn{stroke:#d97706}.lesson-figure-svg .lf-muted-stroke{stroke:var(--app-muted,#716879)}.lesson-figure-svg .lf-region{fill:var(--app-soft,#f3edfa)}.lesson-figure-svg>.lf-step{transition:opacity .45s}.lesson-figure-svg>.lf-step.is-hidden{opacity:0}.lesson-code-line{transition:opacity .35s}.lesson-code-line.is-hidden{opacity:0}[data-theme=dark] .lesson-figure-svg .lf-fill-warn{fill:#fbbf24}[data-theme=dark] .lesson-figure-svg .lf-stroke-warn{stroke:#fbbf24}@media (width<=760px){.lesson-figure-svg{min-width:540px}.lesson-key-formulas>div{grid-template-columns:minmax(0,1fr);gap:0}.lesson-part-body{padding:0 12px 4px}.curriculum-page.site-container{padding-block:22px 48px}.curriculum-tool-grid,.curriculum-unit-grid,.curriculum-concept-grid,.curriculum-resource-grid{grid-template-columns:minmax(0,1fr)}}@media print{body:has(.curriculum-layout) :is(.app-sidebar,.app-topbar,.app-nav-drawer){display:none!important}body:has(.curriculum-layout) .app-workspace{margin-left:0!important}.curriculum-layout{min-height:0;display:block}.curriculum-sidebar,.curriculum-unit-actions,.curriculum-on-page,.lesson-toolbar,.curriculum-icon-button{display:none!important}.curriculum-page.site-container{width:auto;max-width:none;padding:0}.curriculum-section,.lesson-box,.lesson-figure,.lesson-formula,.lesson-code,.lesson-table,.lesson-overview{break-inside:avoid}.lesson-part>summary:before{display:none}}.notes-folder-tone-0{--folder-tone:#a879ee}.notes-folder-tone-1{--folder-tone:#60a5fa}.notes-folder-tone-2{--folder-tone:#4ade80}.notes-folder-tone-3{--folder-tone:#fb923c}.notes-folder-tone-4{--folder-tone:#ec4899}.notes-workspace{grid-template-columns:248px minmax(0,1fr);align-items:start;min-height:calc(100dvh - 76px);display:grid}.notes-workspace-collapsed{grid-template-columns:48px minmax(0,1fr)}.notes-outline-desktop{overscroll-behavior:contain;background:var(--app-surface);border-right:1px solid var(--app-border);scrollbar-width:thin;height:calc(100dvh - 76px);padding:14px 10px 24px;position:sticky;top:76px;overflow-y:auto}.notes-outline-toggle,.notes-outline-mobile-toggle{color:var(--app-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:8px;font-size:.8rem;display:flex}.notes-outline-toggle:hover,.notes-outline-mobile-toggle:hover{background:var(--app-soft);color:var(--app-accent)}.notes-workspace-collapsed .notes-outline-desktop{padding-inline:6px}.notes-outline-header{padding:18px 10px 12px}.notes-outline-header span{color:var(--app-accent);font-size:.72rem;font-weight:700}.notes-outline-header h2{overflow-wrap:anywhere;margin:6px 0 0;font-size:.96rem;line-height:1.4}.notes-outline-all{color:var(--app-muted);border-radius:8px;margin-bottom:16px;padding:10px;font-size:.8rem;text-decoration:none;display:block}.notes-outline-all[aria-current]{background:var(--app-soft);color:var(--app-accent);font-weight:650}.notes-outline-folder{margin-bottom:8px}.notes-outline-folder-heading{background:color-mix(in srgb,var(--folder-tone) 12%,var(--app-surface));border-left:3px solid color-mix(in srgb,var(--folder-tone) 55%,var(--app-surface));border-radius:9px;align-items:center;display:flex}.notes-outline-folder-heading>button{color:var(--app-muted);cursor:pointer;background:0 0;border:0;flex:0 0 28px;place-items:center;padding:12px 0;display:grid}.notes-outline-folder-heading>button[aria-expanded=false] svg{transform:rotate(-90deg)}.notes-outline-folder-heading>a{min-width:0;color:var(--app-text);flex:1;align-items:center;gap:7px;padding:10px 8px 10px 0;font-size:.79rem;font-weight:600;text-decoration:none;display:flex}.notes-outline-folder-heading>a svg{color:var(--folder-tone);flex-shrink:0}.notes-outline-folder-heading>a span{overflow-wrap:anywhere}.notes-outline-folder-heading small{color:var(--app-muted);margin-left:auto;font-weight:400}.is-current-folder>.notes-outline-folder-heading{border-left-color:var(--folder-tone);background:color-mix(in srgb,var(--folder-tone) 22%,var(--app-surface))}.notes-outline-children{padding:5px 0 5px 12px}.notes-outline-note{color:var(--app-muted);border-left:2px solid #0000;border-radius:7px;align-items:start;gap:7px;padding:9px 8px;font-size:.77rem;line-height:1.5;text-decoration:none;display:flex}.notes-outline-note svg{flex-shrink:0;margin-top:2px}.notes-outline-note span{overflow-wrap:anywhere}.notes-outline-note:hover{background:var(--app-soft);color:var(--app-text)}.notes-outline-note.is-current{background:var(--app-soft);border-left-color:var(--app-accent);color:var(--app-accent);font-weight:650}.notes-outline-unfiled h3{color:var(--app-muted);margin:0;padding:12px 10px 4px;font-size:.74rem}.notes-outline-status{color:var(--app-muted);padding:8px 10px;font-size:.76rem;line-height:1.5}.notes-workspace-content{min-width:0;container-type:inline-size}.notes-outline-mobile-toggle{display:none}.notes-outline-drawer{background:var(--app-surface);width:min(330px,90vw);height:100dvh;max-height:100dvh;color:var(--app-text);border:0;margin:0;padding:16px}.notes-outline-drawer::backdrop{background:#17102466}:is(.notes-outline-desktop,.notes-outline-drawer) :focus-visible{outline:2px solid var(--app-accent);outline-offset:2px}@media (width<=900px){.notes-workspace,.notes-workspace-collapsed{grid-template-columns:minmax(0,1fr)}.notes-outline-desktop{display:none}.notes-outline-mobile-toggle{margin:12px var(--site-gutter) 0;display:flex}}@container (width<=900px){.notes-workspace-content .read-only-note{grid-template-columns:minmax(0,1fr)}.notes-workspace-content .read-only-note-with-header :is(.note-reading-header,.note-reading-body,.note-outline){grid-area:auto/1}.notes-workspace-content .read-only-note-with-header .note-outline{border:1px solid var(--app-border);background:var(--app-surface);border-radius:10px;width:100%;max-width:820px;max-height:220px;margin:0 auto 20px;padding:10px 14px;position:static;overflow-y:auto}.notes-workspace-content .note-reading-body{max-width:820px}}.auth-page{justify-content:center;align-items:center;min-height:calc(100vh - 140px);padding-block:40px;display:flex}.auth-card{background:var(--theme-surface,white);border-radius:24px;width:100%;max-width:460px;padding:40px;box-shadow:0 12px 30px #48346e1a}.auth-label{color:var(--theme-accent,#8b6bb3);margin:0 0 8px;font-weight:600}.auth-card h1{margin:0 0 32px;font-size:2rem}.auth-hints{margin:4px 0 12px}.auth-hints p{margin:2px 0;font-size:.85rem}.auth-hint{color:inherit;opacity:.8}.auth-hint-ok{color:#1f7a3a;opacity:1}.auth-hint-bad{color:#b42318;opacity:1}:root{--sidebar-width:248px;--app-surface:#fff;--app-background:#fbf7ff;--app-text:#211c30;--app-muted:#756b83;--app-border:#ece6f3;--app-soft:#f3edfc;--app-accent:#7c3aed}.app-workspace{margin-left:var(--sidebar-width);min-width:0}.app-page{min-height:calc(100dvh - 76px)}.app-workspace:focus{outline:none}.app-sidebar{z-index:60;width:var(--sidebar-width);background:var(--app-surface);border-right:1px solid var(--app-border);scrollbar-width:thin;padding:28px 18px 18px;position:fixed;inset:0 auto 0 0;overflow-y:auto}.app-brand{color:var(--app-text);letter-spacing:-.03em;align-items:center;gap:10px;margin:0 8px 32px;font-size:1rem;font-weight:750;text-decoration:none;display:flex}.app-brand-mark{color:#fff;background:linear-gradient(135deg,#d8b4ef,#9870df);border-radius:12px;flex-shrink:0;place-items:center;width:35px;height:35px;display:grid}.sidebar-main{gap:4px;display:grid}.app-sidebar-link{min-height:42px;color:var(--app-muted);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;font-size:.85rem;font-weight:550;text-decoration:none;display:flex}.app-sidebar-link:hover{background:var(--app-soft);color:var(--app-accent)}.app-sidebar-link.active{background:var(--app-soft);color:var(--app-accent);font-weight:700}.app-sidebar-link svg{flex-shrink:0}.sidebar-subjects{border-top:1px solid var(--app-border);margin-top:25px;padding-top:20px}.sidebar-section-title{justify-content:space-between;align-items:center;padding:0 12px 8px;display:flex}.sidebar-section-title h2{color:var(--app-muted);text-transform:uppercase;letter-spacing:.09em;margin:0;font-size:.73rem}.sidebar-section-title a{color:var(--app-muted);padding:2px 5px;font-size:1.2rem;text-decoration:none}.sidebar-subject{gap:11px;padding-block:9px}.sidebar-subject>span:last-child{min-width:0}.sidebar-subject strong{color:var(--app-text);font-size:.76rem;display:block}.sidebar-subject small{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:.71rem;font-weight:400;display:block;overflow:hidden}.sidebar-subject .semester-subject-indicator{flex:0 0 4px;height:25px}.sidebar-hint{color:var(--app-muted);padding:8px 12px;font-size:.8rem;line-height:1.6;display:block}.sidebar-sections{border-top:1px solid var(--app-border);margin-top:20px;padding-top:12px}.sidebar-sections summary{cursor:pointer;color:var(--app-muted);justify-content:space-between;align-items:center;padding:12px;font-size:.82rem;font-weight:650;list-style:none;display:flex}.sidebar-sections summary::-webkit-details-marker{display:none}.app-account summary::-webkit-details-marker{display:none}.sidebar-sections details[open] summary svg{transform:rotate(180deg)}.sidebar-sections .app-sidebar-link{padding-left:22px;font-size:.8rem}.sidebar-footer{color:var(--app-muted);align-items:center;gap:8px;margin:25px 12px 0;font-size:.7rem;display:flex}.app-topbar{z-index:50;margin-left:var(--sidebar-width);background:var(--app-surface);border-bottom:1px solid var(--app-border);position:sticky;top:0}.app-topbar-inner{width:min(var(--site-max-width), calc(100% - 2 * var(--site-gutter)));align-items:center;gap:16px;min-height:76px;margin-inline:auto;display:flex}.app-search{flex:1;max-width:560px;position:relative}.app-search>svg{z-index:1;color:var(--app-muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.app-search .global-search input{background:var(--app-background);color:var(--app-text);border-color:var(--app-border);border-radius:12px;padding:11px 14px 11px 42px;font-size:.85rem}.app-topbar-actions{align-items:center;gap:14px;margin-left:auto;display:flex}.app-icon-button{width:40px;height:40px;color:var(--app-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex-shrink:0;place-items:center;display:grid}.app-icon-button:hover{background:var(--app-soft);color:var(--app-accent)}.app-account{position:relative}.app-account summary{cursor:pointer;color:var(--app-text);align-items:center;gap:9px;font-size:.82rem;font-weight:650;list-style:none;display:flex}.app-avatar{background:var(--app-soft);width:34px;height:34px;color:var(--app-accent);border-radius:50%;place-items:center;display:grid}.account-name{text-overflow:ellipsis;max-width:140px;overflow:hidden}.app-account-menu{border:1px solid var(--app-border);background:var(--app-surface);border-radius:14px;width:240px;padding:8px;position:absolute;top:calc(100% + 18px);right:0;box-shadow:0 12px 40px #2411331a}.app-account-menu p{color:var(--app-muted);overflow-wrap:anywhere;margin:6px 10px 10px;font-size:.75rem}.app-account-menu a,.app-account-menu button{width:100%;color:var(--app-text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px;font-size:.85rem;text-decoration:none;display:block}.app-account-menu :is(a,button):hover{background:var(--app-soft)}.app-login{color:var(--app-accent);white-space:nowrap;font-size:.85rem;font-weight:650}.sidebar-toggle{display:none}.app-nav-drawer{background:var(--app-surface);width:min(310px,90vw);height:100dvh;max-height:100dvh;color:var(--app-text);border:0;margin:0;padding:0}.app-nav-drawer::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17102466}.app-drawer-content{min-height:100%;padding:24px 18px}.drawer-close{margin:-10px -6px 8px auto}.app-skip-link{z-index:100;background:var(--app-surface);color:var(--app-accent);padding:12px;position:fixed;top:-80px;left:16px}.app-skip-link:focus{top:12px}:is(.app-sidebar,.app-topbar,.app-nav-drawer) :focus-visible{outline:2px solid var(--app-accent);outline-offset:3px}@media (width<=1100px){.app-sidebar{display:none}.app-topbar,.app-workspace{margin-left:0}.sidebar-toggle{display:grid}}@media (width<=600px){.app-topbar-inner{gap:6px;min-height:64px}.app-topbar-actions{gap:3px}.account-name,.app-account summary>svg{display:none}.app-search .global-search input{padding-left:34px;font-size:16px}.app-search>svg{width:16px;left:10px}.app-icon-button{width:34px}.app-search .search-results{max-height:calc(100dvh - 80px);position:fixed;top:62px;left:10px;right:10px}}@media print{.app-skip-link{display:none}}.global-search{width:100%;position:relative}.global-search input{box-sizing:border-box;background:var(--theme-surface-raised,#eee8ff);width:100%;color:var(--theme-text,#252133);font:inherit;border:1px solid #0000;border-radius:18px;outline:none;padding:16px 20px;transition:border-color .2s,box-shadow .2s}.global-search input:focus{border-color:#a879ee;box-shadow:0 0 0 3px #a879ee26}.search-results{z-index:20;border:1px solid var(--theme-border,#e7ddf5);background:var(--theme-surface,#fff);border-radius:18px;max-height:430px;padding:8px;position:absolute;top:calc(100% + 10px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 45px #37255829}.search-result{color:inherit;border-radius:13px;align-items:flex-start;gap:12px;padding:12px 14px;text-decoration:none;transition:background .15s;display:flex}.search-result:hover{background:var(--theme-soft,#f4efff)}.search-icon{background:var(--theme-surface-raised,#eee8ff);border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:17px;display:grid}.search-content{min-width:0}.search-title{color:var(--theme-text,#211c2d);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.search-description{color:var(--theme-muted,#756c82);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:13px;overflow:hidden}.search-message{color:var(--theme-muted,#756c82);text-align:center;margin:0;padding:18px}.search-snippet{color:var(--theme-text,#51495e);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.semester-subjects{margin-block:42px 30px;padding-block:0}.semester-subjects-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.semester-subjects-header h2{margin:0;font-size:1.5rem;font-weight:700}.semester-subjects-header a{color:#7c3aed;font-size:.9rem;font-weight:600;text-decoration:none}.semester-subjects-header a:hover{color:#7c3aed;text-decoration:none}.semester-subjects-grid{grid-template-columns:repeat(3,minmax(220px,300px));gap:14px 56px;margin-left:-18px;display:grid}.semester-subject-item{width:100%;min-width:0;color:inherit;cursor:pointer;grid-template-columns:4px minmax(0,1fr);justify-self:start;align-items:center;gap:14px;padding:3px 0;text-decoration:none;display:grid}.semester-subject-item:hover{color:inherit;text-decoration:none}.semester-subject-indicator{background:#d1d5db;border-radius:999px;width:3px;height:26px}.semester-subject-code{color:#6b7280;margin:0 0 4px;font-size:.8rem;font-weight:700}.semester-subject-item h3{color:#1f2937;margin:0;font-size:.98rem;font-weight:600;line-height:1.35}.semester-subject-purple .semester-subject-indicator{background:#8b5cf6}.semester-subject-purple .semester-subject-code{color:#7c3aed}.semester-subject-pink .semester-subject-indicator{background:#ec4899}.semester-subject-pink .semester-subject-code{color:#db2777}.semester-subject-green .semester-subject-indicator{background:#4ade80}.semester-subject-green .semester-subject-code{color:#2f9e55}.semester-subject-blue .semester-subject-indicator{background:#60a5fa}.semester-subject-blue .semester-subject-code{color:#2563eb}.semester-subject-orange .semester-subject-indicator{background:#fb923c}.semester-subject-orange .semester-subject-code{color:#ea580c}.semester-subject-teal .semester-subject-indicator{background:#2dd4bf}.semester-subject-teal .semester-subject-code{color:#0d9488}.semester-subject-red .semester-subject-indicator{background:#fb7185}.semester-subject-red .semester-subject-code{color:#e11d48}.semester-subject-yellow .semester-subject-indicator{background:#facc15}.semester-subject-yellow .semester-subject-code{color:#ca8a04}.semester-subject-default .semester-subject-indicator{background:#d1d5db}.semester-subject-default .semester-subject-code{color:#6b7280}.semester-subjects-empty{color:#4b5563;margin:0;font-size:.9rem}@media (width<=1000px){.semester-subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 40px}}@media (width<=600px){.semester-subjects{margin-block:36px 28px;padding-block:0}.semester-subjects-header{margin-bottom:16px}.semester-subjects-header h2{font-size:1.35rem}.semester-subjects-header a{font-size:.85rem}.semester-subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;margin-left:-14px}.semester-subject-code{font-size:.72rem}.semester-subject-item h3{font-size:.84rem}.semester-subject-item{padding:4px 0}}.stats-grid{grid-template-columns:repeat(4,1fr);gap:20px;max-width:1200px;margin:32px auto;padding:0 24px;display:grid}.year-section{max-width:1200px;margin:32px auto;padding:0 24px}.year-section h2{margin-bottom:16px}.year-grid{grid-template-columns:repeat(5,1fr);gap:16px;display:grid}.subjects-section{max-width:1200px;margin:32px auto;padding:0 24px}.subjects-section h2{margin-bottom:16px}.subjects-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.home-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;margin-block:32px;padding-block:0;display:grid}.home-dashboard-grid .upcoming-tasks,.home-dashboard-grid .home-progress{width:100%;min-width:0;max-width:none;margin:0;padding:0}.logged-out-home{margin-block:0;padding-block:72px 96px}.logged-out-hero{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:72px;min-height:560px;display:grid}.logged-out-hero-content{max-width:650px}.logged-out-hero h1{color:var(--theme-text,#161329);letter-spacing:-.055em;margin:0;font-size:clamp(3.4rem,6vw,5.7rem);line-height:.98}.logged-out-hero-description{max-width:580px;color:var(--theme-muted,#6b7280);margin:28px 0 0;font-size:1.2rem;line-height:1.7}.logged-out-hero-actions{gap:14px;margin-top:34px;display:flex}.logged-out-primary-button,.logged-out-secondary-button{border-radius:14px;justify-content:center;align-items:center;min-height:48px;padding:0 24px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s,background-color .2s;display:inline-flex}.logged-out-primary-button{color:#fff;background:#a97af5;box-shadow:0 8px 20px #a97af533}.logged-out-primary-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px #a97af542}.logged-out-secondary-button{border:1px solid var(--theme-border,#e5dcf3);background:var(--theme-surface,#ffffffb8);color:var(--theme-text,#27213e)}.logged-out-secondary-button:hover{background:var(--theme-surface,white);transform:translateY(-2px)}.logged-out-note-preview{justify-content:center;align-items:center;gap:12px;width:100%;min-height:540px;display:flex;position:relative}.logged-out-note-image{border:1px solid var(--theme-border,#e8e3ed);background:var(--theme-surface,white);object-fit:contain;border-radius:12px;width:310px;height:auto;position:static}.logged-out-note-image-front{transform:rotate(1deg)}.logged-out-note-image-back{transform:rotate(-1deg)}.logged-out-features{border-top:1px solid var(--theme-border,#e9e3ef);grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;padding:72px 0 48px;display:grid}.logged-out-feature-number{color:#9b6df3;letter-spacing:.08em;margin-bottom:18px;font-size:.85rem;font-weight:800;display:block}.logged-out-feature h2{color:var(--theme-text,#161329);margin:0 0 12px;font-size:1.35rem}.logged-out-feature p{color:var(--theme-muted,#737080);margin:0;line-height:1.7}.home-empty-page{justify-content:center;align-items:center;min-height:560px;padding-block:64px;display:flex}.home-empty-state{border:1px solid var(--theme-border,#e8e1f0);background:var(--theme-surface,#ffffffc7);text-align:center;border-radius:24px;width:100%;max-width:620px;padding:48px}.home-empty-icon{background:var(--theme-soft,#f0e7ff);color:#9b6df3;border-radius:18px;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 20px;display:flex}.home-empty-state .page-label{margin-bottom:10px}.home-empty-state h1{color:var(--theme-text,#161329);margin:0;font-size:2rem;line-height:1.2}.home-empty-description{max-width:500px;color:var(--theme-muted,#737080);margin:18px auto 0;font-size:1rem;line-height:1.7}.home-empty-button{color:#fff;background:#a97af5;border-radius:14px;justify-content:center;align-items:center;min-height:46px;margin-top:28px;padding:0 24px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 8px 20px #a97af533}.home-empty-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px #a97af542}.home-dashboard-column{flex-direction:column;gap:24px;min-width:0;display:flex}.home-dashboard-grid .exam-overview{width:100%;max-width:none;margin:0;padding:0}.home-dashboard-grid .exam-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media (width<=900px){.stats-grid{grid-template-columns:repeat(2,1fr)}.year-grid{grid-template-columns:repeat(3,1fr)}.home-dashboard-grid{grid-template-columns:1fr}.logged-out-home{padding-top:48px}.logged-out-hero{grid-template-columns:1fr;gap:48px;min-height:auto}.logged-out-hero-content{max-width:700px}.logged-out-note-preview{width:100%;max-width:560px}}@media (width<=600px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px auto;padding:0 16px}.year-section{margin:24px auto;padding:0 16px}.year-section h2{margin-bottom:14px;font-size:1.4rem}.year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subjects-section{margin:24px auto;padding:0 16px}.subjects-section h2{margin-bottom:14px;font-size:1.4rem}.subjects-grid{grid-template-columns:1fr;gap:12px}.home-dashboard-grid{grid-template-columns:1fr;margin-block:24px;padding-block:0}.logged-out-home{padding-block:32px 48px}.logged-out-hero{gap:28px}.logged-out-hero h1{font-size:clamp(2.65rem,12vw,3.4rem);line-height:1}.logged-out-hero-description{margin-top:24px;font-size:1rem;line-height:1.65}.logged-out-hero-actions{flex-direction:column;gap:12px;margin-top:28px}.logged-out-primary-button,.logged-out-secondary-button{width:100%}.logged-out-note-preview{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;width:100%;min-height:0;display:grid}.logged-out-note-image{width:100%;height:auto;transform:none}.logged-out-note-image-front,.logged-out-note-image-back{transform:none}.logged-out-features{grid-template-columns:1fr;gap:36px;padding:48px 0}.home-empty-page{min-height:480px;padding-block:40px}.home-empty-state{padding:36px 24px}.home-empty-state h1{font-size:1.7rem}.home-dashboard-grid .exam-grid{grid-template-columns:1fr}}@media (width<=380px){.stats-grid,.year-grid{grid-template-columns:1fr}}.home-dashboard{padding-block:36px 56px}.dashboard-focus-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start;gap:24px;display:grid}.dashboard-focus{background:var(--app-surface);border:1px solid var(--app-border);border-radius:20px;overflow:hidden}.dashboard-focus-intro{background:linear-gradient(120deg, var(--app-soft), var(--app-surface));padding:26px 28px}.dashboard-focus-intro .page-label{letter-spacing:.1em;font-size:.7rem}.dashboard-focus-intro h2{letter-spacing:-.025em;margin:12px 0 8px;font-size:1.5rem}.dashboard-focus-intro>p:last-of-type{color:var(--app-muted);margin:0;font-size:.85rem;line-height:1.6}.dashboard-shortcuts{flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px;display:flex}.dashboard-shortcuts a{border:1px solid var(--app-border);color:var(--app-accent);background:var(--app-surface);border-radius:10px;padding:10px 14px;font-size:.8rem;font-weight:650;text-decoration:none}.dashboard-shortcuts a:first-child{background:var(--footer-purple);color:#fff;border-color:var(--footer-purple)}.home-dashboard .weekly-updates{width:100%;margin:0;padding:22px 28px}.home-dashboard .weekly-updates-header h2{font-size:.95rem}.home-dashboard .weekly-updates-list{gap:8px}.home-dashboard .weekly-update-subject{flex-direction:column;gap:3px}.home-dashboard .weekly-update-name{max-width:100%;font-size:.8rem}.home-dashboard .weekly-update-row{gap:10px}.home-dashboard .weekly-update-details{font-size:.73rem}.home-dashboard .upcoming-tasks{width:100%;max-width:none;margin:0;padding:8px 0 0}.home-dashboard .upcoming-tasks-header{gap:8px}.home-dashboard .upcoming-tasks-header h2{font-size:1rem}.home-dashboard .upcoming-tasks-header a{font-size:.75rem}.home-dashboard .upcoming-task{border-radius:12px;gap:10px;min-height:68px;padding:12px}.home-dashboard .upcoming-task-content{flex-direction:column;align-items:flex-start;gap:3px}.home-dashboard .upcoming-task-code{font-size:.68rem}.home-dashboard .upcoming-task h3{font-size:.82rem}.home-dashboard .upcoming-task p{display:none}.home-dashboard .upcoming-task time{font-size:.7rem}.home-dashboard .upcoming-tasks-more{margin-top:10px}.home-dashboard .semester-subjects{width:100%;margin:32px 0;padding:0}.home-dashboard :is(.semester-subjects-header h2,.home-progress h2,.exam-overview h2){letter-spacing:-.02em;font-size:1.15rem}.home-dashboard .semester-subjects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.home-dashboard .semester-subject-item{border:1px solid var(--app-border);background:var(--app-surface);border-radius:15px;align-items:start;gap:12px;padding:19px 16px;transition:border-color .2s,transform .2s}.home-dashboard .semester-subject-item:hover{border-color:#c4a5ec;transform:translateY(-2px)}.home-dashboard .semester-subject-item>div{width:100%;min-width:0}.home-dashboard .semester-subject-item h3{min-height:2.7em;font-size:.87rem}.subject-card-progress{color:var(--app-muted);margin-top:16px;font-size:.7rem}.subject-card-progress progress{accent-color:#a879ee;background:var(--app-soft);border:0;border-radius:6px;width:100%;height:5px;margin-top:7px;display:block;overflow:hidden}.subject-card-progress progress::-webkit-progress-bar{background:var(--app-soft)}.subject-card-progress progress::-webkit-progress-value{background:#a879ee;border-radius:6px}.subject-card-progress progress::-moz-progress-bar{background:#a879ee}.home-dashboard .home-progress{width:100%;max-width:none;margin:32px 0;padding:0}.home-dashboard .home-progress-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-dashboard .home-progress-item{padding:16px}.home-dashboard .exam-overview{border-top:1px solid var(--app-border);width:100%;max-width:none;margin:36px 0 0;padding:30px 0 0}@media (width>=1101px) and (width<=1300px),(width<=850px){.dashboard-focus-grid{grid-template-columns:1fr}.home-dashboard .upcoming-tasks-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.home-dashboard{padding-block:24px 36px}.dashboard-focus-intro,.home-dashboard .weekly-updates{padding:22px 18px}.home-dashboard .semester-subjects-grid,.home-dashboard .home-progress-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=440px){.home-dashboard .semester-subjects-grid,.home-dashboard .home-progress-list,.home-dashboard .upcoming-tasks-list{grid-template-columns:1fr}.home-dashboard .semester-subject-item h3{min-height:0}}.home-dashboard .upcoming-tasks-empty{border:1px dashed var(--app-border);color:var(--app-muted);border-radius:14px;margin:0;padding:24px;font-size:.85rem;line-height:1.7}.dashboard-date{color:var(--app-muted);text-align:right;text-transform:capitalize;margin-bottom:14px;font-size:.8rem}.home-skeleton{position:relative}.home-skeleton-date{background:var(--app-soft);border-radius:8px;width:220px;height:15px;margin-bottom:24px}.home-skeleton-column{flex-direction:column;gap:24px;display:flex}.home-skeleton-focus{height:380px}.home-skeleton-tasks{height:187px}.home-skeleton-side-fill{height:380px}.home-skeleton-progress{height:288px;margin-top:24px}.home-skeleton-exams{height:528px;margin-top:24px}.home-progress{max-width:1200px;margin:32px auto;padding:0 24px}.home-progress-header{margin-bottom:14px}.home-progress h2{margin:0;font-size:1.45rem;font-weight:700;line-height:1.2}.home-progress-list{grid-template-columns:1fr;gap:10px;display:grid}.home-progress-item{min-width:0;color:inherit;background:#fff;border:1px solid #ece7f5;border-radius:16px;flex-direction:column;padding:12px 16px;text-decoration:none;transition:border-color .2s,transform .2s;display:flex}.home-progress-item:hover{color:inherit;border-color:#ddd6e8;text-decoration:none;transform:translateY(-1px)}.home-progress-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px;display:flex}.home-progress-top strong{font-size:.88rem;font-weight:700}.home-progress-top span{flex-shrink:0;font-size:.82rem;font-weight:700}.home-progress-count{color:#4b5563;margin:0 0 6px;font-size:.78rem;font-weight:500}.home-progress-details{color:#6b7280;flex-wrap:wrap;gap:4px 12px;margin-bottom:9px;font-size:.72rem;font-weight:500;display:flex}.home-progress-bar{background:#eee7fb;border-radius:999px;height:4px;overflow:hidden}.home-progress-fill{border-radius:999px;height:100%;transition:width .3s}.home-progress-rating{color:#6b7280;margin:6px 0 0;font-size:.7rem;font-weight:500}.home-progress-purple .home-progress-top strong,.home-progress-purple .home-progress-top span{color:#7c3aed}.home-progress-purple .home-progress-fill{background:#8b5cf6}.home-progress-purple .home-progress-bar{background:#ede9fe}.home-progress-pink .home-progress-top strong,.home-progress-pink .home-progress-top span{color:#db2777}.home-progress-pink .home-progress-fill{background:#ec4899}.home-progress-pink .home-progress-bar{background:#fce7f3}.home-progress-green .home-progress-top strong,.home-progress-green .home-progress-top span{color:#2f9e55}.home-progress-green .home-progress-fill{background:#4ade80}.home-progress-green .home-progress-bar{background:#dcfce7}.home-progress-blue .home-progress-top strong,.home-progress-blue .home-progress-top span{color:#2563eb}.home-progress-blue .home-progress-fill{background:#60a5fa}.home-progress-blue .home-progress-bar{background:#dbeafe}.home-progress-orange .home-progress-top strong,.home-progress-orange .home-progress-top span{color:#ea580c}.home-progress-orange .home-progress-fill{background:#fb923c}.home-progress-orange .home-progress-bar{background:#ffedd5}.home-progress-teal .home-progress-top strong,.home-progress-teal .home-progress-top span{color:#0d9488}.home-progress-teal .home-progress-fill{background:#2dd4bf}.home-progress-teal .home-progress-bar{background:#ccfbf1}.home-progress-red .home-progress-top strong,.home-progress-red .home-progress-top span{color:#e11d48}.home-progress-red .home-progress-fill{background:#fb7185}.home-progress-red .home-progress-bar{background:#ffe4e6}.home-progress-yellow .home-progress-top strong,.home-progress-yellow .home-progress-top span{color:#ca8a04}.home-progress-yellow .home-progress-fill{background:#facc15}.home-progress-yellow .home-progress-bar{background:#fef9c3}.home-progress-default .home-progress-top strong,.home-progress-default .home-progress-top span{color:#6b7280}.home-progress-default .home-progress-fill{background:#9ca3af}.home-progress-default .home-progress-bar{background:#f3f4f6}@media (width<=900px){.home-progress{max-width:none}.home-progress-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (width<=600px){.home-progress{margin:16px auto 24px;padding:0 16px}.home-progress-header{margin-bottom:12px}.home-progress h2{font-size:1.3rem}.home-progress-list{grid-template-columns:1fr;gap:8px}.home-progress-item{border-radius:12px;padding:11px 12px}.home-progress-top{margin-bottom:3px}.home-progress-count{margin-bottom:6px}.home-progress-details{margin-bottom:7px}.home-progress-rating{font-size:.72rem}}.home-progress-skeleton{height:254px;margin-top:12px}:root{--rating-1:#ef4444;--rating-2:#f97316;--rating-3:#eab308;--rating-4:#84cc16;--rating-5:#22c55e;--rating-empty:#d6d0e0}[data-theme=dark]{--rating-empty:#4a4159}.rating-stars{vertical-align:middle;align-items:center;gap:2px;line-height:1;display:inline-flex}.rating-stars svg{fill:currentColor;stroke:currentColor;stroke-width:1.4px;stroke-linejoin:round;width:1em;height:1em;display:block}.rating-star{color:var(--rating-empty);display:inline-flex}.rating-star-filled{color:var(--rating-color,var(--rating-empty))}.rating-stars-1{--rating-color:var(--rating-1)}.rating-stars-2{--rating-color:var(--rating-2)}.rating-stars-3{--rating-color:var(--rating-3)}.rating-stars-4{--rating-color:var(--rating-4)}.rating-stars-5{--rating-color:var(--rating-5)}.exam-overview{max-width:1280px;margin:32px auto;padding:0 24px}.exam-overview h2{margin:0 0 14px;font-size:1.45rem;font-weight:700;line-height:1.2}.exam-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.exam-card{border:1px solid var(--theme-border,#e7e3ec);background:var(--theme-surface,#fff);border-radius:12px;min-width:0;padding:14px 16px}.exam-code{color:var(--theme-muted,#6b647c);margin:0 0 5px;font-size:.82rem;font-weight:700}.exam-card span{color:var(--theme-accent,#7c3aed);margin-top:5px;font-size:.82rem;font-weight:700;display:inline-block}.exam-card-purple .exam-code,.exam-card-purple span{color:var(--theme-accent,#7c3aed)}.exam-card-pink .exam-code,.exam-card-pink span{color:#db2777}.exam-card-green .exam-code,.exam-card-green span{color:#2f9e55}.exam-card-blue .exam-code,.exam-card-blue span{color:#2563eb}.exam-card-orange .exam-code,.exam-card-orange span{color:#ea580c}.exam-card-teal .exam-code,.exam-card-teal span{color:#0d9488}.exam-card-red .exam-code,.exam-card-red span{color:#e11d48}.exam-card-yellow .exam-code,.exam-card-yellow span{color:#ca8a04}.exam-card-default .exam-code,.exam-card-default span{color:var(--theme-muted,#6b7280)}.exam-card{border:1px solid var(--theme-border,#ece7f5);background:var(--theme-surface,#fff);min-width:0;color:inherit;cursor:pointer;border-radius:16px;padding:16px;text-decoration:none;transition:border-color .2s,transform .2s}.exam-card:hover{color:inherit;border-color:var(--theme-border,#ddd6e8);text-decoration:none;transform:translateY(-1px)}.exam-card h3{color:var(--theme-text,#1f2937);overflow-wrap:anywhere;margin:0 0 10px;font-size:.98rem;font-weight:600;line-height:1.35}.exam-card p{color:var(--theme-muted,#6b7280);margin:0 0 4px;font-size:.82rem;font-weight:500}.exam-card span{margin-top:6px;font-size:.82rem;font-weight:700;display:inline-block}@media (width<=1024px){.exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.exam-overview{margin:24px auto;padding:0 16px}.exam-overview h2{margin-bottom:12px;font-size:1.3rem}.exam-grid{grid-template-columns:1fr;gap:8px}.exam-card{border-radius:14px;padding:12px 14px}.exam-card h3{margin-bottom:8px;font-size:.92rem}.exam-card p{font-size:.82rem}.exam-card span{font-size:.8rem}}.exam-overview-skeleton{height:490px;margin-top:12px}.weekly-updates{margin-block:36px;padding-block:0}.weekly-updates-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.weekly-updates-header h2{margin:0;font-size:1.5rem;font-weight:700}.weekly-updates-week{color:#7c3aed;font-size:.85rem;font-weight:600}.weekly-updates-list{flex-direction:column;gap:14px;display:flex}.weekly-update-row{min-height:50px;color:inherit;grid-template-columns:4px minmax(0,1fr) auto;align-items:center;gap:14px;padding:4px 0;text-decoration:none;display:grid}.weekly-update-row:hover{color:inherit;text-decoration:none}.weekly-update-indicator{background:#d1d5db;border-radius:999px;width:3px;height:26px}.weekly-update-subject{align-items:baseline;gap:12px;min-width:0;display:flex}.weekly-update-code{flex-shrink:0;margin:0;font-size:.8rem;font-weight:700}.weekly-update-name{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:600;overflow:hidden}.weekly-update-details{color:#4b5563;align-items:center;font-size:.82rem;font-weight:500;display:flex}.weekly-update-details span{align-items:center;display:inline-flex}.weekly-update-details span:not(:last-child):after{content:"·";color:#9ca3af;margin:0 8px}.weekly-updates-empty{color:#4b5563;margin:0;padding:10px 0;font-size:.9rem}.weekly-update-purple .weekly-update-indicator{background:#8b5cf6}.weekly-update-purple .weekly-update-code{color:#7c3aed}.weekly-update-pink .weekly-update-indicator{background:#ec4899}.weekly-update-pink .weekly-update-code{color:#db2777}.weekly-update-green .weekly-update-indicator{background:#4ade80}.weekly-update-green .weekly-update-code{color:#2f9e55}.weekly-update-blue .weekly-update-indicator{background:#60a5fa}.weekly-update-blue .weekly-update-code{color:#2563eb}.weekly-update-orange .weekly-update-indicator{background:#fb923c}.weekly-update-orange .weekly-update-code{color:#ea580c}.weekly-update-teal .weekly-update-indicator{background:#2dd4bf}.weekly-update-teal .weekly-update-code{color:#0d9488}.weekly-update-red .weekly-update-indicator{background:#fb7185}.weekly-update-red .weekly-update-code{color:#e11d48}.weekly-update-yellow .weekly-update-indicator{background:#facc15}.weekly-update-yellow .weekly-update-code{color:#ca8a04}.weekly-update-default .weekly-update-indicator{background:#d1d5db}.weekly-update-default .weekly-update-code{color:#6b7280}@media (width<=600px){.weekly-updates{margin-block:28px;padding-block:0}.weekly-updates-header{margin-bottom:12px}.weekly-updates-header h2{font-size:1.35rem}.weekly-update-row{grid-template-columns:3px minmax(0,1fr);gap:12px;padding:7px 0}.weekly-update-subject{gap:8px}.weekly-update-name{font-size:.9rem}.weekly-update-details{grid-column:2;margin-top:-5px;font-size:.78rem}}.weekly-updates-skeleton{height:110px;margin-top:12px}.upcoming-tasks{max-width:1200px;margin:32px auto;padding:0 24px}.upcoming-tasks-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;display:flex}.upcoming-tasks-header h2{margin:0;font-size:1.45rem;line-height:1.2}.upcoming-tasks-header a{color:var(--theme-accent,#7c3aed);flex-shrink:0;font-size:.9rem;font-weight:700;text-decoration:none}.upcoming-tasks-header a:hover{text-decoration:underline}.upcoming-tasks-list{gap:10px;display:grid}.upcoming-task{border:1px solid var(--theme-border,#ece7f5);background:var(--theme-surface,white);border-left-width:4px;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;min-width:0;min-height:76px;padding:16px 18px;display:flex}.upcoming-task-content{align-items:center;gap:16px;min-width:0;display:flex}.upcoming-task-code{flex-shrink:0;min-width:70px;font-size:.85rem;font-weight:700}.upcoming-task-info{min-width:0}.upcoming-task h3{overflow-wrap:anywhere;margin:0 0 3px;font-size:.95rem;line-height:1.35}.upcoming-task p{color:var(--theme-muted,#6b7280);margin:0;font-size:.8rem;font-weight:600}.upcoming-task time{color:var(--theme-muted,#6b647c);text-align:right;flex-shrink:0;font-size:.82rem;font-weight:600}.upcoming-task-time-today{color:var(--theme-text,#1f2937)!important;font-weight:700!important}.upcoming-task-time-tomorrow{color:var(--theme-muted,#4b5563)!important;font-weight:700!important}.upcoming-task-purple{border-left-color:var(--theme-accent,#8b5cf6)}.upcoming-task-purple .upcoming-task-code{color:var(--theme-accent,#7c3aed)}.upcoming-task-pink{border-left-color:#ec4899}.upcoming-task-pink .upcoming-task-code{color:#db2777}.upcoming-task-green{border-left-color:#4ade80}.upcoming-task-green .upcoming-task-code{color:#2f9e55}.upcoming-task-blue{border-left-color:#60a5fa}.upcoming-task-blue .upcoming-task-code{color:#2563eb}.upcoming-task-orange{border-left-color:#fb923c}.upcoming-task-orange .upcoming-task-code{color:#ea580c}.upcoming-task-teal{border-left-color:#2dd4bf}.upcoming-task-teal .upcoming-task-code{color:#0d9488}.upcoming-task-red{border-left-color:#fb7185}.upcoming-task-red .upcoming-task-code{color:#e11d48}.upcoming-task-yellow{border-left-color:#facc15}.upcoming-task-yellow .upcoming-task-code{color:#ca8a04}.upcoming-task-default{border-left-color:var(--theme-border,#d1d5db)}.upcoming-task-default .upcoming-task-code{color:var(--theme-muted,#6b7280)}.upcoming-tasks-more{justify-content:center;margin-top:12px;display:flex}.upcoming-tasks-more-button{width:40px;height:40px;color:var(--theme-accent,#7c3aed);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;transition:background .2s,transform .2s;display:inline-flex}.upcoming-tasks-more-button:hover{background:var(--theme-soft,#f3e8ff);transform:translateY(1px)}@media (width<=600px){.upcoming-tasks{margin:24px auto;padding:0 16px}.upcoming-tasks-header{gap:14px;margin-bottom:12px}.upcoming-tasks-header h2{font-size:1.3rem}.upcoming-tasks-header a{font-size:.8rem}.upcoming-task{padding:13px 14px;border-radius:14px;min-height:0;padding-right:72px;display:block;position:relative}.upcoming-task-content{display:block}.upcoming-task-code{min-width:0;margin-bottom:5px;font-size:.75rem;display:block}.upcoming-task h3{margin-bottom:2px;font-size:.9rem}.upcoming-task p{font-size:.76rem}.upcoming-task time{font-size:.76rem;position:absolute;top:13px;right:14px}}.upcoming-tasks-skeleton{height:148px;margin-top:12px}.subject-page{margin-block:28px 64px;padding-block:0}.subject-page-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.subject-page h1{margin:4px 0 2px;font-size:2.45rem;line-height:1.05}.subject-page-name{color:var(--theme-muted,#6b7280);margin:0;font-size:1rem;line-height:1.4}.subject-knowledge-base{border:1px solid var(--theme-border,#e4d8fb);background:var(--theme-surface-raised,#faf8ff);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px 32px;margin-top:24px;padding:18px 20px;display:flex}.subject-knowledge-base>div{flex:500px;min-width:0}.subject-knowledge-base h2{color:var(--theme-text,#211a32);margin:0;font-size:1.2rem;line-height:1.25}.subject-knowledge-base>div>p:last-child{max-width:650px;color:var(--theme-muted,#6b6475);margin:6px 0 0;font-size:.88rem;line-height:1.5}.subject-knowledge-base button{color:#fff;font:inherit;cursor:pointer;background:#7c3aed;border:none;border-radius:10px;flex-shrink:0;padding:10px 16px;font-size:.85rem;font-weight:700;transition:background .2s,transform .2s}.subject-knowledge-base button:hover:not(:disabled){background:#6d28d9}.subject-knowledge-base button:active:not(:disabled){transform:translateY(1px)}.subject-knowledge-base button:disabled{cursor:wait;opacity:.65}.subject-knowledge-base button:focus-visible{outline:2px solid var(--theme-accent,#8b5cf6);outline-offset:3px}.subject-knowledge-base>p{border-top:1px solid var(--theme-border,#e9ddfb);color:var(--theme-muted,#625b6f);flex-basis:100%;margin:0;padding-top:12px;font-size:.84rem;line-height:1.5}.subject-progress-card{border:1px solid var(--theme-border,#ece7f5);background:var(--theme-surface,#fff);box-shadow:none;border-radius:16px;margin-top:24px;padding:18px 20px}.subject-progress-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.subject-progress-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.08em;text-transform:uppercase;margin:0 0 3px;font-size:.72rem;font-weight:800}.subject-progress-header h2{color:var(--theme-text,#211a32);margin:0;font-size:1.2rem;line-height:1.25}.subject-progress-percentage{color:var(--theme-accent,#7c3aed);flex-shrink:0;font-size:1.55rem;font-weight:800;line-height:1}.subject-progress-bar{background:var(--theme-soft,#eee7fb);border-radius:999px;height:6px;margin-top:14px;overflow:hidden}.subject-progress-summary{color:var(--theme-muted,#625b6f);flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:9px;font-size:.84rem;display:flex}.subject-progress-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.subject-progress-category{border:1px solid var(--theme-border,#ece7f5);background:var(--theme-surface-raised,#faf8ff);border-radius:11px;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:9px 11px;display:flex}.subject-progress-category span{min-width:0;color:var(--theme-muted,#625b6f);overflow-wrap:anywhere;font-size:.84rem}.subject-progress-category strong{color:var(--theme-text,#34284a);flex-shrink:0;font-size:.9rem}.subject-progress-status,.subject-progress-error{border-radius:12px;margin:20px 0 0;padding:14px 16px}.subject-progress-status{background:var(--theme-surface-raised,#f7f4fb);color:var(--theme-muted,#6b6475)}.subject-progress-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.subject-features-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px;display:grid}.subject-topic-progress{border:1px solid var(--theme-border,#ece7f5);background:var(--theme-surface,#fff);box-shadow:none;border-radius:16px;margin-top:28px;padding:18px 20px}.subject-topic-progress-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px;display:flex}.subject-topic-progress-header h2{color:var(--theme-text,#211a32);margin:0;font-size:1.2rem}.subject-topic-progress-header>p{background:var(--theme-soft,#f5f0ff);color:#7950c6;border-radius:999px;margin:0;padding:.35rem .65rem;font-size:.72rem;font-weight:700}.subject-topic-progress-list{gap:8px;display:grid}.subject-topic-progress-item{border:1px solid var(--theme-border,#ece7f5);background:var(--theme-surface-raised,#faf8ff);border-radius:11px;min-width:0;padding:12px 14px}.subject-topic-progress-top{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.subject-topic-progress-top h3{color:var(--theme-text,#34284a);overflow-wrap:anywhere;margin:0;font-size:.95rem;line-height:1.35}.subject-topic-progress-top p{color:var(--theme-muted,#756d80);margin:2px 0 0;font-size:.78rem}.subject-topic-progress-top>strong{color:var(--theme-accent,#7c3aed);flex-shrink:0;font-size:.9rem}.subject-topic-progress-bar{background:var(--theme-surface-raised,#e9e2f5);border-radius:999px;height:6px;margin-top:8px;overflow:hidden}.subject-topic-progress-rating{color:var(--theme-muted,#6f6878);margin:6px 0 0;font-size:.76rem}.subject-topic-progress-more{justify-content:center;margin-top:12px;display:flex}.subject-topic-progress-more-button{width:40px;height:32px;color:var(--theme-accent,#7c3aed);cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;padding:0;transition:background .2s,transform .2s;display:flex}.subject-topic-progress-more-button:hover{background:var(--theme-soft,#f5f0ff)}.subject-topic-progress-more-button:active{transform:translateY(1px)}.subject-topic-progress-more-button:focus-visible{outline:2px solid var(--theme-accent,#8b5cf6);outline-offset:2px}@media (width<=1000px){.subject-features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.subject-progress-categories{grid-template-columns:1fr}}@media (width<=700px){.subject-page{margin-block:24px 48px;padding-block:0}.subject-page h1{font-size:2rem}.subject-page-name{font-size:1rem}.subject-features-grid{grid-template-columns:1fr;gap:12px;margin-top:24px}}@media (width<=600px){.subject-knowledge-base{align-items:stretch;gap:16px;margin-top:20px;padding:16px}.subject-knowledge-base>div{flex-basis:100%}.subject-knowledge-base h2{font-size:1.1rem}.subject-knowledge-base button{width:100%}.subject-knowledge-base>p{padding-top:14px}.subject-progress-card{border-radius:16px;margin-top:20px;padding:16px}.subject-progress-header{gap:12px}.subject-progress-header h2{font-size:1.1rem}.subject-progress-percentage{font-size:1.4rem}.subject-progress-bar{height:6px;margin-top:14px}.subject-progress-summary{flex-direction:column;gap:5px;margin-top:9px;font-size:.82rem}.subject-progress-categories{gap:7px;margin-top:12px}.subject-progress-category{border-radius:10px;padding:9px 11px}.subject-progress-category span{font-size:.82rem}.subject-progress-category strong{font-size:.86rem}.subject-topic-progress{border-radius:20px;margin-top:24px;padding:18px}.subject-topic-progress-header{flex-direction:column;gap:8px;margin-bottom:14px}.subject-topic-progress-header h2{font-size:1.15rem}.subject-topic-progress-header>p{background:0 0;padding:0;font-size:.75rem;line-height:1.4}.subject-topic-progress-list{gap:8px}.subject-topic-progress-item{border-radius:12px;padding:12px 14px}.subject-topic-progress-top{gap:10px}.subject-topic-progress-top h3{font-size:.95rem}.subject-topic-progress-top p{font-size:.78rem}.subject-topic-progress-top>strong{font-size:.9rem}.subject-topic-progress-bar{height:6px;margin-top:8px}}.subject-syllabus{margin-top:28px}.subject-syllabus-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:14px;display:flex}.subject-syllabus-header h2{color:var(--theme-text,#211a32);margin:0;font-size:1.2rem;line-height:1.25}.subject-syllabus-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.subject-syllabus-topic{min-width:0}.subject-syllabus-topic-link{border:1px solid var(--theme-border,#ece7f5);background:var(--theme-surface,#fff);min-height:64px;color:var(--theme-text,#34284a);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;text-decoration:none;transition:border-color .2s,background .2s,transform .2s;display:flex}.subject-syllabus-topic-link h3{min-width:0;color:inherit;overflow-wrap:anywhere;margin:0;font-size:.95rem;font-weight:700;line-height:1.35}.subject-syllabus-topic-link svg{color:var(--theme-accent,#8b5cf6);flex-shrink:0}.subject-syllabus-topic-link:hover{background:var(--theme-surface-raised,#faf8ff);color:var(--theme-accent,#7c3aed);border-color:#d8c8f5}.subject-syllabus-topic-link:active{transform:translateY(1px)}.subject-syllabus-topic-link:focus-visible{outline:2px solid var(--theme-accent,#8b5cf6);outline-offset:2px}@media (width<=700px){.subject-syllabus{margin-top:24px}.subject-syllabus-list{grid-template-columns:1fr;gap:8px}.subject-syllabus-topic-link{min-height:58px;padding:12px 14px}}.subject-feature-card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#ece7f5);min-width:0;color:inherit;border-radius:16px;flex-direction:column;gap:8px;padding:16px 18px;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex}.subject-feature-card:hover{border-color:#d8cafa;transform:translateY(-2px);box-shadow:0 8px 18px #4c33700f}.subject-feature-icon{background:var(--theme-soft,#f5f3ff);width:40px;height:40px;color:var(--theme-accent,#8b5cf6);border-radius:12px;justify-content:center;align-items:center;display:flex}.subject-feature-icon svg{width:20px;height:20px}.subject-feature-card h3{margin:0;font-size:1rem;font-weight:700;line-height:1.3}.subject-feature-card p{color:var(--theme-muted,#6b7280);flex:1;margin:0;font-size:.86rem;line-height:1.4}.subject-feature-link{color:var(--theme-accent,#8b5cf6);align-items:center;gap:4px;margin-top:2px;font-size:.86rem;font-weight:700;display:inline-flex}.subject-feature-card:hover .subject-feature-link{gap:6px}@media (width<=600px){.subject-feature-card{border-radius:14px;gap:7px;padding:14px 15px}.subject-feature-icon{border-radius:11px;width:36px;height:36px}.subject-feature-icon svg{width:18px;height:18px}.subject-feature-card h3{font-size:.95rem}.subject-feature-card p,.subject-feature-link{font-size:.84rem}}.subject-feature-card.subject-feature-card-empty{cursor:not-allowed;background:color-mix(in srgb, var(--theme-surface,#fff) 93%, #000);box-shadow:none;border-style:dashed;position:relative}[data-theme=dark] .subject-feature-card.subject-feature-card-empty{background:color-mix(in srgb, var(--theme-surface,#231e2e) 72%, #000)}.subject-feature-card.subject-feature-card-empty:hover{border-color:var(--theme-border,#ece7f5);box-shadow:none;transform:none}.subject-feature-card.subject-feature-card-empty>.subject-feature-icon{background:color-mix(in srgb, var(--theme-muted,#6b7280) 12%, transparent);color:var(--theme-muted,#6b7280)}.subject-features-grid .subject-feature-card.subject-feature-card-empty>h3,.subject-feature-card.subject-feature-card-empty>p{color:var(--theme-muted,#6b7280)}.subject-feature-card.subject-feature-card-empty>.subject-feature-lock{color:var(--theme-muted,#6b7280);opacity:.7;position:absolute;top:14px;right:14px}.subject-feature-card.subject-feature-card-empty>.subject-feature-empty-text{color:var(--theme-muted,#6b7280);margin-top:2px;font-size:.86rem;font-weight:600}@media (width<=600px){.subject-feature-card.subject-feature-card-empty>.subject-feature-empty-text{font-size:.84rem}}.sortable-note{min-width:0;position:relative}.sortable-note:has(.note-drag-handle) :is(.note-card,.folder-note-link){padding-left:38px}.note-drag-handle{width:28px;height:40px;color:var(--app-muted,#746d79);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.note-drag-handle:active{cursor:grabbing}.note-drag-handle:focus-visible,.is-drop-target{outline:2px solid var(--app-accent,#a879ee);outline-offset:2px;border-radius:16px}.note-drag-handle:disabled{cursor:wait;opacity:.5}.note-order-status{color:var(--app-muted,#746d79);font-size:.85rem}.note-order-status:empty{display:none}.sortable-folder{min-width:0;position:relative}.sortable-folder:has(.folder-drag-handle) .folder-card{padding-left:38px}.folder-drag-handle{width:28px;height:40px;color:var(--app-muted,#746d79);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.folder-drag-handle:active{cursor:grabbing}.folder-drag-handle:focus-visible,.is-drop-target{outline:2px solid var(--app-accent,#a879ee);outline-offset:2px;border-radius:16px}.folder-drag-handle:disabled{cursor:wait;opacity:.5}.folder-order-status{color:var(--app-muted,#746d79);font-size:.85rem}.folder-order-status:empty{display:none}.notes-page{margin-block:48px;padding-block:0}.notes-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-top:28px;display:flex}.notes-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:.85rem;font-weight:700}.notes-header h1{margin:0 0 8px}.notes-header p:last-child{margin:0}.notes-header-actions{align-items:center;gap:12px;display:flex}.generate-structure-button{background:var(--theme-soft,#f4ecff);min-height:44px;color:var(--theme-accent,#6d28d9);font:inherit;cursor:pointer;border:1px solid #d9c7f7;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s,border-color .2s;display:inline-flex}.generate-structure-button:hover:not(:disabled){background:var(--theme-soft,#eadcff);border-color:#b794f4;transform:translateY(-1px)}.generate-structure-button:disabled,.new-folder-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.structure-message{border:1px solid var(--theme-border,#d8c7f3);background:var(--theme-soft,#f7f1ff);color:var(--theme-accent,#5b21b6);border-radius:12px;margin:22px 0 0;padding:13px 15px;font-weight:600;line-height:1.5}.new-folder-button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#8b5cf6;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s;display:inline-flex}.new-folder-button:hover{background:#7c3aed;transform:translateY(-1px)}.notes-folders{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;margin-top:36px;display:grid}.notes-list{gap:20px;margin-top:40px;display:grid}.note-progress-preview{color:var(--theme-accent,#8b5cf6);align-items:center;gap:12px;margin-top:8px;font-weight:600;display:flex}.note-card-wrapper .note-card{height:100%;padding-right:72px;display:block}.favorite-button{width:40px;height:40px;color:var(--theme-muted,#8a8290);cursor:pointer;background:0 0;border:none;border-radius:50%;place-items:center;padding:0;font-size:1.7rem;transition:background-color .2s,color .2s,transform .2s;display:grid;position:absolute;top:20px;right:20px}.notes-error-message{background:var(--theme-danger-surface,#fee2e2);color:var(--theme-danger-text,#991b1b);border-radius:12px;margin-top:20px;padding:12px 14px}.folder-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1c162273;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.folder-modal-header h2{margin:0;font-size:1.5rem}.folder-modal-close-button{width:38px;height:38px;color:var(--theme-muted,#756d7c);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;place-items:center;padding:0;transition:background-color .2s,color .2s;display:grid}.folder-modal-close-button:hover{background:var(--theme-surface-raised,#f4eff8);color:var(--theme-text,#493e51)}.folder-modal-close-button:disabled{cursor:not-allowed;opacity:.5}.folder-modal-form{gap:10px;display:grid}.folder-modal-form label{font-weight:700}.folder-modal-form input{border:1px solid var(--theme-border,#d9cfe2);background:var(--theme-surface,#fff);width:100%;min-height:48px;color:var(--theme-text,#28232d);font:inherit;box-sizing:border-box;border-radius:12px;outline:none;padding:0 14px;transition:border-color .2s,box-shadow .2s}.folder-modal-form input:focus{border-color:var(--theme-accent,#8b5cf6);box-shadow:0 0 0 4px #8b5cf61f}.folder-modal-form input:disabled{background:var(--theme-surface-raised,#f7f4f9);cursor:not-allowed}.folder-modal-form select{box-sizing:border-box;border:1px solid var(--theme-border,#d9cfe2);background-color:var(--theme-surface,#fff);width:100%;min-height:48px;color:var(--theme-text,#28232d);font:inherit;cursor:pointer;appearance:none;background-image:linear-gradient(45deg,#0000 50%,#756d7c 50%),linear-gradient(135deg,#756d7c 50%,#0000 50%);background-position:calc(100% - 18px) 21px,calc(100% - 13px) 21px;background-repeat:no-repeat;background-size:5px 5px,5px 5px;border-radius:12px;outline:none;padding:0 42px 0 14px;transition:border-color .2s,box-shadow .2s,background-color .2s}.folder-modal-form select:hover{border-color:#b9a7ca}.folder-modal-form select:focus{border-color:var(--theme-accent,#8b5cf6);box-shadow:0 0 0 4px #8b5cf61f}.folder-modal-form select:disabled{background-color:var(--theme-surface-raised,#f7f4f9);color:var(--theme-muted,#8a8290);cursor:not-allowed}.folder-modal-cancel-button,.folder-modal-submit-button{min-height:44px;font:inherit;cursor:pointer;border:none;border-radius:12px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s}.folder-modal-cancel-button{background:var(--theme-surface-raised,#f2edf5);color:var(--theme-text,#403747)}.folder-modal-submit-button{color:#fff;background:#8b5cf6;justify-content:center;align-items:center;gap:8px;display:inline-flex}.folder-modal-cancel-button:hover{background:#e8e0ed}.folder-modal-submit-button:hover{background:#7c3aed;transform:translateY(-1px)}.folder-modal-cancel-button:disabled,.folder-modal-submit-button:disabled{cursor:not-allowed;opacity:.6;transform:none}@media (width<=650px){.notes-page{margin-block:24px 48px;padding-block:0}.notes-header{flex-direction:column;gap:16px;margin-top:24px}.notes-header h1{font-size:2rem;line-height:1.15}.notes-header p:last-child{font-size:.95rem;line-height:1.4}.notes-header-actions{flex-direction:column;gap:10px;width:100%}.generate-structure-button,.new-folder-button{width:100%;min-height:46px}.structure-message{margin-top:16px;padding:12px 14px;font-size:.9rem}.notes-folders{grid-template-columns:1fr;gap:12px;margin-top:24px}.notes-list{gap:12px;margin-top:24px}.note-card-wrapper .note-card{padding-right:58px}.favorite-button{width:36px;height:36px;top:14px;right:14px}.note-progress-preview{flex-wrap:wrap;gap:8px;font-size:.9rem}.notes-error-message{margin-top:16px;font-size:.9rem}.folder-modal-backdrop{align-items:center;padding:16px}.folder-modal{border-radius:18px;width:100%;max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto}.folder-modal-header{gap:12px;margin-bottom:20px}.folder-modal-header h2{font-size:1.3rem}.folder-modal-form input,.folder-modal-form select{min-height:46px}.folder-modal-actions{flex-direction:column-reverse;gap:10px;margin-top:18px}.folder-modal-cancel-button,.folder-modal-submit-button{width:100%;min-height:46px}.folder-delete-text,.folder-delete-info{font-size:.9rem}}.folder-delete-text{color:var(--theme-text,#332c38);margin:0;line-height:1.6}.folder-delete-info{background:var(--theme-surface-raised,#f7f3fa);color:var(--theme-muted,#655b6c);border-radius:12px;margin:12px 0 0;padding:12px 14px;font-size:.92rem;line-height:1.5}.folder-modal-delete{color:#fff;background:#b42318;border:1px solid #b42318}.folder-modal-delete:hover:not(:disabled){background:#922018}.structured-notes{margin-top:28px}.notes-search>label{margin-bottom:8px;font-weight:600;display:block}.notes-search>input{box-sizing:border-box;border:1px solid var(--theme-border,#d9cfe2);width:100%;font:inherit;background:var(--theme-surface,#fff);color:var(--theme-text,#28232d);border-radius:12px;padding:12px 14px}.notes-search>input:focus-visible,.notes-topic button:focus-visible,.notes-view-switch button:focus-visible{outline:2px solid var(--theme-accent,#8b5cf6);outline-offset:3px}.notes-topic{border:1px solid var(--theme-border,#e5dced);border-radius:14px;margin-top:16px;overflow:hidden}.notes-topic h2{margin:0;font-size:1.1rem}.notes-topic h2 button{background:var(--theme-surface-raised,#f7f3fa);width:100%;color:var(--theme-text,#403747);font:inherit;text-align:left;cursor:pointer;border:0;flex-wrap:wrap;align-items:center;gap:10px;padding:18px;font-weight:600;display:flex}.notes-topic-count{margin-left:auto;font-size:.85rem;font-weight:400}.notes-subtopic{padding:0 16px 18px}.notes-subtopic>h3{color:var(--theme-muted,#655b6c);margin:20px 0 12px;font-size:1rem}.notes-subtopic .notes-list{margin-top:0}.notes-view-switch{gap:8px;margin-top:24px;display:flex}.notes-view-switch button{border:1px solid var(--theme-border,#d9cfe2);background:var(--theme-surface,#fff);color:var(--theme-text,#403747);font:inherit;cursor:pointer;border-radius:12px;padding:10px 16px}.notes-view-switch button[aria-pressed=true]{background:var(--theme-soft,#f4ecff);border-color:var(--theme-accent,#8b5cf6);color:var(--theme-accent,#6d28d9);font-weight:600}.notes-search{margin-top:20px}.folder-card-wrapper{position:relative}.folder-card{border:1px solid var(--theme-border,#e9e3f1);background:var(--theme-surface,#fff);min-height:78px;color:var(--theme-text,#28232d);border-radius:16px;align-items:center;gap:12px;padding:18px 64px 18px 20px;font-weight:700;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;box-shadow:0 6px 20px #30233d0f}.folder-card:hover{border-color:#cbb5e8;transform:translateY(-2px);box-shadow:0 10px 28px #4d32661a}.folder-card-icon{flex-shrink:0;font-size:1.5rem}.folder-card-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.folder-card-menu{position:absolute;top:14px;right:14px}.folder-card-menu-button{width:34px;height:34px;color:var(--theme-muted,#6b7280);cursor:pointer;background:0 0;border:none;border-radius:8px;place-items:center;transition:background-color .2s,color .2s;display:grid}.folder-card-menu-button:hover{background:var(--theme-surface-raised,#f3eff8);color:var(--theme-muted,#4b5563)}.folder-card-dropdown{z-index:100;border:1px solid var(--theme-border,#e5dff0);background:var(--theme-surface,#fff);border-radius:12px;min-width:200px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 32px #1e142a1f}.folder-card-dropdown button{white-space:nowrap;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex}.folder-card-dropdown button:hover{background:var(--theme-surface-raised,#f5f1fa)}.folder-card-dropdown button:last-child{color:var(--theme-danger-text,#b42318)}.folder-card-dropdown button:last-child:hover{background:var(--theme-surface-raised,#fff1f0)}.folder-modal-backdrop{z-index:1000;background:#1a141f73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.folder-modal{border:1px solid var(--theme-border,#e7deef);background:var(--theme-surface,#fff);border-radius:20px;width:min(100%,440px);padding:24px;box-shadow:0 24px 70px #1f16283d}.folder-modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.folder-modal-header h2{color:var(--theme-text,#28232d);margin:4px 0 0;font-size:1.4rem}.folder-modal-label{color:#8564a8;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.8rem;font-weight:800}.folder-modal-close{width:36px;height:36px;color:var(--theme-muted,#6b6370);cursor:pointer;background:0 0;border:none;border-radius:10px;flex-shrink:0;place-items:center;display:grid}.folder-modal-close:hover{background:var(--theme-surface-raised,#f4f0f7);color:var(--theme-text,#312a36)}.folder-modal-close:disabled{cursor:not-allowed;opacity:.6}.folder-modal-field{color:var(--theme-text,#403847);gap:8px;font-size:.9rem;font-weight:700;display:grid}.folder-modal-field input{border:1px solid var(--theme-border,#dcd3e5);background:var(--theme-surface,#fff);width:100%;color:var(--theme-text,#28232d);font:inherit;border-radius:12px;outline:none;padding:12px 14px;transition:border-color .2s,box-shadow .2s}.folder-modal-field input:focus{border-color:#a985cd;box-shadow:0 0 0 4px #a985cd26}.folder-modal-field input:disabled{background:var(--theme-surface-raised,#f6f4f7);cursor:not-allowed}.folder-modal-error{color:var(--theme-danger-text,#b42318);margin:10px 0 0;font-size:.88rem}.folder-modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.folder-modal-actions button{min-height:42px;font:inherit;cursor:pointer;border-radius:11px;padding:10px 16px;font-weight:700}.folder-modal-actions button:disabled{cursor:not-allowed;opacity:.65}.folder-modal-cancel{border:1px solid var(--theme-border,#ddd5e5);background:var(--theme-surface,#fff);color:var(--theme-text,#4c4452)}.folder-modal-cancel:hover:not(:disabled){background:var(--theme-surface-raised,#f7f4f9)}.folder-modal-submit{color:#fff;background:#8564a8;border:1px solid #8564a8}.folder-modal-submit:hover:not(:disabled){background:#745394}.folder-card-content{gap:4px;min-width:0;display:grid}.folder-card-count{color:var(--theme-muted,#817788);font-size:.84rem;font-weight:500}.folder-card-wrapper .folder-card,html[data-theme=dark] .folder-card-wrapper .folder-card{background:color-mix(in srgb, var(--folder-tone) 12%, var(--app-surface,#fff));border-left:3px solid color-mix(in srgb, var(--folder-tone) 55%, var(--app-surface,#fff))}.folder-card-icon{color:var(--folder-tone)}.folder-move-hint{color:var(--theme-muted,#817788);margin:-8px 0 16px;font-size:.92rem}.folder-move-options{gap:8px;max-height:min(50vh,360px);margin-bottom:18px;display:grid;overflow-y:auto}.folder-move-option{border:1px solid var(--theme-border,#e7deef);background:var(--theme-surface,#fff);color:var(--theme-text,#28232d);cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;font-weight:600;display:flex}.folder-move-option:hover{background:var(--theme-surface-raised,#f7f4f9)}.folder-move-option input{accent-color:#8564a8}.folder-progress{width:100%;max-width:360px;color:var(--theme-muted,#6b6275);flex-direction:column;gap:6px;font-size:.84rem;font-weight:500;display:flex}.folder-progress-bar{background:var(--theme-surface-raised,#ebe5f2);border-radius:999px;height:6px;display:block;overflow:hidden}.folder-progress-fill{border-radius:inherit;background:var(--folder-tone,#8564a8);height:100%;transition:width .3s;display:block}.folder-progress-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;display:flex}.folder-progress-stars{align-items:center;gap:6px;font-size:.8rem;display:inline-flex}.note-card-wrapper{position:relative}.note-card{height:100%;color:inherit;padding:1.25rem;text-decoration:none;display:block}.note-card h3{margin:0 0 .5rem}.note-card p{margin:0}.note-card-actions{position:absolute;top:.9rem;right:.9rem}.note-menu{position:relative}.note-menu-button{cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.note-menu-button:hover{background:var(--theme-surface-raised,#f2f2f2)}.note-menu-dropdown{background:var(--theme-surface,white);z-index:100;border-radius:12px;min-width:190px;position:absolute;top:calc(100% + 6px);right:0;overflow:hidden;box-shadow:0 12px 30px #0000001f}.note-menu-dropdown button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;padding:12px 16px;display:flex}.note-menu-dropdown button:hover{background:var(--theme-surface-raised,#f7f7f7)}.note-menu-dropdown .note-menu-delete-option{color:#c62828}.note-menu-dropdown .note-menu-delete-option:hover{background:var(--theme-surface-raised,#fff1f1)}.note-modal-overlay{z-index:1000;background:#00000059;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.note-modal{box-sizing:border-box;background:var(--theme-surface,white);border-radius:18px;width:min(440px,100vw - 40px);padding:24px;box-shadow:0 20px 60px #0003}.note-modal-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.note-modal-header h2{margin:0;font-size:1.35rem}.note-modal-close-button{cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.note-modal-close-button:hover{background:var(--theme-surface-raised,#f2f2f2)}.note-modal-message{margin:0;line-height:1.6}.note-move-options{flex-direction:column;gap:8px;max-height:320px;display:flex;overflow-y:auto}.note-move-option{border:1px solid var(--theme-border,#e8e8e8);cursor:pointer;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.note-move-option:hover{background:var(--theme-surface-raised,#f8f8f8)}.note-move-option input{width:18px;height:18px}.note-rename-label{flex-direction:column;gap:8px;font-weight:600;display:flex}.note-rename-label input{box-sizing:border-box;border:1px solid var(--theme-border,#d8d8d8);width:100%;font:inherit;border-radius:10px;padding:12px 14px;font-weight:400}.note-rename-label input:focus{border-color:#555;outline:none}.note-delete-warning{color:#c62828;margin:10px 0 0;font-size:.9rem}.note-modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.note-modal-cancel-button,.note-modal-submit-button,.note-modal-delete-button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:10px 18px}.note-modal-cancel-button{background:var(--theme-surface-raised,#eee)}.note-modal-submit-button{color:#fff;background:#222}.note-modal-delete-button{color:#fff;background:#c62828}.note-modal-submit-button:disabled,.note-modal-delete-button:disabled{opacity:.5;cursor:not-allowed}@media (width<=500px){.note-modal-overlay{padding:16px}.note-modal{width:100%;padding:20px}.note-modal-actions{flex-wrap:wrap}}.note-page{margin-block:24px 56px;padding-block:0}.note-page-topbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.note-page-topbar .back-link{color:var(--theme-accent,#7c3aed);margin:0;font-size:.92rem;font-weight:650;text-decoration:none;transition:color .15s}.note-page-topbar .back-link:hover{color:var(--theme-accent,#5b21b6)}.note-navigation{align-items:center;gap:.4rem;display:flex}.note-navigation-button{background:var(--theme-surface,#ffffff8c);min-height:36px;color:var(--theme-accent,#7c3aed);border:1px solid #8b5cf624;border-radius:9px;justify-content:center;align-items:center;padding:.45rem .75rem;font-size:.84rem;font-weight:650;text-decoration:none;transition:background .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.note-navigation-button:hover{background:var(--theme-surface,#ffffffe6);color:var(--theme-accent,#5b21b6);border-color:#8b5cf647;transform:translateY(-1px)}.note-label{color:var(--theme-accent,#8b5cf6);font-weight:700}.note-content{background:var(--theme-surface,#fff);border-radius:20px;margin-top:28px;padding:28px 32px;box-shadow:0 8px 20px #0000000a}.note-content pre{white-space:pre-wrap;margin:0;font-family:inherit;line-height:1.7}.note-page-divider{border:none;border-top:1px solid #9b6ee81a;max-width:900px;margin:2.75rem auto 1.75rem}@media (width<=700px){.note-page{margin-block:18px 44px;padding-block:0}.note-page-topbar{margin-bottom:1.25rem}.note-navigation{gap:.35rem}.note-navigation-button{min-height:36px;padding:.45rem .65rem;font-size:.8rem}.note-content{border-radius:18px;margin-top:22px;padding:20px 18px}.note-page-divider{margin:2rem auto 1.5rem}}@media (width<=520px){.note-page-topbar{flex-direction:column;align-items:flex-start;gap:.7rem}.note-navigation{width:100%}.note-navigation-button{flex:1}}.note-navigation-sticky{z-index:35;background:var(--theme-surface-raised,#faf8fde0);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid #8b5cf614;border-radius:12px;width:fit-content;margin:-3.25rem 0 1.4rem auto;padding:.3rem;position:sticky;top:92px;box-shadow:0 6px 20px #1f18280d}@media (width<=700px){.note-navigation-sticky{z-index:50;background:var(--theme-surface-raised,#faf8fd);width:100%;margin:0 0 1rem;padding:.3rem;position:sticky;top:76px;box-shadow:0 6px 16px #1f18280f}}@media (width<=520px){.note-navigation-sticky{width:100%}}@media (width<=600px){.note-page{padding-bottom:72px}}.note-page:has(:is(.editable-note-reading,.editable-note-editing)){padding-bottom:0}.note-page:has(:is(.editable-note-reading,.editable-note-editing)) .note-navigation-sticky{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;margin:-3.25rem 0 1.4rem auto;position:static}@media (width<=700px){.note-page:has(:is(.editable-note-reading,.editable-note-editing)) .note-navigation-sticky{margin:0 0 1rem}}.editable-note{width:min(100%,980px);margin:0 auto}.editable-note-topbar{justify-content:space-between;align-items:center;gap:1rem;max-width:900px;margin:0 auto .65rem;padding:0 1.5rem;display:flex}.editable-note-toolbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.editable-note-subject{color:var(--theme-muted,#8a8390);letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;font-weight:700}.editable-note-actions{align-items:center;gap:.6rem;display:flex}.editable-note-edit-button,.editable-note-save-button,.editable-note-cancel-button{min-height:36px;font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:.4rem;padding:.45rem .75rem;font-size:.86rem;font-weight:650;transition:background .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.editable-note-edit-button{background:var(--theme-surface,#ffffff8c);color:var(--theme-accent,#7c3aed);border:1px solid #8b5cf62e}.editable-note-edit-button:hover{background:var(--theme-surface-raised,#f8f5ff);border-color:#8b5cf659;transform:translateY(-1px)}.editable-note-save-button{color:#fff;background:#7c6ee6;border:1px solid #0000}.editable-note-save-button:hover{background:#6f60db;transform:translateY(-1px)}.editable-note-cancel-button{border:1px solid var(--theme-border,#e5e7eb);background:var(--theme-surface,#fff);color:var(--theme-muted,#4b5563)}.editable-note-cancel-button:hover{background:var(--theme-surface-raised,#f9fafb);transform:translateY(-1px)}.editable-note-edit-button:disabled,.editable-note-save-button:disabled,.editable-note-cancel-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.editable-note-document-header{max-width:900px;margin:0 auto 1.4rem;padding:0 1.5rem}.editable-note-title{color:var(--theme-text,#24202a);letter-spacing:-.04em;margin:0;font-size:clamp(2.6rem,4.5vw,3.3rem);font-weight:750;line-height:1.05}.editable-note-description{max-width:780px;color:var(--theme-muted,#5f5964);margin:1.3rem 0 0;font-size:1.08rem;line-height:1.7}.editable-note-title-input,.editable-note-description-input{width:100%;color:inherit;font:inherit;background:0 0;border:none;outline:none;margin:0;padding:0;display:block}.editable-note-title-input{color:var(--theme-text,#24202a);letter-spacing:-.04em;font-size:clamp(2.6rem,4.5vw,3.3rem);font-weight:750;line-height:1.05}.editable-note-title-input::placeholder{color:#c5bec9}.editable-note-description-input{resize:none;min-height:2rem;color:var(--theme-muted,#5f5964);margin-top:1.3rem;font-size:1.08rem;line-height:1.7;overflow:hidden}.editable-note-description-input::placeholder{color:var(--theme-muted,#b8b0bc)}.editable-note-editor{width:100%;min-height:500px}.editable-note-content{max-width:900px;min-height:300px;color:var(--theme-text,#29252f);margin:0 auto;padding:.75rem 1.5rem 5rem;font-size:1.05rem;line-height:1.8}.editable-note-message{border-radius:10px;margin:0 0 1.25rem;padding:.75rem 1rem}.editable-note-success{color:var(--theme-success-text,#166534);background:#dcfce7}.editable-note-error{background:var(--theme-danger-surface,#fee2e2);color:var(--theme-danger-text,#991b1b)}.editable-note-save-status{color:var(--theme-muted,#8b8490);white-space:nowrap;align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.editable-note-save-status-error{color:#c94f64}.editable-note-save-spinner{animation:.8s linear infinite editable-note-spin}@keyframes editable-note-spin{to{transform:rotate(360deg)}}.editable-note-classification{grid-template-columns:auto minmax(160px,1fr) auto minmax(190px,1fr);align-items:center;gap:.5rem;margin:.85rem 0 1.15rem;display:grid}.editable-note-classification label{color:var(--theme-muted,#746d79);font-size:.88rem;font-weight:600}.editable-note-classification select{border:1px solid var(--theme-border,#ded7e5);background:var(--theme-surface,#fff);width:100%;min-height:40px;color:var(--theme-text,#332d38);font:inherit;cursor:pointer;border-radius:10px;outline:none;padding:.6rem 2.1rem .6rem .8rem;transition:border-color .15s,box-shadow .15s}.editable-note-classification select:hover{border-color:#bca8e8}.editable-note-classification select:focus{border-color:var(--theme-accent,#9b6ee8);box-shadow:0 0 0 3px #9b6ee81f}.editable-note-classification select:disabled{cursor:not-allowed;opacity:.55}.editable-note-multiple-subtopics{border:1px solid var(--theme-border,#e5deeb);background:var(--theme-surface-raised,#fbfaff);border-radius:12px;flex-direction:column;grid-column:1/-1;gap:.75rem;margin-top:.5rem;padding:1rem;display:flex}.editable-note-multiple-subtopics-title{color:var(--theme-text,#4b4450);font-size:.9rem;font-weight:700}.editable-note-topic-group{flex-direction:column;gap:.45rem;display:flex}.editable-note-topic-group-title{color:var(--theme-muted,#746d79);font-size:.82rem;font-weight:700}.editable-note-topic-toggle{width:100%;color:var(--theme-muted,#5f5864);font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem .65rem;font-size:.84rem;font-weight:700;display:flex}.editable-note-topic-toggle:hover{background:var(--theme-surface-raised,#f5f1fb)}.editable-note-topic-toggle-main{align-items:center;gap:.4rem;display:flex}.editable-note-topic-toggle-main svg{color:#8b73d9;flex-shrink:0}.editable-note-topic-selected-count{color:#7c6ee6;flex-shrink:0;font-size:.78rem;font-weight:650}.editable-note-topic-toggle+.editable-note-subtopic-options{padding:.2rem .65rem .55rem 1.7rem}.editable-note-subtopic-options{flex-wrap:wrap;gap:.45rem;display:flex}.editable-note-subtopic-option{border:1px solid var(--theme-border,#e1d9e8);background:var(--theme-surface,#fff);color:var(--theme-text,#4f4854);cursor:pointer;border-radius:9px;align-items:center;gap:.45rem;padding:.45rem .65rem;font-size:.84rem;font-weight:500;display:inline-flex}.editable-note-subtopic-option:hover{background:var(--theme-surface-raised,#f8f5ff);border-color:#bca8e8}.editable-note-subtopic-option input{accent-color:#7c6ee6;cursor:pointer}.editable-note-classification-display{flex-wrap:wrap;gap:.35rem .7rem;margin:.6rem 0 0;display:flex}.editable-note-classification-display span{color:var(--theme-muted,#8a8390);background:0 0;border:none;align-items:center;padding:0;font-size:.84rem;font-weight:600;display:inline-flex;position:relative}.editable-note-classification-display span+span:before{color:var(--theme-muted,#b6aeba);content:"·";margin-right:.7rem}@media (width<=760px){.editable-note-classification{grid-template-columns:1fr;gap:.4rem}.editable-note-classification label:not(:first-child){margin-top:.5rem}}@media (width<=700px){.editable-note-topbar,.editable-note-document-header{padding-left:1rem;padding-right:1rem}.editable-note-title,.editable-note-title-input{font-size:2.6rem}.editable-note-content{padding-left:1rem;padding-right:1rem}}@media (width<=600px){.editable-note-topbar{margin-bottom:.6rem;padding:0}.editable-note-toolbar{margin-bottom:1rem}.editable-note-document-header{margin-bottom:1.2rem;padding:0}.editable-note-title,.editable-note-title-input{font-size:2.25rem;line-height:1.05}.editable-note-classification-display{gap:.3rem .55rem;margin-top:.5rem}.editable-note-classification-display span{font-size:.8rem}.editable-note-classification-display span+span:before{margin-right:.55rem}.editable-note-description,.editable-note-description-input{margin-top:1.05rem;font-size:1rem;line-height:1.6}.editable-note-content{padding:.5rem 0 4rem;font-size:1rem;line-height:1.75}.editable-note-edit-button,.editable-note-save-button,.editable-note-cancel-button{min-height:36px;padding:.45rem .65rem}.editable-note-save-status{font-size:0}.editable-note-save-status svg{width:17px;height:17px}}.editable-note-reading{width:100%}.editable-note-reading .editable-note-topbar{flex-wrap:wrap;justify-content:flex-start;gap:12px;max-width:none;margin:0;padding:0}.editable-note-reading .editable-note-subject{margin-right:auto}.editable-note-reading .editable-note-document-header{max-width:720px;margin:32px auto;padding:0}.editable-note-reading .editable-note-title{overflow-wrap:anywhere;font-size:clamp(2rem,4vw,3rem);line-height:1.15}.editable-note-reading .editable-note-description{margin-top:16px;font-size:1.08rem;line-height:1.7}.editable-note-reading .resource-progress--compact{box-shadow:none;background:0 0;border-radius:0;flex-wrap:wrap;align-items:center;gap:12px;margin:0;padding:0;display:flex}.resource-progress--compact .resource-completed{gap:6px;margin:0;font-size:.82rem}.resource-progress--compact .resource-rating{align-items:center;gap:6px;display:flex}.resource-progress--compact .resource-rating p{color:var(--theme-muted,#746d79);margin:0;font-size:.78rem}.resource-progress--compact .stars{gap:0}.resource-progress--compact .stars button{width:26px;min-height:32px;font-size:1.25rem}@media (width>=1000px){.editable-note-reading .editable-note-document-header{margin-left:252px;margin-right:0}}.editable-note-editing{width:100%}.editable-note-editing .editable-note-topbar,.editable-note-editing .editable-note-document-header{max-width:820px;margin:0 auto 16px;padding:0}.editable-note-editing .editable-note-topbar{flex-wrap:wrap;gap:8px}.editable-note-editing .editable-note-actions{margin-left:auto}.editable-note-editing .editable-note-title-input{font-size:clamp(2rem,4vw,3rem);line-height:1.15}.editable-note-editing .editable-note-description-input{resize:vertical;margin-top:12px;line-height:1.7;overflow:auto}.editable-note-editing .editable-note-save-status{font-size:.8rem}.editable-note-classification-details{color:var(--theme-muted,#5f5964);margin-top:12px;font-size:.85rem}.editable-note-classification-details>summary{cursor:pointer;font-weight:650;line-height:1.6}.editable-note-classification-details>summary>span{overflow-wrap:anywhere;margin-left:8px;font-weight:400}.editable-note-classification-details .editable-note-multiple-subtopics{max-height:260px;margin:10px 0 0;padding:12px;overflow-y:auto}.editable-note-editing :is(summary,input,textarea,button):focus-visible{outline:2px solid var(--theme-accent,#9b6ee8);outline-offset:3px}.editable-note-editing .editable-note-topbar{max-width:none;margin:0;padding:0}.editable-note-editing .editable-note-actions{flex-wrap:wrap;justify-content:flex-end}.editable-note-editing .note-reading-header .editable-note-document-header{width:100%;max-width:720px;margin:32px auto;padding:0}.editable-note-editing .editable-note-description-input{margin-top:16px}.editable-note-editing .resource-progress--compact{box-shadow:none;background:0 0;border-radius:0;flex-wrap:wrap;align-items:center;gap:12px;margin:0;padding:0;display:flex}@media (width>=1000px){.editable-note-editing .note-reading-header .editable-note-document-header{max-width:820px}}.resource-progress{background:var(--theme-surface,#fff);border-radius:24px;padding:24px;box-shadow:0 8px 20px #0000000d}.resource-progress--default{margin-top:24px}.resource-completed{cursor:pointer;align-items:center;gap:12px;margin-bottom:24px;font-weight:600;display:flex}.resource-completed input{accent-color:#7c3aed;width:18px;height:18px}.resource-rating p{margin:0 0 12px;font-weight:600}.stars{gap:8px;display:flex}.stars button{color:var(--rating-empty);cursor:pointer;background:0 0;border:none;padding:0;font-size:2rem;line-height:1;transition:transform .15s;display:flex}.stars button svg{fill:currentColor;stroke:currentColor;stroke-width:1.4px;stroke-linejoin:round;width:1em;height:1em}.stars button:hover{transform:scale(1.12)}.stars button.star-1{color:var(--rating-1)}.stars button.star-2{color:var(--rating-2)}.stars button.star-3{color:var(--rating-3)}.stars button.star-4{color:var(--rating-4)}.stars button.star-5{color:var(--rating-5)}.resource-progress--floating{z-index:40;background:var(--theme-surface,#ffffffeb);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid #8b5cf61f;border-radius:16px;width:190px;padding:14px 16px;position:fixed;top:220px;right:24px;box-shadow:0 10px 30px #1f182814,0 2px 8px #1f18280a}.resource-progress--floating .resource-completed{gap:8px;margin-bottom:12px;font-size:.88rem}.resource-progress--floating .resource-completed input{width:16px;height:16px}.resource-progress--floating .resource-rating p{color:var(--theme-muted,#746d79);margin-bottom:7px;font-size:.78rem;font-weight:650}.resource-progress--floating .stars{gap:3px}.resource-progress--floating .stars button{font-size:1.3rem}@media (width<=1300px){.resource-progress--floating{border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;width:auto;padding:10px 14px;display:flex;inset:auto 16px 16px}.resource-progress--floating .resource-completed{flex-shrink:0;margin:0}.resource-progress--floating .resource-rating{align-items:center;gap:10px;display:flex}.resource-progress--floating .resource-rating p{margin:0}}@media (width<=600px){.resource-progress--floating{border-radius:12px;gap:.5rem;min-height:44px;padding:7px 10px;bottom:10px;left:10px;right:10px;box-shadow:0 8px 24px #1f18281f,0 2px 6px #1f18280d}.resource-progress--floating .resource-completed{white-space:nowrap;gap:6px;font-size:.78rem}.resource-progress--floating .resource-completed input{width:15px;height:15px}.resource-progress--floating .resource-rating{gap:0}.resource-progress--floating .resource-rating p{display:none}.resource-progress--floating .stars{gap:0}.resource-progress--floating .stars button{width:19px;font-size:1.08rem}}.math-dialog-overlay{z-index:20000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#221c296b;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.math-dialog{background:#fff;border:1px solid #9b6ee82e;border-radius:20px;width:min(620px,100%);overflow:hidden;box-shadow:0 24px 70px #221c2938}.math-dialog-header{border-bottom:1px solid #9b6ee81f;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.5rem;display:flex}.math-dialog-header h2{color:#29252f;margin:0;font-size:1.25rem}.math-dialog-close-button{color:#5f5873;cursor:pointer;background:0 0;border:none;border-radius:9px;place-items:center;width:36px;height:36px;padding:0;display:grid}.math-dialog-close-button:hover{color:#7046c5;background:#f3efff}.math-dialog-content{gap:.6rem;padding:1.5rem;display:grid}.math-dialog-content label{color:#463752;font-weight:700}.math-dialog-content textarea{color:#29252f;width:100%;font:inherit;background:#fff;border:1px solid #9b6ee847;border-radius:12px;padding:.9rem 1rem}.math-dialog-content textarea:focus{border-color:#9b6ee8;outline:3px solid #9b6ee829}.math-dialog-actions{justify-content:flex-end;align-items:center;gap:.75rem;padding:1rem 1.5rem 1.5rem;display:flex}.math-dialog-actions button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.75rem 1.1rem;font-weight:700}.math-dialog-cancel-button{color:#6f4bb5;background:#f1ecfb}.math-dialog-cancel-button:hover{background:#e8ddff}.math-dialog-insert-button{color:#fff;background:#9b6ee8}.math-dialog-insert-button:hover:not(:disabled){background:#8758d8}.math-dialog-insert-button:disabled{cursor:not-allowed;opacity:.45}@media (width<=600px){.math-dialog-overlay{align-items:flex-end;padding:0}.math-dialog{border-radius:20px 20px 0 0;width:100%}.math-dialog-actions{flex-direction:column-reverse;align-items:stretch}.math-dialog-actions button{width:100%}}.math-symbol-groups{gap:1rem;margin-bottom:.5rem;display:grid}.math-symbol-group{gap:.6rem;display:grid}.math-symbol-group h3{color:#5f5873;margin:0;font-size:.9rem}.math-symbol-buttons{flex-wrap:wrap;gap:.5rem;display:flex}.math-symbol-button{color:#3f354b;min-width:44px;min-height:40px;font:inherit;cursor:pointer;background:#faf8fd;border:1px solid #9b6ee833;border-radius:10px;padding:.45rem .7rem;font-size:1.05rem;font-weight:650}.math-symbol-button:hover{color:#7046c5;background:#f1eafd;border-color:#9b6ee861}.math-preview-section{gap:.55rem;margin-top:.75rem;display:grid}.math-preview-label{color:#463752;font-weight:700}.math-preview{color:#29252f;background:#faf8fd;border:1px solid #9b6ee829;border-radius:12px;justify-content:center;align-items:center;min-height:88px;padding:1rem 1.25rem;display:flex;overflow-x:auto}.math-preview:empty:before{color:#aaa1b3;content:"Formelen vises her";font-size:.92rem}.math-preview-error{color:#b42318;margin:0;font-size:.88rem;font-weight:600}.math-dialog{flex-direction:column;max-height:calc(100dvh - 3rem);display:flex}.math-dialog-header,.math-dialog-actions{flex-shrink:0}.math-dialog-content{min-height:0;overflow-y:auto}.math-symbol-groups{gap:.6rem}.math-symbol-groups select{color:#463752;width:100%;min-width:0;font:inherit;background:#faf8fd;border:1px solid #ded6e8;border-radius:9px;padding:.65rem .75rem;font-size:.9rem}.math-symbol-buttons{max-height:160px;padding:3px;overflow-y:auto}.math-symbol-button{font-size:.95rem}.math-dialog-help{color:#746d79;margin:0;font-size:.8rem;line-height:1.5}.math-dialog :is(button,select):focus-visible{outline-offset:2px;outline:2px solid #9b6ee8}.math-dialog-content textarea{font-family:SFMono-Regular,Consolas,monospace;font-size:.95rem}.math-preview{justify-content:flex-start}.math-preview>.katex-display{margin:0 auto}@media (width<=600px){.math-dialog{max-height:95dvh}.math-dialog-header,.math-dialog-content{padding:1rem}.math-dialog-actions{flex-direction:row;padding:.75rem 1rem}.math-dialog-actions button{width:auto}}.slash-menu{background:#fff;border:1px solid #ebe6f2;border-radius:14px;width:320px;max-height:340px;padding:.4rem;overflow-y:auto;box-shadow:0 16px 40px #1c15281f}.slash-menu-item{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:10px;align-items:center;gap:.85rem;width:100%;padding:.7rem;display:flex}.slash-menu-item:hover,.slash-menu-item.is-selected{background:#f5f1fb}.slash-menu-icon{color:#7a54d8;background:#f4effb;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.slash-menu-text{min-width:0}.slash-menu-title{color:#27242d;font-size:.95rem;font-weight:600}.slash-menu-description{color:#8a8494;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:.82rem;overflow:hidden}.slash-menu-empty{color:#8a8494;text-align:center;padding:1rem}.concept-suggestions{border-top:1px solid var(--theme-border,#e5e7eb);margin-top:40px;padding-top:32px}.concept-suggestions h2{color:var(--theme-text,#111827);margin:0 0 16px;font-size:1.25rem;font-weight:700}.concept-suggestions-list{flex-direction:column;gap:12px;display:flex}.concept-suggestion{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e5e7eb);border-radius:12px;justify-content:space-between;align-items:center;gap:24px;padding:16px 18px;display:flex}.concept-suggestion-content{flex:1;min-width:0}.concept-suggestion-content h3{color:var(--theme-text,#111827);margin:0 0 6px;font-size:1rem;font-weight:650}.concept-suggestion-content p{max-width:700px;color:var(--theme-muted,#6b7280);margin:8px 0 0;font-size:.9rem;line-height:1.5}.concept-suggestion-type{background:var(--theme-soft,#f3f4f6);color:var(--theme-muted,#4b5563);border-radius:6px;padding:3px 8px;font-size:.75rem;font-weight:600;display:inline-block}.concept-suggestion-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.concept-suggestion-actions button{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#d1d5db);color:var(--theme-text,#374151);font:inherit;cursor:pointer;border-radius:8px;padding:8px 12px;font-size:.85rem;font-weight:600}.concept-suggestion-actions button:hover:not(:disabled){background:var(--theme-surface-raised,#f9fafb)}.concept-suggestion-actions button:disabled{color:var(--theme-muted,#9ca3af);background:var(--theme-surface-raised,#f9fafb);cursor:not-allowed}.concept-suggestion-content input,.concept-suggestion-content select,.concept-suggestion-content textarea{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#d1d5db);width:100%;color:var(--theme-text,#111827);font:inherit;border-radius:8px;padding:9px 10px;display:block}.concept-suggestion-content input{margin-bottom:8px;font-weight:600}.concept-suggestion-content select{width:auto;margin-bottom:8px}.concept-suggestion-content textarea{resize:vertical;min-height:80px;line-height:1.5}.concept-suggestion-content input:focus,.concept-suggestion-content select:focus,.concept-suggestion-content textarea:focus{border-color:var(--theme-accent,#7c3aed);outline:none}.concept-suggestion-actions .concept-suggestion-accept:not(:disabled){border-color:var(--theme-accent,#7c3aed);color:#fff;background:#7c3aed}.concept-suggestion-actions .concept-suggestion-accept:hover:not(:disabled){border-color:var(--theme-accent,#6d28d9);background:#6d28d9}.concept-suggestion-editing{align-items:flex-end}@media (width<=700px){.concept-suggestion{flex-direction:column;align-items:stretch}.concept-suggestion-actions{flex-wrap:wrap}}.exam-task-note{--exam-card:#fff;--exam-border:#e4dff0;--exam-muted:#6b6280;--exam-answer-accent:#1f7a4d;--exam-answer-border:#9fd8b4;--exam-learning-bg:#f9f8fb;color:var(--app-text,#1f1a2b);max-width:1200px;margin:0 auto;padding-bottom:24px;container-type:inline-size}:root[data-theme=dark] .exam-task-note{--exam-card:#231e2e;--exam-border:#3b314a;--exam-muted:#b7abc8;--exam-answer-accent:#9fe0b4;--exam-answer-border:#2f6b4b;--exam-learning-bg:#201b2b}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .exam-task-note{--exam-card:#231e2e;--exam-border:#3b314a;--exam-muted:#b7abc8;--exam-answer-accent:#9fe0b4;--exam-answer-border:#2f6b4b;--exam-learning-bg:#201b2b}}.editable-note-reading:has(.exam-task-note) .note-reading-tools{padding-bottom:4px}.exam-task-note .editable-note-document-header{text-align:left;max-width:none;margin:0 0 16px;padding:0}.exam-task-note .editable-note-title{color:var(--theme-text,#24202a);letter-spacing:-.02em;text-align:left;margin:0;font-size:30px;font-weight:750;line-height:1.15}.exam-task-note .editable-note-description{max-width:none;color:var(--theme-muted,#7a7480);text-align:left;margin:4px 0 0;font-size:.85rem;line-height:1.45}.exam-task-note .editable-note-classification-display{color:var(--theme-muted,#7a7480);justify-content:flex-start;margin:6px 0 0;font-size:.74rem}.exam-task-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.exam-task-main,.exam-task-support{gap:10px;min-width:0;display:grid}@container (width>=1040px){.exam-task-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr)}.exam-task-support{order:1}.exam-task-main{order:2}}.exam-task-note .read-only-note{gap:0;min-height:0;padding:0}.exam-task-section .read-only-note-content>.note-callout,.exam-task-support .read-only-note-content>.note-callout{border-radius:10px;margin:0 0 8px}.exam-task-support .read-only-note-content>.note-callout:last-child{margin-bottom:0}.exam-task-note .note-callout-header{gap:6px;min-height:0;padding:4px 9px}.exam-task-note .note-callout-heading{gap:5px;font-size:.8rem;font-weight:700;line-height:1.25}.exam-task-note .note-callout-heading svg{width:14px;height:14px}.exam-task-note .note-callout-body{padding:6px 9px 7px}.exam-task-note .note-callout-body p{margin:0 0 3px;line-height:1.45}.exam-task-note .note-callout-body p:last-child{margin-bottom:0}.exam-task-section .read-only-note-content{font-size:.93rem;line-height:1.6}.exam-task-section .read-only-note-content p{margin:0 0 .35rem}.exam-task-support .read-only-note-content{font-size:.82rem;line-height:1.42}.exam-task-support .read-only-note-content p{margin:0 0 .2rem}.exam-answer-section{border-left:3px solid var(--exam-answer-border);min-width:0;padding:0 0 0 12px}.exam-answer-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;margin-bottom:4px;display:flex}.exam-answer-title{color:var(--exam-answer-accent);align-items:center;gap:6px;margin:0;font-size:.98rem;font-weight:700;line-height:1.3;display:flex}.exam-pill{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.7rem;font-weight:600}.exam-pill-answer{color:#1f7a4d;border:1px solid var(--exam-answer-border);background:#dff5e7}:root[data-theme=dark] .exam-pill-answer{color:#9fe0b4;background:#20392f}.exam-answer-body{counter-reset:exam-step;background:0 0;padding:0}.exam-answer-body .note-outline,.exam-task-note .note-outline{display:none}.exam-answer-body .read-only-note-content{font-size:1rem;line-height:1.6}.exam-answer-body .read-only-note-content>.note-callout{margin:8px 0 4px}.exam-answer-body .read-only-note-content h2{counter-increment:exam-step;align-items:center;gap:8px;margin:12px 0 4px;font-size:1.02rem;line-height:1.3;display:flex}.exam-answer-body .read-only-note-content h2:first-child{margin-top:0}.exam-answer-body .read-only-note-content h2:before{content:counter(exam-step);background:var(--exam-answer-accent);color:#fff;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:700;display:inline-grid}:root[data-theme=dark] .exam-answer-body .read-only-note-content h2:before{color:#1d2e26}.exam-answer-body .read-only-note-content p{margin:0 0 .4rem}.exam-answer-body .read-only-note-content .tiptap-mathematics-render[data-type=block-math]{margin:.45rem 0;padding:.2rem 0}.exam-task-note .tiptap-mathematics-render[data-type=inline-math]{vertical-align:baseline;margin:0 .1em;display:inline}.exam-task-note .katex{white-space:nowrap;line-height:1.2;display:inline}.exam-task-note .katex .base{line-height:0;display:inline}.exam-learning{background:var(--exam-learning-bg);border:1px dashed var(--exam-border);border-radius:10px;padding:0;font-size:.82rem}.exam-learning-summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:6px 9px;list-style:none;display:flex}.exam-learning-summary::-webkit-details-marker{display:none}.exam-learning-chevron{flex:none;transition:transform .15s}.exam-learning[open] .exam-learning-chevron{transform:rotate(180deg)}.exam-learning-title{font-size:.8rem;font-weight:700}.exam-pill-learning{color:var(--exam-muted);background:var(--exam-card);border:1px solid var(--exam-border);white-space:normal;font-weight:500}.exam-learning-items{gap:4px;padding:0 9px 7px;line-height:1.42;display:grid}.exam-learning-item{margin:0}.exam-learning-item strong{font-weight:700}@media (width<=560px){.exam-task-note .editable-note-title{font-size:24px}.exam-answer-section{padding-left:10px}}.flashcards-error{color:var(--theme-danger-text,#dc2626)}.flashcard-all-practice-card{background:linear-gradient(135deg, var(--theme-surface,#fff) 0%, var(--theme-surface-raised,#faf7ff) 100%);border:1px solid #8b5cf624;border-radius:26px;justify-content:space-between;align-items:center;gap:32px;margin-top:32px;padding:32px;display:flex;box-shadow:0 12px 30px #8b5cf614}.flashcard-all-practice-card h2{color:var(--theme-text,#17142a);margin:6px 0 10px}.flashcard-all-practice-card p{color:var(--theme-muted,#6b7280);margin:0}.flashcard-topics{flex-direction:column;gap:36px;margin-top:36px;display:flex}.flashcard-topic-section{background:var(--theme-surface,#ffffff9e);border:1px solid #8b5cf61a;border-radius:26px;flex-direction:column;gap:22px;padding:28px;display:flex}.flashcard-topic-header{justify-content:space-between;align-items:center;gap:28px;display:flex}.flashcard-topic-header h2{color:var(--theme-text,#17142a);margin:5px 0 8px}.flashcard-topic-header p:not(.flashcard-topic-label){color:var(--theme-muted,#6b7280);margin:0}.flashcard-topic-label,.flashcard-subtopic-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.09em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.flashcard-subtopics{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;display:grid}.flashcard-subtopic-card{background:var(--theme-surface,#fff);border:1px solid #17142a12;border-radius:20px;justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex;box-shadow:0 7px 18px #0000000a}.flashcard-subtopic-card h3{color:var(--theme-text,#17142a);margin:5px 0 8px;font-size:1.05rem}.flashcard-subtopic-card span{color:var(--theme-muted,#6b7280);font-size:.92rem;font-weight:600}.flashcard-primary-button,.flashcard-secondary-button,.flashcard-end-practice{cursor:pointer;font:inherit;border:none;font-weight:700;transition:transform .2s,box-shadow .2s,background .2s,opacity .2s}.flashcard-primary-button{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:14px;flex-shrink:0;padding:13px 20px;box-shadow:0 8px 18px #8b5cf638}.flashcard-primary-button:hover{transform:translateY(-2px);box-shadow:0 11px 24px #8b5cf647}.flashcard-secondary-button{color:var(--theme-accent,#7c3aed);background:var(--theme-soft,#f4edff);border-radius:13px;flex-shrink:0;padding:11px 16px}.flashcard-secondary-button:hover{background:#ede1ff;transform:translateY(-2px)}.flashcard-primary-button:disabled,.flashcard-secondary-button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none;transform:none}.flashcard-end-practice{color:var(--theme-accent,#7c3aed);background:0 0;margin-bottom:28px;padding:0}.flashcard-end-practice:hover{transform:translate(-3px)}.flashcard-practice-header{justify-content:space-between;align-items:end;gap:24px;display:flex}.flashcard-practice-header h1{margin-bottom:0}.flashcard-practice-progress{color:var(--theme-muted,#6b7280);font-weight:700}.flashcard-progress-track{background:var(--theme-surface-raised,#ebe7f2);border-radius:999px;width:100%;height:10px;margin-top:22px;overflow:hidden}.flashcard-progress-bar{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#c084fc);height:100%;transition:width .25s}.flashcard-practice-card{cursor:pointer;text-align:left;width:min(100%,760px);min-height:370px;color:var(--theme-text,#17142a);background:var(--theme-surface,#fff);border:1px solid #8b5cf61a;border-radius:30px;flex-direction:column;justify-content:space-between;margin:42px auto 0;padding:46px;transition:transform .2s,box-shadow .2s,background .2s;display:flex;box-shadow:0 18px 45px #412a731a}.flashcard-practice-card:hover{transform:translateY(-4px);box-shadow:0 24px 55px #412a7324}.flashcard-practice-card-flipped{background:linear-gradient(145deg, var(--theme-surface,#fff), var(--theme-soft,#faf5ff))}.flashcard-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.08em;text-transform:uppercase;margin:0 0 24px;font-size:.88rem;font-weight:800}.flashcard-practice-card h2{color:var(--theme-text,#17142a);white-space:pre-wrap;max-width:100%;margin:auto 0;font-size:clamp(1.5rem,3vw,2.15rem);line-height:1.45;overflow-x:auto}.flashcard-practice-card math{box-sizing:border-box;max-width:100%;display:block;overflow-x:auto}.flashcard-practice-navigation>button{flex:1 1 0;width:auto;min-width:0}.flashcard-hint{color:var(--theme-muted,#8b8b99);margin-top:34px;font-size:.9rem;display:block}.flashcard-practice-navigation{justify-content:space-between;gap:18px;width:min(100%,760px);margin:26px auto 0;display:flex}@media (width<=800px){.flashcard-all-practice-card,.flashcard-topic-header{flex-direction:column;align-items:flex-start}.flashcard-subtopics{grid-template-columns:1fr}.flashcard-subtopic-card{flex-direction:column;align-items:flex-start}.flashcard-primary-button,.flashcard-secondary-button{width:100%}}@media (width<=600px){.flashcard-all-practice-card{border-radius:20px;gap:18px;margin-top:24px;padding:20px}.flashcard-all-practice-card h2{margin:5px 0 8px;font-size:1.2rem;line-height:1.35}.flashcard-all-practice-card p{font-size:.9rem}.flashcard-topics{gap:20px;margin-top:24px}.flashcard-topic-section{border-radius:20px;gap:16px;padding:18px}.flashcard-topic-header{gap:14px}.flashcard-topic-header h2{margin:4px 0 6px;font-size:1.2rem;line-height:1.35}.flashcard-subtopics{gap:12px}.flashcard-subtopic-card{border-radius:16px;gap:14px;padding:16px}.flashcard-subtopic-card h3{margin:4px 0 6px;font-size:1rem}.flashcard-subtopic-card span{font-size:.85rem}.flashcard-primary-button,.flashcard-secondary-button{border-radius:12px;min-height:44px;padding:11px 14px}.flashcard-end-practice{margin-bottom:20px}.flashcard-practice-header{flex-direction:column;align-items:flex-start;gap:8px}.flashcard-practice-header h1{font-size:1.8rem;line-height:1.2}.flashcard-practice-progress{font-size:.9rem}.flashcard-progress-track{height:8px;margin-top:16px}.flashcard-practice-card{border-radius:22px;min-height:280px;margin-top:24px;padding:24px 20px}.flashcard-label{margin-bottom:16px;font-size:.8rem}.flashcard-practice-card h2{font-size:1.4rem;line-height:1.4}.flashcard-hint{margin-top:22px;font-size:.85rem}.flashcard-practice-navigation{flex-direction:column-reverse;gap:10px;margin-top:18px}.flashcard-practice-navigation button{width:100%}}.flashcard-exam-tasks{min-width:0;margin:1.5rem 0}.flashcard-exam-tasks .flashcard-subtopics{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:.85rem;display:grid}.flashcard-exam-tasks .flashcard-subtopic-card{flex-direction:column;justify-content:space-between;gap:.9rem;min-width:0;display:flex}.flashcard-exam-tasks .flashcard-subtopic-card button{width:100%}.flashcard-topic-list{gap:.6rem;min-width:0;display:grid}.flashcard-topic-row{background:var(--theme-surface,#fff);border:1px solid #7c6ee61f;border-radius:16px;align-items:center;gap:.9rem;min-width:0;padding:.85rem 1.1rem;display:flex;box-shadow:0 4px 12px #0000000a}.flashcard-topic-row-empty{opacity:.7}.flashcard-topic-open{min-width:0;color:inherit;flex:1 1 0;gap:.5rem;text-decoration:none;display:grid}a.flashcard-topic-open:hover h2{text-decoration:underline}.flashcard-topic-row-text h2{overflow-wrap:anywhere;margin:0;font-size:1.05rem}.flashcard-topic-row-text p{color:var(--theme-muted,#746d79);margin:.15rem 0 0;font-size:.88rem}.flashcard-topic-row .flashcard-progress-bar-stack{margin-top:0}.flashcard-topic-row .flashcard-topic-start{white-space:nowrap;flex:none;width:auto}.flashcard-progress-bar-stack{background:var(--theme-border,#e4dfeb);border-radius:999px;width:100%;height:10px;margin-top:.75rem;display:flex;overflow:hidden}.flashcard-progress-bar-stack>span{height:100%;transition:width .3s;display:block}.flashcard-progress-segment-red{background:#f8cfca}.flashcard-progress-segment-yellow{background:#fbeab0}.flashcard-progress-segment-green{background:#c8ecd5}.flashcard-subject-progress{margin:1rem 0 1.5rem}.flashcard-subject-progress p{color:var(--theme-muted,#746d79);margin:.5rem 0 0;font-size:.92rem}.flashcard-practice-card{cursor:pointer;-webkit-user-select:none;user-select:none}.flashcard-figure{border-radius:8px;max-width:100%;height:auto;max-height:320px;margin:.75rem auto 0;display:block}.flashcard-answer-text{font-size:1.05rem}.flashcard-feedback{border:1px solid #0000;border-radius:16px;margin-top:.75rem;padding:1rem 1.2rem}.flashcard-feedback-correct{color:#1f5f3b;background:#dff5e7;border-color:#2e9e5b59}.flashcard-feedback-wrong{color:#7a2e28;background:#fde7e4;border-color:#c9473f59}.flashcard-feedback-title{font-size:1.05rem;font-weight:700}.flashcard-feedback-explanation{white-space:pre-line;margin-top:.6rem;font-size:.98rem;line-height:1.6;overflow-x:auto}.flashcard-explanation{background:var(--theme-surface,#fff);text-align:left;white-space:pre-line;border:1px solid #7c6ee626;border-radius:16px;margin-top:.75rem;padding:1rem 1.2rem;font-size:.98rem;line-height:1.6;overflow-x:auto}.flashcard-choices{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:.6rem;margin-top:1rem;display:grid}.flashcard-choice{font:inherit;text-align:left;border:1px solid var(--theme-border,#e4dfeb);background:var(--theme-surface,#fff);min-height:52px;color:var(--theme-text,#24202a);cursor:pointer;border-radius:10px;padding:.75rem .9rem}.flashcard-card-title{margin:0;font-size:1.35rem;font-weight:600;line-height:1.35}.flashcard-choice-code{white-space:pre;text-align:left;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;line-height:1.45;overflow-x:auto}.flashcard-choice:disabled{cursor:default}.flashcard-choice-correct{background:#2e9e5b24;border-color:#2e9e5b}.flashcard-choice-wrong{background:#c9473f1f;border-color:#c9473f}.flashcard-rating{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-top:.75rem;display:grid}.flashcard-rating-button{min-height:48px;font:inherit;cursor:pointer;border:2px solid #0000;border-radius:14px;padding:.5rem .6rem;font-size:.95rem;font-weight:650}.flashcard-rating-button:disabled{opacity:.6;cursor:default}.flashcard-rating-red{color:#7a2e28;background:#f8cfca}.flashcard-rating-yellow{color:#6e5300;background:#fbeab0}.flashcard-rating-green{color:#1f5f3b;background:#c8ecd5}.flashcard-rating-current{border-color:#24202a73}.flashcard-practice-card.flashcard-card-red{background:#fde7e4}.flashcard-practice-card.flashcard-card-yellow{background:#fdf4d3}.flashcard-practice-card.flashcard-card-green{background:#dff5e7}.flashcard-practice-card.flashcard-card-red,.flashcard-practice-card.flashcard-card-yellow,.flashcard-practice-card.flashcard-card-green,.flashcard-practice-card.flashcard-card-red h2,.flashcard-practice-card.flashcard-card-yellow h2,.flashcard-practice-card.flashcard-card-green h2,.flashcard-practice-card.flashcard-card-red .flashcard-label,.flashcard-practice-card.flashcard-card-yellow .flashcard-label,.flashcard-practice-card.flashcard-card-green .flashcard-label{color:#24202a}.flashcard-explanation-text+.flashcard-explanation-text{margin-top:.4rem}.flashcard-code{color:var(--theme-text,#24202a);white-space:pre;text-align:left;background:#24202a0f;border-radius:10px;margin:.6rem 0;padding:.8rem 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.5;overflow-x:auto}.flashcard-code code{font:inherit}.flashcard-plot{max-width:640px;margin:.75rem auto 0}.flashcard-plot svg{width:100%;height:auto;display:block}.flashcard-status-filter{flex-wrap:wrap;gap:.5rem;margin:1rem 0;display:flex}.flashcard-status-chip{font:inherit;border:1px solid var(--theme-border,#e4dfeb);background:var(--theme-surface,#fff);color:var(--theme-text,#24202a);cursor:pointer;border-radius:999px;padding:.45rem .8rem;font-size:.92rem}.flashcard-status-chip-active{background:#7c6ee624;border-color:#7c6ee699;font-weight:650}.flashcard-status-count{opacity:.7;font-variant-numeric:tabular-nums;margin-left:.25rem}.flashcard-tema-cards{gap:1.75rem;min-width:0;margin-top:1.5rem;display:grid}.flashcard-tema-group h3{color:var(--theme-muted,#746d79);margin:0 0 .75rem;font-size:1rem}.flashcard-tema-item{gap:.75rem;min-width:0;margin-bottom:1.25rem;display:grid}.flashcard-tema-item .flashcard-practice-card{margin-top:0}.video-topics{gap:12px;margin-top:16px;display:grid}.video-topic-section{gap:28px;display:grid}.video-topic-section>h2{color:var(--theme-text,#17142a);margin:0;font-size:1.7rem}.video-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;display:grid}.video-subtopic-label{color:var(--theme-text-muted,#6b6680);margin:0;padding:10px 12px 0;font-size:.75rem;font-weight:600}.topic-overview{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-top:32px;display:grid}.topic-tile{border:1px solid color-mix(in srgb, var(--tile-text,#7c3aed) 35%, transparent);background:color-mix(in srgb, var(--tile-text,#7c3aed) 12%, #fff);min-height:150px;color:var(--theme-text,#17142a);font:inherit;text-align:left;cursor:pointer;border-radius:16px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:6px;padding:22px 20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 6px 16px #00000014}.topic-tile:hover{transform:translateY(-4px);box-shadow:0 12px 26px #00000014}.topic-tile-title{overflow-wrap:anywhere;font-size:1.05rem;font-weight:600;line-height:1.3}.topic-tile-count{color:var(--theme-text,#17142a);background:#ffffffb3;border-radius:999px;padding:2px 10px;font-size:.82rem;font-weight:600;display:inline-block}[data-theme=dark] .topic-tile{background:color-mix(in srgb, var(--tile-dark,#c4a0ff) 16%, var(--app-surface,#231e2e));border-color:color-mix(in srgb, var(--tile-dark,#c4a0ff) 40%, transparent);color:var(--app-text,#eee9f5)}[data-theme=dark] .topic-tile-count{color:var(--tile-dark,#c4a0ff);background:#00000040}.topic-back{color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;margin:0;padding:0}.video-card{background:var(--theme-surface,white);text-align:left;color:inherit;border:none;border-radius:16px;padding:0;transition:transform .2s,box-shadow .2s;overflow:hidden;box-shadow:0 8px 20px #0000000d}.video-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px #00000014}.video-card iframe{aspect-ratio:16/9;border:none;width:100%;display:block}.video-thumbnail-button{cursor:pointer;background:0 0;border:none;width:100%;padding:0;display:block;position:relative}.video-thumbnail-button img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.play-button{color:#fff;background:red;border-radius:14px;justify-content:center;align-items:center;width:64px;height:44px;font-size:1.3rem;transition:transform .2s,background .2s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.video-thumbnail-button:hover .play-button{background:#d90000;transform:translate(-50%,-50%)scale(1.08)}.video-card h4{color:var(--theme-text,#17142a);margin:0;padding:14px 18px 10px;font-size:1rem;line-height:1.45}.video-card .resource-progress{padding:0 18px 18px}@media (width<=700px){.video-topics{gap:12px;margin-top:12px}.video-topic-section{gap:16px}.video-topic-section>h2{font-size:1.4rem;line-height:1.3}.video-grid{grid-template-columns:1fr;gap:16px}.video-subtopic-label{padding:10px 14px 0;font-size:.75rem}.topic-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.topic-tile{min-height:130px;padding:16px 14px}.video-card{border-radius:14px}.play-button{border-radius:12px;width:56px;height:40px;font-size:1.1rem}.video-card h4{padding:12px 14px 8px;font-size:.95rem;line-height:1.4}.video-card .resource-progress{padding:0 14px 14px}}.video-player,.video-consent{aspect-ratio:16/9;box-sizing:border-box;border:none;border-radius:14px;width:100%}.video-player{background:#000;display:block}.video-consent{text-align:center;background:var(--theme-surface-raised,#f5f1fa);color:var(--theme-text,inherit);flex-direction:column;justify-content:center;align-items:center;gap:.6rem;padding:1rem;display:flex}.video-consent p{margin:0;font-size:.9rem}.video-consent-button{color:#fff;cursor:pointer;background:#6b4fb8;border:none;border-radius:10px;padding:.55rem .9rem;font-weight:600}.video-consent a{color:inherit}.consent-overlay{z-index:1000;background:#00000073;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.consent-dialog{box-sizing:border-box;text-align:center;background:var(--theme-surface-raised,#fff);width:100%;max-width:460px;color:var(--theme-text,#222);border-radius:16px;padding:1.5rem;box-shadow:0 10px 30px #00000040}.consent-dialog h2{margin:0 0 .75rem;font-size:1.25rem}.consent-dialog p{margin:0 0 .75rem;line-height:1.5}.consent-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1rem;display:flex}.consent-icon{width:72px;height:72px;margin:0 auto .75rem;display:block}.consent-actions button{cursor:pointer;border-radius:10px;padding:.6rem 1rem;font-weight:600}.consent-actions .consent-accept{color:#fff;background:#2e7d32;border:2px solid #1b5e20;padding:.75rem 1.4rem;font-size:1.05rem;box-shadow:0 2px 8px #2e7d3259}.consent-actions .consent-accept:hover{background:#1b5e20}.consent-actions .consent-decline{color:#c62828;background:0 0;border:2px solid #c62828}.consent-actions .consent-decline:hover{background:#c6282814}.exam-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;width:100%;margin-top:2rem;display:grid}.exam-section{background:var(--theme-surface,white);border:1px solid var(--theme-border,#ece8f7);border-radius:20px;flex-direction:column;min-width:0;padding:1.5rem;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 8px 24px #00000009}.exam-section:hover{border-color:#d8c7ff;transform:translateY(-3px);box-shadow:0 14px 36px #8b5cf61a}.exam-section h2{margin:0;font-size:1.55rem;line-height:1.2}.exam-meta{color:var(--theme-muted,#6b7280);margin:.35rem 0 1.25rem;font-weight:500}.exam-row{width:100%;color:inherit;background:var(--theme-surface-raised,#faf8ff);border:1px solid var(--theme-border,#ece8f7);border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.2rem;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;display:flex}.exam-row+.exam-row{margin-top:.75rem}.exam-row:hover{background:var(--theme-soft,#f5efff);border-color:#d8c7ff;transform:translate(3px)}.exam-row span:first-child{font-weight:600}.exam-arrow{color:var(--theme-accent,#8b5cf6);flex-shrink:0;font-size:1.3rem;transition:transform .2s}.exam-row:hover .exam-arrow{transform:translate(4px)}@media (width<=800px){.exam-list{grid-template-columns:1fr;gap:1rem}}@media (width<=700px){.exam-list{margin-top:1.5rem}.exam-section{border-radius:18px;padding:1rem}.exam-section:hover{transform:none}.exam-section h2{font-size:1.25rem;line-height:1.25}.exam-meta{margin:.3rem 0 1rem;font-size:.9rem}.exam-row{border-radius:12px;padding:.85rem .95rem}.exam-row:hover{transform:none}.exam-row span:first-child{font-size:.95rem}.exam-arrow{font-size:1.15rem}}.exam-overview-card{gap:0}.exam-card-progress{margin-bottom:1.25rem}.exam-card-progress-text{color:var(--theme-muted,#6b7280);justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.45rem;font-size:.92rem;display:flex}.exam-card-progress-text strong{color:var(--theme-text,#201a39);font-variant-numeric:tabular-nums}.exam-card-progress-bar{background:#ece6fb;border-radius:999px;height:8px;overflow:hidden}.exam-card-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#a855f7);height:100%;transition:width .3s}.exam-card-progress-error{color:var(--theme-muted,#6b7280);margin:0;font-size:.92rem}.exam-card-open{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:14px;justify-content:center;align-self:flex-start;align-items:center;gap:.4rem;min-height:44px;padding:.65rem 1.2rem;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 8px 18px #8b5cf62e}.exam-card-open:hover{transform:translateY(-1px);box-shadow:0 12px 24px #8b5cf640}.exam-card-open:focus-visible{outline:2px solid var(--theme-accent,#7c3aed);outline-offset:3px}@media (width<=700px){.exam-card-open{width:100%}}.exam-progress-overview{background:var(--theme-surface,white);border:1px solid var(--theme-border,#ece8f7);border-radius:20px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 8px 24px #00000009}.exam-progress-header{justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.exam-progress-label{color:var(--theme-accent,#8b5cf6);text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:.78rem;font-weight:700}.exam-progress-header h2{margin:.25rem 0 0;font-size:1.5rem}.exam-progress-percent{color:var(--theme-accent,#7c3aed);flex-shrink:0;font-size:2.25rem;font-weight:800;line-height:1}.exam-progress-bar{background:var(--theme-soft,#f1eefb);border-radius:999px;height:9px;margin:1.25rem 0;overflow:hidden}.exam-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#a855f7);height:100%;transition:width .3s}.exam-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.exam-progress-card{background:var(--theme-surface-raised,#faf8ff);border:1px solid var(--theme-border,#ece8f7);border-radius:14px;grid-template-columns:1fr auto;align-items:center;gap:.25rem 1rem;padding:1rem 1.1rem;display:grid}.exam-progress-title{color:var(--theme-accent,#8b5cf6);font-size:.85rem;font-weight:700}.exam-progress-card strong{color:var(--theme-text,#201a39);grid-area:1/2/3;font-size:1.6rem}.exam-progress-card small{color:var(--theme-muted,#6b7280);font-size:.8rem}@media (width<=700px){.exam-progress-overview{padding:1.25rem}.exam-progress-header{align-items:flex-start}.exam-progress-header h2{font-size:1.25rem}.exam-progress-percent{font-size:1.9rem}.exam-progress-grid{grid-template-columns:1fr}}.all-notes-description{color:#777183;max-width:620px;margin:.75rem 0 2rem;font-size:1rem;line-height:1.6}.all-notes-years{flex-direction:column;gap:3rem;display:flex}.all-notes-year{min-width:0}.all-notes-year-title{color:#241f2d;margin:0 0 1.25rem;font-size:1.25rem;font-weight:700}.all-notes-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;display:grid}@media (width<=900px){.all-notes-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.all-notes-years{gap:2.5rem}.all-notes-year-title{margin-bottom:1rem;font-size:1.1rem}.all-notes-subject-grid{grid-template-columns:1fr}}.subject-card{min-height:180px;color:inherit;background:#fff;border:1px solid #e5e7eb;border-left:4px solid #d1d5db;border-radius:20px;flex-direction:column;padding:24px;text-decoration:none;transition:transform .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 8px 20px #0000000a}.subject-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px #00000012}.subject-card-icon{color:#6b7280;background:#f3f4f6;border-radius:14px;justify-content:center;align-items:center;width:42px;height:42px;margin-bottom:16px;display:inline-flex}.subject-card .subject-code{color:#6b7280;margin:0 0 8px;font-size:.85rem;font-weight:700}.subject-card h3{margin:0;font-size:1.1rem;line-height:1.35}.subject-year{color:#6b7280;margin:auto 0 0;padding-top:20px;font-size:.9rem}.subject-card-purple{--subject-accent:#8b5cf6;--subject-text:#7c3aed;--subject-soft:#f3ecff;border-left-color:var(--subject-accent)}.subject-card-purple .subject-code{color:var(--subject-text)}.subject-card-purple .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-pink{--subject-accent:#ec4899;--subject-text:#db2777;--subject-soft:#fff0f5;border-left-color:var(--subject-accent)}.subject-card-pink .subject-code{color:var(--subject-text)}.subject-card-pink .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-green{--subject-accent:#4ade80;--subject-text:#2f9e55;--subject-soft:#eefaf1;border-left-color:var(--subject-accent)}.subject-card-green .subject-code{color:var(--subject-text)}.subject-card-green .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-blue{--subject-accent:#60a5fa;--subject-text:#2563eb;--subject-soft:#eef6ff;border-left-color:var(--subject-accent)}.subject-card-blue .subject-code{color:var(--subject-text)}.subject-card-blue .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-orange{--subject-accent:#fb923c;--subject-text:#ea580c;--subject-soft:#fff7ed;border-left-color:var(--subject-accent)}.subject-card-orange .subject-code{color:var(--subject-text)}.subject-card-orange .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-teal{--subject-accent:#2dd4bf;--subject-text:#0d9488;--subject-soft:#f0fdfa;border-left-color:var(--subject-accent)}.subject-card-teal .subject-code{color:var(--subject-text)}.subject-card-teal .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-red{--subject-accent:#fb7185;--subject-text:#e11d48;--subject-soft:#fff1f2;border-left-color:var(--subject-accent)}.subject-card-red .subject-code{color:var(--subject-text)}.subject-card-red .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-yellow{--subject-accent:#facc15;--subject-text:#ca8a04;--subject-soft:#fefce8;border-left-color:var(--subject-accent)}.subject-card-yellow .subject-code{color:var(--subject-text)}.subject-card-yellow .subject-card-icon{background:var(--subject-soft);color:var(--subject-text)}.subject-card-default{--subject-accent:#d1d5db;--subject-text:#6b7280;--subject-soft:#f3f4f6;border-left-color:var(--subject-accent)}.subject-card.subject-card-unavailable{cursor:not-allowed;background:color-mix(in srgb, var(--theme-surface,#fff) 93%, #000);border-left-color:var(--theme-border,#d1d5db);box-shadow:none;border-style:dashed}[data-theme=dark] .subject-card.subject-card-unavailable{background:color-mix(in srgb, var(--theme-surface,#231e2e) 72%, #000)}.subject-card.subject-card-unavailable:hover{box-shadow:none;transform:none}.subject-card.subject-card-unavailable .subject-card-icon{background:color-mix(in srgb, var(--theme-muted,#6b7280) 12%, transparent);color:var(--theme-muted,#6b7280)}.subject-card.subject-card-unavailable .subject-code,.subject-card.subject-card-unavailable .subject-year,.subject-card.subject-card-unavailable h3{color:var(--theme-muted,#6b7280)}.subject-card.subject-card-unavailable>.subject-card-lock{color:var(--theme-muted,#6b7280);opacity:.7;position:absolute;top:18px;right:18px}.all-flashcards-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-top:32px;display:grid}.flashcard-deck-card{background:var(--theme-surface,white);border-radius:24px;min-height:220px;padding:32px;box-shadow:0 8px 20px #0000000d}.flashcard-deck-card h3{margin:8px 0 12px}.deck-button{text-align:center;color:#fff;background:#b38bf3;border-radius:999px;width:100%;margin-top:24px;padding:14px;font-weight:600;text-decoration:none;display:block}.all-videos-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-top:32px;display:grid}.video-subject-card{background:var(--theme-surface,white);color:inherit;border-radius:24px;padding:32px;text-decoration:none;transition:transform .2s;box-shadow:0 8px 20px #0000000d}.video-subject-card:hover{transform:translateY(-4px)}.video-subject-card h3{margin:8px 0}.pdf-grid{grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px;display:grid}.pdf-card{background:var(--theme-surface,white);color:inherit;border-radius:20px;align-items:center;gap:16px;padding:16px 20px;text-decoration:none;transition:transform .2s;display:flex;box-shadow:0 8px 20px #0000000d}.pdf-card:hover{transform:translateY(-4px)}.pdf-icon{font-size:2rem}.pdf-card h3{margin:0}.pdf-arrow{color:var(--theme-accent,#8b5cf6);margin-left:auto;font-size:1.2rem}.pdf-category-section{margin-top:40px}.pdf-category-section h2{margin-bottom:16px}@media (width<=768px){.pdf-grid{grid-template-columns:1fr}}.pdf-card-content{gap:8px;display:grid}.pdf-lecture-number{color:var(--theme-accent,#7c3aed);font-size:.85rem;font-weight:700}.pdf-card-file{color:var(--theme-muted,#6b7280);font-size:.85rem}.pdf-progress-preview{color:var(--theme-accent,#8b5cf6);align-items:center;gap:12px;font-size:.9rem;font-weight:600;display:flex}.pdf-card-wrapper{position:relative}.pdf-card-wrapper .pdf-card{padding-right:72px}.favorite-button{width:40px;height:40px;color:var(--theme-muted,#8a8290);cursor:pointer;background:0 0;border:none;border-radius:50%;place-items:center;padding:0;transition:background-color .2s,color .2s,transform .2s;display:grid;position:absolute;top:18px;right:18px}.favorite-button:hover{background:var(--theme-soft,#f4ecff);color:#8c63cf;transform:scale(1.08)}.favorite-button.is-favorite{color:#9a67d2}.pdf-viewer{border:none;border-radius:20px;width:100%;height:900px;margin-top:0}.pdf-lecture-navigation{align-items:center;gap:.4rem;margin:.75rem 0 1rem;display:flex}.pdf-lecture-navigation-button{border:1px solid var(--theme-border,#ddd6fe);background:var(--theme-surface,#fff);min-height:36px;color:var(--theme-accent,#6d28d9);font:inherit;border-radius:9px;justify-content:center;align-items:center;padding:.45rem .75rem;font-size:.9rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.pdf-lecture-navigation-button:hover{background:var(--theme-soft,#f5f3ff);border-color:var(--theme-control-border,#c4b5fd);transform:translateY(-1px)}.pdf-lecture-navigation-next{margin-left:auto}.pdf-lecture-file{color:var(--theme-muted,#6b7280);margin:.25rem 0 1.25rem;font-size:.9rem}.pdf-learning-panel{flex-direction:column;align-items:flex-start;gap:.75rem;margin-bottom:.75rem;display:flex}.pdf-learning-panel .resource-progress{width:100%;margin-bottom:0}.pdf-summary-action{align-items:center;display:flex}.pdf-summary-button{border:1px solid var(--theme-border,#ddd6fe);background:var(--theme-surface,#fff);color:var(--theme-accent,#6d28d9);font:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;padding:.7rem 1rem;font-weight:700;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.pdf-summary-button:hover{background:var(--theme-soft,#f5f3ff);border-color:var(--theme-control-border,#c4b5fd);transform:translateY(-1px)}.pdf-summary-button:disabled{cursor:default;opacity:.65;transform:none}.pdf-open-button{border:1px solid var(--theme-border,#ddd6fe);background:var(--theme-surface,#fff);color:var(--theme-accent,#6d28d9);font:inherit;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;padding:.7rem 1rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.pdf-open-button:hover{background:var(--theme-soft,#f5f3ff);border-color:var(--theme-control-border,#c4b5fd);transform:translateY(-1px)}.pdf-mobile-viewer{margin-top:.75rem}@media (width<=700px){.pdf-learning-panel{flex-direction:column}.pdf-summary-action{width:100%}.pdf-summary-button{width:100%;min-height:auto}.pdf-viewer{border-radius:14px;height:700px;margin-top:16px}.pdf-open-button{width:100%}}.pdf-summary-modal-backdrop{z-index:10000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#18182380;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.pdf-summary-modal{background:var(--theme-surface,#fff);border-radius:22px;width:min(100%,1050px);max-height:calc(100vh - 4rem);padding:1.25rem 3rem 3rem;position:relative;overflow-y:auto;box-shadow:0 24px 60px #0f172a2e,0 8px 24px #0f172a14}.pdf-summary-modal-close{z-index:10;border:1px solid var(--theme-border,#e5e7eb);background:var(--theme-surface,#fffffff5);width:44px;height:44px;color:var(--theme-text,#374151);cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:12px;justify-content:center;align-items:center;margin-bottom:-44px;margin-left:auto;padding:0;transition:background .2s,border-color .2s,color .2s,transform .15s;display:flex;position:sticky;top:0;box-shadow:0 4px 12px #0f172a0f}.pdf-summary-modal-close:hover{background:var(--theme-soft,#f5f3ff);border-color:var(--theme-border,#ddd6fe);color:var(--theme-accent,#6d28d9);transform:translateY(-1px)}.pdf-summary-modal-content{width:100%;max-width:900px;margin:0 auto;padding-top:2.25rem}@media (width<=700px){.pdf-summary-modal-backdrop{align-items:flex-start;padding:.75rem}.pdf-summary-modal{border-radius:18px;width:100%;max-height:calc(100vh - 1.5rem);padding:.75rem 1.25rem 2rem}.pdf-summary-modal-close{border-radius:10px;width:40px;height:40px;margin-bottom:-40px;top:0}.pdf-summary-modal-content{padding-top:2.5rem}}.all-pdfs-description{color:#777183;max-width:620px;margin:.75rem 0 2rem;font-size:1rem;line-height:1.6}.all-pdfs-years{flex-direction:column;gap:3rem;display:flex}.all-pdfs-year{min-width:0}.all-pdfs-year-title{color:#241f2d;margin:0 0 1.25rem;font-size:1.25rem;font-weight:700}.all-pdfs-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;display:grid}@media (width<=900px){.all-pdfs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.all-pdfs-years{gap:2.5rem}.all-pdfs-year-title{margin-bottom:1rem;font-size:1.1rem}.all-pdfs-grid{grid-template-columns:1fr}}.semester-card{background:var(--theme-surface,white);border-radius:24px;margin-top:32px;padding:28px;box-shadow:0 8px 20px #0000000d}.semester-card h2{margin:0 0 20px}.year-buttons{flex-wrap:wrap;gap:12px;display:flex}.year-buttons button{background:var(--theme-soft,#eee7fb);cursor:pointer;border:none;border-radius:999px;padding:12px 20px;font-weight:600}.year-buttons button.active-year{color:#fff;background:#b38bf3}.semester-subject-list{gap:14px;display:grid}.semester-subject-item{background:var(--theme-surface-raised,#fbf7ff);cursor:pointer;border-radius:18px;align-items:center;gap:12px;padding:16px 18px;display:flex}.semester-subject-item input{width:18px;height:18px}.semester-card ul{margin:0;padding-left:20px}.semester-card li{margin-bottom:8px}.custom-subject-form{grid-template-columns:1fr 1fr auto;gap:12px;display:grid}.custom-subject-form input{border:1px solid var(--theme-border,#e2d8f0);border-radius:16px;padding:14px 16px;font-size:1rem}.custom-subject-form button{color:#fff;cursor:pointer;background:#b38bf3;border:none;border-radius:999px;padding:14px 20px;font-weight:600}@media (width<=768px){.custom-subject-form{grid-template-columns:1fr}}.selected-subject-item{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.remove-subject-button{background:var(--theme-soft,#f3e8ff);color:var(--theme-accent,#7c3aed);cursor:pointer;border:none;border-radius:999px;padding:8px 14px;font-weight:600}.semester-finish{background:var(--theme-surface,white);border-radius:24px;justify-content:space-between;align-items:center;gap:1rem;margin-top:32px;padding:24px 28px;display:flex;box-shadow:0 8px 20px #0000000d}.semester-finish-info{color:var(--theme-muted,#7c7483);margin:0;font-size:.95rem}.semester-finish-button{color:#fff;font:inherit;cursor:pointer;background:#8b5cf6;border:none;border-radius:999px;padding:14px 22px;font-weight:700;transition:background .2s,transform .15s,opacity .15s}.semester-finish-button:hover{background:#7c3aed;transform:translateY(-1px)}.semester-finish-button:disabled{cursor:not-allowed;opacity:.45;transform:none}@media (width<=768px){.semester-finish{flex-direction:column;align-items:stretch}.semester-finish-button{width:100%}}.semester-pick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.semester-pick-card{cursor:pointer;min-height:170px}.semester-pick-card.subject-card-unavailable:not(.is-locked){cursor:pointer}.semester-pick-card.is-locked{cursor:not-allowed}.semester-pick-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:16px;display:flex}.semester-pick-status{color:var(--theme-muted,#6b7280);font-size:.86rem;font-weight:600}.semester-pick-footer input[type=checkbox]{width:18px;height:18px;margin:0}.semester-pick-footer input[type=checkbox]:disabled{cursor:not-allowed}@media (width<=900px){.semester-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.semester-pick-grid{grid-template-columns:1fr}}.year-subjects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem;display:grid}@media (width<=900px){.year-subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.year-subjects-grid{grid-template-columns:1fr}}.exam-page-section{margin-top:40px}.exam-page-section h2{margin-bottom:20px}.exam-page-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.exam-page-card{background:var(--theme-surface,white);border:1px solid var(--theme-border,#e5e7eb);border-left:4px solid var(--subject-accent);border-radius:20px;min-width:0;padding:24px;box-shadow:0 8px 20px #0000000d}.exam-page-card .exam-page-code{color:var(--subject-text);margin:0 0 8px;font-weight:700}.exam-page-card h3{margin:0 0 16px}.exam-page-card p{color:var(--theme-muted,#6b647c);margin:0 0 12px}.exam-page-card span{background:var(--subject-soft);color:var(--subject-text);border-radius:999px;padding:8px 14px;font-weight:700;display:inline-block}@media (width<=1024px){.exam-page-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.exam-page-grid{grid-template-columns:1fr}}.study-plan-list{gap:24px;margin-top:32px;display:grid}.study-plan-card{background:var(--theme-surface,white);border-radius:24px;min-width:0;padding:28px;box-shadow:0 8px 20px #0000000d}.study-plan-card h2{margin:0 0 24px}.study-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.study-plan-grid h3{color:var(--theme-accent,#8b5cf6);margin:0 0 12px}.study-plan-item{cursor:pointer;align-items:flex-start;gap:10px;padding:10px 0;font-weight:600;line-height:1.4;display:flex}.study-plan-item input{flex-shrink:0;width:18px;height:18px;margin-top:1px}.study-plan-item span{overflow-wrap:anywhere;min-width:0}.study-plan-summary{background:var(--theme-surface,white);border-radius:24px;gap:16px;margin-top:32px;padding:28px;display:grid;box-shadow:0 8px 20px #0000000d}.study-plan-summary-label{color:var(--theme-accent,#8b5cf6);margin:0 0 8px;font-weight:700}.study-plan-summary h2{margin:0}.study-plan-summary>p{color:var(--theme-muted,#6b647c);margin:0;font-weight:700}.study-plan-card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.study-plan-card-header>div{min-width:0}.study-plan-card-header h2{overflow-wrap:anywhere;margin:0 0 8px}.study-plan-card-header p{color:var(--theme-muted,#6b647c);margin:0;font-weight:600}.study-plan-card-header>span{color:var(--theme-muted,#6b647c);flex-shrink:0;font-weight:700}.study-plan-progress-bar{background:var(--theme-soft,#eee7fb);border-radius:999px;height:12px;margin-bottom:24px;overflow:hidden}.study-plan-progress-fill{background:#b38bf3;border-radius:999px;height:100%;transition:width .3s}.study-plan-resources{border-top:1px solid var(--theme-border,#eee7fb);grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px;padding-top:24px;display:grid}.study-plan-resources>div{min-width:0}.study-plan-resources h3{color:var(--theme-accent,#8b5cf6);margin:0 0 12px}.study-plan-resource-item{min-width:0;color:inherit;align-items:flex-start;gap:10px;padding:10px 0;font-weight:600;line-height:1.4;text-decoration:none;display:flex}.study-plan-resource-item>span:first-child{flex-shrink:0}.study-plan-resource-item>span:last-child{overflow-wrap:anywhere;min-width:0}.study-plan-resource-item:hover{color:var(--theme-accent,#8b5cf6)}.book-progress-card{background:var(--theme-surface,white);cursor:pointer;border-radius:24px;margin-top:32px;margin-bottom:32px;padding:32px;transition:transform .2s;box-shadow:0 8px 20px #00000008}.book-progress-header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.book-progress-header>div{min-width:0}.book-progress-header h2{overflow-wrap:anywhere;margin:8px 0}.study-plan-book-item{color:inherit;padding:14px 0;text-decoration:none;display:block}.study-plan-book-item-header{justify-content:space-between;gap:16px;font-weight:700;display:flex}.study-plan-book-item-header span:first-child{overflow-wrap:anywhere;min-width:0}.study-plan-book-item-header span:last-child{flex-shrink:0}.study-plan-book-item p{color:var(--muted-text);margin:6px 0 0;font-size:.9rem}.study-plan-progress-bar.small{height:8px;margin-top:8px}@media (width<=900px){.study-plan-grid,.study-plan-resources{grid-template-columns:1fr}}@media (width<=600px){.study-plan-list{gap:16px;margin-top:24px}.study-plan-summary{border-radius:20px;gap:12px;margin-top:24px;padding:18px}.study-plan-summary-label{margin-bottom:6px;font-size:.9rem}.study-plan-summary h2{font-size:1.2rem;line-height:1.35}.study-plan-summary>p{font-size:.95rem}.study-plan-card{border-radius:20px;padding:18px}.study-plan-card-header{gap:12px;margin-bottom:14px}.study-plan-card-header h2{margin-bottom:6px;font-size:1.25rem;line-height:1.3}.study-plan-card-header p{font-size:.9rem;line-height:1.4}.study-plan-card-header>span{font-size:.9rem}.study-plan-progress-bar{height:10px;margin-bottom:18px}.study-plan-grid{gap:20px}.study-plan-grid h3{margin-bottom:8px;font-size:1rem}.study-plan-item{gap:9px;padding:8px 0;font-size:.95rem}.study-plan-item input{width:17px;height:17px}.study-plan-resources{gap:20px;margin-top:20px;padding-top:18px}.study-plan-resources h3{margin-bottom:8px;font-size:1rem}.study-plan-resource-item{gap:9px;padding:8px 0;font-size:.95rem}.book-progress-card{border-radius:20px;margin-top:24px;margin-bottom:24px;padding:18px}.book-progress-header{flex-direction:column;gap:8px}.book-progress-header h2{font-size:1.2rem;line-height:1.35}.study-plan-book-item{padding:8px 0}.study-plan-book-item-header{gap:10px;font-size:.95rem}.study-plan-book-item p{font-size:.85rem}}.book-progress-link{color:inherit;text-decoration:none;display:block}.book-progress-card{background:var(--theme-surface,white);border-radius:24px;margin-top:32px;margin-bottom:32px;padding:32px;box-shadow:0 8px 20px #00000008}.book-progress-card:hover{transform:translateY(-2px)}.book-progress-header{justify-content:space-between;gap:24px;display:flex}.book-progress-header h2{margin:8px 0}.book-page-grid{grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:8px;margin-top:20px;display:grid}.book-page-cell{border:1px solid var(--theme-border,#e6d8ff);background:var(--theme-surface,#fff);color:var(--theme-text,#17132f);cursor:pointer;border-radius:10px;padding:10px 0;font-size:.85rem;font-weight:700;transition:all .2s}.book-page-cell:hover{background:var(--theme-soft,#f3ebff);transform:translateY(-1px)}.book-page-cell.is-read{color:#fff;background:#a855f7;border-color:#a855f7}.programming-page{margin-block:0;padding-block:48px}.programming-hero{margin-bottom:40px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--theme-accent,#7c3aed);margin-bottom:12px;font-size:.8rem;font-weight:700}.programming-hero h1{margin-bottom:16px;font-size:clamp(2.2rem,5vw,4rem)}.programming-hero p{color:#5f6472;max-width:650px;line-height:1.7}.programming-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;display:grid}.programming-card{background:var(--theme-surface,white);border-radius:24px;padding:28px;box-shadow:0 10px 30px #7864b41f}.programming-card h2{margin-bottom:10px}.programming-card p{color:var(--theme-muted,#6b7280);margin-bottom:20px;line-height:1.6}.programming-tags{flex-wrap:wrap;gap:10px;display:flex}.programming-tag{background:var(--theme-soft,#f3e8ff);color:var(--theme-accent,#6d28d9);border-radius:999px;padding:8px 12px;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s}.programming-tag:hover{background:#e9d5ff;transform:translateY(-2px)}.programming-topic-page{margin-block:0;padding-block:48px}.back-link{color:var(--theme-accent,#6d28d9);align-items:center;gap:8px;margin-bottom:32px;font-weight:600;text-decoration:none;display:inline-flex}.back-link:hover{text-decoration:underline}.lesson-header{margin-bottom:40px}.lesson-header h1{margin-bottom:12px;font-size:clamp(2.5rem,5vw,4rem)}.lesson-header p{color:var(--theme-muted,#6b7280);line-height:1.7}.lesson-section{margin-bottom:48px}.lesson-section h2{margin-bottom:16px}.lesson-section p{color:var(--theme-muted,#4b5563);line-height:1.8}.programming-doc-layout{grid-template-columns:240px minmax(0,1fr);gap:48px;margin-block:0;padding-block:48px;display:grid}.programming-sidebar{background:var(--theme-surface,white);border-radius:24px;align-self:start;max-height:calc(100vh - 144px);padding:24px;position:sticky;top:120px;overflow-y:auto;box-shadow:0 10px 30px #7864b41f}.programming-sidebar h2{margin-bottom:20px}.sidebar-link{color:var(--theme-muted,#4b5563);border-radius:12px;padding:10px 12px;font-weight:600;text-decoration:none;display:block}.sidebar-link:hover,.sidebar-link.active{background:var(--theme-soft,#f3e8ff);color:var(--theme-accent,#6d28d9)}.programming-doc-content{max-width:850px}.topic-lessons-section h2{margin-bottom:20px}.topic-lessons-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.topic-lesson-card{background:var(--theme-surface,white);color:var(--theme-text,#1f1b3d);border-radius:18px;padding:20px;font-weight:700;text-decoration:none;transition:all .2s;box-shadow:0 10px 30px #7864b41f}.topic-lesson-card:hover{color:var(--theme-accent,#6d28d9);transform:translateY(-3px)}.code-block{background:#282c34;border:1px solid #6d28d92e;border-radius:16px;margin:20px 0;overflow:hidden}.code-block-header{background:#f8f5ff;border-bottom:1px solid #6d28d924;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.code-block-header span{color:#6d28d9;text-transform:lowercase;font-size:.85rem;font-weight:700}.code-block-header button{color:#4b5563;cursor:pointer;background:#fff;border:none;border-radius:10px;padding:6px 10px;font-weight:700;box-shadow:0 4px 12px #7864b41f}.code-block-header button:hover{color:#6d28d9}.lesson-code{margin:20px 0}.lesson-output{border:1px solid var(--theme-border,#e5e7eb);background:var(--theme-surface-raised,#f8fafc);border-radius:16px;margin:20px 0;overflow:hidden}.lesson-output-header{color:var(--theme-muted,#6b7280);background:var(--theme-soft,#f3f4f6);border-bottom:1px solid var(--theme-border,#e5e7eb);padding:10px 16px;font-weight:700}.lesson-output pre{white-space:pre-wrap;margin:0;padding:16px;font-family:monospace}.lesson-callout{border:1px solid;border-radius:16px;margin:20px 0;overflow:hidden}.lesson-callout-header{border-bottom:1px solid;align-items:center;gap:8px;padding:10px 16px;font-weight:700;display:flex}.lesson-callout p{margin:0;padding:16px;line-height:1.7}.lesson-callout-tip{background:var(--theme-warning-surface,#fefce8);border-color:#facc15}.lesson-callout-tip .lesson-callout-header{color:var(--theme-warning-text,#854d0e);background:var(--theme-warning-surface,#fde68a);border-color:#facc15}.lesson-callout-tip p{color:var(--theme-text,#44403c)}.lesson-callout-warning{background:var(--theme-danger-surface,#fff1f2);border-color:#fb7185}.lesson-callout-warning .lesson-callout-header{color:var(--theme-danger-text,#9f1239);background:var(--theme-danger-surface,#ffe4e6);border-color:#fb7185}.lesson-callout-warning p{color:var(--theme-text,#4c0519)}.lesson-callout-note{background:var(--theme-soft,#eff6ff);border-color:#93c5fd}.lesson-callout-note .lesson-callout-header{color:var(--theme-accent,#1d4ed8);background:var(--theme-soft,#dbeafe);border-color:#93c5fd}.lesson-callout-note p{color:var(--theme-text,#1e3a8a)}.about-page{margin-block:0;padding-block:64px 96px}.about-header{max-width:720px;margin-bottom:48px}.about-label{color:#9067d8;letter-spacing:.12em;margin-bottom:12px;font-size:.78rem;font-weight:800;display:inline-block}.about-header h1{letter-spacing:-.04em;margin:0 0 16px;font-size:clamp(2.2rem,5vw,3.8rem);line-height:1.08}.about-header p{max-width:650px;color:var(--theme-muted,#686372);margin:0;font-size:1.08rem;line-height:1.7}.about-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:48px;display:grid}.about-feature-card{background:var(--theme-surface,#ffffffb8);border:1px solid #8e69d21f;border-radius:18px;gap:18px;padding:24px;transition:transform .2s,box-shadow .2s;display:flex}.about-feature-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #4e376e14}.about-feature-icon{background:var(--theme-soft,#f0e7ff);border-radius:14px;flex:0 0 46px;place-items:center;width:46px;height:46px;font-size:1.25rem;display:grid}.about-feature-card h2{margin:1px 0 7px;font-size:1.05rem}.about-feature-card p{color:var(--theme-muted,#716b78);margin:0;font-size:.94rem;line-height:1.55}.about-info{border-top:1px solid #231c2d1a;border-bottom:1px solid #231c2d1a;grid-template-columns:.8fr 1.2fr;gap:48px;padding:40px 0;display:grid}.about-info h2{margin:0;font-size:1.8rem}.about-info p{color:var(--theme-muted,#686372);margin:0;line-height:1.8}.about-development{background:var(--theme-soft,#f4ecff);border-radius:20px;margin-top:40px;padding:32px}.about-development h2{margin-bottom:12px;font-size:1.4rem}.about-development p{color:var(--theme-muted,#666);margin:0;line-height:1.7}.about-development span{background:var(--theme-surface,white);color:#7752b6;border-radius:999px;flex-shrink:0;padding:8px 12px;font-size:.8rem;font-weight:700}@media (width<=700px){.about-page{padding-top:40px}.about-features,.about-info{grid-template-columns:1fr}.about-info{gap:20px}.about-development{flex-direction:column;align-items:flex-start}}.favorites-page{margin-block:0;padding-block:48px 80px}.favorites-page h1{margin-bottom:8px}.favorites-description{color:var(--theme-muted,#666);margin-bottom:40px}.favorites-section{margin-bottom:48px}.favorites-section h2{margin-bottom:20px}.favorites-grid{grid-template-columns:repeat(auto-fill,minmax(320px,360px));justify-content:start;gap:20px;display:grid}.favorite-card{background:var(--theme-surface,white);color:inherit;border-radius:20px;padding:24px;text-decoration:none;transition:all .2s;display:block;box-shadow:0 8px 20px #0000000d}.favorite-card:hover{transform:translateY(-3px)}.favorite-card h3{margin-bottom:8px}.favorite-card p{color:var(--theme-muted,#777)}.favorites-empty{color:var(--theme-muted,#817a89);margin:0;font-style:normal}.favorites-label{color:#9168d7;letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:800}.favorites-page h1{letter-spacing:-.03em;margin:0 0 12px;font-size:2.4rem}.favorites-section h2{margin-bottom:18px;font-size:1.35rem}.favorites-empty-state{background:var(--theme-surface,white);text-align:center;border-radius:24px;margin-top:48px;padding:48px}.favorites-empty-state h2{margin-bottom:12px}.favorites-empty-state p{color:var(--theme-muted,#777)}.exam-viewer-page{padding-top:.75rem}.exam-back-link{margin-bottom:.5rem;display:inline-block}.exam-page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.exam-page-heading h1{margin:.15rem 0 .1rem}.exam-page-heading .exam-meta{color:var(--theme-muted,#6b6486);margin:0}.exam-page-progress{border:1px solid var(--theme-border,#ece8f7);background:var(--theme-surface,white);border-radius:16px;min-width:260px;padding:.75rem 1rem}.exam-page-progress-label{font-variant-numeric:tabular-nums;margin-bottom:.45rem;font-size:.9rem;font-weight:700;display:block}.exam-page-progress-bar{background:#ece6fb;border-radius:999px;height:8px;overflow:hidden}.exam-page-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#a855f7);height:100%;transition:width .3s}.exam-tabs{flex-wrap:wrap;gap:.5rem;margin-bottom:.9rem;display:flex}.exam-tab{border:1px solid var(--theme-border,#ddd3f5);background:var(--theme-surface,white);min-height:40px;color:var(--theme-text,#201a39);border-radius:12px;align-items:center;padding:.5rem 1rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,color .2s;display:inline-flex}.exam-tab:hover{color:var(--theme-accent,#6d28d9);border-color:#c4b0f5}.exam-tab.is-active{background:var(--theme-soft,#f1eaff);color:var(--theme-accent,#6d28d9);border-color:#a78bfa;box-shadow:inset 0 -2px #8b5cf6}.exam-tab:focus-visible{outline:2px solid var(--theme-accent,#8b5cf6);outline-offset:2px}.exam-workspace{grid-template-columns:250px minmax(0,1fr);align-items:start;gap:1rem;display:grid}.exam-workspace.is-pdf{height:calc(100vh - 290px);min-height:600px}.exam-workspace-sidebar{min-height:0;max-height:100%;position:sticky;top:1rem;overflow-y:auto}.exam-workspace.is-pdf .exam-workspace-sidebar{height:100%}.exam-workspace-main{min-width:0;height:100%}.exam-workspace.is-notes .exam-workspace-main{height:auto}.exam-pdf-panel,.exam-ipad-panel{flex-direction:column;gap:.6rem;height:100%;display:flex}.exam-ipad-panel .exam-pdf-panel{flex:1;min-height:0}.exam-viewer{background:var(--theme-surface,white);border:none;border-radius:16px;flex:1;width:100%;height:100%;min-height:0;display:block;box-shadow:0 10px 28px #0000000d}.exam-pane-message{border:1px dashed var(--theme-border,#d8c7ff);background:var(--theme-surface-raised,#faf8ff);color:var(--theme-muted,#6b6486);border-radius:16px;margin:0 0 .75rem;padding:1rem}.exam-pane-error{color:#991b1b;background:#fef2f2;border-style:solid}.exam-ipad-upload{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.exam-upload-button{position:relative;overflow:hidden}.exam-upload-input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.exam-uploaded-pdf{margin-top:.75rem}.exam-pdf-toolbar{justify-content:flex-end;display:flex}.exam-open-pdf-link{border:1px solid var(--theme-border,#ddd3f5);background:var(--theme-surface,white);min-height:40px;color:var(--theme-accent,#6d28d9);border-radius:12px;align-items:center;padding:.45rem .9rem;font-weight:700;text-decoration:none;display:inline-flex}.exam-open-pdf-link:hover{border-color:#c4b0f5}.exam-mobile-pdf-link{display:none}@media (width<=1100px){.exam-workspace{grid-template-columns:220px minmax(0,1fr)}}@media (width<=900px){.exam-workspace,.exam-workspace.is-pdf{grid-template-columns:1fr;height:auto;min-height:0}.exam-workspace-sidebar{max-height:none;position:static;overflow:visible}.exam-workspace.is-pdf .exam-workspace-main{height:80vh;min-height:600px}.exam-viewer{height:100%}}@media (width<=600px){.exam-viewer-page{padding-top:.25rem}.exam-page-progress{box-sizing:border-box;width:100%;min-width:0}.exam-tabs{grid-template-columns:1fr 1fr;display:grid}.exam-tab{text-align:center;justify-content:center;font-size:.9rem}.exam-workspace.is-pdf .exam-workspace-main{height:auto;min-height:0}.exam-viewer{display:none}.exam-mobile-pdf-link{box-sizing:border-box;color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:14px;justify-content:center;align-items:center;width:100%;min-height:52px;padding:.85rem 1rem;font-size:.95rem;font-weight:700;text-decoration:none;display:flex;box-shadow:0 8px 18px #8b5cf62e}}.exam-task-tracker{border:1px solid var(--theme-border,#ece8f7);background:var(--theme-surface,white);border-radius:18px;flex-direction:column;gap:.35rem;padding:1rem;display:flex;box-shadow:0 8px 24px #00000009}.exam-task-tracker h2{margin:0 0 .6rem;font-size:1.15rem}.exam-task-group{border-radius:12px}.exam-task-group-header{width:100%;color:var(--theme-text,#201a39);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:.45rem;padding:.55rem .6rem;font-weight:700;display:flex}.exam-task-group-header:hover{background:var(--theme-soft,#f5efff)}.exam-task-group-header:focus-visible,.exam-task-select:focus-visible,.exam-task-checkbox:focus-visible{outline:2px solid var(--theme-accent,#8b5cf6);outline-offset:2px}.exam-task-group-chevron{color:var(--theme-accent,#8b5cf6);flex-shrink:0;transition:transform .2s}.exam-task-group-chevron:not(.is-open){transform:rotate(-90deg)}.exam-task-group-label{flex:1;min-width:0}.exam-task-group-count{color:var(--theme-muted,#6b6486);font-variant-numeric:tabular-nums;align-items:center;gap:.2rem;font-size:.82rem;display:inline-flex}.exam-task-group-count.is-done{color:#15803d}.exam-task-list{margin:.15rem 0 .4rem;padding:0 0 0 .4rem;list-style:none}.exam-task-row{align-items:center;gap:.5rem;margin:.15rem 0;display:flex}.exam-task-checkbox{accent-color:#8b5cf6;cursor:pointer;flex-shrink:0;width:17px;height:17px;margin:0}.exam-task-select{border:1px solid var(--theme-border,#ece8f7);background:var(--theme-surface-raised,#faf8ff);min-width:0;color:var(--theme-text,#201a39);font:inherit;text-align:left;cursor:pointer;border-radius:10px;flex:1;padding:.5rem .65rem;font-size:.92rem;transition:background .2s,border-color .2s}.exam-task-select:hover{background:var(--theme-soft,#f5efff);border-color:#d8c7ff}.exam-task-select[aria-current=true]{border-color:var(--theme-accent,#7c3aed);background:var(--theme-soft,#f5efff);box-shadow:inset 3px 0 0 var(--theme-accent,#7c3aed);font-weight:800}.exam-task-progress{color:var(--theme-muted,#6b6486);margin:.6rem 0 .3rem;font-size:.9rem}.exam-task-tracker progress{accent-color:#8b5cf6;width:100%;height:8px}.exam-notes-panel{min-width:0}.exam-notes-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.75rem;display:flex}.exam-notes-title{margin:0;font-size:1.3rem}.exam-notes-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.exam-notes-action,.exam-notes-primary{min-height:36px;font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;padding:.45rem .85rem;font-size:.9rem;font-weight:700;text-decoration:none;display:inline-flex}.exam-notes-action{border:1px solid var(--theme-border,#ddd3f5);background:var(--theme-surface,white);color:var(--theme-accent,#6d28d9)}.exam-notes-primary{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border:none;box-shadow:0 6px 16px #8b5cf633}.exam-notes-action:disabled,.exam-notes-primary:disabled{opacity:.6;cursor:wait}.exam-notes-empty,.exam-notes-missing{border:1px dashed var(--theme-border,#d8c7ff);background:var(--theme-surface-raised,#faf8ff);color:var(--theme-muted,#6b6486);border-radius:18px;flex-direction:column;align-items:flex-start;gap:.75rem;padding:1.5rem;display:flex}.exam-notes-missing h3{color:var(--theme-text,#201a39);margin:0;font-size:1.1rem}.exam-notes-message{border-radius:12px;margin:0 0 .75rem;padding:.6rem .8rem}.exam-notes-error{color:#991b1b;background:#fef2f2}.exam-notes-picker{border:1px solid var(--theme-border,#ece8f7);background:var(--theme-surface,white);border-radius:18px;margin-top:1rem;padding:1rem}.exam-notes-picker-header{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.6rem;display:flex}.exam-notes-picker-header h3{margin:0;font-size:1.05rem}.exam-notes-search{border:1px solid var(--theme-border,#ddd3f5);color:var(--theme-muted,#6b6486);border-radius:12px;align-items:center;gap:.5rem;padding:.5rem .75rem;display:flex}.exam-notes-search input{min-width:0;color:var(--theme-text,#201a39);font:inherit;background:0 0;border:none;outline:none;flex:1}.exam-notes-picker-list{max-height:360px;margin:.75rem 0 0;padding:0;list-style:none;overflow-y:auto}.exam-notes-picker-item{width:100%;color:var(--theme-text,#201a39);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;flex-direction:column;padding:.6rem .75rem;display:flex}.exam-notes-picker-item:hover:not(:disabled){background:var(--theme-soft,#f5efff);border-color:#d8c7ff}.exam-notes-picker-item:disabled{opacity:.55;cursor:not-allowed}.exam-notes-picker-title{font-weight:700}.exam-notes-picker-meta{color:var(--theme-muted,#6b6486);font-size:.82rem}.exam-notes-picker-empty{color:var(--theme-muted,#6b6486);padding:.6rem .75rem}.auth-form{flex-direction:column;gap:12px;display:flex}.auth-form label{font-weight:600}.auth-form input{border:1px solid var(--theme-border,#ddd6ea);width:100%;font:inherit;box-sizing:border-box;border-radius:12px;padding:14px 16px}.auth-form input:focus{outline:2px solid var(--theme-control-border,#c7b2e3);border-color:#0000}.auth-form button{color:#fff;font:inherit;cursor:pointer;background:#8b6bb3;border:none;border-radius:12px;margin-top:12px;padding:14px 18px;font-weight:700}.auth-form button:hover{opacity:.9}.auth-switch{text-align:center;color:var(--theme-muted,#6b6780);margin-top:24px}.auth-switch a{color:var(--theme-accent,#8b6bb3);font-weight:600;text-decoration:none}.auth-switch a:hover{text-decoration:underline}.auth-message{border-radius:12px;margin:4px 0;padding:12px 14px;font-size:.95rem}.auth-message-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,brown)}.auth-message-success{background:var(--theme-success-surface,#eefbf3);color:var(--theme-success-text,#267a46)}.auth-form button:disabled{cursor:not-allowed;opacity:.65}.forgot-password-link{color:var(--theme-accent,#8b6bb3);align-self:flex-end;font-size:.9rem;font-weight:600;text-decoration:none}.forgot-password-link:hover{text-decoration:underline}.profile-page{min-height:calc(100vh - 140px);padding-block:48px}.profile-card{background:var(--theme-surface,white);border-radius:24px;width:100%;max-width:760px;margin:0 auto;padding:40px;box-shadow:0 12px 30px #48346e1a}.profile-label{color:var(--theme-accent,#8b6bb3);margin:0 0 8px;font-weight:600}.profile-card h1{margin:0 0 32px;font-size:2rem}.profile-summary{background:var(--theme-surface-raised,#fbf7ff);border-radius:18px;align-items:center;gap:18px;margin-bottom:36px;padding:20px;display:flex}.profile-avatar{color:#fff;background:linear-gradient(135deg,#e9c6ff,#b38bf3);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:64px;height:64px;font-size:1.5rem;font-weight:700;display:flex}.profile-summary h2{margin:0 0 4px}.profile-summary p{color:var(--theme-muted,#6b647c);margin:0 0 8px}.profile-summary span{background:var(--theme-surface,white);color:var(--theme-accent,#8b6bb3);border-radius:999px;padding:6px 10px;font-size:.85rem;font-weight:600;display:inline-block}.profile-form{flex-direction:column;gap:12px;display:flex}.profile-form label{margin-top:8px;font-weight:600}.profile-form input{border:1px solid var(--theme-border,#ddd6ea);box-sizing:border-box;width:100%;font:inherit;border-radius:12px;padding:14px 16px}.profile-form input:focus{outline:2px solid var(--theme-control-border,#c7b2e3);border-color:#0000}.profile-form input:disabled{background:var(--theme-surface-raised,#f4f1f7);color:var(--theme-muted,#777184);cursor:not-allowed}.profile-help{color:var(--theme-muted,#777184);margin:-4px 0 4px;font-size:.85rem}.profile-form button{color:#fff;cursor:pointer;font:inherit;background:#8b6bb3;border:none;border-radius:12px;margin-top:18px;padding:14px 18px;font-weight:700}.profile-form button:hover{opacity:.9}.profile-form button:disabled{cursor:not-allowed;opacity:.65}.profile-message{border-radius:12px;margin:6px 0 0;padding:12px 14px;font-size:.95rem}.profile-message-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,brown)}.profile-message-success{background:var(--theme-success-surface,#eefbf3);color:var(--theme-success-text,#267a46)}@media (width<=600px){.profile-card{padding:28px 20px}.profile-summary{align-items:flex-start}}.years-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem;display:grid}.year-card{background:var(--theme-surface,white);min-height:130px;color:inherit;border:1px solid #a774ff26;border-radius:22px;justify-content:space-between;align-items:center;padding:1.5rem;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 10px 30px #3426540f}.year-card:hover{border-color:#a774ff66;transform:translateY(-4px);box-shadow:0 16px 36px #3426541a}.year-card h2{margin:0;font-size:1.35rem}.year-card:after{content:"→";color:var(--theme-accent,#9b6ee8);font-size:1.4rem}.page-description{color:var(--theme-muted,#666);margin-top:.5rem;margin-bottom:2rem;font-size:1rem}@media (width<=850px){.years-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.years-grid{grid-template-columns:1fr}}.semester-plan-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:2rem;display:flex}.semester-plan-header .page-description{margin-bottom:0}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;display:grid}.edit-semester-subjects-button{background:var(--theme-surface,#fff);color:var(--theme-accent,#7c3aed);border:1px solid #8b5cf633;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;gap:.45rem;margin-top:.35rem;padding:.7rem 1rem;font-size:.9rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,transform .15s;display:inline-flex}.edit-semester-subjects-button:hover{background:var(--theme-surface-raised,#f8f5ff);border-color:#8b5cf666;transform:translateY(-1px)}@media (width<=600px){.subject-grid{grid-template-columns:minmax(0,1fr)}.semester-plan-header{flex-direction:column;gap:1rem}.edit-semester-subjects-button{width:100%;margin-top:0}}.settings-sections{flex-direction:column;gap:1.25rem;display:flex}.settings-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.settings-card h2{margin:0 0 1.25rem;font-size:1.35rem}.setting-row{justify-content:space-between;align-items:center;gap:2rem;display:flex}.setting-row h3{margin:0 0 .4rem;font-size:1.05rem}.setting-row p{color:var(--theme-muted,#777);margin:0}.setting-button,.setting-link{font:inherit;border:none;border-radius:12px;flex-shrink:0;padding:.75rem 1rem;font-weight:600;text-decoration:none}.setting-button{background:var(--theme-soft,#f1ecfb);color:var(--theme-muted,#777);cursor:not-allowed}.setting-link{color:#fff;background:#9b6ee8;transition:transform .2s,opacity .2s}.setting-link:hover{opacity:.9;transform:translateY(-2px)}@media (width<=650px){.setting-row{flex-direction:column;align-items:flex-start;gap:1rem}}.account-deletion p{color:var(--theme-muted,#666)}.account-deletion form{gap:.75rem;max-width:38rem;display:grid}.account-deletion input{border:1px solid var(--theme-muted,#777);background:var(--theme-surface,#fff);color:var(--theme-text,#222);font:inherit;border-radius:8px;padding:.75rem}.account-deletion-actions{flex-wrap:wrap;gap:.75rem;display:flex}.account-deletion button{font:inherit;cursor:pointer;border-radius:8px;padding:.75rem 1rem}.account-deletion .delete-account-button{color:#fff;background:#a32032;border:1px solid #a32032}.account-deletion button:disabled{cursor:not-allowed;opacity:.6}.privacy-page{max-width:760px;margin:0 auto;padding:0 16px}.privacy-section{margin-top:28px}.privacy-section h2{margin:0 0 10px;font-size:1.2rem}.privacy-section p,.privacy-section li{line-height:1.6}.privacy-section ul{margin:0 0 12px;padding-left:20px}.privacy-section li{margin-bottom:8px}.privacy-section a{text-decoration:underline}:root{--footer-purple:#b38bf3}.footer{background-color:var(--footer-purple);color:#fff;margin-top:56px;padding:32px 24px}.footer-content{max-width:1200px;margin:0 auto}.footer-content h3{margin:0 0 8px;font-size:1.05rem;line-height:1.3}.footer-content p{opacity:.9;margin:0;font-size:.9rem;line-height:1.5}.footer-copy{opacity:.7!important;margin-top:12px!important;font-size:.82rem!important}@media (width<=600px){.footer{margin-top:40px;padding:28px 16px}.footer-content h3{font-size:1rem}.footer-content p{font-size:.85rem}.footer-copy{margin-top:10px!important}}.terms-page{max-width:760px;margin:0 auto;padding:0 16px}.terms-section{margin-top:28px}.terms-section h2{margin:0 0 10px;font-size:1.2rem}.terms-section p{line-height:1.6}.terms-section a{text-decoration:underline}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;display:grid}.admin-card{text-align:left;background:var(--theme-surface,#fff);cursor:pointer;border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 10px 30px #3426540f}.admin-card:hover{border-color:#a774ff59;transform:translateY(-4px);box-shadow:0 18px 40px #3426541f}.admin-card h2{margin:0 0 .75rem;font-size:1.35rem}.admin-card p{color:var(--theme-muted,#666);margin:0;line-height:1.5}.admin-card{color:inherit;text-decoration:none}.admin-pdf-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:22px;padding:2rem;box-shadow:0 10px 30px #3426540f}.admin-pdf-card h2{margin:0;font-size:1.4rem}.admin-pdf-form{gap:.75rem;margin-top:1.5rem;display:grid}.admin-pdf-form label{margin-top:.5rem;font-weight:700}.admin-pdf-form input,.admin-pdf-form select{background:var(--theme-surface,#fff);width:100%;color:inherit;font:inherit;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-pdf-form input:focus,.admin-pdf-form select:focus{border-color:var(--theme-accent,#9b6ee8);outline:2px solid #9b6ee838}.admin-pdf-form input:disabled,.admin-pdf-form select:disabled{cursor:not-allowed;background:var(--theme-surface-raised,#f5f3f8);color:var(--theme-muted,#98939f)}.admin-pdf-form input[type=file]{background:var(--theme-surface-raised,#faf7ff);padding:.7rem}.admin-pdf-form button{color:#fff;width:fit-content;font:inherit;cursor:pointer;background:#9b6ee8;border:none;border-radius:12px;margin-top:1rem;padding:.85rem 1.25rem;font-weight:700;transition:transform .2s,opacity .2s}.admin-pdf-form button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-pdf-form button:disabled{cursor:not-allowed;opacity:.6}.admin-pdf-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-pdf-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.admin-pdf-success{background:var(--theme-success-surface,#effaf2);color:var(--theme-success-text,#247a3c)}.uploaded-pdfs-section{margin-top:2rem}.uploaded-pdfs-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.uploaded-pdfs-heading p{color:var(--theme-muted,#77717e);margin:.35rem 0 0;font-size:.9rem}.uploaded-pdf-subject-groups{gap:1.25rem;display:grid}.uploaded-pdf-subject-group{border:none;gap:1rem;padding:0;display:grid}.uploaded-pdf-subject-heading{background:var(--theme-surface-raised,#faf9fd);cursor:pointer;border:1px solid #a774ff29;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;list-style:none;transition:background .2s,border-color .2s,transform .2s;display:flex}.uploaded-pdf-subject-heading:hover{background:var(--theme-surface-raised,#f7f3ff);border-color:#9b6ee852}.uploaded-pdf-subject-heading:focus-visible{outline-offset:2px;outline:2px solid #9b6ee84d}.uploaded-pdf-subject-heading::-webkit-details-marker{display:none}.uploaded-pdf-subject-heading h3{color:var(--theme-text,#211c31);margin:0;font-size:1.1rem}.uploaded-pdf-subject-heading p{color:var(--theme-muted,#77717e);margin:.3rem 0 0;font-size:.85rem}.uploaded-pdf-subject-toggle{background:var(--theme-surface-raised,#eee7ff);color:#7547d8;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;min-width:84px;padding:.45rem .75rem;font-size:0;font-weight:700;display:inline-flex}.uploaded-pdf-subject-toggle:before{font-size:.82rem}.uploaded-pdf-subject-group:not([open]) .uploaded-pdf-subject-toggle:before{content:"Åpne"}.uploaded-pdf-subject-group[open] .uploaded-pdf-subject-toggle:before{content:"Lukk"}.uploaded-pdf-subject-group[open] .uploaded-pdf-subject-heading{background:var(--theme-surface-raised,#f7f3ff);border-color:#9b6ee847}.uploaded-pdf-subject-group:not([open]) .uploaded-pdf-list{display:none}.uploaded-pdf-subject-group[open] .uploaded-pdf-list{margin-top:.25rem}.uploaded-pdf-list{gap:1rem;display:grid}.uploaded-pdf-item{background:var(--theme-surface-raised,#faf9fd);border:1px solid #a774ff29;border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:center;gap:2rem;padding:1.4rem;display:grid}.uploaded-pdf-information{min-width:0}.uploaded-pdf-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.uploaded-pdf-title-group{min-width:0}.uploaded-pdf-heading h3{color:var(--theme-text,#211c31);overflow-wrap:anywhere;margin:0 0 .35rem;font-size:1.05rem}.uploaded-pdf-subject{color:var(--theme-muted,#6f6976);margin:0;font-size:.92rem}.uploaded-pdf-category{background:var(--theme-surface-raised,#eee7ff);min-height:28px;color:var(--theme-accent,#7b4dd6);border-radius:999px;flex-shrink:0;align-items:center;padding:.3rem .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.uploaded-pdf-topic-status{flex-wrap:wrap;gap:.75rem 2rem;margin-top:1.2rem;display:flex}.uploaded-pdf-status-item{gap:.2rem;display:grid}.uploaded-pdf-status-item span{color:var(--theme-muted,#898390);letter-spacing:.03em;text-transform:uppercase;font-size:.75rem;font-weight:700}.uploaded-pdf-status-item strong{color:var(--theme-text,#312b3b);font-size:.9rem}.uploaded-pdf-controls{gap:.9rem;min-width:0;display:grid}.uploaded-pdf-subtopic-field{gap:.4rem;min-width:0;display:grid}.uploaded-pdf-subtopic-field label{color:var(--theme-text,#4d4658);font-size:.82rem;font-weight:700}.uploaded-pdf-subtopic-field select{background:var(--theme-surface,#fff);width:100%;min-width:0;color:var(--theme-text,#312b3b);font:inherit;border:1px solid #a774ff40;border-radius:10px;padding:.75rem .8rem;font-size:.9rem}.uploaded-pdf-subtopic-field select:focus{border-color:var(--theme-accent,#9b6ee8);outline:2px solid #9b6ee833}.uploaded-pdf-subtopic-field select:disabled{cursor:not-allowed;background:var(--theme-surface-raised,#f3f1f5);opacity:.7}.uploaded-pdf-updating{color:var(--theme-accent,#7b4dd6);font-size:.78rem;font-weight:600}.uploaded-pdf-actions{grid-template-columns:1fr 1fr;gap:.7rem;display:grid}.uploaded-pdf-title-edit{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.uploaded-pdf-title-edit input{border:1px solid var(--theme-border,#ddd6fe);min-width:0;font:inherit;border-radius:8px;flex:220px;padding:.45rem .6rem}.uploaded-pdf-title-edit button,.uploaded-pdf-title-button{border:1px solid var(--theme-border,#ddd6fe);background:var(--theme-surface,#fff);color:var(--theme-accent,#6d28d9);font:inherit;cursor:pointer;border-radius:8px;padding:.4rem .75rem;font-size:.85rem;font-weight:600}.uploaded-pdf-title-edit button:disabled{cursor:default;opacity:.65}.uploaded-pdf-actions a,.uploaded-pdf-actions button{min-height:42px;font:inherit;border-radius:10px;justify-content:center;align-items:center;padding:.65rem 1rem;font-weight:700;text-decoration:none;transition:transform .2s,background .2s,opacity .2s;display:inline-flex}.uploaded-pdf-actions a{background:var(--theme-surface-raised,#f0e9ff);color:#7547d8}.uploaded-pdf-actions a:hover{background:#e7dcff;transform:translateY(-1px)}.delete-pdf-button{color:#fff;cursor:pointer;background:#d92d20;border:none}.delete-pdf-button:hover:not(:disabled){background:#b42318;transform:translateY(-1px)}.delete-pdf-button:disabled{cursor:not-allowed;opacity:.6}@media (width<=850px){.uploaded-pdf-item{grid-template-columns:1fr;gap:1.25rem}}@media (width<=650px){.admin-pdf-card{padding:1.25rem}.admin-pdf-form button{width:100%}.uploaded-pdf-subject-heading{align-items:flex-start}.uploaded-pdf-subject-toggle{min-width:72px}.uploaded-pdf-heading{flex-direction:column}.uploaded-pdf-category{align-self:flex-start}.uploaded-pdf-topic-status{flex-direction:column;gap:.75rem}.uploaded-pdf-actions{grid-template-columns:1fr}}.admin-notes-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.admin-note-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-note-card h2{margin:0 0 1.5rem;font-size:1.4rem}.admin-note-form{gap:.75rem;display:grid}.admin-note-form label{margin-top:.5rem;font-weight:700}.admin-note-form input,.admin-note-form select,.admin-note-form textarea{background:var(--theme-surface,#fff);width:100%;color:inherit;font:inherit;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-note-form textarea{resize:vertical;min-height:320px;line-height:1.6}.admin-note-form input:focus,.admin-note-form select:focus,.admin-note-form textarea:focus{border-color:var(--theme-accent,#9b6ee8);outline:2px solid #9b6ee838}.admin-note-form button{color:#fff;width:fit-content;font:inherit;cursor:pointer;background:#9b6ee8;border:none;border-radius:12px;margin-top:1rem;padding:.85rem 1.25rem;font-weight:700;transition:transform .2s,opacity .2s}.admin-note-form button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-note-form button:disabled{cursor:not-allowed;opacity:.6}.admin-note-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-note-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.admin-note-success{background:var(--theme-success-surface,#effaf2);color:var(--theme-success-text,#247a3c)}.note-preview{position:sticky;top:110px}.preview-description{color:var(--theme-muted,#666);margin:-.75rem 0 1.5rem}.preview-content{white-space:pre-wrap;line-height:1.7}.preview-content p{margin:0 0 .75rem}@media (width<=900px){.admin-notes-layout{grid-template-columns:1fr}.note-preview{position:static}}@media (width<=650px){.admin-note-card{padding:1.25rem}.admin-note-form button{width:100%}}.uploaded-notes-section{margin-top:2rem}.uploaded-note-list{gap:1rem;margin-top:1.5rem;display:grid}.uploaded-note-item{background:var(--theme-surface-raised,#faf9fd);border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.uploaded-note-item h3{margin:0 0 .35rem;font-size:1.05rem}.uploaded-note-item p{color:var(--theme-muted,#666);margin:0;font-size:.95rem}.uploaded-note-item span{color:var(--theme-accent,#9b6ee8);margin-top:.35rem;font-size:.85rem;font-weight:600;display:inline-block}.uploaded-note-actions{align-items:center;gap:.75rem;display:flex}.uploaded-note-actions a{background:var(--theme-soft,#f3efff);color:var(--theme-accent,#7b4dd6);border-radius:10px;padding:.65rem 1rem;font-weight:600;text-decoration:none}.uploaded-note-actions a:hover{background:var(--theme-soft,#e8ddff)}.delete-note-button{color:#fff;cursor:pointer;background:#d92d20;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:600}.delete-note-button:hover:not(:disabled){background:#b42318}.delete-note-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=700px){.uploaded-note-item{flex-direction:column;align-items:flex-start}.uploaded-note-actions{width:100%}.uploaded-note-actions a,.delete-note-button{text-align:center;flex:1}}.admin-note-help{color:var(--theme-muted,#777);margin:-.25rem 0 0;font-size:.9rem}.admin-note-form-actions{align-items:center;gap:.75rem;margin-top:1rem;display:flex}.admin-note-form-actions button{margin-top:0}.cancel-edit-button,.edit-note-button{font:inherit;cursor:pointer;border:none;font-weight:600}.cancel-edit-button{background:var(--theme-soft,#f1ecfb);color:var(--theme-accent,#6f4bb5);border-radius:12px;padding:.85rem 1.25rem}.edit-note-button{background:var(--theme-soft,#f3efff);color:var(--theme-accent,#7b4dd6);border-radius:10px;padding:.65rem 1rem}.cancel-edit-button:hover:not(:disabled),.edit-note-button:hover{background:var(--theme-soft,#e8ddff)}@media (width<=700px){.admin-note-form-actions{flex-direction:column;align-items:stretch}.admin-note-form-actions button{width:100%}.uploaded-note-actions{flex-wrap:wrap}}.admin-flashcards-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.admin-flashcard-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-flashcard-card h2{margin:0 0 1.25rem;font-size:1.4rem}.admin-flashcard-form{gap:.75rem;display:grid}.admin-flashcard-form label{margin-top:.5rem;font-weight:700}.admin-flashcard-form select,.admin-flashcard-form textarea{background:var(--theme-surface,#fff);width:100%;color:inherit;font:inherit;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-flashcard-form textarea{resize:vertical;line-height:1.6}.admin-flashcard-form select:focus,.admin-flashcard-form textarea:focus{border-color:var(--theme-accent,#9b6ee8);outline:2px solid #9b6ee838}.admin-flashcard-form-actions{align-items:center;gap:.75rem;margin-top:1rem;display:flex}.admin-flashcard-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:12px;margin:0;padding:.85rem 1.25rem;font-weight:700}.admin-flashcard-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.cancel-flashcard-edit-button{background:var(--theme-soft,#f1ecfb);color:var(--theme-accent,#6f4bb5)}.admin-flashcard-form-actions button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-flashcard-form-actions button:disabled{cursor:not-allowed;opacity:.6}.admin-flashcard-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-flashcard-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.admin-flashcard-success{background:var(--theme-success-surface,#effaf2);color:var(--theme-success-text,#247a3c)}.flashcard-preview{position:sticky;top:110px}.flashcard-preview h2{margin:1.25rem 0 .5rem;font-size:1.15rem}.flashcard-preview p{color:var(--theme-text,#555);white-space:pre-wrap;margin:0;line-height:1.7}.uploaded-flashcards-section{margin-top:2rem}.uploaded-flashcard-list{gap:1rem;margin-top:1.5rem;display:grid}.uploaded-flashcard-item{background:var(--theme-surface-raised,#faf9fd);border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.uploaded-flashcard-item h3{margin:0 0 .35rem;font-size:1.05rem}.uploaded-flashcard-item p{color:var(--theme-muted,#666);margin:0;font-size:.95rem}.uploaded-flashcard-item span{color:var(--theme-accent,#9b6ee8);margin-top:.35rem;font-size:.85rem;font-weight:600;display:inline-block}.uploaded-flashcard-actions{align-items:center;gap:.75rem;display:flex}.edit-flashcard-button,.delete-flashcard-button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:600}.edit-flashcard-button{background:var(--theme-soft,#f3efff);color:var(--theme-accent,#7b4dd6)}.edit-flashcard-button:hover{background:var(--theme-soft,#e8ddff)}.delete-flashcard-button{color:#fff;background:#d92d20}.delete-flashcard-button:hover:not(:disabled){background:#b42318}.delete-flashcard-button:disabled{cursor:not-allowed;opacity:.6}@media (width<=900px){.admin-flashcards-layout{grid-template-columns:1fr}.flashcard-preview{position:static}}@media (width<=700px){.admin-flashcard-card{padding:1.25rem}.admin-flashcard-form-actions{flex-direction:column;align-items:stretch}.admin-flashcard-form-actions button{width:100%}.uploaded-flashcard-item{flex-direction:column;align-items:flex-start}.uploaded-flashcard-actions{width:100%}.edit-flashcard-button,.delete-flashcard-button{flex:1}}.admin-flashcard-checkbox{align-items:center;gap:.5rem;display:flex}.admin-flashcard-distractor{gap:.35rem;display:grid}.admin-flashcard-distractor input{font:inherit;border:1px solid var(--theme-border,#e4dfeb);background:var(--theme-surface,#fff);color:var(--theme-text,#24202a);border-radius:8px;padding:.55rem .7rem}.admin-flashcard-image-field{gap:.5rem;min-width:0;display:grid}.admin-flashcard-image-field input[type=file]{max-width:100%}.admin-flashcard-image-current{justify-items:start;gap:.5rem;display:grid}.admin-flashcard-image-preview{border:1px solid var(--theme-border,#e4dfeb);background:var(--theme-surface,#fff);border-radius:8px;max-width:100%;height:auto;max-height:240px;display:block}.admin-flashcard-image-current button{font:inherit;border:1px solid var(--theme-border,#e4dfeb);background:var(--theme-surface,#fff);color:var(--theme-text,#24202a);cursor:pointer;border-radius:8px;padding:.35rem .7rem;font-size:.9rem}.admin-videos-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:start;gap:1.5rem;margin-top:2rem;display:grid}.admin-video-card{background:var(--theme-surface,#fff);border:1px solid #a774ff29;border-radius:20px;min-width:0;padding:1.5rem;box-shadow:0 10px 30px #3426540f}.admin-video-card h2{color:var(--theme-text,#211a32);margin:0 0 1.25rem;font-size:1.35rem}.admin-video-form{gap:.65rem;display:grid}.admin-video-form label{color:var(--theme-text,#3f3455);margin-top:.45rem;font-size:.9rem;font-weight:700}.admin-video-form input,.admin-video-form select{background:var(--theme-surface,#fff);width:100%;min-width:0;color:var(--theme-text,#211a32);font:inherit;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-video-form input::placeholder{color:var(--theme-muted,#aaa2b5)}.admin-video-form input:focus,.admin-video-form select:focus{border-color:var(--theme-accent,#9b6ee8);outline:3px solid #9b6ee824}.admin-video-form input:disabled,.admin-video-form select:disabled{cursor:not-allowed;background:var(--theme-surface-raised,#f4f1f7);color:var(--theme-muted,#8c8595)}.admin-video-field-help{color:var(--theme-muted,#777080);margin:.15rem 0 .35rem;font-size:.82rem;line-height:1.5}.admin-video-message{border-radius:12px;margin:.6rem 0 0;padding:.9rem 1rem;font-size:.9rem;font-weight:600}.admin-video-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.admin-video-success{background:var(--theme-success-surface,#effaf2);color:var(--theme-success-text,#247a3c)}.admin-video-form-actions{flex-wrap:wrap;gap:.75rem;margin-top:1rem;display:flex}.admin-video-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:11px;padding:.85rem 1.2rem;font-weight:700}.admin-video-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.admin-video-form-actions button[type=submit]:hover:not(:disabled){background:#8958df}.cancel-video-edit-button{background:var(--theme-surface-raised,#eee8f8);color:var(--theme-accent,#6f4bb5)}.cancel-video-edit-button:hover:not(:disabled){background:#e3d7f7}.admin-video-form-actions button:disabled{cursor:not-allowed;opacity:.55}.video-preview{position:sticky;top:7rem}.preview-label{color:var(--theme-accent,#9b6ee8);letter-spacing:.08em;text-transform:uppercase;margin:0 0 1rem;font-size:.78rem;font-weight:800}.video-preview-structure{gap:.75rem;margin-bottom:1rem;display:grid}.video-preview-structure>div{background:var(--theme-surface-raised,#faf7ff);border-radius:12px;gap:.18rem;padding:.85rem 1rem;display:grid}.video-preview-structure span{color:#8c69d0;letter-spacing:.05em;text-transform:uppercase;font-size:.72rem;font-weight:800}.video-preview-structure strong{color:var(--theme-text,#34284a);overflow-wrap:anywhere}.video-preview-frame,.video-preview-placeholder{aspect-ratio:16/9;border-radius:14px;width:100%}.video-preview-frame{background:#000;border:none;display:block}.video-preview-placeholder{box-sizing:border-box;background:var(--theme-surface-raised,#f5f1fa);color:var(--theme-muted,#777080);text-align:center;place-items:center;padding:1.5rem;line-height:1.5;display:grid}.uploaded-videos-section{margin-top:1.5rem}.uploaded-videos-section>h2{margin-bottom:1.5rem}.uploaded-video-subject-list{gap:2rem;display:grid}.uploaded-video-subject-group{gap:1rem;display:grid}.uploaded-video-subject-heading{border-bottom:2px solid var(--theme-border,#eee7f8);color:var(--theme-text,#35294a);margin:0;padding-bottom:.75rem;font-size:1.15rem}.uploaded-video-topic-list{gap:1.25rem;display:grid}.uploaded-video-topic-group{background:var(--theme-surface-raised,#faf9fd);border:1px solid #a774ff26;border-radius:16px;overflow:hidden}.uploaded-video-topic-heading{background:var(--theme-soft,#f2ecff);justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.uploaded-video-topic-heading h4{color:#49346f;margin:0;font-size:1rem}.uploaded-video-order-label{background:var(--theme-surface,#fff);color:#7950c6;border-radius:999px;flex-shrink:0;padding:.35rem .65rem;font-size:.75rem;font-weight:800}.uploaded-video-subtopic-list{gap:1rem;padding:1rem;display:grid}.uploaded-video-subtopic-group{background:var(--theme-surface,#fff);border:1px solid #a774ff1f;border-radius:13px;overflow:hidden}.uploaded-video-subtopic-heading{background:var(--theme-surface-raised,#faf7ff);justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.uploaded-video-subtopic-heading h5{color:var(--theme-muted,#57426e);margin:0;font-size:.95rem}.uploaded-video-list{display:grid}.uploaded-video-item{border-top:1px solid var(--theme-border,#eeeaf3);justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.uploaded-video-item:first-child{border-top:none}.uploaded-video-information{min-width:0}.uploaded-video-information h6{color:var(--theme-text,#282033);overflow-wrap:anywhere;margin:0 0 .35rem;font-size:.95rem}.uploaded-video-information p{color:var(--theme-muted,#7b7482);overflow-wrap:anywhere;margin:.35rem 0 0;font-size:.8rem}.uploaded-video-item-order{background:var(--theme-soft,#f0ebf8);color:#7450b5;border-radius:999px;padding:.25rem .55rem;font-size:.72rem;font-weight:800;display:inline-block}.uploaded-video-actions{flex-wrap:wrap;flex-shrink:0;gap:.5rem;display:flex}.uploaded-video-actions a,.uploaded-video-actions button{font:inherit;cursor:pointer;border:none;border-radius:9px;padding:.55rem .75rem;font-size:.8rem;font-weight:700;text-decoration:none}.uploaded-video-actions a{color:#3569a8;background:#edf5ff}.edit-video-button{background:var(--theme-soft,#f0eaff);color:#7148bc}.delete-video-button{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.uploaded-video-actions a:hover,.uploaded-video-actions button:hover:not(:disabled){opacity:.82}.uploaded-video-actions button:disabled{cursor:not-allowed;opacity:.55}@media (width<=900px){.admin-videos-layout{grid-template-columns:1fr}.video-preview{position:static}}@media (width<=650px){.admin-video-card{padding:1.1rem}.admin-video-form-actions{flex-direction:column}.admin-video-form-actions button{width:100%}.uploaded-video-topic-heading,.uploaded-video-subtopic-heading,.uploaded-video-item{flex-direction:column;align-items:stretch}.uploaded-video-actions{width:100%}.uploaded-video-actions a,.uploaded-video-actions button{text-align:center;flex:1}}.subject-structure-subject-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:18px;gap:.6rem;max-width:520px;margin-bottom:1.5rem;padding:1.25rem;display:grid;box-shadow:0 10px 30px #3426540d}.subject-structure-subject-card label{font-weight:700}.subject-structure-subject-card select,.subject-structure-form input,.subject-structure-form select{background:var(--theme-surface,#fff);width:100%;color:inherit;font:inherit;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.subject-structure-subject-card select:focus,.subject-structure-form input:focus,.subject-structure-form select:focus{border-color:var(--theme-accent,#9b6ee8);outline:2px solid #9b6ee833}.subject-structure-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.subject-structure-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:20px;min-width:0;padding:1.5rem;box-shadow:0 10px 30px #3426540f}.subject-structure-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.subject-structure-header h2{margin:0;font-size:1.3rem}.subject-structure-card-label{color:var(--theme-accent,#9b6ee8);letter-spacing:.08em;text-transform:uppercase;margin:0 0 .2rem;font-size:.75rem;font-weight:700}.subject-structure-header>button{color:#fff;font:inherit;cursor:pointer;background:#9b6ee8;border:none;border-radius:10px;flex-shrink:0;padding:.75rem 1rem;font-weight:700}.subject-structure-header>button:hover:not(:disabled){opacity:.9}.subject-structure-header>button:disabled{cursor:not-allowed;opacity:.5}.subject-structure-form{background:var(--theme-surface-raised,#faf7ff);border:1px solid #a774ff2e;border-radius:14px;gap:.7rem;margin-bottom:1.25rem;padding:1rem;display:grid}.subject-structure-form h3{color:#49346f;margin:0 0 .3rem;font-size:1rem}.subject-structure-form label{margin-top:.25rem;font-weight:700}.subject-structure-form-actions{gap:.75rem;margin-top:.5rem;display:flex}.subject-structure-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.75rem 1rem;font-weight:700}.subject-structure-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.subject-structure-cancel-button{background:var(--theme-surface-raised,#eee8f8);color:var(--theme-accent,#6f4bb5)}.subject-structure-form-actions button:disabled{cursor:not-allowed;opacity:.55}.subject-topic-list,.subject-subtopic-list{gap:.75rem;display:grid}.subject-topic-item,.subject-subtopic-item{background:var(--theme-surface-raised,#faf9fd);border:1px solid #a774ff24;border-radius:13px;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem;display:flex}.subject-topic-item-selected{border-color:var(--theme-accent,#9b6ee8);background:var(--theme-soft,#f5f0ff)}.subject-topic-select-button{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:.75rem;padding:0;display:flex}.subject-topic-select-button>span:last-child{gap:.15rem;min-width:0;display:grid}.subject-topic-select-button strong{overflow-wrap:anywhere}.subject-topic-select-button small{color:var(--theme-muted,#777)}.subject-structure-order-number{background:var(--theme-surface-raised,#eee7ff);color:#7549ca;border-radius:9px;flex:0 0 2rem;place-items:center;width:2rem;height:2rem;font-size:.85rem;font-weight:800;display:grid}.subject-structure-item-information{align-items:center;gap:.75rem;min-width:0;display:flex}.subject-structure-item-information strong{overflow-wrap:anywhere}.subject-structure-item-actions{flex-shrink:0;gap:.5rem;display:flex}.subject-structure-item-actions button{background:var(--theme-surface-raised,#eee8f8);color:var(--theme-accent,#6f4bb5);font:inherit;cursor:pointer;border:none;border-radius:9px;padding:.55rem .75rem;font-size:.82rem;font-weight:700}.subject-structure-item-actions button:hover:not(:disabled){background:#e4d8fa}.subject-structure-item-actions .subject-structure-delete-button{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.subject-structure-item-actions .subject-structure-delete-button:hover:not(:disabled){background:#ffe1e1}.subject-structure-item-actions button:disabled{cursor:not-allowed;opacity:.55}.selected-subject-topic{background:var(--theme-soft,#f5f0ff);border-radius:12px;gap:.2rem;margin-bottom:1rem;padding:.9rem 1rem;display:grid}.selected-subject-topic span{color:#8b65d5;letter-spacing:.05em;text-transform:uppercase;font-size:.75rem;font-weight:700}.subject-structure-empty-card,.subject-structure-empty-text{background:var(--theme-surface-raised,#faf7ff);color:var(--theme-muted,#6d6678);border-radius:14px;padding:1.25rem;line-height:1.5}.subject-structure-empty-card{border:1px solid #a774ff1f}.subject-structure-empty-text{text-align:center;margin:0}.subject-structure-message{border-radius:12px;margin:0 0 1.5rem;padding:.9rem 1rem;font-weight:600}.subject-structure-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.subject-structure-success{background:var(--theme-success-surface,#effaf2);color:var(--theme-success-text,#247a3c)}@media (width<=900px){.subject-structure-layout{grid-template-columns:1fr}}@media (width<=650px){.subject-structure-header,.subject-topic-item,.subject-subtopic-item{flex-direction:column;align-items:stretch}.subject-structure-header>button,.subject-structure-item-actions{width:100%}.subject-structure-item-actions button{flex:1}.subject-structure-form-actions{flex-direction:column}.subject-structure-form-actions button{width:100%}}.page-label{color:var(--theme-accent,#9b6ee8);letter-spacing:.08em;text-transform:uppercase;margin:0 0 .5rem;font-size:.85rem;font-weight:700}.page-description{color:var(--theme-muted,#666);margin-top:.5rem;margin-bottom:2rem}.admin-exam-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:22px;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-exam-card h2{margin:0 0 1.25rem;font-size:1.4rem}.admin-exam-form{gap:.75rem;display:grid}.admin-exam-form label{margin-top:.5rem;font-weight:700}.admin-exam-form input,.admin-exam-form select{background:var(--theme-surface,#fff);width:100%;color:inherit;font:inherit;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-exam-form input:focus,.admin-exam-form select:focus{border-color:var(--theme-accent,#9b6ee8);outline:2px solid #9b6ee838}.admin-exam-form input:disabled,.admin-exam-form select:disabled{background:var(--theme-surface-raised,#f6f3fa);color:var(--theme-muted,#777);cursor:not-allowed}.admin-exam-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.admin-exam-row>div{gap:.75rem;display:grid}.admin-exam-help{color:var(--theme-muted,#777);margin:0;font-size:.9rem}.admin-exam-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-exam-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.admin-exam-success{background:var(--theme-success-surface,#effaf2);color:var(--theme-success-text,#247a3c)}.admin-exam-form-actions{align-items:center;gap:.75rem;margin-top:1rem;display:flex}.admin-exam-form-actions button{font:inherit;cursor:pointer;border:none;border-radius:12px;margin:0;padding:.85rem 1.25rem;font-weight:700}.admin-exam-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.cancel-exam-edit-button{background:var(--theme-soft,#f1ecfb);color:var(--theme-accent,#6f4bb5)}.admin-exam-form-actions button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}.admin-exam-form-actions button:disabled{cursor:not-allowed;opacity:.6}.uploaded-exams-section{margin-top:2rem}.uploaded-exam-list{gap:1rem;margin-top:1.5rem;display:grid}.uploaded-exam-item{background:var(--theme-surface-raised,#faf9fd);border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.25rem;display:flex}.uploaded-exam-content h3{margin:0 0 .35rem;font-size:1.05rem}.uploaded-exam-content>p{color:var(--theme-muted,#666);margin:0}.uploaded-exam-content>span{color:var(--theme-accent,#9b6ee8);margin-top:.35rem;font-size:.85rem;font-weight:600;display:inline-block}.uploaded-exam-files{gap:.25rem;margin-top:.75rem;display:grid}.uploaded-exam-files span{color:var(--theme-muted,#666);font-size:.9rem}.uploaded-exam-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.uploaded-exam-actions a,.edit-exam-button,.delete-exam-button{font:inherit;cursor:pointer;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:600;text-decoration:none}.uploaded-exam-actions a,.edit-exam-button{background:var(--theme-soft,#f3efff);color:var(--theme-accent,#7b4dd6)}.uploaded-exam-actions a:hover,.edit-exam-button:hover{background:var(--theme-soft,#e8ddff)}.delete-exam-button{color:#fff;background:#d92d20}.delete-exam-button:hover:not(:disabled){background:#b42318}.delete-exam-button:disabled{cursor:not-allowed;opacity:.6}@media (width<=750px){.admin-exam-card{padding:1.25rem}.admin-exam-row{grid-template-columns:1fr}.admin-exam-form-actions{flex-direction:column;align-items:stretch}.admin-exam-form-actions button{width:100%}.uploaded-exam-item{flex-direction:column;align-items:flex-start}.uploaded-exam-actions{width:100%}.uploaded-exam-actions a,.edit-exam-button,.delete-exam-button{text-align:center;flex:1}}.page-label,.admin-study-plan-section-label{color:var(--theme-accent,#9b6ee8);letter-spacing:.08em;text-transform:uppercase;margin:0 0 .5rem;font-size:.85rem;font-weight:700}.page-description{color:var(--theme-muted,#666);margin:.5rem 0 2rem}.admin-study-plan-card{background:var(--theme-surface,#fff);border:1px solid #a774ff26;border-radius:22px;margin-top:1.5rem;padding:1.75rem;box-shadow:0 10px 30px #3426540f}.admin-study-plan-card h2{margin:0 0 1.25rem}.admin-study-plan-form{gap:.8rem;display:grid}.admin-study-plan-form label{margin-top:.45rem;font-weight:700}.admin-study-plan-form input,.admin-study-plan-form select,.admin-study-plan-form textarea{background:var(--theme-surface,#fff);width:100%;color:inherit;font:inherit;border:1px solid #a774ff40;border-radius:12px;padding:.9rem 1rem}.admin-study-plan-form textarea{resize:vertical;line-height:1.55}.admin-study-plan-form input:focus,.admin-study-plan-form select:focus,.admin-study-plan-form textarea:focus{border-color:var(--theme-accent,#9b6ee8);outline:2px solid #9b6ee838}.admin-study-plan-form input:disabled,.admin-study-plan-form select:disabled{background:var(--theme-surface-raised,#f6f3fa);cursor:not-allowed}.admin-study-plan-row{grid-template-columns:minmax(0,2fr) minmax(130px,1fr);gap:1rem;display:grid}.admin-study-plan-row>div,.admin-study-plan-textareas>div{gap:.7rem;display:grid}.admin-study-plan-textareas{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:.5rem;display:grid}.admin-study-plan-resources{border-top:1px solid #a774ff2e;margin-top:1rem;padding-top:1.5rem}.admin-study-plan-resource-heading h3{margin:0 0 .35rem}.admin-study-plan-resource-heading p{color:var(--theme-muted,#666);margin:0 0 1rem}.admin-resource-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.admin-resource-group{background:var(--theme-surface-raised,#faf8ff);border-radius:16px;min-width:0;padding:1rem}.admin-resource-group h3{margin:0 0 .8rem}.admin-resource-group>p{color:var(--theme-muted,#777);margin:0;font-size:.9rem}.admin-resource-list{gap:.55rem;max-height:260px;display:grid;overflow-y:auto}.admin-resource-option{background:var(--theme-surface,#fff);cursor:pointer;border-radius:10px;align-items:flex-start;gap:.65rem;padding:.6rem;display:flex;margin:0!important;font-weight:500!important}.admin-resource-option:hover{background:var(--theme-soft,#f2edff)}.admin-resource-option input{width:auto;margin-top:.15rem}.admin-study-plan-help{color:var(--theme-muted,#777);margin:0;font-size:.9rem}.admin-study-plan-message{border-radius:12px;margin:.75rem 0 0;padding:.9rem 1rem;font-weight:600}.admin-study-plan-error{background:var(--theme-danger-surface,#fff0f0);color:var(--theme-danger-text,#b42318)}.admin-study-plan-success{background:var(--theme-success-surface,#effaf2);color:var(--theme-success-text,#247a3c)}.admin-study-plan-form-actions{gap:.75rem;margin-top:1rem;display:flex}.admin-study-plan-form-actions button,.study-topic-actions button{font:inherit;cursor:pointer;border:none;border-radius:11px;padding:.75rem 1rem;font-weight:700}.admin-study-plan-form-actions button[type=submit]{color:#fff;background:#9b6ee8}.cancel-study-topic-button,.edit-study-topic-button{background:var(--theme-soft,#f3efff);color:#7048bd}.delete-study-topic-button{color:#fff;background:#d92d20}.admin-study-plan-form-actions button:disabled,.study-topic-actions button:disabled{cursor:not-allowed;opacity:.6}.study-topic-list-section{margin-top:2rem}.study-topic-list{gap:1rem;display:grid}.study-topic-item{background:var(--theme-surface-raised,#faf9fd);border:1px solid #a774ff26;border-radius:16px;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.2rem;display:flex}.study-topic-content{min-width:0}.study-topic-heading h3{margin:.15rem 0 .35rem}.study-topic-heading span{color:var(--theme-accent,#9b6ee8);font-size:.9rem;font-weight:600}.study-topic-order{color:var(--theme-muted,#777);margin:0;font-size:.82rem}.study-topic-summary{flex-wrap:wrap;gap:.45rem;margin-top:.85rem;display:flex}.study-topic-summary span{background:var(--theme-surface-raised,#eee8fb);color:#6543a6;border-radius:999px;padding:.35rem .65rem;font-size:.82rem;font-weight:600}.study-topic-actions{flex-shrink:0;gap:.7rem;display:flex}@media (width<=900px){.admin-resource-columns,.admin-study-plan-textareas{grid-template-columns:1fr}}@media (width<=700px){.admin-study-plan-card{padding:1.25rem}.admin-study-plan-row{grid-template-columns:1fr}.admin-study-plan-form-actions,.study-topic-item,.study-topic-actions{flex-direction:column;align-items:stretch}.admin-study-plan-form-actions button,.study-topic-actions button{width:100%}}.page-container{margin-block:0;padding-block:2rem}.folder-page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin:28px 0 30px;display:flex}.folder-page-header h1{margin:4px 0 0}.folder-topic-name{color:#817687;margin:8px 0 0;font-size:.92rem}.folder-page-progress{margin-top:14px}.folder-page-actions{flex-wrap:wrap;gap:10px;display:flex}.folder-subfolders{margin-bottom:28px}.folder-subfolders .notes-folders{margin-top:0}.folder-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}@media (width<=750px){.page-container{padding-block:1.25rem}.folder-page-header{flex-direction:column;align-items:stretch}.folder-page-header .new-folder-button{align-self:flex-start}.folder-notes-grid{grid-template-columns:1fr}}.folder-note-item{border:1px solid var(--theme-border,#e8e1ee);background:var(--theme-surface,#fff);border-radius:16px;min-width:0;transition:transform .2s,border-color .2s,box-shadow .2s;position:relative}.folder-note-item:hover{border-color:var(--theme-border,#d7c6e5);transform:translateY(-2px);box-shadow:0 10px 24px #2f233a14}.folder-note-link{min-height:82px;color:inherit;align-items:center;gap:14px;padding:16px 54px 16px 16px;text-decoration:none;display:flex}.folder-note-icon{background:var(--theme-surface-raised,#f3eef8);color:#75568f;border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.folder-note-content{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.folder-note-title{color:var(--theme-text,#241c2a);text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:650;line-height:1.35;overflow:hidden}.folder-note-description{color:var(--theme-muted,#807586);text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;line-height:1.4;overflow:hidden}.folder-note-menu{z-index:2;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.folder-note-rating{align-items:center;gap:2px;margin-left:8px;display:inline-flex}.folder-breadcrumbs{margin:0 0 6px;font-size:.92rem}.folder-breadcrumbs ol{flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}.folder-breadcrumbs li{color:#817687;align-items:center;gap:6px;min-width:0;display:flex}.folder-breadcrumbs li+li:before{content:"›";color:#b8a9c9}.folder-breadcrumbs a{color:#8564a8;font-weight:700;text-decoration:none}.folder-breadcrumbs a:hover{text-decoration:underline}.folder-breadcrumbs [aria-current=page]{color:var(--theme-text,#28232d);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.practice-page{margin-block:0;padding-block:2rem 5rem}.practice-hero{background:radial-gradient(circle at top right, #b38bf333, transparent 38%), linear-gradient(135deg, var(--theme-surface-raised,#fbf7ff) 0%, var(--theme-surface,#fff) 70%);border:1px solid var(--theme-border,#eadcfb);border-radius:24px;align-items:flex-start;gap:1rem;margin-top:1.5rem;padding:1.75rem;display:flex;overflow:hidden}.practice-hero-icon{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:15px;flex:none;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 10px 24px #8b5cf63d}.practice-hero .page-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.1em;text-transform:uppercase;margin:0 0 .35rem;font-size:.8rem;font-weight:800}.practice-hero h1{color:var(--theme-text,#17142a);margin:0;font-size:clamp(1.75rem,4vw,2.4rem);line-height:1.15}.practice-intro{max-width:680px;color:var(--theme-muted,#6b647c);margin-top:.75rem;line-height:1.65}.secondary-button{border:1px solid var(--theme-border,#ddd2ea);background:var(--theme-surface,#fff);color:var(--theme-muted,#5f5873);font:inherit;cursor:pointer;border-radius:9px;padding:.55rem .85rem;font-size:.85rem;font-weight:600;transition:all .15s}.secondary-button:hover{background:var(--theme-surface-raised,#faf7ff);border-color:var(--theme-control-border,#c8b7dd)}.start-practice-button{color:#fff;width:min(100%,340px);min-height:50px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#8b5cf6,#a855f7);border:none;border-radius:12px;justify-content:center;align-items:center;gap:.55rem;margin:1.5rem auto 0;padding:.9rem 1.25rem;font-weight:750;transition:transform .18s,box-shadow .18s,opacity .18s;display:flex;box-shadow:0 8px 18px #8b5cf633}.start-practice-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 24px #8b5cf647}.start-practice-button:disabled{background:var(--theme-soft,#d4cfdd);color:#fff;box-shadow:none;cursor:not-allowed}.practice-summary-start{width:100%;margin-top:1rem}.active-session-card{border:1px solid var(--theme-border,#e4d5f7);background:linear-gradient(135deg, #f8f2ff, var(--theme-surface,#fff));border-radius:18px;justify-content:space-between;align-items:center;gap:1.5rem;margin-top:1.25rem;padding:1.25rem 1.4rem;display:flex}.active-session-information{gap:.9rem;display:flex}.active-session-icon{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:13px;flex:none;place-items:center;width:44px;height:44px;display:grid}.active-session-information .page-label{color:var(--theme-accent,#8b5cf6);text-transform:uppercase;margin:0;font-size:.75rem;font-weight:800}.active-session-information h2{margin:0;font-size:1.1rem}.active-session-information p{margin:.35rem 0}.active-session-information span{color:var(--theme-muted,#6b647c);font-size:.78rem}.active-session-actions{gap:.65rem;display:flex}.active-session-continue{margin:0}.active-session-delete{justify-content:center;align-items:center;display:flex}.practice-stats{margin-bottom:1.5rem}.practice-stats-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.practice-stats-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.08em;text-transform:uppercase;margin:0 0 .25rem;font-size:.75rem;font-weight:800}.practice-stats h3{color:var(--theme-text,#17142a);margin:0;font-size:1.1rem}.practice-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.practice-stat-card{border:1px solid var(--theme-border,#eadff5);background:linear-gradient(135deg, var(--theme-surface-raised,#faf7ff), var(--theme-surface,#fff));border-radius:16px;flex-direction:column;justify-content:center;min-height:100px;padding:1rem;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex}.practice-stat-card:hover{border-color:var(--theme-control-border,#d6c1ed);transform:translateY(-2px);box-shadow:0 10px 24px #8b5cf614}.practice-stat-card strong{color:var(--theme-text,#17142a);font-size:1.65rem;line-height:1}.practice-stat-card span{color:var(--theme-muted,#6b647c);margin-top:.5rem;font-size:.78rem;font-weight:600;line-height:1.3}.practice-divider{border-top-color:var(--theme-border,#eee7f5)}.practice-data-management{border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);margin-top:1.25rem}.practice-data-management summary{cursor:pointer;justify-content:space-between;align-items:center;padding:1rem 0;list-style:none;display:flex}.practice-data-management summary::-webkit-details-marker{display:none}.practice-data-management summary svg{transition:transform .18s}.practice-data-management[open] summary svg{transform:rotate(180deg)}.practice-data-management-content{gap:.65rem;padding-bottom:1rem;display:grid}.practice-reset-topic{gap:.5rem;display:grid}.practice-reset-topic select{border:1px solid var(--theme-border,#ddd2ea);border-radius:9px;padding:.7rem}.reset-data-button{width:100%}.reset-all-data-button{color:var(--theme-danger-text,#b42318);border-color:#fecdca}.reset-all-data-button:hover{background:var(--theme-danger-surface,#fef3f2)}@media (width<=700px){.practice-page{padding-top:1rem}.practice-hero{border-radius:18px;flex-direction:column;padding:1.25rem}.active-session-card{flex-direction:column;align-items:stretch}.active-session-actions{flex-direction:column;width:100%}.active-session-continue,.active-session-delete{width:100%}}@media (width<=460px){.practice-stats-grid{grid-template-columns:1fr}.practice-stat-card{min-height:96px}}.practice-setup-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:1.5rem;margin-top:1.5rem;display:grid}.practice-settings{gap:1.25rem;display:grid}.practice-section{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#eadff5);border-radius:20px;padding:1.5rem;box-shadow:0 8px 25px #8b5cf60a}.practice-section-title{align-items:flex-start;gap:.9rem;margin-bottom:1.35rem;display:flex}.practice-step-number{background:var(--theme-soft,#f4edff);width:34px;height:34px;color:var(--theme-accent,#7c3aed);border:1px solid var(--theme-border,#e4d5f7);border-radius:11px;flex:none;place-items:center;font-size:.9rem;font-weight:800;display:grid}.practice-section-title h2{color:var(--theme-text,#17142a);margin:0;font-size:1.2rem}.practice-section-title p{color:var(--theme-muted,#6b647c);margin:.3rem 0 0;font-size:.9rem;line-height:1.5}.practice-section-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.selection-count{color:var(--theme-muted,#5f5873);margin:0;font-size:.9rem;font-weight:600}.topic-actions{flex-wrap:wrap;gap:.6rem;display:flex}.topics-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.75rem;display:grid}.topic-card,.option-card,.amount-card{cursor:pointer;transition:border-color .18s,background-color .18s,box-shadow .18s,transform .18s;position:relative}.topic-card input,.option-card input,.amount-card input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.topic-card{background:var(--theme-surface,#fff);min-height:56px;color:var(--theme-text,#3f3952);border:1px solid var(--theme-border,#e6ddea);border-radius:13px;align-items:center;gap:.75rem;padding:.85rem .95rem;font-size:.92rem;font-weight:600;display:flex}.topic-card:hover{border-color:var(--theme-control-border,#cdb6e8);transform:translateY(-1px);box-shadow:0 6px 16px #8b5cf612}.topic-card-selected{background:var(--theme-soft,#faf5ff);color:var(--theme-accent,#7c3aed);border-color:var(--theme-control-border,#a78bfa);box-shadow:0 0 0 3px #8b5cf61a}.topic-check{background:var(--theme-surface,#fff);color:#fff;border:1.5px solid var(--theme-control-border,#cfc5d9);border-radius:7px;flex:none;place-items:center;width:21px;height:21px;transition:background-color .18s,border-color .18s;display:grid}.topic-card-selected .topic-check{border-color:var(--theme-accent,#8b5cf6);background:#8b5cf6}.option-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;display:grid}.option-card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e6ddea);border-radius:14px;align-items:center;gap:.8rem;min-height:82px;padding:1rem;display:flex}.option-card:hover{border-color:var(--theme-control-border,#cdb6e8);transform:translateY(-1px);box-shadow:0 7px 18px #8b5cf612}.option-card-selected{background:var(--theme-soft,#faf5ff);border-color:var(--theme-control-border,#a78bfa);box-shadow:0 0 0 3px #8b5cf61a}.option-card-icon{background:var(--theme-surface-raised,#f6f2fa);width:40px;height:40px;color:var(--theme-muted,#766e83);border-radius:11px;flex:none;place-items:center;display:grid}.option-card-selected .option-card-icon{background:var(--theme-soft,#ede9fe);color:var(--theme-accent,#7c3aed)}.option-card>div:last-child{flex-direction:column;gap:.25rem;min-width:0;display:flex}.option-card strong{color:var(--theme-text,#3f3952);font-size:.95rem}.option-card-selected strong{color:var(--theme-accent,#7c3aed)}.option-card span{color:var(--theme-muted,#6b647c);font-size:.82rem;line-height:1.4}.difficulty-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.difficulty-grid .option-card{min-height:76px}.amount-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;display:grid}.amount-card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e6ddea);text-align:center;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;min-height:82px;padding:.9rem;display:flex}.amount-card:hover{border-color:var(--theme-control-border,#cdb6e8);transform:translateY(-1px);box-shadow:0 7px 18px #8b5cf612}.amount-card-selected{background:var(--theme-soft,#faf5ff);border-color:var(--theme-control-border,#a78bfa);box-shadow:0 0 0 3px #8b5cf61a}.amount-card strong{color:var(--theme-text,#3f3952);font-size:1.05rem}.amount-card-selected strong{color:var(--theme-accent,#7c3aed)}.amount-card span{color:var(--theme-muted,#6b647c);font-size:.78rem}.practice-summary-card{background:linear-gradient(180deg, var(--theme-surface-raised,#faf5fff2), var(--theme-surface,#fff) 45%);border:1px solid var(--theme-border,#e4d5f7);border-radius:20px;padding:1.35rem;position:sticky;top:90px;box-shadow:0 15px 38px #8b5cf617}.practice-summary-heading{border-bottom:1px solid var(--theme-border,#eee7f5);align-items:center;gap:.8rem;padding-bottom:1.15rem;display:flex}.practice-summary-icon{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);border-radius:13px;flex:none;place-items:center;width:42px;height:42px;display:grid}.practice-summary-heading p{color:var(--theme-accent,#8b5cf6);letter-spacing:.06em;text-transform:uppercase;margin:0 0 .15rem;font-size:.75rem;font-weight:700}.practice-summary-heading h2{color:var(--theme-text,#17142a);margin:0;font-size:1.1rem}.practice-summary-list{gap:0;margin-top:.8rem;display:grid}.practice-summary-row{border-bottom:1px solid var(--theme-border,#f1ebf6);justify-content:space-between;align-items:center;gap:1rem;min-height:48px;display:flex}.practice-summary-row:last-child{border-bottom:none}.practice-summary-row>div{color:var(--theme-muted,#756d82);align-items:center;gap:.55rem;display:flex}.practice-summary-row span{font-size:.86rem}.practice-summary-row strong{color:var(--theme-text,#3f3952);text-align:right;font-size:.86rem}.available-question-count{background:var(--theme-success-surface,#ecfdf3);color:var(--theme-success-text,#067647);border:1px solid #abefc6;border-radius:11px;align-items:flex-start;gap:.5rem;margin-top:1rem;padding:.8rem;font-size:.82rem;font-weight:600;line-height:1.45;display:flex}.available-question-count svg{flex:none;margin-top:.1rem}.practice-warning{background:var(--theme-warning-surface,#fffaeb);color:var(--theme-warning-text,#b54708);border:1px solid #fedf89;border-radius:11px;margin:1rem 0 0;padding:.8rem;font-size:.82rem;line-height:1.45}.practice-info{background:var(--theme-surface-raised,#faf7fc);color:var(--theme-muted,#5f5873);border-radius:11px;margin:.75rem 0 0;padding:.8rem;font-size:.8rem;line-height:1.45}@media (width<=980px){.practice-setup-layout{grid-template-columns:1fr}.practice-summary-card{position:static}.practice-summary-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.25rem}.difficulty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.practice-section{border-radius:16px;padding:1.1rem}.practice-section-header{flex-direction:column;align-items:flex-start}.topic-actions{width:100%}.secondary-button{flex:1}.option-grid,.difficulty-grid{grid-template-columns:1fr}.amount-options{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-summary-list{grid-template-columns:1fr}}@media (width<=460px){.topics-grid{grid-template-columns:1fr}.amount-options{grid-template-columns:1fr 1fr}.practice-section-title{gap:.7rem}}.mistake-practice-card{border-top:1px solid var(--border-color);flex-direction:column;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;display:flex}.mistake-practice-heading{align-items:flex-start;gap:.75rem;display:flex}.mistake-practice-heading>div:last-child{flex-direction:column;gap:.3rem;display:flex}.mistake-practice-heading strong{color:var(--text-primary);margin:0;font-size:1rem;font-weight:700}.mistake-practice-heading span{color:var(--text-secondary);font-size:.85rem;line-height:1.5}.mistake-practice-icon{background:var(--theme-soft,#faf5ff);width:38px;height:38px;color:var(--theme-accent,#7c3aed);border-radius:11px;flex:none;place-items:center;display:grid}.mistake-practice-button{justify-content:center;align-items:center;gap:.45rem;width:100%;margin-top:.25rem;display:flex}.mistake-practice-button:disabled{opacity:.55;cursor:not-allowed}.question-section{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#eadff5);border-radius:20px;margin-top:2rem;padding:2rem;box-shadow:0 12px 35px #8b5cf60f}.question-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.8rem;display:flex}.question-counter{color:var(--theme-muted,#6b647c);font-size:.95rem}.question-meta{color:var(--theme-muted,#6b647c);align-items:center;gap:.45rem;font-size:.9rem;display:flex}.question-meta span:first-child{color:var(--theme-text,#3f3952);font-weight:700}.question-progress{background:var(--theme-soft,#eee7f5);border-radius:999px;height:8px;margin:1rem 0 2rem;overflow:hidden}.question-progress-fill{background:linear-gradient(90deg,#8b5cf6,#c084fc);border-radius:999px;height:100%;transition:width .2s}.question-section h1{color:var(--theme-text,#17142a);margin:0;font-size:1.5rem;line-height:1.55}.answer-options{gap:.85rem;margin-top:1.5rem;display:grid}.answer-option{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e6ddea);cursor:pointer;border-radius:12px;align-items:center;gap:.8rem;padding:1rem;transition:border-color .15s,background-color .15s,transform .15s,box-shadow .15s;display:flex}.answer-option:hover{border-color:var(--theme-control-border,#cdb6e8);transform:translateY(-1px);box-shadow:0 6px 16px #8b5cf612}.answer-option-selected{background:var(--theme-soft,#faf5ff);border-color:var(--theme-control-border,#a78bfa);box-shadow:0 0 0 3px #8b5cf614}.answer-option input{accent-color:#8b5cf6}.number-answer-wrapper{flex-direction:column;gap:.6rem;margin-top:1.5rem;display:flex}.number-answer-wrapper label{color:var(--theme-text,#3f3952);font-weight:650}.number-answer-wrapper input{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#ddd2ea);width:min(100%,280px);font:inherit;border-radius:10px;outline:none;padding:.85rem 1rem;font-size:1.1rem}.number-answer-wrapper input:focus{border-color:var(--theme-accent,#8b5cf6);box-shadow:0 0 0 3px #8b5cf624}.answer-feedback{border-radius:12px;margin-top:1.5rem;padding:1rem}.answer-feedback p{margin:.5rem 0 0;line-height:1.55}.answer-feedback-correct{background:var(--theme-success-surface,#ecfdf3);color:var(--theme-success-text,#067647);border:1px solid #abefc6}.answer-feedback-wrong{background:var(--theme-danger-surface,#fef3f2);color:var(--theme-danger-text,#b42318);border:1px solid #fecdca}@media (width<=700px){.question-section{border-radius:16px;margin-top:1.5rem;padding:1.25rem}.question-section h1{font-size:1.25rem}.question-progress{margin-bottom:1.5rem}}@media (width<=650px){.question-header{flex-direction:column;align-items:flex-start;gap:.4rem}.question-meta{flex-wrap:wrap;font-size:.85rem}.answer-option{padding:.9rem}.number-answer-wrapper input{width:100%}}.result-section{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#eadff5);border-radius:20px;width:min(100%,900px);margin:2rem auto 0;padding:2rem;box-shadow:0 12px 35px #8b5cf60f}.result-heading{text-align:center;margin-bottom:2rem}.result-heading h1{color:var(--theme-text,#17142a);margin:.35rem 0 .65rem}.result-heading>p:last-child{max-width:600px;color:var(--theme-muted,#6b647c);margin:0 auto;line-height:1.6}.result-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:2rem;display:grid}.result-summary-card{background:linear-gradient(135deg, var(--theme-surface-raised,#faf7ff), var(--theme-surface,#fff));border:1px solid var(--theme-border,#eadff5);text-align:center;border-radius:16px;flex-direction:column;gap:.45rem;padding:1.25rem;display:flex}.result-summary-card span{color:var(--theme-muted,#6b647c);font-size:.9rem}.result-summary-card strong{color:var(--theme-text,#17142a);font-size:1.45rem}.result-topic-section{text-align:left;margin-top:2rem}.result-topic-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.result-topic-heading h2{color:var(--theme-text,#17142a);margin:.25rem 0 0}.result-topic-heading>span{color:var(--theme-muted,#6b647c);font-size:.9rem}.result-topic-list{gap:.85rem;display:grid}.result-topic-card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#eadff5);border-radius:14px;padding:1rem}.result-topic-card-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.result-topic-card-header>div{flex-direction:column;gap:.2rem;min-width:0;display:flex}.result-topic-card-header strong{color:var(--theme-text,#3f3952)}.result-topic-card-header>strong{color:var(--theme-accent,#7c3aed);flex:none;font-size:1rem}.result-topic-card-header span{color:var(--theme-muted,#6b647c);font-size:.82rem}.result-topic-progress{background:var(--theme-soft,#eee7f5);border-radius:999px;height:7px;margin-top:.8rem;overflow:hidden}.result-topic-progress-fill{background:linear-gradient(90deg,#8b5cf6,#c084fc);border-radius:999px;height:100%}.result-review{margin-top:2rem}.result-review-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.result-review-heading h2{color:var(--theme-text,#17142a);margin:.25rem 0 0}.result-review-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.result-review-actions>span{color:var(--theme-muted,#6b647c);margin-right:.25rem;font-size:.9rem}.result-question-list{flex-direction:column;gap:1rem;display:flex}.result-question-card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#eadff5);border-radius:18px;padding:0;overflow:hidden}.result-question-correct{border-left:5px solid #45a26b}.result-question-wrong{border-left:5px solid #d96b6b}.result-question-toggle{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:1.35rem 1.4rem}.result-question-toggle:hover{background:var(--theme-surface-raised,#faf7ff)}.result-question-toggle h3{color:var(--theme-text,#17142a);margin:1rem 0 0;font-size:1.05rem;line-height:1.6}.result-question-expanded .result-question-toggle{padding-bottom:1rem}.result-question-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.result-question-header>div{align-items:center;gap:.55rem;display:flex}.result-question-correct .result-question-header svg{color:#45a26b}.result-question-wrong .result-question-header svg{color:#d96b6b}.result-question-meta{color:var(--theme-muted,#6b647c);align-items:center;gap:.65rem;display:flex}.result-question-meta span{font-size:.85rem}.result-question-content{padding:0 1.4rem 1.4rem}.result-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.result-answer-grid>div{background:var(--theme-surface-raised,#faf7ff);border-radius:12px;flex-direction:column;gap:.35rem;padding:.9rem 1rem;display:flex}.result-answer-grid span{color:var(--theme-muted,#6b647c);font-size:.82rem}.result-user-answer-correct{border:1px solid #45a26b59}.result-user-answer-wrong{border:1px solid #d96b6b59}.result-correct-answer{border:1px solid #45a26b59}.result-explanation{border-top:1px solid var(--theme-border,#eee7f5);padding-top:1rem}.result-explanation>strong{color:var(--theme-text,#3f3952);margin-bottom:.4rem;display:block}.result-explanation p{color:var(--theme-muted,#6b647c);margin:0;line-height:1.65}.result-restart-button{margin:2rem auto 0}@media (width<=700px){.result-section{border-radius:16px;padding:1.25rem}.result-summary-grid{grid-template-columns:1fr}.result-topic-heading,.result-review-heading{flex-direction:column;align-items:flex-start}.result-review-actions{justify-content:flex-start}.result-answer-grid{grid-template-columns:1fr}.result-question-header{align-items:flex-start}.result-question-toggle{padding:1.15rem}.result-question-content{padding:0 1.15rem 1.15rem}}.topic-progress-section{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#eadff5);border-radius:20px;margin-top:1.5rem;padding:1.5rem;box-shadow:0 8px 25px #8b5cf60a}.topic-progress-heading{justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.25rem;display:flex}.topic-progress-heading .page-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.09em;text-transform:uppercase;margin:0 0 .3rem;font-size:.78rem;font-weight:800}.topic-progress-heading h2{color:var(--theme-text,#17142a);margin:0;font-size:1.3rem}.topic-progress-heading p{color:var(--theme-muted,#6b647c);margin:.4rem 0 0;font-size:.9rem}.topic-progress-heading>span{color:var(--theme-muted,#6b647c);white-space:nowrap;font-size:.88rem}.topic-progress-groups{flex-direction:column;gap:3rem;display:flex}.topic-progress-group{flex-direction:column;gap:1rem;display:flex}.topic-progress-group-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.topic-progress-group-header h3{color:var(--theme-text,#3f3952);margin:0;font-size:1.1rem;font-weight:700}.topic-progress-group-header span{background:var(--theme-soft,#f4edff);color:var(--theme-accent,#7c3aed);border-radius:999px;padding:.35rem .75rem;font-size:.9rem;font-weight:600}.topic-progress-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;display:grid}.topic-progress-card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e6ddea);border-radius:14px;flex-direction:column;gap:.9rem;padding:1rem;display:flex}.topic-progress-card-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.topic-progress-card-header>div{flex-direction:column;gap:.2rem;min-width:0;display:flex}.topic-progress-card-header>div>strong{color:var(--theme-accent,#7c3aed);font-size:.9rem}.topic-progress-card-header>strong{color:var(--theme-accent,#7c3aed);flex:none;font-size:1rem}.topic-progress-card-header span{color:var(--theme-muted,#6b647c);font-size:.88rem}.topic-progress-bar{background:var(--theme-soft,#eee7f5);border-radius:999px;width:100%;height:8px;overflow:hidden}.topic-progress-bar-fill{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#c084fc);height:100%;transition:width .25s}.topic-mastery-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem;display:grid}.topic-mastery-list div{justify-content:space-between;align-items:center;gap:.75rem;min-width:0;display:flex}.topic-mastery-list span{color:var(--theme-muted,#6b647c);font-size:.9rem}.topic-mastery-list strong{color:var(--theme-text,#3f3952);font-size:.95rem}.topic-group{margin-top:2.5rem}.topic-group:first-child{margin-top:0}.topic-group-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.topic-group-header h3{color:var(--theme-text,#3f3952);margin:0;font-size:1.1rem;font-weight:700}.topic-group-header span{color:var(--theme-muted,#6b647c);opacity:.8;font-size:.9rem}@media (width<=980px){.topic-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.topic-progress-section{border-radius:16px;padding:1.1rem}.topic-progress-heading{flex-direction:column;align-items:flex-start;gap:.75rem}.topic-progress-heading>span{white-space:normal}.topic-progress-grid{grid-template-columns:1fr}.topic-progress-groups{gap:2rem}.topic-progress-group-header{flex-direction:column;align-items:flex-start;gap:.5rem}}@media (width<=600px){.topic-mastery-list{grid-template-columns:1fr}}.calendar-page{margin-block:24px 48px}.calendar-header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.calendar-label{color:var(--theme-accent,#8b5cf6);letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:.8rem;font-weight:800}.calendar-header h1{color:var(--theme-text,#17142a);margin:0 0 8px;font-size:2.6rem}.calendar-header>div>p:last-child{max-width:620px;color:var(--theme-muted,#6b647c);margin:0;line-height:1.6}.calendar-new-event-button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#8b5cf6,#a855f7);border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex}.calendar-new-event-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #8b5cf633}.calendar-placeholder{border:1px solid var(--theme-border,#eadff5);background:var(--theme-surface,white);text-align:center;border-radius:24px;justify-items:center;margin-top:32px;padding:64px 24px;display:grid;box-shadow:0 10px 28px #8b5cf60d}.calendar-placeholder-icon{background:var(--theme-soft,#f4edff);width:54px;height:54px;color:var(--theme-accent,#8b5cf6);border-radius:16px;place-items:center;margin-bottom:16px;display:grid}.calendar-placeholder h2{color:var(--theme-text,#17142a);margin:0 0 8px}.calendar-placeholder>p{color:var(--theme-muted,#6b647c);margin:0}.calendar-event-preview-list{text-align:left;gap:10px;width:min(100%,620px);margin-top:28px;display:grid}.calendar-event-preview{border:1px solid var(--theme-border,#eadff5);background:var(--theme-surface-raised,#faf8ff);border-radius:14px;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;display:flex}.calendar-event-preview>div{gap:4px;display:grid}.calendar-event-preview span{color:var(--theme-accent,#8b5cf6);letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:800}.calendar-event-preview strong{color:var(--theme-text,#17142a)}.calendar-event-preview time{color:var(--theme-muted,#6b647c);flex-shrink:0;font-size:.9rem;font-weight:600}.calendar-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10000;background:#17142a59;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.calendar-modal{box-sizing:border-box;border:1px solid var(--theme-border,#eadff5);background:var(--theme-surface,white);border-radius:20px;width:min(560px,100vw - 48px);max-height:calc(100vh - 48px);padding:28px;overflow-y:auto;box-shadow:0 24px 80px #17142a33}.calendar-modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.calendar-modal-header h2{color:var(--theme-text,#17142a);margin:0;font-size:1.5rem}.calendar-modal-close-button{width:38px;height:38px;color:var(--theme-muted,#6b647c);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;place-items:center;padding:0;display:grid}.calendar-modal-close-button:hover{background:var(--theme-soft,#f4edff);color:var(--theme-accent,#7c3aed)}.calendar-modal-close-button:disabled{cursor:not-allowed;opacity:.5}.calendar-modal-edit-button,.calendar-modal-delete-button{min-height:44px;font:inherit;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s,box-shadow .2s,opacity .2s;display:inline-flex}.calendar-modal-edit-button{background:var(--theme-soft,#f4edff);color:var(--theme-accent,#7c3aed)}.calendar-modal-edit-button:hover{background:var(--theme-soft,#eadcff);transform:translateY(-1px)}.calendar-modal-delete-button{background:var(--theme-danger-surface,#fff1f2);color:var(--theme-danger-text,#be123c)}.calendar-modal-delete-button:hover:not(:disabled){background:var(--theme-danger-surface,#ffe4e6);transform:translateY(-1px)}.calendar-modal-delete-button:disabled{cursor:not-allowed;opacity:.55;transform:none}.calendar-edit-series-info{border:1px solid var(--theme-border,#e3d8ee);background:var(--theme-surface-raised,#faf8ff);color:var(--theme-muted,#6b647c);border-radius:12px;margin:0 0 18px;padding:12px 14px;font-size:.9rem;line-height:1.5}.calendar-form{gap:16px;display:grid}.calendar-form-field{gap:7px;display:grid}.calendar-form-field>span,.calendar-all-day-field>span{color:var(--theme-text,#342d3b);font-size:.9rem;font-weight:700}.calendar-form-field input,.calendar-form-field select,.calendar-form-field textarea{box-sizing:border-box;border:1px solid var(--theme-border,#d9cfe2);background:var(--theme-surface,white);width:100%;color:var(--theme-text,#28232d);font:inherit;border-radius:12px;outline:none;transition:border-color .2s,box-shadow .2s,background-color .2s}.calendar-form-field input,.calendar-form-field select{min-height:46px;padding:0 14px}.calendar-form-field textarea{resize:vertical;min-height:100px;padding:12px 14px;line-height:1.5}.calendar-form-field input::placeholder,.calendar-form-field textarea::placeholder{color:var(--theme-muted,#aaa2b0)}.calendar-form-field input:hover,.calendar-form-field select:hover,.calendar-form-field textarea:hover{border-color:var(--theme-control-border,#c4b4d4)}.calendar-form-field input:focus,.calendar-form-field select:focus,.calendar-form-field textarea:focus{border-color:var(--theme-accent,#8b5cf6);box-shadow:0 0 0 4px #8b5cf61f}.calendar-form-field input:disabled,.calendar-form-field select:disabled,.calendar-form-field textarea:disabled{background:var(--theme-surface-raised,#f7f4f9);cursor:not-allowed}.calendar-form-field select{cursor:pointer;padding-right:42px}.calendar-time-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.calendar-all-day-field{cursor:pointer;align-items:center;gap:10px;width:fit-content;display:inline-flex}.calendar-all-day-field input{accent-color:#8b5cf6;cursor:pointer;width:18px;height:18px}.calendar-form-error{background:var(--theme-danger-surface,#fef2f2);color:var(--theme-danger-text,#b42318);border:1px solid #fecaca;border-radius:11px;margin:0;padding:11px 13px;font-size:.9rem;font-weight:600;line-height:1.45}.calendar-modal-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.calendar-modal-cancel-button,.calendar-modal-submit-button{min-height:44px;font:inherit;cursor:pointer;border:none;border-radius:12px;padding:10px 16px;font-weight:700;transition:transform .2s,background-color .2s,box-shadow .2s,opacity .2s}.calendar-modal-cancel-button{background:var(--theme-soft,#f1edf5);color:var(--theme-text,#342d3b)}.calendar-modal-cancel-button:hover:not(:disabled){background:var(--theme-soft,#e8e1ee)}.calendar-modal-submit-button{color:#fff;background:linear-gradient(135deg,#8b5cf6,#a855f7);box-shadow:0 7px 16px #8b5cf62e}.calendar-modal-submit-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #8b5cf63d}.calendar-modal-cancel-button:disabled,.calendar-modal-submit-button:disabled{cursor:not-allowed;opacity:.55;transform:none}.calendar-event-details{gap:16px;display:grid}.calendar-event-detail-subject{border:1px solid var(--theme-border,#eadff5);background:var(--theme-surface-raised,#faf8ff);border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.calendar-event-detail-subject strong{color:var(--theme-accent,#7c3aed);font-size:.95rem}.calendar-event-detail-subject span{color:var(--theme-muted,#6b647c);text-align:right;font-size:.9rem}.calendar-event-detail-row{border:1px solid var(--theme-border,#eee7f5);background:var(--theme-surface,#fff);border-radius:14px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.calendar-event-detail-row>svg{color:var(--theme-accent,#8b5cf6);flex-shrink:0;margin-top:2px}.calendar-event-detail-row>div{gap:3px;display:grid}.calendar-event-detail-row span,.calendar-event-detail-description>span{color:var(--theme-muted,#8b8490);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.calendar-event-detail-row strong{color:var(--theme-text,#342d3b);font-size:.95rem;line-height:1.45}.calendar-event-detail-description{border:1px solid var(--theme-border,#eee7f5);background:var(--theme-surface-raised,#faf8ff);border-radius:14px;padding:16px}.calendar-event-detail-description p{color:var(--theme-muted,#5f5873);margin:8px 0 0;line-height:1.6}.calendar-card{border:1px solid var(--theme-border,#eadff5);background:var(--theme-surface,white);border-radius:24px;margin-top:32px;overflow:hidden;box-shadow:0 10px 28px #8b5cf60d}.calendar-toolbar{border-bottom:1px solid var(--theme-border,#eee7f5);grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:20px 22px;display:grid}.calendar-toolbar h2{color:var(--theme-text,#17142a);text-align:center;text-transform:capitalize;margin:0;font-size:1.35rem}.calendar-month-navigation{align-items:center;gap:8px;display:flex}.calendar-navigation-button,.calendar-today-button,.calendar-view-button{border:1px solid var(--theme-border,#e3d8ee);background:var(--theme-surface,white);min-height:38px;color:var(--theme-muted,#5f5873);font:inherit;cursor:pointer;border-radius:10px;font-weight:700}.calendar-navigation-button{place-items:center;width:38px;padding:0;display:grid}.calendar-today-button{padding:0 14px}.calendar-navigation-button:hover,.calendar-today-button:hover,.calendar-view-button:hover:not(:disabled){border-color:var(--theme-control-border,#cdb6e8);background:var(--theme-soft,#faf5ff);color:var(--theme-accent,#7c3aed)}.calendar-view-switcher{justify-content:flex-end;gap:6px;display:flex}.calendar-view-button{padding:0 12px}.calendar-view-button-active{border-color:var(--theme-control-border,#a78bfa);background:var(--theme-soft,#f4edff);color:var(--theme-accent,#7c3aed)}.calendar-view-button:disabled{cursor:default;opacity:.45}.calendar-weekdays{border-bottom:1px solid var(--theme-border,#eee7f5);background:var(--theme-surface-raised,#faf8ff);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays>div{color:var(--theme-muted,#756d82);text-align:center;text-transform:uppercase;padding:12px 10px;font-size:.78rem;font-weight:800}.calendar-month-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-day{border-right:1px solid var(--theme-border,#eee7f5);border-bottom:1px solid var(--theme-border,#eee7f5);background:var(--theme-surface,#fff);min-width:0;min-height:105px;padding:10px}.calendar-day:nth-child(7n){border-right:none}.calendar-day:nth-last-child(-n+7){border-bottom:none}.calendar-day-outside{background:var(--theme-surface-raised,#fcfbfd)}.calendar-day-outside .calendar-day-number{color:var(--theme-muted,#b9b0bf)}.calendar-day-header{justify-content:flex-end;margin-bottom:7px;display:flex}.calendar-day-number{width:30px;height:30px;color:var(--theme-text,#4e4658);border-radius:50%;place-items:center;font-size:.85rem;font-weight:700;display:grid}.calendar-day-number-today{color:#fff;background:#8b5cf6}.calendar-day-events{gap:5px;display:grid}.calendar-event{color:#4c3570;text-align:left;cursor:pointer;background:#f4edff;border:none;border-radius:9px;gap:2px;width:100%;min-width:0;padding:7px 8px;transition:transform .15s,background-color .15s;display:grid}.calendar-event:hover{background:#eadcff;transform:translateY(-1px)}.calendar-event-time{color:#7c3aed;font-size:.68rem;font-weight:800}.calendar-event-subject{color:#8b5cf6;letter-spacing:.03em;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;font-weight:800;overflow:hidden}.calendar-event strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.76rem;line-height:1.25;overflow:hidden}.calendar-event-type{color:#756d82;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;overflow:hidden}.calendar-subject-purple{color:#5b21b6;background:#f3ecff;border:1px solid #c4b5fd}.calendar-subject-pink{color:#be185d;background:#fff0f5;border:1px solid #f9a8d4}.calendar-subject-green{color:#237a3b;background:#eefaf1;border:1px solid #86d49b}.calendar-subject-blue{color:#1d4ed8;background:#eef6ff;border:1px solid #93c5fd}.calendar-subject-orange{color:#c2410c;background:#fff7ed;border:1px solid #fdba74}.calendar-subject-teal{color:#0f766e;background:#f0fdfa;border:1px solid #5eead4}.calendar-subject-red{color:#be123c;background:#fff1f2;border:1px solid #fda4af}.calendar-subject-yellow{color:#a16207;background:#fefce8;border:1px solid #fde047}.calendar-subject-default,.calendar-subject-general{color:#4b5563;background:#f3f4f6;border:1px solid #d1d5db}.calendar-subject-purple .calendar-event-time,.calendar-subject-purple .calendar-event-subject{color:#7c3aed}.calendar-subject-pink .calendar-event-time,.calendar-subject-pink .calendar-event-subject{color:#db2777}.calendar-subject-green .calendar-event-time,.calendar-subject-green .calendar-event-subject{color:#2f9e55}.calendar-subject-blue .calendar-event-time,.calendar-subject-blue .calendar-event-subject{color:#2563eb}.calendar-subject-orange .calendar-event-time,.calendar-subject-orange .calendar-event-subject{color:#ea580c}.calendar-subject-teal .calendar-event-time,.calendar-subject-teal .calendar-event-subject{color:#0d9488}.calendar-subject-red .calendar-event-time,.calendar-subject-red .calendar-event-subject{color:#e11d48}.calendar-subject-yellow .calendar-event-time,.calendar-subject-yellow .calendar-event-subject{color:#ca8a04}.calendar-event-exam,.calendar-event-deadline{color:#9f1239;background:#fff1f2}.calendar-event-assignment,.calendar-event-exercise{color:#8a5513;background:#fef7e8}.calendar-event-other{color:#4b5563;background:#f3f4f6}.calendar-week-view{grid-template-columns:repeat(7,minmax(0,1fr));width:100%;display:grid}.calendar-week-day{border-right:1px solid var(--theme-border,#eee7f5);background:var(--theme-surface,white);align-content:start;justify-items:center;gap:6px;min-width:0;min-height:120px;padding:18px 10px;display:grid}.calendar-week-day:last-child{border-right:none}.calendar-week-day span{color:var(--theme-muted,#756d82);text-transform:uppercase;font-size:.78rem;font-weight:800}.calendar-week-day strong{width:36px;height:36px;color:var(--theme-text,#342d3b);border-radius:50%;place-items:center;font-size:1rem;display:grid}.calendar-week-navigation{justify-content:center;align-items:center;gap:8px;padding:18px 20px 0;display:flex}.calendar-week-title{color:var(--theme-text,#17142a);text-align:center;text-transform:capitalize;margin:14px 0 18px;font-size:1.2rem}.calendar-week-day-number{width:36px;height:36px;color:var(--theme-text,#342d3b);border-radius:50%;place-items:center;font-size:1rem;display:grid}.calendar-week-day-number-today{color:#fff;background:#8b5cf6}.calendar-week-schedule{grid-template-columns:64px minmax(0,1fr);display:grid}.calendar-week-time-column{border-right:1px solid var(--theme-border,#eee7f5);background:var(--theme-surface-raised,#faf8ff);grid-template-rows:58px repeat(14,56px);display:grid}.calendar-week-time-spacer{border-bottom:1px solid var(--theme-border,#eee7f5)}.calendar-week-time-label{color:var(--theme-muted,#8b8490);border-bottom:1px solid var(--theme-border,#f1ecf5);justify-content:center;align-items:flex-start;padding-top:6px;font-size:.72rem;font-weight:700;display:flex}.calendar-week-schedule-content{min-width:0}.calendar-week-day-schedule{background:repeating-linear-gradient(to bottom, transparent 0, transparent 55px, var(--theme-soft,#f1ecf5) 56px);width:100%;min-height:784px;margin-top:-16px;position:relative}.calendar-week-event{text-align:left;cursor:pointer;border:1px solid #0000;border-radius:9px;gap:2px;min-width:0;min-height:44px;padding:7px 8px;transition:transform .15s,box-shadow .15s;display:grid;position:absolute;overflow:hidden;box-shadow:0 4px 10px #8b5cf614}.calendar-week-event:hover{transform:translateY(-1px);box-shadow:0 7px 14px #8b5cf624}.calendar-day-schedule{grid-template-columns:64px minmax(0,1fr);display:grid}.calendar-day-schedule-content{min-width:0}.calendar-day-schedule-header{border-bottom:1px solid var(--theme-border,#eee7f5);background:var(--theme-surface-raised,#faf8ff);justify-content:center;align-items:center;gap:10px;min-height:58px;padding:10px 16px;display:flex}.calendar-day-schedule-header>span{color:var(--theme-muted,#756d82);text-transform:uppercase;font-size:.8rem;font-weight:800}.calendar-day-timeline{background:repeating-linear-gradient(to bottom, transparent 0, transparent 55px, var(--theme-soft,#f1ecf5) 56px);min-height:784px;position:relative}.calendar-day-event{text-align:left;cursor:pointer;border:1px solid #0000;border-radius:12px;align-content:start;gap:4px;min-width:0;min-height:44px;padding:10px 12px;transition:transform .15s,box-shadow .15s;display:grid;position:absolute;overflow:hidden;box-shadow:0 5px 14px #8b5cf61a}.calendar-day-event:hover{transform:translateY(-1px);box-shadow:0 8px 18px #8b5cf629}.calendar-day-event .calendar-event-time{font-size:.76rem}.calendar-day-event .calendar-event-subject{font-size:.72rem}.calendar-day-event>strong{font-size:.95rem;line-height:1.3}.calendar-day-event-location{color:#756d82;margin-top:2px;font-size:.75rem;font-weight:600}@media (width<=700px){.calendar-page{margin-block:24px 48px}.calendar-header{flex-direction:column}.calendar-header h1{font-size:2rem}.calendar-new-event-button{width:100%}.calendar-placeholder{border-radius:20px;margin-top:24px;padding:40px 20px}.calendar-event-preview{flex-direction:column;align-items:flex-start;gap:8px}.calendar-modal-overlay{padding:16px}.calendar-modal{border-radius:18px;width:100%;max-height:calc(100dvh - 32px);padding:20px}.calendar-modal-header{margin-bottom:20px}.calendar-modal-header h2{font-size:1.3rem}.calendar-time-grid{grid-template-columns:1fr}.calendar-modal-actions{flex-direction:column-reverse;gap:10px}.calendar-modal-cancel-button,.calendar-modal-submit-button{width:100%}.calendar-card{overflow-x:auto}.calendar-toolbar{grid-template-columns:1fr;gap:14px;padding:16px}.calendar-toolbar h2{grid-row:1;font-size:1.2rem}.calendar-month-navigation,.calendar-view-switcher{justify-content:center}.calendar-day{min-height:130px}.calendar-event-detail-subject{flex-direction:column;align-items:flex-start;gap:4px}.calendar-event-detail-subject span{text-align:left}.calendar-day-schedule{grid-template-columns:52px minmax(0,1fr)}.calendar-day-schedule-header{min-height:52px;padding:8px 12px}.calendar-day-event{border-radius:10px;padding:8px 10px}.calendar-week-time-label{font-size:.68rem}.calendar-week-schedule{grid-template-columns:52px minmax(0,1fr);overflow-x:auto}.calendar-week-schedule-content,.calendar-week-view{min-width:700px}.calendar-week-day{min-width:100px}.calendar-week-event{padding:6px}.calendar-week-event .calendar-event-time{font-size:.68rem}.calendar-week-event .calendar-event-subject{font-size:.65rem}.calendar-week-event strong{font-size:.76rem}.calendar-weekdays{grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays>div{padding:9px 2px;font-size:.62rem}.calendar-month-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{min-width:0;min-height:82px;padding:5px 4px}.calendar-day-header{justify-content:center}.calendar-day-number{font-size:.72rem}.calendar-day-number-today{width:26px;height:26px}.calendar-day-events{gap:3px;margin-top:4px}.calendar-event{border-radius:6px;min-width:0;padding:4px}.calendar-event-time{font-size:.56rem}.calendar-event-subject{font-size:.54rem}.calendar-event strong{text-overflow:ellipsis;white-space:nowrap;font-size:.6rem;line-height:1.15;overflow:hidden}.calendar-event-type,.calendar-month-grid .calendar-event-subject{display:none}.calendar-month-grid .calendar-event-time{font-size:.56rem}.calendar-month-grid .calendar-event strong{font-size:.6rem;line-height:1.1}}.admin-books-page{flex-direction:column;gap:2rem;display:flex}.admin-books-section{border:1px solid var(--theme-border,#e5e7eb);background:var(--theme-surface,#fff);border-radius:18px;padding:1.5rem}.admin-books-section h2{margin-top:0;margin-bottom:1rem}.admin-books-form{gap:1rem;display:grid}.admin-books-form label{margin-bottom:.35rem;font-weight:600;display:block}.admin-books-form input,.admin-books-form select,.admin-books-select{border:1px solid var(--theme-border,#d1d5db);background:var(--theme-surface,#fff);width:100%;font:inherit;border-radius:10px;padding:.75rem .85rem}.admin-books-form input:focus,.admin-books-form select:focus,.admin-books-select:focus{outline:2px solid var(--theme-control-border,#c4b5fd);outline-offset:1px;border-color:var(--theme-accent,#8b5cf6)}.admin-books-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.admin-books-actions{flex-wrap:wrap;gap:.75rem;margin-top:.25rem;display:flex}.admin-books-actions button,.admin-books-item-actions button{font:inherit;cursor:pointer;border:0;border-radius:10px;padding:.65rem 1rem;font-weight:600}.admin-books-primary-button{color:#fff;background:#7c3aed}.admin-books-secondary-button{background:var(--theme-soft,#f3f4f6);color:var(--theme-text,#374151)}.admin-books-delete-button{background:var(--theme-danger-surface,#fee2e2);color:var(--theme-danger-text,#b91c1c)}.admin-books-actions button:disabled,.admin-books-item-actions button:disabled{opacity:.55;cursor:not-allowed}.admin-books-list{flex-direction:column;gap:.75rem;margin-top:1rem;display:flex}.admin-books-item{border:1px solid var(--theme-border,#e5e7eb);border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.admin-books-item-content{min-width:0}.admin-books-item-content strong{margin-bottom:.2rem;display:block}.admin-books-item-content span{color:var(--theme-muted,#6b7280);font-size:.9rem}.admin-books-item-actions{flex-shrink:0;gap:.5rem;display:flex}.admin-books-message{border-radius:10px;padding:.85rem 1rem}.admin-books-error{background:var(--theme-danger-surface,#fef2f2);color:var(--theme-danger-text,#b91c1c)}.admin-books-success{background:var(--theme-success-surface,#f0fdf4);color:var(--theme-success-text,#166534)}.admin-books-empty{color:var(--theme-muted,#6b7280)}@media (width<=700px){.admin-books-section{padding:1.1rem}.admin-books-row{grid-template-columns:1fr}.admin-books-item{flex-direction:column;align-items:flex-start}.admin-books-item-actions{width:100%}.admin-books-item-actions button{flex:1}}@media (width<=700px){.learning-page.site-container{padding-block:20px 40px}}.concept-page .concept-page-definition{margin:16px 0 0}.concept-page .concept-page-contexts{gap:8px;display:grid}.concept-page .concept-page-context{color:var(--app-muted,#716879);flex-wrap:wrap;gap:8px;font-size:.9rem;text-decoration:none;display:flex}@media (width<=700px){.learning-page.site-container{padding-block:20px 40px}}.topic-learning .topic-introduction{white-space:pre-wrap;margin:16px 0 0}.topic-learning .topic-page-section-header h2{color:inherit;margin:0 0 12px;font-size:1.25rem}.topic-learning .topic-learning-empty{color:var(--app-muted,#716879);font-size:.93rem}.topic-learning .topic-concept-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;padding:0;list-style:none;display:grid}.topic-learning .topic-concept-list a{border-bottom:1px solid var(--app-border,#e6dfed);color:inherit;justify-content:space-between;gap:12px;padding-block:9px;font-size:.95rem;text-decoration:none;display:flex}.topic-learning .topic-concept-list a span{color:var(--app-muted,#716879)}.topic-learning .topic-rule{margin-block:16px}.topic-learning .topic-rule h3{margin:0 0 8px;font-size:1rem}.topic-learning :is(.topic-example,.topic-more){margin-top:12px}.topic-learning summary{cursor:pointer;color:var(--app-text,#29252f);padding-block:6px;font-size:.94rem}.topic-learning .topic-introduction-editor{gap:8px;margin-top:12px;display:grid}.topic-learning textarea{box-sizing:border-box;resize:vertical;width:100%;font:inherit;color:inherit;background:var(--app-surface,#fff);border:1px solid var(--app-border,#ddd);border-radius:8px;padding:10px}.topic-learning button{font:inherit;border:1px solid var(--app-border,#ede9fe);color:var(--app-accent,#7c3aed);background:var(--app-surface,#fff);cursor:pointer;border-radius:6px;padding:6px 10px;font-size:.9rem}.topic-learning button.topic-introduction-control{color:var(--app-muted,#716879);background:0 0;border:0;margin-top:8px;padding:0}.topic-learning button:disabled{opacity:.6;cursor:wait}@media (width<=700px){.topic-learning .topic-concept-list{grid-template-columns:1fr}}.topic-learning .topic-subtopic-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.topic-learning .topic-subtopic-list a{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);color:inherit;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;font-weight:600;text-decoration:none;display:grid}.topic-learning .topic-subtopic-list a:hover{border-color:var(--app-accent,#7c3aed);color:var(--app-accent,#7c3aed)}.topic-learning .topic-concept-list{flex-wrap:wrap;gap:8px;display:flex}.topic-learning .topic-concept-list a{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);border-radius:8px;padding:4px 10px;font-size:.88rem;display:block}@media (width<=700px){.topic-learning .topic-subtopic-list a{gap:8px;padding:10px}}.topic-learning .topic-sources{border-top:1px solid var(--app-border,#e6dfed);padding-top:12px}.topic-learning .topic-sources summary{color:var(--app-muted,#716879);list-style:none}.topic-learning .topic-sources summary::-webkit-details-marker{display:none}.topic-learning .topic-sources-open,.topic-learning .topic-sources[open] .topic-sources-closed{display:none}.topic-learning .topic-sources[open] .topic-sources-open{display:inline}.learning-page.site-container{max-width:820px;color:var(--app-text,#29252f);overflow-wrap:anywhere;margin-inline:auto;padding-block:28px 64px;line-height:1.7}.learning-page>header h1,.learning-page>h1{letter-spacing:-.025em;color:inherit;margin:0;font-size:clamp(1.85rem,4vw,2.6rem);line-height:1.2}.learning-page .learning-label{color:var(--app-muted,#716879);letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:.76rem}.learning-page .back-link{color:var(--app-muted,#716879);margin-bottom:20px;font-size:.9rem;text-decoration:none;display:inline-block}.learning-page .learning-section{margin-top:28px}.learning-page .learning-section>h2,.learning-page .learning-entry>h2{color:inherit;margin:0 0 12px;font-size:1.25rem;line-height:1.4}.learning-page .learning-entry{border-bottom:1px solid var(--app-border,#e6dfed);padding-block:24px}.learning-page .learning-entry:first-child{padding-top:0}.learning-page .learning-entry h2 a{color:inherit;text-decoration:none}.learning-page a:hover{color:var(--app-accent,#7c3aed);text-underline-offset:3px;text-decoration:underline}.learning-page :is(a,summary,button):focus-visible{outline:2px solid var(--app-accent,#7c3aed);outline-offset:4px}.learning-page .learning-source-list{margin:0;padding:0;list-style:none}.learning-page .learning-source-list li+li{border-top:1px solid var(--app-border,#e6dfed)}.learning-page .learning-source-list a{color:var(--app-muted,#716879);padding-block:9px;font-size:.93rem;text-decoration:none;display:block}.learning-page .learning-fallback{color:var(--app-muted,#716879);margin-top:24px}.learning-page .learning-fallback summary{cursor:pointer;font-weight:600}.learning-page .learning-fallback article{margin-top:18px}.learning-page .learning-fallback h3{margin:0 0 4px;font-size:1rem}.learning-page .learning-fallback h3 a{color:inherit;text-decoration:none}.learning-page .learning-fallback p{margin:0}.learning-page .structured-source+.structured-source{margin-top:20px}.learning-page .structured-source-link{color:var(--app-muted,#716879);font-size:.86rem;text-decoration:none}.learning-page .read-only-note{width:100%;max-width:100%;min-height:0;margin:0;padding:0;display:block}.learning-page .note-outline{display:none}.learning-page .note-reading-body{width:100%;max-width:100%;padding:0}.learning-page .read-only-note-content{padding:0}.learning-page .katex-display{overflow:auto hidden}@media (width<=700px){.learning-page.site-container{padding-block:20px 40px}}[data-theme=dark] .learning-page .note-callout .note-callout-concept-selected{color:var(--app-text)}.subtopic-page .subtopic-sections-nav{border-block:1px solid var(--app-border,#e6dfed);margin-top:16px;padding-block:10px}.subtopic-page .subtopic-sections-nav>span,.subtopic-page .subtopic-concept-links>span{color:var(--app-muted,#716879);font-size:.8rem}.subtopic-page .subtopic-sections-nav ul,.subtopic-page .subtopic-concept-links ul{flex-wrap:wrap;gap:6px 20px;margin:4px 0 0;padding:0;list-style:none;display:flex}.subtopic-page .subtopic-sections-nav ul{gap:8px;margin-top:8px}.subtopic-page .subtopic-sections-nav a{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);min-height:36px;color:var(--app-text,#29252f);border-radius:8px;align-items:center;padding:4px 12px;font-size:.92rem;font-weight:600;text-decoration:none;display:inline-flex}.subtopic-page .subtopic-sections-nav a:hover{color:var(--app-accent,#7c3aed);border-color:var(--app-accent,#7c3aed);text-decoration:underline}.subtopic-page .subtopic-sections-nav+.subtopic-content-section{margin-top:20px}.subtopic-page .subtopic-content-section{margin-top:32px;scroll-margin-top:96px}.subtopic-page .subtopic-section-heading{align-items:baseline;gap:10px;margin-bottom:14px;display:flex}.subtopic-page .subtopic-section-heading h2{color:inherit;margin:0;font-size:1.3rem;line-height:1.4}.subtopic-page .subtopic-section-heading>span{border:1px solid var(--app-border,#e6dfed);background:var(--app-surface,#fff);min-width:24px;height:24px;color:var(--app-muted,#716879);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;padding-inline:6px;font-size:.75rem;line-height:1;display:inline-flex}.subtopic-page .subtopic-concept-links{margin-top:12px}.subtopic-page .subtopic-concept-links a{color:var(--app-muted,#716879);font-size:.88rem;text-decoration:none}.subtopic-page .subtopic-concept-links a:hover{color:var(--app-accent,#7c3aed);text-decoration:underline}.subtopic-page .subtopic-sources{border-top:1px solid var(--app-border,#e6dfed);padding-top:22px}@media (width<=700px){.subtopic-page .subtopic-sections-nav ul{gap:8px}.subtopic-page .subtopic-content-section{margin-top:26px;scroll-margin-top:80px}.subtopic-page .subtopic-section-heading h2{font-size:1.15rem}}.admin-concepts-card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#ede9fe);border-radius:16px;max-width:720px;margin-top:32px;padding:28px}.admin-concepts-card h2{margin:0 0 24px}.admin-concepts-form{gap:10px;display:grid}.admin-concepts-form label{color:var(--theme-text,#374151);margin-top:10px;font-size:.9rem;font-weight:600}.admin-concepts-form select{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#d1d5db);width:100%;color:var(--theme-text,#18181b);font:inherit;border-radius:8px;padding:11px 12px}.admin-concepts-form select:focus{border-color:var(--theme-accent,#7c3aed);outline:none}.admin-concepts-form button{color:#fff;font:inherit;cursor:pointer;background:#7c3aed;border:0;border-radius:8px;justify-self:start;margin-top:18px;padding:10px 18px;font-weight:600}.admin-concepts-form button:disabled{cursor:default;opacity:.6}.admin-concepts-message{margin:12px 0 0;font-size:.9rem}.admin-concepts-error{color:var(--theme-danger-text,#b91c1c)}.admin-concepts-success{color:var(--theme-success-text,#15803d)}.admin-concept-links{background:var(--theme-surface-raised,#faf8ff);border:1px solid var(--theme-border,#ede9fe);border-radius:10px;margin:12px 0 8px;padding:16px}.admin-concept-links-label{color:var(--theme-accent,#7c3aed);text-transform:uppercase;margin:0 0 10px;font-size:.8rem;font-weight:700}.admin-concept-links-empty{color:var(--theme-muted,#71717a);margin:0;font-size:.9rem}.admin-concept-links-list{gap:8px;display:grid}.admin-concept-link{align-items:center;gap:8px;font-size:.9rem;display:flex}.admin-concept-link span{color:var(--theme-accent,#7c3aed)}.admin-concept-link{justify-content:space-between;align-items:center;gap:16px;font-size:.9rem;display:flex}.admin-concept-link-name{align-items:center;gap:8px;display:flex}.admin-concept-link-name span{color:var(--theme-accent,#7c3aed)}.admin-concept-link-remove{color:var(--theme-muted,#71717a);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 8px;font-size:.85rem}.admin-concept-link-remove:hover{color:var(--theme-danger-text,#b91c1c)}:root{--site-max-width:1280px;--site-gutter:24px}.site-container,.page-container{width:min(var(--site-max-width), calc(100% - 2 * var(--site-gutter)));max-width:var(--site-max-width);min-width:0;margin-inline:auto;padding-inline:0}@media (width<=1100px){:root{--site-gutter:16px}}@media (width<=700px){:root{--site-gutter:10px}}@media (width<=420px){:root{--site-gutter:8px}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-surface:#231e2e;--app-background:#191520;--app-text:#eee9f5;--app-muted:#b7abc8;--app-border:#3b314a;--app-soft:#30243f;--app-accent:#c4a0ff}[data-theme=dark] body{background:var(--app-background);color:var(--app-text)}[data-theme=dark] :is(h1,h2,h3,h4,h5,h6){color:var(--app-text)}[data-theme=dark] :is(.page-description,.subject-description,.weekly-update-name,.semester-subject-item h3,.home-progress-details,.home-progress-rating,.upcoming-task p,.upcoming-task time,.exam-card p,.search-description,.search-snippet,.search-message,.note-description,.read-only-note-content,.ProseMirror){color:var(--app-muted)}[data-theme=dark] :is(.upcoming-task,.semester-subject-item,.home-progress-item,.exam-card,.subject-card,.subject-feature-card,.subject-progress,.subject-knowledge-base,.note-card,.folder-card,.pdf-card,.video-card,.flashcard,.settings-card,.profile-card,.auth-card,.search-results,.exam-section,.calendar-card,.calendar-sidebar,.calendar-main,.note-editor-toolbar,.note-outline,.editable-note-editor-wrapper,.editor-toolbar,.note-reading-tools){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(input,textarea,select){background:var(--app-surface);color:var(--app-text);border-color:var(--app-border)}[data-theme=dark] :is(.search-title,.read-only-note-content,.ProseMirror,.exam-card h3){color:var(--app-text)}[data-theme=dark] :is(.search-icon,.search-result:hover,.home-progress-bar,.subject-progress-bar,.resource-progress--compact,.note-outline-link:hover){background:var(--app-soft)}[data-theme=dark] :is(.page-label,.back-link,.semester-subjects-header a,.weekly-updates-week,.upcoming-tasks-header a,.exam-card span){color:var(--app-accent)}[data-theme=dark] :is(.upcoming-task-time-today,.upcoming-task-time-tomorrow){color:var(--app-text)!important}[data-theme=dark] .read-only-note-content :is(blockquote,pre,th,td){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] .search-result{color:var(--app-text)}[data-theme=dark] .weekly-update-details{color:var(--app-muted)}[data-theme=dark] :is(.semester-subject-purple .semester-subject-code,.weekly-update-purple .weekly-update-code,.upcoming-task-purple .upcoming-task-code,.home-progress-purple strong){color:#c4a0ff}[data-theme=dark] :is(.semester-subject-pink .semester-subject-code,.weekly-update-pink .weekly-update-code,.upcoming-task-pink .upcoming-task-code,.home-progress-pink strong){color:#f59aca}[data-theme=dark] :is(.semester-subject-blue .semester-subject-code,.weekly-update-blue .weekly-update-code,.upcoming-task-blue .upcoming-task-code,.home-progress-blue strong){color:#8cbfff}[data-theme=dark] :is(.semester-subject-green .semester-subject-code,.weekly-update-green .weekly-update-code,.upcoming-task-green .upcoming-task-code,.home-progress-green strong){color:#86dc9c}[data-theme=dark] :is(.semester-subject-orange .semester-subject-code,.weekly-update-orange .weekly-update-code,.upcoming-task-orange .upcoming-task-code){color:#ffb478}[data-theme=dark] :is(.semester-subject-teal .semester-subject-code,.weekly-update-teal .weekly-update-code,.upcoming-task-teal .upcoming-task-code){color:#7be1d5}[data-theme=dark] :is(.semester-subject-red .semester-subject-code,.weekly-update-red .weekly-update-code,.upcoming-task-red .upcoming-task-code){color:#ff9db0}[data-theme=dark] :is(.semester-subject-yellow .semester-subject-code,.weekly-update-yellow .weekly-update-code,.upcoming-task-yellow .upcoming-task-code){color:#edd777}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) .note-callout[data-callout-type]{background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) .note-callout[data-callout-type] .note-callout-header{background:var(--app-soft);color:var(--app-accent)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) .tiptap-mathematics-render[data-type=block-math]{background:var(--app-surface);color:var(--app-text)}[data-theme=dark] .note-outline :is(summary,a[aria-current]){color:var(--app-accent)}[data-theme=dark] .note-outline a[aria-current]{background:var(--app-soft)}[data-theme=dark] :is(.note-reading-tools,.note-editor-toolbar,.note-navigation) :is(button,a,summary),[data-theme=dark] :is(.note-toolbar-options,.math-dialog,.concept-picker,.slash-menu-popover){background:var(--app-surface);color:var(--app-text);border-color:var(--app-border)}[data-theme=dark] :is(.note-reading-tools,.note-editor-toolbar) button:disabled{color:var(--app-muted);opacity:.5}[data-theme=dark] .note-reading-tools{background:0 0}[data-theme=dark] :is([class$=-card],[class*=-card\ ],[class$=-panel],.subject-syllabus-topic,.subject-progress-category,.topic-progress-item,.calendar-day,.calendar-day-header,.calendar-time-column,.calendar-week-grid,.programming-sidebar,.programming-content){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.subject-feature-card p,.subject-page-name,.subject-progress-summary,.subject-progress-category,.subject-knowledge-base-description,.subject-syllabus-description,.folder-card p,.pdf-card p,.video-card p,.note-card p,.settings-card p,.profile-card p,.auth-card p,.logged-out-hero-description,.logged-out-feature p,.home-empty-description){color:var(--app-muted)}[data-theme=dark] :is(.subject-feature-icon,.subject-progress-category,.subject-progress-bar){background:var(--app-soft)}[data-theme=dark] .subject-progress-category strong{color:var(--app-text)}:root[data-theme=dark]{--app-surface-raised:#2c2539;--app-surface-hover:#352c44;--app-input:#201a2a;--app-control-border:#746383}[data-theme=dark] :is(.note-card-wrapper,.notes-topic,.topic-page-subtopic,.subtopic-page-concept,.subtopic-page-empty,.subject-topic-progress,.resource-progress,.resource-progress--floating,.syllabus-tracker,.semester-finish,.note-content,.notes-search,.note-modal,.folder-modal,.folder-delete-dialog,.note-menu-dropdown,.folder-card-menu,.formula-concept-controls){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.notes-subtopic .note-card,.subject-progress-category,.subject-topic-progress-item,.syllabus-item,.note-move-option,.subject-syllabus-topic-link,.notes-topic h2 button,.math-preview,.math-symbol-button,.folder-delete-info){background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] :is(.note-card:hover,.folder-card:hover,.topic-page-subtopic:hover,.subtopic-page-concept:hover,.subject-syllabus-topic-link:hover,.note-move-option:hover,.math-symbol-button:hover,.note-menu-dropdown button:hover,.folder-card-menu button:hover,.notes-topic h2 button:hover,.notes-view-switch button:hover){background:var(--app-surface-hover);border-color:var(--app-control-border);color:var(--app-text)}[data-theme=dark] :is(.topic-page,.subtopic-page,.subject-page,.notes-topic,.resource-progress,.syllabus-tracker,.note-modal,.folder-modal) :is(h1,h2,h3,h4,label){color:var(--app-text)}[data-theme=dark] :is(.topic-page-section-header>span,.subtopic-page-empty p,.subtopic-page-concept p,.notes-subtopic>h3,.subject-topic-progress-name,.subject-topic-progress-meta,.subject-topic-progress-rating,.subject-progress-summary,.subject-knowledge-base p:not(.subject-progress-label),.progress-info,.resource-rating p,.note-progress-preview,.note-modal-message,.folder-modal-description,.math-preview-placeholder){color:var(--app-muted)}[data-theme=dark] :is(.topic-page-label,.subtopic-page-label,.subtopic-page-concept-type,.topic-page .back-link,.subtopic-page .back-link,.subject-progress-label,.subject-progress-percentage,.subject-topic-progress-percentage){color:var(--app-accent)}[data-theme=dark] :is(.topic-page-subtopic-number,.subject-progress-status,.structure-message,.generate-structure-button,.notes-view-switch button[aria-pressed=true]){background:var(--app-soft);border-color:var(--app-border);color:var(--app-accent)}[data-theme=dark] :is(.progress-bar,.subject-topic-progress-bar,.subject-progress-bar,.home-progress-bar){background:var(--app-surface-hover)}[data-theme=dark] :is(.notes-view-switch button,.year-buttons button:not(.active-year),.folder-modal-cancel-button,.note-modal-cancel-button,.math-dialog-cancel-button,.note-menu-dropdown button,.folder-card-menu button){background:var(--app-surface-raised);border-color:var(--app-control-border);color:var(--app-text)}:root[data-theme=dark] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){background:var(--app-input);border-color:var(--app-control-border);color:var(--app-text);caret-color:var(--app-accent)}:root[data-theme=dark] body :is(input,textarea)::placeholder{color:var(--app-muted);opacity:1}:root[data-theme=dark] body :is(input,textarea,select):focus-visible{border-color:var(--app-accent);outline-color:var(--app-accent)}:root[data-theme=dark] body :is(input,textarea,select):disabled{background:var(--app-surface);color:var(--app-muted)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) :is(table,td,th){background:var(--app-surface);border-color:var(--app-control-border);color:var(--app-text)}[data-theme=dark] :is(.read-only-note-content,.note-editor-content) th{background:var(--app-surface-raised)}[data-theme=dark] :is(.note-card-wrapper,.notes-topic,.subject-topic-progress,.resource-progress){box-shadow:none}[data-theme=dark] :is(.subject-card,.exam-page-card){border-left-color:var(--subject-accent)}[data-theme=dark] :is(.folder-note-item,.flashcard-topic-section){background:var(--app-surface);border-color:var(--app-border);color:var(--app-text)}[data-theme=dark] .folder-note-item:hover{background:var(--app-surface-hover);border-color:var(--app-control-border)}[data-theme=dark] .flashcard-topic-section .flashcard-subtopic-card{background:var(--app-surface-raised);border-color:var(--app-border)}[data-theme=dark] :is(.folder-note-title,.flashcard-topic-header h2,.flashcard-subtopic-card h3){color:var(--app-text)}[data-theme=dark] :is(.folder-note-description,.folder-note-read,.folder-note-menu .note-menu-button,.flashcard-topic-header p:not(.flashcard-topic-label),.flashcard-subtopic-card span){color:var(--app-muted)}[data-theme=dark] :is(.folder-note-icon,.flashcard-topic-section .flashcard-secondary-button){background:var(--app-soft);color:var(--app-accent)}[data-theme=dark] .flashcard-topic-section .flashcard-secondary-button:hover{background:var(--app-surface-hover)}[data-theme=dark] :is(.flashcard-topic-label,.flashcard-subtopic-label){color:var(--app-accent)}[data-theme=dark] .footer,[data-theme=dark] .footer :is(h3,p){color:var(--app-background)}[data-theme=dark] .footer-content p{opacity:1}[data-theme=dark] .footer-copy{opacity:1!important}:root[data-theme=dark]{--theme-surface:var(--app-surface);--theme-surface-raised:var(--app-surface-raised);--theme-soft:var(--app-soft);--theme-text:var(--app-text);--theme-muted:var(--app-muted);--theme-accent:var(--app-accent);--theme-border:var(--app-border);--theme-control-border:var(--app-control-border);--theme-danger-surface:#422530;--theme-danger-text:#ffb3ba;--theme-success-surface:#20392f;--theme-success-text:#9fe0b4;--theme-warning-surface:#3c3221;--theme-warning-text:#f5d18c}[data-theme=dark] :is(.answer-option,.option-card,.amount-card,.profile-summary){background:var(--app-surface-raised);color:var(--app-text)}[data-theme=dark] :is(.topic-card-selected,.option-card-selected,.amount-card-selected,.answer-option-selected){background:var(--app-soft);border-color:var(--app-accent)}[data-theme=dark] :is(.answer-option,.option-card,.amount-card):hover{background:var(--app-surface-hover)}[data-theme=dark] :is(.calendar-day-number-today,.calendar-week-day-number-today){color:#fff}.skeleton-block{border:1px solid var(--app-border);background:var(--app-soft);border-radius:20px;animation:1.4s ease-in-out infinite skeleton-pulse}.skeleton-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes skeleton-pulse{50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.skeleton-block{animation:none}}
